:root{color:#34423a;font-synthesis:none;--paper:#f7f5ec;--ink:#34423a;--moss:#486750;--muted:#72786a;--line:#dddfd1;--sage:#e9eddf;--serif:"Iowan Old Style","Palatino Linotype","Book Antiqua",Palatino,Georgia,serif;background:#f7f5ec;font-family:Avenir Next,Avenir,Segoe UI,sans-serif;font-weight:400}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select{font:inherit}button,a,input,select,summary{touch-action:manipulation}button{color:inherit;cursor:pointer}button:disabled{cursor:wait;opacity:.52}button,select,input{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible,canvas:focus-visible{outline-offset:4px;outline:3px solid #be6b48}button{border:0}a{color:inherit}svg{flex-shrink:0;width:21px;height:21px}p,h1,h2,h3{margin:0}h1,h2,h3{font-weight:400}h1,h2{font-family:var(--serif)}button{background:0 0}em{font-weight:400}select,input{color:var(--ink);background:#fcfbf7;border:1px solid #ced2c4;border-radius:5px;max-width:100%;min-height:44px;padding:9px 12px}label{font-size:12px;font-weight:500;display:block}select{cursor:pointer}meter{accent-color:#83986b}dialog{color:var(--ink);background:var(--paper);border:1px solid #d6dbcd;border-radius:6px;max-width:calc(100vw - 32px);max-height:90dvh;padding:56px;box-shadow:0 25px 90px #16352d30}dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#172e2d66}[hidden]{display:none!important}.eyebrow{letter-spacing:1.8px;color:#69715e;font-size:10px;font-weight:600;line-height:1.6}.button{border-radius:5px;justify-content:center;align-items:center;gap:18px;min-height:44px;padding:12px 19px;font-size:13px;font-weight:500;transition:background .2s,transform .2s;display:inline-flex}.button svg{width:18px}.primary{color:#fcfcf3;background:var(--moss)}.primary:hover:not(:disabled){background:#35523e;transform:translateY(-1px)}.secondary{border:1px solid var(--line);background:#eff0e5}.icon-button:hover{color:#b46643;background:#eeeede}.icon-button{border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;font-size:24px;line-height:1;display:inline-flex}.form-message{color:#97563c;min-height:35px;font-size:12px;line-height:1.6}.boot-screen{min-height:100dvh;color:var(--moss);font-family:var(--serif);flex-direction:column;justify-content:center;align-items:center;gap:16px;font-size:22px;display:flex}.entry-page{background:radial-gradient(ellipse at 10% 65%,#e6ecd870,transparent 50%),radial-gradient(ellipse at 85% 10%,#eddfc840,transparent 45%),var(--paper);flex-direction:column;justify-content:center;align-items:center;min-height:100dvh;padding:35px 24px 20px;display:flex}.entry-monogram{letter-spacing:2.3px;color:#728066;align-items:center;gap:12px;margin-bottom:36px;font-size:9px;display:flex}.entry-monogram svg{width:27px;height:27px}.entry-card{background:#fcfaf2;border:1px solid #d9ddcc;width:100%;max-width:540px;padding:58px 64px 27px;position:relative;box-shadow:0 14px 50px #5262470a}.entry-card:before{content:"";pointer-events:none;border:1px solid #e7e7d9;position:absolute;inset:7px}.letter-stamp{outline-offset:4px;width:46px;height:61px;font-family:var(--serif);color:#789067;border:1px solid #b4bd9f;outline:1px dashed #b4bd9f;flex-direction:column;justify-content:center;align-items:center;font-size:30px;display:flex;position:absolute;top:30px;right:29px;transform:rotate(6deg)}.letter-stamp span{letter-spacing:1px;font-family:inherit;font-size:6px}.entry-card .eyebrow{letter-spacing:1.5px;max-width:240px;margin-bottom:28px;font-size:8px}.entry-card h1{letter-spacing:-2.5px;color:#3b5140;font-size:68px;line-height:1.03}.entry-card h1 em{color:#758460}.entry-intro{font-family:var(--serif);color:#79806c;margin:25px 0 29px;font-size:18px;line-height:1.65}.entry-card form label{margin-bottom:9px}.entry-card input{background:#f8f7ef;width:100%;min-height:46px;font-size:13px;display:block}.entry-card input::placeholder{color:#959a89}.entry-submit{justify-content:space-between;width:100%;margin:13px 0 9px}.entry-footnote{font-family:var(--serif);color:#777f6c;border-top:1px solid #e3e5d8;justify-content:center;align-items:center;gap:10px;padding-top:20px;font-size:12px;font-style:italic;display:flex}.entry-footnote svg{width:18px;height:18px}.entry-footer{letter-spacing:1.7px;color:#808574;margin-top:30px;font-size:8px}.entry-footer span{margin:0 8px}.pixel-portrait{width:49px;height:55px;image-rendering:pixelated;background:#e3e7d6;border-radius:4px;flex-shrink:0;position:relative;overflow:hidden}.pixel-body{width:12px;height:13px;box-shadow:-3px -3px 0 #5b5341,0 -6px 0 #5b5341,6px -6px 0 #5b5341,9px -3px 0 #5b5341,-3px 0 0 #5b5341,3px 14px 0 var(--person-color),-3px 14px 0 var(--person-color),0 20px 0 var(--person-color),6px 20px 0 var(--person-color),-6px 14px 0 var(--person-color),9px 14px 0 var(--person-color),-3px 27px 0 #667053,6px 27px 0 #667053;background:#d9b58c;position:absolute;top:17px;left:19px}.portrait-i .pixel-body{box-shadow:-3px -3px 0 #493e37,0 -6px 0 #493e37,6px -6px 0 #493e37,9px -3px 0 #493e37,-3px 0 0 #493e37,9px 3px 0 #493e37,9px 9px 0 #493e37,3px 14px 0 var(--person-color),-3px 14px 0 var(--person-color),0 20px 0 var(--person-color),6px 20px 0 var(--person-color),-6px 20px 0 var(--person-color),9px 20px 0 var(--person-color)}.target-line{color:#8a8d79;margin:10px 0;font-size:9px}.target-line strong{color:#69785a;font-weight:400}#gesture-send{justify-content:space-between;width:100%;min-height:43px;font-size:11px}#memory-choice{margin-top:14px}#memory-choice label{margin-bottom:7px;font-size:10px}#memory-choice select{width:100%;font-size:10px}.memory-preview{color:#7a846d;border-left:2px solid #b2bc9c;margin-top:8px;padding:8px;font-size:9px;line-height:1.7}.chronicle-event{border-bottom:1px solid #e0e4d5;padding:17px 0 20px}.event-label{color:#768369;justify-content:space-between;align-items:center;gap:10px;font-size:8px;display:flex}.event-label>span:first-child{text-transform:uppercase;letter-spacing:1px}.event-label>span:last-child{white-space:nowrap;color:#87907a;font-size:7px}.chronicle-event>p{font-family:var(--serif);color:#66745b;margin-top:11px;font-size:14px;line-height:1.6}.event-tick{letter-spacing:.2px;color:#959b87;margin-top:12px;font-size:7px;display:block}.event-cause{color:#879078;margin-top:12px;font-size:11px;line-height:1.8}.event-cause strong{color:#677b59;font-weight:500}.quiet-event{font-family:var(--serif);color:#8c937c;grid-column:1/-1;padding:20px 0;font-size:15px;font-style:italic}.letter-dialog{width:550px;padding:53px 55px 42px}.dialog-close{color:#8b947b;font-size:25px;position:absolute;top:12px;right:13px}.letter-index{color:#929a80;letter-spacing:2px;font-size:8px}.letter-flower{color:#81936a;margin:30px 0 21px}.letter-flower svg{width:41px;height:41px}.letter-dialog .eyebrow{letter-spacing:1.3px;font-size:7px;line-height:1.9}.letter-dialog h2{letter-spacing:-1.5px;color:#4a6047;margin-top:15px;font-size:48px}.letter-dialog h2 em{color:#86916e}.letter-dialog blockquote{font-family:var(--serif);color:#687859;margin:25px 0;font-size:24px;line-height:1.55}.letter-note{color:#8a907b;max-width:360px;font-size:11px;line-height:1.9}.letter-signature{font-family:var(--serif);color:#7f8f6c;margin:26px 0;font-size:17px;font-style:italic;line-height:1.8}.letter-dialog .button{justify-content:space-between;width:100%}.chronicle-dialog{width:630px;padding:45px}.chronicle-dialog>.eyebrow{margin-bottom:14px;font-size:8px}.chronicle-dialog h2{letter-spacing:-1px;color:#52664b;font-size:37px}.journal-intro{color:#869075;margin:15px 0 18px;font-size:11px;line-height:1.8}.chronicle-dialog .chronicle-event>p{font-size:17px;line-height:1.7}@media (max-width:1150px){.event-label{flex-direction:column;align-items:start;gap:5px}}@media (max-width:860px){.chronicle-event>p{font-size:13px}}@media (max-width:600px){.target-line{margin:12px 0;font-size:10px}#gesture-send{min-height:46px;font-size:12px}.event-label{flex-direction:row;align-items:center;font-size:8px}.event-label>span:last-child{font-size:7px}.chronicle-event>p{font-size:15px}.event-tick{margin-top:11px;font-size:8px}.letter-dialog{padding:38px 27px 28px}.letter-dialog h2{font-size:41px}.letter-dialog blockquote{margin:20px 0;font-size:22px;line-height:1.5}.letter-flower{margin:20px 0 18px}.letter-flower svg{width:33px;height:33px}.letter-note{font-size:10px}.letter-signature{margin:20px 0;font-size:15px}.chronicle-dialog{padding:40px 24px 25px}.chronicle-dialog h2{font-size:31px}.chronicle-dialog .chronicle-event>p{font-size:16px}.entry-page{padding:23px 20px 18px}.entry-monogram{letter-spacing:1.7px;gap:9px;margin-bottom:25px;font-size:7px}.entry-monogram svg{width:21px;height:21px}.entry-card{padding:45px 29px 23px}.entry-card .eyebrow{letter-spacing:1.2px;max-width:183px;margin-bottom:29px;font-size:6px}.entry-card h1{letter-spacing:-2px;font-size:57px}.entry-intro{margin:23px 0;font-size:17px}.letter-stamp{width:35px;height:48px;font-size:25px;top:25px;right:21px}.letter-stamp span{font-size:5px}.entry-footnote{gap:8px;font-size:10px}.entry-footnote svg{width:15px;height:15px}.entry-footer{letter-spacing:1.4px;margin-top:23px;font-size:6px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}.primary:hover:not(:disabled){transform:none}}.target-line{color:#67755b;font-size:12px}#gesture-send{min-height:44px;font-size:12px}#memory-choice label,#memory-choice select{font-size:11px}.memory-preview{color:#607151;font-size:11px}.event-label{color:#607151;font-size:10px}.event-label>span:last-child{color:#637554;font-size:9px}.event-tick{color:#6a775f;font-size:10px}.chronicle-event>p{font-size:15px}.letter-dialog .eyebrow{color:#677658;font-size:9px}.letter-note{color:#627354;font-size:12px}.letter-index{color:#6a785b;font-size:10px}.entry-card .eyebrow{color:#667656;max-width:260px;font-size:9px}.entry-footnote{color:#637456;font-size:12px}.entry-footer{color:#657657;font-size:9px}.entry-monogram{color:#5f7351;font-size:10px}.chronicle-dialog .event-label{font-size:10px}.chronicle-dialog .event-label>span:last-child{font-size:9px}.journal-intro{color:#617551;font-size:12px}.event-cause{color:#69785c;font-size:12px}@media (max-width:600px){.entry-card .eyebrow{max-width:180px;font-size:8px}.entry-monogram,.entry-footer{font-size:8px}.entry-footnote{font-size:11px}}.game-drawer,.game-clock{contain:layout paint style}#person-primary{border-top:0;margin:0 0 17px;padding:0}:is(html:has(.game-shell),body:has(.game-shell)){overscroll-behavior:none;width:100%;height:100%;overflow:hidden}.game-shell{color:#354831;isolation:isolate;background:#425f50;width:100dvw;height:100dvh;position:fixed;inset:0;overflow:hidden}.game-shell #landscape{touch-action:none;width:100%;height:100%;image-rendering:pixelated;outline-offset:-5px;display:block;position:absolute;inset:0}.game-shell.direct-mode #landscape{cursor:crosshair!important}.hud-surface{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#f4f4e7f2;border:1px solid #e3e9cf85;border-radius:9px;box-shadow:0 4px 22px #12251b24,inset 0 1px #fff8}.game-top{top:max(18px,env(safe-area-inset-top));pointer-events:none;z-index:10;justify-content:space-between;align-items:start;gap:18px;display:flex;position:absolute;left:18px;right:18px}.game-top>*{pointer-events:auto}.game-brand{text-align:left;color:#dfe8cc;background:#263e33ed;border-color:#7d95745c;align-items:center;gap:12px;min-height:67px;padding:13px 18px;display:flex}.game-brand>svg{color:#a6bd82;width:27px;height:30px}.game-brand>span{font-family:var(--serif);white-space:nowrap;font-size:24px;line-height:1.1}.game-brand em{color:#b7c890}.game-brand small{letter-spacing:2.4px;color:#b2c09b;margin-top:9px;font-family:inherit;font-size:8px;display:block}.game-clock{color:#506648;align-items:center;gap:13px;min-height:62px;padding:11px 17px;display:flex;position:absolute;left:50%;transform:translate(-50%)}.clock-sun{color:#928c53;font-family:Georgia,serif;font-size:35px}.game-clock>div{flex-direction:column;gap:5px;display:flex}.game-clock strong{font-family:var(--serif);white-space:nowrap;font-size:20px;font-weight:400}.game-clock>div>span{white-space:nowrap;color:#697a5c;font-size:10px}.clock-line{background:#ccd7b8;width:1px;height:27px}.connection-label{white-space:nowrap;align-items:center;gap:6px;font-size:10px;display:flex}.connection-label:before{content:"";background:#af804d;border-radius:50%;width:5px;height:5px}.connection-label[data-live=true]:before{background:#739652}.game-actions{align-items:center;min-height:54px;padding:4px;display:flex}.game-shell .icon-button{border-radius:5px;min-width:44px;min-height:44px}.game-shell .icon-button:hover{color:#3e6138;background:#e2e9d1}.game-actions svg{width:18px;height:18px}.logout{font-family:Georgia,serif;font-size:25px!important}.role-button{width:44px;height:44px;font-family:var(--serif);border-radius:5px;justify-content:center;align-items:center;font-size:22px;display:flex}.role-s{color:#95652c;background:#edddba}.role-i{color:#9d6150;background:#eed5c7}.role-button:hover{filter:brightness(.95)}.game-drawer{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:15;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b5c2a0 transparent;touch-action:pan-y;background:#f5f5e9f7;border:1px solid #dfe7d0cf;border-radius:10px;width:300px;max-height:calc(100dvh - 228px);padding:18px 19px 20px;position:absolute;overflow:auto;box-shadow:0 10px 36px #14271933}.game-drawer>header{justify-content:space-between;align-items:start;gap:10px;margin-bottom:16px;display:flex}.game-drawer>header .eyebrow{letter-spacing:1.3px;color:#6b7c5e;margin-bottom:7px;font-size:8px}.game-drawer h2{letter-spacing:-.7px;font-size:27px;line-height:1.15}.game-drawer>header>.icon-button{color:#7e8c6b;margin:-7px -9px 0 0;font-size:25px}.game-drawer label{color:#667958;margin:13px 0 0;font-size:11px;line-height:1.6}.game-drawer input,.game-drawer select{background:#fafaf1;border-color:#d5dec6;width:100%;min-height:44px;margin-top:6px;font-size:12px;display:block}.game-drawer .button{gap:8px;min-height:44px;font-size:12px}.game-drawer .button svg{width:17px;height:17px}.population-drawer{top:109px;left:86px}.inspector-drawer{top:109px;right:18px}.layer-drawer{top:109px;left:86px}.tool-drawer{width:335px;max-height:calc(100dvh - 220px);bottom:113px;left:50%;transform:translate(-50%)}.population-drawer h2>span{color:#849670;margin-left:6px;font-family:inherit;font-size:16px}.search-label{margin-top:0!important}.population-list{flex-direction:column;gap:4px;margin:14px -6px 0;display:flex}.population-person{text-align:left;border-radius:6px;align-items:center;gap:10px;width:100%;min-height:60px;padding:9px 8px;display:flex}.population-person:hover{background:#e9eeda}.population-person[aria-pressed=true]{background:#e1e9d1;box-shadow:inset 2px 0 #829b5b}.person-avatar{width:34px;height:39px;font-family:var(--serif);color:#647650;background:#dee5cf;border-radius:5px;flex-shrink:0;justify-content:center;align-items:center;font-size:19px;display:flex}.avatar-s{color:#97622e;background:#eddbb7}.avatar-i{color:#a0604d;background:#efd4c4}.population-person>span:nth-child(2){flex:1;min-width:0}.population-person strong{font-family:var(--serif);margin-bottom:4px;font-size:17px;font-weight:400;display:block}.population-person small{color:#6c7d5d;font-size:10px;line-height:1.5}.population-action>svg{color:#879773;width:15px;height:15px}.drawer-footnote,.drawer-note{color:#687b5b;margin:14px 0 0;font-size:12px;line-height:1.7}.drawer-footnote{border-top:1px solid #dce4cc;margin-top:15px;padding-top:13px;font-size:11px}.game-person-heading{align-items:center;gap:11px;display:flex}.game-person-heading .pixel-portrait{background:#e1e8d2;width:49px;height:57px}.game-person-heading>div:last-child{flex:1;min-width:0}.game-person-heading strong{font-family:var(--serif);color:#536c45;font-size:17px;font-weight:400;line-height:1.3;display:block}.agency-state{color:#6b7f59;margin-top:6px;font-size:10px;line-height:1.5;display:inline-block}.agency-state.is-directed{color:#92652f;background:#eddfbd;border-radius:3px;padding:3px 6px}.game-current-action{color:#637f51;margin-top:17px;font-size:11px;line-height:1.7}.game-current-action>span{color:#819172;margin-left:4px}.game-reason{font-family:var(--serif);color:#4b6441;margin-top:7px;font-size:17px;line-height:1.55}.game-needs{border-top:1px solid #dbe3ca;margin-top:17px;padding-top:13px}.game-needs>h3{color:#637753;margin-bottom:9px;font-family:inherit;font-size:11px;font-weight:500}.game-need{color:#6d7c60;grid-template-columns:66px 1fr 32px;align-items:center;gap:9px;padding:5px 0;font-size:10px;display:grid}.game-need>span:last-child{text-align:right;font-size:10px}.game-need meter{appearance:none;background:#dce4ca;border:0;border-radius:3px;width:100%;height:7px;overflow:hidden}.game-need meter::-webkit-meter-bar{background:#dce4ca;border:0;border-radius:3px}.game-need meter::-webkit-meter-optimum-value{background:#849b63;border-radius:3px}.game-need meter::-moz-meter-bar{background:#849b63;border-radius:3px}.material-pouch{color:#6e805e;align-items:center;gap:10px;padding:12px 0;font-size:10px;display:flex}.material-pouch>span{white-space:nowrap;background:#e9eddc;border-radius:4px;flex:1;align-items:center;gap:5px;padding:7px 8px;display:flex}.material-pouch svg{color:#859772;width:14px;height:14px}.material-pouch strong{color:#4b643f;font-size:12px;font-weight:500}.person-detail{color:#667d54;border-top:1px solid #dce4cb;font-size:11px}.person-detail summary{cursor:pointer;min-height:40px;padding:12px 0}.person-detail summary:hover{color:#385a30}.person-detail>p{color:#6e805d;margin:7px 0 12px;font-size:11px;line-height:1.8}.person-detail>small{margin:5px 0 12px;font-size:9px;line-height:1.7;display:block}.skill-row{justify-content:space-between;margin:5px 0;font-size:11px;line-height:1.9;display:flex}.skill-row strong{font-weight:500}.tile-biome{color:#6a8057;margin-bottom:12px;font-size:12px}.tile-biome>span{color:#829370;font-size:11px}.control-pair{border-top:1px solid #dce4cb;grid-template-columns:1fr 1fr;gap:9px;margin-top:5px;padding-top:15px;display:grid}.control-pair [aria-pressed=true]{color:#fff8e4;background:#b0823e;border-color:#b0823e}.order-grid{grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.order-grid button{color:#607a4d;background:#fbfbf1;border:1px solid #d8e1c7;border-radius:5px;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-height:59px;font-size:10px;display:flex}.order-grid button:hover:not(:disabled){background:#e2ead2;border-color:#adbe94}.order-grid button[data-order=auto]{color:#7e6c3e;background:#ece8d2}.game-shell button:disabled{opacity:.48;cursor:not-allowed}.game-shell button:focus-visible,.game-shell input:focus-visible,.game-shell select:focus-visible,.game-shell summary:focus-visible{outline-offset:2px;outline:3px solid #ca9849}.layer-drawer fieldset{border:1px solid #d8e2c6;border-radius:5px;grid-template-columns:1fr 1fr;gap:8px;margin:17px 0 0;padding:9px;display:grid}.layer-drawer fieldset legend{color:#708460;padding:0 5px;font-size:10px}.layer-drawer fieldset label{margin:0}.layer-drawer fieldset .button{grid-column:1/-1}.tool-drawer>.drawer-note{margin-top:0}.tool-drawer .target-line{color:#738662;margin:17px 0 12px;font-size:11px}.tool-drawer .target-line strong{color:#536f43}.tool-drawer #gesture-send{justify-content:space-between;width:100%}.tool-drawer .memory-preview{background:#eaeddc;border-left:2px solid #a6b88b;padding:9px;font-size:11px;line-height:1.8}.map-hint{letter-spacing:.1px;color:#edf3de;text-shadow:0 1px 3px #102519;z-index:4;white-space:nowrap;pointer-events:none;font-size:10px;position:absolute;bottom:105px;left:50%;transform:translate(-50%)}.camera-controls{z-index:12;padding:5px;display:flex;position:absolute;bottom:18px;right:18px}.camera-controls svg{width:17px;height:17px}.world-coordinates{z-index:10;color:#cfdcc0;background:#2e493bdf;border-color:#81977750;flex-direction:column;gap:5px;padding:10px 13px;display:flex;position:absolute;bottom:18px;left:18px}.world-coordinates>span:first-child{font-family:var(--serif);font-size:15px}.world-coordinates>span:last-child{color:#b3c6a1;font-size:9px}.game-message-stack{z-index:21;pointer-events:none;flex-direction:column;gap:6px;width:min(450px,100vw - 40px);display:flex;position:absolute;bottom:122px;left:50%;transform:translate(-50%)}.game-message-stack>p,.game-notice{color:#547044;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#f4f4e8ed;border:1px solid #dce6c9aa;border-radius:7px;padding:10px 14px;font-size:12px;line-height:1.7;box-shadow:0 3px 15px #17342225}.game-result[data-accepted=pending]{color:#7b673f;background:#eee7cded}.game-result[data-accepted=false],.game-notice{color:#795831;background:#efe2c7f2}.game-message-stack>.mode-indicator{color:#e4ebd0;background:#344f3ff0;border-color:#91a37366;font-size:11px}.game-shell:has(.tool-drawer:not([hidden])) .map-hint{display:none}.return-toast{z-index:18;width:min(420px,100vw - 40px);padding:20px 45px 18px 21px;position:absolute;top:102px;left:50%;transform:translate(-50%)}.return-toast>.icon-button{position:absolute;top:3px;right:3px}.return-toast .eyebrow{letter-spacing:1.1px;margin-bottom:8px;font-size:8px}.return-toast h2{font-size:22px;line-height:1.3}.return-toast ul{font-family:var(--serif);color:#687c56;margin:12px 0 0;padding-left:16px;font-size:13px;line-height:1.6}.game-loading{color:#e0e9c8;font-family:var(--serif);z-index:3;background:#526b51;flex-direction:column;justify-content:center;align-items:center;gap:18px;font-size:22px;display:flex;position:absolute;inset:0}.game-loading svg{width:42px;height:42px}@media (max-width:1100px) and (min-width:761px){.game-brand>span{font-size:20px}.game-brand{padding:13px}.game-clock{gap:9px;padding:10px 13px}.game-clock .clock-sun{display:none}.game-drawer{width:278px}.world-coordinates{max-width:200px}.world-coordinates>span:last-child{font-size:8px}}@media (max-width:760px){.game-top{top:max(12px,env(safe-area-inset-top));gap:8px;left:12px;right:12px}.game-brand{gap:8px;max-width:calc(100% - 140px);min-height:57px;padding:11px 12px}.game-brand>svg{width:21px;height:24px}.game-brand>span{white-space:normal;font-size:18px;line-height:1.14}.game-brand small{letter-spacing:1.5px;white-space:nowrap;margin-top:6px;font-size:6px}.game-actions{flex-shrink:0;min-height:52px;padding:3px}.game-actions .icon-button{width:42px;min-width:42px}.game-actions svg{width:17px;height:17px}.game-clock{background:#f4f5e8ed;gap:9px;min-height:48px;padding:8px 10px;top:73px;left:auto;right:0;transform:none}.game-clock .clock-sun{display:none}.game-clock strong{font-size:17px}.game-clock>div>span{font-size:9px}.game-clock .clock-line{height:25px}.connection-label{font-size:9px}.role-button{font-size:21px}.game-drawer{z-index:18;background:#f5f5eafc;border-radius:12px;width:auto;max-height:min(60dvh,100dvh - 182px);padding:17px 18px 20px;inset:auto 12px 101px;transform:none;box-shadow:0 -8px 45px #203b3245}.game-drawer:before{content:"";background:#c8d4b5;border-radius:2px;width:32px;height:3px;margin:-8px auto 12px;display:block}.game-drawer>header{margin-bottom:15px}.game-drawer h2{font-size:26px}.game-drawer>header .eyebrow{font-size:8px}.game-drawer>header>.icon-button{margin-top:-6px}.game-drawer .drawer-note{font-size:12px}.game-person-heading strong{font-size:18px}.game-reason{font-size:17px}.game-need{grid-template-columns:70px 1fr 34px;font-size:11px}.game-needs>h3{font-size:12px}.agency-state{font-size:11px}.person-detail summary{min-height:44px;font-size:12px}.person-detail>p,.control-help{font-size:12px}.order-grid button{min-height:60px;font-size:11px}.material-pouch{font-size:11px}.material-pouch>span{justify-content:center;padding:9px}.camera-controls{flex-direction:column;padding:3px;bottom:100px;right:12px}.camera-controls>.icon-button{width:44px;height:44px}.world-coordinates{max-width:230px;padding:8px 10px;bottom:100px;left:12px}.world-coordinates>span:first-child{font-size:13px}.world-coordinates>span:last-child{font-size:8px}.map-hint{display:none}.game-message-stack{width:calc(100% - 92px);inset:142px 12px auto auto;transform:none}.game-message-stack>p,.game-notice{padding:9px 11px;font-size:11px}.game-shell:has(.tool-drawer:not([hidden])) .game-message-stack{top:142px}.return-toast{max-width:calc(100% - 92px);padding:16px 38px 16px 16px;top:150px;left:auto;right:12px;transform:none}.return-toast h2{font-size:20px}.return-toast ul{font-size:12px}:is(.game-shell:has(.game-drawer:not([hidden])) .world-coordinates,.game-shell:has(.game-drawer:not([hidden])) .camera-controls){visibility:hidden}.population-person{min-height:61px}.population-person strong{font-size:18px}.population-person small{font-size:11px}.layer-drawer fieldset input{min-width:0}}@media (max-width:370px){.game-brand{gap:7px;padding:10px}.game-brand>span{font-size:16px}.game-brand>svg{display:none}.game-brand small{font-size:5px}.game-drawer{left:9px;right:9px}}@media (prefers-reduced-motion:reduce){.hud-surface,.game-drawer{-webkit-backdrop-filter:none;backdrop-filter:none}.game-shell *{transition:none!important;animation:none!important}}.stats-drawer{flex-direction:column;width:580px;max-width:calc(100vw - 125px);height:calc(100dvh - 227px);padding:20px 22px 0;display:flex;top:109px;left:86px;overflow:hidden}.stats-drawer>header{flex-shrink:0;margin-bottom:17px}.stats-drawer h2{font-size:30px}.stats-tabs{background:#e8eddc;border:1px solid #d9e2c9;border-radius:7px;flex-shrink:0;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;margin-bottom:15px;padding:4px;display:grid}.stats-tabs button{color:#697d59;white-space:normal;overflow-wrap:anywhere;border-radius:4px;min-height:44px;padding:0 3px;font-size:10px}.stats-tabs button[aria-selected=true]{color:#405d34;background:#fdfcf0;box-shadow:0 1px 5px #32462a15}.stats-tabs button:hover{color:#2f5327;background:#f7f8eb80}.technology-capacities meter{appearance:none;background:#dbe4c6;border:0;border-radius:5px;height:8px}.technology-capacities meter::-webkit-meter-bar{background:#dbe4c6;border:0;border-radius:5px;height:6px}.technology-capacities meter::-webkit-meter-optimum-value{background:#91a975;border-radius:5px}.technology-capacities meter::-moz-meter-bar{background:#91a975;border-radius:5px}.technology-intro{padding:14px 0 20px}.technology-intro h3{color:#405d34;margin:5px 0 10px;font-family:Georgia,serif;font-size:29px;font-weight:400}.technology-intro>p:last-child{color:#677655;font-size:13px;line-height:1.7}.technology-recipe summary{display:list-item}.technology-recipe summary>span{float:right;color:#85936e;font:11px system-ui}.technology-materials{color:#6a7556}.process-steps{counter-reset:operation;margin:12px 0;padding:0;list-style:none}.process-steps li{counter-increment:operation;border-bottom:1px solid #dfe5d3;align-items:center;gap:8px;padding:8px 0;font-size:12px;display:flex}.process-steps li:before{content:counter(operation);color:#788c5a;background:#e8e9d4;border-radius:50%;flex-shrink:0;place-items:center;width:22px;height:22px;display:grid}.process-steps small{color:#7a866a;margin-left:auto;font-size:10px}.technology-capacities{gap:7px;margin:12px 0;display:grid}.technology-capacities>span{justify-content:space-between;gap:16px;font-size:12px;display:flex}.technology-capacities meter{accent-color:#8aab67;width:55%}.organization-network{background:#eef0df;border:1px solid #d8dfc7;border-radius:8px;margin:23px 0 0;padding:15px 12px}.organization-network figcaption{color:#4b613c;margin-bottom:12px;font-family:Georgia,serif;font-size:19px}.organization-network svg{width:100%;height:auto;display:block}.process-edge{fill:none;stroke:#849972;stroke-width:1.4px;opacity:.75}.process-edge.is-catalyst{stroke-dasharray:3 3}.process-node rect{fill:#faf8e9;stroke:#cbd4b8}.process-node.is-maintained rect{fill:#e0e9cd;stroke:#829b64}.process-node text{fill:#4c623e;font:9px system-ui}.process-node text.process-flux{fill:#7e8d6c;font-size:8px}.technology-blocker{color:#826537;overflow-wrap:anywhere;background:#eee5cd;border-left:2px solid #bfa270;padding:10px 12px;font-size:12px}#stats-content{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b5c2a0 transparent;outline-offset:-3px;flex:1;min-height:0;margin:0 -2px;padding:0 2px 22px;overflow:auto}.stats-scope{color:#7a8c67;align-items:center;gap:6px;margin:1px 0 13px;font-size:9px;line-height:1.5;display:flex}.scope-dot{background:#91a578;border-radius:50%;flex-shrink:0;width:5px;height:5px}.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.stat-card{background:linear-gradient(130deg,#fcfcf3,#f0f3e6);border:1px solid #dce4cc;border-radius:7px;flex-direction:column;gap:6px;min-width:0;padding:12px 11px 10px;display:flex}.stat-card>span{color:#6e805e;font-size:10px;line-height:1.5}.stat-card>strong{font-family:var(--serif);color:#425f35;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:27px;font-weight:400;line-height:1.18}.stat-card>small{color:#829171;font-size:8px;line-height:1.55}.stats-chart-grid,.stats-two-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:17px;display:grid}.history-chart{background:#e9efdc6b;border:1px solid #dce5cc;border-radius:7px;min-width:0;margin:0;padding:12px 10px 9px}.history-chart figcaption{color:#6e805c;justify-content:space-between;align-items:center;gap:8px;font-size:10px;line-height:1.5;display:flex}.history-chart figcaption>strong{font-family:var(--serif);color:#526f40;white-space:nowrap;font-size:18px;font-weight:400}.history-chart figcaption small{font-family:var(--sans);color:#899778;margin-left:4px;font-size:8px;font-weight:400}.history-chart svg{width:100%;height:83px;margin-top:10px;display:block;overflow:visible}.chart-grid{stroke:#cfdabd;stroke-width:.6px;stroke-dasharray:2 4}.chart-line{stroke:#799751;stroke-width:2.2px;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.chart-point{fill:#4f7637;stroke:#edf3df;stroke-width:2px;vector-effect:non-scaling-stroke}.chart-axis{color:#8a987b;font-variant-numeric:tabular-nums;justify-content:space-between;gap:4px;font-size:8px;line-height:1.7;display:flex}.stats-section{margin-top:22px}.stats-two-columns>.stats-section{margin-top:0}.stats-section-heading{border-bottom:1px solid #dce4cc;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:11px;padding-bottom:9px;display:flex}.stats-section-heading h3{font-family:var(--serif);color:#506b40;font-size:19px;font-weight:400;line-height:1.25}.stats-section-heading>span{color:#859473;text-align:right;font-size:8px;line-height:1.5}.distribution{gap:9px;display:grid}.distribution-row>div{color:#6c805a;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:4px;font-size:10px;display:flex}.distribution-row strong{color:#536d43;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:11px;font-weight:500}.distribution-row small{margin-left:3px;font-size:8px;font-weight:400}.distribution-track{background:#e1e8d3;border-radius:3px;height:5px;display:block;overflow:hidden}.distribution-track>i{background:linear-gradient(90deg,#a8bb8c,#7e9d60);border-radius:3px;height:100%;display:block}.stats-note,.stats-empty{color:#798a67;margin:10px 0 14px;font-size:11px;line-height:1.8}.stats-scope-note{background:#e9eedc70;border-left:2px solid #aabb8e;border-radius:0 4px 4px 0;padding:10px 11px}.stats-empty{color:#89987a;padding:12px 0}.illustrated-empty{text-align:center;font-family:var(--serif);border:1px dashed #c2d0aa;border-radius:8px;margin-top:20px;padding:26px 20px;font-size:17px}.stats-facts,.tile-facts{gap:0;display:grid}.stats-facts>span,.tile-facts>span{color:#74865f;border-bottom:1px dotted #d6e0c6;justify-content:space-between;align-items:baseline;gap:15px;padding:9px 0;font-size:10px;line-height:1.6;display:flex}.stats-facts strong,.tile-facts strong{color:#526e40;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:13px;font-weight:500}.tile-facts{margin:4px 0 14px}.community-card{background:#f9faef;border:1px solid #d8e3c9;border-radius:8px;margin-top:13px;padding:15px 14px}.community-card>header{align-items:center;gap:11px;margin-bottom:8px;display:flex}.community-swatch{border-radius:5px;flex-shrink:0;width:29px;height:35px;box-shadow:inset 0 0 0 1px #56704422}.community-card h3{font-family:var(--serif);color:#4e6b3f;font-size:21px;font-weight:400}.community-card header p{color:#869574;margin-top:4px;font-size:9px;line-height:1.6}.community-members{color:#718561;margin:9px 0 13px;font-size:11px;line-height:1.8}.community-counts{color:#7a8c69;border-block:1px solid #e1e7d6;flex-wrap:wrap;gap:13px;margin:8px 0;padding:10px 0;font-size:10px;display:flex}.community-counts strong{font-family:var(--serif);color:#5a7545;margin-right:4px;font-size:18px;font-weight:400}.community-card .game-need,.person-detail .game-need{grid-template-columns:minmax(90px,1.25fr) minmax(40px,1fr) 32px;font-size:10px;line-height:1.5}.gpu-state{background:#e8eedb;border-radius:7px;align-items:center;gap:12px;margin-bottom:12px;padding:12px 14px;display:flex}.gpu-state>span{color:#6b8850;background:#d7e2c5;border-radius:5px;flex-shrink:0;justify-content:center;align-items:center;width:35px;height:39px;display:flex}.gpu-state svg{width:22px;height:22px}.gpu-state strong{color:#547143;font-size:12px;font-weight:500}.gpu-state p{color:#798c66;overflow-wrap:anywhere;margin-top:4px;font-size:10px;line-height:1.7}.person-detail summary{padding-right:25px;display:list-item;position:relative}.detail-badge{color:#6d8655;background:#dfe8cd;border-radius:3px;justify-content:center;align-items:center;min-width:22px;height:19px;margin-left:7px;font-size:9px;display:inline-flex}.gene-chips{flex-wrap:wrap;gap:6px;margin:10px 0;display:flex}.gene-chips>span{background:#edf2df;border:1px solid #bfd0a3;border-radius:4px;padding:5px 7px;font-size:10px;line-height:1.5}.gene-chips strong{color:#52703e;margin-left:3px;font-weight:500}.lineage{margin:13px 0}.lineage h4,.detail-subtitle{text-transform:uppercase;letter-spacing:1px;color:#829570;margin:9px 0;font-family:inherit;font-size:9px;font-weight:500}.lineage-person{text-align:left;color:#587347;background:#f7f9ed;border:1px solid #d6e2c2;border-radius:4px;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:44px;margin:5px 0;padding:8px 10px;font-size:12px;display:flex}.lineage-person svg{color:#97a781;width:15px;height:15px}.lineage-person:hover{background:#e3ecd2}.lineage-absent{color:#859575;font-size:11px;line-height:1.7;display:block}.trait-list{flex-wrap:wrap;gap:6px 9px;margin:12px 0;display:flex}.trait-list>span{background:#e8eddc;border-radius:3px;padding:4px 6px;font-size:9px}.trait-list strong{color:#5e784b;margin-left:2px;font-weight:500}.person-community{flex-direction:column;gap:5px;margin:6px 0 13px;display:flex}.person-community small{color:#8a9a78;letter-spacing:1px;font-size:8px}.person-community strong{font-family:var(--serif);color:#526e43;font-size:20px;font-weight:400}.trust-list{gap:7px;margin:10px 0;display:grid}.trust-list>span{justify-content:space-between;gap:10px;font-size:11px;line-height:1.5;display:flex}.trust-list strong{color:#567044;font-variant-numeric:tabular-nums;font-weight:400}.experience-list{margin:12px 0 14px;padding:0;list-style:none}.experience-list>li{border-left:1px solid #c7d7af;margin-left:3px;padding:0 0 17px 15px;position:relative}.experience-list>li:before{content:"";background:#8ca76b;border-radius:50%;width:5px;height:5px;position:absolute;top:4px;left:-3px}.experience-list>li:last-child{padding-bottom:0}.experience-tick{letter-spacing:.7px;color:#94a080;font-size:8px}.experience-list p{font-family:var(--serif);color:#5b744b;margin:5px 0 7px;font-size:15px;line-height:1.65}.experience-list small{color:#839473;font-size:10px;line-height:1.75;display:block}.experience-list small strong{color:#748966;font-weight:500}.inspector-drawer>header{z-index:3;background:#f5f5e9;position:sticky;top:-1px;box-shadow:0 -20px #f5f5e9,0 9px #f5f5e9}.inspector-drawer{scroll-padding-top:88px}@media (max-width:1100px) and (min-width:761px){.stats-drawer{width:calc(100vw - 421px);min-width:340px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-chart-grid,.stats-two-columns{grid-template-columns:1fr}.stats-tabs button{padding:0 3px;font-size:9px}}@media (max-width:760px){.stats-drawer{width:auto;max-width:none;height:min(60dvh,100dvh - 182px);padding:17px 16px 0;inset:auto 12px 101px}.stats-drawer:before{flex-shrink:0}.stats-drawer>header{margin-bottom:12px}.stats-drawer h2{font-size:27px}.stats-tabs{gap:1px;margin-bottom:11px;padding:3px}.stats-tabs button{padding:0 2px;font-size:10px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.stat-card{padding:10px}.stat-card>span{font-size:11px}.stat-card>strong{font-size:25px}.stat-card>small{font-size:9px}.stats-chart-grid,.stats-two-columns{grid-template-columns:1fr;gap:15px}.history-chart svg{height:86px}.history-chart figcaption{font-size:11px}.chart-axis{font-size:9px}.stats-note,.stats-empty{font-size:12px}.stats-scope,.stats-section-heading>span{font-size:9px}.distribution-row>div,.stats-facts>span,.tile-facts>span{font-size:11px}.distribution-row strong{font-size:12px}.community-card .game-need,.person-detail .game-need{font-size:11px}.community-members{font-size:12px}.stats-section{margin-top:18px}.experience-list p{font-size:16px}.experience-list small{font-size:11px}.lineage-absent{font-size:12px}.trait-list>span{font-size:10px}.gene-chips>span{font-size:11px}#stats-content{padding-bottom:18px}.game-drawer{max-height:min(60dvh,100dvh - 315px)}.stats-drawer{height:min(60dvh,100dvh - 315px)}}.population-tabs{background:#e8eddc;border:1px solid #d9e2c9;border-radius:6px;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:13px;padding:4px;display:grid}.population-tabs button{color:#657b51;border-radius:4px;min-height:44px;font-size:12px}.population-tabs button[aria-pressed=true]{color:#415f35;background:#fffdf0;box-shadow:0 1px 5px #32462a15}.species-legend{flex-wrap:wrap;gap:8px 12px;margin:12px 0 16px;display:flex}.species-legend>span{color:#738461;align-items:center;gap:5px;font-size:10px;display:flex}.species-legend i{border:1px solid #55633f40;border-radius:2px;width:8px;height:8px;display:block}.animal-avatar{width:34px;height:39px;color:var(--animal-color);filter:drop-shadow(0 1px #59614c66);background:#e5e8d8;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.animal-avatar svg{stroke-width:1.6px;width:26px;height:28px}.animal-portrait{width:57px;height:64px}.animal-portrait svg{width:43px;height:44px}.animal-row>span:nth-child(2){min-width:0}.animal-row small{text-overflow:ellipsis;white-space:nowrap;max-width:210px;overflow:hidden}.animal-primary{grid-template-columns:1fr}.blueprint-card{overflow-wrap:anywhere;background:linear-gradient(140deg,#f9faed,#eaf0df);border:1px solid #d4dfc2;border-radius:7px;margin:13px 0;padding:13px 12px}.blueprint-card .eyebrow{letter-spacing:1px;margin-bottom:8px;font-size:8px}.blueprint-card h4,.structure-card>h3{font-family:var(--serif);color:#536d41;margin:4px 0 13px;font-size:20px;font-weight:400;line-height:1.3}.component-list{gap:8px;margin:10px 0;padding:0;list-style:none;display:grid}.component-list li{flex-direction:column;gap:3px;font-size:10px;line-height:1.55;display:flex}.component-list strong{color:#5c754a;font-weight:500}.component-list span{color:#7c8b6d}.blueprint-cost{color:#6f805b;border-block:1px dashed #cbd8b5;flex-wrap:wrap;gap:8px;margin:13px 0;padding:10px 0;font-size:10px;display:flex}.blueprint-cost strong{color:#526d3e;font-weight:500}.blueprint-card>p,.blueprint-card>small{color:#7c8a6e;margin:8px 0;font-size:10px;line-height:1.7;display:block}.structure-card{border-top:1px solid #cfdcba;margin-top:20px;padding-top:15px}@media (max-width:760px){.species-legend>span,.component-list li,.blueprint-cost,.blueprint-card>p,.blueprint-card>small{font-size:11px}.animal-row small{max-width:calc(100vw - 130px)}.blueprint-card h4{font-size:21px}}.food-reserve{color:#756443;background:#efe8cf;border:1px solid #dfd3ab;border-radius:5px;margin:0 0 13px;padding:11px 12px;font-size:10px}.food-reserve>div{justify-content:space-between;align-items:center;gap:8px;display:flex}.food-reserve span{align-items:center;gap:5px;display:flex}.food-reserve svg{width:15px;height:15px}.food-reserve strong{color:#6e552c;white-space:nowrap;font-weight:500}.food-reserve meter{appearance:none;background:#dfd5b4;border:0;border-radius:3px;width:100%;height:7px;margin-top:9px;display:block}.food-reserve meter::-webkit-meter-bar{background:#dfd5b4;border:0;border-radius:3px}.food-reserve meter::-webkit-meter-optimum-value{background:#b28e49;border-radius:3px}.food-reserve meter::-moz-meter-bar{background:#b28e49;border-radius:3px}.food-reserve p{margin:7px 0 0;font-size:9px;line-height:1.4}.heat-legend{z-index:11;color:#e4ecd8;background:#2e493bdf;border-color:#81977750;max-width:190px;padding:10px 13px;position:absolute;bottom:78px;right:18px}.heat-legend .eyebrow{letter-spacing:1.5px;color:#b3c6a1;margin:0;font-size:8px}.heat-legend h3{font-family:var(--serif);margin:3px 0 8px;font-size:15px;font-weight:400}.heat-stops{gap:4px;margin:0;padding:0;list-style:none;display:grid}.heat-stops li{align-items:center;gap:7px;font-size:10px;display:flex}.heat-stops i{border-radius:2px;flex-shrink:0;width:14px;height:10px;display:inline-block}@media (max-width:760px){.heat-legend{max-width:150px;bottom:152px;right:12px}.game-shell:has(.game-drawer:not([hidden])) .heat-legend{visibility:hidden}}.population-drawer h2>#population-count{margin:6px 0 0;font-size:13px;line-height:1.4;display:block}.game-shell{--paper:#fbf8ed;--ink:#294638;--muted:#66745b;--line:#d5dcc6;--dock-width:390px}.game-shell [hidden]{display:none!important}.game-shell button:focus-visible,.game-shell input:focus-visible,.game-shell select:focus-visible,.game-shell summary:focus-visible,.game-shell [tabindex]:focus-visible{outline-offset:3px;outline:2px solid #a26926}.game-shell .hud-surface{-webkit-backdrop-filter:none;backdrop-filter:none;background:var(--paper);border-color:#e2e5d4;box-shadow:0 3px 16px #172c2526}.game-top{align-items:center;gap:12px;top:16px;left:20px;right:20px}.game-brand{min-height:56px;padding:10px 16px}.game-top .game-brand{color:#f6f3df;background:#263f33}.game-brand>span{font-size:22px}.game-brand small{display:none}.game-clock{min-height:56px;padding:9px 15px}.game-clock strong{font-size:21px}.game-clock>div>span,.connection-label{font-size:11px}.game-actions{min-height:52px}.selection-shortcuts{z-index:12;align-items:center;gap:6px;padding:5px 7px;display:flex;position:absolute;top:88px;left:20px}.selection-shortcuts>span{letter-spacing:1px;color:var(--muted);padding:0 5px;font-size:9px}.selection-shortcuts .role-button{width:38px;min-height:44px}#inspector-toggle{border-left:1px solid var(--line);max-width:160px;min-height:44px;color:var(--ink);align-items:center;gap:7px;margin-left:2px;padding:0 10px;font-size:13px;display:flex}#inspector-toggle svg{flex-shrink:0;width:17px;height:17px}#selection-label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}#inspector-toggle[aria-expanded=true]{background:#e8ecd9;border-radius:4px}.world-navigation{z-index:25;gap:3px;padding:5px;display:flex;position:absolute;bottom:20px;left:50%;transform:translate(-50%)}.world-navigation button{color:#56684e;border-radius:5px;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-width:83px;min-height:59px;padding:5px 10px;font-size:12px;display:flex}.world-navigation svg{width:20px;height:20px}.world-navigation button:hover{background:#edf0e1}.world-navigation button[aria-expanded=true],.world-navigation button[aria-pressed=true]{color:#fffbe9;background:#294a3a}.game-shell .game-drawer{width:var(--dock-width);background:var(--paper);-webkit-backdrop-filter:none;backdrop-filter:none;contain:layout paint style;border:1px solid #e1dfcb;border-radius:12px;flex-direction:column;max-width:calc(100vw - 40px);height:auto;max-height:none;padding:22px 22px 20px;display:flex;inset:88px 20px 103px auto;overflow:hidden;transform:none;box-shadow:0 10px 34px #16292040}.game-shell .game-drawer:before{display:none}.game-drawer>header{border-bottom:1px solid var(--line);flex:none;margin-bottom:16px;padding-bottom:14px}.game-shell .inspector-drawer>header{box-shadow:none;background:0 0;position:static}.game-drawer h2{color:var(--ink);letter-spacing:-.5px;font-size:30px;line-height:1.2}.game-drawer>header .eyebrow{letter-spacing:1.2px;font-size:9px}.game-drawer label,.game-drawer .drawer-note,.drawer-footnote{color:#5b6c53;font-size:12px;line-height:1.6}.game-drawer .button{min-height:44px;font-size:12px}.notebook-back{color:#627658;align-items:center;gap:5px;min-height:26px;margin:-8px 0 5px;font-size:11px;display:flex}.notebook-back svg{width:14px;height:14px;transform:rotate(180deg)}.notebook-back:hover,.entity-link:hover{color:#8e612b;text-decoration:underline}.game-shell #person-primary{flex:none;gap:8px;margin:0 0 13px}.inspector-tabs{border-bottom:1px solid var(--line);flex:none;gap:4px;margin-bottom:12px;padding-bottom:0;display:flex}.inspector-tabs button{color:#647356;border-bottom:2px solid #0000;flex:1;min-height:40px;font-size:12px}.inspector-tabs button[aria-selected=true]{color:var(--ink);background:#eeefde;border-color:#a58643;border-radius:5px 5px 0 0;font-weight:600}#inhabitant-card{overscroll-behavior:contain;scrollbar-width:thin;flex:auto;min-height:0;margin:0 -3px;padding:0 3px 10px;scroll-padding:10px;overflow:auto}.game-person-heading{gap:12px;margin:3px 0 13px}.game-person-heading strong{color:var(--ink);font-size:19px;line-height:1.35}.agency-state{color:#617556;margin-top:5px;font-size:11px;line-height:1.5}.game-current-action{color:#6e713e;margin:10px 0 5px;font-size:12px}.game-reason{color:#3e593e;margin:7px 0 15px;font-size:19px;line-height:1.5}.game-needs{margin-bottom:13px;padding:13px 0}.game-needs>h3{color:#526a47;margin-bottom:12px;font-size:12px}.game-need{grid-template-columns:79px minmax(60px,1fr) 35px;gap:9px;margin-top:9px;font-size:11px}.game-shell .person-detail .game-need{font-size:11px}.person-detail summary{color:#445e3c;min-height:44px;padding-top:12px;padding-bottom:12px;font-size:12px}.person-detail>p,.blueprint-card>p,.blueprint-card>small,.component-list li{color:#5e7052;font-size:12px;line-height:1.7}.person-detail h4{font-size:11px}.section-title{font-family:var(--serif);color:var(--ink);margin:4px 0 16px;font-size:21px;font-weight:400}.material-pouch{gap:8px;font-size:12px}.food-reserve{padding:12px;font-size:11px}.food-reserve p{font-size:10px}.skill-row,.trait-list>span,.lineage-absent,.gene-chips>span{font-size:11px}.entity-link{text-align:left;color:#47693b;text-underline-offset:3px;align-items:center;gap:6px;min-height:32px;padding:3px 0;text-decoration:underline;display:inline-flex}.entity-link svg{flex-shrink:0;width:13px;height:13px}.person-command-bar{border-top:1px solid var(--line);background:var(--paper);flex:none;padding-top:10px}.control-help{color:#637052;margin:0 0 8px;font-size:10px;line-height:1.5}.command-main{grid-template-columns:1.35fr 1fr;gap:8px;display:grid}.command-main .button{padding:8px 10px}.task-groups{background:#e9ebd9;border-radius:5px;gap:3px;margin-bottom:7px;padding:4px;display:flex}.task-groups button{color:#5c6d4b;border-radius:3px;flex:1;min-height:36px;font-size:11px}.task-groups button[aria-pressed=true]{background:var(--paper);color:var(--ink);box-shadow:0 1px 3px #263c2520}.order-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:0 0 9px;display:grid}.order-grid button{gap:3px;min-height:48px;padding:5px 4px;font-size:10px;line-height:1.3}.order-grid button svg{width:17px;height:17px}.game-shell .population-drawer .population-tabs,.game-shell .population-drawer .search-label{flex:none}.population-list{overscroll-behavior:contain;flex:auto;min-height:0;max-height:none;overflow:auto}.population-person{min-height:68px}.population-person strong{font-size:19px}.population-person small{font-size:11px}.population-drawer .drawer-footnote{flex:none;margin-bottom:0;padding-top:10px;font-size:10px}.game-shell .layer-drawer,.game-shell .tool-drawer{overflow-y:auto}.gesture-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-bottom:10px;display:grid}.gesture-choices button{border:1px solid var(--line);border-radius:5px;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-height:60px;font-size:12px;display:flex}.gesture-choices svg{width:20px;height:20px}.gesture-choices button[aria-pressed=true]{color:#354f2c;background:#e3e9d0;border-color:#adbf8e}.stats-tabs{gap:1px;margin-bottom:12px;padding:3px}.stats-tabs button{overflow-wrap:anywhere;min-height:45px;font-size:10px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-chart-grid,.stats-two-columns{grid-template-columns:1fr}.stat-card>span{font-size:11px}.stat-card>small,.stats-scope,.stats-section-heading>span,.chart-axis{color:#637351;font-size:10px}.stats-note,.stats-empty,.stats-facts>span,.tile-facts>span,.distribution-row>div{color:#5e7051;font-size:12px}.stats-facts strong,.tile-facts strong{font-size:13px}.structure-reserves{gap:8px;margin:14px 0 10px;display:grid}.structure-reserves>div{background:#e4eddd;border:1px solid #cedcc2;border-radius:7px;justify-content:space-between;align-items:baseline;gap:12px;padding:11px 12px;display:flex}.structure-reserves span,.structure-components,.structure-benefit{color:#4c6248;font-size:12px;line-height:1.6}.structure-reserves strong{white-space:nowrap;color:#365c50;font-size:19px}.structure-reserves small{font-size:12px;font-weight:400}.structure-components{margin:10px 0}.structure-benefit{justify-content:space-between;gap:12px;display:flex}.structure-history-note{margin-top:4px}.community-members .entity-link{margin-right:8px;font-size:12px}.recent-evidence{border-bottom:1px solid var(--line);margin-bottom:20px;padding-bottom:6px}.recent-evidence .section-title{margin-bottom:4px}.recent-evidence>summary{min-height:48px;font:17px/1.3 var(--serif);color:var(--ink);cursor:pointer;padding:14px 0}.recent-evidence>summary>span{font:10px/1.3 var(--sans);color:var(--muted);float:right;padding-top:4px}.recent-evidence article{border-top:1px solid #e1e4d4;padding:11px 0}.recent-evidence article>p{font:17px/1.5 var(--serif);color:#425b3a;margin:6px 0}.recent-evidence article>small{color:#657254;font-size:11px;line-height:1.6;display:block}.evidence-links{flex-wrap:wrap;gap:12px;font-size:11px;display:flex}.structure-link{border-bottom:1px solid var(--line);justify-content:space-between;width:100%;min-height:56px;font-size:13px;text-decoration:none;display:flex}.structure-link small{color:var(--muted);margin-top:3px;font-size:10px;display:block}.world-coordinates{color:var(--ink);padding:9px 12px;bottom:20px;left:20px}.world-coordinates>span:last-child{color:#647653}.camera-controls{bottom:20px;right:20px}.map-hint{color:#f4f7e4;text-shadow:0 1px 3px #173022;font-size:11px;bottom:95px}.game-message-stack{align-items:flex-start;width:min(360px,100vw - 460px);top:155px;bottom:auto;left:20px;transform:none}.game-shell:has(.tool-drawer:not([hidden])) .game-message-stack{top:155px;bottom:auto}.game-message-stack>p,.game-notice{color:#3d573b;text-align:left;background:#fbf8edf5;font-size:12px;box-shadow:0 3px 14px #18302525}.return-toast{max-width:340px;top:155px;left:20px;transform:none}.game-shell.notebook-open .map-hint{left:33%}@media (min-width:761px) and (max-width:1100px){.game-shell{--dock-width:360px}.game-clock{left:50%}.game-message-stack{width:calc(100vw - 420px)}.world-navigation{left:20px;transform:none}.world-coordinates{bottom:98px}}@media (max-width:760px){.game-top{top:max(10px,env(safe-area-inset-top));gap:5px;left:10px;right:10px}.game-brand{max-width:calc(100% - 137px);min-height:49px;padding:10px 11px}.game-brand>span{white-space:nowrap;font-size:19px}.game-brand>svg{display:none}.game-actions{min-height:49px;padding:2px}.game-actions .icon-button{width:42px;min-width:42px}.game-clock{gap:8px;min-height:43px;padding:7px 9px;top:65px;left:auto;right:0;transform:none}.game-clock strong{font-size:17px}.game-clock>div{gap:2px}.game-clock>div>span,.connection-label{font-size:9px}.clock-line{height:23px}.clock-sun{display:none}.selection-shortcuts{gap:3px;max-width:calc(100% - 167px);padding:3px;top:75px;left:10px}.selection-shortcuts>span{display:none}.selection-shortcuts .role-button{width:32px;height:38px;min-height:38px;font-size:19px}#inspector-toggle{gap:4px;max-width:102px;min-height:38px;padding:0 6px;font-size:11px}#inspector-toggle svg{width:15px;height:15px}.world-navigation{bottom:max(10px,env(safe-area-inset-bottom));gap:1px;padding:4px;left:10px;right:10px;transform:none}.world-navigation button{flex:1;gap:5px;min-width:0;min-height:55px;padding:4px 2px;font-size:10px}.world-navigation svg{width:19px;height:19px}.game-shell .game-drawer{top:auto;left:10px;right:10px;bottom:calc(max(10px,env(safe-area-inset-bottom)) + 73px);border-radius:13px;width:auto;max-width:none;height:min(61dvh,100dvh - 245px);max-height:none;padding:15px 17px 13px}.game-drawer>header{margin-bottom:10px;padding-bottom:8px}.game-drawer h2{font-size:26px}.notebook-back{min-height:24px;margin-top:-5px;margin-bottom:0;font-size:10px}.game-shell #person-primary{margin-bottom:8px}.game-drawer .button{min-height:42px;font-size:11px}.inspector-tabs{margin-bottom:8px}.inspector-tabs button{min-height:35px;font-size:11px}.game-person-heading{margin-top:0;margin-bottom:10px}.game-person-heading strong{font-size:18px}.pixel-portrait{transform-origin:0;margin-right:-5px;transform:scale(.82)}.game-reason{font-size:18px;line-height:1.45}.game-current-action{font-size:11px}.game-needs{margin-bottom:10px;padding:10px 0}.game-need{font-size:11px}.person-command-bar{padding-top:8px}.control-help{margin-bottom:6px;font-size:9px}.task-groups button{min-height:32px}.order-grid button{min-height:44px;font-size:10px}.order-grid{gap:4px;margin-bottom:7px}.order-grid button svg{display:none}.game-message-stack{width:auto;top:131px;left:10px;right:10px;transform:none}.game-shell:has(.tool-drawer:not([hidden])) .game-message-stack{width:auto;top:131px;left:10px;right:10px;transform:none}.game-message-stack>p,.game-notice{max-width:100%;padding:8px 10px;font-size:11px}.world-coordinates{max-width:230px;bottom:87px;left:10px}.camera-controls{flex-direction:row;bottom:87px;right:10px}.game-shell.notebook-open .world-coordinates,.game-shell.notebook-open .camera-controls{visibility:hidden}.return-toast{max-width:none;top:131px;left:10px;right:10px}.stats-tabs{margin-bottom:10px}.stats-tabs button{font-size:10px}.population-person{min-height:61px}}@media (max-width:370px){.game-brand>span{font-size:17px}#inspector-toggle svg{display:none}}@media (max-width:760px) and (max-height:650px){.game-shell .game-drawer{height:auto;top:68px}.game-shell .inspector-drawer:has(#task-palette:not([hidden])) #person-primary{display:none}.game-shell .inspector-drawer:has(#task-palette:not([hidden])) .inspector-tabs{display:none}.game-shell .inspector-drawer:has(#task-palette:not([hidden])) .notebook-back{display:none}}@media (max-height:450px){.game-shell .game-drawer{padding:10px 14px;top:8px;bottom:82px;overflow-y:auto}.game-shell .game-drawer>header{margin-bottom:6px;padding-bottom:5px}.game-shell .game-drawer>*,#inhabitant-card{flex-shrink:0}.game-shell #inhabitant-card{flex:none;overflow:visible}.game-shell .inspector-drawer:has(#task-palette:not([hidden])) #inhabitant-card{display:none}.game-shell .game-drawer .person-command-bar{position:static}}@media (prefers-reduced-motion:reduce){.game-shell *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.game-shell .carried-water{color:#365f68;background:#e8f0ed;border-color:#c2d6d2;padding:8px;font-size:11px;line-height:1.5}.carried-water>div{gap:8px}.carried-water strong{color:#244f59;white-space:normal;overflow-wrap:anywhere;font-size:11px}.carried-water>div strong{text-align:right}.carried-water p{margin:0;font-size:11px;line-height:1.5}.carried-water>p:first-child{margin-bottom:6px}.carried-water>p:last-child{margin-top:6px}.carried-water meter{background:#c5d8d4;margin-top:8px}.carried-water meter::-webkit-meter-bar{background:#c5d8d4}.carried-water meter::-webkit-meter-optimum-value{background:#547e89}.carried-water meter::-moz-meter-bar{background:#547e89}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;position:absolute!important}.clock-status{flex-direction:column;gap:3px;min-width:0;display:flex}.world-rhythm{color:#7a5a2d;white-space:nowrap;font-size:10px;line-height:1.3}.world-rhythm[data-kind=slow]{color:#9a4f22}.growth-chip{color:#6d4518;text-align:left;white-space:nowrap;background:#f6e7cc;border:1px solid #d9b98a;border-radius:999px;align-items:center;gap:6px;min-height:32px;padding:4px 10px;font-size:11px;line-height:1.25;display:inline-flex}.growth-chip:before{content:"";background:#c0782f;border-radius:50%;flex-shrink:0;width:7px;height:7px}.growth-chip[data-growth=reponiendo]{color:#4f6236;background:#eef0da;border-color:#c9d2a4}.growth-chip[data-growth=reponiendo]:before{background:#8aa05a}.growth-chip:hover{filter:brightness(.97)}.game-actions .action-button{color:#5d6f50;flex-direction:column;justify-content:center;align-items:center;gap:2px;width:48px;min-width:44px;min-height:44px;margin:0;padding:3px 2px;font-size:9px;display:inline-flex;position:static}.game-actions .action-button svg{width:18px;height:18px}.game-actions .action-label{letter-spacing:.1px;font-family:inherit;font-size:9px;line-height:1}.game-actions .action-button[aria-pressed=true]{color:#fffbe9;background:#294a3a}.game-actions .logout{font-family:inherit;font-size:9px!important}.growth-status{color:#4f6436;background:#f3f5e8;border:1px solid #dce4cc;border-radius:6px;margin:0 0 14px;padding:10px 12px;font-size:12px;line-height:1.6}.growth-status[data-growth=en-techo],.growth-status[data-growth=apagado],.growth-status[data-growth=manual]{color:#6d4518;background:#f8eedb;border-color:#e2c79d}.growth-status strong{font-family:var(--serif);margin-bottom:2px;font-size:16px;font-weight:400;display:block}.stat-card .stat-meter{width:100%;height:8px}.stat-card>strong>small{color:#6e805e;white-space:nowrap;font-family:inherit;font-size:12px}.stats-grid>[data-growth-card],.stats-grid>[data-last-brake]{grid-column:1/-1}.stats-grid>[data-growth-card]>strong,.stats-grid>[data-last-brake]>strong{font-size:21px}.growth-status[data-growth=libre]{color:#6e805e;background:0 0;border:0;padding:0;font-size:11px}.growth-status[data-growth=libre] strong{margin-right:4px;font-family:inherit;font-size:11px;font-weight:600;display:inline}.stat-card .stat-state{letter-spacing:.3px;font-size:10px;font-weight:600}.stat-card .stat-state[data-vigente=true]{color:#9a4f22}.stat-card .stat-state[data-vigente=false]{color:#5f7a45}.stats-tabs{overscroll-behavior-x:contain;scrollbar-width:none;scroll-snap-type:x proximity;display:flex;overflow-x:auto}.stats-tabs::-webkit-scrollbar{display:none}.stats-tabs button{white-space:nowrap;overflow-wrap:normal;scroll-snap-align:start;flex:1 0 auto;min-width:44px;padding:0 9px}@media (max-width:760px){.game-brand{flex:auto;min-width:0;max-width:none}.game-brand>span{white-space:normal;font-size:17px;line-height:1.1}.game-brand>span>em{display:block}.game-actions{flex:none;padding:2px}.game-actions .action-button{width:44px;min-width:44px;min-height:45px}.game-actions .action-button svg{width:17px;height:17px}.game-clock{contain:none}.game-clock .growth-chip{white-space:normal;max-width:220px;min-height:44px;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 3px 12px #18302530}.world-rhythm{font-size:9px}:is(.game-shell:has(#growth-chip:not([hidden])) .game-message-stack,.game-shell:has(#growth-chip:not([hidden])) .return-toast){top:186px}.selection-shortcuts .role-button{width:44px;height:44px;min-height:44px;font-size:20px}#inspector-toggle{min-height:44px}.stats-tabs button{padding:0 10px;font-size:11px}}@media (max-width:760px) and (min-height:651px){.inspector-tabs button,.task-groups button,.notebook-back{min-height:44px}}.entity-link.is-absent,.lineage-person.is-absent{color:#6b7a58;font-style:italic}.natality-ladder{counter-reset:paso;gap:6px;margin:0 0 12px;padding:0;list-style:none;display:grid}.natality-ladder>li{color:#5e7051;counter-increment:paso;background:#f6f7ec;border:1px solid #dce4cc;border-radius:6px;padding:9px 11px 9px 34px;font-size:12px;line-height:1.5;position:relative}.natality-ladder>li:before{content:counter(paso);color:#4f6436;background:#dfe7cd;border-radius:50%;place-items:center;width:16px;height:16px;font-size:10px;display:grid;position:absolute;top:9px;left:10px}.natality-ladder>li strong{color:#425f35;font-size:13px;font-weight:600;display:block}.natality-ladder>li.is-blocked{background:#f8eedb;border-color:#e2c79d}.natality-ladder>li.is-blocked strong{color:#6d4518}.journal-filters{flex-wrap:wrap;gap:6px;margin:12px 0 6px;display:flex}.journal-filters button{color:#56684e;background:#f6f7ec;border:1px solid #d5dcc6;border-radius:999px;min-height:44px;padding:0 14px;font-size:12px}.journal-filters button[aria-pressed=true]{color:#fffbe9;background:#294a3a;border-color:#294a3a}.journal-note{color:#6e805e;margin:4px 0 10px;font-size:11px}.event-yield{color:#6d4518;background:#f8eedb;border-radius:4px;margin:6px 0;padding:6px 8px;font-size:12px}.return-summary{margin:6px 0 8px;font-size:13px;line-height:1.6}.return-toast ul small{color:#6e805e;font-size:10px;display:block}.return-note{color:#6e805e;margin:6px 0 0;font-size:11px}.distribution-row .distribution-note{color:#6e805e;margin:4px 0 0;font-size:11px;line-height:1.5;display:block}.community-counts .entity-link{margin-left:auto}.ended-lives{gap:6px;margin:10px 0 0;padding:0;list-style:none;display:grid}.ended-lives>li{border-bottom:1px dotted #d6e0c6;flex-direction:column;gap:2px;padding:6px 0;display:flex}.ended-lives small{color:#6e805e;font-size:11px;line-height:1.5}.lineage-count{color:#4f6436;margin:2px 0 6px;font-size:12px;font-weight:600}.procedure-row{flex-wrap:wrap}.procedure-origin{color:#6e805e;flex-basis:100%;margin-top:2px;font-size:11px}.rest-zone-note{color:#5d4a2c;background:#f3ead8;border-left:3px solid #b99a64;border-radius:0 4px 4px 0;margin:6px 0 10px;padding:8px 10px;font-size:12px;line-height:1.6}.game-shell .heat-legend.hud-surface{color:#f1f5e8;background:#243b30f2;border-color:#81977780}.game-shell .heat-legend .eyebrow{color:#c9d8b8}.game-shell .heat-legend .heat-stops li{color:#f1f5e8;font-size:11px}.game-shell .heat-legend .heat-range{color:#c9d8b8;margin:6px 0 0;font-size:10px}@media (min-width:761px){.game-shell .heat-legend{bottom:96px;left:18px;right:auto}}@media (max-width:760px){.game-shell .heat-legend{max-width:200px;bottom:150px;left:10px;right:auto}.game-shell.notebook-open .heat-legend{visibility:hidden}}
