/* Full-window mode retains the same player and a reachable return control. */
.tube-player:not(.theta-expanded){width:min(1480px,97vw);max-width:97vw;max-height:95dvh}
.tube-player.theta-expanded{position:fixed;inset:0;margin:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0;border:0;overflow:auto}
.tube-player.theta-expanded .watch-layout{grid-template-columns:65px minmax(0,1fr)}
.tube-player.theta-expanded .watch-next{display:none}
.tube-player.theta-expanded .watch-main #playerStage{height:calc(100dvh - 155px);min-height:160px;aspect-ratio:auto}
.tube-player.theta-expanded .watch-main #playerStage video{height:100%;max-height:none;object-fit:contain}
.tube-player.theta-expanded .watch-tools{max-height:calc(100dvh - 95px);overflow-y:auto;scrollbar-width:thin}
#watchExpand[aria-pressed=true],#channelFullscreenBtn[aria-pressed=true]{border-color:#70d8ff;color:#8ce1ff;background:#15384f}
.channel-theta-player.theta-expanded{position:fixed!important;inset:0!important;margin:0!important;width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;z-index:10000;background:#03080d;box-sizing:border-box;overflow:auto;padding-bottom:95px}
.channel-theta-player.theta-expanded .channel-video{width:100%!important;height:calc(100dvh - 100px)!important;max-height:calc(100dvh - 100px)!important;object-fit:contain}
.channel-theta-player.theta-expanded .channel-player-controls{display:flex!important;flex-wrap:wrap!important;visibility:visible!important;opacity:1!important;position:relative!important;inset:auto!important;gap:7px;max-width:100%;box-sizing:border-box}
.playback-state{font:10px/1.4 system-ui;color:#83d7fa;min-height:14px;margin:3px 0}
body:has(.tube-player[open]) .screen-frame,body:has(.tube-player[open]) .signal-bar{animation-play-state:paused}
@media(max-width:760px){.tube-player:not(.theta-expanded){width:98vw;max-width:98vw;max-height:97dvh}.tube-player.theta-expanded .watch-layout{grid-template-columns:46px minmax(0,1fr)}.tube-player.theta-expanded .watch-main #playerStage{height:calc(100dvh - 155px)}}
