:root {
  color-scheme: dark;
  --bg: #06060c;
  --bg2: #0d0b17;
  --ink: #efe8db;
  --muted: #9d95a8;
  --dim: #6c6578;
  --gold: #d8b678;
  --gold-hi: #f6e2b4;
  --gold-lo: #9b7743;
  --line: rgba(216, 182, 120, .18);
  --line2: rgba(216, 182, 120, .34);
  --card: rgba(18, 15, 30, .62);
  --card2: rgba(30, 25, 46, .55);
  --danger: #e2836f;
  --ok: #9fd3a8;
  --r: 18px;
  --sans: "Segoe UI", "Helvetica Neue", "PingFang SC", "Hiragino Sans", "Microsoft YaHei UI", "Noto Sans CJK SC", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  --wide: "Gill Sans", "Gill Sans MT", "Segoe UI", "Helvetica Neue", var(--sans);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
:root[lang="zh-Hant"] { --sans: "Segoe UI", "PingFang TC", "Microsoft JhengHei UI", "Noto Sans CJK TC", sans-serif; }
:root[lang="ja"] { --sans: "Segoe UI", "Hiragino Sans", "Yu Gothic UI", "Meiryo", "Noto Sans CJK JP", sans-serif; }
:root[lang="ko"] { --sans: "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK KR", sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink);
  font: 15.5px/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.has-player { padding-bottom: 120px; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hi); }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--muted); }
.tiny { font-size: 12px; }
[hidden] { display: none !important; }

/* 星空 + 舞台暖光 */
#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; }
.glow {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 45% at 50% 108%, rgba(196, 140, 70, .26), transparent 70%),
    radial-gradient(40% 30% at 85% -5%, rgba(110, 90, 170, .14), transparent 70%),
    radial-gradient(50% 40% at 10% 20%, rgba(60, 70, 140, .10), transparent 70%);
}

/* 顶栏 */
.top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: linear-gradient(to bottom, rgba(6, 6, 12, .86), rgba(6, 6, 12, .55));
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(216, 182, 120, .08);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font: 500 13px/1 var(--wide); letter-spacing: .32em; white-space: nowrap; }
.brand img { width: 34px; height: 34px; filter: drop-shadow(0 0 8px rgba(216, 182, 120, .35)); }
.brand b { color: var(--gold); font-weight: 500; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); font-size: 14px; letter-spacing: .04em; position: relative; }
.nav a:hover { color: var(--ink); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.langs { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: rgba(0, 0, 0, .25); }
.langs button {
  border: 0; background: none; color: var(--muted); font: 500 12.5px/1 var(--sans); padding: 7px 10px; border-radius: 999px; cursor: pointer; min-width: 32px;
  transition: color .2s, background .2s;
}
.langs button:hover { color: var(--ink); }
.langs button.on { color: #1a1408; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); }

main { width: min(1080px, 100%); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }

/* 首屏 */
.hero { position: relative; text-align: center; padding: clamp(48px, 9vh, 96px) 0 40px; }
.orbit { position: absolute; left: 50%; top: 40px; width: min(760px, 120vw); aspect-ratio: 1; transform: translateX(-50%); pointer-events: none; z-index: -1; opacity: .55; }
.orbit i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(216, 182, 120, .12); transform: rotateX(72deg) rotateZ(-14deg); animation: spin 60s linear infinite; }
.orbit i:nth-child(2) { inset: 12%; border-color: rgba(216, 182, 120, .09); animation-duration: 90s; animation-direction: reverse; }
.orbit i:nth-child(3) { inset: 26%; border-color: rgba(216, 182, 120, .07); animation-duration: 120s; }
.orbit i::after { content: ""; position: absolute; top: -4px; left: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 12px 3px rgba(246, 226, 180, .6); }
@keyframes spin { to { transform: rotateX(72deg) rotateZ(346deg); } }
.logo { width: min(440px, 78vw); height: auto; display: block; margin: 0 auto; filter: drop-shadow(0 0 28px rgba(216, 182, 120, .28)) drop-shadow(0 0 2px rgba(246, 226, 180, .4)); animation: rise 1.4s var(--ease) both; }
.hero-sub { margin: 26px 0 6px; color: var(--gold); font: 400 15px/1.4 var(--wide); letter-spacing: .38em; text-indent: .38em; animation: rise 1.4s .15s var(--ease) both; }
.hero-lead { max-width: 640px; margin: 14px auto 30px; color: #d6cfc2; font-size: clamp(15.5px, 1.6vw, 17.5px); animation: rise 1.4s .25s var(--ease) both; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; animation: rise 1.4s .35s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 46px; padding: 0 24px; border-radius: 999px;
  font: 600 15px/1 var(--sans); letter-spacing: .03em; cursor: pointer; border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .25s, background .25s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { font-size: 18px; }
.btn.gold { color: #1b1408; background: linear-gradient(180deg, #f8e6bd 0%, #dcb877 55%, #b88f52 100%); box-shadow: 0 6px 24px -6px rgba(216, 182, 120, .55), inset 0 1px 0 rgba(255, 255, 255, .55); }
.btn.gold:hover { transform: translateY(-1px); box-shadow: 0 10px 34px -6px rgba(216, 182, 120, .7), inset 0 1px 0 rgba(255, 255, 255, .6); color: #1b1408; }
.btn.gold:disabled { opacity: .5; cursor: default; transform: none; }
.btn.ghost { color: var(--ink); background: rgba(255, 255, 255, .03); border-color: var(--line2); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold-hi); background: rgba(216, 182, 120, .06); }
.btn.danger { color: #1a0a06; background: linear-gradient(180deg, #f2a58f, #d0705a); }
.btn.sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn.wide { width: 100%; height: 52px; font-size: 16px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 720px; margin: 52px auto 0; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats div { padding: 18px 8px; position: relative; }
.stats div + div::before { content: ""; position: absolute; left: 0; top: 28%; bottom: 28%; width: 1px; background: var(--line); }
.stats dt { font: 300 30px/1.1 var(--wide); color: var(--gold-hi); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.stats dd { margin: 6px 0 0; color: var(--muted); font-size: 12.5px; letter-spacing: .08em; }

/* 卡片 */
.card {
  position: relative; background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--line); border-radius: var(--r);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .04);
}
.card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(246, 226, 180, .45), transparent 30%, transparent 70%, rgba(216, 182, 120, .25));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }

.vrc { display: flex; gap: 18px; align-items: flex-start; padding: 22px 26px; margin: 8px 0 0; }
.vrc-ico { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; color: var(--gold-hi); background: radial-gradient(circle at 30% 25%, rgba(246, 226, 180, .25), rgba(216, 182, 120, .06)); border: 1px solid var(--line2); }
.vrc h3 { margin: 0 0 4px; font-size: 17px; color: var(--gold-hi); font-weight: 600; }
.vrc p { margin: 0 0 4px; }
.vrc .muted { font-size: 13.5px; }

.block { padding: 84px 0 8px; }
.h { display: flex; align-items: center; gap: 18px; margin: 0; font: 400 clamp(24px, 3vw, 30px)/1.3 var(--sans); letter-spacing: .08em; color: var(--ink); }
.h::before, .h::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line2)); }
.h::after { background: linear-gradient(90deg, var(--line2), transparent); }
.h span { position: relative; padding: 0 6px; }
.h span::before, .h span::after { content: "✦"; position: absolute; top: 50%; transform: translateY(-50%); font-size: 10px; color: var(--gold); }
.h span::before { left: -14px; } .h span::after { right: -14px; }
.lead { text-align: center; color: var(--muted); margin: 10px 0 28px; }

/* 上传 */
.upcard { padding: 28px; }
.drop {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 54px 20px 46px; cursor: pointer; text-align: center;
  border-radius: 14px; border: 1.5px dashed rgba(216, 182, 120, .35); background: radial-gradient(60% 80% at 50% 0%, rgba(216, 182, 120, .07), transparent 70%);
  transition: border-color .25s, background .25s, transform .25s var(--ease);
}
.drop:hover, .drop.over { border-color: var(--gold); background: radial-gradient(60% 80% at 50% 0%, rgba(216, 182, 120, .14), transparent 70%); }
.drop.over { transform: scale(1.01); }
.drop strong { font-size: 18px; font-weight: 500; margin-top: 8px; }
.drop .link { color: var(--gold); border-bottom: 1px solid currentColor; }
.drop small { margin-top: 10px; letter-spacing: .04em; }
.drop-art { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; font-size: 40px; color: var(--gold-hi);
  background: radial-gradient(circle, rgba(216, 182, 120, .18), transparent 70%); animation: float 4s ease-in-out infinite; }
.drop.busy .drop-art { animation: pulse 1s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-6px); } }
@keyframes pulse { 50% { opacity: .4; } }

.file-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.file-name { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 500; }
.file-name svg { flex: none; color: var(--gold); font-size: 20px; }
.file-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.roll-wrap { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #07060d; }
.roll { display: block; width: 100%; height: 150px; }
.roll-play {
  position: absolute; left: 14px; bottom: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; font-size: 20px;
  color: #1b1408; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); box-shadow: 0 0 0 6px rgba(216, 182, 120, .14), 0 8px 24px rgba(0, 0, 0, .5);
}
.roll-play svg { fill: currentColor; stroke: none; }
.roll-play .i-stop, .roll-play.on .i-play { display: none; }
.roll-play.on .i-stop { display: block; }
.meters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0 22px; }
.meter { padding: 12px 14px; border-radius: 12px; background: rgba(0, 0, 0, .22); border: 1px solid rgba(216, 182, 120, .1); }
.meter b { display: block; font: 300 22px/1.2 var(--wide); color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.meter small { color: var(--muted); font-size: 12px; }
.meter .bar { height: 3px; border-radius: 2px; margin-top: 8px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.meter .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); border-radius: inherit; }
.meter.bad b { color: var(--danger); } .meter.bad .bar i { background: var(--danger); }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; position: relative; font-size: 13.5px; color: var(--muted); }
.field > span { letter-spacing: .04em; }
.field small { font-size: 12.5px; line-height: 1.5; }
.field input, .field textarea, select, .search input {
  width: 100%; font: 15.5px/1.4 var(--sans); color: var(--ink); background: rgba(0, 0, 0, .3); border: 1px solid rgba(216, 182, 120, .2);
  border-radius: 12px; padding: 13px 14px; outline: none; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, select:focus, .search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(216, 182, 120, .12); background: rgba(0, 0, 0, .4); }
.field input::placeholder, .search input::placeholder { color: var(--dim); }
.cnt { position: absolute; right: 12px; top: 39px; font-style: normal; font-size: 11.5px; color: var(--dim); pointer-events: none; }
.field input { padding-right: 56px; }

.agree { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0 16px; padding: 14px 16px; border-radius: 12px; cursor: pointer; background: rgba(216, 182, 120, .05); border: 1px solid rgba(216, 182, 120, .14); }
.agree input { position: absolute; opacity: 0; }
.agree i { flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 6px; border: 1.5px solid var(--gold); display: grid; place-items: center; transition: background .2s; }
.agree i::after { content: ""; width: 10px; height: 5px; border: solid #1b1408; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.agree input:checked + i { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); }
.agree input:checked + i::after { opacity: 1; }
.agree input:focus-visible + i { box-shadow: 0 0 0 4px rgba(216, 182, 120, .25); }
.err { margin: 0 0 14px; padding: 11px 14px; border-radius: 10px; color: #ffd3c8; background: rgba(226, 131, 111, .12); border: 1px solid rgba(226, 131, 111, .35); font-size: 14px; }

.done { text-align: center; padding: 20px 10px 10px; }
.done-star { width: 84px; height: 84px; margin: 0 auto 10px; display: grid; place-items: center; font-size: 46px; color: var(--gold-hi); animation: twirl 1.2s var(--ease) both; }
.done-star svg { fill: var(--gold-hi); stroke: none; filter: drop-shadow(0 0 16px rgba(246, 226, 180, .8)); }
@keyframes twirl { from { transform: scale(.2) rotate(-120deg); opacity: 0; } }
.done h3 { margin: 0 0 6px; font-size: 24px; font-weight: 500; color: var(--gold-hi); letter-spacing: .06em; }
.done p { margin: 0 auto 22px; max-width: 560px; }
.token { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; padding: 10px 12px 10px 18px; border-radius: 14px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line2); font-size: 13px; color: var(--muted); }
.token code { font: 14px/1.2 ui-monospace, Consolas, monospace; color: var(--gold-hi); letter-spacing: .04em; user-select: all; word-break: break-all; }
.done > small { display: block; margin: 10px auto 24px; max-width: 480px; }

/* 曲库 */
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.tabs { display: flex; padding: 4px; border-radius: 999px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); }
.tabs button { border: 0; background: none; color: var(--muted); font: 500 14px/1 var(--sans); padding: 10px 16px; border-radius: 999px; cursor: pointer; }
.tabs button.on { color: var(--ink); background: rgba(216, 182, 120, .16); box-shadow: inset 0 0 0 1px var(--line2); }
.search { flex: 1; min-width: 220px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 999px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(216, 182, 120, .2); transition: border-color .2s, box-shadow .2s; }
.search svg { color: var(--gold); font-size: 18px; flex: none; }
.search input { border: 0; background: none; padding: 12px 0; box-shadow: none !important; }
select { width: auto; border-radius: 999px; padding: 11px 38px 11px 16px; appearance: none; cursor: pointer;
  background: rgba(0, 0, 0, .3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d8b678' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 14px; }
select option { background: #15121f; }
.count { margin: 18px 4px 10px; font-size: 13px; }

.songs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.song {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 16px; padding: 12px 14px 12px 12px; border-radius: 16px;
  background: linear-gradient(90deg, rgba(30, 25, 46, .55), rgba(18, 15, 30, .45)); border: 1px solid rgba(216, 182, 120, .1);
  transition: border-color .25s, background .25s, transform .25s var(--ease); animation: rise .6s var(--ease) both;
}
.song:hover { border-color: var(--line2); background: linear-gradient(90deg, rgba(42, 34, 60, .6), rgba(22, 18, 34, .5)); }
.song.now { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(216, 182, 120, .25), 0 0 30px -8px rgba(216, 182, 120, .4); }
.song .play {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line2); background: radial-gradient(circle at 35% 30%, rgba(246, 226, 180, .18), rgba(0, 0, 0, .2));
  color: var(--gold-hi); display: grid; place-items: center; cursor: pointer; font-size: 17px; transition: transform .2s, background .2s;
}
.song .play svg { fill: currentColor; stroke: none; }
.song .play:hover { transform: scale(1.06); background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: #1b1408; }
.song .play .i-pause, .song.now.playing .play .i-play { display: none; }
.song.now.playing .play .i-pause { display: block; }
.song.now.playing .play { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: #1b1408; }
.song .meta { min-width: 0; }
.song .t { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.song .t strong { font-weight: 500; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.song .id { flex: none; font: 12px/1 ui-monospace, Consolas, monospace; color: var(--gold); opacity: .8; }
.song .sub { display: flex; gap: 14px; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.song .sub .who::before { content: "✦ "; color: var(--gold-lo); }
.song .dur { font: 13.5px/1 var(--wide); color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.song .acts { display: flex; gap: 4px; }
.icon-btn { width: 36px; height: 36px; border-radius: 10px; border: 0; background: none; color: var(--dim); display: grid; place-items: center; cursor: pointer; font-size: 17px; transition: color .2s, background .2s; }
.icon-btn:hover { color: var(--gold-hi); background: rgba(216, 182, 120, .08); }
.icon-btn.del:hover { color: var(--danger); background: rgba(226, 131, 111, .1); }
.mine-tag { font-size: 11px; color: var(--gold); border: 1px solid var(--line2); border-radius: 999px; padding: 1px 8px; white-space: nowrap; flex: none; }
.empty { text-align: center; padding: 50px 0; }
.more { text-align: center; margin-top: 20px; }

.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin-top: 30px; }
.rule { padding: 22px 22px 20px; }
.rule h4 { margin: 0 0 8px; display: flex; gap: 10px; align-items: center; font-size: 16px; font-weight: 600; color: var(--gold-hi); }
.rule h4 i { font-style: normal; font: 300 13px/1 var(--wide); width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line2); display: grid; place-items: center; color: var(--gold); flex: none; }
.rule p { margin: 0; color: #cfc8bb; font-size: 14.5px; }
.rule.key { grid-column: 1 / -1; background: linear-gradient(120deg, rgba(216, 182, 120, .14), rgba(30, 25, 46, .55) 60%); }

.reports { list-style: none; margin: 0; padding: 8px; }
.reports li { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; padding: 14px; border-bottom: 1px solid rgba(216, 182, 120, .08); }
.reports li:last-child { border-bottom: 0; }
.reports .rp-act { display: flex; gap: 8px; align-items: center; }
.reports p { margin: 2px 0; font-size: 13.5px; }
.admin-badge { position: fixed; left: 16px; bottom: 16px; z-index: 30; font-size: 12px; color: #1b1408; background: var(--gold); border-radius: 999px; padding: 6px 12px; cursor: pointer; border: 0; }
body.has-player .admin-badge { bottom: 128px; }

/* 页脚 */
.foot { text-align: center; padding: 100px 20px 60px; color: var(--muted); font-size: 13.5px; }
.foot-mark { width: 64px; opacity: .8; filter: drop-shadow(0 0 10px rgba(216, 182, 120, .3)); }
.foot p { margin: 6px 0; }
.foot-links { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin: 14px 0 !important; }

/* 试听条 */
.player {
  position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 40; width: min(1040px, calc(100% - 24px));
  border-radius: 20px; overflow: hidden; background: rgba(14, 12, 24, .86); border: 1px solid var(--line2);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6), 0 0 40px -10px rgba(216, 182, 120, .25); animation: up .45s var(--ease) both;
}
@keyframes up { from { transform: translate(-50%, 30px); opacity: 0; } }
.keys { display: flex; height: 10px; }
.keys i { flex: 1; background: rgba(255, 255, 255, .05); margin-right: 1px; transition: background .5s, box-shadow .5s; }
.keys i.b { background: rgba(0, 0, 0, .4); }
.keys i.on { background: var(--gold-hi); box-shadow: 0 0 10px 2px rgba(246, 226, 180, .75); transition: none; }
.pl-row { display: flex; align-items: center; gap: 16px; padding: 12px 16px; }
.pl-btn { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; font-size: 20px; color: #1b1408; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); }
.pl-btn svg { fill: currentColor; stroke: none; }
.pl-btn .i-pause, .player.playing .pl-btn .i-play { display: none; }
.player.playing .pl-btn .i-pause { display: block; }
.pl-btn.sm { width: 34px; height: 34px; font-size: 15px; color: var(--muted); background: rgba(255, 255, 255, .05); }
.pl-btn.sm svg { fill: none; stroke: currentColor; }
.pl-btn.sm:hover { color: var(--ink); }
.pl-info { width: 200px; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.pl-info small { font-size: 11px; letter-spacing: .08em; }
.pl-info strong { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-bar { flex: 1; display: flex; align-items: center; gap: 10px; font: 12px/1 var(--wide); color: var(--muted); font-variant-numeric: tabular-nums; min-width: 0; }
.pl-track { position: relative; flex: 1; height: 34px; border-radius: 8px; overflow: hidden; cursor: pointer; background: rgba(0, 0, 0, .35); }
.pl-track canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.pl-track i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, rgba(216, 182, 120, .05), rgba(216, 182, 120, .22)); border-right: 2px solid var(--gold-hi); box-shadow: 6px 0 14px -4px rgba(246, 226, 180, .6); }
#pl-vol { width: 90px; accent-color: var(--gold); }
.pl-loading { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10, 8, 18, .82); color: var(--gold-hi); font-size: 14px; letter-spacing: .06em; }
.pl-loading span { animation: pulse 1.2s ease-in-out infinite; }

/* 对话框 */
.dlg { padding: 0; border: 0; background: none; color: var(--ink); width: min(480px, calc(100% - 32px)); }
.dlg::backdrop { background: rgba(3, 3, 8, .7); backdrop-filter: blur(6px); }
.dlg[open] { animation: rise .35s var(--ease) both; }
.dlg-body { padding: 26px; border-radius: var(--r); background: linear-gradient(180deg, #1a1628, #110e1c); border: 1px solid var(--line2); box-shadow: 0 30px 80px rgba(0, 0, 0, .7); display: grid; gap: 14px; }
.dlg h3 { margin: 0; font-weight: 500; font-size: 20px; color: var(--gold-hi); }
.dlg-song { margin: -6px 0 0; color: var(--muted); font-size: 14px; }
.dlg-act { display: flex; gap: 10px; justify-content: flex-end; margin-top: 4px; }
.dlg .err { margin: 0; }
.reasons { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.reasons legend { font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }
.reasons label { cursor: pointer; }
.reasons input { position: absolute; opacity: 0; }
.reasons span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; color: var(--muted); transition: all .2s; }
.reasons input:checked + span { color: #1b1408; background: var(--gold); border-color: var(--gold); }
.reasons input:focus-visible + span { box-shadow: 0 0 0 3px rgba(216, 182, 120, .3); }

.toast { position: fixed; left: 50%; top: 84px; transform: translate(-50%, -20px); z-index: 60; padding: 11px 20px; border-radius: 999px; background: rgba(20, 17, 32, .95); border: 1px solid var(--line2); color: var(--gold-hi); font-size: 14px; opacity: 0; pointer-events: none; transition: all .35s var(--ease); box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* 窄屏 */
@media (max-width: 820px) {
  .nav { display: none; }
  .langs { margin-left: auto; }
  .brand span { display: none; }
  .fields { grid-template-columns: 1fr; }
  .pl-info { width: auto; flex: 1; }
  .pl-bar { order: 5; flex-basis: 100%; }
  .pl-row { flex-wrap: wrap; gap: 10px 12px; }
  #pl-vol { display: none; }
  body.has-player { padding-bottom: 170px; }
  body.has-player .admin-badge { bottom: 176px; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(3)::before { display: none; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .upcard { padding: 18px; }
  .meters { gap: 8px; }
  .meter { padding: 10px; }
  .meter b { font-size: 18px; }
  .song { grid-template-columns: auto 1fr auto; gap: 12px; }
  .song .dur { display: none; }
  .vrc { padding: 18px; gap: 14px; }
  .langs button { padding: 7px 8px; min-width: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
