:root{font-family:Inter,"Segoe UI",sans-serif;color:#fbf5e9;background:#172933;--ink:#111e24;--amber:#f3bd70;--muted:#c9c7bd;--line:#ffffff24;--panel:#101b21eb;color-scheme:dark}*{box-sizing:border-box}body{margin:0;overflow:hidden}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.47}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--amber);outline-offset:4px}[hidden]{display:none!important}#viewport, #viewport canvas{position:fixed;inset:0;width:100%;height:100%;display:block;touch-action:none}body::before{content:'';position:fixed;z-index:1;inset:0;pointer-events:none;background:linear-gradient(90deg,#0c161eea 0,#101920b3 23%,#10192000 52%),linear-gradient(0deg,#0b151c9e,transparent 25%)}header,main,aside,footer,#flight-ui{position:fixed;z-index:2}header{left:28px;right:28px;top:22px;display:flex;align-items:center;justify-content:space-between}button{border:1px solid var(--line);background:#101d26b8;color:#fbf5e9;border-radius:4px;padding:9px 12px;font-size:12px;font-weight:600;min-height:35px}button:hover:not(:disabled){border-color:#f3bd70ab}button.primary{background:var(--amber);color:#192027;border-color:var(--amber);padding:11px 16px}.brand{display:flex;align-items:center;gap:15px;font-weight:780;letter-spacing:.23em;font-size:18px;text-shadow:0 1px 9px #07151bcc}.brand small,.eyebrow{font-size:9px;letter-spacing:.17em;font-weight:750;color:var(--amber)}.brand small{border-left:1px solid #ffffff4a;padding-left:13px;color:#f5efe7}header .header-actions{display:flex;gap:7px}main{left:clamp(28px,4.5vw,72px);top:50%;transform:translateY(-46%);width:min(360px,41vw);max-height:calc(100dvh - 115px);overflow:auto;padding:4px 4px 8px}h1{font-size:clamp(54px,8.1vw,115px);line-height:.92;letter-spacing:-.076em;margin:13px 0 12px;font-weight:730}h1 span{color:var(--amber)}main p{font-size:14px;color:#e2ddd3;line-height:1.55;max-width:285px;margin:0 0 18px;text-shadow:0 1px 7px #000a}.sortie{padding:0;margin:0 0 16px;border:0;display:grid;gap:5px;max-width:315px}.sortie legend{padding:0 0 7px;color:#d8d3c9;font-size:11px}.sortie label{display:flex;align-items:center;gap:10px;padding:9px 11px;background:#101b21ab;border:1px solid var(--line);border-radius:4px;cursor:pointer}.sortie label:has(input:checked){border-color:#f3bd70ab;background:#171f22e6}.sortie input,.toggle input,.range-label input,#touch-throttle{accent-color:var(--amber)}.sortie b,.sortie small{display:block;font-size:12px}.sortie small{font-size:10px;color:#dfd3c0;margin-top:4px}.launch-actions{display:flex;gap:7px;flex-wrap:wrap}main #vr-status{margin:8px 0 0;color:#d7d8d1;font-size:10px;line-height:1.4}footer{bottom:16px;left:28px;right:28px;display:flex;justify-content:space-between;font-size:9px;letter-spacing:.11em;text-shadow:0 1px 5px #000;color:#e7e4d9}footer a{font-weight:650}body.flying::before{background:linear-gradient(0deg,#0b151c85,transparent 22%)}#flight-ui{inset:0;pointer-events:none}.flight-mission{position:absolute;left:28px;top:81px;text-shadow:0 1px 8px #000c;background:#101b21ad;padding:13px 15px;border-left:2px solid var(--amber);max-width:236px;border-radius:0 4px 4px 0}.flight-mission h2{font-size:17px;margin:6px 0 4px}.flight-mission #mission-detail{font-size:11px;line-height:1.45;color:#f0e8db}.mission-meta{display:flex;gap:18px;margin-top:8px;font-size:9px;color:var(--amber);font-variant-numeric:tabular-nums}.flight-actions{position:absolute;right:28px;top:70px;display:flex;gap:6px;pointer-events:auto;flex-wrap:wrap;justify-content:flex-end}.flight-actions button{font-size:10px;min-height:30px;padding:5px 8px}kbd{font:inherit;font-size:.85em;color:var(--amber);margin-left:3px}.flight-data{position:absolute;right:29px;bottom:52px;display:grid;gap:11px;min-width:94px;text-align:right;text-shadow:0 1px 8px #000;filter:drop-shadow(0 1px 3px #0a141ad9)}.flight-data small,.systems span{display:block;font-weight:650;letter-spacing:.12em;font-size:8px;color:#ffe7c5}.flight-data strong{font-size:clamp(20px,3.1vw,41px);line-height:1.06;font-weight:560;font-variant-numeric:tabular-nums}.power-readout strong{font-size:18px}.systems{display:flex;justify-content:flex-end;gap:8px}.systems span{padding:3px;background:#121e25ad;color:#eeeadb}#power-track{height:2px;background:#ffffff55;margin:4px 0 0 auto;width:82px}#power-track i{height:100%;display:block;background:var(--amber)}#toast{position:absolute;bottom:43px;left:50%;transform:translateX(-50%);max-width:min(70%,460px);background:#111d24dd;font-size:12px;text-align:center;padding:8px 11px;border-radius:4px;opacity:0;transition:opacity .2s}.settings-head{display:flex;justify-content:space-between;align-items:center}.settings-head h2{font-size:21px;letter-spacing:-.025em;margin:0}.settings-head button{font-size:18px}.toggle{display:flex;justify-content:space-between;align-items:center;font-size:13px;padding:10px 0;border-bottom:1px solid var(--line)}aside{right:28px;top:67px;bottom:46px;width:min(360px,calc(100vw - 32px));border:1px solid var(--line);background:var(--panel);backdrop-filter:blur(14px);padding:18px 20px;overflow:auto;border-radius:6px;z-index:5}aside h3{font-size:13px;color:var(--amber);margin:17px 0 5px}aside p{font-size:12px;line-height:1.6;color:#e0ded6;margin:0 0 8px}aside .range-label{display:block;font-size:13px;padding-top:13px}aside output{float:right;color:var(--amber)}aside input[type=range]{width:100%;margin:8px 0 0}#error{position:fixed;z-index:6;left:50%;top:48%;transform:translate(-50%,-50%);width:min(500px,90vw);padding:22px;border:1px solid var(--amber);background:#131e24;border-radius:6px;line-height:1.6}.xr-active header,.xr-active main,.xr-active footer,.xr-active aside,.xr-active #flight-ui,.xr-active #touch-controls,.xr-active::before{display:none}.minimal .flight-mission,.minimal .flight-data,.minimal header,.minimal footer,.minimal .flight-actions{display:none}#touch-controls{position:fixed;z-index:3;bottom:12vh;left:16px;right:16px;display:flex;align-items:flex-end;justify-content:space-between;pointer-events:none}#touch-controls label,#touch-controls button,#touch-stick{pointer-events:auto}#touch-controls label{display:grid;justify-items:center;gap:6px;background:#14242edc;border-radius:4px;padding:8px;font-size:8px;font-weight:700}#touch-throttle{writing-mode:vertical-lr;direction:rtl;height:86px;width:23px}#touch-stick{border:1px solid #eee5bc77;background:#14242e7c;width:88px;height:88px;border-radius:50%;display:grid;place-items:center;touch-action:none}#touch-stick i{width:25px;height:25px;border-radius:50%;background:var(--amber);opacity:.82}
@media(max-width:650px){header{left:15px;right:15px;top:13px}.brand{font-size:14px}.brand small{display:none}main{left:15px;width:min(310px,87vw);top:auto;bottom:42px;transform:none;background:#101b21c7;padding:13px;border-radius:5px}h1{font-size:54px;margin:6px 0 8px}main p{font-size:12px;margin-bottom:10px}.sortie{gap:4px;margin-bottom:9px}.sortie label{padding:7px}body::before{background:linear-gradient(0deg,#0b151cad,transparent 85%)}.flight-mission{left:15px;top:60px;max-width:155px;padding:7px 9px}.flight-mission h2{font-size:13px}.flight-mission #mission-detail{font-size:9px}.flight-actions{right:15px;top:59px;max-width:175px}.flight-actions button{font-size:9px}.flight-data{right:15px;bottom:38px;gap:5px}.flight-data strong{font-size:20px}footer{left:15px;right:15px;bottom:10px}aside{right:16px;top:58px}#toast{bottom:35px;font-size:10px}#touch-controls{bottom:26vh}}
@media(max-height:540px){main{max-height:calc(100dvh - 85px)}h1{font-size:48px;margin:5px 0}.sortie label{padding:5px}.sortie small{margin-top:2px}main p{margin-bottom:7px}.sortie{margin-bottom:6px}footer{bottom:9px}}
