/* Full browser viewport; no fullscreen API and no outer control bars. */
.game-shell{position:fixed;inset:0;width:100%;height:var(--viewport-height);padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);display:flex;align-items:center;justify-content:center;overflow:hidden;background:#010305}
/* Let the existing child loader use the full safe area, including portrait errors. */
.game-stage{position:relative;width:100%;height:100%;flex:none;min-width:0;min-height:0}
/* Godot also keeps 960:540 internally. Only the displayed box resizes; the iframe stays alive. */
.game-shell.playing .game-stage{width:min(100%,calc((var(--viewport-height) - env(safe-area-inset-top) - env(safe-area-inset-bottom))*16/9));height:auto;aspect-ratio:16/9}
