@font-face{font-family:Space;src:url("./assets/space-regular.ttf") format("truetype");font-style:normal;font-weight:400 500;font-display:swap}
@font-face{font-family:Space;src:url("./assets/space-bold.ttf") format("truetype");font-style:normal;font-weight:600 900;font-display:swap}
@font-face{font-family:Plex;src:url("./assets/plex-mono.ttf") format("truetype");font-weight:400;font-display:swap}
:root{
  color-scheme:dark;
  --bg:#0c0c11;
  --surface:#15151d;
  --border:#303039;
  --text:#f3f2f7;
  --secondary:#b2afbf;
  --muted:#92909f;
  --accent:#c2a7ff;
  --mono:Plex,"Courier New",monospace;
  --wrap:min(1340px,89%);
  font-family:Space,"Segoe UI",sans-serif;
  background:var(--bg);color:var(--text)
}
*{box-sizing:border-box}
body{margin:0;min-width:300px;min-height:100vh}
button,input{font:inherit}
button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
button{cursor:pointer;color:inherit;background:none;border:none}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #c4acff;outline-offset:4px}
button:disabled{cursor:default}
button{transition:background .16s,color .16s,border-color .16s,box-shadow .16s,transform .16s}
a{color:inherit}
[hidden]{display:none!important}
.symbols{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.icon{width:1.15rem;height:1.15rem;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linejoin:round;stroke-linecap:round;flex:none}
.wrap{width:var(--wrap);margin-inline:auto}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.masthead{background:#0d0d13;border-bottom:1px solid #28252d;position:relative;z-index:2}
.mast-inner{display:flex;align-items:center;gap:clamp(24px,4.1vw,68px);min-height:74px}
.brand{font-size:1.6rem;text-decoration:none;letter-spacing:-.075em;font-weight:700;display:inline-flex;align-items:center;gap:9px;line-height:1}
.brand svg{width:44px;height:37px;color:#c6abff;flex:none}
.modes,.utilities{display:flex;align-items:center}
.modes{gap:7px}
.mode,.help-btn{display:flex;align-items:center;gap:9px;font-size:.91rem;font-weight:500}
.mode{border:1px solid transparent;padding:9px 14px;border-radius:7px;color:var(--secondary)}
.mode .icon{width:16px;height:16px}
.mode.active{background:#24202e;border-color:#42354f;color:#d9c8ff}
.mode:hover:not(.active),.tool-btn:hover,.help-btn:hover{background:#22212b;color:#fff}
.utilities{gap:7px;margin-left:auto}
.tool-btn{display:grid;place-items:center;min-width:38px;min-height:38px;border-radius:7px;color:#b9b6c6}
.tool-divider{height:20px;width:1px;background:#36333f;margin:0 7px}
.help-btn{padding:9px 10px;border-radius:7px;color:#ccc9d4}
.help-btn .icon{width:17px;height:17px}
.social-tools,.social-btn,.launch-actions{display:flex;align-items:center}
.social-tools{gap:6px;margin-left:auto}
.social-tools:not(:has(button:not([hidden]))){display:none}
.social-tools:has(button:not([hidden]))+.utilities{margin-left:0}
.mast-inner:has(.social-btn:not([hidden])){gap:clamp(10px,2vw,28px)}
.social-btn{gap:7px;min-height:40px;border-radius:7px;padding:6px 10px;color:#ded3ed;font-size:.91rem}
.social-btn:hover{background:#292331}
.social-btn .icon{color:#ccaff5}
#account-label{max-width:13ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.launch-actions{flex-wrap:wrap;gap:10px}
#competition-badge{color:#f2cd91;border:1px solid #a37b47;border-radius:4px;padding:3px 5px;font-size:.69rem}
#ranked-status,#ranked-result{color:#eed3a0;font-size:.98rem;line-height:1.45}
#ranked-status{padding:9px 5.5%;background:#221d26;border-top:1px solid #433844}
#ranked-result{margin-top:9px}
#ranked-result:empty,#ranked-status:empty{display:none}
#competition-modal{width:min(540px,calc(100% - 28px))}
#competition-content{display:grid;gap:15px}
.competition-controls{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px}
.competition-controls label{display:grid;gap:5px;color:#d5c9e2;font-size:.93rem}
.competition-controls select,.competition-controls input{min-height:44px;width:auto;height:auto;background:#25202d;color:#faf6ff;padding:9px 12px;border:1px solid #77658b;border-radius:7px;font:inherit}
.competition-note,.competition-error{font-size:.96rem;line-height:1.5;color:#d2c6da}
.competition-error{color:#ffc3b5}
.competition-action{justify-self:start;min-height:42px;border:1px solid #78678b;border-radius:7px;padding:8px 13px;color:#ead8ff;font-weight:600}
.competition-action:hover{background:#33283e}
.competition-board{width:100%;border-collapse:collapse;list-style:none;padding:0;margin:0}
.competition-table{width:100%;border-collapse:collapse;text-align:left}
.competition-table th{padding:7px;color:#c2b5ce;font-size:.85rem}
.competition-table th:last-child{text-align:right}
.competition-board>.competition-action,.competition-personal{margin-top:14px}
.competition-personal{font-size:1rem;color:#e4c9ff}
.competition-error>.competition-action,#ranked-status .competition-action{margin-left:8px}
.competition-row{border-bottom:1px solid #38313e}
.competition-row[data-you]{background:#33273c}
.competition-name{font-weight:600;overflow-wrap:anywhere}
.competition-score{text-align:right;white-space:nowrap;color:#e5c8ff;font-family:var(--mono)}
.competition-rank{color:#c2aecf;font-family:var(--mono)}
tr.competition-row>*{padding:10px 7px}
.competition-row:not(tr){display:grid;grid-template-columns:3ch minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 8px}
#google-signin-slot{min-height:44px}
@media(min-width:711px) and (max-width:1050px){.social-btn{padding-inline:7px}.utilities .help-btn span{display:none}}
@media(max-width:710px){
  .mast-inner:has(.social-btn:not([hidden])){flex-wrap:wrap;column-gap:8px;row-gap:0;padding-top:5px}
  .social-tools:has(button:not([hidden])){flex-basis:100%;order:4;justify-content:space-between;margin:4px 0 0;border-top:1px solid #302a35}
  .social-tools:has(button:not([hidden]))+.utilities{margin-left:auto}
  .social-btn{padding-inline:4px;min-height:38px}
  .mission-id:has(#competition-badge:not([hidden])) #mission-label{display:none}
}

/* The viewport, flight controls and mission track make up one game screen. */
body{display:flex;flex-direction:column;min-height:100svh}
.cockpit{flex:1;display:flex;flex-direction:column;isolation:isolate}
.mast-inner{min-height:65px}
h1,h2,h3,p{margin:0}
.viewport{position:relative;isolation:isolate;overflow:hidden;display:flex;flex:1;min-height:clamp(490px,calc(100svh - 174px),950px);background:#090812}
#flight-world,.launch-art,.screen-shade{position:absolute;inset:0;overflow:hidden}
#flight-world{z-index:-3;outline:none;left:20%;background:#0b0a17;transition:left .5s ease;touch-action:none}
#flight-world canvas{width:100%;height:100%;display:block}
.launch-art{z-index:-2;pointer-events:none;background:#090812 url("./assets/wordhole.webp") 60% 50% / cover no-repeat;opacity:0;transition:opacity .45s}
[data-phase=ready] .launch-art{opacity:1;animation:orbit-drift 48s ease-in-out infinite alternate}
[data-phase=ready] #flight-world{visibility:hidden}
.screen-shade{z-index:-1;pointer-events:none;background:linear-gradient(90deg,#0b0a15 5%,#0b0a15ed 23%,#100d1bbb 38%,#110d1a35 58%,transparent 75%),linear-gradient(0deg,#0b0a1760,transparent 15%,transparent 83%,#0b0a1770)}
[data-phase=ready] .screen-shade{background:linear-gradient(90deg,#0c0913e8 0%,#0c0914ba 24%,#0b08146b 46%,transparent 68%),linear-gradient(0deg,#0b0a16aa 0,transparent 24%,transparent 86%,#0b0a1649)}
[data-phase=flight] #flight-world{left:0}
[data-phase=flight] .screen-shade{background:linear-gradient(0deg,#090816ba,transparent 20%,transparent 70%,#0908169c)}
[data-phase=debrief] .screen-shade{background:linear-gradient(90deg,#0c0915f7,#0c0915ea 32%,#0c0915a8 55%,#0c091526 88%)}
[data-sector="2"] #flight-world{filter:hue-rotate(14deg)}
[data-sector="3"] #flight-world{filter:hue-rotate(-10deg)}
[data-phase=flight] #flight-world{filter:none}
.hud-top{position:absolute;inset:26px 5.5% auto;display:flex;justify-content:space-between;align-items:center;gap:15px;pointer-events:none}
.mission-id,.hud-telemetry,.eyebrow,.route-intro>div>span,.target-tag,.launch-rules,.beacon-count{font-family:var(--mono)}
.mission-id,.hud-telemetry,.eyebrow{display:inline-flex;align-items:center;gap:9px;text-transform:uppercase;letter-spacing:.12em;font-size:.72rem}
.mission-id{color:#d8c8f5;font-size:.76rem}
.mission-id>.icon{width:21px;height:21px;color:#cfb7ff}.id-separator{color:#80748e}
.mission-id>span:last-child{color:#a99daf}
.hud-telemetry{background:#0e0c18cf;color:#b6a9c5;border:1px solid #bba5ca48;border-radius:5px;padding:8px 11px;font-size:.72rem}
.hud-telemetry .icon{width:15px;height:15px}.hud-telemetry b{color:white;letter-spacing:.04em;font-weight:400}
.game-layout{width:var(--wrap);margin:auto;pointer-events:none;display:grid;align-items:center;padding:96px 0 76px}
.phase-panel{width:min(500px,47%);pointer-events:auto;animation:arrive .24s ease-out}
.launch-panel{width:min(640px,54%)}
.eyebrow{color:#d3b5ff;line-height:1.5}
.eyebrow .icon{width:16px;height:16px}
.thin-rule{height:1px;width:20px;background:#86719c}
h1{font-size:clamp(5rem,8.8vw,9.2rem);line-height:.96;letter-spacing:-.088em;font-weight:700;color:#f9f6ff;margin:0 0 21px}
h1>span{color:#bd98ff}
.launch-copy,.panel-copy{font-size:clamp(1rem,1.46vw,1.24rem);line-height:1.5;color:#d7d0df;max-width:410px;letter-spacing:-.017em;text-wrap:pretty}
.launch-rules{display:flex;align-items:center;gap:14px;margin:21px 0 24px;font-size:.80rem;color:#d0bedb}
.launch-rules span{display:flex;align-items:center;gap:7px}
.launch-rules .icon{width:16px;height:16px;color:#c8a5f5}
.launch-rules i{width:1px;height:14px;background:#645a6d}
#launch-settings-slot{margin:20px 0 0}
.difficulty-control{display:inline-flex;align-items:center;gap:12px;color:#ddd3e7;font-weight:600;font-size:.94rem;pointer-events:auto}
.select-wrap{position:relative;display:inline-flex;align-items:center}
.select-wrap select{appearance:none;-webkit-appearance:none;cursor:pointer;min-height:43px;padding:9px 35px 9px 13px;border:1px solid #88729f;border-radius:7px;background:#21192a;color:#f1e6ff;font:500 .94rem Space,"Segoe UI",sans-serif}
.select-wrap select:hover{background:#30253b}.select-wrap select:focus-visible{outline:2px solid #d9b9ff;outline-offset:3px}.select-wrap select:disabled{opacity:.62;cursor:default}
.select-wrap .icon{position:absolute;right:12px;width:14px;height:14px;pointer-events:none;color:#d3b5f2}
.hud-top{z-index:2}
#hud-difficulty-slot:empty{display:none}
#hud-difficulty-slot{margin-right:auto}
#hud-difficulty-slot .difficulty-control{font-weight:400;font-size:.79rem;gap:8px}
#hud-difficulty-slot select{min-height:34px;padding-block:5px;font-size:.83rem}
.word-hint{max-width:420px;color:#e0d3e9;line-height:1.45;font-size:1.02rem;margin-bottom:13px}
.choice-instruction{color:#c9b8d5;font-size:.87rem;margin-bottom:8px}
.word-choices{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:15px}
.word-choice{min-height:45px;text-align:center;border:1px solid #9b80b3;background:#32213e;color:#f1e6ff;border-radius:8px;font:600 1rem Space,sans-serif;padding:9px 15px}
.word-choice:hover,.word-choice:focus-visible{background:#4e3461;border-color:#d9b6fa}
.word-choice.incorrect{border-color:#b28186;background:#39282e;color:#e0c3c7;text-decoration:line-through}
.win-summary{color:#dec8ff;font-size:1.07rem;font-weight:600;margin-bottom:8px}.win-summary:empty{display:none}
.debrief-wings{display:block;width:95px;height:41px;color:#f0cc88;margin:15px 0 3px;filter:drop-shadow(0 2px 9px #e4b55538)}
.route-intro span:has(>#goal-progress[hidden]){display:none}
.primary,.secondary,.quiet-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:7px;font-weight:700}
.primary{color:#1f152d;background:#c6a5ff;border:1px solid #dbc2ff;padding:13px 19px;box-shadow:0 3px 24px #ab77f920}
.primary:hover{background:#ddc5ff;box-shadow:0 0 25px #a677ef35}
.primary:active{transform:translateY(1px)}
.primary .icon{width:18px;height:18px;stroke-width:1.8}
.launch-button{font-size:1.09rem;min-height:54px;padding-inline:23px;gap:11px}
.launch-button .icon{width:21px;height:21px}
.target-tag{position:absolute;right:5.5%;bottom:13%;font-size:.65rem;color:#ccbadf;letter-spacing:.12em;text-transform:uppercase;display:flex;align-items:center;gap:10px}
.target-tag strong{display:block;margin-top:3px;color:#f1eafb;font-size:.78rem;font-weight:400;letter-spacing:.08em}
.target-tag i{position:relative;width:39px;height:1px;background:#bba6cb}
.target-tag i:before{content:"";position:absolute;right:100%;bottom:0;transform:rotate(33deg);transform-origin:right bottom;width:34px;height:1px;background:inherit}
.target-tag i:after{content:"";position:absolute;width:5px;height:5px;left:-30px;top:-20px;background:#dfcdf3;border-radius:50%}
.phase-panel h2{font-size:clamp(2.4rem,3.75vw,4.2rem);font-weight:700;line-height:1.01;letter-spacing:-.065em;margin:14px 0 21px;text-wrap:balance}
.clock-line{display:flex;gap:12px;align-items:center;max-width:390px;margin:20px 0 14px}
.clock-readout{display:flex;gap:2px;align-items:center;font:400 1rem var(--mono);color:#ddcaff;min-width:61px}
.clock-readout .icon{margin-right:4px;width:17px;height:17px}
progress{appearance:none;-webkit-appearance:none;height:4px;display:block;border:none;overflow:hidden;border-radius:10px;background:#373140;color:#c7a1ff;accent-color:#c7a1ff}
progress::-webkit-progress-bar{background:#373140}progress::-webkit-progress-value{background:#c7a1ff;transition:width .2s linear}progress::-moz-progress-bar{background:#c7a1ff}
#clock-bar{flex:1}
[data-clock=urgent] .clock-readout{color:#ffad99}
[data-clock=urgent] #clock-bar::-webkit-progress-value{background:#ffad99}
#guess-form{display:flex;gap:8px;max-width:480px}
.answer-box{display:flex;align-items:center;gap:8px;flex:1;min-width:0;border:1px solid #776780;border-radius:7px;padding-left:13px;background:#0f0c17ee}
.answer-box .icon{width:18px;height:18px;color:#9889a3}
.answer-box:focus-within{border-color:#c8a7f5;box-shadow:0 0 0 3px #b28be025}
#voice-entry{align-self:stretch;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:44px;margin:3px;padding:0 10px;border:1px solid transparent;border-radius:5px;background:#30253d;color:#eddcff;font-size:.91rem;font-weight:600}
#voice-entry .icon{flex:none;width:18px;height:18px;color:inherit}
#voice-entry:hover:enabled{background:#483655}
#voice-entry[aria-pressed=true]{background:#592f42;border-color:#eb9aa6;color:#ffe1de}
#voice-entry[aria-pressed=true]:hover{background:#67374b}
#voice-entry:disabled{background:#25222b;color:#b8b1bf;cursor:default}
#guess-input[data-interim]{color:#dfc7ff}
#voice-help,#voice-status{max-width:480px;line-height:1.4}
#voice-help{margin-top:8px;color:#c6bbcc;font-size:.85rem}
#voice-status{margin-top:6px;color:#f1d5fb;font-size:.95rem}
#voice-status:empty{display:none}
input{width:100%;min-width:0;outline:0;border:0;background:transparent;color:#f7f3fb;height:49px;font-size:1rem}
input::placeholder{color:#b8acbf}
.answer-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:.87rem;margin-top:12px;color:#b9adbf}
.quiet-btn{padding:5px 0;font-size:.86rem;font-weight:500;color:#ddc4fa;text-decoration:underline;text-underline-offset:3px}
#feedback{margin-top:8px;color:#ffc1b2;font-size:.95rem}
#feedback:empty{display:none}
.checkpoint-distance{color:#d1b2ff;font-weight:700;font-size:clamp(2.5rem,4.2vw,4.6rem);line-height:1;letter-spacing:-.065em;margin-bottom:15px}
.checkpoint-distance small{font:400 .95rem var(--mono);letter-spacing:0}
.checkpoint .primary{margin-top:24px}.checkpoint h2{margin-bottom:10px}
.panel-copy{font-size:1.02rem;max-width:440px}
.pilot-top,.pilot-bottom{position:absolute;pointer-events:none}
.pilot-top{top:85px;left:5.5%;right:5.5%;display:flex;justify-content:space-between;align-items:flex-start}
.flight-signal{display:flex;flex-wrap:wrap;align-items:center;gap:5px 9px;max-width:250px}
.flight-signal .eyebrow{width:100%}
#flight-word{font-size:1.5rem;line-height:1.14;overflow-wrap:anywhere}
#flight-tier{color:#d7c0ee;font:400 .8rem var(--mono)}
.beacon-count{display:flex;align-items:center;gap:7px;color:#f7d196;background:#15131acf;border:1px solid #dcb97660;border-radius:5px;padding:8px 11px;font-size:.76rem}
.beacon-count b{font-weight:400}.diamond{width:8px;height:8px;background:#ffd47f;transform:rotate(45deg);box-shadow:0 0 8px #ffcd75}
.pilot-bottom{bottom:20px;left:5.5%;right:5.5%;display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.steer-pad{display:flex;gap:6px;pointer-events:auto}.steer-pad button{min-width:44px;min-height:44px;border:1px solid #867492;border-radius:8px;background:#171320c7;touch-action:none;color:#e9d6ff}
.steer-pad button:active{background:#574569}
.pilot-instructions b,.pilot-instructions span{display:block}
.pilot-instructions b{font-size:.97rem}.pilot-instructions span{font-size:.86rem;color:#d2c9db;margin-top:2px}
#flight-progress{width:100%}
.result-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}
.secondary{padding:10px 14px;color:#e7d9f6;background:#251d30;border:1px solid #64566f}
.secondary:hover{background:#42334e}
.debrief{max-width:550px}.debrief h2{margin-bottom:10px}
#attempts-list{padding:0;margin:13px 0 0;list-style:none}
.attempt-row{display:grid;grid-template-columns:22px 1fr auto auto;gap:9px;align-items:center;padding:7px 0;border-bottom:1px solid #6d62733d;font-size:.9rem}
.attempt-number,.attempt-rarity,.attempt-depth{font:400 .75rem var(--mono)}
.attempt-number{color:#a79bae}.attempt-rarity{color:var(--tier,#c8bbd4)}.attempt-word{overflow-wrap:anywhere}.attempt-depth{color:#e8dcef}
.route-bar{position:relative;display:flex;align-items:center;gap:clamp(25px,5vw,86px);padding:22px max(5.5%,calc((100vw - 1340px)/2));min-height:109px;background:linear-gradient(100deg,#16111e,#111018 65%);border-top:1px solid #493950}
.route-intro{display:flex;gap:12px;align-items:center;flex:none}
.route-intro>.icon{width:27px;height:27px;color:#c3a1e8}
.route-intro h2{font-size:1.07rem;letter-spacing:-.03em}
.route-intro>div>span{display:block;font-size:.70rem;color:#a698b1;text-transform:uppercase;letter-spacing:.05em;margin-top:4px}
.route-intro b{font-weight:400;color:#d0bfdc}
#sector-route{display:flex;align-items:flex-start;justify-content:space-between;flex:1;list-style:none;padding:0;margin:0}
#sector-route li{flex:1;min-width:0;position:relative;display:flex;flex-direction:column;align-items:center;gap:7px;color:#a299ac}
#sector-route li:before{content:"";position:absolute;right:50%;left:-50%;top:12px;background:repeating-linear-gradient(90deg,#5d506a 0 4px,transparent 4px 8px);height:1px}
#sector-route li:first-child:before{content:none}
.route-node{position:relative;display:grid;place-items:center;border:1px solid #54465f;background:#211c29;border-radius:50%;width:26px;height:26px;color:#a99db4}
.route-index{font:400 .64rem var(--mono)}.route-name{font-size:.83rem;line-height:1.15;text-align:center}
#sector-route .current .route-node{background:#cbb1f5;color:#251c30;border-color:#ddc9ff;box-shadow:0 0 0 4px #c19cf61c}
#sector-route .current .route-name{color:#e3d3f5}#sector-route .past .route-node{color:#dfc6ff;border-color:#a280bb;background:#3e2c4b}
.mode:disabled,.mode:disabled:hover{opacity:.5;cursor:default}
[data-tier=common]{--tier:#c4bccc}[data-tier=uncommon]{--tier:#90d9b2}[data-tier=rare]{--tier:#a2c8ff}[data-tier=epic]{--tier:#cf9fff}[data-tier=legendary]{--tier:#f1c477}
.flight-report-text{width:100%;min-height:130px;margin-top:12px;padding:12px;resize:vertical;background:#110e18;color:#eee5f6;line-height:1.5;border:1px solid #65546f;border-radius:6px}
@keyframes orbit-drift{from{transform:scale(1)}to{transform:scale(1.045) translateX(-.4%)}}
dialog{width:min(470px,calc(100% - 28px));padding:27px;border:1px solid #494051;border-radius:16px;background:#19171f;color:var(--text);max-height:82dvh;box-shadow:0 24px 110px #0009}
dialog::backdrop{background:#07070dc2;backdrop-filter:blur(7px)}
.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:16px;border-bottom:1px solid var(--border);margin-bottom:21px}
.modal-heading h2{font-size:1.55rem;letter-spacing:-.05em}
.modal-heading .tool-btn{background:#28232f}
.help-list{list-style:none;counter-reset:rule;padding:0;margin:0}
.help-step{counter-increment:rule;position:relative;padding-left:39px;margin-bottom:20px}
.help-step:before{content:counter(rule,decimal-leading-zero);position:absolute;top:0;left:0;color:#bd9cea;font:400 .8rem/1.9 var(--mono)}
.help-title{font-size:1.01rem}
.help-copy,.modal-note,.history-meta,.history-answer{font-size:.93rem;line-height:1.5;color:#bbb5c5}
.help-copy{margin-top:4px}
.help-list+.modal-note{border-top:1px solid var(--border);padding-top:16px}
.history-empty-title{font-size:1.1rem;margin:9px 0 7px}
.history-row{border-bottom:1px solid #36313d;padding:12px 0}
.history-row:first-child{padding-top:0}
.history-summary{cursor:pointer;position:relative;padding-right:25px}
.history-summary::marker{color:#c0a1f2}
.history-prompt{font-size:1rem;letter-spacing:-.025em}
.history-meta{display:block;color:#a89eb4;margin-top:4px;font-size:.80rem}
.history-answers{list-style:none;margin:10px 0 0;padding:0}
.history-answer{display:flex;justify-content:space-between;gap:10px;padding:6px 0}
.history-score{font:400 .75rem/1.6 var(--mono);text-align:right}
@keyframes arrive{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}

@media(max-width:900px){
  :root{--wrap:92%}.mast-inner{gap:26px}.phase-panel{width:min(490px,55%)}.launch-panel{width:61%}
  .hud-top,.pilot-top,.pilot-bottom{left:4%;right:4%}.route-bar{padding-inline:4%;gap:25px}
  .launch-copy{font-size:1.08rem;max-width:340px}.target-tag{right:4%}
}
@media(max-width:710px){
  .mast-inner{min-height:59px;gap:11px}.brand{font-size:1.4rem;gap:5px}.brand svg{width:35px}.modes{gap:2px}.mode{padding:7px 9px;font-size:.84rem;gap:6px}
  .help-btn span,.tool-divider{display:none}.help-btn,.tool-btn{min-width:33px;min-height:35px;padding:7px;justify-content:center}.utilities{gap:0}
  .route-intro>.icon{display:none}.route-bar{gap:15px}.phase-panel h2{font-size:2.4rem}.pilot-top{top:77px}
}
@media(max-width:560px){
  :root{--wrap:calc(100% - 36px)}
  .mast-inner{min-height:54px;gap:0}.brand{font-size:1.21rem;gap:4px}.brand svg{width:29px}
  .modes{margin-left:auto}.mode{font-size:.78rem;padding:7px 8px;gap:3px;white-space:nowrap}.mode .icon,.mode-suffix{display:none}
  .utilities{margin-left:4px}.help-btn,.tool-btn{min-width:27px;width:27px;min-height:40px;padding:3px}.utilities .icon{width:16px;height:16px}
  .viewport{min-height:max(500px,calc(100svh - 156px))}.hud-top{top:17px;left:18px;right:18px}.mission-id,.hud-telemetry{font-size:.61rem;gap:6px}.mission-id>.icon{width:16px;height:16px}.hud-telemetry{padding:5px 7px}
  #flight-world{left:0;inset-block:0 28%;transition:none}
  [data-phase=flight] #flight-world{inset:0}
  .launch-art{background-position:65% 0;background-size:auto 83%}
  [data-phase=ready] .screen-shade{background:linear-gradient(0deg,#0c0912 0%,#0c0912f5 9%,#0c0912bc 33%,#0c09122b 62%,#0c09122e 100%)}
  .screen-shade{background:linear-gradient(0deg,#0c0a16 0%,#0c0a16 25%,#0c0a16ec 40%,#0c0a1666 59%,#0c0a1600 89%)}
  [data-phase=debrief] .screen-shade{background:linear-gradient(0deg,#0c0a16 8%,#0c0a16f2 55%,#0c0a16a2)}
  .game-layout{width:var(--wrap);margin:auto auto 0;padding:150px 0 28px}
  .phase-panel,.launch-panel{width:100%;max-width:440px}.target-tag{display:none}
  h1{font-size:clamp(4.1rem,15.2vw,5.4rem);margin-bottom:12px}.launch-copy{max-width:320px;font-size:1.02rem}
  .launch-rules{font-size:.72rem;margin:16px 0 19px;gap:11px}.launch-rules .icon{width:14px;height:14px}
  .launch-button{min-height:49px;font-size:1rem}.phase-panel h2{font-size:clamp(2rem,8.2vw,2.6rem);margin:9px 0 13px;text-wrap:pretty}
  .answer-foot{font-size:.8rem}.clock-line{margin:11px 0}.panel-copy{font-size:.96rem}
  .route-bar{min-height:99px;display:block;padding:10px 17px 13px}
  .route-intro{margin-bottom:9px}.route-intro>div{display:flex;gap:12px;align-items:baseline}.route-intro h2{font-size:.82rem}.route-intro>div>span{margin:0;font-size:.62rem}
  .route-node{width:21px;height:21px}.route-index{font-size:.59rem}.route-name{font-size:.66rem}#sector-route li{gap:4px}#sector-route li:before{top:10px}
  .pilot-top{left:18px;right:18px;top:62px}.flight-signal{max-width:55%}.beacon-count{font-size:.70rem;padding:6px}
  .pilot-bottom{bottom:13px;left:18px;right:18px;gap:8px}.pilot-instructions{flex:1;min-width:100px}.pilot-instructions span{font-size:.74rem}
  .pilot-instructions b{font-size:.87rem}.result-actions button{font-size:.85rem;padding:10px}
  [data-phase=debrief] .game-layout{padding-top:75px}
  #hud-difficulty-slot{margin:0 0 0 auto}
  #hud-difficulty-slot .difficulty-control>span:first-child{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  #hud-difficulty-slot select{font-size:.74rem;min-height:33px;padding:5px 20px 5px 7px}
  #hud-difficulty-slot .icon{right:5px;width:11px}
  .hud-top{gap:5px}
  .hud-telemetry>span{display:none}
  html:not([data-phase=ready]) .hud-top .mission-id>.id-separator,html:not([data-phase=ready]) .hud-top .mission-id>span:last-child{display:none}
  .hud-telemetry b{white-space:nowrap}
  #launch-settings-slot{margin-top:14px}
  .difficulty-control{gap:10px;font-size:.88rem}
  .select-wrap select{min-height:41px;font-size:.89rem}
  .launch-rules{flex-wrap:wrap;gap:8px}
  .word-hint{font-size:.95rem;margin-bottom:10px}
  .word-choices{gap:6px;margin-bottom:12px}.word-choice{padding:8px 11px}
  .route-intro>div{flex-wrap:wrap;column-gap:9px}
}
@media(max-width:380px){.hud-top .mission-id{gap:4px}.hud-top .mission-id>.id-separator,.hud-top .mission-id>span:last-child{display:none}.launch-rules{font-size:.67rem;gap:5px}}
@media(max-width:420px),(min-width:561px) and (max-width:710px){
  #guess-form{gap:6px}.answer-box{padding-left:9px;gap:4px}
  .answer-box>.icon{display:none}#voice-entry{padding-inline:7px}
  #guess-form .primary{padding-inline:12px}
}
@media(max-width:345px){.brand span{display:none}.launch-rules{gap:7px}.route-name{font-size:.62rem}.primary{padding-inline:12px}}
@media(max-width:560px) and (max-height:575px){
  [data-phase=answer] .viewport{min-height:max(235px,calc(100dvh - 112px))}
  [data-phase=answer] .game-layout{padding:55px 0 12px}
  [data-phase=answer] .route-bar{min-height:58px;padding-block:6px}
  [data-phase=answer] .route-intro{display:none}
  [data-phase=answer] .phase-panel h2{font-size:1.7rem}
}
@media(max-height:560px) and (min-width:561px){.viewport{min-height:331px}.game-layout{padding-block:64px 26px}.hud-top{top:12px}.route-bar{min-height:70px;padding-block:8px}.launch-rules{margin-block:8px 12px}h1{font-size:4.2rem;margin-bottom:8px}.launch-copy{font-size:1rem}.phase-panel h2{font-size:2.2rem}.pilot-top{top:49px}.pilot-bottom{bottom:8px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
