/* One full-width viewing area; the chat shares the screen with the player. */
.public-site .page-columns.has-rail:has(.live-stage){grid-template-columns:minmax(0,1fr);gap:0}
.public-site .page-columns:has(.live-stage)>.site-rail{display:none}
.public-site .site-main:has(.live-stage)>.breadcrumbs{margin:18px 0 10px}
.public-site .inner-live-intro{padding:8px 0 18px!important;gap:12px;align-items:center}
.public-site .inner-live-intro .eyebrow{margin:0 0 12px;font-size:9px}
.public-site .inner-live-intro h1{margin:0;font-size:clamp(24px,2.8vw,40px);line-height:1.15;letter-spacing:-.035em}
.public-site .inner-live-intro h1 .inner-outline{display:inline;font:inherit;margin:0}
.public-site .inner-live-intro p{margin:10px 0 0;font-size:13px;line-height:1.5}
.public-site .inner-live-intro .inner-live-status{align-self:center;padding:9px 12px;white-space:nowrap}
.live-stage{position:relative;min-width:0;outline-offset:4px}
.live-view-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;margin-bottom:10px;padding:0 4px}
.live-view-controls[hidden]{display:none}
.live-view-label{font-weight:800;font-size:12px;letter-spacing:-.02em;white-space:nowrap}
.live-view-label>span{font-weight:500;font-size:9px;color:var(--muted);margin-left:5px;letter-spacing:.08em}
.live-view-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.live-view-actions>button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;border:1px solid #b5e5c522;border-radius:12px;background:#12251c75;backdrop-filter:blur(12px);color:#dee8e1;padding:8px 13px;font:inherit;font-size:12px;cursor:pointer}
.live-view-actions>button[aria-pressed=true],.live-view-actions>button:hover{background:#bafa3420;border-color:#bafa3460}
.live-view-actions .icon{width:16px;height:16px}
.public-site .live-stage .live-room{display:grid;grid-template-columns:minmax(0,1fr) clamp(300px,25vw,360px);gap:16px;align-items:stretch;margin:0;min-width:0}
.public-site .live-stage .inner-player{min-width:0;width:100%;height:100%;min-height:0;aspect-ratio:16/9;margin:0;border-radius:20px;border:1px solid #b7e2c12b;background:#040906;overflow:hidden}
.public-site .live-stage .inner-player .video-empty{position:relative;inset:auto;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;box-sizing:border-box;min-height:100%;height:100%;padding:60px 30px 54px;text-align:left}
.public-site .live-stage .inner-player .video-empty h2{font-size:clamp(23px,2.5vw,34px);line-height:1.2;margin:15px 0 0;max-width:650px}
.public-site .live-stage .inner-player .video-empty p{font-size:13px;max-width:460px;margin:14px 0 18px;line-height:1.6}
.public-site .live-stage .inner-player .inner-offline-symbol{width:48px;height:48px;flex:0 0 auto}
.public-site .live-stage .inner-player .video-id{top:20px;left:24px}
.public-site .live-stage .inner-player .video-caption{bottom:18px;left:24px}
.public-site .live-stage .site-chat{height:auto;min-height:0;max-height:none;border-radius:20px}
.live-stage.is-chat-hidden .site-chat{display:none!important}
.public-site .live-stage.is-chat-hidden .live-room,.public-site .live-stage .live-room:not(:has(.inner-player)){grid-template-columns:minmax(0,1fr)}
.public-site .live-stage.is-chat-hidden .inner-player{max-height:72vh;min-height:360px}
.public-site .live-stage.is-theater .live-room{grid-template-columns:minmax(0,1fr) clamp(280px,24vw,340px)}
.public-site .live-stage.is-theater .inner-player{min-height:min(65vh,680px);aspect-ratio:auto}
.public-site .inner-stream-bar{padding:18px 0;border-color:#ffffff15}
.public-site .inner-live-archive{margin-top:28px}
body.live-screen-open{overflow:hidden}
body.live-screen-open>.orbit-launcher{visibility:hidden}
.public-site .live-stage.is-fullscreen{position:fixed;inset:var(--live-top,0px) 0 auto;z-index:2000;width:100%;height:var(--live-vh,100dvh);max-height:100dvh;box-sizing:border-box;padding:max(8px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));display:flex;flex-direction:column;background:#050b08;overflow:hidden}
.live-stage.is-fullscreen::backdrop{background:#050b08}
.live-stage.is-fullscreen .live-view-controls{flex:0 0 auto;margin-bottom:8px;padding:0}
.public-site .live-stage.is-fullscreen .live-room{flex:1;min-height:0;align-items:stretch;grid-template-columns:minmax(0,1fr) clamp(280px,24vw,380px)}
.public-site .live-stage.is-fullscreen.is-chat-hidden .live-room{grid-template-columns:minmax(0,1fr)}
.public-site .live-stage.is-fullscreen .inner-player{min-height:0;max-height:none;height:100%;aspect-ratio:auto}
.public-site .live-stage.is-fullscreen .site-chat{height:100%;max-height:100%;min-height:0}
.live-stage.is-fullscreen [data-live-theater]{display:none}
@media(max-width:900px){
 .public-site .inner-live-intro{padding:8px 0 12px!important}
 .public-site .inner-live-intro h1{font-size:clamp(20px,3.5vw,32px)}
 .public-site .live-stage .live-room,.public-site .live-stage.is-theater .live-room{grid-template-columns:minmax(0,1fr);gap:12px}
 .public-site .live-stage .inner-player,.public-site .live-stage.is-theater .inner-player{height:auto;min-height:0;max-height:none;aspect-ratio:16/9}
 .public-site .live-stage .site-chat{height:420px;max-height:min(540px,72dvh)}
 .live-view-label{display:none}
 .live-view-controls{justify-content:flex-end}
 .live-view-actions>button{padding:8px 11px}
 .public-site .live-stage.is-fullscreen .live-room{display:flex;flex-direction:column;gap:8px}
 .public-site .live-stage.is-fullscreen .inner-player{flex:1;min-height:0;width:100%;height:auto;aspect-ratio:auto}
 .public-site .live-stage.is-fullscreen.is-chat-open .inner-player{flex:0 0 auto;aspect-ratio:16/9;max-height:35%;min-height:90px}
 .public-site .live-stage.is-fullscreen .site-chat{flex:1;min-height:0;max-height:none;height:0}
}
@media(max-width:680px){
 .public-site .inner-live-intro h1{font-size:clamp(18px,5.4vw,30px);letter-spacing:-.045em;line-height:1.25}
 .public-site .inner-live-intro .eyebrow{font-size:8px;margin-bottom:10px}
 .public-site .inner-live-intro .inner-live-status{top:7px;padding:7px 10px;font-size:7px}
 .public-site .inner-live-intro p{font-size:12px;margin:8px 0 0}
 .live-view-controls{margin-bottom:6px}
 .live-view-actions{width:100%;justify-content:space-between;gap:5px}
 .live-view-actions>button{gap:5px;padding:7px 9px;font-size:10px}
 .live-view-actions .icon{width:15px;height:15px}
 .public-site .live-stage .inner-player{border-radius:16px}
 .public-site .live-stage .inner-player .video-empty{padding:38px 17px 30px}
 .public-site .live-stage .inner-player .video-empty h2{font-size:20px;margin-top:10px}
 .public-site .live-stage .inner-player .video-empty p{font-size:11px;line-height:1.5;margin:9px 0 12px}
 .public-site .live-stage .inner-player .video-id{top:12px;left:17px;font-size:10px}
 .public-site .live-stage .inner-player .video-id>span{font-size:7px}
 .public-site .live-stage .inner-player .video-caption{display:none}
 .public-site .live-stage .inner-player .inner-offline-symbol{display:none}
 .public-site .live-stage .inner-player .video-empty .button{min-height:38px;padding:9px 13px;font-size:10px}
 .public-site .live-stage .site-chat{border-radius:16px;height:380px}
 .public-site .live-stage.is-fullscreen.is-chat-open .inner-player:not([data-player]) .video-empty p,.public-site .live-stage.is-fullscreen.is-chat-open .inner-player:not([data-player]) .video-empty .button,.public-site .live-stage.is-fullscreen.is-chat-open .inner-player .video-id{display:none}
 .public-site .live-stage.is-fullscreen.is-chat-open .inner-player .video-empty{padding:12px}
 .public-site .live-stage.is-fullscreen.is-chat-open .inner-player .video-empty h2{font-size:18px}
}
@media(max-width:1000px) and (orientation:landscape){
 .public-site .live-stage.is-fullscreen .live-room{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,34%);gap:8px}
 .public-site .live-stage.is-fullscreen.is-chat-hidden .live-room{grid-template-columns:minmax(0,1fr)}
 .public-site .live-stage.is-fullscreen.is-chat-open .inner-player{height:100%;max-height:none;min-height:0;aspect-ratio:auto}
 .public-site .live-stage.is-fullscreen .site-chat{height:100%;min-height:0}
 .public-site .live-stage.is-fullscreen .inner-player .video-empty{padding:22px 18px}
 .public-site .live-stage.is-fullscreen .inner-player .video-id,.public-site .live-stage.is-fullscreen .inner-player .video-caption,.public-site .live-stage.is-fullscreen .inner-player .inner-offline-symbol{display:none}
 .public-site .live-stage.is-fullscreen .inner-player .video-empty h2{font-size:22px;margin-top:0}
}
@media(prefers-reduced-motion:no-preference){.live-view-actions>button{transition:background .16s,border-color .16s}}

/* Message history may shrink inside a short fullscreen viewport; the composer stays reachable. */
.public-site .live-stage.is-fullscreen .chat-history,.public-site .live-stage.is-fullscreen .chat-messages{min-height:0}
.public-site .live-stage.is-fullscreen .chat-messages{box-sizing:border-box;flex:1;height:auto}
.public-site .live-stage.is-keyboard-open .chat-heading{min-height:44px;padding:0 10px}
.public-site .live-stage.is-keyboard-open .chat-form{padding-top:6px}
.public-site .live-stage.is-keyboard-open .chat-identity,.public-site .live-stage.is-keyboard-open .chat-rules{display:none}
.public-site .live-stage.is-keyboard-open .site-chat:has(.chat-name-editor:not([hidden])) .chat-compose-row{display:none}
@media(max-width:900px) and (orientation:portrait){.public-site .live-stage.is-fullscreen.is-keyboard-open.is-chat-open .inner-player{display:none}}

/* Only clear the live composer when the floating menu would obscure it. */
body.live-compose-clear>.orbit-launcher{visibility:hidden;pointer-events:none}

@media(max-width:900px){.public-site .live-stage.is-keyboard-tight .chat-heading{display:none}.public-site .live-stage.is-keyboard-tight .inner-player .video-empty p,.public-site .live-stage.is-keyboard-tight .inner-player .video-empty .button{display:none}}

/* Native fullscreen fixes its own viewport box; reserve the obscured keyboard area inside it. */
.public-site .live-stage.is-fullscreen:fullscreen{padding-top:calc(max(8px,env(safe-area-inset-top)) + var(--live-view-offset,0px));padding-bottom:calc(max(8px,env(safe-area-inset-bottom)) + max(0px,100dvh - var(--live-vh,100dvh) - var(--live-view-offset,0px)))}

/* A single load action plus the platform notice must fit the compact 16:9 poster. */
@media(max-width:900px){
 .public-site .live-stage .inner-player[data-player] .video-empty{padding:14px 17px}
 .public-site .live-stage .inner-player[data-player] .video-empty .play-round{display:none}
 .public-site .live-stage .inner-player[data-player] .video-empty h2{font-size:clamp(18px,2.6vw,24px);line-height:1.2;margin:0}
 .public-site .live-stage .inner-player[data-player] .video-empty p{font-size:11px;line-height:1.4;margin:7px 0 9px}
 .public-site .live-stage .inner-player[data-player] .inner-player-consent{font-size:9px;line-height:1.35;margin-top:3px}
 .public-site .live-stage .inner-player[data-player] .video-id{display:none}
 .public-site .live-stage .inner-player[data-player] .video-empty .button{min-height:36px;padding:8px 13px;font-size:10px}
}

/* The regular landscape panel is height-capped too; history yields space to its composer. */
.public-site .live-stage .chat-history,.public-site .live-stage .chat-messages{min-height:0}
