
html.toro-game,html.toro-game body{width:100%;height:100%;height:100dvh;overflow:hidden;margin:0;overscroll-behavior:none}
html.toro-immersive,html.toro-immersive body{width:100%;height:100%;height:100dvh;overflow:hidden;overscroll-behavior:none}
html.toro-immersive #lobby{display:none!important}
.toro-game #hint,.toro-game #controls,.toro-game .toro-controls-hint{display:none!important}
.toro-game #toro-menu{position:fixed;right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));z-index:9001;width:40px;height:40px;margin:0;padding:0;border:1px solid #8ab9bd80;border-radius:12px;background:#132536dd;color:#eafcff;font:700 22px system-ui;cursor:pointer}
.toro-game #toro-options{position:fixed;right:12px;bottom:62px;z-index:9000;width:min(360px,calc(100vw - 24px));max-height:65dvh;overflow:auto;background:#14283af5;color:#eafcff;border:1px solid #6c929d;border-radius:18px;padding:16px;box-shadow:0 16px 60px #0007;display:flex;flex-direction:column;gap:12px;font:13px system-ui}
.toro-game #toro-options[hidden]{display:none!important}.toro-game #toro-options>nav{display:flex;gap:8px;flex-wrap:wrap}.toro-game #toro-options a,.toro-game #toro-options button{width:auto;margin:0;padding:9px 12px;border:1px solid #68818e;border-radius:8px;background:#254357;color:white;text-decoration:none;font:600 12px system-ui;cursor:pointer}
.toro-game #toro-options :is(#local-toolbar,#toolbar,footer,.stage-actions){position:static!important;inset:auto!important;transform:none!important;width:100%!important;max-width:none!important;display:flex!important;flex-wrap:wrap!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;gap:8px!important}
.toro-game #toro-options :is(select,input){max-width:100%;min-width:0}.toro-game #toro-options .demo-panel{margin:0}.toro-game #toro-options small{white-space:normal}.toro-game .toro-offline-link{display:none!important}
.toro-game #toro-options .toro-offline-link{display:block!important;position:static!important}
@media(pointer:fine) and (hover:hover){.toro-game :is(.toro-pad,.toro-actions,#pad,#touch,.touch,.shell-turbo){display:none!important}}
.toro-game[data-game="tronwars"] body>header,.toro-game[data-game="tronwars"] main>aside{display:none!important}.toro-game[data-game="tronwars"] main{display:block;padding:0;margin:0;width:100%;max-width:none;height:100dvh}.toro-game[data-game="tronwars"] .stage{position:fixed;inset:0;width:100vw;height:100dvh;min-height:0;border:0;border-radius:0}.toro-game[data-game="tronwars"] .hud{right:12px}.toro-game .shell-turbo{position:fixed;bottom:max(24px,env(safe-area-inset-bottom));right:16px;z-index:45;max-width:125px;font-size:12px}
@media(max-width:700px),(pointer:coarse){
 .toro-game #toro-menu{top:max(9px,env(safe-area-inset-top));bottom:auto;left:50%;right:auto;transform:translateX(-50%);width:34px;height:34px;font-size:19px}
 .toro-game #toro-options{left:8px;right:8px;bottom:max(8px,env(safe-area-inset-bottom));width:auto;max-height:55dvh}
 .toro-game #overlay{position:fixed!important;inset:0!important;align-items:end!important;place-items:end center!important;padding:0!important;background:linear-gradient(transparent,#07132688)!important;backdrop-filter:none!important;z-index:80}
 .toro-game #overlay>:is(section,.panel,div){width:100%!important;max-width:100%!important;max-height:65dvh!important;overflow-y:auto!important;border-radius:22px 22px 0 0!important;padding:18px max(18px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom))!important;box-sizing:border-box}
 .toro-game #overlay :is(.emblem,.mascot,.eyebrow,.rules){display:none!important}.toro-game #overlay h2{font-size:25px;margin:3px 0 8px}.toro-game #overlay p{font-size:12px;line-height:1.45;margin:8px 0;min-height:0}.toro-game #overlay #controls{display:none!important}
 .toro-game .modal{left:0!important;right:0!important;top:auto!important;bottom:0!important;transform:none!important;width:100%!important;max-height:65dvh;overflow:auto;border-radius:22px 22px 0 0;padding:20px!important}.toro-game .modal h1{font-size:30px;margin:8px 0}.toro-game .modal p{line-height:1.4}.toro-game .modal label{margin:12px 0 6px}
 .toro-game :is(#board,#leaderboard,#sw-ranking)>:nth-child(n+4),.toro-game #leaders>:nth-child(n+4){display:none!important}
 .toro-game :is(#minimap,#sw-minimap,#city-minimap){display:none!important}
 .toro-game :is(.toro-pad,.toro-actions,.toro-controls-hint,#pad,#touch,.touch-controls){display:none!important}
 .toro-game :is(#scoreboard,#stats){font-size:11px}.toro-game #vitals{top:80px!important}.toro-game #vitals .meter{height:4px}.toro-game #toolbar{gap:5px}
 .toro-game #lobby :is(.ctrl-btns,.ctrl-btn){display:none!important}
 .toro-game[data-game="holewars"] header{padding:10px}.toro-game[data-game="holewars"] header>a{display:none}.toro-game[data-game="holewars"] #stats{top:58px;left:8px;padding:9px;gap:12px}.toro-game[data-game="holewars"] aside{top:58px;right:8px;width:125px;padding:9px}.toro-game[data-game="holewars"] .city-badge{bottom:auto;top:119px;left:8px;transform:none;font-size:10px;padding:5px 8px}.toro-game[data-game="holewars"] #stats strong{font-size:17px;margin-top:3px}
 .toro-game[data-game="tronwars"] :is(.touch,.shell-turbo){display:none!important}.toro-game[data-game="tronwars"] .hud{right:8px;left:8px;top:52px}.toro-game[data-game="tronwars"] .hud span{font-size:10px;padding:6px}
 .toro-game #hud-snake .sw-ranking-box{min-width:130px;width:145px;padding:8px}.toro-game #sw-ranking .sw-row{font-size:10px}
}
@media(max-height:500px) and (orientation:landscape){.toro-game #overlay>:is(section,.panel,div){max-height:85dvh!important;width:min(520px,80vw)!important;border-radius:18px 18px 0 0!important}.toro-game #overlay #description{display:none}.toro-game :is(#minimap,#sw-minimap,#city-minimap,.toro-pad,.toro-actions){display:none!important}}

@media(max-width:700px),(pointer:coarse){.toro-game #gameover.show{align-items:flex-end!important}.toro-game #gameover .go-card{width:100%;max-width:100%;max-height:70dvh;overflow:auto;border-radius:22px 22px 0 0;padding:22px}.toro-game #toro-progress{bottom:10px!important;right:60px!important;max-width:65vw!important;font-size:10px!important}}

@media(max-width:700px),(pointer:coarse){.toro-game .toro-recovery{place-items:end center!important;padding:0!important}.toro-game .toro-recovery>section{width:100%;max-width:100%;max-height:65dvh;overflow:auto;border-radius:22px 22px 0 0!important}}
