*{box-sizing:border-box}html{background:#0b1420;color:#edf5fa;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}body{margin:0;min-width:0}header,main,.science,footer{max-width:1440px;margin:auto}header{padding:32px 32px 24px}h1{font-size:clamp(30px,3.5vw,52px);line-height:1.08;letter-spacing:-.045em;margin:10px 0}h1 span{display:block;color:#64d6dc}.eyebrow{font-size:11px;letter-spacing:.16em;font-weight:800;color:#64d6dc}header p{color:#a6b9c8;margin:12px 0 0}main{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(320px,1fr);gap:16px;padding:0 32px 24px}.stage-wrap,.panel,.science{background:#111e2b;border:1px solid #2b4050;border-radius:16px;overflow:hidden}.stage-top{display:flex;justify-content:space-between;padding:18px 20px;font-size:11px;letter-spacing:.12em}#status{color:#64d6dc}.stage{position:relative;width:100%;height:clamp(350px,45vw,600px);background:radial-gradient(ellipse at 50% 25%,#203647,#0b1825 72%);overflow:hidden}.stage canvas{width:100%;height:100%;display:block;touch-action:none}.stage-legend{position:absolute;bottom:12px;left:16px;display:flex;gap:18px;font-size:11px;color:#b6cbd5;pointer-events:none}.swatch{display:inline-block;width:12px;height:3px;vertical-align:middle;margin-right:5px}.water{background:#64d6dc}.datum{background:#b4c7d4}.caption{min-height:50px;padding:16px 20px;margin:0;color:#c4d6de;line-height:1.5}.transport{display:flex;flex-wrap:wrap;gap:8px;padding:0 16px 16px}button,select{font:inherit;border:1px solid #355164;background:#1b3040;color:#eef8fb;padding:10px 13px;border-radius:9px;cursor:pointer}button:hover,button:focus-visible{border-color:#64d6dc}button:focus-visible,input:focus-visible{outline:2px solid #64d6dc;outline-offset:2px}.transport button:first-child,#experiment{background:#17535c;border-color:#31838b}.quality{margin-left:auto;display:flex;gap:8px;align-items:center;font-size:12px;color:#a6b9c8}.sidebar{display:flex;flex-direction:column;gap:16px;min-width:0}.panel{padding:20px}h2{font-size:17px;letter-spacing:-.02em;margin:0 0 18px}h3{font-size:13px;margin:22px 0 10px}.metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px}.metrics>div{padding:14px 12px;background:#192a38;border:1px solid #2c4353;border-radius:10px}.metrics small{display:block;color:#9fb4c2;font-size:10px;line-height:1.4;letter-spacing:.04em}.metrics strong{display:block;font-size:clamp(18px,2vw,25px);margin-top:8px;font-variant-numeric:tabular-nums;white-space:nowrap}.control{margin:14px 0 20px}.control label{display:flex;justify-content:space-between;gap:8px;font-size:13px;color:#d7e7ed}.control output{font-weight:700;color:#64d6dc;white-space:nowrap}.control input{width:100%;margin:12px 0 0;accent-color:#64d6dc;cursor:pointer}.presets{display:grid;grid-template-columns:1fr 1fr;gap:8px}.presets button{font-size:12px;padding:10px 8px}.presets button.active{border-color:#64d6dc;background:#1b5057}.checks>div{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #2b4050;padding:12px 0;font-size:12px}.checks b{color:#64d6dc;font-variant-numeric:tabular-nums;white-space:nowrap}.muted{font-size:11px;line-height:1.5;color:#9fb4c2}.experiment-result{font-size:12px;line-height:1.5;background:#192a38;padding:12px;border-radius:8px;color:#d2e4e9}.science{margin:0 auto 20px;max-width:1376px}.science summary{padding:20px;cursor:pointer;font-weight:700}.science summary span{font-weight:400;color:#a6b9c8;margin-left:12px;font-size:12px}.science>div{padding:0 20px 20px;color:#c4d6de;line-height:1.7;max-width:1000px}.science strong{color:#eef8fb}footer{color:#829baa;padding:0 32px 30px;font-size:12px}body.embed-mode{height:100vh;height:100dvh;overflow:hidden;display:flex;flex-direction:column}body.embed-mode header,body.embed-mode footer,body.embed-mode .science{display:none}body.embed-mode main{flex:1;min-height:0;width:100%;max-width:none;padding:8px;overflow:auto}body.embed-mode .stage-wrap{display:flex;flex-direction:column;min-height:0}body.embed-mode .stage{flex:1;min-height:220px;height:auto}body.embed-mode .sidebar{overflow:auto}body.embed-mode .caption{min-height:0;padding:8px 16px;font-size:12px}body.embed-mode .transport{padding:0 12px 12px}@media(max-width:850px){main{grid-template-columns:1fr;padding:0 12px 16px}header{padding:24px 16px}.stage{height:410px}.panel{padding:16px}.science{margin:0 12px 16px}body.embed-mode main{display:flex;flex-direction:column;overflow:auto}body.embed-mode .stage-wrap{flex:0 0 auto}body.embed-mode .stage{height:38vh;min-height:230px;flex:auto}body.embed-mode .sidebar{overflow:visible}footer{padding:0 16px 20px}}@media(max-width:420px){.stage{height:360px}.transport{gap:6px}.transport button{padding:9px 10px;font-size:12px}.quality{margin-left:0}.stage-legend{font-size:10px}.metrics strong{font-size:19px}}