/* A stage and independent conversation rail. Empty stages collapse. */
.room-dashboard #live #hangout .room-board{grid-template-columns:minmax(0,1.95fr) minmax(225px,1fr);grid-template-rows:auto;align-items:start}
.room-dashboard #live #hangout .room-board:has(.room-radio-rail:not(:has(>aside:not([hidden])))){grid-template-columns:minmax(0,1fr)}
.room-dashboard #live #hangout .room-radio-rail:not(:has(>aside:not([hidden]))){display:none}
.room-dashboard #live #hangout .room-media-main,.room-dashboard #live #hangout .room-radio-rail{display:grid;gap:var(--room-gap);min-width:0}
.room-dashboard #live #hangout .room-radio-rail{grid-column:2;grid-row:1;direction:rtl}
.room-dashboard #live #hangout .room-media-main>section,.room-dashboard #live #hangout .room-media-main>.room-bottom-dock{min-width:0;margin:0}
.room-dashboard #live #hangout .room-roster-v7,.room-dashboard #live #hangout #room-chat{min-height:0;min-width:0;border:1px solid var(--room-border);border-radius:16px;background:var(--room-surface);position:static;margin:0;box-shadow:none;overflow:hidden}
.room-dashboard #live #hangout #room-chat{display:grid;grid-template-rows:auto minmax(80px,1fr) auto;max-height:clamp(240px,43dvh,580px);height:auto}
.room-dashboard #live #hangout #room-chat .side-head,.room-dashboard #live #hangout .room-roster-v7 .side-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--room-border);padding:6px 10px;font-size:.88rem}
.room-dashboard #live #hangout :is(#room-chat,#side) .side-head .icon-btn{min-height:32px;width:32px;height:32px;border-radius:9px}
.room-dashboard #room-chat .messages{overflow:auto;max-height:32dvh;min-height:80px;padding:7px 12px;overscroll-behavior:contain}
.room-dashboard #room-chat .chat-form{display:flex;align-items:center;gap:5px;min-width:0;padding:6px 8px}
.room-dashboard #room-chat #chat-input{min-width:0;width:100%;background:#122630;border-color:#3a565f}
.room-dashboard #live #hangout #side .people{display:grid;min-height:0;max-height:none;overflow:visible;padding:5px;gap:3px}
.room-dashboard #live #hangout #side .room-person{
 position:relative;grid-template-columns:34px minmax(0,1fr) auto;display:grid;align-items:center;gap:5px 8px;min-width:0;
 padding:5px 7px;border:1px solid transparent;border-radius:10px;margin:0;box-shadow:none;background:#172832
}
.room-dashboard #live #hangout #side .room-person.speaking{border-color:#73e3bc;background:#1b4142;box-shadow:0 0 0 1px #73e3bc55}
.room-dashboard .room-person-avatar,.room-dashboard .rooms-profile-avatar{
 display:grid;place-items:center;position:relative;flex:none;width:32px;height:32px;border-radius:50%;overflow:hidden;
 background:#294856;color:#daf9f0;font-weight:800;border:1px solid #527281
}
.room-dashboard :is(.room-person-avatar,.rooms-profile-avatar,.tile .avatar) img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.room-dashboard .room-person-info{display:grid;gap:3px;min-width:0}
.room-dashboard .room-person-nameline{display:flex;flex-wrap:wrap;align-items:center;gap:3px 5px;min-width:0}
.room-dashboard .room-person-nameline strong{font-size:.82rem;overflow-wrap:anywhere}
.room-dashboard :is(.room-person-roles,.tile-roles){display:inline-flex;flex-wrap:wrap;gap:3px}
.room-dashboard .room-role-tag{padding:0 4px;border:1px solid #51736f;border-radius:5px;font-size:.57rem;line-height:1.65;color:#c9f9ee;background:#274741;white-space:nowrap}
.room-dashboard #live #hangout #side .room-person .speaker-badge{position:absolute;inset:5px 5px auto auto;margin:0;font-size:.6rem;pointer-events:none}
.room-dashboard #live #hangout #side .room-person.speaking .room-person-avatar{border-color:#7fe3b3}
.room-dashboard #live #hangout #side .room-person .media-badges{margin:0;gap:3px;width:fit-content}
.room-dashboard #live #hangout #side .room-person .media-badge{height:16px;width:16px;border-radius:4px}
.room-dashboard #live #hangout #side .room-person .media-badge svg{height:12px;width:12px}
.room-dashboard .room-person-note{font-size:.66rem;color:#c6a985;margin:0}
.room-dashboard .room-person-note:empty{display:none}
.room-dashboard #side .room-person .room-person-controls{display:flex;gap:3px;flex-wrap:wrap;justify-content:end;align-items:center;margin:0;min-width:0}
.room-dashboard #side .room-person :is(.room-person-controls .btn,.room-person-audio summary,.room-person-biography summary){min-height:26px;padding:2px 5px;font-size:.67rem}
.room-dashboard #side .room-person .room-person-audio[open]{flex-basis:100%;min-width:min(210px,50vw)}
.room-dashboard .room-person-biography{grid-column:2/-1;font-size:.75rem;color:var(--dim)}
.room-dashboard .room-person-biography p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 4px}
.room-dashboard #live #hangout #room-people #tiles:not(.focus){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-width:none}
.room-dashboard #live #hangout #room-people #tiles:not(:has(>.tile[data-webcam]~.tile[data-webcam])){grid-template-columns:minmax(0,1fr)}
.room-dashboard #live #hangout #room-people .tile:not([data-webcam]){display:none}
.room-dashboard #live #hangout #room-people .tile[data-webcam]{
 min-height:0;aspect-ratio:16/10;max-height:none;max-width:none;width:100%;overflow:hidden;background:#12252f;
}
.room-dashboard #live #hangout #room-people .tile video{object-fit:contain}
.room-dashboard #live #hangout #room-people .tile .speaker-badge{inset:8px 8px auto auto}
.room-dashboard #live #hangout #room-people .tile .tile-view-actions{inset:8px auto auto 8px}
.room-dashboard #live #hangout #room-people .tile>.media-badges{inset:auto auto 8px 8px}
.room-dashboard #live #hangout #room-people .tile .tile-roles{position:absolute;inset:auto 8px 34px auto;z-index:2}
.room-dashboard #live #hangout #room-people .tile .tile-state{inset:auto auto 37px 8px}
.room-dashboard #live #hangout #hang-presentation{border-radius:16px;background:var(--room-surface);padding:10px;border:1px solid var(--room-border)}
.room-dashboard #hang-presentation h2{font-size:.91rem;margin:0 0 8px;color:var(--sea)}
.room-dashboard #room-shared-gallery{display:grid;gap:9px}
.room-dashboard .room-shared-card{display:grid;gap:4px;background:#101d26;border:1px solid var(--room-border);border-radius:12px;overflow:hidden;min-width:0}
.room-dashboard .room-shared-top{display:flex;flex-wrap:wrap;align-items:center;gap:4px;padding:5px 8px}
.room-dashboard .room-shared-top strong{flex:1 1 10ch;color:#e6fff7;overflow-wrap:anywhere}
.room-dashboard .room-shared-top :is(.btn,.icon-btn){min-height:34px;font-size:.71rem;padding:3px 6px}
.room-dashboard .room-shared-top .icon-btn{width:34px}
.room-dashboard .room-shared-card video{width:100%;aspect-ratio:16/9;max-height:65dvh;object-fit:contain;background:#0c1116}
.room-dashboard .room-share-note{padding:6px 8px}
.room-dashboard .room-share-note:empty,.room-dashboard .room-shared-card:not([data-panel-zoom]):not([data-panel-full]) .room-share-exit{display:none}
.room-dashboard .room-shared-card[data-panel-zoom]{position:fixed;inset:50% auto auto 50%;width:min(92vw,1350px);max-height:88dvh;overflow:auto;z-index:42;transform:translate(-50%,-50%);box-shadow:0 0 0 100vmax #081016b5}
.room-dashboard #room-zoom-backdrop:not([hidden]){position:fixed;inset:0;z-index:40;border:0}
.room-dashboard .room-shared-card[data-panel-full]{position:fixed;inset:0;z-index:45;border:0;border-radius:0;grid-template-rows:auto minmax(0,1fr)}
.room-dashboard .room-shared-card:is([data-panel-full],[data-panel-zoom]) video{max-height:calc(100dvh - 62px);height:100%;min-height:0}
.room-dashboard #live #hangout .room-music-dock{padding:8px 10px;background:linear-gradient(135deg,#143c34,#122621 47%,#101c1d);border:1px solid #38574b;border-radius:14px}
.room-dashboard #live #hangout .room-music-line{display:flex;gap:8px;flex-wrap:wrap;align-items:center;background:none;border:0;padding:0;min-height:0}
.room-dashboard .music-art-v7{display:grid;place-items:center;width:43px;height:43px;border-radius:8px;background:linear-gradient(150deg,#96e2a0,#4cae83 38%,#174b49);color:#f2ffeb;flex:none;box-shadow:inset 0 0 0 1px #c5ffd677}
.room-dashboard .music-art-v7 svg{width:23px;height:23px}
.room-dashboard .room-music-dock[data-playing] .music-art-v7{background:linear-gradient(150deg,#bbef89,#57d79f 48%,#2e7870);}
.room-dashboard .music-now-v7{flex:1 1 120px;min-width:0;display:grid;gap:2px}
.room-dashboard .music-now-v7 small{font-size:.64rem;color:#aac2b5}
.room-dashboard #live #hangout .music-now-v7 .room-music-title{font-size:.88rem;color:#e9fff3}
.room-dashboard :is(.music-transport-v7,.music-sound-v7){display:flex;align-items:center;gap:5px}
.room-dashboard #live #hangout #music-play{display:grid;place-items:center;width:39px;min-height:39px;padding:0;border-radius:50%;background:#a5efb5;color:#143623;border-color:#b6ffca}
.room-dashboard #live #hangout #music-play svg{width:19px;height:19px}
.room-dashboard #live #hangout .music-sound-v7 input{width:70px;max-width:24vw;accent-color:#a5efb5}
.room-dashboard #live #hangout .room-music-dock>.hang-progress{display:flex;color:#cbe2d7;font-size:.73rem;gap:7px;min-width:0;margin:0}
.room-dashboard #live #hangout .room-music-dock #music-seek{flex:1 1 10px;min-width:0;accent-color:#8de9aa}
.room-dashboard #live #hangout .room-music-dock #hang-mini{box-shadow:none;border-radius:12px}
.room-dashboard #live #hangout .room-music-dock #room-mix-card{padding:4px 7px}
.room-dashboard #live #hangout .room-tools-v7{position:relative;min-width:0}
.room-dashboard .room-tools-v7>summary{display:flex;align-items:center;cursor:pointer;min-height:37px;white-space:nowrap;padding:5px 9px;font-size:.79rem}
.room-dashboard .room-tools-v7>summary::-webkit-details-marker{display:none}
.room-dashboard .room-tools-v7>.room-flyout-v7{position:absolute;inset-block-start:calc(100% + 6px);inset-inline-end:0;z-index:21;display:grid;gap:6px;width:min(274px,84vw);max-height:min(64dvh,460px);overflow:auto;padding:8px;background:#20343f;border:1px solid #44636d;border-radius:11px;box-shadow:0 10px 24px #0007}
.room-dashboard .room-flyout-v7 :is(label,ol){font-size:.78rem;min-width:0;overflow-wrap:anywhere}
.room-dashboard .room-vote-board{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:6px 0;background:#224034;border:1px solid #4f7962;border-radius:10px;padding:8px}
.room-dashboard .room-vote-board :is(strong,small){font-size:.79rem}
.room-dashboard .room-vote-board .active{background:#b1f4b7;color:#142f22}
.room-dashboard .room-vote-board .vote-time-v7{margin-inline-end:auto}
.room-dashboard #live #hangout #film-viewport[data-player="direct"] .film-viewport-controls{
 position:absolute;inset:auto 0 0;z-index:4;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:end;padding:4px 9px 3px;
 background:linear-gradient(0deg,#061315ee,#061315c0 65%,transparent);pointer-events:auto
}
.room-dashboard #live #hangout #film-viewport[data-player="direct"] .film-hud-center{position:static;transform:none}
.room-dashboard #live #hangout #film-viewport[data-player="direct"] .film-hud-bottom{position:static;background:none;padding:0}
.room-dashboard #live #hangout #film-viewport[data-player="direct"][data-idle] .film-viewport-controls{opacity:0;pointer-events:none}
.room-dashboard #live #hangout #film-viewport[data-player="embedded"][data-idle] .film-viewport-controls{opacity:0;pointer-events:none}
.room-dashboard #live #hangout #film-hud-reveal{display:none}
.room-dashboard #live #hangout #film-viewport[data-idle] #film-hud-reveal{display:grid;position:absolute;inset:auto auto 7px 7px;z-index:5;min-height:34px;width:34px;background:#10232bc9}
.room-dashboard #live #hangout #film-viewport .room-video-frame{position:relative}
.room-dashboard #live #hangout #film-viewport #film-caption-overlay{
 bottom:clamp(5px,3%,22px);max-height:72%;overflow:hidden;max-width:92%;z-index:3
}
.room-dashboard #live #hangout #film-viewport[data-caption-position="top"] #film-caption-overlay,
.room-dashboard #live #hangout #film-viewport #film-caption-overlay[data-caption-position="top"]{top:5%;bottom:auto}
.room-dashboard #live #hangout #film-viewport:not([data-idle]) #film-caption-overlay:not([data-caption-position="top"]){bottom:min(30%,61px)}
.room-dashboard #live #hangout #film-locked-hint{pointer-events:none;position:relative;z-index:1;margin:0;padding:2px 7px}
.room-dashboard #rooms-account{width:min(420px,95vw);max-height:90dvh;background:#182c35;border-color:#456572}
.room-dashboard .rooms-account-content,.room-dashboard .rooms-account-content form{display:grid;gap:9px;padding:10px}
.room-dashboard .rooms-account-content label{display:grid;gap:4px;font-size:.84rem}
.room-dashboard .rooms-account-content input:not([type=checkbox]),.room-dashboard .rooms-account-content textarea{
 width:100%;min-width:0;font-size:1rem;background:#14252d;border:1px solid #456572;padding:6px 8px;border-radius:8px
}
.room-dashboard .rooms-profile-avatar{width:54px;height:54px}
.room-dashboard #rooms-auth-status{margin:0;font-size:.79rem;color:#c0efd8}
.room-dashboard #rooms-account-open{max-width:18ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:780px){
 .room-dashboard #live #hangout .room-board{grid-template-columns:minmax(0,1fr)}
 .room-dashboard #live #hangout .room-radio-rail{grid-column:1;grid-row:2}
 .room-dashboard #live #hangout .room-tools-v7>.room-flyout-v7{position:fixed;inset:auto 8px 8px;max-height:52dvh;width:auto}
 .room-dashboard #live #hangout .room-tools-v7[open]>summary{background:#356052}
 .room-dashboard #live #hangout #room-chat{max-height:55dvh}
}
@media(max-width:560px){
 .room-dashboard #rooms-account-open{max-width:9ch;min-height:34px;font-size:.68rem;padding-inline:4px}
 .room-dashboard #live #hangout .room-tools-v7>summary{font-size:.69rem;min-height:36px}
 .room-dashboard #live #hangout #film-viewport[data-player="direct"] .film-viewport-controls{grid-template-columns:1fr;padding:2px 5px}
 .room-dashboard #live #hangout #film-viewport[data-player="direct"] .film-hud-center{justify-self:center}
 .room-dashboard #live #hangout #film-viewport .film-hud-center .film-hud-btn{width:32px;height:32px;min-height:0;block-size:32px}
 .room-dashboard #live #hangout #film-viewport .film-hud-center #film-play{width:38px;min-height:32px;block-size:32px}
 .room-dashboard #live #hangout #film-viewport:not([data-idle]) #film-caption-overlay:not([data-caption-position="top"]){bottom:min(49%,78px)}
 .room-dashboard #live #hangout #room-people .tile .tile-view-actions .icon-btn{width:26px;height:26px;min-height:26px}
 .room-dashboard #live #hangout #room-people .tile .speaker-badge{font-size:.58rem}
 .room-dashboard #live #hangout .room-music-line{gap:5px}
 .room-dashboard .music-now-v7{flex-basis:73px}
 .room-dashboard .music-art-v7{width:36px;height:36px}
}
.room-dashboard .room-shared-top input[type="range"]{inline-size:clamp(55px,11vw,110px);min-inline-size:0;accent-color:var(--sea)}
.room-dashboard #live #hangout .room-board:has(.room-media-main>:not([hidden])) .room-media-main{align-content:start}
.room-dashboard #live #hangout :is(.room-tools-v7[open],.room-flyout-v7){z-index:21}
