:root{color-scheme:dark;--bg:#07101c;--panel:#0b1828;--panel2:#0e1d30;--stroke:#213449;--text:#e8f4ff;--muted:#7e97ad;--cyan:#59e4ef;--gold:#ffd18a;--purple:#a69aff}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 23% -11%,#152b45 0,transparent 37%),var(--bg);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--text);font-size:13px}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}button:hover{filter:brightness(1.13)}.app-shell{min-height:100vh;max-width:1920px;margin:auto}.topbar{height:64px;padding:0 30px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #20344a;background:#091726bb;gap:16px}.brand{text-decoration:none;font-weight:900;letter-spacing:1.3px;color:#fff;font-size:15px;white-space:nowrap}.brand span:not(.brand-mark){color:var(--cyan)}.brand small{font-weight:600;color:#708aa3;font-size:10px;letter-spacing:2px;margin-left:6px}.brand-mark{display:inline-grid;place-items:center;color:#081b28;background:linear-gradient(145deg,#60e7ee,#9489fc);width:31px;height:31px;border-radius:8px;margin-right:10px;font-size:24px}.topbar-center,.topbar-right{display:flex;align-items:center;gap:13px;color:#8ba3b8;font-size:10px;letter-spacing:1.5px;font-weight:750}.tiny-led,.live-dot,.status-dot{width:7px;height:7px;border-radius:50%;background:#55e7c4;box-shadow:0 0 10px #42f5c3}.separator{height:18px;border-left:1px solid #3a4c5e}.fps,.build-tag{background:#15243a;border:1px solid #29415a;border-radius:5px;padding:8px 9px}.fps{color:#a5d9ee}.layout{display:grid;grid-template-columns:minmax(0,1fr) 335px;min-height:calc(100vh - 64px)}.workspace{padding:25px 27px 15px;min-width:0}.intro{display:flex;justify-content:space-between;gap:20px;align-items:center;padding-bottom:20px}.eyebrow{color:#63dce5;font-size:10px;letter-spacing:2px;font-weight:800;display:flex;align-items:center;gap:10px}.pulse{display:inline-block;width:7px;height:7px;background:#64e4da;border-radius:50%;box-shadow:0 0 12px #56decb}.intro-line{height:13px;border-left:1px solid #557084;margin:0 3px}.intro h1{font-size:clamp(33px,3.4vw,48px);font-weight:900;letter-spacing:-1.7px;margin:8px 0 5px;line-height:1.06}.intro h1 span{color:var(--cyan)}.intro h1 em{font-size:.53em;color:#a2bbce;font-weight:500;font-style:normal;letter-spacing:-.4px}.intro p{color:#869eb4;margin:7px 0 0;font-size:12px}.introbadge{border:1px solid #265365;background:#102b3c;color:#80becb;font-size:9px;font-weight:800;letter-spacing:1.1px;padding:11px 13px;border-radius:6px;white-space:nowrap;display:flex;flex-direction:column;gap:6px}.introbadge span{color:#93f4d5;font-size:13px}.stage{position:relative;border:1px solid #27405c;border-radius:9px;background:radial-gradient(ellipse at center,#17324c,#081729 75%);overflow:hidden}.stage-ribbon{position:absolute;top:0;left:0;right:0;z-index:2;height:42px;display:flex;justify-content:space-between;align-items:center;background:linear-gradient(180deg,#081a2ce6,#081a2c90);border-bottom:1px solid #38506b80;padding:0 18px;font-size:10px;letter-spacing:1.5px;color:#76dce6}.stage-ribbon b{color:#d8f4fa;margin-left:8px}.stage-ribbon-right{display:flex;align-items:center;gap:10px;color:#a9c0d2}.vr-divider{height:12px;border-left:1px solid #4a6174}#world{width:100%;height:clamp(355px,37vw,520px);display:block;cursor:grab;touch-action:none}#world:active{cursor:grabbing}.stage-caption{position:absolute;bottom:0;left:0;right:0;padding:16px 18px;background:linear-gradient(0deg,#061525ed,#061525aa 65%,transparent);display:flex;justify-content:space-between;align-items:flex-end;gap:10px}.stage-caption>div:first-child{display:flex;flex-direction:column;gap:4px}.stage-caption b{font-size:11px;letter-spacing:1.5px}.stage-caption span{font-size:11px;color:#8aa5bc}.stage-tools{display:flex;gap:8px}.stage-tools button{padding:9px 10px;border-radius:5px;background:#14283fb9;color:#d0e4ee;border:1px solid #35536a;font-size:9px;font-weight:800;letter-spacing:1px}.webgl-error{position:absolute;z-index:5;inset:56px 20px 60px;padding:26px;background:#291a2d;color:#ffcdcd;border:1px solid #c66;line-height:1.7}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}.metric{min-height:110px;border-radius:7px;border:1px solid #23384f;background:linear-gradient(140deg,#102236,#0c1c2c);padding:15px 16px;position:relative;overflow:hidden}.metric:after{content:'';position:absolute;right:-15px;top:-37px;width:86px;height:86px;border:1px solid #244056;border-radius:50%}.metric small{color:#849fb6;letter-spacing:1px;font-size:9px;font-weight:800}.metric div:nth-child(2){display:flex;align-items:baseline;gap:7px;margin-top:7px}.metric strong{font-size:clamp(22px,2.0vw,30px);font-weight:800;letter-spacing:-1px;font-variant-numeric:tabular-nums}.metric div:nth-child(2)>span{font-size:12px;color:#7f9ab2}.metric:first-child strong{color:#ebf7ff}.metric:nth-child(2) strong{color:#62e8ef}.metric:nth-child(3) strong{color:#ffce89}.metric-sub{color:#718ca5;font-size:10px;margin-top:6px}.metric .mode-label{font-size:20px;color:#80ecce;letter-spacing:.4px;white-space:nowrap}.charts{display:grid;grid-template-columns:1fr 1fr;gap:13px}.chart-panel{background:#0d1d2e;border:1px solid #243b52;border-radius:7px;overflow:hidden;min-width:0}.panel-title{height:39px;padding:0 14px;display:flex;align-items:center;justify-content:space-between;color:#d5e9f7;font-weight:800;font-size:10px;letter-spacing:1.15px;border-bottom:1px solid #20394f}.panel-right{color:#637f98;font-size:9px}.chart-panel canvas{display:block;width:100%;height:182px}.chart-legend{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #21364a;padding:11px 15px;font-weight:750;color:#8da6bb;font-size:9px;letter-spacing:.8px}.chart-legend span{display:flex;align-items:center;gap:8px}.chart-legend i{display:inline-block;width:18px;height:3px;border-radius:2px}.legend-a{background:#66e8ec}.legend-b{background:#e5b16e}.unit-tag{color:#627e98}.status-line{display:flex;justify-content:space-between;gap:15px;color:#667e93;font-size:10px;letter-spacing:.8px;font-weight:700;margin-top:17px}.status-line>span:first-child{display:flex;align-items:center;gap:9px}.control-panel{border-left:1px solid #254158;background:#0b1929;display:flex;flex-direction:column;min-width:0}.control-head{border-bottom:1px solid #294158;min-height:105px;display:flex;align-items:center;justify-content:space-between;padding:24px 21px;background:linear-gradient(135deg,#112943,#0b1a2b)}.control-head small{color:#61c8e2;font-size:9px;letter-spacing:2px;font-weight:800}.control-head h2{margin:8px 0 0;font-size:17px;letter-spacing:1px}.control-head-icon{font-size:35px;color:#42617b}.control-body{padding:22px 19px;flex:1}.section-head{display:flex;align-items:center;gap:10px;font-size:10px;color:#bdcfe0;letter-spacing:1px;font-weight:850;white-space:nowrap;margin-bottom:17px}.section-head>span:first-child{width:24px;height:24px;border:1px solid #2e5263;background:#123143;color:#6bdae7;display:grid;place-items:center;border-radius:4px;font-size:10px}.thin-line{height:1px;background:#294154;flex:1}.transport{display:flex;gap:8px}.transport button{border-radius:5px;padding:13px 12px;white-space:nowrap;font-size:10px;letter-spacing:.3px;font-weight:850}.primary-button{flex:1;border:1px solid #60dae8;background:linear-gradient(115deg,#45cbdc,#61b9db);color:#082331}.secondary-button{background:#172d42;color:#c8dfe9;border:1px solid #35506a}.preset-label{margin:21px 0 9px;color:#758fa7;font-size:9px;letter-spacing:1px;font-weight:800}.preset-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.preset{padding:10px 6px;background:#11263a;border:1px solid #2d455c;border-radius:4px;color:#aac1d2;font-size:10px;text-align:center}.preset.selected{border-color:#51c6e5;background:#15394b;color:#80eff0}.parameters{margin-top:26px}.control-slider{margin-bottom:17px}.slider-label{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:11px}.slider-label label{color:#b7cde0;font-weight:650;font-size:11px}.slider-label output{color:#6ce5ef;font-weight:800;font-variant-numeric:tabular-nums}.control-slider input[type=range]{width:100%;height:5px;margin:0;accent-color:#5ce3ed;cursor:pointer;background:#21384f}.slider-hints{display:flex;justify-content:space-between;color:#5f7b93;font-size:9px;margin-top:6px}.advanced-title{margin-top:25px}.switch-row{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:16px}.switch-row label{color:#bfd2e1;font-size:11px}.switch-row label small{display:block;font-size:9px;color:#64809a;margin-top:4px}.switch-row input{accent-color:#65e2e5;width:16px;height:16px;cursor:pointer}.diagnostics{border:1px solid #243d53;border-radius:6px;padding:3px 13px;background:#0c2032}.diagnostics div{display:flex;justify-content:space-between;gap:8px;padding:10px 0;border-bottom:1px dashed #264159;font-size:10px}.diagnostics div:last-child{border:none}.diagnostics span{color:#829db3}.diagnostics b{font-variant-numeric:tabular-nums;color:#e4f3fb;font-weight:750;white-space:nowrap}.export-row{display:grid;grid-template-columns:1fr .68fr;gap:8px;margin-top:17px}.export-row button{background:#173048;color:#afdfea;border:1px solid #37647e;padding:12px 7px;border-radius:5px;font-size:10px;font-weight:800}.model-note{margin-top:17px;color:#a7bfd3;border-top:1px solid #274357;padding-top:15px}.model-note summary{cursor:pointer;color:#789bb4;letter-spacing:1px;font-size:10px;font-weight:800}.model-note summary span{float:right}.model-note p{line-height:1.65;font-size:11px}.control-footer{padding:17px 20px;border-top:1px solid #263c51;display:flex;justify-content:space-between;color:#63829a;font-size:10px;letter-spacing:1px;font-weight:800}.control-footer span span{color:#5fdae9}
@media(max-width:1130px){.layout{grid-template-columns:minmax(0,1fr) 305px}.workspace{padding:20px 15px}.metric{padding:13px 11px}.metric small{font-size:8px}.chart-panel canvas{height:160px}}
@media(max-width:920px){.layout{display:flex;flex-direction:column}.control-panel{border-left:0;border-top:1px solid #254158}.control-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:22px}.control-body>.section-head,.control-body>#slider-host,.control-body>.preset-label,.control-body>.preset-grid,.control-body>.transport,.control-body>.switch-row,.control-body>.diagnostics,.control-body>.export-row,.control-body>.model-note{grid-column:1/-1}.control-body>#slider-host{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.topbar-center{display:none}}
@media(max-width:650px){.topbar{padding:0 13px;height:57px}.brand{font-size:12px}.brand small{display:none}.build-tag{display:none}.workspace{padding:18px 11px}.intro{align-items:flex-start}.intro h1{font-size:34px}.eyebrow{font-size:8px;letter-spacing:.7px}.intro p{line-height:1.4}.introbadge{display:none}.stage-ribbon-right{display:none}#world{height:350px}.stage-caption{align-items:flex-end}.stage-caption span{max-width:185px;line-height:1.4}.stage-tools{flex-direction:column}.stage-tools button{font-size:8px;padding:7px}.metrics{grid-template-columns:1fr 1fr}.metric{min-height:94px}.charts{grid-template-columns:1fr}.control-body{display:block}.control-body>#slider-host{display:block}.status-line span:last-child{display:none}}
