@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Instrument+Serif:ital@0;1&display=swap');
:root{color-scheme:dark;--ink:#edf6ef;--muted:#91a8ab;--mint:#abf8d5;--panel:rgba(10,28,34,.64);font-family:'DM Sans',system-ui,sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:#041016;color:var(--ink);overflow:hidden;width:100%;height:100dvh}button,a,input,select{-webkit-tap-highlight-color:transparent}button,select{font:inherit}button{cursor:pointer}button,a,select,input{outline-offset:5px}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid var(--mint)}button{color:inherit}button:disabled{cursor:wait;opacity:.5}button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}[hidden]{display:none!important}
#water,#life,.vignette{position:fixed;inset:0;width:100%;height:100%}#water{pointer-events:none}#life{touch-action:none;cursor:crosshair}.vignette{pointer-events:none;background:radial-gradient(ellipse at 54% 52%,transparent 30%,rgba(1,10,16,.16) 65%,rgba(1,9,14,.6));z-index:1}
.topbar{position:fixed;z-index:5;left:42px;right:40px;top:30px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none;font-size:23px;font-weight:550;letter-spacing:-1.1px}.brand svg{width:32px;height:32px;fill:none;stroke:#a8f4d3;stroke-width:1.6;stroke-linecap:round}.brand-dot{color:var(--mint)}.top-actions{display:flex;align-items:center;gap:9px}.live-tag{font-size:9px;letter-spacing:1.7px;margin-right:22px;color:#a4b8b8;display:flex;gap:10px;align-items:center}.live-tag i,.stat-live i{width:5px;height:5px;display:inline-block;background:#9cf0c0;border-radius:50%;box-shadow:0 0 10px #9cf0c077}.icon-button{border:1px solid #b5f4e518;border-radius:50%;width:39px;height:39px;background:#0c20264d;display:grid;place-items:center;color:#b3c6c7;transition:.2s}.icon-button:hover{background:#b5f4e514;border-color:#b5f4e55c;color:#fff}.icon-button[aria-pressed=true]{color:var(--mint);border-color:#a8f4d37a}
main{position:relative;z-index:3;pointer-events:none}.intro{position:fixed;top:22%;left:5.2%;max-width:360px}.eyebrow{display:flex;align-items:center;gap:10px;font-size:8px;font-weight:600;letter-spacing:1.6px;color:#a4c0bb}.line{height:1px;width:24px;background:#9db8b458}h1{font-family:'Instrument Serif',Georgia,serif;font-weight:400;letter-spacing:-2.6px;font-size:clamp(56px,5.8vw,91px);line-height:.98;margin:25px 0 23px;text-shadow:0 3px 28px #031218}h1 em{font-weight:400;color:#baf6db}.intro p{font-size:12px;line-height:1.9;color:#a6bdbb;letter-spacing:.1px;margin:0}.intro-hint{display:flex;align-items:center;gap:13px;margin-top:33px;font-size:10px;color:#b2c8c1}.intro-hint>span{font-family:Georgia,serif;font-size:30px;color:var(--mint);transform:rotate(-20deg)}
.world-card{position:fixed;right:40px;top:25%;width:230px;padding:21px 20px 17px;pointer-events:auto;border:1px solid #b8e8e41c;background:linear-gradient(150deg,#122e35a8,#071b229e);backdrop-filter:blur(24px);border-radius:13px;box-shadow:0 10px 50px #0002}.card-top{display:flex;justify-content:space-between;align-items:center;font-size:8px;letter-spacing:1.4px;font-weight:500;color:#aec1bb;margin-bottom:23px}.orbit-symbol{font-size:23px;color:#c1efc9;font-weight:400}.world-card label{font-size:10px;color:#95ada9}.select-wrap{position:relative;margin-top:8px}.select-wrap>span{position:absolute;right:0;top:0;pointer-events:none;color:#b6c5bd}select{appearance:none;-webkit-appearance:none;background:transparent;color:#e3eee7;font-size:12px;width:100%;border:0;padding:3px 15px 3px 0;cursor:pointer}select option{background:#102830;color:#efffee}.habitat-note{font-family:'Instrument Serif',Georgia,serif;font-style:italic;font-size:14px;color:#87a9a2;margin-top:6px}.card-divider{height:1px;background:#c5eade13;margin:20px 0}.slider-label{display:flex;justify-content:space-between}.slider-label output{color:#cfdfcf;font-size:9px}input[type=range]{appearance:none;width:100%;background:transparent;margin:13px 0 19px;cursor:pointer;height:10px}input[type=range]::-webkit-slider-runnable-track{height:2px;background:linear-gradient(90deg,#a7e5c8,#426b60);border-radius:10px}input[type=range]::-webkit-slider-thumb{appearance:none;width:9px;height:9px;border-radius:50%;background:#d7f6d6;margin-top:-3.5px;box-shadow:0 0 10px #a7e5c844}input[type=range]::-moz-range-track{height:2px;background:#658f7e}input[type=range]::-moz-range-thumb{height:9px;width:9px;background:#d7f6d6;border:0}.species-legend{display:grid;grid-template-columns:1fr 1fr;gap:10px 5px;font-size:9px;color:#a6bcb7;margin-bottom:23px}.species-legend span{display:flex;align-items:center;gap:7px}.species-legend i{width:4px;height:4px;background:var(--c);border-radius:50%;box-shadow:0 0 8px var(--c)}.bloom-button{width:100%;border:1px solid #bce9b44d;border-radius:7px;background:linear-gradient(100deg,#d7f4b7,#a9e9c9);color:#14372c;font-size:11px;font-weight:650;padding:11px 9px;display:flex;align-items:center;justify-content:center;gap:9px;box-shadow:0 0 24px #c5f4ac0b;transition:transform .2s,box-shadow .2s}.bloom-button:hover{transform:translateY(-2px);box-shadow:0 0 28px #b6f8b433}.bloom-button>span{font-size:17px}.bloom-button kbd{font:9px inherit;opacity:.5;border:1px solid #153f3b44;border-radius:3px;padding:1px 4px;margin-left:auto}.bloom-note{text-align:center;font-size:8px;color:#90ada3;margin-top:11px}
footer{position:fixed;z-index:5;bottom:25px;left:40px;right:40px;display:flex;align-items:center;justify-content:space-between;height:60px;pointer-events:none}.stats{display:flex;align-items:center;gap:16px;color:#96afad;font-size:9px}.stats strong{font-weight:500;color:#d5e6da}.stat-live{font-size:8px;letter-spacing:1px;color:#a4d4bb;display:flex;align-items:center;gap:7px}.play-dock{position:absolute;left:50%;transform:translateX(-50%);display:flex;align-items:center;background:#0c2026b8;backdrop-filter:blur(24px);border:1px solid #b8e8e424;padding:7px;border-radius:13px;box-shadow:0 12px 60px #0004;pointer-events:auto}.tools{display:flex;gap:3px}.tool{background:transparent;border:1px solid transparent;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:57px;height:49px;color:#93aaa9;font-size:8px;transition:.2s}.tool>span{font-size:23px;height:22px;line-height:22px;font-weight:400}.tool:hover{background:#a3dfbd0a;color:#e1eee0}.tool.active{background:#b8f5ce12;color:#c7f4c9;border-color:#c8f5d421}.dock-divider{width:1px;height:28px;background:#c8efdc1c;margin:0 10px}.transport,.speed{background:none;border:0;font-size:16px;min-width:33px;height:44px;color:#b9ccbf}.speed{font-size:11px;width:34px}.transport:hover,.speed:hover{color:#fff}.footer-right{display:flex;align-items:center;gap:7px;font-size:8px;letter-spacing:1px;color:#829e9d}.footer-separator{margin:0 7px;color:#789a9460}.footer-right button{pointer-events:auto;background:none;border:0;color:#a0bab0;font-size:22px;margin-right:12px}.crafted{font-size:7px;letter-spacing:1.5px}
.center-hint{position:fixed;z-index:2;bottom:138px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:9px;color:#b6d2c2;font-size:10px;white-space:nowrap;pointer-events:none;opacity:.75}.hint-ring{width:10px;height:10px;border:1px solid #b4e8c96b;border-radius:50%;box-shadow:0 0 14px #9cf0bf20}.pond-menu{position:fixed;top:82px;right:40px;width:285px;pointer-events:auto;border:1px solid #b8e8e42d;background:#0c232cf2;backdrop-filter:blur(25px);padding:20px;border-radius:12px;box-shadow:0 20px 70px #0007}.pond-menu strong{display:block;font-family:'Instrument Serif',Georgia,serif;font-size:24px;font-weight:400;margin:0 0 15px}.pond-menu button,.pond-menu a{display:block;width:100%;border:0;border-top:1px solid #b8e8e414;background:none;text-align:left;color:#d2e8d9;padding:13px 0;text-decoration:none;font-size:11px}.pond-menu button:hover,.pond-menu a:hover{color:var(--mint)}.pond-menu small{display:block;color:#8ba8a4;font-size:9px;margin-top:5px}.menu-foot{font-size:9px;line-height:1.7;color:#8ba8a4;border-top:1px solid #b8e8e414;padding-top:12px}.inspector{pointer-events:auto;position:fixed;left:5.2%;bottom:145px;width:240px;border:1px solid #b8e8e42b;border-radius:12px;padding:22px;background:#0b252de8;backdrop-filter:blur(24px)}.close-button{position:absolute;right:10px;top:8px;background:none;border:0;color:#a6bcb1;font-size:21px}.inspector .eyebrow{font-size:7px;letter-spacing:1px}.inspector h2{font-family:'Instrument Serif',Georgia,serif;font-weight:400;font-size:34px;margin:15px 0 3px}.inspector p{font-size:10px;color:#95b6ad;margin:0 0 17px}.trait-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.trait-grid span{font-size:8px;color:#91aaa1}.trait-grid strong{display:block;font-size:17px;font-weight:400;color:#dbedd9;margin-top:4px}.inspector p.inspector-foot{font-family:'Instrument Serif',Georgia,serif;font-size:13px;font-style:italic;margin:20px 0 0}#toast{position:fixed;z-index:10;left:50%;top:100px;transform:translate(-50%,-12px);max-width:calc(100% - 30px);text-align:center;border:1px solid #b8e8e437;padding:12px 21px;border-radius:30px;background:#102a33e8;backdrop-filter:blur(18px);font-size:11px;color:#d3f5db;opacity:0;pointer-events:none;transition:.25s}#toast.visible{opacity:1;transform:translate(-50%,0)}
@media(min-width:1600px){.intro{left:6.5%}.world-card{right:5%;width:248px;padding:24px}.stats{gap:22px;font-size:10px}.topbar{left:4%;right:4%}footer{left:4%;right:4%}}
@media(max-width:1100px){.stats-extra,.crafted{display:none}.world-card{right:25px;width:209px;padding:17px}.intro{left:35px;top:20%}h1{font-size:70px}.intro p{font-size:11px}.topbar{left:25px;right:25px}footer{left:25px;right:25px}.live-tag{font-size:8px;margin-right:10px}.stats{gap:10px}.intro .eyebrow{font-size:7px;gap:7px}}
@media(max-width:760px){.topbar{top:21px;left:21px;right:18px}.brand{font-size:21px;gap:8px}.brand svg{width:28px}.live-tag{display:none}.icon-button{width:34px;height:34px}.top-actions{gap:5px}.intro{left:25px;top:120px;max-width:230px}.eyebrow{font-size:7px!important;letter-spacing:1px!important}.intro .eyebrow{display:none}h1{font-size:60px;margin:0 0 16px;letter-spacing:-1.9px}.intro p{font-size:10px;line-height:1.8}.intro-hint{display:none}.world-card{top:auto;bottom:165px;right:19px;width:175px;padding:13px}.card-top{font-size:6px;letter-spacing:1px;margin-bottom:12px}.orbit-symbol{font-size:19px}.world-card label{font-size:9px}select{font-size:10px}.habitat-note{font-size:12px}.card-divider{margin:12px 0}.species-legend{font-size:7px;gap:8px;margin-bottom:13px}input[type=range]{margin:10px 0 12px}.bloom-button{font-size:10px;padding:7px 8px}.bloom-button kbd{display:none}.bloom-note{display:none}footer{bottom:max(16px,env(safe-area-inset-bottom));left:17px;right:17px;height:65px}.play-dock{bottom:0}.tool{width:53px;height:47px}.dock-divider{margin:0 6px}.transport,.speed{min-width:28px;width:28px}.stats{position:absolute;bottom:87px;left:4px;font-size:8px;gap:12px}.footer-right{position:absolute;bottom:87px;right:0;font-size:7px}.footer-right button{font-size:19px;margin:0}.footer-separator{margin:0 2px}.center-hint{bottom:135px;font-size:9px}.pond-menu{top:70px;right:18px}.inspector{left:20px;bottom:165px;width:calc(100% - 40px);z-index:4}.inspector h2{margin-top:10px}.trait-grid{grid-template-columns:repeat(4,1fr);gap:8px}.inspector p.inspector-foot{margin-top:13px}#toast{top:80px;font-size:10px}.world-card:has(~.inspector:not([hidden])){opacity:0;pointer-events:none}}
@media(max-width:390px){.brand{font-size:18px}.topbar{left:15px;right:12px}.icon-button{width:31px;height:31px}.intro{left:20px;top:108px}h1{font-size:53px}.world-card{width:163px;right:15px}.tool{width:47px}.dock-divider{margin:0 4px}}
@media(max-height:650px) and (min-width:761px){.intro{top:23%}h1{font-size:58px;margin:16px 0}.intro-hint{margin-top:14px}.world-card{top:20%;padding:15px}.card-top{margin-bottom:12px}.card-divider{margin:12px 0}.species-legend{margin-bottom:15px}.center-hint{bottom:109px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}.intro-hint{display:none}}
