/* A single viewport for the arena and its accessible controls. */
.weight-game.game-immersive{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;overflow:hidden!important;background:#101b2b}
.weight-game.game-immersive .game-shell{padding:0!important;max-width:none!important;width:100%;height:100%;display:block!important;position:relative}
.weight-game.game-immersive .game-shell>.game-arena{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;aspect-ratio:auto!important;margin:0!important;border:0;border-radius:0!important;overflow:hidden}
.weight-game.game-immersive .game-arena>.game-canvas{width:100%!important;height:100%!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain;border:0;border-radius:0}
.weight-game.game-immersive .game-shell>:not(.game-arena){display:none!important}
.weight-game.game-immersive .game-top{position:absolute!important;top:max(10px,env(safe-area-inset-top))!important;right:70px!important;left:auto!important;z-index:30!important;margin:0!important;padding:0!important;background:none!important;border:0!important}
.weight-game.game-immersive .game-top h2{display:none}
.weight-game.game-immersive .game-top>div{display:flex;gap:8px}
.weight-game.game-immersive .game-top button,.weight-game.game-immersive .game-arena-pause{min-width:48px!important;min-height:48px!important;width:48px;height:48px;border:1px solid #e4c574!important;border-radius:12px!important;background:#172840ed!important;color:#ffe3a1!important;font-size:24px!important;box-shadow:0 3px 10px #0005}
.weight-game.game-immersive [data-close]{background:#e4c574!important;color:#172338!important}
.weight-game.game-immersive .game-arena-pause{position:absolute!important;top:max(10px,env(safe-area-inset-top))!important;right:max(10px,env(safe-area-inset-right))!important;left:auto!important;z-index:31!important}
.weight-game.game-immersive [data-full]{display:none!important}
.weight-game.game-immersive .game-hud{position:absolute!important;top:calc(72px + env(safe-area-inset-top))!important;right:max(12px,env(safe-area-inset-right))!important;left:auto!important;width:max-content!important;max-width:calc(100% - 90px)!important;padding:7px 12px!important;margin:0!important;display:flex;flex-wrap:wrap;gap:5px 12px;background:#102039d9!important;border:1px solid #e4c57488;border-radius:12px;color:#ffe3a1;font-size:clamp(13px,2vw,18px);z-index:29;pointer-events:none}
.weight-game.game-immersive .game-hud [data-lives]{display:none}
.weight-game.game-immersive .game-arena-timer{top:calc(120px + env(safe-area-inset-top))!important}
.weight-game .immersive-jump{display:none!important}
.weight-game.game-immersive.game-playing .immersive-jump{display:block!important;position:absolute;bottom:max(18px,env(safe-area-inset-bottom));right:max(18px,env(safe-area-inset-right));z-index:24;min-width:100px;min-height:56px;border-radius:16px;background:#e4c574e8;color:#172338;border:2px solid #fff0b5;font-weight:bold;touch-action:manipulation}
.game-immersive button,.game-immersive a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.quiz-shell.game-immersive,.new-game-shell.game-immersive{position:fixed!important;inset:0!important;transform:none!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;min-height:0!important;margin:0!important;box-sizing:border-box;overflow:hidden;padding:0!important}
.quiz-shell.game-immersive{display:grid!important;grid-template-rows:58px minmax(0,1fr)!important;gap:0!important}
.new-game-shell.game-immersive{display:flex!important;flex-direction:column}
.game-immersive:is(.quiz-shell,.new-game-shell)>footer{display:none!important}
.game-immersive:is(.quiz-shell,.new-game-shell)>header{position:relative!important;inset:auto!important;flex-shrink:0;min-height:58px;height:58px!important;padding:6px max(8px,env(safe-area-inset-right))!important;gap:6px;background:#14253b!important;border-bottom:1px solid #e4c57455;z-index:40;display:flex!important;justify-content:space-between;flex-wrap:nowrap}
.game-immersive:is(.quiz-shell,.new-game-shell)>header button,.game-immersive:is(.quiz-shell,.new-game-shell)>header>a:first-child{min-height:44px;min-width:44px;padding:6px 9px;border-radius:10px;border:1px solid #e4c57477;font-size:13px}
.game-immersive:is(.quiz-shell,.new-game-shell)>main{min-height:0;flex:1;overflow:hidden;margin:0;padding:6px!important}
.new-game-shell.game-immersive>header #game-title{font-size:13px}
.new-game-shell.game-immersive>header .volume-control{display:none}
.game-immersive .cardio-audio-options .volume-control{display:block}
.gym-mode[data-phase=playing] .new-game-shell.game-immersive #game-main{display:flex;flex-direction:column;gap:5px}
.gym-mode .new-game-shell.game-immersive #game-main>.hud{flex-shrink:0;max-width:none;margin:0;padding:4px}
.gym-mode .new-game-shell.game-immersive #game-main>.stage{flex:1;min-height:0;max-width:none;width:100%;margin:0;overflow:hidden}
.gym-mode .new-game-shell.game-immersive #scene{width:100%;height:100%;object-fit:contain}
.gym-mode .new-game-shell.game-immersive #game-main>.tools{flex-shrink:0;margin:0;max-width:none;gap:4px}
.gym-mode .new-game-shell.game-immersive #game-main>.status{margin:0;padding:3px 8px;font-size:12px;min-height:0}
.gym-mode .new-game-shell.game-immersive #game-main>.help{display:none}
@media(max-width:400px){.game-immersive:is(.quiz-shell,.new-game-shell)>header .brand,.game-immersive:is(.quiz-shell,.new-game-shell)>header #game-title{display:none}.game-immersive:is(.quiz-shell,.new-game-shell)>header button{font-size:11px;padding:5px}}
