:root{color-scheme:dark;--bg:#070c19;--panel:#0e1729;--border:rgba(158,196,255,.13);--ink:#edf4ff;--muted:#92a3c1;--a:#5ce5df;--b:#a784ff;--warm:#f9ae72}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:radial-gradient(ellipse 900px 600px at 11% -3%,#172a51 0,transparent 70%),radial-gradient(ellipse 750px 580px at 100% 60%,#1a153a 0,transparent 72%),#070c19;color:var(--ink);font:400 15px/1.55 Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}.shell{max-width:1650px;padding:30px clamp(16px,3.5vw,54px) 62px;margin:auto}.top{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px}.logo{display:flex;align-items:center;gap:12px;font-weight:850;font-size:16px;letter-spacing:.035em}.mark{height:34px;width:34px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(135deg,#78eddd,#8a6aff);box-shadow:0 6px 25px #69cbff45;color:#09101e;font-size:20px}.back{font-size:13px;border:1px solid var(--border);padding:10px 15px;border-radius:10px;color:#bdcce6;transition:.2s}.back:hover{border-color:#78eddd;color:white;background:#ffffff08}.eyebrow{color:#80dbeb;font-size:11px;letter-spacing:.2em;font-weight:850;text-transform:uppercase;display:flex;align-items:center;gap:9px}.eyebrow:before{content:'';height:7px;width:7px;background:#65e4c8;border-radius:50%;box-shadow:0 0 14px #65e4c8}.hero{max-width:1000px;margin-bottom:28px}h1{font-size:clamp(30px,3.5vw,56px);letter-spacing:-.045em;line-height:1.09;margin:14px 0 12px;font-weight:830}h1 em{font-style:normal;background:linear-gradient(120deg,#6ae6d7,#7faaff,#d89dff);background-clip:text;-webkit-background-clip:text;color:transparent}.lead{font-size:15px;color:#a3b2ce;max-width:850px;line-height:1.6;margin:0}.workbench{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px;align-items:start}.scene-col{min-width:0}.scene-wrap{position:relative;border:1px solid #46628c57;border-radius:20px;overflow:hidden;background:#080f21;box-shadow:0 18px 80px #01040d8c,inset 0 1px #ffffff10}.scene-wrap:before{content:'';pointer-events:none;position:absolute;inset:0;background:linear-gradient(to bottom,#ffffff06,transparent 22%);z-index:2}.canvas{display:block;width:100%;height:clamp(410px,51vw,635px);touch-action:pan-y;cursor:crosshair}.hud{pointer-events:none;position:absolute;inset:0;z-index:3;display:flex;align-items:flex-start;justify-content:space-between;padding:17px;gap:10px}.hud-left,.hud-right{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.chip{font-size:10px;letter-spacing:.10em;color:#bfd4ed;font-weight:700;padding:6px 10px;border:1px solid #b3d7ff28;border-radius:8px;background:#080f20a6;backdrop-filter:blur(8px)}.chip.live{color:#81f0d7}.pulse{display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;box-shadow:0 0 9px currentColor;margin-right:6px}.below{display:flex;flex-wrap:wrap;gap:13px;align-items:center;justify-content:space-between;margin:15px 1px 23px}.buttonset{display:flex;gap:8px}.action{background:#17223b;color:#e5f4ff;border:1px solid #83a5d02a;border-radius:11px;padding:11px 16px;display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:720;transition:.2s}.action:hover{background:#22375a;border-color:#6eabff66;transform:translateY(-1px)}.action.primary{background:linear-gradient(120deg,#55e0cc,#6b9dfa);border-color:transparent;color:#081b2e;box-shadow:0 6px 20px #60b8ff22}.action:disabled{opacity:.46;cursor:default;transform:none}.hint{color:#8194b4;font-size:12px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.stat{background:linear-gradient(145deg,#121e34c9,#0c1628e9);border:1px solid var(--border);padding:14px;border-radius:13px;min-width:0}.stat small{display:block;color:#94a8c7;font-size:11px;margin-bottom:6px}.stat b{font-size:clamp(14px,1.7vw,20px);color:#e8f6ff;display:block;font-weight:760;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}.sidebar{border:1px solid var(--border);background:linear-gradient(160deg,#132139df,#0b1426ed);box-shadow:0 15px 50px #01061457;border-radius:19px;padding:21px;min-height:470px}.section-title{margin:0 0 4px;font-size:17px;font-weight:790;letter-spacing:-.025em}.section-caption{font-size:12px;color:#91a6c6;margin:0 0 19px}.control{margin-bottom:19px}.control-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.control label{color:#cddcf0;font-size:12px;font-weight:690}.value{border-radius:7px;background:#2034549c;border:1px solid #74aaff2a;font-size:11px;color:#88ebef;padding:3px 6px;min-width:48px;text-align:center;font-weight:770;font-variant-numeric:tabular-nums}.control input[type=range]{width:100%;height:5px;display:block;appearance:none;-webkit-appearance:none;background:linear-gradient(90deg,#55d6e5 0%,#8b7cf0 var(--pct,50%),#293852 var(--pct,50%));border-radius:9px;outline:none;cursor:pointer}.control input[type=range]::-webkit-slider-thumb{appearance:none;width:15px;height:15px;border-radius:50%;background:#d8faff;border:3px solid #6bd9e9;box-shadow:0 0 14px #56ceffc2}.control input[type=range]::-moz-range-thumb{width:11px;height:11px;border-radius:50%;background:#d8faff;border:3px solid #6bd9e9;box-shadow:0 0 14px #56ceffc2}.controls{border-bottom:1px solid var(--border);padding-bottom:2px}.explain{margin-top:18px}.explain p{font-size:13px;color:#afbdd5;line-height:1.65;margin:7px 0}.formula{margin-top:12px;border-radius:10px;background:#061327be;border:1px solid #77bffa25;padding:12px;color:#8ddfe8;font-size:12px;line-height:1.5;font-family:ui-monospace,Consolas,monospace;overflow-wrap:anywhere}.footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;color:#7387aa;font-size:11px;margin-top:32px;padding-top:20px;border-top:1px solid #a3bcf71b}.footer a{color:#85dcdf}@media(max-width:990px){.workbench{grid-template-columns:1fr}.sidebar{min-height:unset;display:grid;grid-template-columns:1.4fr 1fr;gap:18px}.controls{padding-right:18px;border-right:1px solid var(--border);border-bottom:0}.explain{margin:0}.canvas{height:clamp(400px,57vw,560px)}}@media(max-width:640px){.shell{padding:19px 13px 42px}.top{margin-bottom:24px}.hero{margin-bottom:20px}.canvas{height:410px}.scene-wrap{border-radius:14px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar{display:block}.controls{padding-right:0;border-right:0;border-bottom:1px solid var(--border)}.explain{margin-top:19px}.below{align-items:flex-start}.action{padding:10px 14px}.hint{width:100%}.top .logo{font-size:14px}.back{font-size:12px;padding:8px 11px}}
