@import"https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;700;800;900&display=swap";:root{font-family:"M PLUS Rounded 1c",system-ui,sans-serif;color:#23425a;font-synthesis:none}*{box-sizing:border-box}html,body,#app{margin:0;width:100%;height:100%;overflow:hidden}body{background:#a5dded}button{font:inherit;cursor:pointer;border:0;touch-action:manipulation}#scene{position:absolute;top:0;right:0;bottom:0;left:0}canvas{display:block;width:100%;height:100%}header{position:absolute;top:28px;left:36px;right:36px;display:flex;align-items:flex-start;justify-content:space-between;pointer-events:none}.brand{display:flex;align-items:center;gap:12px;color:#fff;text-shadow:0 2px 3px #4d8da477}.brand-icon{display:grid;place-items:center;background:#fff;color:#ffaf42;width:52px;height:52px;border-radius:17px;font-size:27px;box-shadow:0 4px #78bccc}.brand small{display:block;font-size:10px;font-weight:900;letter-spacing:.18em}.brand h1{font-size:22px;line-height:1.1;margin:3px 0 0;font-weight:900}.round{pointer-events:auto;width:45px;height:45px;background:#ffffffdf;color:#54859a;border:2px solid #fff;border-radius:15px;font-size:27px;box-shadow:0 4px #76b8c5}.top-right{position:absolute;right:96px;top:33px}.status{background:#ffffffdc;border:2px solid white;border-radius:13px;padding:10px 14px;font-size:11px;font-weight:900;box-shadow:0 4px #78bccc}.status-dot{display:inline-block;background:#81cf7c;width:8px;height:8px;border-radius:50%;margin-right:7px}main{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;pointer-events:none}.intro{pointer-events:auto;text-align:center;padding:30px 40px 25px;background:#fffef4ed;border:4px solid white;border-radius:28px;box-shadow:0 10px #59878a38,0 20px 60px #305b6b30;max-width:calc(100vw - 30px)}.intro-label{font-size:10px;letter-spacing:.18em;font-weight:900;color:#f1a444}.intro h2{font-size:30px;color:#31566a;margin:8px 0 10px;font-weight:900}.intro p{font-size:13px;line-height:1.9;font-weight:800;color:#7d969d;margin:0 0 20px}.start{background:#ffba4e;color:#fff;border:3px solid #ffd388;border-radius:16px;padding:13px 27px 14px 34px;font-size:17px;font-weight:900;box-shadow:0 5px #df9134;min-width:200px}.start:active,.round:active,.touch button:active{transform:translateY(3px);box-shadow:none}.start span{margin-left:22px}.intro-foot{font-size:10px;color:#99ada7;font-weight:800;margin-top:21px}.hidden{display:none!important}.message{align-self:start;margin-top:110px;background:#fffef1ee;border:3px solid white;border-radius:18px;padding:13px 22px;font-size:14px;font-weight:900;box-shadow:0 5px #558b8c40;text-align:center}.bottom{position:absolute;bottom:44px;left:36px;right:36px;display:flex;align-items:end;justify-content:space-between;gap:12px;pointer-events:none}.instrument,.controls,.altitude{background:#fffef0ed;border:3px solid #fff;border-radius:19px;box-shadow:0 5px #558b8c44}.instrument{width:155px;padding:12px 15px}.instrument-title,.control-title{font-size:10px;font-weight:900;letter-spacing:.12em;color:#f2a845}.instrument-title span,.control-title span{font-size:9px;color:#a6b9b4;letter-spacing:0;margin-left:4px}.speed{display:flex;align-items:baseline;gap:6px}.speed strong{font-size:34px;line-height:1.2;color:#3b6474}.speed span{font-size:10px;font-weight:900;color:#9db2ad}.meter{height:6px;border-radius:8px;background:#e1eae2;overflow:hidden;margin-top:4px}.meter i{display:block;width:0;height:100%;background:#ffc25d;border-radius:8px}.controls{padding:12px 17px}.control-row{display:flex;align-items:center;gap:6px;margin-top:7px;font-size:10px;font-weight:900;color:#779494;white-space:nowrap}.key{display:inline-grid;place-items:center;background:#fff;border:1px solid #d8e5df;border-bottom:3px solid #d1dfd8;border-radius:6px;min-width:25px;height:25px;color:#739396;font-size:12px}.key.wide{padding:0 9px;font-size:9px}.divider{width:1px;height:21px;background:#dce7dd;margin:0 6px}.altitude{display:flex;align-items:center;gap:10px;padding:12px 16px;min-width:125px}.altitude>span{font-size:27px;color:#94cfe3}.altitude small{display:block;font-size:10px;font-weight:900;color:#9bb1ae}.altitude strong{font-size:23px;line-height:1;color:#3b6474}.altitude em{font-size:10px;font-style:normal;color:#9bb1ae}.footer{position:absolute;bottom:13px;left:0;right:0;text-align:center;color:#fff;font-size:9px;font-weight:900;letter-spacing:.14em;text-shadow:0 1px 3px #527e7d}.footer span{color:#ffdf8c}.touch{position:absolute;bottom:125px;left:20px;right:20px;display:flex;justify-content:space-between;pointer-events:none}.touch>div,.touch button{pointer-events:auto}.touch button{width:56px;height:56px;border-radius:17px;background:#ffffffdb;color:#558497;font-size:20px;font-weight:900;box-shadow:0 4px #669ca6}.touch .fly{width:85px;background:#ffbd54;color:#fff;font-size:14px;box-shadow:0 4px #d9943e}@media(max-width:650px){header{top:18px;left:18px;right:18px}.brand h1{font-size:17px}.brand-icon{width:43px;height:43px}.top-right{top:20px;right:73px}.status{font-size:9px;padding:9px}.round{width:40px;height:40px}.intro{padding:25px}.intro h2{font-size:23px}.bottom{left:15px;right:15px;bottom:35px}.instrument{width:120px}.controls{display:none}.altitude{min-width:105px}.touch{bottom:135px}.footer{font-size:8px}}.touch-flight{display:flex;gap:8px}.touch .land{width:85px;background:#82c9d9;color:#fff;font-size:14px;box-shadow:0 4px #589eaf}.retry-keys{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:19px;color:#779494;font-size:12px;font-weight:900}.retry-keys .key{height:29px;min-width:30px}.retry-keys .wide{padding:0 11px}.bottom{top:0;right:0;bottom:0;left:0;display:block}.instrument,.altitude,.heading{position:absolute;left:36px;background:none;border:0;border-radius:0;box-shadow:none;color:#fff;padding:0;text-shadow:0 2px 5px #315a70cc}.instrument{top:104px;width:190px}.instrument-title,.altitude small,.heading small{color:#fff;font-size:13px;font-weight:900;letter-spacing:.05em}.instrument-title span{color:#fff;font-size:12px}.speed strong{font-size:48px;color:#fff}.speed span{font-size:14px;color:#fff}.meter{background:#ffffff70;width:160px}.altitude{top:205px;display:block;min-width:0}.altitude>span{display:none}.altitude strong,.heading strong{display:block;font-size:42px;color:#fff;line-height:1.15}.altitude em,.heading em{font-size:15px;font-style:normal;color:#fff}.heading{top:284px}.heading small{display:block}.controls{position:absolute;bottom:44px;left:50%;transform:translate(-50%)}@media(max-width:650px){.instrument,.altitude,.heading{left:18px}.instrument{top:85px}.speed strong{font-size:37px}.altitude{top:165px}.heading{top:230px}.altitude strong,.heading strong{font-size:32px}.meter{width:120px}}.takeoff-hint{position:absolute;top:20%;left:50%;transform:translate(-50%);text-align:center;color:#fff;text-shadow:0 3px 2px #345b69,0 4px 14px #345b69bb;pointer-events:none;white-space:nowrap}.takeoff-hint strong{display:block;font-size:clamp(38px,6vw,76px);line-height:1.2;font-weight:900}.takeoff-hint span{display:block;margin-top:5px;font-size:clamp(14px,2vw,22px);font-weight:900}.controls{max-width:calc(100vw - 30px);padding:12px;background:#fffef0e8;overflow-x:auto;pointer-events:auto}.keyboard{display:flex;align-items:end;gap:20px;width:max-content}.wasd{display:grid;grid-template-columns:repeat(3,max-content);gap:6px}.key-w{grid-column:2}.wasd .keyboard-key:nth-child(2){grid-column:1}.throttle,.vertical{display:flex;gap:6px}.keyboard-key{display:grid;place-items:center;min-width:64px;min-height:62px;padding:2px 10px;border:2px solid #cfddd8;border-bottom-width:6px;border-radius:12px;background:#fff;color:#456d79;font-size:32pt;font-weight:900;line-height:1.1;white-space:nowrap}.vertical{align-self:end}.vertical .keyboard-key{font-size:32pt}@media(max-width:650px){.controls{display:block;bottom:28px;left:15px;right:15px;transform:none;max-width:none}.keyboard{gap:10px}.keyboard-key{font-size:32pt;min-width:64px;min-height:62px}}.controls{background:transparent;border:0;box-shadow:none;padding:0}.keyboard-key{background:transparent;border:0;box-shadow:none;color:#fff;text-shadow:0 2px 5px #315a70cc}.keyboard-key{background:#414e5247;border:2px solid rgba(225,231,231,.38);border-radius:12px}.altitude{display:none}.heading{top:205px}.altitude-tape{position:absolute;right:0;top:50%;transform:translateY(-50%);width:120px;color:#fff;font-weight:900;text-shadow:0 2px 4px #315a70;pointer-events:none}.altitude-title{text-align:center;font-size:15px}.altitude-window{height:300px;position:relative;overflow:hidden;border-right:3px solid #ffffffaa;background:linear-gradient(to right,transparent,rgba(35,66,80,.22))}.altitude-ticks{position:absolute;top:0;right:0;bottom:0;left:0}.altitude-tick{position:absolute;right:0;display:flex;align-items:center;gap:8px;transform:translateY(-50%);font-size:16px}.altitude-tick i{width:18px;height:2px;background:#fff}.altitude-pointer{position:absolute;top:50%;right:4px;transform:translateY(-50%);background:#365766d9;border:2px solid white;padding:4px 6px;font-size:18px}.altitude-pointer b{min-width:37px;display:inline-block;text-align:right}@media(max-width:650px){.heading{top:165px}.altitude-tape{width:95px}.altitude-window{height:300px}}.altitude-pointer{background:none;border:0}.altitude-tape{left:0;right:auto;top:0;transform:none;height:100vh;width:105px}.altitude-window{height:100%;background:none;border-right:0}.altitude-title{position:absolute;top:70px;left:8px;z-index:1;font-size:13px}.altitude-tick{right:0}.altitude-pointer{left:0;right:auto;padding:0;font-size:18px}.instrument,.heading{left:125px}@media(max-width:650px){.altitude-tape{width:82px}.altitude-window{height:100%}.instrument,.heading{left:92px}}.altitude-tape{left:auto;right:0}.instrument,.heading{left:36px}@media(max-width:650px){.instrument,.heading{left:18px}}.top-right,header .round{display:none}.altitude-title,.heading{display:none}.compass{position:absolute;top:210px;left:36px;width:92px;height:92px;border:3px solid #ffffffd9;border-radius:50%;background:#2a52645c;box-shadow:0 2px 6px #26445566;pointer-events:none}.compass-needle{position:absolute;top:8px;right:8px;bottom:8px;left:8px}.needle-north,.needle-south{position:absolute;left:50%;width:0;height:0;transform:translate(-50%);border-left:10px solid transparent;border-right:10px solid transparent}.needle-north{top:1px;border-bottom:29px solid #ff665a}.needle-south{bottom:1px;border-top:29px solid #f7fbf5}.compass-center{position:absolute;left:50%;top:50%;width:9px;height:9px;border-radius:50%;background:#fff;transform:translate(-50%,-50%)}@media(max-width:650px){.compass{left:18px;top:165px;width:75px;height:75px}.needle-north{border-bottom-width:22px}.needle-south{border-top-width:22px}}.compass{left:auto;right:125px;top:28px}.instrument{left:auto;right:125px;top:auto;bottom:45px}@media(max-width:650px){.compass{left:auto;right:100px;top:18px}.instrument{left:auto;right:100px;top:auto;bottom:35px}}.compass{right:125px}.instrument{right:76px}.controls{left:20px;right:285px;max-width:none;transform:none}.keyboard{margin:0 auto}@media(max-width:650px){.compass{right:100px}.instrument{right:86px;width:105px}.instrument .meter{width:100px}.controls{left:10px;right:200px;max-width:none}.keyboard{margin:0}}.controls{left:50%;right:auto;max-width:calc(100vw - 30px);transform:translate(-50%)}.instrument{right:76px;bottom:245px}@media(max-width:650px){.controls{left:15px;right:15px;max-width:none;transform:none}.instrument{right:86px;bottom:220px}}.instrument{bottom:175px}@media(max-width:650px){.instrument{bottom:150px}}.instrument{bottom:135px;text-align:center}.instrument-title{text-align:center}.speed{position:relative;justify-content:center}.speed strong{width:3ch;text-align:center;font-variant-numeric:tabular-nums}.speed>span{position:absolute;left:calc(50% + 1.5em + 14px)}.instrument .meter{margin-left:auto;margin-right:auto}@media(max-width:650px){.instrument{bottom:115px}}.speed>span{left:calc(50% + 52px)}@media(max-width:650px){.speed>span{left:calc(50% + 43px)}}.speed>span{bottom:0;line-height:1.2}.speed>span{bottom:6px}.minimap{position:absolute;top:100px;left:26px;width:200px;height:200px;border-radius:50%;box-shadow:0 3px 10px #274c5c80;pointer-events:none}@media(max-width:650px){.minimap{top:78px;left:15px;width:140px;height:140px}}.map-credit{position:absolute;left:8px;bottom:4px;font:10px system-ui,sans-serif;color:#fff;text-shadow:0 1px 3px #253d4a;z-index:3}.map-credit a{color:inherit}.start:disabled{opacity:.7;cursor:wait}#app:has(#intro:not(.hidden)) .controls,#app:has(#crash:not(.hidden)) .controls{visibility:hidden;pointer-events:none}@media(any-pointer:coarse){.controls{display:none}.touch{bottom:max(18px,env(safe-area-inset-bottom));gap:10px;align-items:flex-end}.touch-flight{flex-wrap:wrap;justify-content:flex-end;max-width:65%}.touch button{touch-action:none}.touch .fly,.touch .land{width:auto;min-width:72px;padding:0 8px}.footer{display:none}}.safety-option{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 0 18px;color:#51747d;font-weight:800;font-size:clamp(15px,1.5vw,21px)}.safety-option input{width:22px;height:22px;accent-color:#ef9a57}.safety-hud{position:absolute;top:max(12px,env(safe-area-inset-top));left:50%;transform:translate(-50%);color:#fff;font-size:clamp(13px,1.5vw,19px);font-weight:800;text-shadow:0 2px 4px #2f5164;pointer-events:none}.safety-hud[hidden],.tablet-controls{display:none}@media(max-width:650px){.message{margin:228px 12px 0;font-size:13px}.safety-hud{left:165px;right:88px;top:96px;transform:none;font-size:11px;line-height:1.3;text-align:center}}@media(max-width:650px)and (any-pointer:coarse){#app:has(#touch:not(.hidden)) .instrument{bottom:212px}}@media(max-height:500px)and (any-pointer:coarse){.minimap{width:150px;height:150px;top:88px}.message{max-width:400px;margin-top:124px;font-size:13px}}@media(any-pointer:coarse)and (min-width:600px)and (min-height:600px){.touch{left:0;right:0;bottom:0}.touch .phone-directions,.touch .touch-flight{display:none}.touch .tablet-controls{display:block;position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none}.stick,.throttle-bar{position:absolute;pointer-events:auto;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.stick{left:28px;bottom:28px;width:200px;height:200px;border-radius:50%;background:radial-gradient(circle,#ffffffd9 0,#ffffffd9 40%,#ffffffa6 41%,#ffffffa6);border:4px solid #fff;box-shadow:0 6px #669ca666,0 10px 26px #305b6b30;color:#5b8797;font-weight:900;font-size:13px}.stick span{position:absolute;pointer-events:none;white-space:nowrap}.stick-up{top:10px;left:50%;transform:translate(-50%)}.stick-down{bottom:10px;left:50%;transform:translate(-50%)}.stick-left{left:12px;top:50%;transform:translateY(-50%)}.stick-right{right:12px;top:50%;transform:translateY(-50%)}.knob{position:absolute;left:50%;top:50%;width:84px;height:84px;margin:-42px 0 0 -42px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff3d6,#ffbd54 45%,#e69538);border:4px solid #fff;box-shadow:0 5px #d9943e,0 8px 16px #305b6b40;pointer-events:none;transition:transform .12s ease-out}.stick.active .knob{transition:none}.throttle-bar{right:28px;bottom:28px;width:96px;padding:10px 0;border-radius:24px;background:#ffffffb8;border:4px solid #fff;box-shadow:0 6px #669ca666;display:flex;flex-direction:column;align-items:center;gap:24px;color:#5b8797;font-weight:900;font-size:13px}.thr-label{white-space:nowrap;pointer-events:none}.thr-track{position:relative;width:34px;height:200px;border-radius:12px;background:#dbe9ea;box-shadow:inset 0 2px 4px #557c8640}.thr-fill{position:absolute;left:0;right:0;top:50%;height:0;border-radius:10px;background:linear-gradient(#ffbd54,#ffd98f)}.thr-fill.brake{background:linear-gradient(#a9dbe4,#69b6c6)}.thr-center{position:absolute;left:-8px;right:-8px;top:50%;height:3px;margin-top:-1.5px;background:#fffc;border-radius:2px}.thr-knob{position:absolute;left:-14px;right:-14px;top:50%;height:34px;margin-top:-17px;border-radius:12px;background:radial-gradient(circle at 35% 30%,#fff3d6,#ffbd54 55%,#e69538);border:3px solid #fff;box-shadow:0 4px #d9943e,0 6px 12px #305b6b40;pointer-events:none;transition:top .12s ease-out}.throttle-bar.active .thr-knob,.throttle-bar.active .thr-fill{transition:none}.instrument{right:175px;bottom:28px}}@media(any-pointer:coarse){.touch{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.touch button{touch-action:none}}@media(any-pointer:coarse)and (min-width:600px)and (min-height:600px){.altitude-tape{height:calc(100% - 250px)}}@media(any-pointer:coarse)and (min-width:600px)and (max-width:900px)and (min-height:600px){.message{justify-self:stretch;margin-left:240px;margin-right:130px}}@media(any-pointer:coarse)and (max-height:500px){.intro{padding:8px 25px}.intro h2{margin:4px 0}.intro p{margin-bottom:8px}.intro-foot{margin-top:8px}.safety-option{margin-bottom:8px}.message{justify-self:stretch;max-width:none;margin-left:190px;margin-right:280px}}@media(any-pointer:coarse)and (min-width:600px)and (max-width:900px)and (min-height:600px){.message{margin-right:230px}}@media(any-pointer:coarse)and (max-width:650px){.message{justify-self:stretch;margin-right:90px}}@media(any-pointer:coarse)and (max-height:500px){#app:has(#intro:not(.hidden)) .brand,#app:has(#intro:not(.hidden)) .compass,#app:has(#intro:not(.hidden)) .instrument{visibility:hidden}}@media(any-pointer:coarse){.retry-keys{display:none}}@media(any-pointer:coarse)and (max-width:650px){#app:has(#intro:not(.hidden)) .altitude-tape,#app:has(#crash:not(.hidden)) .altitude-tape{visibility:hidden}}html,body,#app{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%;text-size-adjust:100%;overscroll-behavior:none;touch-action:none}button,input,label,a{touch-action:manipulation}.touch button,.stick{touch-action:none}.night-toggle{position:fixed;top:316px;left:126px;transform:translate(-50%);z-index:5;pointer-events:auto;height:48px;padding:0 16px;border-radius:16px;background:#ffffffe6;color:#3b6474;border:3px solid #fff;font-size:20px;font-weight:900;box-shadow:0 4px #76b8c5;display:flex;align-items:center;gap:6px;white-space:nowrap}.night-toggle span{font-size:14px}.night-toggle:active{transform:translate(-50%,3px);box-shadow:none}.night .night-toggle{background:#24345fe6;color:#ffe9a8;border-color:#5a6fb0;box-shadow:0 4px #0b1530}@media(max-width:650px){.night-toggle{height:40px;padding:0 10px;font-size:16px}.night-toggle span{font-size:11px}}@media(max-width:650px){.message{margin-top:290px}}
