:root {
  --bg: #0f1117; --card: #181b24; --line: #2a2f3d; --text: #e9ecf3; --muted: #9aa3b5;
  --accent: #ff465a; --ok: #3ddc84; --warn: #ffb020;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif; }
#app { max-width: 520px; margin: 0 auto; padding: 24px 16px 48px; }
header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
header img { border-radius: 8px; image-rendering: pixelated; }
h1 { font-size: 20px; margin: 0; flex: 1; }
h2 { font-size: 16px; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px; margin-bottom: 16px; }
.card p { margin: 0 0 14px; }
label { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; cursor: pointer; }
input[type=checkbox] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
button { font: inherit; color: #fff; background: var(--accent); border: 0; border-radius: 8px; padding: 10px 16px; cursor: pointer; min-height: 44px; }
button:disabled { opacity: .45; cursor: default; }
.small { display: inline-block; margin-left: 12px; color: var(--muted); font-size: 14px; }
.rec { color: var(--accent); font-size: 13px; font-weight: 600; }
.status { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; }
.dot.on { background: var(--ok); }
.dot.wait { background: var(--warn); }
.room { margin-top: 16px; }
.team { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
ul { list-style: none; padding: 0; margin: 0 0 16px; }
li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
li:first-child { border-top: 0; }
li .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
li .you { color: var(--muted); font-size: 13px; }
li .talk { width: 10px; height: 10px; border-radius: 50%; background: var(--line); flex: none; transition: background .1s; }
li.speaking .talk { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
li input[type=range] { width: 110px; accent-color: var(--accent); }
.controls { display: flex; gap: 10px; }
.mic.off { background: #3a3f4d; }
#start { margin-top: 14px; width: 100%; }
