:root{color-scheme:dark;--bg:#121a20;--panel:#202a30;--panel2:#192329;--line:#45545a;--muted:#adbcc0;--white:#f5f1e7;--gold:#e1b77a;--gold2:#ffe1a4;--accent:#a9d4cf}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--white);font-family:system-ui,-apple-system,'Segoe UI',Arial,sans-serif;font-size:14px;line-height:1.46}button,input,select{font:inherit}button,select{color:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,canvas:focus-visible{outline:2px solid var(--gold2);outline-offset:3px}[hidden]{display:none!important}.mast{max-width:1800px;margin:auto;padding:25px 30px 18px;border-bottom:1px solid #344047}.eyebrow,.kicker{font-size:10px;color:var(--gold);letter-spacing:.19em;font-weight:800}.mast h1{font-size:clamp(29px,4vw,46px);letter-spacing:-.06em;line-height:1.08;font-weight:700;margin:8px 0 6px}.mast h1 span{color:#b9b6a9;font-weight:400;font-family:Georgia,serif;font-style:italic;letter-spacing:-.045em;margin-left:13px}.mast p{margin:0;color:var(--muted);font-size:12px}.workspace{max-width:1800px;margin:auto;display:grid;grid-template-columns:minmax(0,1fr) 354px;gap:0;align-items:stretch}.stage{height:min(76vh,780px);height:min(76dvh,780px);min-height:520px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 55% 30%,#b9bec0,#8b9f9e 56%,#718b91);touch-action:none}.stage canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}.stage canvas:active{cursor:grabbing}.stage-head,.stage-foot{pointer-events:none;position:absolute;z-index:3;left:20px;right:20px;display:flex;align-items:center;gap:10px;font-size:10px;font-weight:750;letter-spacing:.16em;text-shadow:0 1px 5px #0009}.stage-head{top:20px;color:#f8f6ed}.stage-foot{bottom:16px;justify-content:space-between;color:#f5eee0}.stage-foot span:last-child{font-size:9px;color:#f4f3edac}.live-dot{width:7px;height:7px;border-radius:100%;background:#e0cf9e;box-shadow:0 0 0 4px #e0cf9e35}.stage-sep{opacity:.5}.controls{background:var(--panel2);max-height:min(76vh,780px);max-height:min(76dvh,780px);min-height:520px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#66767b transparent;border-left:1px solid #45545a}.panel{padding:21px 22px;border-bottom:1px solid #3c4a4f;background:#1e292e}.panel:nth-child(2n){background:#202c32}.panel.intro{background:#26343a}.panel h2{font-size:13px;font-weight:800;margin:0;color:var(--gold);letter-spacing:.04em}.intro h2{font-size:23px;font-family:Georgia,serif;font-weight:400;letter-spacing:-.025em;color:#f5eee2;margin-top:8px}.intro p{color:#c1cbcb;font-size:12px;margin:10px 0 0}.panel-top{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:16px}.panel-top h2 span{color:#f5efe4}.tiny{font-size:10px;letter-spacing:.12em;color:#abc1bd}.panel label{display:flex;justify-content:space-between;font-size:12px;font-weight:650;margin:14px 0 8px;gap:7px}.panel output{font-variant-numeric:tabular-nums;color:var(--gold2);font-size:11px;white-space:nowrap}.panel input[type=range]{display:block;width:100%;accent-color:#d8b47c;cursor:pointer;height:15px;margin:3px 0 12px}.panel select{background:#28383d;border:1px solid #637177;border-radius:5px;width:100%;padding:8px 9px}.hint{font-size:10.5px;color:#b8c5c5;line-height:1.5;margin:10px 0 0}.metric-grid{display:grid;grid-template-columns:1fr;gap:10px}.metric{border:1px solid #47585b;border-radius:7px;padding:10px 13px;background:#192329;display:grid;grid-template-columns:1fr auto;gap:3px;align-items:center}.metric>span{font-size:11px;color:#c5d0d0}.metric strong{font-size:20px;font-weight:650;color:#ffdea5;font-variant-numeric:tabular-nums}.metric small{grid-column:1/-1;color:#a8bcb9;font-size:10px}.buttons{display:flex;gap:6px;flex-wrap:wrap}.buttons button{flex:1 1 auto;padding:9px 7px;border:1px solid #58686c;border-radius:5px;background:#2c3b40;font-size:11px;min-height:37px}.buttons button.selected{background:#aa8656;color:#101d20;font-weight:800;border-color:#d4b988}.buttons button:hover{border-color:#f1d5ac}.buttons.wider{margin-top:14px}.sequence-desc{font-size:11px;color:#b5c4c5;background:#142026;border-left:2px solid #aa8656;padding:9px;margin:9px 0 14px}.science{background:#182328!important}.science summary{cursor:pointer;color:#ffdda4;font-weight:800;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:8px}.science summary::-webkit-details-marker{display:none}.science summary:before{content:'+';font-size:18px;font-weight:400;margin-right:8px}.science[open] summary:before{content:'−'}.science .summary-hint{font-size:9px;letter-spacing:.1em;color:#9db7b3}.science-body{color:#c7d2d0;font-size:12px}.science-body h3{color:#f5e3c4;margin:22px 0 8px;font-size:12px}.science-body p{margin:8px 0}.science-body ul{padding-left:18px}.science-body li{margin:9px 0}.science a{color:#b6dfdc;overflow-wrap:anywhere}.science .disclaimer{font-weight:800;color:#f1ddbe}.page-foot{max-width:1800px;margin:auto;display:flex;justify-content:space-between;padding:16px 25px 24px;color:#81979b;font-size:10px;letter-spacing:.14em}.toast{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);background:#233338;color:#fff4da;padding:10px 18px;border:1px solid #b39a72;border-radius:6px;z-index:20;max-width:90vw;text-align:center}.hotspot{position:absolute;z-index:5;border:1px solid #fff3d8;background:#1b3439dc;color:#fff4d8;width:27px;height:27px;border-radius:50%;font-size:16px;line-height:18px;display:grid;place-items:center;box-shadow:0 2px 10px #0008}.hotspot:hover{background:#ac8956;color:#172228}.inspect{position:fixed;z-index:30;right:20px;bottom:24px;padding:22px 26px;background:#1a2b30;color:#f8f3e6;border:1px solid #c6a775;border-radius:9px;max-width:min(390px,calc(100vw - 40px));box-shadow:0 12px 45px #0009}.inspect h2{font:400 26px Georgia,serif;margin:8px 0}.inspect p{font-size:13px;color:#d9e3df}.inspect #info-close{position:absolute;top:8px;right:12px;background:transparent;border:0;font-size:25px;color:white}.load-notice{position:absolute;z-index:11;left:15%;top:42%;width:70%;padding:15px;background:#29383fe8;color:#fff;border:1px solid #f5e2bd;text-align:center}
body.embed-mode{height:100vh;height:100dvh;overflow:hidden}body.embed-mode .mast,body.embed-mode .page-foot{display:none}body.embed-mode .workspace{height:100vh;height:100dvh}body.embed-mode .stage,body.embed-mode .controls{height:100%;max-height:none;min-height:0}
@media(max-width:800px){.mast{padding:19px 17px}.mast h1 span{display:block;margin:4px 0 0}.workspace{display:flex;flex-direction:column}.stage{height:55vh;height:55dvh;min-height:320px;flex:none}.controls{max-height:none;min-height:0;overflow:visible;border-left:0}.stage-head,.stage-foot{left:12px;right:12px}.stage-foot span:last-child{font-size:8px}.page-foot{font-size:9px}.panel{padding:18px}.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.metric{display:flex;flex-direction:column;align-items:baseline;padding:8px}.metric strong{font-size:16px}.metric small{font-size:9px}.stage-head{font-size:9px}body.embed-mode .workspace{display:flex;flex-direction:column;overflow:hidden}body.embed-mode .stage{height:56dvh;min-height:0}body.embed-mode .controls{flex:1;overflow:auto;overscroll-behavior:contain}}
@media(max-width:390px){.metric strong{font-size:14px}.metric>span{font-size:10px}.page-foot span{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
