:root{font-family:monospace;background:#182129;color:#fff7de;font-synthesis:none}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0;overflow:hidden}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{font:inherit;cursor:pointer;color:inherit}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.game{position:fixed;top:0;right:0;bottom:0;left:0;display:grid;place-content:center;height:100dvh}.game-screen{position:relative;width:min(100vw,150dvh);aspect-ratio:3 / 2}canvas{display:block;width:100%;height:100%;image-rendering:pixelated;touch-action:none;cursor:crosshair}canvas:focus{outline:none}canvas:focus-visible{outline:2px solid #fff7de;outline-offset:-2px}.screen-control{position:absolute;display:block;background:transparent;border:0;padding:0;cursor:pointer}.screen-control:focus-visible{outline:2px dashed #293942;outline-offset:-3px}.start-control{left:81.667%;top:0;width:18.333%;height:8.125%}.start-control:focus-visible{outline-color:#fff7de}.advance-control{left:0;top:70%;width:100%;height:30%}.touch-controls{display:none}@media(pointer:coarse),(max-width:700px){.touch-controls{position:fixed;bottom:max(20px,env(safe-area-inset-bottom));left:max(20px,env(safe-area-inset-left));right:max(20px,env(safe-area-inset-right));display:flex;align-items:center;justify-content:space-between;gap:12px;pointer-events:none}.touch-controls button{pointer-events:auto;border:2px solid #94a59c;background:#293942;box-shadow:3px 3px #101821}.touch-controls button:active{background:#526363;box-shadow:none}.touch-controls button:focus-visible{outline:3px solid #fff7de;outline-offset:3px}.d-pad{display:grid;grid-template-columns:repeat(3,42px);grid-template-rows:repeat(2,44px);gap:3px}.direction{touch-action:none;font-size:24px}.direction-up{grid-area:1 / 2}.direction-left{grid-area:2 / 1}.direction-down{grid-area:2 / 2}.direction-right{grid-area:2 / 3}.start-button{padding:8px;font-size:11px}.action-buttons{display:flex;gap:10px;align-items:center}.action-buttons button{width:46px;height:46px;font-size:22px}.action-buttons button:last-child{transform:translateY(-17px)}}@media(orientation:portrait)and (max-width:700px){.game-screen{margin-bottom:90px}}@media(orientation:landscape)and (pointer:coarse),(orientation:landscape)and (max-width:700px){.game-screen{width:min(calc(100vw - 250px),150dvh)}.touch-controls{bottom:20px}.start-button{position:absolute;right:0;bottom:100px}}@media(max-width:350px){.touch-controls{left:10px;right:10px;gap:5px}.d-pad{grid-template-columns:repeat(3,36px);grid-template-rows:repeat(2,40px)}.action-buttons{gap:7px}.action-buttons button{width:40px;height:44px}}
