:root{--accent:#f4b76c;--ink:#e8f0ff;--muted:#9cabc2;--bg:#0b1220;--panel:#131e30;--line:#2e3d56;--good:#7ce1bd;--bad:#ffb9aa}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.6 ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}button,select,input{font:inherit}button{cursor:pointer;border:1px solid #475874;color:#eaf3ff;border-radius:9px;background:linear-gradient(#293b56,#202f47);padding:9px 13px;transition:transform .15s,border-color .15s}button:hover{border-color:var(--accent);transform:translateY(-1px)}button:focus-visible,input:focus-visible,select:focus-visible,canvas:focus-visible{outline:2px solid var(--accent);outline-offset:3px}header.head{min-height:82px;padding:0 clamp(18px,5vw,72px);display:flex;align-items:center;justify-content:space-between;background:#0b1322;border-bottom:1px solid #25344d;gap:16px}.brand{display:flex;align-items:center;gap:14px;font-weight:800;letter-spacing:.04em}.brandmark{display:flex;align-items:center;justify-content:center;font-size:29px;width:46px;height:46px;border:1px solid #536680;border-radius:14px;color:var(--accent);background:#15253a}.branddot{font-size:8px;margin-top:19px}.brand small{display:block;font-size:10px;color:#8ea2bc;font-weight:600;letter-spacing:.12em;text-transform:uppercase}.series{font-size:11px;color:#aabbcf;letter-spacing:.12em;font-weight:800;white-space:nowrap}.status{border:1px solid #365e55;border-radius:4px;color:#8adfc9;padding:4px 7px;margin-left:10px}.content{max-width:1560px;margin:auto;padding:34px clamp(16px,4vw,68px) 20px}.hero{max-width:950px;margin-bottom:27px}.eyebrow{color:var(--accent);font-size:11px;letter-spacing:.19em;font-weight:900;text-transform:uppercase}.hero h1{font-size:clamp(33px,4.1vw,64px);line-height:1.09;letter-spacing:-.045em;margin:15px 0}.subtitle{font-size:clamp(17px,1.65vw,23px);color:#d3e1f4;margin:0 0 6px;font-weight:580}.intro{font-size:15px;color:#aabcce;line-height:1.8;max-width:740px}.workspace{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.85fr);gap:18px;align-items:stretch}.stage,.panel{background:#121e31;border:1px solid var(--line);border-radius:16px;overflow:hidden;min-width:0}.stage{position:relative;min-height:520px;display:flex;flex-direction:column}.stageTop,.stageBottom{height:47px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;gap:12px;font-size:11px;color:#91a7c1;letter-spacing:.045em}.stageTop{background:#101a2b;border-bottom:1px solid #283a55}.stageTop strong{color:#ebf4fa;text-transform:uppercase;font-size:11px;letter-spacing:.11em}.stageBottom{border-top:1px solid #283a55;font-size:10px}.stageBottom span:first-child{color:var(--accent);font-weight:800}#world{display:block;width:100%;height:100%;min-height:425px;flex:1;touch-action:none;cursor:grab;outline-offset:-3px}#worldError{position:absolute;inset:55px 20px 70px;background:#241f2a;color:#ffbfb7;padding:25px;border-radius:10px}.panel{padding:22px 23px}.panelTop{display:flex;justify-content:space-between;gap:12px}.pulse{font-size:10px;color:var(--good);letter-spacing:.08em}.panel h2,.science h2,.worksheet h2{font-size:22px;letter-spacing:-.04em;margin:7px 0 23px}.param{margin:18px 0 23px}.param label{display:flex;justify-content:space-between;gap:14px;align-items:center;color:#c5d5e5;font-size:12px;font-weight:650}.param output{color:var(--accent);font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}.param input[type=range]{display:block;width:100%;margin:16px 0 3px;accent-color:var(--accent);cursor:pointer}.rangeEnds{display:flex;justify-content:space-between;color:#7e93ad;font-size:10px}.result{display:flex;flex-direction:column;gap:2px;padding:17px 19px;margin:20px 0;background:linear-gradient(140deg,#1f3546,#162c40);border:1px solid #3e6372;border-radius:11px}.result>span{font-size:10px;letter-spacing:.17em;color:#95bcc7;font-weight:800}.result strong{font-size:clamp(22px,2.5vw,33px);letter-spacing:-.035em;line-height:1.38;color:#f3f9ff;font-variant-numeric:tabular-nums}.result small{color:#a2bfcb;font-size:11px}.toolbar{display:flex;gap:8px;margin:9px 0}.toolbar button{flex:1}.toolbar select{min-width:0;flex:1;color:#d9e8f9;border:1px solid #475874;background:#243752;border-radius:9px;padding:8px}.toolbar.minor button{font-size:12px;padding:7px}.science{display:grid;grid-template-columns:1.25fr 1fr;gap:18px;margin:20px 0}.science>div{border:1px solid #2c3a54;background:#111c2c;border-radius:13px;padding:24px 27px}.science p{color:#afc0d1;line-height:1.7;margin:12px 0}.science h2{margin-bottom:12px}.formula{display:flex;flex-direction:column;gap:3px}.formula span{font-size:10px;letter-spacing:.14em;color:#96aabf;margin-top:11px}.formula span:first-child{margin-top:0}.formula code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.65;word-break:break-word;color:var(--accent)}.worksheet{margin-top:45px}.worksheetHeader{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:17px}.worksheetHeader p{max-width:650px;color:#9daec2;margin:0}.worksheet h2{margin:5px 0}.worksheetTools{display:flex;align-items:center;gap:16px;white-space:nowrap}.worksheetTools strong{color:var(--accent);font-variant-numeric:tabular-nums}.questions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.question{background:#121f32;border:1px solid #2d4057;border-radius:13px;padding:20px 22px;display:flex;flex-direction:column;min-width:0}.question.solved{border-color:#3e8477}.qhead{display:flex;justify-content:space-between;gap:10px;font-size:10px;letter-spacing:.12em;color:#8fa7c2;font-weight:800}.qhead em{font-style:normal;color:#94a1b5}.solved .qhead em{color:#7bdfb5}.question h3{font-size:16px;margin:11px 0 4px}.question p{color:#b9c8d8;margin:5px 0 14px;font-size:13px}.answer{margin-top:auto;margin-bottom:12px}.answer>input[type=number]{background:#0b1523;border:1px solid #415673;border-radius:7px;padding:10px;color:#f3f9ff;width:min(230px,70%)}.answer>span{font-size:12px;color:#8fb9bd;padding-left:8px}.answer fieldset{border:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:8px}.answer fieldset label{border:1px solid #344a65;border-radius:8px;padding:8px 11px;display:flex;align-items:flex-start;gap:8px;cursor:pointer;font-size:12px;line-height:1.35;color:#c7d4e3}.answer fieldset label:has(input:checked){border-color:var(--accent);background:#24334b}.answer input[type=radio]{accent-color:var(--accent)}.missionCurrent{display:block;color:var(--accent);font-variant-numeric:tabular-nums}.qactions{display:flex;gap:9px}.qactions button{font-size:12px}.qactions button:first-child{background:#3b536a;border-color:#657a91}.feedback{border-radius:8px;padding:10px 12px;margin:10px 0 0!important;font-size:12px!important}.feedback.correct{background:#173c33;color:#9dedd0}.feedback.incorrect{background:#492a30;color:#ffd4cf}.feedback.hint,.feedback.notyet{background:#28364c;color:#d9e5fa}footer{margin-top:44px;padding:25px 0;border-top:1px solid #273750;display:flex;justify-content:space-between;gap:20px;color:#8194ad;font-size:11px}.sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:1000px){.workspace{grid-template-columns:1fr}.stage{min-height:480px}.panel{display:block}.questions{grid-template-columns:1fr 1fr}}@media(max-width:700px){header.head{padding:12px 18px}.series{font-size:10px}.brand{font-size:12px}.brand small{font-size:8px}.content{padding:22px 14px}.stage{min-height:395px}.stageTop,.stageBottom{padding:0 12px}.stageTop span,.stageBottom span:last-child{display:none}#world{min-height:325px}.science{grid-template-columns:1fr}.questions{grid-template-columns:1fr}.worksheetHeader{align-items:stretch;flex-direction:column}.worksheetTools{justify-content:space-between}.answer fieldset{grid-template-columns:1fr}.question{padding:17px}.panel{padding:18px}.hero h1{font-size:34px}footer{flex-direction:column}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
