:root {
  --bg: #0b1220;
  --card: rgba(15, 23, 42, 0.92);
  --line: #1e293b;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --accent: #3b82f6;
  --live: #ef4444;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(59,130,246,.22), transparent 55%),
    radial-gradient(700px 400px at 90% 10%, rgba(99,102,241,.14), transparent 50%),
    var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 14px;
}
.wrap {
  width: 100%;
  max-width: 420px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px 20px 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  position: relative;
  overflow: hidden;
}
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(239,68,68,.12);
  border: 1px solid rgba(239,68,68,.35);
  color: #fca5a5;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
}
.live i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--live);
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(239,68,68,.55); }
  70% { box-shadow: 0 0 0 10px rgba(239,68,68,0); }
  100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}
.tag { color: var(--muted); font-size: 11px; letter-spacing: .06em; }
.art {
  width: 120px; height: 120px;
  margin: 0 auto 16px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #2563eb, #4f46e5 55%, #1d4ed8);
  box-shadow: 0 12px 30px rgba(37,99,235,.35);
  font-size: 42px;
}
h1 { margin: 0; text-align: center; font-size: 1.25rem; font-weight: 700; }
.sub { margin: 6px 0 0; text-align: center; color: var(--muted); font-size: .9rem; }
.meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 20px 0 8px;
}
.meta div {
  background: rgba(15,23,42,.7);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 8px;
  text-align: center;
}
.meta strong { display: block; font-size: 1rem; margin-bottom: 2px; }
.meta span { color: var(--muted); font-size: 11px; }
.controls { display: flex; justify-content: center; margin: 18px 0 14px; }
#play {
  width: 76px; height: 76px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(37,99,235,.4);
}
.vol {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(2,6,23,.45);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
}
.vol button {
  border: 0; background: transparent; color: var(--muted);
  font-size: 16px; cursor: pointer;
}
.vol input[type=range] { flex: 1; accent-color: var(--accent); }
#volPct { width: 40px; text-align: right; color: var(--muted); font-size: 12px; }
.status {
  min-height: 18px; margin-top: 14px; text-align: center;
  color: var(--muted); font-size: 12px;
}
footer {
  margin-top: 16px; text-align: center; color: #64748b; font-size: 11px;
}
