:root{ --bg:#f7f9fc; --fg:#1c1e21; --muted:#6b7280; --accent:#4f86ff; --danger:#ff5c5c; --card:#ffffff; --male:#3b82f6; --female:#ec4899; }
*{ box-sizing: border-box; }
body{ margin:0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial; color:var(--fg); background:linear-gradient(180deg,#f7f9fc,#eef2f7); min-height:100dvh; }
.appbar{ padding:12px 16px; border-bottom:1px solid #e5e7eb; background:#ffffff80; position:sticky; top:0; backdrop-filter: blur(6px); }
.container{ max-width:720px; padding:16px; margin:0 auto; display:flex; flex-direction:column; gap:16px; }
.card{ background:var(--card); border:1px solid #e5e7eb; border-radius:12px; padding:16px; box-shadow:0 10px 30px rgba(0,0,0,.06); }
.nav{ display:flex; justify-content:center; }
.link{ color:#2563eb; text-decoration:underline; }
.btn{ background:#f1f5f9; color:var(--fg); border:1px solid #e2e8f0; border-radius:10px; padding:10px 14px; cursor:pointer; transition:transform .05s; }
.btn:hover{ transform:translateY(-1px); }
.btn.primary{ background:var(--accent); color:#ffffff; border-color:#3f76ef; }
.btn.danger{ background:var(--danger); color:#0b0b0c; border-color:#ff8686; }
.gender-buttons{ display:flex; gap:12px; }
.gender.male{ border-color:#bfdbfe; background:#dbeafe; }
.gender.female{ border-color:#fbcfe8; background:#ffe4f3; }
.hidden{ display:none; }
.queue-info{ display:none; }
.progress{ display:none; }
.tips{ display:none; }
.mic-canvas{ width:100%; background:#0f1218; border:1px solid #2a2f38; border-radius:8px; }
.call{ text-align:center; }
.timer-ring{ width:220px; height:220px; margin:8px auto 16px; border-radius:50%; border:10px solid #e5e7eb; display:grid; place-items:center; position:relative; }
.timer{ font-size:40px; letter-spacing:1px; }
.gender-icon{ font-size:42px; margin:8px auto; width:64px; height:64px; display:grid; place-items:center; background:#fff; border:1px solid #e5e7eb; border-radius:50%; }
.waves{ display:grid; gap:8px; margin:12px 0; }
.wave{ height:28px; border-radius:6px; background:linear-gradient(90deg, #eef2ff, #fdf2f8); position:relative; overflow:hidden; }
.wave::after{ content:""; position:absolute; inset:0; background:repeating-linear-gradient(90deg, transparent 0 8px, rgba(0,0,0,.03) 8px 12px); animation: move 2s linear infinite; }
@keyframes move{ from{ transform:translateX(0); } to{ transform:translateX(100%); } }
.actions{ display:flex; justify-content:center; gap:12px; }
.countdown{ font-size:32px; color:var(--accent); }
.row{ display:flex; gap:12px; justify-content:center; }
