/* =========================================================
   MusicHub V2 — editorial dark, lime signal, glass player
   ========================================================= */
:root {
  --bg: #090d0b;
  --bg-deep: #060907;
  --panel: rgba(19, 26, 21, .78);
  --panel-solid: #121a15;
  --panel-soft: #161f19;
  --line: rgba(218, 255, 226, .10);
  --line-strong: rgba(218, 255, 226, .18);
  --text: #f2f7ef;
  --muted: #9ba99d;
  --muted-2: #6f7f73;
  --lime: #c4f36b;
  --lime-soft: #a5df52;
  --lime-dim: rgba(196, 243, 107, .13);
  --amber: #ffc773;
  --blue: #9dcaff;
  --danger: #ff8c8c;
  --rail-w: 246px;
  --player-h: 72px;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .42);
  --font: "Inter", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body {
  margin: 0;
  color: var(--text);
  font: 14px/1.55 var(--font);
  background:
    radial-gradient(1200px 800px at 78% -18%, rgba(196, 243, 107, .10), transparent 58%),
    radial-gradient(900px 700px at 5% 82%, rgba(99, 144, 255, .08), transparent 62%),
    linear-gradient(145deg, #0a0f0c 0%, #080b09 58%, #060807 100%);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}
::selection { background: rgba(196, 243, 107, .24); color: #fff; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(168, 200, 172, .22); border-radius: 9px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(196, 243, 107, .35); background-clip: content-box; }
button, input, textarea { font-family: inherit; }
button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
#npOpen:focus-visible { outline: 1px solid rgba(196,243,107,.28); outline-offset: 2px; border-radius: 12px; }
#npClose:focus-visible { outline: 1px solid rgba(196,243,107,.45); outline-offset: 2px; }

.shell { display: flex; height: 100dvh; min-height: 100vh; }
.main { flex: 1; min-width: 0; height: 100dvh; display: flex; flex-direction: column; position: relative; }

/* ================= RAIL ================= */
.rail {
  width: var(--rail-w); flex: 0 0 var(--rail-w); height: 100dvh;
  display: flex; flex-direction: column;
  padding: 22px 14px 14px;
  background:
    linear-gradient(180deg, rgba(12, 18, 14, .96), rgba(7, 11, 9, .86)),
    radial-gradient(460px 360px at 0% 0%, rgba(196, 243, 107, .08), transparent 70%);
  border-right: 1px solid var(--line);
  position: relative; z-index: 3; overflow: hidden;
}
.rail::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 100% 7px; opacity: .22; mix-blend-mode: soft-light;
}
.brand { display: flex; align-items: center; gap: 11px; padding: 0 8px 28px; position: relative; z-index: 1; cursor: pointer; }
.brand-mark {
  width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px;
  display: flex; align-items: flex-end; justify-content: center; gap: 3px;
  padding: 7px 6px; border: 1px solid rgba(196, 243, 107, .28);
  background: linear-gradient(145deg, rgba(196,243,107,.18), rgba(196,243,107,.03));
  box-shadow: inset 0 0 18px rgba(196,243,107,.07);
}
.brand-mark i { display: block; width: 3px; border-radius: 2px; background: var(--lime); opacity: .9; }
.brand-mark i:nth-child(1) { height: 9px; }
.brand-mark i:nth-child(2) { height: 16px; }
.brand-mark i:nth-child(3) { height: 12px; }
.brand-mark i:nth-child(4) { height: 6px; opacity: .55; }
.brand-name { font-size: 19px; font-weight: 760; letter-spacing: -.7px; line-height: 1.05; }
.brand-name span { color: var(--lime); }
.brand-sub { margin-top: 5px; font-size: 8.5px; letter-spacing: .18em; color: var(--muted-2); white-space: nowrap; }

.nav { display: flex; flex-direction: column; gap: 3px; position: relative; z-index: 1; }
.nav button {
  position: relative; display: flex; align-items: center; gap: 12px;
  min-height: 46px; padding: 0 12px; border: 1px solid transparent;
  background: transparent; color: var(--muted); border-radius: 12px;
  cursor: pointer; font: inherit; font-size: 13.5px; text-align: left;
  transition: background .16s, color .16s, border-color .16s;
}
.nav button:hover { color: var(--text); background: rgba(255,255,255,.045); }
.nav button.on { color: var(--lime); background: rgba(196,243,107,.09); border-color: rgba(196,243,107,.14); }
.nav-ico { width: 19px; text-align: center; font-style: normal; font-size: 16px; opacity: .75; }
.nav button.on .nav-ico { opacity: 1; text-shadow: 0 0 18px rgba(196,243,107,.5); }
.nav button span { flex: 1; }
.nav button em { font-style: normal; font-size: 9px; letter-spacing: .1em; color: var(--muted-2); }
.nav button.on em { color: rgba(196,243,107,.55); }

.library { margin-top: 30px; flex: 1; min-height: 0; position: relative; z-index: 1; display: flex; flex-direction: column; }
.lib-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 8px 10px; font-size: 10px; letter-spacing: .16em; color: var(--muted-2); text-transform: uppercase;
}
.dot-lime { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); margin-right: 7px; vertical-align: 2px; box-shadow: 0 0 8px rgba(196,243,107,.45); }
.lib-head-actions { display: flex; align-items: center; gap: 4px; }
.lib-head button {
  width: 26px; height: 26px; border: 1px solid var(--line); background: rgba(255,255,255,.03);
  color: var(--muted); border-radius: 8px; cursor: pointer; font-size: 17px; line-height: 1; transition: .15s;
}
.lib-head button:hover { color: var(--lime); border-color: rgba(196,243,107,.3); background: var(--lime-dim); }
.lib-links { display: flex; flex-direction: column; gap: 1px; margin-bottom: 10px; }
.lib-link {
  display: flex; align-items: center; gap: 10px; border: 0; background: transparent;
  color: var(--muted); padding: 8px 9px; border-radius: 9px; cursor: pointer; text-align: left; font: inherit; font-size: 12px;
}
.lib-link:hover { color: var(--text); background: rgba(255,255,255,.04); }
.lib-link span { width: 16px; text-align: center; color: var(--muted-2); font-size: 14px; }
.lib-link b { margin-left: auto; font-size: 10px; font-weight: 500; color: var(--muted-2); }
.pl-input {
  width: 100%; height: 34px; padding: 0 10px; margin-bottom: 8px;
  border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.03);
  color: var(--text); font: inherit; font-size: 11.5px; outline: none; transition: .15s;
}
.pl-input::placeholder { color: var(--muted-2); }
.pl-input:focus { border-color: rgba(196,243,107,.35); background: rgba(196,243,107,.04); }
.playlists { overflow-y: auto; min-height: 0; padding-right: 2px; display: flex; flex-direction: column; gap: 4px; }
.hint { color: var(--muted-2); font-size: 10px; line-height: 1.65; }
.playlists .hint { padding: 12px 9px !important; border: 1px dashed rgba(196,243,107,.16); border-radius: 10px; background: rgba(196,243,107,.025); text-align: center; }
.pl {
  border-radius: 10px; border: 1px solid transparent; background: rgba(255,255,255,.022);
  overflow: hidden; transition: .15s;
}
.pl:hover { border-color: var(--line); }
.pl-h { display: flex; align-items: center; gap: 5px; padding: 7px 8px; }
.pl-h .pl-title { flex: 1; min-width: 0; font-size: 11.5px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.pl-h .pl-title small { color: var(--muted-2); margin-left: 3px; }
.pl-h .pl-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 1px; }
.pl-h button { border: 0; background: transparent; color: var(--muted-2); cursor: pointer; font-size: 10px; padding: 4px; border-radius: 5px; }
.pl-h .pl-actions button { display: grid; place-items: center; width: 18px; height: 18px; padding: 0; opacity: .72; }
.pl-h .pl-actions button:hover { background: rgba(196,243,107,.08); color: var(--lime); opacity: 1; }
.pl-h .pl-actions button.pl-del:hover { color: var(--danger); background: rgba(255,120,120,.08); }
.pl-h .pl-actions svg { width: 11px; height: 11px; }
.pl-songs { max-height: 120px; overflow-y: auto; border-top: 1px solid var(--line); }
.pl-songs div { display: flex; align-items: center; gap: 6px; padding: 5px 9px; font-size: 10.5px; color: var(--muted-2); cursor: pointer; }
.pl-songs div:hover { color: var(--text); background: rgba(255,255,255,.04); }
.pl-songs span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-songs b { font-weight: 400; color: var(--lime); opacity: .7; }
.pl-song-del { flex: 0 0 auto; display: grid; place-items: center; width: 18px; height: 18px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: var(--muted-2); cursor: pointer; opacity: .7; }
.pl-song-del:hover { color: var(--danger); background: rgba(255,120,120,.08); }
.pl-song-del svg { width: 11px; height: 11px; }
.pl-open-all { width: 100%; display: flex; align-items: center; justify-content: flex-start; gap: 4px; padding: 6px 9px; border: 0; border-top: 1px solid rgba(218,255,226,.06); background: rgba(196,243,107,.035); color: var(--lime); font: inherit; font-size: 10px; cursor: pointer; }
.pl-open-all:hover { background: rgba(196,243,107,.08); }
.pl-open-all svg { width: 12px; height: 12px; }

.rail-note {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 9px;
  margin-top: 14px; padding: 12px 9px 2px; border-top: 1px solid var(--line);
}
.live-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(196,243,107,.08); }
.rail-note b { display: block; font-size: 10.5px; color: var(--muted); font-weight: 500; }
.rail-note small { display: block; margin-top: 2px; font-size: 9.5px; color: var(--muted-2); }

/* ================= TOPBAR ================= */
.topbar {
  flex: 0 0 auto; display: flex; align-items: center; gap: 14px;
  min-height: 70px; padding: 14px 30px;
  background: rgba(9, 13, 11, .90); border-bottom: 1px solid rgba(218,255,226,.06);
  backdrop-filter: blur(8px) saturate(130%);
  -webkit-backdrop-filter: blur(8px) saturate(130%);
  position: relative; z-index: 10;
}
.mobile-brand { display: none; cursor: pointer; }
.search {
  flex: 1 1 420px; min-width: 180px; max-width: 590px; height: 42px;
  display: flex; align-items: center; position: relative;
  border: 1px solid var(--line); border-radius: 13px;
  background: rgba(255,255,255,.045); transition: border-color .16s, background .16s, box-shadow .16s;
}
.search:focus-within { border-color: rgba(196,243,107,.4); background: rgba(196,243,107,.045); box-shadow: 0 0 0 3px rgba(196,243,107,.05); }
.search-ico { width: 42px; display: grid; place-items: center; flex: 0 0 42px; color: var(--muted-2); }
.search-ico svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.search input {
  flex: 1; min-width: 0; height: 100%; padding: 0 8px 0 0; border: 0; outline: none;
  background: transparent; color: var(--text); font-size: 13.5px;
}
.search input::placeholder { color: var(--muted-2); }
.search-kbd {
  display: inline-grid; place-items: center; width: 21px; height: 20px; margin-right: 8px;
  border: 1px solid var(--line); border-radius: 5px; color: var(--muted-2); font: 10px/1 var(--font);
}
.search-submit {
  height: 32px; margin-right: 5px; padding: 0 15px; border: 0; border-radius: 8px;
  background: var(--lime); color: #18200f; font-size: 11.5px; font-weight: 750; cursor: pointer; transition: .15s;
}
.search-submit:hover { background: #d6ff8c; box-shadow: 0 4px 18px rgba(196,243,107,.16); }
.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20;
  padding: 7px; background: #0d1710; border: 1px solid var(--line-strong);
  border-radius: 13px; box-shadow: var(--shadow); backdrop-filter: blur(8px);
}
.suggest-head { padding: 5px 9px 7px; font-size: 9px; letter-spacing: .14em; color: var(--muted-2); }
.suggest-item { display: flex; align-items: center; gap: 9px; width: 100%; padding: 9px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); text-align: left; cursor: pointer; font: inherit; font-size: 12px; }
.suggest-item:hover { color: var(--text); background: rgba(196,243,107,.07); }
.suggest-item .s-ic { color: var(--muted-2); font-size: 12px; width: 16px; text-align: center; }
.suggest-item b { color: var(--lime); font-weight: 600; }
.suggest-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.srcfilter { display: flex; align-items: center; flex-wrap: nowrap; gap: 5px; overflow-x: auto; scrollbar-width: none; flex: 0 0 auto; max-width: none; }
.srcfilter::-webkit-scrollbar { display: none; }
.srcfilter label {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 28px; padding: 0 9px; border: 1px solid var(--line); border-radius: 8px;
  color: var(--muted-2); font-size: 10px; letter-spacing: .02em; cursor: pointer; user-select: none; transition: .15s;
}
.srcfilter label:focus-visible { outline: 2px solid rgba(196,243,107,.55); outline-offset: 2px; }
.srcfilter label:hover { color: var(--text); border-color: var(--line-strong); }
.srcfilter label.on { color: var(--lime); border-color: rgba(196,243,107,.25); background: rgba(196,243,107,.08); }
.srcfilter input { display: none; }
.profile { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; margin-left: auto; }
.who { max-width: 104px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10.5px; color: var(--muted-2); cursor: pointer; border: 0; background: transparent; padding: 0; font-family: inherit; text-align: left; }
.who:hover { color: var(--lime); }
.login-btn {
  height: 32px; padding: 0 13px; border: 1px solid rgba(196,243,107,.25); border-radius: 9px;
  background: rgba(196,243,107,.09); color: var(--lime); font-size: 11px; cursor: pointer; transition: .15s;
}
.login-btn:hover { background: rgba(196,243,107,.18); }
.login-btn.ghost { border-color: var(--line); background: transparent; color: var(--muted); }
.login-btn.ghost:hover { color: var(--lime); border-color: rgba(196,243,107,.25); }

/* ================= PAGE / HERO ================= */
.page { flex: 1; min-height: 0; overflow-y: auto; padding: 26px 30px 126px; scroll-behavior: auto; }
.home-view, .results-view { max-width: 1280px; margin: 0 auto; }
.results-view { max-width: 1120px; }
.hero {
  position: relative; overflow: hidden; border: 1px solid var(--line);
  border-radius: 26px; min-height: 352px; display: grid; grid-template-columns: 1.08fr .92fr;
  background:
    radial-gradient(540px 380px at 84% 20%, rgba(196,243,107,.16), transparent 65%),
    radial-gradient(600px 400px at 70% 100%, rgba(112,145,255,.09), transparent 66%),
    linear-gradient(135deg, rgba(28, 40, 30, .92), rgba(11, 16, 13, .9));
  isolation: isolate;
}
.hero-noise {
  position: absolute; inset: 0; opacity: .18; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.38) .6px, transparent .6px);
  background-size: 4px 4px; mix-blend-mode: soft-light;
}
.hero-copy { position: relative; z-index: 2; padding: 42px 24px 38px 42px; align-self: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 9px; letter-spacing: .2em; color: var(--lime); text-transform: uppercase; }
.eyebrow i { width: 22px; height: 1px; background: var(--lime); display: inline-block; }
.hero h1 { margin: 18px 0 17px; font-size: clamp(38px, 4.2vw, 62px); line-height: 1.04; letter-spacing: -.075em; font-weight: 720; }
.hero h1 em { font-style: normal; color: var(--lime); font-weight: 680; }
.hero p { max-width: 500px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 14px; height: 42px; padding: 0 18px;
  border: 0; border-radius: 11px; background: var(--lime); color: #18200f;
  font-size: 12.5px; font-weight: 750; cursor: pointer; transition: .16s;
}
.btn-primary:hover { background: #d8ff94; box-shadow: 0 8px 24px rgba(196,243,107,.18); }
.btn-primary span { font-size: 15px; }
.btn-quiet {
  height: 42px; padding: 0 15px; border: 1px solid var(--line-strong); border-radius: 11px;
  background: rgba(255,255,255,.025); color: var(--muted); font-size: 12px; cursor: pointer; transition: .15s;
}
.btn-quiet:hover { color: var(--text); border-color: rgba(196,243,107,.28); background: rgba(196,243,107,.06); }

.hero-visual { position: relative; min-height: 330px; overflow: hidden; }
.hero-orbit { position: absolute; border: 1px solid rgba(196,243,107,.13); border-radius: 50%; left: 52%; top: 46%; transform: translate(-50%,-50%); }
.orbit-a { width: 310px; height: 310px; }
.orbit-b { width: 430px; height: 430px; border-color: rgba(196,243,107,.07); }
.orbit-c { width: 560px; height: 560px; border-color: rgba(196,243,107,.04); }
.hero-vinyl {
  position: absolute; width: 205px; height: 205px; border-radius: 50%; left: 52%; top: 45%; transform: translate(-50%,-50%);
  background:
    conic-gradient(from 210deg, rgba(255,255,255,.12), transparent 10%, rgba(255,255,255,.05) 21%, transparent 36%, rgba(196,243,107,.14) 52%, transparent 64%, rgba(255,255,255,.09) 78%, transparent 92%),
    repeating-radial-gradient(circle at 50% 50%, #18251c 0 5px, #101812 6px 10px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 26px 50px rgba(0,0,0,.4), 0 0 80px rgba(196,243,107,.06);
  animation: vinyl-spin 42s linear infinite;
}
.hero-vinyl::before { content: ""; position: absolute; inset: 29%; border-radius: 50%; background: linear-gradient(145deg, rgba(196,243,107,.7), rgba(64,93,51,.8)); box-shadow: inset 0 0 20px rgba(0,0,0,.28); }
.hero-vinyl::after { content: ""; position: absolute; inset: 43%; border-radius: 50%; background: #0b100d; border: 1px solid rgba(255,255,255,.14); }
.vinyl-label { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 2; font-size: 8px; letter-spacing: .14em; color: #ecffd0; opacity: .85; }
.hero-meter { position: absolute; left: 8%; right: 8%; bottom: 30px; height: 46px; display: flex; align-items: flex-end; justify-content: center; gap: 5px; opacity: .4; }
.hero-meter i { width: 3px; border-radius: 2px; background: var(--lime); animation: meter 2.4s ease-in-out infinite; }
.hero-meter i:nth-child(1) { height: 13px; animation-delay: -.2s; }
.hero-meter i:nth-child(2) { height: 24px; animation-delay: -.6s; }
.hero-meter i:nth-child(3) { height: 18px; animation-delay: -.9s; }
.hero-meter i:nth-child(4) { height: 36px; animation-delay: -.4s; }
.hero-meter i:nth-child(5) { height: 28px; animation-delay: -1.1s; }
.hero-meter i:nth-child(6) { height: 42px; animation-delay: -.7s; }
.hero-meter i:nth-child(7) { height: 19px; animation-delay: -1.4s; }
.hero-meter i:nth-child(8) { height: 10px; animation-delay: -.3s; }
.hero-stamp { position: absolute; right: 25px; top: 24px; color: var(--muted-2); font-size: 8px; letter-spacing: .14em; line-height: 1.7; text-align: right; }
@keyframes vinyl-spin { to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes meter { 0%,100% { transform: scaleY(.75); opacity: .45; } 50% { transform: scaleY(1.25); opacity: .9; } }

/* ================= SEARCH HISTORY / SHELVES ================= */
.hist { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; min-height: 29px; margin: 15px 2px 0; }
.hist-label { font-size: 9px; letter-spacing: .15em; color: var(--muted-2); }
.chip {
  border: 1px solid var(--line); background: rgba(255,255,255,.028); color: var(--muted);
  padding: 6px 11px; border-radius: 8px; font: inherit; font-size: 10.5px; cursor: pointer; transition: .15s;
}
.chip:hover { color: var(--lime); border-color: rgba(196,243,107,.25); background: rgba(196,243,107,.07); }
.shelf { margin-top: 34px; }
.shelf-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.sec-kicker { display: block; margin-bottom: 5px; font-size: 8.5px; letter-spacing: .19em; color: var(--lime); text-transform: uppercase; }
.shelf-head h2, .page-heading h1 { margin: 0; font-size: 22px; letter-spacing: -.045em; font-weight: 680; }
.shelf-note { color: var(--muted-2); font-size: 10px; padding-bottom: 3px; white-space: nowrap; }
.shelf-action { border: 0; background: transparent; color: var(--lime); font-size: 10.5px; cursor: pointer; padding: 7px 0; }
.shelf-action:hover { text-decoration: underline; text-underline-offset: 4px; }

/* moods */
.mood-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mood-card {
  position: relative; min-height: 120px; overflow: hidden; text-align: left; border: 1px solid var(--line);
  border-radius: 15px; padding: 16px; color: var(--text); cursor: pointer; font: inherit; transition: .18s;
  background: linear-gradient(135deg, rgba(28,38,30,.95), rgba(13,19,15,.95));
}
.mood-card:hover { border-color: rgba(196,243,107,.3); box-shadow: 0 14px 32px rgba(0,0,0,.26); }
.mood-card::before { content: ""; position: absolute; width: 140px; height: 140px; right: -42px; top: -46px; border-radius: 50%; background: var(--mood-glow, rgba(196,243,107,.15)); filter: blur(8px); opacity: .8; }
.mood-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(4,7,5,.42)); pointer-events: none; }
.mood-card .mood-no { position: relative; z-index: 1; font-size: 9px; letter-spacing: .12em; color: var(--muted-2); }
.mood-card h3 { position: relative; z-index: 1; margin: 28px 0 3px; font-size: 17px; letter-spacing: -.04em; font-weight: 620; }
.mood-card small { position: relative; z-index: 1; color: var(--muted); font-size: 10px; }
.mood-card .mood-arrow { position: absolute; right: 15px; bottom: 14px; z-index: 2; color: var(--lime); font-size: 15px; opacity: .7; }
.mood-card:nth-child(2) { --mood-glow: rgba(119,160,255,.22); }
.mood-card:nth-child(3) { --mood-glow: rgba(255,186,107,.22); }
.mood-card:nth-child(4) { --mood-glow: rgba(209,136,255,.17); }
.mood-card:nth-child(5) { --mood-glow: rgba(99,230,206,.18); }
.mood-card:nth-child(6) { --mood-glow: rgba(255,232,125,.18); }

/* track grids */
.track-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.track-card {
  border: 1px solid var(--line); border-radius: 15px; padding: 10px; background: rgba(255,255,255,.028);
  cursor: pointer; text-align: left; font: inherit; color: var(--text); min-width: 0; transition: .16s;
}
.track-card:hover { background: rgba(255,255,255,.055); border-color: var(--line-strong); }
.track-cover {
  width: 100%; aspect-ratio: 1; border-radius: 10px; background-color: #18241c; background-size: cover; background-position: center;
  display: grid; place-items: center; color: rgba(196,243,107,.62); font-size: 24px; font-weight: 650;
  border: 1px solid rgba(255,255,255,.06); margin-bottom: 9px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}
.track-title { display: block; font-size: 12px; font-weight: 570; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-meta { display: block; margin-top: 3px; color: var(--muted-2); font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-card .track-play { float: right; color: var(--lime); font-size: 11px; opacity: .65; }
.track-card:hover .track-play { opacity: 1; }

/* for you / private frequency */
.foryou-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.55fr); gap: 10px; }
.radio-card {
  position: relative; overflow: hidden; min-height: 178px; padding: 17px 18px;
  border: 1px solid rgba(196,243,107,.2); border-radius: 16px;
  background:
    radial-gradient(220px 120px at 100% 0%, rgba(196,243,107,.14), transparent 70%),
    linear-gradient(145deg, rgba(24,37,27,.96), rgba(10,16,12,.98));
  color: var(--text); text-align: left; font: inherit; cursor: pointer; transition: .18s;
}
.radio-card:hover { border-color: rgba(196,243,107,.38); box-shadow: 0 16px 38px rgba(0,0,0,.28); }
.radio-card:focus-visible, .taste-station:focus-visible { outline: 2px solid rgba(196,243,107,.6); outline-offset: 2px; }
.radio-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.22)); }
.radio-top { position: relative; z-index: 1; display: flex; align-items: center; gap: 7px; color: var(--lime); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.radio-top em { margin-left: auto; color: var(--muted-2); font-style: normal; font-size: 8px; letter-spacing: .12em; }
.radio-live { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(196,243,107,.08); animation: radioPulse 2s ease-in-out infinite; }
.radio-wave { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 3px; height: 25px; margin: 16px 0 12px; opacity: .7; }
.radio-wave i { display: block; width: 3px; border-radius: 2px; background: var(--lime); animation: radioWave 1.8s ease-in-out infinite; }
.radio-wave i:nth-child(1) { height: 7px; animation-delay: -.2s; }
.radio-wave i:nth-child(2) { height: 13px; animation-delay: -.5s; }
.radio-wave i:nth-child(3) { height: 9px; animation-delay: -.8s; }
.radio-wave i:nth-child(4) { height: 17px; animation-delay: -.3s; }
.radio-wave i:nth-child(5) { height: 11px; animation-delay: -.9s; }
.radio-wave i:nth-child(6) { height: 22px; animation-delay: -.6s; }
.radio-wave i:nth-child(7) { height: 14px; animation-delay: -.1s; }
.radio-wave i:nth-child(8) { height: 19px; animation-delay: -.7s; }
.radio-wave i:nth-child(9) { height: 8px; animation-delay: -.4s; }
.radio-wave i:nth-child(10) { height: 15px; animation-delay: -1s; }
.radio-wave i:nth-child(11) { height: 10px; animation-delay: -.6s; }
.radio-wave i:nth-child(12) { height: 6px; animation-delay: -.2s; }
.radio-copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 3px; }
.radio-copy small { color: var(--muted-2); font-size: 9px; }
.radio-copy b { font-size: 22px; line-height: 1.15; letter-spacing: -.055em; font-weight: 650; }
.radio-copy small:last-child { max-width: 285px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.radio-play { position: absolute; right: 17px; bottom: 17px; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(196,243,107,.3); background: rgba(196,243,107,.1); color: var(--lime); font-size: 13px; }
.radio-card:hover .radio-play { background: var(--lime); color: #18200f; }
.taste-stations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.taste-station {
  position: relative; overflow: hidden; min-height: 178px; padding: 15px 14px;
  border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.012));
  color: var(--text); text-align: left; font: inherit; cursor: pointer; transition: .18s;
}
.taste-station:hover { border-color: rgba(196,243,107,.26); background: rgba(196,243,107,.035); }
.taste-station::after { content: ""; position: absolute; right: -35px; bottom: -55px; width: 130px; height: 130px; border-radius: 50%; background: var(--station-glow, rgba(196,243,107,.12)); filter: blur(9px); opacity: .6; pointer-events: none; }
.taste-station:nth-child(2) { --station-glow: rgba(120,165,255,.18); }
.taste-station:nth-child(3) { --station-glow: rgba(225,150,255,.15); }
.ts-no { position: relative; z-index: 1; color: var(--muted-2); font-size: 8.5px; letter-spacing: .12em; }
.ts-glyph { position: absolute; right: 9px; bottom: 6px; z-index: 1; color: rgba(255,255,255,.075); font-size: 56px; line-height: 1; font-weight: 700; letter-spacing: -.08em; }
.taste-station b { position: relative; z-index: 1; display: block; margin-top: 42px; font-size: 15px; line-height: 1.25; letter-spacing: -.04em; font-weight: 620; }
.taste-station small { position: relative; z-index: 1; display: block; margin-top: 4px; color: var(--muted); font-size: 9.5px; line-height: 1.55; }
.ts-arrow { position: absolute; top: 13px; right: 13px; z-index: 1; color: var(--lime); font-size: 12px; opacity: .7; }
.daily-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.daily-card {
  display: grid; grid-template-columns: 26px 52px minmax(0, 1fr) 24px; align-items: center; gap: 10px;
  min-height: 72px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 13px;
  background: rgba(255,255,255,.028); color: var(--text); text-align: left; cursor: pointer; font: inherit; transition: .16s;
}
.daily-card:hover { border-color: rgba(196,243,107,.3); background: rgba(196,243,107,.05); }
.daily-no { color: var(--muted-2); font-size: 9px; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.daily-cover {
  width: 52px; height: 52px; border-radius: 8px; border: 1px solid rgba(255,255,255,.06);
  background-color: #18241c; background-size: cover; background-position: center; display: grid; place-items: center;
  color: rgba(196,243,107,.62); font-size: 16px; font-weight: 650; overflow: hidden;
}
.daily-info { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.daily-info b { display: block; font-size: 12px; font-weight: 620; letter-spacing: -.025em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.daily-info small { display: block; color: var(--muted); font-size: 9.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.daily-play { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(196,243,107,.24); color: var(--lime); font-size: 9px; }
.daily-card:hover .daily-play { background: var(--lime); color: #18200f; }
@keyframes radioWave { 0%,100% { transform: scaleY(.55); opacity: .38; } 50% { transform: scaleY(1.2); opacity: .92; } }
@keyframes radioPulse { 0%,100% { box-shadow: 0 0 0 3px rgba(196,243,107,.07); } 50% { box-shadow: 0 0 0 6px rgba(196,243,107,.13); } }

/* hot cards */
.hot-cards { display: flex; flex-wrap: wrap; gap: 1px; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; background: var(--line); }
.hot-cards .hotcard { flex: 1 1 260px; min-width: 0; }
.hotcard {
  display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 14px;
  border: 0; background: rgba(16,23,18,.94); color: var(--muted); text-align: left; cursor: pointer; font: inherit; transition: .15s;
}
.hotcard:hover { background: rgba(196,243,107,.07); color: var(--text); }
.card-rank { width: 22px; color: var(--lime); font-size: 11px; font-variant-numeric: tabular-nums; }
.hotcard .hot-info { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hotcard .card-title { font-size: 11.5px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hotcard .card-sub { font-size: 9.5px; color: var(--muted-2); }
.hotcard .hot-arrow { margin-left: auto; color: var(--muted-2); font-size: 12px; opacity: .7; }

.official-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.official-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.035); color: var(--text); text-align: left; cursor: pointer; font: inherit; transition: .18s; }
.official-card:hover { transform: translateY(-2px); border-color: rgba(196,243,107,.3); box-shadow: 0 16px 36px rgba(0,0,0,.28); }
.official-cover { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: radial-gradient(circle at 25% 30%, rgba(196,243,107,.25), transparent 55%), linear-gradient(145deg, #1d2a20, #0a100c); }
.official-cover img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .9; }
.official-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,8,5,.08), rgba(4,8,5,.72)); }
.official-badge { position: absolute; z-index: 2; top: 10px; left: 10px; padding: 4px 7px; border: 1px solid rgba(196,243,107,.32); border-radius: 6px; background: rgba(6,12,8,.62); color: var(--lime); font-size: 8px; letter-spacing: .1em; }
.official-play { position: absolute; z-index: 2; right: 11px; bottom: 10px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--lime); color: #0b120d; box-shadow: 0 8px 18px rgba(0,0,0,.35); }
.official-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 13px 14px; }
.official-body small { color: var(--muted-2); font-size: 8.5px; letter-spacing: .1em; }
.official-body b { font-size: 15px; letter-spacing: -.04em; }
.official-body span { color: var(--muted); font-size: 9.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* editorial cards */
.editorial-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.editorial-card {
  position: relative; min-height: 178px; overflow: hidden; text-align: left; border: 1px solid var(--line);
  border-radius: 16px; padding: 16px; background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); color: var(--text); cursor: pointer; font: inherit; transition: .18s;
}
.editorial-card:hover { border-color: rgba(196,243,107,.25); }
.editorial-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120px 100px at 85% 100%, var(--card-glow, rgba(196,243,107,.2)), transparent 70%); opacity: .8; }
.editorial-card .ed-index { position: relative; z-index: 1; color: var(--muted-2); font-size: 9px; letter-spacing: .12em; }
.editorial-card .ed-glyph { position: absolute; right: 8px; bottom: 3px; z-index: 1; font-size: 66px; line-height: 1; font-weight: 700; letter-spacing: -.1em; color: rgba(255,255,255,.07); }
.editorial-card h3 { position: relative; z-index: 1; margin: 42px 0 4px; font-size: 18px; letter-spacing: -.05em; }
.editorial-card p { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.editorial-card .ed-arrow { position: absolute; right: 14px; top: 13px; z-index: 1; color: var(--lime); font-size: 13px; opacity: .75; }

/* source strip */
.source-strip { margin-top: 44px; padding: 22px 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; align-items: center; }
.source-strip-head h2 { margin: 0; font-size: 18px; letter-spacing: -.04em; }
.source-list { display: flex; flex-wrap: wrap; gap: 18px 26px; }
.source-list span { display: flex; flex-direction: column; gap: 2px; }
.source-list b { font-size: 11px; font-weight: 560; color: var(--text); }
.source-list small { color: var(--muted-2); font-size: 8px; letter-spacing: .12em; }
.source-note { grid-column: 1 / -1; margin: 4px 0 0; color: var(--muted-2); font-size: 9px; line-height: 1.7; }

/* ================= RESULTS ================= */
.results-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.results-head h1 { margin: 0; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.06em; font-weight: 700; }
.status { margin: 7px 0 0; color: var(--muted-2); font-size: 10.5px; }
.results-hint { margin: 10px 0 12px; color: var(--muted-2); font-size: 10px; }
.results-toolbar { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: 0 0 12px; }
.results-toolbar-count { color: var(--muted-2); font-size: 9px; letter-spacing: .1em; white-space: nowrap; }
.results-sort { display: flex; align-items: center; gap: 6px; margin-left: 2px; color: var(--muted-2); font-size: 9px; letter-spacing: .08em; }
.results-sort select {
  height: 32px; min-width: 74px; padding: 0 26px 0 9px; border: 1px solid var(--line); border-radius: 7px;
  background: rgba(255,255,255,.035); color: var(--text); font: inherit; font-size: 10px; cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted-2) 50%), linear-gradient(135deg, var(--muted-2) 50%, transparent 50%);
  background-position: calc(100% - 13px) 13px, calc(100% - 9px) 13px;
  background-size: 4px 4px, 4px 4px; background-repeat: no-repeat;
}
.results-sort select:hover { border-color: rgba(196,243,107,.28); }
.results-sort select:focus-visible { outline: 1px solid var(--lime); outline-offset: 2px; }
.results-toolbar-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
/* source filter is contextual to search results, not a permanent header row */
.source-filter { position: static; flex: 0 0 auto; }
.source-filter summary {
  display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 8px; color: var(--muted-2);
  font-size: 9px; letter-spacing: .04em; cursor: pointer; list-style: none;
}
.source-filter summary::-webkit-details-marker { display: none; }
.source-filter summary:hover, .source-filter[open] summary { color: var(--lime); border-color: rgba(196,243,107,.28); background: rgba(196,243,107,.06); }
.source-filter summary svg { width: 13px; height: 13px; }
.source-filter summary b { color: var(--lime); font-size: 8px; font-weight: 500; }
.source-pop {
  position: absolute; right: 0; top: calc(100% + 7px); z-index: 22; width: 264px; max-width: calc(100vw - 24px);
  padding: 12px; border: 1px solid var(--line-strong); border-radius: 12px;
  background: rgba(14,21,16,.985); box-shadow: 0 18px 50px rgba(0,0,0,.5); backdrop-filter: blur(6px);
}
.source-pop .srcfilter { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.source-pop .srcfilter label { padding: 5px 8px; font-size: 9px; }
.source-pop p { margin: 8px 0 0; color: var(--muted-2); font-size: 8px; line-height: 1.6; }
.results-toolbar-actions .ui-btn { height: 32px; }
.back-home { margin-bottom: 3px; }
.listhead, .row {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) 86px 58px 118px; gap: 12px; align-items: center; padding: 0 12px;
}
.listhead {
  height: 33px; color: var(--muted-2); font-size: 9px; letter-spacing: .13em; text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.list { min-height: 200px; }
.row {
  min-height: 70px; border-radius: 11px; cursor: pointer; border-bottom: 1px solid rgba(218,255,226,.045); transition: background .13s, color .13s;
  content-visibility: auto; contain-intrinsic-size: auto 70px;
}
.row:hover { background: rgba(255,255,255,.045); }
.row.playing { background: rgba(196,243,107,.075); }
.row.playing .t b, .row.playing .i { color: var(--lime); }
.i { color: var(--muted-2); font-size: 10px; text-align: center; font-variant-numeric: tabular-nums; }
.t { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cover {
  width: 46px; height: 46px; flex: 0 0 46px; border-radius: 8px;
  background: linear-gradient(135deg, #26372b, #111a14); background-size: cover; background-position: center;
  display: grid; place-items: center; color: rgba(196,243,107,.62); font-size: 14px; font-weight: 600; position: relative; overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
}
.cover .pv { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.35); color: #fff; opacity: 0; transition: .13s; font-size: 15px; }
.row:hover .cover .pv, .row.playing .cover .pv { opacity: 1; }
.t-body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.t-body b { font-size: 12.5px; font-weight: 570; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 5px; }
.t-body b .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-body small { color: var(--muted-2); font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-src { display: none; }
.badge { display: inline-block; flex: 0 0 auto; padding: 1px 5px; border-radius: 4px; border: 1px solid var(--line); color: var(--muted-2); font-size: 8.5px; line-height: 1.55; font-weight: 500; }
.badge.vip { color: var(--amber); border-color: rgba(255,199,115,.25); background: rgba(255,199,115,.06); }
.badge.multi { color: var(--blue); border-color: rgba(157,202,255,.2); background: rgba(157,202,255,.05); }
.s .badge { color: var(--muted); }
.d { color: var(--muted-2); font-size: 10px; font-variant-numeric: tabular-nums; }
.actions { display: flex; justify-content: flex-end; gap: 5px; opacity: .64; transition: .13s; }
.row:hover .actions, .row.playing .actions { opacity: 1; }
.actions button {
  width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 7px; background: rgba(255,255,255,.035); color: var(--muted-2);
  cursor: pointer; font-size: 11px; display: grid; place-items: center; transition: .13s;
}
.actions button:hover, .actions button.on { color: var(--lime); border-color: rgba(196,243,107,.3); background: rgba(196,243,107,.08); }
.empty { padding: 52px 16px; text-align: center; color: var(--muted-2); font-size: 11px; }
.empty strong { display: block; margin-bottom: 5px; color: var(--text); font-size: 14px; font-weight: 550; }
.sentinel { height: 1px; }
.row.sk { pointer-events: none; }
.sk-bar { display: block; height: 10px; border-radius: 5px; background: linear-gradient(90deg, rgba(255,255,255,.06) 25%, rgba(255,255,255,.13) 37%, rgba(255,255,255,.06) 63%); background-size: 400% 100%; animation: sk 1.3s ease-in-out infinite; }
.sk-bar.w60 { width: 58%; } .sk-bar.w50 { width: 46%; } .sk-bar.w40 { width: 34%; }
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ================= PLAYER ================= */
.player {
  position: fixed; left: var(--rail-w); right: 0; bottom: 0; height: var(--player-h); z-index: 35;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr) minmax(0, .9fr);
  align-items: center; gap: 20px; padding: 0 20px;
  border: 0; border-top: 1px solid rgba(218,255,226,.13); border-radius: 0;
  background: #0f1611; box-shadow: 0 -8px 24px rgba(0,0,0,.28);
}
.np { display: flex; align-items: center; gap: 10px; min-width: 0; cursor: pointer; border-radius: 12px; padding: 4px; }
.np:hover { background: rgba(255,255,255,.035); }
.np-cover {
  width: 46px; height: 46px; flex: 0 0 46px; border-radius: 10px; background: linear-gradient(135deg, #26382b, #101812);
  background-size: cover; background-position: center; display: grid; place-items: center; color: var(--muted); font-size: 16px;
  border: 1px solid rgba(255,255,255,.06); position: relative; overflow: hidden;
}
.np-cover.playing::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(196,243,107,.12), transparent); animation: scan 2.4s linear infinite; }
@keyframes scan { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.np-meta { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.np-titlerow { display: flex; align-items: center; gap: 6px; min-width: 0; }
.np-name { flex: 0 1 auto; max-width: calc(100% - 32px); min-width: 0; font-size: 13px; font-weight: 580; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-like {
  flex: 0 0 26px; width: 26px; height: 26px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; color: var(--muted-2);
  cursor: pointer; font-size: 13px; opacity: .55; transition: .14s;
}
.np-like:hover { opacity: 1; color: var(--text); background: rgba(255,255,255,.06); }
.np-like.on { opacity: 1; color: var(--lime); }
.np-sub { color: var(--muted-2); font-size: 9.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-expand { color: var(--muted-2); font-size: 11px; opacity: .6; margin-left: 3px; }
.np-center { display: flex; flex-direction: column-reverse; align-items: center; gap: 6px; min-width: 0; }
.np-btns { display: flex; align-items: center; gap: 12px; }
.np-btns button {
  width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 50%;
  background: transparent; color: var(--muted); font-size: 13px; cursor: pointer; transition: .13s;
}
.np-btns #play { width: 36px !important; height: 36px !important; font-size: 14px !important; }
.np-btns button:hover { color: var(--text); background: rgba(255,255,255,.06); }
button.ui-btn.np-fav-dock { display: none; }
.player .np-right .ui-btn.on,
.player .np-btns .ui-btn.on {
  color: var(--lime); background: rgba(196,243,107,.08); border-color: rgba(196,243,107,.3);
}
.np-play { width: 34px !important; height: 34px !important; background: var(--lime) !important; color: #18200f !important; font-size: 13px !important; font-weight: 700; box-shadow: 0 6px 18px rgba(196,243,107,.14); }
.np-play:hover { background: #d8ff94 !important; }
.np-progress { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 560px; }
.time { min-width: 31px; text-align: center; color: var(--muted-2); font-size: 9px; font-variant-numeric: tabular-nums; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; height: 3px; border-radius: 4px;
  background: linear-gradient(90deg, rgba(196,243,107,.7) var(--range-progress, 0%), rgba(255,255,255,.13) var(--range-progress, 0%));
  outline: none; cursor: pointer;
}
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.search-clear {
  flex: 0 0 24px; width: 24px; height: 24px; margin-right: 3px;
  display: grid; place-items: center; border: 0; border-radius: 7px;
  background: transparent; color: var(--muted-2); font-size: 14px; cursor: pointer;
}
.search-clear:hover { color: var(--lime); background: rgba(196,243,107,.08); }
.qp-item:focus-visible, .hotitem:focus-visible { outline: 1px solid var(--lime); outline-offset: 2px; }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 10px; height: 10px; border-radius: 50%; background: var(--text); border: 2px solid #172017; box-shadow: 0 0 0 1px rgba(255,255,255,.15); transition: .12s;
}
input[type="range"]:hover::-webkit-slider-thumb { background: var(--lime); transform: scale(1.15); }
#seek { flex: 1; }
.np-right { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.np-icon { width: 28px; height: 28px; border: 0; border-radius: 8px; background: transparent; color: var(--muted-2); cursor: pointer; font-size: 13px; display: grid; place-items: center; }
.np-icon:hover, .np-icon.on { color: var(--lime); background: rgba(196,243,107,.08); }
.lyric-icon { font-size: 10px; letter-spacing: .05em; border: 1px solid var(--line); }
#vol { width: 67px; }
.dl { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; color: var(--muted-2); text-decoration: none; font-size: 13px; }
.dl:hover { color: var(--lime); background: rgba(196,243,107,.08); }

/* ================= NOW PLAYING OVERLAY ================= */
.np-overlay { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 24px; }
.np-backdrop {
  position: absolute; inset: 0;
  background:
    radial-gradient(720px 520px at 50% 10%, rgba(196,243,107,.055), transparent 65%),
    rgba(3,6,4,.92);
}
.np-sheet {
  position: relative; width: min(1040px, 100%); max-height: 90dvh; overflow-y: auto;
  border: 1px solid rgba(218,255,226,.16); border-radius: 26px;
  background:
    radial-gradient(700px 600px at 14% 0%, rgba(196,243,107,.12), transparent 60%),
    linear-gradient(140deg, rgba(22,32,25,.96), rgba(8,13,10,.97));
  box-shadow: 0 40px 120px rgba(0,0,0,.65); padding: 20px 24px 24px;
}
.np-sheet-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.np-close { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.04); color: var(--muted); cursor: pointer; font-size: 12px; }
.np-close:hover { color: var(--lime); border-color: rgba(196,243,107,.3); }
.np-detail { display: grid; grid-template-columns: minmax(260px, .9fr) minmax(300px, 1.1fr); gap: 30px; min-height: 430px; }
.np-progress-large { display: flex; align-items: center; gap: 10px; width: 100%; margin: 14px 0 1px; }
.np-progress-large #npSeek { flex: 1; height: 4px; }
.np-progress-large .time { min-width: 34px; font-size: 10px; }
.np-art-column { display: flex; flex-direction: column; align-items: flex-start; }
.np-cover-large {
  width: min(100%, 360px); aspect-ratio: 1; height: auto; border-radius: 20px; background: linear-gradient(145deg, #2b4030, #0e1711);
  background-size: cover; background-position: center; display: grid; place-items: center; color: rgba(255,255,255,.35); font-size: 50px;
  border: 1px solid rgba(255,255,255,.08); box-shadow: 0 30px 70px rgba(0,0,0,.34);
}
.np-track { width: 100%; padding-top: 21px; }
.np-source { display: inline-block; color: var(--lime); font-size: 8px; letter-spacing: .15em; border: 1px solid rgba(196,243,107,.25); border-radius: 5px; padding: 3px 6px; }
.np-track h2 { margin: 12px 0 3px; font-size: 30px; letter-spacing: -.06em; line-height: 1.1; }
.np-track p { margin: 0; color: var(--muted); font-size: 12px; }
.np-album { margin-top: 7px; color: var(--muted-2); font-size: 9px; }
.np-controls-large { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.np-controls-large button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.035); color: var(--muted); cursor: pointer; font-size: 13px; }
.np-controls-large button:hover { color: var(--text); border-color: var(--line-strong); }
.np-play-large { width: 46px !important; height: 46px !important; background: var(--lime) !important; color: #17200f !important; border: 0 !important; font-weight: 700; box-shadow: 0 7px 22px rgba(196,243,107,.16); }
.np-lyrics-column { min-width: 0; display: flex; flex-direction: column; }
.lyrics-head { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 0 13px; border-bottom: 1px solid var(--line); }
.lyrics-head span { font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.lyrics-head small { color: var(--muted-2); font-size: 9px; }
.lyrics { position: relative; flex: 1; overflow-y: auto; min-height: 330px; max-height: 430px; padding: 20px 6px 30px; scroll-behavior: auto; overscroll-behavior: contain; }
.lyric-line { padding: 9px 0; color: rgba(242,247,239,.34); font-size: var(--lyric-size,14px); line-height: 1.7; transition: color .18s, transform .18s, opacity .18s, font-weight .18s; opacity: .92; }
.lyric-line.near { color: rgba(242,247,239,.68); }
.lyric-line.next { color: rgba(220,238,206,.55); }
.lyric-line.on { color: var(--lime); font-weight: 620; opacity: 1; transform: translateX(5px); text-shadow: 0 0 20px rgba(196,243,107,.16); }
.lyric-line.on.near { color: var(--lime); }
.lyric-empty { color: var(--muted-2); font-size: 11px; padding: 24px 0; }
body.lyrics-small { --lyric-size: 12.5px; --lyric-size-mobile: 11px; --lyric-size-compact: 10.5px; }
body.lyrics-large { --lyric-size: 17px; --lyric-size-mobile: 15px; --lyric-size-compact: 14px; }
body.no-cover-scan .np-cover.playing::after { display: none; }
.np-sheet-bottom { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; gap: 8px; margin-top: 10px; padding-top: 15px; border-top: 1px solid var(--line); }
.np-sheet-bottom button { width: 100%; height: 32px; padding: 0 8px; justify-content: center; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.035); color: var(--muted); font-size: 10px; cursor: pointer; }
.np-sheet-bottom button:hover, .np-sheet-bottom button.on { color: var(--lime); border-color: rgba(196,243,107,.25); }
#npOverlayMeta { grid-column: 1 / -1; margin-left: 0; color: var(--muted-2); font-size: 9.5px; letter-spacing: .02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.np-sheet-bottom .np-vol { grid-column: 4; justify-self: end; }
.np-vol { display: flex; align-items: center; gap: 6px; color: var(--muted-2); }
.np-vol svg { width: 13px; height: 13px; }
.np-vol input { width: 76px; height: 3px; }
.np-pop {
  position: absolute; z-index: 4; right: 24px; bottom: 60px; width: 154px; padding: 7px;
  border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(17, 25, 20, .97);
  box-shadow: 0 18px 50px rgba(0,0,0,.5); display: flex; flex-direction: column; gap: 2px;
}
.np-pop-title { padding: 6px 8px 5px; color: var(--muted-2); font-size: 8px; letter-spacing: .14em; }
.np-pop button { height: 29px; padding: 0 9px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font-size: 10px; text-align: left; cursor: pointer; }
.np-pop button:hover, .np-pop button.on { background: var(--lime-dim); color: var(--lime); }
.quality-pop { width: 194px; bottom: 108px; }
.quality-pop .q-option { height: auto; min-height: 40px; padding: 7px 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.quality-pop .q-option b { color: var(--text); font-size: 10px; font-weight: 600; }
.quality-pop .q-option small { color: var(--muted-2); font-size: 8px; line-height: 1.35; }
.quality-pop .q-option.on b { color: var(--lime); }
.np-pop-note { margin-top: 3px; padding: 5px 8px 3px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 8px; line-height: 1.4; }

/* ================= QUEUE / TOAST / MODAL ================= */
.queue-panel {
  position: fixed; right: 20px; bottom: calc(var(--player-h) + 25px); width: 334px; max-height: 62vh; z-index: 45;
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid rgba(218,255,226,.16); border-radius: 16px;
  background: rgba(14,21,16,.97); box-shadow: var(--shadow); backdrop-filter: blur(8px);
}
.qp-h { display: flex; justify-content: space-between; align-items: center; padding: 13px 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10.5px; letter-spacing: .06em; }
.qp-h small { margin-left: 4px; color: var(--muted-2); font-size: 9px; }
.qp-h button { border: 0; background: transparent; color: var(--muted-2); cursor: pointer; font-size: 12px; }
.qp-h button:hover { color: var(--danger); }
.qp-list { overflow-y: auto; padding: 5px; min-height: 40px; }
.qp-item { height: 48px; display: flex; align-items: center; gap: 9px; padding: 8px; border-radius: 8px; cursor: pointer; color: var(--muted); font-size: 11px; overflow: hidden; }
.qp-spacer { pointer-events: none; }
.qp-item:hover { color: var(--text); background: rgba(255,255,255,.045); }
.qp-item.on { color: var(--lime); background: rgba(196,243,107,.08); }
.qp-i { width: 17px; color: var(--muted-2); font-size: 9px; text-align: center; }
.qp-t { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 1px; }
.qp-t span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qp-t small { color: var(--muted-2); font-size: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qp-item .qp-rm { flex: 0 0 auto; display: grid; place-items: center; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 5px; background: transparent; color: var(--muted-2); cursor: pointer; opacity: .55; }
.qp-item .qp-rm:hover { color: var(--danger); background: rgba(255,120,120,.08); opacity: 1; }
.qp-item .qp-rm svg { width: 11px; height: 11px; }
.qp-clear { height: 34px; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--muted-2); font-size: 10px; cursor: pointer; }
.qp-clear:hover { color: var(--danger); }
/* ================= ONBOARDING ================= */
.onboard {
  position: fixed; inset: 0; z-index: 96; display: grid; place-items: center;
  padding: 24px; background: rgba(3,7,5,.80); backdrop-filter: blur(16px);
}
.onb-card {
  position: relative; width: min(560px, 100%); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px);
  overflow: auto; padding: 24px 26px 20px; border: 1px solid rgba(196,243,107,.18); border-radius: 26px;
  background:
    radial-gradient(620px 340px at 100% 0%, rgba(196,243,107,.10), transparent 64%),
    radial-gradient(480px 300px at 0% 100%, rgba(99,144,255,.06), transparent 68%),
    #0b120d;
  box-shadow: 0 32px 100px rgba(0,0,0,.64); animation: loginIn .28s cubic-bezier(.2,.75,.25,1);
  overscroll-behavior: contain;
}
.onb-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.onb-brand { display: flex; align-items: center; gap: 9px; color: var(--muted-2); font-size: 9px; letter-spacing: .11em; }
.onb-mark { display: flex; align-items: flex-end; gap: 2px; width: 25px; height: 21px; padding: 4px; border: 1px solid rgba(196,243,107,.25); border-radius: 6px; background: rgba(196,243,107,.08); }
.onb-mark i { display: block; width: 3px; border-radius: 2px; background: var(--lime); }
.onb-mark i:nth-child(1) { height: 6px; opacity: .65; }
.onb-mark i:nth-child(2) { height: 11px; }
.onb-mark i:nth-child(3) { height: 8px; opacity: .8; }
.onb-skip { border: 0; background: transparent; color: var(--muted-2); font: inherit; font-size: 10px; cursor: pointer; padding: 5px 2px; }
.onb-skip:hover { color: var(--lime); }
.onb-progress { display: flex; gap: 5px; margin: 15px 0 19px; }
.onb-progress i { width: 34px; height: 2px; border-radius: 3px; background: var(--line); transition: background .2s; }
.onb-progress i.on { background: var(--lime); }
.onb-slide { display: none; }
.onb-slide.on { display: block; animation: onbIn .3s cubic-bezier(.2,.75,.25,1); }
.onb-slide .sec-kicker { color: var(--lime-soft); }
.onb-slide h2 { margin: 12px 0 10px; font-size: 38px; line-height: 1.05; letter-spacing: -.065em; font-weight: 720; }
.onb-slide h2 em { color: var(--lime); font-style: normal; font-weight: 680; }
.onb-br { display: none; }
.onb-slide p { margin: 0; max-width: 470px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.onb-demo { margin-top: 18px; padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(135deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); }
.onb-card svg { width: 14px; height: 14px; stroke-width: 1.7; }
.onb-demo-bar { display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 10px; border: 1px solid rgba(196,243,107,.22); border-radius: 9px; background: rgba(200,255,213,.035); color: var(--muted-2); }
.onb-demo-bar svg { color: var(--muted); }
.onb-demo-bar span { flex: 1; color: var(--text); font-size: 11px; }
.onb-demo-bar b { display: grid; place-items: center; height: 28px; padding: 0 14px; border-radius: 6px; background: var(--lime); color: #081008; font-size: 10px; font-weight: 620; }
.onb-demo-sources { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.onb-demo-sources span { padding: 4px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted-2); font-size: 9px; }
.onb-demo-player { display: flex; align-items: center; gap: 11px; }
.onb-demo-cover { flex: 0 0 46px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 9px; color: var(--lime); background: linear-gradient(135deg, #314b36, #0d1711); }
.onb-demo-cover svg { width: 18px; height: 18px; }
.onb-demo-info { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.onb-demo-info small { color: var(--muted-2); font-size: 8px; letter-spacing: .12em; }
.onb-demo-info b { font-size: 13px; font-weight: 570; }
.onb-demo-info span { color: var(--muted-2); font-size: 10px; }
.onb-demo-meter { display: flex; align-items: flex-end; gap: 2px; height: 26px; opacity: .8; }
.onb-demo-meter i { width: 2px; border-radius: 2px; background: var(--lime); }
.onb-demo-meter i:nth-child(1) { height: 9px; opacity: .55; }
.onb-demo-meter i:nth-child(2) { height: 18px; }
.onb-demo-meter i:nth-child(3) { height: 13px; opacity: .7; }
.onb-demo-meter i:nth-child(4) { height: 24px; }
.onb-demo-meter i:nth-child(5) { height: 16px; opacity: .75; }
.onb-demo-play { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: #081008; }
.onb-demo-play svg { width: 15px; height: 15px; }
.onb-demo-list { padding-top: 10px; padding-bottom: 7px; }
.onb-demo-list-head { display: flex; align-items: center; gap: 7px; padding: 0 4px 9px; border-bottom: 1px solid var(--line); }
.onb-demo-list-head b { flex: 1; font-size: 11.5px; font-weight: 560; }
.onb-demo-list-head small { color: var(--muted-2); font-size: 9px; }
.onb-demo-list-head span { display: flex; gap: 3px; color: var(--lime); }
.onb-demo-list-head svg { width: 11px; height: 11px; }
.onb-demo-track { display: flex; align-items: center; gap: 9px; padding: 7px 4px; border-bottom: 1px solid rgba(218,255,226,.05); }
.onb-demo-track:last-child { border-bottom: 0; }
.onb-demo-track > span { width: 16px; color: var(--muted-2); font-size: 9px; }
.onb-demo-track b { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10.5px; font-weight: 500; }
.onb-demo-track small { color: var(--muted-2); font-size: 9px; }
.onb-demo-track svg { color: var(--lime); opacity: .65; }
.onb-actions { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; margin-top: 15px; padding-top: 14px; border-top: 1px solid var(--line); }
.onb-actions .ui-btn { height: 35px; }
.onb-step { color: var(--muted-2); font-size: 9px; letter-spacing: .1em; text-align: center; }
#onbBack { justify-self: start; }
#onbNext { justify-self: end; }
@keyframes onbIn { from { opacity: .35; transform: translateY(9px); } to { opacity: 1; transform: none; } }
@keyframes onbUp { from { opacity: .55; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.toast {
  position: fixed; left: 50%; bottom: 105px; z-index: 80; transform: translate(-50%, 10px);
  padding: 9px 15px; border: 1px solid var(--line-strong); border-radius: 9px; background: rgba(20,29,22,.96); color: var(--text); font-size: 11px;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .2s; white-space: nowrap;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { border-color: rgba(255,140,140,.35); color: #ffb4b4; }
/* ================= SHARE CARD ================= */
.share-overlay {
  position: fixed; inset: 0; z-index: 75; display: flex; align-items: center; justify-content: center;
  padding: 22px; background: rgba(3, 6, 4, .78); backdrop-filter: blur(12px) saturate(120%);
}
.share-backdrop { position: absolute; inset: 0; }
.share-sheet {
  position: relative; width: min(420px, 100%); max-height: calc(100dvh - 36px); overflow-y: auto;
  padding: 19px; border: 1px solid rgba(196, 243, 107, .18); border-radius: 22px;
  background:
    radial-gradient(420px 260px at 100% 0%, rgba(196,243,107,.09), transparent 70%),
    linear-gradient(165deg, #101a13 0%, #0a110d 72%, #080c09 100%);
  box-shadow: 0 30px 100px rgba(0,0,0,.66), 0 0 0 1px rgba(0,0,0,.2) inset;
  animation: loginIn .22s cubic-bezier(.2,.75,.25,1);
  scrollbar-width: thin;
}
.share-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.share-head h2 { margin: 6px 0 0; font-size: 26px; line-height: 1.1; letter-spacing: -.055em; font-weight: 640; }
.share-head .sec-kicker { color: var(--lime); }
.share-preview-wrap {
  margin-top: 14px; border-radius: 15px; overflow: hidden; background: #070b08;
  border: 1px solid rgba(218,255,226,.12); box-shadow: 0 12px 34px rgba(0,0,0,.34);
}
#shareCanvas { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; background: #0b130e; }
#sharePoster { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; background: #0b130e; }
.share-hint { margin: 11px 1px 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.share-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 13px; }
.share-actions .ui-btn { height: 36px; }
.share-actions #shareDownload { flex: 1 1 140px; }
.share-actions #shareNative { flex: 1 1 120px; }
.share-actions #shareCopy { flex: 0 0 auto; padding: 0 10px; }
.share-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 13px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 8px; letter-spacing: .12em; }
.share-foot span:last-child { color: rgba(196,243,107,.6); }

.modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 18px; background: rgba(3,5,4,.7); backdrop-filter: blur(10px); }
.pl-picker-card {
  width: min(460px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto;
  padding: 20px; border: 1px solid rgba(196,243,107,.16); border-radius: 20px;
  background: #0e1711; box-shadow: 0 26px 80px rgba(0,0,0,.58); animation: loginIn .24s cubic-bezier(.2,.75,.25,1);
}
.pl-picker-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pl-picker-head h3 { margin: 4px 0 0; font-size: 25px; letter-spacing: -.055em; }
.pl-picker-song { margin: 10px 0 14px; color: var(--muted-2); font-size: 10px; line-height: 1.6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-picker-list { display: flex; flex-direction: column; gap: 6px; max-height: 270px; overflow: auto; padding-right: 2px; }
.pl-picker-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.025); color: var(--text); text-align: left; cursor: pointer; font: inherit; }
.pl-picker-item:hover { border-color: rgba(196,243,107,.3); background: rgba(196,243,107,.05); }
.pl-picker-item b { min-width: 0; font-size: 12px; font-weight: 560; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-picker-item small { flex: 0 0 auto; color: var(--muted-2); font-size: 9px; white-space: nowrap; }
.pl-picker-empty { padding: 14px; border: 1px dashed rgba(196,243,107,.16); border-radius: 10px; color: var(--muted-2); font-size: 10px; line-height: 1.6; }
.pl-picker-new { display: flex; align-items: center; gap: 7px; margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--line); }
.pl-picker-new .pl-input { margin: 0; flex: 1; }
.pl-picker-new .ui-btn { flex: 0 0 auto; height: 34px; }
.pl-rename-label { display: block; margin: 18px 0 8px; color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.pl-rename-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line); }
.import-card .pl-picker-song { white-space: normal; }
.import-hint { margin: 12px 0 0; color: var(--muted-2); font-size: 10px; line-height: 1.6; }
.import-hint.err { color: #ff8c7a; }
.lib-cover-import { display: grid; place-items: center; background: radial-gradient(circle at 70% 20%, rgba(196,243,107,.17), transparent 58%), linear-gradient(145deg, #1a2720, #0b120e); color: var(--lime); font-size: 24px; }
.lib-import-row .lib-sub { color: var(--lime); }

.login-modal {
  padding: clamp(14px, 3vw, 42px);
  background:
    radial-gradient(680px 460px at 50% 26%, rgba(196,243,107,.095), transparent 64%),
    rgba(3,6,4,.88);
  backdrop-filter: blur(10px) saturate(120%);
}
.login-shell {
  width: min(920px, 100%); max-height: calc(100dvh - 36px);
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(390px, 1.08fr);
  border: 1px solid rgba(196,243,107,.15); border-radius: 26px; overflow: hidden;
  background: #0d1510;
  box-shadow: 0 34px 120px rgba(0,0,0,.62), 0 0 0 1px rgba(0,0,0,.18) inset;
  animation: loginIn .28s cubic-bezier(.2,.75,.25,1);
}
@keyframes loginIn { from { opacity: .4; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }
.login-visual {
  position: relative; overflow: hidden; min-height: 520px; padding: 32px 34px 26px;
  display: flex; flex-direction: column; justify-content: space-between;
  border-right: 1px solid rgba(218,255,226,.08);
  background:
    radial-gradient(420px 380px at 84% 10%, rgba(196,243,107,.17), transparent 62%),
    radial-gradient(360px 420px at 10% 96%, rgba(102,148,255,.08), transparent 64%),
    linear-gradient(160deg, #17281c 0%, #0c140f 62%, #080d0a 100%);
  isolation: isolate;
}
.login-visual::before {
  content: "03"; position: absolute; right: -12px; bottom: -78px; z-index: 0;
  color: rgba(196,243,107,.045); font-size: 300px; line-height: .8; font-weight: 780; letter-spacing: -.12em;
  pointer-events: none;
}
.login-orbit {
  position: absolute; z-index: 0; width: 440px; height: 440px; right: -154px; top: 22px; border-radius: 50%;
  border: 1px solid rgba(196,243,107,.11);
  background: repeating-radial-gradient(circle at center, transparent 0 56px, rgba(196,243,107,.045) 57px 58px);
  box-shadow: inset 0 0 90px rgba(196,243,107,.028), 0 0 120px rgba(196,243,107,.035);
}
.login-brandline { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; }
.login-brandline .brand-mark { width: 34px; height: 34px; flex-basis: 34px; }
.login-brand-name { font-size: 15px; font-weight: 720; letter-spacing: -.045em; }
.login-brand-name span { color: var(--lime); }
.login-brandline em { margin-left: auto; padding: 4px 6px; border: 1px solid rgba(196,243,107,.2); border-radius: 5px; color: var(--muted-2); font-size: 7.5px; font-style: normal; letter-spacing: .2em; }
.login-visual-copy { position: relative; z-index: 2; max-width: 286px; margin: 78px 0 42px; }
.login-kicker { color: var(--lime); font-size: 8px; letter-spacing: .22em; text-transform: uppercase; }
.login-visual-copy h2 { margin: 18px 0 16px; font-size: 39px; line-height: 1.06; letter-spacing: -.075em; font-weight: 720; }
.login-visual-copy h2 em { color: var(--lime); font-style: normal; font-weight: 660; }
.login-visual-copy p { margin: 0; color: var(--muted); font-size: 11.5px; line-height: 1.9; }
.login-visual-foot {
  position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  padding-top: 16px; border-top: 1px solid rgba(218,255,226,.11); color: var(--muted-2); font-size: 8px; letter-spacing: .15em;
}
.login-wave { display: flex; align-items: flex-end; gap: 3px; height: 24px; }
.login-wave i { display: block; width: 2px; border-radius: 2px; background: var(--lime); opacity: .38; }
.login-wave i:nth-child(1) { height: 7px; }
.login-wave i:nth-child(2) { height: 14px; }
.login-wave i:nth-child(3) { height: 21px; }
.login-wave i:nth-child(4) { height: 11px; }
.login-wave i:nth-child(5) { height: 18px; }
.login-wave i:nth-child(6) { height: 6px; opacity: .22; }

.login-panel {
  min-width: 0; max-height: calc(100dvh - 36px); overflow-y: auto; padding: 32px 38px 26px;
  display: flex; flex-direction: column; gap: 13px;
  background: linear-gradient(168deg, rgba(18,27,21,.98), rgba(10,15,12,.985));
}
.login-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.login-head h3 { margin: 7px 0 0; font-size: 27px; line-height: 1.08; letter-spacing: -.055em; font-weight: 690; }
.login-close {
  width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.03); color: var(--muted);
  font-size: 12px; cursor: pointer; transition: .15s;
}
.login-close:hover { color: var(--lime); border-color: rgba(196,243,107,.3); background: rgba(196,243,107,.07); }
.login-note { margin: 0; max-width: 350px; color: var(--muted); font-size: 10.5px; line-height: 1.75; }
.login-tabs { display: flex; gap: 26px; margin: 2px 0 1px; border-bottom: 1px solid var(--line); }
.login-tabs button {
  position: relative; padding: 0 0 10px; border: 0; background: none; color: var(--muted-2);
  font-size: 11px; letter-spacing: .08em; cursor: pointer; transition: .15s;
}
.login-tabs button:hover { color: var(--text); }
.login-tabs button.on { color: var(--text); }
.login-tabs button.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: var(--lime); }
.login-field { display: flex; flex-direction: column; gap: 7px; }
.login-field label { color: var(--muted-2); font-size: 8.5px; letter-spacing: .16em; text-transform: uppercase; }
.login-input {
  display: flex; align-items: center; gap: 9px; min-height: 45px; padding: 0 11px;
  border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.025); transition: .16s;
}
.login-input:focus-within {
  border-color: rgba(196,243,107,.38); background: rgba(196,243,107,.038);
  box-shadow: 0 0 0 3px rgba(196,243,107,.055);
}
.login-input > span { flex: 0 0 13px; color: var(--lime); font-size: 11px; opacity: .75; text-align: center; }
.login-input input {
  flex: 1; min-width: 0; height: 43px; padding: 0; border: 0; background: transparent;
  color: var(--text); outline: none; font-size: 12.5px;
}
.login-input input::placeholder { color: var(--muted-2); }
.login-eye { flex: 0 0 auto; padding: 4px 2px; border: 0; background: none; color: var(--muted-2); font-size: 9px; cursor: pointer; }
.login-eye:hover { color: var(--lime); }

.login-captcha { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 1px; }
.login-captcha #captchaQuestion { color: var(--lime); font-size: 12px; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.login-captcha-refresh { color: var(--muted-2); font-size: 9px; white-space: nowrap; }
.login-field small { color: var(--muted-2); font-size: 8.5px; line-height: 1.5; }
.login-msg { min-height: 16px; margin: -2px 0 -2px; color: #ffb4b4; font-size: 9.5px; line-height: 1.6; }
.login-msg.ok { color: var(--lime); }
.login-submit {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 47px; padding: 0 15px 0 18px;
  border: 0; border-radius: 12px; background: linear-gradient(100deg, #d8ff92, #bde963); color: #15200f;
  font-size: 12.5px; font-weight: 760; cursor: pointer; transition: .16s;
  box-shadow: 0 12px 30px rgba(196,243,107,.12);
}
.login-submit:hover { background: linear-gradient(100deg, #e3ffab, #c8f377); }
.login-submit:disabled { opacity: .6; cursor: wait; transform: none; }
.login-arrow { font-size: 19px; line-height: 1; font-weight: 500; }
.login-secondary { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.login-skip { padding: 0; border: 0; background: none; color: var(--muted-2); font-size: 9.5px; cursor: pointer; }
.login-skip:hover { color: var(--text); }
.login-secondary span { color: var(--muted-2); font-size: 8.5px; letter-spacing: .02em; }
.login-footline {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: auto; padding-top: 15px; border-top: 1px solid rgba(218,255,226,.08);
  color: var(--muted-2); font-size: 7.5px; letter-spacing: .16em;
}

/* ================= COMMUNITY ================= */
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.page-heading h1 { font-size: clamp(29px, 3.4vw, 45px); letter-spacing: -.065em; line-height: 1.08; }
.page-heading h1 em { color: var(--lime); font-style: normal; }
.page-heading > p { max-width: 380px; margin: 0 0 3px; color: var(--muted); font-size: 11px; line-height: 1.8; text-align: right; }

/* ================= MEMBERSHIP ================= */
.pricing-shell { max-width: 1120px; margin: 0 auto; }
.pricing-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 16px; }
.pricing-heading h1 { max-width: 560px; margin: 0; font-size: clamp(28px, 2.9vw, 38px); line-height: 1.2; letter-spacing: -.03em; }
.pricing-heading p { max-width: 400px; margin: 0 0 2px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.member-status {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--panel-soft);
}
.member-status-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.member-status-main b { font-size: 13px; font-weight: 600; }
.member-status-main small { color: var(--muted); font-size: 12px; line-height: 1.5; }
.member-status-side { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.member-pill { padding: 4px 8px; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--lime); font-size: 11px; }
.member-status button { min-height: 40px; padding: 0 12px; font-size: 12px; }
/* 兑换码：一个输入框 + 一个按钮，不写说明 */
.redeem-form { display: flex; gap: 8px; margin: 0 0 12px; }
.redeem-form input {
  flex: 1; min-width: 0; height: 42px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--panel-soft); color: var(--text);
  font: inherit; font-size: 13px; letter-spacing: .06em;
}
.redeem-form input::placeholder { color: var(--muted-2); letter-spacing: 0; }
.redeem-form input:focus { outline: none; border-color: var(--line-strong); }
.redeem-form .ui-btn { flex: 0 0 auto; height: 42px; padding: 0 18px; font-size: 13px; }
.redeem-msg { margin: -4px 0 12px; font-size: 12px; line-height: 1.5; }
.redeem-msg.ok { color: var(--lime); }
.redeem-msg.err { color: var(--danger); }
.redeem-msg.warn { color: var(--muted); }
.pricing-preview {
  display: block; margin: 0 0 14px; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: 9px; background: var(--panel-soft);
  color: var(--muted); font-size: 13px; line-height: 1.6;
}
.pricing-preview b { color: var(--text); font-weight: 650; }
.pricing-swipe-hint { display: none; margin: 0 2px 8px; color: var(--muted); font-size: 12px; text-align: right; }
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 18px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--panel-soft); transition: border-color .18s;
}
.plan:hover { border-color: var(--line-strong); }
.plan.best { border-color: var(--lime); }
.plan.current { box-shadow: inset 0 0 0 1px var(--line-strong); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 26px; }
.plan h3 { margin: 0; color: var(--text); font-size: 16px; font-weight: 650; }
.plan-badge { flex: 0 0 auto; padding: 3px 8px; border: 1px solid var(--line-strong); border-radius: 6px; font-size: 12px; line-height: 1.4; letter-spacing: 0; }
.plan-badge--primary { border-color: var(--lime); background: var(--lime); color: #17200f; font-weight: 700; }
.plan-badge--save { background: transparent; color: var(--muted); font-weight: 550; }
.plan .price { display: flex; align-items: baseline; color: var(--lime); line-height: 1; font-variant-numeric: tabular-nums; }
.plan .price-currency { flex: 0 0 auto; margin-right: 4px; font-size: 16px; font-weight: 650; }
.plan .price-number { flex: 0 0 auto; font-size: 32px; font-weight: 760; letter-spacing: 0; }
.plan .price small { flex: 0 0 auto; margin-left: 6px; color: var(--muted); font-size: 13px; font-weight: 450; letter-spacing: 0; white-space: nowrap; }
.plan .plan-per { min-height: 20px; margin-top: -4px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.plan .plan-per b { color: var(--text); font-weight: 600; }
.plan ul { display: flex; flex: 1; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.plan li { position: relative; padding-left: 18px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.plan li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--lime); font-size: 12px; font-weight: 700; }
.plan li.plan-perk-lead { padding-left: 0; color: var(--text); font-weight: 600; }
.plan li.plan-perk-lead::before { content: none; }
.plan li.plan-perk-miss { margin-top: auto; padding-top: 6px; color: var(--muted); }
.plan li.plan-perk-miss::before { content: "—"; color: var(--muted); font-weight: 500; }
.plan .plan-action { width: 100%; min-height: 44px; height: 44px; margin-top: auto; padding: 0 12px; border-radius: 8px; font-size: 13px; font-weight: 650; cursor: pointer; }
.plan.best .plan-action { border-color: var(--lime); background: var(--lime); color: #17200f; }
.plan.best .plan-action:hover { filter: brightness(1.05); }
.pricing-compare, .pricing-faq { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); scroll-margin-top: 14px; }
.pricing-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.pricing-section-head h2 { margin: 0; font-size: 22px; line-height: 1.25; letter-spacing: -.02em; }
.pricing-section-head p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.pricing-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--panel-soft); }
#pricingCompare { width: 100%; min-width: 640px; border-collapse: collapse; color: var(--text); font-size: 14px; }
#pricingCompare th, #pricingCompare td { padding: 13px 16px; border-bottom: 1px solid var(--line); line-height: 1.65; transition: background-color .18s; }
#pricingCompare thead th { background: var(--panel); color: var(--muted); font-size: 13px; font-weight: 650; }
#pricingCompare thead th:first-child { position: sticky; left: 0; z-index: 3; box-shadow: 1px 0 0 var(--line); }
#pricingCompare thead th:not(:first-child), #pricingCompare td { text-align: center; }
#pricingCompare tbody th { position: sticky; left: 0; z-index: 2; width: 34%; background: var(--panel-soft); box-shadow: 1px 0 0 var(--line); font-weight: 550; text-align: left; }
#pricingCompare tr:last-child th, #pricingCompare tr:last-child td { border-bottom: 0; }
#pricingCompare.highlight-plus [data-tier="plus"], #pricingCompare.highlight-pro [data-tier="pro"] { background: rgba(195,213,152,.13); }
.compare-yes { color: var(--lime); font-weight: 750; }
.compare-no { color: var(--muted); }
.pricing-faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; }
.pricing-faq details { padding: 0 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel-soft); }
.pricing-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; color: var(--text); font-size: 14px; font-weight: 600; line-height: 1.5; list-style: none; cursor: pointer; }
.pricing-faq summary::-webkit-details-marker { display: none; }
.pricing-faq summary::after { content: "+"; flex: 0 0 auto; color: var(--muted); font-size: 19px; font-weight: 400; }
.pricing-faq details[open] summary::after { content: "−"; }
.pricing-faq details p { margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.8; }

/* ================= ME / LISTENING PROFILE ================= */
.me-page { scroll-behavior: smooth; }
.me-shell { max-width: 1120px; margin: 0 auto; }
.me-guest {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 26px; align-items: center; min-height: 370px; padding: 34px 36px;
  border: 1px solid var(--line-strong); border-radius: 26px;
  background:
    radial-gradient(560px 400px at 92% 2%, rgba(196,243,107,.14), transparent 68%),
    radial-gradient(500px 380px at 10% 108%, rgba(109,151,255,.10), transparent 68%),
    linear-gradient(135deg, rgba(27,38,30,.9), rgba(9,14,11,.94));
}
.me-guest::after {
  content: "03"; position: absolute; right: 24px; bottom: -34px; color: rgba(196,243,107,.055);
  font-size: 160px; line-height: 1; font-weight: 800; letter-spacing: -.1em; pointer-events: none;
}
.me-guest-copy { position: relative; z-index: 1; }
.me-guest-copy h1 { margin: 15px 0 12px; font-size: clamp(32px, 4vw, 48px); line-height: 1.02; letter-spacing: -.075em; font-weight: 650; }
.me-guest-copy h1 em { color: var(--lime); font-style: normal; }
.me-guest-copy p { max-width: 440px; margin: 0 0 22px; color: var(--muted); font-size: 11px; line-height: 1.85; }
.me-guest-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.me-guest-panel {
  position: relative; z-index: 1; align-self: stretch; display: flex; flex-direction: column; justify-content: center;
  padding-left: 26px; border-left: 1px solid var(--line);
}
.me-ghost-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.me-ghost-row span { color: var(--muted-2); font-size: 9px; letter-spacing: .06em; }
.me-ghost-row b { color: rgba(242,247,239,.2); font-size: 23px; font-weight: 600; letter-spacing: -.05em; }
.me-ghost-note { padding-top: 14px; color: var(--lime); font-size: 9px; letter-spacing: .12em; }

.me-guest-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 13px; }
.me-guest-note { padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.022); min-width: 0; }
.me-guest-note span { color: var(--lime); font-size: 8px; letter-spacing: .1em; }
.me-guest-note b { display: block; margin-top: 7px; font-size: 14px; font-weight: 560; letter-spacing: -.03em; }
.me-guest-note small { display: block; margin-top: 4px; color: var(--muted-2); font-size: 9px; line-height: 1.65; }
.me-profile { display: flex; flex-direction: column; gap: 13px; }
.me-hero {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 18px;
  padding: 22px 24px; border: 1px solid var(--line-strong); border-radius: 22px;
  background:
    radial-gradient(460px 240px at 9% 0%, rgba(196,243,107,.12), transparent 70%),
    linear-gradient(135deg, rgba(26,37,29,.92), rgba(10,15,12,.9));
}
.me-hero::after { content: "LISTENER"; position: absolute; right: 18px; bottom: -8px; color: rgba(196,243,107,.05); font-size: 64px; font-weight: 800; letter-spacing: -.06em; pointer-events: none; }
.me-avatar {
  position: relative; z-index: 1; width: 68px; height: 68px; flex: 0 0 68px; display: grid; place-items: center;
  overflow: hidden;
  border: 1px solid rgba(196,243,107,.26); border-radius: 50%; color: var(--lime);
  background: radial-gradient(circle at 36% 26%, rgba(196,243,107,.22), rgba(20,31,23,.9) 66%);
  box-shadow: inset 0 0 0 5px rgba(196,243,107,.035), 0 0 0 7px rgba(196,243,107,.025);
  font-size: 28px; font-weight: 700; letter-spacing: -.05em;
}
.me-avatar.has-image { padding: 0; background: #f2f1e8; }
.me-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.me-id { position: relative; z-index: 1; min-width: 0; flex: 1; }
.me-id h1 { margin: 5px 0 3px; font-size: 31px; line-height: 1.08; letter-spacing: -.06em; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-id p { margin: 0; color: var(--muted); font-size: 9.5px; }
.me-hero-actions { position: relative; z-index: 1; margin-left: auto; flex: 0 0 auto; display: flex; align-items: center; gap: 8px; }
.me-tier {
  position: relative; z-index: 1; flex: 0 0 auto; padding: 6px 10px; border: 1px solid rgba(196,243,107,.26);
  border-radius: 999px; color: var(--lime); background: rgba(196,243,107,.075); font-size: 9px; letter-spacing: .14em;
}
.me-settings-btn { min-height: 30px; padding: 0 10px; gap: 5px; color: var(--muted); font-size: 9px; letter-spacing: .02em; }
.me-settings-btn:hover { color: var(--lime); border-color: rgba(196,243,107,.24); background: rgba(196,243,107,.055); }
.me-settings-btn svg { width: 13px; height: 13px; }
.me-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.me-stat {
  min-width: 0; padding: 15px 15px 14px; border: 1px solid var(--line); border-radius: 14px;
  background: rgba(255,255,255,.024); position: relative; overflow: hidden;
}
.me-stat:first-child { border-color: rgba(196,243,107,.22); background: linear-gradient(160deg, rgba(196,243,107,.085), rgba(255,255,255,.02)); }
.me-stat span { display: block; color: var(--muted-2); font-size: 8px; letter-spacing: .12em; }
.me-stat b { display: block; margin-top: 7px; color: var(--text); font-size: 25px; line-height: 1; letter-spacing: -.06em; font-weight: 650; }
.me-stat:first-child b { color: var(--lime); }
.me-stat small { display: block; margin-top: 6px; color: var(--muted-2); font-size: 8.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(220px, .65fr); gap: 13px; }
.me-panel { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.024); min-width: 0; }
.me-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.me-panel-head h2 { margin: 4px 0 0; font-size: 21px; line-height: 1.1; letter-spacing: -.055em; font-weight: 620; }
.me-panel-head small { max-width: 50%; color: var(--muted-2); font-size: 8.5px; text-align: right; line-height: 1.5; }
.me-bars { display: flex; align-items: flex-end; gap: 7px; height: 146px; padding: 18px 2px 0; }
.me-bar { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; }
.me-bar-track { width: 100%; flex: 1; min-height: 0; display: flex; align-items: flex-end; }
.me-bar .bar { width: 100%; min-height: 3px; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, rgba(196,243,107,.85), rgba(196,243,107,.16)); box-shadow: 0 0 16px rgba(196,243,107,.06); transition: height .35s ease; }
.me-bar.today .bar { background: linear-gradient(180deg, var(--lime), rgba(196,243,107,.3)); }
.me-bar small { color: var(--muted-2); font-size: 8px; letter-spacing: .03em; }
.me-bar.today small { color: var(--lime); }
.me-bar b { color: var(--muted-2); font-size: 7.5px; font-weight: 450; }
.me-footnote { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 8.5px; line-height: 1.65; }
.me-member-card { display: flex; flex-direction: column; }
.me-member-body { flex: 1; padding: 15px 0 12px; }
.me-member-tier { color: var(--lime); font-size: 25px; line-height: 1; letter-spacing: -.05em; font-weight: 650; }
.me-member-meta { margin-top: 9px; color: var(--muted); font-size: 9px; line-height: 1.7; }
.me-member-meta b { color: var(--text); font-weight: 550; }
.me-member-perks { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.me-member-perks li { position: relative; padding-left: 12px; color: var(--muted-2); font-size: 8px; line-height: 1.5; }
.me-member-perks li::before { content: "✓"; position: absolute; left: 0; color: var(--lime); font-size: 8px; }
.me-upgrade { width: 100%; height: 33px; margin-top: auto; border: 1px solid rgba(196,243,107,.26); border-radius: 8px; background: rgba(196,243,107,.09); color: var(--lime); font-size: 9.5px; cursor: pointer; }
.me-upgrade:hover { background: var(--lime); color: #17200f; }
.me-recent-panel { margin-top: 0; }
.me-recent { display: grid; grid-template-columns: 1fr 1fr; gap: 1px 18px; margin-top: 8px; }
.me-recent-row { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 0; border-bottom: 1px solid var(--line); cursor: pointer; text-align: left; color: inherit; background: transparent; border-left: 0; border-right: 0; border-top: 0; }
.me-recent-row:hover .me-recent-name { color: var(--lime); }
.me-recent-cover { width: 31px; height: 31px; flex: 0 0 31px; border-radius: 7px; background: linear-gradient(145deg, #2b4030, #0e1711); background-size: cover; background-position: center; display: grid; place-items: center; color: rgba(255,255,255,.35); font-size: 13px; }
.me-recent-info { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.me-recent-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10.5px; transition: color .15s; }
.me-recent-meta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted-2); font-size: 8px; }
.me-recent-play { margin-left: auto; color: var(--muted-2); font-size: 10px; }
.me-empty { padding: 22px 0; color: var(--muted-2); font-size: 10px; line-height: 1.7; }


/* ---------- my music library ---------- */
.me-library { border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.018); padding: 4px 16px 2px; min-width: 0; }
.me-library-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; padding: 12px 2px 10px; }
.me-library-head h2 { margin: 4px 0 0; font-size: 23px; line-height: 1.05; letter-spacing: -.06em; font-weight: 620; }
.me-library-head small { color: var(--muted-2); font-size: 8.5px; line-height: 1.5; text-align: right; }
.me-library-list { display: flex; flex-direction: column; }
.lib-row { display: grid; grid-template-columns: 82px minmax(0, 1fr) auto; align-items: center; gap: 17px; min-height: 96px; padding: 8px 2px; border-top: 1px solid var(--line); cursor: pointer; position: relative; transition: background .16s, border-color .16s; }
.lib-row:first-child { border-top: 0; }
.lib-row:hover { background: rgba(255,255,255,.025); }
.lib-row:hover .lib-title { color: var(--lime); }
.lib-cover { width: 82px; height: 82px; border-radius: 15px; overflow: hidden; position: relative; flex: 0 0 82px; background: linear-gradient(145deg, #26382b, #101812); box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); color: var(--muted); }
.lib-cover:not(.lib-mosaic) { display: grid; place-items: center; }
.lib-mosaic { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); gap: 2px; background: #0b120d; }
.lib-mosaic i { display: block; min-width: 0; min-height: 0; background-size: cover; background-position: center; }
.lib-mosaic.n1 i { grid-column: 1 / -1; grid-row: 1 / -1; }
.lib-mosaic.n2 i:first-child { grid-column: 1; grid-row: 1 / -1; }
.lib-mosaic.n2 i:nth-child(2) { grid-column: 2; grid-row: 1 / -1; }
.lib-mosaic.n3 i:first-child { grid-column: 1; grid-row: 1 / -1; }
.lib-cover-heart { display: grid; place-items: center; background: radial-gradient(circle at 70% 20%, rgba(196,243,107,.28), transparent 55%), linear-gradient(145deg, #1e3022, #0c130e); color: var(--lime); font-size: 26px; }
.lib-cover-heart::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,.04), transparent 70%); }
.lib-cover-rank { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: radial-gradient(circle at 50% 40%, rgba(196,243,107,.19), transparent 60%), linear-gradient(145deg, #202d22, #0c120d); color: var(--lime); }
.lib-cover-rank .lib-wave { display: flex; align-items: flex-end; gap: 3px; height: 20px; }
.lib-cover-rank .lib-wave i { width: 3px; border-radius: 2px; background: var(--lime); opacity: .8; }
.lib-cover-rank b { font-size: 7px; letter-spacing: .14em; font-weight: 500; color: rgba(196,243,107,.75); }
.lib-fav-dot { position: absolute; right: 7px; bottom: 7px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #0c130e; background: var(--lime); box-shadow: 0 4px 14px rgba(0,0,0,.3); font-size: 11px; }
.lib-fav-dot svg { width: 12px; height: 12px; }
.lib-info { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.lib-title { margin: 0; color: var(--text); font-size: 20px; line-height: 1.15; letter-spacing: -.045em; font-weight: 620; transition: color .16s; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lib-sub { color: var(--muted); font-size: 10px; line-height: 1.4; letter-spacing: .01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lib-actions { display: flex; align-items: center; gap: 6px; padding-left: 8px; }
.lib-pill { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 15px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255,255,255,.045); color: var(--text); font-size: 10.5px; white-space: nowrap; cursor: pointer; transition: .16s; }
.lib-pill svg { width: 13px; height: 13px; color: var(--lime); }
.lib-pill:hover { border-color: rgba(196,243,107,.45); background: rgba(196,243,107,.1); color: var(--lime); }
.lib-play { width: 34px; height: 34px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; color: var(--muted); background: rgba(255,255,255,.035); cursor: pointer; transition: .16s; }
.lib-play svg { width: 14px; height: 14px; }
.lib-play:hover { color: #17200f; background: var(--lime); border-color: var(--lime); }
.lib-pin { width: 27px; height: 30px; border: 0; background: transparent; color: var(--muted-2); display: grid; place-items: center; cursor: pointer; }
.lib-pin svg { width: 15px; height: 15px; }
.lib-pin.on { color: var(--lime); }
.lib-empty-row { display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 10px 4px 14px; color: var(--muted-2); font-size: 10px; }
.lib-empty-row .lib-empty-ico { width: 40px; height: 40px; border: 1px dashed var(--line-strong); border-radius: 12px; display: grid; place-items: center; color: var(--muted); }

/* ---------- liked songs detail ---------- */
.liked-view {
  position: fixed; inset: 0; z-index: 34; overflow: hidden;
  display: flex; flex-direction: column;
  color: var(--text);
  background:
    radial-gradient(1100px 780px at 82% -16%, rgba(196, 243, 107, .12), transparent 58%),
    radial-gradient(820px 640px at 4% 112%, rgba(99, 144, 255, .07), transparent 62%),
    linear-gradient(180deg, #0e1410 0%, #090d0b 46%, #060907 100%);
}
.liked-art {
  position: absolute; inset: -36px; pointer-events: none;
  background-position: center; background-size: cover;
  filter: blur(80px) saturate(.7) brightness(.55);
  opacity: .14; transform: scale(1.08);
}
.liked-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,14,11,.5) 0%, rgba(9,14,11,.84) 38%, rgba(8,12,9,.96) 76%, #080c09 100%);
}
.liked-shell { position: relative; z-index: 1; width: min(940px, 100%); height: 100%; margin: 0 auto; display: flex; flex-direction: column; }
.lk-top {
  flex: 0 0 auto; display: grid; grid-template-columns: 44px minmax(0, 1fr) 88px; align-items: center; gap: 4px;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 11px;
  background: linear-gradient(180deg, rgba(9,14,11,.56), rgba(9,14,11,0));
}
.lk-top-title { margin: 0; min-width: 0; text-align: center; font-size: 19px; line-height: 1.2; letter-spacing: -.045em; font-weight: 620; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lk-top-actions { justify-self: end; display: flex; align-items: center; gap: 3px; }
.lk-icon-btn {
  width: 38px; height: 38px; border: 0; border-radius: 50%; padding: 0;
  display: grid; place-items: center; color: var(--muted); background: transparent; cursor: pointer;
  transition: background .16s, color .16s, transform .16s;
}
.lk-icon-btn svg { width: 19px; height: 19px; }
.lk-icon-btn:hover { background: rgba(255,255,255,.07); color: var(--lime); }
.lk-icon-btn:active { transform: scale(.94); }
.lk-back { justify-self: start; width: 40px; height: 40px; color: var(--text); }
.lk-back svg { width: 25px; height: 25px; }
.lk-search {
  flex: 0 0 auto; margin: 0 18px 8px; height: 42px; padding: 0 12px;
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(18,26,21,.72); backdrop-filter: blur(14px);
}
.lk-search > svg { width: 16px; height: 16px; color: var(--muted); }
.lk-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 13px; }
.lk-search input::placeholder { color: var(--muted-2); }
.lk-search-clear { width: 26px; height: 26px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); color: var(--muted); cursor: pointer; }
.lk-search-clear svg { width: 13px; height: 13px; }
.lk-scroll {
  flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden;
  padding: 0 18px calc(var(--player-h) + 92px + env(safe-area-inset-bottom, 0px));
  scrollbar-width: thin; scrollbar-color: rgba(196,243,107,.18) transparent;
}
.lk-playall { display: flex; align-items: center; gap: 13px; padding: 10px 1px 17px; }
.lk-playall-btn {
  width: 58px; height: 58px; flex: 0 0 58px; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: var(--lime-ink, #15200d);
  background: linear-gradient(145deg, var(--lime), var(--lime-soft));
  box-shadow: 0 12px 28px rgba(196,243,107,.18), inset 0 1px 0 rgba(255,255,255,.3);
  transition: transform .16s, box-shadow .16s;
}
.lk-playall-btn svg { width: 24px; height: 24px; fill: currentColor; stroke-width: 1.6; }
.lk-playall-btn:hover { transform: scale(1.03); box-shadow: 0 14px 34px rgba(196,243,107,.26), inset 0 1px 0 rgba(255,255,255,.34); }
.lk-playall-btn:active { transform: scale(.97); }
.lk-playall-btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.lk-playall-copy { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.lk-playall-copy b { font-size: 20px; line-height: 1.1; letter-spacing: -.05em; font-weight: 620; color: var(--text); }
.lk-playall-copy small { font-size: 11px; line-height: 1.3; color: var(--muted); }
.lk-playall-actions { margin-left: auto; display: flex; align-items: center; gap: 1px; }
.lk-selectbar { display: flex; align-items: center; gap: 8px; min-height: 47px; padding: 6px 1px 8px; border-bottom: 1px solid var(--line); }
.lk-select-all { display: inline-flex; align-items: center; gap: 9px; border: 0; background: transparent; color: var(--text); font-size: 14px; cursor: pointer; padding: 6px 4px; }
.lk-selected-count { color: var(--muted); font-size: 10.5px; }
.lk-done { margin-left: auto; min-width: 46px; padding: 6px 8px; border: 0; background: transparent; color: var(--lime); font-size: 13.5px; font-weight: 560; cursor: pointer; }
.lk-check { width: 21px; height: 21px; flex: 0 0 21px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: transparent; background: transparent; transition: .16s; }
.lk-check svg { width: 12px; height: 12px; }
.lk-check.on { border-color: var(--lime); background: var(--lime); color: #15200d; }
.lk-list { display: flex; flex-direction: column; }
.lk-load-more { width: 100%; margin: 7px 0 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.025); color: var(--muted); font: inherit; font-size: 10px; letter-spacing: .03em; cursor: pointer; transition: .16s; }
.lk-load-more:hover { border-color: rgba(196,243,107,.3); background: rgba(196,243,107,.05); color: var(--lime); }
.lk-row {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) 30px; align-items: center; gap: 12px;
  height: 78px; flex: 0 0 auto; padding: 10px 1px; border-bottom: 1px solid var(--line);
  cursor: pointer; position: relative; transition: background .16s; overflow: hidden;
}
.lk-row:hover { background: rgba(196,243,107,.05); }
.lk-virtual-spacer { width: 100%; flex: 0 0 auto; pointer-events: none; }
.lk-row.selected { background: rgba(196,243,107,.09); }
.lk-row.manage { grid-template-columns: 25px 56px minmax(0, 1fr) 26px; gap: 9px; }
.lk-cover {
  width: 56px; height: 56px; flex: 0 0 56px; border-radius: 7px; overflow: hidden; position: relative;
  background: linear-gradient(145deg, #1e2c22, #0c130e); background-size: cover; background-position: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07);
  color: var(--muted); font-size: 18px; display: grid; place-items: center;
}
.lk-cover-num { font-size: 11px; letter-spacing: .04em; color: var(--muted); }
.lk-rank-no { position: absolute; left: 4px; top: 4px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: rgba(9,14,11,.78); border: 1px solid rgba(196,243,107,.28); color: var(--lime); font-size: 8px; line-height: 1; font-weight: 620; backdrop-filter: blur(4px); }
.lk-main { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.lk-name { margin: 0; color: var(--text); font-size: 16px; line-height: 1.25; letter-spacing: -.035em; font-weight: 540; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lk-sub { display: flex; align-items: center; gap: 5px; min-width: 0; color: var(--muted); font-size: 10.5px; line-height: 1.35; white-space: nowrap; overflow: hidden; }
.lk-sub > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.lk-tag { flex: 0 0 auto; height: 14px; padding: 0 3px; border: 1px solid rgba(255,199,115,.45); border-radius: 3px; display: inline-flex; align-items: center; color: var(--amber); font-size: 8px; line-height: 1; letter-spacing: .02em; }
.lk-tag.src { border-color: var(--line-strong); color: var(--muted); }
.lk-more { width: 28px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.lk-more:hover { background: rgba(196,243,107,.08); color: var(--lime); }
.lk-more svg { width: 17px; height: 17px; }
.lk-grip { width: 26px; height: 34px; display: grid; place-items: center; color: var(--muted); border: 0; padding: 0; background: transparent; font: inherit; cursor: grab; touch-action: none; }
.lk-grip svg { width: 17px; height: 17px; }
.lk-grip:active { cursor: grabbing; }
.lk-row.dragging { opacity: .48; background: rgba(196,243,107,.07); }
.lk-row.drag-over { box-shadow: inset 0 2px 0 var(--lime); }
.lk-empty { padding: 58px 14px 40px; text-align: center; color: var(--muted); }
.lk-empty-ico { width: 58px; height: 58px; margin: 0 auto 14px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; color: var(--lime); background: rgba(196,243,107,.06); }
.lk-empty-ico svg { width: 24px; height: 24px; }
.lk-empty b { display: block; margin-bottom: 6px; color: var(--text); font-size: 16px; font-weight: 540; }
.lk-empty p { margin: 0 auto; max-width: 300px; font-size: 11px; line-height: 1.7; }
.lk-empty button { margin-top: 17px; height: 34px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255,255,255,.05); color: var(--text); font: inherit; font-size: 11px; cursor: pointer; }
.lk-empty button:hover { border-color: rgba(196,243,107,.45); color: var(--lime); }
.lk-batch {
  position: absolute; left: 0; right: 0; bottom: calc(var(--player-h) + 18px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; justify-content: space-around; gap: 2px;
  height: 58px; padding: 0 6px; border-top: 1px solid var(--line-strong);
  border-radius: 16px 16px 0 0; background: rgba(10,15,11,.94); backdrop-filter: blur(18px);
  box-shadow: 0 -12px 34px rgba(0,0,0,.24); z-index: 2;
}
.lk-batch-item { flex: 1; height: 100%; border: 0; background: transparent; color: var(--muted); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font: inherit; font-size: 10px; cursor: pointer; border-radius: 10px; }
.lk-batch-item svg { width: 19px; height: 19px; }
.lk-batch-item:hover { background: rgba(196,243,107,.07); color: var(--lime); }
.lk-batch-item:disabled { opacity: .35; cursor: default; }
.lk-batch-danger { color: var(--danger); }
.lk-batch-danger:hover { color: var(--danger); }

/* dark glass bottom sheet */
.liked-sheet-layer { position: fixed; inset: 0; z-index: 66; display: flex; align-items: flex-end; justify-content: center; }
.lk-sheet-backdrop { position: absolute; inset: 0; background: rgba(3,5,4,.62); backdrop-filter: blur(5px); }
.lk-sheet-card {
  position: relative; width: min(640px, 100%); max-height: 82vh; overflow-y: auto; overscroll-behavior: contain;
  padding: 7px 18px calc(14px + env(safe-area-inset-bottom, 0px));
  border: 1px solid var(--line); border-bottom: 0;
  border-radius: 20px 20px 0 0; background: #111a15; color: var(--text);
  box-shadow: 0 -24px 70px rgba(0,0,0,.42);
  scrollbar-width: thin;
}
.lk-sheet-grip { width: 40px; height: 4px; margin: 0 auto 8px; border-radius: 99px; background: rgba(196,243,107,.28); }
.lk-sheet-head { display: flex; align-items: center; gap: 12px; padding: 2px 0 11px; border-bottom: 1px solid var(--line); }
.lk-sheet-head h3 { margin: 0; font-size: 17px; line-height: 1.2; letter-spacing: -.035em; font-weight: 620; color: var(--text); }
.lk-sheet-close { margin-left: auto; width: 30px; height: 30px; border: 0; border-radius: 50%; display: grid; place-items: center; background: transparent; color: var(--muted); cursor: pointer; }
.lk-sheet-close:hover { background: rgba(255,255,255,.06); color: var(--lime); }
.lk-sheet-close svg { width: 17px; height: 17px; }
.lk-sheet-body { padding-top: 10px; }
.lk-sheet-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 5px 2px 12px; }
.lk-sheet-summary b { color: var(--text); font-size: 21px; line-height: 1.2; letter-spacing: -.05em; font-weight: 620; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lk-sheet-summary small { flex: 0 0 auto; color: var(--muted); font-size: 11px; }
.lk-sheet-label { padding: 15px 2px 4px; color: var(--muted-2); font-size: 9px; line-height: 1.2; letter-spacing: .1em; text-transform: uppercase; }
.lk-sheet-group { border-bottom: 1px solid var(--line); padding: 1px 0; }
.lk-sheet-row { width: 100%; display: flex; align-items: center; gap: 12px; padding: 13px 2px; border: 0; background: transparent; color: var(--text); text-align: left; font: inherit; cursor: pointer; }
.lk-sheet-row:hover { background: rgba(196,243,107,.06); border-radius: 8px; }
.lk-sheet-row > svg { width: 19px; height: 19px; flex: 0 0 19px; color: var(--muted); }
.lk-sheet-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lk-sheet-text b { font-size: 13.5px; line-height: 1.3; font-weight: 520; }
.lk-sheet-text small { color: var(--muted); font-size: 10px; line-height: 1.35; }
.lk-sheet-check { margin-left: auto; color: var(--lime); }
.lk-sheet-check svg { width: 17px; height: 17px; }
.lk-switch { margin-left: auto; width: 40px; height: 23px; flex: 0 0 40px; border-radius: 999px; background: rgba(255,255,255,.16); position: relative; transition: .16s; }
.lk-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: .16s; }
.lk-switch.on { background: var(--lime); }
.lk-switch.on::after { left: 20px; }
.lk-sheet-danger { color: var(--danger); }
.lk-sheet-danger > svg { color: var(--danger); }
.lk-track-head { display: flex; align-items: center; gap: 12px; padding: 4px 0 13px; border-bottom: 1px solid var(--line); }
.lk-track-cover { width: 50px; height: 50px; flex: 0 0 50px; border-radius: 7px; background-size: cover; background-position: center; display: grid; place-items: center; color: var(--muted); background-color: var(--panel-soft); }
.lk-track-copy { min-width: 0; }
.lk-track-copy b { display: block; color: var(--text); font-size: 14px; line-height: 1.3; font-weight: 560; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lk-track-copy small { display: block; margin-top: 3px; color: var(--muted); font-size: 10.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 760px) {
  body.liked-open .rail { display: none; }
  body.liked-open .player { bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
  .lk-sheet-card { border-radius: 20px 20px 0 0; }
}
@media (min-width: 761px) {
  .lk-top { padding: 20px 26px 13px; grid-template-columns: 48px minmax(0, 1fr) 100px; }
  .lk-top-title { font-size: 22px; }
  .lk-scroll { padding: 0 26px calc(var(--player-h) + 92px); }
  .lk-playall { gap: 16px; padding: 14px 0 20px; }
  .lk-playall-btn { width: 64px; height: 64px; flex-basis: 64px; }
  .lk-playall-btn svg { width: 27px; height: 27px; }
  .lk-playall-copy b { font-size: 23px; }
  .lk-row { grid-template-columns: 64px minmax(0, 1fr) 34px; gap: 15px; min-height: 88px; padding: 11px 2px; }
  .lk-row.manage { grid-template-columns: 28px 64px minmax(0, 1fr) 30px; gap: 11px; }
  .lk-cover { width: 64px; height: 64px; flex-basis: 64px; border-radius: 8px; }
  .lk-name { font-size: 18px; }
  .lk-sub { font-size: 11px; }
  .lk-sheet-card { width: min(600px, calc(100% - 32px)); border-radius: 18px; margin-bottom: 18px; }
  .lk-batch { left: 0; right: 0; bottom: calc(var(--player-h) + 20px); border-radius: 16px; }
}
/* ================= RESPONSIVE ================= */
@media (max-width: 1180px) {
  .who { display: none; }
  .hero-copy { padding-left: 30px; }
  .source-strip { grid-template-columns: 1fr; gap: 15px; }
  .editorial-cards { grid-template-columns: repeat(2, 1fr); }
  .official-grid { display: flex; overflow-x: auto; gap: 10px; padding-bottom: 4px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .official-grid::-webkit-scrollbar { display: none; }
  .official-card { flex: 0 0 78%; scroll-snap-align: start; }
  .track-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-layout { grid-template-columns: 1fr .72fr; }
}
@media (max-width: 1100px) {
  .pricing-layout { grid-template-columns: 1fr; }
  .pricing-aside { display: none; }
}
@media (max-width: 1100px) {
  .player { grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr) minmax(0, .8fr); gap: 12px; padding: 0 14px; }
  .np-btns { gap: 8px; }
  #vol { width: 56px; }
}
@media (max-width: 900px) {
  #npLyricBtn, #dl { display: none !important; }
}
@media (max-width: 980px) {
  :root { --rail-w: 214px; }
  .page { padding-left: 22px; padding-right: 22px; }
  .topbar { padding-left: 22px; padding-right: 22px; }
  .page-heading { display: block; margin-bottom: 17px; }
  .page-heading > p { max-width: none; margin-top: 9px; text-align: left; font-size: 10px; }
  .hero { grid-template-columns: 1fr .72fr; }
  .hero h1 { font-size: clamp(34px, 5vw, 48px); }
  .hero-copy { padding: 32px 10px 30px 28px; }
  .pricing-aside { display: none; }
  .pricing-layout { grid-template-columns: 1fr; }
}

/* ---------- tablet ---------- */
@media (max-width: 980px) {
  .foryou-grid { grid-template-columns: 1fr; }
  .taste-stations { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .taste-station:last-child:nth-child(odd) { grid-column: auto; }
  .mood-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero { display: block; min-height: 0; }
  .hero-visual { display: none; }
  .hero-copy { padding: 30px 24px 28px; }
}
@media (min-width: 600px) and (max-width: 900px) {
  .hero::after {
    content: "05";
    position: absolute; right: 18px; bottom: -22px; z-index: 0;
    font-size: clamp(86px, 14vw, 126px); line-height: 1; font-weight: 720;
    letter-spacing: -.1em; color: rgba(196,243,107,.055); pointer-events: none;
    font-variant-numeric: tabular-nums;
  }
}
@media (max-width: 880px) and (min-width: 761px) {
  .player { grid-template-columns: minmax(0, 1fr) auto; }
  .np-right { display: none; }
  button.ui-btn.np-fav-dock { display: inline-flex; }
}
@media (max-width: 980px) and (min-width: 761px) {
  .topbar { flex-wrap: wrap; gap: 8px 10px; padding-top: 11px; padding-bottom: 10px; min-height: 0; }
  .search { order: 1; flex: 1 1 0; min-width: 0; max-width: none; }
  .profile { order: 2; margin-left: auto; }
}

/* ---------- mobile ---------- */
/* tablet song list: drop the table chrome before it crushes titles */
@media (max-width: 900px) {
  .listhead { display: none; }
  .row { grid-template-columns: minmax(0, 1fr) 118px; gap: 5px; min-height: 67px; padding: 0 5px; }
  .row .i, .row .s, .row .d { display: none; }
  .row-src { display: inline; }
  .actions { opacity: 1; gap: 2px; }
  .actions button { width: 38px; height: 38px; font-size: 13px; }
}

@media (max-width: 760px) {
  body { overflow: hidden; }
  .shell { display: block; height: 100dvh; }
  .main { height: 100dvh; }
  .rail {
    position: fixed; left: 0; right: 0; bottom: 0; width: 100%; height: 58px;
    flex-direction: row; padding: 0 6px calc(0px + env(safe-area-inset-bottom, 0px)); z-index: 40;
    border-right: 0; border-top: 1px solid rgba(218,255,226,.12);
    background: rgba(9, 14, 11, .98); backdrop-filter: blur(8px);
  }
  .rail::after { display: none; }
  .brand, .library, .rail-note { display: none; }
  .nav { flex-direction: row; width: 100%; align-items: stretch; gap: 2px; }
  .nav button { flex: 1; flex-direction: column; justify-content: center; gap: 2px; min-height: 56px; padding: 4px 0; border-radius: 9px; font-size: 10px; }
  .nav-ico { font-size: 17px; width: auto; }
  .nav button span { flex: 0; }
  .nav button em { display: none; }

  .topbar {
    display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 7px 10px;
    padding: calc(6px + env(safe-area-inset-top, 0px)) 12px 8px; min-height: 0;
  }
  .mobile-brand { display: flex; align-items: center; gap: 7px; font-size: 17px; font-weight: 750; letter-spacing: -.06em; }
  .mobile-brand .brand-mark { width: 25px; height: 25px; flex-basis: 25px; padding: 5px 4px; border-radius: 7px; gap: 2px; }
  .mobile-brand .brand-mark i { width: 2px; }
  .mobile-brand .brand-mark i:nth-child(1) { height: 6px; }
  .mobile-brand .brand-mark i:nth-child(2) { height: 12px; }
  .mobile-brand .brand-mark i:nth-child(3) { height: 9px; }
  .mobile-brand .brand-mark i:nth-child(4) { height: 4px; }
  .mobile-brand span { color: var(--lime); }
  .profile { grid-column: 2; justify-self: end; }
  .who { display: none; }
  .login-btn { height: 29px; padding: 0 10px; font-size: 10px; }
  .search { grid-column: 1 / -1; grid-row: 2; max-width: none; width: 100%; height: 39px; }
  .search-kbd, .search-submit { display: none; }
  .search input { font-size: 16px; }
  .search-ico { width: 35px; flex-basis: 35px; }
  .suggest { top: calc(100% + 7px); }

  .page { padding: 14px 12px calc(54px + 58px + 24px + env(safe-area-inset-bottom, 0px)); }
  .hero { display: block; min-height: 0; border-radius: 18px; }
  .hero-copy { padding: 26px 19px 23px; }
  .hero h1 { margin: 14px 0 12px; font-size: clamp(31px, 9vw, 42px); letter-spacing: -.07em; }
  .hero p { font-size: 11px; line-height: 1.8; }
  .hero-actions { margin-top: 18px; gap: 8px; }
  .btn-primary, .btn-quiet { height: 38px; font-size: 11px; }
  .hero-visual { display: none; }
  .hist { margin-top: 11px; }
  .chip { padding: 7px 10px; font-size: 10px; }
  .shelf { margin-top: 27px; }
  .shelf-head { align-items: flex-start; gap: 6px; margin-bottom: 10px; }
  .shelf-head h2 { font-size: 18px; line-height: 1.2; }
  .shelf-note { display: none; }
  .shelf-action { font-size: 9.5px; }
  .mood-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .mood-card { min-height: 106px; padding: 12px; }
  .mood-card h3 { margin-top: 23px; font-size: 15px; }
  .track-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
  .track-cover { border-radius: 8px; }
  .track-card { padding: 8px; border-radius: 12px; }
  .hot-cards .hotcard { flex-basis: 100%; }
  .hotcard { min-height: 52px; }
  .foryou-grid { grid-template-columns: 1fr; gap: 8px; }
  .radio-card { min-height: 150px; padding: 14px; border-radius: 14px; }
  .radio-wave { height: 20px; margin: 12px 0 9px; opacity: .6; }
  .radio-copy b { font-size: 20px; }
  .radio-copy small:last-child { max-width: none; padding-right: 48px; }
  .radio-play { width: 32px; height: 32px; right: 14px; bottom: 14px; font-size: 12px; }
  .daily-grid { grid-template-columns: 1fr; gap: 7px; }
  .daily-card { grid-template-columns: 24px 48px minmax(0,1fr) 22px; gap: 9px; min-height: 64px; padding: 8px 10px; }
  .daily-cover { width: 48px; height: 48px; font-size: 15px; }
  .daily-info b { font-size: 11.5px; }
  .daily-info small { font-size: 9px; }
  .taste-stations { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
  .taste-station { min-height: 132px; padding: 12px; border-radius: 13px; }
  .taste-station b { margin-top: 33px; font-size: 14px; }
  .taste-station small { font-size: 9px; }
  .ts-glyph { font-size: 47px; }
  .taste-station:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .editorial-cards { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
  .editorial-card { min-height: 155px; padding: 12px; border-radius: 13px; }
  .editorial-card h3 { margin-top: 38px; font-size: 16px; }
  .editorial-card .ed-glyph { font-size: 53px; }
  .source-strip { margin-top: 31px; padding: 16px 3px; border-bottom: 0; }
  .source-strip-head h2 { font-size: 16px; }
  .source-list { gap: 13px 18px; }
  .source-note { font-size: 8px; }
  .results-head { align-items: flex-start; gap: 8px; }
  .results-head h1 { font-size: 26px; }
  .results-head .back-home { height: 32px; font-size: 10px; padding: 0 10px; margin-top: 18px; }
  .results-hint { margin-top: 6px; font-size: 9px; }
  .results-toolbar { gap: 7px 9px; margin-bottom: 10px; }
  .results-sort { margin-left: 0; gap: 5px; }
  .results-sort-label { display: none; }
  .results-sort select { height: 30px; min-width: 72px; font-size: 9.5px; }
  .listhead { display: none; }
  .row { grid-template-columns: minmax(0, 1fr) 118px; gap: 5px; min-height: 67px; padding: 0 5px; }
  .row .i, .row .s, .row .d { display: none; }
  .cover { width: 46px; height: 46px; flex-basis: 46px; }
  .t-body b { font-size: 12.5px; }
  .t-body small { font-size: 10px; }
  .actions { opacity: 1; gap: 2px; }
  .actions button { width: 38px; height: 38px; font-size: 13px; }
  .empty { padding: 36px 12px; }

  .player {
    left: 0; right: 0; bottom: calc(58px + env(safe-area-inset-bottom, 0px)); height: 54px;
    grid-template-columns: minmax(0, 1fr) auto; gap: 6px; padding: 0 14px;
    border-radius: 0; border-left: 0; border-right: 0; border-bottom: 0;
  }
  .np { gap: 9px; padding: 2px; min-width: 0; }
  .np-cover { width: 38px; height: 38px; flex-basis: 38px; border-radius: 9px; font-size: 13px; background-color: var(--card-2, #e9e4d5); }
  .np-name { font-size: 12px; }
  .np-sub { font-size: 9px; }
  .np-expand, .np-like { display: none; }
  .np-center { position: static; width: auto; }
  .np-btns { gap: 4px; }
  .np-btns button { width: 34px; height: 34px; font-size: 13px; }
  .np-btns #play { width: 40px !important; height: 40px !important; background: var(--text) !important; color: var(--bg) !important; border: 0 !important; }
  .np-btns #play svg { width: 17px; height: 17px; }
  .np-btns #mode, .np-btns #prev { display: none; }
  .np-progress { position: absolute; left: 0; right: 0; top: 0; height: 12px; max-width: none; gap: 0; }
  .np-progress .time { display: none; }
  #seek { width: 100%; height: 12px; border-radius: 0; background-size: 100% 2px !important; background-repeat: no-repeat !important; background-position: center !important; }
  .np-right { display: none; }
  .toast { bottom: calc(58px + 54px + env(safe-area-inset-bottom, 0px) + 22px); left: 12px; right: 12px; transform: translateY(10px); text-align: center; white-space: normal; }
  .toast.show { transform: translateY(0); }

  .queue-panel { left: 8px; right: 8px; bottom: calc(58px + 54px + env(safe-area-inset-bottom, 0px) + 10px); width: auto; max-height: 57vh; }
  .np-overlay { padding: 0; align-items: flex-end; }
  .np-sheet {
    width: 100%; height: 100dvh; max-height: 100dvh;
    border-radius: 0; padding: 12px 20px calc(14px + env(safe-area-inset-bottom, 0px));
    display: flex; flex-direction: column; overflow: hidden;
  }
  .np-sheet::before {
    content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
    width: 40px; height: 4px; border-radius: 2px; background: var(--line-strong); opacity: .55;
  }
  .np-sheet-top { margin-bottom: 2px; flex: 0 0 auto; }
  .np-sheet-top .sec-kicker { font-size: 9.5px; letter-spacing: .14em; opacity: .5; }
  .np-sheet-top #npClose { width: 34px; height: 34px; border-radius: 50%; }

  .np-detail { grid-template-columns: 1fr; gap: 0; min-height: 0; flex: 1 1 auto; overflow: hidden; display: flex; flex-direction: column; }
  .np-art-column { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
  .np-cover-large {
    width: min(68vw, 268px); height: min(68vw, 268px); max-height: none;
    border-radius: 18px; font-size: 46px; align-self: center; position: relative; overflow: hidden;
    background-color: var(--card-2, #e9e4d5);
    box-shadow: 0 18px 44px rgba(42,35,25,.16), 0 2px 8px rgba(42,35,25,.08);
  }
  .np-cover-large::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 36%;
    background: linear-gradient(transparent, rgba(0,0,0,.44)); pointer-events: none;
  }
  .np-cover-hint {
    position: absolute; z-index: 1; left: 0; right: 0; bottom: 9px;
    font-size: 9px; letter-spacing: .1em; color: rgba(255,255,255,.72); text-align: center;
  }
  .np-track { text-align: center; padding-top: 18px; width: 100%; }
  .np-source { font-size: 9px; color: var(--muted-2); border: 0; padding: 0; background: none; letter-spacing: .05em; }
  .np-track h2 { font-size: 21px; line-height: 1.25; margin-top: 6px; }
  .np-track p { font-size: 12px; color: var(--muted); margin-top: 3px; }
  .np-album { font-size: 9px; opacity: .6; margin-top: 2px; }
  .np-progress-large { gap: 8px; margin: 14px 0 0; }
  .np-progress-large .time { min-width: 30px; font-size: 9px; }
  .np-controls-large { justify-content: space-between; margin-top: 10px; padding: 0 4px; }
  .np-controls-large .ui-btn { width: 44px; height: 44px; }
  .np-controls-large #npPlay { width: 62px !important; height: 62px !important; font-size: 21px !important; }
  .np-vol { display: none; }

  .np-lyrics-column { display: none; flex: 1 1 auto; min-height: 0; }
  .np-sheet.lyrics-on .np-lyrics-column { display: flex; flex-direction: column; }
  .np-sheet.lyrics-on .np-cover-large { display: none; }
  .np-sheet.lyrics-on .np-art-column { flex: 0 0 auto; justify-content: flex-start; }
  .np-sheet.lyrics-on .np-track { padding-top: 4px; }
  .lyrics-head { flex: 0 0 auto; padding: 12px 2px 4px; }
  .lyrics { min-height: 0; max-height: none; flex: 1 1 auto; padding: 6px 4px 26px; }
  .lyric-line { font-size: var(--lyric-size-mobile, 16px); padding: 10px 0; }

  .np-sheet-bottom {
    display: flex; justify-content: space-between; align-items: center; gap: 0;
    margin-top: 6px; padding-top: 6px; border-top: 0; flex: 0 0 auto;
  }
  .np-sheet-bottom button {
    flex: 1 1 0; max-width: 52px; height: 44px; padding: 0; border: 0; background: transparent;
    display: grid; place-items: center; font-size: 16px; color: var(--muted);
  }
  .np-sheet-bottom button span { display: none; }
  .np-sheet-bottom button i, .np-sheet-bottom button svg { width: 19px; height: 19px; }
  .np-sheet-bottom #npSpeed { font-size: 10.5px; letter-spacing: .02em; }
  .np-sheet-bottom #npQueue { display: none; }
  #npOverlayMeta { display: none; }
  .np-sheet-top .sec-kicker { display: none; }
  .np-sheet-top { justify-content: flex-end; margin-bottom: -4px; }
  .np-sheet-top #npClose { background: transparent !important; border: 0 !important; color: var(--muted) !important; }
  .np-source { color: var(--muted-2) !important; opacity: .9; }
  .np-controls-large .ui-btn {
    background: transparent !important; border: 0 !important; box-shadow: none !important; color: var(--text) !important;
  }
  .np-controls-large #npPlay {
    background: var(--text) !important; color: var(--bg) !important; border-radius: 50% !important;
  }
  .np-controls-large #npPlay svg { width: 24px; height: 24px; }
  .np-sheet-bottom .ui-btn { background: transparent !important; border: 0 !important; box-shadow: none !important; }
  /* ---- 手机端沉浸式黑胶播放页 ---- */
  .np-sheet {
    background:
      radial-gradient(130% 88% at 50% 0%, #3c4634 0%, #262e20 44%, #10140e 100%) !important;
    color: #f2f0e4;
  }
  .np-art-stage { position: relative; display: grid; place-items: center; width: 100%; }
  .np-cover-large {
    width: min(74vw, 292px); height: min(74vw, 292px); aspect-ratio: 1;
    border-radius: 50%; border: 0;
    background-color: #0a0a0a; background-size: 0 0 !important; background-position: center;
    box-shadow: 0 30px 70px rgba(0,0,0,.62), inset 0 0 0 1px rgba(255,255,255,.05);
    animation: vinylSpin 26s linear infinite; animation-play-state: paused;
  }
  .np-cover-large.playing { animation-play-state: running; }
  .np-cover-large::before {
    content: ""; position: absolute; inset: 20.5%; border-radius: 50%; z-index: 1;
    background-image: inherit; background-size: cover; background-position: center;
    box-shadow: 0 0 0 1px rgba(255,255,255,.10);
  }
  .np-cover-large::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%; z-index: 2; pointer-events: none;
    background: repeating-radial-gradient(circle at 50% 50%, rgba(255,255,255,.055) 0 1px, transparent 1px 5px);
    -webkit-mask: radial-gradient(circle, transparent 0 20%, #000 21.5% 100%);
    mask: radial-gradient(circle, transparent 0 20%, #000 21.5% 100%);
  }
  .np-cover-hint { display: none; }
  .np-tonearm {
    position: absolute; top: -9%; right: 14%; width: 5px; height: 27%;
    background: linear-gradient(180deg, #f7f5ec, #d8d5c6); border-radius: 3px;
    transform: rotate(17deg); transform-origin: top center; z-index: 3;
    box-shadow: 0 3px 10px rgba(0,0,0,.45);
  }
  .np-tonearm::before {
    content: ""; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    width: 20px; height: 20px; border-radius: 50%; background: #f7f5ec;
  }
  .np-tonearm::after {
    content: ""; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
    width: 13px; height: 13px; border-radius: 3px; background: #e6e3d5;
  }
  .np-track { text-align: left; padding: 24px 4px 0; }
  .np-source { color: rgba(244,242,230,.42) !important; }
  .np-track h2 { color: #f6f4e8 !important; font-size: 23px; letter-spacing: -.01em; }
  .np-track p { color: rgba(244,242,230,.66) !important; font-size: 12.5px; }
  .np-album { color: rgba(244,242,230,.36) !important; }
  .np-sheet .time { color: rgba(244,242,230,.5) !important; }
  .np-progress-large { margin-top: 16px; }
  .np-sheet input[type="range"] { background: rgba(255,255,255,.16) !important; }
  .np-sheet input[type="range"]::-webkit-slider-thumb {
    background: #f2f0e4 !important; border-color: #1c2418 !important;
    box-shadow: 0 0 0 1px rgba(0,0,0,.35) !important;
  }
  .np-controls-large { margin-top: 14px; }
  .np-controls-large .ui-btn { color: rgba(244,242,230,.86) !important; }
  .np-controls-large #npPlay { background: #f2f0e4 !important; color: #1c2418 !important; }
  .np-controls-large #npPlay svg { width: 22px; height: 22px; }
  .np-sheet-bottom .ui-btn { color: rgba(244,242,230,.5) !important; }
  .np-sheet-bottom .ui-btn:hover, .np-sheet-bottom .ui-btn.on { color: #f2f0e4 !important; }
  .np-sheet-top #npClose { color: rgba(244,242,230,.7) !important; }
  .np-sheet .lyrics-head { color: rgba(244,242,230,.55) !important; border-bottom-color: rgba(255,255,255,.1) !important; }
  .np-sheet #lyricStatus { color: rgba(244,242,230,.32) !important; }
  .np-sheet .lyric-line { color: rgba(244,242,230,.30) !important; }
  .np-sheet .lyric-line.near { color: rgba(244,242,230,.58) !important; }
  .np-sheet .lyric-line.next { color: rgba(244,242,230,.40) !important; }
  .np-sheet .lyric-line.on { color: #f6f4e8 !important; }
  .np-sheet .np-cover-hint { position: absolute; }
  @keyframes vinylSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

  .page-heading { display: block; margin-bottom: 17px; }
  .page-heading h1 { font-size: 30px; }
  .page-heading > p { max-width: none; margin-top: 9px; text-align: left; font-size: 10px; }
  .pricing-layout { gap: 13px; }
  .plan { padding: 16px; }
  .pricing-aside { display: none; }
  .share-overlay { padding: 0; align-items: flex-end; }
  .share-sheet { width: 100%; max-height: 100dvh; border-radius: 22px 22px 0 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px)); }
  .share-head h2 { font-size: 23px; }
  .share-actions .ui-btn { height: 38px; }
  .share-actions #shareDownload { flex: 1 1 100%; }
  .share-actions #shareNative,
  .share-actions #shareCopy { flex: 1 1 calc(50% - 4px); justify-content: center; }
  .share-foot { padding-bottom: 1px; }
  .login-modal { padding: 12px; }
  .login-shell { grid-template-columns: 1fr; max-height: calc(100dvh - 24px); overflow-y: auto; border-radius: 21px; }
  .login-visual { min-height: 0; padding: 18px 20px 17px; border-right: 0; border-bottom: 1px solid rgba(218,255,226,.09); }
  .login-visual-copy { margin: 18px 0 0; max-width: none; }
  .login-visual-copy h2 { margin: 10px 0 0; font-size: 27px; line-height: 1.08; }
  .login-visual-copy p { display: none; }
  .login-visual-foot { display: none; }
  .login-orbit, .login-visual::before { display: none; }
  .login-brandline em { display: none; }
  .login-panel { max-height: none; overflow: visible; padding: 20px 20px 18px; gap: 11px; }
  .login-head h3 { font-size: 23px; }
  .login-note { font-size: 10px; }
  .login-tabs { margin-top: 0; }
  .login-input { min-height: 48px; }
  .login-input input { height: 46px; font-size: 16px; }
  .login-submit { height: 48px; font-size: 12.5px; }
  .login-secondary span { display: none; }
  .login-footline { display: none; }
  .member-status { flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px; }
  .member-status-side { width: 100%; justify-content: space-between; }
  .me-guest { grid-template-columns: 1fr; min-height: 0; gap: 18px; padding: 24px 18px; }
  .me-guest-notes { grid-template-columns: 1fr; gap: 8px; }
  .me-guest-copy h1 { font-size: 33px; }
  .me-guest-copy p { font-size: 10px; margin-bottom: 17px; }
  .me-guest-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .me-ghost-row { padding: 9px 0; }
  .me-ghost-row b { font-size: 18px; }
  .me-ghost-note { grid-column: 1 / -1; padding-top: 10px; }
  .me-hero { flex-wrap: nowrap; gap: 12px; padding: 17px; }
  .me-avatar { width: 54px; height: 54px; flex-basis: 54px; font-size: 22px; box-shadow: inset 0 0 0 4px rgba(196,243,107,.035); }
  .me-id h1 { font-size: 23px; }
  .me-hero-actions { gap: 6px; }
  .me-tier { margin-left: 0; padding: 4px 8px; font-size: 8px; }
  .me-settings-btn { min-height: 28px; padding: 0 8px; font-size: 8px; }
  .me-settings-btn span { display: none; }
  .me-settings-btn svg { width: 14px; height: 14px; }
  .me-stats { grid-template-columns: 1fr 1fr; gap: 7px; }
  .me-stat { padding: 12px; }
  .me-stat b { font-size: 21px; }
  .me-grid { grid-template-columns: 1fr; }
  .me-panel { padding: 14px; }
  .me-panel-head h2 { font-size: 18px; }
  .me-bars { height: 118px; gap: 5px; }
  .me-recent { grid-template-columns: 1fr; gap: 0; }
  .me-library { padding: 4px 12px 2px; }
  .me-library-head h2 { font-size: 19px; }
  .lib-row { grid-template-columns: 58px minmax(0, 1fr) auto; gap: 11px; min-height: 78px; padding: 7px 1px; }
  .lib-cover { width: 58px; height: 58px; flex-basis: 58px; border-radius: 12px; }
  .lib-cover-heart { font-size: 19px; }
  .lib-title { font-size: 16.5px; }
  .lib-sub { font-size: 8.5px; }
  .lib-actions { gap: 3px; padding-left: 2px; }
  .lib-pill { height: 29px; padding: 0 9px; gap: 4px; font-size: 8.5px; }
  .lib-pill svg { width: 11px; height: 11px; }
  .lib-play { width: 28px; height: 28px; }
  .lib-play svg { width: 12px; height: 12px; }
  .lib-pin { width: 22px; height: 26px; }
  .lib-pin svg { width: 13px; height: 13px; }
  .np-pop { right: 14px; bottom: 86px; width: 148px; }
  .quality-pop { width: 188px; bottom: 108px; }
  .onboard { padding: 0; align-items: flex-end; }
  .onb-card { width: 100%; max-height: min(92dvh, 760px); border-radius: 22px 22px 0 0; padding: 19px 20px calc(16px + env(safe-area-inset-bottom, 0px)); animation: onbUp .3s cubic-bezier(.2,.75,.25,1); }
  .onb-progress { margin: 11px 0 15px; }
  .onb-slide h2 { margin: 9px 0 9px; font-size: 31px; }
  .onb-slide p { font-size: 11.5px; line-height: 1.68; }
  .onb-demo { margin-top: 13px; padding: 11px; }
  .onb-actions { margin-top: 12px; padding-top: 11px; }
  .onb-actions .ui-btn { height: 33px; }
}
@media (max-width: 360px) {
  .onb-card { padding: 17px 16px calc(14px + env(safe-area-inset-bottom, 0px)); }
  .onb-slide h2 { font-size: 26px; }
  .onb-br { display: initial; }
  .onb-slide p { font-size: 11px; }
  .onb-actions { grid-template-columns: auto 1fr auto; gap: 7px; }
  .onb-actions .ui-btn { padding: 0 9px; }
  .login-visual { padding: 13px 16px; }
  .login-visual-copy { display: none; }
  .login-panel { padding: 16px 16px 13px; gap: 8px; }
  .login-head h3 { font-size: 21px; }
  .login-field small { display: none; }
  .login-msg { min-height: 14px; }
  .taste-stations { grid-template-columns: 1fr; }
  .taste-station:last-child:nth-child(odd) { grid-column: auto; }
  .hero h1 { font-size: 30px; }
  .np-name { font-size: 10.5px; }
  .np-btns button { width: 33px; }
  .me-guest-copy h1 { font-size: 29px; }
  .me-id h1 { font-size: 21px; }
  .me-stat b { font-size: 19px; }
  .results-toolbar { flex-wrap: wrap; gap: 6px; }
  .results-toolbar-count { display: none; }
  .results-sort select { width: 80px; min-width: 0; }
  .source-filter summary { padding: 0 8px; }
  .source-pop { width: calc(100vw - 24px); }
  .results-toolbar-actions { width: 100%; gap: 6px; margin-left: 0; padding-left: 0; justify-content: flex-end; }
  .results-toolbar-actions .ui-btn { flex: 1; padding: 0 8px; }
  .row { grid-template-columns: minmax(0, 1fr) 112px; }
  .actions { gap: 2px; }
  .actions button { width: 36px; height: 36px; }
  .track-grid { gap: 6px; }
  .np-cover-large { width: min(58vw, 208px); height: min(58vw, 208px); }
  .np-track { padding-top: 12px; }
  .np-track h2 { font-size: 19px; }
  .np-controls-large { margin-top: 8px; }
  .np-sheet-bottom { margin-top: 2px; padding-top: 6px; }
}
@media (min-width: 761px) and (max-width: 800px) {
  .login-visual-copy h2 { font-size: 33px; }
}
@media (max-width: 520px) {
  .pricing { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
  .np-sheet-bottom button { max-width: 46px; }
}
@media (min-width: 520px) and (max-width: 760px) {
  .taste-stations { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .taste-station:last-child:nth-child(odd) { grid-column: auto; }
}
@media (min-width: 520px) and (max-width: 760px) {
  .me-guest-notes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* tablet keeps the account name instead of an anonymous exit button */
@media (min-width: 761px) and (max-width: 1180px) {
  .who { display: block; max-width: 78px; }
}

/* wide screens: keep the command bar on the same 1280px axis as the page content */
@media (min-width: 1600px) {
  .topbar {
    padding-left: max(30px, calc((100% - 1280px) / 2));
    padding-right: max(30px, calc((100% - 1280px) / 2));
  }
  .search { flex-basis: 760px; max-width: 760px; }
}

/* ================= ACTIVITY / WELCOME GIFT ================= */
.activity-page { scroll-behavior: smooth; }
.activity-shell { max-width: 1120px; margin: 0 auto; }
.activity-heading { margin-bottom: 18px; }
.activity-subnav {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; margin: 0 0 12px;
  padding: 5px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.022);
}
.activity-subnav button {
  display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 8px; row-gap: 1px;
  align-items: center; min-width: 0; padding: 8px 11px; border: 1px solid transparent; border-radius: 9px;
  background: transparent; color: var(--muted); font: inherit; text-align: left; cursor: pointer; transition: .15s;
}
.activity-subnav button b { grid-row: 1 / 3; color: var(--muted-2); font-size: 8px; font-weight: 500; letter-spacing: .08em; }
.activity-subnav button span { color: var(--text); font-size: 11px; font-weight: 560; }
.activity-subnav button small { overflow: hidden; color: var(--muted-2); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.activity-subnav button:hover { background: rgba(255,255,255,.035); border-color: var(--line); }
.activity-subnav button.on { background: rgba(196,243,107,.09); border-color: rgba(196,243,107,.24); }
.activity-subnav button.on b, .activity-subnav button.on span { color: var(--lime); }
.activity-subnav button:focus-visible { outline: 1px solid var(--lime); outline-offset: 2px; }
.activity-view { margin-top: 24px; }
.activity-tasks-page, .activity-rules-page { margin-top: 0; }
.activity-rules-page { padding-top: 0; border-top: 0; }
.activity-view-note { margin: 11px 0 0; color: var(--muted-2); font-size: 8.5px; line-height: 1.7; }
.activity-gift {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(190px, .58fr);
  gap: 26px; align-items: center;
  padding: 26px 30px; border: 1px solid rgba(196,243,107,.23); border-radius: 24px;
  background:
    radial-gradient(520px 320px at 82% -20%, rgba(196,243,107,.18), transparent 68%),
    radial-gradient(420px 300px at 5% 110%, rgba(109,151,255,.10), transparent 70%),
    linear-gradient(135deg, rgba(28,40,30,.94), rgba(9,15,11,.96));
  box-shadow: 0 28px 80px rgba(0,0,0,.25);
}
.activity-gift::after {
  content: "WELCOME"; position: absolute; right: 18px; bottom: -24px;
  color: rgba(196,243,107,.055); font-size: 98px; line-height: 1; font-weight: 800;
  letter-spacing: -.08em; pointer-events: none;
}
.activity-gift-copy { position: relative; z-index: 1; min-width: 0; }
.activity-gift-copy h2 { margin: 4px 0 9px; font-size: clamp(25px, 3vw, 34px); line-height: 1.1; letter-spacing: -.06em; font-weight: 650; }
.activity-gift-lead { max-width: 560px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.85; }
.activity-gift-lead b { color: var(--text); font-weight: 580; }
.activity-benefit { margin-top: 17px; position: relative; z-index: 1; }
.benefit-card {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 13px; align-items: center;
  padding: 13px 14px; border: 1px solid rgba(196,243,107,.22); border-radius: 15px;
  background: rgba(8,13,10,.46); backdrop-filter: blur(9px);
}
.benefit-card.is-claimed { border-color: rgba(218,255,226,.14); background: rgba(8,13,10,.35); }
.benefit-badge {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(196,243,107,.38); border-radius: 12px;
  color: var(--lime); background: rgba(196,243,107,.08);
  font-size: 9px; font-weight: 700; letter-spacing: .08em;
}
.benefit-info { min-width: 0; }
.benefit-title { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; color: var(--text); font-size: 13px; font-weight: 600; }
.benefit-title em { color: var(--lime); font-style: normal; font-size: 10px; letter-spacing: .08em; }
.benefit-rule { margin: 2px 0 0; color: var(--muted-2); font-size: 9px; line-height: 1.6; }
.benefit-status { display: block; margin-top: 4px; color: var(--muted); font-size: 9.5px; line-height: 1.55; }
.benefit-status.is-ok { color: var(--lime); }
.benefit-status.is-claimed { color: var(--amber); }
.benefit-action { flex: 0 0 auto; }
.benefit-action .ui-btn { height: 32px; padding: 0 13px; font-size: 10px; white-space: nowrap; }
.benefit-claimed { display: inline-flex; align-items: center; gap: 5px; color: var(--amber); font-size: 10px; white-space: nowrap; }
.benefit-claimed b { font-weight: 600; }
.activity-pass {
  position: relative; z-index: 1; justify-self: end; align-self: center;
  width: 214px; min-height: 236px; padding: 18px 18px 15px;
  display: flex; flex-direction: column; align-items: flex-start;
  border: 1px solid rgba(196,243,107,.34); border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(196,243,107,.16), rgba(196,243,107,.03) 52%, rgba(8,13,10,.5)),
    repeating-linear-gradient(90deg, transparent 0 8px, rgba(196,243,107,.025) 8px 9px);
  box-shadow: 12px 18px 40px rgba(0,0,0,.32), inset 0 0 30px rgba(196,243,107,.05);
  transform: rotate(2.2deg); overflow: hidden;
}
.activity-pass::after {
  content: ""; position: absolute; width: 46px; height: 46px; right: -24px; top: 50%;
  border: 1px solid rgba(196,243,107,.28); border-radius: 50%; transform: translateY(-50%);
}
.pass-label { color: rgba(196,243,107,.7); font-size: 7px; letter-spacing: .17em; }
.activity-pass strong { margin-top: 28px; color: var(--lime); font-size: 47px; line-height: .9; letter-spacing: -.07em; font-weight: 780; }
.activity-pass b { margin-top: 6px; color: var(--text); font-size: 11px; font-weight: 580; letter-spacing: .17em; }
.activity-pass small { margin-top: 15px; color: var(--muted-2); font-size: 7px; letter-spacing: .2em; }
.pass-line { width: 100%; margin-top: auto; border-top: 1px dashed rgba(196,243,107,.25); }
.pass-foot { margin-top: 8px; color: var(--muted-2); font-size: 7px; letter-spacing: .14em; }
.activity-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.activity-metric {
  min-width: 0; padding: 13px 15px; border: 1px solid var(--line); border-radius: 14px;
  background: rgba(255,255,255,.028);
}
.activity-metric span { display: block; color: var(--muted-2); font-size: 9px; }
.activity-metric b { display: block; margin: 4px 0 1px; color: var(--lime); font-size: 25px; line-height: 1; font-weight: 700; letter-spacing: -.05em; white-space: nowrap; }
.activity-metric small { display: block; color: var(--muted-2); font-size: 8px; }
.activity-section { margin-top: 26px; }
.activity-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 11px; }
.activity-section-head h2 { margin: 0; font-size: 20px; letter-spacing: -.045em; font-weight: 650; }
.activity-section-head > small { color: var(--muted-2); font-size: 8.5px; white-space: nowrap; }
.activity-tasks { display: flex; flex-direction: column; gap: 7px; }
.activity-task {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 13px 15px; border: 1px solid var(--line); border-radius: 14px;
  background: rgba(255,255,255,.028); transition: border-color .16s, background .16s;
}
.activity-task:hover { border-color: var(--line-strong); background: rgba(255,255,255,.042); }
.activity-task.is-done { border-color: rgba(196,243,107,.20); background: rgba(196,243,107,.04); }
.activity-task.is-claimed { opacity: .64; }
.task-index { color: var(--muted-2); font-size: 10px; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.task-copy { min-width: 0; }
.task-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.task-head b { color: var(--text); font-size: 12px; font-weight: 580; }
.task-reward { color: var(--lime); font-size: 9px; letter-spacing: .03em; }
.task-copy p { margin: 3px 0 7px; color: var(--muted-2); font-size: 9px; line-height: 1.55; }
.task-progress { display: flex; align-items: center; gap: 8px; }
.task-progress > span { flex: 1; height: 4px; max-width: 270px; overflow: hidden; border-radius: 4px; background: rgba(218,255,226,.09); }
.task-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--lime-soft), var(--lime)); }
.task-progress small { min-width: 54px; color: var(--muted-2); font-size: 8px; text-align: right; font-variant-numeric: tabular-nums; }
.task-btn { grid-column: 3; min-width: 74px; height: 30px; padding: 0 10px; font-size: 9.5px; white-space: nowrap; }
.task-btn:disabled { opacity: .42; cursor: default; }
.task-state { grid-column: 3; color: var(--muted-2); font-size: 9px; white-space: nowrap; }
.activity-rules { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); }
.rule-gift {
  display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 18px; align-items: start;
  padding: 17px 18px; border: 1px solid rgba(196,243,107,.20); border-radius: 15px;
  background: linear-gradient(100deg, rgba(196,243,107,.07), rgba(255,255,255,.018));
}
.rule-no { color: var(--lime); font-size: 8px; letter-spacing: .14em; line-height: 1.8; }
.rule-gift h3 { margin: 0 0 5px; font-size: 15px; font-weight: 600; letter-spacing: -.03em; }
.rule-gift p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.8; }
.rule-list { display: grid; gap: 0; margin: 8px 0 0; padding: 0; list-style: none; counter-reset: rule; }
.rule-list li {
  display: grid; grid-template-columns: 105px minmax(0, 1fr); gap: 16px;
  padding: 11px 2px; border-bottom: 1px solid rgba(218,255,226,.07);
}
.rule-list li:last-child { border-bottom: 0; }
.rule-list b { color: var(--text); font-size: 10px; font-weight: 570; }
.rule-list span { color: var(--muted-2); font-size: 9.5px; line-height: 1.75; }
.activity-rule-foot { margin: 11px 0 0; color: var(--muted-2); font-size: 8px; }
.toast.ok { border-color: rgba(196,243,107,.35); color: #e1ffac; }

@media (max-width: 960px) {
  .activity-gift { grid-template-columns: minmax(0, 1fr) 180px; gap: 16px; padding: 22px; }
  .activity-pass { width: 174px; min-height: 210px; }
  .activity-pass strong { font-size: 39px; margin-top: 24px; }
}
@media (max-width: 760px) {
  .activity-heading { margin-bottom: 14px; }
  .activity-subnav { gap: 4px; padding: 4px; margin-bottom: 10px; border-radius: 12px; }
  .activity-subnav button { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 8px 9px; border-radius: 8px; }
  .activity-subnav button b { display: none; }
  .activity-subnav button span { font-size: 11px; }
  .activity-subnav button small { max-width: 100%; font-size: 7.5px; }
  .activity-view { margin-top: 18px; }
  .activity-gift { display: block; padding: 20px 17px; border-radius: 18px; }
  .activity-gift::after { font-size: 70px; right: 8px; }
  .activity-gift-copy h2 { font-size: 25px; }
  .activity-gift-lead { font-size: 10px; }
  .activity-pass { display: none; }
  .benefit-card { grid-template-columns: 40px minmax(0, 1fr); gap: 10px; padding: 11px 12px; }
  .benefit-badge { width: 40px; height: 40px; border-radius: 10px; }
  .benefit-action { grid-column: 2; justify-self: start; }
  .benefit-title { font-size: 12px; }
  .benefit-rule { font-size: 8.5px; }
  .benefit-status { font-size: 9px; }
  .benefit-action .ui-btn { height: 30px; }
  .activity-metrics { gap: 6px; }
  .activity-metric { padding: 11px 10px; }
  .activity-metric b { font-size: 21px; }
  .activity-metric span, .activity-metric small { font-size: 7.5px; }
  .activity-section { margin-top: 22px; }
  .activity-section-head h2 { font-size: 18px; }
  .activity-task { grid-template-columns: 26px minmax(0, 1fr); gap: 8px; padding: 12px; }
  .task-btn, .task-state { grid-column: 2; justify-self: start; margin-top: 3px; }
  .task-index { align-self: start; padding-top: 2px; }
  .task-progress > span { max-width: none; }
  .rule-gift { display: block; padding: 14px; }
  .rule-no { display: block; margin-bottom: 5px; }
  .rule-gift h3 { font-size: 14px; }
  .rule-list li { display: block; padding: 10px 0; }
  .rule-list b { display: block; margin-bottom: 2px; }
}

/* ================= COMMUNITY ================= */
.community-page { scroll-behavior: smooth; }
.community-shell { max-width: 1120px; margin: 0 auto; }
.community-heading { margin-bottom: 18px; }
.community-layout { display: grid; grid-template-columns: minmax(0, 1fr) 274px; gap: 18px; align-items: start; }
.community-main { min-width: 0; }
.community-composer {
  padding: 17px 18px; border: 1px solid var(--line); border-radius: 17px;
  background: linear-gradient(120deg, rgba(196,243,107,.045), rgba(255,255,255,.025));
}
.community-composer-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.community-composer-head h2 { margin: 0; font-size: 18px; letter-spacing: -.04em; font-weight: 600; }
.community-composer-head small { color: var(--muted-2); font-size: 8px; }
.community-guest { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 13px; border: 1px dashed rgba(218,255,226,.14); border-radius: 10px; }
.community-guest p { margin: 0; color: var(--muted); font-size: 10px; }
.community-title-input, .community-content-input {
  display: block; width: 100%; border: 1px solid var(--line); border-radius: 9px;
  background: rgba(5,9,7,.5); color: var(--text); outline: 0; transition: border-color .15s;
}
.community-title-input { height: 34px; padding: 0 11px; font-size: 11px; }
.community-content-input { min-height: 92px; margin-top: 8px; padding: 10px 11px; resize: vertical; font: inherit; font-size: 11px; line-height: 1.7; }
.community-title-input:focus, .community-content-input:focus { border-color: rgba(196,243,107,.45); }
.community-title-input::placeholder, .community-content-input::placeholder { color: var(--muted-2); }
.community-attach-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.community-attach-btn, .community-song-pill {
  display: inline-flex; align-items: center; gap: 5px; min-height: 27px; padding: 0 9px;
  border: 1px solid var(--line); border-radius: 7px; background: transparent; color: var(--muted-2);
  font: inherit; font-size: 9px; cursor: pointer;
}
.community-attach-btn:hover { color: var(--lime); border-color: rgba(196,243,107,.26); }
.community-attach-btn i, .community-song-pill i { width: 12px; height: 12px; }
.community-song-pill { color: var(--lime); border-color: rgba(196,243,107,.2); background: rgba(196,243,107,.055); }
.community-song-pill b { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 560; }
.community-song-pill button { display: grid; place-items: center; width: 18px; height: 18px; margin-left: 1px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted-2); cursor: pointer; }
.community-song-pill button:hover { color: var(--danger); }
.community-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 9px; }
.community-count { color: var(--muted-2); font-size: 8px; font-variant-numeric: tabular-nums; }
.community-actions .ui-btn { height: 30px; padding: 0 12px; font-size: 10px; }
.community-msg { min-height: 16px; margin-top: 8px; color: var(--lime); font-size: 9px; }
.community-msg.is-err { color: var(--danger); }
.community-feed-section { margin-top: 24px; }
.community-feed-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.community-feed-head h2 { margin: 0; font-size: 20px; letter-spacing: -.045em; font-weight: 650; }
.community-feed-status { color: var(--muted-2); font-size: 8.5px; }
.community-feed { display: flex; flex-direction: column; gap: 8px; }
.community-post {
  position: relative; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px;
  background: rgba(255,255,255,.028); transition: border-color .16s, background .16s;
}
.community-post:hover { border-color: var(--line-strong); background: rgba(255,255,255,.04); }
.community-post.is-pending { border-color: rgba(255,199,115,.24); }
.community-post-head { display: flex; align-items: center; gap: 9px; }
.community-avatar {
  width: 30px; height: 30px; flex: 0 0 30px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(196,243,107,.22); border-radius: 50%; color: var(--lime);
  background: rgba(196,243,107,.08); font-size: 12px; font-weight: 650;
}
.community-author { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.community-author b { color: var(--text); font-size: 11px; font-weight: 580; }
.community-author small { color: var(--muted-2); font-size: 8px; }
.community-pending-tag { margin-left: auto; color: var(--amber); border: 1px solid rgba(255,199,115,.24); border-radius: 999px; padding: 3px 7px; font-size: 8px; white-space: nowrap; }
.community-post h3 { margin: 13px 0 5px; font-size: 16px; line-height: 1.35; letter-spacing: -.04em; font-weight: 620; }
.community-post-text { margin: 0; color: var(--muted); font-size: 10.5px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.community-song-ref { display: inline-flex; align-items: center; gap: 5px; margin-top: 9px; padding: 4px 8px; border: 1px solid rgba(196,243,107,.18); border-radius: 7px; background: transparent; color: var(--lime); font: inherit; font-size: 8.5px; cursor: pointer; text-align: left; }
.community-song-ref:hover { border-color: rgba(196,243,107,.4); background: rgba(196,243,107,.06); }
.community-post-foot { display: flex; align-items: center; gap: 4px; margin-top: 12px; padding-top: 9px; border-top: 1px solid rgba(218,255,226,.07); }
.community-act { display: inline-flex; align-items: center; gap: 5px; height: 27px; padding: 0 8px; border: 0; border-radius: 7px; background: transparent; color: var(--muted-2); font: inherit; font-size: 9px; cursor: pointer; }
.community-act:hover { color: var(--text); background: rgba(255,255,255,.04); }
.community-act.is-liked { color: var(--lime); }
.community-act i { font-size: 12px; }
.community-thread { margin: 10px 0 0 39px; padding-top: 10px; border-top: 1px solid rgba(218,255,226,.07); }
.community-comment { display: flex; gap: 8px; padding: 7px 0; }
.community-comment .community-avatar { width: 24px; height: 24px; flex-basis: 24px; font-size: 10px; }
.community-comment-body { min-width: 0; }
.community-comment-body b { color: var(--muted); font-size: 9px; font-weight: 570; }
.community-comment-body span { display: block; color: var(--muted-2); font-size: 9px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.community-comment-actions { display: flex; align-items: center; gap: 2px; margin-top: 4px; }
.community-comment-like { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 5px; border: 0; border-radius: 5px; background: transparent; color: var(--muted-2); font: inherit; font-size: 8px; cursor: pointer; }
.community-comment-like:hover { color: var(--text); background: rgba(255,255,255,.04); }
.community-comment-like.is-liked { color: var(--lime); }
.community-comment-like i { width: 11px; height: 11px; }
.community-comment-form { display: flex; align-items: center; gap: 6px; margin-top: 5px; }
.community-comment-form input { flex: 1; min-width: 0; height: 29px; padding: 0 9px; border: 1px solid var(--line); border-radius: 7px; background: rgba(5,9,7,.5); color: var(--text); font: inherit; font-size: 9px; outline: 0; }
.community-comment-form input:focus { border-color: rgba(196,243,107,.4); }
.community-comment-form button { height: 29px; padding: 0 9px; border: 1px solid rgba(196,243,107,.2); border-radius: 7px; background: rgba(196,243,107,.07); color: var(--lime); font-size: 9px; cursor: pointer; white-space: nowrap; }
.community-comment-empty { color: var(--muted-2); font-size: 9px; padding: 4px 0 6px; }
.community-more { display: block; margin: 11px auto 0; }
.community-aside { display: flex; flex-direction: column; gap: 10px; }
.community-aside-card { padding: 15px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); }
.community-aside-card h2 { margin: 0 0 10px; font-size: 16px; letter-spacing: -.04em; font-weight: 600; }
.community-rules { display: flex; flex-direction: column; gap: 9px; margin: 0; padding: 0; list-style: none; }
.community-rules li { display: flex; flex-direction: column; gap: 2px; }
.community-rules b { color: var(--text); font-size: 9.5px; font-weight: 560; }
.community-rules span { color: var(--muted-2); font-size: 8.5px; line-height: 1.6; }
.community-topics { display: flex; flex-wrap: wrap; gap: 5px; }
.community-topics button { padding: 5px 7px; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: var(--muted); font: inherit; font-size: 8.5px; cursor: pointer; text-align: left; }
.community-topics button:hover { color: var(--lime); border-color: rgba(196,243,107,.28); }
.community-aside-note p { margin: 0; color: var(--muted-2); font-size: 8.5px; line-height: 1.75; }
.community-aside-note .sec-kicker { margin-bottom: 7px; }

@media (max-width: 960px) {
  .community-layout { grid-template-columns: minmax(0, 1fr) 230px; gap: 12px; }
  .community-composer-head small { display: none; }
}
@media (max-width: 760px) {
  .community-heading { margin-bottom: 14px; }
  .community-layout { display: block; }
  .community-composer { padding: 14px; border-radius: 15px; }
  .community-composer-head { margin-bottom: 10px; }
  .community-composer-head h2 { font-size: 16px; }
  .community-guest { align-items: flex-start; flex-direction: column; gap: 8px; }
  .community-guest p { font-size: 9px; }
  .community-content-input { min-height: 84px; font-size: 10px; }
  .community-title-input { font-size: 10px; }
  .community-feed-section { margin-top: 20px; }
  .community-feed-head h2 { font-size: 18px; }
  .community-post { padding: 12px; border-radius: 12px; }
  .community-post h3 { font-size: 15px; }
  .community-post-text { font-size: 10px; }
  .community-thread { margin-left: 0; }
  .community-aside { margin-top: 18px; }
}

/* ================= SETTINGS ================= */
.top-settings { width: 32px; height: 32px; padding: 0; flex: 0 0 32px; }
.top-settings svg { width: 15px; height: 15px; }
.settings-page { scroll-behavior: smooth; }
.settings-shell { max-width: 980px; margin: 0 auto; }
.settings-heading { margin-bottom: 18px; align-items: flex-end; }
.settings-subnav {
  position: sticky; top: 0; z-index: 4;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; margin: 0 0 14px;
  padding: 5px; border: 1px solid var(--line); border-radius: 14px;
  background: rgba(7,12,9,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.settings-subnav button {
  display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 8px; row-gap: 1px;
  align-items: center; min-width: 0; padding: 8px 10px; border: 1px solid transparent; border-radius: 9px;
  background: transparent; color: var(--muted); font: inherit; text-align: left; cursor: pointer; transition: .15s;
}
.settings-subnav button b { grid-row: 1 / 3; color: var(--muted-2); font-size: 8px; font-weight: 500; letter-spacing: .08em; }
.settings-subnav button span { color: var(--text); font-size: 11px; font-weight: 560; }
.settings-subnav button small { overflow: hidden; color: var(--muted-2); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.settings-subnav button:hover { background: rgba(255,255,255,.035); border-color: var(--line); }
.settings-subnav button.on { background: rgba(196,243,107,.09); border-color: rgba(196,243,107,.24); }
.settings-subnav button.on b, .settings-subnav button.on span { color: var(--lime); }
.settings-subnav button:focus-visible { outline: 1px solid var(--lime); outline-offset: 2px; }
.settings-view { display: flex; flex-direction: column; gap: 10px; }
.settings-card {
  padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px;
  background: rgba(255,255,255,.026);
}
.settings-card-head { margin-bottom: 13px; }
.settings-card-head h2 { margin: 0; font-size: 20px; line-height: 1.2; letter-spacing: -.045em; font-weight: 650; }
.settings-guest { padding: 18px; border: 1px dashed rgba(218,255,226,.14); border-radius: 11px; background: rgba(255,255,255,.015); }
.settings-guest p { margin: 0 0 12px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.settings-form { display: flex; flex-direction: column; gap: 12px; max-width: 620px; }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 760px; }
.settings-field { display: flex; flex-direction: column; gap: 6px; }
.settings-field > span { color: var(--muted); font-size: 9.5px; }
.settings-field input, .settings-field textarea, .settings-field select {
  display: block; width: 100%; border: 1px solid var(--line); border-radius: 9px;
  background: rgba(5,9,7,.5); color: var(--text); font: inherit; font-size: 11px; outline: 0; transition: border-color .15s;
}
.settings-field input, .settings-field select { height: 36px; padding: 0 10px; }
.settings-field textarea { min-height: 72px; padding: 9px 10px; line-height: 1.7; resize: vertical; }
.settings-field input:focus, .settings-field textarea:focus, .settings-field select:focus { border-color: rgba(196,243,107,.45); }
.settings-field input::placeholder, .settings-field textarea::placeholder { color: var(--muted-2); }
.settings-select-field { max-width: 260px; }
.settings-range-row { display: flex; align-items: center; gap: 14px; max-width: 620px; margin: 4px 0 14px; }
.settings-range-label { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; color: var(--muted); font-size: 9.5px; }
.settings-range-label input { flex: 1; min-width: 0; accent-color: var(--lime); }
.settings-range-row output { min-width: 42px; color: var(--lime); font-size: 11px; text-align: right; }
.settings-data-summary { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 2px; }
.settings-data-summary span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted-2); font-size: 8.5px; }
.settings-data-summary b { color: var(--muted); font-weight: 540; margin-left: 4px; }
.settings-member-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 15px; padding-top: 14px; border-top: 1px solid rgba(218,255,226,.08); }
.settings-member-copy .sec-kicker { display: block; margin-bottom: 3px; }
.settings-member-copy b { display: block; color: var(--lime); font-size: 15px; letter-spacing: .06em; }
.settings-member-copy small { display: block; margin-top: 3px; color: var(--muted-2); font-size: 8.5px; line-height: 1.6; }
.settings-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; }
.settings-form-foot small { color: var(--muted-2); font-size: 9px; line-height: 1.5; }
.settings-form-foot small.is-err { color: var(--danger); }
.settings-form-foot small.is-ok { color: var(--lime); }
.settings-form-foot .ui-btn:disabled { opacity: .45; cursor: default; }
.settings-account-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.settings-account-meta span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted-2); font-size: 8.5px; }
.settings-account-meta b { color: var(--muted); font-weight: 540; }
.settings-avatar-row {
  display: flex; align-items: center; gap: 12px; max-width: 620px;
  margin-bottom: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 11px;
  background: rgba(255,255,255,.018);
}
.settings-avatar {
  width: 58px; height: 58px; flex: 0 0 58px; display: grid; place-items: center;
  overflow: hidden; border: 1px solid rgba(196,243,107,.24); border-radius: 50%;
  color: var(--lime); background: radial-gradient(circle at 36% 26%, rgba(196,243,107,.18), rgba(20,31,23,.88) 66%);
  font-size: 22px; font-weight: 700; letter-spacing: -.05em;
}
.settings-avatar.has-image { padding: 0; border-color: var(--line-strong); background: #f2f1e8; }
.settings-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.settings-avatar-copy { min-width: 0; flex: 1; }
.settings-avatar-copy b { display: block; color: var(--text); font-size: 11px; font-weight: 560; }
.settings-avatar-copy small { display: block; margin-top: 4px; color: var(--muted-2); font-size: 8.5px; line-height: 1.6; }
.settings-avatar-msg { min-height: 14px; max-width: 620px; margin: 0 0 10px; color: var(--muted-2); font-size: 9px; line-height: 1.5; }
.settings-avatar-msg.is-err { color: var(--danger); }
.settings-avatar-msg.is-ok { color: var(--lime); }
.settings-danger-row {
  display: flex; align-items: center; justify-content: space-between; gap: 15px;
  margin-top: 15px; padding-top: 14px; border-top: 1px solid rgba(218,255,226,.08);
}
.settings-danger-row b { display: block; color: var(--text); font-size: 11px; font-weight: 540; }
.settings-danger-row small { display: block; margin-top: 3px; color: var(--muted-2); font-size: 8.5px; line-height: 1.6; }
.settings-password-form { max-width: 420px; }
.settings-device-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.settings-device-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.settings-devices { display: flex; flex-direction: column; gap: 6px; }
.settings-device {
  display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center;
  padding: 11px 12px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.02);
}
.settings-device.is-current { border-color: rgba(196,243,107,.20); background: rgba(196,243,107,.04); }
.settings-device-ico { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: rgba(255,255,255,.03); }
.settings-device-ico svg { width: 14px; height: 14px; }
.settings-device-copy { min-width: 0; }
.settings-device-copy b { display: block; color: var(--text); font-size: 10px; font-weight: 540; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.settings-device-copy small { display: block; margin-top: 2px; color: var(--muted-2); font-size: 8px; line-height: 1.5; }
.settings-device-current { color: var(--lime); font-size: 8px; white-space: nowrap; }
.settings-device-revoke { height: 27px; padding: 0 8px; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: var(--muted-2); font: inherit; font-size: 8.5px; cursor: pointer; white-space: nowrap; }
.settings-device-revoke:hover { color: var(--danger); border-color: rgba(255,120,120,.3); }
.settings-empty { padding: 14px; border: 1px dashed rgba(218,255,226,.14); border-radius: 10px; color: var(--muted-2); font-size: 9px; }
.settings-note { margin: 10px 0 0; color: var(--muted-2); font-size: 8.5px; line-height: 1.7; }
.settings-note.is-ok { color: var(--lime); }
.settings-note.is-err { color: var(--danger); }
.settings-toggles { display: flex; flex-direction: column; gap: 0; }
.settings-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 12px 0; border-bottom: 1px solid rgba(218,255,226,.07); cursor: pointer;
}
.settings-toggle:last-child { border-bottom: 0; padding-bottom: 2px; }
.settings-toggle-copy { min-width: 0; }
.settings-toggle-copy b { display: block; color: var(--text); font-size: 11px; font-weight: 540; }
.settings-toggle-copy small { display: block; margin-top: 3px; color: var(--muted-2); font-size: 8.5px; line-height: 1.6; }
.settings-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.settings-switch { position: relative; flex: 0 0 36px; width: 36px; height: 20px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.06); transition: .18s; }
.settings-switch::after { content: ""; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--muted); transition: .18s; }
.settings-toggle input:checked + .settings-switch { border-color: rgba(196,243,107,.35); background: rgba(196,243,107,.13); }
.settings-toggle input:checked + .settings-switch::after { left: 18px; background: var(--lime); }
.settings-toggle input:focus-visible + .settings-switch { outline: 2px solid rgba(196,243,107,.55); outline-offset: 2px; }
.settings-inline-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.settings-pref-reset { margin-top: 10px; }
.settings-inline-actions .ui-btn { height: 30px; padding: 0 9px; font-size: 9px; }
.settings-about-hero {
  padding: 28px 26px; border: 1px solid rgba(196,243,107,.20); border-radius: 20px;
  background:
    radial-gradient(500px 260px at 92% -10%, rgba(196,243,107,.14), transparent 68%),
    linear-gradient(135deg, rgba(28,40,30,.9), rgba(9,15,11,.96));
}
.settings-about-hero h2 { margin: 8px 0 10px; font-size: clamp(25px, 3.1vw, 36px); line-height: 1.08; letter-spacing: -.06em; font-weight: 680; }
.settings-about-hero h2 em { color: var(--lime); font-style: normal; font-weight: 620; }
.settings-about-hero p { max-width: 560px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.8; }
.settings-version { display: inline-block; margin-top: 17px; color: var(--muted-2); font-size: 8px; letter-spacing: .12em; }
@media (max-width: 760px) {
  .settings-heading { margin-bottom: 14px; }
  .top-settings { width: 29px; height: 29px; flex-basis: 29px; }
  .settings-subnav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 12px; }
  .settings-subnav button { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 8px 9px; border-radius: 8px; }
  .settings-subnav button b { display: none; }
  .settings-subnav button span { font-size: 10.5px; }
  .settings-subnav button small { max-width: 100%; font-size: 7.5px; }
  .settings-card { padding: 15px 14px; border-radius: 14px; }
  .settings-card-head h2 { font-size: 18px; }
  .settings-form { max-width: none; }
  .settings-avatar-row { gap: 10px; padding: 10px; }
  .settings-avatar { width: 50px; height: 50px; flex-basis: 50px; font-size: 19px; }
  .settings-avatar-copy small { display: none; }
  .settings-avatar-row .ui-btn { flex: 0 0 auto; padding: 0 9px; }
  .settings-avatar-msg { max-width: none; }
  .settings-grid { grid-template-columns: 1fr; max-width: none; }
  .settings-range-row { align-items: flex-start; flex-direction: column; gap: 8px; }
  .settings-range-label { width: 100%; }
  .settings-range-row output { text-align: left; }
  .settings-member-row { align-items: flex-start; flex-direction: column; gap: 10px; }
  .settings-field input, .settings-field select { height: 42px; font-size: 16px; }
  .settings-field textarea { font-size: 16px; }
  .settings-password-form { max-width: none; }
  .settings-danger-row { align-items: flex-start; flex-direction: column; gap: 9px; }
  .settings-device { grid-template-columns: 26px minmax(0, 1fr); }
  .settings-device-ico { width: 26px; height: 26px; }
  .settings-device-current, .settings-device-revoke { grid-column: 2; justify-self: start; }
  .settings-toggle { gap: 10px; }
  .settings-toggle-copy small { max-width: 245px; }
  .settings-about-hero { padding: 22px 18px; border-radius: 17px; }
  .settings-about-hero h2 { font-size: 27px; }
}
body.reduce-motion *, body.reduce-motion *::before, body.reduce-motion *::after {
  animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important;
}

/* 全屏播放时提示条移到顶部，避免遮住歌词和底部控制 */
body.np-open .toast {
  top: calc(env(safe-area-inset-top, 0px) + 66px);
  bottom: auto;
}

/* “查看全部”是可点击入口，给它接近触控尺寸的命中区 */
#recentOpenAll {
  display: inline-flex; align-items: center; gap: 4px;
  min-height: 38px; padding: 8px 4px;
}

/* 正在播放的歌曲在收藏/最近播放/歌单列表里也有明确标记 */
.lk-row.playing { background: rgba(196,243,107,.055); box-shadow: inset 2px 0 0 var(--lime); }
.lk-row.playing .lk-name { color: var(--lime); }

@media (max-width: 760px) {
  #recentOpenAll { min-height: 44px; }
}

/* =========================================================
   LISTEN — 独立听歌板块 / 模式选择 / 连续推荐流
   ========================================================= */
.listen-page {
  background:
    radial-gradient(900px 460px at 82% -8%, rgba(196, 243, 107, .08), transparent 62%),
    radial-gradient(800px 600px at 0% 80%, rgba(112, 145, 255, .05), transparent 66%);
}
.listen-shell { max-width: 1180px; margin: 0 auto; }
.listen-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 22px;
  padding: 6px 0 20px;
}
.listen-head-copy h1 {
  margin: 14px 0 13px;
  font-size: clamp(42px, 4.7vw, 66px); line-height: .98; letter-spacing: -.078em; font-weight: 730;
}
.listen-head-copy h1 em { color: var(--lime); font-style: normal; }
.listen-head-copy p { max-width: 570px; margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.85; }
.listen-head-stats { display: flex; flex-direction: column; align-items: flex-end; gap: 9px; flex: 0 0 auto; }
#listenTotal { color: var(--muted-2); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }

.listen-modes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 0 0 18px; }
.listen-mode-card {
  appearance: none; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start;
  min-height: 132px; padding: 13px 12px 12px; border: 1px solid var(--line); border-radius: 16px;
  background:
    linear-gradient(155deg, rgba(255,255,255,.055), rgba(255,255,255,.012) 48%, rgba(0,0,0,.05)),
    rgba(17, 25, 20, .72);
  color: var(--text); text-align: left; cursor: pointer; font: inherit;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.listen-mode-card::after {
  content: ""; position: absolute; width: 72px; height: 72px; right: -24px; top: -24px; border-radius: 50%;
  background: rgba(196, 243, 107, .06); filter: blur(1px); pointer-events: none;
}
.listen-mode-card:hover { transform: translateY(-2px); border-color: rgba(196,243,107,.25); background-color: rgba(23, 34, 26, .82); }
.listen-mode-card.on {
  border-color: rgba(196,243,107,.52);
  background:
    linear-gradient(150deg, rgba(196,243,107,.18), rgba(196,243,107,.045) 58%, rgba(0,0,0,.04)),
    rgba(20, 33, 23, .88);
  box-shadow: 0 10px 38px rgba(0,0,0,.24), inset 0 0 0 1px rgba(196,243,107,.08);
}
.listen-mode-card.on::before {
  content: ""; position: absolute; left: 12px; right: 12px; top: 0; height: 2px; border-radius: 99px;
  background: var(--lime); box-shadow: 0 0 18px rgba(196,243,107,.55);
}
.lm-top { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 6px; }
.lm-index { color: var(--muted-2); font-size: 9px; letter-spacing: .13em; }
.lm-tag { color: var(--lime); font-size: 8px; letter-spacing: .13em; opacity: .82; }
.lm-name { display: block; margin-top: 12px; font-size: 19px; font-weight: 760; letter-spacing: -.055em; line-height: 1.15; }
.lm-desc {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.55;
}
.lm-foot { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.lm-count { color: var(--muted-2); font-size: 9px; letter-spacing: .04em; }
.lm-arrow { color: var(--lime); opacity: .7; font-size: 13px; line-height: 1; }
.listen-pure {
  margin: -4px 0 20px; padding: 12px 14px 13px; border: 1px solid var(--line); border-radius: 16px;
  background: linear-gradient(120deg, rgba(196,243,107,.07), rgba(17,25,20,.4) 60%, rgba(0,0,0,.03));
}
.listen-pure-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
.listen-pure-head .sec-kicker { font-size: 9px; }
.listen-pure-head small { color: var(--muted-2); font-size: 9px; letter-spacing: .02em; }
.listen-pure-modes { display: flex; flex-wrap: wrap; gap: 7px; }
.listen-mood-chip {
  appearance: none; min-height: 30px; padding: 6px 11px; border: 1px solid var(--line); border-radius: 99px;
  background: rgba(255,255,255,.03); color: var(--muted); font: inherit; font-size: 10px; letter-spacing: .04em;
  cursor: pointer; transition: color .16s ease, border-color .16s ease, background .16s ease, transform .16s ease;
}
.listen-mood-chip:hover { transform: translateY(-1px); border-color: rgba(196,243,107,.3); color: var(--text); }
.listen-mood-chip.on { color: var(--lime); border-color: rgba(196,243,107,.5); background: rgba(196,243,107,.1); }
.listen-mood-chip b { font-weight: 600; }
@media (max-width: 760px) {
  .listen-pure { margin: -2px 0 14px; padding: 10px 11px 11px; border-radius: 14px; }
  .listen-pure-head { display: block; margin-bottom: 8px; }
  .listen-pure-head small { display: block; margin-top: 4px; }
  .listen-pure-modes { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; }
  .listen-pure-modes::-webkit-scrollbar { display: none; }
  .listen-mood-chip { flex: 0 0 auto; }
}
.listen-mode-card.on .lm-count { color: rgba(196,243,107,.74); }

.listen-now {
  position: relative; overflow: hidden; display: grid;
  grid-template-columns: 292px minmax(0, 1fr) 86px; align-items: center; gap: 25px;
  padding: 20px; border: 1px solid var(--line-strong); border-radius: 24px;
  background-color: #0b110d;
  background-image:
    linear-gradient(90deg, rgba(8,13,9,.92) 0%, rgba(8,13,9,.74) 56%, rgba(8,13,9,.93) 100%),
    var(--now-bg, none);
  background-position: center;
  background-size: cover;
  box-shadow: 0 28px 80px rgba(0,0,0,.32);
  isolation: isolate;
}
.listen-now::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,.16) .55px, transparent .55px);
  background-size: 4px 4px; opacity: .12; mix-blend-mode: soft-light;
}
.listen-now-visual {
  position: relative; overflow: hidden; width: 292px; aspect-ratio: 1 / 1; border-radius: 17px;
  background: linear-gradient(145deg, #202c22, #0c120e); box-shadow: 0 18px 45px rgba(0,0,0,.4);
}
.listen-now-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.listen-now-visual img:not([src]) { display: none; }
.listen-now-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.08), transparent 45%, rgba(0,0,0,.65));
}
.listen-now-badge {
  position: absolute; left: 11px; top: 11px; z-index: 1;
  padding: 5px 8px; border: 1px solid rgba(255,255,255,.18); border-radius: 7px;
  background: rgba(5,9,7,.56); color: #fff; font-size: 8px; letter-spacing: .12em; backdrop-filter: blur(8px);
}
.listen-now-eq { position: absolute; left: 15px; bottom: 15px; z-index: 1; display: flex; align-items: flex-end; gap: 3px; height: 18px; }
.listen-now-eq i { display: block; width: 3px; border-radius: 3px; background: var(--lime); opacity: .78; animation: listenEq 1.1s ease-in-out infinite alternate; }
.listen-now-eq i:nth-child(1) { height: 7px; animation-delay: -.1s; }
.listen-now-eq i:nth-child(2) { height: 14px; animation-delay: -.55s; }
.listen-now-eq i:nth-child(3) { height: 9px; animation-delay: -.3s; }
.listen-now-eq i:nth-child(4) { height: 17px; animation-delay: -.75s; }
.listen-now-eq i:nth-child(5) { height: 6px; animation-delay: -.2s; }
@keyframes listenEq { from { transform: scaleY(.45); opacity: .45; } to { transform: scaleY(1); opacity: .9; } }

.listen-now-copy { position: relative; min-width: 0; padding: 3px 0; }
.listen-now-copy h2 {
  margin: 10px 0 5px; font-size: clamp(30px, 3.1vw, 46px); line-height: 1.06; letter-spacing: -.07em; font-weight: 730;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-word;
}
.listen-now-artist { margin: 0 0 12px; color: rgba(242,247,239,.72); font-size: 12px; line-height: 1.6; }
.listen-now-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 18px; }
.listen-now-meta span {
  padding: 4px 7px; border: 1px solid var(--line); border-radius: 6px; background: rgba(255,255,255,.035);
  color: var(--muted); font-size: 9px; letter-spacing: .025em;
}
.listen-now-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; min-height: 0; }
.listen-now-tags span { color: rgba(196,243,107,.72); font-size: 9px; }
.listen-now-tags span::before { content: "#"; opacity: .6; }
.listen-now-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.listen-now-actions .ui-btn { min-height: 34px; }
.listen-now-index { align-self: stretch; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 5px; border-left: 1px solid var(--line); padding-left: 15px; }
.listen-now-index span { color: var(--muted-2); font-size: 8px; letter-spacing: .14em; }
.listen-now-index b { color: var(--lime); font-size: 18px; font-weight: 650; letter-spacing: -.03em; line-height: 1; text-align: right; }
.listen-now-index small { color: var(--muted-2); font-size: 8px; line-height: 1.5; text-align: right; }

.listen-stream { margin-top: 30px; }
.listen-stream-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.listen-stream-head h2 { margin: 8px 0 0; font-size: 27px; letter-spacing: -.06em; }
.listen-stream-head p { margin: 0; max-width: 380px; color: var(--muted); font-size: 10px; line-height: 1.6; text-align: right; }
.listen-feed { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.listen-card {
  position: relative; display: grid; grid-template-columns: 28px 58px minmax(0, 1fr) 30px; align-items: center; gap: 9px;
  min-width: 0; min-height: 82px; padding: 9px 9px 9px 6px;
  border: 1px solid var(--line); border-radius: 14px; background: rgba(18, 26, 21, .62);
  color: var(--text); text-align: left; cursor: pointer; font: inherit;
  transition: background .16s, border-color .16s, transform .16s;
}
.listen-card:hover { background: rgba(26, 38, 30, .8); border-color: rgba(196,243,107,.24); transform: translateY(-1px); }
.listen-card.on { border-color: rgba(196,243,107,.48); background: rgba(28, 46, 32, .8); box-shadow: inset 2px 0 0 var(--lime); }
.lc-rank { color: var(--muted-2); font-size: 9px; letter-spacing: .04em; text-align: center; font-variant-numeric: tabular-nums; }
.listen-card.on .lc-rank { color: var(--lime); }
.lc-cover { position: relative; display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; overflow: hidden; border-radius: 9px; background: linear-gradient(145deg, #26352a, #0e1510); color: var(--muted); font-size: 18px; }
.lc-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lc-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.2)); pointer-events: none; }
.lc-copy { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lc-eyebrow { color: var(--lime); font-size: 8px; letter-spacing: .08em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .82; }
.lc-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 650; letter-spacing: -.02em; line-height: 1.3; }
.lc-sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 10px; line-height: 1.35; }
.lc-tags { display: flex; gap: 4px; overflow: hidden; margin-top: 2px; }
.lc-tags span { flex: 0 0 auto; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 2px 5px; border-radius: 4px; background: rgba(196,243,107,.075); color: rgba(196,243,107,.7); font-size: 8px; line-height: 1.3; }
.lc-actions { display: flex; align-items: center; justify-content: flex-end; }
.lc-play {
  width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(196,243,107,.2); border-radius: 50%; background: rgba(196,243,107,.09);
  color: var(--lime); cursor: pointer; font-size: 12px; transition: .15s;
}
.lc-play:hover { background: var(--lime); color: #0b110d; border-color: var(--lime); }
.listen-loading { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 86px; color: var(--muted-2); font-size: 10px; }
.listen-loading i { display: block; width: 4px; height: 18px; border-radius: 3px; background: var(--lime); opacity: .35; animation: listenLoading 1s ease-in-out infinite; }
.listen-loading i:nth-child(2) { animation-delay: .14s; }
.listen-loading i:nth-child(3) { animation-delay: .28s; }
.listen-loading span { margin-left: 6px; }
@keyframes listenLoading { 0%,100% { transform: scaleY(.35); opacity: .25; } 50% { transform: scaleY(1); opacity: .8; } }
.listen-more { display: flex; align-items: center; justify-content: center; padding: 16px 0 2px; }
.listen-more button { min-width: 160px; }
.listen-more button:disabled { opacity: .45; cursor: default; }
.listen-empty { grid-column: 1 / -1; padding: 42px 18px; border: 1px dashed var(--line); border-radius: 15px; color: var(--muted); text-align: center; font-size: 12px; }

@media (max-width: 1120px) {
  .listen-now { grid-template-columns: 244px minmax(0, 1fr) 74px; gap: 20px; }
  .listen-now-visual { width: 244px; }
  .listen-mode-card { min-height: 126px; padding: 12px 10px; }
  .lm-name { font-size: 17px; }
}
@media (max-width: 900px) {
  .listen-modes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .listen-now { grid-template-columns: 210px minmax(0, 1fr); }
  .listen-now-visual { width: 210px; }
  .listen-now-index { display: none; }
  .listen-feed { gap: 7px; }
  .listen-card { grid-template-columns: 22px 50px minmax(0, 1fr) 28px; gap: 7px; }
  .lc-cover { width: 50px; height: 50px; }
}
@media (max-width: 760px) {
  .listen-head { display: block; padding-top: 0; }
  .listen-head-copy h1 { margin-top: 11px; font-size: clamp(38px, 10.8vw, 48px); }
  .listen-head-copy p { font-size: 11px; line-height: 1.75; max-width: none; }
  .listen-head-stats { flex-direction: row; align-items: center; justify-content: space-between; margin-top: 12px; gap: 10px; }
  #listenTotal { font-size: 8px; }
  .listen-head-stats .ui-btn { min-height: 32px; }
  .listen-modes {
    display: flex; grid-template-columns: none; overflow-x: auto; gap: 7px;
    margin: 13px -12px 14px; padding: 1px 12px 4px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  }
  .listen-modes::-webkit-scrollbar { display: none; }
  .listen-mode-card { flex: 0 0 146px; min-height: 112px; padding: 11px 10px; scroll-snap-align: start; }
  .lm-name { margin-top: 9px; font-size: 17px; }
  .lm-desc { font-size: 9px; -webkit-line-clamp: 2; }
  .listen-now { grid-template-columns: 1fr; gap: 13px; padding: 11px; border-radius: 20px; }
  .listen-now-visual { width: 100%; aspect-ratio: 1.06; border-radius: 15px; }
  .listen-now-copy { padding: 1px 3px 3px; }
  .listen-now-copy h2 { margin-top: 7px; font-size: 31px; }
  .listen-now-artist { margin-bottom: 9px; font-size: 11px; }
  .listen-now-meta span { font-size: 8px; padding: 3px 6px; }
  .listen-now-actions { gap: 6px; margin-top: 12px; }
  .listen-now-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .listen-now-actions .ui-btn { width: 100%; min-height: 36px; }
  .listen-now-actions .ui-btn span { white-space: nowrap; }
  .listen-now-eq { bottom: 12px; left: 12px; }
  .listen-now-badge { left: 9px; top: 9px; }
  .listen-stream { margin-top: 24px; }
  .listen-stream-head { align-items: flex-start; margin-bottom: 9px; }
  .listen-stream-head h2 { font-size: 23px; }
  .listen-stream-head p { display: none; }
  .listen-feed { grid-template-columns: 1fr; gap: 6px; }
  .listen-card { grid-template-columns: 22px 52px minmax(0, 1fr) 30px; min-height: 76px; padding: 7px 7px 7px 5px; border-radius: 12px; }
  .lc-cover { width: 52px; height: 52px; border-radius: 8px; }
  .lc-name { font-size: 13px; }
  .lc-sub { font-size: 9.5px; }
  .lc-tags span { font-size: 7.5px; max-width: 90px; }
  .lc-play { width: 29px; height: 29px; }
  .listen-more { padding-top: 12px; }
  .listen-more button { width: 100%; }
  .nav button { font-size: 9.5px; gap: 1px; }
  .nav-ico { font-size: 16px; }
}

/* 纯音乐独立频道：从听歌模式里升为一级板块 */
.listen-page.pure-surface #listenHead,
.listen-page.pure-surface #listenModes { display: none; }
.listen-page.pure-surface #pureHero { display: block; }
.listen-page.pure-surface .listen-pure {
  margin: 0 0 18px;
  padding: 18px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 88% 10%, rgba(196,243,107,.12), transparent 34%),
    linear-gradient(120deg, rgba(196,243,107,.075), rgba(17,25,20,.52) 58%, rgba(0,0,0,.03));
  border-color: rgba(196,243,107,.2);
}
.listen-page.pure-surface .listen-pure-head { margin-bottom: 13px; }
.listen-page.pure-surface .listen-pure-head .sec-kicker { font-size: 10px; }
.listen-page.pure-surface .listen-pure-head small { color: var(--muted); font-size: 10px; }
.listen-page.pure-surface .listen-pure-modes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  overflow: visible;
}
.listen-page.pure-surface .listen-mood-chip {
  min-height: 42px;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 12px;
  text-align: left;
}
.listen-page.pure-surface .listen-mood-chip b { display: block; }
.listen-page.pure-surface .listen-mood-chip.on {
  background: linear-gradient(145deg, rgba(196,243,107,.2), rgba(196,243,107,.055));
  box-shadow: inset 0 0 0 1px rgba(196,243,107,.1);
}
@media (max-width: 760px) {
  .listen-page.pure-surface .listen-pure { padding: 14px; border-radius: 16px; }
  .listen-page.pure-surface .listen-pure-modes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; overflow: visible; }
  .listen-page.pure-surface .listen-mood-chip { min-height: 38px; padding: 7px 8px; font-size: 11px; }
}

/* =========================================================
   LISTEN — 列表优先的移动端信息层级
   ========================================================= */
.listen-stream-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.listen-stream-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px; }
.listen-stream-actions .ui-btn { min-height: 30px; }
.lc-reason {
  display: inline-flex; align-self: flex-start; max-width: 100%;
  padding: 2px 6px; border: 1px solid rgba(196,243,107,.16); border-radius: 4px;
  background: rgba(196,243,107,.075); color: rgba(196,243,107,.82);
  font-size: 8px; line-height: 1.35; letter-spacing: .02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

@media (max-width: 760px) {
  .listen-head { padding: 0 0 10px; }
  .listen-head-copy h1 {
    margin: 8px 0 7px; font-size: clamp(30px, 8.6vw, 36px); line-height: 1.03; letter-spacing: -.065em;
  }
  .listen-head-copy p {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    font-size: 10.5px; line-height: 1.65;
  }
  .listen-head-stats { margin-top: 8px; }
  .listen-modes {
    display: flex; grid-template-columns: none; overflow-x: auto; gap: 6px;
    margin: 9px -12px 10px; padding: 0 12px 3px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  }
  .listen-modes::-webkit-scrollbar { display: none; }
  .listen-mode-card {
    flex: 0 0 auto; min-height: 38px; padding: 7px 10px; border-radius: 999px;
    display: inline-flex; flex-direction: row; align-items: center; gap: 7px; scroll-snap-align: start;
  }
  .listen-mode-card::before, .listen-mode-card::after { display: none; }
  .lm-top, .lm-desc, .lm-arrow { display: none; }
  .lm-name { display: block; margin: 0; font-size: 12.5px; line-height: 1.2; white-space: nowrap; }
  .lm-foot { display: inline-flex; width: auto; margin: 0; padding: 0; align-items: center; }
  .lm-count { font-size: 8px; white-space: nowrap; }
  .listen-now { display: none !important; }
  .listen-stream { margin-top: 14px; }
  .listen-stream-head { align-items: flex-start; gap: 8px; }
  .listen-stream-head h2 { font-size: 22px; }
  .listen-stream-side { align-items: flex-start; gap: 6px; }
  .listen-stream-head p { display: none; }
  .listen-stream-actions { justify-content: flex-start; }
  .listen-stream-actions .ui-btn { min-height: 30px; padding: 6px 9px; font-size: 10px; }
  .listen-page.pure-surface .listen-pure { margin: 0 0 10px; padding: 10px 11px; border-radius: 14px; }
  .listen-page.pure-surface .listen-pure-head { margin-bottom: 7px; }
  .listen-page.pure-surface .listen-pure-head small { display: none; }
  .listen-page.pure-surface .listen-pure-modes {
    display: flex; grid-template-columns: none; overflow-x: auto; gap: 6px; padding-bottom: 2px;
  }
  .listen-page.pure-surface .listen-pure-modes::-webkit-scrollbar { display: none; }
  .listen-page.pure-surface .listen-mood-chip {
    flex: 0 0 auto; min-height: 32px; padding: 6px 10px; border-radius: 999px; font-size: 10.5px;
  }
  .listen-card .lc-tags { display: none; }
}
@media (max-width: 760px) {
  #listenRefresh, #pureRefresh { display: none; }
}

/* ================= SETTINGS — 一级列表索引 ================= */
.settings-index { max-width: 860px; }
.settings-index-lead {
  max-width: 560px; margin: 0 0 14px;
  color: var(--muted); font-size: 10.5px; line-height: 1.8;
}
.settings-index-list {
  overflow: hidden; border: 1px solid var(--line); border-radius: 16px;
  background: rgba(18,26,21,.62);
}
.settings-index-group-label {
  padding: 15px 16px 7px;
  color: var(--muted-2); font-size: 8px; letter-spacing: .1em;
  text-transform: uppercase;
}
.settings-index-group-label:not(:first-child) { border-top: 1px solid rgba(218,255,226,.07); padding-top: 14px; }
.settings-index-row {
  display: grid; grid-template-columns: 38px minmax(0, 1fr) auto 16px;
  align-items: center; gap: 12px; width: 100%; min-height: 64px;
  padding: 13px 16px; border: 0; border-top: 1px solid rgba(218,255,226,.07);
  background: transparent; color: var(--text); text-align: left;
  font: inherit; cursor: pointer; transition: background .16s, border-color .16s;
}
.settings-index-row:hover { background: rgba(196,243,107,.045); }
.settings-index-row:focus-visible { outline: 1px solid var(--lime); outline-offset: -2px; }
.settings-index-ico {
  display: grid; place-items: center; width: 36px; height: 36px;
  border: 1px solid rgba(196,243,107,.15); border-radius: 10px;
  background: rgba(196,243,107,.05); color: var(--lime);
}
.settings-index-ico svg { width: 15px; height: 15px; }
.settings-index-copy { min-width: 0; }
.settings-index-copy b {
  display: block; color: var(--text); font-size: 12.5px; font-weight: 570;
  line-height: 1.3;
}
.settings-index-copy small {
  display: block; margin-top: 3px; overflow: hidden;
  color: var(--muted-2); font-size: 8.5px; line-height: 1.45;
  text-overflow: ellipsis; white-space: nowrap;
}
.settings-index-state {
  padding: 3px 6px; border: 1px solid rgba(218,255,226,.08); border-radius: 4px;
  color: var(--muted-2); font-size: 8px; line-height: 1.35; white-space: nowrap;
}
.settings-index-state[data-settings-state="account"] { color: rgba(196,243,107,.78); border-color: rgba(196,243,107,.13); }
.settings-index-chevron { display: grid; place-items: center; color: var(--muted-2); }
.settings-index-chevron svg { width: 13px; height: 13px; }
.settings-index-foot { margin: 11px 2px 0; color: var(--muted-2); font-size: 8.5px; line-height: 1.7; }

.settings-panel-bar { display: flex; align-items: center; gap: 9px; margin: -2px 0 12px; }
.settings-panel-back {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 0; border: 0; background: transparent; color: var(--muted);
  font: inherit; font-size: 9.5px; cursor: pointer;
}
.settings-panel-back svg { width: 13px; height: 13px; }
.settings-panel-back:hover { color: var(--text); }
.settings-panel-crumb { color: var(--muted-2); font-size: 9px; letter-spacing: .03em; }

@media (max-width: 760px) {
  .settings-index { max-width: none; }
  .settings-index-lead { margin-bottom: 10px; font-size: 10px; }
  .settings-index-list { border-radius: 14px; }
  .settings-index-group-label { padding: 12px 12px 6px; font-size: 7.5px; }
  .settings-index-row {
    grid-template-columns: 33px minmax(0, 1fr) auto 14px; gap: 10px;
    min-height: 58px; padding: 11px 12px;
  }
  .settings-index-ico { width: 32px; height: 32px; border-radius: 9px; }
  .settings-index-ico svg { width: 14px; height: 14px; }
  .settings-index-copy b { font-size: 12px; }
  .settings-index-copy small { font-size: 8px; }
  .settings-index-state { font-size: 7.5px; padding: 2px 5px; }
  .settings-index-chevron svg { width: 12px; height: 12px; }
  .settings-index-foot { font-size: 8px; }
  .settings-panel-bar { margin-bottom: 10px; }
}

@media (max-width: 760px) {
  .settings-heading {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-bottom: 14px;
  }
  .settings-heading > div { min-width: 0; }
  .settings-heading h1 { font-size: 30px; }
  .settings-heading .back-home { flex: 0 0 auto; }
}
[data-settings-panel="account"] .settings-card-head h2 { display: none; }
[data-settings-panel="account"] .settings-card-head { margin-bottom: 9px; }

/* ---------------------------- 隐私同意 / 法务链接 ---------------------------- */
.login-consent {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  color: var(--muted); font-size: 9.5px; line-height: 1.7; padding: 1px 0 0;
}
.login-consent input { width: 14px; height: 14px; margin: 0; accent-color: var(--lime-soft); flex: none; }
.login-consent label { cursor: pointer; color: var(--muted); }
.login-consent a {
  color: var(--lime); text-decoration: none;
  border-bottom: 1px solid rgba(196, 243, 107, .38);
}
.login-consent a:hover { border-bottom-color: var(--lime); }
.settings-legal-link {
  color: var(--lime); text-decoration: none;
  border-bottom: 1px solid rgba(196, 243, 107, .34);
  text-underline-offset: 2px;
}
.settings-legal-link:hover { border-bottom-color: var(--lime); }
.settings-legal-btn { text-decoration: none; margin-top: 12px; border-color: rgba(196, 243, 107, .40); }
.settings-legal-btn span { color: var(--lime); }
@media (max-width: 720px) {
  .login-consent { font-size: 10px; }
  .settings-legal-btn { width: auto; }
}

/* =========================================================
   2026-12-04 · CALM EDITORIAL
   去掉荧光概念稿/玻璃光晕/AI 模板感，保留深色听歌场景。
   ========================================================= */
:root {
  --bg: #11120e;
  --bg-deep: #0b0c09;
  --panel: rgba(25, 26, 20, .82);
  --panel-solid: #191a14;
  --panel-soft: #1d1e18;
  --line: rgba(243, 240, 231, .10);
  --line-strong: rgba(243, 240, 231, .17);
  --text: #f3f0e7;
  --muted: #a7a69c;
  --muted-2: #77786f;
  --lime: #b8cf8a;
  --lime-soft: #a9c77e;
  --lime-dim: rgba(184, 207, 138, .10);
  --amber: #d2b36f;
  --blue: #9bb6cc;
  --danger: #e8938a;
  --radius: 12px;
  --shadow: none;
  --font: "PingFang SC", "Noto Sans SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --ui-primary: #b8cf8a;
  --ui-primary-fg: #15170f;
  --ui-fg: #f3f0e7;
  --ui-muted: #a7a69c;
  --ui-border: rgba(243, 240, 231, .13);
  --ui-input: rgba(243, 240, 231, .13);
  --ui-ring: rgba(184, 207, 138, .40);
  --ui-secondary: #23241c;
  --ui-secondary-fg: #e8e5dc;
  --ui-accent: rgba(184, 207, 138, .10);
  --ui-danger: #e8938a;
}

html { background: #11120e; }
body {
  background: #11120e !important;
  color: var(--text);
  font-family: var(--font);
}
::selection { background: rgba(184, 207, 138, .22); color: #fff; }
.rail {
  background: #0e0f0c !important;
  border-right-color: var(--line);
}
.rail::after { display: none !important; }
.brand-mark {
  background: #1c1e16 !important;
  border-color: var(--line-strong) !important;
  box-shadow: none !important;
}
.brand-sub { font-size: 9.5px; letter-spacing: .03em; color: var(--muted-2); }
.nav button { border-radius: 7px; padding: 8px 10px; }
.nav button em { display: none; }
.nav button.on { color: var(--text); background: rgba(184, 207, 138, .08); border-color: transparent; }
.nav button.on .nav-ico { color: var(--lime); }
.nav button:hover { background: rgba(255, 255, 255, .035); }
.live-pulse, .dot-lime { box-shadow: none !important; animation: none; }
.live-pulse { background: var(--muted); }
.library, .rail-note { color: var(--muted); }

/* 页首：内容先行，不再用品牌口号占首屏 */
.home-intro {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  padding: 22px 2px 14px; margin-bottom: 4px; border-bottom: 1px solid var(--line);
}
.home-intro h1 { margin: 0; font-size: 27px; line-height: 1.2; letter-spacing: -.02em; font-weight: 650; }
.home-intro p { margin: 6px 0 0; color: var(--muted); font-size: 12.5px; }
.home-intro-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.home-intro-actions .ui-btn { height: 34px; }

/* 统一去掉装饰性英文微标签；信息交给中文标题和内容 */
.sec-kicker { display: none !important; }
.shelf { margin-top: 24px; }
.shelf-head { align-items: center; margin-bottom: 12px; }
.shelf-head h2 { font-size: 20px; letter-spacing: -.02em; font-weight: 620; }
.shelf-note { font-size: 11px; color: var(--muted); letter-spacing: 0; }
.shelf-action { color: var(--muted); font-size: 11px; }
.shelf-action:hover { color: var(--text); }

/* 官方卡片：封面主导，去掉徽章/发光/悬浮 */
.official-grid { gap: 12px; }
.official-card {
  border-radius: 12px; background: var(--panel-soft);
  border-color: var(--line); box-shadow: none;
}
.official-card:hover { transform: none; border-color: var(--line-strong); box-shadow: none; }
.official-badge { display: none !important; }
.official-play { width: 30px; height: 30px; background: var(--lime); box-shadow: none; }
.official-body { padding: 12px 13px 13px; }
.official-body small { font-size: 10px; letter-spacing: 0; color: var(--muted); }
.official-body b { font-size: 15px; letter-spacing: -.01em; }
.official-body span { font-size: 10.5px; line-height: 1.55; }

/* 五个平台只在说明处出现，不在卡片上反复强调 */
.source-list span small { display: none; }
.source-strip { border-bottom-color: var(--line); }

/* 设置：从“专题页”收回“设置页” */
.settings-shell { max-width: 820px; }
.settings-heading { margin-bottom: 14px; align-items: center; }
.settings-heading h1 { font-size: 26px; line-height: 1.2; letter-spacing: -.02em; font-weight: 650; }
.settings-index { max-width: 760px; }
.settings-index-lead { margin-bottom: 12px; font-size: 12px; line-height: 1.7; }
.settings-index-list { border-radius: 10px; background: var(--panel-soft); }
.settings-index-group-label {
  padding: 13px 14px 5px; color: var(--muted); font-size: 11px; letter-spacing: 0; text-transform: none;
}
.settings-index-row {
  grid-template-columns: 30px minmax(0, 1fr) auto 14px;
  gap: 10px; min-height: 56px; padding: 10px 14px;
}
.settings-index-row:hover { background: rgba(255, 255, 255, .035); }
.settings-index-ico {
  width: 30px; height: 30px; border: 0; border-radius: 7px;
  background: transparent; color: var(--muted);
}
.settings-index-copy b { font-size: 14px; letter-spacing: 0; font-weight: 600; }
.settings-index-copy small { margin-top: 2px; font-size: 11px; }
.settings-index-state { padding: 2px 6px; font-size: 10px; border-radius: 4px; }
.settings-index-state[data-settings-state="account"] { color: var(--lime); border-color: var(--line); }
.settings-index-foot { font-size: 10px; color: var(--muted); }
.settings-card { border-radius: 10px; background: var(--panel-soft); padding: 16px; }
.settings-card-head { margin-bottom: 10px; }
.settings-card-head h2 { font-size: 18px; letter-spacing: -.02em; }
.settings-about-hero { border-radius: 12px; background: var(--panel-soft); padding: 22px; }
.settings-about-hero h2 { font-size: 24px; letter-spacing: -.02em; }
.settings-about-hero p { font-size: 11px; }
.settings-version { margin-top: 12px; font-size: 10px; letter-spacing: 0; }

/* 其他频道也收掉超大标题，保留层级 */
.page-heading h1, .listen-head-copy h1, .me-guest-copy h1 {
  font-size: 28px !important; line-height: 1.2 !important; letter-spacing: -.02em !important; font-weight: 640 !important;
}
.listen-now-copy h2 { font-size: 26px; line-height: 1.2; letter-spacing: -.02em; font-weight: 640; }
.page-heading { margin-bottom: 18px; }
.listen-head { padding-bottom: 14px; }
.listen-now-badge, .listen-now-index { display: none !important; }
.listen-page, .pure-surface, .music-page { background: transparent !important; }

/* 登录：从左右分屏广告页收回单面板 */
.login-modal {
  background: rgba(5, 6, 4, .86) !important;
  backdrop-filter: blur(5px) !important;
}
.login-shell {
  display: block !important;
  width: min(420px, 100%) !important;
  border-radius: 14px !important;
  border-color: var(--line-strong) !important;
  background: var(--panel-solid) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .42) !important;
}
.login-panel {
  padding: 26px 24px 22px !important;
  gap: 12px !important;
  max-height: calc(100dvh - 36px);
  background: transparent !important;
}
.login-head h3 { margin-top: 4px; font-size: 22px; letter-spacing: -.02em; }
.login-kicker { display: none; }
.login-note { max-width: none; font-size: 12px; line-height: 1.6; color: var(--muted); }
.login-tabs { gap: 18px; }
.login-tabs button { font-size: 12px; letter-spacing: 0; }
.login-field label { font-size: 11px; letter-spacing: 0; text-transform: none; color: var(--muted); }
.login-input { min-height: 44px; border-radius: 8px; background: var(--panel-soft); }
.login-input:focus-within { box-shadow: none; background: #22231b; }
.login-submit {
  height: 44px; border-radius: 8px; background: var(--lime) !important;
  color: #171a10 !important; box-shadow: none !important; font-weight: 600;
}
.login-submit:hover { background: #c7d9a0 !important; }
.login-consent { font-size: 11px; }
.login-close { border-radius: 7px; }

/* 播放器：贴底实体条，不再是漂浮玻璃胶囊 */
.player {
  left: calc(var(--rail-w) + 0px); right: 0; bottom: 0;
  border-radius: 0; border-left: 0; border-right: 0; border-bottom: 0;
  border-top: 1px solid var(--line-strong);
  background: var(--panel-solid); box-shadow: none;
}
.np-cover { border-radius: 7px; background: #202219; }
.np-cover.playing::after { display: none !important; }
.np-play { background: var(--lime) !important; color: #171a10 !important; box-shadow: none !important; }
.np-play:hover { background: #c7d9a0 !important; }
input[type="range"] {
  background: linear-gradient(90deg, rgba(184, 207, 138, .7) var(--range-progress, 0%), rgba(243, 240, 231, .14) var(--range-progress, 0%));
}
input[type="range"]:hover::-webkit-slider-thumb { background: var(--lime); }
.np-sheet { border-radius: 14px; }

/* 卡片和按钮统一到克制圆角 */
.ui-btn.ui-btn--primary { background: var(--ui-primary); border-color: var(--ui-primary); color: var(--ui-primary-fg); }
.ui-btn.ui-btn--primary:hover { background: #c7d9a0; border-color: #c7d9a0; }
.ui-btn.ui-btn--primary:active { background: #aec47f; border-color: #aec47f; }
.ui-btn.ui-btn--secondary { background: var(--ui-secondary); border-color: var(--ui-border); color: var(--ui-secondary-fg); }
.ui-btn.ui-btn--secondary:hover { background: #2a2b21; border-color: var(--line-strong); }
.ui-btn.ui-btn--outline { border-color: var(--ui-border); }
.ui-btn.ui-btn--outline:hover { background: var(--ui-accent); border-color: var(--line-strong); }
.ui-btn.ui-btn--link:hover { color: var(--lime); }
.ui-btn.ui-btn--sm { border-radius: 7px; }

@media (max-width: 760px) {
  .home-intro { display: block; padding: 11px 2px 13px; }
  .home-intro h1 { font-size: 22px; }
  .home-intro p { margin-top: 4px; font-size: 12px; }
  .home-intro-actions { justify-content: flex-start; margin-top: 12px; }
  .home-intro-actions .ui-btn { height: 32px; }
  .shelf { margin-top: 21px; }
  .shelf-head h2 { font-size: 19px; }
  .shelf-note { font-size: 10px; }
  .official-grid { gap: 10px; }
  .page-heading h1, .listen-head-copy h1, .me-guest-copy h1 { font-size: 25px !important; }
  .settings-shell { max-width: none; }
  .settings-heading h1 { font-size: 23px; }
  .settings-index { max-width: none; }
  .settings-index-lead { font-size: 11.5px; }
  .settings-index-group-label { padding: 12px 12px 4px; font-size: 10.5px; }
  .settings-index-row { min-height: 53px; padding: 9px 12px; grid-template-columns: 28px minmax(0, 1fr) auto 13px; gap: 9px; }
  .settings-index-ico { width: 28px; height: 28px; }
  .settings-index-copy b { font-size: 13px; }
  .settings-index-copy small { font-size: 10px; }
  .settings-index-state { font-size: 9px; }
  .login-modal { padding: 14px; }
  .login-shell { width: 100% !important; max-height: calc(100dvh - 28px); }
  .login-panel { padding: 22px 20px 18px !important; }
  .login-head h3 { font-size: 21px; }
  .player {
    left: 0; right: 0; bottom: calc(58px + env(safe-area-inset-bottom, 0px));
    height: 54px; border-radius: 0; border: 0; border-top: 1px solid var(--line-strong);
  }
}

.ts-no, .ts-glyph { display: none !important; }
.me-guest-note > span { display: none !important; }

/* 推荐区：没有封面素材时，用紧凑文字卡；不靠巨大汉字/光斑撑版 */
.radio-card {
  min-height: 150px; padding: 15px 17px;
  border-color: var(--line); border-radius: 10px;
  background: var(--panel-soft);
  box-shadow: none;
}
.radio-card:hover { border-color: var(--line-strong); box-shadow: none; }
.radio-card::after { display: none; }
.radio-top { color: var(--muted); font-size: 10px; letter-spacing: 0; text-transform: none; }
.radio-top em { color: var(--muted-2); font-size: 10px; letter-spacing: 0; }
.radio-live { background: var(--lime); box-shadow: none; animation: none; }
.radio-wave { display: none !important; }
.radio-copy b { margin-top: 2px; font-size: 18px; letter-spacing: -.02em; }
.radio-copy small:last-child { font-size: 11px; }
.radio-play { border-color: var(--line-strong); background: transparent; color: var(--lime); }
.radio-play:hover { background: var(--lime); color: #171a10; }

.taste-stations { gap: 8px; }
.taste-station {
  min-height: 150px; padding: 14px; border-radius: 10px;
  background: var(--panel-soft); border-color: var(--line);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.taste-station:hover { background: #23241c; border-color: var(--line-strong); }
.taste-station::after { display: none; }
.taste-station b { margin-top: 0; font-size: 14px; letter-spacing: -.01em; }
.taste-station small { font-size: 10px; }
.ts-arrow { color: var(--muted); opacity: .6; }
@media (min-width: 761px) {
  .foryou-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.85fr); }
}

/* 心情卡同样收掉彩色光斑 */
.mood-card {
  min-height: 96px; padding: 14px; border-radius: 10px;
  background: var(--panel-soft); border-color: var(--line);
}
.mood-card:hover { background: #23241c; border-color: var(--line-strong); box-shadow: none; }
.mood-card::before, .mood-card::after { display: none; }
.mood-card .mood-no { font-size: 10px; letter-spacing: 0; }
.mood-card h3 { margin: 18px 0 3px; font-size: 16px; letter-spacing: -.01em; }
.mood-card small { font-size: 10px; }
.mood-card .mood-arrow { color: var(--muted); opacity: .6; }

/* 专辑/歌曲卡也用同一套中性面板，避免每一块都像模板 */
.track-card { border-radius: 10px; background: var(--panel-soft); }
.track-card:hover { background: #23241c; }
.track-cover { border-radius: 7px; background-color: #23241b; box-shadow: none; border-color: var(--line); }
.track-fallback, .track-cover span { color: var(--muted); }
.daily-card, .source-strip, .hist { background-color: transparent; }

/* 推荐小卡：用真实分类文字占位，不靠巨字/空盒子 */
.radio-card { min-height: 128px; }
.taste-station { min-height: 128px; justify-content: flex-start; }
.ts-no {
  display: block !important; position: relative; z-index: 1;
  color: var(--muted-2); font-size: 10px; letter-spacing: 0; text-transform: none;
}
.taste-station b { margin-top: 24px; }
.taste-station small { margin-top: 4px; }

/* 桌面端播放按钮悬停才出现；触屏保持可见 */
.official-play { opacity: 0; transform: translateY(3px); pointer-events: none; transition: .16s; }
.official-card:hover .official-play, .official-card:focus-visible .official-play { opacity: 1; transform: none; }
@media (hover: none), (max-width: 760px) {
  .official-play { opacity: 1; transform: none; pointer-events: auto; }
}

/* 我的：登录提示是一张普通说明卡，不是品牌大屏 */
.me-guest {
  min-height: 0; padding: 26px 28px; border-radius: 12px;
  background: var(--panel-soft); border-color: var(--line);
  gap: 24px;
}
.me-guest::after { display: none !important; }
.me-guest-copy h1 {
  margin: 0 0 10px; font-size: 28px !important; line-height: 1.3 !important;
  letter-spacing: -.02em !important; font-weight: 640 !important;
}
.me-guest-copy p { max-width: 520px; margin-bottom: 18px; font-size: 12px; line-height: 1.7; }
.me-guest-panel { padding-left: 24px; }
.me-ghost-row { padding: 10px 0; }
.me-ghost-row span { font-size: 11px; letter-spacing: 0; }
.me-ghost-row b { color: var(--muted-2); font-size: 18px; letter-spacing: 0; }
.me-ghost-note { padding-top: 10px; color: var(--muted); font-size: 10px; letter-spacing: 0; }
.me-guest-notes { gap: 8px; }
.me-guest-note { padding: 14px; border-radius: 10px; background: var(--panel-soft); }
.me-guest-note b { font-size: 13px; letter-spacing: -.01em; }
.me-guest-note small { font-size: 10px; }
.me-profile { gap: 10px; }
.me-hero {
  padding: 18px; border-radius: 12px; gap: 14px;
  background: var(--panel-soft); border-color: var(--line);
}
.me-hero::after { display: none !important; }
.me-avatar {
  width: 56px; height: 56px; flex-basis: 56px; border-radius: 50%;
  border-color: var(--line-strong); background: #23241c; color: var(--lime);
  box-shadow: none; font-size: 22px;
}
.me-id h1 { margin: 0 0 3px; font-size: 24px; letter-spacing: -.02em; }
.me-id p { font-size: 10px; }
.me-tier { font-size: 10px; letter-spacing: 0; }
.me-stats { gap: 8px; }
.me-stat { padding: 13px; border-radius: 10px; background: var(--panel-soft); }
.me-stat:first-child { border-color: var(--line); background: var(--panel-soft); }
.me-stat span { font-size: 9px; letter-spacing: 0; }
.me-stat b { margin-top: 6px; font-size: 22px; letter-spacing: -.02em; }
.me-stat:first-child b { color: var(--lime); }
.me-stat small { font-size: 9px; }
.me-grid { gap: 10px; }
.me-panel { padding: 16px; border-radius: 10px; background: var(--panel-soft); }
.me-panel-head h2 { font-size: 18px; letter-spacing: -.02em; }
.me-panel-head small { font-size: 9px; }
.me-member-tier { font-size: 20px; letter-spacing: -.02em; }

@media (min-width: 761px) {
  .me-guest { grid-template-columns: minmax(0, 1fr) 290px; }
}

/* 听歌页：模式选择改成一行轻量入口，不再像六张海报 */
.listen-mode-card {
  min-height: 104px; padding: 12px; border-radius: 10px;
  background: var(--panel-soft); border-color: var(--line);
}
.listen-mode-card::after, .listen-mode-card.on::before { display: none !important; }
.listen-mode-card:hover { transform: none; border-color: var(--line-strong); background: #23241c; }
.listen-mode-card.on {
  background: rgba(184, 207, 138, .08); border-color: var(--line-strong);
  box-shadow: none;
}
.lm-top { display: none; }
.lm-name { margin-top: 0; font-size: 17px; font-weight: 650; letter-spacing: -.02em; }
.lm-desc { margin-top: 6px; font-size: 10.5px; line-height: 1.55; }
.lm-foot { padding-top: 8px; }
.lm-count { font-size: 9px; letter-spacing: 0; }
.lm-arrow { color: var(--muted); opacity: .55; }
.listen-now {
  border-radius: 12px; box-shadow: none;
  background-color: var(--panel-soft); border-color: var(--line);
}
@media (min-width: 761px) {
  .listen-now { grid-template-columns: 250px minmax(0, 1fr); gap: 20px; padding: 16px; }
}
.listen-pure { border-radius: 10px; background: var(--panel-soft); }
.listen-mood-chip { border-radius: 7px; background: var(--panel-soft); }
.listen-mood-chip.on { color: var(--lime); border-color: var(--line-strong); background: rgba(184,207,138,.08); }

@media (max-width: 760px) {
  .me-guest { padding: 20px 16px; gap: 16px; border-radius: 10px; }
  .me-guest-copy h1 { font-size: 24px !important; }
  .me-guest p { font-size: 11px; }
  .me-hero { padding: 14px; }
  .me-avatar { width: 48px; height: 48px; flex-basis: 48px; font-size: 19px; }
  .me-id h1 { font-size: 21px; }
}

/* 会员：响应式布局、清楚的信息层级与足够大的触控目标 */
@media (max-width: 1180px) {
  .pricing-heading { display: block; }
  .pricing-heading h1 { max-width: 640px; }
  .pricing-heading p { max-width: 620px; margin-top: 8px; }
}
@media (max-width: 760px) {
  #page-pricing { padding-top: 11px; }
  .pricing-heading { margin-bottom: 12px; }
  .pricing-heading h1 { font-size: 24px; line-height: 1.26; letter-spacing: -.02em; }
  .pricing-heading p { margin-top: 6px; font-size: 12.5px; line-height: 1.6; }
  .member-status { flex-direction: row; align-items: center; gap: 10px; margin-bottom: 10px; padding: 9px 11px; }
  .member-status-main small { font-size: 12px; white-space: normal; }
  .member-status-side { width: auto; }
  .member-status-side .member-pill { display: none; }
  .member-status button { min-height: 44px; }
  .pricing-preview { display: block; margin-bottom: 10px; padding: 8px 11px; font-size: 12px; line-height: 1.55; }
  .pricing-swipe-hint { display: none; }
  .pricing { grid-template-columns: 1fr; grid-auto-flow: row; gap: 8px; }
  .plan { gap: 9px; padding: 14px; }
  .plan.best { order: -1; }
  .plan .price-number { font-size: 30px; }
  .plan ul { gap: 5px; }
  .plan li { line-height: 1.5; }
  .plan .plan-action { min-height: 48px; height: 48px; }
  .pricing-compare, .pricing-faq { margin-top: 20px; padding-top: 18px; }
  .pricing-section-head h2 { font-size: 20px; }
  #pricingCompare { min-width: 0; width: 100%; table-layout: fixed; font-size: 12.5px; }
  #pricingCompare [data-tier="free"] { display: none; }
  #pricingCompare thead th:first-child, #pricingCompare tbody th { width: 40%; }
  #pricingCompare thead th:nth-of-type(3), #pricingCompare tbody td[data-tier="plus"] { width: 30%; }
  #pricingCompare thead th:nth-of-type(4), #pricingCompare tbody td[data-tier="pro"] { width: 30%; }
  #pricingCompare th, #pricingCompare td { padding: 11px 9px; }
  .pricing-faq-list { grid-template-columns: 1fr; }
  .pricing-faq summary { min-height: 52px; font-size: 14px; }
}
@media (min-width: 761px) and (max-width: 900px) {
  .pricing-swipe-hint { display: none; }
  .pricing { grid-template-columns: 1fr; grid-auto-flow: row; gap: 10px; }
  .plan.best { order: -1; }
}
/* 小屏手机（含 320 / iPhone SE）：压到首屏能看见 Pro 的按钮 */
@media (max-width: 380px) {
  .pricing-heading { margin-bottom: 8px; }
  .pricing-heading h1 { font-size: 21px; line-height: 1.2; letter-spacing: -.015em; }
  .pricing-heading p { margin-top: 4px; font-size: 11.5px; line-height: 1.5; }
  .pricing-preview { margin-bottom: 7px; padding: 6px 10px; font-size: 11px; line-height: 1.45; }
  .pricing { gap: 7px; }
  .plan { gap: 7px; padding: 11px; }
  .plan-name { font-size: 14px; }
  .plan .price-number { font-size: 27px; }
  .plan ul { gap: 3px; }
  .plan li { font-size: 12px; line-height: 1.45; }
  #pricingCompare { font-size: 11.5px; }
  #pricingCompare th, #pricingCompare td { padding: 9px 5px; }
  #pricingCompare thead th:first-child, #pricingCompare tbody th { width: 36%; }
  #pricingCompare thead th:nth-of-type(3), #pricingCompare tbody td[data-tier="plus"] { width: 32%; }
  #pricingCompare thead th:nth-of-type(4), #pricingCompare tbody td[data-tier="pro"] { width: 32%; }
}

@media (min-width: 761px) {
  .listen-now-visual { width: 250px; aspect-ratio: 1 / 1; border-radius: 10px; box-shadow: none; }
}
@media (max-width: 760px) {
  .listen-mode-card { min-height: 74px; padding: 10px 12px; flex-basis: 128px; }
  .lm-name { font-size: 15px; }
  .lm-desc { display: none; }
  .lm-foot { padding-top: 6px; }
  .lm-count { font-size: 9px; }
  .lm-arrow { font-size: 12px; }
}

/* 听歌/纯音乐的当前推荐卡：去掉放大封面背景，保留封面本身 */
.listen-now { background-image: none !important; }
.listen-now::after { display: none !important; }
.listen-page.pure-surface .listen-pure { background: var(--panel-soft); border-color: var(--line); border-radius: 10px; }
.listen-page.pure-surface .listen-mood-chip { border-radius: 7px; background: var(--panel-soft); }
.listen-page.pure-surface .listen-mood-chip.on { background: rgba(184,207,138,.08); border-color: var(--line-strong); }

/* 活动：删掉巨型 WELCOME 水印和票券道具，保留福利信息 */
.activity-gift {
  grid-template-columns: minmax(0, 1fr); gap: 0;
  padding: 20px 22px; border-radius: 10px;
  background: var(--panel-soft); border-color: var(--line); box-shadow: none;
}
.activity-gift::after { display: none !important; }
.activity-gift-copy h2 { margin: 0 0 8px; font-size: 22px; letter-spacing: -.02em; }
.activity-gift-lead { max-width: 640px; font-size: 11.5px; line-height: 1.7; }
.activity-pass { display: none !important; }
.benefit-card { border-radius: 8px; background: #23241c; border-color: var(--line); backdrop-filter: none; }
.benefit-badge { border-radius: 8px; }
.activity-subnav { border-radius: 8px; background: var(--panel-soft); }
.activity-subnav button { border-radius: 6px; }
.activity-subnav button b { display: none !important; }
.activity-subnav button.on { background: rgba(184,207,138,.08); border-color: var(--line-strong); }
.activity-metrics { gap: 8px; }
.activity-metric { border-radius: 8px; background: var(--panel-soft); }

.nav button.on .nav-ico { text-shadow: none !important; }
.dot-lime { box-shadow: none !important; }
.lib-head { letter-spacing: 0; text-transform: none; font-size: 11px; }
@media (max-width: 380px) {
  .rail .nav button { font-size: 9px; padding-left: 1px; padding-right: 1px; gap: 1px; }
  .rail .nav button span { white-space: nowrap; font-size: 9px; letter-spacing: -.03em; }
  .rail .nav-ico { font-size: 15px; }
}

/* 私人电台：恢复波形细节，但用低饱和、慢速、淡入淡出的方式使用 */
.radio-card { min-height: 154px; }
.radio-wave {
  display: flex !important;
  position: relative; z-index: 1; align-items: flex-end; gap: 3px;
  width: fit-content; height: 22px; margin: 10px 0 8px;
  opacity: .7;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.radio-wave i {
  width: 3px; border-radius: 2px; background: var(--lime);
  transform-origin: bottom;
  animation: radioWaveSoft 3.4s ease-in-out infinite;
}
@keyframes radioWaveSoft {
  0%, 100% { transform: scaleY(.35); opacity: .35; }
  50% { transform: scaleY(1); opacity: .82; }
}
@media (max-width: 760px) {
  .radio-wave { height: 20px; margin: 9px 0 7px; gap: 2.5px; }
}

/* ============================================================
   SECOND PASS / 2026.12.04
   Mobile and desktop expose the same six primary destinations.
   ============================================================ */
.me-activity-entry {
  display: flex; align-items: center; gap: 10px; width: 100%;
  min-height: 52px; margin-top: 12px; padding: 9px 11px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--panel-soft); color: var(--text);
  font: inherit; text-align: left; cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.me-activity-entry:hover { background: #23241c; border-color: var(--line-strong); }
.me-activity-ico {
  width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 7px; color: var(--amber); background: transparent;
}
.me-activity-ico svg { width: 15px; height: 15px; }
.me-activity-copy { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.me-activity-copy b { font-size: 12px; font-weight: 570; }
.me-activity-copy small { color: var(--muted-2); font-size: 9.5px; }
.me-activity-arrow { color: var(--muted-2); font-size: 14px; }

/* Search: the empty result is a composed state, not a bare sentence. */
.empty-results {
  max-width: 540px; margin: 34px auto 0; padding: 38px 18px 36px;
  border: 1px dashed var(--line); border-radius: 12px; background: var(--panel-soft);
}
.empty-results .empty-ico {
  width: 40px; height: 40px; margin: 0 auto 14px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: transparent;
}
.empty-results .empty-ico svg { width: 18px; height: 18px; }
.empty-results strong { margin-bottom: 7px; font-size: 15px; font-weight: 600; }
.empty-results p { max-width: 330px; margin: 0 auto; color: var(--muted); font-size: 11px; line-height: 1.7; }

.search:focus-within { border-color: var(--line-strong); background: rgba(255,255,255,.045); box-shadow: none; }
.search-submit { background: var(--lime-soft); color: #15170f; }
.search-submit:hover { background: #c7d9a0; box-shadow: none; }

/* Import dialog: neutral panel, same input language as settings. */
.modal { background: rgba(8,9,7,.72); backdrop-filter: blur(8px); }
.pl-picker-card {
  width: min(440px, 100%); padding: 18px; border-color: var(--line);
  border-radius: 12px; background: var(--panel); box-shadow: 0 20px 60px rgba(0,0,0,.46);
}
.pl-picker-head h3 { margin-top: 3px; font-size: 21px; letter-spacing: -.025em; }
.pl-picker-song { margin: 9px 0 12px; color: var(--muted); font-size: 10.5px; line-height: 1.7; }
.pl-rename-label { margin: 14px 0 6px; color: var(--muted); font-size: 10.5px; letter-spacing: 0; }
.pl-input { background: #15160f; border-color: var(--line); }
.pl-input:focus { border-color: var(--line-strong); background: var(--panel-soft); box-shadow: none; }
.pl-rename-actions { margin-top: 12px; padding-top: 11px; }
.import-hint { margin-top: 10px; color: var(--muted); font-size: 10px; line-height: 1.65; }
.pl-picker-item:hover { border-color: var(--line-strong); background: #23241c; }
.pl-picker-empty { border-color: var(--line); background: var(--panel-soft); border-radius: 8px; }

/* Library empty state: neutral marker, no neon halo. */
.lk-empty-ico { border-color: var(--line); color: var(--muted); background: var(--panel-soft); }
.lk-empty button { border-color: var(--line); background: var(--panel-soft); }
.lk-empty button:hover { border-color: var(--line-strong); color: var(--text); }
.activity-back { display: none; }
@media (max-width: 760px) {
  .activity-back { display: inline-flex; margin-top: 10px; }
}
.ui-tabs { background: var(--panel-soft); border-color: var(--line); }
button.ui-tab.on, button.ui-tab[aria-selected="true"] {
  background: #26271f; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong);
}

/* ============================================================
   CONTRAST PASS / 2026.12.04
   深底、实面板、清楚的字；保留低饱和信号色，不用荧光。
   ============================================================ */
:root {
  --bg: #090a07;
  --bg-deep: #060704;
  --panel: #1b1a13;
  --panel-solid: #1c1b14;
  --panel-soft: #222018;
  --line: rgba(247, 240, 225, .14);
  --line-strong: rgba(247, 240, 225, .25);
  --text: #f8f3e7;
  --muted: #bdb6a6;
  --muted-2: #969081;
  --lime: #c3d598;
  --lime-soft: #b5c98b;
  --ui-fg: #f8f3e7;
  --ui-muted: #bdb6a6;
  --ui-border: rgba(247, 240, 225, .15);
  --ui-input: rgba(247, 240, 225, .15);
  --ui-secondary: #24221a;
  --ui-secondary-fg: #eee8db;
}
html, body {
  background-color: var(--bg) !important;
}
body {
  background: var(--bg) !important;
  color: var(--text);
}
.rail { background: #0b0c08 !important; }
.official-card { background: var(--panel-soft); }
.official-cover img { opacity: 1 !important; filter: saturate(1.03) contrast(1.03); }
.official-cover::after {
  background: linear-gradient(180deg, rgba(3, 6, 4, .02) 0%, rgba(3, 6, 4, .58) 100%);
}
.topbar {
  background: #0b0c08 !important;
  border-bottom-color: var(--line);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.modal, .login-modal {
  background: rgba(7, 8, 6, .94) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
