:root{color-scheme:dark;--bg:#0b1422;--panel:#111e30;--line:#293b50;--text:#e9f1fb;--muted:#a5b8ce;--accent:#78e0c1;--ink:#08291f;--radius:18px;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 15% 0,#183047 0,transparent 50%),var(--bg);color:var(--text);min-height:100dvh}main{max-width:1440px;margin:auto;padding:24px clamp(14px,3vw,42px)}h1,h2,p,figure{margin:0}h1{font-size:19px;letter-spacing:-.04em}h2{font-size:19px;letter-spacing:-.025em;margin:5px 0 10px}p{line-height:1.5}.muted,footer{color:var(--muted);font-size:13px}.top,.brand,.identity,.stage-head,.chat-header,.composer{display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{justify-content:flex-start}.mark{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:var(--accent);color:var(--ink);font-weight:850;font-size:25px}.identity{font-size:13px;flex-wrap:wrap;justify-content:flex-end}.identity span{overflow-wrap:anywhere;max-width:130px}.statusbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin:22px 0;background:var(--line);border:1px solid var(--line);border-radius:13px;overflow:hidden}.statusbar div{padding:12px 15px;background:var(--panel);min-width:0}.statusbar span{display:block;font-size:11px;color:var(--muted);margin-bottom:5px;text-transform:uppercase;letter-spacing:.08em}.statusbar strong{display:block;font-size:14px;overflow-wrap:anywhere}[data-ready=true] #transport{color:var(--accent)}.layout{display:grid;grid-template-columns:minmax(205px,.75fr) minmax(320px,1.7fr) minmax(250px,1fr);gap:14px;align-items:start}.sidebar{display:grid;gap:14px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:18px;min-width:0;box-shadow:0 12px 26px #0002}.kicker{font-size:10px;font-weight:700;letter-spacing:.13em;color:var(--accent)}button,input,textarea{font:inherit}button{border:1px solid transparent;border-radius:10px;background:var(--accent);color:var(--ink);font-weight:680;padding:10px 13px;min-height:44px;cursor:pointer;transition:background .15s}button:hover:not(:disabled){filter:brightness(1.1)}button:disabled{cursor:not-allowed;opacity:.38}button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #b8fbe6;outline-offset:2px}.secondary,.quiet{background:#1c3046;color:var(--text);border-color:var(--line)}.quiet{background:transparent;font-weight:500}.danger{background:#f3a0a6;color:#40131b}.success{background:#9be6af;color:#143822}.wide{width:100%;margin-top:13px}.actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.room .actions>*{flex:1}label{display:block;font-size:12px;font-weight:650;color:var(--muted);margin:12px 0 6px}input,textarea{width:100%;border:1px solid var(--line);border-radius:10px;color:var(--text);background:#0a1524;padding:12px;min-height:44px;outline:none;font-size:16px}textarea{resize:vertical;min-height:64px}input:disabled,textarea:disabled{opacity:.55}input::placeholder,textarea::placeholder{color:#8094aa}.or{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px;margin:18px 0 4px}.or:before,.or:after{content:"";height:1px;background:var(--line);flex:1}.stage-head{align-items:start}.stage-head h2{overflow-wrap:anywhere}.stage-head p,.duration{font-size:12px;color:var(--muted)}.duration{font-variant-numeric:tabular-nums;background:#0a1524;padding:8px;border-radius:8px;white-space:nowrap}.video-grid{position:relative;margin:18px 0 12px;min-height:210px;aspect-ratio:4/3;border-radius:14px;overflow:hidden;background:#07101c;border:1px solid var(--line)}.video-grid figure{position:absolute;overflow:hidden;background:#111e30;border:1px solid #3a5268;border-radius:10px}.video-grid .remote{inset:0}.video-grid .local{width:31%;aspect-ratio:4/3;bottom:10px;right:10px;box-shadow:0 3px 12px #0008}.video-grid video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:1}.placeholder{position:absolute;inset:0;display:grid;place-items:center;color:var(--muted);font-size:13px}.video-grid figcaption{position:absolute;bottom:5px;left:5px;font-size:10px;padding:4px 6px;background:#07101cda;border-radius:5px;z-index:2}.call-info{display:flex;flex-wrap:wrap;gap:5px 12px;color:var(--muted);font-size:12px;line-height:1.4}.controls .actions button{flex:1 1 auto;font-size:13px}.chat{display:flex;flex-direction:column;min-height:490px}.chat-header{align-items:start}.chat-header button{font-size:12px;min-height:36px;padding:6px 10px}#messages{height:300px;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:10px;padding:10px 1px;margin:6px 0;scrollbar-width:thin}#messages:empty:before{content:"No messages yet. Say hello when your peer joins.";color:var(--muted);font-size:13px;text-align:center;margin:auto;max-width:180px}.bubble{max-width:90%;padding:10px 12px;border-radius:14px;background:#21364c;align-self:flex-start;overflow-wrap:anywhere;white-space:pre-wrap}.bubble.local{position:relative;inset:auto;width:auto;aspect-ratio:auto;align-self:flex-end;background:#215349;box-shadow:none}.bubble p{font-size:14px}.bubble small{display:block;color:#b9d0dc;font-size:10px;margin-top:5px}.composer{margin-top:8px;font-size:11px;color:var(--muted)}.composer button{min-width:90px}#hint{min-height:38px}.diagnostics{margin-top:14px;padding:13px 18px}.diagnostics summary{cursor:pointer;font-weight:600;font-size:13px}.diagnostics pre{max-height:200px;overflow:auto;white-space:pre-wrap;font-size:11px;color:var(--muted)}footer{margin:20px 0 0;text-align:center}.login{display:grid;place-items:center}.login-shell{width:min(440px,100%);padding:24px}.login-panel{margin-top:30px;padding:26px}.login-panel h2{font-size:30px;margin:12px 0}.error{font-size:13px;color:#ffb1b7;margin-top:8px}.error:empty{display:none}@media(max-width:1050px){.layout{grid-template-columns:minmax(195px,.65fr) minmax(0,1.6fr)}.chat{grid-column:2}.sidebar{grid-row:span 2}}@media(max-width:650px){main{padding:14px 12px max(20px,env(safe-area-inset-bottom))}.top{gap:8px}.brand{gap:8px}.brand .muted{font-size:11px}h1{font-size:17px}.identity{gap:5px;max-width:100px}.identity span{max-width:90px}.identity button{min-height:35px;padding:6px 9px;font-size:12px}.statusbar{margin:14px 0}.statusbar div{padding:10px 8px}.statusbar strong{font-size:12px}.layout{display:flex;flex-direction:column;gap:12px}.layout>*{width:100%}.sidebar{display:contents}.privacy{order:4}.room{order:0}.stage{order:1}.chat{order:2}.panel{padding:14px}.video-grid{min-height:190px;aspect-ratio:4/3}.chat{min-height:420px}#messages{height:240px}.actions button{font-size:13px}.diagnostics{margin-top:12px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.notice{font-size:13px;color:var(--muted);padding:0 2px 12px;min-height:32px}@media(max-width:650px){.layout .room,.layout .privacy{width:100%}}
