:root{--accent: #c62828;--accent-dark: #8e0000;--accent-light: #ffebee;--gray-50: #fafafa;--gray-100: #f5f5f5;--gray-200: #eeeeee;--gray-400: #9e9e9e;--gray-600: #616161;--gray-800: #424242;--gray-900: #212121;--header-bg: var(--gray-100);--panel: #fff;--text: var(--gray-900);--muted: var(--gray-600);--err: #b71c1c;--ok: #2e7d32;--bg-dark: #1a1a1a}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%;width:100%;max-width:100%;overflow-x:hidden;font-family:Segoe UI,system-ui,sans-serif;color:var(--text)}body{-webkit-user-select:none;user-select:none}input,textarea,[contenteditable=true],.room-item-title,.room-item-unit,.room-item .meta,.topbar-user-name,.player-head-title{-webkit-user-select:text;user-select:text}img{-webkit-user-drag:none;-webkit-user-select:none;user-select:none}.login-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(160deg,var(--gray-100) 0%,#ececec 50%,var(--gray-200) 100%)}.login-decoy{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;opacity:0;overflow:hidden;clip:rect(0,0,0,0);pointer-events:none}.login-card{position:relative;background:var(--panel);padding:2rem;border-radius:16px;width:min(360px,92vw);box-shadow:0 12px 40px #00000014;border:1px solid var(--gray-200);display:flex;flex-direction:column;align-items:stretch;margin:0;gap:0}.login-head{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;margin:0 0 1.25rem;padding:0;text-align:center}.login-head img{display:block;width:72px;height:72px;border-radius:12px;object-fit:contain;margin:0 auto .75rem}.login-head h1{margin:0;padding:0;width:100%;font-size:1.75rem;font-weight:700;letter-spacing:.02em;color:var(--gray-900);text-align:center;line-height:1.2}.login-head .accent{color:var(--accent)}.login-body{display:flex;flex-direction:column;align-items:stretch;width:100%;margin:0;padding:0;box-sizing:border-box}.login-body label{display:block;font-size:.8rem;color:var(--muted);margin:0 0 .2rem;padding:0}.login-body input{width:100%;margin:0 0 .9rem;padding:.6rem .75rem;border:1px solid var(--gray-200);border-radius:8px;font:inherit}.login-body input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-light)}.login-body button{width:100%;margin:0;padding:.65rem;background:var(--accent);color:#fff;border:none;border-radius:8px;font-weight:600;font:inherit;cursor:pointer}.login-body button:hover{background:var(--accent-dark)}.login-err{color:var(--err);text-align:center;font-size:.85rem;min-height:1.2em;margin:.5rem 0 0}.app-shell{display:flex;flex-direction:column;height:100vh;width:100%;max-width:100%;overflow-x:hidden}.topbar{display:flex;align-items:center;gap:1rem;padding:.5rem 1.25rem;background:var(--header-bg);border-bottom:1px solid var(--gray-200)}.brand{font-weight:700;color:var(--gray-900);border:none;background:transparent;padding:0;cursor:pointer;font:inherit}.brand:hover{opacity:.85}.brand span.accent{color:var(--accent)}.brand-logo{display:inline-flex;align-items:center;gap:.5rem;flex-shrink:0}.brand-logo img{border-radius:8px;object-fit:contain;flex-shrink:0}.brand-logo--center{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;gap:.65rem;margin:0 0 1.25rem}.brand-logo--center img{display:block}.brand-logo--center h1{margin:0;width:100%;font-size:1.75rem;letter-spacing:.02em;text-align:center}.brand-text{white-space:nowrap}.topbar-user{font-size:.85rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:12rem}.topbar-user-role{display:none}.ui-icon{width:1.15rem;height:1.15rem;display:block;flex-shrink:0}.ui-icon--lg{width:1.45rem;height:1.45rem}.btn-icon--cast{display:inline-flex;align-items:center;justify-content:center}.btn-icon--cast .ui-icon{width:1.25rem;height:1.25rem;stroke:currentColor}.bottom-nav__grid{display:inline-flex;align-items:center;justify-content:center}.content-head-time{font-size:.8rem;color:var(--gray-400);white-space:nowrap}.topbar nav{flex:1;display:flex;gap:.25rem}.topbar nav button,.bottom-nav button{border:none;background:transparent;padding:.45rem 1rem;border-radius:6px;cursor:pointer;color:var(--muted);font:inherit}.topbar nav button.active,.bottom-nav button.active{background:#fff;color:var(--accent);font-weight:600;box-shadow:0 1px 3px #00000014}.bottom-nav,.sidebar-backdrop,.room-strip{display:none}.room-chip{flex:0 0 auto;display:inline-flex;align-items:center;gap:.4rem;max-width:min(220px,70vw);padding:.5rem .75rem;border:1px solid var(--gray-200);border-radius:999px;background:var(--panel);color:var(--gray-800);font:inherit;font-size:.8rem;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.room-chip.active{background:var(--accent);border-color:var(--accent);color:#fff}.room-chip-dot{width:8px;height:8px;border-radius:50%;background:var(--gray-400);flex-shrink:0}.room-chip-dot.on{background:#4caf50}.room-chip-label{overflow:hidden;text-overflow:ellipsis}.btn{padding:.4rem .9rem;border:none;border-radius:6px;background:var(--accent);color:#fff;cursor:pointer;font-size:.85rem}.btn--sm{padding:.35rem .7rem;font-size:.8rem}.btn:hover{background:var(--accent-dark)}.btn-ghost{background:transparent;color:var(--gray-800);border:1px solid var(--gray-400)}.main{display:flex;flex:1;min-height:0}.sidebar{width:360px;flex-shrink:0;background:var(--panel);border-right:1px solid var(--gray-200);display:flex;flex-direction:column;transition:width .2s ease,margin .2s ease,opacity .2s ease;overflow:hidden}.sidebar.collapsed{width:0;border-right:none;opacity:0;pointer-events:none}.main.sidebar-hidden .content{flex:1}.sidebar-head{padding:1rem;border-bottom:1px solid var(--gray-200);display:flex;justify-content:space-between;align-items:center;gap:.5rem}.sidebar-head h2{flex:1;min-width:0}.btn-icon{border:1px solid var(--gray-200);background:var(--panel);color:var(--gray-800);width:2rem;height:2rem;border-radius:6px;cursor:pointer;font-size:1.1rem;line-height:1;flex-shrink:0}.btn-icon:hover{background:var(--gray-100)}.btn-icon.light{border-color:#555;background:transparent;color:#e8eaed}.btn-icon.light:hover{background:#ffffff14}.content-head-left{display:flex;align-items:center;gap:.75rem}.sidebar-head h2{margin:0;font-size:1rem;color:var(--gray-800)}.sidebar-drag-handle{display:none}.room-list{flex:1;overflow-y:auto}.room-group{padding:.35rem 0 .5rem}.room-group+.room-group{border-top:1px solid var(--gray-200)}.room-group-title{margin:0;padding:.5rem 1rem .35rem;font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--gray-600)}.room-group-title--toggle{display:flex;align-items:center;gap:.35rem;width:100%;border:none;background:transparent;cursor:pointer;text-align:left;font:inherit;font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--gray-600);padding:.5rem 1rem .35rem}.room-group-title--toggle:hover{color:var(--gray-800);background:var(--gray-50)}.room-group-chevron{display:inline-block;width:.75rem;flex-shrink:0;font-size:.65rem;line-height:1}.room-group-count{margin-left:auto;padding-left:.35rem;font-size:.68rem;font-weight:700;letter-spacing:.02em;text-transform:none;color:var(--gray-500)}.room-group--collapsed .room-group-title--toggle{padding-bottom:.5rem}.room-item--offline:not(.active){opacity:.72}.room-item--offline:not(.active) .room-live-text{color:var(--gray-500)}.room-item{padding:.85rem 1rem;border-bottom:1px solid var(--gray-100);cursor:pointer}button.room-item{display:block;width:100%;border:none;border-bottom:1px solid var(--gray-100);text-align:left;font:inherit;background:var(--panel);color:inherit}.room-item--all .room-item-title{font-weight:700}.room-item:hover{background:var(--gray-100)}.room-item.active{background:var(--accent);color:#fff}.room-item .meta{font-size:.75rem;opacity:.85}.room-item-row{display:flex;flex-direction:column;gap:.35rem}.room-item-head{display:flex;align-items:center;gap:.5rem;min-width:0}.room-device-icon{width:1.1rem;height:1.1rem;flex-shrink:0;opacity:.75}.room-item.active .room-device-icon{opacity:.95}.room-item-title{font-weight:600;font-size:.9rem}.room-item-unit{font-size:.72rem;opacity:.75;line-height:1.2;margin-top:-.1rem}.room-item.active .room-item-unit{opacity:.9}.room-item-title--editable{cursor:text;min-width:0;overflow:hidden;text-overflow:ellipsis}.room-label-input{flex:1;min-width:0;font:inherit;font-weight:600;font-size:.9rem;padding:.15rem .35rem;border:1px solid var(--accent);border-radius:4px;background:var(--panel);color:inherit}.room-item.active .room-label-input{background:#fff;color:var(--gray-900)}.room-status-strip{display:flex;flex-wrap:nowrap;align-items:center;margin-top:.35rem;width:max-content;max-width:100%;height:1.55rem;min-width:0;overflow:hidden;border:1px solid var(--gray-200);border-radius:4px;background:var(--gray-50);color:var(--gray-700);font-size:.625rem;line-height:1}.room-live-dot{width:8px;height:8px;border-radius:50%;background:var(--gray-400);flex-shrink:0}.room-live-dot.on{background:#4caf50;box-shadow:0 0 0 2px #4caf5059}.room-live-dot.connected{background:#ffb300;box-shadow:0 0 0 2px #ffb3004d}.room-live-dot.idle{background:#42a5f5;box-shadow:0 0 0 2px #42a5f559}.room-live-text{color:inherit;font-weight:600;white-space:nowrap}.room-status-segment{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:100%;padding:0 .3rem;font-weight:600;white-space:nowrap;flex:0 0 auto}.room-status-segment+.room-status-segment{border-left:1px solid var(--gray-200)}.room-status-activity{gap:.25rem}.room-status-activity.on{color:#2e7d32}.room-status-activity.connected{color:#805600}.room-status-activity.idle{color:#1565c0}.room-status-auth{gap:.2rem}.room-status-auth-icon{width:.75rem;height:.75rem;flex-shrink:0}.room-status-auth.authorized{color:#256029}.room-status-auth.unauthorized{color:#9b2c2c}.room-presence-badge{display:inline-flex;align-items:center;box-sizing:border-box;min-height:1.35rem;padding:.15rem .4rem;border:1px solid transparent;border-radius:4px;font-size:.66rem;font-weight:600;line-height:1;white-space:nowrap}.room-presence-badge.outdated{color:#7a4d00;background:#fff7df;border-color:#e7ca7a}.room-version-badge{max-width:100%;overflow:hidden;text-overflow:ellipsis}.room-item-notice{display:flex;margin-top:.35rem}.room-last-session{margin-top:.35rem;color:var(--gray-500);font-size:.68rem}.room-status-counter{gap:.2rem}.room-stat-icon{width:.9rem;height:.9rem;flex-shrink:0}.room-stat-icon--drone{width:1.05rem;height:1.05rem;object-fit:contain;display:block}.room-item.active .room-stat-icon--drone{filter:brightness(0) invert(1)}.room-item.active .room-live-dot.on{background:#a5d6a7}.room-item.active .room-live-dot.connected{background:#ffe082;box-shadow:0 0 0 2px #ffe08273}.room-item.active .room-live-dot.idle{background:#90caf9;box-shadow:0 0 0 2px #90caf973}.room-item.active .room-status-strip{color:#ffffffeb;background:#ffffff1f;border-color:#ffffff3d}.room-item.active .room-status-segment{color:inherit}.room-item.active .room-status-segment+.room-status-segment{border-left-color:#fff3}.room-item.active .room-status-auth-icon{color:#ffffffd9}.room-item.active .room-presence-badge{color:#fff;background:#ffffff1f;border-color:#ffffff3d}.room-item.active .room-last-session{color:#fffc}.room-item--hidden{opacity:.72}.room-item--hidden:not(.active){border-left:3px solid var(--gray-400, #bdbdbd)}.room-hidden-tag{color:var(--gray-600, #757575);font-style:italic}.room-item.active .room-hidden-tag{color:#ffffffd9}.room-context-menu{position:fixed;z-index:1200;min-width:11rem;padding:.35rem 0;border-radius:8px;background:#fff;border:1px solid var(--gray-200, #eee);box-shadow:0 8px 24px #0000002e}.room-context-menu button{display:block;width:100%;padding:.55rem .9rem;border:none;background:transparent;text-align:left;font:inherit;cursor:pointer}.room-context-menu button:hover{background:var(--gray-100, #f5f5f5)}.room-context-menu button.danger{color:var(--accent, #c62828)}.room-context-menu button.danger:hover{background:#ffebee}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1300;display:flex;align-items:center;justify-content:center;padding:1rem;background:#00000073;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal-card{width:min(100%,22rem);padding:1.25rem 1.35rem 1.1rem;border-radius:10px;background:#fff;box-shadow:0 16px 40px #00000038}.modal-card h3{margin:0 0 .75rem;font-size:1.1rem}.modal-text{margin:0 0 .65rem;font-size:.9rem;line-height:1.45;color:var(--gray-900, #212121)}.modal-text--muted{color:var(--gray-600, #616161);font-size:.85rem}.modal-form{margin-top:.85rem}.modal-form label{display:block;margin-bottom:.35rem;font-size:.85rem;color:var(--gray-700, #424242)}.modal-form input{width:100%;box-sizing:border-box;padding:.55rem .65rem;border:1px solid var(--gray-300, #e0e0e0);border-radius:6px;font:inherit}.modal-form input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-light, #ffcdd2)}.modal-err{margin:.5rem 0 0;color:var(--err, #c62828);font-size:.85rem}.modal-actions{display:flex;gap:.5rem;justify-content:flex-end;margin-top:1rem}.btn--danger{background:var(--accent, #c62828);color:#fff;border:none}.btn--danger:hover:not(:disabled){background:var(--accent-dark, #8e0000)}.btn--danger:disabled{opacity:.7;cursor:not-allowed}.room-empty{padding:1.25rem 1rem;color:var(--muted);font-size:.85rem;line-height:1.45}.content-placeholder{flex:1;margin:0 1rem 1rem;display:flex;align-items:center;justify-content:center;color:var(--gray-400);font-size:.95rem;border:1px dashed #444;border-radius:8px;min-height:240px}.content{flex:1;display:flex;flex-direction:column;background:var(--bg-dark);min-width:0;width:100%;max-width:100%;overflow-x:hidden;position:relative}.local-player-test{background:#000}.local-player-test .topbar{background:#f0f0f0}.local-player-test .content,.local-player-test .player-layer,.local-player-test .video-box,.local-player-test .video-stage{background:#000}.local-player-test .video-stage{min-height:calc(100vh - 38px)}.local-compare{min-height:100vh;background:#111;color:#fff}.local-compare__head{padding:.75rem 1rem;border-bottom:1px solid rgba(255,255,255,.1);background:#1b1b1b}.local-compare__controls{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:.75rem}.local-compare__title{font-size:.95rem;font-weight:700}.local-compare__meta{margin-top:.2rem;font-size:.78rem;color:#ffffffa6;word-break:break-all}.local-compare__grid{display:grid;grid-template-columns:1fr 1fr;gap:0;min-height:calc(100vh - 58px)}.local-compare__panel{min-width:0;min-height:0;border-right:1px solid rgba(255,255,255,.08);background:#000}.local-compare__panel iframe{width:100%;height:calc(100vh - 58px);border:0;display:block;background:#000}.local-compare__label{position:absolute;z-index:2;margin:.65rem;padding:.35rem .55rem;border-radius:999px;background:#000000a6;color:#fff;font-size:.72rem;font-weight:700;pointer-events:none}.local-compare__panel{position:relative}.local-compare__missing{height:calc(100vh - 58px);display:flex;align-items:center;justify-content:center;padding:1rem;background:#000;color:#ffffffb8;font-size:.9rem}.local-compare__form{display:grid;grid-template-columns:minmax(180px,.65fr) minmax(280px,1fr) minmax(280px,1fr) auto auto;gap:.5rem;width:min(100%,900px)}.local-compare__form input{min-width:0;padding:.5rem .65rem;border:1px solid rgba(255,255,255,.18);border-radius:8px;background:#0f0f0f;color:#fff;font:inherit}.local-compare__form button{padding:.5rem .85rem;border:0;border-radius:8px;background:#c62828;color:#fff;font:inherit;font-weight:700;cursor:pointer}.local-compare__secondary{background:#2b2b2b!important;color:#fff;border:1px solid rgba(255,255,255,.14)!important}@media(max-width:900px){.local-compare__form{grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:100%}.local-compare__form input:first-child{grid-column:1 / -1}.local-compare__form button{width:100%}}@media(max-width:640px){.local-compare__form{grid-template-columns:1fr}.local-compare__form input:first-child{grid-column:auto}}.player-layer{flex:1;display:flex;flex-direction:column;min-height:0;position:relative;overflow:hidden}.player-head-overlay{display:flex;align-items:center;gap:.5rem;padding:max(8px,env(safe-area-inset-top,0px)) max(10px,env(safe-area-inset-right,0px)) .65rem max(10px,env(safe-area-inset-left,0px));background:transparent}.player-head-title{text-shadow:0 1px 4px rgba(0,0,0,.85)}.player-head-bar{border:none;cursor:pointer;color:#fff;font:inherit;flex-shrink:0}.player-head-bar__icon{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.player-head-bar__label{position:relative;z-index:1;font-size:.85rem;font-weight:500;color:#fff;white-space:nowrap;line-height:1;padding-right:.05rem}.video-ui-layer{transform:translateZ(2px);-webkit-transform:translate3d(0,0,2px);backface-visibility:hidden;-webkit-backface-visibility:hidden}.video-box:not(.video-box--pseudo-fs) .video-player-chrome>.player-head-overlay,.video-box:not(.video-box--pseudo-fs) .video-player-chrome>.video-chrome{transform:translateZ(2px);-webkit-transform:translate3d(0,0,2px)}.player-head-meta{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:.4rem;min-width:0;flex-shrink:1;max-width:min(100%,74vw);position:relative;flex-wrap:nowrap}.metrics-dock{position:relative;z-index:24;display:inline-flex;flex-direction:column;align-items:flex-end;gap:.35rem;pointer-events:auto;flex:0 0 auto;overflow:visible}.metrics-dock__toggle{height:2.25rem;min-width:7.4rem;padding:0 .78rem;border:0;border-radius:12px;background:#1c1c1cf0;color:#fff;display:inline-flex;align-items:center;justify-content:space-between;gap:.58rem;font-size:.9rem;font-weight:600;line-height:1;box-shadow:0 4px 24px #00000080;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);cursor:pointer}.metrics-dock__toggle:hover,.metrics-dock__toggle:focus-visible{background:#282828f5}.metrics-dock__toggle>span:last-child{font-size:.64rem;opacity:.88}.metrics-dock__panel{position:absolute;top:calc(100% + .3rem);right:0;width:min(20rem,calc(100vw - 1.5rem));max-height:min(72vh,33rem);overflow-y:auto;display:flex;flex-direction:column;gap:0;padding:0;border-radius:12px;border:0;background:#1c1c1cf0;box-shadow:0 4px 24px #00000080;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);overflow:hidden auto;box-sizing:border-box;-webkit-overflow-scrolling:touch}.metrics-group{display:flex;flex-direction:column}.metrics-group+.metrics-group{border-top:1px solid rgba(255,255,255,.14)}.metrics-group__title{padding:.5rem .78rem .45rem;font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#ffffffb3}.metrics-dock:not(.is-open) .metrics-dock__panel{display:none}.player-head-title-bar.video-chrome__bar{height:2.05rem;min-width:2.9rem;box-sizing:border-box;padding:0 .65rem;max-width:min(36vw,18rem);flex-shrink:1;justify-content:center}.player-head-title-bar .player-head-title{text-shadow:none;font-weight:500;font-size:.76rem;line-height:1;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center}.player-head-title{font-weight:600;color:#fff;font-size:.82rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.status-pill--head{position:static;top:auto;left:auto;right:auto;z-index:auto;flex-shrink:0;max-width:none;overflow:visible;text-overflow:clip;height:2rem;padding:0 .62rem;font-size:.73rem;border-radius:999px;pointer-events:none;white-space:nowrap}.player-sidebar-toggle{position:absolute;top:10px;left:10px;z-index:25}.player-sidebar-toggle.btn-icon--cast{position:relative}.player-menu-badge{position:absolute;top:-4px;right:-4px;min-width:1.1rem;height:1.1rem;padding:0 .25rem;border-radius:999px;background:var(--accent);color:#fff;font-size:.65rem;font-weight:700;line-height:1.1rem;text-align:center;box-shadow:0 1px 4px #00000059}.player-layer-hidden{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none;flex:0}.video-box{flex:1;margin:0;background:#000;border-radius:0;min-height:240px;display:flex;flex-direction:column;min-height:0;position:relative}.video-box.video-hidden{display:none}.video-stage{flex:1;min-height:240px;min-height:0;display:grid;grid-template:1fr / 1fr;place-items:center;position:relative;overflow:hidden;width:100%;max-width:100%;isolation:isolate}.video-stage video,.video-stage .video-media-slot,.video-stage .player-overlay,.video-stage .video-fs-pointer-layer,.video-stage .video-player-chrome{grid-area:1 / 1}.video-stage .video-media-slot{position:relative;z-index:0;width:100%;height:100%;min-width:0;min-height:0;align-self:stretch;justify-self:stretch;display:grid;place-items:center;pointer-events:none}.video-media-slot video{pointer-events:auto}.video-stage .video-player-chrome{position:relative;z-index:20;width:100%;height:100%;min-width:0;min-height:0;align-self:stretch;justify-self:stretch;pointer-events:none}.video-box--native-fs .video-player-chrome,.video-box--native-fs.video-ui-layer{z-index:100!important;backface-visibility:visible!important;-webkit-backface-visibility:visible!important}.video-box--native-fs .video-media-slot{z-index:0!important}.video-box--native-fs .video-media-slot video{position:relative!important;z-index:0!important;transform:none!important;-webkit-transform:none!important}.video-box--native-fs[data-chrome-visible] .video-player-chrome .player-head-overlay,.video-box--native-fs[data-chrome-visible] .video-player-chrome .video-chrome,.video-box:fullscreen[data-chrome-visible] .video-player-chrome .player-head-overlay,.video-box:-webkit-full-screen[data-chrome-visible] .video-player-chrome .player-head-overlay,.video-box:fullscreen[data-chrome-visible] .video-player-chrome .video-chrome,.video-box:-webkit-full-screen[data-chrome-visible] .video-player-chrome .video-chrome{opacity:1!important;visibility:visible!important;pointer-events:auto!important;transition:none!important;backface-visibility:visible!important;-webkit-backface-visibility:visible!important}.video-box--native-fs[data-chrome-visible] .player-head-overlay,.video-box:fullscreen[data-chrome-visible] .player-head-overlay,.video-box:-webkit-full-screen[data-chrome-visible] .player-head-overlay{background:transparent!important}.video-box--native-fs[data-chrome-visible] .video-chrome__bar,.video-box:fullscreen[data-chrome-visible] .video-chrome__bar,.video-box:-webkit-full-screen[data-chrome-visible] .video-chrome__bar{background:#181818f0!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:0 2px 18px #000000a6!important}.video-box--native-fs[data-chrome-visible] .video-chrome__btn,.video-box:fullscreen[data-chrome-visible] .video-chrome__btn,.video-box:-webkit-full-screen[data-chrome-visible] .video-chrome__btn{color:#fff!important}.video-box--native-fs[data-chrome-visible] .video-chrome__icon,.video-box:fullscreen[data-chrome-visible] .video-chrome__icon,.video-box:-webkit-full-screen[data-chrome-visible] .video-chrome__icon{color:#fff!important;opacity:1!important;filter:drop-shadow(0 1px 3px rgba(0,0,0,.85))}.video-player-chrome>.player-head-overlay{position:absolute;top:0;left:0;right:0;z-index:2;pointer-events:auto}.video-player-chrome>.video-chrome{position:absolute;z-index:2;pointer-events:auto}.video-fs-pointer-layer{z-index:15;pointer-events:none;background:transparent;display:none;transform:translateZ(0)}.video-stage .video-fs-pointer-layer{grid-area:1 / 1;position:absolute;top:0;right:0;bottom:0;left:0}.video-box.is-stream-playing .video-fs-pointer-layer{display:block}.video-box.is-stream-playing:not([data-chrome-visible]) .video-fs-pointer-layer{pointer-events:auto;cursor:pointer}.video-box.is-stream-playing:not([data-chrome-visible]) .video-media-slot video,.video-box.is-stream-playing:not([data-chrome-visible]) .video-stage video{pointer-events:none}.video-box.is-fullscreen:not([data-chrome-visible]),.video-box.is-fullscreen:not([data-chrome-visible]) .video-stage,.video-box:fullscreen:not([data-chrome-visible]),.video-box:fullscreen:not([data-chrome-visible]) .video-stage,.video-box:-webkit-full-screen:not([data-chrome-visible]),.video-box:-webkit-full-screen:not([data-chrome-visible]) .video-stage{cursor:none}.video-box.is-fullscreen[data-chrome-visible],.video-box.is-fullscreen[data-chrome-visible] .video-stage,.video-box:fullscreen[data-chrome-visible],.video-box:fullscreen[data-chrome-visible] .video-stage,.video-box:-webkit-full-screen[data-chrome-visible],.video-box:-webkit-full-screen[data-chrome-visible] .video-stage{cursor:default}.video-box[data-chrome-visible] .video-fs-pointer-layer{display:none!important;pointer-events:none!important}.video-box--pseudo-fs.is-fullscreen{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100002;width:100vw;height:100dvh}.video-box--pseudo-fs.is-fullscreen .video-player-chrome>.video-chrome,.video-box--pseudo-fs.is-fullscreen .video-player-chrome>.player-head-overlay{position:fixed;transform:translateZ(2px);-webkit-transform:translate3d(0,0,2px)}.video-box--pseudo-fs.is-fullscreen .video-player-chrome>.player-head-overlay{top:0;left:0;right:0}.video-box--pseudo-fs.is-fullscreen .video-player-chrome>.video-chrome{right:max(10px,env(safe-area-inset-right,0px));bottom:max(10px,env(safe-area-inset-bottom,0px))}.video-stage video{width:100%;height:100%;max-width:100%;max-height:100%;min-width:0;min-height:0;object-fit:contain;object-position:center;z-index:1}.video-stage video.video--stream-rotated{object-fit:contain}.app-shell--player .video-stage video.video--stream-rotated{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;align-self:center!important;justify-self:center!important}.video-stage .player-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10}.video-chrome{right:max(10px,env(safe-area-inset-right,0px));bottom:max(10px,env(safe-area-inset-bottom,0px));left:auto;top:auto;display:flex;flex-direction:column;align-items:flex-end;overflow:visible}.video-chrome__bar{display:inline-flex;align-items:center;gap:.15rem;padding:.2rem .35rem;border-radius:999px;background:#121212b8;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 2px 12px #00000059}.player-head-bar.video-chrome__bar{position:relative;gap:.4rem;min-height:2.9rem;padding:.2rem .7rem;overflow:visible}.player-head-bar.video-chrome__bar:before{content:"";position:absolute;top:3px;right:3px;bottom:3px;left:3px;border-radius:999px;background:transparent;pointer-events:none;transition:background .15s ease}.player-head-bar.video-chrome__bar:hover:before,.player-head-bar.video-chrome__bar:focus-visible:before{background:#ffffff24}.video-chrome__btn{position:relative;width:2.5rem;height:2.5rem;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;background:transparent;color:#fff;cursor:pointer;padding:0}.video-chrome__btn:hover,.video-chrome__btn.is-active{background:#ffffff24}.video-chrome__icon{width:1.35rem;height:1.35rem}.video-chrome,.video-player-chrome .player-head-overlay{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .22s ease,visibility .22s ease}.video-box[data-chrome-visible] .video-player-chrome .video-chrome,.video-box[data-chrome-visible] .video-player-chrome .player-head-overlay,.video-stage--chrome-visible .video-player-chrome .video-chrome,.video-stage--chrome-visible .video-player-chrome .player-head-overlay{opacity:1;visibility:visible;pointer-events:auto}.video-box[data-chrome-visible] .video-stage.video-stage--ink-cursor .video-player-chrome .video-chrome,.video-stage--chrome-visible.video-stage--ink-cursor .video-player-chrome .video-chrome{pointer-events:auto}.video-quality-menu{position:absolute;bottom:calc(100% + 8px);right:0;min-width:min(15rem,calc(100vw - 2rem));max-height:min(33rem,72vh);padding:0;border-radius:12px;border:0;background:#1c1c1cf0;box-shadow:0 4px 24px #00000080;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);overflow-x:hidden;overflow-y:auto;box-sizing:border-box;-webkit-overflow-scrolling:touch}.video-box[data-player-menu-open] .video-stage,.video-box[data-player-menu-open] .video-player-chrome{overflow:visible}.video-quality-menu__head{display:flex;align-items:center;gap:.35rem;padding:.55rem .65rem .6rem;border-bottom:1px solid rgba(255,255,255,.1)}.video-quality-menu__back{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;padding:0;border:0;border-radius:999px;background:transparent;color:#fff;cursor:pointer}.video-quality-menu__back:hover{background:#ffffff1a}.video-quality-menu__back-icon{width:1.35rem;height:1.35rem}.video-quality-menu__head-title{flex:1;font-size:.95rem;font-weight:500;color:#fff;text-align:center;margin-right:2rem}.video-quality-menu__section-title{padding:.55rem 1rem .25rem;font-size:.72rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#ffffff73}.video-quality-menu__item:disabled{opacity:.45;cursor:not-allowed}.video-quality-menu__item{width:100%;display:flex;align-items:center;gap:.75rem;padding:.6rem .85rem;border:0;background:transparent;color:#e8eaed;font:inherit;font-size:.92rem;text-align:left;cursor:pointer}.video-quality-menu__item--yt{padding:.65rem 1rem}.video-quality-menu__item--nav{justify-content:space-between}.video-quality-menu__item--action{gap:.75rem}.video-quality-menu__nav-chevron{width:1rem;height:1rem;flex-shrink:0;opacity:.65}.video-quality-menu__action-icon{width:1.1rem;height:1.1rem;flex-shrink:0}.video-quality-menu__item:hover,.video-quality-menu__item.is-active{background:#ffffff14}.video-quality-menu__check-slot{width:1.25rem;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center}.video-quality-menu__check{width:1rem;height:1rem;flex-shrink:0;color:#fff}.video-controls-frame{display:none}.video-box .video-toolbar{position:static;margin-bottom:0;justify-content:center}.video-box video.video-under-overlay{visibility:visible}.player-overlay{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem;text-align:center;color:#fff}button.player-overlay{position:relative;width:100%;height:100%;border:0;font:inherit;cursor:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;overflow:hidden}button.player-overlay--yt:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;pointer-events:none;background:#00000073}button.player-overlay--yt:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;pointer-events:none;background:linear-gradient(180deg,#0000008c,#00000014 28%,#00000014 62%,#000000a6)}.video-stage--ink-cursor .video-player-chrome .video-chrome{cursor:pointer}.ink-cursor-defs{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}.ink-cursor{pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;display:block;opacity:0;transition:opacity .15s ease}.ink-cursor__trail{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.ink-cursor__dot{position:absolute;left:0;top:0;display:block;width:26px;height:26px;border-radius:20px;background-color:#fff;transform-origin:center center;pointer-events:none}@media screen and (max-width:480px){.ink-cursor{display:none}.video-stage--ink-cursor button.player-overlay{cursor:pointer}}.player-overlay__content{position:relative;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.65rem;pointer-events:none;color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.55)}button.player-overlay:active .player-overlay__content{opacity:.9}button.player-overlay.is-searching{cursor:none}button.player-overlay:focus-visible{outline:2px solid rgba(255,255,255,.35);outline-offset:-4px}button.player-overlay.is-searching .player-overlay-icon--refresh{opacity:.92}.player-overlay-icon{font-size:2.5rem;line-height:1;color:var(--gray-400);opacity:.9}.player-overlay-icon--refresh{width:3rem;height:3rem;color:#fff;opacity:1;filter:drop-shadow(0 2px 10px rgba(0,0,0,.45))}.is-spinning{animation:rv-spin .85s linear infinite}@keyframes rv-spin{to{transform:rotate(360deg)}}.video-btn--searching{opacity:.85}.video-btn-icon{width:1rem;height:1rem;margin-right:.35rem;vertical-align:-.15em}.video-toolbar .video-btn{display:inline-flex;align-items:center;justify-content:center}.player-overlay-title{font-size:1.15rem;font-weight:500;letter-spacing:.01em;color:#fff;max-width:min(22rem,90vw);line-height:1.35}.player-overlay-hint{font-size:.9rem;color:var(--gray-400)}.player-idle-screen{flex:1;display:flex;align-items:center;justify-content:center;color:var(--gray-400);font-size:1.1rem;background:#000}.video-box:fullscreen:not([data-chrome-visible]) .video-media-slot video,.video-box:-webkit-full-screen:not([data-chrome-visible]) .video-media-slot video,.video-box.is-fullscreen:not([data-chrome-visible]) .video-media-slot video,.video-box:fullscreen:not([data-chrome-visible]) video,.video-box:-webkit-full-screen:not([data-chrome-visible]) video,.video-box.is-fullscreen:not([data-chrome-visible]) video{pointer-events:none}.video-box--native-fs .video-media-slot video{pointer-events:none}.video-box:fullscreen .video-stage,.video-box.is-fullscreen .video-stage{flex:1;min-height:0;overflow:visible}.video-box:fullscreen .video-player-chrome,.video-box:-webkit-full-screen .video-player-chrome,.video-box.is-fullscreen .video-player-chrome{z-index:50}.video-box:fullscreen .video-media-slot video,.video-box:-webkit-full-screen .video-media-slot video,.video-box:fullscreen .video-stage video,.video-box:-webkit-full-screen .video-stage video,.video-box.is-fullscreen .video-media-slot video,.video-box.is-fullscreen .video-stage video{width:100%;height:100%;object-fit:contain;object-position:center}.video-box:fullscreen,.video-box:-webkit-full-screen{margin:0;border-radius:0;width:100%;height:100%;background:#000}.video-box.is-fullscreen:not(:fullscreen):not(:-webkit-full-screen){position:fixed;top:0;right:0;bottom:0;left:0;z-index:100002;width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0;background:#000}body.rv-player-fs{overflow:hidden;background:#000}body.rv-player-fs .topbar,body.rv-player-fs .bottom-nav,body.rv-player-fs .bottom-nav--timer,body.rv-player-fs .sidebar,body.rv-player-fs .sidebar-backdrop,body.rv-player-fs .approvals--floating{display:none!important}body.rv-player-fs .app-shell,body.rv-player-fs .main,body.rv-player-fs .content,body.rv-player-fs .player-layer{height:100dvh;max-height:100dvh;min-height:0;overflow:hidden}body.rv-player-fs .player-layer{padding:0}body.rv-player-fs .video-box.is-fullscreen{flex:1;min-height:0}.video-box:-webkit-full-screen{margin:0;border-radius:0;width:100%;height:100%}.video-toolbar{display:flex;gap:.5rem;z-index:22;margin-bottom:14px;opacity:1;pointer-events:auto}.video-btn{padding:.45rem .9rem;border:none;border-radius:6px;background:#000000bf;color:#fff;font-size:.8rem;cursor:pointer;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.video-btn:hover{background:#c62828f2}.video-btn.active{background:#c62828f2;outline:1px solid rgba(255,255,255,.35)}.latency-pill{position:absolute;top:12px;right:12px;z-index:3;padding:6px 10px;border-radius:6px;font-size:.8rem;font-weight:600;background:#000000a6;color:#8ee4af;pointer-events:none}.status-pill{position:absolute;top:8px;right:8px;left:auto;margin:0;z-index:15;padding:.35rem .65rem;border-radius:4px;font-size:.8rem;font-weight:600;max-width:calc(100% - 3.5rem);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}.status-pill.live{background:var(--accent);color:#fff}.status-pill.off{background:var(--gray-600);color:#ccc}.player-head-meta .status-pill.status-pill--head{position:static;top:auto;right:auto;left:auto;z-index:auto;box-sizing:border-box;height:2.25rem;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;max-width:none;overflow:visible;text-overflow:clip;padding:0 .75rem;font-size:.9rem;font-weight:600;line-height:1;border-radius:12px;white-space:nowrap;pointer-events:none}.loss-meter{width:100%;min-width:0;max-width:none;height:auto;padding:.58rem .78rem;border-radius:0;background:transparent;border:0;box-sizing:border-box;display:inline-flex;flex-direction:column;justify-content:center;gap:.34rem;box-shadow:none}.loss-meter+.loss-meter{border-top:1px solid rgba(255,255,255,.08)}.loss-meter__head{display:flex;align-items:center;justify-content:space-between;font-size:.82rem;line-height:1;font-weight:600;color:#fffffff5}.loss-meter__head>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:.35rem}.loss-meter__head>span:last-child{flex:0 0 auto;white-space:nowrap;font-variant-numeric:tabular-nums}.loss-meter__track{width:100%;height:.3rem;border-radius:999px;background:#ffffff26;overflow:hidden}.loss-meter__fill{height:100%;width:0%;border-radius:999px;transition:width .18s linear;background:#4caf50}.loss-meter--good .loss-meter__fill{background:#33c759}.loss-meter--warn .loss-meter__fill{background:#ffb300}.loss-meter--bad .loss-meter__fill{background:#ff5252}.loss-meter--unknown .loss-meter__fill{background:#ffffff73}@media(max-width:1400px){.player-head-overlay{flex-wrap:wrap;align-items:flex-start;row-gap:.3rem}.player-head-meta{margin-left:auto;flex:0 1 auto;max-width:min(100%,84vw);display:flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap;gap:.3rem}.metrics-dock{position:relative;top:auto;right:auto;align-items:flex-end}.metrics-dock__panel{width:min(18rem,calc(100vw - 1rem));right:0}.loss-meter{width:100%}}.approvals{background:var(--panel);display:flex;flex-direction:column}.approvals--floating{position:fixed;right:1rem;bottom:1rem;width:340px;max-height:45vh;border-radius:10px;box-shadow:0 8px 24px #0003;border-left:3px solid var(--accent);z-index:50}.approvals--sidebar{flex-shrink:0;width:100%;max-height:min(42vh,320px);border-bottom:1px solid var(--gray-200);border-left:3px solid var(--accent)}.approvals-list{overflow-y:auto;-webkit-overflow-scrolling:touch}.approvals h3{margin:0;padding:.75rem 1rem;border-bottom:1px solid var(--gray-200);font-size:.95rem;flex-shrink:0}.approval-item{padding:.75rem 1rem;border-bottom:1px solid var(--gray-100)}.approval-item-head{display:flex;align-items:center;gap:.4rem}.approval-meta{font-size:.75rem;color:var(--muted);margin-top:.15rem}.approval-actions{display:flex;gap:.5rem;margin-top:.5rem}.approval-actions button{flex:1;padding:.4rem;border:none;border-radius:6px;cursor:pointer;color:#fff}.approval-actions .ok{background:var(--gray-700, #616161)}.approval-actions .ok:hover{background:var(--gray-800)}.approval-actions .no{background:var(--accent)}.approval-actions .no:hover{background:var(--accent-dark)}.content--grid{min-height:0}.grid{flex:1;width:100%;min-height:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));grid-auto-rows:minmax(0,1fr);align-content:stretch;gap:1rem;padding:1rem;box-sizing:border-box}.content--grid .grid{height:100%}.content--grid .tile-preview{flex:1;min-height:0;aspect-ratio:unset}.tile{background:#2a2a2a;border-radius:8px;overflow:hidden;cursor:pointer;border:2px solid transparent;display:flex;flex-direction:column;min-height:0;height:100%}.tile:hover{border-color:var(--accent)}.tile-preview{flex:1;min-height:120px;aspect-ratio:16 / 9;max-height:100%;background:#111;display:flex;align-items:center;justify-content:center;color:var(--gray-400);font-size:.85rem}.tile-foot{flex-shrink:0;padding:.5rem .75rem;color:#e8eaed;font-size:.85rem;display:flex;align-items:center;gap:.35rem;min-width:0}.tile-foot span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(min-width:901px){.approvals--sidebar{display:none!important}}@media(max-width:900px){.app-shell--player{--rv-controls-h: 0px;--rv-top-chrome: calc(3.1rem + env(safe-area-inset-top, 0px)) }.app-shell--player.app-shell--viewer-timer{--rv-controls-h: 0px}.app-shell--player,.app-shell--viewer-timer{padding-bottom:0}.topbar{flex-wrap:nowrap;padding:.5rem .75rem;padding-top:calc(.5rem + env(safe-area-inset-top,0px));gap:.75rem;justify-content:space-between}.topbar-nav--desktop{display:none!important}.topbar-brand{display:inline-flex!important;flex-shrink:0}.topbar-brand .brand-text{display:none}.topbar-brand img{width:32px;height:32px}.topbar-user{flex:1;min-width:0;max-width:none;font-size:.85rem;text-align:left;color:var(--gray-800);font-weight:600}.topbar-user-name{display:none}.topbar-user-role{display:inline}.bottom-nav,.bottom-nav--timer{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:48;justify-content:center;align-items:center;gap:0;padding:.35rem .75rem;background:#141414eb;border-top:1px solid #333;box-shadow:none}.bottom-nav__refresh-timer{color:#bdbdbd}.bottom-nav__refresh-timer{font-size:.85rem;color:var(--gray-600);font-weight:500}.main{flex-direction:column;min-height:0}.sidebar-drag-handle{display:block;flex-shrink:0;width:2.75rem;height:4px;margin:.35rem auto .15rem;padding:.65rem 2rem;border-radius:999px;background:linear-gradient(var(--gray-400),var(--gray-400)) center / 2.75rem 4px no-repeat;opacity:.65;touch-action:none;cursor:grab}.sidebar{position:fixed;left:0;right:0;bottom:0;touch-action:pan-y;top:auto;width:100%;height:auto;z-index:72;border-right:none;border-top:1px solid var(--gray-200);border-radius:16px 16px 0 0;box-shadow:0 -12px 32px #0000002e;transition:transform .32s cubic-bezier(.32,.72,0,1),opacity .28s ease;padding-bottom:env(safe-area-inset-bottom,0px);will-change:transform}.sidebar.sidebar--open{max-height:min(72dvh,calc(100dvh - 3.5rem))}.sidebar.sidebar--dragging{transition:none}.app-shell--sidebar-open .video-controls-frame,.app-shell--sidebar-open .bottom-nav--timer,.app-shell--sidebar-open .video-chrome{visibility:hidden;pointer-events:none;opacity:0}.app-shell--mobile-dock{--rv-mobile-sidebar-min: 11rem;--rv-topbar-h: calc(2.75rem + env(safe-area-inset-top, 0px)) ;--rv-mobile-video-h: min(56.25vw, calc(100svh - var(--rv-topbar-h) - var(--rv-mobile-sidebar-min)));height:100dvh;height:100svh;overflow:hidden}.app-shell--mobile-dock .main{flex:1;min-height:0;flex-direction:column;overflow:hidden}.app-shell--mobile-dock .content{order:1;flex:0 0 auto;min-height:0;overflow:hidden;background:#000}.app-shell--mobile-dock .player-layer{flex:0 0 auto;min-height:0}.app-shell--mobile-dock .video-box{flex:0 0 auto;min-height:0;height:auto;overflow:hidden}.app-shell--mobile-dock .video-stage{flex:0 0 auto;width:100%;height:var(--rv-mobile-video-h);max-height:var(--rv-mobile-video-h);min-height:0;display:grid;place-items:center;align-content:center}.app-shell--mobile-dock .video-stage video,.app-shell--mobile-dock .video-stage .video-media-slot{width:100%;height:100%;max-width:100%;max-height:100%;min-height:0;object-fit:contain;object-position:center}.app-shell--mobile-dock .sidebar{order:2;position:relative;left:auto;right:auto;bottom:auto;top:auto;z-index:2;flex:1 1 0;width:100%;height:auto;max-height:none;min-height:var(--rv-mobile-sidebar-min);transform:none!important;will-change:auto;transition:none;box-shadow:0 -4px 20px #00000024;overflow:hidden}.app-shell--mobile-dock .sidebar.collapsed,.app-shell--mobile-dock .sidebar.sidebar--open,.app-shell--mobile-dock .sidebar.sidebar--dragging{transform:none!important;opacity:1;pointer-events:auto;max-height:none;overflow:hidden}.app-shell--mobile-dock .sidebar .room-list{flex:1 1 0;min-height:0;max-height:none;width:100%;overflow-y:auto;-webkit-overflow-scrolling:touch}.app-shell--mobile-dock .sidebar-backdrop{display:none!important}.app-shell--mobile-dock.app-shell--sidebar-open .video-controls-frame,.app-shell--mobile-dock.app-shell--sidebar-open .bottom-nav--timer,.app-shell--mobile-dock.app-shell--sidebar-open .video-chrome{visibility:visible;pointer-events:auto;opacity:1}.app-shell--mobile-dock .sidebar-drag-handle,.app-shell--mobile-dock .player-head-bar{display:none}.app-shell--mobile-dock .player-head-overlay{flex-wrap:wrap;align-items:center;row-gap:.35rem;overflow:visible}.app-shell--mobile-dock .player-head-meta{--rv-head-chip-h: 2.125rem;flex:1 1 100%;width:100%;max-width:100%;margin-left:0;flex-wrap:nowrap;align-items:center;justify-content:stretch;gap:.35rem;overflow:visible}.app-shell--mobile-dock .player-head-meta .player-head-title-bar.video-chrome__bar,.app-shell--mobile-dock .player-head-meta .status-pill.status-pill--head,.app-shell--mobile-dock .player-head-meta .metrics-dock__toggle{height:var(--rv-head-chip-h);min-height:var(--rv-head-chip-h);max-height:var(--rv-head-chip-h);box-sizing:border-box;padding:0 .5rem;border-radius:12px;font-size:.76rem;font-weight:600;line-height:1;display:inline-flex;align-items:center;justify-content:center}.app-shell--mobile-dock .player-head-meta .status-pill--lag,.app-shell--mobile-dock .player-head-meta .status-pill--frames{display:none}.app-shell--mobile-dock .player-head-meta .status-pill--live{flex:1.35 1 0;min-width:0;max-width:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:12px}.app-shell--mobile-dock .player-head-meta .player-head-title-bar.video-chrome__bar{flex:1 1 0;min-width:0;max-width:none;min-height:0}.app-shell--mobile-dock .player-head-meta .metrics-dock{flex:1 1 0;min-width:0}.app-shell--mobile-dock .player-head-meta .metrics-dock__toggle{width:100%;min-width:0;justify-content:center;gap:.3rem}.app-shell--mobile-dock .approvals--sidebar{flex-shrink:0;max-height:min(28dvh,180px)}.sidebar.sidebar--open .room-list{flex:0 1 auto;max-height:min(42dvh,360px);overflow-y:auto}.sidebar.collapsed{transform:translateY(110%);opacity:0;pointer-events:none;max-height:0;overflow:hidden}.sidebar-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;border:none;padding:0;margin:0;background:#00000073;cursor:pointer}.approvals--floating{display:none!important}.approvals--sidebar{display:flex;max-height:min(40vh,300px)}.video-box{min-height:180px}.video-box video{min-height:180px}.app-shell--player .content,.app-shell--player .player-layer{flex:1;min-height:0}.app-shell--player .video-controls-frame{display:none}.app-shell--player .video-box{position:relative;flex:1;min-height:0;width:100%;max-width:100%;overflow:hidden;justify-content:stretch;padding-bottom:0}.app-shell--player .video-stage{flex:1 1 auto;min-height:0;width:100%;max-height:none;place-items:center;align-content:center}.app-shell--player .video-stage video{aspect-ratio:unset;width:100%;height:100%;max-width:100%;max-height:100%;min-height:0;object-fit:contain;object-position:center;align-self:center;justify-self:center}.app-shell--player .player-head-overlay{flex-wrap:wrap;align-items:center;row-gap:.35rem;gap:.35rem;padding-left:max(12px,env(safe-area-inset-left,0px));padding-right:max(12px,env(safe-area-inset-right,0px));overflow:visible}.app-shell--player .player-head-bar__label{display:none}.app-shell--player .player-head-bar.video-chrome__bar{width:2.5rem;height:2.5rem;min-width:2.5rem;min-height:2.5rem;padding:0;gap:0;justify-content:center;align-items:center;box-sizing:border-box}.app-shell--player .player-head-bar__icon{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.app-shell--player .player-head-meta{max-width:100%;flex:1 1 100%;width:100%;margin-left:0;flex-wrap:wrap;overflow:visible}.app-shell--player .video-chrome,.video-chrome{right:max(12px,env(safe-area-inset-right,0px));bottom:max(12px,env(safe-area-inset-bottom,0px))}.video-chrome__btn{width:2.35rem;height:2.35rem}.video-chrome__icon{width:1.2rem;height:1.2rem}.video-toolbar .video-btn--fullscreen{display:none}.video-toolbar{flex-wrap:wrap;justify-content:center;max-width:100%;margin-bottom:0;gap:.35rem}.video-toolbar .video-btn--refresh{grid-column:1 / -1;display:flex;align-items:center;justify-content:center;min-height:2.75rem;padding:.55rem}.video-toolbar .video-btn--refresh .video-btn-icon{width:1.35rem;height:1.35rem;margin:0}.video-toolbar .video-btn--refresh .video-btn-label{display:none}.video-btn{padding:.4rem .65rem;font-size:.72rem}.status-pill{font-size:.7rem}.grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:.65rem;padding:.65rem}}@media(max-width:640px){.app-shell{height:100dvh;height:100vh}.topbar{padding:.45rem .75rem;padding-top:calc(.45rem + env(safe-area-inset-top,0px))}.topbar .btn{padding:.4rem .65rem;font-size:.78rem;flex-shrink:0}.sidebar-head{padding:.75rem 1rem}.sidebar-head h2{font-size:.95rem}.room-item{padding:.75rem 1rem}.room-item .meta{display:none}.content{min-height:0;flex:1}.content--grid .grid{grid-template-columns:1fr;grid-auto-rows:minmax(140px,auto);padding:.65rem .65rem .5rem}.content--grid .tile{height:auto;min-height:160px}.content--grid .tile-preview{min-height:120px;aspect-ratio:16 / 9}.player-layer{min-height:0;flex:1;display:flex;flex-direction:column}.player-head-overlay{padding-top:max(6px,env(safe-area-inset-top,0px));padding-bottom:.45rem;flex-wrap:wrap;align-items:center;overflow:visible}.player-head-meta{--rv-head-chip-h: 2.125rem;flex:1 1 100%;width:100%;max-width:100%;margin-left:0;flex-wrap:nowrap;align-items:center;justify-content:stretch;gap:.35rem;overflow:visible}.player-head-meta .player-head-title-bar.video-chrome__bar,.player-head-meta .status-pill.status-pill--head,.player-head-meta .metrics-dock__toggle{height:var(--rv-head-chip-h);min-height:var(--rv-head-chip-h);max-height:var(--rv-head-chip-h);box-sizing:border-box;padding:0 .5rem;border-radius:12px;font-size:.76rem;font-weight:600;line-height:1;display:inline-flex;align-items:center;justify-content:center}.player-head-meta .player-head-title-bar.video-chrome__bar{flex:1 1 0;min-width:0;max-width:none;min-height:0}.player-head-meta .status-pill--lag,.player-head-meta .status-pill--frames{display:none}.player-head-meta .status-pill--live{flex:1.35 1 0;min-width:0;max-width:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:12px}.player-head-meta .metrics-dock{flex:1 1 0;min-width:0}.player-head-meta .metrics-dock__toggle{width:100%;min-width:0;justify-content:center;gap:.3rem}.player-head-title-bar .player-head-title{font-size:.76rem}.video-box{display:flex;flex-direction:column;flex:1;min-height:0;margin:0;border-radius:0;grid-template:none}.app-shell--player .video-box{justify-content:stretch}.video-stage{flex:1;min-height:0;max-height:none;display:grid;grid-template:1fr / 1fr;place-items:center;background:#000;overflow:hidden}.app-shell--player .video-stage{flex:1 1 auto;max-height:none;place-items:center;align-content:center}.video-stage video,.video-stage .player-overlay{grid-area:1 / 1}.video-stage video{position:relative;width:100%;height:100%;max-width:100%;max-height:100%;min-height:0;aspect-ratio:16 / 9;object-fit:contain;justify-self:center;align-self:center}.app-shell--player .video-stage video{aspect-ratio:unset;width:100%;height:100%;max-width:100%;max-height:100%;align-self:center;justify-self:center;object-fit:contain;object-position:center}.video-stage .player-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;width:100%;height:100%}.video-chrome{right:max(8px,env(safe-area-inset-right,0px));bottom:max(8px,env(safe-area-inset-bottom,0px))}.video-box .video-controls-frame{flex-shrink:0;margin:0;border-radius:0;border-left:none;border-right:none;border-bottom:none}.video-box .video-toolbar{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;width:100%;padding:.5rem .65rem .45rem}.video-toolbar .video-btn--refresh{grid-column:1 / -1;display:flex;align-items:center;justify-content:center;min-height:2.75rem;padding:.55rem}.video-toolbar .video-btn--refresh .video-btn-icon{width:1.35rem;height:1.35rem;margin:0}.video-toolbar .video-btn--refresh .video-btn-label{display:none}.video-btn{min-height:2.75rem;padding:.55rem .5rem;font-size:.85rem;border-radius:10px}.player-overlay-title{font-size:1.1rem}.player-overlay-icon--refresh{width:2.5rem;height:2.5rem}.content-placeholder{margin:.5rem;min-height:120px}.login-card{padding:1.5rem 1.25rem}.approvals{bottom:var(--rv-controls-h, calc(7rem + env(safe-area-inset-bottom, 0px)) );max-height:35vh}}@media(max-width:900px)and (orientation:landscape){.app-shell--player{--rv-controls-h: 0px;--rv-top-chrome: calc(2.25rem + env(safe-area-inset-top, 0px)) ;height:100dvh;height:100svh;background:#000}.app-shell--player.app-shell--viewer-timer{--rv-controls-h: 0px}.app-shell--player .topbar-brand .brand-text{display:none}.app-shell--player .main{flex-direction:column!important;flex:1;min-height:0;display:flex}.app-shell--player .main,.app-shell--player .content,.app-shell--player .player-layer{flex:1;min-height:0}.app-shell--player .content,.app-shell--player .player-layer{display:flex;flex-direction:column;background:#000}.app-shell--player .video-box{display:flex;flex-direction:column;flex:1;min-height:0;justify-content:stretch;padding-bottom:0}.app-shell--player .video-stage{flex:1 1 0;width:100%;min-height:0;max-height:none;height:100%;display:grid;place-items:center;align-content:center;position:relative}.app-shell--player .video-stage video{width:100%;height:100%;max-width:100%;max-height:100%;min-height:0;aspect-ratio:unset;object-fit:contain;object-position:center;align-self:center;justify-self:center}.app-shell--player .video-controls-frame .video-toolbar,.video-box .video-toolbar{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch;gap:.4rem;padding:.35rem .55rem;padding-bottom:calc(.35rem + env(safe-area-inset-bottom,0px))}.video-toolbar .video-btn{flex:1;min-height:2.45rem;min-width:0;font-size:.8rem}.video-toolbar .video-btn--refresh{flex:0 0 2.85rem;max-width:2.85rem;min-width:2.85rem;grid-column:unset}.video-chrome{bottom:8px;right:max(8px,env(safe-area-inset-right,0px))}.app-shell--mobile-dock{--rv-mobile-sidebar-min: 9rem;--rv-mobile-video-h: min(56.25vw, calc(100svh - var(--rv-topbar-h) - var(--rv-mobile-sidebar-min)))}.bottom-nav--timer{bottom:var(--rv-controls-h, 3.1rem)}}@media(max-height:520px){.app-shell--mobile-dock{--rv-mobile-sidebar-min: 8rem;--rv-mobile-video-h: min(56.25vw, calc(100svh - var(--rv-topbar-h) - var(--rv-mobile-sidebar-min)))}.app-shell--player{--rv-controls-h: 0px;--rv-top-chrome: calc(2.25rem + env(safe-area-inset-top, 0px)) ;height:100dvh;height:100svh;background:#000}.app-shell--player .topbar-nav--desktop{display:none!important}.app-shell--player .topbar-brand .brand-text{display:none}.app-shell--player .topbar{flex-shrink:0;padding:.35rem .75rem;padding-top:calc(.35rem + env(safe-area-inset-top,0px))}.app-shell--player .main{flex-direction:column!important;flex:1;min-height:0;display:flex}.app-shell--player .main,.app-shell--player .content,.app-shell--player .player-layer,.app-shell--player .video-box{flex:1;min-height:0}.app-shell--player .content,.app-shell--player .player-layer{display:flex;flex-direction:column;background:#000}.app-shell--player .video-box{display:flex;flex-direction:column;justify-content:stretch;padding-bottom:0}.app-shell--player .video-controls-frame{display:none}.app-shell--player .video-stage{flex:1 1 0;width:100%;min-height:0;max-height:none;height:100%;display:grid;place-items:center;align-content:center;position:relative}.app-shell--player .video-stage video,.app-shell--player .video-stage .player-overlay{position:relative;width:100%;height:100%;max-width:100%;max-height:100%;min-height:0;aspect-ratio:unset;object-fit:contain;object-position:center}.app-shell--player .video-stage .player-overlay{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.app-shell--player .video-controls-frame .video-toolbar,.app-shell--player .video-box .video-toolbar{display:flex;flex-direction:row;flex-wrap:nowrap;gap:.4rem;padding:.35rem .55rem;padding-bottom:calc(.35rem + env(safe-area-inset-bottom,0px))}.app-shell--player .video-toolbar .video-btn--refresh{flex:0 0 2.85rem;max-width:2.85rem;min-width:2.85rem}.app-shell--player .video-toolbar .video-btn--fullscreen{display:inline-flex;flex:1}}@media(max-width:380px){.topbar-user-role{font-size:.78rem}.video-toolbar .video-btn:not(.active){padding:.35rem .5rem}}.video-box.video-box--landscape{display:flex!important;flex-direction:column!important;flex:1 1 0!important;min-height:0!important;padding-bottom:0!important;justify-content:stretch!important}.video-box.video-box--landscape .video-controls-frame{display:none!important}.video-box.video-box--landscape .video-stage{position:relative!important;inset:auto!important;width:100%!important;flex:1 1 0!important;height:100%!important;max-height:none!important;min-height:0!important;display:grid!important;place-items:center!important;align-content:center!important;margin:0!important;padding:0!important;background:#000!important;overflow:hidden!important}.video-box.video-box--landscape .video-stage video{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;min-width:0!important;min-height:0!important;aspect-ratio:unset!important;object-fit:contain!important;object-position:center!important}.video-box.video-box--landscape .video-stage .player-overlay{position:absolute!important;top:0!important;right:0!important;bottom:0!important;left:0!important;width:100%!important;height:100%!important}.video-box.video-box--landscape .video-toolbar{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:.4rem!important;padding:.35rem .55rem!important;padding-bottom:calc(.35rem + env(safe-area-inset-bottom,0px))!important}.video-box.video-box--landscape .video-toolbar .video-btn--refresh{flex:0 0 2.85rem!important;max-width:2.85rem!important;min-width:2.85rem!important}.video-box.video-box--landscape .video-toolbar .video-btn--fullscreen{display:inline-flex!important;flex:1!important}@media(max-width:900px){.app-shell--mobile-dock.app-shell--player .content,.app-shell--mobile-dock.app-shell--player .player-layer{flex:0 0 auto!important;min-height:0}.app-shell--mobile-dock.app-shell--player .video-box,.app-shell--mobile-dock.app-shell--player .video-box.video-box--landscape{flex:0 0 auto!important;height:auto!important;min-height:0!important}.app-shell--mobile-dock.app-shell--player .video-box video{min-height:0!important}.app-shell--mobile-dock.app-shell--player .video-stage,.app-shell--mobile-dock.app-shell--player .video-box.video-box--landscape .video-stage{flex:0 0 auto!important;width:100%!important;height:var(--rv-mobile-video-h)!important;max-height:var(--rv-mobile-video-h)!important;min-height:0!important;position:relative!important;inset:auto!important}.app-shell--mobile-dock .sidebar{flex:1 1 0!important;height:auto!important;max-height:none!important;width:100%!important;max-width:100%!important;position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;display:flex!important;flex-direction:column!important;min-height:0!important}.app-shell--mobile-dock .sidebar.sidebar--open{max-height:none!important}.app-shell--mobile-dock .sidebar .room-list{flex:1 1 0!important;min-height:0!important;max-height:none!important;width:100%!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch}.app-shell--mobile-dock .sidebar-head,.app-shell--mobile-dock .approvals--sidebar{flex-shrink:0;width:100%}.app-shell--mobile-dock .approvals--sidebar{max-height:min(22dvh,150px);overflow-y:auto}.app-shell--mobile-dock .video-box[data-player-menu-open]{overflow:visible}.app-shell--mobile-dock .content:has(.video-box[data-player-menu-open]){overflow:visible}}
