:root{--accent:#ff6b35;--accent-ink:#0f0f0f;--bg:#0f0f0f;--card:#1a1a1a;--raised:#242424;--text:#ffffff;--muted:#a0a0a0;--ok:#22c55e;--danger:#ef4444;--track:#2e2e2e;color-scheme:dark}*{box-sizing:border-box}body,html{margin:0;padding:0;background:var(--bg);color:var(--text)}body{min-height:100dvh;font-family:system-ui,-apple-system,Segoe UI,sans-serif;font-size:16px;line-height:22px;font-weight:400}button,input{font:inherit;color:inherit}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}ul{margin:0;padding:0;list-style:none}.room{height:100dvh;display:flex;flex-direction:column;overflow-x:hidden;overflow-y:auto}.room-title{flex:none;margin:0;padding:16px 16px 8px;font-size:28px;line-height:34px;font-weight:700}.frame{position:relative;width:100%;flex:none;min-width:0;min-height:48px;aspect-ratio:16/9;max-height:min(56.25vw,max(48px,calc(100dvh - 220px)))}.frame,.frame-message{background:var(--card)}.frame-message{position:absolute;inset:0;z-index:2;display:flex;align-items:center;justify-content:center;margin:0;padding:16px;color:var(--muted);text-align:center}.banner[data-tone=danger],.frame-message[data-tone=danger]{color:var(--danger)}.yt-host,.yt-host iframe,.yt-shield,.yt-stage{position:absolute;inset:0;width:100%;height:100%;border:0}.yt-shield{z-index:1}.frame-hit{position:absolute;inset:0;z-index:2;margin:0;padding:0;border:0;background:transparent;cursor:pointer}.frame-bar{position:absolute;z-index:3;right:0;bottom:0;left:0}.frame-dock{flex-direction:column;gap:8px;padding:12px 16px 0}.frame-dock,.frame-seek{display:flex;background:var(--bg)}.frame-seek{align-items:center;height:48px;padding-left:16px}.frame-seek .seek{flex:1 1;min-width:0;width:auto}.frame-full{flex:none;width:48px;height:48px;margin:0;padding:0;border:0;background:transparent;color:var(--text);cursor:pointer}.frame-full svg{display:block;width:22px;height:22px;margin:0 auto}.frame-full:active{background:var(--raised)}.frame-full:focus-visible{outline-offset:-2px}.side{display:flex;flex-direction:column;flex:1 1;min-height:0;gap:12px;margin:16px 16px 0}.member-empty,.members-open{display:flex;align-items:center;width:100%;min-height:48px;margin:0;padding:0 16px;border:0;border-radius:16px;background:var(--card);font-size:16px;line-height:22px;font-weight:600;text-align:left}.members-open{cursor:pointer}.member-empty{color:var(--muted);font-weight:400}.sheet{display:flex;flex-direction:column;flex:0 1 auto;width:100%;min-height:0;max-height:100%;background:var(--card);border-radius:16px;overflow:hidden}.sheet-head{display:flex;flex:none;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:8px 12px 12px 16px}.sheet-head .members-open{flex:1 1;width:auto;padding-left:0;background:transparent}.sheet-head h2{margin:0;font-size:17px;line-height:22px;font-weight:600}.sheet-list{flex:0 1 auto;min-height:0;max-height:min(320px,42dvh);margin:0;padding:0 12px 12px;overflow:auto}.member{display:flex;align-items:center;min-height:48px;padding:0 8px}.dock{display:flex;flex-direction:column;gap:8px;margin-top:auto;padding:12px 16px max(16px,env(safe-area-inset-bottom))}.meta{align-items:center;justify-content:space-between;min-height:22px;color:var(--muted);font-size:13px;line-height:18px;font-weight:500}.meta,.statuses{display:flex;gap:12px}.statuses{flex-wrap:wrap;justify-content:flex-end}.status-word{display:inline-flex;align-items:center;gap:8px;color:var(--text);font-size:16px;line-height:22px;font-weight:400}.status-word i{display:block;width:8px;height:8px;border-radius:50%;background:var(--muted)}.status-word[data-tone=ok] i{background:var(--ok)}.status-word[data-tone=danger] i{background:var(--danger)}.now-title{margin:0;overflow:hidden;font-size:16px;line-height:22px;text-overflow:ellipsis;white-space:nowrap}.timecode{margin:0;font-size:24px;line-height:30px;font-weight:700;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.seek{width:100%;height:48px;margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;cursor:pointer}.seek::-webkit-slider-runnable-track{height:4px;background:var(--track);border-radius:999px}.seek::-webkit-slider-thumb{width:20px;height:20px;margin-top:-8px;-webkit-appearance:none;appearance:none;border:0;border-radius:50%;background:var(--text)}.seek::-moz-range-track{height:4px;background:var(--track);border:0;border-radius:999px}.seek::-moz-range-thumb{width:20px;height:20px;border:0;border-radius:50%;background:var(--text)}.seek:disabled{cursor:default}.queue-block{display:flex;flex-direction:column;gap:12px}.queue-row{display:flex;align-items:center;gap:12px;min-height:56px}.queue-thumb{width:84px;height:48px;flex:none;object-fit:cover;border-radius:10px;background:var(--raised)}.queue-label{flex:1 1;min-width:0;overflow:hidden;font-size:16px;line-height:22px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.quiet{flex:none;height:48px;padding:0 16px;border:0;border-radius:14px;background:var(--raised);color:var(--text);font-size:15px;line-height:20px;font-weight:600;cursor:pointer}.queue-remove,.sheet-close{width:48px;padding:0}.queue-remove svg,.sheet-close svg{display:block;width:22px;height:22px;margin:0 auto}.action,.queue-block>.quiet{width:100%;height:56px}.action{border:0;border-radius:14px;background:var(--accent);color:var(--accent-ink);font-size:15px;line-height:20px;font-weight:600;cursor:pointer}.action:disabled{background:var(--raised);color:var(--muted);cursor:default}.gate{gap:12px}.gate,.name-field{display:flex;flex-direction:column}.name-field{gap:8px}.name-field span{color:var(--muted);font-size:13px;line-height:18px;font-weight:500}.name-field input{height:52px;padding:0 16px;border:0;border-radius:12px;background:var(--raised)}.banner{margin:0;font-size:16px;line-height:22px}.home{display:flex;align-items:flex-end;min-height:100dvh;padding:24px 16px max(24px,env(safe-area-inset-bottom))}.home p{max-width:18ch;margin:0;font-size:28px;line-height:34px;font-weight:700}@media (min-width:960px){.room{display:grid;grid-template-columns:minmax(0,1fr) 340px;grid-template-rows:auto auto minmax(0,1fr);grid-template-areas:"title title" "frame side" "dock side";grid-column-gap:24px;column-gap:24px;grid-row-gap:16px;row-gap:16px;max-width:1280px;margin:0 auto;padding:24px;align-content:start}.room-title{grid-area:title;padding:0}.frame{grid-area:frame;border-radius:16px;overflow:hidden}.side{grid-area:side;align-self:start;width:100%;max-height:100%;margin:0;overflow:auto}.sheet-list{max-height:min(420px,50vh)}.dock{grid-area:dock;margin-top:0;padding:0}}.frame.frame-cinema{position:fixed;z-index:5;top:0;right:0;left:0;width:100%;height:100dvh;max-height:none;min-height:0;aspect-ratio:auto;border-radius:0}.frame.frame-cinema .frame-bar{padding-bottom:env(safe-area-inset-bottom)}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto}}