/* Shared proportional game viewport: keep the whole game visible after rotation. */
body.sft-game-playing #app > .el-container > .el-main{overflow:hidden!important;display:flex!important;flex-direction:column!important;min-height:0!important}
body #app .embedded-player{display:flex;flex-direction:column!important;min-height:0!important;box-sizing:border-box!important;flex-shrink:0}
body #app .embedded-player-toolbar{flex:0 0 auto!important}
body #app .embedded-game-viewport{position:relative;flex:1 1 0%;min-height:0;min-width:0;overflow:hidden;background:#000}
body #app .embedded-game-viewport > .embedded-game-frame{position:absolute!important;top:50%!important;left:50%!important;max-width:none!important;max-height:none!important;min-width:0!important;min-height:0!important;transform-origin:center center!important;margin:0!important;border:0!important;display:block}
