:root{font-family:system-ui,-apple-system,'Segoe UI',sans-serif;background:#10191b;color:#eae6d9;font-synthesis:none}*{box-sizing:border-box}body{margin:0}.app-shell{min-height:100dvh;display:flex;flex-direction:column}.site-head{display:flex;align-items:baseline;gap:16px;padding:13px 24px;border-bottom:1px solid #34413f;background:#172222}.site-head strong{font-family:Georgia,serif;font-size:19px;font-weight:500}.head-note{font-size:12px;color:#acb8b4}.kicker{font-size:10px;font-weight:700;letter-spacing:.18em;color:#d0a671}.workspace{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(320px,.8fr);flex:1;min-height:0}.viewport{display:flex;flex-direction:column;min-width:0;background:#151d20}.stage{position:relative;flex:1;min-height:400px;overflow:hidden;background:radial-gradient(ellipse at 50% 40%,#afbdc0,#4a6165 80%)}canvas{display:block;position:absolute;inset:0;width:100%;height:100%;touch-action:none;outline-offset:-3px}canvas:focus-visible{outline:2px solid #e0b378}.stage-top,.stage-bottom{position:absolute;left:18px;right:18px;pointer-events:none;display:flex;gap:6px}.stage-top{top:17px}.stage-bottom{bottom:25px;flex-direction:column;text-shadow:0 1px 10px #000c;max-width:65%}.chip{font-size:10px;letter-spacing:.12em;font-weight:700;border:1px solid #ffffff5e;background:#152523a3;color:#fff5e2;border-radius:50px;padding:8px 11px}.chip.muted{border-color:#fff4;margin-left:auto}.stage-title{font:clamp(18px,2.3vw,31px) Georgia,serif;color:#fffdf5}.stage-subtitle{font-size:12px;color:#e0e6e0}.stage-help{position:absolute;left:50%;top:70px;transform:translateX(-50%);color:#f6e4c0;pointer-events:none;text-align:center;font-size:12px;text-shadow:0 1px 6px black;max-width:80%}.stage-actions{display:flex;gap:5px;padding:10px 16px;align-items:center;flex-wrap:wrap;background:#1b2928;border-top:1px solid #4b5149}.stage-actions .grow{flex:1}button{font:inherit;cursor:pointer;border:1px solid #61716b;color:#e8eee6;background:#2a3734;border-radius:7px;padding:8px 12px;min-height:36px;font-size:12px}button:hover,button:focus-visible{border-color:#e9bf86;background:#354940;outline:none}button:active{transform:translateY(1px)}.inspector{overflow:auto;background:#1f2928;border-left:1px solid #536057;max-height:calc(100dvh - 87px)}.inspector-head{display:flex;justify-content:space-between;align-items:center;padding:25px 22px 18px;border-bottom:1px solid #46514c}.inspector-head h1{margin:8px 0 0;font:22px Georgia,serif}.period{font-size:21px;color:#c7a571}.period small{font-size:11px}.control-block{padding:17px 22px 19px;border-bottom:1px solid #3c4641}.control-block h2,.science h2{margin:0 0 12px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#e2c194}.control-block p,.science p,.science li{font-size:12px;line-height:1.58;color:#c5d2c9;margin:0 0 12px}.slider-line{display:flex;justify-content:space-between;margin:15px 0 7px;gap:12px;font-size:12px}.slider-line output{color:#edcf9c;font-variant-numeric:tabular-nums}input[type=range]{width:100%;accent-color:#d5ac72;cursor:pointer}select{width:100%;background:#172222;color:#fff;border:1px solid #66746a;border-radius:5px;padding:9px;font-size:12px}.select-label{display:block;font-size:12px;margin:13px 0 8px}.readouts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:17px}.readouts>div{border:1px solid #4e6057;border-radius:7px;background:#172422;padding:9px 7px}.readouts small{display:block;font-size:10px;color:#acbcb3}.readouts strong{display:block;font-size:16px;margin-top:6px;color:#ffe1ae;font-weight:550;font-variant-numeric:tabular-nums;white-space:nowrap}.verification{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:11px;font-size:11px;color:#b5c9bf}.switch-line{display:flex;gap:9px;align-items:center;margin-top:17px;font-size:12px}.switch-line input{accent-color:#e4b47d}.explain{border-left:2px solid #d5ac72;padding:9px 12px;margin-top:13px;background:#293a33;color:#cbd7cb;font-size:12px;line-height:1.5}.button-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.short-tip{margin-top:12px!important}.hotspot-list{display:grid;grid-template-columns:1fr 1fr;gap:6px}.hotspot-list button{text-align:left;display:flex;align-items:center;gap:7px;font-size:11px}.hotspot-list b{color:#efc790;font-size:10px}.evidence{margin-top:12px;padding:12px;background:#152220;border:1px solid #43564f;border-radius:7px}.evidence strong{font:16px Georgia,serif}.evidence p{margin:8px 0 4px}.evidence small{font-size:10px;color:#ddb47e;letter-spacing:.05em}.science{border-top:1px solid #576057;margin:12px 22px 20px;padding:12px 0}.science summary{cursor:pointer;font-size:12px;color:#f4d4a3;font-weight:600}.science-body{padding:15px 0}.science a{color:#e7c08c;overflow-wrap:anywhere}.science h2{margin-top:15px}.notice{padding:11px;border-left:2px solid #d8b07c;background:#26362e}.footer{background:#172120;color:#99aa9f;font-size:10px;padding:8px 23px;border-top:1px solid #35463e}body.embed-mode{height:100vh;height:100dvh;overflow:hidden}body.embed-mode .app-shell{height:100dvh;min-height:0}body.embed-mode .site-head,body.embed-mode .footer{display:none}body.embed-mode .inspector{max-height:100dvh}body.embed-mode .stage{min-height:0}@media(max-width:790px){.site-head{gap:8px;padding:9px 13px}.site-head strong{font-size:15px}.head-note{margin-left:auto;font-size:10px}.workspace{grid-template-columns:1fr;grid-template-rows:minmax(330px,49dvh) auto}.viewport{height:100%;min-height:0}.stage{min-height:0;flex:1}.stage-top{left:11px;right:11px;top:11px}.stage-bottom{left:12px;bottom:15px;max-width:75%}.stage-title{font-size:18px}.stage-subtitle{font-size:10px}.stage-actions{padding:6px 8px;gap:4px}.stage-actions button{font-size:11px;padding:6px 8px;min-height:32px}.inspector{max-height:none;border-left:0}.inspector-head{padding:18px 17px}.control-block{padding:15px 17px}.footer{display:none}body.embed-mode .workspace{height:100dvh;grid-template-rows:52dvh minmax(0,48dvh)}body.embed-mode .inspector{height:100%;overflow:auto}body.embed-mode .stage{height:100%}}@media(max-width:420px){.site-head .head-note{display:none}.readouts strong{font-size:13px}.inspector-head h1{font-size:20px}.hotspot-list{grid-template-columns:1fr 1fr}.chip{padding:6px 8px;font-size:9px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
