:root {
  --bg: #0f1724;
  --panel: #162033;
  --ink: #f4f7fb;
  --muted: #9db0c7;
  --accent: #3dd6c6;
  --accent-2: #5b8cff;
  --line: rgba(255,255,255,.08);
  --danger: #ff7b72;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 15% -10%, rgba(61,214,198,.18), transparent 60%),
    radial-gradient(800px 380px at 100% 0%, rgba(91,140,255,.16), transparent 55%),
    var(--bg);
}
a { color: var(--accent); text-decoration: none; }
.wrap { width: min(960px, calc(100% - 24px)); margin: 0 auto; }
.top { padding: 16px 0 8px; display:flex; justify-content:space-between; gap:12px; align-items:center; }
.brand { font-weight: 700; color: var(--ink); }
.nav { color: var(--muted); font-size: .92rem; display:flex; gap:8px; }
.hero { padding: 12px 0 8px; }
.hero h1 { margin: 0 0 6px; font-size: clamp(1.4rem, 3.5vw, 1.9rem); }
.hero p { margin: 0; color: var(--muted); }
.layout { display:grid; gap:16px; padding-bottom: 40px; }
.panel {
  background: rgba(22,32,51,.92);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
}
.track-list { display:grid; gap:10px; }
.track-btn {
  text-align:left; width:100%;
  border:1px solid var(--line); background:#121c2c; color:var(--ink);
  border-radius:14px; padding:12px 14px; cursor:pointer;
}
.track-btn.active { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.track-btn strong { display:block; margin-bottom:4px; }
.track-btn span { color: var(--muted); font-size:.9rem; }
.stage {
  min-height: 42vh;
  display:flex; flex-direction:column; justify-content:center; align-items:center;
  text-align:center; gap: 14px; padding: 28px 18px;
}
.cue-prev, .cue-next {
  color: var(--muted); font-size: clamp(1rem, 2.4vw, 1.2rem);
  line-height: 1.5; max-width: 38rem; min-height: 1.5em;
}
.cue-now {
  font-size: clamp(1.8rem, 5.5vw, 3rem);
  font-weight: 800; line-height: 1.35;
  letter-spacing: .01em;
  max-width: 20ch;
  text-wrap: balance;
  color: #fff;
  text-shadow: 0 0 24px rgba(61,214,198,.25);
}
.cue-now .word { opacity: .45; transition: opacity .12s ease, color .12s ease; }
.cue-now .word.on { opacity: 1; color: var(--accent); }
.progress-wrap { margin-top: 8px; }
.progress-bar {
  height: 10px; border-radius: 999px; background: #0c1320;
  overflow: hidden; border: 1px solid var(--line);
}
.progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.time-row {
  display:flex; justify-content:space-between; color: var(--muted);
  font-variant-numeric: tabular-nums; font-size: .9rem; margin-top: 8px;
}
.controls {
  display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:space-between;
  margin-top: 14px;
}
.btn-row { display:flex; gap:8px; flex-wrap:wrap; }
button.ctrl {
  border:0; border-radius: 12px; padding: 10px 14px; cursor:pointer;
  background: #22314a; color: var(--ink); font-weight: 650;
}
button.ctrl.primary { background: linear-gradient(135deg, var(--accent), #2bb8c5); color:#06201d; }
button.ctrl:disabled { opacity:.45; cursor:not-allowed; }
select.speed {
  background:#121c2c; color:var(--ink); border:1px solid var(--line);
  border-radius:10px; padding:8px 10px;
}
.note { color: var(--muted); font-size:.88rem; line-height:1.6; }
audio { width: 100%; margin-top: 8px; }
@media (max-width: 700px) {
  .stage { min-height: 48vh; }
  .cue-now { max-width: 14ch; }
}

.cue-now.dim { opacity: .35; font-weight: 600; }
