:root{color-scheme:dark;background:#08130d;font-family:Inter,system-ui,sans-serif}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100dvh;background:radial-gradient(circle at 50% 0%,#214a32,#08130d 64%)}main{min-height:100dvh;display:grid;place-items:center;padding:0}.game-shell{width:min(100%,540px);position:relative}#game{aspect-ratio:9 / 16;width:100%;overflow:hidden;touch-action:none}canvas{display:block;width:100%!important;height:auto!important}.help{margin:10px 0 0;color:#bdd9bd;font-size:13px;text-align:center}.touch-controls{position:absolute;inset:auto 0 2.5%;height:18%;pointer-events:none}.flipper-button{position:absolute;bottom:3%;width:74px;height:74px;border:3px solid #ffe7a9;border-radius:50%;color:transparent;font:900 25px/1 system-ui;box-shadow:inset 0 0 0 4px #77372b,0 5px #3e2119,0 0 22px #ffb84f99;pointer-events:auto;touch-action:none;cursor:pointer;-webkit-user-select:none;user-select:none}.flipper-button:active{transform:translateY(4px) scale(.96);box-shadow:inset 0 0 0 4px #a84c39,0 1px #3e2119,0 0 28px #ffcf66}.flipper-button.left{left:6%;background:radial-gradient(circle at 35% 28%,#ffdd8b,#ca613e 54%,#692c25)}.flipper-button.right{right:6%;background:radial-gradient(circle at 35% 28%,#ffdd8b,#ca613e 54%,#692c25)}.update-button{position:absolute;z-index:3;top:104px;left:50%;transform:translate(-50%);border:2px solid #fff0b5;border-radius:999px;padding:9px 14px;background:linear-gradient(180deg,#ffd677,#bb5b2c);color:#241309;font:800 12px/1 system-ui;box-shadow:0 3px #5a2817,0 0 20px #ffce6eaa;cursor:pointer}.update-button:active{transform:translate(-50%) translateY(3px);box-shadow:0 0 #5a2817,0 0 20px #ffce6eaa}.menu-button{position:absolute;z-index:4;top:18px;right:18px;width:42px;height:42px;border:2px solid #fff0b5;border-radius:50%;background:#1a3625d9;color:#fff5d2;font:900 23px/36px system-ui;box-shadow:0 2px 8px #0008;cursor:pointer}.menu-button:active{transform:scale(.92);background:#3b7049}.game-menu{position:absolute;z-index:5;top:66px;right:18px;width:205px;padding:14px;border:2px solid #fff0b5;border-radius:14px;background:#0d271af7;color:#fff5d2;box-shadow:0 5px 18px #000a}.game-menu label{display:flex;justify-content:space-between;margin-bottom:8px;font:800 12px/1 system-ui}.game-menu input{width:100%;accent-color:#e69a45}.menu-action{width:100%;margin-top:13px;padding:10px;border:1px solid #ffe7a9;border-radius:9px;background:#2d5c3b;color:#fff5d2;font:800 12px/1 system-ui;cursor:pointer}.menu-action:active{background:#467d50}.game-shell:fullscreen{width:100vw;height:100vh;display:block;background:#07120c}.game-shell:fullscreen #game{width:100%;height:100%;aspect-ratio:auto}.game-shell:fullscreen canvas{width:100%!important;height:100%!important}.game-shell.pseudo-fullscreen{position:fixed;inset:0;z-index:1000;width:100vw;height:100dvh;display:block;background:#07120c}.game-shell.pseudo-fullscreen #game{width:100%;height:100%;aspect-ratio:auto}.game-shell.pseudo-fullscreen canvas{width:100%!important;height:100%!important}@media(min-width:900px){.game-shell{width:min(68vh,540px)}}
