/* JET interface — navy, gold, burgundy and green reference palette. */
:root{--white:#fff;--muted:#b5c4e3;--accent:#ebb058;--panel:rgba(14,33,78,.96);--line:#1b3a8e;--green:#479e2c;--danger:#ca113d}
html,body{background:#091840;font-family:'Titillium Web','Roboto Condensed',Arial,sans-serif}
.topbar{padding:14px 30px;background:#091840;border-bottom:1px solid #1b3a8e;box-shadow:0 5px 22px #040e2b40;min-height:83px}
.brand{color:#ebb058;font-size:42px;letter-spacing:-1.5px;font-weight:900;gap:8px}.brand>span{color:#ebb058}.brand small{color:#fff;font-size:10px;letter-spacing:1.1px;font-weight:600;border-color:#375376;padding-left:15px}
.mission-top{font-size:11px;font-weight:700;letter-spacing:1px;color:#c6d2ed}.mission-top i{background:#479e2c;box-shadow:0 0 10px #479e2c55;width:6px;height:6px}
.top-actions{gap:9px}.top-actions button{border:1px solid #1b3a8e;background:#0e2258;border-radius:30px;font-size:11px;font-weight:700;letter-spacing:.3px;padding:10px 15px;backdrop-filter:none;transition:background .2s,border-color .2s}
.top-actions button:hover{background:#193873;border-color:#577fb1}#help-button{background:linear-gradient(180deg,#091840,#ca113d);border-color:#9b254a}#help-button:hover{background:linear-gradient(180deg,#182e67,#df214f)}#fullscreen-button{font-size:23px;width:42px;padding:10px}
.vignette{background:linear-gradient(180deg,#09184055,transparent 25%,transparent 65%,#09184099)}
.welcome-screen{background:linear-gradient(90deg,#091840f5 0%,#091840ca 28%,#09184055 58%,#09184008 85%);padding-top:125px}
.eyebrow{color:#ebb058;font-weight:700;font-size:12px;letter-spacing:1.4px}h1{font-size:clamp(70px,8.5vw,126px);letter-spacing:-2px;line-height:.98;font-weight:900;text-shadow:0 3px 22px #06102b55}h1 em{color:#ebb058}.welcome-description{font-size:16px;line-height:1.65;color:#e1e8f7}.welcome-actions{gap:10px}
.primary{background:#479e2c;color:#fff;border:1px solid #56ac39;border-radius:5px;font-size:14px;font-weight:700;letter-spacing:.3px;padding:15px 23px;min-width:255px;box-shadow:0 5px 18px #06102b33}.primary:hover{background:#55b136;box-shadow:0 5px 24px #479e2c33}.primary:active{transform:translateY(0);background:#3d8b25}.primary:disabled{opacity:.65}
.secondary{background:linear-gradient(180deg,#091840,#ca113d);border:1px solid #a02d50;border-radius:30px;font-size:14px;font-weight:600;padding:13px 20px;color:#fff}.secondary:hover{border-color:#ef6b88}
.welcome-specs{font-size:10px;letter-spacing:.5px;color:#c0cee8;gap:24px;margin-top:28px}.welcome-specs b{color:#ebb058;font-weight:700;font-size:17px}
.welcome-controls{background:rgba(14,33,78,.95);border:1px solid #1b3a8e;border-radius:5px;box-shadow:0 14px 45px #040d2b55;backdrop-filter:blur(8px);padding:25px;min-width:320px;max-width:365px}.small-label{background:linear-gradient(0deg,#62451c,#8e6731);color:#fff;font-size:13px;font-weight:700;letter-spacing:.6px;margin:-25px -25px 22px;padding:13px 25px;border-radius:4px 4px 0 0}.key-row{margin:13px 0}.key-row span{color:#e0e7f6;font-size:13px}.welcome-controls p{font-size:12px;line-height:1.7;color:#b5c4e3;border-color:#1b3a8e}
kbd{font-family:'Titillium Web','Roboto Condensed',Arial,sans-serif;background:linear-gradient(0deg,#1a2a55,#31456c);border:1px solid #45608a;font-size:11px;font-weight:600;color:#fff;border-radius:4px;padding:3px 7px}
.quiz-card,.quiz-progress,.map-panel,.systems{background:var(--panel);border-color:#1b3a8e;border-radius:5px;box-shadow:0 8px 28px #040d2b40}.quiz-heading{font-size:10px;font-weight:700;letter-spacing:.5px;color:#ebb058}.question-title{font-size:18px;font-weight:700;color:#fff;letter-spacing:0}.answer{background:#0e2258;border:1px solid #284680;font-size:13px;color:#fff;line-height:1.4;padding:10px}.answer>b{background:#182f63;color:#ebb058;border-color:#375376;font-size:11px;font-weight:700}.answer:hover:not(:disabled){background:#1b3570;border-color:#ebb058}.answer.correct{background:#244a34;border-color:#479e2c}.answer.wrong{background:#521b3d;border-color:#ca113d}.answer:disabled{opacity:.85}#feedback{color:#c4d2ee;font-size:12px}#feedback strong{color:#7bc858;font-size:13px}#feedback.bad strong{color:#f17c96}.quiz-hint{font-size:8px;letter-spacing:0;color:#a3b6dc}.question-next{font-size:12px;font-weight:700;color:#ebb058;padding-top:10px}
.progress-heading,.systems-top{font-size:10px;letter-spacing:.4px;font-weight:700;color:#d1ddf3}.quiz-progress p{font-size:12px;color:#b5c4e3}.question-dots i{height:4px;background:#31456c}.question-dots i.correct{background:#479e2c}.question-dots i.wrong{background:#ca113d}
.map-heading{background:linear-gradient(0deg,#1a2a55,#31456c);font-size:9px;font-weight:700;color:#fff;letter-spacing:.5px}.map-heading b{font-size:10px;color:#ebb058}.map-footer{font-size:8px;color:#d0dcf2}.systems-top #integrity{color:#7bc858}.integrity-track{height:3px;background:#31456c}.integrity-track i{background:#479e2c}.system-row{font-size:10px;color:#b5c4e3}.system-toggle{font-size:10px;color:#fff}.system-toggle kbd{font-size:8px}.throttle-row strong{font-size:12px;color:#ebb058}#throttle{accent-color:#ebb058}
.compass-marker,.nav-arrow{color:#ebb058}.navigation small{font-size:9px;font-weight:600;color:#fff}.navigation strong{font-size:20px;font-weight:700}.compass-wrap>span{font-size:15px;font-weight:700}.compass-scale{font-size:10px}.reticle-wing,.flight-reticle i{border-color:#fff}.instruments{background:linear-gradient(0deg,#091840dd,#0e214eaa);border:1px solid #1b3a8e;border-radius:5px}.instruments small{font-size:8px;color:#cfdbf2;letter-spacing:.8px}.instruments strong{font-weight:600;color:#fff}.instruments span{font-size:8px;color:#aabddd}.bottom-controls{color:#c6d4ed;font-size:9px}.bottom-controls button{font-size:9px}.bottom-controls kbd{background:#0e2258;border-color:#375376;font-size:9px}.flight-message{font-size:10px;letter-spacing:.8px;font-weight:700;color:#ebb058;text-shadow:0 2px 6px #091840,0 0 12px #091840}.flight-message.warning{color:#ff8ea7}
.modal-backdrop{background:#06102cb3}.dialog{background:#0e214e;border:1px solid #1b3a8e;border-radius:5px;box-shadow:0 25px 90px #040d2b88}.dialog h2{font-weight:700;letter-spacing:-.5px;color:#fff}.dialog .eyebrow{font-size:11px;color:#ebb058}.dialog>p:not(.eyebrow){font-size:15px;color:#c5d2ec}.help-grid p,.landing-help p{font-size:13px;color:#c5d2ec}.help-grid kbd{font-size:11px}.landing-help strong{font-size:15px;font-weight:700;color:#ebb058}.result-stats small{font-size:9px;color:#b5c4e3;letter-spacing:.4px}.result-stats strong{font-size:25px;font-weight:700;color:#ebb058}.error{background:#521b3df5;border-color:#ca113d;color:#fff}.fatal{background:#091840}
body.playing .topbar{padding-top:12px;padding-bottom:12px;min-height:70px}body.playing .brand small{font-size:9px}.joystick{background:#0e214e99;border-color:#577fb1}.joystick>span{background:#ebb05855;border-color:#ebb058}.touch-right button{background:linear-gradient(0deg,#1a2a55,#31456c);border-color:#375376;font-weight:700;font-size:9px}
@media(max-width:1000px){.topbar{padding:12px 20px;min-height:76px}.top-actions button{font-size:10px;padding:9px 12px}.brand{font-size:36px}.brand small{font-size:9px}.welcome-controls{min-width:295px;padding:21px}.small-label{margin:-21px -21px 20px;padding:12px 21px}.welcome-description{font-size:15px}.welcome-specs{font-size:8px;gap:16px}.quiz-card{width:295px}.question-title{font-size:16px}.answer{font-size:12px;padding:8px}.system-row,.system-toggle{font-size:9px}.systems-top{font-size:8px}.quiz-hint{font-size:7px}.flight-message{font-size:9px}.bottom-controls{font-size:8px;gap:11px}.bottom-controls kbd,.bottom-controls button{font-size:8px}}
@media(max-width:700px){.topbar{padding:11px 12px;min-height:65px}.brand{font-size:32px;gap:4px}.top-actions{gap:4px}.top-actions button{font-size:8px;padding:9px 8px;letter-spacing:0}#fullscreen-button{width:32px;font-size:20px;padding:8px}.welcome-screen{padding:95px 25px 45px;background:linear-gradient(90deg,#091840e8,#09184088),linear-gradient(0deg,#091840ee,transparent)}h1{font-size:80px;letter-spacing:-1px}.eyebrow{font-size:10px;letter-spacing:1px}.welcome-description{font-size:15px}.primary{font-size:13px;min-width:240px}.secondary{font-size:13px}.welcome-specs{font-size:9px;gap:16px;margin-top:24px}.welcome-specs b{font-size:15px}.quiz-card{width:min(280px,68vw)}.quiz-heading{font-size:8px}.question-title{font-size:14px}.answer{font-size:11px;padding:7px 8px}.answer>b{font-size:9px}.quiz-hint{font-size:6px}#feedback{font-size:11px}#feedback strong{font-size:12px}.question-next{font-size:11px}.progress-heading,.systems-top{font-size:7px}.quiz-progress p{font-size:10px}.map-heading,.map-footer{font-size:6px}.map-heading b{font-size:8px}.system-row,.system-toggle{font-size:8px}.throttle-row strong{font-size:10px}.navigation small{font-size:7px}.navigation strong{font-size:16px}.instruments small,.instruments span{font-size:6px}.flight-message{font-size:8px}.dialog>p:not(.eyebrow){font-size:14px}.result-stats small{font-size:7px}.result-stats strong{font-size:20px}body.playing .topbar{min-height:63px;padding:10px 12px}}
@media(max-height:570px) and (min-width:600px){.topbar{min-height:62px;padding:9px 20px}.welcome-screen{padding-top:82px;padding-bottom:25px}h1{font-size:65px}.eyebrow{font-size:10px}.welcome-description{font-size:13px}.primary{padding:11px 18px;font-size:12px}.welcome-specs{margin-top:16px;font-size:8px}.welcome-controls{padding:17px}.small-label{margin:-17px -17px 13px;padding:10px 17px;font-size:11px}.key-row{margin:9px 0}.key-row span,.welcome-controls p{font-size:11px}.quiz-card{width:260px}.question-title{font-size:13px}.answer{font-size:10px;padding:6px 8px}.quiz-hint{font-size:6px}.systems-top{font-size:7px}.system-row,.system-toggle{font-size:8px}.flight-message{font-size:8px}.instruments small,.instruments span{font-size:6px}}
