:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#eefcff;background:#061c29;font-synthesis:none;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}body{margin:0;min-width:320px;overflow:hidden}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid #79fae2;outline-offset:3px}button:disabled{opacity:.38;cursor:default}#app{position:relative;isolation:isolate;width:100vw;height:100vh;height:100dvh;overflow:hidden;background:radial-gradient(ellipse 90% 75% at 54% 37%,#135a6c,#061c29 84%)}#scene{position:absolute;inset:0;z-index:-2}#scene canvas{display:block;width:100%;height:100%;touch-action:none}.ocean-grain{pointer-events:none;position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(2,17,29,.43),transparent 31%,transparent 70%,rgba(1,14,27,.35)),linear-gradient(180deg,rgba(2,14,23,.43),transparent 21%,transparent 80%,rgba(1,15,25,.46))}.topbar{height:98px;position:absolute;top:0;left:0;right:0;display:flex;justify-content:space-between;align-items:center;padding:15px clamp(20px,3vw,48px);z-index:5;border-bottom:1px solid rgba(206,255,255,.095);pointer-events:none}.topbar>*{pointer-events:auto}.brand{display:flex;align-items:center;gap:13px}.brand-logo{width:42px;height:42px;border:1px solid rgba(117,249,220,.55);border-radius:50%;display:grid;place-items:center;color:#71f6d9;font-size:28px;box-shadow:inset 0 0 25px rgba(22,230,189,.12)}.brand-logo span{display:block;transform:rotate(-20deg)}.eyebrow,.section-kicker,.overline{font-size:9px;letter-spacing:2.3px;font-weight:750;color:#84c9c6}.dot-mini{color:#e9b87d;margin:0 3px}.brand h1{font-family:Georgia,"Times New Roman",serif;font-size:31px;line-height:1.05;letter-spacing:-1.2px;font-weight:400;margin:6px 0 0}.brand h1 em{font-style:italic;color:#7cf1cf}.top-right{display:flex;align-items:center;gap:12px}.seed-pill,.state-pill{font-size:10px;letter-spacing:1.4px;font-weight:700;border-radius:100px;padding:10px 13px;border:1px solid rgba(187,255,247,.16);background:rgba(7,36,49,.42);backdrop-filter:blur(12px)}.seed-pill{color:#8aacab}.seed-pill b{color:#edf9f8;margin-left:5px;font-size:11px}.state-pill{display:flex;align-items:center;gap:9px;color:#b9f4e4}.state-pill i,.live-label i{width:7px;height:7px;background:#79eec9;border-radius:50%;box-shadow:0 0 11px #74ffcd}.state-pill.paused i{background:#f4be8c;box-shadow:none}.panels{position:absolute;inset:116px clamp(20px,2.9vw,48px) 75px;display:flex;align-items:flex-start;justify-content:space-between;pointer-events:none;gap:15px}.panels>aside{pointer-events:auto}.glass{background:linear-gradient(140deg,rgba(9,42,55,.87),rgba(6,32,47,.78));border:1px solid rgba(159,237,233,.17);box-shadow:0 18px 60px rgba(0,9,20,.18),inset 0 1px 0 rgba(208,255,250,.035);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);border-radius:18px}.left-panel{width:295px;max-height:100%;overflow-y:auto;overflow-x:hidden;padding:21px 21px 18px;scrollbar-width:thin;scrollbar-color:#276b73 transparent}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.panel-heading h2,.knowledge-panel h2{font-size:17px;letter-spacing:-.35px;font-weight:640;margin:7px 0 0}.panel-heading.compact h2{font-size:15px}.panel-intro{font-size:11.5px;line-height:1.75;color:#98b9c3;margin:15px 0 20px}.sliders{display:grid;grid-template-columns:1fr;gap:0}.slider-line{display:flex;justify-content:space-between;align-items:center;margin:0 0 9px;font-size:11.5px;color:#e1f0f0}.slider-line span:first-child{display:flex;align-items:center;gap:7px}.slider-icon{display:inline-grid;place-items:center;width:23px;height:23px;border-radius:7px;color:#9ee9dc;background:rgba(91,225,197,.09);font-size:16px}.slider-line output{color:#8ce8cf;font-size:11px;font-weight:700;font-variant-numeric:tabular-nums}input[type=range]{display:block;width:100%;height:4px;margin:0 0 23px;appearance:none;-webkit-appearance:none;border-radius:40px;background:linear-gradient(90deg,#55eacb 0%,#55eacb var(--pct,50%),rgba(189,229,231,.17) var(--pct,50%),rgba(189,229,231,.17) 100%);cursor:pointer}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:14px;height:14px;border-radius:50%;background:#cbfff3;border:3px solid #299c91;box-shadow:0 0 0 3px rgba(78,239,208,.1)}input[type=range]::-moz-range-thumb{width:10px;height:10px;border-radius:50%;background:#cbfff3;border:3px solid #299c91}.divider-line{height:1px;background:rgba(170,234,234,.12);margin:0 0 18px}.section-row{display:flex;justify-content:space-between;margin-bottom:14px;align-items:center}.tiny-muted{font-size:8px;letter-spacing:1.1px;color:#769ba5}.primary-action{width:100%;display:flex;align-items:center;gap:11px;text-align:left;border:1px solid rgba(120,250,205,.5);border-radius:12px;padding:12px 13px;background:linear-gradient(105deg,#1ccba7,#0d9d91);color:#062c32;transition:transform .2s,box-shadow .2s}.primary-action:hover{transform:translateY(-1px);box-shadow:0 8px 22px rgba(43,207,175,.2)}.primary-action.active{background:linear-gradient(105deg,#fee2a5,#edac6c);border-color:#ffe3ae}.action-symbol{font-size:29px;line-height:1}.primary-action strong{display:block;font-size:12px}.primary-action small{display:block;font-size:10px;margin-top:3px;opacity:.78}.action-arrow{font-size:19px;margin-left:auto}.button-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.control-button{background:rgba(160,244,239,.065);border:1px solid rgba(155,229,228,.13);border-radius:10px;color:#a1e4d8;font-size:15px;padding:11px 8px;text-align:center;transition:background .2s}.control-button:not(:disabled):hover{background:rgba(117,230,211,.18)}.control-button span{font-size:11px;color:#d7efee;margin-left:4px}.variation-button{width:100%;display:flex;justify-content:space-between;align-items:center;background:rgba(143,232,226,.085);color:#dffcf6;border:1px solid rgba(144,238,228,.26);border-radius:10px;padding:11px 14px;font-size:11px;font-weight:710;letter-spacing:.1px}.variation-button:hover{background:rgba(143,232,226,.17)}.variation-button span{font-size:15px;color:#7ddec9}.mode-tip{font-size:10px;line-height:1.65;margin-top:12px;color:#80b3b8}.right-panel{width:288px;max-height:100%;display:flex;flex-direction:column;gap:11px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#276b73 transparent;padding-right:2px}.right-panel section,.knowledge-panel{flex-shrink:0}.stats-panel,.inspector-panel{padding:17px}.live-label{display:flex;gap:6px;align-items:center;color:#87e6c8;font-size:9px;letter-spacing:1px;font-weight:750}.live-label i{width:6px;height:6px}.health-main{display:flex;justify-content:space-between;align-items:center;margin-top:20px}.overline{font-size:9px;letter-spacing:1.3px;color:#95babe}.health-number{margin-top:3px;display:flex;align-items:baseline;gap:3px;color:#a2f2cd}.health-number strong{font-size:48px;letter-spacing:-2px;line-height:1.1;font-weight:470;font-variant-numeric:tabular-nums}.health-number span{font-size:18px}.health-ring{width:68px;height:68px;border-radius:50%;background:conic-gradient(#75ead2 360deg,rgba(109,220,205,.12) 0deg);display:grid;place-items:center;transition:background .5s}.health-ring>div{width:54px;height:54px;background:#0a2c39;display:grid;place-items:center;border-radius:50%;font-size:32px;color:#a1e7d5}.trend-container{margin:8px 0 15px;border-bottom:1px solid rgba(166,220,222,.1);padding-bottom:15px}.trend-container canvas{width:100%;height:48px;display:block}.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 10px}.stat{display:flex;flex-direction:column;gap:5px}.stat span{font-size:10px;color:#8cabb5}.stat strong{font-size:17px;color:#eafbf8;letter-spacing:-.5px;font-weight:550}.stat #risk{font-size:12px;letter-spacing:0;color:#80e8c6}.inspector-icon{font-size:19px;color:#7edecf}.selection-content{margin-top:17px;min-height:100px;display:flex;flex-direction:column;align-items:flex-start}.empty-selection{font-size:28px;color:#60bfad;line-height:1.4;margin-bottom:5px}.selection-content strong{font-size:12px;color:#f2fffc}.selection-content p{font-size:11px;line-height:1.65;color:#94b1bb;margin:8px 0 0}.selection-tag{font-size:9px;letter-spacing:1.5px;color:#73dbc9;margin-bottom:6px}.selection-meta{display:flex;width:100%;justify-content:space-between;border-top:1px solid rgba(170,234,234,.11);padding-top:10px;margin-top:11px;font-size:10px;color:#9cbcc3}.selection-meta b{color:#cbf6e8}.knowledge-panel{padding:0 17px}.knowledge-panel summary{list-style:none;display:flex;justify-content:space-between;align-items:center;padding:16px 0;cursor:pointer}.knowledge-panel summary::-webkit-details-marker{display:none}.knowledge-panel summary h2{font-size:14px;margin:7px 0 0}.chevron{color:#a2e0d2;transition:transform .2s}.knowledge-panel[open] .chevron{transform:rotate(180deg)}.knowledge-body{border-top:1px solid rgba(165,228,229,.12);padding:15px 0}.knowledge-body article{display:flex;gap:11px;margin-bottom:16px}.knowledge-body article>span{font-size:10px;color:#59e8c4;font-weight:750}.knowledge-body h3{font-size:11px;margin:0 0 5px;color:#e3faf2}.knowledge-body p{font-size:10px;line-height:1.6;color:#94b0bb;margin:0}.knowledge-body .model-note{font-size:9px;border-top:1px solid rgba(161,228,229,.11);padding-top:10px}.scene-tag{position:absolute;left:calc(50% - 120px);bottom:108px;display:flex;flex-direction:column;gap:4px;pointer-events:none;text-shadow:0 2px 8px #03202b}.scene-tag>span:not(.tag-line){font-size:9px;letter-spacing:3px;color:#95e3d7;font-weight:750}.scene-tag strong{font-family:Georgia,serif;font-size:24px;font-weight:400;letter-spacing:-.5px}.scene-tag small{font-size:11px;color:#bfdcdb}.tag-line{height:26px;width:1px;background:#91f6da;margin-bottom:6px}.bottom-hint{height:50px;position:absolute;bottom:0;left:0;right:0;padding:0 clamp(22px,3vw,48px);display:flex;justify-content:space-between;align-items:center;border-top:1px solid rgba(203,247,241,.11);background:linear-gradient(0deg,rgba(2,18,27,.75),rgba(2,18,27,.35));font-size:9px;color:#8eb7bd;letter-spacing:1.5px;font-weight:650;pointer-events:none}.hint-keys{display:flex;align-items:center;gap:9px}.hint-keys span{font-size:15px;color:#8de2cc;margin-left:10px}.hint-keys span:first-child{margin:0}.toast{position:absolute;top:107px;left:50%;transform:translateX(-50%) translateY(-12px);opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;background:rgba(6,40,50,.94);border:1px solid rgba(124,235,212,.32);color:#e0fff4;border-radius:50px;padding:10px 18px;z-index:20;font-size:11px;box-shadow:0 12px 35px rgba(0,0,0,.25);white-space:normal;max-width:90vw;text-align:center}.toast.show{transform:translateX(-50%) translateY(0);opacity:1}.icon-only{background:transparent;color:#d3f9ee;border:0;font-size:22px;padding:0}.mobile-collapse{display:none}.fatal{position:absolute;z-index:99;inset:0;display:grid;place-items:center;background:rgba(2,17,25,.88);padding:20px}.fatal.hidden{display:none}.fatal-box{background:#103745;border:1px solid #438c8a;max-width:420px;padding:32px;border-radius:20px;text-align:center}.fatal-icon{color:#ffcfa0;font-size:38px}.fatal-box h2{font-size:21px}.fatal-box p{font-size:13px;color:#a8d5d6;line-height:1.7}.fatal-box button{background:#52dcbc;color:#073337;border:0;padding:12px 20px;border-radius:10px;margin-top:13px;font-weight:700}
@media(max-width:1100px){.panels{left:18px;right:18px}.left-panel{width:272px;padding:17px}.right-panel{width:253px}.scene-tag{left:calc(50% - 90px);bottom:78px}.scene-tag strong{font-size:21px}}
@media(max-width:780px){.topbar{height:72px;padding:10px 14px}.brand h1{font-size:24px}.brand-logo{width:33px;height:33px;font-size:23px}.eyebrow{font-size:7px;letter-spacing:1.5px}.seed-pill{display:none}.state-pill{font-size:9px;padding:8px 9px}.panels{top:84px;left:11px;right:11px;bottom:48px;gap:8px}.left-panel{width:min(47%,245px);padding:13px}.right-panel{width:min(47%,238px);padding-right:0}.panel-heading h2{font-size:15px}.panel-heading.compact h2{font-size:13px}.panel-intro{font-size:10px;margin:10px 0 14px}.stats-panel,.inspector-panel{padding:13px}.health-number strong{font-size:35px}.health-ring{width:48px;height:48px}.health-ring>div{width:39px;height:39px;font-size:22px}.stat-grid{gap:12px 6px}.stat span{font-size:9px}.stat strong{font-size:14px}.scene-tag{display:none}.bottom-hint{height:38px;padding:0 15px;font-size:8px}.bottom-hint>span{display:none}.slider-line{font-size:10px}.slider-line output{font-size:10px}.slider-icon{width:20px;height:20px}.button-grid{gap:6px}.control-button{padding:9px 4px}.control-button span{font-size:9px;margin-left:2px}.primary-action{padding:9px}.primary-action strong{font-size:10px}.primary-action small{font-size:9px}.action-symbol{font-size:23px}.section-kicker{font-size:8px;letter-spacing:1.3px}.mobile-collapse{display:block}.left-panel.collapsed #controls-body{display:none}.left-panel.collapsed{width:190px}.trend-container{margin-bottom:10px}}
@media(max-width:540px){#app{height:100dvh}.topbar{height:64px}.top-right{gap:3px}.state-pill span{display:none}.state-pill{padding:8px}.brand h1{font-size:23px}.panels{inset:72px 10px 43px;display:block}.left-panel{position:absolute;top:0;left:0;width:min(66vw,260px);max-height:min(63vh,480px);padding:12px;z-index:4}.left-panel:not(.collapsed){background:rgba(5,32,45,.95)}.left-panel.collapsed{width:190px}.right-panel{position:absolute;right:0;top:0;width:min(43vw,180px);max-height:min(65vh,470px);gap:7px}.stats-panel,.inspector-panel{padding:11px}.panel-heading.compact h2{font-size:11px}.section-kicker{font-size:7px;letter-spacing:1px}.stats-panel .health-main{margin-top:10px}.health-number strong{font-size:30px}.health-number span{font-size:13px}.health-ring{width:40px;height:40px}.health-ring>div{width:33px;height:33px;font-size:18px}.trend-container{margin:3px 0 8px;padding-bottom:7px}.trend-container canvas{height:30px}.stat-grid{gap:9px 5px}.stat span{font-size:8px;line-height:1.4}.stat strong{font-size:12px}.stat #risk{font-size:10px}.inspector-panel .selection-content{margin-top:10px;min-height:75px}.selection-content strong{font-size:10px}.selection-content p{font-size:9px;line-height:1.4}.empty-selection{font-size:20px}.knowledge-panel{padding:0 10px}.knowledge-panel summary{padding:11px 0}.knowledge-panel summary h2{font-size:11px}.knowledge-body article{gap:6px}.knowledge-body p{font-size:9px}.knowledge-body h3{font-size:10px}.panel-intro{font-size:10px;line-height:1.45}.mode-tip{font-size:9px}.bottom-hint{justify-content:center;font-size:8px}.hint-keys{gap:5px}.hint-keys span{margin-left:4px}.slider-line{font-size:10px}.slider-line span:first-child{gap:4px}.slider-icon{width:19px;height:19px}.sliders input[type=range]{margin-bottom:15px}.panel-heading h2{font-size:13px}.control-button span{font-size:9px}.toast{top:70px;font-size:10px}}
@media(max-width:390px){.right-panel{width:150px}.left-panel{width:200px}.left-panel.collapsed{width:165px}.brand-logo{display:none}.topbar{padding:8px 13px}.brand h1{font-size:21px}.panel-heading h2{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important}}
