@import"https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap";.audio-settings.svelte-1x462ce{position:relative;flex:none;color:var(--ink)}summary.svelte-1x462ce{display:flex;align-items:center;justify-content:center;list-style:none;width:44px;height:44px;padding:0;border-radius:5px;color:var(--ink)}summary.svelte-1x462ce::-webkit-details-marker{display:none}section.svelte-1x462ce{position:fixed;z-index:10;right:28px;top:88px;width:280px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 100px);overflow:auto;padding:18px;background:var(--panel);border:1px solid var(--line);border-radius:5px;box-shadow:0 8px 24px #173e4320}summary.svelte-1x462ce:hover{background:#e8eee7}.heading.svelte-1x462ce{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}h2.svelte-1x462ce{font-size:18px;margin:0}.heading.svelte-1x462ce button:where(.svelte-1x462ce){font-size:12px;min-height:44px}.mute.svelte-1x462ce{display:flex;align-items:center;gap:10px;min-height:44px;margin-bottom:12px}.mute.svelte-1x462ce input:where(.svelte-1x462ce){width:18px;height:18px}.volume.svelte-1x462ce{display:grid;grid-template-columns:1fr auto;align-items:center;margin-top:12px;font-size:13px}.volume.svelte-1x462ce input:where(.svelte-1x462ce){grid-column:1/-1;min-height:44px}.volume.svelte-1x462ce output:where(.svelte-1x462ce){font-variant-numeric:tabular-nums;color:var(--muted)}p.svelte-1x462ce{font-size:12px;line-height:1.7;color:var(--muted);margin:14px 0}a.svelte-1x462ce{font-size:12px;color:var(--ink);text-underline-offset:3px}a.svelte-1x462ce:focus-visible{outline:3px solid var(--accent);outline-offset:3px}@media(max-width:700px){section.svelte-1x462ce{right:12px;top:76px;max-height:calc(100dvh - 88px)}}:root{font-family:Noto Sans SC,sans-serif;color:#173e43;background:#c3dce1;font-synthesis:none;--ink:#173e43;--muted:#526c70;--panel:#fafbf6;--accent:#b84a2b;--line:#d8dfd7;--water:#dcebea;--dark:#123d43;--potential:#397d85;--kinetic:#b84a2b;--dissipated:#8a7959;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,.button,select{cursor:pointer}button{color:inherit;border:1px solid var(--line);background:var(--panel);border-radius:5px;min-height:42px;padding:8px 13px;transition:background .16s ease-out,border-color .16s ease-out}button:hover,.button:hover{background:#e8eee7;border-color:#a2b6ae}button:disabled{opacity:.4;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}input,select{color:var(--ink);accent-color:var(--accent);caret-color:var(--accent)}input[type=number],input[type=text],select,.name-row input,.saved-plane input{border:1px solid var(--line);border-radius:4px;background:#fff;padding:9px;min-height:42px;min-width:0}input[type=range]{width:100%;min-height:32px;cursor:ew-resize}::selection{background:#f2c1a5;color:var(--dark)}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-thumb{background:#a1b5b1;border-radius:6px}.app{height:100dvh;min-height:480px;overflow:hidden;position:relative}.scene{position:absolute;inset:0}.scene canvas{display:block;width:100%;height:100%;touch-action:none}.topbar{position:absolute;inset:0 0 auto;z-index:4;height:76px;background:var(--panel);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 28px;gap:20px}.brand{display:flex;align-items:center;gap:11px;background:none;border:0;padding:0;font-size:19px;font-weight:700;text-align:left;letter-spacing:.04em}.brand small{display:block;font-size:9px;letter-spacing:.15em;font-weight:500;margin-top:2px}.brand-group{display:flex;align-items:center;gap:10px;min-width:0}.github-link{display:flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;color:var(--ink);border-radius:5px}.github-link:hover{background:#e8eee7}.github-link:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.topbar nav{display:flex;gap:30px;height:100%;align-items:center}.topbar nav button{height:100%;border:0;border-bottom:3px solid transparent;border-radius:0;background:none;padding:0 9px;min-width:55px;color:var(--muted)}.topbar nav button.active{border-color:var(--accent);color:var(--ink);font-weight:700}.top-actions{display:flex;align-items:center;gap:10px}.quality-label{font-size:12px;color:var(--muted)}.quality-label select{font-size:12px;min-height:34px;padding:4px;border:0;background:transparent}.text-button{border:0;background:transparent;color:var(--muted);padding:6px 10px}.language-label{display:flex;align-items:center;gap:5px;font-size:12px;color:var(--muted)}.language-label select{font-size:12px;padding:4px;min-height:44px}.brand span{white-space:nowrap}.primary{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:600;display:flex;align-items:center;justify-content:space-between;gap:20px}.primary:hover{background:#9e3d24;border-color:#9e3d24}.primary span{font-size:20px}.secondary{background:#fafbf6e8}.large{font-size:16px;min-height:54px}.welcome{position:absolute;left:7%;top:22%;width:420px}.welcome h1{font-size:clamp(42px,5vw,72px);font-weight:700;line-height:1.22;letter-spacing:-.035em;margin:0 0 24px;max-width:9em}.welcome p{line-height:1.95;color:var(--muted);font-size:15px;margin-bottom:32px}.welcome button{width:225px;margin-bottom:12px}.welcome-note{font-size:11px;color:var(--muted);margin-top:24px}.welcome>label{display:flex;align-items:center;gap:12px;margin-bottom:16px;font-size:12px}.welcome>label select{max-width:240px}.menu-caption{position:absolute;bottom:50px;right:50px;text-align:right}.menu-caption span{font-size:16px;font-weight:600}.menu-caption p{font-size:12px;color:var(--muted)}.menu-caption b{padding:0 8px}.editor{position:absolute;top:var(--design-header,76px);bottom:0;left:0;width:var(--editor-width,368px);background:var(--panel);border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:3}.editor-heading{display:flex;justify-content:space-between;align-items:center;padding:22px 22px 14px}.editor-heading h1{font-size:23px;letter-spacing:-.03em;margin:0}.editor-heading p{font-size:11px;color:var(--muted);margin:5px 0 0}.name-row{display:flex;padding:0 22px;gap:8px}.name-row input{flex:1;width:100%;font-weight:500;background:transparent}.name-row button{font-size:12px}.history{display:flex;padding:8px 22px 12px;gap:4px}.history button{font-size:11px;min-height:32px;padding:3px 8px;border:0;background:transparent;color:var(--muted)}.history button:last-child{margin-left:auto}.tabs{display:flex;border-block:1px solid var(--line);padding:0 12px;gap:0}.tabs button{flex:1;white-space:nowrap;font-size:12px;padding:12px 5px;border:0;border-radius:0;background:none;border-bottom:2px solid transparent}.tabs button.active{color:var(--accent);font-weight:600;border-bottom-color:var(--accent)}.editor-content{overflow-y:auto;flex:1;min-height:0;padding:21px 22px}.editor-content h2{font-size:17px;margin:0 0 8px}.help,.direct-edit-note{font-size:12px;line-height:1.8;color:var(--muted);margin:0 0 12px}.direct-edit-note{border:1px dashed #a2b6ae;padding:10px}.scene-editor .editor-control,.scene-editor .editor-point-leader{color:#a33f24}.scene-editor .editor-root-chord{color:#17616b}.scene-editor .editor-tip-chord{color:#6c4b85}.scene-editor .editor-mount{color:#254f86}.scene-editor .editor-root-chord .editor-knob{fill:currentColor}.scene-editor .editor-tip-chord .editor-knob{fill:var(--panel)}.scene-editor .editor-mount-mark{display:none;fill:#e2ebf6;stroke:currentColor;stroke-width:2;pointer-events:none}.scene-editor .editor-mount .editor-mount-mark{display:block}.scene-editor .editor-mount .editor-vertex-mark{display:none}.scene-editor .editor-control-label{fill:var(--ink);font-size:12px;font-weight:600;paint-order:stroke;stroke:var(--panel);stroke-width:3px;stroke-linejoin:round;pointer-events:none}.scene-editor .editor-focus-ring{fill:none;stroke:var(--ink);stroke-width:2;stroke-dasharray:3 2;opacity:0;pointer-events:none}.scene-editor .editor-control:focus{outline:none}.scene-editor .editor-control:focus .editor-focus-ring{opacity:1}.scene-editor .editor-control:hover .editor-knob,.scene-editor .editor-control:hover .editor-vertex-mark,.scene-editor .editor-control:hover .editor-mount-mark{stroke-width:4}summary{cursor:pointer;min-height:38px;padding:10px 0;font-size:12px;color:var(--muted)}.point-table{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:6px;font-size:10px;align-items:center;padding:6px 0 14px}.point-table input{width:100%;padding:5px;min-height:36px}.parameter{margin:18px 0}.parameter-head label{display:flex;gap:7px;align-items:center;font-size:12px}.parameter-head label span{flex:1}.parameter-head input{width:74px;min-height:34px;padding:5px;font-size:13px;font-variant-numeric:tabular-nums}.parameter-head small{width:18px;color:var(--muted)}.parameter p{font-size:11px;line-height:1.8;color:var(--muted);margin:0}.assembly-positions{display:grid;gap:9px;margin:16px 0}.assembly-positions label{display:flex;align-items:center;gap:8px;font-size:12px}.assembly-positions label>span{flex:1}.assembly-positions input{width:82px;padding:6px;font-variant-numeric:tabular-nums}.assembly-positions small{color:var(--muted);width:18px}.preset{border-top:1px solid var(--line);padding-top:17px;margin-top:20px}.preset label{display:block;font-size:11px;color:var(--muted);margin-bottom:8px}.preset select{width:100%;font-size:12px}.editor-footer{padding:15px 22px 20px;border-top:1px solid var(--line);background:var(--panel)}.editor-footer>label{display:flex;align-items:center;justify-content:space-between;font-size:11px;margin-bottom:10px;color:var(--muted)}.editor-footer select{font-size:11px;padding:4px 7px;min-height:32px;background:transparent}.editor-footer .primary{width:100%;min-height:46px}.fixed-parameter{font-size:12px;line-height:1.8;font-variant-numeric:tabular-nums}.fixed-parameter output{font-weight:600}.designing{--editor-width:368px;--design-header:76px;--design-dock:290px}.designing .scene{left:var(--editor-width);top:var(--design-header);bottom:var(--design-dock)}.design-instruments{position:absolute;left:var(--editor-width);right:0;bottom:0;height:var(--design-dock);padding:10px 20px;background:var(--panel);border-top:1px solid var(--line);display:flex;flex-direction:column;gap:7px;font-variant-numeric:tabular-nums;line-height:1.35}.design-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;padding-bottom:7px;border-bottom:1px solid var(--line)}.design-metrics>div{min-width:0}.design-metrics small{display:block;font-size:10px;color:var(--muted);margin-bottom:2px}.design-metrics strong{font-size:18px;font-weight:500;white-space:nowrap}.design-metrics em{font-style:normal;font-size:10px;color:var(--muted)}.stability{font-size:11px}.scene-hint,.trim-values{display:flex;align-items:center;flex-wrap:wrap;gap:3px 18px}.scene-hint span{white-space:nowrap}.scene-hint i{--marker:#ffd52a;position:relative;width:11px;height:11px;border-radius:50%;display:inline-block;vertical-align:-1px;margin-right:4px;border:1px solid #17201d;background:conic-gradient(var(--marker) 0 25%,#17201d 0 50%,var(--marker) 0 75%,#17201d 0)}.scene-hint .cg:before,.scene-hint .cg:after{content:"";position:absolute;background:#17201d}.scene-hint .cg:before{height:1px;width:15px;left:-3px;top:4px}.scene-hint .cg:after{width:1px;height:15px;top:-3px;left:4px}.scene-hint .lift{--marker:#19b9ef}.scene-hint .drag{--marker:#e43c3c}.scene-hint .lift:after,.scene-hint .drag:after{content:"";position:absolute;top:-5px;left:2px;border-inline:2px solid transparent;border-bottom:4px solid var(--marker)}.trim-values{margin-top:4px;font-size:10px;color:var(--muted)}.trim-values span:first-child{font-weight:600;color:var(--ink)}.trim-advice{margin:4px 0 0;font-size:10px;color:var(--muted)}.fuel-cg-range{margin:5px 0 0;font-size:11px;line-height:1.5;font-variant-numeric:tabular-nums}.fuel-cg-range output{font-weight:700}.fuel-cg-range small{display:block;font-size:10px;color:var(--muted)}.design-instruments{overflow:auto}.scene-hint .thrust{--marker:#d58032}.thrust-readout{margin-top:4px}.wing-structure{font-variant-numeric:tabular-nums}.aircraft-menu summary{padding:10px 8px;min-height:44px}.aircraft-menu[open] button{display:block;white-space:nowrap}.saved-plane>div{flex-wrap:wrap}.aero-preview{overflow-x:auto}.aero-preview{min-width:0;flex:1}.aero-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 14px;margin-bottom:3px}.aero-heading h2{font-size:12px;margin:0}.aero-heading p{font-size:10px;color:var(--muted);margin:0}.aero-preview table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:11px;text-align:right;line-height:1.3}.aero-preview th,.aero-preview td{padding:4px 5px;border-bottom:1px solid var(--line);white-space:nowrap}.aero-preview thead th{font-size:9px;color:var(--muted);font-weight:500}.aero-preview th:first-child{width:31%;text-align:left}.aero-wing th{font-weight:500}.aero-wing small{display:block;font-size:9px;color:var(--muted);font-weight:400}.aero-wing:last-child th,.aero-wing:last-child td{border-bottom:0}.viewport-tools{position:absolute;left:calc(var(--editor-width) + 12px);top:calc(var(--design-header) + 10px);display:flex;gap:5px}.viewport-tools button{font-size:11px;background:#fafbf6e8;min-height:36px;padding:5px 12px}.flight-hud{position:absolute;top:98px;left:28px;width:min(920px,calc(100% - 380px));display:grid;grid-template-columns:repeat(7,minmax(0,1fr));background:#fafbf6f2;border-radius:6px;padding:16px 20px;gap:14px}.flight-hud small{display:block;font-size:10px;color:var(--muted);margin-bottom:4px;white-space:nowrap}.flight-hud strong{font-size:27px;font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap}.flight-hud em{font-style:normal;font-size:11px;margin-left:3px;color:var(--muted)}.flight-status{position:absolute;top:202px;left:30px;font-size:11px;display:flex;flex-direction:column;gap:5px;max-width:calc(100% - 60px)}.flight-status b{color:#a52d18;background:#fff2df;padding:9px;border-radius:4px}.flight-tools{position:absolute;right:28px;top:99px;display:flex;gap:8px}.flight-tools button,.flight-tools select{font-size:12px;background:#fafbf6ef}.launch-action{position:absolute;z-index:6;left:50%;bottom:max(24px,env(safe-area-inset-bottom));transform:translate(-50%);width:min(440px,calc(100% - 32px));text-align:center}.launch-action .launch-start{display:flex;align-items:center;justify-content:center;gap:24px;width:100%;min-height:92px;padding:20px 28px;font-size:30px;font-weight:700;border-radius:8px;background:var(--accent);border-color:var(--accent);color:#fff;box-shadow:0 12px 32px #51271340}.launch-action .launch-start:hover{background:#9e3d24;border-color:#9e3d24}.launch-action .launch-start:active{background:#86321e;box-shadow:0 5px 16px #51271340}.launch-action .launch-start:focus-visible{outline:3px solid var(--panel);outline-offset:4px}.launch-action p{margin:10px 0 0;font-size:12px;font-weight:500;color:var(--ink)}.awaiting-flight .flight-instruments{visibility:hidden}.flight-controls{position:absolute;bottom:30px;left:30px;right:30px;display:flex;justify-content:space-between;pointer-events:none}.flight-controls>div{pointer-events:auto;background:#fafbf6ed;padding:12px;border-radius:6px;display:grid;grid-template-columns:1fr 1fr;gap:8px;width:205px}.flight-controls span{grid-column:span 2;font-size:10px;color:var(--muted);text-align:center}.flight-controls button{min-height:56px;touch-action:none;font-size:15px;background:#e7eee6;border-color:#ccd9ce;-webkit-user-select:none;user-select:none}.flight-controls button:active{background:#c1d3c3}.flight-controls progress{grid-column:span 2;width:100%;height:4px;accent-color:var(--accent)}.advanced-hud{position:absolute;right:28px;top:160px;background:#fafbf6ef;padding:0 14px;border-radius:5px;font-size:11px;max-width:310px}.advanced-hud p{line-height:1.7}.advanced-hud label{display:flex;align-items:center;gap:15px}.flight-instruments{position:absolute;left:30px;bottom:178px;width:340px;max-height:calc(100% - 440px);overflow:auto;display:grid;gap:10px;scrollbar-width:thin}.energy-panel,.trajectory-panel{min-width:0;background:#fafbf6f2;border:1px solid var(--line);border-radius:5px;padding:12px 14px;font-variant-numeric:tabular-nums}.instrument-heading{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin-bottom:9px}.instrument-heading h2{font-size:12px;margin:0;font-weight:600}.instrument-heading>span{font-size:10px;color:var(--muted)}.energy-track{display:flex;height:10px;overflow:hidden;border-radius:3px;background:var(--line);margin:10px 0}.energy-track .potential{background:var(--potential)}.energy-track .kinetic{background:var(--kinetic)}.energy-track .dissipated{background:var(--dissipated)}.energy-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0}.energy-values dt{font-size:10px;color:var(--muted)}.energy-values dt:before{content:"";display:inline-block;width:7px;height:7px;border-radius:2px;margin-right:4px}.energy-values .potential dt:before{background:var(--potential)}.energy-values .kinetic dt:before{background:var(--kinetic)}.energy-values .dissipated dt:before{background:var(--dissipated)}.energy-values dd{font-size:12px;margin:4px 0 0;white-space:nowrap}.energy-values dd small{display:block;font-size:10px;color:var(--muted);margin-top:2px}.energy-total{display:flex;justify-content:space-between;gap:6px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:8px;margin:10px 0 0;font-size:11px}.energy-total span{font-size:10px;color:var(--muted)}.energy-caption,.chart-caption,.launch-note{font-size:10px;line-height:1.7;color:var(--muted);margin:7px 0 0}.launch-note{font-size:11px}.trajectory-panel svg{display:block;width:100%;overflow:visible}.trajectory-panel text{fill:var(--muted);font-size:9px}.chart-grid{stroke:var(--line);stroke-dasharray:3 4}.chart-axis{fill:none;stroke:#8ea8a6;stroke-width:1}.chart-line{fill:none;stroke:var(--potential);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.chart-current{fill:var(--accent)}.chart-energy-line{fill:none;stroke:var(--kinetic);stroke-width:2;stroke-dasharray:6 4;stroke-linecap:round;stroke-linejoin:round}.chart-legend{display:flex;gap:8px 18px;flex-wrap:wrap;font-size:11px;margin:0 0 10px;color:var(--ink)}.chart-legend span:before{content:"";display:inline-block;width:20px;margin-right:6px;vertical-align:middle;border-top:2px solid var(--potential)}.chart-legend .energy-key:before{border-color:var(--kinetic);border-top-style:dashed}.chart-cost-line{fill:none;stroke:var(--ink);stroke-width:2;stroke-dasharray:2 4;stroke-linecap:round;stroke-linejoin:round}.chart-legend .cost-key:before{border-color:var(--ink);border-top-style:dotted}.chart-speed-line{fill:none;stroke:#7b4da8;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.chart-scoring-line{fill:none;stroke:var(--accent);stroke-width:2;stroke-dasharray:6 4;stroke-linecap:round;stroke-linejoin:round}.chart-legend .scoring-key:before{border-color:var(--accent);border-top-style:dashed}.pause-banner{position:absolute;top:45%;left:50%;transform:translate(-50%);background:var(--panel);padding:20px 30px;border-radius:6px;display:flex;align-items:center;gap:20px;z-index:3}.results{position:absolute;right:max(24px,env(safe-area-inset-right));top:100px;bottom:max(24px,env(safe-area-inset-bottom));width:min(560px,48vw);padding:28px 30px;background:color-mix(in srgb,var(--panel) 90%,transparent);border:1px solid var(--line);border-radius:8px;overflow:auto;overscroll-behavior:contain;scrollbar-color:#a2b6ae var(--panel);scrollbar-gutter:stable;box-shadow:0 18px 60px #173e4320;animation:result-reveal .65s cubic-bezier(.16,1,.3,1) both}.result-heading h1{font-size:23px;margin:0 0 8px;text-wrap:balance}.result-heading>span{font-size:11px;color:var(--muted)}.score{font-size:76px;line-height:1.2;margin-top:20px;letter-spacing:-.04em;font-weight:600;font-variant-numeric:tabular-nums}.score small{font-size:20px;font-weight:400;margin-left:10px;letter-spacing:0}.best{font-size:12px;color:var(--muted);margin:4px 0 20px}.result-statistics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px 14px;padding-block:19px;border-block:1px solid var(--line)}.result-statistics dt{font-size:10px;color:var(--muted)}.result-statistics dd{margin:5px 0 0;font-size:16px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.result-instruments{display:grid;gap:12px;margin:20px 0;min-width:0}.result-instruments .trajectory-panel svg{max-height:180px}.result-actions{display:flex;flex-wrap:wrap;gap:8px}.result-actions .primary{flex:1}.result-actions button{font-size:12px;min-height:44px}@keyframes result-reveal{0%{opacity:0;transform:translate(18px)}to{opacity:1;transform:translate(0)}}@media(prefers-reduced-motion:reduce){.results{animation:none}}.library{position:absolute;z-index:6;left:390px;top:95px;bottom:30px;width:min(460px,calc(100% - 415px));background:var(--panel);padding:24px;border:1px solid var(--line);border-radius:7px;box-shadow:0 12px 45px #173e4330;overflow:auto}.library-title{display:flex;justify-content:space-between;align-items:center}.library h2{margin:0;font-size:21px}.library>p{font-size:12px;line-height:1.8;color:var(--muted)}.library-actions{display:flex;gap:6px;margin:20px 0;flex-wrap:wrap}.library-actions button,.button{font-size:11px}.button{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:5px;padding:8px 12px;min-height:42px}.button input{position:absolute;width:1px;height:1px;opacity:0}.button:focus-within{outline:3px solid var(--accent)}.saved-plane{padding:18px 0;border-top:1px solid var(--line)}.saved-plane>input{width:100%;font-weight:500}.saved-plane small{display:block;color:var(--muted);font-size:10px;margin:7px 0}.saved-plane>div{display:flex;gap:8px}.saved-plane button{font-size:11px;min-height:36px}.empty{padding:30px 0}.hangar-button{background:var(--dark);border-color:var(--dark);color:#fff;font-weight:600;min-width:72px;min-height:44px;flex-shrink:0}.hangar-button:hover{background:var(--ink);border-color:var(--ink)}.saved-plane>div{align-items:center;flex-wrap:wrap}.saved-plane button{min-height:44px}.saved-plane .load-plane{background:var(--dark);border-color:var(--dark);color:#fff;font-weight:600}.saved-plane .load-plane:hover{background:var(--ink)}.saved-plane .delete-plane{margin-left:auto;color:var(--accent);border-color:var(--accent);background:transparent}.saved-plane .delete-plane:hover{background:var(--accent);color:#fff}.performance{position:absolute;right:16px;bottom:175px;z-index:8;background:var(--dark);color:#f2f5e9;padding:15px 18px;border-radius:5px;font-size:11px;max-width:calc(100% - 32px);pointer-events:auto;box-shadow:0 8px 28px #0002}.performance h2{font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0}.performance button{min-height:26px;padding:3px 8px;font-size:10px;background:transparent;color:inherit;border-color:#668384}.performance small{opacity:.75}.toast{position:absolute;z-index:12;bottom:20px;left:50%;transform:translate(-50%);background:var(--dark);color:#fff;padding:10px 14px 10px 20px;display:flex;align-items:center;gap:24px;border-radius:5px;max-width:calc(100% - 30px);font-size:12px;box-shadow:0 5px 20px #0002}.toast button{font-size:11px;color:inherit;border:0;background:transparent;min-height:30px;padding:3px}.flying .topbar{background:#fafbf6ee}.field-error{color:#a12f1c;font-size:12px;line-height:1.7;margin:8px 0}@media(min-width:1600px){.welcome{left:10%;top:25%}.designing{--editor-width:400px}}@media(max-width:1100px){.topbar{padding:0 18px}.topbar nav{gap:14px}.designing{--editor-width:330px;--design-dock:320px}.editor-heading,.editor-content{padding-left:18px;padding-right:18px}.name-row{padding:0 18px}.design-instruments{padding:10px 14px}.design-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 10px}.design-metrics strong{font-size:15px}.design-metrics small{font-size:9px}.trim-advice{display:none}.library{left:350px;width:min(460px,calc(100% - 370px))}.flight-hud{width:calc(100% - 200px);gap:12px;padding:14px 16px}.flight-hud strong{font-size:23px}.flight-tools{flex-direction:column;align-items:stretch;width:140px}.advanced-hud{top:260px;right:28px}.flight-instruments{width:310px}}@media(max-width:700px){:root{font-size:13px}.app{min-height:0}.topbar{height:64px;padding:0 12px;gap:7px}.brand{gap:5px;font-size:15px;letter-spacing:0}.brand svg{width:26px}.brand small{font-size:6px;letter-spacing:.1em}.topbar nav{gap:0}.topbar nav button{min-width:40px;font-size:12px;padding:0 5px}.top-actions{gap:0}.quality-label{font-size:0}.quality-label select{font-size:10px;width:51px;padding:1px}.top-actions>.text-button{font-size:10px;padding:5px;min-height:40px}.welcome{left:25px;top:18%;width:calc(100% - 50px)}.welcome h1{font-size:47px}.welcome p{font-size:13px;max-width:290px}.welcome button{width:210px}.welcome-note{font-size:10px;margin-top:14px}.menu-caption{right:25px;bottom:25px}.menu-caption span{font-size:12px}.menu-caption p{font-size:10px}.designing{--editor-width:0px;--design-header:64px;--design-scene-height:clamp(130px,23dvh,220px);--design-dock:286px}.designing .scene{height:var(--design-scene-height);bottom:auto}.design-instruments{top:calc(var(--design-header) + var(--design-scene-height));padding:7px 10px;gap:5px}.editor{top:calc(var(--design-header) + var(--design-scene-height) + var(--design-dock));width:100%;bottom:0;border-top:1px solid var(--line);border-right:0}.editor-heading{padding:9px 17px 5px}.editor-heading h1{font-size:17px}.editor-heading p{display:none}.name-row{position:absolute;top:6px;left:132px;right:65px;padding:0;gap:4px}.name-row input{min-height:34px;padding:6px;font-size:11px}.name-row button{min-height:34px;font-size:10px;padding:4px 8px}.history{padding:0 13px 3px}.history button{min-height:26px;font-size:10px}.history button:last-child{margin-left:8px}.tabs{padding:0 8px}.tabs button{min-height:40px;padding:9px 6px}.editor-content{padding:14px 17px}.editor-content h2{font-size:15px}.help{font-size:11px;line-height:1.7}.editor-footer{padding:9px 17px max(10px,env(safe-area-inset-bottom));display:flex;gap:10px;align-items:center}.editor-footer>label{display:block;font-size:9px;margin:0;flex:1}.editor-footer select{display:block;max-width:150px;font-size:10px;margin-top:3px}.editor-footer .primary{width:48%;font-size:12px;min-height:44px}.brand-group{gap:2px}.github-link{width:36px;height:44px}.github-link svg{width:19px}.viewport-tools{top:72px;left:10px;gap:3px}.viewport-tools button{font-size:10px;min-height:33px;padding:5px 9px}.design-metrics{gap:3px 8px;padding-bottom:5px}.design-metrics strong{font-size:13px}.design-metrics small{font-size:8px}.design-metrics em{font-size:9px}.stability{font-size:10px}.scene-hint{gap:2px 10px}.scene-hint i{width:9px;height:9px}.trim-values{font-size:9px;gap:2px 8px;margin-top:3px}.aero-heading{gap:2px}.aero-heading h2{font-size:11px}.aero-heading p{font-size:9px}.aero-preview table{font-size:10px}.aero-preview th,.aero-preview td{padding:4px 2px}.aero-preview thead th{font-size:8px}.aero-preview th:first-child{width:38%}.aero-wing small{font-size:8px;white-space:normal}.point-table{font-size:11px}.parameter-head label{font-size:13px}.parameter p{font-size:12px}.library{inset:78px 12px 16px;width:auto;max-width:none;padding:20px}.flight-hud{top:76px;left:12px;right:12px;width:auto;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 12px;padding:10px 14px}.flight-hud strong{font-size:23px}.flight-hud small{font-size:9px;margin-bottom:1px}.flight-hud em{font-size:10px;margin-left:2px}.flight-status{top:261px;left:15px;right:12px;font-size:10px;gap:3px;max-width:none}.flight-status b{padding:5px 8px;width:max-content}.flight-tools{top:313px;left:12px;right:12px;width:auto;gap:8px;flex-direction:row;justify-content:flex-end}.flight-tools button,.flight-tools select{font-size:10px;padding:7px 9px;min-height:44px}.advanced-hud{left:12px;right:auto;top:364px;max-width:calc(100% - 24px);font-size:10px}.advanced-hud p{line-height:1.8;max-width:250px}.advanced-hud summary{font-size:10px}.flight-instruments{left:12px;right:12px;bottom:calc(155px + env(safe-area-inset-bottom));width:auto;display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:8px;max-height:min(205px,calc(100dvh - 505px));overflow:auto}.flight-instruments .energy-panel,.flight-instruments .trajectory-panel{padding:9px;min-height:170px}.flight-instruments .instrument-heading{display:block;margin-bottom:5px}.flight-instruments .instrument-heading h2{margin-bottom:3px}.flight-instruments .energy-track{margin:7px 0;height:8px}.flight-instruments .energy-values{grid-template-columns:1fr;gap:4px}.flight-instruments .energy-values>div{display:flex;justify-content:space-between;align-items:baseline;gap:4px}.flight-instruments .energy-values dd{font-size:10px;margin:0}.flight-instruments .energy-values dd small{display:inline;margin-left:3px;font-size:9px}.flight-instruments .energy-total{margin-top:7px;padding-top:6px;font-size:10px}.flight-instruments .energy-caption,.flight-instruments .chart-caption{font-size:9px;margin-top:5px}.flight-instruments .trajectory-panel svg{margin:12px 0}.flight-instruments .launch-note{font-size:10px}.flight-controls{bottom:max(18px,env(safe-area-inset-bottom));left:12px;right:12px}.flight-controls>div{width:150px;padding:9px;gap:6px}.flight-controls button{min-height:54px;font-size:13px}.flight-controls span{font-size:9px}.pause-banner{padding:14px 18px;width:max-content;max-width:calc(100% - 24px)}.results{top:auto;right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));width:calc(100% - max(12px,env(safe-area-inset-right)) - max(12px,env(safe-area-inset-left)));max-height:58dvh;padding:20px}.result-heading h1{font-size:19px}.score{font-size:65px;margin-top:20px}.result-statistics{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.result-actions{flex-wrap:wrap}.result-actions .primary{min-width:100%;min-height:45px}.result-actions>button{flex:1}.performance{right:12px;bottom:160px;max-width:calc(100% - 24px);font-size:10px;padding:12px}.toast{width:max-content;gap:10px;font-size:11px}}@media(max-width:700px){.topbar{gap:3px;padding-inline:8px}.brand{font-size:12px}.top-actions>.text-button{min-width:44px;min-height:44px}.topbar nav button{min-width:44px}}@media(max-width:380px){.brand span{display:none}}@media(pointer:coarse){button,.button,select,.viewport-tools button,.tabs button,.flight-tools button,.flight-tools select{min-height:44px}.viewport-tools{gap:5px}.history button{min-height:36px}.topbar nav button{min-width:44px}.top-actions>.text-button{min-width:44px;min-height:44px}.point-table input,.assembly-positions input{min-height:44px}}@media(max-height:700px)and (max-width:700px){.flight-tools{top:299px}.advanced-hud{top:350px}.flight-instruments{top:398px;bottom:145px;max-height:none}.flight-controls>div{padding:7px;gap:4px}.flight-controls button{min-height:46px}.flight-status{top:253px}.flight-hud{gap:6px 12px}.flight-hud strong{font-size:21px}}@media(max-height:540px){.app{min-height:0}.welcome{top:20%;left:5%}.welcome h1{font-size:38px;margin-bottom:12px}.welcome p{font-size:12px;margin-bottom:16px}.welcome button{display:inline-flex;width:190px;margin-right:8px;min-height:44px;font-size:12px}.welcome-note{margin-top:4px}.menu-caption{bottom:15px;right:20px}}@media(max-height:540px)and (min-width:701px){.topbar{height:56px}.designing{--design-header:56px;--editor-width:260px;--design-dock:0px;--instrument-width:340px}.designing .scene{right:var(--instrument-width);bottom:0}.design-instruments{inset:56px 0 0 auto;width:var(--instrument-width);height:auto;border-top:0;border-left:1px solid var(--line);padding:9px;gap:9px}.design-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.design-metrics strong{font-size:13px}.design-metrics small{font-size:8px}.scene-hint{gap:5px;font-size:10px}.trim-values{font-size:9px;gap:4px 9px}.aero-heading{gap:4px}.aero-heading p{font-size:9px;line-height:1.5}.aero-preview table{font-size:9px}.aero-preview th,.aero-preview td{padding:4px 1px}.aero-preview thead th{font-size:8px;white-space:normal}.aero-preview th:first-child{width:42%}.aero-wing small{font-size:8px;white-space:normal}.editor-heading{padding:8px 14px}.editor-heading h1{font-size:17px}.editor-heading p{display:none}.name-row{padding:0 14px}.history{padding:2px 10px}.history button{min-height:30px}.editor-content{padding-top:12px;min-height:0}.editor-footer{display:flex;align-items:center;gap:8px;padding:8px 12px}.editor-footer>label{margin:0;max-width:100px;display:block}.editor-footer select{max-width:100px}.editor-footer .primary{width:auto;flex:1;min-height:44px;font-size:10px;gap:5px}.viewport-tools{top:65px;left:calc(var(--editor-width) + 6px);right:calc(var(--instrument-width) + 6px);gap:2px;flex-wrap:wrap}.viewport-tools button{padding:4px 6px;font-size:9px;min-height:34px}.results{top:70px;bottom:12px}.flight-hud{top:68px;left:12px;width:calc(100% - 180px);padding:10px 14px;gap:10px}.flight-hud strong{font-size:21px}.flight-tools{top:68px;right:12px;width:140px;flex-direction:column;gap:5px}.flight-tools button,.flight-tools select{min-height:36px;padding:4px 8px}.advanced-hud{top:150px;left:12px;right:auto;max-width:310px}.flight-status{top:140px;left:340px;right:165px;font-size:10px}.flight-controls{bottom:12px;left:12px;right:12px}.flight-controls button{min-height:44px}.flight-controls>div{width:170px;padding:8px;gap:5px}.flight-instruments{bottom:12px;left:194px;right:194px;width:auto;max-height:calc(100% - 200px);display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:start}.flight-instruments .energy-panel,.flight-instruments .trajectory-panel{padding:9px}.flight-instruments .instrument-heading{display:block}.flight-instruments .instrument-heading h2{margin-bottom:3px}.flight-instruments .energy-values{grid-template-columns:1fr;gap:4px}.flight-instruments .energy-values>div{display:flex;justify-content:space-between;gap:4px}.flight-instruments .energy-values dd{margin:0;font-size:10px}.flight-instruments .energy-values dd small{display:inline;margin-left:4px}.flight-instruments .energy-caption,.flight-instruments .chart-caption{font-size:9px}.flight-instruments .energy-total{font-size:10px}}@media(max-height:540px)and (max-width:700px){.flight-hud{top:72px;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;padding:8px 10px}.flight-hud strong{font-size:18px}.flight-hud small,.flight-hud em{font-size:8px}.flight-status{top:132px;left:12px;right:275px;font-size:9px}.flight-tools{top:130px;left:auto;right:12px;gap:6px}.flight-tools button,.flight-tools select{min-height:44px;padding:5px 7px}.flight-controls{bottom:12px}.flight-controls>div{width:130px;padding:7px}.flight-controls button{min-height:44px}.flight-instruments{inset:196px 154px 12px;max-height:none;grid-template-columns:1fr;gap:8px}.advanced-hud{top:184px;left:12px;max-width:130px;max-height:48px;overflow:auto;padding:0 8px}.advanced-hud summary{font-size:9px}.pause-banner{top:48%}}@media(max-width:700px){.flight-controls{gap:6px}.flight-controls>div{width:auto;flex:1;min-width:0;padding:6px;gap:4px}.flight-controls button{padding:6px 3px;font-size:12px;min-width:0}.flight-controls span{overflow-wrap:anywhere}.editor-footer{flex-wrap:wrap}.editor-footer>label{min-width:100px}.editor-footer .primary{width:100%}}@media(max-width:700px)and (min-height:541px){.designing{--design-dock:220px}.design-instruments{overflow:auto;flex-shrink:0}.design-instruments>section{flex-shrink:0}}.engine-hud,.challenge-hud{position:absolute;background:var(--panel);border:1px solid var(--line);border-radius:5px;padding:10px 14px;font-size:12px;font-variant-numeric:tabular-nums}.engine-hud{right:28px;top:245px;width:310px}.engine-hud label{display:block}.engine-hud output{float:right;font-weight:700}.engine-hud p{margin:4px 0 0;font-size:11px}.challenge-hud{left:30px;top:260px;display:flex;gap:16px}.challenge-hud strong{display:block}.low-flying .flight-instruments{max-height:calc(100% - 500px)}.tabs{overflow-x:auto}.tabs button{flex-shrink:0}@media(max-width:700px){.engine-hud{top:450px;left:12px;right:12px;width:auto;padding:8px 12px}.challenge-hud{top:406px;left:12px;right:12px;gap:12px;padding:5px 10px;font-size:10px}.challenge-hud strong{display:inline}.powered-flight .flight-instruments,.low-flying .flight-instruments{top:555px;bottom:155px;max-height:none}.engine-hud input{min-height:28px}}@media(max-height:540px){.engine-hud{top:190px;right:12px;left:auto;width:220px;font-size:10px;padding:6px 10px}.engine-hud p{font-size:9px}.challenge-hud{top:195px;left:12px;right:auto;padding:5px 8px;font-size:9px;gap:12px}.challenge-hud strong{display:inline}.powered-flight .flight-instruments,.low-flying .flight-instruments{display:none}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}.mode-buttons{display:flex;flex-direction:column;gap:10px}.welcome .mode-buttons button{width:300px;margin:0;display:flex;align-items:center;justify-content:space-between;gap:12px}.mode-buttons small{font-size:11px;font-weight:400}.name-row{flex-wrap:wrap}.name-row input{flex-basis:100%}.name-row button{flex:1;white-space:nowrap}.editor-footer>span{font-size:12px;color:var(--muted)}.challenge-hud.over-height{background:#9e2319;color:#fff;border:3px solid #ffb05a;box-shadow:0 0 0 5px #9e231944}.challenge-hud.over-height b{align-self:center;max-width:12em}.challenge-hud.over-height strong{font-size:16px}@media(max-width:700px){.welcome .mode-buttons button{width:min(100%,320px);min-height:48px}.welcome h1{font-size:40px;margin-bottom:16px}.welcome p{margin-bottom:18px}.menu-caption{display:none}.challenge-hud.over-height{flex-wrap:wrap;gap:4px 12px}.challenge-hud.over-height b{max-width:none;flex-basis:100%}.challenge-hud.over-height strong{font-size:12px}}@media(max-height:540px){.welcome{top:70px}.welcome h1{font-size:30px;margin-bottom:8px}.welcome p{margin:6px 0 10px;line-height:1.5}.mode-buttons{gap:6px}.welcome .mode-buttons button{min-height:40px}.welcome-note{margin-top:8px}}@media(max-width:700px)and (min-height:541px){.low-flying .engine-hud{top:470px}.low-flying .flight-instruments{top:575px}}.flight-hud.compact-hud{width:min(450px,calc(100% - 380px));grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}@media(max-width:1100px){.flight-hud.compact-hud{width:min(450px,calc(100% - 48px))}}@media(max-width:700px){.flight-hud.compact-hud{width:auto}}.structure-editor{margin-top:18px;padding-top:14px;border-top:1px solid var(--line)}.structure-editor h3{font-size:13px;margin:0 0 12px}.material-picker{display:flex;flex-direction:column;gap:7px;font-size:12px}.material-picker select{width:100%;min-height:44px}.material-properties{margin:12px 0;display:grid;gap:7px;font-size:11px;font-variant-numeric:tabular-nums}.material-properties>div{display:flex;justify-content:space-between;flex-wrap:wrap;gap:3px 10px}.material-properties dt{color:var(--muted)}.material-properties dd{margin:0;text-align:right}.structure-status{border-bottom:1px solid var(--line);padding-bottom:6px}.advanced-hud[open]{max-height:calc(100dvh - 340px);overflow:auto;z-index:4}.advanced-hud summary{overflow-wrap:anywhere}.result-structure{font-size:12px;line-height:1.8}@media(max-width:700px){.advanced-hud[open]{max-height:calc(100dvh - 520px);min-height:100px}}@media(max-height:540px){.advanced-hud[open]{max-height:calc(100dvh - 220px);min-height:100px}}@media(max-height:540px)and (max-width:700px){.results{top:78px;bottom:max(12px,env(safe-area-inset-bottom));width:calc(56% - 12px);max-height:none;padding:16px}.results .score{font-size:48px;margin-top:12px}.results .result-statistics{gap:12px 8px}.results .result-statistics dd{font-size:14px}.results .result-actions>button{flex-basis:100%}}html:not([lang=zh]) .aero-preview table{min-width:560px}html:not([lang=zh]) .flight-hud small{white-space:normal}.name-row{flex-wrap:nowrap}.name-row input{flex-basis:auto}.name-row button{flex:0 0 auto}@media(max-width:700px){.language-label>span{display:none}.language-label select{width:62px;padding:3px;font-size:11px}.brand{letter-spacing:0}.scene-hint span{white-space:normal}.welcome .mode-buttons button{flex-wrap:wrap}.mode-buttons small{white-space:normal}.advanced-hud{max-height:max(100px,calc(100dvh - 390px));overflow:auto}.flight-hud small{white-space:normal}}@media(max-width:520px){.brand span{display:none}.brand svg{width:22px}.github-link{width:30px}.quality-label select{width:44px}.language-label select{width:58px}.topbar{column-gap:3px}}.aero-preview thead th{white-space:normal}.joystick{position:fixed;pointer-events:none;z-index:30;left:50%;top:50%;transform:translate(-50%,-50%);width:60vh;height:60vh;border:2px solid #ffffff90;border-radius:50%;background:#12333318}.stick-deadzone{position:absolute;left:47.5%;top:47.5%;width:5%;height:5%;border:1px solid #fff9;border-radius:50%}.stick-knob{position:absolute;width:18px;height:18px;border:2px solid white;background:#db743e;transform:translate(-50%,-50%);border-radius:50%}.chart-legend .speed-key:before{border-color:#7b4da8}.keyboard-hint{font-size:11px;align-self:center}@media(max-width:700px){.keyboard-hint{display:none}}.flight-sidebar{position:absolute;z-index:3;top:98px;left:28px;bottom:178px;width:350px;overflow:auto;display:flex;flex-direction:column;gap:12px;scrollbar-width:thin;pointer-events:none}.flight-sidebar>*{pointer-events:auto;flex-shrink:0}.flight-sidebar .flight-hud,.flight-sidebar .flight-hud.compact-hud{position:static;width:100%;grid-auto-flow:initial;grid-template-columns:repeat(3,minmax(0,1fr));padding:12px;gap:10px}.flight-sidebar .flight-hud strong{font-size:23px}.flight-sidebar .flight-status,.flight-sidebar .flight-tools,.flight-sidebar .engine-hud,.flight-sidebar .challenge-hud,.flight-sidebar .advanced-hud,.flight-sidebar .flight-instruments{position:static;width:100%;max-width:none;max-height:none;margin:0}.flight-sidebar .flight-tools{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start}.flight-sidebar .keyboard-hint{display:none}.flight-sidebar .flight-instruments{overflow:visible;display:grid;grid-template-columns:1fr}.flight-sidebar .advanced-hud{padding:0 12px}.flight-sidebar .pause-banner{position:static;transform:none;padding:10px 12px;justify-content:space-between;font-size:12px}.flight-sidebar .advanced-hud p{max-width:none}.aero-live{position:relative;z-index:10;width:100%;background:var(--dark);color:#f2f5e9;padding:15px 18px;border-radius:5px;font-size:11px;box-shadow:0 8px 28px #0002}.aero-live h2{font-size:12px;margin:0 0 12px}.aero-live dl{margin:12px 0 0;display:grid;gap:5px}.aero-live dl div{display:flex;gap:16px;justify-content:space-between}.aero-live dd{margin:0;font-variant-numeric:tabular-nums}.trim-controls{display:grid;gap:8px;align-content:start;min-width:0}.trim-controls label{display:flex;flex-direction:column;gap:2px;font-size:11px;font-weight:500}.trim-controls label>span:first-child{display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 6px}.trim-controls output{margin-left:auto;font-variant-numeric:tabular-nums;font-weight:700}.trim-controls small{font-size:10px;line-height:1.5;color:var(--muted)}.trim-controls kbd{font:inherit;font-size:10px;color:var(--muted)}.trim-track{position:relative;display:flex;align-items:center;width:100%;min-height:44px}.trim-track input{margin:0;accent-color:var(--accent);position:relative;z-index:1;background:transparent;min-height:44px}.trim-track i{position:absolute;left:calc(50% - 1px);top:10px;bottom:10px;width:2px;background:var(--ink);pointer-events:none}.wing-peaks{font-size:11px;border-block:1px solid var(--line);padding:12px 0}.wing-peaks h2{font-size:12px;margin:0 0 8px}.wing-peaks p{display:flex;justify-content:space-between;gap:12px}.wing-peaks output{font-variant-numeric:tabular-nums}@media(max-width:700px){.flight-sidebar{left:12px;top:76px;bottom:166px;width:calc(100% - 24px);gap:8px}.flight-sidebar .flight-hud strong{font-size:21px}.aero-live{padding:12px}.flight-sidebar .advanced-hud{overflow:visible}.wing-peaks p{flex-wrap:wrap}}@media(max-height:500px)and (min-width:701px){.flight-sidebar{left:12px;top:72px;bottom:104px;width:290px}.flight-sidebar .flight-hud strong{font-size:18px}.flight-sidebar .flight-hud{gap:6px;padding:8px}}.flying .flight-sidebar{bottom:370px;overflow:auto;width:300px}.flying .flight-sidebar .flight-tools{position:fixed;top:88px;left:auto;right:24px;width:auto;justify-content:flex-end}.flying .flight-sidebar .engine-hud{position:fixed;inset:auto auto 45px 28px;transform:none;width:165px;text-align:center}.engine-hud input[type=range]{writing-mode:vertical-lr;direction:rtl;width:44px;height:130px;display:block;margin:8px auto}.flying .flight-sidebar .flight-right{position:fixed;right:24px;top:145px;width:300px;max-height:calc(100dvh - 190px);overflow:auto}.flying .flight-sidebar .flight-instruments{overflow:auto;min-height:0;flex-shrink:1}.flying .performance{right:24px;left:auto;bottom:48px;max-width:300px}.flight-keyboard-hints{position:absolute;bottom:8px;left:15px;right:15px;text-align:center;font-size:11px;pointer-events:none}.toggle-switch:before{content:"";display:inline-block;width:28px;height:16px;border-radius:12px;background:radial-gradient(circle at 8px 8px,#fff 5px,transparent 6px),#77847f;margin-right:6px;vertical-align:middle}.toggle-switch[aria-checked=true]:before{background:radial-gradient(circle at 20px 8px,#fff 5px,transparent 6px),#2a806a}.race-results{width:min(880px,calc(100vw - 40px));top:85px;bottom:16px;max-height:none;padding:18px 24px;display:grid;grid-template-columns:1fr 1fr;gap:8px 24px;align-content:start}.race-results .result-heading,.race-results .best,.race-results .result-instruments,.race-results .result-actions{grid-column:1/-1}.race-results .score{font-size:48px;margin:0;grid-column:1}.race-results .result-statistics{grid-column:2;grid-row:2/4;margin:0;gap:8px}.race-results .best{grid-column:1;margin:0}.race-results .result-structure{margin:0;font-size:11px}.race-results .wing-peaks{margin:0;padding:6px 0}.race-results .wing-peaks p{margin:4px 0}.race-results .trajectory-panel{padding:8px 12px}.race-results .trajectory-panel svg{max-height:23dvh;width:100%;margin:0}.race-results .chart-caption{margin:0;font-size:10px}.race-results .result-actions{margin:0}@media(max-width:700px){.flying .flight-sidebar{width:42%;left:8px;top:80px;bottom:40px;overflow:auto}.flying .flight-sidebar .flight-tools{top:76px;right:8px;max-width:52%;gap:4px}.flying .flight-sidebar .flight-right{right:8px;top:180px;width:48%}.flying .flight-sidebar .engine-hud{width:120px;bottom:35px}.engine-hud input[type=range]{height:90px}.flight-keyboard-hints{font-size:9px}.race-results{top:76px;bottom:8px;right:8px;width:calc(100% - 16px);padding:10px;gap:6px 12px}.race-results .score{font-size:36px}.race-results .result-statistics dd{font-size:13px}.race-results .result-actions{flex-wrap:nowrap}.race-results .result-actions .primary{min-width:0}.race-results .result-actions button{font-size:10px;min-height:36px}.race-results .wing-peaks{font-size:9px}}.race-results .result-scoring{grid-column:1/-1;margin:0;font-size:11px}.result-scoring small{display:block;font-size:10px;overflow-wrap:anywhere}@media(max-height:600px){.race-results{grid-template-columns:1fr 1fr 1fr;gap:4px 12px;padding:10px;top:68px}.race-results .result-heading{grid-column:1}.race-results .result-heading h1{font-size:17px;margin:0}.race-results .score{grid-column:2;grid-row:1;font-size:32px}.race-results .best{grid-column:3;grid-row:1;font-size:9px}.race-results .result-statistics{grid-column:1;grid-row:2/5;grid-template-columns:1fr 1fr;font-size:9px}.race-results .result-statistics dd{font-size:12px}.race-results .result-scoring{grid-column:2/-1;font-size:9px}.race-results .result-structure{grid-column:2;font-size:9px}.race-results .wing-peaks{grid-column:3;font-size:9px;padding:0}.race-results .wing-peaks h2{font-size:10px;margin:0}.race-results .result-instruments{grid-column:2/-1}.race-results .trajectory-panel svg{max-height:25dvh}.race-results .trajectory-panel .chart-caption{display:none}.race-results .result-actions{grid-column:1/-1}.race-results .result-actions button{min-height:30px;padding:4px 10px}.race-results .chart-legend{font-size:9px}.race-results .instrument-heading{margin:0}}@media(max-height:600px){.race-results .result-structure,.race-results .wing-peaks{display:none}.race-results .trajectory-panel svg{max-height:22dvh}}@media(min-height:601px)and (max-height:850px){.race-results{gap:5px 16px;padding:12px 18px}.race-results .score{font-size:38px}.race-results .result-statistics{padding:8px 0}.race-results .wing-peaks{font-size:10px;padding:4px 0}.race-results .wing-peaks h2{font-size:11px;margin-bottom:4px}.race-results .trajectory-panel svg{max-height:20dvh}.race-results .result-actions button{min-height:36px;padding:6px 12px}}@media(max-width:700px)and (min-height:601px){.race-results .wing-peaks{display:none}.race-results .result-structure{grid-column:1/-1;font-size:10px}}@media(max-height:600px){.race-results .trajectory-panel svg{max-height:15dvh}.race-results .trajectory-panel{padding:4px 8px}.race-results .chart-legend{margin-block:3px}.race-results .result-scoring small{font-size:8px}}.result-scoring small{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:2px;font-variant-numeric:tabular-nums}@media(max-height:600px){.result-scoring small{grid-template-columns:repeat(15,minmax(0,1fr));gap:0}}@media(min-height:601px)and (max-height:850px){.race-results .wing-peaks{display:none}.race-results .result-structure{grid-column:1/-1}.race-results .trajectory-panel svg{max-height:18dvh}}.pilot-hud{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(650px,66vw);height:min(440px,65dvh);pointer-events:none;fill:none;stroke:#8dff96;stroke-width:1.5;filter:drop-shadow(0 1px 2px #102c17);font:13px monospace}.pilot-hud text{fill:#8dff96;stroke:none;text-anchor:middle}.pilot-hud .hud-value{font-size:25px}@media(max-width:700px){.pilot-hud{width:80vw;height:48dvh}}.stick-panel{position:absolute;z-index:4;left:28px;bottom:max(30px,env(safe-area-inset-bottom));width:340px;padding:12px;background:var(--panel);border:1px solid var(--line);border-radius:6px;font-variant-numeric:tabular-nums;box-shadow:0 5px 18px #173e4314}.powered-flight .stick-panel{left:205px}.stick-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:10px;font-size:12px}.stick-heading span{font-size:10px;color:var(--muted)}.stick-main{display:grid;grid-template-columns:120px minmax(0,1fr);gap:14px;align-items:start}.stick-input{min-width:0}.stick-pad{display:block;width:120px;height:120px;padding:0;border:0;border-radius:50%;background:#e9efe7;touch-action:none;-webkit-user-select:none;user-select:none;cursor:crosshair}.stick-pad:hover{background:#e1eadd}.stick-pad:disabled{opacity:1;cursor:default}.stick-pad svg{display:block;width:100%;height:100%}.stick-rim{fill:none;stroke:#6f8a82;stroke-width:1.5}.stick-cross{fill:none;stroke:#6f8a82;stroke-width:1;stroke-dasharray:3 4}.stick-limit{fill:#397d850c;stroke:#397d85;stroke-width:1;stroke-dasharray:2 4}.stick-trim-marker{fill:none;stroke:var(--accent);stroke-width:1.5}.stick-position{fill:var(--ink);stroke:var(--panel);stroke-width:2}.yaw-controls{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-top:4px}.yaw-controls button{min-height:44px;min-width:44px;padding:5px;touch-action:none;-webkit-user-select:none;user-select:none}.yaw-controls span{font-size:10px;color:var(--muted)}.flight-assists{display:grid;gap:8px;margin-top:10px}.flight-assists button{display:flex;align-items:center;gap:0;min-height:44px;width:100%;padding:7px 9px;text-align:left;font-size:12px}.flight-assists button span{min-width:0}.flight-assists kbd{margin-left:auto;padding-left:8px;font:inherit;color:var(--muted)}.flight-assists .toggle-switch:before{flex-shrink:0}.controls-disabled .stick-main{opacity:.45}.awaiting-flight .stick-panel{opacity:.45;pointer-events:none}@media(max-width:700px){.launch-action{bottom:max(20px,env(safe-area-inset-bottom));width:min(380px,calc(100% - 32px))}.launch-action .launch-start{min-height:80px;font-size:26px;padding:16px 22px}.stick-panel{left:8px;bottom:max(27px,env(safe-area-inset-bottom));width:min(300px,calc(100% - 16px));padding:9px}.powered-flight .stick-panel{left:8px}.stick-main{grid-template-columns:100px minmax(0,1fr);gap:10px}.stick-pad{width:100px;height:100px}.stick-heading{margin-bottom:6px}.trim-controls{gap:4px}.trim-controls label{font-size:10px}.trim-controls small{font-size:9px}.flight-assists{margin-top:8px;gap:8px}.flight-assists button{font-size:11px}.flying .flight-sidebar{bottom:345px}.powered-flight .flight-sidebar{bottom:610px}.flying .flight-sidebar .engine-hud{left:8px;right:auto;bottom:380px;width:108px}.flying .flight-sidebar .flight-right{max-height:calc(100dvh - 530px)}.flight-keyboard-hints{display:none}}@media(max-width:450px)and (min-height:541px){.stick-panel{width:calc(100% - 132px);min-width:184px}.flying:not(.powered-flight) .stick-panel{width:min(300px,calc(100% - 16px))}.stick-main{grid-template-columns:88px minmax(0,1fr);gap:8px}.stick-pad{width:88px;height:88px}.stick-heading span{display:none}.yaw-controls{gap:0}.yaw-controls button{min-width:44px}.yaw-controls span{display:none}.trim-controls label>span:first-child{gap:2px}.trim-controls kbd{display:none}.trim-controls small{line-height:1.35}.flight-assists button{padding-inline:5px;font-size:10px}.flight-assists .toggle-switch:before{margin-right:4px}.flying .flight-sidebar{bottom:380px}}@media(max-height:540px){.stick-panel{left:8px;bottom:max(12px,env(safe-area-inset-bottom));width:330px;padding:8px}.powered-flight .stick-panel{left:135px}.stick-heading{margin-bottom:4px}.stick-main{grid-template-columns:88px minmax(0,1fr);gap:10px}.stick-pad{width:88px;height:88px}.yaw-controls{margin-top:0}.trim-controls{grid-template-columns:1fr 1fr;gap:4px 8px}.trim-controls label>span:first-child{font-size:10px}.trim-controls small{grid-column:1/-1;font-size:9px}.flight-assists{grid-template-columns:1fr 1fr;gap:8px;margin-top:6px}.flight-assists button{font-size:10px;padding:5px}.flight-assists .toggle-switch:before{width:24px;margin-right:4px}.flight-assists kbd{padding-left:4px}.flying .flight-sidebar{left:8px;top:72px;bottom:240px;width:240px;overflow:auto}.flying .flight-sidebar .engine-hud{left:8px;right:auto;width:115px;bottom:12px}.flying .flight-sidebar .flight-right{top:128px;max-height:calc(100dvh - 175px)}.flight-keyboard-hints{display:none}.launch-action .launch-start{min-height:72px;font-size:26px;padding-block:12px}.launch-action p{margin-top:6px}}@media(max-width:700px)and (min-height:541px){.powered-flight .flight-sidebar{bottom:610px}}
