/* ============================================================
   Music page — layout and finish (v2)
   Loaded after style.css; the full-screen player and lyrics keep their styles there.
   ============================================================ */
:root {
  --tint: rgb(150 118 70);
  --ink: #07090e;
  --gold: #d4af6a;
  --gold-soft: color-mix(in oklab, var(--gold) 70%, #fff 0%);
  --line: rgba(233, 230, 220, 0.09);
  --line-strong: rgba(233, 230, 220, 0.16);
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --page-max: 1320px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --bar-h: 76px;
}

body.v2 { background: var(--ink); }
body.v2.has-player { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px) + 12px); }

/* ---------- header ---------- */
.x-header {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  background: transparent; border-bottom: 1px solid transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  transition: background 320ms var(--ease-out), border-color 320ms var(--ease-out), backdrop-filter 320ms var(--ease-out);
}
.x-header.is-scrolled {
  background: color-mix(in oklab, var(--ink) 80%, transparent);
  backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--line);
}
.x-header-inner {
  max-width: var(--page-max); margin-inline: auto; padding: 0 var(--gutter);
  height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.x-header .brand-name { font-size: 1.12rem; letter-spacing: 0.02em; }
.x-header .brand-mark { width: 24px; height: 24px; }
.x-nav { display: flex; align-items: center; gap: 0.15rem; }
.x-nav-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); padding: 0 0.8rem;
  color: rgba(233, 230, 220, 0.72); text-decoration: none; font-size: 0.86rem; font-weight: 450;
  letter-spacing: 0.01em; border-radius: 999px; cursor: pointer; list-style: none;
}
.x-nav-link::-webkit-details-marker { display: none; }
.x-nav-link:hover { color: var(--color-text); background: rgba(255, 255, 255, 0.05); }
.x-menu { position: relative; }
.x-menu[open] > .x-nav-link { color: var(--color-text); background: rgba(255, 255, 255, 0.06); }
.x-mobile-menu { display: none; position: relative; }
.x-menu-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: var(--tap); padding: 0 0.95rem;
  border: 1px solid var(--line-strong); border-radius: 999px; color: var(--color-text);
  font-size: 0.86rem; list-style: none; cursor: pointer; background: rgba(10, 13, 19, 0.35);
}
.x-menu-btn::-webkit-details-marker { display: none; }
.x-menu-lines { display: grid; gap: 4px; width: 14px; }
.x-menu-lines span { display: block; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform 240ms var(--ease-out); }
.x-mobile-menu[open] .x-menu-lines span:first-child { transform: translateY(2.75px) rotate(45deg); }
.x-mobile-menu[open] .x-menu-lines span:last-child { transform: translateY(-2.75px) rotate(-45deg); }
.x-sheet {
  position: fixed; left: 12px; right: 12px; top: 72px; z-index: 50;
  max-height: calc(100dvh - 96px); overflow-y: auto;
  background: color-mix(in oklab, #11151d 94%, transparent); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-strong); border-radius: 18px; padding: 0.75rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  animation: sheet-in 260ms var(--ease-out);
}
@keyframes sheet-in { from { opacity: 0; transform: translateY(-6px) scale(0.985); } to { opacity: 1; transform: none; } }
.x-sheet-nav { display: grid; }
.x-sheet-nav a {
  font-family: var(--font-display); font-size: 1.6rem; line-height: 1.2; color: var(--color-text);
  text-decoration: none; padding: 0.55rem 0.75rem; border-radius: 10px;
}
.x-sheet-nav a:hover { background: rgba(255, 255, 255, 0.05); color: var(--gold); }
.x-sheet-links { list-style: none; margin: 0.5rem 0 0; padding: 0.5rem 0 0; border-top: 1px solid var(--line); }
.x-sheet-links a { display: block; padding: 0.6rem 0.75rem; color: var(--color-text-muted); text-decoration: none; font-size: 0.92rem; border-radius: 10px; }
.x-sheet-links a:hover { color: var(--color-text); background: rgba(255, 255, 255, 0.04); }
.x-sheet-links .header-menu-sep { height: 1px; margin: 0.4rem 0.75rem; background: var(--line); }

@media (max-width: 960px) {
  .x-nav { display: none; }
  .x-mobile-menu { display: block; }
  .x-header-inner { height: 60px; }
  .x-sheet { top: 64px; }
}

/* ---------- buttons ---------- */
.x-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 50px; padding: 0 1.5rem; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 500; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 220ms var(--ease-out), background 220ms var(--ease-out), border-color 220ms var(--ease-out), color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.x-btn:active { transform: scale(0.98); }
.x-btn-primary { background: var(--color-text); color: var(--ink); }
.x-btn-primary:hover { background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); transform: translateY(-1px); }
.x-btn-ghost { color: var(--color-text); border-color: var(--line-strong); background: rgba(255, 255, 255, 0.03); }
.x-btn-ghost:hover { border-color: rgba(233, 230, 220, 0.4); background: rgba(255, 255, 255, 0.07); }
.x-btn-quiet { color: var(--color-text-muted); padding-inline: 0.6rem; }
.x-btn-quiet:hover { color: var(--color-text); }
.x-btn.is-shared { border-color: var(--gold); color: var(--gold); }

/* ---------- featured release ---------- */
.feature {
  position: relative; isolation: isolate; overflow: clip;
  min-height: min(92svh, 940px);
  display: flex; align-items: center;
  padding: calc(68px + clamp(2rem, 5vw, 4rem)) var(--gutter) clamp(3rem, 7vw, 6rem);
}
.feature-bg { position: absolute; inset: -8%; z-index: -2; }
.feature-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(70px) saturate(1.25) brightness(0.55); transform: scale(1.1); }
.feature::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 78% 40%, transparent 0%, rgba(7, 9, 14, 0.35) 55%, rgba(7, 9, 14, 0.92) 100%),
    linear-gradient(180deg, rgba(7, 9, 14, 0.55) 0%, transparent 22%, transparent 70%, var(--ink) 100%);
}
.feature-inner {
  width: 100%; max-width: calc(var(--page-max) - 2 * var(--gutter)); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}
.feature-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1.5rem;
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
}
.feature-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(212, 175, 106, 0.6); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(212, 175, 106, 0.55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(212, 175, 106, 0); } }
.feature-title {
  font-family: var(--font-display); font-weight: 500; color: #f4efe3;
  font-size: clamp(3rem, 1.2rem + 4.6vw, 5.6rem); line-height: 0.98; letter-spacing: -0.02em;
  max-width: 14ch; text-wrap: balance;
}
.feature-meta { margin-top: 1.6rem; color: rgba(233, 230, 220, 0.72); font-size: 1rem; letter-spacing: 0.02em; }
.feature-meta span { margin-inline: 0.45rem; opacity: 0.5; }
.feature-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.4rem; }
.feature-art { margin: 0; justify-self: end; width: min(100%, 600px); position: relative; }
.feature-art img {
  width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; display: block; border-radius: 6px;
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.04) inset, 0 50px 120px -20px rgba(0, 0, 0, 0.85), 0 20px 50px -10px color-mix(in oklab, var(--tint) 45%, transparent);
  animation: art-in 1100ms var(--ease-out) both;
}
@keyframes art-in { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }
.feature-copy > * { animation: copy-in 900ms var(--ease-out) both; }
.feature-copy > :nth-child(2) { animation-delay: 80ms; }
.feature-copy > :nth-child(3) { animation-delay: 160ms; }
.feature-copy > :nth-child(4) { animation-delay: 240ms; }
@keyframes copy-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .feature { min-height: 0; align-items: flex-start; padding-top: calc(60px + 1.5rem); }
  .feature-inner { grid-template-columns: 1fr; gap: 2rem; }
  .feature-art { order: -1; justify-self: center; width: min(100%, 440px); }
  .feature-title { font-size: clamp(2.6rem, 1.4rem + 7vw, 4.2rem); max-width: 14ch; }
  .feature-meta { margin-top: 1rem; font-size: 0.95rem; }
  .feature-actions { margin-top: 1.6rem; }
  .feature-actions .x-btn { flex: 1 1 auto; }
  .feature-eyebrow { margin-bottom: 1rem; }
}

/* ---------- intro (opening verse) ---------- */
.intro { position: relative; isolation: isolate; overflow: clip; margin-top: clamp(1rem, 3vw, 2rem); }
/* When the intro opens the page it clears the fixed header. */
.intro.is-opening { margin-top: 0; }
.intro.is-opening .intro-inner { padding-top: calc(68px + clamp(4.5rem, 9vw, 8rem)); }
@media (max-width: 960px) { .intro.is-opening .intro-inner { padding-top: calc(60px + 3.5rem); } }
.intro-art { position: absolute; inset: 0; margin: 0; z-index: -1; }
.intro-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; opacity: 0.55; }
.intro::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(7, 9, 14, 0.75) 38%, rgba(7, 9, 14, 0.35) 70%, rgba(7, 9, 14, 0.75) 100%),
              linear-gradient(180deg, var(--ink) 0%, transparent 25%, transparent 75%, var(--ink) 100%);
}
.intro-inner {
  position: relative; z-index: 1; max-width: var(--page-max); margin-inline: auto;
  padding: clamp(5rem, 11vw, 9.5rem) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 46rem); gap: clamp(2rem, 6vw, 6rem); align-items: end;
}
.intro-verse { margin: 0; }
.intro-verse p {
  font-family: var(--font-display); font-style: italic; font-weight: 400; color: #f1ead9;
  font-size: clamp(1.75rem, 1rem + 2.6vw, 3.25rem); line-height: 1.18; letter-spacing: -0.005em;
}
.intro-verse cite { display: block; margin-top: 1.4rem; font-style: normal; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-text-faint); }
.intro-verse cite a { color: var(--gold); text-decoration: none; }
.intro-verse cite a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 860px) {
  .intro-inner { grid-template-columns: 1fr; align-items: start; padding-block: 4.5rem; }
  .intro::before { background: linear-gradient(180deg, var(--ink) 0%, rgba(7, 9, 14, 0.55) 30%, rgba(7, 9, 14, 0.75) 70%, var(--ink) 100%); }
}

/* ---------- spotlight (radio interview + press quotes) ---------- */
.spotlight { max-width: var(--page-max); margin-inline: auto; padding: clamp(2.5rem, 5vw, 4rem) var(--gutter) 0; }
.spotlight-inner {
  display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start; padding-bottom: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line);
}
.on-air {
  display: grid; grid-template-columns: clamp(96px, 14vw, 150px) minmax(0, 1fr); gap: clamp(1rem, 2vw, 1.5rem); align-items: center;
  padding: clamp(1.1rem, 2vw, 1.5rem); border: 1px solid var(--line-strong); border-radius: 14px;
  background: linear-gradient(135deg, color-mix(in oklab, var(--tint) 14%, var(--color-surface)) 0%, var(--color-surface) 100%);
}
.on-air-art { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; box-shadow: var(--shadow-md); }
.on-air-body { min-width: 0; }
.on-air-eyebrow {
  display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.55rem;
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
}
.on-air-dot { width: 7px; height: 7px; border-radius: 50%; background: #e85b5b; box-shadow: 0 0 0 0 rgba(232, 91, 91, 0.6); animation: on-air-pulse 1.8s ease-in-out infinite; flex-shrink: 0; }
@keyframes on-air-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(232, 91, 91, 0.55); } 50% { box-shadow: 0 0 0 7px rgba(232, 91, 91, 0); } }
@media (prefers-reduced-motion: reduce) { .on-air-dot { animation: none; } }
.on-air-title { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.45rem, 1rem + 1.3vw, 2rem); line-height: 1.1; letter-spacing: -0.01em; color: #f1ead9; }
.on-air-meta { margin: 0.45rem 0 0; font-size: 0.8rem; letter-spacing: 0.04em; color: var(--color-text-muted); }
.on-air-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 1rem; }
.on-air-play {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: var(--tap); padding: 0 1.1rem 0 0.9rem;
  border-radius: 999px; border: 1px solid var(--gold); background: var(--gold); color: var(--ink);
  font: inherit; font-size: 0.86rem; font-weight: 500; letter-spacing: 0.02em; cursor: pointer;
  transition: background var(--transition-interactive), border-color var(--transition-interactive), transform var(--transition-interactive);
}
.on-air-play:hover { background: var(--color-primary-hover); border-color: var(--color-primary-hover); }
.on-air-play:active { transform: scale(0.98); }
.on-air-play .on-air-icon-pause { display: none; }
.on-air-play.is-playing .on-air-icon-pause { display: block; }
.on-air-play.is-playing .on-air-icon-play { display: none; }
.on-air-spotify { display: inline-flex; align-items: center; gap: 0.45rem; min-height: var(--tap); padding: 0 1rem; border-radius: 999px; text-decoration: none; font-size: 0.86rem; }
.pull-quotes { display: grid; gap: clamp(1rem, 2vw, 1.4rem); align-self: center; }
.pull-quote { margin: 0; padding-left: 1.1rem; border-left: 1px solid rgba(212, 175, 106, 0.45); }
.pull-quote p {
  margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.45rem); line-height: 1.38; color: #e9e6dc;
}
.pull-quote em { font-style: normal; color: var(--gold); }
.pull-quote footer { margin-top: 0.45rem; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-text-faint); }
.pull-quote footer a { color: var(--color-text-muted); text-decoration: none; }
.pull-quote footer a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 960px) {
  .spotlight-inner { grid-template-columns: 1fr; }
  .pull-quotes { gap: 1.1rem; }
}
@media (max-width: 480px) {
  .on-air { grid-template-columns: 1fr; }
  .on-air-art { width: 112px; }
  .on-air-play, .on-air-spotify { flex: 1 1 auto; justify-content: center; }
}

/* ---------- shelves (albums, singles) ---------- */
.shelf { max-width: var(--page-max); margin-inline: auto; padding: clamp(3.5rem, 7vw, 6rem) var(--gutter) 0; }
.shelf-singles { padding-top: clamp(3rem, 6vw, 5rem); }
.shelf-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding-bottom: 1.1rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); border-bottom: 1px solid var(--line);
}
.shelf-head h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 1.4rem + 2vw, 3.1rem); line-height: 1; letter-spacing: -0.01em; }
.shelf-count { font-size: 0.82rem; color: var(--color-text-faint); letter-spacing: 0.04em; }

.x-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 2.6vw, 2.5rem) clamp(1rem, 2vw, 1.75rem); }
.x-grid-singles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (min-width: 1200px) { .x-grid, .x-grid-singles { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 1080px) { .x-grid, .x-grid-singles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .x-grid, .x-grid-singles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1rem; } }

/* Card: art-forward, no box */
.x-card {
  display: flex; flex-direction: column; background: none; border: 0; padding: 0; border-radius: 0;
  box-shadow: none; cursor: pointer; outline: none; min-width: 0;
}
.x-card:hover, .x-card.is-active { background: none; border: 0; box-shadow: none; transform: none; }
.x-card-art {
  position: relative; aspect-ratio: 1; border-radius: 6px; overflow: hidden; margin: 0 0 0.95rem;
  background: #11151d; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.8);
  transition: transform 420ms var(--ease-out), box-shadow 420ms var(--ease-out);
}
.x-card-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 700ms var(--ease-out), filter 420ms var(--ease-out); }
.x-card-art::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: box-shadow 300ms var(--ease-out);
}
.x-card:hover .x-card-art { transform: translateY(-4px); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.9); }
.x-card:hover .x-card-art img { transform: scale(1.035); filter: brightness(0.86); }
.x-card.is-active .x-card-art::after { box-shadow: inset 0 0 0 2px var(--gold); }
.x-card:focus-visible .x-card-art::after { box-shadow: inset 0 0 0 2px var(--color-text); }
.x-card-play {
  position: absolute; right: 12px; bottom: 12px; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: var(--color-text); color: var(--ink);
  opacity: 0; transform: translateY(8px) scale(0.92);
  transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out), background 200ms;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); border: 0; cursor: pointer;
}
.x-card-play svg { margin-left: 2px; }
.x-card:hover .x-card-play, .x-card:focus-within .x-card-play { opacity: 1; transform: none; }
.x-card-play:hover { background: #fff; transform: scale(1.06) !important; }
@media (hover: none) { .x-card-play { opacity: 1; transform: none; width: 44px; height: 44px; right: 10px; bottom: 10px; } }

.x-card-body { padding: 0; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.x-card-title {
  font-family: var(--font-display); font-weight: 500; color: var(--color-text);
  font-size: clamp(1.15rem, 1rem + 0.45vw, 1.4rem); line-height: 1.15; letter-spacing: 0.01em; margin: 0;
}
.x-card-sub { margin-top: 0.3rem; font-family: var(--font-display); font-style: italic; color: var(--color-text-muted); font-size: 1.02rem; line-height: 1.3; }
.x-card-meta { margin-top: 0.4rem; font-size: 0.8rem; color: var(--color-text-faint); letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.x-card-metarow { margin-top: 0.4rem; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; min-height: 34px; }
.x-card-metarow { flex-wrap: wrap; row-gap: 0; }
.x-card-metarow .x-card-meta { margin: 0; white-space: nowrap; }
.x-card-metarow .x-icon-row { margin: 0 -8px 0 0; }
.x-card .album-links { margin-top: 0.6rem; padding-top: 0; border: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; }

.x-chip {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 34px; padding: 0 0.8rem;
  border: 1px solid var(--line-strong) !important; border-radius: 999px; background: transparent !important;
  color: var(--color-text-muted) !important; font-size: 0.78rem !important; font-weight: 450; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
}
.x-chip:hover { color: var(--color-text) !important; border-color: rgba(233, 230, 220, 0.38) !important; background: rgba(255, 255, 255, 0.04) !important; }
.x-chip.is-shared { color: var(--gold) !important; border-color: var(--gold) !important; }
.x-icon-row { display: inline-flex; align-items: center; gap: 0.1rem; margin-left: 0.15rem; }
.x-icon-link {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  color: var(--color-text-faint); text-decoration: none; transition: color 200ms, background 200ms;
}
.x-icon-link:hover { color: var(--color-text); background: rgba(255, 255, 255, 0.06); }
@media (pointer: coarse) { .x-chip { min-height: 40px; } .x-icon-link { width: 40px; height: 40px; } }

/* reveal (only when JS + motion allowed) */
.can-reveal .reveal { opacity: 0; transform: translateY(16px); transition: opacity 800ms var(--ease-out) var(--d, 0ms), transform 800ms var(--ease-out) var(--d, 0ms); }
.can-reveal .reveal.is-in { opacity: 1; transform: none; }

/* ---------- listen: album header + track list ---------- */
.listen { max-width: var(--page-max); margin-inline: auto; padding: clamp(4rem, 8vw, 7rem) var(--gutter) clamp(4rem, 8vw, 7rem); position: relative; }
.listen::before {
  content: ''; position: absolute; inset: 2rem 0 auto; height: 520px; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 70% at 20% 30%, color-mix(in oklab, var(--tint) 22%, transparent), transparent 70%);
  transition: background 900ms var(--ease-out);
}
.listen-inner { max-width: none; }
.album-tabs { margin-bottom: 2.4rem; gap: 0.4rem; padding-bottom: 2px; }
.album-tab {
  background: transparent; border: 1px solid var(--line-strong); color: var(--color-text-muted);
  font-size: 0.78rem; letter-spacing: 0.08em; font-weight: 500; min-height: 40px; padding-inline: 1rem;
}
.album-tab:hover { color: var(--color-text); border-color: rgba(233, 230, 220, 0.38); }
.album-tab[aria-selected='true'] { background: var(--color-text); color: var(--ink); border-color: var(--color-text); }

.album-list-head { padding-inline: 0; margin-bottom: 2rem; }
.x-head { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: end; }
.x-head-art { aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: #11151d; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.05); }
.x-head-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.x-head-art img.is-failed { visibility: hidden; }
.x-head-eyebrow { font-size: 0.74rem !important; letter-spacing: 0.22em !important; color: var(--gold) !important; margin-bottom: 0.6rem !important; }
.album-list-head h3 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.6rem); line-height: 1; letter-spacing: -0.01em; }
.x-head-sub { margin-top: 0.5rem; font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--color-text-muted); }
.album-list-head .album-count { font-size: 0.82rem; margin-top: 0.75rem; color: var(--color-text-faint); }
.album-list-head .album-tagline { margin-top: 0.75rem; }
.album-list-head .album-links { margin-top: 1.2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; }
@media (max-width: 640px) {
  .x-head { grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 1rem; }
  .album-list-head h3 { font-size: clamp(1.5rem, 1.1rem + 3vw, 2.1rem); }
  .x-head-sub { font-size: 1.02rem; }
  .album-list-head .album-links { grid-column: 1 / -1; }
}

.track-list { border-top: 1px solid var(--line); }
.track-row { border-bottom: 1px solid var(--line); border-radius: 0; padding-block: 0.7rem; transition: background 200ms var(--ease-out); }
.track-row:hover { background: rgba(255, 255, 255, 0.025); }
.track-row.is-active { background: color-mix(in oklab, var(--tint) 12%, transparent); }
.track-row.is-active .track-title, .track-row.is-active .track-num { color: var(--gold); }
.track-row-art { border-radius: 4px; }
.track-title { font-size: 0.98rem; }
.track-link {
  background: transparent; border: 1px solid var(--line-strong); color: var(--color-text-muted);
}
.track-link:hover { background: rgba(255, 255, 255, 0.05); color: var(--color-text); border-color: rgba(233, 230, 220, 0.38); }
.player-hint { display: none; }

/* ---------- bottom player bar ---------- */
body.v2 .now-playing {
  position: fixed; z-index: 35; top: auto; left: 50%; bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%); width: min(calc(100% - 20px), 1100px);
  height: var(--bar-h); margin: 0; padding: 0 1rem 0 10px;
  display: flex; align-items: center; gap: 0.9rem;
  background:
    linear-gradient(90deg, color-mix(in oklab, var(--tint) 28%, #0e1118) 0%, color-mix(in oklab, #0e1118 92%, transparent) 55%);
  backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3);
  border: 1px solid var(--line-strong); border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  animation: bar-in 520ms var(--ease-out) both;
  transition: background 900ms var(--ease-out);
}
@keyframes bar-in { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }
body.v2 .now-playing.is-idle { display: none; }
body.v2 .np-art { width: 56px; height: 56px; border-radius: 8px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5); }
body.v2 .np-play-btn { inset: 0; width: auto; height: auto; border-radius: 0; }
body.v2 .np-body {
  flex: 1; min-width: 0; display: grid; align-items: center;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 1.25rem;
}
body.v2 .np-eyebrow { grid-column: 1; grid-row: 2; margin: 0; font-size: 0.7rem; letter-spacing: 0.08em; color: var(--color-text-faint); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.v2 .np-title { grid-column: 1; grid-row: 1; font-size: 1.12rem; line-height: 1.2; }
body.v2 .np-status { position: absolute; left: 82px; bottom: 4px; font-size: 0.68rem; min-height: 0; color: var(--gold); pointer-events: none; }
body.v2 .np-controls { grid-column: 2; grid-row: 1 / span 2; margin: 0; flex-wrap: nowrap; gap: 0.2rem; }
body.v2 .np-ctrl-main { background: var(--color-text); color: var(--ink); width: 44px; height: 44px; }
body.v2 .np-ctrl-main:hover { background: #fff; color: var(--ink); }
body.v2 .np-progress-wrap { min-width: 0; margin-left: 0.5rem; }
body.v2 .np-progress::before { height: 3px; background: rgba(255, 255, 255, 0.12); }
body.v2 .np-progress-fill { height: 3px; background: var(--color-text); }
body.v2 .np-progress-handle { width: 11px; height: 11px; background: #fff; box-shadow: none; opacity: 0; transition: opacity 160ms; }
body.v2 .np-progress:hover .np-progress-handle, body.v2 .np-progress:focus-visible .np-progress-handle { opacity: 1; }

@media (max-width: 760px) {
  :root { --bar-h: 66px; }
  body.v2 .now-playing { width: calc(100% - 16px); bottom: calc(8px + env(safe-area-inset-bottom, 0px)); padding: 0 0.4rem 0 8px; gap: 0.7rem; border-radius: 14px; }
  body.v2 .np-art { width: 50px; height: 50px; }
  body.v2 .np-body { grid-template-columns: minmax(0, 1fr) auto; column-gap: 0.4rem; }
  body.v2 .np-title { font-size: 1rem; }
  body.v2 .np-eyebrow { font-size: 0.64rem; }
  body.v2 .np-status { display: none; }
  body.v2 .np-prev, body.v2 .np-vol-btn, body.v2 .np-time { display: none; }
  body.v2 .np-progress-wrap { position: absolute; left: 14px; right: 14px; bottom: -1px; margin: 0; height: 14px; }
  body.v2 .np-progress { height: 14px; }
  body.v2 .np-progress::before, body.v2 .np-progress-fill { height: 2px; }
}

/* ---------- footer ---------- */
.x-footer { border-top: 1px solid var(--line); padding: 0; margin-top: clamp(2rem, 5vw, 4rem); }
.x-footer-inner {
  max-width: var(--page-max); margin-inline: auto; padding: clamp(3rem, 6vw, 4.5rem) var(--gutter) 2.5rem;
  display: grid; grid-template-columns: 1fr auto; gap: 2rem 3rem; align-items: start;
}
.x-footer .brand { min-height: 0; }
.x-footer .brand-name { font-size: 1.35rem; }
.x-footer-line { margin-top: 0.75rem; color: var(--color-text-faint); font-size: 0.86rem; }
.x-footer-links { display: flex; gap: 0.25rem; }
.x-footer-links a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--color-text-muted); transition: color 200ms, background 200ms; }
.x-footer-links a:hover { color: var(--color-text); background: rgba(255, 255, 255, 0.06); }
.x-footer-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--color-text-faint); }
.x-footer-meta a { color: var(--color-text-muted); text-decoration: none; }
.x-footer-meta a:hover { color: var(--color-text); }
@media (max-width: 640px) {
  .x-footer-inner { grid-template-columns: 1fr; }
  .x-footer-links { margin-left: -10px; }
}

@media (prefers-reduced-motion: reduce) {
  .feature-art img, .feature-copy > *, body.v2 .now-playing, .x-sheet { animation: none !important; }
  .feature-dot { animation: none; }
  .x-card-art, .x-card-art img { transition: none; }
}
