@font-face{font-family:Lilita;src:url(../fonts/Lilita.ttf)}@font-face{font-family:Nunito;src:url(../fonts/Nunito.ttf);font-weight:600 900}:root{font-family:Nunito,system-ui,sans-serif;color:#25454b;background:#85d8da;font-synthesis:none;--coral:#f16b50;--ink:#25454b;--cream:#fff8df;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px)}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;overscroll-behavior:none}body{user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}button,a,input{touch-action:manipulation}button{font:inherit;color:inherit;cursor:pointer;border:0}button:focus-visible,a:focus-visible,input:focus-visible{outline:4px solid #25454b;outline-offset:4px}button:active{transform:translateY(3px) scale(.98)}[hidden]{display:none!important}#app{height:100dvh;min-height:100%;max-width:600px;margin:auto;position:relative;overflow:hidden;background:#85d8da url(../art/island.webp) center/cover}#world{position:absolute;inset:0;width:100%;height:100%;touch-action:none;outline:none}svg{fill:none;stroke:currentColor;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}.round{width:48px;height:48px;border-radius:50%;background:#fff8df;box-shadow:0 4px 9px #25454b20;display:grid;place-items:center;flex:none}.round svg{width:23px;height:23px}.screen{position:absolute;inset:0}.home{padding:calc(var(--safe-top) + 14px) 22px calc(var(--safe-bottom) + 12px);display:flex;flex-direction:column;align-items:center;background:linear-gradient(#87dcdf00 30%,#ffe4af55 65%,#ffe4afcc)}.home-top{display:flex;width:100%;align-items:center;justify-content:space-between;gap:15px}.offline{font-size:12px;font-weight:900;color:#28565b}.brand{flex:1;min-height:200px;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;width:100%;padding-top:8px}.brand img{width:clamp(115px,21vh,180px);height:clamp(115px,21vh,180px);object-fit:cover;border-radius:38px;transform:rotate(-8deg);box-shadow:0 12px 20px #24626820;margin-bottom:-20px}.brand h1{text-align:center;font-family:Lilita,sans-serif;font-size:clamp(60px,10vh,88px);font-weight:400;line-height:.9;letter-spacing:-1px;margin:0;position:relative;transform:rotate(-4deg);color:#fff4be;-webkit-text-stroke:2px #25454b;paint-order:stroke fill;text-shadow:0 5px #25454b}.brand h1 span{color:#ff7859}.brand p{font-size:15px;font-weight:900;margin:13px 0 16px}.modes{display:flex;flex-direction:column;width:100%;gap:12px;padding:4px 0;max-width:410px}.mode{display:flex;align-items:center;text-align:left;gap:10px;min-height:83px;padding:10px 14px 10px 9px;border-radius:22px;background:#fff6db;box-shadow:0 5px #d18f61,0 8px 14px #7d674920;position:relative}.mode.tower{background:#f46e52;color:#fff8df;min-height:99px;transform:rotate(-1.5deg);box-shadow:0 5px #af4839,0 10px 14px #7d674930}.mode.fruit{transform:rotate(.8deg)}.mode.rush{background:#f5e8ff;transform:rotate(-.6deg);box-shadow:0 5px #b29ac6,0 8px 14px #7d674920}.mode strong{display:block;font-family:Lilita,sans-serif;font-size:24px;font-weight:400;line-height:1.1}.tower strong{font-size:28px}.mode small{display:block;font-size:11px;font-weight:900;line-height:1.4;margin-top:5px}.mode-art{width:57px;height:57px;flex:none;display:grid;place-items:center}.mode-art svg{width:58px;height:58px;stroke:#25454b;fill:#73d2c6;stroke-width:2.4}.fruit .mode-art svg{fill:#f98a59}.rush .mode-art svg{fill:#b1a0eb}.mode-art .eye{stroke-width:5}.arrow{width:20px;height:24px;margin-left:auto;flex:none}.home-foot{font-size:11px;font-weight:900;margin:20px 0 0;color:#5c624d;text-align:center}#hud{position:absolute;top:calc(var(--safe-top) + 14px);left:18px;right:18px;display:flex;align-items:center;justify-content:space-between;gap:10px;pointer-events:none}#hud button{pointer-events:auto}.score{text-align:center;flex:1}.score span{display:block;font-size:11px;letter-spacing:.08em;font-weight:900}.score strong{display:block;font-family:Lilita,sans-serif;font-size:40px;font-weight:400;line-height:1.1;color:#25454b;font-variant-numeric:tabular-nums}.metric{font-weight:900;font-size:12px;min-width:70px;text-align:center}#instruction{position:absolute;bottom:calc(var(--safe-bottom) + 72px);left:20px;right:20px;text-align:center;pointer-events:none;color:#25454b}#instruction strong{display:block;font-family:Lilita,sans-serif;font-weight:400;font-size:23px}#instruction span{font-size:12px;line-height:1.4;display:block;max-width:300px;margin:5px auto}#game-bottom{position:absolute;bottom:calc(var(--safe-bottom) + 15px);left:22px;right:22px;display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;font-weight:900}#help{min-height:44px;background:#fff8dfcc;padding:8px 12px;border-radius:14px;font-size:12px;font-weight:900}.overlay{position:absolute;inset:0;background:#1a484a88;display:flex;align-items:center;justify-content:center;padding:calc(var(--safe-top) + 20px) 24px calc(var(--safe-bottom) + 20px);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.sheet{width:100%;max-width:370px;text-align:center;background:#fff8df;border-radius:30px;padding:26px 25px 20px;box-shadow:0 16px 40px #16393d40;max-height:100%;overflow:auto}.sheet h2{font-family:Lilita,sans-serif;font-size:39px;font-weight:400;line-height:1.05;margin:8px 0 12px}.sheet p{font-size:15px;line-height:1.55;margin:0 0 20px}#sheet-art{height:45px;display:flex;justify-content:center;align-items:center;gap:12px}#sheet-art svg{width:37px;height:37px;fill:#f6be44;stroke:#cc8f31;stroke-width:1.5}#sheet-details{font-size:13px;font-weight:900;margin:12px 0 22px}.big-button{width:100%;min-height:57px;background:#f26b4f;color:#fff8df;border-radius:17px;box-shadow:0 4px #b44937;font-family:Lilita,sans-serif;font-size:24px;font-weight:400;padding:12px}.text-button{min-height:48px;width:100%;background:none;font-size:14px;font-weight:900;margin-top:13px}.settings-sheet label{min-height:61px;display:flex;align-items:center;justify-content:space-between;text-align:left;border-bottom:1px solid #dfd7bc;font-size:16px}.settings-sheet input{width:48px;height:28px;accent-color:#169c95}.settings-sheet .big-button{margin-top:23px}.settings-sheet p{font-size:11px;margin:23px 0 8px}.settings-sheet a{font-size:12px;color:#25454b}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-height:700px){.brand img{width:106px;height:106px}.brand h1{text-align:center;font-size:62px}.brand p{margin:8px 0}.mode{min-height:69px;padding:6px 10px}.mode.tower{min-height:78px}.mode strong{font-size:22px}.tower strong{font-size:25px}.mode small{font-size:10px}.modes{gap:10px}.home-foot{margin-top:14px}.home-top .round{width:42px;height:42px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}.metric strong{display:block;font-size:13px;margin-top:5px;color:#25454b;font-variant-numeric:tabular-nums}.metric strong.supersonic{color:#9d3029}.rigidity-setting{padding-bottom:8px;border-bottom:1px solid #dfd7bc}.settings-sheet .rigidity-setting label{min-height:34px;border:0;gap:8px}.rigidity-setting output{font-size:12px;font-weight:900;white-space:nowrap}.rigidity-control{display:flex;align-items:center;gap:9px}.rigidity-control button{width:44px;height:44px;flex:none;display:grid;place-items:center;background:#e2ead1;border-radius:12px}.rigidity-control svg{width:22px;height:22px}.rigidity-control button:disabled{opacity:.35;cursor:default}.rigidity-control input[type=range]{flex:1;min-width:0;width:100%;height:44px;accent-color:#169c95;cursor:pointer}.rigidity-endpoints{display:flex;justify-content:space-between;font-size:11px;font-weight:900;padding:0 54px}.settings-sheet .rigidity-setting p{font-size:11px;line-height:1.5;margin:9px 0 0;text-align:left}.rigidity-setting .text-button{margin:0;min-height:44px;font-size:12px}.settings-sheet h2{font-size:34px}.settings-sheet{padding-top:23px}.mach-gauge{width:100px;position:relative;margin-top:3px}.mach-gauge svg{display:block;width:100%;height:58px;overflow:visible}.mach-gauge .gauge-track{stroke:#377e79;stroke-width:7}.mach-gauge .gauge-fast{stroke:#b64230;stroke-width:7}.mach-gauge .gauge-tick{stroke:#25454b;stroke-width:2}.mach-gauge text{font:900 10px Nunito,sans-serif;fill:#25454b;stroke:none;text-anchor:middle}.mach-gauge #mach-needle{stroke:#25454b;stroke-width:3}.mach-gauge circle{fill:#25454b;stroke:none}.metric .mach-gauge strong{font-size:12px;margin-top:0;line-height:16px}.mach-gauge.supersonic #mach-needle{stroke:#9d3029}.metric{flex:none}.score span{font-size:10px}
