:root {
  --bg: #0f1115; --card: #181b22; --line: #262a33; --text: #e7e9ee; --muted: #8b919e;
  --accent: #4f8cff; --red: #ef4444; --green: #22c55e;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font: 15px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
}
main { max-width: 640px; margin: 0 auto; padding: 32px 16px 64px; }
h1 { font-size: 22px; margin: 0 0 4px; }
.sub { color: var(--muted); margin: 0 0 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; margin-bottom: 16px; }
.card h2 { font-size: 15px; margin: 0 0 14px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
button {
  font: inherit; border: 0; border-radius: 10px; padding: 11px 18px; cursor: pointer;
  background: var(--accent); color: #fff; font-weight: 600;
}
button.ghost, a.btn { background: transparent; border: 1px solid var(--line); color: var(--text); padding: 6px 10px; font-weight: 500; }
button.rec { background: var(--red); }
button:disabled { opacity: .5; cursor: default; }
input {
  font: inherit; width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg); color: var(--text); margin-bottom: 12px;
}
.row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.meter { flex: 1; min-width: 120px; height: 10px; background: var(--bg); border-radius: 5px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: var(--green); transition: width .08s; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); display: inline-block; }
.dot.on { background: var(--red); animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.muted { color: var(--muted); font-size: 13px; }
.err { color: var(--red); font-size: 13px; min-height: 1.5em; }
ul { list-style: none; padding: 0; margin: 0; }
li { border-top: 1px solid var(--line); padding: 12px 0; }
li:first-child { border-top: 0; }
li .name { font-variant-numeric: tabular-nums; word-break: break-all; }
li audio { width: 100%; margin-top: 8px; }
.login { max-width: 340px; margin-top: 15vh; }
a.btn { display:inline-block; border-radius:10px; text-decoration:none; }
a { color: var(--accent); }
.hello { font-size: 48px; letter-spacing: .02em; }
.clock { font-size: 40px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; }
.badge { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--line); color: var(--muted); white-space: nowrap; }
.badge.live { background: var(--red); color: #fff; }
.badge.arch { background: #3b3214; color: #fbbf24; }
.seek { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 10px; }
.seek button { padding: 8px 0; font-size: 13px; }
select { font: inherit; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); }
.timeline { position: relative; height: 44px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; overflow: hidden; }
.timeline #cov i { position: absolute; top: 0; bottom: 0; background: #1f5f3a; }
.timeline .head { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--red); display: none; }
.timeline .hover { position: absolute; top: 0; bottom: 0; width: 1px; background: #fff6; display: none; }
.timeline:hover .hover { display: block; }
.timeline .hover::after { content: attr(data-t); position: absolute; top: 2px; left: 4px; font-size: 11px; color: var(--text); }
.ticks { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 4px; }
.dot.on { background: var(--green); animation: none; }
@media (max-width: 480px) { .seek { grid-template-columns: repeat(3, 1fr); } .clock { font-size: 32px; } }
