/* ============================================================
   陈一发儿 · 发友留声机
   Editorial fan radio — warm ink, paper, vermilion.
   ============================================================ */

:root {
  --ink: #11100e;
  --ink-2: #171310;
  --panel: #1c1713;
  --panel-2: #241d18;
  --cream: #f2e7d5;
  --cream-2: #ded0ba;
  --muted: #9e8f7c;
  --muted-2: #716658;
  --orange: #e35a34;
  --orange-2: #f47b50;
  --gold: #d6ab6b;
  --sage: #819687;
  --line: rgba(242, 231, 213, 0.13);
  --line-strong: rgba(242, 231, 213, 0.28);
  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, "SimSun", Georgia, serif;
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --font-mono: "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --header-h: 78px;
  --player-h: 96px;
  --tabbar-h: 0px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 32px 80px rgba(0, 0, 0, 0.42);
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(1100px 700px at 86% -6%, rgba(227, 90, 52, 0.19), transparent 62%),
    radial-gradient(900px 800px at -12% 32%, rgba(129, 150, 135, 0.09), transparent 60%),
    var(--ink);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

body.no-scroll { overflow: hidden; }

::selection { background: var(--orange); color: #fff8ee; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #15120f; }
::-webkit-scrollbar-thumb { background: #3b312a; border-radius: 10px; border: 2px solid #15120f; }
::-webkit-scrollbar-thumb:hover { background: #57473c; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

::focus-visible {
  outline: 2px solid var(--orange-2);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 10001;
  padding: 12px 20px;
  background: var(--cream);
  color: var(--ink);
  border-radius: 4px;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ------------------------------------------------------------
   Shared primitives
   ------------------------------------------------------------ */

.shell {
  width: min(100% - 80px, 1480px);
  margin-inline: auto;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange-2);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.kicker.no-line::before { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--cream);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s, color 0.3s;
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #1b0e08;
}
.btn-primary:hover { background: var(--orange-2); border-color: var(--orange-2); }
.btn-ghost { background: rgba(242, 231, 213, 0.03); }
.btn-ghost:hover { background: rgba(242, 231, 213, 0.09); border-color: var(--cream-2); }
.btn-cream { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn-cream:hover { background: #fff8eb; }
.btn-sm { min-height: 36px; padding: 0 15px; font-size: 12px; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--cream-2);
  transition: color 0.2s, background 0.2s, transform 0.2s;
}
.icon-btn:hover { color: var(--cream); background: rgba(242, 231, 213, 0.07); }
.icon-btn:active { transform: scale(0.94); }
.icon-btn .icon { width: 19px; height: 19px; }
.icon-btn.is-active { color: var(--orange-2); }
.icon-btn.is-active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.text-btn {
  color: var(--muted);
  font-size: 12px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.text-btn:hover { color: var(--cream); border-color: var(--line-strong); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #2b211b;
}

.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section {
  position: relative;
  padding: clamp(78px, 9vw, 128px) 0;
  border-top: 1px solid var(--line);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.section-head-copy { max-width: 760px; }
.section-title {
  margin-top: 13px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.2vw, 4.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.section-title em {
  color: var(--orange-2);
  font-style: normal;
}
.section-lead {
  max-width: 40ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}
.section-side {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  padding-bottom: 8px;
}
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cream-2);
  font-size: 12px;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 5px;
  transition: color 0.2s, border-color 0.2s;
}
.section-link:hover { color: var(--orange-2); border-color: var(--orange-2); }
.section-link .icon { width: 15px; height: 15px; }

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.45s var(--ease-soft), border-color 0.45s, backdrop-filter 0.45s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(17, 16, 14, 0.82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
}
.header-inner {
  width: min(100% - 80px, 1480px);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand-seal {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--orange);
  color: #1b0e08;
  border-radius: 3px;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  transform: rotate(-3deg);
  box-shadow: inset 0 0 0 3px rgba(27, 14, 8, 0.13);
}
.brand-copy { display: flex; flex-direction: column; gap: 1px; }
.brand-copy strong {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.12em;
  line-height: 1.2;
}
.brand-copy small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.18em;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 46px);
  margin-left: auto;
}
.main-nav a {
  position: relative;
  color: var(--cream-2);
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 8px 0;
  transition: color 0.2s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 1px;
  height: 1px;
  background: var(--orange-2);
  transition: right 0.35s var(--ease);
}
.main-nav a:hover,
.main-nav a.is-active { color: var(--cream); }
.main-nav a.is-active::after,
.main-nav a:hover::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.search-trigger {
  width: auto;
  gap: 9px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.search-trigger .search-hint { color: var(--muted); font-size: 12px; }
.search-trigger kbd {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  margin-left: 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
}
.library-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 12px 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--cream-2);
  font-size: 12px;
  transition: background 0.2s, border-color 0.2s;
}
.library-link:hover { background: rgba(242, 231, 213, 0.06); border-color: var(--line-strong); }
.library-link .icon { width: 17px; height: 17px; }
.library-count {
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--orange);
  color: #1b0e08;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
}
.mobile-menu-btn { display: none; }

.mobile-menu {
  position: fixed;
  z-index: 99;
  inset: var(--header-h) 0 auto;
  padding: 16px 24px 28px;
  background: rgba(17, 16, 14, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
}
.mobile-menu a {
  display: block;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 21px;
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */

.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + 70px) 0 70px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, 0.92fr);
  align-items: center;
  gap: clamp(24px, 4vw, 70px);
}
.hero::before {
  content: "YIFA";
  position: absolute;
  z-index: -1;
  right: -1.2vw;
  top: 16%;
  color: transparent;
  font-family: var(--font-display);
  font-size: min(27vw, 380px);
  font-weight: 700;
  line-height: 0.7;
  letter-spacing: -0.08em;
  -webkit-text-stroke: 1px rgba(242, 231, 213, 0.06);
  pointer-events: none;
  user-select: none;
}
.hero-copy {
  position: relative;
  z-index: 4;
  padding-left: clamp(0px, 1.5vw, 22px);
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: clamp(22px, 3vh, 40px);
  color: var(--cream-2);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
}
.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange-2);
  box-shadow: 0 0 0 5px rgba(227, 90, 52, 0.12);
  animation: pulse 2.6s infinite;
}
.hero-eyebrow .slash { color: var(--muted-2); }
.hero-title {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(4.3rem, 8.9vw, 9.6rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.075em;
  text-wrap: nowrap;
}
.hero-title .first {
  display: block;
  background: linear-gradient(100deg, #fffdf6 6%, #f7e7ce 56%, #d8bf9e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-title .second {
  display: block;
  margin-top: 0.12em;
  padding-left: 0.06em;
  color: var(--orange-2);
  font-size: 0.46em;
  letter-spacing: 0.04em;
  line-height: 1.15;
}
.hero-title .second::after {
  content: "。";
  color: var(--cream);
  font-size: 0.55em;
  vertical-align: 0.16em;
}
.hero-intro {
  max-width: 33em;
  margin-top: clamp(24px, 3.4vh, 40px);
  color: var(--cream-2);
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 2;
  letter-spacing: 0.035em;
}
.hero-intro strong { color: var(--cream); font-weight: 600; }
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-actions .btn-primary { padding-inline: 27px; }
.hero-actions .btn-primary .icon { transition: transform 0.25s var(--ease); }
.hero-actions .btn-primary:hover .icon { transform: translateX(3px); }
.hero-stats {
  display: flex;
  align-items: flex-start;
  gap: clamp(24px, 3vw, 42px);
  margin-top: clamp(38px, 5vh, 58px);
  padding-top: 23px;
  border-top: 1px solid var(--line);
  max-width: 560px;
}
.hero-stat { display: flex; flex-direction: column; gap: 3px; }
.hero-stat dt,
.hero-stat b {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero-stat dd,
.hero-stat span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.hero-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 0.99;
  max-height: 780px;
  align-self: center;
  --px: 0;
  --py: 0;
}
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 10% 3% 5% 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 90, 52, 0.17), transparent 65%);
  filter: blur(20px);
}
.hero-portrait {
  position: absolute;
  z-index: 2;
  right: 2%;
  top: 1%;
  width: 63%;
  height: 82%;
  border-radius: 48% 48% 10px 10px / 38% 38% 10px 10px;
  overflow: hidden;
  border: 1px solid rgba(242, 231, 213, 0.28);
  box-shadow: var(--shadow);
  transform: translate3d(calc(var(--px) * -8px), calc(var(--py) * -6px), 0);
  transition: transform 0.6s var(--ease-soft);
}
.hero-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 55%, rgba(17, 16, 14, 0.85) 100%),
    linear-gradient(90deg, rgba(227, 90, 52, 0.13), transparent 50%);
}
.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  filter: saturate(0.82) contrast(1.04);
  transform: scale(1.015);
}
.hero-portrait-caption {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  color: var(--cream);
}
.hero-portrait-caption span {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  opacity: 0.7;
}
.hero-portrait-caption b {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.vinyl {
  position: absolute;
  z-index: 1;
  left: -1%;
  bottom: 4%;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.038) 0 1px, transparent 2px 4px),
    radial-gradient(circle at 42% 38%, #35302c, #171412 42%, #0a0908 68%, #1c1815 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(242, 231, 213, 0.1);
  animation: spin 18s linear infinite;
  animation-play-state: paused;
  transform: translate3d(calc(var(--px) * 9px), calc(var(--py) * 7px), 0);
  transition: transform 0.7s var(--ease-soft);
}
body.is-playing .vinyl { animation-play-state: running; }
.vinyl::before {
  content: "";
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  border: 1px solid rgba(242, 231, 213, 0.075);
}
.vinyl::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 35deg, transparent, rgba(255, 255, 255, 0.09) 8%, transparent 18%, transparent 62%, rgba(255, 255, 255, 0.045) 72%, transparent 82%);
  mix-blend-mode: screen;
}
.vinyl-label {
  position: absolute;
  z-index: 2;
  inset: 34%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #f1d9b8 0 44%, transparent 45%),
    var(--orange);
  color: #24100a;
  box-shadow: inset 0 0 0 5px rgba(36, 16, 10, 0.14);
}
.vinyl-label b {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 32px);
  line-height: 1;
  transform: translateY(-3px);
}
.vinyl-label small {
  font-family: var(--font-mono);
  font-size: 5px;
  letter-spacing: 0.16em;
  transform: translateY(-1px);
}
.vinyl-hole {
  position: absolute;
  inset: 48.5%;
  border-radius: 50%;
  background: #0b0a09;
  box-shadow: 0 0 0 1px rgba(242, 231, 213, 0.2);
}

.hero-float-card {
  position: absolute;
  z-index: 3;
  top: 6%;
  left: 0;
  width: clamp(190px, 18vw, 252px);
  padding: 12px;
  border: 1px solid rgba(242, 231, 213, 0.17);
  border-radius: 8px;
  background: rgba(28, 22, 18, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.4);
  transform: rotate(-4deg) translate3d(calc(var(--px) * 14px), calc(var(--py) * 10px), 0);
  transition: transform 0.7s var(--ease-soft);
}
.hero-float-card .float-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.14em;
}
.hero-float-card .float-top i {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 3px rgba(129, 150, 135, 0.12);
}
.hero-float-main { display: flex; align-items: center; gap: 11px; }
.hero-float-main img {
  width: 48px;
  height: 48px;
  border-radius: 3px;
  object-fit: cover;
}
.hero-float-main div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hero-float-main b { font-size: 13px; font-weight: 600; }
.hero-float-main span { color: var(--muted); font-size: 10px; }
.hero-float-wave { display: flex; align-items: flex-end; gap: 2px; height: 13px; margin-left: auto; }
.hero-float-wave i {
  width: 2px;
  height: 35%;
  border-radius: 2px;
  background: var(--orange-2);
  animation: wave 0.9s ease-in-out infinite alternate;
}
.hero-float-wave i:nth-child(2) { height: 80%; animation-delay: -0.35s; }
.hero-float-wave i:nth-child(3) { height: 55%; animation-delay: -0.6s; }
.hero-float-wave i:nth-child(4) { height: 95%; animation-delay: -0.15s; }

.hero-stamp {
  position: absolute;
  z-index: 3;
  right: 4%;
  bottom: 1%;
  display: grid;
  place-items: center;
  width: clamp(86px, 8.5vw, 118px);
  aspect-ratio: 1;
  border: 1px solid rgba(242, 231, 213, 0.24);
  border-radius: 50%;
  color: var(--cream-2);
  transform: rotate(9deg);
}
.hero-stamp::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px dashed rgba(242, 231, 213, 0.18);
  border-radius: 50%;
}
.hero-stamp b {
  font-family: var(--font-display);
  font-size: clamp(25px, 2.7vw, 37px);
  font-weight: 600;
  color: var(--orange-2);
  line-height: 1;
}
.hero-stamp span {
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.16em;
}
.hero-hand-note {
  position: absolute;
  z-index: 3;
  left: 8%;
  bottom: 0;
  max-width: 150px;
  color: var(--cream-2);
  font-family: var(--font-display);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.08em;
  transform: rotate(-4deg);
  opacity: 0.8;
}
.hero-hand-note::before {
  content: "";
  display: block;
  width: 34px;
  height: 1px;
  margin-bottom: 8px;
  background: var(--orange);
}

.hero-side-label {
  position: absolute;
  left: 0;
  top: 23%;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.22em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 9px;
  transform: translateX(-50%);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.2em;
}
.hero-scroll .icon { width: 14px; height: 14px; animation: bob 2.2s infinite; }

/* ------------------------------------------------------------
   Marquee
   ------------------------------------------------------------ */

.marquee {
  position: relative;
  z-index: 5;
  width: 102%;
  margin-left: -1%;
  overflow: hidden;
  background: var(--orange);
  color: #1b0d08;
  transform: rotate(-1.1deg);
  border-block: 1px solid rgba(27, 13, 8, 0.25);
}
.marquee-track {
  display: flex;
  width: max-content;
  padding: 11px 0;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 23px;
  padding-right: 23px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  white-space: nowrap;
}
.marquee-track i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(27, 13, 8, 0.5);
}

/* ------------------------------------------------------------
   Listen / chart
   ------------------------------------------------------------ */

.listen-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.17fr) minmax(320px, 0.83fr);
  gap: clamp(34px, 5vw, 80px);
  align-items: start;
}
.chart { border-top: 1px solid var(--line); }
.chart-row {
  position: relative;
  display: grid;
  grid-template-columns: 34px 50px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 15px;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.25s, padding 0.25s;
}
.chart-row:hover { background: rgba(242, 231, 213, 0.045); padding-left: 15px; padding-right: 15px; }
.chart-row.is-current { background: rgba(227, 90, 52, 0.08); }
.chart-row.is-current .chart-title { color: var(--orange-2); }
.chart-rank {
  color: var(--muted-2);
  font-family: var(--font-display);
  font-size: 15px;
  font-style: italic;
}
.chart-row:nth-child(-n + 3) .chart-rank { color: var(--gold); }
.chart-cover {
  position: relative;
  width: 50px;
  height: 50px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--panel-2);
}
.chart-cover img { width: 100%; height: 100%; object-fit: cover; }
.chart-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(17, 16, 14, 0.35);
  opacity: 0;
  transition: opacity 0.2s;
}
.chart-cover .icon {
  position: absolute;
  z-index: 2;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 18px;
  color: var(--cream);
  opacity: 0;
}
.chart-row:hover .chart-cover::after,
.chart-row:hover .chart-cover .icon { opacity: 1; }
.chart-info { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.chart-title {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.chart-album { color: var(--muted); font-size: 10.5px; }
.chart-duration {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  min-width: 35px;
  text-align: right;
}
.chart-actions { display: flex; align-items: center; gap: 1px; opacity: 0; transition: opacity 0.2s; }
.chart-row:hover .chart-actions,
.chart-row:focus-within .chart-actions { opacity: 1; }
.chart-actions .icon-btn { width: 30px; height: 30px; }
.chart-actions .icon { width: 15px; height: 15px; }
.chart-actions .is-fav { color: var(--orange-2); }

.feature-card {
  position: sticky;
  top: calc(var(--header-h) + 22px);
  padding: 16px 16px 24px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background:
    linear-gradient(150deg, rgba(242, 231, 213, 0.055), transparent 45%),
    var(--panel);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}
.feature-art {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 2px;
  background: var(--panel-2);
}
.feature-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.feature-card:hover .feature-art img { transform: scale(1.035); }
.feature-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(17, 16, 14, 0.68));
}
.feature-label {
  position: absolute;
  z-index: 2;
  top: 13px;
  left: 13px;
  color: #1b0e08;
  background: var(--cream);
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
}
.feature-play {
  position: absolute;
  z-index: 3;
  right: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--orange);
  color: #1b0e08;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.36);
  transition: transform 0.3s var(--ease), background 0.2s;
}
.feature-play:hover { transform: scale(1.08); background: var(--orange-2); }
.feature-play .icon { width: 22px; height: 22px; margin-left: 2px; }
.feature-body { padding: 19px 4px 0; }
.feature-eyebrow {
  color: var(--orange-2);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.18em;
}
.feature-title {
  margin-top: 7px;
  font-family: var(--font-display);
  font-size: clamp(25px, 2.3vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.feature-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}
.feature-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.feature-meta span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}
.feature-meta .feature-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cream-2);
  font-size: 11px;
}
.feature-meta .feature-download:hover { color: var(--orange-2); }
.feature-meta .icon { width: 15px; height: 15px; }

/* ------------------------------------------------------------
   Album shelf
   ------------------------------------------------------------ */

.filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 3px;
}
.filter-row::-webkit-scrollbar { display: none; }
.filter-chip {
  flex: none;
  height: 32px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.06em;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.filter-chip:hover { color: var(--cream); border-color: var(--line-strong); }
.filter-chip.is-active { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.shelf-wrap { position: relative; }
.album-shelf {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 232px);
  gap: 22px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 2px 0 10px;
}
.album-shelf::-webkit-scrollbar { display: none; }
.album-card {
  scroll-snap-align: start;
  min-width: 0;
}
.album-card .album-art {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 3px;
  background: var(--panel-2);
  border: 1px solid rgba(242, 231, 213, 0.09);
}
.album-card .album-art > a { display: block; width: 100%; height: 100%; }
.album-card .album-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.4s;
}
.album-card:hover .album-art img { transform: scale(1.055); filter: brightness(0.78); }
.album-card .album-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(17, 16, 14, 0.65));
  opacity: 0;
  transition: opacity 0.3s;
}
.album-card:hover .album-art::after { opacity: 1; }
.album-play {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  opacity: 0;
  transform: translateY(7px);
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
.album-card:hover .album-play,
.album-play:focus-visible { opacity: 1; transform: translateY(0); }
.album-play .icon { width: 17px; height: 17px; margin-left: 1px; }
.album-card .album-cat {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  padding: 2px 7px;
  border-radius: 2px;
  background: rgba(17, 16, 14, 0.72);
  color: var(--cream-2);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.12em;
  backdrop-filter: blur(6px);
}
.album-meta { padding: 11px 2px 0; }
.album-name {
  display: block;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.album-card:hover .album-name { color: var(--orange-2); }
.album-sub {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
}
.album-sub i { width: 2px; height: 2px; border-radius: 50%; background: var(--muted-2); }
.shelf-arrows { display: flex; gap: 4px; }
.shelf-arrows .icon-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
}
.shelf-arrows .icon { width: 16px; height: 16px; }

/* ------------------------------------------------------------
   Era band
   ------------------------------------------------------------ */

.era-band {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(34px, 5vw, 80px);
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background:
    radial-gradient(600px 280px at 92% 105%, rgba(227, 90, 52, 0.16), transparent 70%),
    linear-gradient(125deg, #211a15, #15120f 72%);
}
.era-band::after {
  content: "十年一刻";
  position: absolute;
  right: -1%;
  bottom: -8%;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(80px, 13vw, 190px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.08em;
  -webkit-text-stroke: 1px rgba(242, 231, 213, 0.06);
  pointer-events: none;
}
.era-copy { position: relative; z-index: 2; }
.era-copy h2 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 4rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.05em;
}
.era-copy h2 em { color: var(--orange-2); font-style: normal; }
.era-copy p {
  max-width: 32ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}
.era-years {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 4px 10px;
}
.era-year {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 3px 2px;
  color: rgba(242, 231, 213, 0.12);
  font-family: var(--font-display);
  font-size: clamp(31px, 4.2vw, 55px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.05em;
  -webkit-text-stroke: 1px rgba(242, 231, 213, 0.3);
  transition: color 0.3s, -webkit-text-stroke-color 0.3s, transform 0.3s;
}
.era-year small {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0;
  -webkit-text-stroke: 0;
  transform: translateY(-4px);
}
.era-year:hover {
  color: var(--orange-2);
  -webkit-text-stroke-color: transparent;
  transform: translateY(-3px);
}
.era-year.is-muted { opacity: 0.38; }

/* ------------------------------------------------------------
   Community / sync
   ------------------------------------------------------------ */

.community-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(26px, 4vw, 58px);
  align-items: stretch;
}
.sync-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: clamp(26px, 3.4vw, 42px);
  border-radius: 5px;
  color: #21150f;
  background:
    radial-gradient(320px 220px at 90% 5%, rgba(255, 243, 218, 0.55), transparent 70%),
    var(--cream);
  overflow: hidden;
}
.sync-card::before {
  content: "";
  position: absolute;
  right: -30px;
  top: 14%;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(33, 21, 15, 0.15);
  border-radius: 50%;
}
.sync-card::after {
  content: "";
  position: absolute;
  right: 28px;
  top: 25%;
  width: 100px;
  height: 100px;
  border: 1px dashed rgba(33, 21, 15, 0.16);
  border-radius: 50%;
}
.sync-card .kicker { color: #a23f24; }
.sync-card .kicker::before { background: #a23f24; }
.sync-title {
  position: relative;
  z-index: 2;
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3.1rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.055em;
}
.sync-title em { font-style: normal; color: #b74625; }
.sync-desc {
  position: relative;
  z-index: 2;
  max-width: 34ch;
  margin-top: 14px;
  color: rgba(33, 21, 15, 0.66);
  font-size: 12px;
  line-height: 1.85;
}
.sync-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: auto;
  padding-top: 30px;
}
.sync-actions .btn { border-color: rgba(33, 21, 15, 0.25); color: #21150f; min-height: 42px; }
.sync-actions .btn-primary { background: #21150f; border-color: #21150f; color: var(--cream); }
.sync-actions .btn:hover { background: rgba(33, 21, 15, 0.09); }
.sync-actions .btn-primary:hover { background: #3a2319; }
.sync-code-form {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 7px;
  margin-top: 12px;
}
.sync-code-form input {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(33, 21, 15, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  color: #21150f;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.sync-code-form input::placeholder { color: rgba(33, 21, 15, 0.4); letter-spacing: 0.08em; }
.sync-code-form button { flex: none; height: 42px; padding: 0 16px; border-radius: 999px; background: #b74625; color: #fff5e8; font-size: 11px; }
.sync-card .sync-foot {
  position: relative;
  z-index: 2;
  margin-top: 14px;
  color: rgba(33, 21, 15, 0.45);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.community-board { display: flex; flex-direction: column; min-width: 0; }
.board-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.board-head h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.board-head span { color: var(--muted); font-size: 10px; }
.community-grid-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 38px;
}
.community-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s, padding 0.25s;
}
.community-item:hover { background: rgba(242, 231, 213, 0.035); padding-left: 10px; padding-right: 10px; }
.community-cover {
  width: 58px;
  height: 58px;
  border-radius: 3px;
  overflow: hidden;
  background: var(--panel-2);
}
.community-cover img { width: 100%; height: 100%; object-fit: cover; }
.community-info { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.community-name { font-size: 13px; font-weight: 500; }
.community-sub { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 10px; }
.community-sub .icon { width: 11px; height: 11px; }
.community-arrow { color: var(--muted-2); transition: color 0.2s, transform 0.25s; }
.community-item:hover .community-arrow { color: var(--orange-2); transform: translate(2px, -2px); }
.board-empty {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 250px;
  padding: 30px;
  border: 1px dashed var(--line-strong);
  border-radius: 4px;
  color: var(--muted);
  text-align: center;
}
.board-empty b { color: var(--cream-2); font-family: var(--font-display); font-size: 21px; font-weight: 500; }
.board-empty p { font-size: 11px; line-height: 1.8; }
.board-empty .icon { width: 28px; height: 28px; color: var(--muted-2); }

/* ------------------------------------------------------------
   About / polaroids
   ------------------------------------------------------------ */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.about-quote {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 4.1rem);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.045em;
}
.about-quote em { color: var(--orange-2); font-style: normal; }
.about-text {
  max-width: 44ch;
  margin-top: 26px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 2;
}
.about-text p + p { margin-top: 11px; }
.about-sign {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  color: var(--cream-2);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}
.about-sign .brand-seal { width: 32px; height: 32px; font-size: 19px; }
.polaroids {
  position: relative;
  min-height: 460px;
}
.polaroid {
  position: absolute;
  padding: 9px 9px 38px;
  background: #efe3cf;
  color: #2a1c14;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
}
.polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.polaroid figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 11px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-align: center;
  opacity: 0.75;
}
.polaroid::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -9px;
  left: 50%;
  width: 67px;
  height: 20px;
  background: rgba(210, 188, 154, 0.6);
  transform: translateX(-50%) rotate(-2deg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.polaroid-1 { z-index: 2; top: 2%; left: 7%; width: 56%; transform: rotate(-6deg); }
.polaroid-2 { z-index: 3; top: 23%; right: 0; width: 51%; transform: rotate(5deg); }
.polaroid-3 { z-index: 1; bottom: 0; left: 23%; width: 47%; transform: rotate(-1.5deg); }
.polaroids .stamp-note {
  position: absolute;
  right: 6%;
  bottom: 8%;
  z-index: 4;
  color: var(--orange-2);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  transform: rotate(-6deg);
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */

.site-footer {
  position: relative;
  padding: 70px 0 calc(var(--player-h) + 44px);
  border-top: 1px solid var(--line);
  background: rgba(12, 11, 9, 0.5);
}
.footer-inner {
  width: min(100% - 80px, 1480px);
  margin-inline: auto;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.08em;
}
.footer-brand p { margin-top: 3px; color: var(--muted); font-size: 11px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin: 30px 0 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.footer-links a { color: var(--cream-2); font-size: 11px; letter-spacing: 0.05em; }
.footer-links a:hover { color: var(--orange-2); }
.footer-note { color: var(--muted-2); font-size: 10px; line-height: 1.8; }
.footer-fine { margin-top: 10px; color: var(--muted-2); font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.1em; }
.footer-fine span { color: var(--orange); }

/* ------------------------------------------------------------
   Player
   ------------------------------------------------------------ */

.player-dock {
  position: fixed;
  z-index: 300;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--player-h);
  background: rgba(18, 15, 13, 0.91);
  border-top: 1px solid rgba(242, 231, 213, 0.14);
  backdrop-filter: blur(26px) saturate(1.25);
  -webkit-backdrop-filter: blur(26px) saturate(1.25);
  transition: transform 0.4s var(--ease);
}
.player-dock::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(500px 100px at 12% 0%, rgba(227, 90, 52, 0.09), transparent 70%);
  pointer-events: none;
}
.player-progress {
  position: absolute;
  inset: -5px 0 auto;
  height: 10px;
  z-index: 4;
}
.player-progress input {
  width: 100%;
  height: 10px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}
.player-progress input::-webkit-slider-runnable-track {
  height: 2px;
  background: linear-gradient(to right, var(--orange) var(--seek, 0%), rgba(242, 231, 213, 0.13) var(--seek, 0%));
}
.player-progress input::-moz-range-track { height: 2px; background: rgba(242, 231, 213, 0.13); }
.player-progress input::-moz-range-progress { height: 2px; background: var(--orange); }
.player-progress input::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--cream);
  opacity: 0;
  transition: opacity 0.2s;
}
.player-dock:hover .player-progress input::-webkit-slider-thumb { opacity: 1; }
.player-inner {
  width: min(100% - 56px, 1600px);
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(310px, 440px) minmax(240px, 1fr);
  align-items: center;
  gap: 24px;
}
.now-playing {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.now-cover {
  position: relative;
  width: 54px;
  height: 54px;
  flex: none;
  overflow: hidden;
  border-radius: 3px;
  background: var(--panel-2);
  border: 1px solid rgba(242, 231, 213, 0.12);
}
.now-cover img { width: 100%; height: 100%; object-fit: cover; }
.now-cover-wave {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  height: 22px;
  padding: 0 0 4px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  opacity: 0;
}
body.is-playing .now-cover-wave { opacity: 1; }
.now-cover-wave i {
  width: 2px;
  height: 20%;
  background: var(--cream);
  border-radius: 2px;
  animation: wave 0.8s ease-in-out infinite alternate;
}
.now-cover-wave i:nth-child(2) { height: 65%; animation-delay: -0.25s; }
.now-cover-wave i:nth-child(3) { height: 100%; animation-delay: -0.5s; }
.now-meta { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.now-title {
  display: block;
  overflow: hidden;
  color: var(--cream);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.now-title:hover { color: var(--orange-2); }
.now-sub {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.now-heart { flex: none; width: 32px; height: 32px; }
.now-heart .icon { width: 17px; height: 17px; }
.now-heart.is-fav { color: var(--orange-2); }
.now-heart.is-fav .icon { fill: currentColor; }

.player-center { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.transport { display: flex; align-items: center; gap: 5px; }
.transport .icon-btn { width: 34px; height: 34px; }
.transport .icon-btn .icon { width: 18px; height: 18px; }
.transport .icon-btn.is-active { color: var(--orange-2); }
.play-main {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 3px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  transition: transform 0.2s var(--ease), background 0.2s;
}
.play-main:hover { transform: scale(1.06); background: #fff8eb; }
.play-main .icon { width: 20px; height: 20px; margin-left: 1px; }
.play-main .pause-icon { display: none; }
body.is-playing .play-main .play-icon { display: none; }
body.is-playing .play-main .pause-icon { display: block; }
body.is-playing .play-main .pause-icon { margin-left: 0; }
.time-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.04em;
}
.time-line {
  position: relative;
  flex: 1;
  height: 2px;
  background: rgba(242, 231, 213, 0.11);
  border-radius: 2px;
  overflow: hidden;
}
.time-line i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--orange);
  border-radius: 2px;
}
.time-line b {
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cream);
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s;
}
.player-center:hover .time-line b { opacity: 1; }

.player-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}
.player-tools .icon-btn { width: 34px; height: 34px; }
.player-tools .icon { width: 17px; height: 17px; }
.queue-dot {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border-radius: 999px;
  background: var(--orange);
  color: #1b0e08;
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 700;
  line-height: 14px;
  text-align: center;
}
.volume-wrap { display: flex; align-items: center; margin-left: 3px; }
.volume-wrap input {
  width: 72px;
  height: 3px;
  margin: 0 0 0 2px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(to right, var(--cream-2) var(--vol, 80%), rgba(242, 231, 213, 0.15) var(--vol, 80%));
  border-radius: 3px;
  cursor: pointer;
}
.volume-wrap input::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cream);
}
.volume-wrap input::-moz-range-thumb { width: 8px; height: 8px; border: 0; border-radius: 50%; background: var(--cream); }

/* ------------------------------------------------------------
   Queue drawer
   ------------------------------------------------------------ */

.queue-drawer {
  position: fixed;
  z-index: 350;
  top: 0;
  right: 0;
  bottom: var(--player-h);
  width: min(410px, 100vw);
  display: flex;
  flex-direction: column;
  padding: 28px 24px 16px;
  background: rgba(23, 19, 16, 0.97);
  border-left: 1px solid var(--line);
  box-shadow: -30px 0 100px rgba(0, 0, 0, 0.42);
  transform: translateX(104%);
  transition: transform 0.5s var(--ease);
  backdrop-filter: blur(30px);
}
.queue-drawer.is-open { transform: translateX(0); }
.drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.drawer-head h3 { margin-top: 4px; font-family: var(--font-display); font-size: 30px; font-weight: 600; letter-spacing: -0.04em; }
.drawer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
}
.queue-list { flex: 1; overflow-y: auto; padding: 5px 0 20px; }
.queue-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 9px 6px;
  border-bottom: 1px solid rgba(242, 231, 213, 0.07);
  cursor: pointer;
  transition: background 0.2s;
}
.queue-item:hover { background: rgba(242, 231, 213, 0.035); }
.queue-item img { width: 38px; height: 38px; border-radius: 2px; object-fit: cover; }
.queue-item-info { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.queue-item-info b { font-size: 11.5px; font-weight: 500; }
.queue-item-info span { color: var(--muted); font-size: 9px; }
.queue-item .icon-btn { width: 26px; height: 26px; opacity: 0; }
.queue-item:hover .icon-btn { opacity: 1; }
.queue-item .icon { width: 13px; height: 13px; }
.queue-item.is-current b { color: var(--orange-2); }
.queue-empty { padding: 40px 0; color: var(--muted); font-size: 12px; text-align: center; }

/* ------------------------------------------------------------
   Now panel
   ------------------------------------------------------------ */

.now-panel {
  position: fixed;
  z-index: 400;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #12100e;
  transform: translateY(102%);
  transition: transform 0.65s var(--ease);
  visibility: hidden;
}
.now-panel.is-open { transform: translateY(0); visibility: visible; }
.now-panel-bg {
  position: absolute;
  inset: -10%;
  background-position: center;
  background-size: cover;
  filter: blur(80px) saturate(0.7);
  opacity: 0.32;
  transform: scale(1.1);
}
.now-panel-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, transparent, rgba(17, 16, 14, 0.8) 70%);
}
.now-panel-close { position: absolute; z-index: 5; top: 28px; right: 30px; width: 46px; height: 46px; border: 1px solid var(--line); }
.now-panel-close .icon { width: 23px; height: 23px; }
.now-panel-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 80px, 1160px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
}
.now-panel-art {
  position: relative;
  aspect-ratio: 1;
  max-width: 500px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55);
}
.now-panel-art img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.now-panel-art::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 7px, rgba(0, 0, 0, 0.13) 8px 9px);
  mix-blend-mode: multiply;
}
.now-panel-ring {
  position: absolute;
  z-index: 2;
  inset: 41%;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: inset 0 0 0 6px rgba(27, 14, 8, 0.15);
}
.now-panel-ring::after {
  content: "";
  position: absolute;
  inset: 47%;
  border-radius: 50%;
  background: #0d0b09;
}
.now-panel-copy .kicker { color: var(--orange-2); }
.now-panel-copy h2 {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.6vw, 6.3rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.06em;
}
.now-panel-copy > p { margin-top: 12px; color: var(--cream-2); font-size: 14px; }
.now-panel-quote {
  max-width: 30ch;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.03em;
}
.now-panel-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* ------------------------------------------------------------
   Modal / toast
   ------------------------------------------------------------ */

.modal-layer {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}
.modal-layer.is-open { visibility: visible; opacity: 1; }
.modal-scrim { position: absolute; inset: 0; background: rgba(8, 7, 6, 0.72); backdrop-filter: blur(12px); }
.modal {
  position: relative;
  z-index: 2;
  width: min(100%, 520px);
  max-height: min(84vh, 760px);
  overflow-y: auto;
  padding: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #1b1612;
  box-shadow: var(--shadow);
  transform: translateY(12px) scale(0.985);
  transition: transform 0.4s var(--ease);
}
.modal-layer.is-open .modal { transform: none; }
.modal.modal-wide { width: min(100%, 720px); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.modal-head h2 { font-family: var(--font-display); font-size: 28px; font-weight: 600; letter-spacing: -0.04em; }
.modal-head p { margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.modal-close { flex: none; width: 34px; height: 34px; border: 1px solid var(--line); }
.modal-body { margin-top: 23px; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 15px; }
.field label { color: var(--muted); font-size: 10px; letter-spacing: 0.08em; }
.field input, .field textarea, .field select {
  width: 100%;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: rgba(242, 231, 213, 0.035);
  color: var(--cream);
  outline: none;
  font-size: 13px;
  transition: border-color 0.2s, background 0.2s;
}
.field textarea { min-height: 90px; padding: 11px 13px; resize: vertical; line-height: 1.7; }
.field input:focus, .field textarea:focus { border-color: var(--orange); background: rgba(242, 231, 213, 0.06); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.form-hint { color: var(--muted-2); font-size: 10px; line-height: 1.7; }
.code-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin: 20px 0;
  padding: 20px;
  border: 1px dashed var(--line-strong);
  border-radius: 4px;
  background: rgba(227, 90, 52, 0.08);
  color: var(--orange-2);
  font-family: var(--font-mono);
  font-size: clamp(28px, 5vw, 38px);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
}
.copy-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(242, 231, 213, 0.03);
}
.copy-row input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--cream-2);
  font-family: var(--font-mono);
  font-size: 10px;
  outline: none;
}
.copy-row .btn { min-height: 32px; padding: 0 12px; font-size: 10px; }
.pick-list { display: flex; flex-direction: column; gap: 4px; max-height: 270px; overflow-y: auto; }
.pick-item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 9px;
  border: 1px solid transparent;
  border-radius: 3px;
  text-align: left;
  transition: background 0.2s, border-color 0.2s;
}
.pick-item:hover { background: rgba(242, 231, 213, 0.05); border-color: var(--line); }
.pick-item img { width: 42px; height: 42px; object-fit: cover; border-radius: 2px; }
.pick-item div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pick-item b { font-size: 12px; font-weight: 500; }
.pick-item span { color: var(--muted); font-size: 9px; }
.pick-item .icon { margin-left: auto; width: 15px; height: 15px; color: var(--muted); }
.form-error { margin-top: 10px; color: #ff9b7c; font-size: 11px; line-height: 1.6; }
.search-modal-input {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: rgba(242, 231, 213, 0.035);
}
.search-modal-input .icon { color: var(--muted); width: 19px; height: 19px; }
.search-modal-input input { flex: 1; height: 52px; border: 0; background: transparent; color: var(--cream); font-size: 15px; outline: none; }
.search-results { margin-top: 18px; max-height: 52vh; overflow-y: auto; }
.search-result-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px;
  border-radius: 3px;
  text-align: left;
}
.search-result-row:hover { background: rgba(242, 231, 213, 0.05); }
.search-result-row img { width: 40px; height: 40px; object-fit: cover; border-radius: 2px; }
.search-result-row div { min-width: 0; display: flex; flex-direction: column; }
.search-result-row b { font-size: 12px; font-weight: 500; }
.search-result-row span { color: var(--muted); font-size: 9px; }
.search-result-row .icon { margin-left: auto; width: 14px; height: 14px; color: var(--muted); }

.toast-stack {
  position: fixed;
  z-index: 600;
  right: 24px;
  bottom: calc(var(--player-h) + 22px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(340px, calc(100vw - 40px));
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: rgba(30, 24, 20, 0.97);
  color: var(--cream-2);
  font-size: 11.5px;
  line-height: 1.6;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.36);
  animation: toast-in 0.35s var(--ease);
}
.toast .icon { width: 16px; height: 16px; color: var(--orange-2); margin-top: 1px; }
.toast.is-error .icon { color: #ff9b7c; }
.toast.is-out { animation: toast-out 0.3s forwards; }

/* ------------------------------------------------------------
   Inner pages
   ------------------------------------------------------------ */

.page {
  padding-top: calc(var(--header-h) + 54px);
  min-height: 80vh;
}
.page-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding: 40px 0 48px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 7rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.06em;
}
.page-hero h1 em { color: var(--orange-2); font-style: normal; }
.page-hero p { max-width: 38ch; margin-top: 16px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.page-hero-side { flex: none; padding-bottom: 5px; }
.page-section { padding: 46px 0 72px; }

.album-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 34px 22px;
}
.album-grid .album-card .album-art { aspect-ratio: 1; }

.album-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 330px) minmax(0, 1fr);
  align-items: end;
  gap: clamp(28px, 5vw, 66px);
  padding: 72px 0 52px;
  border-bottom: 1px solid var(--line);
}
.album-hero-bg {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: blur(90px) saturate(0.6);
  opacity: 0.12;
  pointer-events: none;
}
.album-cover {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.album-cover img { width: 100%; height: 100%; object-fit: cover; }
.album-hero-copy { min-width: 0; }
.album-hero-copy h1 {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.6vw, 6rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.06em;
}
.album-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 13px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}
.album-hero-meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); }
.album-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.album-hero-note { max-width: 46ch; margin-top: 22px; color: var(--muted); font-size: 12px; line-height: 1.9; }

.track-table { border-top: 1px solid var(--line); }
.track-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) minmax(100px, 0.45fr) 68px 100px;
  gap: 15px;
  padding: 11px 10px;
  border-bottom: 1px solid var(--line);
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.track-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) minmax(100px, 0.45fr) 68px 100px;
  align-items: center;
  gap: 15px;
  padding: 10px;
  border-bottom: 1px solid rgba(242, 231, 213, 0.075);
  cursor: pointer;
  transition: background 0.2s, padding 0.2s;
}
.track-row:hover { background: rgba(242, 231, 213, 0.04); padding-left: 14px; padding-right: 14px; }
.track-row.is-current { background: rgba(227, 90, 52, 0.09); }
.track-row.is-current .track-title { color: var(--orange-2); }
.track-no { color: var(--muted-2); font-family: var(--font-mono); font-size: 10px; text-align: center; }
.track-main { display: flex; align-items: center; gap: 12px; min-width: 0; }
.track-main img { width: 40px; height: 40px; border-radius: 2px; object-fit: cover; }
.track-main div { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.track-title { font-size: 12.5px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.track-album { color: var(--muted); font-size: 9.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.track-duration { color: var(--muted); font-family: var(--font-mono); font-size: 9px; text-align: right; }
.track-actions { display: flex; justify-content: flex-end; opacity: 0; transition: opacity 0.2s; }
.track-row:hover .track-actions, .track-row:focus-within .track-actions { opacity: 1; }
.track-actions .icon-btn { width: 28px; height: 28px; }
.track-actions .icon { width: 14px; height: 14px; }
.track-actions .is-fav { color: var(--orange-2); }

.search-page-form {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 760px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(242, 231, 213, 0.035);
}
.search-page-form .icon { color: var(--muted); }
.search-page-form input { flex: 1; width: 100%; height: 58px; border: 0; background: transparent; color: var(--cream); font-size: 18px; outline: none; }
.search-empty { padding: 80px 0; text-align: center; color: var(--muted); }
.search-empty b { display: block; margin-bottom: 7px; color: var(--cream-2); font-family: var(--font-display); font-size: 26px; font-weight: 500; }

.library-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(270px, 0.65fr);
  gap: 40px;
  align-items: start;
}
.playlist-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.playlist-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: linear-gradient(150deg, rgba(242, 231, 213, 0.055), transparent 55%), var(--panel);
  transition: border-color 0.25s, transform 0.3s var(--ease);
}
.playlist-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.playlist-card-top { display: flex; align-items: center; justify-content: space-between; }
.playlist-card-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(227, 90, 52, 0.14); color: var(--orange-2); }
.playlist-card-icon .icon { width: 17px; height: 17px; }
.playlist-card h3 { margin-top: auto; font-family: var(--font-display); font-size: 22px; font-weight: 500; line-height: 1.25; letter-spacing: -0.03em; }
.playlist-card p { margin-top: 6px; color: var(--muted); font-size: 10px; }
.playlist-card .playlist-card-cover {
  display: flex;
  gap: 3px;
  margin-top: 15px;
  height: 44px;
  overflow: hidden;
  border-radius: 2px;
}
.playlist-card-cover img { width: 44px; height: 44px; object-fit: cover; }
.playlist-card-cover span { display: grid; place-items: center; width: 44px; height: 44px; background: rgba(242, 231, 213, 0.06); color: var(--muted); font-family: var(--font-mono); font-size: 8px; }
.playlist-card-actions { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 2px; opacity: 0; transition: opacity 0.2s; }
.playlist-card:hover .playlist-card-actions { opacity: 1; }
.playlist-card-actions .icon-btn { width: 28px; height: 28px; background: rgba(17, 16, 14, 0.6); }
.playlist-card-actions .icon { width: 14px; height: 14px; }
.playlist-card.is-new { align-items: center; justify-content: center; gap: 9px; border-style: dashed; color: var(--muted); text-align: center; background: transparent; }
.playlist-card.is-new:hover { color: var(--cream); }
.playlist-card.is-new .icon { width: 24px; height: 24px; }
.playlist-card.is-new span { font-size: 11px; }

.library-side { display: flex; flex-direction: column; gap: 15px; }
.side-card { padding: 22px; border: 1px solid var(--line); border-radius: 4px; background: rgba(242, 231, 213, 0.025); }
.side-card h3 { font-family: var(--font-display); font-size: 21px; font-weight: 500; letter-spacing: -0.03em; }
.side-card p { margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.side-card .btn { width: 100%; margin-top: 15px; }
.side-card .side-row { display: flex; gap: 8px; margin-top: 12px; }
.side-card .side-row .btn { margin-top: 0; flex: 1; }
.storage-meter { height: 4px; margin-top: 14px; border-radius: 4px; background: rgba(242, 231, 213, 0.09); overflow: hidden; }
.storage-meter i { display: block; height: 100%; width: 0; background: var(--orange); border-radius: 4px; }

.playlist-detail-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding: 50px 0 35px;
  border-bottom: 1px solid var(--line);
}
.playlist-detail-head h1 { margin-top: 12px; font-family: var(--font-display); font-size: clamp(2.5rem, 5.5vw, 5.6rem); font-weight: 600; line-height: 1.05; letter-spacing: -0.055em; }
.playlist-detail-head p { margin-top: 10px; color: var(--muted); font-size: 11px; }
.playlist-detail-head .head-actions { display: flex; flex-wrap: wrap; gap: 9px; flex: none; }
.playlist-hero-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.shared-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 17px;
  margin-top: 24px;
  border: 1px solid rgba(227, 90, 52, 0.28);
  border-radius: 4px;
  background: rgba(227, 90, 52, 0.07);
  color: var(--cream-2);
  font-size: 11px;
  line-height: 1.7;
}
.shared-banner .icon { color: var(--orange-2); flex: none; }
.shared-banner b { color: var(--orange-2); font-family: var(--font-mono); letter-spacing: 0.1em; }

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 70px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 4px;
  text-align: center;
  color: var(--muted);
}
.empty-state .icon { width: 32px; height: 32px; color: var(--muted-2); }
.empty-state b { color: var(--cream-2); font-family: var(--font-display); font-size: 24px; font-weight: 500; }
.empty-state p { font-size: 11px; line-height: 1.8; }

.about-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 7vw, 100px);
  padding: 56px 0 80px;
  align-items: start;
}
.about-page-grid h1 { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 6.5rem); font-weight: 600; line-height: 1.02; letter-spacing: -0.06em; }
.about-page-grid h1 em { color: var(--orange-2); font-style: normal; }
.about-manifesto { margin-top: 30px; color: var(--cream-2); font-size: 13px; line-height: 2.1; }
.about-manifesto p + p { margin-top: 14px; }
.about-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 32px; background: var(--line); border: 1px solid var(--line); }
.about-fact { padding: 18px; background: var(--ink); }
.about-fact b { display: block; font-family: var(--font-display); font-size: 27px; font-weight: 500; }
.about-fact span { color: var(--muted); font-size: 9px; letter-spacing: 0.1em; }
.about-aside { border: 1px solid var(--line); padding: 26px; background: rgba(242, 231, 213, 0.025); }
.about-aside h2 { font-family: var(--font-display); font-size: 26px; font-weight: 500; }
.about-aside ol { margin-top: 18px; counter-reset: item; }
.about-aside li { position: relative; padding: 13px 0 13px 34px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.8; counter-increment: item; }
.about-aside li::before { content: "0" counter(item); position: absolute; left: 0; top: 14px; color: var(--orange-2); font-family: var(--font-mono); font-size: 9px; }
.about-aside li b { display: block; color: var(--cream-2); font-weight: 500; }
.about-aside .btn { width: 100%; margin-top: 20px; }

/* Skeletons / error */
.boot-screen {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.boot-vinyl {
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, #2f2924 0 1px, #15120f 2px 4px);
  animation: spin 4s linear infinite;
}
.boot-vinyl span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--orange); color: #1b0e08; font-family: var(--font-display); font-size: 22px; }
.skeleton-home { padding: calc(var(--header-h) + 110px) 0; }
.sk-line, .sk-title, .sk-text, .sk-art { border-radius: 3px; background: linear-gradient(90deg, rgba(242, 231, 213, 0.055), rgba(242, 231, 213, 0.09), rgba(242, 231, 213, 0.055)); background-size: 220% 100%; animation: shimmer 1.5s infinite linear; }
.sk-kicker { width: 170px; height: 10px; }
.sk-title { width: min(80%, 700px); height: 100px; margin-top: 30px; }
.sk-title.short { width: min(42%, 380px); height: 56px; margin-top: 12px; }
.sk-text { width: min(50%, 420px); height: 13px; margin-top: 28px; }
.sk-art { position: fixed; right: 8%; top: 18%; width: 34vw; height: 55vh; border-radius: 48% 48% 10px 10px; opacity: 0.7; }
.error-state { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 100px 0; }
.error-state .brand-seal { width: 60px; height: 60px; font-size: 34px; margin-bottom: 22px; }
.error-state h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 4rem); font-weight: 600; letter-spacing: -0.04em; }
.error-state p { max-width: 44ch; margin-top: 14px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.error-state .error-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; justify-content: center; }
.error-detail { margin-top: 18px; max-width: 760px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 3px; color: var(--muted-2); font-family: var(--font-mono); font-size: 9px; line-height: 1.8; word-break: break-word; }

/* Mobile tab bar */
.mobile-tabbar { display: none; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */

@media (max-width: 1240px) {
  .shell { width: min(100% - 56px, 1200px); }
  .header-inner, .footer-inner { width: min(100% - 56px, 1200px); }
  .hero { grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr); }
  .hero-title { font-size: clamp(4.1rem, 8.8vw, 8.4rem); }
  .player-inner { width: calc(100% - 40px); grid-template-columns: minmax(210px, 1fr) minmax(280px, 390px) minmax(210px, 1fr); gap: 15px; }
  .library-link span { display: none; }
  .library-link { padding: 0 10px; }
  .album-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1020px) {
  :root { --header-h: 70px; }
  .main-nav { gap: 24px; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: calc(var(--header-h) + 80px); padding-bottom: 50px; gap: 34px; }
  .hero-copy { max-width: 760px; }
  .hero-title { font-size: clamp(4.4rem, 12.5vw, 8.4rem); }
  .hero-stage { width: min(100%, 650px); margin-inline: auto; aspect-ratio: 1.05; }
  .hero-side-label { display: none; }
  .hero-scroll { display: none; }
  .hero-stats { max-width: 620px; }
  .listen-grid { grid-template-columns: 1fr; }
  .feature-card { position: static; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 22px; align-items: center; }
  .feature-art { aspect-ratio: 1; }
  .feature-body { padding: 0; }
  .feature-note { max-width: 40ch; }
  .community-grid { grid-template-columns: 1fr; }
  .sync-card { min-height: 360px; }
  .about-grid { grid-template-columns: 1fr; }
  .polaroids { min-height: 540px; max-width: 620px; margin-inline: auto; width: 100%; }
  .album-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .library-grid { grid-template-columns: 1fr; }
  .playlist-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-page-grid { grid-template-columns: 1fr; }
  .now-panel-inner { grid-template-columns: 1fr; gap: 34px; width: min(100% - 60px, 600px); }
  .now-panel-art { max-width: 320px; margin-inline: auto; }
  .now-panel-copy { text-align: center; }
  .now-panel-copy .kicker { justify-content: center; }
  .now-panel-quote { margin-inline: auto; }
  .now-panel-actions { justify-content: center; }
}

@media (max-width: 820px) {
  :root { --player-h: 76px; --tabbar-h: 58px; }
  .main-nav { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .search-trigger { border: 0; padding: 0; }
  .search-trigger .search-hint, .search-trigger kbd { display: none; }
  .library-link { display: none; }
  .hero-title { font-size: clamp(4rem, 15vw, 7rem); }
  .hero-title .second { font-size: 0.4em; }
  .hero-float-card { width: 190px; }
  .hero-portrait { width: 66%; height: 82%; }
  .vinyl { width: 56%; left: 1%; }
  .hero-stamp { right: 1%; }
  .album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .page-hero { flex-direction: column; align-items: flex-start; gap: 18px; }
  .page-hero-side { padding-bottom: 0; }
  .album-hero { grid-template-columns: 220px 1fr; gap: 26px; }
  .album-hero-copy h1 { font-size: clamp(2.2rem, 7vw, 4rem); }
  .track-head { display: none; }
  .track-row { grid-template-columns: 32px minmax(0, 1fr) 40px; gap: 9px; }
  .track-row .track-album, .track-row .track-duration { display: none; }
  .track-actions { opacity: 1; }
  .track-actions .icon-btn:nth-child(3) { display: none; }
  .playlist-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .playlist-detail-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .queue-drawer { bottom: calc(var(--player-h) + var(--tabbar-h)); }
  .player-dock { bottom: var(--tabbar-h); }
  .site-footer { padding-bottom: calc(var(--player-h) + var(--tabbar-h) + 34px); }
  .mobile-tabbar {
    position: fixed;
    z-index: 310;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--tabbar-h);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(15, 13, 11, 0.97);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(20px);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-tabbar a, .mobile-tabbar button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 0.08em;
  }
  .mobile-tabbar .icon { width: 19px; height: 19px; }
  .mobile-tabbar a.is-active { color: var(--orange-2); }
  .mobile-tabbar button { color: var(--muted); }
  .toast-stack { bottom: calc(var(--player-h) + var(--tabbar-h) + 16px); }
  .now-panel { padding-bottom: calc(var(--player-h) + var(--tabbar-h)); }
  .now-panel-inner { width: min(100% - 40px, 520px); }
  .now-panel-art { max-width: 260px; }
  .now-panel-copy h2 { font-size: clamp(2.3rem, 9vw, 3.5rem); }
  .now-panel-close { top: 16px; right: 16px; }
  .player-inner {
    width: calc(100% - 24px);
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }
  .player-center { order: 2; }
  .player-tools, .time-row { display: none; }
  .transport .icon-btn:first-child, .transport .icon-btn:last-child { display: none; }
  .transport { gap: 0; }
  .play-main { width: 40px; height: 40px; }
  .now-cover { width: 46px; height: 46px; }
  .now-heart { display: none; }
  .now-title { font-size: 11.5px; max-width: 42vw; }
  .now-sub { font-size: 9px; max-width: 42vw; }
  .now-playing { gap: 9px; }
  .player-dock { height: var(--player-h); }
  .player-progress { inset: -3px 0 auto; }
  .queue-drawer { top: var(--header-h); bottom: calc(var(--player-h) + var(--tabbar-h)); }
  .hero-hand-note { left: 1%; bottom: 1%; font-size: 10px; }
  .era-band { grid-template-columns: 1fr; gap: 28px; }
  .era-years { justify-content: flex-start; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 17px; }
  .section-side { padding-bottom: 0; }
}

@media (max-width: 600px) {
  .shell, .header-inner, .footer-inner { width: calc(100% - 32px); }
  .header-inner { gap: 12px; }
  .brand-seal { width: 36px; height: 36px; font-size: 22px; }
  .brand-copy strong { font-size: 14px; }
  .brand-copy small { font-size: 6px; }
  .header-actions { gap: 2px; }
  .hero { padding-top: calc(var(--header-h) + 48px); }
  .hero-title { font-size: clamp(3.4rem, 17.5vw, 5.2rem); }
  .hero-title .second { font-size: 0.38em; }
  .hero-intro { font-size: 12.5px; line-height: 1.9; }
  .hero-eyebrow { font-size: 8px; gap: 9px; }
  .hero-actions { gap: 8px; margin-top: 25px; }
  .hero-actions .btn { min-height: 42px; padding: 0 16px; font-size: 11px; }
  .hero-stats { gap: 22px; margin-top: 34px; }
  .hero-stat b { font-size: 19px; }
  .hero-stat span { font-size: 8px; }
  .hero-stage { aspect-ratio: 1 / 1.08; width: calc(100% + 16px); margin-left: -8px; }
  .hero-portrait { width: 70%; height: 78%; right: 0; }
  .vinyl { width: 57%; left: -2%; bottom: 5%; }
  .hero-float-card { width: 160px; top: 1%; left: -1%; padding: 9px; }
  .hero-float-main img { width: 38px; height: 38px; }
  .hero-float-main b { font-size: 11px; }
  .hero-float-main span { font-size: 8px; }
  .hero-float-wave { display: none; }
  .hero-stamp { width: 74px; right: 0; bottom: 3%; }
  .hero-stamp b { font-size: 23px; }
  .hero-stamp span { font-size: 5px; }
  .hero-hand-note { display: none; }
  .marquee-track span { font-size: 11px; }
  .section { padding: 62px 0; }
  .section-title { font-size: 2.35rem; }
  .section-lead { font-size: 11.5px; }
  .chart-row { grid-template-columns: 25px 42px minmax(0, 1fr) auto; gap: 10px; padding: 10px 5px; }
  .chart-cover { width: 42px; height: 42px; }
  .chart-duration { display: none; }
  .chart-actions { opacity: 1; }
  .chart-actions .icon-btn:nth-child(3) { display: none; }
  .chart-title { font-size: 12.5px; }
  .chart-album { font-size: 9.5px; }
  .feature-card { display: block; padding: 12px 12px 20px; }
  .feature-art { aspect-ratio: 1.08; }
  .feature-body { padding: 16px 4px 0; }
  .feature-title { font-size: 25px; }
  .album-shelf { grid-auto-columns: 46%; gap: 14px; }
  .album-name { font-size: 12px; }
  .album-sub { font-size: 8px; }
  .era-band { padding: 26px 20px; }
  .era-copy h2 { font-size: 2.25rem; }
  .era-year { font-size: 31px; }
  .sync-card { padding: 24px 20px; min-height: 390px; }
  .sync-title { font-size: 2.05rem; }
  .sync-actions { padding-top: 25px; }
  .community-grid-list { grid-template-columns: 1fr; gap: 0; }
  .community-item { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; }
  .community-cover { width: 48px; height: 48px; }
  .community-name { font-size: 12px; }
  .footer-links { gap: 16px 20px; }
  .page { padding-top: calc(var(--header-h) + 28px); }
  .page-hero { padding: 24px 0 32px; }
  .page-hero h1 { font-size: 3.2rem; }
  .album-grid { gap: 20px 12px; }
  .album-hero { grid-template-columns: 1fr; align-items: start; padding-top: 38px; }
  .album-cover { width: min(68vw, 290px); }
  .album-hero-copy h1 { font-size: 2.8rem; }
  .album-hero-actions .btn { min-height: 40px; font-size: 11px; }
  .track-row { grid-template-columns: 26px minmax(0, 1fr) 34px; }
  .track-main img { width: 35px; height: 35px; }
  .track-title { font-size: 11.5px; }
  .playlist-cards { grid-template-columns: 1fr; }
  .playlist-card { min-height: 170px; }
  .side-card { padding: 18px; }
  .modal { padding: 24px 20px; }
  .modal-head h2 { font-size: 24px; }
  .sync-code-form { flex-direction: column; }
  .sync-code-form button { width: 100%; }
  .polaroids { min-height: 390px; }
  .polaroid { padding: 6px 6px 28px; }
  .polaroid figcaption { font-size: 8px; bottom: 8px; }
  .polaroids .stamp-note { display: none; }
  .about-page-grid { padding-top: 35px; }
  .about-facts { grid-template-columns: 1fr 1fr; }
  .now-panel-quote { font-size: 14px; margin-top: 24px; }
  .now-panel-actions .btn { min-height: 40px; font-size: 11px; padding: 0 14px; }
  .now-panel-copy h2 { font-size: 2.4rem; }
}

@media (max-width: 380px) {
  .hero-title { font-size: 3.1rem; }
  .hero-float-card { display: none; }
  .hero-stamp { width: 64px; }
  .hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
  .hero-stat dd { letter-spacing: 0.06em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Animations */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes wave { from { transform: scaleY(0.35); } to { transform: scaleY(1); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(227, 90, 52, 0.1); } 50% { box-shadow: 0 0 0 8px rgba(227, 90, 52, 0); } }
@keyframes bob { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
@keyframes shimmer { to { background-position: -120% 0; } }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(7px); } }
