/* Album nhạc board game — Hải Dóng */
body.alb-page .wrap{max-width:980px;overflow-x:visible}

/* Even padding on the big title (room for Ạ underdot + orange drop shadow) */
.alb-title{margin-bottom:0;padding:.1em 0 .16em}

/* Nav pills: even vertical padding; nowrap; on mobile restore tighter padding so the row wrap is even (style.css later rule forces 18px on all viewports) */
body.alb-page .nav a{
  white-space:nowrap;
  padding:6px 18px;
  line-height:1.25;
  display:inline-flex;align-items:center;justify-content:center;
  box-sizing:border-box;
}
@media (max-width:519px){
  body.alb-page .nav{gap:8px}
  body.alb-page .nav a{padding:6px 12px;font-size:18px;letter-spacing:.06em}
}

.alb-head{display:flex;justify-content:center;margin:4px 0 22px;position:relative;z-index:2}
.alb-who{
  position:relative;z-index:2;display:flex;align-items:center;gap:14px;max-width:100%;
  margin:0;padding:8px;border:0;border-radius:999px;
  background:rgba(255,255,255,.8);box-shadow:0 2px 8px rgba(0,0,0,.06);
  cursor:pointer;text-align:left;color:inherit;font:inherit;
  transition:background .15s ease,box-shadow .15s ease,transform .15s ease;
}
.alb-who:hover{background:#fff;box-shadow:0 4px 14px rgba(0,0,0,.1)}
.alb-who:focus-visible{outline:2px solid var(--orange);outline-offset:3px}
.alb-who .av.m-av{position:relative;left:auto;top:auto;transform:none;flex:none;width:72px;height:72px;--av-s:72px}
.alb-who-txt{display:flex;flex-direction:column;min-width:0;padding:0}
.alb-who-kicker{font-family:var(--sans);font-size:13px;font-weight:600;color:#6a6a64;letter-spacing:.02em;line-height:1.3}
.alb-who-name{font-family:var(--hand);font-weight:700;font-size:clamp(22px,5.4vw,30px);letter-spacing:.06em;color:#1d1d1b;line-height:1.15}

.alb-stage{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:28px;margin:0 0 36px}

/* Cream card + orange accent; max-width so the rust player fills the frame (a wide iframe left a cream hole and truncated the title). */
.alb-embed{
  min-width:0;width:100%;max-width:440px;flex:1 1 300px;
  background:linear-gradient(180deg,#FBF8EE,#F3EDE0);
  border-radius:20px;
  padding:14px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    0 0 0 2px #E6D3A8,
    0 0 0 5px rgba(247,161,43,.3),
    0 10px 24px rgba(80,50,20,.1);
}
.alb-embed-bar{display:flex;align-items:center;justify-content:space-between;gap:8px 12px;flex-wrap:wrap;margin:0 0 10px}
.alb-shuffle-tag{
  flex:none;font-family:var(--hand);font-weight:700;letter-spacing:.06em;font-size:16px;line-height:1.2;
  background:var(--orange);color:#fff;padding:5px 12px 4px;border-radius:999px;
  text-shadow:0 1px 0 var(--orange-dark);
}
.alb-pl-link{font-family:var(--sans);font-size:13px;font-weight:600;color:#6a5a46;text-decoration:none;margin-left:auto}
.alb-pl-link:hover{color:var(--orange-dark);text-decoration:underline}
.alb-embed iframe{width:100%;height:352px;border:0;border-radius:12px;display:block;background:#6a3a32;box-shadow:none}

.alb-player{display:flex;justify-content:center;pointer-events:none;overflow:visible}

/* Warm cream / orange turntable base so the page isn't a sea of black */
.alb-deck{
  position:relative;
  background:linear-gradient(165deg,#FBF8EE 0%,#F3EDE0 50%,#E8DFCC 100%);
  border-radius:28px;
  padding:26px 44px 26px 26px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    0 0 0 2px #E6D3A8,
    0 0 0 5px rgba(247,161,43,.3),
    0 14px 30px rgba(80,50,20,.14);
}
.alb-plinth{
  position:relative;width:300px;height:300px;
  filter:drop-shadow(0 10px 16px rgba(80,50,20,.22));
}
.alb-spin{position:absolute;inset:0;border-radius:50%;will-change:transform}
.alb-disc{
  position:absolute;inset:0;border-radius:50%;overflow:hidden;
  background:
    radial-gradient(circle at 50% 50%, #3a3530 0 17.6%, transparent 17.7%),
    repeating-radial-gradient(circle at 50% 50%,
      #3f3b36 0 1px, #2e2b27 1.5px 2.5px, #4a453e 3px 4px);
  box-shadow:
    0 0 0 3px #6a5a46,
    0 0 0 7px #E8D4A8,
    0 0 0 8px var(--orange),
    inset 0 0 0 1px rgba(255,236,200,.18),
    inset 0 0 28px rgba(0,0,0,.25);
}
.alb-grooves{
  position:absolute;inset:0;border-radius:50%;pointer-events:none;
  background:
    repeating-radial-gradient(circle at 50% 50%,
      transparent 0 3px, rgba(255,236,200,.07) 3px 3.6px, transparent 3.6px 7px);
  -webkit-mask-image:radial-gradient(circle at 50% 50%, transparent 18%, #000 22%, #000 72%, transparent 78%);
  mask-image:radial-gradient(circle at 50% 50%, transparent 18%, #000 22%, #000 72%, transparent 78%);
}
.alb-label{
  position:absolute;inset:31.5%;border-radius:50%;overflow:hidden;z-index:2;
  background:#c9a45c center/cover no-repeat;
  box-shadow:
    0 0 0 3px #0e0e0e,
    0 0 0 5px #d4b36a,
    inset 0 0 0 1px rgba(255,255,255,.25);
}
.alb-label img{width:100%;height:100%;object-fit:cover;display:block;pointer-events:none}
.alb-spindle{
  position:absolute;left:50%;top:50%;width:11px;height:11px;margin:-5.5px 0 0 -5.5px;
  border-radius:50%;z-index:3;background:#c5c5c5;
  box-shadow:0 0 0 2px #222, inset 0 1px 1px #fff, 0 1px 2px rgba(0,0,0,.5);
}
.alb-shine{
  position:absolute;inset:0;border-radius:50%;pointer-events:none;z-index:4;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.22), transparent 36%),
    linear-gradient(125deg, rgba(255,255,255,.16) 0 16%, transparent 32%, transparent 62%, rgba(255,255,255,.06) 80%);
  mix-blend-mode:soft-light;
}

/* Tonearm — pivot just outside the top-right, rests off the disc, drops onto the grooves */
.alb-plinth{--arm:1}
.alb-arm{
  position:absolute;left:102%;top:8%;width:0;height:0;
  z-index:5;pointer-events:none;transform-origin:0 0;
  transform:rotate(-10deg) scale(var(--arm));
  transition:transform .55s cubic-bezier(.2,.8,.2,1);
}
.alb-plinth.is-playing .alb-arm{transform:rotate(52deg) scale(var(--arm))}
.alb-rest{
  position:absolute;left:100%;top:38%;width:9px;height:16px;margin-left:6px;border-radius:3px 3px 2px 2px;
  background:linear-gradient(180deg,#d0d0d0,#7a7a7a);z-index:4;
  box-shadow:0 1px 2px rgba(0,0,0,.35);
  pointer-events:none;
}
.alb-rest::before{
  content:'';position:absolute;left:50%;top:-5px;width:13px;height:7px;margin-left:-6.5px;border-radius:4px;
  background:linear-gradient(180deg,#eee,#888);
}
.alb-pivot{
  position:absolute;left:0;top:0;width:26px;height:26px;margin:-13px 0 0 -13px;border-radius:50%;
  background:radial-gradient(circle at 35% 30%, #f3f3f3, #9a9a9a 55%, #555);
  box-shadow:0 1px 3px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.7);
}
.alb-pivot::after{
  content:'';position:absolute;inset:8px;border-radius:50%;
  background:radial-gradient(circle at 40% 35%, #666, #222);
}
.alb-counter{
  position:absolute;left:-8px;top:-22px;width:16px;height:16px;border-radius:50%;
  background:linear-gradient(180deg,#e8e8e8,#8a8a8a);
  box-shadow:0 1px 2px rgba(0,0,0,.35);
}
.alb-rod{
  position:absolute;left:-3px;top:10px;width:6px;height:92px;
  border-radius:3px;
  background:linear-gradient(90deg,#f4f4f4,#9d9d9d 40%,#6a6a6a 70%,#cfcfcf);
  box-shadow:1px 2px 3px rgba(0,0,0,.3);
}
.alb-shell{
  position:absolute;left:-11px;top:94px;width:22px;height:13px;
  border-radius:2px 7px 7px 2px;
  background:linear-gradient(180deg,#3a3a3a,#111);
  box-shadow:0 1px 2px rgba(0,0,0,.4);
  transform:rotate(12deg);
}
.alb-shell::after{
  content:'';position:absolute;left:-2px;bottom:2px;width:6px;height:3px;
  background:#c0392b;border-radius:1px;
}

/* Spin states: 33⅓ rpm when playing; very slow idle if the API never hooks */
@keyframes alb-spin{to{transform:rotate(360deg)}}
.alb-plinth.is-playing .alb-spin{animation:alb-spin 1.8s linear infinite}
.alb-plinth.is-idle .alb-spin{animation:alb-spin 18s linear infinite}
.alb-plinth.is-paused .alb-spin{animation:alb-spin 1.8s linear infinite;animation-play-state:paused}

@media (prefers-reduced-motion:reduce){
  .alb-plinth.is-playing .alb-spin,
  .alb-plinth.is-idle .alb-spin,
  .alb-plinth.is-paused .alb-spin{animation:none}
  .alb-arm{transition:none}
}

@media (max-width:719px){
  body.alb-page .wrap{max-width:640px}
  .alb-stage{gap:22px}
  .alb-embed{width:100%;max-width:440px;padding:12px;border-radius:18px}
  .alb-deck{padding:20px 36px 20px 20px;border-radius:22px}
  .alb-plinth{width:240px;height:240px;--arm:.8}
}
@media (max-width:519px){
  .alb-who{padding:6px;gap:10px}
  .alb-who .av.m-av{width:64px;height:64px;--av-s:64px}
  .alb-deck{padding:16px 32px 16px 16px;border-radius:20px}
  .alb-plinth{width:220px;height:220px;--arm:.73}
  .alb-who-kicker{font-size:12px}
  .alb-embed{padding:10px;border-radius:16px}
}
