/* Digi Home: one stable masthead, one active stage, and a separate call dock. */
.room-dashboard .digi-top-icon,.digi-account-badge{display:inline-grid;place-items:center}
.digi-account-badge{flex:none;width:.82rem;height:.82rem;color:#cad1df}
.digi-account-badge svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.digi-account-badge--owner{color:#f3be64}
.digi-account-badge--admin{color:#c6b0ff}
.digi-account-badge--vip{color:#f4d897}
.digi-account-badge--phone{color:#8ebba8;width:.68rem;height:.68rem}
.room-message-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.room-message-report{display:grid;place-items:center;flex:none;min-width:30px;min-height:30px;padding:0;color:#c1b3bd;border:1px solid transparent;border-radius:8px;background:none;cursor:pointer}
.room-message-report svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}
.room-message-report:is(:hover,:focus-visible){color:#ffe1e8;background:#542630;border-color:#a55a66}
#digi-report-quote{margin:0;padding:10px 12px;border-inline-start:2px solid #ab6b79;background:#222023;border-radius:6px;max-height:9rem;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}
.room-dashboard .top .digi-header-handle{vertical-align:middle}
.room-dashboard:has(#live:not([hidden])){
 --bg:#09090a;--light:#f6f6f7;--dim:#b3b3bc;--key:#ff565c;--sea:#ff7177;
 --room-white:#f6f6f7;--room-ink:#151516;--room-border:#29292d;--room-surface:#131314;--room-raised:#1b1b1d;
 --room-gutter:clamp(12px,3vw,45px);background:radial-gradient(ellipse at 50% -25%,#311317 0,transparent 47%),#09090a;
}
.room-dashboard:has(#live:not([hidden])) .top{background:#101011ee;border-bottom:1px solid #262628}
.room-dashboard:has(#live:not([hidden])) .top .top-in{min-height:67px}
.room-dashboard:has(#live:not([hidden])) .top #lobby-rail{display:none}
.room-dashboard:has(#live:not([hidden])) .top .digi-brand-group{background:#19191b;border-color:#2c2c2e}
.room-dashboard:has(#live:not([hidden])) .top #digi-header-avatar.rooms-profile-avatar{background:#252527;border-color:#3b3b3e}
.room-dashboard:has(#live:not([hidden])) .top #health{background:#18181a;border-color:#262628}
.room-dashboard:has(#live:not([hidden])) .top #health b{color:#efeff1}
.room-dashboard:has(#live:not([hidden])) .footer{display:none}
.room-dashboard #live.wrap{max-width:1550px;padding-top:17px;padding-bottom:108px;font-family:RoomEstedad,RoomVazir,Call,sans-serif}
.room-dashboard #live .live-top{
 padding:13px clamp(12px,2vw,24px);border:1px solid #303033;border-radius:16px;
 background:linear-gradient(110deg,#151516 65%,#25161a);margin:0 0 12px;
}
.room-dashboard #live .live-top::before,.room-dashboard #live .live-top::after{display:none}
.room-dashboard #live .live-avatar{background:#2a1a1d;border-color:#492a2f;color:#ff636b;border-radius:11px;width:43px;height:43px;min-width:43px}
.room-dashboard #live .live-top h1{font-size:clamp(1.1rem,2.4vw,1.6rem);letter-spacing:-.03em}
.room-dashboard #live .room-meta span{background:#151517;border-color:#2e2e30;color:#c2c1c8}
.room-dashboard #live .live-actions #copy{background:#211719;color:#ff989f;border-color:#54272d;white-space:nowrap;border-radius:10px}
.room-dashboard #live .live-actions #copy:hover{background:#351b20;color:#ffccd0;border-color:#804047}
.room-dashboard #live #hangout .hang-bar{
 background:#121213;border-color:#2a2a2d;border-radius:14px;gap:4px;padding:6px 8px;
}
.room-dashboard #live #hangout .hang-bar .workspace-label{color:#bfbec6;font-size:.72rem}
.room-dashboard #live #hangout .hang-bar :is(.btn,summary.btn){
 background:#19191b;border:1px solid #2b2b2d;color:#d2d1d8;border-radius:9px;gap:6px;min-height:38px;padding:3px 9px;
}
.room-dashboard #live #hangout .hang-bar :is(.active,[aria-expanded=true]){
 background:#391c21;border-color:#713139;color:#ffb7ba;
}
.room-dashboard #live #hangout .hang-bar :is(.btn,summary.btn):hover{background:#282023;border-color:#713139;color:#fff}
.room-dashboard #live #hangout .digi-tool-group{border-color:#333336}
.room-dashboard #live #hangout .room-flyout-v7{background:#1a1a1c;border-color:#3a3538;box-shadow:0 14px 35px #0009}
.room-dashboard #live #hangout .room-board{grid-template-columns:minmax(0,1fr) minmax(258px,29%);gap:12px;align-items:start}
.room-dashboard #live #hangout .room-board:not(:has(.room-radio-rail>aside:not([hidden]))){grid-template-columns:minmax(0,1fr)}
.room-dashboard #live #hangout .room-board .room-radio-rail{min-width:0;gap:10px}
.room-dashboard #live #hangout :is(#hang-cinema,#hang-presentation,#room-people,#room-chat,#side,.room-music-dock){
 background:#131314;border-color:#2d2d30;border-radius:15px;box-shadow:none;
}
.room-dashboard #live #hangout :is(#film-heading,.side-head,.room-card-heading){border-color:#2a2a2c}
.room-dashboard #live #hangout .room-kicker{color:#ff7379}
.room-dashboard #live #hangout :is(#room-chat,#side) .side-head{
 padding:10px 12px;min-height:44px;color:#f4f3f6;background:#18181a;border-radius:14px 14px 0 0;
}
.room-dashboard #live #hangout #room-chat{max-height:min(59svh,620px);min-height:256px;min-width:0}
.room-dashboard #live #hangout #room-chat #chat-input{background:#1b1b1d;border-color:#353538;color:#f5f5f7}
.room-dashboard #live #hangout #room-chat .chat-form .gold{background:#dd2530;border-color:#e84751;color:white}
.room-dashboard #live #hangout #side .room-person .room-person-avatar,
.room-dashboard #live #hangout #digi-stage-people .room-person-avatar{background:#2d2023;border-color:#4d3439;color:#ffc7cb}
.room-dashboard #live #hangout #side .room-person.speaking .room-person-avatar{border-color:#7ae9af;box-shadow:0 0 0 2px #7ae9af70}
.room-dashboard #live #hangout #digi-room-welcome{
 min-height:clamp(265px,46vh,460px);padding:clamp(19px,3vw,38px);
 display:grid;justify-items:center;align-content:center;gap:12px;text-align:center;margin:0;
 color:#f5f5f7;border:1px solid #2d2d30;border-radius:16px;
 background:radial-gradient(ellipse at 50% 15%,#691d252e,transparent 68%),
 linear-gradient(#ffffff05 1px,transparent 1px) 0 0/42px 42px,
 linear-gradient(90deg,#ffffff05 1px,transparent 1px) 0 0/42px 42px,#111112;
}
.digi-stage-kicker{font-size:.72rem;font-weight:700;color:#d6c9ce;display:flex;gap:6px;align-items:center}
.digi-stage-kicker i{width:6px;height:6px;border-radius:50%;background:#ff4f59;box-shadow:0 0 9px #ff4f5970}
.digi-stage-icon{display:grid;place-items:center;width:55px;height:55px;color:#ff7d86;background:#2e1b1e;border:1px solid #583036;border-radius:15px}
.digi-stage-icon svg{width:25px;height:25px}
#digi-room-welcome h2{margin:0;font-size:clamp(1.32rem,2.7vw,2.4rem)}
#digi-room-welcome p{color:#b9b6bd;max-width:52ch;line-height:1.85;font-size:.83rem;margin:0}
#digi-stage-people,.digi-stage-actions{display:flex;justify-content:center;align-items:center;gap:7px;flex-wrap:wrap}
.digi-stage-person{display:flex;align-items:center;gap:5px;padding:3px 7px;border-radius:99px;background:#19191a;border:1px solid #323234;font-size:.77rem}
#digi-stage-people .room-person-avatar{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;overflow:hidden}
#digi-stage-people img{width:100%;height:100%;object-fit:cover}
.room-dashboard #live #digi-stage-film{background:#db2832;color:white;border-color:#f1424d}
.room-dashboard #live #hangout .room-board .hang-video.room-video-frame:has(#film-empty:not([hidden])){
 background:radial-gradient(ellipse at center,#2a191c,#151516 70%);
}
#digi-call-slot:not([hidden]){
 position:fixed;z-index:39;inset:auto 50% max(10px,env(safe-area-inset-bottom)) auto;transform:translateX(50%);
 width:min(calc(100% - 22px),680px);padding:0;
}
.room-dashboard #live #digi-call-slot .controls{
 position:static;inset:auto;transform:none;display:flex;justify-content:center;align-items:center;gap:5px;
 width:100%;margin:0;padding:6px;min-height:0;border-radius:14px;border:1px solid #323235;
 background:#18181aee;box-shadow:0 13px 38px #000c;backdrop-filter:blur(14px);
}
.room-dashboard #live #digi-call-slot .controls .control{
 display:flex;align-items:center;justify-content:center;flex:1 1 0;padding:6px 4px;min-width:0;min-height:45px;
 border:1px solid #333336;border-radius:10px;background:#202022;color:#e0dfe4;transition:background .18s;
}
.room-dashboard #live #digi-call-slot .controls .control.active{background:#22362b;border-color:#375744;color:#abefc2}
.room-dashboard #live #digi-call-slot .controls .control[aria-pressed=false] svg{color:#d6ced2}
.room-dashboard #live #digi-call-slot .controls #leave{background:#4d252b;border-color:#764049;color:#ffd0d5}
.room-dashboard #live #digi-call-slot .controls .control:hover{background:#2a282a}
.room-dashboard #live #digi-call-slot .controls #leave:hover{background:#652a32}
#digi-phone-panel,.digi-phone-gate{
 border:1px solid #52404a;background:#251e26;border-radius:12px;padding:11px;margin:8px 0;
}
#digi-phone-panel h3{margin:0;font-size:.93rem;color:#f2edf1}
#digi-phone-panel p,.digi-phone-gate p{font-size:.79rem;line-height:1.7;margin:6px 0;color:#e0d1d5}
#digi-phone-panel form{margin:5px 0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:7px}
#digi-phone-panel input{width:100%;min-width:0}
#digi-phone-panel #digi-phone-current{color:#b3f1c3}
@media(max-width:799px){
 .room-dashboard #live #hangout .room-board{grid-template-columns:minmax(0,1fr)}
 .room-dashboard #live #hangout .room-board .room-radio-rail{position:static;display:contents}
 .room-dashboard #live #hangout .room-board .room-radio-rail>aside:not([hidden]){
  position:fixed;z-index:36;inset:auto 8px max(76px,calc(env(safe-area-inset-bottom) + 67px));width:auto;margin:0;
  height:auto;min-height:0;max-height:57svh;overflow:auto;box-shadow:0 -5px 50px #000b;
 }
 .room-dashboard #live #hangout #room-chat:not([hidden]){min-height:265px}
 .room-dashboard #live #hangout .hang-bar{gap:3px}
 .room-dashboard #live #hangout .hang-bar .workspace-label{display:none}
 .room-dashboard #live #hangout .hang-bar .hang-modes{gap:5px}
 .room-dashboard #live #hangout .hang-bar :is(.btn,summary.btn){font-size:.7rem;padding-inline:6px;min-height:35px}
 .room-dashboard #live #digi-call-slot .controls .control{flex-direction:column;gap:3px;min-height:43px}
 .room-dashboard #live #digi-call-slot .controls .control small{font-size:.62rem}
 .room-dashboard #live #digi-call-slot .controls .control svg{width:16px;height:16px}
}
@media(max-width:500px){
 .room-dashboard #live .live-top{padding:10px 8px;gap:6px}
 .room-dashboard #live .live-identity{gap:6px}
 .room-dashboard #live .live-avatar{display:none}
 .room-dashboard #live .room-meta span{font-size:.59rem}
 .room-dashboard #live .live-actions #copy{font-size:.68rem;min-height:34px;padding-inline:5px}
}

/* Real grid tracks keep navigation centered when management is visible. */
.room-dashboard .top .top-in,
.room-dashboard:has(#home:not([hidden])) .top .top-in{
 direction:ltr;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
}
.room-dashboard:has(#home:not([hidden])) .top .top-in{
 max-width:1600px;padding-inline:clamp(10px,2.3vw,36px);
}
.room-dashboard .top .digi-wordmark{grid-column:1;grid-row:1;justify-self:start}
.room-dashboard .top .digi-header-actions{
 grid-column:3;grid-row:1;justify-self:stretch;justify-content:flex-end;
 display:flex;align-items:center;min-width:0;gap:clamp(4px,.75vw,11px)
}
.room-dashboard .top .digi-header-actions .top-end{
 display:flex;direction:rtl;min-width:0;flex:0 1 auto;align-items:center;justify-content:flex-start;gap:5px;flex-wrap:wrap
}
.room-dashboard .top #rooms-account-open.digi-brand-group{flex:none;direction:rtl;line-height:1.2}
.room-dashboard .top #digi-header-avatar.rooms-profile-avatar{
 width:34px;min-width:34px;height:34px;flex:none;border:1px solid #e9636b;color:#fff
}
.room-dashboard .top #rooms-account-open:focus-visible,
.room-dashboard .top #lobby-rail :is(a,button):focus-visible{outline:2px solid #ff8990;outline-offset:3px}
.room-dashboard:has(#home:not([hidden])) .top #lobby-rail.digi-lobby-nav{
 position:static;inset:auto;transform:none;grid-column:2;grid-row:1;justify-self:center;width:max-content;
}
.room-dashboard:has(#home:not([hidden])) .top #lobby-rail :is(a,.plain){
 width:42px;height:42px;min-height:42px;padding:0;gap:0;
 display:inline-flex;align-items:center;justify-content:center;flex:none;
}
.room-dashboard:has(#home:not([hidden])) .top #lobby-rail :is(a,.plain)>[data-icon]{
 display:grid;place-items:center;flex:none;margin:0;
}
.room-dashboard:has(#home:not([hidden])) .top #lobby-rail [aria-current]::before,.room-dashboard:has(#home:not([hidden])) .top #lobby-rail [aria-current]::after{display:none}
.room-dashboard:has(#home:not([hidden])) .top #lobby-rail [aria-current="location"]{
 color:#ffb2b6;background:#301e21;border-color:#5c3136;
}
@media(min-width:1121px){
 .room-dashboard .digi-header-actions:has(#digi-admin-open:not([hidden])) #quick-open{width:37px;padding:0}
 .room-dashboard .digi-header-actions:has(#digi-admin-open:not([hidden])) #quick-open>span:last-child{display:none}
}
@media(min-width:1121px) and (max-width:1400px){
 .room-dashboard .top #quick-open{width:37px;padding:0}
 .room-dashboard .top #quick-open>span:last-child{display:none}
 .room-dashboard:has(#home:not([hidden])) .top .top-in{padding-inline:22px}
}
@media(max-width:1120px){
 .room-dashboard .top .top-in,
 .room-dashboard:has(#home:not([hidden])) .top .top-in{
  grid-template-columns:auto minmax(0,1fr);min-height:62px;gap:5px 10px;padding-block:7px
 }
 .room-dashboard .top .digi-header-actions{grid-column:2}
 .room-dashboard:has(#home:not([hidden])) .top #lobby-rail.digi-lobby-nav{
  grid-column:1/-1;grid-row:2;padding:0;min-height:40px
 }
}
@media(max-width:760px){
 .room-dashboard .top .digi-wordmark{padding-inline:0}
 .room-dashboard .top .digi-header-actions{gap:4px}
 .room-dashboard .top #digi-admin-open{font-size:.68rem;padding-inline:7px}
 .room-dashboard .top #digi-header-avatar.rooms-profile-avatar{width:28px;min-width:28px;height:28px}
 .room-dashboard .top #quick-open{width:32px;padding:0}
 .room-dashboard .top #quick-open>span:last-child{display:none}
 .room-dashboard:has(#home:not([hidden])) .top #lobby-rail :is(a,.plain){width:38px;min-height:38px;height:38px}
}

.room-dashboard #rooms-account{
 width:min(620px,calc(100% - 24px));max-height:min(90dvh,760px);color:#f5f4f6;
 background:#131314;border:1px solid #343436;border-radius:18px;
}
.room-dashboard #rooms-account>.dialog-title{padding:14px 18px;background:#171718;border-bottom:1px solid #2d2d2f}
.room-dashboard #rooms-account .rooms-account-content{padding:clamp(10px,3vw,19px)}
.digi-account-card{
 background:#181819;border:1px solid #303033;border-radius:13px;
 display:grid;gap:13px;padding:clamp(10px,2.7vw,18px);
}
.digi-account-identity{display:flex;align-items:center;gap:11px;min-width:0}
.digi-account-identity #rooms-profile-avatar{width:49px;min-width:49px;height:49px;margin:0}
.digi-account-identity>div{display:grid;gap:2px;min-width:0}
.digi-account-identity strong{font-size:1rem;overflow-wrap:anywhere}
.digi-account-identity bdi{font-size:.77rem;color:#b6b3bb;justify-self:start}
.digi-account-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0;border:1px solid #323235;border-radius:11px;background:#121213}
.digi-account-facts>div{padding:10px 12px;min-width:0}
.digi-account-facts>div+div:not(.digi-account-phone-row){border-inline-start:1px solid #323235}
.digi-account-facts dt{margin:0 0 5px;color:#bfbcc5;font-size:.77rem}
.digi-account-facts dd{margin:0;font-size:.88rem;overflow-wrap:anywhere}
.digi-account-facts>.digi-account-phone-row{grid-column:1/-1;border-top:1px solid #323235}
.digi-account-phone-row dd,.digi-account-toolbar{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
#digi-account-verify{margin-inline-start:auto}
.digi-account-verified{background:#183323;color:#b8eac8;border-radius:99px;padding:2px 7px;font-size:.71rem}
.room-dashboard #rooms-account :is(.digi-account-card,#rooms-auth-tabs) .btn{border-radius:9px}
.room-dashboard #rooms-account :is(.digi-account-card,#rooms-auth-tabs) .btn.soft{
 background:#222224;border-color:#39393b;color:#f1eff3;
}
.room-dashboard #rooms-account .btn.soft:hover{border-color:#9a474d}
.room-dashboard #rooms-account .btn.gold{background:#d72d39;border-color:#f75460;color:#fff}
.room-dashboard #rooms-account :is(.rooms-account-content,#digi-phone-panel) :is(input,textarea){
 background:#121213;border-color:#39393b;color:#f5f4f6
}
.room-dashboard #rooms-account #digi-phone-panel{margin:0;background:#1d1a1c;border-color:#453237}
.room-dashboard #rooms-account #rooms-profile-form{margin:0;border-top:1px solid #333336;padding-top:11px}
.room-dashboard #rooms-account :is(#rooms-auth-status,#digi-phone-status):empty{display:none}
@media(max-width:370px){
 .digi-account-facts>div{padding-inline:8px}
 .digi-account-identity #rooms-profile-avatar{width:41px;min-width:41px;height:41px}
}

/* Pre-room dialogs follow the existing lobby/account palette, not the older call theme. */
.room-dashboard :is(#setup,#guide,#room-quick,:has(#setup[open]) #devices){
 --setup-bg:#131314;--setup-panel:#181819;--setup-field:#121213;
 --setup-line:#343436;--setup-control:#222224;--setup-control-line:#39393b;
 --setup-text:#f5f4f6;--setup-muted:#bebbc4;--setup-accent:#ff8990;
 --setup-action:#c52632;--setup-action-line:#f0525c;
 background:var(--setup-bg);border-color:var(--setup-line);color:var(--setup-text);color-scheme:dark;
}
.room-dashboard :is(#setup,#guide,#room-quick,:has(#setup[open]) #devices)>.dialog-title{
 background:#171718;border-color:var(--setup-line);color:var(--setup-text);
}
.room-dashboard #setup .eyebrow{color:var(--setup-accent)}
.room-dashboard #setup .eyebrow i{background:#ff4f59;box-shadow:0 0 12px #ff4f5948}
.room-dashboard :is(#setup,#guide,:has(#setup[open]) #devices) :is(input:not([type="range"]),select){
 background:var(--setup-field);border-color:var(--setup-control-line);color:var(--setup-text);caret-color:var(--setup-accent);
}
.room-dashboard :is(#setup,#guide,:has(#setup[open]) #devices) input::placeholder{color:var(--setup-muted)}
.room-dashboard :is(#setup,#guide,:has(#setup[open]) #devices) :is(label,small,legend){
 color:var(--setup-muted);
}
.room-dashboard #setup :is(.mic-check,.setup-preview .pre,#setup-admission-note){
 background:var(--setup-panel);border-color:var(--setup-line);color:var(--setup-text);
}
.room-dashboard #setup .setup-sound-check summary span{color:var(--setup-muted)}
.room-dashboard #setup .setup-sound-check summary span::after{color:var(--setup-accent)}
.room-dashboard #setup .pre .avatar{
 background:#352226;border-color:#583239;color:#ffc3c7;
}
.room-dashboard #setup #digi-private-gate,.room-dashboard #setup #setup-error{
 background:#27191c;border-color:#69333a;color:#ffd3d6;
}
.room-dashboard #setup #digi-private-gate p{color:inherit}
.room-dashboard :is(#setup,#guide,#room-quick,:has(#setup[open]) #devices) :is(.btn.soft,.icon-btn){
 background:var(--setup-control);border-color:var(--setup-control-line);color:var(--setup-text);box-shadow:none;
}
.room-dashboard :is(#setup,#guide,#room-quick,:has(#setup[open]) #devices) :is(.btn.soft,.icon-btn):hover{
 background:#302225;border-color:#855058;color:#fff;
}
.room-dashboard #setup .setup-preview .pre-actions button[aria-pressed="true"]{
 background:#47272d;border-color:#9c5059;color:#ffd9db;
}
.room-dashboard :is(#setup,#guide,:has(#setup[open]) #devices) .plain{color:var(--setup-muted)}
.room-dashboard :is(#setup,#guide,:has(#setup[open]) #devices) .plain:hover{color:var(--setup-text)}
.room-dashboard :is(#setup,#guide,:has(#setup[open]) #devices) .btn.gold{
 background:var(--setup-action);border-color:var(--setup-action-line);color:#fff;
}
.room-dashboard :is(#setup,#guide,:has(#setup[open]) #devices) .btn.gold:not(:disabled):hover{background:#a7202a}
.room-dashboard :is(#setup,#guide,#room-quick,:has(#setup[open]) #devices) :is(button,input,select,summary):focus-visible{
 outline:2px solid var(--setup-accent);outline-offset:2px;
}
.room-dashboard #setup #mic-check-meter{accent-color:var(--setup-accent)}
.room-dashboard #setup #mic-check-meter::-webkit-meter-bar{background:var(--setup-field);border:1px solid var(--setup-line)}
.room-dashboard #setup #mic-check-meter::-webkit-meter-optimum-value,
.room-dashboard #setup #mic-check-meter::-webkit-meter-suboptimum-value,
.room-dashboard #setup #mic-check-meter::-webkit-meter-even-less-good-value{background:var(--setup-accent)}

/* Quick access shares the Digi Home dialog palette in both lobby and live rooms. */
.room-dashboard #room-quick{
 border-radius:18px;box-shadow:0 24px 70px #0009;
}
.room-dashboard #room-quick .dialog-title .eyebrow{color:var(--setup-accent)}
.room-dashboard #room-quick .quick-body{gap:5px;padding:10px 14px 14px}
.room-dashboard #room-quick .quick-label{color:var(--setup-muted)}
.room-dashboard #room-quick [data-quick]{
 gap:10px;min-height:44px;padding:6px 10px;border:1px solid transparent;
 background:transparent;color:var(--setup-text);font-weight:650;
}
.room-dashboard #room-quick [data-quick] [data-icon]{
 width:30px;height:30px;flex:none;border-radius:8px;
 background:#2b1c20;color:var(--setup-accent);
}
.room-dashboard #room-quick [data-quick]:is(:hover,:focus-visible){
 background:#2d1e22;border-color:#60333b;color:#ffe9eb;
}
.room-dashboard #room-quick [data-quick]:is(:hover,:focus-visible) [data-icon]{background:#45252c}
.room-dashboard #room-quick .quick-foot{
 background:#171718;border-color:var(--setup-line);color:var(--setup-muted);
}
.room-dashboard #room-quick kbd{
 background:var(--setup-control);border:1px solid var(--setup-control-line);color:var(--setup-text);
}

/* Only the in-room webcam preview is cropped. The camera dialog uses the original track. */
.room-dashboard #live #hangout #room-people #tiles:not(.focus){
 grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),1fr));justify-items:center;align-items:start;gap:clamp(9px,2vw,20px);
}
.room-dashboard #live #hangout #room-people #tiles .tile[data-webcam]{
 display:grid;justify-items:center;align-content:start;gap:8px;
 width:min(100%,12rem);min-height:0;max-height:none;aspect-ratio:auto;
 background:none;border:0;border-radius:0;overflow:visible;box-shadow:none;padding:3px;
}
.room-dashboard #live #hangout #room-people .tile-camera-bubble{
 position:relative;isolation:isolate;display:grid;place-items:center;width:100%;aspect-ratio:1;
 overflow:hidden;border-radius:50%;background:#21191b;box-shadow:0 0 0 1px #3f3638;
}
.room-dashboard #live #hangout #room-people .tile.speaking .tile-camera-bubble{
 box-shadow:0 0 0 2px #79fac0,0 0 12px #64eab650;
}
.room-dashboard #live #hangout #room-people .tile .tile-camera-bubble video{
 object-fit:cover;object-position:50% 50%;
}
.room-dashboard #live #hangout #room-people .tile-camera-details{
 display:grid;justify-items:center;gap:5px;width:100%;min-width:0;text-align:center;
}
.room-dashboard #live #hangout #room-people .tile-camera-identity{
 display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px;width:100%;min-width:0;
}
.room-dashboard #live #hangout #room-people .tile .tile-camera-details :is(.tile-label,.tile-state,.tile-roles,.media-badges,.tile-view-actions),
.room-dashboard #live #hangout #room-people .tile .tile-camera-details .tile-view-actions>.icon-btn{
 position:static;inset:auto;
}
.room-dashboard #live #hangout #room-people .tile .tile-camera-details :is(.tile-label,.tile-state){
 max-width:100%;overflow-wrap:anywhere;background:none;color:inherit;padding:0;line-height:1.45;
}
.room-dashboard #live #hangout #room-people .tile .tile-camera-details .tile-label{font-size:.82rem;font-weight:750}
.room-dashboard #live #hangout #room-people .tile .tile-camera-details .tile-state{font-size:.69rem;color:#c0bac4}
.room-dashboard #live #hangout #room-people .tile .tile-camera-details .tile-view-actions{justify-content:center;gap:6px}
.room-dashboard #live #hangout #room-people .tile .tile-camera-details .tile-view-actions>.icon-btn{
 width:36px;height:36px;min-height:36px;border-color:#39383a;background:#212123;color:#f2edf2;
}
.room-dashboard #live #hangout #room-people .tile .tile-camera-details .tile-view-actions>.icon-btn:hover{
 border-color:#804047;background:#302023;
}
@media(max-width:520px){
 .room-dashboard #live #hangout #room-people #tiles:not(.focus){
  grid-template-columns:repeat(auto-fit,minmax(min(100%,8rem),1fr));gap:8px;
 }
 .room-dashboard #live #hangout #room-people #tiles .tile[data-webcam]{width:min(100%,10rem)}
}

/* Each camera owns its round frame, rather than sitting in a second rectangular card. */
.room-dashboard #live #hangout #room-people{
 background:none;border:0;border-radius:0;box-shadow:none;
}
.room-dashboard #live #hangout #room-people .tile-camera-bubble{
 box-shadow:0 0 0 2px #3b3639;
}
.room-dashboard #live #hangout #room-people .tile.speaking .tile-camera-bubble{
 box-shadow:0 0 0 2px #79fac0,0 0 12px #64eab650;
}
.room-dashboard #live #room-mix-card .room-mix-voice-mute{
 display:flex;justify-content:flex-start;align-items:center;gap:6px;
}
.room-dashboard #live #room-mix-card .room-mix-voice-mute input{width:auto;min-width:0;margin:0}
.room-dashboard #film-viewport[data-fullscreen="film"] #film-full-chat{display:none}

/* The film+chat mode keeps the existing video, subtitles and chat alive in place. */
body[data-room-fullscreen="film-chat"]{overflow:hidden}
.room-dashboard:has(#live[data-fullscreen="film-chat"]) :is(header.top,footer.footer){display:none}
.room-dashboard #live[data-fullscreen="film-chat"]{
 position:fixed;inset:0;z-index:60;display:block;width:100%;height:100dvh;
 max-width:none;max-height:none;margin:0;overflow:hidden;background:#09090a;
 padding:max(6px,env(safe-area-inset-top)) max(6px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));
}
.room-dashboard #live[data-fullscreen="film-chat"] :is(.live-top,#digi-full-controls,#digi-call-slot,#live-warning,.hang-bar,.hang-meta,#hang-reaction,#digi-room-welcome,#hang-presentation,#room-people,#side,.room-bottom-dock,#film-heading,#film-library,#film-full-chat,#film-exit-full,#film-locked-hint,#side-close){
 display:none;
}
.room-dashboard #live[data-fullscreen="film-chat"] :is(.live-grid,.call-stage,#hangout,.room-media-main){
 display:block;width:100%;height:100%;min-width:0;min-height:0;margin:0;padding:0;
}
.room-dashboard #live[data-fullscreen="film-chat"] #hangout .room-board{
 display:grid;grid-template-columns:minmax(0,1fr) clamp(240px,27vw,420px);
 grid-template-rows:minmax(0,1fr);align-items:stretch;gap:7px;width:100%;height:100%;min-height:0;margin:0;
}
.room-dashboard #live[data-fullscreen="film-chat"] #hangout .room-board .room-radio-rail{
 position:static;display:block;grid-column:2;grid-row:1;width:100%;min-width:0;height:100%;min-height:0;overflow:hidden;margin:0;
}
.room-dashboard #live[data-fullscreen="film-chat"] #hangout :is(#hang-cinema,#film-viewport){
 display:block;position:relative;height:100%;width:100%;min-height:0;max-height:none;min-width:0;
 margin:0;padding:0;aspect-ratio:auto;background:#000;border:0;border-radius:0;
}
.room-dashboard #live[data-fullscreen="film-chat"] #hangout #film-viewport[data-player="embedded"] .room-video-frame{display:none}
.room-dashboard #live[data-fullscreen="film-chat"] #hangout #film-viewport :is(.room-video-frame,#film-embed,#film-embed iframe,#film-player){
 width:100%;height:100%;max-height:none;min-height:0;aspect-ratio:auto;border:0;border-radius:0;object-fit:contain;
}
.room-dashboard #live[data-fullscreen="film-chat"] #hangout #film-viewport[data-player="embedded"] .film-viewport-controls{
 position:absolute;inset:auto 0 0;z-index:3;background:#101012e8;
}
.room-dashboard #live[data-fullscreen="film-chat"] #hangout #room-chat:not([hidden]){
 position:static;inset:auto;display:flex;flex-direction:column;
 width:100%;height:100%;max-height:none;min-height:0;margin:0;overflow:hidden;box-shadow:none;
}
.room-dashboard #live[data-fullscreen="film-chat"] #hangout #room-chat #messages{
 flex:1;min-height:0;max-height:none;overflow:auto;overscroll-behavior:contain;
}
.room-dashboard #live[data-fullscreen="film-chat"] #hangout #room-chat :is(.side-head,.chat-form){flex:none}
.room-dashboard #live #hangout #film-chat-exit:not([hidden]){
 display:inline-flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap;min-height:32px;
}
.room-dashboard #live #hangout #film-chat-exit svg{width:15px;height:15px}
@media(max-width:690px) and (orientation:portrait), (max-width:510px){
 .room-dashboard #live[data-fullscreen="film-chat"] #hangout .room-board{
  grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,55fr) minmax(0,45fr);
 }
 .room-dashboard #live[data-fullscreen="film-chat"] #hangout .room-board .room-radio-rail{grid-column:1;grid-row:2}
}
@media(max-width:799px){
 .room-dashboard #live #hangout .hang-bar:has(.room-tools-v7[open]){z-index:38}
 .room-dashboard #live #hangout .digi-tool-group .room-flyout-v7{
  inset-block-end:max(76px,calc(env(safe-area-inset-bottom) + 67px));
  max-height:min(52dvh,calc(100dvh - 88px));
 }
}

/* Keep the seek bar and transport inside the focused player on short screens. */
.room-dashboard #live[data-fullscreen="film-chat"] #hangout #film-viewport[data-player="direct"]>.film-viewport-controls{
 position:absolute;inset:0;display:block;padding:0;background:none;pointer-events:none;
}
.room-dashboard #live[data-fullscreen="film-chat"] #hangout #film-viewport[data-player="direct"]>.film-viewport-controls .film-hud-center{
 position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);
}
.room-dashboard #live[data-fullscreen="film-chat"] #hangout #film-viewport[data-player="direct"]>.film-viewport-controls .film-hud-bottom{
 position:absolute;inset:auto 0 0;padding:8px clamp(8px,1.5vw,14px) 5px;
 background:linear-gradient(0deg,#08080af2,#08080ab0 63%,transparent);
}

/* One lobby list, with an accessible status glyph for each room. */
.room-dashboard .digi-hero-kicker{
 font-family:RoomEstedad,RoomVazir,Call,sans-serif;font-size:clamp(.94rem,2vw,1.35rem);letter-spacing:0;color:#ece8ea;
}
.room-list-heading{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px}
.room-dashboard .room-entry-status{
 display:inline-flex;align-items:center;gap:5px;font-size:.72rem;font-weight:700;line-height:1.4;white-space:nowrap;
 border:1px solid #604044;border-radius:999px;background:#341e23;color:#ffb8c1;padding:4px 7px;
}
.room-dashboard .room-entry-status[data-lock=open]{color:#a8e6b9;background:#1a3124;border-color:#385d45}
.room-dashboard .room-entry-status svg{width:15px;height:15px}
#setup-room-lock{margin-top:5px}

/* The two switches send through the same microphone track. */
.room-dashboard .room-mic-switch{position:relative;display:flex;align-items:stretch;min-width:0;gap:3px}
.room-dashboard #digi-call-slot .controls .room-mic-switch{flex:1.45 1 0}
.room-dashboard .room-mic-key{touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.room-dashboard .room-mic-switch[data-mode=ptt] .room-mic-key{
 border-color:#98713d;background:#382b20;color:#ffd59c;
}
.room-dashboard .room-mic-switch[data-sending] .room-mic-key{
 border-color:#52896b;background:#274638;color:#acf0c6;
}
.room-dashboard .room-mic-menu-btn{
 display:grid;place-content:center;min-width:23px;padding:0 4px;border-radius:8px;border:1px solid #40363a;
 background:#262225;color:#f7e9ed;font-size:1rem;line-height:1;
}
.room-dashboard .room-mic-menu,.room-dashboard .room-mic-hint{
 position:absolute;z-index:70;inset-inline-start:0;inset-block-end:calc(100% + 7px);width:max-content;
 min-width:140px;max-width:min(235px,90vw);border:1px solid #544349;border-radius:11px;
 padding:5px;background:#221b1e;color:#f6e8ed;box-shadow:0 12px 25px #0009;
}
.room-dashboard .room-mic-menu{display:grid;gap:3px}
.room-dashboard .room-mic-menu button{
 display:block;text-align:start;border:1px solid transparent;border-radius:7px;min-height:35px;padding:4px 9px;
 background:#33282d;color:inherit;font-size:.79rem;
}
.room-dashboard .room-mic-menu button[aria-pressed=true]{background:#562a34;border-color:#a76571;color:white}
.room-dashboard .room-mic-hint{font-size:.77rem;padding:9px 10px;pointer-events:none}
.room-dashboard #room-chat .room-mic-switch{display:none}
.room-dashboard #live[data-fullscreen=film-chat] #room-chat .side-head{gap:5px;flex-wrap:wrap}
.room-dashboard #live[data-fullscreen=film-chat] #room-chat .room-mic-switch{display:flex}
.room-dashboard #live[data-fullscreen=film-chat] #room-chat .room-mic-key{
 display:grid;place-items:center;min-height:33px;min-width:33px;padding:2px;border-color:#3a3337;background:#232124;
}
.room-dashboard #live[data-fullscreen=film-chat] #room-chat .room-mic-key small{display:none}
.room-dashboard #live[data-fullscreen=film-chat] #room-chat .room-mic-key svg{width:17px;height:17px}
.room-dashboard #live[data-fullscreen=film-chat] #room-chat .room-mic-switch[data-mode=ptt] .room-mic-key{background:#3b2e22;border-color:#896339}
.room-dashboard #live[data-fullscreen=film-chat] #room-chat .room-mic-switch[data-sending] .room-mic-key{background:#254234;border-color:#579071}
.room-dashboard #live[data-fullscreen=film-chat] #room-chat .room-mic-switch :is(.room-mic-menu,.room-mic-hint){
 inset-inline-start:auto;inset-inline-end:0;inset-block:calc(100% + 5px) auto;
}
.room-dashboard #live[data-fullscreen=film-chat] #room-chat .side-head{position:relative;z-index:2}

/* Draggable separator. On a narrow portrait screen it changes the chat height. */
.room-dashboard #live[data-fullscreen=film-chat] #hangout .room-board{
 grid-template-columns:minmax(0,1fr) 12px var(--film-chat-share,27%);gap:0;
}
.room-dashboard #live[data-fullscreen=film-chat] #hangout .room-board .room-radio-rail{grid-column:3;grid-row:1}
.room-dashboard .room-split-handle{
 grid-column:2;grid-row:1;z-index:4;display:grid;place-items:center;touch-action:none;cursor:col-resize;color:#73646b;
}
.room-dashboard .room-split-handle::before{content:"";width:4px;height:38px;border-radius:9px;background:currentColor}
.room-dashboard .room-split-handle:is(:hover,:focus-visible),.room-dashboard .room-board[data-resizing] .room-split-handle{color:#ff8f9d}
.room-dashboard .room-split-handle:focus-visible{outline:1px solid #ff8f9d;outline-offset:-1px}
.room-dashboard .room-board[data-resizing]{user-select:none}
.room-dashboard .room-board[data-resizing] iframe{pointer-events:none}
@media(max-width:690px) and (orientation:portrait), (max-width:510px){
 .room-dashboard #live[data-fullscreen=film-chat] #hangout .room-board{
  grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) 12px var(--film-chat-share,45%);
 }
 .room-dashboard #live[data-fullscreen=film-chat] #hangout .room-board .room-radio-rail{grid-column:1;grid-row:3}
 .room-dashboard .room-split-handle{grid-column:1;grid-row:2;cursor:row-resize}
 .room-dashboard .room-split-handle::before{width:38px;height:4px}
}
.room-dashboard #live[data-fullscreen=film-chat] #room-chat .room-mic-switch{position:static}
.room-dashboard #live[data-fullscreen=film-chat] #room-chat .room-mic-switch :is(.room-mic-menu,.room-mic-hint){
 inset-inline:5px auto;max-width:calc(100% - 10px);
}

.room-dashboard #live #room-chat .chat-send-status{
 flex:none;margin:0;padding:.3rem .7rem;font-size:.76rem;line-height:1.55;color:#ffd694;
 background:#211c17;border-top:1px solid #514133;
}
.room-dashboard #live #room-chat #chat-form button:disabled{opacity:.48;cursor:default;transform:none}

/* Device selection remains visible when the room-creation preview is hidden. */
.room-dashboard #setup .setup-device-row{grid-column:1/-1}
.room-dashboard #setup .setup-device-row[hidden]{display:none}
.room-dashboard #setup .setup-device-row .setup-devices-btn{justify-content:center;border-radius:12px;min-block-size:44px}
.room-dashboard #setup .setup-sound-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(12px,3vw,24px);margin-block-start:4px}
.room-dashboard #setup .setup-sound-actions .btn{justify-content:center;gap:6px;min-block-size:44px;border-radius:11px;padding-inline:6px;font-size:.84rem}
.room-dashboard #setup #mic-check-stop{grid-column:1/-1;justify-self:start}
@media(max-width:360px){
 .room-dashboard #setup .setup-sound-actions .btn{font-size:.73rem}
 .room-dashboard #setup .setup-sound-actions .btn svg{width:14px;height:14px}
}

/* The guide uses the same dark surfaces, text and controls as pre-join. */
.room-dashboard #guide .guide{display:grid;gap:0}
.room-dashboard #guide .guide p{margin:0;padding:12px 0;color:var(--setup-muted);line-height:1.9}
.room-dashboard #guide .guide p+p{border-top:1px solid var(--setup-line)}
.room-dashboard #guide .guide p b{color:var(--setup-text)}
