:root{--bg:#0f1113;--panel:#181b1f;--panel-2:#22262b;--text:#e8e9eb;--muted:#8b9199;--accent:#9e292b;--accent-text:#fff;--danger:#c0392b;--radius:12px;color:var(--text);background:var(--bg);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:15px}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--bg);color:var(--text)}button{font:inherit;cursor:pointer;background:var(--panel-2);color:var(--text);border:0;border-radius:999px;padding:10px 16px}button:hover{background:#2b3036}button:disabled{opacity:.5;cursor:default}button.active{background:var(--accent);color:var(--accent-text)}button.leave{background:var(--danger);color:#fff}input[type=text],input[type=password],input:not([type]){font:inherit;background:var(--bg);width:100%;color:var(--text);border:1px solid #2b3036;border-radius:8px;padding:10px 12px}input:focus{outline:2px solid var(--accent);outline-offset:1px}.screen{place-items:center;height:100%;padding:16px;display:grid}.card{background:var(--panel);border-radius:var(--radius);flex-direction:column;gap:16px;width:min(380px,100%);padding:28px;display:flex}.card h1{margin:0;font-size:22px;font-weight:600}.card label{color:var(--muted);flex-direction:column;gap:6px;font-size:13px;display:flex}.card button[type=submit]{background:var(--accent);color:var(--accent-text)}.toggles{gap:16px;display:flex}.toggle{align-items:center;color:var(--text)!important;flex-direction:row!important;font-size:14px!important}.error{color:#ff7b72;margin:0}.muted{color:var(--muted)}.room{flex-direction:column;height:100%;display:flex}.stage{flex-direction:column;flex:1;gap:12px;min-height:0;padding:12px;display:flex;position:relative}.grid{flex:1;grid-template-columns:1fr;gap:12px;min-height:0;display:grid}.grid-2{grid-template-columns:1fr 1fr}.grid-3,.grid-4{grid-template-rows:1fr 1fr;grid-template-columns:1fr 1fr}.focus{flex:1;min-height:0;display:flex}.strip{gap:12px;height:140px;display:flex}.strip .tile{flex:none;width:220px}.tile{background:var(--panel);border-radius:var(--radius);place-items:center;min-height:0;display:grid;position:relative;overflow:hidden}.tile video{object-fit:cover;width:100%;height:100%}.tile-share{background:#000;flex:1}.tile-share video{object-fit:contain}.label{background:#0000008c;border-radius:6px;padding:3px 8px;font-size:13px;position:absolute;bottom:8px;left:10px}.avatar{background:var(--panel-2);width:72px;height:72px;color:var(--muted);border-radius:50%;place-items:center;font-weight:600;display:grid}.empty{text-align:center;color:var(--text);background:var(--panel);border-radius:var(--radius);place-content:center;display:grid}.self-preview{background:var(--panel-2);border-radius:10px;position:absolute;bottom:20px;right:20px;overflow:hidden;box-shadow:0 6px 24px #0006}.self-preview-small{aspect-ratio:16/9;width:160px}.self-preview-large{aspect-ratio:16/9;width:min(640px,60vw)}.self-preview-video{cursor:zoom-in;place-items:center;width:100%;height:100%;display:grid}.self-preview-large .self-preview-video{cursor:zoom-out}.self-preview video{object-fit:cover;width:100%;height:100%;transform:scaleX(-1)}.self-preview-hide{background:#0000008c;width:24px;height:24px;padding:0;line-height:1;position:absolute;top:4px;right:4px}.self-preview-restore{color:var(--muted);font-size:12px;position:absolute;bottom:20px;right:20px}.toolbar{align-items:center;gap:8px;padding:12px 16px 16px;display:flex}.spacer{flex:1}.topbar{color:var(--muted);align-items:center;gap:14px;padding:10px 16px 0;font-size:13px;display:flex}.room-name{color:var(--text);font-weight:600}.rec:before{content:"";vertical-align:middle;background:#6b7280;border-radius:50%;width:8px;height:8px;margin-right:6px;display:inline-block}.rec.on:before{background:#e3342f}.body{flex:1;min-height:0;display:flex}.body .stage{flex:1}.transcript{background:var(--panel);border-radius:var(--radius);flex-direction:column;width:360px;min-height:0;margin:12px 12px 12px 0;display:flex}.transcript-head{border-bottom:1px solid #2b3036;justify-content:space-between;align-items:center;padding:10px 14px;display:flex}.transcript-head button{padding:0 8px}.transcript pre{white-space:pre-wrap;color:var(--text);margin:0;padding:12px 14px;font:13px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;overflow:auto}.chapter-form{align-items:center;gap:6px;display:flex}.chapter-form input{width:220px;padding:8px 10px}.toolbar{flex-wrap:wrap}.warn{color:#f5a623}.start-audio{background:var(--accent);color:#fff;margin-left:auto;padding:6px 12px;font-size:13px}
