:root{--buncss-light: ;--buncss-dark:initial;color-scheme:dark;--bg:#0b0b0d;--raised:#16161a;--line:#26262c;--text:#ececf0;--muted:#8b8b96;--live:#4ade80;--danger:#f0565b;--radius:10px;background:var(--bg);color:var(--text);font:14px/1.45 ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}*{box-sizing:border-box}body{min-height:100dvh;margin:0}a{color:inherit;text-decoration:none}button,input{font:inherit;color:inherit}button{cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:8px;height:34px;padding:0 14px;transition:background-color .12s ease-out,border-color .12s ease-out,opacity .12s ease-out}button:disabled{opacity:.5;cursor:default}button:focus-visible{outline:2px solid var(--text);outline-offset:2px}input:focus-visible{outline:2px solid var(--text);outline-offset:2px}.primary{background:var(--text);color:var(--bg);font-weight:550}.primary:hover:not(:disabled){background:#fff}.danger{background:var(--danger);color:#fff;font-weight:550}.ghost{border-color:var(--line)}.ghost:hover{background:var(--raised)}.large{height:42px;padding:0 22px;font-size:15px}.muted{color:var(--muted)}.wordmark{display:inline-flex;letter-spacing:-.01em;align-items: center;gap:8px;margin:0;font-size:15px;font-weight:600}.wordmark:before{content:"";background:var(--live);border-radius:50%;width:9px;height:9px}.center{display:flex;text-align:center;flex-direction:column;justify-content:center;align-items: center;gap:18px;min-height:100dvh;padding:24px}.center>p{margin:0}h1.wordmark{gap:12px;font-size:28px}h1.wordmark:before{width:14px;height:14px}.join{display:flex;gap:8px;width:min(360px,100%)}.join input{border:1px solid var(--line);background:var(--raised);border-radius:8px;flex:1;min-width:0;height:34px;padding:0 12px}.join input::placeholder{color:var(--muted)}.room{display:flex;flex-direction:column;height:100dvh}.bar{display:flex;border-bottom:1px solid var(--line);align-items: center;gap:10px;padding:10px 14px}.status{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);flex:1;min-width:0;padding-left:6px}.body{display:flex;flex:1;min-height:0}.side{border-left:1px solid var(--line);overflow-y:auto;flex-shrink:0;width:220px;padding:14px}.count{margin:0 0 10px}.people{list-style:none;display:grid;gap:8px;margin:0;padding:0}.people li{display:flex;align-items:baseline;gap:6px;min-width:0}.people .name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live{color:var(--live);flex-shrink:0;margin-left:auto;font-size:12px}.stage{overflow:auto;flex:1;gap:10px;min-width:0;padding:12px}.stage[data-layout=empty]{display:flex;justify-content:center;align-items: center}.empty{display:none;margin:0}.stage[data-layout=empty] .empty{display:block}.stage[data-layout=single]{display:grid;grid-template:minmax(0,1fr)/minmax(0,1fr)}.stage[data-layout=grid]{display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));grid-auto-rows:minmax(0,1fr)}.stage[data-layout=focus]{display:flex;flex-wrap:wrap;align-content: flex-start}.stage[data-layout=focus] .tile{flex:0 0 200px;height:112px}.stage[data-layout=focus] .tile.is-focused{flex-basis:100%;order:-1;height:calc(100% - 122px)}.tile{position:relative;border-radius:var(--radius);overflow:hidden;background:#000;min-height:0}.stage[data-layout=grid] .tile,.stage[data-layout=focus] .tile:not(.is-focused){cursor:pointer}.tile video{display:block;object-fit:contain;width:100%;height:100%}.tile:-webkit-full-screen{border-radius:0}.tile:fullscreen{border-radius:0}.overlay{position:absolute;display:flex;color:var(--muted);justify-content:center;align-items: center;inset:0}.overlay[hidden]{display:none}.tile-bar{position:absolute;display:flex;pointer-events:none;background:linear-gradient(#0000,#0009);align-items: center;gap:8px;padding:24px 10px 8px;inset:auto 0 0}.label{text-shadow:0 1px 2px #0009;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:550}.stats{color:#ffffffb3;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0;font-size:12px}.stats,.tile .icon{opacity:0;transition:opacity .15s ease-out}.tile:hover .stats,.tile:hover .icon,.tile.has-sound.is-muted .sound{opacity:1}.tile .icon:focus-visible{opacity:1}.icon{pointer-events:auto;background:#00000073;flex-shrink:0;width:30px;height:30px;padding:6px}.icon:hover{background:#000000b3}.icon svg{display:block;width:100%;height:100%}.tile:not(.has-sound) .sound,.tile.is-muted .when-sound,.tile:not(.is-muted) .when-muted,.stage[data-layout=focus] .tile:not(.is-focused) .stats{display:none}@media (hover:none){.stats,.tile .icon{opacity:1}}@media (max-width:720px){.body{flex-direction:column}.side{border-left:0;border-top:1px solid var(--line);width:auto;max-height:30dvh}.bar .wordmark{gap:0;font-size:0}.stage[data-layout=grid]{grid-template-columns:minmax(0,1fr);grid-auto-rows:auto}.stage[data-layout=grid] .tile{aspect-ratio:16/9}.stage[data-layout=focus] .tile{flex-basis:140px;height:80px}.stage[data-layout=focus] .tile.is-focused{height:calc(100% - 90px)}}
