/* ============================================================
   BanG Dream! Starlight Player
   A fan-made music player — starlight stage edition
   ============================================================ */

:root {
  --sidebar-w: 238px;
  --player-h: 92px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --bg: #08060f;
  --bg-2: #0d0918;
  --bg-3: #120d1f;
  --panel: #120d1e;
  --panel-2: #171128;
  --cream: #f7efe6;
  --ink: #17111f;
  --pink: #ff5d9e;
  --pink-2: #ff91bd;
  --coral: #ff8b72;
  --cyan: #66e0ff;
  --yellow: #ffd76e;
  --violet: #9b7bff;
  --text: #f6f1fa;
  --muted: #9a90ab;
  --muted-2: #6f657d;
  --line: rgba(255, 255, 255, 0.085);
  --line-strong: rgba(255, 255, 255, 0.16);
  --accent: #ff5d9e;
  --accent-soft: rgba(255, 93, 158, 0.18);
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --font-display: "M PLUS Rounded 1c", "Outfit", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-latin: "Outfit", "M PLUS Rounded 1c", sans-serif;
}

* { box-sizing: border-box; }
html {
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(1200px 760px at 8% -8%, rgba(255, 93, 158, 0.11), transparent 62%),
    radial-gradient(1000px 640px at 102% 0%, rgba(102, 224, 255, 0.08), transparent 58%),
    radial-gradient(900px 700px at 60% 100%, rgba(155, 123, 255, 0.09), transparent 62%),
    var(--bg);
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
button {
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
button:disabled { cursor: not-allowed; opacity: 0.45; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { color: #1b0d17; background: var(--pink); }
:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 500;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--cream);
  transform: translateY(-160%);
  transition: transform 0.2s;
}
.skip-link:focus { transform: none; }

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

/* ---------------------------------------------------------- background */
#starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.72;
}
.bg-aura {
  position: fixed;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(95px);
  opacity: 0.6;
  transition: background 1.2s var(--ease);
}
.aura-1 {
  width: 460px;
  height: 460px;
  top: 18%;
  left: 14%;
  background: radial-gradient(circle, rgba(255, 93, 158, 0.2), transparent 68%);
}
.aura-2 {
  width: 520px;
  height: 520px;
  top: 2%;
  right: -6%;
  background: radial-gradient(circle, rgba(102, 224, 255, 0.12), transparent 68%);
}
.aura-3 {
  width: 420px;
  height: 420px;
  bottom: 4%;
  left: 46%;
  background: radial-gradient(circle, rgba(155, 123, 255, 0.12), transparent 68%);
}
.bg-ray {
  position: fixed;
  z-index: 0;
  inset: -30% -20% auto 30%;
  height: 120vh;
  pointer-events: none;
  opacity: 0.4;
  background: conic-gradient(from 206deg at 50% 0%, transparent 0 38%, rgba(255, 255, 255, 0.035) 42%, transparent 47%, transparent 56%, rgba(255, 93, 158, 0.04) 59%, transparent 64%);
  filter: blur(2px);
}
.bg-grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------- boot */
.boot {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0;
  background:
    radial-gradient(560px 400px at 50% 38%, rgba(255, 93, 158, 0.16), transparent 70%),
    #08060f;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.boot.is-done { opacity: 0; visibility: hidden; }
.boot-mark {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin-bottom: 22px;
  border-radius: 24px;
  color: #1b0c18;
  background: linear-gradient(135deg, var(--pink), var(--coral) 52%, var(--cyan));
  box-shadow: 0 0 0 10px rgba(255, 93, 158, 0.08), 0 24px 70px rgba(255, 93, 158, 0.32);
  animation: boot-float 2.2s ease-in-out infinite;
}
.boot-mark .icon { width: 36px; height: 36px; }
.boot-kicker {
  margin-bottom: 8px;
  color: var(--pink-2);
  font-family: var(--font-latin);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 6px;
}
.boot-title {
  color: var(--cream);
  font-family: var(--font-latin);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.6px;
  text-align: center;
}
.boot-title em {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-family: var(--font-latin);
  font-size: 9px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 7px;
}
.boot-bar {
  width: 176px;
  height: 3px;
  margin-top: 28px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.09);
}
.boot-bar i {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pink), var(--cyan));
  animation: boot-load 1.15s var(--ease) infinite;
}
.boot-note {
  margin-top: 12px;
  color: var(--muted-2);
  font-size: 10px;
  letter-spacing: 2px;
  text-align: center;
}
.boot-note button {
  margin-left: 6px;
  padding: 5px 12px;
  border: 1px solid rgba(255, 93, 158, 0.45);
  border-radius: 99px;
  color: var(--pink-2);
  background: rgba(255, 93, 158, 0.12);
  font-size: 10px;
  letter-spacing: 0.5px;
  transition: background 0.2s, color 0.2s;
}
.boot-note button:hover { color: #24101b; background: var(--pink); }
.boot-spark { position: absolute; inset: 0; pointer-events: none; }
.boot-spark span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px var(--pink);
  opacity: 0;
  animation: sparkle 2.6s ease-in-out infinite;
}
.boot-spark span:nth-child(1) { top: 30%; left: 37%; animation-delay: 0.2s; }
.boot-spark span:nth-child(2) { top: 24%; right: 33%; animation-delay: 1s; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.boot-spark span:nth-child(3) { top: 67%; left: 60%; animation-delay: 1.7s; }

/* ---------------------------------------------------------- app shell */
.app {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding-bottom: calc(var(--player-h) + var(--safe-b));
}
.workspace {
  min-width: 0;
  margin-left: var(--sidebar-w);
}
.content {
  width: 100%;
  max-width: 1660px;
  margin: 0 auto;
  padding: 14px 30px 48px;
}

/* ---------------------------------------------------------- sidebar */
.sidebar {
  position: fixed;
  z-index: 40;
  top: 0;
  bottom: var(--player-h);
  left: 0;
  display: flex;
  width: var(--sidebar-w);
  flex-direction: column;
  padding: 0 14px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(18, 13, 31, 0.96), rgba(9, 7, 16, 0.97)),
    radial-gradient(240px 200px at 20% 0, rgba(255, 93, 158, 0.1), transparent 70%);
  backdrop-filter: blur(22px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  flex: none;
  padding: 20px 8px 18px;
  text-align: left;
}
.brand-mark {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  flex: none;
  place-items: center;
  border-radius: 14px;
  color: #1c0b17;
  background: linear-gradient(140deg, #ff7eb0, var(--pink) 46%, var(--coral));
  box-shadow: 0 10px 26px rgba(255, 93, 158, 0.3), inset 0 1px rgba(255, 255, 255, 0.5);
  overflow: hidden;
}
.brand-star { position: relative; z-index: 2; display: grid; place-items: center; }
.brand-star .icon { width: 21px; height: 21px; }
.brand-disc {
  position: absolute;
  right: -9px;
  bottom: -9px;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(22, 8, 20, 0.28);
  border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(22, 8, 20, 0.24) 0 1px, transparent 1px 3px);
}
.brand-text { min-width: 0; }
.brand-text strong {
  display: block;
  font-family: var(--font-latin);
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.35px;
  line-height: 1.15;
  white-space: nowrap;
}
.brand-text em {
  display: block;
  margin-top: 3px;
  color: var(--pink-2);
  font-family: var(--font-latin);
  font-size: 7.5px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 2.7px;
  white-space: nowrap;
}
.side-close {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 12px;
  display: none;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}
.side-close .icon { width: 14px; height: 14px; }
.side-scroll {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.side-scroll::-webkit-scrollbar { display: none; }
.side-label {
  padding: 0 10px;
  color: var(--muted-2);
  font-family: var(--font-latin);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.side-nav { padding-top: 3px; }
.nav-item {
  position: relative;
  display: grid;
  width: 100%;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  margin-top: 4px;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: var(--muted);
  text-align: left;
  transition: color 0.22s, background 0.22s, border-color 0.22s, transform 0.22s;
}
.nav-item:hover { color: var(--text); background: rgba(255, 255, 255, 0.035); }
.nav-item.is-active {
  color: var(--text);
  border-color: rgba(255, 93, 158, 0.2);
  background: linear-gradient(100deg, rgba(255, 93, 158, 0.16), rgba(255, 93, 158, 0.035) 68%, transparent);
}
.nav-item.is-active::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: -15px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--pink);
  box-shadow: 0 0 14px rgba(255, 93, 158, 0.8);
}
.nav-ico {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  transition: all 0.22s;
}
.nav-ico .icon { width: 16px; height: 16px; }
.nav-item.is-active .nav-ico { color: #1c0b17; background: linear-gradient(140deg, #ff8db9, var(--pink)); }
.nav-txt { min-width: 0; }
.nav-txt b { display: block; font-size: 12.5px; font-weight: 700; line-height: 1.25; }
.nav-txt small {
  display: block;
  margin-top: 1px;
  color: var(--muted-2);
  font-family: var(--font-latin);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 1.4px;
}
.nav-item.is-active .nav-txt small { color: rgba(255, 255, 255, 0.46); }
.nav-count {
  min-width: 25px;
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--muted);
  font-family: var(--font-latin);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}
.nav-item.is-active .nav-count { color: var(--pink-2); border-color: rgba(255, 93, 158, 0.22); background: rgba(255, 93, 158, 0.08); }

.side-playlists { margin-top: 26px; }
.side-head { display: flex; align-items: center; justify-content: space-between; }
.mini-plus {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  transition: all 0.2s;
}
.mini-plus .icon { width: 13px; height: 13px; }
.mini-plus:hover { color: var(--ink); border-color: var(--pink); background: var(--pink); }
.playlist-list { margin-top: 8px; }
.playlist-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 2px;
  border-radius: 10px;
  transition: background 0.2s;
}
.playlist-row:hover { background: rgba(255, 255, 255, 0.04); }
.playlist-link {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 8px;
  padding: 8px 8px;
  color: var(--muted);
  text-align: left;
}
.playlist-link .icon { width: 13px; height: 13px; opacity: 0.72; }
.playlist-link span { overflow: hidden; font-size: 11px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.playlist-row.is-active .playlist-link { color: var(--pink-2); }
.playlist-row.is-active .playlist-link .icon { opacity: 1; }
.playlist-more {
  display: grid;
  width: 25px;
  height: 25px;
  flex: none;
  place-items: center;
  border-radius: 7px;
  color: var(--muted-2);
  opacity: 0;
}
.playlist-row:hover .playlist-more { opacity: 1; }
.playlist-more:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.playlist-more .icon { width: 14px; height: 14px; }
.side-empty {
  margin: 8px 8px 0;
  padding: 12px 10px;
  border: 1px dashed rgba(255, 255, 255, 0.09);
  border-radius: 11px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.6;
}
.side-empty span { color: var(--muted-2); font-size: 9.5px; }
.side-bottom { flex: none; padding: 14px 0 15px; }
.radio-card {
  position: relative;
  padding: 12px 13px 13px;
  overflow: hidden;
  border: 1px solid rgba(255, 93, 158, 0.22);
  border-radius: 17px;
  background:
    radial-gradient(130px 100px at 100% 0, rgba(255, 145, 189, 0.22), transparent 70%),
    linear-gradient(145deg, rgba(255, 93, 158, 0.18), rgba(68, 38, 99, 0.22) 60%, rgba(14, 10, 24, 0.6));
}
.radio-top { display: flex; align-items: center; justify-content: space-between; }
.radio-ico {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 8px;
  color: var(--pink-2);
  background: rgba(255, 255, 255, 0.07);
}
.radio-ico .icon { width: 14px; height: 14px; }
.radio-live {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--pink-2);
  font-family: var(--font-latin);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 1.4px;
}
.radio-live i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 8px var(--pink);
  animation: live-pulse 1.8s infinite;
}
.radio-card > p { margin-top: 9px; color: var(--muted); font-size: 9.5px; }
.radio-card > strong { display: block; margin-top: 1px; font-size: 12px; line-height: 1.4; }
.radio-card > button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 9px;
  padding: 5px 9px;
  border-radius: 99px;
  color: #24101c;
  background: var(--cream);
  font-size: 9.5px;
  font-weight: 700;
  transition: transform 0.2s, background 0.2s;
}
.radio-card > button:hover { background: #fff; transform: translateY(-1px); }
.radio-card > button .icon { width: 11px; height: 11px; }
.radio-ring {
  position: absolute;
  right: -26px;
  bottom: -36px;
  width: 104px;
  height: 104px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}
.radio-ring::before,
.radio-ring::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}
.radio-ring::after { inset: 28px; border-color: rgba(255, 93, 158, 0.3); }
.side-foot { margin-top: 13px; padding: 0 3px; }
.side-foot p { color: var(--muted-2); font-size: 8px; line-height: 1.7; }
.side-foot a { color: var(--muted); border-bottom: 1px dotted rgba(255, 255, 255, 0.2); }
.side-foot a:hover { color: var(--pink-2); }
.side-ver {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.18);
  font-family: var(--font-latin);
  font-size: 7px;
  letter-spacing: 2px;
}
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  background: rgba(4, 3, 8, 0.66);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s;
}

/* ---------------------------------------------------------- topbar */
.topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 10px 30px;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(8, 6, 15, 0.9) 30%, rgba(8, 6, 15, 0.56) 80%, transparent);
  backdrop-filter: blur(16px);
}
.page-head { min-width: 0; }
.page-eyebrow {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 2px;
  color: var(--muted-2);
  font-family: var(--font-latin);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 2.7px;
  white-space: nowrap;
}
.eyebrow-star { color: var(--pink); font-size: 8px; }
.page-head h1 {
  overflow: hidden;
  color: var(--text);
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -0.8px;
  line-height: 1.16;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.top-actions { display: flex; align-items: center; gap: 9px; margin-left: auto; }
.search {
  display: flex;
  width: 282px;
  height: 40px;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.search:focus-within {
  border-color: rgba(255, 93, 158, 0.55);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 0 0 3px rgba(255, 93, 158, 0.09);
}
.search-ico { color: var(--muted); }
.search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: none;
  color: var(--text);
  background: transparent;
  font-size: 11.5px;
}
.search input::placeholder { color: var(--muted-2); }
.search input::-webkit-search-cancel-button { display: none; }
.search kbd {
  padding: 3px 5px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted-2);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-latin);
  font-size: 7.5px;
  white-space: nowrap;
}
.btn {
  display: inline-flex;
  height: 40px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 15px; height: 15px; }
.btn-hot {
  color: #23101b;
  background: linear-gradient(120deg, #ff85b1, var(--pink) 58%, #ff745e);
  box-shadow: 0 8px 24px rgba(255, 93, 158, 0.22), inset 0 1px rgba(255, 255, 255, 0.45);
}
.btn-hot:hover { box-shadow: 0 12px 30px rgba(255, 93, 158, 0.32); }
.btn-small { height: 34px; padding: 0 13px; border-radius: 10px; font-size: 10.5px; }
.btn-load {
  height: 42px;
  padding: 0 22px;
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
}
.btn-load:hover { border-color: rgba(255, 93, 158, 0.5); background: rgba(255, 93, 158, 0.08); }
.icon-btn {
  display: inline-grid;
  width: 38px;
  height: 38px;
  flex: none;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 11px;
  color: var(--muted);
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s;
}
.icon-btn:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.icon-btn .icon { width: 17px; height: 17px; }
.queue-top {
  position: relative;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
}
.queue-dot {
  position: absolute;
  top: 3px;
  right: 2px;
  display: grid;
  min-width: 15px;
  height: 15px;
  place-items: center;
  padding: 0 3px;
  border: 2px solid var(--bg);
  border-radius: 99px;
  color: #23101b;
  background: var(--pink);
  font-family: var(--font-latin);
  font-size: 7px;
  font-weight: 700;
}
.menu-btn { display: none; flex: none; }
.top-search-btn { display: none; }

/* ---------------------------------------------------------- hero */
.hero {
  --hero-c: #ff5d9e;
  --hero-c2: #68c9ff;
  --hero-accent: #d51b70;
  position: relative;
  display: grid;
  height: 296px;
  grid-template-columns: minmax(0, 1.18fr) minmax(390px, 0.82fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  color: var(--ink);
  background: var(--cream);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.34), inset 0 1px rgba(255, 255, 255, 0.8);
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 42% 0 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(23, 17, 31, 0.1) 1px, transparent 1.4px);
  background-size: 13px 13px;
  opacity: 0.28;
  mask-image: linear-gradient(90deg, #000 30%, transparent 96%);
}
.hero::after {
  content: "DREAM!";
  position: absolute;
  z-index: 0;
  right: 35%;
  bottom: -20px;
  color: transparent;
  font-family: var(--font-latin);
  font-size: 135px;
  font-weight: 900;
  letter-spacing: -8px;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(23, 17, 31, 0.075);
  transform: rotate(-4deg);
  pointer-events: none;
  white-space: nowrap;
}
.hero-left {
  position: relative;
  z-index: 3;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 32px 40px;
}
.hero-copy { position: relative; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 23px;
  padding: 0 9px;
  border: 1px solid rgba(23, 17, 31, 0.16);
  border-radius: 99px;
  color: #594b5e;
  font-family: var(--font-latin);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 1.7px;
  background: rgba(255, 255, 255, 0.35);
}
.hero-badge b {
  padding-left: 7px;
  border-left: 1px solid rgba(23, 17, 31, 0.16);
  color: var(--hero-accent);
  font-size: 7px;
  font-weight: 800;
}
.hero-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--hero-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--hero-accent) 14%, transparent);
}
.hero h2 {
  margin: 8px 0 6px;
  font-size: clamp(34px, 3.05vw, 44px);
  font-weight: 900;
  letter-spacing: -1.7px;
  line-height: 1.09;
}
.hero-hl {
  position: relative;
  display: inline-block;
  color: var(--hero-accent);
  transition: color 0.5s;
}
.hero-hl::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -2px;
  bottom: 3px;
  left: -2px;
  height: 10px;
  border-radius: 3px;
  background: color-mix(in srgb, var(--hero-accent) 22%, transparent);
  transform: rotate(-1.5deg);
}
.hero-desc {
  max-width: 510px;
  color: #685a6d;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1px;
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.btn-ink {
  height: 39px;
  padding: 0 15px 0 7px;
  color: #fff7f0;
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(23, 17, 31, 0.2);
}
.btn-ink:hover { background: #22172d; }
.btn-play-circle {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  color: #25101c;
  background: linear-gradient(140deg, #ffb0ca, var(--hero-accent));
}
.btn-play-circle .icon { width: 13px; height: 13px; margin-left: 1px; }
.btn-ghost-ink {
  height: 39px;
  border-color: rgba(23, 17, 31, 0.19);
  color: #443849;
  background: transparent;
}
.btn-ghost-ink:hover { border-color: rgba(23, 17, 31, 0.4); background: rgba(23, 17, 31, 0.045); }
.hero-stats { display: flex; align-items: center; gap: 18px; }
.hero-stats div { display: flex; align-items: baseline; gap: 6px; }
.hero-stats strong {
  color: var(--ink);
  font-family: var(--font-latin);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1;
}
.hero-stats span {
  color: #887b8b;
  font-family: var(--font-latin);
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
}
.hero-stats > i { width: 1px; height: 17px; background: rgba(23, 17, 31, 0.14); }

.hero-art {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 26%, rgba(255, 255, 255, 0.42), transparent 28%),
    linear-gradient(138deg, var(--hero-c) 0%, var(--hero-c2) 100%);
  clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%);
  transition: background 0.9s var(--ease);
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(115deg, transparent 0 26px, rgba(255, 255, 255, 0.045) 26px 27px),
    radial-gradient(circle at 90% 80%, rgba(21, 8, 24, 0.28), transparent 54%);
}
.hero-art-word {
  position: absolute;
  top: 4px;
  left: 14%;
  color: rgba(255, 255, 255, 0.16);
  font-family: var(--font-latin);
  font-size: 82px;
  font-weight: 900;
  letter-spacing: -4px;
  line-height: 1;
  text-shadow: 0 1px rgba(255, 255, 255, 0.08);
  transform: rotate(-5deg);
  white-space: nowrap;
  pointer-events: none;
}
.hero-orbit {
  position: absolute;
  top: 12px;
  right: 8px;
  width: 245px;
  height: 245px;
  color: rgba(255, 255, 255, 0.45);
  animation: spin 32s linear infinite;
  pointer-events: none;
}
.hero-orbit svg { width: 100%; height: 100%; overflow: visible; }
.hero-orbit text {
  fill: currentColor;
  font-family: var(--font-latin);
  font-size: 8.4px;
  font-weight: 600;
  letter-spacing: 2.15px;
}
.vinyl {
  position: absolute;
  z-index: 1;
  top: 54px;
  left: 42%;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 38%, #34303c 0 2%, #1b1822 35%, #0b0910 67%, #121019 100%);
  box-shadow: 8px 20px 40px rgba(14, 7, 22, 0.36), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  animation: spin 18s linear infinite;
  transition: background 0.8s;
}
.vinyl-grooves {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at center, transparent 0 2px, rgba(255, 255, 255, 0.075) 2px 2.7px);
  mask-image: radial-gradient(circle, #000 35%, rgba(0, 0, 0, 0.55) 54%, #000 72%, transparent 76%);
}
.vinyl-label {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  width: 75px;
  height: 75px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #25101c;
  background: linear-gradient(140deg, #ffd9e6, #ff7aae 60%, #ff9a7a);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  transform: translate(-50%, -50%);
}
.vinyl-label::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1a0b16;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}
.vinyl-label span {
  position: absolute;
  top: 9px;
  font-family: var(--font-latin);
  font-size: 5px;
  font-weight: 800;
  letter-spacing: 0.8px;
}
.vinyl-label b {
  max-width: 58px;
  overflow: hidden;
  font-family: var(--font-latin);
  font-size: 7px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vinyl-label i {
  position: absolute;
  bottom: 8px;
  font-family: var(--font-latin);
  font-size: 4.8px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.hero-poster {
  position: absolute;
  z-index: 3;
  top: 15px;
  left: 11.5%;
  width: 202px;
  padding: 6px 6px 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 5px;
  background: #17111f;
  box-shadow: 0 24px 50px rgba(21, 8, 24, 0.38), 0 0 0 1px rgba(0, 0, 0, 0.3);
  transform: rotate(-4deg);
  transition: transform 0.5s var(--ease);
}
.hero-poster:hover { transform: rotate(-1.5deg) translateY(-3px); }
.poster-tape {
  position: absolute;
  z-index: 5;
  top: -9px;
  left: 50%;
  width: 56px;
  height: 18px;
  background: rgba(247, 239, 230, 0.7);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  transform: translateX(-50%) rotate(2deg);
  backdrop-filter: blur(2px);
}
.poster-img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 2px;
  background: linear-gradient(145deg, #ff6b9e, #6ad2ff);
}
.poster-img img { width: 100%; height: 100%; object-fit: cover; }
.poster-fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  color: rgba(255, 255, 255, 0.85);
}
.poster-fallback .icon { width: 46px; height: 46px; }
.poster-img.is-broken .poster-fallback { display: grid; }
.poster-play {
  position: absolute;
  z-index: 4;
  right: 13px;
  bottom: 47px;
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: #22101b;
  background: rgba(255, 246, 239, 0.93);
  box-shadow: 0 8px 22px rgba(20, 8, 22, 0.34);
  transition: transform 0.2s, background 0.2s;
}
.poster-play:hover { transform: scale(1.07); background: #fff; }
.poster-play .icon { width: 18px; height: 18px; margin-left: 2px; }
.poster-play .pause-ic { display: none; }
.hero-poster.is-playing .poster-play .play-ic { display: none; }
.hero-poster.is-playing .poster-play .pause-ic { display: block; margin-left: 0; }
.poster-sticker {
  position: absolute;
  z-index: 6;
  top: 12px;
  right: -19px;
  padding: 6px 8px;
  border: 1px solid rgba(247, 239, 230, 0.5);
  border-radius: 3px;
  color: var(--cream);
  background: #1c1222;
  font-family: var(--font-latin);
  font-size: 6px;
  font-weight: 800;
  letter-spacing: 1.1px;
  line-height: 1.35;
  text-align: center;
  transform: rotate(8deg);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.22);
}
.poster-caption {
  margin: 5px -6px 0;
  padding: 5px 8px 6px;
  overflow: hidden;
  color: var(--cream);
  background: #17111f;
}
.poster-caption span {
  display: block;
  overflow: hidden;
  color: rgba(247, 239, 230, 0.5);
  font-family: var(--font-latin);
  font-size: 6px;
  font-weight: 600;
  letter-spacing: 1.3px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.poster-caption strong {
  display: block;
  overflow: hidden;
  margin-top: 1px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: -0.2px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero-controls {
  position: absolute;
  z-index: 5;
  right: 20px;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-latin);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.3px;
}
.hero-arrow {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  color: #fff;
  background: rgba(17, 8, 23, 0.15);
  backdrop-filter: blur(5px);
  transition: all 0.2s;
}
.hero-arrow:hover { color: var(--ink); background: var(--cream); }
.hero-arrow .icon { width: 12px; height: 12px; }
.hero-dots {
  position: absolute;
  z-index: 6;
  display: none;
  align-items: center;
  gap: 4px;
}
.hero-dot {
  width: 5px;
  height: 5px;
  padding: 0;
  border-radius: 99px;
  background: rgba(23, 17, 31, 0.22);
  transition: width 0.3s var(--ease), background 0.3s;
}
.hero-dot.is-active {
  width: 15px;
  background: var(--hero-accent);
}
.hero-marquee {
  position: absolute;
  z-index: 8;
  right: 0;
  bottom: 0;
  left: 0;
  height: 26px;
  overflow: hidden;
  color: rgba(247, 239, 230, 0.8);
  background: #17111f;
}
.marquee-track {
  display: flex;
  width: max-content;
  height: 100%;
  align-items: center;
  animation: marquee 26s linear infinite;
}
.marquee-track span {
  padding-right: 14px;
  font-family: var(--font-latin);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 2.2px;
  white-space: nowrap;
}
.marquee-track b { padding: 0 7px; color: var(--pink); font-size: 6px; }
.hero.is-swapping .hero-poster { animation: poster-pop 0.45s var(--ease); }
.hero.is-swapping .hero-art-word { animation: word-slide 0.45s var(--ease); }

/* ---------------------------------------------------------- section heads */
.bands-section { margin-top: 16px; }
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.section-title { display: flex; min-width: 0; align-items: center; gap: 9px; }
.section-star {
  display: grid;
  width: 28px;
  height: 28px;
  flex: none;
  place-items: center;
  border: 1px solid rgba(255, 93, 158, 0.2);
  border-radius: 9px;
  color: var(--pink);
  background: rgba(255, 93, 158, 0.08);
}
.section-star .icon { width: 13px; height: 13px; }
.section-title h2 {
  overflow: hidden;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.section-title h2 em {
  margin-left: 4px;
  color: var(--muted-2);
  font-family: var(--font-latin);
  font-size: 8.5px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 2.2px;
}
.section-tools { display: flex; align-items: center; gap: 14px; }
.section-note { color: var(--muted-2); font-size: 9px; }
.text-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 2px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 600;
  transition: color 0.2s;
}
.text-btn:hover { color: var(--pink-2); }
.text-btn .icon { width: 12px; height: 12px; }
.text-btn.danger { color: #ff7d8c; }
.rail-arrows { display: flex; gap: 5px; }
.rail-arrow {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  transition: all 0.2s;
}
.rail-arrow:hover { color: var(--ink); border-color: var(--cream); background: var(--cream); }
.rail-arrow .icon { width: 12px; height: 12px; }

/* ---------------------------------------------------------- band rail */
.band-rail {
  display: flex;
  gap: 11px;
  margin-top: 10px;
  padding: 2px 1px 4px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.band-rail::-webkit-scrollbar { display: none; }
.band-card {
  --c: #ff5d9e;
  --c2: #ff9a7a;
  position: relative;
  display: flex;
  width: 162px;
  height: 95px;
  flex: 0 0 162px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 9px 11px 10px;
  border: 1px solid color-mix(in srgb, var(--c) 24%, rgba(255, 255, 255, 0.07));
  border-radius: 16px;
  color: var(--text);
  background:
    radial-gradient(120px 90px at 100% 0, color-mix(in srgb, var(--c) 32%, transparent), transparent 75%),
    linear-gradient(145deg, color-mix(in srgb, var(--c) 16%, #140e21), #0e0a18 78%);
  text-align: left;
  scroll-snap-align: start;
  transition: transform 0.28s var(--ease), border-color 0.28s, box-shadow 0.28s;
  isolation: isolate;
}
.band-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -30px;
  right: -32px;
  width: 92px;
  height: 92px;
  border: 1px solid color-mix(in srgb, var(--c) 28%, transparent);
  border-radius: 50%;
  opacity: 0.8;
}
.band-card::after {
  content: "✦";
  position: absolute;
  z-index: -1;
  right: 8px;
  bottom: 3px;
  color: color-mix(in srgb, var(--c) 28%, transparent);
  font-size: 15px;
}
.band-card:hover {
  border-color: color-mix(in srgb, var(--c) 62%, transparent);
  box-shadow: 0 16px 32px color-mix(in srgb, var(--c) 12%, transparent);
  transform: translateY(-3px);
}
.band-card.is-active {
  border-color: color-mix(in srgb, var(--c) 80%, #fff);
  background:
    radial-gradient(130px 100px at 100% 0, color-mix(in srgb, var(--c) 48%, transparent), transparent 78%),
    linear-gradient(145deg, color-mix(in srgb, var(--c) 28%, #140e21), #100b1a 80%);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 35%, transparent), 0 16px 34px rgba(0, 0, 0, 0.3);
}
.band-no {
  position: absolute;
  top: 8px;
  left: 10px;
  color: color-mix(in srgb, var(--c) 85%, #fff);
  font-family: var(--font-latin);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 1.5px;
  opacity: 0.8;
}
.band-live-dot {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 8px color-mix(in srgb, var(--c) 70%, transparent);
  opacity: 0.75;
}
.band-card.is-active .band-live-dot { animation: live-pulse 1.8s infinite; opacity: 1; }
.band-logo-wrap {
  position: relative;
  display: flex;
  height: 43px;
  align-items: center;
  margin-top: 3px;
  padding-right: 2px;
}
.band-logo-wrap img {
  position: relative;
  z-index: 2;
  max-width: 128px;
  max-height: 27px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.24));
}
.band-logo-wrap img.is-broken { display: none; }
.band-word {
  position: absolute;
  z-index: 1;
  max-width: 128px;
  overflow: hidden;
  color: #fff;
  font-family: var(--font-latin);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
  text-overflow: ellipsis;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.28);
}
.band-card[data-band="3"] .band-word { font-size: 12px; letter-spacing: -0.3px; }
.band-card[data-band="46"] .band-word { font-family: Georgia, "Times New Roman", serif; font-size: 15px; font-weight: 500; letter-spacing: 0.2px; }
.band-card[data-band="4"] .band-word { font-size: 13px; }
.band-meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 5px; }
.band-meta b {
  overflow: hidden;
  font-family: var(--font-latin);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: -0.1px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.band-meta span {
  flex: none;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-latin);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.band-card.is-active .band-meta span { color: color-mix(in srgb, var(--c) 75%, #fff); }

/* ---------------------------------------------------------- library */
.library { margin-top: 18px; scroll-margin-top: 82px; }
.library-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 13px;
}
.library-title { min-width: 0; }
.library-meta {
  margin-top: 3px;
  padding-left: 37px;
  color: var(--muted-2);
  font-size: 9.5px;
}
.library-meta b { color: var(--muted); font-weight: 600; }
.library-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.chip-row {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.032);
}
.chip {
  height: 28px;
  padding: 0 10px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s;
}
.chip:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.chip.is-active { color: #24101b; background: var(--cream); box-shadow: 0 3px 9px rgba(0, 0, 0, 0.22); }
.select-wrap {
  position: relative;
  display: flex;
  height: 35px;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.032);
}
.select-wrap .icon { width: 13px; height: 13px; opacity: 0.72; pointer-events: none; }
.select-wrap select {
  height: 100%;
  padding-right: 3px;
  border: 0;
  outline: none;
  color: var(--muted);
  background: transparent;
  font-size: 9.5px;
  font-weight: 600;
  cursor: pointer;
}
.select-wrap select option { color: var(--text); background: #17111f; }
.view-toggle {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.032);
}
.view-toggle button {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 6px;
  color: var(--muted-2);
  transition: all 0.2s;
}
.view-toggle button:hover { color: var(--text); }
.view-toggle button.is-active { color: var(--ink); background: var(--cream); }
.view-toggle .icon { width: 14px; height: 14px; }
.view-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 93, 158, 0.16);
  border-radius: 12px;
  background: linear-gradient(100deg, rgba(255, 93, 158, 0.1), rgba(255, 255, 255, 0.025));
}
.view-bar p { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.view-bar-actions { display: flex; flex: none; align-items: center; gap: 10px; }
.view-bar .btn { color: #24101b; background: var(--cream); }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.active-filters:empty { display: none; }
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 25px;
  padding: 0 4px 0 9px;
  border: 1px solid rgba(255, 93, 158, 0.24);
  border-radius: 99px;
  color: var(--pink-2);
  background: rgba(255, 93, 158, 0.07);
  font-size: 9px;
  font-weight: 600;
}
.filter-pill button {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  color: var(--pink-2);
}
.filter-pill button:hover { background: rgba(255, 93, 158, 0.18); }
.filter-pill .icon { width: 9px; height: 9px; }

/* ---------------------------------------------------------- song grid */
.song-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 20px 15px;
  margin-top: 10px;
}
.song-card {
  position: relative;
  min-width: 0;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  animation: card-in 0.52s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 17ms);
}
.song-cover {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  background:
    radial-gradient(circle at 28% 20%, color-mix(in srgb, var(--c, #ff5d9e) 58%, #fff) 0, transparent 48%),
    linear-gradient(145deg, color-mix(in srgb, var(--c, #ff5d9e) 50%, #1b1228), #100c1a 82%);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.24);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.song-cover::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 6, 15, 0.04) 35%, rgba(10, 6, 15, 0.55) 100%);
  opacity: 0.82;
  transition: opacity 0.3s;
}
.song-cover::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, transparent 50%, rgba(8, 5, 13, 0.25));
  pointer-events: none;
}
.song-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease), opacity 0.3s;
}
.song-cover img.is-broken { opacity: 0; }
.cover-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.75);
}
.cover-fallback .icon { width: 32px; height: 32px; opacity: 0.6; }
.song-card:hover .song-cover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.38), 0 0 0 2px color-mix(in srgb, var(--c, #ff5d9e) 22%, transparent);
  transform: translateY(-4px);
}
.song-card:hover .song-cover img { transform: scale(1.055); }
.song-card:hover .song-cover::before { opacity: 0.7; }
.card-play {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: #24101b;
  background: rgba(255, 246, 239, 0.94);
  box-shadow: 0 10px 26px rgba(13, 6, 18, 0.36);
  opacity: 0;
  transform: translate(-50%, -42%) scale(0.86);
  transition: opacity 0.25s, transform 0.25s var(--ease), background 0.2s;
}
.card-play:hover { background: #fff; transform: translate(-50%, -46%) scale(1.02); }
.card-play .icon { width: 17px; height: 17px; margin-left: 2px; }
.card-play .pause-ic { display: none; margin-left: 0; }
.song-card:hover .card-play,
.song-card.is-current .card-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.song-card.is-current .card-play { color: #fff; border-color: rgba(255, 255, 255, 0.2); background: color-mix(in srgb, var(--c, #ff5d9e) 84%, #17111f); }
.song-card.is-current.is-playing .card-play .play-ic { display: none; }
.song-card.is-current.is-playing .card-play .pause-ic { display: block; }
.card-fav {
  position: absolute;
  z-index: 4;
  top: 8px;
  right: 8px;
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(12, 7, 18, 0.4);
  opacity: 0;
  backdrop-filter: blur(8px);
  transition: all 0.2s;
}
.card-fav:hover { color: var(--pink); background: rgba(12, 7, 18, 0.65); }
.card-fav .icon { width: 13px; height: 13px; }
.card-fav.is-fav { color: var(--pink); opacity: 1; }
.card-fav.is-fav .icon { fill: var(--pink); stroke: var(--pink); }
.song-card:hover .card-fav { opacity: 1; }
.card-add {
  position: absolute;
  z-index: 4;
  top: 8px;
  left: 8px;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  background: rgba(12, 7, 18, 0.4);
  opacity: 0;
  backdrop-filter: blur(8px);
  transition: all 0.2s;
}
.card-add:hover { color: #24101b; border-color: var(--cream); background: var(--cream); }
.card-add .icon { width: 12px; height: 12px; }
.song-card:hover .card-add { opacity: 1; }
.new-badge {
  position: absolute;
  z-index: 3;
  bottom: 8px;
  left: 8px;
  padding: 3px 5px;
  border-radius: 4px;
  color: #24101b;
  background: var(--yellow);
  font-family: var(--font-latin);
  font-size: 6px;
  font-weight: 800;
  letter-spacing: 1px;
}
.cover-eq {
  position: absolute;
  z-index: 3;
  right: 9px;
  bottom: 9px;
  display: flex;
  height: 12px;
  align-items: flex-end;
  gap: 2px;
  padding: 3px 5px;
  border-radius: 5px;
  background: rgba(10, 6, 15, 0.58);
  backdrop-filter: blur(5px);
}
.cover-eq i { display: block; width: 2px; border-radius: 2px; background: var(--pink-2); animation: eq 0.7s ease-in-out infinite alternate; }
.cover-eq i:nth-child(1) { height: 5px; animation-delay: -0.2s; }
.cover-eq i:nth-child(2) { height: 9px; animation-delay: -0.45s; }
.cover-eq i:nth-child(3) { height: 4px; animation-delay: -0.1s; }
.cover-eq i:nth-child(4) { height: 7px; animation-delay: -0.35s; }
.song-info { padding: 8px 2px 0; }
.song-info h3 {
  overflow: hidden;
  color: var(--text);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.15px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.song-card:hover .song-info h3 { color: #fff; }
.song-sub {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  margin-top: 3px;
}
.band-dot {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--c, #ff5d9e);
  box-shadow: 0 0 6px color-mix(in srgb, var(--c, #ff5d9e) 60%, transparent);
}
.song-sub span {
  overflow: hidden;
  color: var(--muted-2);
  font-family: var(--font-latin);
  font-size: 8.5px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.song-sub .diff {
  margin-left: auto;
  padding: 1px 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: var(--muted);
  font-family: var(--font-latin);
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.song-card.is-current .song-info h3 { color: var(--pink-2); }
.song-card.is-current .song-cover { border-color: color-mix(in srgb, var(--c, #ff5d9e) 70%, #fff); box-shadow: 0 0 0 2px color-mix(in srgb, var(--c, #ff5d9e) 30%, transparent), 0 16px 32px rgba(0, 0, 0, 0.3); }

/* list mode */
.song-grid.is-list { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; }
.song-grid.is-list .song-card {
  display: grid;
  grid-template-columns: 34px 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 6px 10px 6px 5px;
  border: 1px solid transparent;
  border-radius: 10px;
  animation: none;
  opacity: 1;
  transform: none;
}
.song-grid.is-list .song-card:hover { border-color: var(--line); background: rgba(255, 255, 255, 0.035); }
.song-grid.is-list .song-cover { width: 44px; height: 44px; aspect-ratio: auto; border-radius: 8px; box-shadow: none; }
.song-grid.is-list .song-card:hover .song-cover { transform: none; box-shadow: none; }
.song-grid.is-list .song-cover::before,
.song-grid.is-list .song-cover::after { display: none; }
.song-grid.is-list .card-play,
.song-grid.is-list .card-fav,
.song-grid.is-list .card-add,
.song-grid.is-list .new-badge,
.song-grid.is-list .cover-eq { display: none; }
.song-grid.is-list .list-no {
  display: block;
  color: var(--muted-2);
  font-family: var(--font-latin);
  font-size: 9px;
  text-align: center;
}
.song-grid.is-list .song-info { padding: 0; min-width: 0; }
.song-grid.is-list .song-info h3 { font-size: 12.5px; }
.song-grid.is-list .song-sub { margin-top: 2px; }
.song-grid.is-list .list-actions { display: flex; align-items: center; gap: 2px; }
.list-actions .icon-btn { width: 30px; height: 30px; }
.list-actions .icon-btn .icon { width: 14px; height: 14px; }
.list-actions .is-fav { color: var(--pink); }
.list-actions .is-fav .icon { fill: var(--pink); stroke: var(--pink); }
.list-actions .list-play { color: var(--text); }

.load-more-wrap { display: flex; flex-direction: column; align-items: center; gap: 9px; margin-top: 26px; }
.load-end { color: var(--muted-2); font-size: 10px; letter-spacing: 0.5px; }
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  border: 1px dashed var(--line);
  border-radius: 20px;
  margin-top: 16px;
  text-align: center;
}
.empty-star {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 13px;
  border: 1px solid rgba(255, 93, 158, 0.2);
  border-radius: 50%;
  color: var(--pink);
  background: rgba(255, 93, 158, 0.07);
}
.empty-star .icon { width: 24px; height: 24px; }
.empty-state h3 { font-size: 16px; font-weight: 800; }
.empty-state p { margin: 4px 0 14px; color: var(--muted); font-size: 11px; }

/* ---------------------------------------------------------- site footer */
.site-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 56px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
}
.site-foot strong {
  display: block;
  color: var(--muted);
  font-family: var(--font-latin);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
}
.site-foot div > span { display: block; margin-top: 2px; font-size: 8.5px; }
.foot-links { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; text-align: right; }
.foot-links a { color: var(--muted); font-size: 8.5px; border-bottom: 1px dotted rgba(255, 255, 255, 0.16); }
.foot-links a:hover { color: var(--pink-2); }
.foot-links span { font-size: 8px; }

/* ---------------------------------------------------------- player */
.player {
  position: fixed;
  z-index: 60;
  right: 0;
  bottom: 0;
  left: 0;
  height: calc(var(--player-h) + var(--safe-b));
  padding-bottom: var(--safe-b);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 7%, transparent), transparent 32%, transparent 72%, color-mix(in srgb, var(--accent) 5%, transparent)),
    rgba(10, 7, 17, 0.92);
  box-shadow: 0 -22px 60px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(28px) saturate(1.22);
}
.player::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 68%, transparent) 30%, rgba(255, 255, 255, 0.34) 50%, color-mix(in srgb, var(--accent) 68%, transparent) 70%, transparent);
  opacity: 0.75;
}
.player-inner {
  display: grid;
  width: 100%;
  max-width: 1800px;
  height: var(--player-h);
  grid-template-columns: minmax(250px, 1fr) minmax(390px, 1.16fr) minmax(225px, 1fr);
  align-items: center;
  gap: 18px;
  margin: 0 auto;
  padding: 0 24px;
}
.player-track { display: flex; min-width: 0; align-items: center; gap: 11px; }
.player-cover {
  position: relative;
  display: block;
  width: 56px;
  height: 56px;
  flex: none;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 40%, #191124), #100b1a);
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.28);
}
.player-cover img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.player-cover img.is-broken { opacity: 0; }
.player-cover-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.7);
}
.player-cover-fallback .icon { width: 20px; height: 20px; }
.player-cover-ring {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.player-text { min-width: 0; }
.player-kicker {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  margin-bottom: 2px;
  color: var(--muted-2);
  font-family: var(--font-latin);
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  white-space: nowrap;
}
.player-kicker #playerKicker { overflow: hidden; text-overflow: ellipsis; }
.player-text h3 {
  overflow: hidden;
  color: var(--text);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.1px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.player-band {
  overflow: hidden;
  margin-top: 2px;
  color: var(--muted);
  font-family: var(--font-latin);
  font-size: 8.5px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.player-like { width: 32px; height: 32px; margin-left: 2px; }
.player-like .icon { width: 15px; height: 15px; }
.player-like.is-fav { color: var(--pink); }
.player-like.is-fav .icon { fill: var(--pink); stroke: var(--pink); }
.eq { display: inline-flex; height: 9px; align-items: flex-end; gap: 1.5px; }
.eq i { display: block; width: 2px; border-radius: 2px; background: var(--accent); animation: eq 0.7s ease-in-out infinite alternate; }
.eq i:nth-child(1) { height: 4px; animation-delay: -0.2s; }
.eq i:nth-child(2) { height: 8px; animation-delay: -0.5s; }
.eq i:nth-child(3) { height: 5px; animation-delay: -0.1s; }
.eq i:nth-child(4) { height: 7px; animation-delay: -0.4s; }
.eq i { animation-play-state: paused; opacity: 0.5; }
.player.is-playing .eq i { animation-play-state: running; opacity: 1; }
.player-center { display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 5px; }
.player-controls { display: flex; align-items: center; gap: 12px; }
.ctrl {
  position: relative;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.56);
  transition: color 0.2s, background 0.2s, transform 0.2s;
}
.ctrl:hover { color: var(--text); background: rgba(255, 255, 255, 0.065); transform: scale(1.04); }
.ctrl .icon { width: 16px; height: 16px; }
.ctrl.is-on { color: var(--pink); }
.ctrl.is-on::after {
  content: "";
  position: absolute;
  bottom: 1px;
  left: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 7px var(--pink);
  transform: translateX(-50%);
}
.repeat-one {
  position: absolute;
  right: 1px;
  bottom: 1px;
  display: none;
  width: 10px;
  height: 10px;
  place-items: center;
  border-radius: 50%;
  color: #24101b;
  background: var(--pink);
  font-family: var(--font-latin);
  font-size: 6px;
  font-weight: 800;
}
.repeat-btn.is-one .repeat-one { display: grid; }
.repeat-btn.is-one .icon { opacity: 0.9; }
.play-btn {
  position: relative;
  display: grid;
  width: 45px;
  height: 45px;
  flex: none;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #23101b;
  background: var(--cream);
  box-shadow: 0 7px 20px rgba(255, 246, 239, 0.15), 0 0 0 4px rgba(255, 246, 239, 0.04);
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s;
}
.play-btn:hover { background: #fff; transform: scale(1.05); box-shadow: 0 9px 26px rgba(255, 246, 239, 0.25), 0 0 0 6px rgba(255, 246, 239, 0.05); }
.play-btn .icon { width: 18px; height: 18px; margin-left: 2px; }
.play-btn .pause-ic { display: none; margin-left: 0; }
.player.is-playing .play-btn .play-ic,
.nowplaying.is-playing .play-btn .play-ic,
.hero.is-playing .poster-play .play-ic { display: none; }
.player.is-playing .play-btn .pause-ic,
.nowplaying.is-playing .play-btn .pause-ic,
.hero.is-playing .poster-play .pause-ic { display: block; }
.play-spinner {
  position: absolute;
  inset: -1px;
  display: none;
  border: 2px solid transparent;
  border-top-color: var(--accent);
  border-right-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.player.is-loading .play-spinner,
.nowplaying.is-loading .play-spinner { display: block; }
.player.is-loading .play-btn .icon,
.nowplaying.is-loading .play-btn .icon { opacity: 0.4; }
.timeline { display: flex; width: 100%; align-items: center; gap: 8px; }
.time { width: 27px; flex: none; color: var(--muted-2); font-family: var(--font-latin); font-size: 7.5px; font-weight: 500; text-align: center; }
.seek { position: relative; height: 16px; flex: 1; cursor: pointer; touch-action: none; }
.seek-track { position: absolute; top: 50%; right: 0; left: 0; height: 3px; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, 0.11); transform: translateY(-50%); }
.seek-buffer { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: rgba(255, 255, 255, 0.16); transition: width 0.3s; }
.seek-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pink), var(--coral) 56%, var(--cyan));
  box-shadow: 0 0 10px color-mix(in srgb, var(--pink) 38%, transparent);
}
.seek-thumb {
  position: absolute;
  top: 50%;
  right: -5px;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 3px rgba(255, 93, 158, 0.16), 0 0 12px rgba(255, 93, 158, 0.42);
  opacity: 0;
  transform: translateY(-50%) scale(0.8);
  transition: opacity 0.2s, transform 0.2s;
}
.seek:hover .seek-thumb,
.seek:focus-visible .seek-thumb,
.seek.is-dragging .seek-thumb { opacity: 1; transform: translateY(-50%) scale(1); }
.player-right { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.volume { display: flex; align-items: center; gap: 2px; }
.volume .icon-btn { width: 31px; height: 31px; }
.volume .icon-btn .icon { width: 15px; height: 15px; }
input[type="range"] {
  width: 82px;
  height: 3px;
  border-radius: 99px;
  outline: none;
  background: linear-gradient(to right, var(--pink) 0 var(--val, 78%), rgba(255, 255, 255, 0.14) var(--val, 78%) 100%);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
input[type="range"]::-webkit-slider-thumb {
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 8px rgba(255, 93, 158, 0.5);
  -webkit-appearance: none;
  appearance: none;
}
input[type="range"]::-moz-range-thumb {
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--pink);
}
.mute-ic { display: none; }
.player.is-muted .vol-ic,
.nowplaying.is-muted .vol-ic { display: none; }
.player.is-muted .mute-ic,
.nowplaying.is-muted .mute-ic { display: block; }
.expand-btn { margin-left: 2px; }
.player-mini-progress { display: none; }
.np-queue-btn { display: grid; }

/* ---------------------------------------------------------- scrim / drawer */
.scrim {
  position: fixed;
  z-index: 135;
  inset: 0;
  background: rgba(4, 3, 8, 0.62);
  opacity: 0;
  backdrop-filter: blur(4px);
  transition: opacity 0.3s;
}
.scrim.is-visible { opacity: 1; }
.drawer {
  position: fixed;
  z-index: 140;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  width: 390px;
  max-width: 100vw;
  flex-direction: column;
  padding: 23px 20px 20px;
  border-left: 1px solid var(--line);
  background:
    radial-gradient(400px 260px at 100% 0, rgba(255, 93, 158, 0.1), transparent 70%),
    #0c0815;
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.4);
  transform: translateX(102%);
  transition: transform 0.4s var(--ease);
}
.drawer.is-open { transform: none; }
.drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.drawer-kicker { color: var(--pink-2); font-family: var(--font-latin); font-size: 7px; font-weight: 700; letter-spacing: 2.7px; }
.drawer-kicker span { color: var(--pink); }
.drawer-head h2 { margin-top: 3px; font-size: 22px; font-weight: 900; letter-spacing: -0.7px; }
.drawer-actions { display: flex; align-items: center; gap: 4px; }
.drawer-sub { margin: 7px 0 14px; color: var(--muted-2); font-size: 9.5px; }
.queue-list { min-height: 0; flex: 1; overflow-y: auto; padding-right: 2px; }
.queue-item {
  display: grid;
  grid-template-columns: 26px 43px minmax(0, 1fr) 25px;
  align-items: center;
  gap: 9px;
  padding: 6px 5px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.queue-item:hover { border-color: var(--line); background: rgba(255, 255, 255, 0.04); }
.queue-item.is-current { border-color: rgba(255, 93, 158, 0.2); background: rgba(255, 93, 158, 0.08); }
.queue-no { color: var(--muted-2); font-family: var(--font-latin); font-size: 8px; text-align: center; }
.queue-item.is-current .queue-no { color: var(--pink); font-size: 0; }
.queue-item.is-current .queue-no::before { content: "♪"; font-size: 11px; }
.queue-cover { width: 41px; height: 41px; overflow: hidden; border-radius: 7px; background: rgba(255, 255, 255, 0.06); }
.queue-cover img { width: 100%; height: 100%; object-fit: cover; }
.queue-text { min-width: 0; }
.queue-text strong { display: block; overflow: hidden; font-size: 10.5px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.queue-text span { display: block; overflow: hidden; margin-top: 1px; color: var(--muted-2); font-family: var(--font-latin); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.queue-remove { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 6px; color: var(--muted-2); opacity: 0; }
.queue-item:hover .queue-remove { opacity: 1; }
.queue-remove:hover { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.queue-remove .icon { width: 12px; height: 12px; }
.queue-empty { padding: 70px 15px; color: var(--muted-2); font-size: 11px; text-align: center; }
.queue-empty .icon { width: 34px; height: 34px; margin: 0 auto 12px; color: var(--pink); opacity: 0.7; }

/* ---------------------------------------------------------- now playing */
.nowplaying {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #08060f;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.025);
  transition: opacity 0.45s var(--ease), visibility 0.45s, transform 0.6s var(--ease);
}
.nowplaying.is-open { opacity: 1; visibility: visible; transform: none; }
.np-bg { position: absolute; z-index: 0; inset: -70px; overflow: hidden; }
.np-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(65px) saturate(1.3) brightness(0.46); transform: scale(1.13); opacity: 0.64; }
.np-veil {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    radial-gradient(650px 500px at 20% 30%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 65%),
    radial-gradient(800px 600px at 100% 100%, rgba(8, 6, 15, 0.83), transparent 60%),
    linear-gradient(180deg, rgba(8, 6, 15, 0.62), rgba(8, 6, 15, 0.9));
}
.np-stars { position: absolute; z-index: 2; inset: 0; pointer-events: none; color: rgba(255, 255, 255, 0.45); }
.np-stars i { position: absolute; font-style: normal; animation: twinkle 3.8s ease-in-out infinite; }
.np-stars i:nth-child(1) { top: 20%; left: 8%; font-size: 9px; animation-delay: -1s; }
.np-stars i:nth-child(2) { top: 64%; left: 49%; font-size: 13px; animation-delay: -2.2s; color: var(--pink-2); }
.np-stars i:nth-child(3) { top: 15%; left: 71%; font-size: 15px; animation-delay: -0.4s; }
.np-stars i:nth-child(4) { top: 76%; left: 91%; font-size: 9px; animation-delay: -3s; color: var(--cyan); }
.np-stars i:nth-child(5) { top: 40%; left: 4%; font-size: 6px; animation-delay: -1.8s; }
.np-top {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 30px;
}
.np-close { color: rgba(255, 255, 255, 0.8); background: rgba(255, 255, 255, 0.07); }
.np-close:hover { color: var(--ink); background: var(--cream); }
.np-context { text-align: center; }
.np-context p { color: var(--pink-2); font-family: var(--font-latin); font-size: 7.5px; font-weight: 700; letter-spacing: 3px; }
.np-context p span { color: var(--pink); }
.np-context > span { display: block; margin-top: 3px; color: var(--muted); font-family: var(--font-latin); font-size: 8px; }
.np-layout {
  position: relative;
  z-index: 4;
  display: grid;
  width: 100%;
  max-width: 1200px;
  flex: 1;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
  align-items: center;
  gap: 60px;
  margin: 0 auto;
  padding: 0 50px 66px;
}
.np-visual { position: relative; display: grid; min-height: 460px; place-items: center; }
.np-halo {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 28%, transparent), transparent 65%);
  filter: blur(10px);
  opacity: 0.68;
}
.np-disc {
  position: relative;
  display: grid;
  width: min(400px, 100%);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #37313f, #18141f 40%, #08070b 74%, #16121d);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.12), inset 0 0 45px rgba(0, 0, 0, 0.7);
}
.np-disc-grooves {
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at center, transparent 0 2px, rgba(255, 255, 255, 0.055) 2px 2.7px);
  animation: spin 22s linear infinite;
  animation-play-state: paused;
}
.nowplaying.is-playing .np-disc-grooves { animation-play-state: running; }
.np-disc-cover {
  position: relative;
  z-index: 2;
  width: 59%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 6px solid rgba(8, 6, 12, 0.82);
  border-radius: 50%;
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 55%, #16101f), #100b18);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.52);
}
.np-disc-cover img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.np-disc-cover img.is-broken { opacity: 0; }
.np-disc-cover .poster-fallback { z-index: 0; display: grid; }
.np-disc-hole {
  position: absolute;
  z-index: 3;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: #0b0810;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.24);
}
.np-eq {
  position: absolute;
  bottom: 0;
  left: 50%;
  display: flex;
  width: 78%;
  height: 38px;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  opacity: 0.5;
  transform: translateX(-50%);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.np-eq i {
  display: block;
  width: 3px;
  min-height: 3px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, var(--pink-2), color-mix(in srgb, var(--accent) 50%, transparent));
  animation: np-eq 1.25s ease-in-out infinite alternate;
  animation-play-state: paused;
  transform-origin: bottom;
}
.nowplaying.is-playing .np-eq { opacity: 0.9; }
.nowplaying.is-playing .np-eq i { animation-play-state: running; }
.np-info { min-width: 0; padding-bottom: 8px; }
.np-band-row { display: flex; align-items: center; gap: 7px; color: var(--muted); font-family: var(--font-latin); font-size: 9px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; }
.np-band-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.np-badge { margin-left: 5px; padding: 2px 6px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted-2); font-size: 6px; letter-spacing: 1.1px; }
.np-title {
  overflow: hidden;
  margin-top: 10px;
  color: var(--cream);
  font-size: clamp(32px, 4vw, 53px);
  font-weight: 900;
  letter-spacing: -2.2px;
  line-height: 1.08;
  text-overflow: ellipsis;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.26);
}
.np-sub { margin-top: 7px; color: rgba(255, 255, 255, 0.5); font-family: var(--font-latin); font-size: 11px; }
.np-meta { display: flex; align-items: center; gap: 8px; margin-top: 17px; color: rgba(255, 255, 255, 0.38); font-family: var(--font-latin); font-size: 8px; font-weight: 600; letter-spacing: 1.3px; }
.np-meta i { width: 1px; height: 9px; background: rgba(255, 255, 255, 0.17); }
.np-seek-wrap { margin-top: 27px; }
.np-seek { height: 20px; }
.np-seek .seek-track { height: 4px; background: rgba(255, 255, 255, 0.13); }
.np-seek .seek-thumb { width: 12px; height: 12px; right: -6px; }
.np-times { display: flex; justify-content: space-between; margin-top: 2px; color: rgba(255, 255, 255, 0.38); font-family: var(--font-latin); font-size: 8px; }
.np-controls { display: flex; align-items: center; gap: 17px; margin-top: 13px; }
.np-controls .ctrl { width: 36px; height: 36px; color: rgba(255, 255, 255, 0.55); }
.np-controls .ctrl:hover { color: var(--cream); }
.np-controls .ctrl.big { width: 42px; height: 42px; color: rgba(255, 255, 255, 0.85); }
.np-controls .ctrl.big .icon { width: 21px; height: 21px; }
.play-btn.huge {
  width: 68px;
  height: 68px;
  margin: 0 5px;
  color: #21101a;
  background: var(--cream);
  box-shadow: 0 0 0 7px rgba(255, 246, 239, 0.04), 0 20px 45px rgba(0, 0, 0, 0.28);
}
.play-btn.huge .icon { width: 26px; height: 26px; }
.np-bottom-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 25px; }
.np-volume { display: flex; align-items: center; gap: 3px; }
.np-volume .icon-btn { width: 30px; height: 30px; }
.np-volume input[type="range"] { width: 92px; }
.np-hint { color: rgba(255, 255, 255, 0.22); font-family: var(--font-latin); font-size: 6.5px; letter-spacing: 1px; text-align: right; }
.np-marquee {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  height: 28px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.36);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(6, 4, 11, 0.52);
  backdrop-filter: blur(10px);
}
.np-marquee span {
  display: flex;
  flex: none;
  align-items: center;
  padding-right: 16px;
  font-family: var(--font-latin);
  font-size: 6.5px;
  font-weight: 600;
  letter-spacing: 2px;
  white-space: nowrap;
  animation: marquee 36s linear infinite;
}

/* ---------------------------------------------------------- modal */
.modal {
  position: fixed;
  z-index: 150;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(4, 3, 8, 0.76);
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(9px);
  transition: opacity 0.25s, visibility 0.25s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal-card {
  width: 430px;
  max-width: 100%;
  max-height: 82vh;
  overflow-y: auto;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(340px 200px at 100% 0, rgba(255, 93, 158, 0.12), transparent 68%),
    #141020;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.55);
  transform: translateY(12px) scale(0.985);
  transition: transform 0.3s var(--ease);
}
.modal.is-open .modal-card { transform: none; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.modal-kicker { color: var(--pink-2); font-family: var(--font-latin); font-size: 6.5px; font-weight: 700; letter-spacing: 2.5px; }
.modal-head h2 { margin-top: 3px; font-size: 20px; font-weight: 900; letter-spacing: -0.5px; }
.modal-close { width: 31px; height: 31px; margin: -4px -5px 0 0; }
.modal-body { margin-top: 15px; }
.modal-body p { color: var(--muted); font-size: 11px; line-height: 1.7; }
.modal-field { margin-top: 13px; }
.modal-field label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 9.5px; font-weight: 600; }
.modal-field input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  outline: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  font-size: 12px;
}
.modal-field input:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255, 93, 158, 0.09); }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.btn-cream { color: var(--ink); background: var(--cream); }
.btn-cream:hover { background: #fff; }
.btn-ghost { border-color: var(--line-strong); color: var(--muted); }
.btn-ghost:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.btn-danger { color: #fff; background: #c53a58; }
.btn-danger:hover { background: #d84a68; }
.modal-list { max-height: 310px; overflow-y: auto; margin-top: 9px; padding-right: 2px; }
.modal-list-row {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 9px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--text);
  text-align: left;
}
.modal-list-row:hover { border-color: var(--line); background: rgba(255, 255, 255, 0.04); }
.modal-list-ico { display: grid; width: 30px; height: 30px; flex: none; place-items: center; border-radius: 8px; color: var(--pink-2); background: rgba(255, 93, 158, 0.1); }
.modal-list-ico .icon { width: 14px; height: 14px; }
.modal-list-text { min-width: 0; flex: 1; }
.modal-list-text b { display: block; overflow: hidden; font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.modal-list-text span { display: block; margin-top: 1px; color: var(--muted-2); font-size: 8.5px; }
.modal-list-check { display: grid; width: 20px; height: 20px; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: transparent; }
.modal-list-row.is-in .modal-list-check { color: var(--ink); border-color: var(--pink); background: var(--pink); }
.modal-list-check .icon { width: 11px; height: 11px; }
.modal-divider { height: 1px; margin: 13px 0; background: var(--line); }
.modal-track { display: flex; align-items: center; gap: 10px; padding: 9px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, 0.03); }
.modal-track img { width: 38px; height: 38px; border-radius: 7px; object-fit: cover; }
.modal-track div { min-width: 0; }
.modal-track strong { display: block; overflow: hidden; font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; }
.modal-track span { display: block; color: var(--muted-2); font-size: 8.5px; }

/* ---------------------------------------------------------- toasts */
.toasts {
  position: fixed;
  z-index: 160;
  right: 20px;
  bottom: calc(var(--player-h) + var(--safe-b) + 17px);
  display: flex;
  width: min(340px, calc(100vw - 32px));
  flex-direction: column;
  gap: 7px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid var(--line-strong);
  border-left: 2px solid var(--pink);
  border-radius: 10px;
  color: var(--text);
  background: rgba(22, 16, 34, 0.96);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
  font-size: 10.5px;
  line-height: 1.5;
  backdrop-filter: blur(16px);
  animation: toast-in 0.4s var(--ease) both;
  pointer-events: auto;
}
.toast.is-out { animation: toast-out 0.3s var(--ease) both; }
.toast .icon { width: 15px; height: 15px; color: var(--pink-2); }
.toast.is-error { border-left-color: #ff5a6e; }
.toast.is-error .icon { color: #ff5a6e; }

/* ---------------------------------------------------------- animations */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes eq {
  0% { transform: scaleY(0.38); }
  100% { transform: scaleY(1); }
}
@keyframes np-eq {
  0% { transform: scaleY(0.12); opacity: 0.42; }
  100% { transform: scaleY(1); opacity: 0.92; }
}
@keyframes live-pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}
@keyframes boot-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes boot-load {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(340%); }
}
@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0.4); }
  45% { opacity: 1; transform: scale(1); }
  70% { opacity: 0.15; transform: scale(0.7); }
}
@keyframes twinkle {
  0%, 100% { opacity: 0.18; transform: scale(0.7) rotate(0deg); }
  50% { opacity: 0.85; transform: scale(1.08) rotate(12deg); }
}
@keyframes card-in { to { opacity: 1; transform: none; } }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateX(12px); } }
@keyframes poster-pop {
  0% { opacity: 0.4; transform: rotate(-8deg) translateY(8px) scale(0.94); }
  100% { opacity: 1; transform: rotate(-4deg) translateY(0) scale(1); }
}
@keyframes word-slide {
  0% { opacity: 0; transform: translateX(-16px) rotate(-5deg); }
  100% { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------- responsive */
@media (max-width: 1400px) {
  :root { --sidebar-w: 224px; }
  .content { padding-right: 24px; padding-left: 24px; }
  .topbar { padding-right: 24px; padding-left: 24px; }
  .hero h2 { font-size: clamp(34px, 3.2vw, 43px); }
  .hero-left { padding-right: 24px; padding-left: 26px; }
  .hero-poster { left: 9%; width: 194px; }
  .vinyl { left: 42%; width: 182px; height: 182px; }
  .search { width: 250px; }
  .band-card { width: 155px; flex-basis: 155px; }
  .band-logo-wrap img { max-width: 120px; }
  .player-inner { gap: 13px; padding: 0 20px; }
}
@media (max-width: 1200px) {
  .section-note { display: none; }
  .hero { grid-template-columns: minmax(0, 1.24fr) minmax(340px, 0.76fr); }
  .hero-poster { left: 6%; width: 185px; }
  .vinyl { left: 40%; width: 174px; height: 174px; }
  .hero-art-word { font-size: 68px; }
  .search { width: 220px; }
  .search kbd { display: none; }
  .player-inner { grid-template-columns: minmax(220px, 1fr) minmax(350px, 1.12fr) minmax(200px, 0.9fr); }
  .player-right .volume input[type="range"] { width: 65px; }
}
@media (max-width: 1080px) {
  :root { --sidebar-w: 0px; }
  .sidebar {
    z-index: 115;
    bottom: 0;
    width: 284px;
    transform: translateX(-104%);
    transition: transform 0.4s var(--ease);
    box-shadow: 30px 0 80px rgba(0, 0, 0, 0.45);
  }
  .sidebar.is-open { transform: none; }
  .side-close { display: grid; }
  .nav-scrim { display: block; pointer-events: none; }
  .nav-scrim.is-open { pointer-events: auto; opacity: 1; }
  .menu-btn { display: inline-grid; }
  body.nav-open { overflow: hidden; }
  .workspace { margin-left: 0; }
  .topbar { padding-left: 20px; }
  .content { padding: 18px 20px 42px; }
  .np-layout { gap: 35px; padding-right: 36px; padding-left: 36px; }
  .np-visual { min-height: 380px; }
  .np-disc { width: min(350px, 100%); }
  .np-halo { width: 420px; height: 420px; }
}
@media (max-width: 900px) {
  .hero {
    height: auto;
    min-height: 0;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  }
  .hero-left { min-height: 288px; padding: 20px 22px 40px; }
  .hero-art { min-height: 288px; }
  .hero h2 { font-size: 36px; }
  .hero-poster { top: 14px; left: 2%; width: 170px; }
  .vinyl { top: 54px; left: 39%; width: 162px; height: 162px; }
  .vinyl-label { width: 64px; height: 64px; }
  .hero-orbit { top: 18px; right: -20px; width: 210px; height: 210px; }
  .hero-art-word { top: 24px; font-size: 58px; }
  .hero-controls { right: 12px; bottom: 38px; }
  .poster-play { right: 10px; bottom: 40px; width: 38px; height: 38px; }
  .poster-caption strong { font-size: 9px; }
  .search { width: 190px; }
  .top-actions .btn-hot span { display: inline; }
  .np-layout { grid-template-columns: 1fr; gap: 20px; padding: 0 28px 54px; overflow-y: auto; }
  .np-visual { min-height: 280px; }
  .np-disc { width: 248px; }
  .np-halo { width: 310px; height: 310px; }
  .np-eq { display: none; }
  .np-info { padding-bottom: 15px; }
  .np-title { font-size: 38px; }
  .np-top { padding: 18px 24px; }
  .np-layout { align-content: center; }
  .np-bottom-row { margin-top: 18px; }
  .np-hint { display: none; }
}
@media (max-width: 760px) {
  .topbar {
    display: grid;
    min-height: 0;
    grid-template-columns: 36px minmax(0, 1fr) 36px 36px 36px;
    grid-template-areas:
      "menu head . random queue"
      "search search search search search";
    align-items: center;
    gap: 6px;
    padding: 8px 12px 7px;
    transition: padding 0.25s var(--ease), background 0.25s;
  }
  .topbar.is-compact {
    grid-template-areas: "menu head searchbtn random queue";
    padding-top: 6px;
    padding-bottom: 6px;
    background: linear-gradient(180deg, rgba(8, 6, 15, 0.97) 55%, rgba(8, 6, 15, 0.62));
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  }
  .topbar.is-compact .search { display: none; }
  .topbar.is-compact .page-eyebrow { display: none; }
  .topbar.is-compact .top-search-btn { display: grid; grid-area: searchbtn; }
  .menu-btn { grid-area: menu; width: 36px; height: 36px; }
  .page-head { grid-area: head; }
  .top-actions { display: contents; }
  .search { grid-area: search; width: 100%; height: 36px; order: 0; }
  .top-actions .btn-hot { grid-area: random; width: 36px; height: 36px; margin-left: 0; padding: 0; }
  .top-actions .btn-hot span { display: none; }
  .top-actions .queue-top { grid-area: queue; width: 36px; height: 36px; }
  .page-eyebrow { margin-bottom: 1px; font-size: 6.2px; letter-spacing: 1.8px; }
  .page-head h1 { font-size: 23px; }
  .content { padding: 12px 14px 34px; }
  .library { scroll-margin-top: 106px; }
  /* compact hero banner: text left, poster strip right */
  .hero {
    display: grid;
    height: 212px;
    grid-template-columns: minmax(0, 1fr) 104px;
    border-radius: 20px;
  }
  .hero::before { inset: 0 104px 24px 0; background-size: 11px 11px; opacity: 0.4; }
  .hero::after { display: none; }
  .hero-left {
    min-height: 0;
    justify-content: flex-start;
    padding: 12px 4px 26px 14px;
  }
  .hero-badge {
    height: 19px;
    gap: 5px;
    padding: 0 7px;
    font-size: 6px;
    letter-spacing: 1.1px;
  }
  .hero-badge b { padding-left: 5px; font-size: 6px; }
  .hero-badge-dot { width: 4px; height: 4px; }
  .hero h2 {
    margin: 7px 0 5px;
    font-size: 25px;
    letter-spacing: -1.05px;
    line-height: 1.12;
  }
  .hero-desc {
    display: -webkit-box;
    max-width: 100%;
    overflow: hidden;
    font-size: 9.5px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
  .hero-actions { margin-top: 9px; gap: 6px; }
  .hero-actions .btn { height: 33px; padding: 0 11px; border-radius: 10px; font-size: 10px; }
  .btn-ink { padding: 0 12px 0 5px; }
  .btn-play-circle { width: 23px; height: 23px; }
  .btn-play-circle .icon { width: 11px; height: 11px; }
  .hero-stats { display: none; }
  .hero-dots { left: 14px; bottom: 26px; display: flex; }
  .hero-art {
    height: 100%;
    min-height: 0;
    clip-path: none;
    border-radius: 0 19px 19px 0;
  }
  .hero-art-word,
  .hero-orbit,
  .vinyl,
  .hero-controls,
  .poster-sticker { display: none; }
  .hero-poster {
    top: 50%;
    left: 50%;
    width: 84px;
    margin-left: -42px;
    padding: 4px 4px 0;
    transform: translateY(-50%) rotate(-3.5deg);
  }
  .hero.is-swapping .hero-poster { animation: none; }
  .poster-play { right: -5px; bottom: 42px; width: 29px; height: 29px; }
  .poster-play .icon { width: 12px; height: 12px; }
  .poster-caption { margin: 4px -4px 0; padding: 3px 5px 4px; }
  .poster-caption span { font-size: 4.6px; letter-spacing: 0.7px; }
  .poster-caption strong { font-size: 6.6px; letter-spacing: 0; }
  .hero-marquee { height: 22px; }
  .hero-marquee span { font-size: 5.8px; letter-spacing: 1.5px; }
  .bands-section { margin-top: 13px; }
  .section-title h2 { font-size: 15px; }
  .section-tools .text-btn { font-size: 8.5px; }
  .rail-arrows { display: none; }
  .band-card { width: 142px; height: 84px; flex-basis: 142px; padding: 7px 10px 8px; }
  .band-logo-wrap { height: 34px; margin-top: 1px; }
  .band-logo-wrap img { max-width: 108px; max-height: 21px; }
  .band-word { font-size: 11px; max-width: 108px; }
  .band-meta b { font-size: 8.5px; }
  .band-meta span { font-size: 7px; }
  .library { margin-top: 14px; }
  .library-head { align-items: flex-start; gap: 8px; }
  .library-tools { width: 100%; justify-content: space-between; gap: 6px; }
  .library-title { width: 100%; }
  .library-title > .section-title { display: inline-flex; vertical-align: middle; }
  .library-meta {
    display: inline;
    margin: 0 0 0 8px;
    padding-left: 0;
    color: var(--muted-2);
    font-size: 8.5px;
    line-height: 1.4;
  }
  .chip-row { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .chip-row::-webkit-scrollbar { display: none; }
  .chip { height: 26px; padding: 0 8px; font-size: 8.5px; }
  .select-wrap { height: 33px; }
  .view-toggle button { width: 26px; height: 26px; }
  .song-grid { grid-template-columns: repeat(auto-fill, minmax(142px, 1fr)); gap: 17px 11px; }
  .song-info h3 { font-size: 11.5px; }
  .song-sub span { font-size: 8px; }
  .song-sub .diff { font-size: 6px; }
  .card-fav { opacity: 1; }
  .card-add { opacity: 1; }
  .card-play { opacity: 1; transform: translate(-50%, -50%) scale(1); width: 38px; height: 38px; }
  .site-foot { margin-top: 38px; }
  .player { height: 80px; }
  :root { --player-h: 80px; }
  .player-inner { grid-template-columns: minmax(0, 1fr) auto auto; gap: 4px; padding: 0 13px; }
  .player-cover { width: 46px; height: 46px; border-radius: 9px; }
  .player-text h3 { font-size: 11.5px; }
  .player-band { font-size: 8px; }
  .player-like { display: none; }
  .player-center { flex-direction: row; gap: 0; }
  .player-controls { gap: 2px; }
  .player-controls .ctrl { display: none; }
  .player-controls .play-btn { display: grid; width: 40px; height: 40px; }
  .player-controls #nextBtn { display: grid; width: 32px; height: 32px; }
  .player-controls #nextBtn .icon { width: 17px; height: 17px; }
  .player-right { display: flex; gap: 0; }
  .player-right .volume,
  .player-right #npQueueBtn { display: none; }
  .player-right .expand-btn { display: grid; width: 30px; height: 30px; }
  .player-right .expand-btn .icon { width: 14px; height: 14px; }
  .player-mini-progress {
    position: absolute;
    top: -1px;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
  }
  .player-mini-progress i {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--pink), var(--coral), var(--cyan));
    box-shadow: 0 0 8px rgba(255, 93, 158, 0.5);
    transition: width 0.2s linear;
  }
  .timeline { display: none; }
  .player-kicker { font-size: 5.8px; letter-spacing: 1.3px; }
  .toasts { bottom: calc(var(--player-h) + var(--safe-b) + 12px); right: 12px; }
  .drawer { width: 100%; }
  .np-top { padding: 15px 16px; }
  .np-layout { padding: 0 20px 50px; }
  .np-disc { width: 218px; }
  .np-halo { width: 270px; height: 270px; }
  .np-title { font-size: 31px; letter-spacing: -1.4px; }
  .np-sub { font-size: 10px; }
  .np-controls { gap: 10px; }
  .np-controls .ctrl { width: 32px; height: 32px; }
  .play-btn.huge { width: 58px; height: 58px; }
  .np-volume { display: none; }
  .np-bottom-row { margin-top: 14px; }
  .np-seek-wrap { margin-top: 18px; }
  .np-marquee { height: 24px; }
}
@media (max-width: 520px) {
  .topbar { padding: 10px 13px 8px; }
  .content { padding: 10px 13px 28px; }
  .page-eyebrow { font-size: 6px; letter-spacing: 1.6px; }
  .page-head h1 { font-size: 21px; letter-spacing: -0.5px; }
  .topbar { padding: 7px 11px 6px; }
  .top-actions { gap: 4px; }
  .btn-hot { width: 36px; padding: 0; }
  .btn-hot .icon { width: 16px; height: 16px; }
  .queue-top { width: 36px; }
  /* extra-compact hero for small phones */
  .hero { height: 188px; grid-template-columns: minmax(0, 1fr) 94px; }
  .hero::before { inset: 0 94px 21px 0; }
  .hero-left { padding: 10px 3px 22px 13px; }
  .hero h2 { margin: 6px 0 4px; font-size: 22px; letter-spacing: -0.9px; }
  .hero-desc { font-size: 9px; line-height: 1.45; -webkit-line-clamp: 2; line-clamp: 2; }
  .hero-actions { margin-top: 8px; }
  .hero-actions .btn { height: 31px; padding: 0 10px; font-size: 9.5px; }
  .btn-ink { padding: 0 11px 0 4px; }
  .btn-play-circle { width: 21px; height: 21px; }
  .hero-dots { left: 13px; bottom: 24px; }
  .hero-poster { width: 78px; margin-left: -39px; padding: 3px 3px 0; }
  .poster-play { right: -4px; bottom: 38px; width: 27px; height: 27px; }
  .poster-play .icon { width: 11px; height: 11px; }
  .poster-caption { margin: 3px -3px 0; padding: 3px 4px 4px; }
  .poster-caption span { font-size: 4.2px; }
  .poster-caption strong { font-size: 6px; }
  .hero-marquee { height: 21px; }
  .bands-section { margin-top: 12px; }
  .section-star { width: 25px; height: 25px; border-radius: 8px; }
  .section-title { gap: 7px; }
  .section-title h2 { font-size: 15px; }
  .section-title h2 em { font-size: 7px; letter-spacing: 1.5px; }
  .section-tools .text-btn { display: none; }
  .band-card { width: 134px; height: 76px; flex-basis: 134px; padding: 5px 9px 6px; }
  .band-logo-wrap { height: 30px; }
  .band-logo-wrap img { max-width: 100px; max-height: 19px; }
  .band-word { max-width: 100px; font-size: 10.5px; }
  .band-card[data-band="46"] .band-word { font-size: 12px; }
  .band-meta b { font-size: 8px; }
  .band-meta span { font-size: 6.5px; }
  .library { margin-top: 12px; }
  .library-head { gap: 6px; }
  .song-grid { margin-top: 8px; }
  .library-tools { gap: 5px; }
  .chip-row { gap: 0; padding: 2px; }
  .chip { height: 24px; padding: 0 6px; font-size: 7.5px; }
  .select-wrap { height: 30px; padding: 0 7px; }
  .select-wrap .icon { display: none; }
  .select-wrap select { font-size: 8.5px; }
  .view-toggle { padding: 2px; }
  .view-toggle button { width: 24px; height: 24px; }
  .song-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .song-cover { border-radius: 11px; }
  .song-info { padding-top: 6px; }
  .song-info h3 { font-size: 11px; }
  .song-sub { gap: 3px; }
  .song-sub span { font-size: 7.5px; }
  .song-sub .diff { font-size: 5.5px; padding: 0 3px; }
  .card-add { top: 6px; left: 6px; width: 24px; height: 24px; }
  .card-fav { top: 6px; right: 6px; width: 25px; height: 25px; }
  .card-play { width: 35px; height: 35px; }
  .new-badge { bottom: 6px; left: 6px; font-size: 5px; }
  .view-bar { flex-wrap: wrap; }
  .view-bar p { width: 100%; }
  .site-foot { display: block; }
  .foot-links { align-items: flex-start; margin-top: 12px; text-align: left; }
  .np-layout { padding: 0 16px 45px; gap: 14px; }
  .np-visual { min-height: 258px; }
  .np-disc { width: 220px; }
  .np-halo { width: 275px; height: 275px; }
  .np-title { font-size: 27px; letter-spacing: -1.1px; }
  .np-meta { margin-top: 12px; gap: 6px; font-size: 7px; }
  .np-controls { gap: 4px; margin-top: 8px; }
  .np-controls .ctrl { width: 29px; height: 29px; }
  .np-controls .ctrl.big { width: 36px; height: 36px; }
  .play-btn.huge { width: 52px; height: 52px; margin: 0 2px; }
  .play-btn.huge .icon { width: 21px; height: 21px; }
  .np-seek-wrap { margin-top: 13px; }
  .np-context p { font-size: 6px; }
  .np-context > span { font-size: 7px; }
  .np-marquee span { font-size: 6px; }
  .modal-card { padding: 19px; border-radius: 18px; }
  .toasts { right: 10px; bottom: calc(var(--player-h) + var(--safe-b) + 10px); }
  .toast { font-size: 10px; }
}

@media (hover: none) {
  .song-card:active .song-cover {
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.32);
    transform: scale(0.982);
  }
  .band-card:active { transform: scale(0.98); }
  .chip:active,
  .btn:active,
  .view-toggle button:active { transform: scale(0.96); }
  .card-play:active { transform: translate(-50%, -50%) scale(0.9); }
  .ctrl:active { transform: scale(0.92); }
  .hero-dot:active { transform: scale(0.9); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .marquee-track, .np-marquee span, .hero-orbit, .vinyl, .np-disc-grooves { animation: none !important; }
  .song-card { opacity: 1; transform: none; }
}

