:root{color-scheme:dark;--muted:#7893ab;--cyan:#95ddff;--line:#b6d8ff26}*{box-sizing:border-box}body{margin:0;background:#02060e;color:#edf4fb;font:13px system-ui,sans-serif;overflow:hidden}button,input,select{font:inherit}button{cursor:pointer;color:inherit;border:1px solid var(--line);background:#c9e4ff08;border-radius:6px;padding:11px 14px;transition:.2s}button:hover{background:#9fdcff20;border-color:#a6deff80}button:active{transform:scale(.97)}button:disabled{opacity:.3;cursor:default}button:focus-visible{outline:2px solid var(--cyan)}#space,#shade{position:fixed;inset:0;width:100%;height:100%}#shade{pointer-events:none;background:linear-gradient(180deg,#02091680,transparent 25%,transparent 65%,#020916b0)}header{position:fixed;inset:0 0 auto;height:93px;display:flex;align-items:center;justify-content:space-between;padding:0 34px;border-bottom:1px solid #b6d8ff14;background:linear-gradient(#070e1bd9,#070e1b22)}#brand{font-size:36px;display:flex;align-items:center;gap:12px}#brand span{font-size:17px;letter-spacing:3px}#brand b{font-weight:400;color:#b6d3e5}#brand small{display:block;font-size:8px;color:var(--muted);letter-spacing:2.6px;margin-top:7px}#location{font-size:9px;letter-spacing:2px;color:#9fb9ce}nav{display:flex;gap:7px}nav button{padding:9px 12px}kbd{font:9px monospace;color:#8da7bb;border:1px solid #b8dbff24;border-radius:3px;padding:2px 4px;margin-left:8px}.glass{background:#0a1425b8;border:1px solid var(--line);border-radius:9px;backdrop-filter:blur(14px)}.mission{position:absolute;left:32px;top:125px;padding:20px 22px;width:276px}.eyebrow{font-size:8px;letter-spacing:1.7px;color:var(--muted);display:flex;justify-content:space-between;gap:15px}.eyebrow span{font-size:7px;color:#85cce3}h3{font-weight:400;font-size:19px;margin:18px 0 8px}p{line-height:1.8;color:#99afc2}.mission p{font-size:12px}.textbtn{border:0;background:none;padding:9px 0 0;font-size:9px;letter-spacing:1.5px;color:#b9e9ff}#targetPanel{position:absolute;right:32px;top:125px;width:276px;padding:21px}.targetTitle{display:flex;justify-content:space-between;align-items:center;margin-top:22px}h2{font-weight:400;font-size:30px;margin:0}#targetType{font-size:9px;letter-spacing:1.3px;margin:6px 0}#planetIcon{font-size:50px;color:#8bd4ff;text-shadow:0 0 30px #218cff}.targetData{display:flex;gap:20px;border-block:1px solid var(--line);padding:18px 0;margin-top:16px;font-size:8px;color:var(--muted);letter-spacing:1px}.targetData strong{display:block;color:white;font-size:16px;letter-spacing:0;margin-top:8px;font-weight:400}#targetDesc{font-size:11px;min-height:37px}.actions{display:flex;gap:8px;margin:18px 0 10px}.actions button{flex:1;font-size:11px}.primary{color:#0d2330;background:#a3e1fb;border-color:#a3e1fb;font-size:10px;font-weight:700;letter-spacing:1.4px;padding:14px}.primary:hover{background:#d0f1ff}#warpBtn{width:100%;display:flex;justify-content:space-between}.footnote{font-size:8px;color:#6e8b9e;text-align:center;margin-top:11px}#crosshair{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#c6e9ff66;font-size:21px;pointer-events:none}#reticle{position:absolute;pointer-events:none;display:flex;align-items:center;flex-direction:column;transform:translate(-50%,-50%);color:#bde5fb;font-size:10px;letter-spacing:2px}#reticle i{width:58px;height:58px;border:1px solid #c1eaff77;border-radius:5px}#reticle span{margin-top:12px}#reticle small{color:#88a4b9;margin-top:5px;font-size:9px;letter-spacing:0}#flightMode{position:absolute;bottom:181px;left:34px;display:flex;gap:9px;align-items:center;font-size:9px;letter-spacing:1.7px}#flightMode i{width:5px;height:5px;background:var(--cyan);border-radius:50%}#flightMode button{font-size:9px;padding:6px 8px;margin-left:8px}footer{position:absolute;left:32px;right:32px;bottom:43px;height:120px;display:flex;align-items:center;padding:24px 30px;gap:38px}.telemetry{min-width:128px}.telemetry label{display:block;font-size:9px;letter-spacing:1.6px;color:var(--muted);margin-bottom:10px}.telemetry strong{font-weight:300;font-size:25px;display:block}.telemetry small{font-size:8px;color:var(--muted);letter-spacing:1px}.telemetry strong small{font-size:12px}.bar{height:2px;background:#8cbdde26;width:130px;margin-top:10px}.bar i{display:block;height:2px;background:var(--cyan);width:0%}.attitude{flex:1;text-align:center;color:#6f899f;font:10px monospace;word-spacing:22px}.attitude b{color:var(--cyan)}.attitude div{margin-top:17px;word-spacing:0;color:#b1d5eb}.status div{font-size:11px;margin:7px 0;color:#aee5dc}.bottomActions{display:flex;gap:8px}.bottomActions button{font-size:10px;display:flex;align-items:center;gap:8px;padding:13px 11px}.bottomActions kbd{margin-left:0}.desktopHelp{position:absolute;bottom:15px;width:100%;text-align:center;font:9px monospace;word-spacing:6px;color:#b3cada}.desktopHelp span{color:#607c92;word-spacing:0}#toast{position:absolute;bottom:225px;left:50%;transform:translateX(-50%);background:#0d2033e8;border:1px solid #80d8ff44;border-radius:7px;padding:12px 22px;opacity:0;transition:opacity .3s;pointer-events:none;text-align:center}#warpOverlay{display:none;position:absolute;inset:35% 25% auto;text-align:center;letter-spacing:4px;pointer-events:none;text-shadow:0 3px 15px black}#warpOverlay h1{font-size:42px;font-weight:400;margin:20px}#warpOverlay p{font-size:10px;letter-spacing:1px}#warpOverlay button{pointer-events:auto}progress{display:block;margin:25px auto;width:60%;height:3px;accent-color:var(--cyan)}dialog{background:#091322f5;color:#edf4fb;border:1px solid #b7ddff30;border-radius:14px;padding:28px;max-width:600px;width:90%;backdrop-filter:blur(20px)}dialog::backdrop{background:#01050bd0;backdrop-filter:blur(6px)}.dialogHead{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.dialogHead h1{font-size:32px;font-weight:400;margin:9px 0 0}.dialogHead h2{font-size:25px}.dialogHead button{border:0;font-size:18px}#mapDialog{width:1000px;max-width:94vw;height:720px;max-height:92vh;padding:28px 30px}.mapLayout{display:flex;height:calc(100% - 99px);gap:26px}.mapLayout aside{width:270px;flex-shrink:0;display:flex;flex-direction:column}input:not([type=checkbox]):not([type=range]){width:100%;border:1px solid var(--line);background:#010912;color:white;padding:13px;border-radius:5px}#tabs{display:flex;flex-wrap:wrap;gap:5px;margin:13px 0}#tabs button{font-size:10px;padding:9px}.active{background:#7bd5ff20;border-color:#86dcff88;color:#bdeeff}#catalog{overflow:auto;flex:1;scrollbar-width:thin}#catalog button{display:flex;align-items:center;width:100%;gap:13px;text-align:left;border:0;border-bottom:1px solid #b7dfff0d;border-radius:0;padding:13px 8px}#catalog .orb{width:25px;height:25px;border-radius:50%;box-shadow:inset -9px -5px 12px #0008}#catalog b{font-weight:500;font-size:12px}#catalog small{display:block;font-size:9px;color:var(--muted);margin-top:5px}.atlas{position:relative;flex:1;border:1px solid #b0dfff18;border-radius:8px;background:#030a14;overflow:hidden}#atlasCanvas{width:100%;height:100%}.atlasCaption{position:absolute;top:20px;left:20px;font-size:8px;letter-spacing:1.5px;color:#9bbbcf}.atlasCaption small{display:block;font-size:8px;letter-spacing:0;color:#59788e;margin-top:7px}#selection{position:absolute;bottom:20px;left:20px;right:20px;background:#09192bdd;padding:20px;border:1px solid #9edbff22;border-radius:6px}#selection h2{font-size:24px}#selection p{font-size:11px}#selection button{width:100%}#settingsDialog label{display:flex;justify-content:space-between;align-items:center;padding:15px 0;border-bottom:1px solid var(--line)}#settingsDialog>button{margin:20px 4px 0 0}.muted{font-size:11px;color:#6d889e}dl{display:grid;grid-template-columns:1fr 1fr;gap:12px;font-size:12px}dt{color:#c5e9ff}dd{margin:0;color:#859fb3}#touchControls{display:none}
@media(max-width:1100px){#location{display:none}.attitude{display:none}footer{gap:20px;padding:20px}.mission{width:236px}.bottomActions button span{display:none}.telemetry{min-width:100px}}
@media(pointer:coarse){#touchControls{display:flex;position:absolute;left:24px;right:24px;bottom:149px;justify-content:space-between;align-items:center;pointer-events:none}.stick{width:106px;height:106px;border:1px solid #9bdcff44;border-radius:50%;background:#15324f33;position:relative;touch-action:none;pointer-events:auto}.stick div{width:42px;height:42px;border:1px solid #d0efff66;border-radius:50%;background:#7dcfff33;position:absolute;left:31px;top:31px;pointer-events:none}.stick span{position:absolute;bottom:-19px;width:100%;text-align:center;font-size:8px;color:#6f98b1;letter-spacing:2px}.touchActions{display:flex;gap:7px;pointer-events:auto}.touchActions button{background:#102a41a0;touch-action:none}#flightMode{bottom:275px}.desktopHelp{display:none}footer{bottom:18px;height:105px}#toast{bottom:280px}}
@media(max-width:700px){header{height:75px;padding:0 15px}#brand{font-size:27px;gap:7px}#brand span{font-size:12px;letter-spacing:1.5px}#brand small{font-size:6px;letter-spacing:1.7px}nav{gap:4px}nav button{padding:8px}nav button span,nav kbd{display:none}.mission{display:none}#targetPanel{top:94px;right:14px;width:205px;padding:13px;background:#081427a8}.targetTitle{margin-top:12px}h2{font-size:23px}#planetIcon{font-size:34px}#targetType{font-size:7px}#targetDesc,.footnote{display:none}.targetData{padding:10px 0;margin-top:9px;gap:12px;font-size:7px}.targetData strong{font-size:13px}.eyebrow{font-size:7px;letter-spacing:1px}.eyebrow span{font-size:6px}.actions{margin:11px 0 7px}.actions button{padding:9px 5px;font-size:10px}#warpBtn{padding:11px;font-size:9px}footer{left:14px;right:14px;padding:14px;gap:12px}.telemetry{min-width:75px}.telemetry strong{font-size:20px}.telemetry label{font-size:7px}.bar{width:75px}.status{display:none}.bottomActions{margin-left:auto;gap:5px}.bottomActions button{padding:10px}.bottomActions kbd{display:none}#flightMode{left:18px;font-size:8px}#mapDialog{padding:19px;height:88vh}.mapLayout{gap:12px}.mapLayout aside{width:43%}.atlasCaption{left:10px;font-size:6px}.atlasCaption small{max-width:120px}#selection{left:8px;right:8px;bottom:8px;padding:12px}#selection h2{font-size:20px}#selection p{font-size:10px;line-height:1.6}#selection button{font-size:8px;padding:11px 4px}#tabs button{font-size:8px;padding:7px}#catalog button{padding:11px 4px;gap:7px}#catalog .orb{width:17px;height:17px;flex-shrink:0}#catalog b{font-size:11px}#catalog small{font-size:8px}#search{font-size:10px;padding:10px}.dialogHead h1{font-size:26px}#warpOverlay{inset:39% 5% auto}#warpOverlay h1{font-size:30px}#reticle{font-size:8px}#reticle i{width:42px;height:42px}#toast{width:80%;font-size:11px}#helpDialog{max-height:85vh;overflow:auto}dl{font-size:10px}}
body.warping #space{filter:saturate(1.5) brightness(1.35)}body.warping #shade{background:repeating-conic-gradient(from 0deg at 50% 50%,transparent 0deg 9deg,#7dd7ff26 9.06deg 9.13deg,transparent 9.2deg 16deg);mask-image:radial-gradient(ellipse,transparent 10%,#000 80%);animation:warpPulse .5s ease-in-out infinite alternate}body.warping #reticle{opacity:0}@keyframes warpPulse{from{opacity:.3;transform:scale(1)}to{opacity:.8;transform:scale(1.1)}}
@media (max-height:550px){header{height:58px}.mission{top:78px;padding:15px;width:210px}#targetPanel{top:75px;width:216px;padding:13px}.targetTitle{margin-top:8px}#targetDesc,.footnote{display:none}.targetData{padding:8px 0;margin-top:6px}.actions{margin:8px 0}footer{height:82px;bottom:14px}.desktopHelp{display:none}#flightMode{bottom:110px}#touchControls{bottom:112px}.stick{width:80px;height:80px}.stick div{left:19px;top:19px}.touchActions{margin-bottom:0}.mission p{font-size:10px}}
/* Flight edition 2 */
html,body{overscroll-behavior:none;width:100%;height:100%;-webkit-user-select:none;user-select:none}button{touch-action:manipulation}input{user-select:auto}#boot{position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;flex-direction:column;background:radial-gradient(ellipse at 50% 45%,#19304bd9,#040911fa 70%);backdrop-filter:blur(8px);text-align:center;padding:30px}.bootMark{color:#a3e1fb;font-size:70px;text-shadow:0 0 40px #6ac7ff66}#boot h1{font-size:clamp(23px,4vw,40px);font-weight:300;letter-spacing:7px}#boot p{font-size:13px;margin:0 0 30px}#boot small{color:#6f91aa;font-size:10px;margin-top:22px}#boot.hidden{display:none}#launchBtn{min-width:250px;padding:18px}#rotatePrompt{position:fixed;z-index:70;inset:0;display:none;align-items:center;justify-content:center;flex-direction:column;background:#070f1af7;text-align:center;padding:25px}#rotatePrompt.visible{display:flex}#rotatePrompt>div{font-size:70px;color:#a3e1fb;margin-bottom:20px}#rotatePrompt button{margin-top:14px}#fatal:not([hidden]){position:fixed;inset:40% 10% auto;z-index:90;background:#18293f;padding:30px;text-align:center;border:1px solid #99dfff;border-radius:8px}#targetPanel{z-index:3}.mission{z-index:3}.dragHandle{cursor:grab;touch-action:none;font-weight:400;display:block;padding:8px 2px;margin:-8px -2px}.dragging{z-index:20!important;box-shadow:0 12px 50px #0008;outline:1px solid #a3e1fb!important}.layoutMode #targetPanel,.layoutMode .mission,.layoutMode #flightMode,.layoutMode .stick{outline:1px dashed #8fdfff;cursor:move}.layoutMode #touchControls{z-index:12}.layoutMode .stick{pointer-events:auto}.layoutMode .stick>span{color:#bfeaff}#flightMode{z-index:4}#flightMode button{padding:8px;font-size:8px}#navInfo{position:fixed;top:105px;left:50%;transform:translateX(-50%);display:none;gap:15px;align-items:center;background:#0a1e32cf;border:1px solid #92daff33;border-radius:5px;padding:5px 6px 5px 15px;font-size:10px;z-index:5;max-width:90vw}#navInfo button{padding:7px;font-size:10px}#targetArrow{display:none;font-weight:400;font-size:26px;color:#a9e6ff}#reticle.offscreen #targetArrow{display:block}#reticle.offscreen i{display:none}#reticle.offscreen span{margin-top:0}#reticle{z-index:2}#targetPanel .targetTitle h2{font-size:clamp(19px,2.2vw,30px);overflow-wrap:anywhere}#targetType{max-width:175px}#throttleLabel{display:flex;gap:7px;flex-direction:column;font-size:8px;letter-spacing:1px;align-items:center;color:#9bbcd4}#throttle{width:100px;accent-color:#a4deff}#throttleValue{font-size:10px}#warpFlash{position:fixed;inset:0;z-index:9;background:#b6eaff;opacity:0;pointer-events:none}#warpOverlay{z-index:6}#warpOverlay button{background:#071422b0}#cockpitFrame{display:none;position:fixed;inset:0;pointer-events:none;z-index:1}.cockpit #cockpitFrame{display:block}.cockpitRail{position:absolute;bottom:0;height:65%;width:6px;background:linear-gradient(90deg,#405269,#132330);box-shadow:0 0 10px #0008;transform-origin:bottom}.leftRail{left:18%;transform:rotate(-19deg)}.rightRail{right:18%;transform:rotate(19deg)}.cockpitDash{position:absolute;bottom:0;left:21%;right:21%;height:23px;border-top:2px solid #6b879b55;background:#0d1828;color:#5a869e;text-align:center;font:8px monospace;padding-top:6px;letter-spacing:3px}#space{outline:none}#toast{z-index:35}dialog{z-index:40}#targetPanel .targetData div{min-width:0}#targetPanel .targetData strong{white-space:nowrap}#settingsDialog{max-height:90vh;overflow:auto}#settingsDialog>button{margin-top:12px}.atlasCaption small{max-width:230px}.telemetry small{overflow-wrap:anywhere}#pauseBtn{min-width:36px}.stick{z-index:7}#atlasCanvas{cursor:grab}#atlasCanvas:active{cursor:grabbing}
@media(pointer:coarse) and (orientation:landscape){header{height:60px;padding:0 max(17px,env(safe-area-inset-left))}#brand{font-size:29px}#brand span{font-size:13px;letter-spacing:2px}#brand small{font-size:6px}nav button{padding:7px 10px}nav button span,nav kbd{display:none}.mission{display:none}#targetPanel{top:76px;right:max(17px,env(safe-area-inset-right));width:208px;padding:13px;background:#081528bd}.targetTitle{margin-top:10px}#targetPanel .targetTitle h2{font-size:20px}#targetType{font-size:7px;margin:4px 0}#planetIcon{font-size:31px}#targetDesc,.footnote{display:none}.targetData{padding:9px 0;margin-top:7px;font-size:7px;gap:14px}.targetData strong{font-size:13px;margin-top:5px}.actions{margin:9px 0 6px}.actions button{padding:8px 5px;font-size:10px}#warpBtn{padding:10px;font-size:8px}.eyebrow{font-size:7px;letter-spacing:1px}.eyebrow span{font-size:6px}#touchControls{left:max(26px,env(safe-area-inset-left));right:max(26px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));align-items:flex-end}.stick{width:88px;height:88px}.stick div{width:38px;height:38px;left:24px;top:24px}.stick span{bottom:-14px;font-size:7px}.touchActions{position:fixed;bottom:120px;left:50%;transform:translateX(-50%);align-items:center;gap:8px}.touchActions button{padding:11px 13px;font-size:9px}#flightMode{bottom:155px;left:25px;font-size:8px;gap:5px}#flightMode button{padding:7px;font-size:7px}#flightMode kbd{display:none}footer{left:145px;right:145px;bottom:24px;height:79px;padding:12px 18px;gap:16px}.telemetry{min-width:82px}.telemetry label{font-size:7px;margin-bottom:7px}.telemetry strong{font-size:20px}.telemetry small{font-size:7px}.bar{width:80px;margin-top:7px}.attitude,.status{display:none}.bottomActions{margin-left:auto;gap:6px}.bottomActions button{padding:10px}.bottomActions button span,.bottomActions kbd{display:none}#navInfo{top:72px;font-size:8px;padding-left:9px;gap:7px}#navInfo button{font-size:8px}#toast{bottom:175px;font-size:11px;max-width:70%;width:auto}#warpOverlay{inset:27% 26% auto;font-size:9px;letter-spacing:2px}#warpOverlay h1{font-size:28px;margin:10px}#warpOverlay p{font-size:8px}progress{margin:15px auto}.desktopHelp{display:none}#mapDialog{height:94vh;max-height:94vh;padding:16px 22px}.dialogHead{margin-bottom:12px}.dialogHead h1{font-size:25px;margin-top:5px}.mapLayout{height:calc(100% - 65px);gap:16px}.mapLayout aside{width:220px}#selection{bottom:10px;left:10px;right:10px;padding:12px}#selection h2{font-size:19px}#selection p{font-size:9px;line-height:1.5;margin:7px 0}#selection button{font-size:8px;padding:9px}.atlasCaption{font-size:7px;top:12px;left:12px}#tabs{margin:8px 0}#tabs button{padding:7px;font-size:9px}#catalog button{padding:9px 7px}#catalog .orb{width:21px;height:21px}#search{padding:9px;font-size:11px}#helpDialog{max-height:90vh;overflow:auto}}
@media(pointer:coarse) and (orientation:portrait){#flightMode{bottom:275px;gap:4px;font-size:7px}#flightMode kbd{display:none}#flightMode button{font-size:7px;padding:7px}#touchControls{bottom:145px}.touchActions{position:fixed;left:50%;bottom:270px;transform:translateX(-50%);align-items:center}.touchActions button{padding:9px;font-size:8px}#throttle{width:75px}#navInfo{top:78px;font-size:8px;width:92%;justify-content:space-between}#targetPanel{top:125px}#toast{bottom:310px}footer{height:98px}.bottomActions button{padding:10px}}
@media (prefers-reduced-motion:reduce){button{transition:none}body.warping #shade{animation:none}#toast{transition:none}}
@media(pointer:coarse) and (orientation:landscape) and (max-height:380px){header{height:52px}#brand{font-size:25px}#brand small{display:none}nav button{padding:6px 9px}#targetPanel{top:64px;width:184px;padding:9px}.targetTitle{margin-top:6px}#targetPanel .targetTitle h2{font-size:18px}#planetIcon{font-size:26px}#targetPanel .targetData{display:none}.actions{margin:7px 0 5px}.actions button{padding:7px;font-size:9px}#warpBtn{padding:9px;font-size:7px}#targetType{font-size:6px}.eyebrow{font-size:6px}.eyebrow span{font-size:5px}.stick{width:72px;height:72px}.stick div{width:32px;height:32px;left:19px;top:19px}#touchControls{bottom:18px}footer{bottom:18px;height:66px;left:125px;right:125px;padding:10px 15px}.telemetry strong{font-size:18px}.telemetry label{margin-bottom:5px}.touchActions{bottom:101px;gap:6px}.touchActions button{padding:9px;font-size:8px}#throttle{width:82px}#throttleLabel{gap:3px;font-size:7px}#flightMode{bottom:130px;left:20px;flex-wrap:wrap;max-width:225px}#flightMode button{font-size:6px;padding:6px}#navInfo{top:61px;font-size:7px}#navInfo button{font-size:7px;padding:5px}#toast{bottom:144px;font-size:10px}#warpOverlay{inset:25% 29% auto}#warpOverlay h1{font-size:23px}#warpOverlay p{display:none}}
/* Edition 3: low-memory menus and complete HUD ownership */
[hidden]{display:none!important}dialog,dialog::backdrop,.glass{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}dialog{background:#091421;box-shadow:0 20px 70px #0009}dialog::backdrop{background:#020711ed}#settingsShield{position:fixed;inset:0;background:#020711ed;z-index:39}.fallbackDialog{position:fixed;inset:5vh auto auto 50%;transform:translateX(-50%);margin:0;z-index:40}#boot{backdrop-filter:none;background:radial-gradient(ellipse at 50% 45%,#19304bee,#040911 70%)}.glass{background:#0a1425e8}.panelTools{display:flex;align-items:center;justify-content:space-between;gap:10px;position:absolute;top:6px;left:13px;right:10px;color:#8ba7be;font-size:7px;letter-spacing:1.5px}.panelTools .dragHandle{padding:6px;flex:1;min-width:50px}.panelTools button,.hideSmall{font-size:13px;padding:0 6px;height:19px;line-height:16px;background:#25425a44;border:1px solid #8db5ce22;letter-spacing:0}.hideSmall{margin:-5px -4px -5px 0}.panelTools button:hover,.hideSmall:hover{background:#d66e5933;border-color:#e0a18f77}#shipPanel{padding-top:34px;height:136px}#shipStatusPanel{position:relative;padding-top:24px;min-height:88px;min-width:145px;border-left:1px solid #b6d8ff1a;padding-left:17px}#shipStatusPanel .panelTools{top:0;left:12px;right:0}#shipStatusPanel .panelTools b{font-size:7px;font-weight:400}#shipStatusPanel.dragging,#shipStatusPanel[style*="fixed"]{background:#0a1425ed;border:1px solid #92d7f444;border-radius:7px;padding:32px 15px 15px;min-height:110px}.layoutMode #shipPanel,.layoutMode #shipStatusPanel{outline:1px dashed #8fdfff}fieldset{border:1px solid #a8cbe033;border-radius:7px;margin:20px 0;padding:10px 16px}legend{font-size:10px;letter-spacing:1px;color:#adcfe3}#settingsDialog fieldset label,#quickHud label{padding:10px 0;display:flex;align-items:center;justify-content:space-between;gap:30px;font-size:12px}#settingsDialog input[type=checkbox],#quickHud input[type=checkbox]{accent-color:#90d8fa;width:17px;height:17px}.settingNotice{font-size:10px;color:#99c8d5;margin-top:-5px}#systemFilter{width:100%;padding:10px;font-size:10px;margin-bottom:8px;border:1px solid #91d3f333;border-radius:5px;background:#102034;color:#c1dfef}#hudDialog{max-width:440px;max-height:90vh;overflow:auto}#hudDialog>button{margin:5px}#settingsDialog a{color:#a2dfff}#shipStatusPanel .status div{margin:0}.dragHandle{touch-action:none}#quickHud fieldset{margin:12px 0}
@media(max-width:1100px){#shipStatusPanel{min-width:120px;padding-left:10px}.panelTools{letter-spacing:1px}}
@media(pointer:coarse){#shipStatusPanel{display:block;min-width:105px;font-size:10px;padding:23px 8px 0;min-height:70px}#shipStatusPanel .panelTools{left:5px}#shipStatusPanel label{font-size:6px}#shipStatusPanel .panelTools b{font-size:6px}#shipStatusPanel small{font-size:6px}#shipPanel{padding-top:29px;gap:13px}#shipPanel .panelTools{top:5px}.panelTools{font-size:6px}.panelTools button{height:16px;font-size:11px;line-height:13px}#shipPanel .bottomActions{gap:4px}#shipPanel .bottomActions button{padding:8px}#shipPanel .telemetry{min-width:65px}#shipPanel .telemetry strong{font-size:17px}#shipPanel .bar{width:65px}#shipPanel .status{display:block}#settingsDialog{width:min(580px,94vw);max-height:92vh;padding:20px}#settingsDialog .dialogHead{margin-bottom:12px}#settingsDialog .dialogHead h2{font-size:22px}#settingsDialog>label{padding:11px 0}#settingsDialog fieldset{margin:14px 0}#settingsDialog>button{font-size:10px;padding:9px}}
@media(pointer:coarse) and (orientation:landscape){#shipPanel{left:125px;right:125px;bottom:18px;height:109px;gap:12px;padding:30px 14px 9px}#touchControls{bottom:20px}.touchActions{bottom:139px}#flightMode{bottom:179px}#shipStatusPanel{padding-top:20px;min-width:96px;min-height:68px}#shipStatusPanel>label{display:none}#shipStatusPanel .panelTools{top:1px}#shipStatusPanel>div:not(.panelTools){font-size:9px}#shipStatusPanel small{max-width:88px;display:block}#shipPanel .telemetry label{font-size:6px}#shipPanel .telemetry strong{font-size:17px}#toast{bottom:200px}#mapDialog #systemFilter{padding:7px;font-size:9px}}
@media(pointer:coarse) and (orientation:landscape) and (max-height:380px){#shipPanel{height:91px;padding:26px 10px 5px;left:109px;right:109px;gap:9px}#shipPanel .telemetry strong{font-size:15px}#shipPanel .telemetry{min-width:60px}#shipStatusPanel{min-width:87px;min-height:58px;padding-top:18px}#shipStatusPanel .panelTools b{font-size:5px}#shipStatusPanel small{font-size:5px}#shipPanel .bottomActions button{padding:7px}.touchActions{bottom:119px}#flightMode{bottom:162px}#toast{bottom:183px}#shipPanel .telemetry label{margin-bottom:3px}#shipPanel .bar{margin-top:3px;width:58px}.touchActions #throttleLabel{gap:1px}}
@media(pointer:coarse) and (orientation:portrait){#shipPanel{left:10px;right:10px;bottom:16px;height:130px;padding:30px 11px 12px;gap:10px}#shipStatusPanel{min-width:90px;padding-left:8px}#shipPanel .telemetry strong{font-size:16px}#shipPanel .bottomActions{flex-direction:column}#shipPanel .bottomActions button{padding:7px}#touchControls{bottom:175px}.touchActions{bottom:295px}#flightMode{bottom:335px}#toast{bottom:375px}}
#shipStatusPanel{position:fixed;right:32px;bottom:183px;width:185px;min-height:105px;padding:33px 17px 12px;background:#0a1425ed;border:1px solid #92d7f433;border-radius:8px;z-index:4}#shipStatusPanel .panelTools{top:7px;left:12px;right:9px}#shipStatusPanel>label{font-size:8px;color:#7e9bb0;letter-spacing:1px}#shipStatusPanel>div:not(.panelTools){font-size:10px;color:#b5e4df}#shipStatusPanel small{font-size:7px;color:#809bb0}#shipStatusPanel .panelTools button{font-size:12px;line-height:16px;color:white}
@media(pointer:coarse) and (orientation:landscape){#shipStatusPanel{left:20px;right:auto;top:75px;bottom:auto;width:184px;min-height:78px;padding:29px 12px 9px}#shipStatusPanel .panelTools{top:6px;left:8px;right:8px}#shipStatusPanel>div:not(.panelTools){font-size:10px;margin:0 0 5px}#shipStatusPanel small{max-width:none;font-size:6px}#shipPanel{left:125px;right:125px}#flightMode{bottom:138px}.touchActions{bottom:139px}}
@media(pointer:coarse) and (orientation:landscape) and (max-height:380px){#shipStatusPanel{top:64px;min-height:72px;width:168px;padding:27px 10px 8px}#shipPanel{left:109px;right:109px}#flightMode{bottom:120px;max-width:210px}.touchActions{bottom:119px}}
@media(pointer:coarse) and (orientation:portrait){#shipStatusPanel{left:14px;right:auto;top:125px;bottom:auto;width:138px;min-height:90px;padding:30px 10px 12px}#shipStatusPanel>label{display:none}#shipStatusPanel .panelTools{top:8px;left:7px;right:7px}#shipStatusPanel>div:not(.panelTools){font-size:9px}#shipStatusPanel small{font-size:6px}#shipPanel .bottomActions{flex-direction:row}#shipPanel{height:108px}#touchControls{bottom:148px}.touchActions{bottom:270px}#flightMode{bottom:309px}}
/* Planetarium edition: a quiet interface around the universe. */
#exploreRail{display:none;position:fixed;left:12px;top:50%;transform:translateY(-50%);z-index:6;flex-direction:column;gap:5px}#exploreRail button{width:44px;height:46px;padding:4px;font-size:21px;background:#08111c9c;border:1px solid #97bad517;border-radius:3px;color:#b5c8d6}#exploreRail small{display:block;font-size:5px;letter-spacing:1px;margin-top:1px}#exploreStatus{position:fixed;left:78px;bottom:30px;z-index:4;display:flex;flex-direction:column;gap:5px;pointer-events:none;font:10px/1.4 monospace;color:#9ab0c3;text-shadow:0 1px 4px black}#exploreStatus strong{font-size:11px;letter-spacing:1px;font-weight:400;color:#d9e6ed}#exploreSystem{color:#829bad;font-size:9px;letter-spacing:1.3px}.exploreHint{font-size:8px;color:#647f92;margin-top:4px}#exploreControls{position:fixed;right:24px;bottom:26px;z-index:5;background:#07111de6;border:1px solid #8daec027;border-radius:4px;width:270px;padding:13px 15px}.controlTitle{display:flex;justify-content:space-between;align-items:center;font-size:8px;letter-spacing:1.5px;color:#829eb2;margin-bottom:14px}.controlTitle select{border:0;background:#132330;padding:5px 7px;color:#d4e4ed;font-size:10px;border-radius:3px}#exploreControls>label{font-size:9px;color:#7795a9;display:flex;justify-content:space-between;align-items:center}#travelSpeed{font:11px monospace;color:#b8d4e5}.speedControl{display:flex;align-items:center;gap:10px;margin:10px 0 13px}.speedControl button{padding:2px 8px;background:none;border-color:#adcde41a;font-size:15px}.speedControl input{width:100%;accent-color:#a4c8df;height:3px}.miniControls{display:flex;gap:6px}.miniControls button{flex:1;font-size:8px;padding:8px 5px;letter-spacing:.5px}#restoreInterface{position:fixed;right:15px;bottom:15px;z-index:100;background:#0b162266;font-size:9px;color:#7e9bb0;border-color:#8ea8ba22}#placesDialog,#tourDialog{max-height:90vh;overflow:auto}#placesList{margin-top:20px}.placeRow{display:flex;gap:7px;margin:7px 0}.placeRow button:first-child{flex:1;text-align:left;font-size:12px}.placeRow button:last-child{width:36px;padding:5px}#tourList{display:grid;grid-template-columns:1fr 1fr;gap:10px}#tourList button{text-align:left;padding:18px 15px;background:linear-gradient(135deg,#1a3048,#0b1523);min-height:86px}#tourList strong{display:block;font-size:15px;font-weight:400;color:#cde5f3}#tourList small{display:block;font-size:9px;color:#7799b0;line-height:1.5;margin-top:8px}#planetariumSettings label{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #9ac3dc22;padding:13px 0}#planetariumSettings input[type=range]{accent-color:#a0d2ef;width:150px}#planetariumSettings select{padding:5px 9px;background:#152a40;border:1px solid #92bfe32a;border-radius:3px}body:not(.explorer) #exploreControls{width:240px}body:not(.explorer) #exploreControls .speedControl,body:not(.explorer) #exploreControls>label,body:not(.explorer) #exploreControls .miniControls{display:none}body:not(.explorer) #exploreControls .controlTitle{margin:0}body:not(.explorer) #exploreStatus{display:none}
body.explorer header{height:68px;border:0;background:linear-gradient(#040b16aa,transparent);padding:0 25px}body.explorer #brand{font-size:27px;color:#bdd0df}body.explorer #brand span{font-size:13px;letter-spacing:2px}body.explorer #brand small{font-size:6px;letter-spacing:2px}body.explorer nav button{font-size:10px;padding:7px 10px;border-color:#abcce01a;background:#06111b66}body.explorer #location{font-size:8px;color:#59788c}body.explorer #exploreRail{display:flex}body.explorer #shipPanel,body.explorer #shipStatusPanel,body.explorer #missionPanel,body.explorer #flightMode,body.explorer .desktopHelp,body.explorer #cockpitFrame{display:none!important}body.explorer #targetPanel{left:78px;right:auto;top:87px;width:247px;padding:0;background:transparent;border:0;box-shadow:none;text-shadow:0 1px 4px black}body.explorer #targetPanel .eyebrow{font-size:7px;letter-spacing:1px;color:#688a9f;justify-content:flex-start;gap:10px}body.explorer #targetPanel .dragHandle{font-size:7px}body.explorer #targetPanel .hideSmall{margin-left:auto}body.explorer .targetTitle{margin-top:16px}body.explorer #targetPanel .targetTitle h2{font-size:29px;color:#d3e7f4;font-weight:300;letter-spacing:.3px}body.explorer #targetType{font-size:8px;letter-spacing:1.7px;color:#829db0}body.explorer #planetIcon{display:none}body.explorer #targetPanel .targetData{border-color:#8caabc1f;gap:25px;margin-top:12px;padding:13px 0;font-size:7px}body.explorer #targetPanel .targetData strong{font:12px monospace;margin-top:6px;color:#b2cfe0}body.explorer #targetDesc{font-size:10px;line-height:1.75;color:#728ea2;max-height:90px;overflow:auto;scrollbar-width:thin}body.explorer #targetPanel .actions{margin:12px 0 7px;gap:6px}body.explorer #targetPanel .actions button{font-size:9px;background:#06111b77;border-color:#94b8cf33;padding:9px}body.explorer #warpBtn{background:#29475a88;color:#bddeee;border-color:#8bb9d033;font-size:8px;padding:10px 12px;letter-spacing:1px}body.explorer #targetPanel .footnote{font-size:7px;text-align:left;letter-spacing:.5px;color:#4f7188}body.explorer #reticle i{width:32px;height:32px;border-color:#a1c1d655;border-radius:50%}body.explorer #reticle span{font-size:8px;letter-spacing:1px;color:#91b4ca}body.explorer #reticle small{font-size:8px}body.explorer #crosshair{font-size:13px;color:#bddef022}body.explorer #navInfo{top:77px;background:#06111b88;border-color:#9abed51a;color:#779db5}body.explorer #toast{bottom:190px;background:#071321e6;font-size:11px;border-color:#8dbcd52a}body.explorer .glass{border-radius:3px}body.explorer #warpOverlay{font-size:9px;letter-spacing:3px}body.explorer #warpOverlay h1{font-weight:300;color:#c8e6f5}body.cleanView header,body.cleanView #targetPanel,body.cleanView #missionPanel,body.cleanView #shipPanel,body.cleanView #shipStatusPanel,body.cleanView #flightMode,body.cleanView #exploreRail,body.cleanView #exploreStatus,body.cleanView #exploreControls,body.cleanView #reticle,body.cleanView #crosshair,body.cleanView #navInfo,body.cleanView #toast,body.cleanView .desktopHelp,body.cleanView #touchControls,body.cleanView #warpOverlay{display:none!important}
@media(pointer:coarse){#exploreRail{left:8px;gap:3px}#exploreRail button{width:34px;height:34px;font-size:17px}#exploreRail small{font-size:4px}#exploreControls{width:235px;padding:10px 12px;right:18px;bottom:16px}.controlTitle{margin-bottom:9px;font-size:7px}#travelSpeed{font-size:9px}.speedControl{margin:7px 0 10px}.miniControls button{font-size:7px;padding:7px 4px}#exploreStatus{left:59px;font-size:8px;bottom:18px;gap:3px}.exploreHint{display:none}#exploreStatus strong{font-size:9px}#exploreSystem{font-size:7px}body.explorer #targetPanel{left:59px;top:76px;width:210px}body.explorer #targetPanel .targetTitle h2{font-size:24px}body.explorer #targetDesc{font-size:9px;max-height:55px}body.explorer #targetPanel .targetData{padding:9px 0;margin-top:8px;gap:22px}body.explorer #targetPanel .targetData strong{font-size:11px}body.explorer #targetPanel .actions{margin-top:8px}body.explorer #targetPanel .actions button{padding:7px;font-size:8px}body.explorer #targetType{font-size:7px}body.explorer #targetPanel .footnote{display:none}body.explorer header{height:56px;padding:0 15px}body.explorer #brand span{font-size:11px;letter-spacing:1px}body.explorer #brand small{display:none}body.explorer nav button{padding:6px 8px;font-size:9px}body.explorer #touchControls{bottom:22px;left:20px;right:20px}body.explorer #touchControls .stick{width:76px;height:76px}body.explorer #touchControls .stick div{width:32px;height:32px;left:21px;top:21px}body.explorer .touchActions{bottom:117px;left:auto;right:20px;transform:none}body.explorer #throttleLabel{display:none}body.explorer #exploreControls{right:118px;bottom:20px;width:245px}body.explorer #exploreStatus{bottom:28px;left:115px}body.explorer #toast{bottom:160px}body.explorer #navInfo{top:62px}#tourList button{padding:12px;min-height:70px}#tourList strong{font-size:13px}#tourList small{font-size:8px}}
@media(pointer:coarse) and (orientation:landscape) and (max-height:380px){body.explorer #targetPanel{top:66px;width:195px}body.explorer #targetPanel .targetData{display:flex;padding:7px 0}body.explorer #targetDesc{display:none}body.explorer #targetPanel .targetTitle{margin-top:9px}body.explorer #targetPanel .targetTitle h2{font-size:21px}body.explorer #exploreControls{width:230px;right:108px;bottom:16px;padding:9px 11px}body.explorer #exploreStatus{left:109px;bottom:20px;font-size:7px;max-width:180px}body.explorer #exploreStatus strong{font-size:8px}body.explorer .touchActions{bottom:113px}body.explorer #touchControls{bottom:16px}body.explorer #touchControls .stick{width:68px;height:68px}body.explorer #touchControls .stick div{left:17px;top:17px}body.explorer #navInfo{top:59px}body.explorer #exploreRail{top:55%}}
@media(pointer:coarse) and (orientation:portrait){body.explorer #targetPanel{top:106px;left:60px;width:224px}body.explorer #exploreControls{left:111px;right:auto;width:calc(100vw - 132px);bottom:24px;max-width:270px}body.explorer #exploreStatus{left:60px;bottom:175px}body.explorer #touchControls{bottom:150px}body.explorer .touchActions{bottom:243px}body.explorer #exploreRail{top:46%}body.explorer header{padding:0 9px}body.explorer #brand{font-size:20px}body.explorer #brand span{font-size:9px}body.explorer nav{gap:3px}body.explorer nav button{padding:6px;font-size:8px}body.explorer #helpBtn,body.explorer #layoutBtn{display:none}#tourList{grid-template-columns:1fr}body.explorer #toast{bottom:280px}}
#objectLabels{position:fixed;inset:0;pointer-events:none;z-index:2}.objectLabel{position:absolute;pointer-events:auto;border:0;background:none;font:9px monospace;letter-spacing:.3px;padding:7px 10px;transform:translate(-50%,12px);text-shadow:0 1px 4px #000}.objectLabel:hover{background:#0d1f2aaa;color:#d0edff!important}body.cleanView #objectLabels{display:none}@media(pointer:coarse){.objectLabel{font-size:7px;padding:8px}}
/* Survey edition */
#objectSurvey{display:flex;flex-direction:column;gap:8px;margin:15px 0;color:#9fb7c9}#objectSurvey>div{display:flex;justify-content:space-between;gap:15px}#objectSurvey span{font:8px monospace;letter-spacing:1px;color:#69899f}#objectSurvey b{font:10px monospace;color:#bdd4e3;font-weight:400;text-align:right}#renderStats{color:#547589;font-size:8px;letter-spacing:.7px}#surfaceReadout{color:#94c6cf;font-size:8px;letter-spacing:1px}#quickFind{font-size:11px;color:#9ab5c9;border:1px solid #89b7d329;background:#0a17247a;border-radius:5px;padding:12px 16px;display:flex;gap:8px;align-items:center}#quickFind:hover{border-color:#a8d7f977}#catalogFilters{display:flex;gap:6px;margin-bottom:9px}#catalogFilters select{min-width:0;flex:1;background:#0b1b2c;border:1px solid #92bcda2c;padding:8px 6px;font-size:10px;color:#bdd6e8;border-radius:4px}#addStop{margin-top:8px;font-size:8px;width:100%;padding:9px;background:#0a1c2c;color:#8ebfd5;border-color:#83bbdc25}#routeDialog{max-height:90vh;overflow:auto;max-width:600px}.routeActions{display:flex;gap:8px;margin-top:22px;align-items:center}#routeProgress{font:10px monospace;color:#91d0e5;letter-spacing:1px;padding-bottom:10px}#routeEmpty{font-size:12px;line-height:1.8;color:#708fa6}#routeList{max-height:44vh;overflow:auto}.placeRow button:first-child{line-height:1.5}.compatibility #rendererNote{color:#e4be83}body.explorer #targetDesc{font-size:11px;max-height:87px;line-height:1.65}body.explorer #targetPanel{width:260px}body.explorer #targetPanel .actions button{font-size:10px}body.explorer #warpBtn{font-size:9px}#exploreStatus{font-size:11px;gap:5px}#exploreStatus strong{font-size:12px}.exploreHint{font-size:9px}body.explorer #targetType{font-size:9px}#exploreControls{width:285px}#exploreControls>label{font-size:10px}#travelSpeed{font-size:12px}.miniControls button{font-size:9px}#exploreRail button{width:47px;height:43px}#exploreRail small{font-size:6px}#placesDialog .placeRow button,#routeDialog .placeRow button{font-size:12px}body.explorer #navInfo{font-size:10px}
@media(max-width:1150px){#quickFind span{max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#quickFind{padding:9px 11px;font-size:10px}#quickFind kbd{display:none}body.explorer nav button{padding:7px;font-size:9px}}
@media(pointer:coarse){#quickFind{padding:7px 9px;font-size:10px}#quickFind span{max-width:115px}body.explorer #targetPanel{width:215px}body.explorer #targetDesc{font-size:10px;max-height:50px}#objectSurvey{gap:5px;margin:10px 0}#objectSurvey b{font-size:8px}#objectSurvey span{font-size:7px}#renderStats,#surfaceReadout{font-size:7px}body.explorer #exploreStatus{font-size:9px;gap:3px;max-width:220px}body.explorer #exploreStatus strong{font-size:10px}#exploreRail button{width:33px;height:32px}#exploreRail small{font-size:5px}#catalogFilters select{padding:6px;font-size:9px}#addStop{font-size:8px;padding:7px}#selection p{max-height:65px;overflow:auto}.routeActions button{font-size:9px;padding:10px}body.explorer #exploreControls{width:245px}body.explorer #targetPanel .actions button{font-size:9px}body.explorer #warpBtn{font-size:8px}#quickFind kbd{display:none}}
@media(pointer:coarse) and (orientation:landscape) and (max-height:430px){body.explorer #targetPanel{top:67px;width:200px}body.explorer #targetDesc{display:none}#objectSurvey{margin:9px 0;gap:4px}#objectSurvey div:nth-child(2){display:none}body.explorer #targetPanel .targetData{margin-top:8px;padding:7px 0}body.explorer #targetPanel .targetTitle h2{font-size:22px}body.explorer #exploreRail{top:53%}body.explorer #exploreStatus{max-width:175px;left:105px;font-size:8px}body.explorer #exploreControls{width:235px;right:108px}#quickFind span{max-width:75px}#quickFind{font-size:9px}body.explorer #brand span{font-size:10px}body.explorer nav button{font-size:8px;padding:6px}#renderStats,#surfaceReadout{font-size:6px}}
@media(max-width:600px){#quickFind{display:none}body.explorer #targetPanel{width:205px}#objectSurvey{font-size:8px}body.explorer #exploreStatus{max-width:190px}}

@font-face{font-family:Fredoka;src:url('./fonts/Fredoka-0.ttf') format('truetype');font-weight:400;font-display:swap}@font-face{font-family:Fredoka;src:url('./fonts/Fredoka-1.ttf') format('truetype');font-weight:500;font-display:swap}@font-face{font-family:Fredoka;src:url('./fonts/Fredoka-2.ttf') format('truetype');font-weight:600 900;font-display:swap}
html,body,button,input,select,textarea,kbd,small,strong,b,output,span,label,p,div,h1,h2,h3,a,dt,dd{font-family:Fredoka,system-ui,sans-serif!important}button:disabled{opacity:.32;cursor:not-allowed}#labelSettings label{display:flex;justify-content:space-between;align-items:center}#surfacePanel{position:fixed;z-index:14;left:50%;transform:translateX(-50%);bottom:110px;display:flex;flex-direction:column;gap:7px;align-items:center;background:linear-gradient(135deg,#0b1b29ed,#152b3bed);border:1px solid #b9dffb38;border-radius:20px;padding:16px 24px;box-shadow:0 12px 60px #0005;min-width:340px;max-width:90vw}#surfacePanel[hidden],#launchCountdown[hidden]{display:none}#surfacePanel>span:first-child{font-size:12px;letter-spacing:2px;color:#9bcddd}#surfacePanel strong{font-size:19px;font-weight:500}#surfacePanel>div{display:flex;gap:8px}#surfacePanel small{font-size:11px;color:#92b4c5}#surfaceTelemetry{font-size:13px;color:#bed5de}#launchCountdown{pointer-events:none;position:fixed;z-index:18;top:21%;left:50%;transform:translateX(-50%);text-align:center;display:flex;flex-direction:column;gap:2px;text-shadow:0 2px 25px #0009;color:#fff}#launchCountdown>span:first-child{font-size:13px;letter-spacing:4px}#countdownNumber{font-size:96px;font-weight:500;line-height:1.15}#launchCountdown small{color:#b8dce8}.insideBody #exploreControls,.insideBody #exploreStatus,.insideBody #reticle,.insideBody #objectLabels{display:none!important}.insideBody #flightMode{bottom:18px}.insideBody #targetPanel{opacity:.85}.insideBody #exploreRail{top:25%;}body.cleanView #surfacePanel{display:none}#surfacePanel .primary{background:#b4f2dc;color:#0c2830;border-color:#b4f2dc}
@media(max-height:550px){#surfacePanel{bottom:65px;padding:8px 15px;gap:3px;min-width:300px}#surfacePanel strong{font-size:15px}#surfacePanel button{padding:7px 10px;font-size:12px}#surfacePanel small{font-size:10px}.insideBody #targetPanel{display:none}#countdownNumber{font-size:64px}#launchCountdown{top:18%}.insideBody #missionPanel{display:none}}

@media(max-height:550px) and (orientation:landscape){#surfacePanel{top:72px;bottom:auto;left:50%;padding:7px 12px;min-width:290px}#surfacePanel small{max-width:280px}.insideBody #flightMode{bottom:135px}.insideBody #launchCountdown{left:22%;top:22%}}

.uiIcon{width:18px;height:18px;object-fit:contain;display:inline-block;vertical-align:middle;flex-shrink:0;filter:invert(92%) sepia(10%) saturate(480%) hue-rotate(155deg);pointer-events:none}#brand>.uiIcon,.bootMark>.uiIcon{width:30px;height:30px}.primary .uiIcon{filter:brightness(.25)}.dragHandle .uiIcon{width:13px;height:13px}#exploreRail .uiIcon{display:block;margin:0 auto 3px}#planetIcon .uiIcon{width:38px;height:38px}#crosshair{font-size:0!important;width:5px;height:5px;border-radius:50%;background:#dcefff99;box-shadow:0 0 4px #111}#crosshair .uiIcon{display:none}#surfacePanel>div{flex-wrap:wrap;justify-content:center}#walkHint{position:fixed;z-index:16;top:57%;left:50%;transform:translateX(-50%);padding:9px 15px;border-radius:24px;background:#102637d9;color:#e1f3ff;font-size:13px;pointer-events:none}#walkHint[hidden]{display:none}.onFoot #surfacePanel{bottom:110px}.onFoot #targetPanel,.onFoot #missionPanel,.onFoot #flightMode,.onFoot #shipPanel,.onFoot #shipStatusPanel,.onFoot .touchActions,.onFoot #cockpitFrame{display:none!important}.onFoot #surfaceLaunchBtn,.onFoot #surfaceLandBtn,.onFoot #surfaceAbortBtn{display:none}.onFoot #surfacePanel{min-width:250px;padding:10px 18px}.onFoot #surfacePanel>small{display:none}@media(max-height:550px){.onFoot #surfacePanel{top:70px;bottom:auto}.onFoot #walkHint{top:auto;bottom:22px}.uiIcon{width:16px;height:16px}}

#walkTouch{display:none}.attitudeLine{display:block;border-top:1px solid #a2c6d655;width:130px;height:1px}@media(pointer:coarse){.onFoot #walkTouch{display:flex;position:fixed;z-index:17;right:125px;bottom:16px;gap:8px}.onFoot #walkTouch button{padding:12px 15px}}

#walkHelp{display:none}.onFoot .desktopHelp{display:none}.onFoot #walkHelp{display:block;position:fixed;bottom:12px;left:50%;transform:translateX(-50%);font-size:11px;color:#a6c7d8;text-align:center;pointer-events:none;max-width:65vw}@media(pointer:coarse){.onFoot #walkHelp{display:none}}
#mineralLabels{position:fixed;inset:0;pointer-events:none;z-index:9}.mineralBillboard,.traderBillboard{position:absolute;transform:translate(-50%,-100%);pointer-events:auto;border:1px solid #7299a666;border-radius:8px;background:#0c1b2bdd;color:#d6e9f0;padding:6px 9px;font-size:11px;min-width:110px;text-align:center;box-shadow:0 3px 16px #0004}.mineralBillboard b{display:block;font-weight:500}.mineralBillboard small{display:block;font-size:9px;color:#a7bdca}.mineralBillboard.inReach{border-color:#b9edc9;box-shadow:0 0 15px #a0f5bc22}.nodeBar{height:5px;display:block;background:#293c4b;border-radius:4px;margin:5px 0;overflow:hidden}.nodeBar i{height:100%;display:block;background:#8adfb6}.mineralBillboard[hidden],.traderBillboard[hidden]{display:none}.traderBillboard{border-color:#e7c87c;color:#f4d990;min-width:165px;letter-spacing:.7px}
#wallet{position:fixed;z-index:15;left:50%;top:104px;transform:translateX(-50%);display:flex;align-items:center;gap:12px;padding:8px 12px;background:#101f30e8;border:1px solid #abc9dd26;border-radius:13px;font-size:12px;box-shadow:0 8px 20px #0002}#wallet strong{font-size:17px;margin-left:7px;font-weight:500}.fpCoin{color:#a5e5bf}.rcCoin{color:#c7a3f0}#wallet button{font-size:11px;padding:7px 10px}#wallet .uiIcon{width:15px;height:15px}#warpCost{font-size:12px;margin-top:9px;color:#b5e5c6}
#gearBar{position:fixed;left:50%;bottom:9px;transform:translateX(-50%);z-index:17;display:flex;gap:8px;align-items:end}#equippedName{display:none}#hotbar{display:flex;gap:5px}.hotbarSlot{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#0e2033e8;border:1px solid #7e99b850;border-radius:10px;width:65px;height:65px;padding:7px 4px 3px;box-shadow:0 3px 10px #0003}.hotbarSlot.active{border-color:#a9e8ff;background:#245169e8;box-shadow:inset 0 0 0 1px #8edbfa80}.hotbarSlot kbd{position:absolute;left:5px;top:3px;border:0;padding:0;font-size:9px;background:transparent}.hotbarSlot small{font-size:8px;line-height:1.1;margin-top:6px;max-width:60px;white-space:normal}.hotbarSlot .mineralIcon{width:20px;height:20px}.mineralIcon{display:inline-block;width:34px;height:34px;background:var(--ore-color,#b4d9ee);clip-path:polygon(25% 0,75% 5%,100% 45%,75% 100%,15% 85%,0 35%);box-shadow:inset 8px 8px 0 #ffffff40,inset -8px -5px 0 #0003}.onFoot #gearBar{bottom:14px}.onFoot #surfacePanel{bottom:105px}.onFoot #walkHelp{bottom:91px}#mineBtn{height:48px;background:#a8d9e8;color:#0d2a3c;font-size:12px;padding:10px 14px}#mineBtn .uiIcon{filter:brightness(.2)}#mineBtn[hidden]{display:none}#miningHint{position:fixed;z-index:13;top:calc(50% + 8px);left:50%;transform:translateX(-50%);font-size:11px;background:#0d2034d9;color:#bcd0df;padding:6px 11px;border-radius:7px;pointer-events:none;white-space:nowrap}#miningHint[hidden]{display:none}.onFoot #walkHint{top:auto;bottom:81px}.cleanView #wallet,.cleanView #gearBar,.cleanView #miningHint{display:none}
#inventoryDialog{width:min(920px,94vw);max-height:88vh;padding:24px;border-radius:20px}#inventoryDialog h2{margin:3px 0 0;font-size:30px}#inventoryDialog .dialogHead small{font-size:10px;letter-spacing:2px;color:#8fb6c9}.inventoryHelp{color:#9fb6c8;font-size:12px}.inventoryTools{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:14px 0}.inventoryTools input{flex:1;min-width:150px}#inventoryGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:10px;min-height:100px;max-height:38vh;overflow:auto;padding:3px}.itemCard{background:#152638;border:1px solid #526c854d;border-radius:12px;overflow:hidden}.itemCard.equipped{outline:2px solid #91d7f4}.itemCard.selected{border-color:#a8e7ba;background:#153432}.itemEquip{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;width:100%;border:0;border-radius:0;padding:17px 9px 12px;background:transparent}.itemEquip strong{font-size:14px;font-weight:500}.itemEquip small{font-size:10px;color:#a8bdca}.stackQty{position:absolute;top:11px;right:10px;font-size:13px}.saleCheck{border:0;border-radius:0;width:100%;font-size:10px;padding:9px 5px;background:#08162366}.selected .saleCheck{color:#b3eac6}.saleFooter{margin-top:15px;padding:14px 0 0;border-top:1px solid #7e9eac33}#salePreview{font-size:18px;color:#b8efce;margin:0 0 5px}#tradeStatus{font-size:12px;color:#b7b6d0}#inventoryEmpty{font-size:14px;color:#a9bdce;line-height:1.7;background:#152638;padding:20px;border-radius:10px}#inventoryEmpty[hidden]{display:none}
@media(max-width:1100px){#quickFind{display:none}header nav{gap:4px}#inventoryBtn{font-size:10px}}@media(max-height:550px){#wallet{top:64px;padding:5px 8px;font-size:10px;gap:9px}#wallet strong{font-size:14px}#wallet button{padding:5px}#gearBar{bottom:4px}.hotbarSlot{width:49px;height:48px}.hotbarSlot small{font-size:7px;margin-top:4px}.hotbarSlot .uiIcon,.hotbarSlot .mineralIcon{width:17px;height:17px}.onFoot #surfacePanel{left:12px;transform:none;top:68px;min-width:175px;max-width:205px;padding:8px}.onFoot #surfacePanel strong{font-size:12px}.onFoot #walkTouch{right:125px;bottom:8px}.onFoot #walkHint{bottom:64px;font-size:10px}#miningHint{top:54%;font-size:9px}#inventoryDialog{padding:14px;max-height:94vh}#inventoryGrid{max-height:32vh;grid-template-columns:repeat(auto-fill,minmax(115px,1fr))}.itemEquip{padding:10px 6px;gap:5px}.inventoryHelp{margin:5px 0}.inventoryTools{margin:8px 0}#inventoryDialog h2{font-size:22px}}

#inventorySort{background:#142b3b;color:#d3e6f1;border:1px solid #7f9ba444;padding:10px;border-radius:7px}
/* Compact HUD: controls stay at the edges; detailed panels are opened deliberately. */
body.compactHUD header{height:58px;padding:0 max(14px,env(safe-area-inset-left));background:#081422e6;z-index:20;border-bottom:1px solid #92b7d02b;gap:12px}body.compactHUD #brand{font-size:22px;gap:8px;flex-shrink:0}body.compactHUD #brand span{font-size:12px;letter-spacing:1.5px}body.compactHUD #brand small{display:none}body.compactHUD #brand>.uiIcon{width:23px;height:23px}body.compactHUD #quickFind{display:none}body.compactHUD header nav{gap:6px;align-items:center}body.compactHUD header nav button{height:36px;font-size:11px;padding:8px 10px}body.compactHUD header #tourBtn,body.compactHUD header #modeBtn,body.compactHUD header #helpBtn,body.compactHUD header #layoutBtn{display:none}body.compactHUD #hudBtn{display:block}
body.compactHUD:not(.layoutMode) :is(#missionPanel,#targetPanel,#shipPanel,#shipStatusPanel,#flightMode,#exploreControls,#exploreRail){display:none!important}body.compactHUD:not(.layoutMode) :is(#missionPanel,#targetPanel,#shipPanel,#shipStatusPanel,#flightMode,#exploreControls,#exploreRail).hudOpen:not([hidden]){display:block!important;position:fixed!important;left:auto!important;right:max(14px,env(safe-area-inset-right))!important;top:112px!important;bottom:auto!important;transform:none!important;width:260px!important;max-width:calc(100vw - 28px);max-height:calc(100dvh - 210px);overflow:auto;padding:16px!important;border:1px solid #98bfd33b;border-radius:12px;background:#0b1b2df5;z-index:23!important;backdrop-filter:none!important;box-shadow:0 12px 30px #0004}body.compactHUD:not(.layoutMode) #shipPanel.hudOpen{height:auto!important}body.compactHUD #shipPanel.hudOpen .telemetry{margin:12px 0}body.compactHUD #shipPanel.hudOpen .attitude{display:none}body.compactHUD #shipPanel.hudOpen .bottomActions{margin-top:12px}body.compactHUD #exploreRail.hudOpen button{display:inline-flex;width:62px;height:58px;margin:4px;align-items:center;justify-content:center;flex-direction:column}body.compactHUD #exploreStatus,body.compactHUD .desktopHelp,body.compactHUD #walkHelp,body.compactHUD #walkHint,body.compactHUD #miningHint{display:none!important}
body.compactHUD #wallet{top:68px;right:max(14px,env(safe-area-inset-right));left:auto;transform:none;gap:10px;padding:6px 10px;font-size:10px;border-radius:9px;background:#0b1c2dd9;box-shadow:none;z-index:16}body.compactHUD #wallet strong{font-size:14px;margin-left:5px}body.compactHUD #wallet button{padding:5px 7px;font-size:10px}body.compactHUD #wallet .uiIcon{width:13px;height:13px}
#hudDock{display:none}body.compactHUD #hudDock{display:flex;position:fixed;right:max(14px,env(safe-area-inset-right));bottom:max(14px,env(safe-area-inset-bottom));gap:5px;z-index:18;background:#0b1b2ddd;border:1px solid #9bbacf33;padding:5px;border-radius:12px}#hudDock button{width:48px;height:44px;padding:4px;border:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:none}#hudDock button[aria-expanded=true]{background:#9bdbff24}#hudDock span{font-size:8px}#hudDock .uiIcon{width:17px;height:17px}
body.compactHUD #surfacePanel,body.compactHUD.onFoot #surfacePanel{position:fixed;left:max(14px,env(safe-area-inset-left));right:auto;top:auto;bottom:90px;transform:none;min-width:0;width:228px;max-width:calc(100vw - 28px);padding:10px 12px;gap:4px;align-items:flex-start;border-radius:11px;box-shadow:none;background:#0b1b2dd9;z-index:14}body.compactHUD #surfaceBody{font-size:9px;letter-spacing:1px}body.compactHUD #surfacePhase{font-size:12px}body.compactHUD #surfaceTelemetry{font-size:11px}body.compactHUD #surfacePanel>div{justify-content:flex-start;gap:5px}body.compactHUD #surfacePanel button{padding:7px 8px;font-size:10px;letter-spacing:0}body.compactHUD #surfacePanel>small{display:none}body.compactHUD.onFoot #surfacePanel{width:auto;min-width:130px}body.compactHUD.onFoot #surfaceBody,body.compactHUD.onFoot #surfacePhase,body.compactHUD.onFoot #surfaceTelemetry{display:none}
body.compactHUD #gearBar,body.compactHUD.onFoot #gearBar{bottom:max(14px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);gap:6px;max-width:calc(100vw - 550px);overflow-x:auto;align-items:end;padding:2px}body.compactHUD .hotbarSlot{width:49px;height:49px;min-width:49px;padding:7px 3px 3px;border-radius:8px;box-shadow:none}body.compactHUD .hotbarSlot small{font-size:7px;margin-top:3px}body.compactHUD .hotbarSlot .mineralIcon,body.compactHUD .hotbarSlot .uiIcon{height:17px;width:17px}body.compactHUD #mineBtn{height:44px;font-size:10px;min-width:84px;padding:7px}body.compactHUD #toast{top:66px;bottom:auto;left:14px;transform:none;width:auto;max-width:min(390px,calc(100vw - 360px));font-size:11px;padding:8px 12px;border-radius:8px;white-space:normal;z-index:24}body.compactHUD #navInfo{top:110px;left:14px;transform:none;max-width:calc(100vw - 28px)}body.compactHUD #shade{background:linear-gradient(180deg,#02091633,transparent 18%,transparent 82%,#02091655)}body.compactHUD .traderBillboard{font-size:10px;min-width:125px;padding:5px 8px}body.compactHUD .mineralBillboard{min-width:105px;font-size:10px;padding:5px 8px;box-shadow:none}body.compactHUD.cleanView #hudDock{display:none}body.compactHUD #launchCountdown{top:22%;pointer-events:none}
@media(pointer:coarse){body.compactHUD #touchControls{left:max(14px,env(safe-area-inset-left));right:max(14px,env(safe-area-inset-right));bottom:16px;z-index:15}body.compactHUD .stick{width:82px;height:82px;background:#10284055}body.compactHUD .stick>div{width:34px;height:34px;left:23px;top:23px}body.compactHUD .stick>span{display:none}body.compactHUD #hudDock{bottom:111px}body.compactHUD .touchActions{bottom:12px;left:calc(50% - 130px);transform:translateX(-50%);gap:5px}body.compactHUD .touchActions #throttleLabel{display:none}body.compactHUD .touchActions button{padding:9px 10px}body.compactHUD #gearBar{bottom:14px;max-width:calc(100vw - 240px);}body.compactHUD #gearBar,body.compactHUD.onFoot #gearBar{max-width:calc(100vw - 240px);left:50%}body.compactHUD #surfacePanel{bottom:112px}body.compactHUD #walkTouch{right:112px;bottom:14px}body.compactHUD #walkTouch button{padding:10px;font-size:10px}}
@media(max-width:900px){body.compactHUD #brand span{font-size:10px;letter-spacing:1px}body.compactHUD header nav button{font-size:10px;padding:7px}body.compactHUD #hudDock{bottom:110px}body.compactHUD:not(.layoutMode) :is(#targetPanel,#shipPanel,#exploreControls,#exploreRail).hudOpen:not([hidden]){width:236px!important;top:106px!important;max-height:calc(100dvh - 215px)}body.compactHUD #surfacePanel{bottom:110px;width:208px}body.compactHUD #gearBar,body.compactHUD.onFoot #gearBar{max-width:calc(100vw - 240px)}body.compactHUD #toast{max-width:calc(100vw - 340px)}}
@media(max-width:600px){body.compactHUD #brand span{display:none}body.compactHUD header{height:52px;gap:5px}body.compactHUD header nav{gap:3px;flex:1;justify-content:flex-end}body.compactHUD header nav button{padding:6px;font-size:9px;height:34px}body.compactHUD #wallet{top:60px;right:10px;padding:5px 8px}body.compactHUD #hudDock{right:10px;bottom:110px;padding:3px;gap:2px}#hudDock button{width:39px;height:40px}body.compactHUD #surfacePanel,body.compactHUD.onFoot #surfacePanel{left:10px;bottom:110px;max-width:calc(100vw - 205px);width:180px;padding:8px}body.compactHUD #gearBar,body.compactHUD.onFoot #gearBar{max-width:calc(100vw - 210px)}body.compactHUD #toast{top:100px;left:10px;max-width:calc(100vw - 20px);font-size:10px}body.compactHUD #walkTouch{right:105px;bottom:74px}body.compactHUD #walkTouch button{padding:6px}body.compactHUD #inventoryDialog{width:96vw;max-width:96vw;max-height:92dvh;padding:14px}body.compactHUD #inventoryGrid{grid-template-columns:repeat(auto-fill,minmax(110px,1fr));max-height:34dvh}}
body.compactHUD:not(.onFoot) #gearBar{display:none}body.compactHUD .touchActions{left:50%}body.compactHUD.onFoot #walkTouch{right:112px;bottom:76px}body.compactHUD.onFoot #walkTouch button{height:32px;padding:6px 9px}#shipQuickActions{display:none}body.compactHUD #shipPanel.hudOpen #shipQuickActions{display:flex;gap:5px;flex-wrap:wrap;margin-top:12px}#shipQuickActions button{padding:7px 10px;font-size:10px}

/* Body anchors follow the rendered camera every frame; never animate their position. */
#objectLabels .objectLabel{transform:translate(-50%,-50%);transition:none;font-size:11px;padding:5px 8px;white-space:nowrap;border:1px solid transparent;border-radius:5px;background:#06111b55}
#objectLabels .objectLabel:active{transform:translate(-50%,-50%)}
#objectLabels .objectLabel.selected{border-color:#b6e9ff99;background:#06111b99;color:#def5ff!important;font-size:12px;box-shadow:0 0 0 3px #9cdfff12}
#objectLabels .objectLabel[hidden]{display:none}
@media(pointer:coarse){#objectLabels .objectLabel{font-size:10px;padding:7px 9px}}

#reticle{display:none!important}

body.insideBody #objectLabels{display:block!important}body.cleanView #objectLabels{display:none!important}

#mineBtn{display:none!important}#gasReturn{position:fixed;left:50%;bottom:110px;transform:translateX(-50%);z-index:25;background:#216e98;color:white;border:2px solid #a6edff;border-radius:12px;padding:12px 20px}#craftingDialog{width:min(680px,92vw);max-height:80vh;overflow:auto;background:#145a83ed;color:white;border:2px solid #bcecff;border-radius:16px;font-family:Fredoka,sans-serif}#craftingDialog header{display:flex;align-items:center;justify-content:space-between}.craftCard{padding:14px;margin:10px 0;background:#297cb299;border:1px solid #9ce7ff;border-radius:10px}.craftCard h3{margin:0 0 8px}.craftCard span{display:inline-block;margin-right:10px}.craftCard .missing{color:#ff9696}.craftCard .enough{color:#a4ffd9}.craftCard button{margin:8px;padding:8px 14px;color:white;border:1px solid #d2f4ff;border-radius:7px;background:#2583b5}.craftCard button:disabled{opacity:.45}

.craftedIcon{display:flex;align-items:center;justify-content:center;margin:auto;font-size:30px;line-height:1;width:38px;height:38px;color:#d9f5ff}.craftCard button:focus-visible{outline:3px solid white}

/* The uploaded ship supplies its own 3D cockpit frame. */
.cockpit #cockpitFrame{display:none}

button,.stick,canvas,.uiIcon,.itemThumb{-webkit-touch-callout:none!important;-webkit-user-select:none!important;user-select:none!important}button img,.stick img{pointer-events:none}#inventoryGrid,.cargoGrid,#catalog,#debugContent main,#debugAuth{touch-action:pan-y!important}#moveStick,#lookStick,#flightPad button,#forwardPad,#reversePad,#walkJump,#walkRun,#upBtn,#downBtn{touch-action:none!important}
/* v84: text may grow with language and browser accessibility settings. */
:is(#settingsDialog,#accountDialog,#accountGate,#friendsPanel,.chatActionDialog,.languageChoicePanel) button{min-width:0;max-width:100%;height:auto;white-space:normal;overflow-wrap:anywhere;line-height:1.35}
:is(#settingsDialog,#accountDialog,#accountGate,#friendsPanel) label{min-width:0;gap:12px;flex-wrap:wrap}
:is(.friendsTabs,.conversationTools,.friendSearch,.roomDetailsActions){gap:12px;flex-wrap:wrap}
.conversationCard button,.conversationCard button>span{min-width:0}.conversationCard strong,.conversationPreview{overflow-wrap:anywhere}
.messageActionPopup button{white-space:normal;overflow-wrap:anywhere;line-height:1.4;height:auto;min-height:40px}
.languageChoiceOverlay{position:fixed;inset:0;z-index:15000;display:grid;place-items:center;padding:16px;background:rgba(5,30,48,.65)}
.languageChoicePanel{box-sizing:border-box;width:min(440px,95vw);max-height:90dvh;overflow:auto;padding:20px;border:2px solid #bcecff;border-radius:20px;background:linear-gradient(145deg,#288ebc,#15658c);color:white;box-shadow:0 12px 48px #001b38aa}
.languageChoicePanel .dialogHead{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.languageChoicePanel h2{font-size:1.3em;margin:0}.languageChoiceOptions{display:grid;gap:12px}.languageChoiceOptions button{padding:12px 16px}.languageChoiceOptions button[aria-pressed=true]{background:#bfefff;color:#124866}
#languageSettings>label{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-block:12px}#languageSettings>label>button{padding:10px 16px;min-width:120px}
.chatTranslationResult{display:block;margin-block:6px;padding:6px 10px;background:#123b5866;border-left:2px solid #c5efff;border-radius:5px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:.9em}.chatTranslationResult[data-available=false]{opacity:.8}
body:has(#boot:not(.hidden)) .languageChoiceOverlay,body:has(#rotatePrompt.visible) .languageChoiceOverlay{visibility:hidden}

.chatTranslateAction::before{content:'↔';margin-inline-end:8px}
#friendsPanel #friendsTabs{flex-wrap:wrap;gap:10px}#friendsPanel #friendsTabs button{flex:1 1 75px}#friendsPanel .conversationTools{gap:12px;flex-wrap:wrap}#friendsPanel .friendRoomHead{flex-wrap:wrap;gap:10px}#friendsPanel .friendRoomHead h3{overflow-wrap:anywhere;min-width:0}
