:root{--bg:#0f1115;--surface:#1a1d24;--border:#2a2f3a;--text:#e8eaf0;--muted:#8b93a7;--primary:#5b8cff;--primary-hover:#7aa2ff;--warn-bg:#3a2f14;--warn-border:#7a5d1a;--ok:#2fbf71;--sidebar-width:240px;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--bg);color:var(--text)}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.btn{border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;cursor:pointer;white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;padding:.6rem 1rem;font-weight:600;text-decoration:none;display:inline-flex}.btn:disabled{opacity:.6;cursor:progress}.btn-primary{background:var(--primary);border-color:var(--primary);color:#fff}.btn-primary:hover:not(:disabled){background:var(--primary-hover)}.btn-big{border-radius:12px;padding:1rem 2.25rem;font-size:1.25rem}.btn-small{padding:.3rem .6rem;font-size:.9rem}.btn-control{border-radius:999px;gap:.5rem;padding:.75rem 1.25rem}.btn-control.is-on{background:var(--ok);border-color:var(--ok);color:#04210f}.input{border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;border-radius:10px;padding:.8rem 1rem;font-size:1.1rem}.input:focus,.share-link:focus{outline:2px solid var(--primary);outline-offset:1px}kbd{border:1px solid var(--border);border-radius:4px;padding:0 .3em;font-size:.9em}.logo{letter-spacing:-.02em;margin:0;font-weight:800}.home,.center{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:1rem;min-height:100%;padding:1rem;display:flex}.home .logo{font-size:clamp(3rem,10vw,5rem)}.tagline,.muted{color:var(--muted)}.error{color:#ff7b7b}.center-block{text-align:center;flex-direction:column;align-items:center;gap:.5rem;display:flex}.join-form{text-align:center;flex-direction:column;align-items:stretch;gap:.75rem;width:min(100%,360px);display:flex}.join-form h1{margin:0 0 .5rem;font-size:1.5rem}.room{flex-direction:column;height:100dvh;display:flex;overflow:hidden}.room-header{border-bottom:1px solid var(--border);background:var(--surface);flex-wrap:wrap;flex-shrink:0;align-items:center;gap:1rem;padding:.6rem 1rem;display:flex}.logo-small{color:var(--text);font-size:1.25rem;text-decoration:none}.share{flex:320px;gap:.5rem;max-width:560px;margin-left:auto;display:flex}.share-link{border:1px solid var(--border);background:var(--bg);min-width:0;color:var(--text);font:inherit;border-radius:8px;flex:1;padding:.6rem .75rem;font-family:ui-monospace,monospace;font-size:.9rem}.toasts{top:4.5rem;right:calc(var(--sidebar-width) + 1rem);z-index:20;pointer-events:none;flex-direction:column;gap:.5rem;width:min(380px,100vw - 2rem);max-height:calc(100dvh - 11rem);display:flex;position:fixed;overflow-y:auto}.toast-card{pointer-events:auto;background:var(--warn-bg);border:1px solid var(--warn-border);border-radius:10px;align-items:flex-start;gap:.75rem;padding:.75rem .75rem .75rem 1rem;font-size:.9rem;line-height:1.4;animation:.18s ease-out toast-in;display:flex;box-shadow:0 8px 28px #00000080}.toast-body{flex:1;min-width:0}.toast-actions{flex-shrink:0;gap:.4rem;display:flex}@keyframes toast-in{0%{opacity:0;transform:translate(12px)}}.room-body{flex:1;min-height:0;display:flex}.stage{flex-direction:column;flex:1;justify-content:center;align-items:stretch;gap:.75rem;min-width:0;min-height:0;padding:.75rem 1rem;display:flex;overflow:auto}.stage>*{flex-shrink:0}.stage>.join-form,.stage>.center-block,.stage>.stage-empty{align-self:center}.stage-empty{text-align:center;margin:0}.stage>.spotlight-area{flex:1 1 0;justify-content:center;align-items:center;min-height:180px;display:flex;container-type:size}.screen-view{--aspect:1.7778;aspect-ratio:var(--aspect);width:min(100cqw, 100cqh * var(--aspect));border:1px solid var(--border);background:#000;border-radius:10px;margin:0;position:relative;overflow:hidden}.screen-view video{object-fit:contain;width:100%;height:100%;display:block}.screen-view:fullscreen{aspect-ratio:auto;border:none;border-radius:0;width:100%;height:100%}.screen-fullscreen{color:#fff;background:#000000b3;border-color:#ffffff59;padding:.45rem .85rem;position:absolute;bottom:.6rem;right:.6rem}.screen-fullscreen:hover{background:#000000d9;border-color:#fff}.screen-picker{flex-wrap:wrap;justify-content:center;gap:.5rem;display:flex}.sharing-banner{text-align:center;flex-wrap:wrap;justify-content:center;align-items:baseline;column-gap:.75rem;display:flex}.sharing-banner p{margin:0}.sharing-banner>p:first-child{color:var(--ok);font-weight:600}.sharing-quality{font-size:.9rem}.tiles{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),480px));justify-content:center;gap:.75rem;width:100%;display:grid}.camera-strip{justify-content:center;gap:.5rem;height:clamp(72px,14vh,120px);display:flex;overflow-x:auto}.camera-strip .tile{flex-shrink:0;height:100%}.tile{aspect-ratio:16/9;border:1px solid var(--border);background:#000;border-radius:10px;margin:0;position:relative;overflow:hidden}.tile video{object-fit:cover;width:100%;height:100%;display:block}.tile video.mirrored{transform:scaleX(-1)}.tile-name{color:#fff;text-overflow:ellipsis;white-space:nowrap;background:#0009;border-radius:6px;max-width:calc(100% - 1rem);padding:.2rem .6rem;font-size:.9rem;font-weight:600;position:absolute;bottom:.5rem;left:.5rem;overflow:hidden}.camera-strip .tile-name{padding:.1rem .4rem;font-size:.75rem;bottom:.3rem;left:.3rem}.controls{flex-wrap:wrap;justify-content:center;gap:.6rem;display:flex}.quality-picker{color:var(--muted);align-items:center;gap:.4rem;font-size:.9rem;display:inline-flex}.quality-picker select{border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;border-radius:999px;padding:.6rem .75rem;font-weight:600}.participants{width:var(--sidebar-width);border-left:1px solid var(--border);background:var(--surface);flex-shrink:0;padding:1rem;overflow-y:auto}.participants h2{margin:0 0 .75rem;font-size:1rem}.participants ul{flex-direction:column;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.participants li{align-items:center;gap:.5rem;min-width:0;display:flex}.participant-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.avatar{background:var(--primary);color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:2rem;height:2rem;font-weight:700;display:inline-flex}.device-status{flex-shrink:0;gap:.35rem;display:inline-flex}.mic-status{color:var(--muted);flex-shrink:0;display:inline-flex}.mic-status.is-on{color:var(--ok)}.toast{background:var(--ok);color:#04210f;z-index:10;border-radius:999px;padding:.75rem 1.25rem;font-weight:700;position:fixed;bottom:2rem;left:50%;transform:translate(-50%);box-shadow:0 6px 24px #0006}@media (width<=700px){.room{height:auto;min-height:100%;overflow:visible}.room-body{flex-direction:column}.stage{overflow:visible}.stage>.spotlight-area{flex:none;min-height:0;container-type:inline-size}.screen-view{width:100cqw}.participants{border-left:none;border-top:1px solid var(--border);width:auto}.toasts{right:1rem}}.notes-layer{pointer-events:none;position:absolute}.note,.note-composer{pointer-events:auto;position:absolute;transform:translate(0)}.note.anchor-right,.note-composer.anchor-right{transform:translate(-100%)}.note.anchor-bottom,.note-composer.anchor-bottom{transform:translateY(-100%)}.note.anchor-right.anchor-bottom,.note-composer.anchor-right.anchor-bottom{transform:translate(-100%,-100%)}.note{color:#1b1600;overflow-wrap:anywhere;white-space:pre-wrap;background:#ffd60af2;border-radius:8px;max-width:min(320px,60%);padding:.35rem .6rem;font-size:.95rem;line-height:1.3;transition:left 80ms linear,top 80ms linear,opacity 1s linear;animation:.15s ease-out note-in;box-shadow:0 4px 14px #00000073}.note.fading{opacity:0}.note-author{opacity:.75;font-size:.75rem;font-weight:700;display:block}@keyframes note-in{0%{opacity:0;scale:.9}}.note-composer{border:1px solid var(--primary);background:#0f1115eb;border-radius:8px;flex-direction:column;gap:.2rem;width:min(320px,80%);padding:.4rem;display:flex}.note-composer input{border:1px solid var(--border);background:var(--bg);width:100%;color:var(--text);font:inherit;border-radius:6px;padding:.4rem .5rem}.note-composer input:focus{outline:2px solid var(--primary)}.note-counter{color:var(--muted);text-align:right;font-size:.75rem}.screen-hint{color:#fff;pointer-events:none;opacity:0;background:#0009;border-radius:6px;padding:.25rem .6rem;font-size:.85rem;transition:opacity .2s;position:absolute;top:.6rem;right:.6rem}.screen-view:hover .screen-hint{opacity:1}.floating-body{background:#000;height:100vh;margin:0;overflow:hidden}.floating-root{height:100vh;display:flex}.floating-root .spotlight-area{flex:1;justify-content:center;align-items:center;min-height:0;display:flex;container-type:size}.floating-root .screen-view{border:none;border-radius:0}.floating-root .tile-name{padding:.1rem .4rem;font-size:.75rem}.floating-root .note{font-size:.85rem}.floating-unsupported{align-items:center;gap:.5rem;max-width:360px;font-size:.85rem;display:inline-flex}
