:root{color-scheme:dark;--bg:#0b1117;--surface:#131b22;--ink:#e9e9df;--muted:#9caab0;--line:#2d3a40;--accent:#e6b978;--saffron:#e3a557;--green:#92aa99;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink)}button,select,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,canvas:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}a{color:#f3c891}.app{height:100vh;height:100dvh;display:flex;flex-direction:column}.topbar{height:65px;flex:none;border-bottom:1px solid #354048;background:#0f171d;display:flex;align-items:center;justify-content:space-between;padding:0 28px;gap:12px}.brand{display:flex;align-items:center;gap:12px;font-size:13px;font-weight:800;letter-spacing:.26em}.brand small{display:block;letter-spacing:.2em;font-size:8px;color:var(--muted);font-weight:600;margin-top:4px}.mark{color:var(--accent);font-size:27px}.top-right{display:flex;align-items:center;gap:25px}.eyebrow,.scene-index,.minor,.panel-footer,.source-tag{font-size:10px;letter-spacing:.13em;font-weight:750}.eyebrow{color:#9faeb5}.accent{color:var(--accent)}.header-link{background:none;border:none;color:#b6c6ca;font-size:12px}.header-link span{color:var(--accent)}.workspace{display:flex;flex:1;min-height:0}.stage{position:relative;flex:1;min-width:0;overflow:hidden;background:radial-gradient(circle at 58% 29%,#a4b2aa,#597b8a 55%,#202e39);isolation:isolate}.stage canvas{display:block;width:100%;height:100%;outline-offset:-3px;touch-action:none;cursor:grab}.stage canvas:active{cursor:grabbing}.stage-top{position:absolute;inset:20px 22px auto;display:flex;align-items:flex-start;justify-content:space-between;pointer-events:none}.scene-index{color:#f3f4ed;background:#0e191bd1;border:1px solid #ffffff2a;border-radius:3px;padding:11px 14px;display:flex;align-items:center;gap:11px}.live-dot{width:6px;height:6px;border-radius:50%;background:#e6bd7d;box-shadow:0 0 10px #ffd28b}.quality-wrap{display:flex;align-items:center;gap:12px;pointer-events:auto}.quality-wrap>span{color:#e2e6e7;font-size:10px;letter-spacing:.13em;text-shadow:0 1px 3px #111}.quality-wrap button{background:#152127de;border:1px solid #e9ede643;border-radius:3px;color:#e9e9e0;padding:10px 13px;font-size:10px;font-weight:800;letter-spacing:.1em}.stage-bottom{position:absolute;left:22px;right:22px;bottom:20px;display:flex;align-items:end;justify-content:space-between;pointer-events:none;gap:14px}.stage-buttons{display:flex;gap:7px;pointer-events:auto}.stage-buttons button{background:#122029da;border:1px solid #d5e2da55;border-radius:3px;color:#fff;padding:12px 15px;font-size:10px;font-weight:800;letter-spacing:.09em}.stage-buttons button:hover,.quality-wrap button:hover{border-color:var(--accent)}.compass{width:43px;display:flex;align-items:center;flex-direction:column;color:#e1e6d6;gap:0;font-size:9px;letter-spacing:.13em}.compass b{font-size:25px;font-weight:300;line-height:1.1}.stage-hint{margin-bottom:14px;color:#ebeee5;font-size:9px;font-weight:700;letter-spacing:.09em;text-shadow:0 2px 3px #182022}.stage-hint i{display:inline-block;width:3px;height:3px;border-radius:50%;background:var(--accent);vertical-align:middle;margin:0 10px}.hotspots{position:absolute;inset:0;pointer-events:none}.spot{position:absolute;pointer-events:auto;transform:translate(-50%,-50%);border-radius:50%;width:30px;height:30px;background:#0b2023bf;border:1px solid #e9c48d;color:#f8dba9;box-shadow:0 0 0 6px #f5ce8e30,0 0 20px #111;display:grid;place-items:center;font-weight:bold;font-size:17px}.spot:hover,.spot.selected{background:#f0c287;color:#18212a}.sidepanel{width:356px;max-width:40%;flex:none;background:#111920;border-left:1px solid #34424a;min-height:0;position:relative}.panel-scroll{height:100%;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#4b5a61 transparent;scrollbar-width:thin}.intro{padding:31px 27px 25px;border-bottom:1px solid var(--line)}h1{font-size:35px;line-height:1.04;margin:14px 0 4px;font-weight:750;letter-spacing:-.065em}.title-dot{color:var(--accent)}.subtitle{color:var(--accent);font-size:15px;margin:8px 0 12px;font-weight:570;letter-spacing:-.02em}.intro-copy{color:#adbdc1;font-size:12px;line-height:1.72;margin:0}.facts{margin-top:24px;padding-top:18px;border-top:1px solid #314047;display:flex;justify-content:space-between;gap:8px}.facts>div{display:flex;flex-direction:column;gap:4px}.facts b{font-size:23px;font-weight:650;letter-spacing:-.055em}.facts small{font-size:9px;color:#90a4a8;font-weight:700;letter-spacing:.09em}.controls-section{padding:23px 27px;border-bottom:1px solid var(--line)}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.section-heading h2{font-size:12px;margin:0;color:#8d9ea5;font-weight:650;letter-spacing:.05em}.section-heading h2 span{color:#e6eae4;margin-left:11px;font-size:14px;letter-spacing:-.015em}.minor{color:#677f87}.minor.experiment{color:#dcb27c}.presets{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.presets button{border:1px solid #3b4c54;border-radius:3px;background:#16222a;color:#acbec2;text-align:center;padding:11px 3px;font-size:11px}.presets button:hover,.presets button.active{background:#345057;border-color:#c6ab83;color:#fff}.ghost-btn{width:100%;display:flex;justify-content:space-between;background:transparent;color:#b8cacc;border:1px solid #41535b;border-radius:3px;margin:10px 0 20px;padding:10px 11px;font-size:11px}.ghost-btn:hover{color:#fff;border-color:var(--accent)}.range-line{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:17px 0 10px}.range-line label{color:#e0e4df;font-size:12px}.range-line output{color:var(--accent);font-size:12px;font-variant-numeric:tabular-nums;font-weight:700}.range-line label small{color:#80949a}input[type=range]{width:100%;accent-color:#e4b879;cursor:pointer;height:17px}.helper{color:#99abb1;font-size:11px;line-height:1.55;margin:8px 0 0}.helper.emphasis{color:#d7c9a7;min-height:33px}.checkline{display:flex;gap:11px;align-items:center;color:#c9d4d3;font-size:12px;margin-top:16px;cursor:pointer}.checkline input{accent-color:#d6a866;width:16px;height:16px}.engineering{background:linear-gradient(180deg,#162028,#121b22)}.engineering .helper{margin-top:-7px;margin-bottom:19px}.readouts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:23px}.readouts>div{border:1px solid #30424b;background:#0c161c;padding:12px 10px;min-height:75px;display:flex;flex-direction:column;justify-content:space-between}.readouts small{font-size:9px;line-height:1.45;color:#8fa6ab;letter-spacing:.05em}.readouts b{font-size:21px;font-weight:650;letter-spacing:-.045em;font-variant-numeric:tabular-nums}.check{border-left:2px solid #8da699;background:#1a2b2c;margin-top:12px;padding:11px 12px}.check>span{display:block;font-size:9px;font-weight:bold;color:#a9d1b7;letter-spacing:.1em}.check>div{margin-top:8px;color:#b8c5c3;font-size:11px;display:flex;gap:6px;align-items:center;flex-wrap:wrap}.check b{color:#f3e7ce;font-variant-numeric:tabular-nums}.select-label{display:block;font-size:12px;margin:18px 0 10px;color:#d9e2df}select{width:100%;border:1px solid #41525b;background:#1b2a32;color:#e6efe8;padding:10px;font-size:12px;border-radius:3px}.inspection{margin:25px 26px;padding:18px;border:1px solid #4a5145;background:#272a25}.inspection h3{font-size:17px;margin:12px 0 8px}.inspection p{color:#d0d4cb;font-size:12px;line-height:1.65;margin:0 0 14px}.source-tag{color:#e6c799;border-top:1px solid #58584b;padding-top:12px;font-size:9px}.science{margin:12px 26px 26px;border:1px solid #44535a;background:#17232a}.science summary{list-style:none;padding:18px 16px;color:#f2dfb8;font-size:12px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-weight:700}.science summary::-webkit-details-marker{display:none}.science[open] .details-arrow{transform:rotate(180deg)}.science-content{padding:0 17px 18px;color:#b8c8c8;font-size:12px;line-height:1.7}.science-content h3{color:#f1efdf;font-size:13px;margin:15px 0 8px}.science-content p{margin:9px 0}.science-content ol{padding-left:18px}.science-content li{margin-bottom:9px;overflow-wrap:anywhere}.formula{background:#0a151a;padding:13px;color:#f4dfaf;line-height:1.8;font-size:11px;font-family:ui-monospace,monospace;overflow-wrap:anywhere}.disclaimer{font-style:italic;border-top:1px solid #44535a;padding-top:14px}.panel-footer{padding:16px 26px;border-top:1px solid #35454a;color:#7e979d;display:flex;justify-content:space-between;gap:12px;font-size:8px}body.embed-mode{height:100vh;height:100dvh;overflow:hidden}body.embed-mode .topbar{display:none}body.embed-mode .app{height:100vh;height:100dvh}
@media(max-width:850px){.sidepanel{max-width:none;width:320px}.topbar{height:53px;padding:0 15px}.stage-hint{display:none}.intro,.controls-section{padding-left:18px;padding-right:18px}.inspection{margin-left:18px;margin-right:18px}.science{margin-left:18px;margin-right:18px}}
@media(max-width:650px){.app{height:auto;min-height:100dvh}.topbar{height:53px}.top-right>.eyebrow{display:none}.workspace{flex-direction:column;overflow:visible}.stage{width:100%;height:57vh;height:57dvh;min-height:335px;flex:none}.sidepanel{width:100%;border-left:0;border-top:1px solid #33454b;height:auto;max-width:none}.panel-scroll{overflow:visible}.stage-top{top:13px;left:12px;right:12px}.scene-index{font-size:8px;padding:9px}.quality-wrap>span{display:none}.stage-bottom{bottom:13px;left:14px;right:14px}.stage-buttons button{padding:10px 12px}.stage-buttons span{font-size:9px}.spot{width:25px;height:25px}.intro{padding:26px 20px}.controls-section{padding:22px 20px}.presets{grid-template-columns:repeat(4,1fr)}.presets button{font-size:10px}.inspection,.science{margin-left:20px;margin-right:20px}.panel-footer{padding:15px 20px}body.embed-mode .workspace{height:100%;overflow:hidden;min-height:0}body.embed-mode .stage{flex:1;min-height:0;height:auto}body.embed-mode .sidepanel{height:min(39dvh,330px);flex:none;min-height:175px}body.embed-mode .panel-scroll{overflow-y:auto;height:100%}body.embed-mode .intro{display:none}body.embed-mode .controls-section{padding-top:14px;padding-bottom:14px}body.embed-mode .inspection,body.embed-mode .science,body.embed-mode .panel-footer{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
