/* V29: one quiet frame around the authored Green Room. */
html body.stadium-green:not(.in-power-court) {
  --club-edge:clamp(12px,2vw,28px);--club-footer:174px;
}
html body.stadium-green:not(.in-power-court) #world-ui {background:linear-gradient(#020406e8 0 66px,transparent 102px,transparent calc(100% - 194px),#020406f5 calc(100% - 168px));}
html body.stadium-green #world-ui .mast {position:fixed!important;inset:0 0 auto!important;box-sizing:border-box;min-height:68px;padding:10px var(--club-edge)!important;display:flex!important;align-items:center;flex-wrap:nowrap!important;gap:10px!important;background:#020406e8!important;border-bottom:1px solid #d2e0e51c;}
html body.stadium-green #world-ui .mast .wordmark {font-size:23px!important;color:#eef2f4!important;min-width:92px;flex:1;margin:0!important;}
html body.stadium-green #world-ui .mast .wordmark small {font-size:9px!important;letter-spacing:.16em;}
html body.stadium-green #world-ui .mast :is(summary,.stadium-return-link){font-size:10px!important;min-height:44px;padding:0 13px;white-space:nowrap;}
html body.stadium-green:not(.in-power-court) :is(#pfTick,#pfTag,#stadiumPlayAccess,#chillNavigation,#boardHotspot,.opening-title) {display:none!important;}
html body.stadium-green:not(.in-power-court) #stadiumArrival {left:var(--club-edge)!important;right:auto!important;top:83px!important;bottom:auto!important;max-width:min(300px,62vw)!important;padding:0!important;pointer-events:none;background:none!important;}
html body.stadium-green:not(.in-power-court) #stadiumArrival h2 {font-size:clamp(24px,3.1vw,43px)!important;line-height:.94!important;margin:7px 0!important;}
html body.stadium-green:not(.in-power-court) #stadiumArrival :is(p,.stadium-arrival-status,.stadium-arrival-live) {display:none!important;}
html body.stadium-green:not(.in-power-court) #stadiumArrival h2 :is(em,span){color:#f2f5f4!important;}
html body.stadium-green #world-ui :is(#choices,#choices[data-layout=dock]) {position:fixed!important;inset:auto var(--club-edge) 111px!important;width:auto!important;height:58px!important;transform:none!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px!important;pointer-events:none;}
html body.stadium-green #world-ui #choices .mode {position:relative!important;inset:auto!important;transform:none!important;box-sizing:border-box!important;width:auto!important;height:58px!important;min-height:58px!important;max-width:none!important;max-height:none!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:row!important;gap:7px!important;padding:8px 12px!important;text-align:center!important;border-radius:15px!important;background:linear-gradient(145deg,#ced6df19,#04070ac4)!important;border:1px solid #d3dee641!important;color:#edf2f4!important;pointer-events:auto;}
html body.stadium-green #world-ui #choices .mode strong {font:750 clamp(14px,1.6vw,19px)/1.05 Inter,Arial,sans-serif!important;letter-spacing:.025em!important;color:inherit!important;}
html body.stadium-green #world-ui #choices .mode:first-child {color:#ffe66f!important;border-color:#ebd36188!important;}
html body.stadium-green #world-ui #choices .mode :is(.index,.detail) {display:none!important;}
html body.stadium-green #world-ui .world-footer {position:fixed!important;inset:auto var(--club-edge) 8px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;height:48px!important;min-height:48px!important;padding:0!important;}
html body.stadium-green #world-ui .stadium-angle-rail {grid-column:auto!important;grid-row:auto!important;justify-content:flex-start!important;padding:0!important;min-width:0;}
html body.stadium-green #world-ui .stadium-angle-control {width:100%;gap:4px;}
html body.stadium-green #world-ui .stadium-angle-control>.stadium-angle-open {min-width:0!important;max-width:none!important;flex:1;padding:6px 10px!important;gap:3px!important;}
html body.stadium-green #world-ui .stadium-angle-control>.stadium-angle-open small {max-width:100%;}
html body.stadium-green #world-ui .stadium-angle-control>button[data-step] {min-width:40px!important;width:40px;}
html body.stadium-green #world-ui :is(.club-explore,.stadium-room-info) {position:fixed!important;bottom:62px!important;width:auto!important;}
html body.stadium-green #world-ui .club-explore {right:var(--club-edge)!important;left:auto!important;}
html body.stadium-green #world-ui .stadium-room-info {left:var(--club-edge)!important;right:auto!important;}
html body.stadium-green #world-ui :is(.club-explore,.stadium-room-info,.stadium-world-tools)>summary {min-height:40px!important;font:650 10px/1.1 Inter,Arial,sans-serif!important;letter-spacing:.055em!important;padding:0 12px!important;}
html body.stadium-green #world-ui :is(.club-explore-panel,.stadium-room-info-panel,.stadium-world-tools>.settings) {background:#030609de!important;border:1px solid #b8cad549!important;border-radius:18px!important;box-shadow:0 18px 48px #0008,inset 0 1px #ffffff2e;max-height:calc(100dvh - 220px)!important;overflow:auto;}
html body.stadium-green:not(.in-power-court) :is(#courtsideVault,#openFlightLab) {position:fixed!important;left:auto!important;right:var(--club-edge)!important;top:82px!important;bottom:auto!important;width:144px!important;min-height:44px!important;height:44px!important;padding:8px 12px!important;font-size:10px!important;text-align:left;}
html body.stadium-green:not(.in-power-court) #courtsideVault>span {display:none!important;}
html body.stadium-green:not(.in-power-court) #openFlightLab {top:134px!important;}
html body.stadium-green:not(.in-power-court) #freeCamToggle {right:var(--club-edge)!important;left:auto!important;top:auto!important;bottom:calc(var(--club-footer) + 12px)!important;width:66px!important;min-height:44px!important;}
@media(max-width:640px){
 html body.stadium-green #world-ui .mast {gap:5px!important;}
 html body.stadium-green #world-ui .mast .wordmark {min-width:74px;font-size:19px!important;}
 html body.stadium-green #world-ui .mast :is(summary,.stadium-return-link){font-size:9px!important;padding:0 9px!important;}
 html body.stadium-green:not(.in-power-court) #stadiumArrival {max-width:calc(100vw - 180px)!important;}
 html body.stadium-green:not(.in-power-court) #stadiumArrival h2 {font-size:26px!important;}
 html body.stadium-green #world-ui #choices .mode {padding:8px!important;gap:4px!important;}
 html body.stadium-green #world-ui #choices .mode strong {font-size:12px!important;}
 html body.stadium-green #world-ui .stadium-world-tools>summary {max-width:104px;padding:0 8px!important;font-size:9px!important;}
 html body.stadium-green #world-ui .stadium-angle-control>.stadium-angle-open>span {font-size:9px;}
 html body.stadium-green #world-ui .stadium-angle-control>.stadium-angle-open>small {font-size:10px;}
}
@media(max-height:560px) and (orientation:landscape){
 html body.stadium-green{--club-footer:112px;}
 html body.stadium-green #world-ui :is(#choices,#choices[data-layout=dock]){bottom:60px!important;left:calc(50% - 160px)!important;right:var(--club-edge)!important;height:44px!important;}
 html body.stadium-green #world-ui #choices .mode{height:44px!important;min-height:44px!important;}
 html body.stadium-green #world-ui :is(.club-explore,.stadium-room-info){bottom:62px!important;}
 html body.stadium-green #world-ui .club-explore{left:150px!important;right:auto!important;}
 html body.stadium-green:not(.in-power-court) #stadiumArrival h2{font-size:24px!important;}
}
/* Keep navigation available during the idle camera tour; cinematics keep their own controls. */
html body.stadium-green:not(.in-power-court):not(.cinematic-active):not(.cinematic-entry):not(.arrival-waiting):not(.departing) #world-ui,
html body.stadium-green:not(.in-power-court):not(.cinematic-active):not(.cinematic-entry):not(.arrival-waiting):not(.departing) #world-ui #choices {opacity:1!important;visibility:visible!important;}
html body.stadium-green:not(.in-power-court) :is(#pfSub,.stadium-arrival-travel,.stadium-arrival-announcement) {display:none!important;}
html body.stadium-green:not(.in-power-court) .rotor-emblem-launch {position:fixed!important;left:auto!important;right:var(--club-edge)!important;top:186px!important;bottom:auto!important;width:144px!important;min-height:44px!important;transform:none!important;}
html body.stadium-green #world-ui #choices[data-layout] .mode[data-rotor-ui-3d] {background:transparent!important;border-color:transparent!important;}
html body.stadium-green.emblem-editor-open #world-ui :is(#choices,.club-explore,.stadium-room-info,.world-footer),
html body.stadium-green.emblem-editor-open :is(#stadiumArrival,#courtsideVault,#openFlightLab,.rotor-emblem-launch) {display:none!important;}
/* Keep the navigation above the full-viewport canvas and out of tour fade groups. */
html body.stadium-green:not(.in-power-court) #world-ui {z-index:20!important;}
html body.stadium-green:not(.in-power-court):not(.cinematic-active):not(.cinematic-entry):not(.arrival-waiting):not(.departing) #world-ui .opening-actions {opacity:1!important;visibility:visible!important;}
html body.stadium-green #world-ui .world-footer>.stadium-angle-rail {grid-column:1!important;grid-row:1!important;}
html body.stadium-green #world-ui .world-footer>.stadium-world-tools {grid-column:2!important;grid-row:1!important;align-self:center;}

/* Stadium 35: keep the compact glass kiosks clear of secondary overlays. */
html body.stadium-green[data-kiosk-nav="true"] .stadium-world-markers{visibility:hidden!important;pointer-events:none!important}
html body.stadium-green[data-kiosk-nav="true"] #pfDeck[data-media-kind="native"]:not(.expanded){display:none!important;visibility:hidden!important;pointer-events:none!important}
html body.stadium-green:is([data-kiosk-nav="true"],.green-room-music-open) #pfMusicWake{display:block!important;visibility:visible!important;opacity:1!important;position:fixed!important;right:18px!important;bottom:78px!important;left:auto!important;top:auto!important;min-width:104px!important;min-height:44px!important;padding:10px 16px!important;border:1px solid #b5d9c352!important;border-radius:22px!important;background:#0b1a15e8!important;color:#e8fff1!important;font:700 14px/1.2 "Barlow Condensed",sans-serif!important;letter-spacing:.04em!important;z-index:21!important;pointer-events:auto!important}
html body.stadium-green:is([data-kiosk-nav="true"],.green-room-music-open) #pfMusicWake:focus-visible{outline:2px solid #bcff67!important;outline-offset:3px!important}
@media(max-width:760px){html body.stadium-green[data-kiosk-nav="true"] .stadium-room-info{visibility:hidden!important;pointer-events:none!important}}

html body.rotor-access-ready.rotor-access-ready.stadium-green.green-room-music-open #world-ui .opening-actions,
html body.rotor-access-ready.rotor-access-ready.stadium-green.green-room-music-open #world-ui #choices{display:none!important;visibility:hidden!important;pointer-events:none!important}
@media(max-width:760px){html body.stadium-green:is([data-kiosk-nav="true"],.green-room-music-open) .stadium-location-dial-toggle{display:none!important;visibility:hidden!important;pointer-events:none!important}html body.stadium-green:is([data-kiosk-nav="true"],.green-room-music-open) .stadium-room-info{visibility:hidden!important;pointer-events:none!important}}

@media(max-width:760px){html body.stadium-green:is([data-kiosk-nav="true"],.green-room-music-open) #stadiumArrival{display:none!important;visibility:hidden!important;pointer-events:none!important}}

html body.stadium-green:is([data-kiosk-nav="true"],.green-room-music-open) #freeCamToggle{display:none!important;visibility:hidden!important;pointer-events:none!important}
