:root{color-scheme:dark}.scene{color-scheme:only light}*{box-sizing:border-box}html,body{margin:0;background:#07131f;color:#e5eff7;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif}button,input{font:inherit}button{cursor:pointer}.shell{max-width:1550px;margin:auto;padding:26px 30px}header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}h1{font-size:32px;letter-spacing:-1.2px;margin:7px 0 4px}h1 span{color:#70c9e6}header p{margin:0;color:#7892a6;font-size:13px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:2px;color:#65b8ce}.header-actions{display:flex;align-items:center;gap:10px}button{border:1px solid #28435a;border-radius:8px;background:#122639;color:#d9ebf7;padding:10px 14px;font-size:12px;font-weight:700}.primary{background:#247a92;border-color:#349bb2}.live{font-size:10px;letter-spacing:1px;color:#8db9ad;margin-right:12px;font-weight:800}.live i{display:inline-block;background:#49d4a3;border-radius:50%;height:7px;width:7px;margin-right:7px}.layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:18px}main{min-width:0}.scene-card,aside,.telemetry>div{border:1px solid #244057;border-radius:12px;background:#0d1e2e;overflow:hidden}.scene-heading,.scene-footer{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;font-size:11px;letter-spacing:.7px;color:#8da8b9}.scene-heading strong{color:#d5e8f3}.scene{width:100%;display:block;background:#112e44}.scene-footer{border-top:1px solid #244057;gap:12px;letter-spacing:0;font-size:10px}.panel-title{padding:20px 19px 15px;display:flex;justify-content:space-between;font-size:11px;letter-spacing:.6px}.panel-title span{color:#678fa5;font-size:9px}.tabs{display:flex;flex-wrap:wrap;gap:4px;padding:0 12px 12px;border-bottom:1px solid #244057}.tabs button{padding:9px 10px;background:transparent;border:0;font-size:11px;color:#8aa4b6}.tabs button.active{background:#1c4558;color:#9ee9f5}.controls{padding:22px 21px;min-height:365px}.controls h3{margin:0 0 8px;font-size:17px}.controls p{font-size:12px;color:#819cb0;line-height:1.6;margin:0 0 27px}.controls label:not(.toggle){display:flex;justify-content:space-between;font-size:12px;margin:23px 0 13px}.controls label b{color:#85d9ec;font-size:12px}.controls input[type=range]{width:100%;accent-color:#48b8d1;cursor:pointer}.range-ends{display:flex;justify-content:space-between;font-size:10px;color:#68879c;margin-top:5px}.toggle{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin:18px 0}.toggle input{accent-color:#48b8d1}.info{background:#122e41;border:1px solid #254a60;padding:13px;border-radius:8px;color:#8eb6c9;font-size:11px;line-height:1.6;margin-top:27px}.aside-bottom{padding:20px;border-top:1px solid #244057}.aside-bottom strong{font-size:10px;letter-spacing:1px;color:#9fb6c6}.aside-bottom p{color:#69899d;font-size:11px}.aside-bottom div{display:flex;justify-content:space-between;margin:15px 0;font-size:11px}.aside-bottom span{color:#718fa3}.aside-bottom b{font-weight:500;color:#b2d0df}@media(max-width:1000px){.layout{grid-template-columns:1fr}.shell{padding:16px}header{flex-direction:column;align-items:flex-start}.header-actions{flex-wrap:wrap}}@media(max-width:480px){.scene-footer{flex-direction:column;align-items:flex-start}}input[type=range]{pointer-events:none}input[type=range]::-webkit-slider-thumb{pointer-events:auto}input[type=range]::-moz-range-thumb{pointer-events:auto}button:focus-visible,input:focus-visible{outline:2px solid #9ee9f5;outline-offset:3px}button:disabled{cursor:default;opacity:.55}.live.inactive i{background:#d6a867}.controls{--tab-content-height: max(14rem, calc(100dvh - 18rem) );min-height:min(365px,var(--tab-content-height));max-height:var(--tab-content-height);overflow-y:auto;scrollbar-gutter:stable;scrollbar-color:#45677c #0d1e2e}.about-content h4{margin:20px 0 8px;font-size:14px}.about-content p,.about-content li{font-size:14px;line-height:1.6;color:#a9c0d2}.about-content p{margin:0 0 12px}.about-content ul{padding-left:20px;margin:0 0 16px}.about-content li+li{margin-top:8px}.about-contact a{color:#85d9ec;overflow-wrap:anywhere}.about-contact a:focus-visible{outline:2px solid #9ee9f5;outline-offset:3px}.about-content .about-version{margin-top:20px;padding-top:12px;border-top:1px solid #244057;color:#d9ebf7}.donation-dialog{width:min(360px,calc(100vw - 32px));max-width:none;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);overflow:auto;margin:auto;padding:20px;border:1px solid #45677c;border-radius:12px;background:#0d1e2e;color:#e5eff7}.donation-dialog::backdrop{background:#020c18b8}.donation-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.donation-heading h2{margin:0;font-size:20px}.donation-heading button{min-width:44px;min-height:44px;font-size:20px}.donation-amounts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:20px}.donation-amounts button{min-height:44px;padding:8px 4px}.donation-amounts button[aria-pressed=true]{background:#247a92;border-color:#349bb2}.donation-dialog label{display:block;margin-bottom:8px;font-size:14px}.donation-dialog input{width:100%;padding:10px;border:1px solid #45677c;border-radius:8px;background:#122639;color:#e5eff7;font-size:16px}.donation-dialog input:invalid{border-color:#ff6464;outline-color:#ff6464}.donation-send{width:100%;min-height:44px;margin-top:16px}.controls:focus-visible{outline:2px solid #9ee9f5;outline-offset:-2px}@media(max-width:1000px){main{display:contents}.scene-card{grid-row:1}aside{grid-row:2}.controls{--tab-content-height: max(12rem, 60dvh);min-height:0}}.tabs button{padding-inline:8px}.scene-heading{flex-wrap:wrap;gap:8px 12px;padding-block:9px}.scene-status{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px}.zoom-controls{display:flex;gap:4px}.zoom-controls button{min-width:36px;min-height:36px;padding:6px 9px;font-variant-numeric:tabular-nums}.zoom-controls button[title]{min-width:52px}.controls input[type=number]{width:100%;padding:10px 12px;border:1px solid #28435a;border-radius:8px;background:#122639;color:#e5eff7;font-variant-numeric:tabular-nums}.trajectory{padding:12px 16px 4px;border-top:1px solid #244057}.trajectory-heading{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 12px;color:#a4bed0;font-size:11px}.trajectory-heading h2{margin:0;color:#e5eff7;font-size:13px}.trajectory svg{display:block;width:100%;max-height:195px}.trajectory-grid{stroke:#345165;stroke-width:1}.trajectory-axis{fill:#b5ccdc;font-size:11px}.trajectory-line{fill:none;stroke:#5ad9e9;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.trajectory-current{fill:#9af6ff}@media(max-width:600px){.trajectory{padding-inline:8px}.trajectory-axis{font-size:14px}}.stall-readings,.camera-settings dl{display:grid;gap:8px;padding:12px;margin:0;border:1px solid #254a60;border-radius:8px;background:#122e41;color:#b2d0df;font-size:12px}.stall-readings div,.camera-settings dl div{display:flex;justify-content:space-between;gap:8px}.stall-readings dd,.camera-settings dd{margin:0;color:#9ee9f5;font-variant-numeric:tabular-nums}.controls input[type=range]+small{display:block;margin-top:5px;color:#a4bed0;line-height:1.4}.scene-trail polyline{fill:none;stroke:#9af6ff;stroke-opacity:.75;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.scene-trail.compact polyline{stroke-width:1}.scene-trail circle{fill:#b9faff}.wing-reference-controls{margin:0;padding:0 10px;border:1px solid #28435a;border-radius:8px;color:#d5e8f3}.wing-reference-controls legend{padding:0 6px;font-size:12px;font-weight:700}.wing-reference-controls .toggle{margin:9px 0}.wing-legend{display:flex;flex-wrap:wrap;gap:5px 12px;padding:0 16px 10px;font-size:11px}.wing-legend:empty{display:none}.wing-reference{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.wing-reference text{fill:currentColor;stroke:#0b2038;stroke-width:3;paint-order:stroke;font-size:13px;font-weight:700}.wing-reference.resultant{stroke-width:4}.wing-reference.airflow{stroke-width:1.5}.wing-legend .chord,.wing-reference.chord{color:#f4f7fb}.wing-legend .horizon,.wing-reference.horizon{color:#9cacc8}.wing-legend .lift,.wing-reference.lift{color:#ffe28b}.wing-legend .drag,.wing-reference.drag{color:#ff9c92}.wing-legend .resultant,.wing-reference.resultant{color:#62e8ab}.wing-legend .airflow,.wing-reference.airflow{color:#74cfff}.wing-legend .attack,.wing-reference.attack{color:#ff4747}.wing-legend .incidence,.wing-reference.incidence{color:#41a9ff}[data-attack-status="Above stall threshold"]{--attack-color: #ff6464}[data-attack-status="Near stall threshold"]{--attack-color: #ffe066}[data-attack-status="Below stall threshold"]{--attack-color: #62e8ab}.scene-heading .telemetry strong[data-attack-status]{color:var(--attack-color)}.wing-reference.attack tspan[data-attack-status]{fill:var(--attack-color)}.dynamics-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:18px}.controls .dynamics-heading h3{margin:0}.vario-tests{display:flex;flex-wrap:wrap;gap:8px}.dynamics-section{margin-top:24px;padding-top:18px;border-top:1px solid #244057}.thermal-key{display:inline-flex;gap:8px}.thermal-key b:first-child{color:#ffd0b6}.thermal-key b:last-child:not(:first-child){color:#b3ddff}.scene-heading .telemetry{flex-basis:100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(105px,100%),1fr));gap:6px}.scene-heading .telemetry>div{padding:7px 8px;border-radius:6px}.scene-heading .telemetry small{display:block;margin-bottom:3px;color:#a4bed0;font-size:9px;letter-spacing:.25px}.scene-heading .telemetry strong{white-space:nowrap;font-size:15px;font-variant-numeric:tabular-nums}.scene-heading .telemetry em{font-size:10px;font-style:normal;color:#a4bed0}.flight-sliders{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flight-slider{display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 8px;border:1px solid #28435a;border-radius:8px;background:#122639}.flight-slider span{color:#a4bed0;font-size:11px}.controls .flight-slider label:not(.toggle){flex-direction:column;align-items:center;gap:4px;margin:0 0 6px;text-align:center}.controls .flight-slider input[type=range]{width:34px;height:136px;margin:0;writing-mode:vertical-lr;direction:ltr}.mobile-layout{--mobile-top: max(6px, env(safe-area-inset-top, 0px));--mobile-right: max(6px, env(safe-area-inset-right, 0px));--mobile-bottom: max(6px, env(safe-area-inset-bottom, 0px));--mobile-left: max(6px, env(safe-area-inset-left, 0px));position:fixed;inset:0;width:100%;max-width:none;height:100vh;height:100dvh;padding:var(--mobile-top) var(--mobile-right) var(--mobile-bottom) var(--mobile-left);display:flex;flex-direction:column;gap:6px;overflow:hidden}.mobile-layout header{flex:0 0 auto;flex-direction:row;flex-wrap:wrap;align-items:center;gap:6px;margin:0}.mobile-layout header h1{margin:0;font-size:clamp(13px,3.6vw,17px);letter-spacing:-.4px;line-height:1.15;overflow-wrap:normal}.mobile-layout header>div:first-child{flex:1 1 150px;min-width:0}.mobile-layout header .eyebrow,.mobile-layout header p{display:none}.mobile-layout .mobile-actions{display:flex;flex-shrink:0;gap:4px;margin-left:auto}.mobile-layout button{min-width:44px;min-height:44px;-webkit-tap-highlight-color:transparent}.mobile-layout .mobile-actions button{padding:8px}.mobile-layout .layout{flex:1 1 0;min-height:0;display:flex}.mobile-layout main{display:flex;flex:1;min-height:0}.mobile-layout .scene-card{flex:1;min-width:0;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto}.mobile-layout .scene-card>.scene-heading{padding:2px 8px;flex-wrap:nowrap;gap:4px;letter-spacing:0;font-size:10px}.mobile-layout .scene-status{gap:2px 8px}.mobile-layout .zoom-controls{flex-shrink:0;gap:2px}.mobile-layout .zoom-controls button{min-width:44px;padding:4px}.mobile-layout .zoom-controls button[title]{min-width:50px}.mobile-layout .wing-reference text,.mobile-layout .wing-reference text tspan{stroke:none;stroke-width:0}.mobile-layout .mobile-scene-readout{position:absolute;left:10px;bottom:10px;max-width:calc(100% - 20px);color:#c8e0ee;font-size:16px;line-height:1.3;text-shadow:0 1px 2px #000;pointer-events:none}.mobile-layout .scene{width:100%;height:100%;min-height:0}.mobile-layout .trajectory{padding:5px 6px 0;min-height:0}.mobile-layout .trajectory-heading{flex-wrap:nowrap;gap:6px;font-size:10px}.mobile-layout .trajectory-heading h2{font-size:12px}.mobile-layout .trajectory-heading span{white-space:nowrap}.mobile-layout .trajectory svg{height:clamp(88px,23dvh,150px);max-height:none}.mobile-layout .trajectory-axis{font-size:22px}.mobile-layout .mobile-dialog{inset:var(--mobile-top) var(--mobile-right) var(--mobile-bottom) var(--mobile-left);width:min(460px,calc(100% - var(--mobile-left) - var(--mobile-right)));max-width:none;max-height:calc(100vh - var(--mobile-top) - var(--mobile-bottom));max-height:calc(100dvh - var(--mobile-top) - var(--mobile-bottom));margin:auto;padding:0;border:1px solid #45677c;border-radius:12px;background:#0d1e2e;color:#e5eff7;overflow:hidden}.mobile-layout .mobile-dialog::backdrop{background:#020c18b8}.mobile-layout .mobile-dialog[open]{display:flex;flex-direction:column}.mobile-layout .settings-dialog{height:calc(100vh - var(--mobile-top) - var(--mobile-bottom));height:calc(100dvh - var(--mobile-top) - var(--mobile-bottom))}.mobile-layout .mobile-panel-heading{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 12px;border-bottom:1px solid #244057}.mobile-layout .mobile-panel-heading h2{margin:0;font-size:17px}.mobile-layout .settings-dialog aside{flex:1;min-height:0;display:flex;flex-direction:column;border:0;border-radius:0}.mobile-layout .settings-dialog .panel-title{display:none}.mobile-layout .settings-dialog .tabs{flex:0 0 auto;padding:6px;gap:2px}.mobile-layout .settings-dialog .tabs button{padding:6px 8px;font-size:12px}.mobile-layout .settings-dialog .controls{flex:1;min-height:0;max-height:none;padding:16px;overscroll-behavior:contain}.mobile-layout .mobile-flight-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-block:12px}.mobile-layout .mobile-flight-actions .live{flex-basis:100%}.mobile-layout .mobile-dialog input[type=number]{font-size:16px}.mobile-layout .mobile-dialog input[type=range]:not([aria-orientation=vertical]){min-height:44px}.mobile-layout .controls .toggle{min-height:44px;margin-block:8px}.mobile-layout .controls .flight-slider input[type=range]{width:44px}.portrait-telemetry{display:none}.mobile-layout .flight-canvas{min-height:0;overflow:hidden}@media(orientation:portrait){.mobile-layout .flight-canvas{display:flex;flex-direction:column}.mobile-layout .flight-canvas>.scene-surface{flex:1 1 0;height:0}.mobile-layout .portrait-telemetry{display:block;flex:0 0 auto;padding:4px 6px}.mobile-layout .portrait-telemetry .telemetry{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.mobile-layout .portrait-telemetry .telemetry>div{min-width:0;padding:4px 5px;border-radius:6px}.mobile-layout .portrait-telemetry small{display:block;margin-bottom:2px;color:#a4bed0;font-size:9px;line-height:1.2}.mobile-layout .portrait-telemetry strong{color:#d5e8f3;font-size:14px;line-height:1.2;white-space:nowrap;font-variant-numeric:tabular-nums}.mobile-layout .portrait-telemetry strong[data-attack-status]{color:var(--attack-color)}.mobile-layout .portrait-telemetry em{color:#a4bed0;font-size:10px;font-style:normal}}.mobile-landscape .layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:6px}.mobile-landscape .scene-card{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) clamp(112px,34%,160px)}.mobile-landscape .scene-card>.scene-heading{grid-column:1 / -1;grid-row:1}.mobile-landscape .flight-canvas{grid-column:1 / -1;grid-row:2}.mobile-landscape .trajectory{grid-column:1;grid-row:3;min-width:0;display:flex;flex-direction:column;padding:4px;border-right:1px solid #244057}.mobile-landscape .trajectory-heading h2{font-size:11px}.mobile-landscape .trajectory-heading span{display:none}.mobile-landscape .trajectory svg{height:0;flex:1;min-height:0}.mobile-landscape .trajectory-axis{font-size:11px}.mobile-landscape .landscape-telemetry{grid-column:2;grid-row:3;min-width:0;padding:4px;border-top:1px solid #244057}.mobile-landscape .landscape-telemetry .telemetry{height:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}.mobile-landscape .landscape-telemetry .telemetry>div{font-size:12px;line-height:1.2;min-width:0;border-radius:5px;padding:2px 4px}.mobile-landscape .landscape-telemetry small{display:block;font-size:8px;line-height:1.2;color:#a4bed0}.mobile-landscape .landscape-telemetry strong{font-size:12px;line-height:1.2;white-space:nowrap;font-variant-numeric:tabular-nums}.mobile-landscape .landscape-telemetry strong[data-attack-status]{color:var(--attack-color)}.mobile-landscape .landscape-telemetry em{font-size:9px;font-style:normal;color:#a4bed0}.mobile-landscape .landscape-settings{grid-row:1;display:flex;flex-direction:column;min-width:0;min-height:0}.mobile-landscape .landscape-settings .panel-title{flex:0 0 auto;padding:8px;font-size:10px}.mobile-landscape .landscape-settings .panel-title span{display:none}.mobile-landscape .landscape-settings .tabs{flex:0 0 auto;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;padding:2px 4px;scrollbar-width:thin}.mobile-landscape .landscape-settings .tabs button{flex:0 0 auto}.mobile-landscape .landscape-settings .controls{flex:1;min-height:0;max-height:none;padding:8px;overflow-wrap:anywhere}.mobile-landscape .landscape-settings .dynamics-heading{flex-wrap:wrap}.mobile-landscape main{grid-column:1;grid-row:1}.mobile-landscape .landscape-settings{grid-column:2}.scene-surface{position:relative;min-width:0}.mobile-layout .scene-surface{height:100%;min-height:0}.mobile-layout .flight-sliders{grid-template-columns:repeat(2,minmax(0,64px));justify-content:center;gap:8px}.mobile-layout .canvas-legend{position:absolute;top:6px;right:6px;z-index:1;display:flex;flex-direction:column;max-width:calc(100% - 12px);max-height:calc(100% - 12px);overflow:hidden;border:1px solid #45677c;border-radius:8px;background:#0d1e2eb3}.mobile-layout .canvas-legend.expanded{width:min(250px,calc(100% - 12px))}.mobile-layout .legend-toggle{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:10px;border:0;border-radius:0;background:transparent;padding:6px 10px;font-size:11px;text-align:left}.mobile-layout .legend-toggle:focus-visible{outline-offset:-3px}.mobile-layout .canvas-legend-content{min-height:0;overflow-y:auto;overscroll-behavior:contain}.mobile-layout .canvas-legend .scene-footer{flex-direction:column;align-items:flex-start;gap:6px;padding:8px;font-size:10px}.mobile-layout .canvas-legend .wing-legend{padding:0 8px 8px;gap:6px 10px}.mobile-layout .canvas-legend .flight-attitude{display:none}
