*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#122542;overscroll-behavior:none}body{font-family:system-ui,sans-serif}#game{position:fixed;inset:0;overflow:hidden}canvas{display:block;touch-action:none;width:100%;height:100%}#loading{position:fixed;inset:0;display:grid;place-items:center;background:#122542;color:#fff1c6;font-size:18px;font-weight:800;pointer-events:none}#stats{position:fixed;right:8px;top:calc(env(safe-area-inset-top,0px) + 62px);z-index:3;color:#d6efff;background:#102841b8;border:1px solid #6b9dc455;border-radius:6px;padding:4px 7px;font-size:10px;pointer-events:none;font-variant-numeric:tabular-nums}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#safe{position:fixed;visibility:hidden;padding-bottom:env(safe-area-inset-bottom,0px);padding-top:env(safe-area-inset-top,0px)}.fx-heading{position:fixed;top:64px;left:12px;z-index:2;color:#94d8ff;font-size:10px;font-weight:900;letter-spacing:1.4px;pointer-events:none}.fx-subtitle{position:fixed;top:132px;left:12px;right:12px;text-align:center;z-index:2;color:#adc8e5;font-size:12px;pointer-events:none}.fx-controls{position:fixed;left:12px;right:12px;bottom:calc(93px + env(safe-area-inset-bottom,0px));max-width:540px;margin:auto;z-index:2;padding:9px;border:1px solid #6ebaf94d;border-radius:16px;background:linear-gradient(145deg,#10243bf5,#091627f5);box-shadow:0 8px 28px #0006}.fx-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.fx-controls button{appearance:none;min-width:0;height:35px;padding:0 3px;border:1px solid #78c9f34d;border-radius:9px;background:linear-gradient(#284b71,#183552);color:#ecf8ff;font:800 11px system-ui,sans-serif;cursor:pointer;touch-action:manipulation;transition:transform .1s,background .1s}.fx-controls button:active{transform:scale(.94);background:#3a709a}.fx-controls button:focus-visible{outline:2px solid #a3f5ff;outline-offset:2px}.fx-controls button[data-effect=combo]{background:linear-gradient(135deg,#804ff3,#4b2dbe);border-color:#d3b3ff99}.fx-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:7px}.fx-options button{height:27px;font-size:10px;border-color:#7597b32e;background:#12273c;color:#a7c4dd}.fx-options button[aria-pressed=true]{color:#9cfbe5;border-color:#58d8b84d}.fx-status{position:fixed;left:16px;right:16px;bottom:calc(225px + env(safe-area-inset-bottom,0px));z-index:2;text-align:center;font-size:11px;color:#c5e9ff;pointer-events:none;min-height:16px}@media(min-width:900px){.fx-controls{bottom:100px}.fx-status{bottom:232px}}@media(max-height:600px){.fx-subtitle{top:128px;font-size:11px}.fx-controls{padding:7px;bottom:89px}.fx-controls button{height:31px;font-size:10px}.fx-options button{height:25px;font-size:9px}.fx-status{bottom:211px}.fx-heading{font-size:9px}}@media(max-height:450px)and (min-width:600px){.fx-controls{left:auto;width:310px;right:12px}.fx-status{left:auto;right:12px;width:310px}}
