.science-explorer{border:0;padding:0;margin:auto;width:min(980px,94vw);height:min(720px,88vh);border-radius:20px;background:#0c1c2c;color:#eaf3ff;box-shadow:0 30px 90px #0007;overflow:hidden;display:flex;flex-direction:column}
.science-explorer::backdrop{background:#04101cb3;backdrop-filter:blur(6px)}
.se-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 22px 12px;flex-shrink:0;background:#0c1c2c;border-bottom:1px solid #23445540}
.se-eyebrow{margin:0 0 4px;font:700 10px/1.4 var(--font-body,system-ui);letter-spacing:1.6px;color:#5ef0d0}
.se-title{margin:0;font:600 22px/1.25 var(--font-display,var(--font-body,system-ui));letter-spacing:-.3px;color:#eaf3ff}
.se-close{flex-shrink:0;width:36px;height:36px;border-radius:10px;border:1px solid #2c424f;background:transparent;color:#eaf3ff;font-size:20px;line-height:1;cursor:pointer;display:grid;place-items:center}
.se-close:hover{background:#16293a}
.se-stage{position:relative;flex:1;min-height:0;background:radial-gradient(ellipse at 50% 40%,#12485b 0%,#0d233a 55%,#081625 100%);touch-action:none;cursor:grab}
.se-stage:active{cursor:grabbing}
.se-stage canvas{display:block;width:100%;height:100%}
.se-loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:10px;font:600 13px/1.4 var(--font-body,system-ui);color:#b7d3e0;text-align:center;padding:0 30px}
.se-loading::before{content:'';width:16px;height:16px;border-radius:50%;border:2px solid #6ae3d055;border-top-color:#6ae3d0;animation:se-spin .8s linear infinite;flex-shrink:0}
.se-hint{position:absolute;left:14px;bottom:12px;font:600 10px/1.4 var(--font-body,system-ui);letter-spacing:.4px;color:#b7d3e0cc;background:#0c2436c9;border:1px solid #6ae3d033;border-radius:99px;padding:6px 12px;pointer-events:none}
.se-desc{margin:0;padding:14px 22px 20px;font:400 12.5px/1.7 var(--font-body,system-ui);color:#9caec3;max-width:70ch;flex-shrink:0;background:#0c1c2c}
.se-params{display:flex;flex-wrap:wrap;gap:18px 26px;align-items:flex-end;padding:16px 22px;background:#0a1826;border-top:1px solid #23445540;border-bottom:1px solid #23445540;flex-shrink:0}
.se-slider{display:flex;flex-direction:column;gap:8px;min-width:190px;flex:1 1 190px}
.se-slider-label{font:600 11px/1.3 var(--font-body,system-ui);color:#cfe3ee;display:flex;justify-content:space-between;gap:8px}
.se-slider-label b{color:#5ef0d0;font-weight:700;font-variant-numeric:tabular-nums}
.se-slider input[type=range]{width:100%;accent-color:#5ef0d0;height:20px;cursor:pointer}
.se-readout{margin:2px 0 0;flex-basis:100%;font:500 11.5px/1.6 var(--font-body,system-ui);color:#9fd8cd;background:#5ef0d014;border:1px solid #5ef0d02b;border-radius:10px;padding:9px 12px}
@keyframes se-spin{to{transform:rotate(360deg)}}
@media(max-width:640px){.science-explorer{width:100vw;height:100dvh;border-radius:0}.se-title{font-size:18px}.se-desc{font-size:11.5px;padding:10px 16px 16px}.se-head{padding:14px 16px 8px}.se-hint{font-size:9px;padding:5px 10px}.se-params{padding:12px 16px;gap:14px}.se-slider{min-width:140px}.se-readout{font-size:10.5px}}
@media(prefers-reduced-motion:reduce){.se-loading::before{animation:none}}
