:root{color-scheme:dark;--bg:#0c1c23;--panel:#15272f;--panel2:#1a303a;--stroke:#34505b;--text:#e8eee9;--muted:#acbec0;--gold:#f6d095;--cyan:#7ed9ca;--paper:#f5ead5;font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text)}body{font-size:14px}button,input,select{font:inherit}button{cursor:pointer;border:1px solid var(--stroke);color:var(--text);background:#203840;border-radius:6px;padding:9px 12px;transition:background .18s ease,border-color .18s}button:hover,button:focus-visible{background:#2c4b53;border-color:#a7d4cd}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,a:focus-visible{outline:2px solid var(--gold);outline-offset:3px}button.is-active{background:#335a58;border-color:#79bcb0;color:#fff}a{color:#a6e2d6;text-underline-offset:3px}a:hover{color:white}.shell{min-height:100dvh;display:flex;flex-direction:column}.masthead{min-height:77px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 24px;background:#11252d;border-bottom:1px solid #2d4046}.identity{display:flex;align-items:center;gap:13px}.identity>span:last-child{display:flex;flex-direction:column;gap:3px}.identity small,.eyebrow{font-size:10px;letter-spacing:.17em;font-weight:800;color:var(--gold)}.identity strong{font-family:Georgia,serif;font-weight:500;font-size:25px;color:#f6f2e9;letter-spacing:-.025em}.identity strong i{font-style:normal;color:var(--gold)}.monogram{width:44px;height:44px;display:grid;place-items:center;border:1px solid #8f836a;border-radius:100%;font:40px Georgia;color:#f1d0a0;line-height:1}.header-side{display:flex;gap:15px;font-size:10px;font-weight:800;letter-spacing:.13em;color:#b3c4c4}.epoch{color:#e9c89d}.workbench{display:grid;grid-template-columns:minmax(220px,278px) minmax(330px,1fr) minmax(280px,325px);grid-template-areas:'controls stage insight';flex:1;min-height:calc(100dvh - 77px)}.controls{grid-area:controls}.insight{grid-area:insight}.controls,.insight{overflow-y:auto;max-height:calc(100dvh - 77px);background:var(--panel);scrollbar-color:#55716e transparent;scrollbar-width:thin}.controls{border-right:1px solid #36515a}.insight{border-left:1px solid #36515a}.stage{grid-area:stage;position:relative;overflow:hidden;min-height:440px;background:radial-gradient(ellipse at 50% 40%,#54818a 0%,#38535c 48%,#162c36 100%)}#scene{display:block;width:100%;height:100%;touch-action:none}.stage-top,.stage-bottom{position:absolute;left:17px;right:17px;display:flex;align-items:center;justify-content:space-between;gap:10px;pointer-events:none;z-index:2}.stage-top{top:16px}.stage-bottom{bottom:16px}.stage-label{display:flex;align-items:center;gap:9px;border:1px solid #45676c;background:#0d2732b8;backdrop-filter:blur(10px);border-radius:5px;padding:9px 10px;color:#e8eee8;font-size:10px;font-weight:800;letter-spacing:.11em}.beacon{width:6px;height:6px;border-radius:50%;background:#87e1c5;box-shadow:0 0 12px #85e4ca}.stage-actions{display:flex;gap:6px;pointer-events:auto}.stage-actions button{font-size:11px;padding:8px 10px;background:#0f2934c4;border-color:#628080;backdrop-filter:blur(10px)}.stage-bottom{font-size:9px;letter-spacing:.08em;color:#eef1ed}.legend{padding:7px 9px;background:#14323b9c;border-radius:4px}.legend-dot{display:inline-block;margin-left:10px;margin-right:3px;width:6px;height:6px;border-radius:50%}.legend-dot:first-child{margin-left:0}.documented{background:#9be0c0}.reconstructed{background:#ebcb87}.illustrative{background:#abb6e4}.view-hint{background:#17313aaf;padding:8px 9px;border-radius:4px}.hotspot-pop{position:absolute;left:17px;bottom:57px;max-width:min(360px,calc(100% - 34px));padding:15px 38px 14px 16px;background:#112d37f0;border:1px solid #a4b3a1;border-radius:9px;z-index:5;box-shadow:0 20px 45px #02151ea8}.hotspot-pop strong{font-family:Georgia,serif;font-size:20px;color:#f9e5c0}.hotspot-pop p{line-height:1.55;color:#e5f0e9}.hotspot-pop small{color:#b6d8ca;letter-spacing:.06em;text-transform:uppercase}.close-pop{position:absolute;right:8px;top:8px;background:transparent;border:0;font-size:23px;padding:0 8px}.webgl-message{position:absolute;top:69px;left:16px;right:16px;padding:10px 14px;background:#102931dd;border:1px solid #d1b888;border-radius:6px;z-index:4;color:#fff}.panel-heading{padding:25px 21px 18px;border-bottom:1px solid var(--stroke)}.panel-heading strong{font:26px/1.07 Georgia,serif;display:block;color:#f3ebdd;margin-top:13px}.panel-heading p{color:#b6c7c8;line-height:1.55;margin:11px 0 0}.panel-heading.compact strong{font-size:25px}.control-section{padding:16px 21px 19px;border-bottom:1px solid #304952}.control-section h2{font-size:10px;letter-spacing:.16em;color:#a7d1c9;font-weight:800;margin:0 0 16px}.control-section h2 span{font-size:12px;letter-spacing:.03em;color:#e9ece7;margin-left:7px}.button-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.button-grid button,.quality button{font-size:12px;padding:10px 5px}.control-section label,.experiment label{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#e1e8e4;font-size:12px;margin-top:14px}.control-section label:first-of-type,.experiment label:first-child{margin-top:0}output{color:var(--gold);font-size:11px;font-weight:700;white-space:nowrap}input[type=range]{width:100%;height:20px;margin:10px 0 4px;accent-color:#a5dcbe;cursor:pointer}.mini{font-size:11px;line-height:1.5;margin:0 0 7px;color:#adc1c3}.two-select{display:flex;gap:10px;margin-top:16px}.two-select label{flex:1;display:flex;flex-direction:column;align-items:stretch;gap:7px;margin:0}.two-select select{width:100%;min-width:0;padding:8px 4px;border-radius:5px;border:1px solid #4c6870;background:#1c353e;color:#fff}.quality{display:grid;grid-template-columns:1fr 1fr;gap:8px}.inspection-list{display:grid;gap:6px}.inspection-list button{text-align:left;padding:9px 11px;font-size:12px}.experiment{padding:19px 21px}.metrics{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:16px 0 13px}.metrics>div{padding:14px 11px;border:1px solid #436168;background:linear-gradient(145deg,#203c44,#192e37);border-radius:6px;min-width:0}.metrics span{display:block;min-height:29px;font-size:10px;color:#b8c9c8;line-height:1.25}.metrics strong{display:block;margin:8px 0 3px;font-size:21px;letter-spacing:-.04em;color:#f8e6c7;white-space:nowrap}.metrics small{font-size:10px;color:#92aeae}.verify{border-top:1px solid var(--stroke);padding-top:13px;display:grid;gap:9px}.verify div{display:flex;justify-content:space-between;gap:5px;font-size:10px;color:#b0c5c2}.verify b{color:#a6e5ce;white-space:nowrap}.science{margin:0 20px 24px;border:1px solid #46636a;border-radius:7px;background:#1b323a}.science summary{cursor:pointer;font-weight:750;color:#f5ead5;padding:13px 12px}.science-body{padding:0 14px 12px;max-height:55vh;overflow:auto}.science-body h3{color:#f1d4a5;font-size:13px;margin:18px 0 7px}.science-body p,.science-body li{color:#c2d1cc;font-size:11px;line-height:1.6}.science-body ul{padding-left:17px}.science-body li{margin-bottom:7px}.formula{font-family:ui-monospace,Consolas,monospace;background:#10252b;padding:11px;border-left:2px solid #84c6b2;font-size:13px;line-height:1.7;color:#dbefd9}.science-body .disclaimer{padding:11px;border:1px solid #57736a;border-radius:4px;color:#f6e7c3}.keyboard-tip{font-size:10px;color:#a9c0c0;padding:0 20px 30px;line-height:1.5}.embed-mode{height:100vh;height:100dvh;overflow:hidden}.embed-mode .masthead{display:none}.embed-mode .workbench{min-height:100dvh}.embed-mode .controls,.embed-mode .insight{max-height:100dvh}@media(max-width:1100px){.workbench{grid-template-columns:250px minmax(300px,1fr);grid-template-areas:'controls stage' 'insight insight'}.insight{max-height:none;border-left:0;border-top:1px solid #48616a;display:grid;grid-template-columns:1fr 1fr;align-content:start}.insight .panel-heading,.insight .experiment{grid-column:1}.insight .science,.insight .keyboard-tip{grid-column:2}.insight .science{grid-row:1 / span 2;margin:20px}.stage{min-height:calc(100dvh - 77px)}.controls{max-height:calc(100dvh - 77px)}}@media(max-width:680px){.masthead{min-height:63px;padding:8px 13px}.monogram{height:34px;width:34px;font-size:28px}.identity small{font-size:8px;letter-spacing:.08em}.identity strong{font-size:19px}.header-side{display:none}.workbench{display:flex;flex-direction:column;min-height:0}.stage{order:0;min-height:0;height:51dvh;flex:none}.controls{order:1;max-height:none;overflow:visible;border-right:0}.insight{order:2;display:block;max-height:none}.stage-top,.stage-bottom{left:9px;right:9px}.stage-top{top:9px}.stage-bottom{bottom:9px}.stage-label{font-size:8px;padding:8px;letter-spacing:.05em}.stage-actions button{font-size:10px;padding:7px}.view-hint{display:none}.legend{font-size:8px}.panel-heading{padding:16px 17px 13px}.panel-heading strong{margin-top:8px;font-size:22px}.panel-heading p{font-size:12px}.control-section{padding:14px 17px}.science{margin:15px}.science-body{max-height:none}.keyboard-tip{padding:6px 18px 20px}.metrics strong{font-size:23px}.embed-mode .workbench{height:100dvh;min-height:100dvh;overflow:hidden}.embed-mode .stage{height:54dvh;flex:none}.embed-mode .controls{height:46dvh;overflow-y:auto;overscroll-behavior:contain}.embed-mode .insight{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition-duration:0.01ms!important;animation-duration:0.01ms!important;scroll-behavior:auto!important}}

@media(max-width:680px){.controls>.hotspot-pop{position:relative;left:auto;bottom:auto;max-width:none;margin:12px 15px;box-shadow:none}}
