
:root{color-scheme:dark;--muted:#94a9b6;--paper:#e8f1f1;--gold:#e7cc87;--teal:#8be8d4;--panel:rgba(9,24,35,.87)}
*{box-sizing:border-box}html,body{height:100%;margin:0;overflow:hidden}body{font-family:Manrope,'Segoe UI',Arial,sans-serif;background:#07111d;color:var(--paper)}button,input{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid #c6e8be;outline-offset:3px}#app{position:relative;min-height:100%;height:100dvh;overflow:hidden;background:radial-gradient(circle at 37% 32%,#234554 0%,#0b1b2b 55%,#070e1b 100%)}#stage{position:absolute;inset:0;touch-action:none}#stage canvas{display:block;width:100%;height:100%;touch-action:none}.vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(3,13,25,.67) 0%,transparent 41%,rgba(5,12,25,.17) 69%,rgba(5,12,24,.3) 100%),linear-gradient(0deg,rgba(4,10,17,.8),transparent 25%,transparent 78%,rgba(5,13,23,.45))}
.topbar{position:absolute;z-index:5;top:0;left:0;right:0;display:flex;justify-content:space-between;align-items:center;padding:27px 31px 18px 35px;gap:20px;pointer-events:none}.topbar>*{pointer-events:auto}.brand{display:flex;align-items:center;gap:13px;min-width:0}.brand-mark{height:43px;width:43px;display:grid;place-items:center;border:1px solid rgba(235,217,164,.38);border-radius:15px;color:#ead18b;box-shadow:inset 0 0 18px #b8a26825,0 0 22px #f2e7ae12;background:rgba(19,39,45,.45);font-size:27px}.brand-copy{display:flex;flex-direction:column;gap:2px}.brand-copy strong{font-size:19px;letter-spacing:-.65px;white-space:nowrap}.brand-dot{color:var(--gold)}.eyebrow{font-size:9px;font-weight:800;letter-spacing:2.1px;color:#a2b5b9}.top-actions{display:flex;gap:9px;align-items:center}.live-pill{display:flex;align-items:center;gap:9px;margin-right:9px;font-size:9px;letter-spacing:1.25px;font-weight:800;color:#c0e9d4;white-space:nowrap}.pulse{width:7px;height:7px;background:#9feac2;border-radius:50%;box-shadow:0 0 0 4px rgba(159,234,194,.08),0 0 12px rgba(159,234,194,.7)}.icon-btn{display:grid;place-items:center;width:40px;height:40px;color:#dfeaec;font-size:22px;background:rgba(17,40,49,.47);border:1px solid #ffffff27;border-radius:12px;backdrop-filter:blur(14px);transition:.18s}.icon-btn:hover,.secondary-btn:hover{background:#ffffff19;border-color:#ffffff55}.primary-btn{display:flex;align-items:center;gap:8px;background:#e0cca0;color:#14212b;font-weight:800;border:1px solid #f3e7ba;border-radius:12px;height:40px;padding:0 16px;font-size:11px;box-shadow:0 4px 23px #e8d99c15;transition:.2s}.primary-btn:hover{background:#f1e2be;transform:translateY(-1px)}.shuffle{font-size:20px;line-height:1}
.scene-story{position:absolute;z-index:2;left:5.2%;top:25%;max-width:370px;pointer-events:none}.section-tag{font-size:10px;letter-spacing:2.5px;font-weight:800;color:#d8d4ab;display:flex;align-items:center;gap:11px}.tag-line{width:27px;height:1px;background:#e5cc8c}.scene-story h1{font-weight:500;letter-spacing:-2.6px;font-size:clamp(34px,4.05vw,62px);line-height:1.13;margin:19px 0 16px;text-shadow:0 3px 36px #00162499}.scene-story h1 em{font-family:Georgia,serif;color:#c9e4d0;font-weight:400}.scene-story p{font-size:12px;line-height:1.8;color:#b5c9d3;max-width:305px;margin:0}.scene-tips{margin-top:28px;font-size:10px;color:#b5c5ca;letter-spacing:.1px;line-height:1.8}.mini-icon{font-size:14px;color:#e1cb95}.tip-sep{padding:0 6px;color:#71848a}
.panel{position:absolute;z-index:6;right:24px;top:95px;bottom:27px;width:min(335px,calc(100vw - 48px));border:1px solid rgba(183,225,216,.15);background:linear-gradient(165deg,rgba(13,34,42,.94),rgba(6,19,31,.91));border-radius:21px;backdrop-filter:blur(23px);box-shadow:0 18px 80px #03101b88;overflow:hidden}.panel-scroller{height:100%;overflow-y:auto;overscroll-behavior:contain;padding:22px 23px 22px;scrollbar-width:thin;scrollbar-color:#48646c transparent}.panel-head{display:flex;align-items:center;justify-content:space-between}.panel-eyebrow{color:#98acae;font-size:9px;letter-spacing:1.8px}.panel-head h2{font-size:19px;letter-spacing:-.55px;font-weight:700;margin:5px 0 0}.head-flower{display:grid;place-items:center;color:#e7cd91;font-size:29px;border:1px solid #b6ba9338;background:#adbc8c0c;width:43px;height:43px;border-radius:14px}.panel-separator{height:1px;background:linear-gradient(90deg,transparent,#9dbeb73d,transparent);margin:19px 0 15px}.simulation-summary{border-left:2px solid #92dbc0;padding-left:11px}.status-line{font-size:9px;font-weight:800;letter-spacing:1.15px;color:#a5dfc8}.status-orb{display:inline-block;background:#a5dfc8;width:6px;height:6px;border-radius:50%;margin-right:6px}.simulation-summary p{font-size:10px;line-height:1.6;color:#93aab4;margin:6px 0 0}.section-header{display:flex;align-items:center;justify-content:space-between;margin:24px 0 17px}.section-header h3{font-size:11px;font-weight:800;letter-spacing:.1px;margin:0;color:#dce8e7}.section-header>span{color:#778d97;font-size:9px;font-weight:800;letter-spacing:1.2px}.setting{margin-bottom:19px}.setting-top{display:flex;justify-content:space-between;align-items:center;font-size:11px;font-weight:600;margin-bottom:10px}.setting output{font-family:'DM Sans',sans-serif;color:#d9cd9c;min-width:37px;text-align:right;font-size:12px}.setting input[type=range]{appearance:none;width:100%;height:4px;margin:0;cursor:pointer;border-radius:20px;background:linear-gradient(90deg,#a8e4cb var(--fill,50%),#25444a var(--fill,50%));touch-action:pan-y}.setting input[type=range]::-webkit-slider-thumb{appearance:none;width:14px;height:14px;border-radius:50%;border:3px solid #c8e9d7;background:#264b48;box-shadow:0 0 0 4px #cde4c814}.setting input[type=range]::-moz-range-thumb{width:10px;height:10px;border-radius:50%;border:3px solid #c8e9d7;background:#264b48}.range-labels{display:flex;justify-content:space-between;color:#657f88;font-size:9px;margin-top:9px}.interaction-header{margin-top:27px}.plant-btn{display:flex;align-items:center;gap:11px;text-align:left;width:100%;border:1px solid #b8ddad6b;background:linear-gradient(115deg,#1a4a49,#14373d);padding:12px 12px;border-radius:12px;color:#eef7e6;transition:.2s}.plant-btn:hover,.plant-btn.active{background:linear-gradient(115deg,#29605a,#1e4e4c);border-color:#bcdfb4}.plant-btn.active{box-shadow:inset 0 0 0 1px #c8e3aa44,0 0 21px #a0d6b61a}.plant-symbol{font-size:23px;color:#d3e6b4}.plant-label{display:flex;flex-direction:column;gap:3px;flex:1}.plant-label strong{font-size:10px}.plant-label small{font-size:9px;line-height:1.4;color:#a2c9c2}.plant-arrow{align-self:flex-start;color:#bddccb;font-size:17px}.secondary-btn{display:flex;justify-content:center;align-items:center;gap:9px;width:100%;margin-top:9px;background:#102c37;color:#b4c9cc;border:1px solid #7ca5a534;border-radius:10px;padding:10px;font-size:10px;transition:.2s}.selected-header{margin-top:27px}.inspector{display:flex;gap:11px;padding:14px 12px;border:1px solid #6f9ca328;background:#11303a7c;border-radius:12px}.inspector-icon{width:30px;height:30px;flex:0 0 30px;display:grid;place-items:center;color:#e3d39d;font-size:21px;border-radius:9px;background:#e1c99c12}.inspector-copy strong{display:block;font-size:11px;margin-bottom:3px}.inspector-copy span{display:block;font-size:9px;color:#cfcd9f}.inspector-copy p{font-size:10px;line-height:1.6;color:#91adb4;margin:8px 0 0}.knowledge{padding:12px 0;border-bottom:1px solid #88b9b51e}.knowledge:first-of-type{margin-top:10px}.knowledge summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:9px;font-size:10px;font-weight:700;color:#c3d9d9}.knowledge summary::-webkit-details-marker{display:none}.knowledge summary span:first-child{color:#d9ca9a}.knowledge .summary-plus{margin-left:auto;font-size:15px;color:#91b0ad;transition:.2s}.knowledge[open] .summary-plus{transform:rotate(45deg)}.knowledge p{font-size:10px;line-height:1.7;color:#9ab0b9;margin:11px 0 3px;padding-left:19px}.model-note{color:#718e99;font-size:9px;font-style:italic;line-height:1.6;margin:18px 0}.panel-footer{display:flex;justify-content:space-between;color:#6f898f;font-size:9px;letter-spacing:1.2px;font-weight:800;margin-top:21px}.panel-footer>span:not(#seed-label){opacity:.55}
.hud{position:absolute;z-index:4;left:4.7%;bottom:32px;display:flex;align-items:center;gap:22px;padding:14px 21px;background:linear-gradient(110deg,rgba(9,27,38,.89),rgba(12,34,44,.66));backdrop-filter:blur(17px);border:1px solid #a4ccd335;border-radius:16px;box-shadow:0 16px 35px #04131f44}.hud-stat{display:flex;align-items:center;gap:11px}.hud-icon{font-size:23px;color:#bed8b6;line-height:1}.hud-stat strong{display:block;font-size:19px;font-family:'DM Sans',sans-serif;font-weight:700;letter-spacing:-.5px;color:#f0f0da}.hud-stat small{display:block;color:#94aeb5;font-size:9px;white-space:nowrap}.hud-divider{width:1px;height:30px;background:#95b8bc2f}.toast{position:absolute;z-index:20;left:50%;top:95px;transform:translate(-50%,-12px);color:#eff6e7;background:#1d4a48ed;border:1px solid #bee6ce66;border-radius:12px;padding:12px 17px;box-shadow:0 14px 44px #04131e99;font-size:11px;opacity:0;pointer-events:none;transition:.25s;text-align:center;max-width:calc(100vw - 40px)}.toast.show{opacity:1;transform:translate(-50%,0)}.fallback{position:absolute;z-index:30;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#091522ee;padding:30px}.fallback[hidden]{display:none}.fallback-symbol{font-size:55px;color:#e5d2a0}.fallback h2{font-size:25px}.fallback p{max-width:500px;font-size:13px;line-height:1.7;color:#a7b9bf}.fallback button{margin-top:20px;background:#d9c896;border:0;border-radius:10px;padding:12px 18px;font-weight:800;color:#162532}.loading{position:absolute;z-index:25;inset:0;display:flex;align-items:center;justify-content:center;gap:12px;background:#071522;color:#c9d4bd;font-size:11px;font-weight:800;letter-spacing:2px;transition:opacity .6s}.loading.hidden{opacity:0;pointer-events:none}.loading-star{font-size:37px;color:#e3cc9a;animation:glimmer 2s ease-in-out infinite}@keyframes glimmer{50%{transform:rotate(45deg) scale(1.16);opacity:.5}}
@media(max-width:1160px){.scene-story{left:3%;top:22%}.scene-story h1{font-size:42px}.hud{left:2%;gap:13px;padding:12px}.hud-stat{gap:7px}.panel{right:13px;width:310px}}@media(max-width:900px){.scene-story{top:18%;max-width:290px}.scene-story h1{font-size:34px}.scene-story p{font-size:11px;max-width:245px}.scene-tips{font-size:9px}.brand-copy strong{font-size:17px}.live-pill{display:none}.hud-stat:nth-of-type(7),.hud-stat:nth-of-type(5){display:none}.hud-divider{display:none}}
@media(max-width:680px){.topbar{padding:13px 12px;align-items:flex-start;gap:9px}.brand{gap:8px}.brand-mark{width:33px;height:33px;border-radius:10px;font-size:21px}.brand-copy strong{font-size:15px}.brand-copy .eyebrow{font-size:7px;letter-spacing:1.05px}.top-actions{gap:5px}.icon-btn{height:33px;width:33px;font-size:19px;border-radius:9px}.primary-btn{height:33px;padding:0 9px;border-radius:9px;font-size:9px}.primary-btn .shuffle{font-size:17px}.scene-story{left:16px;top:90px;max-width:270px}.section-tag{font-size:8px;letter-spacing:1.5px}.scene-story h1{font-size:31px;line-height:1.12;margin:11px 0 8px;letter-spacing:-1.2px}.scene-story p{font-size:9px;line-height:1.6;max-width:220px}.scene-tips{display:none}.panel{right:8px;left:8px;top:auto;bottom:8px;width:auto;height:40dvh;min-height:245px;border-radius:15px}.panel-scroller{padding:15px 16px}.panel-head h2{font-size:15px}.head-flower{height:34px;width:34px;font-size:23px}.panel-separator{margin:11px 0}.simulation-summary{display:none}.section-header{margin:14px 0 15px}.sliders{display:grid;grid-template-columns:1fr 1fr;gap:0 17px}.setting{margin-bottom:12px}.setting-top{font-size:9px}.setting output{font-size:10px}.range-labels{font-size:8px}.interaction-header{margin-top:7px}.hud{left:8px;right:8px;bottom:calc(40dvh + 18px);justify-content:space-around;gap:5px;padding:9px 6px;border-radius:11px}.hud-stat{gap:6px}.hud-stat strong{font-size:15px}.hud-stat small{font-size:8px}.hud-icon{font-size:17px}.panel-footer{font-size:8px}.selected-header{margin:16px 0 10px}}
@media(max-height:700px) and (min-width:681px){.scene-story{top:22%}.panel{top:77px;bottom:12px}.topbar{padding-top:16px}.hud{bottom:14px}}
@media(max-width:390px){.brand-copy strong{font-size:13px}.brand-copy .eyebrow{font-size:6.5px}.primary-btn span:last-child{max-width:63px;line-height:1.05}.scene-story h1{font-size:27px}.panel{height:42dvh}.hud{bottom:calc(42dvh + 18px)}.hud-stat small{font-size:7px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;transition-duration:.001ms!important}}
