:root{--accent:#6ee7da;--accent2:#f5cb8c;--surface:#142033;--text:#eaf4ff;--muted:#aab8c9;--line:#33445d;color-scheme:dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse 70% 30% at 22% 0,rgba(73,111,168,.16),transparent),#0a1220;color:var(--text);font-size:14px}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.33;cursor:not-allowed}.site{max-width:1560px;margin:auto;padding:22px clamp(14px,3vw,46px) 26px}.mast{margin:10px 0 25px}.eyebrow,.chapter{font-size:10px;font-weight:750;letter-spacing:.18em;color:var(--accent)}.mast-title{display:flex;justify-content:space-between;gap:30px;align-items:center}.category{display:inline-flex;margin:15px 0 10px;color:#101b2a;background:var(--accent);border-radius:100px;padding:6px 12px;font-size:11px;font-weight:800;letter-spacing:.04em}.mast h1{font-size:clamp(30px,3.4vw,56px);line-height:1.07;letter-spacing:-.047em;max-width:860px;margin:0 0 11px;font-weight:770}.lead{color:#becce0;line-height:1.65;max-width:790px;font-size:15px;margin:0}.emblem{width:120px;height:120px;flex:none;border:1px solid #344765;border-radius:28px;display:grid;place-items:center;background:radial-gradient(circle at 50% 38%,#203952,#101b2b);position:relative;overflow:hidden}.emblem:before,.emblem:after{content:"";position:absolute;width:82px;height:82px;border:1px solid var(--accent);border-radius:50%;transform:rotateX(68deg) rotate(-32deg);opacity:.6}.emblem:after{transform:rotateY(55deg) rotate(23deg)}.emblem span{font-weight:800;letter-spacing:.15em;font-size:18px}.emblem-arrow{color:var(--accent);font-size:15px}.workspace{display:grid;grid-template-columns:minmax(0,1.72fr) minmax(310px,1fr);gap:20px;align-items:start}.stage-panel,.lab-controls,.challenges{border:1px solid var(--line);background:linear-gradient(180deg,rgba(24,38,59,.95),rgba(12,22,36,.96));border-radius:18px;overflow:hidden;box-shadow:0 12px 45px rgba(0,0,0,.12)}.stage-top{height:49px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #273950;color:#93a5bd;letter-spacing:.065em;font-size:10px;font-weight:720}.live{color:#e7f6ff}.live-light{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--accent);margin-right:7px;box-shadow:0 0 11px var(--accent)}.scene-shell{position:relative;width:100%;height:clamp(350px,39vw,650px);min-height:350px;background:radial-gradient(ellipse at 60% 50%,#233750 2%,#0a1425 72%)}.scene-shell:fullscreen{height:100vh}.scene-shell canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}.scene-overlay{position:absolute;bottom:16px;left:18px;border-radius:8px;padding:9px 12px;background:rgba(9,20,36,.75);color:#c1d4e8;font-size:9px;letter-spacing:.09em;pointer-events:none;backdrop-filter:blur(10px)}.scene-overlay-bullet{color:var(--accent2);padding-right:5px}.bar{padding:0 10px;color:#516580}#webglError:not([hidden]){position:absolute;inset:16px;display:grid;place-items:center;background:#18263be8;padding:40px;text-align:center;color:#ffcaa7;z-index:8}.stage-foot{min-height:65px;display:flex;gap:14px;align-items:center;justify-content:space-between;padding:12px 17px;background:#101c2d;border-top:1px solid #273950}.stage-foot p{color:#b0bfd4;font-size:11px;line-height:1.5;margin:0;max-width:55%}.stage-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:end}.stage-actions button,.timeline button,.challenge-actions button,.quiz-footer button{border:1px solid #40516a;border-radius:8px;color:#d9e6f3;background:#1b2b40;padding:9px 11px;font-weight:670;font-size:11px}.stage-actions button:hover,.timeline button:hover,.challenge-actions button:hover,.quiz-footer button:hover{background:#2b405b}.timeline{display:flex;align-items:center;gap:8px;padding:15px 18px;border-top:1px solid #23344c;flex-wrap:wrap}.timeline label{margin-left:auto;font-size:11px;color:#9cacc1}.timeline label strong{color:var(--accent);padding-left:5px}.timeline input{max-width:90px}.readouts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0 17px 17px}.readout{background:#0c1a2b;border:1px solid #2c405b;border-radius:11px;padding:16px 14px;min-width:0}.readout>span{font-size:11px;color:#9caec4;display:block;min-height:2.7em}.readout>div{margin-top:6px;display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}.readout strong{font-size:clamp(18px,2.1vw,30px);letter-spacing:-.03em;color:var(--accent);font-variant-numeric:tabular-nums}.readout small{font-size:10px;color:#b6c1d0}.lab-controls .aside-head{padding:21px 22px 15px;border-bottom:1px solid #31445d}.aside-head h2,.science h2{font-size:22px;letter-spacing:-.025em;margin:10px 0 5px}.aside-head p{margin:0;color:#9faec4;font-size:12px;line-height:1.6}#parameters{padding:6px 20px 17px}.parameter{padding:18px 2px 14px;border-bottom:1px solid #293a52}.parameter:last-child{border:0}.param-top{display:flex;align-items:baseline;gap:8px;justify-content:space-between}.param-top label{color:#dbe6f6;font-weight:680;font-size:12px}.param-top output{color:var(--accent);font-size:12px;font-variant-numeric:tabular-nums;font-weight:800;text-align:right}.parameter input[type=range],.timeline input[type=range]{width:100%;appearance:none;height:5px;border-radius:12px;background:linear-gradient(90deg,#446e8d,#729bba);margin:18px 0 8px;cursor:pointer}.parameter input[type=range]::-webkit-slider-thumb,.timeline input[type=range]::-webkit-slider-thumb{appearance:none;background:var(--accent);border:3px solid #102037;width:20px;height:20px;box-shadow:0 0 0 2px var(--accent);border-radius:50%}.param-ends{display:flex;justify-content:space-between;color:#677b95;font-size:10px}.science{background:#0b192a;padding:22px;border-top:1px solid #334761}.science p{line-height:1.85;color:#b2c1d3;margin:10px 0 14px;font-size:12px}.science-mark{color:#d6c59b;font-size:9px;letter-spacing:.12em;border-top:1px solid #293a4d;padding-top:16px}.challenges{margin-top:20px}.challenge-heading{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:24px 30px;border-bottom:1px solid #2b3e58}.challenge-heading h2{font-size:27px;letter-spacing:-.03em;margin:10px 0 4px}.challenge-heading p{margin:0;color:#a6b4c9;font-size:12px;line-height:1.6}.score{flex:none;background:#1d3445;color:var(--accent);border:1px solid #416070;padding:12px 16px;border-radius:13px;font-weight:800}.challenge-body{padding:25px 30px}.exercise-nav{display:grid;grid-template-columns:repeat(10,1fr);gap:8px}.exercise-nav button{min-height:40px;border:1px solid #38506b;border-radius:9px;background:#16263b;color:#a4b4c7;font-weight:800}.exercise-nav button.selected{border-color:var(--accent);color:#0b1729;background:var(--accent)}.exercise-nav button.solved:not(.selected){border-color:#3b887e;color:#b5ffd5}.challenge-main{max-width:900px;margin:28px auto 15px}.question-no{color:var(--accent);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.16em}.challenge-main h3{font-size:clamp(16px,1.65vw,21px);line-height:1.5;font-weight:670;margin:12px 0 22px}.answer-area{min-height:60px}.answer-label{display:flex;gap:12px;align-items:center;color:#b4c4d8;margin-bottom:10px}.answer-label span{color:var(--accent)}.answer-area input[type=number]{max-width:380px;width:100%;background:#0e1d31;border:1px solid #46617e;border-radius:8px;color:#eaf7ff;padding:14px 16px;outline:none;font-size:17px}.answer-area input:focus{border-color:var(--accent)}.option{display:flex;align-items:center;gap:10px;margin:8px 0;padding:13px 15px;background:#102137;border:1px solid #314762;border-radius:9px;cursor:pointer}.option input{accent-color:var(--accent);width:16px;height:16px}.option:hover{border-color:#7a9db3}.challenge-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}.challenge-actions .primary{background:var(--accent);color:#0b1b28;border-color:var(--accent);font-size:12px;padding:11px 22px}.challenge-actions .primary:hover{filter:brightness(1.09);background:var(--accent)}.feedback{font-weight:720;font-size:12px;margin:15px 0}.feedback.correct{color:#8fffc8}.feedback.incorrect{color:#ffc49c}.hint,.explanation{background:#172e44;border-left:3px solid var(--accent2);padding:15px 17px;color:#bed3df;border-radius:0 8px 8px 0;line-height:1.65;font-size:12px}.explanation{border-color:var(--accent)}.quiz-footer{border-top:1px solid #2f4058;display:flex;justify-content:space-between;gap:12px;padding-top:20px;margin-top:18px}.quiz-footer>div{display:flex;gap:8px}footer{display:flex;justify-content:space-between;gap:15px;color:#667b96;font-size:10px;padding:24px 2px;line-height:1.6}@media(max-width:1050px){.workspace{grid-template-columns:1fr}.scene-shell{height:clamp(360px,62vw,570px)}.lab-controls{display:grid;grid-template-columns:1fr 1fr}.lab-controls .aside-head{grid-column:1/-1}.science{border-left:1px solid #2a3f57;border-top:0}.stage-foot p{max-width:60%}}@media(max-width:650px){.site{padding:15px 10px}.mast{margin:8px 5px 18px}.emblem{display:none}.mast h1{font-size:33px}.scene-shell{height:380px;min-height:330px}.stage-top{padding:0 12px}.scene-overlay{font-size:8px;left:10px;bottom:9px;max-width:calc(100% - 20px)}.stage-foot{flex-direction:column;align-items:stretch;gap:11px}.stage-foot p{max-width:100%}.stage-actions{justify-content:start}.timeline label{margin-left:0}.readouts{gap:6px;padding:0 9px 12px}.readout{padding:12px 8px}.readout strong{font-size:19px}.readout>span{font-size:10px;min-height:4em}.lab-controls{grid-template-columns:1fr}.science{border-top:1px solid #2f4159;border-left:0}.challenge-heading{padding:20px 16px;align-items:start;flex-direction:column;gap:12px}.challenge-body{padding:17px 13px}.exercise-nav{gap:4px;grid-template-columns:repeat(5,1fr)}.exercise-nav button{min-height:36px}.quiz-footer{flex-direction:column}.quiz-footer>button{align-self:start}.challenge-main{margin:22px 2px 14px}footer{flex-direction:column}.timeline{padding:12px}}

.validity{color:#f2d0a1!important;border:1px solid #6f5643;border-radius:8px;padding:11px 13px;background:#31261f;white-space:normal}.validity:empty{display:none}
