@import "https://fonts.googleapis.com/css?family=Press+Start+2P";body{margin:0;font-family:"Press Start 2P",cursive;display:flex}#controls{justify-content:center;align-items:flex-end;min-width:100%;display:flex;position:absolute;bottom:20px}#controls div{grid-template-columns:50px 50px 50px;gap:10px;display:grid}#controls button{cursor:pointer;background-color:#fff;border:1px solid #d3d3d3;outline:none;width:100%;height:40px;box-shadow:3px 5px #000000bf}#score{color:#fff;font-size:2em;position:absolute;top:20px;left:20px}#result-container{visibility:hidden;justify-content:center;align-items:center;min-width:100%;min-height:100%;display:flex;position:absolute;top:0}#result-container #result{color:#fff;text-align:center;text-shadow:3px 3px #00000080;background-color:#0000;flex-direction:column;align-items:center;padding:20px;display:flex}#result-container button{color:#fff;font-family:inherit;font-size:inherit;cursor:pointer;background-color:red;border:none;padding:10px 50px 20px}#start-container{text-align:center;color:#fff;visibility:hidden;z-index:10;background-color:#0006;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}#start-content{padding:24px}#start-content h1{text-shadow:4px 4px #0006;margin:0 0 32px;font-size:clamp(1rem,4vw,2.5rem);line-height:1.5}#start-content p{margin:0;font-size:clamp(.65rem,1.8vw,1rem);line-height:1.8;animation:1.6s ease-in-out infinite start-prompt-pulse}@keyframes start-prompt-pulse{0%,to{opacity:1}50%{opacity:.5}}body.game-not-started #controls,body.game-not-started #score{visibility:hidden}.mobile-prompt{display:none}@media (hover:none) and (pointer:coarse){.desktop-prompt{display:none}.mobile-prompt{display:inline}}#start-container{cursor:pointer;touch-action:manipulation}html,body{overscroll-behavior:none;width:100%;height:100%;margin:0;overflow:hidden}body{min-width:0;min-height:0;display:block;position:fixed;inset:0}canvas.game{z-index:0;touch-action:none;display:block}#controls{left:0;right:0;bottom:calc(16px + env(safe-area-inset-bottom));z-index:10;pointer-events:none;justify-content:center;align-items:center;width:100%;min-width:0;padding:0 12px;display:flex;position:fixed}#controls div{pointer-events:auto;grid-template-rows:repeat(2,50px);grid-template-columns:repeat(3,56px);gap:8px;display:grid}#controls button:first-of-type{grid-column:1/-1}#controls button{touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;width:100%;height:100%}@media (pointer:coarse){#controls div{grid-template-rows:repeat(2,64px);grid-template-columns:repeat(3,64px);gap:8px}#controls button{border-radius:8px;font-size:24px}}#score{top:calc(var(--game-top,0px) + 12px + env(safe-area-inset-top));z-index:5;pointer-events:none;font-size:clamp(1rem,4vw,2rem);position:fixed;left:16px}#start-container{z-index:30;touch-action:manipulation;position:fixed;inset:0}#result-container{z-index:20;min-width:0;min-height:0;position:fixed;inset:0}@media (orientation:portrait) and (pointer:coarse){body{background-color:#263b35}}
