:root { --bg:#0f1218; --card:#181d26; --line:#2a3140; --text:#e7ebf2; --muted:#8b95a7; --accent:#3b82f6; --red:#e11d48; --green:#16a34a; --amber:#d97706; }
* { box-sizing:border-box; }
body { margin:0; background:var(--bg); color:var(--text); font:15px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; }
main { max-width:980px; margin:0 auto; padding:24px 16px 60px; }
h1 { margin:0 0 4px; font-size:26px; }
h2 { margin:0 0 12px; font-size:18px; }
h3 { margin:18px 0 8px; font-size:15px; color:var(--muted); }
.sub { color:var(--muted); margin:0 0 20px; }
.card { background:var(--card); border:1px solid var(--line); border-radius:12px; padding:18px; margin-bottom:16px; }
.hidden { display:none !important; }
label { display:block; margin:12px 0 4px; font-weight:600; }
label small { font-weight:400; color:var(--muted); }
select, input { width:100%; padding:9px 10px; margin-top:4px; background:#0f131a; color:var(--text); border:1px solid var(--line); border-radius:8px; font:inherit; }
input[type=checkbox] { width:auto; margin:0 6px 0 0; }
button { padding:9px 14px; border:0; border-radius:8px; background:var(--accent); color:#fff; font:inherit; font-weight:600; cursor:pointer; }
button:disabled { opacity:.45; cursor:default; }
button.big { width:100%; padding:14px; font-size:17px; }
button.ghost { background:transparent; border:1px solid var(--line); color:var(--muted); margin-top:16px; }
button.talk { background:#334155; }
button.talk.on { background:var(--amber); }
button.onair { background:var(--red); }
button.small { padding:6px 10px; font-size:13px; }
.row { display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin-top:10px; }
.row input { flex:1; min-width:160px; margin:0; }
.chk { display:flex; align-items:center; margin:0; font-weight:400; }
.meter { display:flex; align-items:center; gap:8px; margin:6px 0; font-size:12px; color:var(--muted); }
.meter > div { flex:1; height:10px; background:#0b0e13; border-radius:5px; overflow:hidden; }
.meter i { display:block; height:100%; width:0; background:linear-gradient(90deg, #16a34a 0 70%, #eab308 70% 88%, #e11d48 88%); transition:width 60ms linear; }
.status { padding:14px; border-radius:10px; text-align:center; font-size:20px; font-weight:700; margin-bottom:6px; }
.status.standby { background:#1f2937; color:var(--muted); }
.status.onair { background:var(--red); color:#fff; animation:pulse 2s infinite; }
.status.autodj { background:#1e3a8a; color:#fff; }
@keyframes pulse { 50% { opacity:.8; } }
ul { list-style:none; padding:0; margin:0; }
li.person { padding:8px 10px; border:1px solid var(--line); border-radius:8px; margin-bottom:6px; display:flex; justify-content:space-between; gap:8px; }
.speaking { color:var(--amber); font-weight:700; }
.tip { background:#1c2433; padding:10px; border-radius:8px; color:var(--muted); font-size:13px; }
.msg { color:var(--muted); min-height:1.5em; }
.msg.err { color:#fb7185; }
.grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(280px, 1fr)); gap:12px; }
.dj { border:1px solid var(--line); border-radius:10px; padding:12px; }
.dj.is-onair { border-color:var(--red); box-shadow:0 0 0 1px var(--red); }
.dj .name { font-weight:700; font-size:16px; display:flex; justify-content:space-between; }
.dj .np { color:var(--muted); font-size:13px; min-height:1.3em; }
.q { font-size:12px; color:var(--muted); }
code { background:#0b0e13; padding:2px 6px; border-radius:4px; word-break:break-all; }
