@font-face{font-family:Outfit;font-style:normal;font-weight:100 900;src:url('/assets/outfit-latin.woff2') format('woff2');font-display:swap}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#0a1321;color:#e8eee9;font:16px/1.5 Outfit,system-ui,sans-serif}button,input,a{-webkit-tap-highlight-color:transparent}button,a,input{touch-action:manipulation}button{font:inherit;color:inherit;background:#162735b8;border:1px solid #cee4ea24;border-radius:40px;padding:9px 17px;min-height:44px;cursor:pointer}button:disabled{opacity:.4;cursor:default}a{color:#b5e2d7}button:hover:not(:disabled){border-color:#cef5a7}:focus-visible{outline:3px solid #cef5a7;outline-offset:4px}[hidden]{display:none!important}#flight-deck{position:relative;width:100%;height:100dvh;isolation:isolate}#space-canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none}.space-header,.mission-heading,.sky-status,.flight-console,.power-control{position:absolute;z-index:2}.space-header{top:max(16px,env(safe-area-inset-top));left:max(28px,env(safe-area-inset-left));right:max(28px,env(safe-area-inset-right));display:flex;align-items:center;justify-content:space-between;gap:12px}.space-brand{font-size:24px;text-decoration:none;letter-spacing:-1px;color:#e7efe9;white-space:nowrap}.space-brand em{font-style:normal;color:#b5dfd7}.space-brand-icon{display:inline-grid;place-items:center;width:36px;height:36px;border:1px solid #b5dfd755;border-radius:50%;margin-right:8px;color:#d4edab}nav{display:flex;gap:8px}#help-open{width:44px;padding:0}.mission-heading{top:90px;left:32px;right:32px;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;pointer-events:none}.mission-heading button{pointer-events:auto}.eyebrow{font-size:11px;letter-spacing:2.5px;color:#acbebd;margin:0 0 8px;text-transform:uppercase}h1{font-size:clamp(23px,3vw,42px);line-height:1.15;font-weight:450;letter-spacing:-1.5px;margin:0 0 10px}#mission-brief{font-size:14px;color:#b4c9ca;max-width:450px;margin:0}.sky-status{top:205px;left:32px;display:flex;align-items:center;gap:15px;font-size:13px;color:#aec6cc}.sky-status #pause{padding:5px 13px;min-height:36px}.power-control{right:30px;top:35%;height:32%;min-height:150px;max-height:320px;width:70px;border:1px solid #c9e6e22a;border-radius:40px;background:#10222bb0;display:flex;align-items:center;flex-direction:column;padding:16px 8px;gap:8px;font-size:10px;letter-spacing:2px;color:#a9bfbd;backdrop-filter:blur(12px)}#power-value{font-size:23px;letter-spacing:-1px;color:#edf4e6}input[type=range]{accent-color:#d4efa8}#power{flex:1;min-height:0;width:36px;writing-mode:vertical-lr;direction:rtl;cursor:ns-resize;touch-action:none}#aim-handle{position:absolute;z-index:3;width:48px;height:48px;padding:0;border-color:#d1efa49c;background:#cfea9815;color:#ddf6af;touch-action:none;cursor:grab;transform:translate(-50%,-50%);font-size:27px}#aim-handle:active{cursor:grabbing}.flight-console{bottom:max(18px,env(safe-area-inset-bottom));left:28px;right:28px;max-width:1060px;margin:auto;background:linear-gradient(125deg,#183330ee,#142637ed);border:1px solid #bfdaba30;border-radius:25px;padding:22px 26px;box-shadow:0 16px 60px #0003;backdrop-filter:blur(20px)}.console-top{display:flex;justify-content:space-between;gap:18px}h2{font-size:23px;line-height:1.2;font-weight:450;letter-spacing:-.6px;margin:0 0 7px}#status-copy{font-size:13px;color:#b7ceca;margin:0;max-width:650px}.campaign-best{text-align:right;min-width:100px}.campaign-best>span{display:block;font-size:9px;letter-spacing:1.5px;color:#acc5be}.campaign-best strong{font-size:28px;font-weight:450;margin-right:5px}.campaign-best small{font-size:11px;color:#adc1ba}.controls-row{display:grid;grid-template-columns:minmax(140px,210px) 1fr 48px;align-items:center;gap:16px;margin-top:16px}.controls-row label span{font-size:10px;letter-spacing:2px;color:#adc7c0;display:flex;justify-content:space-between}.controls-row output{font-size:19px;letter-spacing:0;color:#eff5e9}.controls-row input{width:100%;min-height:32px;margin:0;cursor:ew-resize;touch-action:none}.primary{background:#d9f5ae;border:0;color:#172a24;font-weight:500;font-size:18px;border-radius:14px;min-height:57px;text-align:left;padding:14px 22px;display:flex;align-items:center;justify-content:space-between;gap:10px}.primary:hover:not(:disabled){background:#e5ffc0}.round{width:48px;height:48px;padding:0;font-size:22px}.console-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;font-size:11px;color:#acc7be}.console-foot button{font-size:11px;min-height:32px;padding:4px 10px}.console-foot span:nth-child(2){max-width:65%}#level-best{white-space:nowrap}#result{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;margin-top:8px}#result-score{font-size:35px;font-weight:450;letter-spacing:-1px}#result>span{font-size:12px;color:#c1d4c1}#result #result-stars{font-size:24px;color:#e3f1a5;letter-spacing:3px;margin-left:8px}#result-detail{font-size:12px;color:#c1d4c1;margin:0 0 0 auto}body[data-result] .controls-row{grid-template-columns:1fr 48px}body[data-result] #angle-control{display:none}body[data-result] #status-copy{display:none}body[data-result] .console-top .eyebrow{margin-bottom:4px}body[data-result] .console-foot{margin-top:8px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}dialog{color:#e7eee6;background:#12232d;border:1px solid #bfdaba40;border-radius:24px;padding:26px;width:min(700px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain}dialog::backdrop{background:#040b13d9;backdrop-filter:blur(8px)}dialog p,dialog li{color:#bed0cc;font-size:15px}dialog li{margin-bottom:16px}dialog strong{color:#e4efe3}.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.dialog-heading>button,.account-close{width:44px;min-width:44px;padding:0;font-size:25px}.account-close{float:right}#levels-list h3{font-size:12px;color:#b7d2c3;font-weight:500;letter-spacing:2px;text-transform:uppercase;margin:25px 0 10px}.level-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-bottom:10px}.level-option{border-radius:13px;padding:12px 6px;min-height:70px;display:grid;gap:3px;text-align:center;font-size:17px}.level-option small{font-size:10px;color:#cbe9a2}.level-option.selected{border-color:#d4efa8}.no-script{position:absolute;z-index:9;inset:0;padding:30px;background:#0a1321}body[data-paused] #space-canvas{opacity:.7}@media(max-width:600px){.space-header{top:max(10px,env(safe-area-inset-top));left:14px;right:14px}.space-brand{font-size:20px}.space-brand-icon{width:28px;height:28px;margin-right:4px}nav{gap:5px}nav button{font-size:11px;padding:6px 9px;min-height:40px}#help-open{width:36px}.mission-heading{top:70px;left:18px;right:18px;gap:8px}.mission-heading button{font-size:12px;padding:7px 12px}.mission-heading h1{font-size:25px}.eyebrow{font-size:9px;letter-spacing:1.8px}.mission-heading #mission-brief{max-width:240px;font-size:11px}.sky-status{top:166px;left:18px;font-size:11px;gap:9px}.power-control{right:12px;top:34%;width:59px;padding:12px 5px;height:28%;min-height:125px;font-size:8px}#power-value{font-size:20px}.flight-console{left:10px;right:10px;bottom:max(10px,env(safe-area-inset-bottom));padding:15px 16px;border-radius:20px}h2{font-size:19px}#status-copy{font-size:11px}.campaign-best{min-width:76px}.campaign-best>span{font-size:8px;letter-spacing:1px}.campaign-best strong{font-size:24px}.campaign-best small{display:block;font-size:9px}.controls-row{grid-template-columns:100px 1fr 40px;gap:10px;margin-top:10px}.primary{font-size:15px;min-height:49px;padding:10px 15px}.round{width:40px;height:44px}.console-foot{font-size:9px;gap:6px;margin-top:8px}.console-foot span:nth-child(2){max-width:54%;font-size:9px}.console-foot button{font-size:10px;padding:3px 6px}#result-score{font-size:31px}#result-detail{font-size:10px;max-width:150px;text-align:right}#result #result-stars{font-size:20px;margin-left:1px;letter-spacing:1px}}@media(max-width:360px){.space-brand{font-size:18px}nav button{padding:5px 7px}#account-button{font-size:10px}.flight-console{padding:12px}.controls-row{grid-template-columns:78px 1fr 36px;gap:7px}.round{width:36px}.primary{font-size:14px;padding:10px}.sky-status{top:155px}.mission-heading #mission-brief{max-width:210px}.campaign-best{min-width:60px}}@media(max-height:500px){.space-header{top:8px;left:16px;right:16px}.space-brand{font-size:20px}.space-header button{min-height:36px;font-size:11px;padding:5px 10px}.mission-heading{top:57px;left:18px;max-width:55%}.mission-heading h1{font-size:22px}.mission-heading .eyebrow{font-size:9px}.mission-heading #mission-brief{display:none}.sky-status{top:70px;left:auto;right:20px;font-size:11px}.power-control{right:20px;top:116px;height:120px;min-height:120px;padding:8px 5px;width:58px}.power-control>span:last-child{display:none}#power-value{font-size:18px}.flight-console{bottom:8px;left:16px;right:16px;padding:10px 16px;max-width:760px}.console-top h2{font-size:17px}.console-top .eyebrow{font-size:8px;margin:0}.console-top #status-copy{font-size:10px}.campaign-best>span{font-size:8px}.campaign-best strong{font-size:21px}.controls-row{margin-top:6px;grid-template-columns:160px 1fr 40px}.primary{min-height:40px;font-size:15px;padding:8px 16px}.round{width:40px;height:40px}.console-foot{margin-top:4px;font-size:9px}.console-foot button{min-height:25px}#result{margin-top:3px;gap:5px}#result-score{font-size:25px}#result #result-stars{font-size:18px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.space-brand-icon,.primary>span,.mission-heading button>span{font-family:system-ui,sans-serif}


.console-top{display:flex;justify-content:space-between;gap:18px}.console-top{display:flex;justify-content:space-between;gap:18px}.console-top h2{margin-bottom:5px}.console-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:10px;font-size:11px;color:#abc6bd}.minor-actions{display:flex;gap:6px}.minor-actions button{min-height:32px;padding:4px 10px;font-size:11px}.console-foot #save-note{max-width:58%}.controls-row{grid-template-columns:1fr 48px}.controls-row.with-angle{grid-template-columns:minmax(130px,210px) 1fr 48px}.controls-row input[type=range]{width:100%}.controls-row label span{display:flex;justify-content:space-between;font-size:10px;letter-spacing:2px;color:#adc7c0}.controls-row label output{font-size:19px;letter-spacing:0}body[data-result] .controls-row{grid-template-columns:1fr 48px}body[data-game="echo-orbit"] .primary{background:#b9e0f4}body[data-game="tether-rescue"] .primary{background:#f1d0af}#action{touch-action:none}#result-detail{margin-left:auto}#space-canvas:focus-visible{outline-offset:-4px}.space-brand>span,.primary>span{font-family:system-ui,sans-serif}@media(max-width:600px){.controls-row.with-angle{grid-template-columns:95px 1fr 40px}.controls-row{grid-template-columns:1fr 40px}.console-foot{font-size:9px;gap:5px}.console-foot #save-note{max-width:48%;font-size:9px}.minor-actions{gap:3px}.minor-actions button{font-size:9px;padding:3px 5px}.space-brand{font-size:19px}#status-copy{font-size:11px}.console-top h2{font-size:18px}}@media(max-width:360px){.space-header{left:10px;right:10px;gap:5px}.space-brand{font-size:16px;letter-spacing:-.7px}.space-brand>span{display:none}.space-header nav button{font-size:9px;padding:4px 7px}.controls-row.with-angle{grid-template-columns:75px 1fr 36px}.controls-row{grid-template-columns:1fr 36px}.console-foot #save-note{max-width:42%}.mission-heading h1{font-size:23px}}@media(max-height:500px){.controls-row{grid-template-columns:1fr 40px}.controls-row.with-angle{grid-template-columns:150px 1fr 40px}.console-top h2{font-size:16px}.console-foot{margin-top:4px;font-size:9px}.console-foot #save-note{max-width:60%}.minor-actions button{min-height:25px}.flight-console{max-width:800px}.space-header .space-brand{font-size:20px}}

.space-brand>span,.primary>span,.mission-heading button>span{font-family:Arial,system-ui,sans-serif}.sky-status{pointer-events:none}.sky-status button{pointer-events:auto}#mission-brief{max-width:min(600px,calc(100vw - 160px))}
@media(max-width:600px){.mission-heading{right:18px;left:18px}.mission-heading #levels-open{min-width:65px;flex-shrink:0;white-space:nowrap}.console-top{gap:8px}.campaign-best{flex:0 0 80px}.campaign-best>span{font-size:8px;letter-spacing:1px}.campaign-best strong{font-size:25px}.minor-actions button{white-space:nowrap}.console-foot #save-note{line-height:1.35}.primary>span{display:none}}
@media(max-height:700px) and (max-width:600px){.space-header{top:10px}.space-header nav button{min-height:36px}.space-header #help-open{width:36px}.mission-heading{top:62px}.mission-heading .eyebrow{font-size:8px;letter-spacing:1.3px;margin-bottom:5px}.mission-heading h1{font-size:23px;margin-bottom:4px}#mission-brief{display:none}.sky-status{top:112px;font-size:10px;left:18px;right:18px;gap:9px}.sky-status #pause{min-height:30px;padding:3px 9px}.flight-console{padding:13px;bottom:8px}.console-top h2{font-size:18px;line-height:1.15}.console-top .eyebrow{font-size:8px;margin-bottom:5px;letter-spacing:1.5px}#status-copy{display:none}.campaign-best>span{font-size:7px}.campaign-best strong{font-size:23px}.campaign-best small{font-size:8px}.controls-row{margin-top:9px}.primary{min-height:44px}.console-foot{margin-top:6px}.console-foot #save-note{font-size:8px}.minor-actions button{min-height:30px;padding:3px 8px}.console-foot #level-best{display:none}#result{margin-top:4px}#result-score{font-size:24px}#result #result-stars{font-size:18px}#result-detail{font-size:9px}.console-foot #save-note{max-width:46%}}
@media(max-height:500px) and (min-width:601px){.space-header{top:8px}.space-header nav button{min-height:34px}.space-header #help-open{width:34px}.space-brand{font-size:19px}.mission-heading{top:51px}.mission-heading .eyebrow{font-size:8px;margin-bottom:3px}.mission-heading h1{font-size:22px;margin-bottom:0}#mission-brief{display:none}.sky-status{top:94px;font-size:10px;gap:10px}.sky-status #pause{min-height:28px;padding:2px 10px}.flight-console{padding:10px 18px;bottom:8px}.console-top .eyebrow{display:none}.console-top h2{font-size:16px;margin:0}#status-copy{display:none}.campaign-best>span{display:none}.campaign-best strong{font-size:19px}.controls-row{margin-top:5px}.console-foot #save-note{font-size:8px}.console-foot{margin-top:3px}.console-foot .minor-actions button{min-height:24px}#result{margin-top:2px}#result-score{font-size:21px}#result-detail{font-size:10px}.power-control{top:37%;min-height:120px;height:34%}}

@media(max-width:600px){.mission-heading>div{min-width:0}.mission-heading h1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#mission-number{white-space:nowrap;font-size:9px}.mission-heading #mission-brief{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:100%}}@media(max-height:700px) and (max-width:600px){.mission-heading #mission-brief{display:none}}
#flight-hint{margin:8px 0 0;padding:7px 11px;border-left:2px solid #b7dedb;border-radius:4px;background:#bededb0d;color:#e0ece5;font-size:12px;line-height:1.4;min-height:32px}
@media(max-width:600px){#flight-hint{font-size:11px;margin-top:5px;padding:5px 8px;min-height:28px}}@media(max-height:500px){#flight-hint{font-size:10px;margin-top:3px;min-height:23px;padding:3px 8px}}

/* Echo Orbit: one destination at a time, with a compact touch-first coach. */
body[data-game="echo-orbit"] .flight-console{max-width:760px}
body[data-game="echo-orbit"] .console-top h2{font-size:clamp(18px,2.4vw,25px);line-height:1.25;max-width:510px}
body[data-game="echo-orbit"]:not([data-result]) #result-label{display:none}
body[data-game="echo-orbit"] .controls-row{grid-template-columns:1fr 48px;margin-top:10px}
body[data-game="echo-orbit"] .echo-route{justify-self:start;min-height:40px;padding:7px 15px;font-size:13px;border-radius:12px;background:#bcdeed10;color:#d9eaf0}
body[data-game="echo-orbit"] .minor-actions{display:none}
body[data-game="echo-orbit"] #save-note{max-width:75%}
@media(max-width:600px){body[data-game="echo-orbit"] .controls-row{grid-template-columns:1fr 40px}body[data-game="echo-orbit"] .flight-console{padding:14px 16px}body[data-game="echo-orbit"] .console-top h2{font-size:18px}body[data-game="echo-orbit"] .campaign-best{flex-basis:68px}body[data-game="echo-orbit"] .campaign-best strong{font-size:22px}body[data-game="echo-orbit"] .console-top #status-copy{font-size:11px}body[data-game="echo-orbit"] #save-note{max-width:80%;font-size:9px}}
@media(max-height:500px){body[data-game="echo-orbit"] .flight-console{padding:9px 16px}body[data-game="echo-orbit"] .console-top h2{font-size:16px}body[data-game="echo-orbit"] .controls-row{margin-top:5px;grid-template-columns:1fr 40px}body[data-game="echo-orbit"] .echo-route{min-height:32px;padding:4px 12px;font-size:11px}}

/* Quiet instrument panels: a brighter edge, a deep surface and one clear action. */
html { color-scheme:dark }
body { -webkit-font-smoothing:antialiased;font-synthesis:none }
.flight-console {
 background:linear-gradient(125deg,#1b343beF,#101f30f5);
 border-color:#c2dfdc3b;
 box-shadow:inset 0 1px 0 #effff515,0 18px 55px #01081155,0 3px 8px #01081130
}
.primary {
 background:linear-gradient(135deg,#e2f3bf,#bed995);
 color:#172a24;
 border:1px solid #f1ffdb55;
 box-shadow:inset 0 1px 0 #ffffff65,0 5px 18px #050f1b30;
 font-weight:550
}
.round,.space-header button {
 background:linear-gradient(150deg,#c9e6e710,#b6d6da04);
 border-color:#c9e6e735;
 box-shadow:inset 0 1px 0 #e6f6ef0a
}
.campaign-best strong,#result-score { font-variant-numeric:tabular-nums;letter-spacing:-.04em }
dialog { background:linear-gradient(135deg,#192f3d,#102131);border-color:#c1ded33d;box-shadow:inset 0 1px 0 #effff512,0 25px 100px #0008 }
.level-option.selected,.level-grid button.selected { background:linear-gradient(140deg,#d3edb21c,#a7d8c60a);box-shadow:inset 0 1px 0 #fff1 }
#aim-handle { box-shadow:inset 0 1px 0 #edffd120,0 0 22px #badf9b12 }
.power-control { background:linear-gradient(160deg,#1c3442e0,#102330df);border-color:#c7dfd43d;box-shadow:inset 0 1px 0 #effff50d,0 8px 30px #030c1a22 }
@media(hover:hover) { .primary:hover:not(:disabled) { background:linear-gradient(135deg,#edffd1,#d5efad);box-shadow:inset 0 1px 0 #fff9,0 5px 20px #c0e8a11a } }

body[data-game="echo-orbit"] .primary { background:linear-gradient(135deg,#d7eefb,#a9d4ec) }
body[data-game="tether-rescue"] .primary { background:linear-gradient(135deg,#ffe4c7,#e5bc96) }

/* Aim and launch share a panel, with the same order on touch and keyboard. */
.space-header #help-open{width:auto;min-width:44px;padding-inline:8px}
.flight-console{background:#142431;border-radius:14px;box-shadow:none}
.flight-console:has(#result[hidden]) #result-label{display:none}
.flight-console .primary{box-shadow:none}
.flight-console .round{width:auto;min-width:44px;padding-inline:5px;font-size:12px}
#flight-deck .controls-row.with-angle{grid-template-columns:minmax(64px,1fr) minmax(64px,1fr) minmax(90px,1.2fr) 48px;gap:8px}
#flight-deck .controls-row.with-angle .power-control{position:static;z-index:auto;height:auto;min-height:0;max-height:none;width:auto;display:block;padding:0;background:none;border:0;box-shadow:none;border-radius:0;backdrop-filter:none}
#flight-deck .controls-row.with-angle .power-control input{writing-mode:horizontal-tb;direction:ltr;height:32px;width:100%;margin:0;cursor:ew-resize}
#flight-deck .controls-row.with-angle label span{font-size:11px;line-height:1.25;letter-spacing:0;align-items:baseline}
#flight-deck .controls-row.with-angle label output{font-size:15px}
@media(max-width:600px){
 .space-header nav button{min-height:44px;padding-inline:7px}
 .space-header .space-brand{font-size:clamp(15px,4.5vw,22px)}
 .space-header nav{gap:4px}
 .flight-console .primary,.flight-console .round{min-height:44px}
 #flight-deck .controls-row.with-angle{grid-template-columns:repeat(2,minmax(0,1fr)) 48px;gap:4px 8px}
 #flight-deck .controls-row.with-angle label{grid-row:1}
 #flight-deck .controls-row.with-angle .primary{grid-row:2;grid-column:1/3}
 #flight-deck .controls-row.with-angle .round{grid-row:2;grid-column:3}
}
@media(max-height:500px) and (min-width:601px){
 #flight-deck .controls-row.with-angle{grid-template-columns:minmax(80px,1fr) minmax(80px,1fr) minmax(125px,1.3fr) 48px}
}

#flight-deck .controls-row #power-value{font-size:15px;letter-spacing:0}

@media (max-width:600px){body[data-game="echo-orbit"] .echo-route{min-height:44px}}
#flight-deck .controls-row.with-angle:has(#angle-control) .power-control{min-width:0}
body[data-result] #flight-deck .controls-row.with-angle{grid-template-columns:minmax(0,1fr) 48px}
body[data-result] #flight-deck .controls-row.with-angle .power-control{display:none}
body[data-result] #flight-deck .controls-row.with-angle .primary{grid-row:1;grid-column:1}
body[data-result] #flight-deck .controls-row.with-angle .round{grid-row:1;grid-column:2}
