@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--paper:#f8f5ee;--ink:#263c35;--muted:#899086;--line:#e5e6dc;--green:#52775b;--orange:#b86d44}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:13px}button,a,input{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit;border:0;background:none}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #c68559;outline-offset:3px}header{height:80px;display:flex;align-items:center;padding:0 32px;border-bottom:1px solid var(--line);gap:50px}.brand{text-decoration:none;color:var(--ink);font-family:Manrope,sans-serif;font-size:27px;font-weight:800;letter-spacing:-1.4px;display:flex;align-items:center;position:relative;white-space:nowrap}.brand>span:not(.brand-star){font-weight:400}.brand-star{font-size:42px;margin-right:10px;color:#67836a;line-height:1}.brand small{font-size:7px;letter-spacing:2.2px;position:absolute;top:39px;left:48px;color:#879081}nav{display:flex;align-items:center;gap:26px;height:100%}nav button{height:100%;font-size:12px;position:relative;padding:0 3px;color:#84897f;white-space:nowrap}nav button.active{color:var(--ink)}nav button.active:after{content:'';height:3px;position:absolute;bottom:0;left:0;right:0;background:#67836a}nav button span{padding:2px 6px;background:#e9ede1;font-size:10px;border-radius:4px;margin-left:4px}.live{margin-left:auto;color:#848b80;font-size:11px}.live i,.presence i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#789571;margin-right:6px}main{height:calc(100vh - 80px);min-height:700px;display:grid;grid-template-columns:minmax(0,1fr) 345px}.world{position:relative;overflow:hidden;background:#e7eadd}#town{display:block;width:100%;height:100%;touch-action:none}.world-title{pointer-events:none;position:absolute;left:42px;top:35px}.eyebrow{font-size:8px;letter-spacing:1.7px;font-weight:700;color:#7b8b77}.world-title h1{font-family:Manrope,sans-serif;font-weight:500;letter-spacing:-2.7px;font-size:49px;line-height:1.1;margin:17px 0 14px}.world-title em{font-family:Georgia,serif;color:#6f8967;font-weight:400}.world-title p{font-size:11px;line-height:1.8;color:#7c8d7d}.day-pill{position:absolute;right:25px;top:30px;display:flex;align-items:center;gap:12px;padding:12px 17px;background:#fbfaf0d9;border:1px solid #fff9;border-radius:11px;box-shadow:0 4px 16px #42504406}.day-pill>span{font-size:26px;color:#b59453}.day-pill strong{font-size:11px;font-weight:600}.day-pill small{display:block;font-size:9px;color:#8b9486;margin-top:4px}.map-label{position:absolute;left:35px;bottom:95px;font-size:8px;letter-spacing:2px;color:#80907b}.map-label span{display:block;font-size:7px;margin-top:7px;color:#a2ac98}.world-bottom{position:absolute;bottom:25px;left:25px;right:25px;display:flex;align-items:center;justify-content:space-between;gap:10px}.view-controls{display:flex;align-items:center;background:#fbfaf3eb;border:1px solid #ffffffa8;border-radius:10px;padding:5px;box-shadow:0 5px 20px #4055400b}.view-controls button{width:33px;height:30px;font-size:12px;border-radius:6px}.view-controls button.selected{background:#e5eadb;color:#4f7052}.view-controls button:hover{background:#edf0e4}.divider{height:18px;width:1px;background:#dfe3d7;margin:0 4px}.hint{font-size:9px;color:#819078;text-align:center}aside{background:var(--paper);overflow:auto;border-left:1px solid #dfe3d6;scrollbar-width:thin;scrollbar-color:#d9dece transparent}aside>section{padding:23px 25px;border-bottom:1px solid var(--line)}.section-kicker{display:flex;justify-content:space-between;align-items:center;font-size:8px;letter-spacing:1.4px;color:#8d9388}.prototype{font-size:6px;letter-spacing:.7px;border:1px solid #dce2d4;border-radius:4px;padding:4px 5px;color:#8c967f}.caretaker-heading{display:flex;gap:13px;align-items:center;margin-top:20px}.astra-avatar{width:48px;height:48px;border-radius:14px;background:#e4ebd9;color:#68875b;display:grid;place-items:center;font-size:42px;box-shadow:inset 0 0 0 1px #d6dfca}.caretaker h2{font-family:Manrope,sans-serif;font-size:22px;margin:0 0 5px;letter-spacing:-.7px}.presence{font-size:9px;color:#819177}.presence i{width:4px;height:4px}.caretaker p{font-family:Georgia,serif;font-style:italic;font-size:15px;line-height:1.65;margin:18px 0;color:#68775f}.caretaker-meta{display:flex;justify-content:space-between;align-items:center}.caretaker-meta>span{font-size:7px;letter-spacing:1px;color:#9a9f91}.caretaker-meta button{font-size:9px;color:#7b8971;padding:0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.section-heading h3{margin:0;font-size:12px;font-weight:600;letter-spacing:-.15px}.section-heading>span,.section-heading>button{font-size:9px;color:#8d9586}.happiness{display:flex;gap:12px;align-items:center;margin:18px 0}.happiness>strong{font:500 38px Manrope,sans-serif;letter-spacing:-2px}.happiness>strong span{font-size:17px;color:#8a977f;letter-spacing:0;margin-left:2px}.happiness b{display:block;font-size:10px;font-weight:500}.happiness small{display:block;font-size:8px;color:#9aa08f;margin-top:4px}.smile{font-size:35px;width:38px;height:38px;border:1px solid #a2b392;border-radius:50%;margin-left:auto;color:#91a080;line-height:20px;text-align:center}.stat-bars>div{position:relative;margin:13px 0}.stat-bars span{font-size:10px;color:#7b8873}.stat-bars b{float:right;font-size:9px;font-weight:400;color:#859277}.bar{height:4px;background:#e7e8dc;border-radius:9px;margin-top:8px;overflow:hidden}.bar i{display:block;height:100%;background:#9baa83;transition:width 1s;width:70%;border-radius:9px}.stat-bars>div:first-child .bar i{background:#c3a37d}.stat-bars>div:last-child .bar i{background:#a3ada1}.resources{display:flex;justify-content:space-between;border-top:1px dashed #dfe3d4;padding-top:14px;margin-top:18px;font-size:9px;color:#8e9583}.resources b{font-size:12px;font-weight:500;color:#526549;margin-right:3px}.thinking-dot{width:6px;height:6px;background:#9daf84;border-radius:50%;box-shadow:0 0 0 4px #edf0e5}.project-card{background:#eef0e4;border:1px solid #e1e6d4;border-radius:9px;margin-top:14px;padding:14px}.project-card .project-type{font-size:7px;letter-spacing:1.3px;color:#8b987d}.project-card h4{font-size:13px;font-weight:550;margin:7px 0}.project-card p{font-size:10px;line-height:1.65;color:#8b967f;margin:0 0 10px}.cost{font-size:8px;color:#7f8d72;display:flex;gap:13px}.progress{height:4px;background:#dce3cf;border-radius:3px;margin-top:12px;overflow:hidden}.progress i{height:100%;background:#91a376;display:block;transition:width .3s}.primary{display:flex;justify-content:space-between;align-items:center;background:#55715a;color:#fff;width:100%;padding:12px 14px;border-radius:7px;font-size:10px;margin-top:12px}.primary:hover{background:#46624b}.primary:disabled{opacity:.5;cursor:default}.autonomy{display:flex;align-items:center;gap:7px;font-size:8px;color:#8c9682;margin-top:12px;cursor:pointer}.autonomy input{accent-color:#6b8661;width:12px;height:12px;margin:0}.journal-entry{display:flex;gap:10px;margin-top:17px}.entry-icon{width:26px;height:26px;background:#ebe9dc;border-radius:8px;display:grid;place-items:center;font-size:13px;flex-shrink:0}.entry-copy p{font-size:10px;line-height:1.6;color:#7d8975;margin:0}.entry-copy time{font-size:8px;color:#adb39f;margin-top:3px;display:block}footer{font:italic 11px Georgia,serif;color:#929b85;text-align:center;padding:22px 10px;line-height:1.8}footer span{font:8px 'DM Sans',sans-serif;color:#adb39f}.toast{position:absolute;bottom:84px;left:50%;transform:translateX(-50%) translateY(15px);opacity:0;transition:.3s;pointer-events:none;background:#fdfbf1ed;box-shadow:0 5px 30px #33452b18;border:1px solid #fff;border-radius:12px;padding:13px 20px;font-size:11px;color:#58714d;max-width:85%;text-align:center}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.selection{position:absolute;left:25px;bottom:85px;background:#fcfaf2f5;border:1px solid #fff;border-radius:12px;width:235px;padding:17px;box-shadow:0 8px 30px #3445281c}.selection h3{margin:0 0 4px;font-size:17px}.selection p{font-size:11px;line-height:1.6;color:#859077;margin:9px 0}.selection .close{position:absolute;right:9px;top:7px;font-size:20px}.selection small{font-size:9px;color:#8c967f}.mini-needs{display:flex;gap:12px;font-size:10px;margin-top:10px}.overlay{position:absolute;inset:18px;background:#faf8f0f5;backdrop-filter:blur(18px);border:1px solid white;border-radius:18px;padding:30px;overflow:auto;box-shadow:0 15px 50px #40533315}.overlay-head{display:flex;justify-content:space-between;align-items:flex-start}.overlay-head h2{font:500 32px Manrope,sans-serif;letter-spacing:-1.4px;margin:10px 0 25px}.overlay-head button,.dialog-close{font-size:28px;color:#8c987e}.resident-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.resident-card{text-align:left;border:1px solid #e0e5d5;border-radius:12px;padding:18px;background:#f3f4e9}.resident-card:hover{background:#e9efde}.resident-card .portrait{width:43px;height:43px;border-radius:50%;display:grid;place-items:center;font-size:21px;margin-bottom:13px}.resident-card h3{margin:0 0 4px;font-size:14px}.resident-card small{font-size:9px;color:#88947b}.resident-card p{font-size:10px;color:#869178;line-height:1.6;margin-bottom:0}dialog{max-width:490px;border:1px solid #e0e6d5;background:#faf8ef;border-radius:18px;padding:35px;color:var(--ink);box-shadow:0 25px 100px #23342040}dialog::backdrop{background:#34472c66;backdrop-filter:blur(4px)}dialog h2{font:500 29px Manrope,sans-serif;letter-spacing:-1px}dialog p{font-size:13px;line-height:1.8;color:#7a8770}.dialog-close{position:absolute;right:14px;top:9px}.reset{font-size:11px;padding:10px 14px;border:1px solid #cdbba5;border-radius:7px;color:#9b765b;margin-top:10px}[hidden]{display:none!important}@media(min-width:1600px){main{grid-template-columns:minmax(0,1fr) 380px}aside>section{padding:27px 30px}.world-title h1{font-size:62px}.world-title{top:45px;left:50px}}@media(max-width:1050px){header{gap:25px;padding:0 20px}.live{display:none}main{grid-template-columns:minmax(0,1fr) 300px}.world-title{left:25px}.world-title h1{font-size:39px}.world-title p{font-size:10px}.day-pill{right:15px;padding:10px;top:25px}.hint{display:none}aside>section{padding:20px}.resident-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:720px){header{height:72px;justify-content:space-between;padding:0 15px;gap:14px}.brand{font-size:23px}.brand-star{font-size:33px;margin-right:6px}.brand small{font-size:5px;left:39px;top:32px}nav{gap:13px}nav button{font-size:10px}nav button span{display:none}main{display:flex;flex-direction:column;height:auto;min-height:0}.world{height:650px;min-height:70vh}.world-title{top:25px;left:23px}.world-title h1{font-size:39px}.eyebrow{font-size:6px}.world-title p{font-size:10px}.day-pill{top:24px;right:15px;padding:8px;gap:6px}.day-pill>span{font-size:20px}.day-pill strong{font-size:9px}.day-pill small{font-size:7px}aside{overflow:visible;border-left:0}.caretaker{display:block}.world-bottom{left:15px;right:15px;bottom:18px}.map-label{left:20px;bottom:85px}.view-controls button{width:29px}.overlay{inset:10px;padding:20px}.overlay-head h2{font-size:27px}.resident-card{padding:12px}aside>section{padding:25px}.stat-bars{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.happiness{max-width:300px}.resources{justify-content:flex-start;gap:35px}footer{padding:20px}}

/* Town life: quiet details, never competing with the little world. */
.town-moment{position:absolute;right:25px;bottom:87px;max-width:255px;display:flex;align-items:center;gap:10px;padding:12px 15px;background:#fcfaf1c9;backdrop-filter:blur(12px);border:1px solid #ffffffa1;border-radius:12px;box-shadow:0 5px 25px #52683f08;pointer-events:none}.moment-spark{color:#ad9670;font-size:23px}.town-moment b{display:block;color:#7c8b6c;font-size:7px;text-transform:uppercase;letter-spacing:1.4px;font-weight:600}.town-moment small{display:block;color:#728166;font-size:10px;line-height:1.5;margin-top:4px}.season-note{position:absolute;left:42px;top:258px;font-size:7px;letter-spacing:1.8px;color:#92a084;display:flex;gap:8px;align-items:center;pointer-events:none}.season-note span{font-size:17px;color:#a8b393}.hover-label{position:absolute;pointer-events:none;z-index:5;background:#fcfaf1ed;color:#617554;box-shadow:0 4px 18px #41582e16;border:1px solid #fff9;padding:8px 12px;border-radius:8px;font-size:10px;white-space:nowrap;transform:translate(-50%,-100%)}.resident-card{transition:transform .2s,background .2s,box-shadow .2s}.resident-card:hover{transform:translateY(-3px);box-shadow:0 7px 15px #4a623a0b}.primary{transition:background .2s,transform .2s}.primary:active{transform:scale(.985)}.view-controls button{transition:background .2s}.astra-avatar{position:relative}.astra-avatar:after{content:'';position:absolute;inset:-5px;border:1px solid #a3b78b33;border-radius:18px;animation:breathe 5s ease-in-out infinite}.presence i{box-shadow:0 0 0 3px #8da67a10}.selection{animation:arrive .22s ease-out}.selection .mini-needs{padding-top:10px;border-top:1px solid #e4e8d7}.overlay{animation:arrive .22s ease-out}.journal-entry:first-child .entry-icon{background:#e2e9d7}@keyframes arrive{from{opacity:0;translate:0 7px}to{opacity:1;translate:0 0}}@keyframes breathe{50%{inset:-8px;opacity:.35}}@media(min-width:1600px){.season-note{top:308px;left:50px}}@media(max-width:1050px){.season-note{left:25px;top:235px}.town-moment{max-width:215px;right:20px}}@media(max-width:720px){.town-moment{bottom:85px;right:15px;max-width:190px;padding:9px 11px}.town-moment small{font-size:9px}.season-note{left:23px;top:218px}.map-label{max-width:105px;line-height:1.7}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

/* Greenwater Valley: sunlit, colorful, and continuous beyond the town. */
:root{--ink:#183f37;--green:#247f69;--muted:#66836f;--line:#e1e6d6}.world{background:#9cc866}.world-title h1{color:#174c46;text-shadow:0 2px 20px #e8f5d550}.world-title em{color:#167c68}.world-title p{color:#305f54}.world-title .eyebrow{color:#326d65}.season-note{color:#3f7155}.season-note span{color:#d48248}.map-label{color:#386442;text-shadow:0 1px 5px #d8e9ab}.map-label span{color:#4d7950}.hint{color:#365f43;background:#e8f1caad;border-radius:20px;padding:7px 10px}.brand-star{color:#28826d}.astra-avatar{background:#cdebd1;color:#23836a;box-shadow:inset 0 0 0 1px #a9d8b7}.primary{background:#247f69}.primary:hover{background:#196d58}.stat-bars>div:first-child .bar i{background:#d9a04a}.stat-bars>div:nth-child(2) .bar i{background:#629a75}.stat-bars>div:last-child .bar i{background:#987cad}.project-card{background:#eaf0dc;border-color:#d4e2bf}.presence{color:#4e8866}.presence i{background:#3d9b6d}.caretaker p{color:#4d7157}.view-controls{border-color:#fff8;box-shadow:0 5px 25px #234c2920}.town-moment{background:#fff9e8df;border-color:#fff9}.day-pill{background:#fff9e9e8}.wellbeing .smile{color:#528e64;border-color:#73a66e}
.world-title{top:24px}.world-title h1{font-size:38px;line-height:1.05;letter-spacing:-1.8px;margin:13px 0 11px}.world-title p{font-size:10px;line-height:1.65;max-width:260px;color:#164d40;text-shadow:0 1px 5px #dceec280}.world-title .eyebrow{font-size:7px}.season-note{top:209px;color:#305f40}.world-title h1{text-shadow:0 1px 12px #d9efd478}.world-title em{color:#115f50}@media(min-width:1600px){.world-title h1{font-size:48px}.world-title{top:30px}.season-note{top:250px}}@media(max-width:720px){.world-title h1{font-size:30px}.world-title p{max-width:190px;font-size:9px}.world-title .eyebrow{max-width:185px;line-height:1.5;font-size:6px}.season-note{top:190px}}
@media(min-width:721px){main{min-height:0}.world{min-height:0}.world-title p{display:none}.season-note{top:155px}.world-title h1{font-size:36px}.world-title .eyebrow{font-size:6px}}
.scene-loading{position:absolute;inset:0;z-index:20;background:#e1ead3;display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:Manrope,sans-serif;font-size:22px;gap:14px;color:#286b55}.scene-loading>span{font-size:55px;animation:breathe 3s infinite}.scene-loading small{font:11px 'DM Sans',sans-serif;color:#789177}.resident-bubble-3d{position:absolute;pointer-events:none;transform:translate(-50%,-100%);background:#fff9e8ed;border:1px solid #fffc;box-shadow:0 4px 12px #234c2517;border-radius:9px;padding:7px 11px;font-size:10px;color:#64794f;white-space:nowrap}.resident-bubble-3d:after{content:'';position:absolute;left:50%;bottom:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #fff9e8}.world-title{text-shadow:0 1px 8px #eff8db88}.world-title h1{font-size:34px}.season-note{top:150px}.world-title .eyebrow{font-size:6px}

body.landing-preview header,body.landing-preview aside,body.landing-preview .world-title,body.landing-preview .day-pill,body.landing-preview .world-bottom,body.landing-preview .map-label,body.landing-preview .town-moment,body.landing-preview .season-note,body.landing-preview .resident-bubble-3d{display:none!important}body.landing-preview main{height:100vh;min-height:0;display:block}body.landing-preview .world{width:100%;height:100vh;border-radius:0}
