@font-face{font-family:Relay;src:local('Arial');font-display:swap}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{font-family:Relay,Arial,sans-serif;color:#12343a;background:#dcefe8}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{cursor:wait;opacity:.55}#game{width:100%;height:100%;position:relative;overflow:hidden}canvas{display:block;width:100%;height:100%;touch-action:none}.topbar{position:absolute;inset:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:24px 30px;gap:12px;pointer-events:none}.brand,.top-actions{display:flex;align-items:center;gap:12px}.brand-mark{background:#13373b;color:#d0fa67;font-size:32px;font-weight:900;border-radius:10px;width:52px;height:52px;display:grid;place-items:center;position:relative;box-shadow:0 4px 0 #8ea99c}.brand-mark span{font-size:18px;position:absolute;right:3px;top:2px}p,h1,h2{margin:0}.brand p{font-size:9px;letter-spacing:2px;font-weight:800;margin-bottom:4px}h1{font-size:24px;letter-spacing:-1px;font-weight:900}h1 em{font-style:normal;color:#46776b}.top-actions{pointer-events:auto}.top-actions button,#fullscreen{border:1px solid #173e422c;border-radius:6px;background:#f6fff7cb;padding:9px 13px;font-size:11px;font-weight:800;color:#1a4543}.top-actions button span{padding-left:10px}.hud{position:absolute;left:30px;top:106px;display:flex;gap:24px;pointer-events:none}.hud[hidden]{display:none}.hud>div{padding:12px 17px;border-left:2px solid #143b3a24;background:#f4fff5bf;border-radius:0 8px 8px 0;box-shadow:0 6px 16px #47735c09}.hud span{font-size:9px;font-weight:800;letter-spacing:1.5px;display:block}.hud strong{display:block;font-size:27px;line-height:1.3;margin-top:4px;font-variant-numeric:tabular-nums}.hud strong small{font-size:17px;color:#6f8d80}.hud strong span{display:inline;font-size:12px;letter-spacing:0;margin-left:3px}.hud .lives{font-size:16px;color:#477c70;letter-spacing:2px;line-height:2.2}.message{position:absolute;left:50%;bottom:75px;transform:translateX(-50%);max-width:min(90%,680px);padding:10px 18px;background:#153b3aeb;color:#f1ffd8;border-radius:7px;font-size:12px;font-weight:700;line-height:1.4;text-align:center;box-shadow:0 6px 0 #0c2b2920;pointer-events:none}.panel{position:absolute;top:50%;right:5%;transform:translateY(-48%);width:340px;padding:30px;background:#f8fff4ee;border:1px solid #fff;border-radius:15px;box-shadow:0 14px 45px #39654b1a}.eyebrow{font-size:9px;letter-spacing:1.4px;font-weight:800;color:#568174}h2{font-size:39px;line-height:1.04;letter-spacing:-1.7px;margin:13px 0 17px}.panel>p{font-size:13px;line-height:1.65;color:#56716c}.control-guide{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:24px 0}.control-guide>div{display:flex;align-items:center;gap:7px;font-size:10px;color:#5c7e72}kbd{padding:5px 6px;border:1px solid #254d3b20;border-bottom:3px solid #254d3b20;border-radius:4px;min-width:36px;font:800 9px Arial;text-align:center;color:#254d3b;background:white}.primary{width:100%;display:flex;align-items:center;justify-content:space-between;background:#163f3c;color:#eaffba;font-size:14px;font-weight:800;border:0;border-radius:7px;padding:15px 16px;box-shadow:0 4px 0 #092b27}.primary:hover:not(:disabled){background:#245a4c}.primary span{font-size:12px}.panel .fine{font-size:10px;margin-top:19px;color:#7c9287;line-height:1.6}.panel[hidden]{display:none}#route-note{position:absolute;left:50%;top:28px;transform:translateX(-50%);font-size:9px;font-weight:800;letter-spacing:1.2px;color:#47776a}#route-note span{padding:0 7px}footer{position:absolute;bottom:18px;left:30px;right:30px;display:flex;align-items:center;gap:20px;font-size:9px;font-weight:800;color:#52766c;letter-spacing:.8px}footer>span{margin-right:auto}footer a{color:inherit;text-decoration:none;border-bottom:1px solid #597c6b66;padding-bottom:2px}footer #fullscreen{font-size:9px;padding:6px 8px}.touch{display:none;position:absolute;bottom:100px;left:20px;right:20px;justify-content:space-between;align-items:flex-end;pointer-events:none}.touch button{touch-action:none;pointer-events:auto;border:1px solid #173b3b40;background:#f6fff6c9;color:#1a4843;box-shadow:0 3px 0 #45695840;font-weight:900;font-size:18px;border-radius:10px;width:45px;height:44px;user-select:none}.touch button:active,.touch button.held{background:#cafa7e}.dpad{display:grid;grid-template-columns:repeat(3,45px);gap:4px}.dpad button:first-child{grid-column:2}.dpad button:nth-child(2){grid-row:2;grid-column:1}.dpad button:nth-child(3){grid-row:2;grid-column:2}.dpad button:nth-child(4){grid-row:2;grid-column:3}.touch-actions{display:flex;gap:8px}.touch-actions button{width:60px;height:60px;font-size:12px;border-radius:50%}.touch-actions button:last-child{width:70px;height:70px;background:#d9f7a4}.loading-error{color:#f6d9cc}.shake{animation:shake .18s linear 2}@keyframes shake{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}@media(pointer:coarse){body.playing .touch{display:flex}}@media(max-width:760px){.topbar{padding:15px 16px}.brand-mark{width:39px;height:39px;font-size:25px}.brand{gap:9px}.brand p{font-size:7px;letter-spacing:1.2px}h1{font-size:19px}.top-actions{gap:5px}.top-actions button{font-size:10px;padding:7px 9px}.hud{left:15px;top:78px;gap:8px}.hud>div{padding:7px 11px}.hud span{font-size:7px}.hud strong{font-size:21px}.hud .lives{font-size:12px}.panel{width:300px;right:calc(50% - 150px);padding:24px;top:52%;background:#f8fff4f5}h2{font-size:33px}.panel>p{font-size:12px}.control-guide{margin:18px 0}.panel .fine{font-size:9px;margin-top:14px}.message{bottom:69px;font-size:10px;width:max-content;max-width:90%;padding:9px 13px}footer{left:16px;right:16px;bottom:15px;gap:13px;letter-spacing:0}footer>span{font-size:7px}footer #fullscreen{display:none}#route-note{display:none}.touch{bottom:118px}}@media(max-height:540px){.panel{width:320px;padding:20px;right:5%;top:52%}h2{font-size:28px;margin:8px 0 10px}.control-guide{margin:13px 0;gap:6px}.panel .fine{display:none}.hud{top:76px}.message{bottom:50px}.touch{bottom:65px}.topbar{padding:12px 20px}footer{bottom:12px}}
