:root {
  --bg: #0f1419;
  --card: #1a2332;
  --text: #e8eef7;
  --muted: #9aa8bc;
  --accent: #5b9fd4;
  --err: #e07070;
  --ok: #6bcf8e;
}
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: radial-gradient(1200px 600px at 20% -10%, #1e3a5f 0%, var(--bg) 55%);
  color: var(--text);
}
.wrap { max-width: 420px; margin: 0 auto; padding: 2rem 1.25rem 3rem; }
header h1 { font-size: 1.6rem; margin: 0 0 0.35rem; }
.sub { color: var(--muted); margin: 0 0 1.5rem; }
.card {
  background: var(--card); border-radius: 14px; padding: 1.25rem 1.35rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
}
.hidden { display: none !important; }
label { display: block; margin: 0.75rem 0; font-size: 0.95rem; }
input {
  display: block; width: 100%; margin-top: 0.35rem; padding: 0.7rem 0.8rem;
  border-radius: 10px; border: 1px solid #2c3b52; background: #0f1724; color: var(--text);
  font-size: 1rem;
}
button {
  width: 100%; margin-top: 0.75rem; padding: 0.8rem 1rem; border: 0; border-radius: 10px;
  background: var(--accent); color: #061018; font-weight: 600; font-size: 1rem; cursor: pointer;
}
button.secondary { background: #2c3b52; color: var(--text); }
button:disabled { opacity: 0.5; cursor: wait; }
.err { color: var(--err); font-size: 0.9rem; }
.status { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.status button { width: auto; margin: 0; padding: 0.45rem 0.8rem; font-size: 0.85rem; }
#roster { list-style: none; padding: 0; margin: 1rem 0; }
#roster li {
  display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0;
  border-bottom: 1px solid #243247; font-size: 0.95rem;
}
#roster li::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok);
}
.hint { color: var(--muted); font-size: 0.85rem; margin: 0.75rem 0 0; }
.mic-row button { background: #2c3b52; color: var(--text); }
.mic-row button.muted { background: var(--err); color: #1a0a0a; }
