*{box-sizing:border-box}html,body{margin:0;background:#143b3f;color:#fff9e8;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}body{min-width:300px}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible,#canvas:focus-visible{outline:3px solid #ffdf72;outline-offset:3px}button:disabled{opacity:.45;cursor:default}[hidden]{display:none!important}.arcade{max-width:1500px;margin:auto;min-height:100svh;display:flex;flex-direction:column;padding:0 24px}header{height:78px;display:flex;align-items:center;gap:22px;flex-shrink:0}.brand{color:#fff9e8;text-decoration:none;font:bold 32px Georgia,serif;white-space:nowrap}.brand span{font:700 12px system-ui;letter-spacing:.14em}.title{flex:1}.title h1{font:700 clamp(20px,2.5vw,27px) Georgia,serif;margin:0 0 4px}.title>span{font-size:13px;color:#b5cebf}.planner{font-size:14px;color:#e6e6c7;text-underline-offset:4px}.field{position:relative;flex:1;min-height:400px;height:calc(100svh - 180px);max-height:800px;border-radius:18px;overflow:hidden;background:linear-gradient(#78cad5 24%,#d9b844 24%);box-shadow:0 15px 45px #001f2733}#canvas{position:absolute;inset:0;touch-action:none;outline:none}#canvas canvas{display:block;width:100%!important;height:100%!important}.hud{position:absolute;top:18px;left:22px;right:22px;display:flex;justify-content:space-between;pointer-events:none;gap:12px}.hud>div{min-width:105px;padding:10px 20px;background:#153e3be8;border:1px solid #ffffff2b;border-radius:12px;display:flex;flex-direction:column;text-align:center}.hud span{font-size:10px;letter-spacing:.13em;font-weight:800;color:#cce2cc}.hud strong{font-size:30px;line-height:1.15;font-variant-numeric:tabular-nums}.hud .time{background:#fff9e8ed;color:#173c40}.hud .time span{color:#48615b}.intro,.pause-panel,.result{position:absolute;top:44%;left:50%;transform:translate(-50%,-50%);background:#123b3feF;border:1px solid #d9e9c94d;box-shadow:0 12px 45px #133f3f4d;border-radius:22px;padding:26px 36px;text-align:center;min-width:0;width:min(390px,92%);backdrop-filter:blur(8px)}.intro h2,.result h2,.pause-panel h2{font:600 clamp(26px,3.7vw,42px)/1.08 Georgia,serif;margin:8px 0 16px}.eyebrow{font-size:10px;letter-spacing:.17em;font-weight:800;color:#ffdc78;margin:0}.intro p:not(.eyebrow){display:flex;gap:24px;justify-content:center;font-weight:700;font-size:15px;margin:12px 0 19px}.intro p span:first-child{color:#ffe699}.intro p span:last-child{color:#ffb49d}.play{display:block;background:#ffce60;color:#173b3e;border:0;border-radius:10px;padding:15px 25px;font-weight:800;min-width:210px;margin:0 auto 12px;box-shadow:0 4px 0 #c18f2c;font-size:17px}.play:hover{background:#ffe092}.intro small,.result small{font-size:12px;color:#c6dccf}.bottom-hint{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);background:#173b3ee8;border-radius:50px;padding:10px 20px;color:#ffebaf;font-size:14px;white-space:nowrap;pointer-events:none}.wind{position:absolute;right:20px;bottom:26px;font-size:10px;font-weight:800;letter-spacing:.1em;color:#344f30;pointer-events:none}.wind span{display:inline-block;font-size:26px;vertical-align:middle}.medals{color:#ffd271;font-size:34px;letter-spacing:8px}.result-score{font-size:18px}footer{min-height:96px;display:flex;align-items:center;gap:22px;justify-content:space-between}footer p{font:italic 16px/1.4 Georgia,serif;text-align:right;color:#b5cebf;margin:0}.steering{display:flex;align-items:center;gap:14px}.steering>button{border:1px solid #eff9df44;background:#28504f;color:#ffe49b;border-radius:10px;width:62px;height:52px;font-size:22px;touch-action:none;user-select:none}.steering>span{text-align:center;line-height:1.6;color:#bbd5c5;font-size:10px;letter-spacing:.04em}kbd{font:inherit;color:#fff4ce}.footer-actions{display:flex;gap:10px}.footer-actions button{border:1px solid #d7e6c63b;color:#dbe8d6;background:transparent;border-radius:9px;padding:11px 16px;font-size:14px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:700px){.arcade{padding:0 10px}header{height:68px;gap:12px}.brand span{display:none}.title>span{display:none}.title h1{font-size:21px;margin:0}.planner{font-size:12px}.field{min-height:360px;height:calc(100svh - 168px);border-radius:13px}.hud{top:12px;left:12px;right:12px}.hud>div{min-width:75px;padding:8px 12px}.hud span{font-size:9px}.hud strong{font-size:25px}.intro,.result,.pause-panel{padding:22px;top:45%}.intro h2{font-size:31px}.wind{display:none}.bottom-hint{font-size:12px;padding:8px 14px;bottom:14px}footer{min-height:90px;gap:12px;flex-wrap:wrap}.steering{gap:9px}.steering>button{width:49px;height:49px}.footer-actions{gap:7px}.footer-actions button{padding:10px;font-size:14px}footer p{display:none}.steering>span{font-size:9px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
