:root{color-scheme:light;--ink:#50325f;--lilac:#b18ac5;--cream:#fff0d8;--deep:#78518e;font-family:ui-rounded,"Trebuchet MS",system-ui,sans-serif;background:#ab87bd;color:var(--ink)}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% 20%,#d4b7df66,transparent 65%),#a580b9}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;font-weight:700;color:var(--ink);cursor:pointer;border:0}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid #50325f;outline-offset:3px}button:active:not(:disabled){transform:translateY(2px)}button[hidden],[hidden]{display:none!important}a{color:inherit}.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}
.game{width:100%;max-width:480px;margin:0 auto;background:#b18bc4 url('../assets/play/gustglider/sky.webp') center/auto 100%;box-shadow:0 0 80px #6245754a;overflow:hidden;padding-bottom:env(safe-area-inset-bottom);isolation:isolate}
.topbar{height:44px;padding:0 12px;display:flex;align-items:center;justify-content:space-between;background:#e9d6e7b3;font-size:13px;font-weight:800}.topbar a{min-height:44px;display:flex;align-items:center;text-decoration:none}.topbar button{width:44px;height:44px;background:none;font-size:28px}.title-art{position:relative;margin:0;background:#bb94c8}.title-art img{display:block;width:100%;height:auto}.hud{height:40px;display:flex;align-items:center;justify-content:space-between;padding:0 17px;font-size:16px;background:#c4a0d16b;font-variant-numeric:tabular-nums}.muted{font-size:12px}.hull{display:flex;gap:4px}.hull img{width:20px;height:23px;object-fit:contain;filter:drop-shadow(0 2px 1px #80618a)}.hull img.empty{opacity:.22;filter:grayscale(1)}.time{min-width:42px;text-align:right}
.flight-frame{position:relative;aspect-ratio:600/440;width:100%;border-top:6px solid #e6cfe9;border-bottom:6px solid #e6cfe9;box-shadow:0 4px 10px #5a397144;overflow:hidden;background:#b18bc4}canvas{display:block;width:100%;height:100%;touch-action:none;overscroll-behavior:contain;outline:none}.overlay{position:absolute;inset:0;display:grid;place-items:center;padding:10px;touch-action:none;background:#ad84bf18}.panel{width:min(310px,94%);padding:14px 18px;text-align:center;border:1px solid #fff8e9aa;border-radius:20px;background:#fff0d8ef;box-shadow:0 7px 0 #89649955,0 12px 26px #67417c33}.panel .eyebrow{font-size:11px;letter-spacing:1.5px;margin:0 0 5px}.panel h2{font-size:25px;line-height:1.1;margin:4px 0 6px}.panel p{font-size:13px;margin:7px 0;line-height:1.35}.panel .stage-card{font-size:11px;margin:9px -8px 0}.primary{width:100%;min-height:48px;padding:9px 16px;background:#8b5ca2;color:#fff6e9;border-radius:13px;box-shadow:inset 0 1px 1px #e6c6f1,0 3px 0 #654479;font-size:16px;margin-top:5px}.primary span{float:right}.secondary{min-height:44px;background:none;text-decoration:underline;margin-top:5px}.launch-panel{transform:translateY(14px)}
.dock{height:clamp(120px,calc(100dvh - 660px),180px);display:grid;grid-template-columns:72px 1fr 126px;align-items:center;gap:7px;padding:8px 14px 0;background:linear-gradient(#be9bcc22,#b18bc477)}.steer-wrap,.fire-wrap{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;height:100%}.control-label{font-size:11px;font-weight:800;letter-spacing:1px;white-space:nowrap;line-height:16px}#steer{width:64px;flex:1;min-height:90px;max-height:150px;position:relative;border-radius:40px;background:linear-gradient(100deg,#f7e6cd,#ffefd8 60%,#e4cbb7);border:5px solid #d8b7e1;box-shadow:inset 0 2px 5px #a27f8d,0 4px 0 #94709d;touch-action:none;overscroll-behavior:contain;cursor:ns-resize}#steer:before{content:"";position:absolute;top:24%;bottom:24%;left:20px;right:20px;background:#c49eac88;border-radius:20px;box-shadow:inset 1px 2px 4px #94708555}.arrow-up,.arrow-down{position:absolute;left:0;right:0;text-align:center;font-size:25px;font-weight:bold;line-height:23px;color:#9b6eaf}.arrow-up{top:0}.arrow-down{bottom:0}#thumb{position:absolute;left:-1px;right:-1px;top:calc(50% - 11px);height:24px;border-radius:15px;background:linear-gradient(#d4a7df,#ac78bf);box-shadow:0 3px 2px #7d558f77,inset 0 2px 2px #e4c0ec;transform:translateY(var(--steer,0px))}.middle-controls{align-self:center;text-align:center;min-width:0}.small-controls{display:flex;align-items:center;justify-content:center;gap:8px}.art-button{display:inline-grid;place-items:center;padding:0;background:none;filter:drop-shadow(0 4px 3px #6c48784d);touch-action:none;user-select:none}.art-button img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}.small-controls button{width:48px;height:48px}.power{font-size:11px;line-height:16px;margin:5px -8px 2px;font-weight:700}.upgrade{min-height:44px;width:100%;padding:4px 3px;font-size:11px;line-height:14px;border-radius:10px;background:#f9ead9ad;border:1px solid #fff2de66}.fire{width:120px;height:120px;border-radius:50%}.fire.pressed{transform:translateY(4px) scale(.97);filter:drop-shadow(0 1px 2px #6c487855)}.flight-note{text-align:center;margin:4px 0 0;min-height:22px;font-size:11px;line-height:20px;font-weight:700}.toolbar{display:flex;align-items:center;justify-content:center;min-height:44px;gap:2px}.toolbar button{min-height:44px;padding:7px 13px;background:transparent;font-size:12px;border-radius:10px}.toolbar button:hover{background:#fff0d855}.toolbar button:disabled{opacity:.65}#toast{position:absolute;left:10px;right:10px;top:7px;text-align:center;font-size:12px;font-weight:800;color:#50325f;pointer-events:none;text-shadow:0 1px 4px #fff0d8;min-height:18px}
.guide{max-width:740px;margin:0 auto;padding:52px 24px 30px;background:#fff2df;color:#50325f;line-height:1.75;font-size:16px}.guide h2{font-size:30px;line-height:1.15;margin:8px 0 20px}.guide h3{font-size:21px;line-height:1.3;margin:30px 0 8px}.guide p{margin:0 0 16px}.eyebrow{font-size:12px;font-weight:800;letter-spacing:2px}.guide a{display:inline-block;min-height:44px;padding:5px 0}footer{text-align:center;padding:25px 15px;font-size:12px;background:#9472a7;color:#fff0d8}.game:fullscreen{max-width:none;width:100vw;height:100dvh;display:flex;flex-direction:column;align-items:center;overflow:auto}.game:fullscreen>*{width:min(480px,100vw)}.game:fullscreen .flight-frame{flex-shrink:0}.game:fullscreen .title-art{max-width:380px}.game:fullscreen .dock{min-height:120px}
@media(min-width:600px){.game{max-width:min(480px,calc((100dvh - 250px)*.78))}.dock{grid-template-columns:72px 1fr 126px}.guide{border-radius:22px 22px 0 0;margin-top:32px}.game{border-radius:0 0 25px 25px}}
@media(max-height:750px){.dock{padding-top:4px;grid-template-columns:68px 1fr 108px}.fire{width:96px;height:96px}.control-label{font-size:11px}.power{margin:2px -8px 0}.upgrade{min-height:44px}.panel{padding:10px 14px}.panel h2{font-size:23px}.launch-panel{transform:none}.flight-note{margin-top:2px}.toolbar button{padding:7px 10px}}
.game{min-height:100dvh;display:flex;flex-direction:column}.game>*{flex-shrink:0}.flight-frame{border:0}.dock{flex:1;min-height:120px;max-height:320px}.steer-wrap #steer{max-height:210px}.fire{width:126px;height:126px}.guide{margin-top:0}.flight-note{padding:3px 5px}.toolbar{padding-bottom:env(safe-area-inset-bottom)}
.small-controls button{width:56px;height:56px}.small-controls{gap:4px}.art-button{filter:drop-shadow(0 5px 3px #68427777)}#steer{border-color:#d4afe1;box-shadow:inset 0 2px 7px #a27f8d,0 5px 0 #94709d,0 8px 8px #67427833}.upgrade{box-shadow:inset 0 1px 0 #fff8e4,0 2px 2px #83559133}.flight-frame{box-shadow:0 -3px 0 #efd8ed,0 4px 0 #dec0e5,0 8px 15px #6a467c55;z-index:1}
@media(min-width:600px){.game{min-height:100dvh}.dock{max-height:210px}}
@media(max-height:750px){.fire{width:102px;height:102px}.dock{max-height:240px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
