@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap";html:lang(ko){font-family:Malgun Gothic,Apple SD Gothic Neo,Noto Sans KR,sans-serif;word-break:keep-all;overflow-wrap:anywhere}html:lang(ko) :is(h1,h2,h3,.resource strong,#world-time,.territory-name){font-family:inherit;letter-spacing:-.03em}html:lang(ko) :is(.eyebrow,.mini-tag,.preview-label){letter-spacing:.04em}.language-picker{display:inline-flex;align-items:center;flex-shrink:0;font-size:11px}.language-picker>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.language-picker select{font:inherit;color:inherit;background:transparent;border:1px solid #87977d;border-radius:6px;min-height:36px;padding:5px 7px;cursor:pointer;max-width:90px}.language-picker option{color:#213e32;background:#f5f5ec}.language-picker select:focus-visible{outline:2px solid #6b9554;outline-offset:3px}.site-footer .language-picker select{min-height:44px}@media(max-width:650px){.site-header .header-actions{gap:7px}.site-header .btn-small{gap:6px;padding:10px}.site-header .brand-symbol{display:none}html:lang(ko) .map-bottom>span:after{content:"드래그로 이동 · 눌러서 탐험";letter-spacing:.03em}}.building-grid.compact-buildings .building [data-action=construction]{min-height:44px}:root{font-family:DM Sans,sans-serif;color:#e3e7dd;background:#101511;font-synthesis:none;font-size:13px;font-weight:400;--mint:#c6e8a4;--muted:#7f8c7d;--line:#ffffff0d;--panel:#161d17}.crew-list{display:grid;gap:12px;margin-top:16px}[data-action=invite]{flex-wrap:wrap}[data-invite-duration]{font-size:10px;font-weight:400}.crew-card,.expedition-card{border:1px solid var(--line);border-radius:8px;padding:14px;background:#ffffff03}.crew-card .stock-label{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.crew-card .stock-label span,.crew-card>small{font-size:10px;color:#a6b397}.crew-card>small{display:block;line-height:1.7;margin-top:10px}.crew-controls{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;align-items:end;margin-top:12px}.crew-save-state{display:flex;align-items:center;justify-content:space-between;gap:10px}.crew-save-state small{font-size:12px;line-height:1.6;color:#b5c6a5}.crew-save-state[data-failed=true] small{color:#ffaaa3}.crew-save-state[hidden],.crew-save-state [hidden]{display:none}.crew-controls label{display:grid;gap:6px;min-width:0;font-size:10px;color:#a6b397}.crew-controls input{width:100%;min-width:0;min-height:44px;background:#1b261e;color:#e3e7dd;border:1px solid #ffffff24;border-radius:5px;padding:8px;font:inherit}.crew-controls input:disabled{opacity:.55}.crew-allocation{min-width:0}.crew-allocation-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.crew-allocation-heading input[type=number]{width:80px;text-align:right;font-size:14px;font-weight:600}.crew-stepper{display:flex;align-items:center;gap:4px;min-width:0}.crew-stepper>.button{width:44px;min-width:44px;padding:8px}.crew-allocation-heading .crew-stepper input[type=number]{width:64px;text-align:center}.allocation-target{margin-left:auto;border-radius:6px;padding:3px 7px;background:#ffffff18;font-variant-numeric:tabular-nums}.crew-controls input[type=range]{appearance:none;display:block;height:44px;padding:0;background:transparent;border:0;cursor:pointer;touch-action:pan-y}.crew-controls input[type=range]::-webkit-slider-runnable-track{height:6px;border-radius:4px;background:linear-gradient(to right,var(--mint) var(--allocation-progress,0%),#3d4d37 var(--allocation-progress,0%))}.crew-controls input[type=range]::-webkit-slider-thumb{appearance:none;width:22px;height:22px;margin-top:-8px;border:2px solid #1b261e;border-radius:50%;background:var(--mint)}.crew-controls input[type=range]::-moz-range-track{height:6px;border-radius:4px;background:#3d4d37}.crew-controls input[type=range]::-moz-range-progress{height:6px;border-radius:4px;background:var(--mint)}.crew-controls input[type=range]::-moz-range-thumb{width:18px;height:18px;border:2px solid #1b261e;border-radius:50%;background:var(--mint)}.crew-controls input:focus-visible{outline:2px solid var(--mint);outline-offset:3px}.crew-controls input[aria-invalid=true]{border-color:#ffaaa3}.crew-controls .button{min-height:44px;margin-bottom:0}.crew-controls .crew-input-error{display:block;color:#ffaaa3;font-size:10px;line-height:1.7}.crew-controls .crew-input-error[hidden]{display:none}.expedition-card{display:flex;gap:12px;margin-top:16px;line-height:1.7}.expedition-card p{color:#a6b397;font-size:11px;margin-top:6px}@media(max-width:650px){.crew-card{padding:10px}}*{box-sizing:border-box}body{margin:0}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer}button,a{touch-action:manipulation}button{color:inherit}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,canvas:focus-visible{outline:2px solid var(--mint);outline-offset:4px}button{border:0}a{color:inherit}h1,h2,h3,p{margin:0}.icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}.eyebrow{font-size:9px;letter-spacing:1.9px;font-weight:600;color:#92a18b}.status-dot{width:5px;height:5px;display:inline-block;background:var(--mint);border-radius:50%;box-shadow:0 0 8px #c6e8a429}.button{background:#ffffff06;border:1px solid #ffffff14;border-radius:6px;min-height:39px;padding:10px 15px;display:inline-flex;align-items:center;justify-content:center;gap:12px;font-size:11px;font-weight:600;transition:background .2s,transform .2s}.button:hover:not(:disabled){background:#ffffff10;transform:translateY(-1px)}.button .icon{width:16px;height:16px}.button.primary{background:var(--mint);color:#293a21;border-color:var(--mint)}.button.primary:hover:not(:disabled){background:#d8f3bc}.wide{width:100%}.subtle{color:#778670}.text-button{background:none;color:#b5c5a5;padding:0;display:flex;align-items:center;gap:7px}.fineprint{font-size:10px;line-height:1.9;color:#7e8d7a;margin-top:18px}#app{display:grid;grid-template-columns:78px 292px minmax(0,1fr);grid-template-rows:84px minmax(0,1fr);height:100dvh;min-height:700px;overflow:hidden}.rail{grid-column:1;grid-row:1/3;z-index:5;display:flex;flex-direction:column;align-items:center;background:#101611;border-right:1px solid var(--line);padding:24px 0 18px}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;text-decoration:none;background:#c4e7a5;color:#283d21;transform:rotate(-5deg);box-shadow:0 0 30px #a5cb6d12}.brand-mark .icon{width:23px;height:23px}.rail-links{margin-top:48px;display:flex;flex-direction:column;gap:15px;width:100%;padding:0 11px}.nav-button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;background:transparent;color:#73816e;padding:12px 0;width:100%;border-radius:8px;transition:color .2s,background .2s}.nav-button .icon{width:20px;height:20px}.nav-button span{font-size:8px;font-weight:500;letter-spacing:.1px}.nav-button.active{background:#c9e8a50c;color:var(--mint)}.nav-button.active:before{content:"";position:absolute;left:-11px;height:24px;width:2px;background:var(--mint);border-radius:2px}.nav-button:hover{color:#d1e2c1;background:#ffffff05}.rail-bottom{margin-top:auto;display:flex;flex-direction:column;align-items:center;gap:20px;width:100%;padding:0 11px}.profile-avatar{width:30px;height:30px;border-radius:50%;background:#697c56;color:#e4eedb;display:grid;place-items:center;font-size:11px;border:3px solid #26321f}.topbar{grid-column:2/4;display:flex;align-items:center;justify-content:space-between;background:#131a14;border-bottom:1px solid #ffffff07;padding:0 28px;gap:22px;z-index:4}.wordmark{font-family:Manrope,sans-serif;font-weight:800;font-size:30px;letter-spacing:-1.6px;display:flex;align-items:center;white-space:nowrap}.wordmark-dot{color:var(--mint)}.world-tag{font-family:DM Sans,sans-serif;font-size:8px;font-weight:500;letter-spacing:1.4px;padding:6px 7px;background:#ffffff04;border:1px solid #ffffff09;border-radius:4px;color:#85937d;margin-left:20px}.resource-bar{display:flex;gap:28px;align-items:center}.resource{display:flex;gap:10px;align-items:center;min-width:68px;position:relative}.resource>.icon{width:22px;height:22px}.resource span{display:flex;flex-direction:column;gap:4px}.resource small{font-size:9px;color:#8e9a86}.resource strong{font-family:Manrope,sans-serif;font-size:13px;font-weight:600;letter-spacing:.2px;color:#d9e0cf}.resource-wood{color:#a7bd85}.resource-water{color:#8aaeb9}.resource-metal{color:#d7bc7c}.resource-oil{color:#899984}.resource-lithium{color:#9ba9b7}.resource .tiny-lock{width:10px;height:10px;color:#5e6a58;position:absolute;right:-5px;bottom:2px}.reward-top{display:flex;gap:10px;align-items:center;background:transparent;text-align:left;border-left:1px solid #ffffff0c;padding:0 0 0 22px}.reward-top>.icon:first-child{width:23px;height:23px;color:#c4dda1}.reward-top span{font-size:10px;color:#d1dec4;display:flex;flex-direction:column;gap:5px;white-space:nowrap}.reward-top small{font-size:9px;color:#849377}.reward-top>.icon:last-child{width:12px;color:#63725c;margin-left:7px}.sidebar{background:#141b15;grid-column:2;grid-row:2;z-index:3;border-right:1px solid #ffffff09;display:flex;flex-direction:column;min-height:0}#sidebar-content{overflow-y:auto;padding:26px 22px 10px;scrollbar-width:thin;scrollbar-color:#3e4c35 transparent}.territory-heading{display:flex;align-items:center;justify-content:space-between}.territory-heading .icon{width:14px;color:#6b7b63}.territory-heading .eyebrow{font-size:8px;letter-spacing:1.7px}.territory-name{font-family:Manrope,sans-serif;font-size:20px;font-weight:650;letter-spacing:-.7px;margin:9px 0 24px;display:flex;align-items:center;gap:12px}.territory-name>span{font-size:9px;border:1px solid #ffffff16;padding:3px 4px;color:#788b6b;border-radius:3px;letter-spacing:0}.settlement-card{border:1px solid #ffffff0d;border-radius:9px;overflow:hidden;background:linear-gradient(130deg,#202a1e,#1b231a)}.cabin-art{width:100%;height:auto;display:block}.settlement-card-body{padding:19px 15px 15px}.mini-tag{font-size:7px;font-weight:600;letter-spacing:1.4px;color:#b4cda0;background:#c6e8a40b;border:1px solid #c6e8a413;border-radius:3px;padding:4px 6px;display:inline-block}.settlement-card h2{font-family:Manrope,sans-serif;font-size:15px;font-weight:650;letter-spacing:-.5px;margin:12px 0 8px}.settlement-card p{color:#8e9b82;font-size:10px;line-height:1.8;max-width:210px}.population-row{display:flex;justify-content:space-between;align-items:center;margin-top:21px;font-size:9px;color:#a6b397}.population-row>span{display:flex;align-items:center;gap:6px}.population-row .icon{width:14px;height:14px}.population-row strong{font-size:10px;font-weight:500;color:#d4dec9}.population-row small{color:#77876c;font-size:9px}.progress-track{height:3px;border-radius:5px;background:#ffffff0a;margin-top:10px;overflow:hidden}.progress-track>div{height:100%;background:#c5e1a3;transition:width .5s}.next-stage{display:flex;justify-content:space-between;align-items:center;font-size:8px;color:#7e906f;margin-top:9px}.next-stage .icon{width:11px;height:11px}.upgrade-cost{display:flex;gap:14px;align-items:center;margin:15px 0 12px}.cost{display:inline-flex;align-items:center;gap:4px;font-size:10px;color:#a7b895;white-space:nowrap}.cost .icon{width:12px;height:12px}.cost.insufficient{color:#c1a17f}.settlement-card .button{font-size:10px;min-height:37px;justify-content:space-between;padding:10px 12px}.settlement-card .button .icon{width:14px}.invite-button{font-size:9px;flex-wrap:wrap;margin-top:12px;line-height:1.7}.invite-button .icon{height:12px;width:12px}.invite-button>span{font-size:8px;color:#819272}.invite-button>span .icon{height:9px;width:9px}.section-title{display:flex;align-items:center;justify-content:space-between;margin:26px 0 13px}.section-title h3{font-size:11px;font-weight:500;letter-spacing:-.1px}.section-title>span{font-size:8px;color:#718466;letter-spacing:1px}.quest{display:flex;align-items:center;gap:10px;width:100%;padding:11px 0;background:none;text-align:left;border-bottom:1px solid #ffffff05}.quest-check{width:23px;height:23px;border:1px solid #ffffff13;border-radius:50%;display:grid;place-items:center;flex-shrink:0;font-size:9px;color:#96a585}.quest-check .icon{width:12px;height:12px}.quest>span:nth-child(2){display:flex;flex-direction:column;gap:5px}.quest strong{font-size:9px;font-weight:500;color:#c3ceba}.quest small{font-size:8px;color:#73846a}.quest>.icon{width:11px;height:11px;margin-left:auto;color:#67795e}.quest:hover strong{color:var(--mint)}.quest.done .quest-check{background:#c5e1a315;color:var(--mint);border-color:#c5e1a329}.gear-title{margin-top:25px}.gear-card{border:1px solid #ffffff0c;border-radius:6px;width:100%;display:flex;align-items:center;gap:9px;padding:11px 10px;background:#ffffff02;text-align:left}.gear-icon{width:29px;height:29px;background:#d7bb7c0b;color:#d7bb7c;border:1px solid #d7bb7c17;border-radius:5px;display:grid;place-items:center}.gear-icon .icon{width:17px;height:17px}.gear-card>span:nth-child(2){display:flex;flex-direction:column;gap:5px}.gear-card strong{font-weight:500;font-size:9px}.gear-card small{font-size:7px;color:#859476}.gear-card>.icon{width:12px;height:12px;margin-left:auto;color:#8d9f7d}.sidebar-quote{font-family:Georgia,serif;font-size:11px;font-style:italic;line-height:1.9;color:#7c8e70;margin:27px 0 17px;text-align:center}.sidebar-quote span{display:block;font-family:DM Sans,sans-serif;font-style:normal;font-size:6px;letter-spacing:1.8px;color:#53634a;margin-top:9px}.sidebar-bottom{margin-top:auto;border-top:1px solid #ffffff08;padding:16px 13px;display:flex;align-items:center;gap:6px;white-space:nowrap;color:#97a889;font-size:8px}.sidebar-bottom .status-dot{width:4px;height:4px}.sidebar-bottom>span:last-child{margin-left:auto;color:#586e51;font-size:7px}.map{position:relative;overflow:hidden;min-width:0;background:#101b14}.map canvas#world{display:block;width:100%;height:100%;touch-action:none;cursor:grab}.map canvas#world:active{cursor:grabbing}.map-heading{position:absolute;left:36px;top:31px;pointer-events:none}.map-heading .eyebrow{display:flex;align-items:center;gap:9px;font-size:8px;letter-spacing:1.8px;color:#9bad92}.heading-divider{color:#566a4f;margin:0 2px}.map-heading .status-dot{width:4px;height:4px}.map-heading h1{font-family:Manrope,sans-serif;font-size:33px;font-weight:500;letter-spacing:-1.7px;margin:14px 0 10px;color:#e2e8d9;text-shadow:0 2px 20px #0006}.map-heading p{font-size:10px;color:#97a88d;letter-spacing:.1px}.weather{position:absolute;right:28px;top:32px;display:flex;align-items:center;gap:10px}.weather>.icon{width:22px;height:22px;color:#c7c599}.weather>span:nth-child(2){font-size:10px;display:flex;flex-direction:column;gap:5px;color:#bac6ad}.weather small{font-size:8px;color:#7f9272}.weather-temp{font-family:Manrope,sans-serif;font-size:23px;font-weight:400;margin-left:12px;color:#a8b99a}.map-coordinate{position:absolute;top:145px;left:36px;display:flex;align-items:center;gap:9px;font-size:9px;color:#bccbac;background:#121e17ba;border:1px solid #c6e8a416;border-radius:5px;padding:9px 11px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.map-coordinate>.icon{width:14px;height:14px}.coordinate-divider{height:11px;width:1px;background:#ffffff15;margin:0 1px}.live-label{font-size:6px;letter-spacing:1.3px;color:#7d9470}.map-label{position:absolute;top:72%;left:30%;font-family:Georgia,serif;font-style:italic;color:#cfddb24d;font-size:10px;pointer-events:none;text-shadow:0 2px 10px #000}.map-toolbar{position:absolute;right:27px;top:43%;display:flex;flex-direction:column;padding:4px;background:#172119de;border:1px solid #c6e8a414;border-radius:7px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.map-toolbar button{width:33px;height:34px;background:transparent;display:grid;place-items:center;color:#b7c7a6}.map-toolbar button:hover{background:#c6e8a413;border-radius:3px}.map-toolbar .icon{width:16px;height:16px}.map-toolbar>span{height:1px;background:#ffffff0b;margin:4px}.compass-rose{position:absolute;right:41px;top:22%;display:flex;flex-direction:column;align-items:center;color:#bdcda3;gap:10px;pointer-events:none}.compass-rose span{font-size:8px}.compass-rose .icon{width:31px;height:31px;transform:rotate(-35deg);opacity:.7}.location-card{position:absolute;bottom:69px;left:29px;display:flex;gap:13px;align-items:center;background:#19231adb;border:1px solid #b2c69a21;box-shadow:0 10px 30px #0002;border-radius:9px;padding:18px;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);max-width:calc(100% - 280px)}.location-icon{width:40px;height:44px;background:#c6e8a407;display:grid;place-items:center;border:1px solid #c6e8a414;border-radius:6px}.location-icon .icon{width:24px;height:24px}.location-description{min-width:150px}.location-description .eyebrow{font-size:6px;letter-spacing:1.6px;color:#839a76}.location-description h3{font-family:Manrope,sans-serif;font-size:13px;font-weight:500;margin:6px 0;letter-spacing:-.2px}.location-description>span:last-child{font-size:8px;color:#819775;white-space:nowrap}.location-description b{padding:0 5px;font-weight:400}.gather-button{font-size:9px;color:#c6dfac;background:#bfdd9a0a;margin-left:10px;padding:10px 12px;min-height:34px}.gather-button .icon{width:12px;height:12px}.minimap{position:absolute;right:27px;bottom:68px;width:210px;border:1px solid #b2c69a1c;background:#131d16da;border-radius:7px;overflow:hidden;box-shadow:0 10px 30px #0002;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.minimap-title{display:flex;align-items:center;gap:7px;font-size:8px;padding:12px 11px;color:#becbae;border-bottom:1px solid #ffffff06}.minimap-title>.icon{width:12px;height:12px;color:#8ea67a}.minimap-title>span:last-child{margin-left:auto;font-size:7px;color:#788f6b}.minimap canvas{width:100%;height:119px;display:block;opacity:.85}.minimap-bottom{border-top:1px solid #ffffff06;display:flex;align-items:center;justify-content:space-between;padding:10px;font-size:6px;color:#819671}.minimap-bottom>span:first-child{display:flex;align-items:center;gap:4px;font-size:7px}.minimap-bottom i{width:4px;height:4px;border-radius:1px;background:#bcd49a}.minimap-bottom>span:last-child{font-size:4px;letter-spacing:.55px;color:#627d57}.map-bottom{position:absolute;bottom:0;left:0;right:0;height:41px;border-top:1px solid #c6e8a40c;background:#111b14bb;display:flex;justify-content:space-between;align-items:center;padding:0 28px;pointer-events:none;color:#6d8262}.map-bottom>span{display:flex;align-items:center;gap:8px;font-size:7px;letter-spacing:.2px}.map-bottom .icon{width:11px;height:11px}.map-bottom b{font-weight:400;color:#4e6546}.map-bottom>span:last-child{font-size:5px;letter-spacing:1.1px}.map-bottom i{display:inline-block;width:3px;height:3px;border-radius:50%;background:#6c875d;margin:0 2px}.toast{position:fixed;bottom:27px;left:50%;transform:translate(-50%,20px);background:#263323;border:1px solid #c6e8a42e;color:#dce7d1;box-shadow:0 10px 50px #0006;border-radius:8px;padding:14px 19px;display:flex;align-items:center;gap:12px;max-width:min(620px,90vw);font-size:11px;line-height:1.7;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:30}.toast.visible{opacity:1;transform:translate(-50%)}.toast>.icon{color:var(--mint);width:18px;height:18px}.toast.error{background:#332c22;border-color:#c8a37848}.toast.error>.icon{color:#d9b786}.modal-backdrop{position:fixed;inset:0;background:#07100bc4;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);z-index:20;display:flex;justify-content:center;align-items:center;padding:30px}.modal{position:relative;background:linear-gradient(135deg,#1d281e,#141e17);border:1px solid #c6e8a425;border-radius:15px;padding:38px;max-width:800px;width:100%;max-height:90dvh;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#4b5e40 transparent;box-shadow:0 30px 100px #0006}.modal-close{position:absolute;right:24px;top:24px;background:#ffffff05;border:1px solid #ffffff0b;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;color:#a8ba9a}.modal-close .icon{width:15px;height:15px}.modal>.eyebrow{font-size:8px;letter-spacing:2px}.modal h2{font-family:Manrope,sans-serif;font-size:30px;font-weight:500;letter-spacing:-1.3px;margin:12px 0}.modal-intro{font-size:12px;line-height:1.9;color:#98aa8c;max-width:600px;margin-bottom:25px}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #c6e8a415;border-radius:7px;margin:22px 0;background:#c6e8a403}.stat-grid>div{padding:19px 20px;display:flex;flex-direction:column;gap:10px;border-right:1px solid #c6e8a40c}.stat-grid>div:last-child{border:0}.stat-grid small{font-size:7px;color:#849b76;letter-spacing:1.5px}.stat-grid strong{font-family:Manrope,sans-serif;font-weight:500;font-size:20px;letter-spacing:-.7px}.stat-grid em{font-size:11px;font-style:normal;color:#819576;letter-spacing:0}.panel-actions{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.panel-actions small{font-weight:400;color:#9aaa8d;font-size:8px}.panel-section-heading{font-size:12px;font-weight:500;margin:30px 0 16px;display:flex;align-items:center;justify-content:space-between}.panel-section-heading>span{font-size:9px;color:#829677;font-weight:400}.progression-list{border:1px solid #c6e8a412;border-radius:7px;overflow:hidden}.tier-row{display:flex;align-items:center;gap:14px;padding:14px 17px;border-bottom:1px solid #c6e8a40c}.tier-row:last-child{border:0}.tier-number{font-size:10px;color:#69805e;width:24px;flex-shrink:0}.tier-number .icon{width:15px;height:15px}.tier-row>div:nth-child(2){display:flex;flex-direction:column;gap:7px}.tier-row strong{font-size:11px;font-weight:500;display:flex;align-items:center;gap:10px}.tier-row small{font-size:9px;color:#7b9170}.tier-row .mini-tag{font-size:5px;letter-spacing:1px}.tier-cost{display:flex;gap:12px;margin-left:auto;justify-content:flex-end;flex-wrap:wrap}.tier-cost .cost{font-size:8px}.tier-cost .icon{width:10px;height:10px}.tier-row.current{background:#c6e8a40b}.tier-row.completed .tier-number{color:var(--mint)}.building-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:25px}.building{border:1px solid #c6e8a414;border-radius:8px;padding:22px;display:flex;flex-direction:column;align-items:flex-start}.building>.icon{width:24px;height:24px;color:#bed3a2;margin-bottom:14px}.building h3{font-family:Manrope,sans-serif;font-size:14px;letter-spacing:-.3px;font-weight:600;margin-bottom:10px}.building p{font-size:11px;line-height:1.9;color:#8ba07e;margin-bottom:20px}.building .button{margin-top:auto;font-size:10px}.notice{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid #c6e8a41c;border-radius:6px;background:#c6e8a405;color:#a9bc99;font-size:10px;line-height:1.8}.notice>.icon{width:17px;height:17px;color:#bdd6a5}.market-heading{display:flex;align-items:center;justify-content:space-between;margin:25px 0 15px;gap:15px}.market-heading h3{font-size:12px;font-weight:500}.market-heading label{font-size:10px;color:#97ad89;display:flex;align-items:center;gap:12px}.market-heading input{background:#0d1711;color:#dae6cf;border:1px solid #c6e8a425;border-radius:4px;width:86px;padding:8px}.market-list{border:1px solid #c6e8a41a;border-radius:7px;overflow:hidden}.market-row{display:flex;gap:15px;align-items:center;padding:20px;border-bottom:1px solid #c6e8a40c}.market-row:last-child{border:0}.market-resource{background:#c6e8a406;border-radius:6px;width:39px;height:39px;display:grid;place-items:center}.market-resource>.icon{width:23px;height:23px}.market-name{display:flex;flex-direction:column;gap:7px;min-width:110px}.market-name strong{font-size:12px;font-weight:500}.market-name strong>.icon{height:10px;width:10px;color:#788e6b;margin-left:6px}.market-name small,.market-price small{font-size:9px;color:#78906c}.market-price{margin-left:auto;display:flex;flex-direction:column;gap:6px;min-width:65px}.market-price strong{font-size:12px;color:#d6c28a;display:flex;align-items:center;gap:5px;font-weight:500}.market-price .icon{width:13px;height:13px}.trade-buttons{display:flex;gap:8px}.trade-buttons .button{min-height:32px;padding:8px 18px;font-size:10px}.market-row.locked{background:#00000008}.market-row.locked .market-resource{opacity:.5}.market-summary{display:flex;align-items:center;justify-content:space-between;margin-top:20px;padding:0 3px;color:#d6c28a;font-size:12px}.market-summary span{font-size:10px;color:#a8b897;display:flex;align-items:center;gap:8px}.market-summary .icon{width:15px;height:15px}.market-summary strong{font-weight:500}.federation-banner{display:flex;gap:17px;align-items:center;padding:22px;background:#c6e8a407;border:1px solid #c6e8a41c;border-radius:7px}.federation-banner>.icon{width:39px;height:39px;color:#bed8a3}.federation-banner .eyebrow{font-size:6px;letter-spacing:1.8px}.federation-banner h3{font-family:Manrope,sans-serif;font-size:18px;letter-spacing:-.5px;font-weight:500;margin:8px 0}.federation-banner p{font-size:9px;color:#8da47e}.network-badge{margin-left:auto;font-size:6px;letter-spacing:.8px;white-space:nowrap;color:#98af85;display:flex;gap:5px;align-items:center}.network-badge i{width:4px;height:4px;border-radius:50%;background:#b4d494}.proposal{border:1px solid #c6e8a414;border-radius:7px;padding:22px}.proposal h3{font-size:14px;font-weight:500;margin:15px 0 10px}.proposal>p{font-size:10px;line-height:1.8;color:#8ca17f}.proposal-footer{margin-top:20px;display:flex;align-items:center;justify-content:space-between;gap:12px}.proposal-footer>span{font-size:9px;color:#7e9670;display:flex;gap:6px;align-items:center}.proposal-footer .icon{width:13px;height:13px}.proposal-footer .button{font-size:10px}.journal-entry{display:flex;gap:15px;padding:20px 0;border-bottom:1px solid #c6e8a40c}.journal-entry>span{width:32px;height:32px;display:grid;place-items:center;background:#c6e8a408;border-radius:50%;color:#b4c99d;flex-shrink:0}.journal-entry .icon{width:15px;height:15px}.journal-entry small{font-size:6px;letter-spacing:1.5px;color:#79936a}.journal-entry p{font-size:11px;line-height:1.8;color:#b4c5a5;margin-top:8px}.journal-list{margin-bottom:25px}.guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin:32px 0}.guide-grid>div>.icon{color:#b9d49f;width:25px;height:25px}.guide-grid h3{font-size:13px;font-weight:500;margin:15px 0 10px}.guide-grid p{font-size:11px;line-height:1.9;color:#8fa781}.complete-label{color:var(--mint);font-size:11px;margin-top:15px}@media(min-width:1600px){#app{grid-template-columns:86px 320px minmax(0,1fr)}.topbar{padding:0 36px}.resource-bar{gap:45px}#sidebar-content{padding:30px 26px 15px}.territory-name{font-size:23px}.settlement-card h2{font-size:17px}.settlement-card p{font-size:11px}.map-heading{left:44px;top:40px}.map-heading h1{font-size:40px}.map-coordinate{left:44px;top:170px}.location-card{left:40px;bottom:80px;padding:22px;gap:17px}.location-description h3{font-size:15px}.minimap{width:240px;bottom:80px}.minimap canvas{height:143px}.location-description{min-width:200px}.map-label{top:73%;font-size:12px}.quest{padding:14px 0}.quest strong{font-size:10px}.quest small{font-size:9px}.section-title h3{font-size:12px}}@media(max-width:1200px){#app{grid-template-columns:68px 260px minmax(0,1fr)}.topbar{padding:0 20px;gap:15px}.world-tag{display:none}.resource-bar{gap:20px}.resource{min-width:55px;gap:7px}.resource>.icon{width:18px;height:18px}.reward-top{padding-left:16px}.reward-top>span{display:none}.reward-top>.icon:last-child{display:none}.sidebar #sidebar-content{padding:23px 17px 10px}.territory-name{font-size:19px}.settlement-card-body{padding:16px 12px}.settlement-card h2{font-size:14px}.weather{display:none}.map-heading{left:26px}.map-heading h1{font-size:29px}.map-coordinate{left:26px}.location-card{left:22px;padding:13px;max-width:calc(100% - 210px);gap:10px;bottom:64px}.location-icon{display:none}.location-description{min-width:0}.location-description h3{font-size:11px}.location-description>span:last-child{font-size:7px}.gather-button{margin-left:3px;padding:9px;font-size:8px}.minimap{width:163px;right:20px;bottom:64px}.minimap-title{font-size:7px;padding:10px 8px}.minimap-title>span:last-child{font-size:6px}.minimap canvas{height:100px}.minimap-bottom>span:last-child{display:none}.map-bottom{padding:0 20px}.map-bottom>span:last-child{display:none}.sidebar-bottom{font-size:7px;padding:14px 9px}.sidebar-bottom>span:last-child{font-size:6px}}@media(max-width:900px){#app{grid-template-columns:60px 235px minmax(0,1fr);grid-template-rows:72px minmax(0,1fr)}.rail{padding-top:20px}.brand-mark{width:30px;height:30px}.rail-links{padding:0 7px;margin-top:38px}.nav-button.active:before{left:-7px}.wordmark{font-size:25px}.topbar{padding:0 15px;gap:10px}.resource-bar{gap:16px}.resource{min-width:44px;gap:6px}.resource>.icon{width:15px;height:15px}.resource small{font-size:8px}.resource strong{font-size:11px}.reward-top{padding-left:12px}.reward-top>.icon:first-child{width:19px}.sidebar #sidebar-content{padding:21px 14px 10px}.territory-name{font-size:17px}.settlement-card h2{font-size:13px}.quest{gap:7px}.quest strong{font-size:8px}.quest small{font-size:7px}.gear-card{padding:9px 7px;gap:7px}.gear-card small{font-size:6px}.map-heading{left:22px;top:27px}.map-heading .eyebrow{font-size:6px;gap:6px;letter-spacing:1.2px}.map-heading h1{font-size:25px;letter-spacing:-1.2px}.map-heading p{font-size:8px}.map-coordinate{left:22px;top:133px;font-size:8px;padding:8px}.map-toolbar{right:18px;top:38%}.map-label{font-size:7px;top:65%;left:20%}.location-card{max-width:calc(100% - 40px);right:20px;bottom:65px;left:20px;justify-content:space-between}.minimap{bottom:165px;width:136px;right:20px}.minimap canvas{height:74px}.minimap-title{font-size:6px;gap:5px}.minimap-title>span:last-child{display:none}.minimap-bottom{padding:7px}.compass-rose{right:31px}.sidebar-quote{font-size:10px}.gear-card strong{font-size:8px}.sidebar-bottom>span:last-child{display:none}}@media(max-width:650px){#app{grid-template-columns:1fr;grid-template-rows:64px minmax(0,1fr) 65px;min-height:580px;height:100dvh}.topbar{grid-column:1;grid-row:1;padding:0 15px;gap:15px}.wordmark{font-size:24px}.resource-bar{flex:1;justify-content:space-around;gap:8px}.resource{min-width:0;gap:5px}.resource small{font-size:6px}.resource strong{font-size:10px}.resource>.icon{width:13px;height:13px}.resource .tiny-lock{width:7px;height:7px;right:-8px}.resource-oil,.resource-lithium{display:none}.reward-top{padding-left:10px}.reward-top>.icon:first-child{width:18px;height:18px}.rail{grid-column:1;grid-row:3;flex-direction:row;padding:0;border-top:1px solid #c6e8a414;border-right:0;background:#131c15;z-index:6}.brand-mark,.rail-bottom{display:none}.rail-links{flex-direction:row;margin:0;padding:0 8px;justify-content:space-around;gap:0}.nav-button{padding:10px 6px;gap:6px;border-radius:6px;width:60px}.nav-button .icon{width:18px;height:18px}.nav-button span{font-size:7px}.nav-button.active:before{top:-3px;left:18px;width:24px;height:2px}.sidebar{display:none}.map{grid-column:1;grid-row:2}.map-heading{left:22px;top:24px}.map-heading h1{font-size:28px;margin-top:14px}.map-heading p{font-size:9px}.map-heading .eyebrow{font-size:6px;letter-spacing:1.5px}.map-coordinate{top:132px;left:22px;font-size:8px}.map-toolbar{top:35%;right:17px}.map-toolbar button{width:29px;height:30px}.compass-rose{top:25%;right:28px}.compass-rose .icon{width:25px;height:25px}.minimap{bottom:135px;width:120px;right:17px}.minimap-title{font-size:6px}.minimap canvas{height:60px}.minimap-bottom{display:none}.location-card{left:17px;right:17px;bottom:48px;max-width:none;padding:14px}.location-description h3{font-size:12px}.location-description>span:last-child{font-size:8px}.gather-button{font-size:9px;padding:10px 14px}.map-label{font-size:6px;top:68%;left:10%}.map-bottom{height:30px;padding:0 17px}.map-bottom>span{font-size:6px;gap:5px}.modal-backdrop{padding:12px}.modal{padding:28px 21px;max-height:94dvh;border-radius:11px}.modal h2{font-size:25px;margin-top:14px}.modal-close{top:19px;right:18px}.modal-intro{font-size:11px;margin-top:16px}.stat-grid>div{padding:15px 10px}.stat-grid small{font-size:6px;letter-spacing:.8px}.stat-grid strong{font-size:16px}.stat-grid em{font-size:9px}.tier-row{padding:13px 10px;gap:8px;flex-wrap:wrap}.tier-number{width:18px;font-size:8px}.tier-row strong{font-size:10px}.tier-row small{font-size:8px}.tier-cost{gap:8px}.tier-cost .cost{font-size:7px}.tier-cost .icon{width:9px;height:9px}.panel-section-heading{font-size:11px}.panel-section-heading>span{font-size:8px}.building-grid{gap:12px}.building{padding:16px 13px}.building h3{font-size:12px}.building p{font-size:10px}.building .button{font-size:9px;padding:10px 8px;gap:6px}.market-row{padding:15px 10px;gap:10px;flex-wrap:wrap}.market-resource{width:29px;height:29px}.market-resource>.icon{width:18px;height:18px}.market-name{min-width:65px}.market-name strong{font-size:11px}.market-name small{font-size:8px}.market-price{min-width:40px}.trade-buttons{gap:5px}.trade-buttons .button{padding:8px 13px;font-size:9px}.market-heading h3{font-size:11px}.market-heading label{font-size:9px;gap:7px}.market-heading input{width:65px}.federation-banner{padding:17px 13px;gap:12px;flex-wrap:wrap}.federation-banner>.icon{width:30px;height:30px}.federation-banner h3{font-size:16px}.federation-banner p{font-size:8px}.network-badge{margin-left:42px;font-size:5px}.proposal{padding:17px}.proposal-footer{align-items:flex-start;flex-direction:column}.guide-grid{gap:22px}.guide-grid p{font-size:10px}.guide-grid h3{font-size:12px}.toast{bottom:80px;max-width:92vw;width:max-content;font-size:10px;padding:12px 15px}.modal .panel-actions .button{font-size:10px}.map-bottom>span{font-size:0}.map-bottom>span .icon{display:none}.map-bottom>span:after{content:"DRAG TO PAN  ·  TAP TO EXPLORE";font-size:6px;letter-spacing:.8px}}.modal .gear-card{padding:16px;gap:14px}.modal .gear-card strong{font-size:12px}.modal .gear-card small{font-size:10px}.map-guide{position:absolute;right:26px;top:104px;width:28px;height:28px;display:grid;place-items:center;background:#142018a6;border:1px solid #c6e8a414;border-radius:50%;color:#91a581}.map-guide .icon{height:15px;width:15px}@media(max-width:650px){.map-guide{top:26px;right:17px;width:25px;height:25px}.map-guide .icon{width:14px;height:14px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.pending-stock{display:flex;flex-wrap:wrap;gap:14px;margin:15px 0 12px}.resource-bar .resource{flex-direction:column;align-items:stretch;gap:3px;min-width:72px}.resource-summary{display:flex;align-items:center;gap:7px;background:none;padding:0;text-align:left;min-height:32px}.resource-summary>.icon{width:18px;height:18px}.resource-summary>span{gap:1px}.resource-claim{background:#c6e8a40b;color:var(--mint);border:1px solid #c6e8a41c;border-radius:4px;padding:3px 5px;min-height:23px;font-size:9px;white-space:nowrap;font-variant-numeric:tabular-nums}.resource-claim:hover:not(:disabled){background:#c6e8a420}.resource-progress{height:2px;background:#ffffff0b;border-radius:2px;overflow:hidden}.resource-progress>div{height:100%;background:currentColor}.resource-accrual{display:flex;align-items:center;gap:4px;min-width:0}.resource-accrual .resource-progress{flex:1;min-width:8px}.clock-game-time{display:inline-flex;align-items:center;gap:4px;vertical-align:middle}.clock-game-time .icon{width:13px;height:13px;color:#d7bc7c}.map-environment{position:absolute;top:12px;right:12px;z-index:3;display:grid;gap:8px;padding:10px 12px;border:1px solid #c6e8a430;border-radius:9px;background:#1c342bf2;box-shadow:0 4px 14px #102e2926;color:#dbe4c8;font-size:11px;font-variant-numeric:tabular-nums;pointer-events:none}.map-environment-calendar,.map-environment-weather{display:flex;align-items:center;gap:12px}.map-environment-calendar>span{display:inline-flex;align-items:center;gap:5px}.map-environment .icon{width:16px;height:16px;color:#d7c78d}.map-environment-weather{gap:6px;color:#b3c4a4;font-size:10px}.map-environment-weather strong{margin-left:auto;color:#dbe4c8;font-weight:500}@media(min-width:901px){.settlement-view:has(.settlement-task-panel:not([hidden])) .map-environment{right:468px}}@media(min-width:901px)and (max-width:1200px){.settlement-view:has(.settlement-task-panel:not([hidden])) .map-environment{right:428px}}@media(max-width:650px){.map-environment{gap:6px;padding:8px;font-size:10px}.map-environment-calendar{gap:8px}.map-environment .icon{width:14px;height:14px}.map-environment-weather{font-size:9px}.map .map-heading{max-width:calc(100% - 172px)}.map .map-heading h1{font-size:23px}.map .map-guide{top:105px;right:17px}.settlement-view .district-heading{max-width:calc(100% - 158px)}.settlement-view .district-heading h1{font-size:13px;min-width:0}.settlement-view .district-heading h1 button{padding:9px 8px;gap:6px}.settlement-view .district-heading h1 button .icon:first-child{width:16px}}.resource.storage-full .resource-claim{color:#e6c58b;border-color:#e6c58b60}.resource-tooltip{position:absolute;top:100%;left:50%;transform:translate(-50%);width:230px;padding:15px;background:#1c281e;border:1px solid #526647;border-radius:8px;box-shadow:0 12px 30px #0008;color:#d9e0cf;z-index:10;visibility:hidden;opacity:0;text-align:left}.resource:not(.tooltip-dismissed):is(:hover,:focus-within) .resource-tooltip{visibility:visible;opacity:1}.resource:first-child .resource-tooltip{left:0;transform:none}.resource:last-child .resource-tooltip{left:auto;right:0;transform:none}.resource-tooltip h3{font-size:13px;margin-bottom:10px}.resource-tooltip dl{margin:0;display:grid;gap:7px;font-size:11px}.resource-tooltip dl>div{display:flex;justify-content:space-between;gap:12px}.resource-tooltip dt{color:#a6b69b}.resource-tooltip dd{margin:0;font-variant-numeric:tabular-nums}.resource-weekly{margin-top:12px;padding-top:10px;border-top:1px solid #ffffff14}.resource-weekly h4{font-size:10px;color:#a6b69b;margin:0 0 8px}.resource-tooltip dd.resource-inflow{color:#9edb9f}.resource-tooltip dd.resource-outflow{color:#ffaaa3}.resource-tooltip dd.resource-flow-zero{color:#a6b69b}.resource-water.water-shortage .resource-summary strong,.resource-tooltip .water-shortage-text,.water-upkeep .water-shortage-text{color:#ffaaa3}.notice.water-upkeep{display:grid;grid-template-rows:20px 24px 32px 20px;gap:6px;height:140px;min-height:140px;flex-shrink:0;padding:12px}.water-upkeep-heading,.water-upkeep-countdown,.water-upkeep-links{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.water-upkeep-heading{font-size:11px}.water-upkeep-heading .cost{margin:0;white-space:nowrap}.water-upkeep-countdown{font-size:10px}.water-upkeep-countdown strong{font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap}.water-upkeep p{margin:0;font-size:9px;line-height:16px}.water-upkeep a{font-size:10px;text-decoration:underline;white-space:nowrap}.resource-tooltip p{font-size:10px;line-height:1.6;margin:11px 0 8px;color:#b5c5a5}.resource .resource-tooltip small{font-size:9px;line-height:1.5;display:block;color:#9aab8f}@media(max-width:1200px){.resource-bar{gap:14px}.resource-bar .resource{min-width:62px}}@media(max-width:900px){.resource-bar{gap:8px}.resource-bar .resource{min-width:52px}.resource-summary{gap:4px}.resource-summary>.icon{width:14px;height:14px}.resource-claim{font-size:8px}}@media(max-width:650px){.topbar{padding:0 12px;gap:10px}.topbar .wordmark{display:none}.resource-bar{min-width:0;gap:8px}.resource-bar .resource{display:flex;flex:1;min-width:0}.resource-summary{gap:4px;justify-content:center;min-height:29px}.resource-summary>.icon{width:12px;height:12px}.resource-summary small{font-size:7px}.resource-summary strong{font-size:10px}.resource-claim{padding:3px 2px;font-size:8px}.resource-tooltip{width:220px}.resource:nth-child(2) .resource-tooltip{left:0;transform:none}.resource:nth-last-child(2) .resource-tooltip{left:auto;right:0;transform:none}.reward-top{flex-shrink:0;padding-left:8px}}@media(max-width:650px){.resource-bar .resource .resource-tooltip{position:fixed;top:64px;left:12px;right:12px;width:auto;transform:none}}.server-clock{position:relative;display:flex;flex-direction:column;gap:4px;flex-shrink:0;min-width:190px;height:80px;font-variant-numeric:tabular-nums}.clock-heading{display:flex;align-items:center;gap:4px}.clock-label{font-size:7px;letter-spacing:1.2px;color:#8e9a86}.server-clock time{position:static;font-size:8px;line-height:10px;color:#8e9a86;white-space:nowrap}#world-time{--season-size:64px;display:grid;grid-template-columns:var(--season-size) minmax(0,1fr);grid-template-rows:auto auto auto;align-items:center;gap:3px 5px;min-width:148px;font-family:Manrope,sans-serif;font-size:12px;font-weight:600;color:#d9e0cf;white-space:nowrap}.clock-calendar{grid-column:2;grid-row:1;display:flex;align-items:baseline;gap:4px}.clock-calendar>span:first-child{color:#a7b49c;font-size:.85em}.clock-week-label small{font-size:8px;font-weight:400;color:#8e9a86}.clock-game-time{grid-column:2;grid-row:2;justify-self:start;font-size:14px}.clock-current-season{margin-left:3px;color:#b8c9a7;font-size:9px;font-weight:500}.clock-week{grid-column:2;grid-row:3;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;width:100%;max-width:168px;height:4px}.clock-day{position:relative;display:block;min-width:0;height:100%;overflow:hidden;border-radius:2px;background:#ffffff14}.clock-day-fill{position:absolute;inset:0 auto 0 0;width:var(--day-progress);background:#c6e8a4}.clock-day.current .clock-day-fill{background:#c6e8a4;transition:width .6s linear}.clock-seasons{grid-column:1;grid-row:1/4;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:4px;width:var(--season-size);height:var(--season-size)}.clock-season{position:relative;display:grid;place-items:center;aspect-ratio:1;min-width:0;border-radius:4px;background:linear-gradient(145deg,#ffffff0c,#ffffff02);box-shadow:inset 0 0 0 1px #c6e8a430;color:var(--season-color);isolation:isolate;overflow:hidden}.clock-season:before{content:"";position:absolute;inset:auto 0 0;height:var(--season-progress);background:linear-gradient(0deg,var(--season-color),var(--season-color) 75%,#ffffffb3);opacity:.65;transition:height 1s cubic-bezier(.22,.61,.36,1)}.clock-season>.icon{position:relative;z-index:1;width:18px;height:18px;opacity:.55;filter:drop-shadow(0 1px 2px #000b);transition:opacity .8s ease,color .8s ease}.clock-season>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.clock-season.complete>.icon,.clock-season.current>.icon{opacity:1;color:#fff8e8}.clock-season.current{box-shadow:inset 0 0 0 1px var(--season-color),0 0 10px #c6e8a426}.clock-season.current:after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 30%,#ffffff24 50%,transparent 70%);animation:season-shimmer 6s ease-in-out infinite}.clock-season.current>.icon{animation:season-drift 4s ease-in-out infinite}.clock-season-spring{--season-color:#97de81}.clock-season-summer{--season-color:#e9c56c}.clock-season-autumn{--season-color:#e99b79}.clock-season-winter{--season-color:#8bbfd9}@keyframes season-shimmer{0%,55%{transform:translate(-140%)}90%,to{transform:translate(140%)}}@keyframes season-drift{0%,to{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-1px) rotate(3deg)}}@media(prefers-reduced-motion:reduce){.clock-season.current:after,.clock-season.current>.icon{animation:none}.clock-day.current .clock-day-fill,.clock-season:before,.clock-season>.icon{transition:none}}@media(max-width:1200px){#world-time{--season-size:40px;column-gap:5px}.clock-game-time{font-size:12px}}@media(max-width:650px){#app{grid-template-columns:minmax(0,1fr)}}@media(max-width:1200px){.topbar{gap:12px}.world-tag{display:none}.server-clock{min-width:176px}#world-time{font-size:11px}.weather{display:flex;top:172px;right:auto;left:26px;padding:9px 12px;background:#142018cc;border:1px solid #c6e8a414;border-radius:7px}.weather-temp{font-size:18px;margin-left:4px}}@media(max-width:900px){.weather{left:22px;top:175px}.weather small{font-size:7px}}@media(max-width:650px){#app{grid-template-rows:110px minmax(0,1fr) 65px}.topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:42px 64px;gap:0 10px;padding:0 12px 4px}.server-clock{grid-column:1/3;grid-row:1;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-content:center;gap:3px 12px;border:0;height:42px;min-width:0;padding:0;background:transparent;box-shadow:none}.clock-heading{grid-column:2;grid-row:1;align-items:center;justify-content:flex-end;gap:5px}.clock-label{font-size:6px;letter-spacing:.5px}.server-clock time{position:static;grid-column:2;grid-row:2;align-self:end;font-size:8px}#world-time{grid-column:1;grid-row:1/3;font-size:11px;gap:6px 8px}.clock-week{width:91px}.resource-bar{grid-column:1;grid-row:2}.reward-top{grid-column:2;grid-row:2}.resource-bar .resource .resource-tooltip{top:110px}.weather{left:22px;top:178px;gap:7px;padding:8px 10px}.weather>span:nth-child(2){font-size:9px}.weather>.icon{width:18px;height:18px}.weather-temp{font-size:16px}.weather small{font-size:6px}}.resource-claim{min-width:0;overflow:hidden;text-overflow:ellipsis}#app{grid-template-rows:84px minmax(0,1fr)}.topbar{position:relative;padding-bottom:0}.topbar>.resource-bar{gap:clamp(8px,1.2vw,24px)}.population-bar{position:relative;flex-shrink:0;border-left:1px solid #ffffff0c;padding-left:14px}.population-bar.resource-bar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:32px 12px;gap:3px 14px;align-items:start;height:47px}.population-workforce{grid-column:1/-1;display:flex;align-items:center;gap:12px;font-size:9px;line-height:12px;color:#8e9a86;white-space:nowrap}.population-workforce>span{display:inline-flex;align-items:center;gap:4px}.population-workforce strong{font-size:10px;font-weight:600;font-variant-numeric:tabular-nums;color:#d9e0cf}.population-status{display:block;width:4px;height:4px;border-radius:50%;background:#c6e8a4}.population-status.idle{background:#d7bc7c}.population-card{color:#a7bd95}.population-bar .resource{min-height:0;justify-content:flex-start}.population-count{height:32px;align-items:center}.population-count>.icon{width:18px;height:18px;align-self:center}.population-count>span{min-width:0}.population-count small{white-space:nowrap}.population-count strong{font-variant-numeric:tabular-nums;white-space:nowrap}.population-bar .resource:last-of-type .resource-tooltip{left:auto;right:0;transform:none}#clock-speed{color:#c6e8a4;font-size:7px;white-space:nowrap}@media(max-width:1200px){.population-bar .resource{min-width:52px}.population-bar.resource-bar{column-gap:8px}}@media(min-width:901px)and (max-width:1400px){.topbar .world-tag,.reward-top>span,.reward-top>.icon:last-child{display:none}.reward-top{padding-left:12px}}@media(min-width:901px)and (max-width:1100px){.topbar{gap:6px;padding:0 10px}.topbar>#resource-bar{gap:8px}.topbar .wordmark{display:none}}@media(min-width:651px)and (max-width:800px){.topbar .wordmark{display:none}}@media(max-width:900px){#app{grid-template-rows:144px minmax(0,1fr)}.topbar{padding-bottom:60px}.population-bar.resource-bar{position:absolute;left:15px;right:15px;bottom:0;height:60px;border-left:0;border-top:1px solid #ffffff0b;padding:2px 0;grid-template-rows:28px 11px;align-content:center;gap:2px 24px}.population-bar .resource{min-height:0;min-width:0}.population-bar .resource-summary{justify-content:flex-start;height:28px;min-height:28px}.population-count>.icon{width:14px;height:14px}.population-workforce{font-size:8px;line-height:11px}}@media(max-width:650px){#app{grid-template-rows:170px minmax(0,1fr) 65px}.topbar{padding:0 12px 64px}.population-bar.resource-bar{left:12px;right:12px;column-gap:8px}.population-bar .resource-summary{justify-content:center}.population-card .resource-summary small{font-size:7px}.topbar .resource-bar .resource .resource-tooltip{position:fixed;top:170px;left:12px;right:12px;width:auto;transform:none}}.modal-heading{display:flex;align-items:center;gap:14px;margin:0 40px 22px 0}.modal-heading>span,.building-emblem{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;background:#c6e8a40c;border:1px solid #c6e8a420;border-radius:12px;color:#c6e8a4}.modal .modal-heading h2{margin:0;font-size:27px;letter-spacing:-.8px}.modal-heading .icon{width:24px;height:24px}progress{display:block;width:100%;height:5px;border:0;border-radius:5px;overflow:hidden;background:#ffffff0b;accent-color:var(--mint);appearance:none}progress::-webkit-progress-bar{background:#ffffff0b;border-radius:5px}progress::-webkit-progress-value{background:var(--mint);border-radius:5px}progress::-moz-progress-bar{background:var(--mint);border-radius:5px}.requirement-list{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.requirement{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:5px 7px;border:1px solid #b29c7625;border-radius:5px;background:#b29c7608;color:#b8a98c;font-size:9px;line-height:1.5}.requirement.met{color:#b9d4a0;border-color:#c6e8a425;background:#c6e8a408}.requirement .icon{width:12px;height:12px}.requirement .requirement-status{width:10px;height:10px;margin-left:3px}.sidebar-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}.sidebar-stats>span{display:flex;align-items:center;gap:8px;font-size:18px;color:#d9e7ce}.sidebar-stats .icon{width:17px;height:17px;color:#91ac7e}.sidebar-stats strong{font-weight:500;font-variant-numeric:tabular-nums}.next-stage{margin:12px 0 9px}.next-stage>span{display:flex;align-items:center;gap:4px}.quick-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.step-tile{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:67px;padding:12px 4px;background:#ffffff03;border:1px solid #ffffff0c;border-radius:7px;color:#8da17f;font-size:9px}.step-tile>.icon{width:21px;height:21px}.step-tile.done{color:#c6e8a4;background:#c6e8a409;border-color:#c6e8a420}.step-tile>.step-check{position:absolute;top:5px;right:5px;width:10px;height:10px}.level-dots{display:flex;gap:3px;align-items:center}.level-dots i{width:5px;height:5px;border-radius:2px;background:#ffffff16;display:block}.level-dots i.filled{background:#c6e8a4}.gear-card>.level-dots{margin-left:auto}.gear-card .cost{font-size:8px;margin-right:5px}.gear-card .cost .icon{width:10px;height:10px}.infrastructure-strip{display:flex;align-items:center;gap:13px;width:100%;margin:18px 0;padding:13px 10px;background:#ffffff03;border:1px solid #ffffff0c;border-radius:6px;color:#6c8062}.infrastructure-strip .icon{width:17px;height:17px}.infrastructure-strip .built{color:#c6e8a4}.infrastructure-strip>span{font-size:10px;margin-right:auto;color:#a8bd98}.infrastructure-strip>.icon:last-child{width:11px}.visual-stats{margin:0 0 18px}.visual-stats>div{padding:14px 16px;gap:7px}.visual-stats>div>.icon{width:19px;height:19px;color:#a5c08f}.visual-stats strong{font-size:18px}.visual-stats progress{margin-top:2px}.upgrade-card{padding:17px;border:1px solid #c6e8a420;background:#c6e8a407;border-radius:9px}.upgrade-target{display:flex;align-items:center;gap:11px;margin-bottom:12px}.upgrade-target>.icon{width:25px;height:25px;color:#bcd5a5}.upgrade-target>.icon:last-child{width:18px;margin-left:auto}.upgrade-target small{font-size:7px;letter-spacing:1.2px;color:#889e7b}.upgrade-target h3{font-size:16px;font-weight:500;margin-top:3px}.upgrade-card>.button{min-height:36px}.modal .upgrade-cost{flex-wrap:wrap;gap:9px}.storage-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.stock-card{min-width:0;border:1px solid #ffffff10;border-radius:7px;padding:12px 9px;background:#ffffff03}.stock-card.ready{border-color:#c6e8a43b;background:#c6e8a408}.storage-grid .stock-label{display:flex;align-items:center;gap:5px;margin-bottom:12px;font-size:9px}.stock-label .icon{width:15px;height:15px}.stock-card>strong{font-size:17px;font-weight:500;font-variant-numeric:tabular-nums}.stock-card>strong>small{font-size:9px;font-weight:400;color:#8da17e}.storage-meter{position:relative;margin:10px 0}.storage-meter i{position:absolute;left:50%;top:-2px;height:9px;width:1px;background:#e4eed477}.stock-rate{display:flex;align-items:center;gap:4px;font-size:8px;color:#95ac84}.stock-rate .icon{width:10px;height:10px}.threshold-badge{display:flex;align-items:center;gap:4px}.threshold-badge .icon{width:11px;height:11px}.claim-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 18px}.claim-row>span{font-size:11px;color:#c0d4ac}.claim-row small{display:block;margin-top:5px;color:#889d7a;font-size:9px}.warehouse-card{display:flex;align-items:center;gap:13px;padding:15px;border:1px solid #c6e8a420;border-radius:8px;background:#c6e8a405}.warehouse-info{flex:1;min-width:0}.warehouse-info h3{font-size:13px;font-weight:500;display:flex;align-items:center;gap:9px}.warehouse-info h3 small{font-size:10px;color:#9eb58e}.warehouse-info>.level-dots{margin:9px 0}.warehouse-info>small{font-size:9px;color:#8da27e}.warehouse-upgrade{display:flex;align-items:center;gap:15px;flex-wrap:wrap;justify-content:flex-end}.warehouse-upgrade .upgrade-cost{margin:0}.compact-buildings{margin-top:0;gap:12px}.compact-buildings .building{padding:18px;gap:10px}.compact-buildings .building>.icon{margin:0}.compact-buildings .building h3{margin:0}.building-benefit{display:flex;align-items:center;gap:5px;color:#8fa67f;font-size:9px;min-height:24px}.building-benefit .icon{width:13px;height:13px}.compact-buildings .upgrade-cost{margin:3px 0}.compact-buildings .button{margin-top:auto;min-height:35px}.bonus-number{font-size:29px;font-family:Manrope,sans-serif;color:#d8bf82}.bonus-number small{font-size:10px}.mini-rule{font-size:9px;color:#8da17d}.visual-proposal{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:14px;align-items:center;padding:17px}.visual-proposal h3{margin:0 0 10px;font-size:13px}.visual-proposal .button{font-size:10px}.disclosure{margin-top:20px;border:1px solid #c6e8a416;border-radius:7px;padding:0 14px;background:#ffffff02}.disclosure>summary{display:flex;align-items:center;gap:9px;list-style:none;cursor:pointer;min-height:45px;padding:12px 0;color:#b6cba3;font-size:11px}.disclosure>summary::-webkit-details-marker{display:none}.disclosure>summary>span{margin-left:auto;font-size:9px;color:#7f9572}.disclosure>summary>.icon{width:16px;height:16px}.disclosure>summary>.icon:last-child{margin-left:auto;width:12px;height:12px}.disclosure[open]>summary>.icon:last-child{transform:rotate(90deg)}.disclosure p{font-size:11px;line-height:1.9;color:#9eb28f;margin:0 0 16px}.disclosure .progression-list{border:0;margin:0 -4px 10px}.disclosure .tier-row{padding:13px 4px}summary:focus-visible{outline:2px solid var(--mint);outline-offset:3px;border-radius:3px}.market-heading h3{display:flex;align-items:center;gap:7px;color:#d6c28a;font-variant-numeric:tabular-nums}.market-heading h3>.icon{width:18px;height:18px}.market-row .market-resource{display:grid}.visual-guide{gap:12px;margin:0 0 18px}.visual-guide>div{padding:19px;border:1px solid #c6e8a41c;border-radius:8px;background:#c6e8a404}.visual-guide h3{margin:11px 0 8px}.visual-guide p{font-size:11px;line-height:1.8}.visual-guide small{display:block;color:#809873;font-size:9px;line-height:1.8}kbd{display:inline-block;padding:1px 5px;border:1px solid #c6e8a425;border-radius:3px;background:#0e1912;font-size:9px;color:#c4d9af}.guide-meter{max-width:130px;margin:12px 0}.journal-entry p{margin:0}.journal-entry small+p{margin-top:7px}.fineprint>.icon{width:11px;height:11px;margin-right:4px}@media(max-width:650px){.modal{padding:23px 18px}.modal .modal-heading h2{font-size:23px}.modal-heading>span{width:36px;height:36px;border-radius:9px}.modal-heading .icon{width:20px;height:20px}.visual-stats>div{padding:13px 10px}.visual-stats strong{font-size:14px;letter-spacing:-.4px}.visual-stats small{font-size:6px}.storage-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stock-card{padding:11px 8px}.stock-card>strong{font-size:16px}.warehouse-card{flex-wrap:wrap;padding:12px;gap:10px}.warehouse-card .building-emblem{width:36px;height:36px}.warehouse-info{min-width:125px}.warehouse-upgrade{width:100%;justify-content:space-between;gap:10px}.compact-buildings .building{padding:13px;gap:9px}.compact-buildings .building h3{font-size:12px}.compact-buildings .building>.icon{width:21px;height:21px}.requirement{font-size:8px;padding:4px 5px;gap:4px}.requirement .icon{width:10px;height:10px}.building-benefit{font-size:8px;flex-wrap:wrap}.visual-proposal{grid-template-columns:34px minmax(0,1fr);gap:10px;padding:13px}.visual-proposal .building-emblem{width:34px;height:34px}.visual-proposal>.button{grid-column:2;justify-self:start}.visual-guide>div{padding:15px 12px}.visual-guide p{font-size:10px}.visual-guide small{font-size:8px}.visual-guide h3{font-size:12px}.disclosure{padding:0 12px}.disclosure>summary{font-size:10px}.disclosure p{font-size:10px}}.nav-button,.gear-card{text-decoration:none}.settlement-sale{margin-top:24px}.settlement-sale form{display:grid;gap:10px;max-width:580px}.settlement-sale label{font-size:13px}.settlement-sale input,.settlement-sale select,.settlement-sale button{min-height:44px;min-width:0}.settlement-sale input,.settlement-sale select{width:100%;box-sizing:border-box;background:#1b2826;color:#edf1df;border:1px solid #647669;border-radius:8px;padding:10px}.settlement-sale-amount{display:grid;grid-template-columns:minmax(0,1fr) 64px;gap:8px}.settlement-sale [role=status]{min-height:20px;color:#e6c58b;font-size:13px}.half-sale-resources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.half-sale-resources>div{display:grid;gap:6px;min-width:0;padding:12px;border:1px solid #647669;border-radius:8px}.half-sale-resources strong,.half-sale-resources small{overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.half-sale-actions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.half-sale-actions button{flex:1;min-width:120px}.resource-pending{color:#a7b895;font-size:9px;text-align:right;line-height:12px;white-space:nowrap;flex-shrink:0;font-variant-numeric:tabular-nums}.storage-full .resource-pending{color:#e6c58b}.topbar>#resource-bar{gap:clamp(4px,.7vw,12px);min-width:0}#resource-bar .claim-all{display:flex;flex-direction:column;gap:4px;justify-content:center;align-items:center;min-width:42px;padding:7px;font-size:9px;flex-shrink:0}#resource-bar .claim-all .icon{width:16px;height:16px}#app.settlement-page{grid-template-columns:78px minmax(0,1fr);min-height:0;--settlement-header:84px;--settlement-footer:0px}.settlement-page .map{display:none}.settlement-page .topbar{grid-column:2/-1}.settlement-view{grid-column:2/-1;grid-row:2;position:relative;min-width:0;min-height:0;overflow:hidden;background:#829574;--scene-height:calc(100dvh - var(--settlement-header) - var(--settlement-footer));isolation:isolate}.settlement-district{position:absolute;inset:0;overflow:hidden;background:#1a271e}.district-heading{position:absolute;top:14px;left:16px;display:flex;align-items:center;gap:8px;z-index:3}.district-heading h1{font-size:clamp(28px,3vw,40px);letter-spacing:-1.3px;margin:6px 0}.district-heading p{font-size:12px;line-height:1.8;color:#adbea3;margin:0}.district-heading .eyebrow,.space-intro .eyebrow{color:#baca9e;font-size:8px;letter-spacing:1.8px}.district-heading>.button{flex-shrink:0;font-size:11px}.district-heading h1{margin:0;font-size:18px;letter-spacing:-.4px}.district-heading h1 button{display:flex;align-items:center;gap:10px;padding:12px 16px;border:1px solid #e6e4b54d;border-radius:10px;background:#1c342bf2;box-shadow:0 4px 14px #102e2926}.district-heading h1 button .icon:last-child{width:12px}.district-heading>.button{background:#1c342bf2;min-height:46px;color:#dfe8cb;border-color:#e6e4b54d}.district-stats{position:absolute;top:72px;left:16px;z-index:3;display:flex;align-items:center;gap:12px;flex-wrap:wrap;max-width:calc(100% - 32px);padding:9px 12px;border-radius:8px;background:#1c342be8;color:#b9c9ad;font-size:10px}.district-stats>span{display:flex;align-items:center;gap:7px}.district-stats .icon{width:14px;height:14px;color:#b9c9a3}.district-stats strong{color:#e0e6d3;font-size:12px}.settlement-panorama{position:absolute;inset:0 0 80px;background:#111d18;overflow:hidden}#settlement-world{display:block;width:100%;height:100%;touch-action:none;cursor:grab;outline-offset:-3px}#settlement-world:active{cursor:grabbing}.decoration-mode #settlement-world{cursor:crosshair}.settlement-camera-controls{position:absolute;right:16px;bottom:14px;display:flex;gap:6px;z-index:3}.settlement-camera-controls .button{min-width:44px;min-height:44px;padding:10px;background:#1c342bf2;border-color:#d5dfad40;box-shadow:0 4px 12px #16332533}.settlement-view:has(.settlement-task-panel:not([hidden])) .settlement-camera-controls{left:16px;right:auto}.settlement-view:has(.settlement-task-panel:not([hidden])) .panorama-hint{display:none}@media(max-width:650px){.settlement-panorama .panorama-hint{display:none}}.layout-intro{margin:0 0 16px}.layout-inspector{padding:16px;border:1px solid #dfcf9755;border-radius:10px;background:#d7c88e0b}.layout-inspector h3{font-size:17px;color:#eddfb3}.layout-inspector>p{margin:10px 0 16px;font-size:11px;color:#b9c9ad}.layout-selection-actions,.layout-entities{display:grid;gap:8px}.layout-entity{display:flex;align-items:center;gap:12px;width:100%;min-height:62px;padding:12px;border:1px solid #d5dfad25;border-radius:9px;background:#ffffff03;text-align:left}.layout-entity.selected{background:#e4cf8714;border-color:#e4cf8770}.layout-entity>span{display:grid;gap:6px;flex:1}.layout-entity strong{font-size:12px;font-weight:550}.layout-entity small{font-size:10px;color:#b1c19d}.layout-entity>.icon:last-child{width:12px}.layout-entity .item-art{width:28px;height:28px;margin:0}.layout-entity .item-art svg{width:28px;height:28px}.layout-coordinates{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.layout-coordinates label{display:grid;gap:6px;color:#b9c9ad;font-size:11px}.layout-coordinates input{width:100%;min-width:0;min-height:44px;border:1px solid #d5dfad44;border-radius:6px;padding:9px;background:#15251c;color:#e3e7dd}.layout-coordinates .button{grid-column:1/-1}.panorama-hint{position:absolute;left:16px;bottom:14px;display:flex;align-items:center;gap:6px;background:#1c342bd9;color:#e3e7d2;border:1px solid #f1f3ce24;border-radius:20px;padding:7px 12px;font-size:9px;pointer-events:none;z-index:3}.panorama-hint .icon{width:13px;height:13px}.settlement-section{max-width:1180px;margin:0 auto 24px;padding:24px;border:1px solid #c6e8a415;border-radius:14px;background:#19241c}.settlement-section-title{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:16px}.settlement-section-title h2{font-size:20px;letter-spacing:-.5px;margin:6px 0}.settlement-section-title .eyebrow{font-size:8px;letter-spacing:1.3px}.settlement-section-title>strong{font-variant-numeric:tabular-nums;color:#c6e8a4;font-size:18px}.settlement-section .fineprint{font-size:11px;line-height:1.9}.item-storage-card{display:flex;align-items:center;gap:14px;padding:18px;background:#ffffff03;border:1px solid #ffffff10;border-radius:10px;margin:16px 0}.item-storage-card>.icon{width:30px;height:30px;color:#c3b785;flex-shrink:0}.item-storage-card h3,.equipped-item h3{font-size:14px;margin:5px 0}.item-storage-card span,.equipped-item span,.equipped-item small{font-size:10px;color:#a6b69b}.item-storage-next{margin-left:auto;display:flex;gap:12px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.item-storage-next .button{font-size:10px}.equipped-item{display:flex;align-items:center;gap:16px;background:linear-gradient(110deg,#c7a96912,#b9db9a07);border:1px solid #c7b7852b;border-radius:10px;padding:14px 18px}.equipped-item .item-art{width:64px;height:64px;flex-shrink:0;margin:0}.equipped-item>.button{margin-left:auto}.inventory-filters{display:flex;gap:7px;flex-wrap:wrap;margin:23px 0 16px}.inventory-filters .button{font-size:10px;padding:8px 12px}.inventory-filters [aria-pressed=true]{color:var(--mint);background:#c6e8a415;border-color:#c6e8a443}.item-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.item-card{min-width:0;padding:16px;background:#101a14;border:1px solid #ffffff0c;border-radius:10px;display:flex;flex-direction:column;align-items:center;text-align:center}.item-card h3{font-size:12px;margin:9px 0;overflow-wrap:anywhere}.item-card small{font-size:8px;color:#9bad8c}.item-card p{color:#a7b895;font-size:10px;margin:0 0 13px}.item-card .button{margin-top:auto;font-size:10px;min-height:35px}.item-card .upgrade-cost{flex-wrap:wrap;justify-content:center;gap:7px;margin:0 0 14px}.item-art{width:80px;height:80px;display:grid;place-items:center;margin-bottom:10px;border-radius:18px;background:radial-gradient(ellipse,#caa96b1c,transparent 70%)}.item-art svg{width:62px;height:62px}.collectible-art{background:radial-gradient(ellipse,#a6cd9b29,transparent 70%);border:1px solid #c6e8a415}.collectible-art .icon{width:35px;height:35px;color:#c5d5a5;transform:rotate(-12deg)}.inventory-empty{grid-column:1/-1;text-align:center;padding:35px 20px;border:1px dashed #ffffff15;border-radius:10px;color:#9bab90;font-size:12px;line-height:1.9}.inventory-panel .settlement-section-title{margin-bottom:4px}.inventory-expansion{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px}.inventory-expansion>span{min-width:0;font-size:10px;color:#a6b69b}.inventory-expansion .button{flex-shrink:0;gap:5px;padding:6px 9px;font-size:10px;min-height:36px}.inventory-expansion .cost-chip{font-size:10px}.inventory-panel .inventory-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:6px 0}.inventory-panel .inventory-filters .button{min-width:0;min-height:36px;padding:4px;font-size:9px;line-height:13px}.inventory-slots{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;width:100%;max-width:360px;margin:10px auto}.inventory-slot{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;width:100%;aspect-ratio:1;padding:4px;background:radial-gradient(ellipse at 50% 30%,#c6e8a40b,transparent 80%),#101a14;border:1px solid #ffffff18;border-radius:9px;box-shadow:inset 0 1px #ffffff06,0 2px 4px #00000020;color:#c5d5b9;cursor:pointer;transition:background .15s,border-color .15s}.inventory-slot:not(.empty):not(:disabled):hover,.inventory-slot[aria-pressed=true]{background:#c6e8a418;border-color:#c6e8a47a;box-shadow:inset 0 0 0 1px #c6e8a422,0 0 12px #c6e8a410}.inventory-slot:focus-visible{outline:2px solid var(--mint);outline-offset:2px}.settlement-task-body .inventory-slot .item-art,.inventory-slot .item-art{width:36px;height:36px;max-width:100%;max-height:100%;margin:0;border-radius:8px}.settlement-task-body .inventory-slot .item-art svg,.inventory-slot .item-art svg{width:32px;height:32px}.inventory-slot .collectible-art .icon{width:24px;height:24px}.inventory-slot>i{position:absolute;top:3px;right:3px;padding:2px;border-radius:5px;background:#16251a;border:1px solid #c6e8a433;color:#c6e8a4;line-height:0}.inventory-slot>i .icon{width:11px;height:11px}.inventory-slot.empty{cursor:default;background:linear-gradient(145deg,#0c160f,#142018);border-color:#ffffff0b;box-shadow:inset 0 2px 5px #00000030,0 1px #ffffff05}.inventory-slot.reserved{opacity:.55;cursor:not-allowed}.inventory-pages{display:flex;align-items:center;gap:4px;margin:6px 0}.inventory-pages .button{min-width:36px;min-height:36px;padding:5px}.inventory-pages [aria-current=page]{color:var(--mint);border-color:#c6e8a47a;background:#c6e8a418}.inventory-pages>span{margin-left:auto;font-size:10px;color:#a6b69b;white-space:nowrap}.inventory-item-detail{display:flex;align-items:center;gap:10px;padding:10px 0;border-top:1px solid #ffffff10}.inventory-item-detail>div:not(.item-art){min-width:0;flex:1}.inventory-item-detail h3{font-size:12px;margin:0 0 5px;overflow-wrap:anywhere}.inventory-item-detail p,.inventory-page-empty{font-size:10px;color:#a6b69b;line-height:1.6;margin:0}.inventory-item-detail .button{flex-shrink:0;font-size:10px;padding:8px}.settlement-task-body .inventory-item-detail .item-art{width:34px;height:34px;margin:0;flex-shrink:0}.settlement-task-body .inventory-item-detail .item-art svg{width:30px;height:30px}.inventory-panel .disclosure{margin-top:10px}.pending-finds{display:flex;align-items:center;gap:20px;border:1px solid #d5bd7740;border-radius:10px;padding:18px;margin:18px 0;background:#d5bd7708}.pending-finds h3{font-size:13px;margin:0 0 7px}.pending-finds p,.pending-finds li{font-size:11px;color:#b6b995;line-height:1.8}.pending-finds ul{padding-left:17px;margin:8px 0 0}.pending-finds .button{margin-left:auto;flex-shrink:0}.settlement-goal{position:absolute;top:122px;left:16px;z-index:3;display:grid;gap:9px;width:220px;padding:16px;border:1px solid #e6d9a64d;border-radius:12px;background:#1c342bf2;box-shadow:0 8px 24px #172e2929}.settlement-goal>small{font-size:9px;letter-spacing:1.6px;color:#c9c7a2}.settlement-goal>strong{font-size:21px;color:#f2e3b9}.settlement-goal>span{font-size:10px;color:#bdcbae}.settlement-goal progress{width:100%;height:5px}.settlement-goal .button{gap:8px;flex-wrap:wrap;min-height:44px}.settlement-task-panel{position:absolute;top:14px;right:14px;bottom:92px;width:min(440px,calc(100% - 28px));z-index:4;display:flex;flex-direction:column;min-height:0;border:1px solid #c9d9a84d;border-radius:16px;background:#18291ff7;box-shadow:0 14px 50px #12281f66;overflow:hidden}.settlement-task-panel[hidden]{display:none}.settlement-task-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px 12px 20px;flex-shrink:0;border-bottom:1px solid #d5dfad25;background:#243a2a}.settlement-task-heading h2{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:650;outline-offset:3px}.settlement-task-heading h2 .icon{color:#d7c58c}.task-close{display:grid;place-items:center;min-width:44px;min-height:44px;border-radius:8px;background:#ffffff09;color:#d4dfc5}.task-close:hover{background:#ffffff18}.settlement-task-body{padding:20px;overflow:auto;min-height:0;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#6f865b #18291f}.settlement-task-body .settlement-section{margin:0;padding:0;border:0;border-radius:0;background:none}.settlement-task-body .settlement-section-title h3{font-size:13px}.settlement-task-body .upgrade-cost{flex-wrap:wrap;gap:9px}.settlement-task-body .building-grid,.settlement-task-body .storage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settlement-task-body .warehouse-card{flex-wrap:wrap;gap:12px}.settlement-task-body .warehouse-info{min-width:0}.settlement-task-body .warehouse-upgrade{margin-left:auto}.settlement-task-body .item-storage-card{flex-wrap:wrap;padding:13px;gap:10px}.settlement-task-body .item-storage-next{width:100%;max-width:none;justify-content:space-between;border-top:1px solid #ffffff10;padding-top:12px;margin-top:3px}.settlement-task-body .item-storage-next .button{margin-left:auto}.settlement-task-body .pending-finds{flex-direction:column;align-items:stretch;gap:10px;padding:13px}.settlement-task-body .pending-finds .button{margin-left:0}.settlement-task-body .equipped-item{padding:12px;gap:8px;flex-wrap:wrap}.settlement-task-body .equipped-item .item-art{width:45px;height:52px}.settlement-task-body .equipped-item .item-art svg{width:43px}.settlement-task-body .equipped-item .button{padding:8px;font-size:9px}.settlement-task-body .item-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.settlement-task-body .item-card{padding:14px 10px}.settlement-task-body .item-art{width:64px;height:64px}.settlement-task-body .item-art svg{width:52px;height:52px}.settlement-task-body .notice:not(.water-upkeep){display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.settlement-quick-actions{display:grid;gap:9px;margin:18px 0}.settlement-quick-actions .button{justify-content:space-between;min-height:46px}.settlement-activity{display:grid;gap:9px}.settlement-activity>button{display:flex;gap:12px;align-items:center;width:100%;padding:14px;border:1px solid #cfdda329;background:#c6e8a409;border-radius:9px;text-align:left}.settlement-activity>button>span{display:grid;gap:7px;flex:1}.settlement-activity strong{font-size:12px;font-weight:550}.settlement-activity small{font-size:10px;color:#b1c19d}.settlement-activity>button>.icon:last-child{width:13px}.resident-summary{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:20px}.resident-summary>strong{font-size:28px;color:var(--mint)}.resident-summary>span{color:#b4c3a5}.resident-summary>.button{margin-left:auto;min-height:44px}.upgrade-guidance{font-size:11px;color:#c5b88b;line-height:1.7;margin:12px 0}.settlement-dock{position:absolute;z-index:5;bottom:10px;left:50%;transform:translate(-50%);display:flex;gap:6px;padding:7px;border:1px solid #d5dfad40;border-radius:16px;background:#192d21f5;box-shadow:0 6px 24px #16332555;max-width:calc(100% - 24px)}.settlement-dock>button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;height:55px;min-height:55px;min-width:76px;padding:7px 8px;border:1px solid transparent;border-radius:10px;background:transparent;color:#b9c9ad;font-size:10px}.settlement-dock>button>span{white-space:nowrap;line-height:14px}.settlement-view:has(.placement-prompt) .settlement-goal{display:none}.settlement-dock>button:hover{background:#d6e5ad12;color:#f2e4bb}.settlement-dock [aria-pressed=true]{border-color:#e4cf8770;background:#e4cf871c;color:#f3e4b7}.task-badge{position:absolute;top:2px;right:5px;min-width:16px;padding:2px 4px;border-radius:9px;background:#e4c481;color:#243926;font-size:9px}.placement-prompt{position:absolute;z-index:4;top:16px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:14px;max-width:calc(100% - 32px);padding:10px 14px;border:1px solid #f0d7a399;border-radius:12px;background:#263f2af5;box-shadow:0 8px 22px #172e2944}.placement-prompt>span{font-size:13px;color:#f2e3b9;line-height:1.6}.placement-prompt .button{flex-shrink:0;min-height:44px}.settlement-saving{display:none;position:absolute;bottom:92px;left:50%;transform:translate(-50%);z-index:6;border:1px solid #d5dfad55;border-radius:20px;padding:8px 18px;font-size:11px;background:#1c342bf5;color:#e3e7dd}.action-pending .settlement-saving{display:block}@media(max-width:1200px){#app.settlement-page{grid-template-columns:68px minmax(0,1fr)}.settlement-task-panel{width:400px}.settlement-goal{width:190px}}@media(max-width:900px){#app.settlement-page{grid-template-columns:60px minmax(0,1fr);--settlement-header:126px}.settlement-task-panel{inset:auto 12px 88px;width:auto;height:60%;border-radius:16px}.settlement-view:has(.settlement-task-panel:not([hidden])) .settlement-panorama{bottom:calc(60% + 100px)}.settlement-view:has(.settlement-task-panel:not([hidden])) .settlement-goal{display:none}.settlement-task-body{padding:16px}.settlement-task-heading{padding:8px 12px 8px 16px}.district-heading{top:10px;left:12px}.district-stats{top:66px;left:12px;font-size:9px;gap:9px;padding:8px 10px;max-width:calc(100% - 24px)}.district-stats strong{font-size:10px}.settlement-goal{top:112px;left:12px}.placement-prompt{top:112px;left:12px;transform:none}.settlement-dock{gap:3px}.settlement-dock>button{min-width:68px}}@media(max-width:650px){#app.settlement-page{grid-template-columns:minmax(0,1fr);--settlement-header:152px;--settlement-footer:65px}.settlement-page .topbar{grid-column:1}.topbar>#resource-bar{gap:4px}.resource-pending{font-size:8px}#resource-bar .claim-all{min-width:34px;padding:6px 4px;font-size:8px}.settlement-view{grid-column:1;grid-row:2}.district-heading h1{font-size:15px}.district-heading h1 button{padding:10px 12px}.district-heading>.button{font-size:0;padding:10px}.district-heading>.button .icon{width:17px;height:17px}.district-stats>span:nth-child(3){display:none}.district-stats>span:last-child{margin-left:0}.settlement-map{min-width:940px}.settlement-task-panel{left:8px;right:8px;bottom:84px;max-width:calc(100% - 16px)}.settlement-view:has(.settlement-task-panel:not([hidden])) .settlement-panorama{bottom:calc(60% + 96px)}.settlement-task-heading h2{font-size:16px}.settlement-task-body{padding:14px}.settlement-task-body .building-grid{grid-template-columns:1fr}.settlement-task-body .warehouse-card{padding:12px}.settlement-task-body .item-card{padding:12px 8px}.settlement-task-body .tier-row{flex-wrap:wrap}.settlement-task-body .tier-cost{max-width:100%;flex-wrap:wrap}.settlement-task-body .button{min-height:44px}.settlement-goal{width:180px;padding:13px}.settlement-goal>strong{font-size:18px}.settlement-dock{bottom:8px;width:calc(100% - 16px);max-width:calc(100% - 16px);padding:5px;gap:2px;border-radius:12px}.settlement-dock>button{flex:1;min-width:0;min-height:56px;padding:7px 1px;font-size:8.5px;gap:6px}.settlement-dock>button>span{max-width:100%;overflow-wrap:anywhere;line-height:12px}.settlement-dock .icon{width:19px;height:19px}.task-badge{right:1px;top:0;font-size:8px}.panorama-hint{left:10px;bottom:10px;font-size:8px}.placement-prompt{flex-wrap:wrap;gap:8px;max-width:calc(100% - 24px)}}@media(max-height:650px)and (min-width:901px){.settlement-goal{display:none}.settlement-task-panel{bottom:88px}.settlement-task-body{padding:14px}}@media(max-width:900px){.settlement-view:has(.inventory-panel){z-index:5}.settlement-task-panel:has(.inventory-panel){position:fixed;inset:12px 12px 12px 72px;width:auto;height:auto;max-width:none}.settlement-task-body:has(.inventory-panel){padding:12px}}@media(max-width:650px){.settlement-task-panel:has(.inventory-panel){inset:8px 8px 73px}.inventory-panel .inventory-filters .button,.inventory-pages .button,.inventory-expansion .button{min-height:44px}.inventory-pages .button{min-width:44px}}@media(max-height:650px)and (min-width:901px){.settlement-view:has(.inventory-panel){z-index:5}.settlement-task-panel:has(.inventory-panel){position:fixed;top:8px;bottom:8px;right:14px;width:min(440px,calc(100% - 106px))}}@media(max-width:900px){.settlement-view:has(.settlement-task-panel:not([hidden])) .district-stats{display:none}}.sidebar-mobile-heading{display:none}#sidebar-content{min-height:0}.explore-page .cabin-art{height:64px}.sidebar-primary-actions{display:grid;gap:9px;margin-top:18px}.sidebar-primary-actions .button{min-height:48px;flex-wrap:wrap;gap:8px;padding:12px 8px}.sidebar-action-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:stretch}.sidebar-action-row>.button{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;justify-content:flex-start;min-width:0;min-height:112px;text-align:left;padding:12px 10px;gap:7px}.sidebar-action-row .completion-meter{flex-basis:auto}.quick-action-heading{display:inline-flex;align-items:center;gap:7px;min-width:0;line-height:1.5}.quick-action-heading>span{min-width:0;overflow-wrap:anywhere}.quick-action-heading>.icon{flex-shrink:0;width:16px;height:16px}.sidebar-action-row .quick-action-heading{font-size:11px}.sidebar-action-row .quick-action-cost,.sidebar-action-row [data-invite-cost]{display:grid;gap:5px;padding:8px;border:1px solid #4c6650;border-radius:6px;background:#233327;color:#ecf3e5}.sidebar-action-row .quick-action-cost>small,.sidebar-action-row [data-invite-cost]>small{font-size:10px;line-height:1.5;color:#cbd8be}.sidebar-action-row [data-invite-cost][hidden]{display:none}.sidebar-action-row .cost{display:flex;align-items:center;flex-wrap:wrap;gap:4px;margin:0;padding:0;border:0;background:transparent;color:inherit;font-size:14px}.sidebar-action-row .cost>.icon{width:15px;height:15px;flex-shrink:0;color:#e7cb8b}.sidebar-action-row .cost>span{font-size:11px}.sidebar-action-row .cost>strong{margin-left:auto;font-size:14px;font-weight:700;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;min-width:0}.sidebar-action-row .cost.insufficient{color:#ffb7a7}.sidebar-action-row>.button:disabled:not(:has(.completion-meter)){opacity:1;background:#263229;color:#bbccb0;border-color:#4c6650}.sidebar-action-row .quick-action-duration,.sidebar-action-row [data-invite-duration]{font-size:9px;line-height:1.5}.quick-action-batch{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:600}.quick-action-batch>.icon{width:13px;height:13px}.completion-meter{display:grid;width:100%;min-width:0;gap:7px;margin-top:12px;flex-basis:100%;font-size:10px;text-align:left}.completion-caption{display:flex;align-items:baseline;gap:8px;line-height:1.6;flex-wrap:wrap;color:#9dad91}.completion-caption>span{margin-right:auto}.completion-caption strong{font-size:10px;color:#d9e7ce;font-weight:500;overflow-wrap:anywhere}.completion-caption small{font-size:9px;color:#a6c58e;font-variant-numeric:tabular-nums}.completion-meter progress{height:7px;margin:0;width:100%}.completion-meter.compact{margin-top:auto;gap:6px}.completion-meter.compact .completion-caption{justify-content:space-between;gap:4px}.completion-meter.compact .completion-caption>span{display:none}.completion-meter.compact .completion-caption strong{font-size:9px}.completion-meter.sync-paused{opacity:.55}.completion-meter.awaiting-confirmation progress{accent-color:#d7bc7c}.completion-meter.awaiting-confirmation progress::-webkit-progress-value{background:#d7bc7c}.button:disabled:has(.completion-meter){opacity:1;cursor:default;background:#233327;color:#dce7d4;border-color:#aec99738}.expedition-card>div{flex:1;min-width:0}.sidebar-primary-actions .fineprint{margin:0}.sidebar-status{display:grid;gap:3px;margin-top:12px;font-size:10px;line-height:1.7;color:#9dad91}.sidebar-status small{font-size:9px}.sidebar-expeditions{margin-top:14px;padding:12px;border:1px solid #ffffff0d;border-radius:8px;background:#ffffff03;font-size:10px}.sidebar-expeditions>a{color:#c6e8a4;text-decoration:none}.sidebar-secondary-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:18px}.sidebar-secondary-actions .button{min-width:0;min-height:34px;padding:8px 5px;gap:5px;font-size:10px;text-decoration:none}.sidebar-secondary-actions .sidebar-upgrade{grid-column:1/-1;flex-wrap:wrap}.sidebar-gear{display:flex;align-items:center;gap:8px;margin-top:14px;padding:12px 0;border-top:1px solid #ffffff10;text-decoration:none;font-size:10px}.sidebar-gear>span{display:grid;gap:5px;min-width:0;flex:1}.sidebar-gear strong{font-weight:500}.sidebar-gear small{font-size:9px;line-height:1.7;color:#92a785}.sidebar-gear>.icon{width:16px;height:16px}@media(max-width:650px){#app.explore-page{grid-template-rows:var(--game-header-height,170px) minmax(0,1fr) auto 65px;min-height:0}.explore-page .sidebar{display:flex;grid-column:1;grid-row:3;border-right:0;border-top:1px solid #ffffff14}.explore-page .rail{grid-row:4}.sidebar-mobile-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 10px;font-size:11px}.sidebar-mobile-heading>div{display:flex;align-items:center;gap:6px}.sidebar-mobile-heading .button{min-width:44px;min-height:44px;padding:8px;font-size:10px;text-decoration:none;white-space:nowrap}.sidebar-mobile-heading .icon{width:15px;height:15px}.explore-page #sidebar-content{padding:0 10px 10px;overflow-y:auto}.explore-page #sidebar-content>:not(.sidebar-primary-actions),.explore-page .sidebar-bottom{display:none}.explore-page .sidebar-primary-actions{margin-top:0;gap:6px}.explore-page .sidebar-action-row>.button{min-height:108px;padding:8px;gap:5px}.explore-page .sidebar-action-row .quick-action-cost,.explore-page .sidebar-action-row [data-invite-cost]{padding:6px;gap:3px}.explore-page .location-card,.explore-page .map-bottom{display:none}.explore-page .minimap{bottom:12px}}@media(max-width:650px)and (max-height:740px){.explore-page .minimap,.explore-page .map-coordinate,.explore-page .compass-rose{display:none}.explore-page .map-heading h1{margin-top:7px;font-size:23px}.explore-page .map-toolbar{top:auto;bottom:12px}}@media(max-width:650px)and (max-height:650px){.explore-page .map-heading{top:10px}.explore-page .map-heading h1{margin:0;font-size:20px}.explore-page .map-heading p,.explore-page .map-heading .eyebrow{display:none}.explore-page .map-toolbar{flex-direction:row;left:10px;right:auto;bottom:10px}.explore-page .map-toolbar>span{display:none}}#app.marketplace-page{grid-template-columns:78px minmax(0,1fr);min-height:0}.marketplace-page .topbar{grid-column:2/-1}.marketplace-page .map{display:none}.marketplace-view{grid-column:2/-1;grid-row:2;min-height:0;min-width:0;overflow:auto;padding:20px;background:radial-gradient(ellipse at top right,#26392355,transparent 55%),#111b15;scrollbar-color:#44533c transparent;color-scheme:dark;font-size:12px;line-height:1.5}.marketplace-view .fineprint{font-size:11px}.exchange-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:16px}.exchange-heading h1{font-size:24px;letter-spacing:-.6px;margin:0}.market-bank-link{display:flex;align-items:center;gap:8px;min-height:44px;width:fit-content;margin:0 0 12px;color:#d7bc7c;font-size:12px;text-decoration:none}.exchange-help{margin-top:16px;border-top:1px solid #c6e8a41c;font-size:11px;color:#9dad91}.exchange-help summary{display:flex;align-items:center;min-height:44px;cursor:pointer;color:#b8c5a9}.exchange-help summary:after{content:"+";margin-left:auto;padding-left:8px}.exchange-help[open] summary:after{content:"-"}.exchange-help summary:focus-visible{outline:2px solid var(--mint);outline-offset:3px}.exchange-help p{margin:0 0 12px;line-height:1.8}.exchange-wallet{display:grid;grid-template-columns:auto minmax(0,auto);gap:3px 8px;align-items:center;flex-shrink:0;max-width:100%;min-width:0}.exchange-wallet>.icon{color:#d7bc7c}.exchange-wallet strong{font-size:18px;color:#ebd39b;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.exchange-wallet>span{grid-column:1/-1;font-size:11px;text-align:right;color:#9dad91}.exchange-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:16px;align-items:start;max-width:1600px;margin:auto}.exchange-catalog{grid-column:1;grid-row:1;padding:12px;border:1px solid #c6e8a41c;border-radius:12px;background:#17241b;min-width:0}.exchange-catalog label,.exchange-card label{display:grid;gap:6px;font-size:12px;color:#b8c5a9;margin-bottom:12px}.marketplace-view input,.marketplace-view select{width:100%;min-width:0;min-height:44px;background:#101b14;border:1px solid #c6e8a430;border-radius:7px;color:#e3e7dd;padding:10px;font:inherit}.exchange-assets{display:grid;gap:5px;max-height:calc(100dvh - 380px);min-height:140px;overflow:auto;scrollbar-color:#44533c transparent}.exchange-asset{display:flex;gap:10px;align-items:center;background:transparent;padding:10px 6px;border:1px solid transparent;border-radius:7px;text-align:left;min-width:0;width:100%;min-height:58px}.exchange-asset[aria-pressed=true]{background:#c6e8a410;border-color:#c6e8a444}.exchange-asset>span{min-width:0;display:grid;gap:7px}.exchange-asset strong{font-size:11px;overflow-wrap:anywhere}.exchange-asset small{font-size:9px;color:#92a785}.exchange-asset small{display:flex;flex-wrap:wrap;gap:3px 4px;line-height:1.6;overflow-wrap:anywhere}.exchange-pool strong{line-height:1.7;overflow-wrap:anywhere}.exchange-asset .icon{color:#c6d9a4}.exchange-asset .item-art,.exchange-instrument .item-art{width:32px;height:32px;flex-shrink:0;margin:0}.exchange-asset .item-art svg,.exchange-instrument .item-art svg{width:100%;height:100%}.exchange-main{display:contents}.exchange-card{min-width:0;padding:16px;border:1px solid #c6e8a41c;border-radius:12px;background:#17241be8}.exchange-history-card{grid-column:1/-1}.exchange-instrument{grid-column:1;grid-row:2}.exchange-chart-card{grid-column:1;grid-row:3}.exchange-order-book{grid-column:1;grid-row:4}.exchange-order-entry{grid-column:2;grid-row:1/5;position:sticky;top:0;scroll-margin-top:12px}.exchange-card h2{font-size:14px;margin-bottom:12px}.exchange-card h3{font-size:12px;margin-bottom:10px}.exchange-instrument [data-market-instrument]{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.exchange-instrument h2{margin:0;font-size:17px}.exchange-instrument h2 small{font-size:12px;font-weight:400;color:#95a786}.exchange-venue{margin-left:auto;font-size:9px;color:#9bad91}.exchange-instrument [role=status]{font-size:10px;color:#b3c2a2;margin-top:12px;min-height:14px}.exchange-section-title{display:flex;justify-content:space-between;gap:12px;align-items:baseline;flex-wrap:wrap}.exchange-section-title>span{font-size:9px;color:#91a182}.market-chart{display:block;width:100%;height:auto;max-height:250px;min-height:120px}.chart-axis{stroke:#c6e8a433;fill:none}.chart-line{stroke:#c6e8a4;stroke-width:2;fill:none;stroke-linejoin:round}.chart-last{fill:#efd49a}.market-chart text{fill:#8fa57f;font-size:11px}.market-chart-empty{display:grid;place-items:center;min-height:190px;text-align:center;padding:24px;color:#97aa89;font-size:12px;line-height:1.8;border:1px dashed #c6e8a422;border-radius:8px}.market-chart-data{margin-top:10px;color:#9dad91;font-size:10px}.market-chart-data summary{cursor:pointer;min-height:32px}.exchange-trading{display:contents}.exchange-book{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:20px}.exchange-book .bids{color:#b4d69f}.exchange-book .asks{color:#d4a395}.marketplace-view table{width:100%;border-collapse:collapse;font-size:11px;text-align:left;white-space:nowrap}.marketplace-view th{font-weight:400;font-size:10px;color:#8da17f}.marketplace-view th,.marketplace-view td{padding:10px 9px;border-bottom:1px solid #c6e8a414}.marketplace-view th:first-child,.marketplace-view td:first-child{padding-left:0}.market-table-scroll{overflow:auto;max-height:350px}.market-table-scroll .button{min-height:36px;font-size:10px;padding:8px}.exchange-pool{display:grid;gap:9px;margin-top:20px;padding:14px;border:1px solid #c6e8a422;border-radius:8px;font-size:11px}.exchange-pool strong{font-weight:500;color:#e1c88e}.exchange-pool small{line-height:1.8;font-size:9px;color:#8ea67e}.exchange-tabs{display:flex;gap:6px;padding:4px;background:#101b14;border-radius:8px;margin-bottom:16px}.exchange-tabs button{flex:1;background:transparent;min-height:40px;border-radius:5px;font-size:11px}.exchange-tabs button[aria-pressed=true]{background:#c6e8a41c;color:#d4e6bb}.exchange-sides button[data-market-side=sell][aria-pressed=true]{background:#d4a39522;color:#e4b7a9}.exchange-preview{display:grid;grid-template-columns:1fr auto;gap:12px;font-size:11px;margin:20px 0;color:#9dad91}.exchange-preview strong{font-weight:500;color:#e2d4a4}.exchange-card [hidden]{display:none}.exchange-catalog .exchange-catalog-body{display:block}.catalog-current{display:grid;gap:4px;min-width:0}.catalog-current>span{font-size:11px;color:#96aa8c}.catalog-current strong{font-size:14px;overflow-wrap:anywhere}.catalog-current-price{margin-left:auto;font-size:13px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;text-align:right}.exchange-catalog-choice>summary>.icon{flex-shrink:0}.catalog-filters{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr);gap:10px;margin-top:12px}.catalog-filters label{min-width:0;margin-bottom:12px}.catalog-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin-bottom:12px}.exchange-catalog .catalog-owned-filter{display:flex;align-items:center;gap:8px;min-height:44px;margin:0;cursor:pointer}.catalog-owned-filter input{width:18px;height:18px;min-height:18px;accent-color:#c6e8a4}.catalog-count{flex:1;font-size:11px;color:#99ad8c;line-height:1.5}.catalog-view-switch{display:flex;gap:4px;padding:4px;border-radius:9px;background:#101b14}.catalog-view-switch button{min-width:44px;min-height:44px;padding:6px;background:transparent;border-radius:6px;font-size:11px}.catalog-view-switch button[aria-pressed=true]{background:#c6e8a420;color:#d5e8c5}.exchange-catalog .exchange-assets{display:block;max-height:380px;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.market-catalog-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px}.catalog-tile{min-width:0;padding:12px;border:1px solid #c6e8a420;border-radius:14px;background:linear-gradient(155deg,#203125,#111d16);display:grid;gap:10px;align-content:start}.catalog-card-meta{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:9px;color:#a5b99a;min-width:0}.catalog-card-meta>span{overflow-wrap:anywhere}.catalog-holdings{border-radius:5px;background:#ffffff06;padding:3px 5px;font-variant-numeric:tabular-nums}.catalog-holdings[data-owned=true]{background:#c6e8a418;color:#d2e6bf}.catalog-tile .catalog-identity{display:grid;grid-template-columns:36px minmax(0,1fr);gap:8px;padding:4px 0;align-items:center}.catalog-tile .catalog-identity>span>strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.5;min-height:36px;font-size:12px}.catalog-tile .catalog-owned-inline{display:none}.catalog-tile .catalog-identity>.icon,.catalog-tile .catalog-identity>.item-art{width:36px;height:36px;margin:0;color:#d1e2b6}.catalog-tile .catalog-tile-prices{margin:0}.catalog-tile .catalog-price{position:relative;min-height:64px;gap:4px;padding:8px 5px}.catalog-currency{font-size:8px;color:#a8b99d}.catalog-tile .catalog-price[data-quoted=false] strong{font-size:10px;color:#a6b49d}.catalog-tile .catalog-last{border-top:1px solid #ffffff0c;padding-top:8px;font-size:9px;align-self:end}.catalog-tile[data-selected=true],.catalog-row[data-selected=true]{background:#c6e8a410}.catalog-tile[data-selected=true]{border-color:#b3d29288}.catalog-identity{display:flex;align-items:center;gap:8px;min-height:44px;min-width:0;width:100%;padding:4px 0;background:transparent;text-align:left}.catalog-identity>span{display:grid;gap:5px;min-width:0}.catalog-identity strong{font-size:12px;line-height:1.4;overflow-wrap:anywhere}.catalog-identity .icon,.catalog-identity .item-art{width:32px;height:32px;flex-shrink:0;margin:0}.catalog-identity .item-art svg{width:100%;height:100%}.catalog-owned-inline{font-size:11px;line-height:1.5;color:#9bb08e;overflow-wrap:anywhere}.catalog-tile-prices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:8px 0}.catalog-price{display:grid;align-content:center;gap:5px;min-width:44px;min-height:48px;width:100%;padding:8px;border-radius:8px;background:#c6e8a40a;text-align:left}.catalog-price small{font-size:11px;line-height:1.3}.catalog-price strong{font-size:12px;line-height:1.4;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.catalog-buy{color:#c5eab1}.catalog-sell{color:#edb9a8;background:#edb9a80a}.catalog-price:disabled{opacity:.45;cursor:not-allowed}.catalog-last{display:flex;justify-content:space-between;gap:8px;font-size:11px;line-height:1.5;color:#92a586}.catalog-last strong{font-weight:500;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.marketplace-view .market-catalog-table{font-size:12px;white-space:normal}.market-catalog-table thead{position:sticky;top:0;z-index:1;background:#17241b}.marketplace-view .market-catalog-table th{font-size:11px}.marketplace-view .market-catalog-table th,.marketplace-view .market-catalog-table td{padding:6px;vertical-align:middle}.market-catalog-table .catalog-name-cell{width:34%;min-width:120px}.market-catalog-table .catalog-price{min-width:76px;background:transparent}.market-catalog-table .catalog-price small,.market-catalog-table .catalog-owned-inline{display:none}.catalog-owned-column,.catalog-last-column{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.catalog-status-row{display:flex;align-items:center;gap:12px}.catalog-status-row [data-market-refresh]{flex-shrink:0;min-height:44px}.exchange-catalog [hidden],.ticket-amounts[hidden],.exchange-order-entry [hidden]{display:none}.exchange-order-entry h2{font-size:18px;line-height:1.4;overflow-wrap:anywhere}.exchange-order-entry form{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.exchange-order-entry .exchange-tabs{margin:0;min-width:0}.exchange-tabs button{min-width:44px;min-height:44px;font-size:12px;padding:6px}.exchange-order-entry label{margin:0}.exchange-order-entry .ticket-quantity,.exchange-order-entry .ticket-amounts,.exchange-order-entry .exchange-preview,.exchange-order-entry form>p,.exchange-order-entry form>.button,.exchange-order-entry .exchange-help{grid-column:1/-1}.ticket-stepper{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;border:1px solid #c6e8a430;border-radius:9px;background:#101b14;min-width:0}.ticket-stepper input{border:0;text-align:center;font-size:18px;font-variant-numeric:tabular-nums;padding:8px 2px}.ticket-stepper button{min-width:44px;min-height:44px;background:transparent;font-size:18px}.ticket-amounts{display:flex;gap:8px}.ticket-amounts button{flex:1;min-width:44px;min-height:44px;border:1px solid #c6e8a422;border-radius:8px;background:transparent;font-size:12px}.exchange-order-entry .exchange-preview{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);align-items:center;margin:6px 0;gap:8px;font-size:12px}.exchange-preview strong{text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.exchange-preview .ticket-total{font-size:20px;font-weight:650;color:#d6edbf}[data-trade-side=sell] .exchange-preview .ticket-total{color:#edc3b5}[data-trade-side=sell] [data-market-submit]{background:#dfb39f;color:#1d2019}.exchange-order-entry [data-market-submit]{min-height:48px}.exchange-order-entry [data-market-requirement]:empty{display:none}.exchange-instrument p{font-size:12px;line-height:1.5;color:#9aaf8b;margin-top:6px}.exchange-instrument p strong{color:#dbe8cf;font-variant-numeric:tabular-nums;margin-left:8px}.exchange-section-title .catalog-view-switch{margin-left:auto}.exchange-section-title>span{font-size:11px}.book-price{min-width:44px;min-height:44px;background:transparent;color:inherit;font:inherit;padding:4px;text-decoration:underline;text-underline-offset:4px}.marketplace-view table{font-size:12px}.marketplace-view th{font-size:11px}.market-table-scroll .button{min-height:44px}.gold-exchange{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;scroll-margin-top:20px}.gold-exchange header p{margin:10px 0;font-size:12px;line-height:1.6}.gold-exchange form{display:grid;gap:10px}.gold-exchange [data-gold-rate],.gold-exchange [data-gold-total]{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.gold-exchange form>p{font-size:12px;line-height:1.6}.gold-exchange input,.gold-exchange select,.gold-exchange button{min-height:44px}@media(max-width:650px){.gold-exchange{grid-template-columns:minmax(0,1fr);gap:16px}}@media(max-width:1200px){#app.marketplace-page{grid-template-columns:68px minmax(0,1fr)}.exchange-layout{grid-template-columns:minmax(0,1fr) 300px;gap:16px}.marketplace-view{padding:20px}.exchange-card{padding:16px}}@media(max-width:1000px){.exchange-layout{grid-template-columns:minmax(0,1fr)}.exchange-order-entry{grid-column:1;grid-row:2;position:static}.exchange-instrument{grid-row:3}.exchange-chart-card{grid-row:4}.exchange-order-book{grid-row:5}.exchange-catalog{position:static}.exchange-instrument h2{font-size:17px}}@media(max-width:900px){#app.marketplace-page{grid-template-columns:60px minmax(0,1fr)}.exchange-catalog{padding:12px}.exchange-venue{margin-left:0}}@media(max-width:650px){#app.marketplace-page{grid-template-columns:minmax(0,1fr)}.marketplace-page .topbar{grid-column:1}.marketplace-view{grid-column:1;padding:14px 12px}.exchange-heading h1{font-size:20px}.exchange-card{padding:12px}.exchange-section-title{margin-bottom:8px}.exchange-section-title h2{margin-bottom:0}.market-chart-empty{min-height:130px}}[data-communicate]{display:flex;flex-direction:column;min-height:0;flex:1;gap:10px;overflow:auto}.chat-summary{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px}.chat-summary>span{font-size:10px;color:#a6c58e}.chat-status{font-size:11px;line-height:1.6;color:#adc69b;flex-shrink:0}.chat-status.error{color:#e0b095}.chat-composer textarea{width:100%;min-width:0;background:#111d16;color:#e3e7dd;border:1px solid #c6e8a433;border-radius:7px;padding:10px;font:inherit;min-height:44px}.chat-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:10px;color:#a8bb98}.chat-tools .button{font-size:10px;padding:8px 10px}.chat-messages{flex:1;min-height:100px;overflow:auto;overscroll-behavior:contain;border:1px solid #c6e8a422;border-radius:9px;background:#101b14;padding:12px;scrollbar-color:#586c48 transparent}.chat-message{padding:10px 0;border-bottom:1px solid #c6e8a412}.chat-message header{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap;font-size:11px;color:#b1c69c}.chat-message.own header strong{color:#e5cc8d}.chat-message time{font-size:9px;color:#8da27b}.chat-message p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:12px;margin-top:5px}.chat-empty{font-size:12px;line-height:1.8;color:#8ea67e;padding:15px 0}.chat-composer{flex-shrink:0;display:grid;gap:7px}.chat-composer .sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.chat-composer textarea{resize:none;max-height:100px}.chat-composer>div{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#91a17f}.chat-composer .button{min-width:90px;min-height:44px}.chat-rules{font-size:9px;line-height:1.7;color:#8fa17f;flex-shrink:0}.chat-latest{align-self:center;flex-shrink:0;font-size:10px;padding:7px 12px;min-height:36px}[data-communicate] [hidden]{display:none}@media(max-width:650px){.chat-message header{gap:4px}.chat-tools .button{min-height:44px}}.inbox-page{flex:1;min-height:0}.inbox-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:16px;height:100%;min-height:0}.inbox-directory{overflow:auto;min-height:0;padding:16px;background:#132018;border:1px solid #c6e8a422;border-radius:12px}.inbox-directory h2{font-size:18px;margin-bottom:10px}.inbox-directory>p{font-size:12px;line-height:1.7;margin:10px 0}.inbox-contact{display:grid;gap:8px;margin-top:12px;border-top:1px solid #c6e8a422;padding-top:12px}.inbox-contact small{color:#a6bb98;font-size:11px}.inbox-contact .button{white-space:normal;overflow-wrap:anywhere;text-align:left;min-height:44px}.inbox-contact [aria-pressed=true]{border-color:#d5cf89;background:#33482d}[data-social-content]{display:flex;flex-direction:column;flex:1;min-height:0}[data-social-content]>p{font-size:12px;margin-bottom:12px}.visitor-settlement{max-width:900px;margin:40px auto}.visitor-settlement p{margin:20px 0;line-height:1.8}.visitor-settlement .button{margin:6px}@media(max-width:650px){.inbox-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:190px minmax(0,1fr);gap:10px}.inbox-directory{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto minmax(0,1fr);gap:6px;padding:10px;overflow:hidden}.inbox-directory h2{font-size:15px;margin:0;align-self:center}.inbox-directory>.fineprint{display:none}.inbox-directory>[data-inbox-refresh]{grid-column:2;grid-row:1}.inbox-directory>[data-inbox-status]{grid-column:1/-1;font-size:10px;line-height:1.4;margin:0}[data-inbox-rooms]{grid-column:1/-1;overflow:auto;min-height:0}.inbox-contact{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px;margin-top:6px;padding-top:6px}.inbox-contact small{grid-column:1/-1;grid-row:2}.inbox-contact .button{font-size:11px;padding:6px}.inbox-layout .chat-page{padding:12px}.inbox-page{min-height:0}}#app.community-page{grid-template-columns:78px minmax(0,1fr)}.community-page .topbar{grid-column:2/-1}.community-page .map{display:none}.community-view{grid-column:2/-1;grid-row:2;min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;padding:32px;background:radial-gradient(ellipse at top right,#36513a44,transparent 55%),#111b15;scrollbar-color:#586c48 transparent}.rail-links{gap:8px;margin-top:28px}.nav-button,.reward-top{text-decoration:none}.page-heading{display:flex;gap:18px;align-items:center;margin:0 auto 28px;max-width:1180px;flex-shrink:0}.page-heading h1{font-size:32px;letter-spacing:-1px;margin:6px 0}.page-heading p{font-size:13px;color:#a8b69e;line-height:1.8}.page-heading>.button{margin-left:auto;flex-shrink:0}.page-emblem{display:grid;place-items:center;width:58px;height:58px;border-radius:16px;background:#c6e8a414;color:var(--mint);flex-shrink:0}.page-emblem .icon{width:26px;height:26px}.page-card{background:#19261c;border:1px solid #c6e8a41c;border-radius:14px;padding:26px;min-width:0}.page-card h2{font-size:18px;margin:0 0 16px}.page-card>p{line-height:1.9;color:#b5c3a9;font-size:13px}.federation-page-content,.journal-tools,.journal-page-list{max-width:1040px;margin:0 auto 24px}.page-census{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.page-census span{display:grid;gap:12px}.page-census small{font-size:12px;color:#a4b297}.page-census strong{font-size:28px;color:var(--mint);overflow-wrap:anywhere}.journal-tools label,.guide-index>label{display:block;font-size:12px;color:#b3c5a6;margin:0 0 10px}.journal-tools input,.guide-index input{min-height:44px;width:100%;border:1px solid #c6e8a433;border-radius:8px;padding:12px;background:#101b14;color:#e3e7dd;font:inherit}.journal-tools [data-journal-count]{display:block;margin:10px 0;color:#9eb18f;font-size:12px}.journal-page-list .journal-entry p{font-size:14px;line-height:1.9}.page-empty{padding:24px;color:#a8b69e;line-height:1.8}.community-page:has([data-communicate]) .community-view{display:flex;flex-direction:column;overflow:hidden}.community-chat-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:22px;min-height:0;flex:1;width:100%;max-width:1180px;margin:0 auto}.chat-page{display:flex;flex-direction:column;min-height:0}.community-notes p{margin-bottom:20px}.community-limit{display:grid;gap:6px;padding:18px 0;border-top:1px solid #c6e8a41c}.community-limit strong{font-size:28px;color:var(--mint)}.community-limit span{font-size:12px;color:#a8b69e}.community-notes .button{width:100%}.guide-hero{max-width:1180px;margin:0 auto 40px;border:1px solid #c6e8a422;border-radius:22px;padding:48px;background:radial-gradient(ellipse at top right,#65905244,transparent 65%),#1c2d20}.guide-hero h1{font-size:clamp(30px,3.8vw,52px);line-height:1.2;letter-spacing:-1.6px;max-width:750px;margin:18px 0}.guide-hero>p{font-size:16px;line-height:1.9;max-width:680px;color:#b9c9ae;margin-bottom:26px}.guide-layout{max-width:1180px;margin:auto;display:grid;grid-template-columns:230px minmax(0,1fr);gap:44px;align-items:start}.guide-index{position:sticky;top:0;padding:20px;background:#18251c;border:1px solid #c6e8a41c;border-radius:14px;max-height:100%;overflow:auto}.guide-results{font-size:11px;color:#99b08a;margin:9px 0}.guide-index nav{display:grid;gap:5px;margin:18px 0 24px}.guide-index nav a{display:flex;gap:10px;align-items:baseline;color:#a9bc9c;text-decoration:none;padding:9px 0;font-size:12px;line-height:1.6;border-bottom:1px solid #ffffff08}.guide-index nav a span{color:#7d9770;font-size:10px;flex-shrink:0}.guide-index nav a[aria-current]{color:#e0efcf;font-weight:650}.guide-index progress{width:100%;height:5px}.guide-articles{min-width:0}.guide-article{scroll-margin-top:24px;margin:0 0 42px;padding:0 0 40px;border-bottom:1px solid #c6e8a422}.guide-chapter{display:flex;gap:12px;align-items:center;color:#718b65;font-size:38px;font-weight:650;margin-bottom:16px}.guide-chapter .icon{width:30px;height:30px;color:var(--mint)}.guide-article h2{font-size:clamp(24px,2.4vw,34px);line-height:1.4;margin:12px 0 16px;letter-spacing:-.7px}.guide-article p{font-size:15px;line-height:1.95;color:#bac8b0;margin:18px 0;max-width:70ch;overflow-wrap:anywhere}.guide-article .guide-lead{font-size:18px;color:#d9e7ce}.guide-article figure{margin:28px 0}.guide-article figure a{display:block;border-radius:12px}.guide-article img{display:block;width:100%;height:auto;border-radius:12px;border:1px solid #c6e8a433;background:#101b14}.guide-article figcaption{font-size:11px;line-height:1.8;color:#8fa480;margin-top:10px}.guide-tip{display:flex;gap:14px;padding:18px 20px;margin:24px 0;border:1px solid #d5bd7530;border-radius:12px;background:#d5bd7508}.guide-tip>.icon{color:#d5bd75;margin-top:5px}.guide-tip p{font-size:14px;margin:0;color:#d8d1b3}.guide-facilities{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0}.guide-facilities>div{display:grid;gap:10px;padding:16px;background:#1a2a20;border:1px solid #c6e8a422;border-radius:10px}.guide-facilities .icon{color:#8bc5c8}.guide-facilities strong{font-size:13px;line-height:1.7}.guide-facilities b{font-size:24px;color:var(--mint)}.guide-facilities small{font-size:11px;color:#b1bf9f;line-height:1.8}.guide-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin:24px 0}.guide-week span{display:grid;place-items:center;gap:8px;padding:15px 3px;background:#c6e8a40b;border:1px solid #c6e8a422;border-radius:8px;color:#b4cf9e}.guide-week small{font-size:10px}.guide-empty{font-size:16px;line-height:1.9;color:#b2c5a5;padding:30px}.guide-footer{padding:20px 0 60px;display:flex;gap:12px;flex-wrap:wrap}.guide-footer h2{width:100%;font-size:25px;margin-bottom:14px}.guide-page [hidden]{display:none!important}@media(max-width:1100px){.community-chat-layout{grid-template-columns:minmax(0,1fr)}.community-notes{display:none}.guide-layout{grid-template-columns:190px minmax(0,1fr);gap:24px}.community-view{padding:24px}}@media(max-width:650px){#app.community-page{grid-template-columns:minmax(0,1fr)}.community-page .topbar{grid-column:1}.community-view{grid-column:1;grid-row:2;padding:20px 14px}.rail-links{margin:0;gap:0}.rail-links .nav-button{min-width:0;min-height:48px;gap:6px}.rail-links .nav-button span{font-size:7px;letter-spacing:0}.rail-links .nav-button .icon{width:18px;height:18px}.page-heading{gap:10px;margin-bottom:18px;align-items:flex-start;flex-wrap:wrap}.page-heading h1{font-size:26px}.page-heading p{font-size:12px}.page-heading>div{flex:1;min-width:0}.page-heading>.button{min-height:36px;font-size:10px}.page-emblem{width:42px;height:42px;border-radius:12px}.page-card{padding:18px}.page-census{gap:10px}.page-census strong{font-size:20px}.page-census small{font-size:10px}.community-chat-layout{gap:0}.chat-page{padding:14px}.chat-page .chat-profile small,.chat-page .chat-rules{font-size:9px}.guide-hero{padding:26px 22px;margin-bottom:24px;border-radius:14px}.guide-hero h1{letter-spacing:-1px}.guide-hero>p{font-size:14px}.guide-layout{grid-template-columns:minmax(0,1fr);gap:28px}.guide-index{position:static;padding:16px;max-height:none}.guide-index nav{display:grid;grid-template-columns:1fr 1fr;gap:4px 16px;margin:14px 0}.guide-index nav a{font-size:11px;padding:8px 0}.guide-article p{font-size:14px;line-height:1.95}.guide-article .guide-lead{font-size:16px}.guide-article{margin-bottom:28px;padding-bottom:28px}.guide-facilities{gap:8px}.guide-facilities>div{padding:10px}.guide-facilities strong{font-size:11px}.guide-facilities small{font-size:10px}.guide-chapter{font-size:32px}.guide-tip{padding:14px}.guide-article figcaption{font-size:10px}}@media(prefers-reduced-motion:no-preference){.community-view{scroll-behavior:smooth}}.consumption-dialog{width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #c6e8a430;border-radius:16px;background:#161d17;color:#e3e7dd;padding:26px;box-shadow:0 24px 100px #0009;font:inherit}.consumption-dialog::backdrop{background:#080d0bd9;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.consumption-eyebrow{font-size:10px;font-weight:600;letter-spacing:.08em;color:#a6b397}.consumption-dialog h2{margin:8px 0;font-size:23px}.consumption-subject{margin:0 0 22px;color:#a6b397;overflow-wrap:anywhere}.consumption-section{padding:14px;background:#ffffff04;border:1px solid #ffffff0d;border-radius:9px;margin:12px 0}.consumption-section h3{margin:0 0 12px;font-size:11px;color:#a6b397}.consumption-dialog dl{margin:0}.consumption-dialog dl>div{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:6px 0}.consumption-dialog dt{display:flex;align-items:center;gap:8px;min-width:0;overflow-wrap:anywhere}.consumption-dialog dd{margin:0;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}.consumption-cost dd{color:#e5ad92}.consumption-receive dd{color:#c6e8a4}.consumption-icon{display:flex;color:#a6b397}.consumption-details{font-size:12px;padding:6px 0 14px}.consumption-details dt{color:#a6b397}.consumption-note{font-size:11px;line-height:1.7;color:#a6b397;margin:10px 0}.consumption-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:22px}.consumption-actions .button{min-height:44px;justify-content:center}.consumption-actions .button:focus-visible{outline:2px solid #c6e8a4;outline-offset:3px}@media(max-width:480px){.consumption-dialog{padding:20px}.consumption-dialog h2{font-size:21px}}@media(min-width:901px){.consumption-dialog{width:min(760px,calc(100vw - 48px));padding:20px}.consumption-dialog[open]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:14px}.consumption-eyebrow,.consumption-dialog h2,.consumption-subject,.consumption-details,.consumption-actions{grid-column:1/-1}.consumption-subject{margin-bottom:10px}.consumption-section{min-width:0;padding:12px;margin:8px 0}.consumption-section:only-of-type{grid-column:1/-1}.consumption-section:only-of-type dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px}.consumption-dialog dl>div{gap:10px}.consumption-note{margin:6px 0;line-height:1.5}.consumption-note:last-of-type{grid-column:1/-1}.consumption-actions{margin-top:14px}}.bank-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:1200px;margin:0 auto 16px}.bank-heading h1{font-size:28px;margin:4px 0 8px}.bank-heading small{font-size:10px;letter-spacing:2px}.bank-heading p{font-size:12px;line-height:1.7;color:var(--muted,#58635d)}.bank-heading .button{min-height:44px;flex-shrink:0}.world-dollar-wallet{display:block;width:100%;min-height:85vh;border:0;border-radius:16px;margin-top:24px;background:#f8faf9}@media(max-width:650px){.bank-heading{align-items:flex-start;flex-direction:column}.bank-heading h1{font-size:24px}}.account-avatar{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;min-width:44px;border:1px solid #c6e8a44d;border-radius:50%;background:linear-gradient(145deg,#4b6746,#233b2c);color:#ecf3df;box-shadow:0 3px 12px #0003}.account-avatar>.icon{width:23px;height:23px}.account-avatar>img{width:100%;height:100%;border-radius:50%;object-fit:cover;grid-area:1/1}.account-avatar:has(>img)>.icon{display:none}.account-world-profile{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.account-world-profile strong{overflow-wrap:anywhere;flex:1;min-width:100px}.account-world-profile .wallet-icon{position:relative;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;overflow:hidden}.account-world-profile .wp-avatar{width:100%;height:100%;object-fit:cover}.account-world-profile .wallet-icon.has-avatar .wp-avatar-icon{display:none}.account-pane .wp-panel{position:absolute;inset:72px 12px auto auto;width:min(380px,calc(100% - 24px));max-height:calc(100dvh - 100px);overflow:auto;background:#f9fafb;color:#17221b;z-index:5}.account-profile>p{font-size:12px;line-height:1.6}.account-avatar[aria-expanded=true]{outline:2px solid #d7bc7c;outline-offset:3px}.topbar .wordmark{order:0}.topbar>#resource-bar{order:1}.topbar>.population-bar{order:2}.topbar>.server-clock{order:3}.topbar>.account-avatar{order:4}.play-brand{gap:10px;color:#e3e7dd;text-decoration:none;font-size:17px;letter-spacing:-.4px}.play-brand img{width:34px;height:34px;border-radius:50%;flex:none}.play-brand>span{display:flex;flex-direction:column;gap:2px;line-height:1}.play-brand small{color:#9eb38e;font:600 8px DM Sans,sans-serif;letter-spacing:1.3px}.account-pane{position:fixed;inset:0 0 0 auto;margin:0;width:min(440px,100vw);height:100dvh;max-height:100dvh;max-width:none;padding:0;border:1px solid #c6e8a42e;border-radius:18px 0 0 18px;background:#142018;color:#e3e7dd;box-shadow:-16px 0 60px #0006}.account-pane[open]{display:flex;flex-direction:column}.account-pane::backdrop{background:#07100ac4;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.account-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 22px;border-bottom:1px solid #c6e8a422;flex-shrink:0}.account-heading small{color:#9eb38e;font-size:10px;letter-spacing:1px}.account-heading h2{font-size:24px;margin-top:5px}.account-heading>div{flex:1;min-width:0}.account-back{min-width:44px;min-height:44px;padding:10px}.account-back .icon{transform:rotate(180deg)}.account-close{min-width:44px;min-height:44px}.account-content{overflow:auto;overscroll-behavior:contain;min-height:0;padding:22px;display:grid;gap:20px}.account-balances{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}.account-balances .account-balance{padding:16px 12px;gap:10px;align-content:start;min-width:0}.account-balances .account-balance>strong{font-size:22px}.account-balances .account-balance>a{font-size:11px;gap:6px}.account-balances .account-balance>small{font-size:10px;color:#c9bd9c;line-height:1.6}.account-gold{background:linear-gradient(145deg,#4a4029,#263322);border-color:#d7bc7c55}.account-gold a{color:#efd39a}.account-links>button:hover,.account-links>button:focus-visible{border-color:#c6e8a488;background:#283b2b}.account-section>summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;cursor:pointer;font-size:14px;font-weight:600}.account-section>summary:after{content:"+";color:#b4c6a5}.account-section[open]>summary:after{content:"-"}.account-section>summary:focus-visible{outline:2px solid #d7bc7c;outline-offset:4px}.account-withdrawal{border-top:1px solid #c6e8a426;margin-top:18px;padding-top:18px}.account-balance{display:grid;gap:12px;padding:22px;background:linear-gradient(135deg,#344a30,#1e3325);border:1px solid #c6e8a435;border-radius:14px}.account-balance>span{display:flex;align-items:center;gap:8px;color:#c1d3b0;font-size:12px}.account-balance>strong{font-size:28px;color:#edf3dc;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.account-balance>a{display:flex;align-items:center;justify-content:space-between;min-height:44px;font-size:12px;text-decoration:none}.account-links{display:grid;grid-template-columns:1fr 1fr;gap:10px}.account-profile{display:grid;gap:8px}.account-profile h3{margin:0;font-size:15px}.account-profile form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}.account-profile label{display:grid;gap:6px;font-size:12px}.account-profile input{width:100%;min-width:0;min-height:44px;border:1px solid #c6e8a433;border-radius:8px;background:#111d16;color:#e3e7dd;padding:10px;font:inherit}.account-profile small{font-size:10px;line-height:1.7;color:#a8bb98}.account-profile [role=status]{font-size:11px;line-height:1.6;margin:0}.account-profile .error{color:#e0b095}.account-links>button,.account-links>a{display:flex;align-items:center;gap:8px;min-height:56px;padding:12px;border:1px solid #c6e8a426;border-radius:10px;background:#1b2c20;font-size:12px;text-align:left;text-decoration:none}.account-links>button>.icon:last-child,.account-links>a>.icon:last-child{margin-left:auto;width:12px}.account-subview{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:20px}.account-subview input{width:100%;min-height:44px;font-size:16px}.account-subview .journal-tools,.account-subview .journal-page-list{padding:16px;margin-bottom:16px}.account-subview .panel-actions{flex-wrap:wrap}.account-subview .panel-actions .button{min-height:44px;font-size:11px}.account-subview .guide-hero{padding:20px;margin-bottom:20px}.account-subview .guide-hero h1{font-size:25px;letter-spacing:-.5px}.account-subview .guide-hero>p{font-size:13px}.account-subview .guide-layout{grid-template-columns:minmax(0,1fr);gap:24px}.account-subview .guide-index{position:static;padding:14px;max-height:none}.account-subview .guide-index nav{display:grid;grid-template-columns:1fr 1fr;gap:4px 12px}.account-subview .guide-index nav a{min-height:44px;font-size:11px}.account-subview .guide-article h2{font-size:23px}.account-subview .guide-article p,.account-subview .guide-article .guide-lead{font-size:14px}.account-subview .guide-facilities{grid-template-columns:1fr}.account-subview .guide-footer .button{min-height:44px;margin-top:8px}.account-section{border:1px solid #c6e8a426;border-radius:14px;padding:18px;min-width:0}.account-wallet-section{border-color:#c6e8a44d;background:linear-gradient(145deg,#1d2d20,#17231a)}.account-wallet-section>h3{margin:0 0 14px}.account-section h3{font-size:16px;margin-bottom:14px}.account-section p{font-size:12px;line-height:1.8;color:#b6c8aa;margin:10px 0;overflow-wrap:anywhere}.account-setting{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;font-size:12px}.account-setting select,.account-amount input{min-height:44px;border:1px solid #c6e8a444;border-radius:8px;padding:10px;background:#101a13;color:#e3e7dd;max-width:100%}.account-setting input{width:24px;height:24px;accent-color:#c6e8a4;margin:10px}.account-wallet{display:grid;gap:8px;padding:12px;margin-bottom:12px;border-radius:8px;background:#0e1912}.account-wallet strong{font-size:11px;overflow-wrap:anywhere}.account-wallet small{font-size:10px;color:#a7bc99}.account-section .button{min-height:44px;font-size:12px}.account-section .account-note{font-size:10px;color:#9db08f}.account-section .account-unavailable{color:#ead299;background:#d7bc7c0c;border-left:3px solid #d7bc7c;padding:10px 12px}.account-amount{display:grid;gap:8px;font-size:12px;margin:14px 0 10px}.account-amount input{width:100%;font-size:16px;font-variant-numeric:tabular-nums}.account-section form>small{font-size:11px;color:#adbf9e}.account-section .account-error,#withdrawal-error{color:#ffb7a7}.account-section button:disabled{opacity:1;background:#243228;color:#a9b79f;border-color:#ffffff1c;cursor:not-allowed}.account-pane [hidden],.hide-world-conditions .map-environment{display:none}@media(min-width:901px){.account-pane{inset:0;margin:auto;width:min(960px,calc(100vw - 48px));height:fit-content;max-height:calc(100dvh - 32px);border-radius:20px;overflow:hidden}.account-heading{padding:12px 18px}.account-heading h2{font-size:20px;margin:4px 0 0}.account-content{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"profile profile" "balances wallet" "links wallet" "settings wallet";gap:12px;padding:16px;align-items:start;align-content:start;max-height:calc(100dvh - 104px)}.account-profile{grid-area:profile;border-bottom:1px solid #c6e8a422;padding-bottom:12px}.account-balances{grid-area:balances}.account-links{grid-area:links}.account-section:not(.account-wallet-section){grid-area:settings}.account-wallet-section{grid-area:wallet}.account-section{padding:14px}.account-section h3{font-size:14px;margin:10px 0}.account-section p{font-size:11px;line-height:1.5;margin:8px 0}.account-section .account-note{font-size:10px}.account-setting{min-height:48px}.account-withdrawal{margin-top:12px;padding-top:12px}.account-amount{margin:8px 0}.account-links>button{min-height:48px;padding:10px}.account-subview{padding:16px;max-height:calc(100dvh - 104px)}.account-pane[data-view=help]{width:min(1100px,calc(100vw - 48px))}.account-subview .guide-layout{grid-template-columns:220px minmax(0,1fr);gap:20px}.account-subview .guide-index nav{grid-template-columns:minmax(0,1fr)}.account-subview .guide-index{position:sticky;top:0}.account-subview .guide-facilities{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){.play-brand img{width:30px;height:30px}.play-brand>span{display:none}}#app{--game-header-height:84px}#app.settlement-page{--settlement-header:var(--game-header-height)}@media(max-width:900px){#app{--game-header-height:144px}}@media(max-width:650px){#app{--game-header-height:160px;grid-template-rows:var(--game-header-height) minmax(0,1fr) 65px;min-height:0}#app.explore-page{grid-template-rows:var(--game-header-height) minmax(0,1fr) auto 65px}.topbar{grid-template-columns:minmax(0,1fr) auto 44px;grid-template-rows:48px 64px 48px;gap:0 8px;padding:0 10px}.topbar>.topbar-account{grid-column:2/-1;grid-row:1;align-self:center}.topbar>.topbar-account .account-avatar{grid-column:auto;grid-row:auto}.topbar>.server-clock{grid-column:1;grid-row:1;height:44px;border-bottom:0;gap:3px 6px}.topbar>#resource-bar{grid-column:1/3;grid-row:2;gap:4px;justify-content:space-between;border-top:1px solid #ffffff0b;padding-top:3px}.topbar .population-bar.resource-bar{position:static;grid-column:1/3;grid-row:3;height:48px;gap:2px 8px;padding:2px 0}.topbar .population-bar .resource-summary{justify-content:flex-start}.topbar #resource-bar .resource-summary{min-height:44px;gap:4px}.topbar #resource-bar .resource-summary small{font-size:8px}.topbar #resource-bar .resource-summary strong{font-size:11px}.topbar #resource-bar .resource-summary>.icon{width:15px;height:15px}.topbar #resource-bar .claim-all{min-width:36px;min-height:44px;padding:5px;font-size:9px}.topbar .resource-bar .resource .resource-tooltip{top:var(--game-header-height)}.rail-links{width:100%;padding:0 8px;gap:4px}.rail-links .nav-button{width:auto;flex:1;min-width:44px;min-height:52px;padding:9px 4px}.rail-links .nav-button span{font-size:9px}.account-pane{width:100vw;border:0;border-radius:0}.account-heading{padding:calc(12px + env(safe-area-inset-top)) 16px 12px}.account-content{padding:16px 16px calc(20px + env(safe-area-inset-bottom));gap:16px}.account-subview{padding:16px 16px calc(20px + env(safe-area-inset-bottom))}.account-section{padding:16px}.account-heading h2{font-size:22px}.community-view{padding:18px 14px}.page-heading{gap:12px;flex-wrap:wrap;margin-bottom:18px}.page-heading h1{font-size:24px}.page-heading p{font-size:12px}.page-heading>.button{min-height:44px}#app input:not([type=checkbox]):not([type=range]),#app select,#app textarea{min-height:44px;font-size:16px}}.nav-label-mobile,.topbar #resource-bar .resource-total-compact{display:none}.exchange-catalog-choice>summary{display:flex;align-items:center;gap:8px;min-height:44px;cursor:pointer;list-style:none;font-size:12px}.exchange-catalog-choice>summary::-webkit-details-marker{display:none}.exchange-catalog-choice>summary>span{color:#b8c5a9}.exchange-catalog-choice>summary>strong{margin-left:auto;overflow-wrap:anywhere}.exchange-catalog-choice>summary>.icon{width:16px;height:16px;transform:rotate(90deg)}.exchange-catalog-choice[open]>summary{margin-bottom:14px;border-bottom:1px solid #c6e8a422}.exchange-catalog-choice[open]>summary>.icon{transform:rotate(270deg)}.exchange-catalog-status{font-size:11px;line-height:1.5;color:#b3c2a2;margin:6px 0 0}.chat-guidelines{margin-left:auto;min-width:0}.chat-guidelines summary{display:flex;align-items:center;gap:8px;min-height:44px;font-size:12px;cursor:pointer}.chat-guidelines summary:after{content:"+"}.chat-guidelines[open]{flex-basis:100%}.chat-guidelines[open] summary:after{content:"-"}.chat-guidelines .chat-rules{margin:0 0 8px}.account-content,.account-subview,.exchange-assets,.resource-tooltip,.consumption-dialog{scrollbar-width:thin;scrollbar-color:#6f865b #142018}@media(max-width:650px),(max-width:900px)and (max-height:500px){#app{--game-header-height:144px;--game-footer-height: calc(64px + env(safe-area-inset-bottom)) ;grid-template-rows:var(--game-header-height) minmax(0,1fr) var(--game-footer-height);font-size:14px}#app.explore-page{grid-template-rows:var(--game-header-height) minmax(0,1fr) auto var(--game-footer-height)}#app.settlement-page{--settlement-footer:var(--game-footer-height)}.topbar{grid-template-rows:44px 56px 44px}.topbar .server-clock{height:44px}.topbar #world-time{font-size:12px;gap:4px 8px}.topbar #clock-speed{font-size:11px}.topbar #clock-sync-status{display:none;font-size:11px;letter-spacing:0}.topbar .server-clock.sync-paused #clock-sync-status{display:inline}.topbar .server-clock.sync-paused #clock-speed{display:none}.topbar .clock-calendar>span:first-child,.topbar .clock-week-label small{font-size:11px}.topbar #resource-bar{padding-top:0}.topbar #resource-bar .resource{display:flex;flex:1;gap:0;min-width:44px}.topbar #resource-bar .mobile-resource-hidden{display:none}.topbar #resource-bar .resource-summary{min-height:44px;width:100%;gap:5px}.topbar #resource-bar .resource-summary small{font-size:11px}.topbar #resource-bar .resource-summary strong{font-size:14px}.topbar #resource-bar .resource-summary>.icon{width:18px;height:18px}.topbar #resource-bar .resource-total-full{display:none}.topbar #resource-bar .resource-total-compact{display:inline}.topbar #resource-bar .resource-pending{font-size:11px;line-height:12px}.topbar #resource-bar:has(.resource-oil:not(.mobile-resource-hidden),.resource-lithium:not(.mobile-resource-hidden)) .resource-summary>.icon{display:none}.topbar #resource-bar:has(.resource-oil:not(.mobile-resource-hidden),.resource-lithium:not(.mobile-resource-hidden)) .resource-summary strong{font-size:13px}.topbar #resource-bar .claim-all{min-width:44px;min-height:44px;font-size:11px}.topbar .population-bar.resource-bar{display:flex;align-items:center;height:44px;border-top:1px solid #ffffff0b;gap:10px;padding:0}.topbar .population-card:has([data-population=federation]),.topbar .population-card:has([data-population=global]){display:none}.topbar .population-bar .population-card{flex:0 0 auto}.topbar .population-bar .population-count{min-width:84px;min-height:44px;height:44px;gap:6px}.topbar .population-count small{font-size:11px}.topbar .population-count strong{font-size:14px}.topbar .population-count>.icon{width:18px;height:18px}.topbar .population-workforce{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;flex:1;justify-items:end;font-size:11px;line-height:16px;min-width:0}.topbar .population-workforce strong{font-size:12px}.rail{height:var(--game-footer-height);padding:0 0 env(safe-area-inset-bottom);border-top:1px solid #c6e8a422;background:#142018}.rail .rail-links{margin:0;padding:4px 6px;gap:3px;height:64px;align-items:stretch}.rail-links .nav-button{min-height:56px;padding:6px 2px;gap:5px;border-radius:10px}.rail-links .nav-button span{font-size:11px;line-height:14px;letter-spacing:0}.rail-links .nav-button .icon{width:20px;height:20px}.rail-links .nav-button.active{background:#c6e8a412;color:#e4edda}.rail-links .nav-button.active:before{display:none}.rail-links .nav-label-desktop{display:none}.rail-links .nav-label-mobile{display:inline}#app .button{min-height:44px;font-size:13px}#app .fineprint,#app .upgrade-guidance{font-size:12px;line-height:1.75}#app summary{min-height:44px;cursor:pointer}.resource .resource-tooltip{display:none;font-size:13px}.resource:not(.tooltip-dismissed):is(:hover,:focus-within) .resource-tooltip{display:block}.topbar .resource .resource-tooltip{position:fixed;top:var(--game-header-height);left:12px;right:auto;width:min(360px,calc(100vw - 24px));max-height:calc(100dvh - var(--game-header-height) - var(--game-footer-height) - 12px);overflow:auto;transform:none}.resource .resource-tooltip dt,.resource .resource-tooltip dd,.resource .resource-tooltip h4{font-size:13px}.resource .resource-tooltip p,.resource .resource-tooltip small{font-size:12px;line-height:1.6}.explore-page .sidebar-action-row>.button{min-height:92px;padding:8px;gap:4px}.explore-page .sidebar-action-row .quick-action-heading{font-size:14px}.explore-page .sidebar-action-row .quick-action-cost,.explore-page .sidebar-action-row [data-invite-cost]{display:flex;align-items:center;padding:5px 7px;gap:6px}.explore-page .sidebar-action-row [data-invite-cost][hidden]{display:none}.explore-page .sidebar-action-row .quick-action-cost>small,.explore-page .sidebar-action-row [data-invite-cost]>small{font-size:11px;white-space:nowrap}.explore-page .sidebar-action-row .cost{flex:1;min-width:0}.explore-page .sidebar-action-row .cost>span{font-size:12px}.explore-page .sidebar-action-row .quick-action-duration,.explore-page .sidebar-action-row [data-invite-duration]{font-size:11px}.explore-page .sidebar-mobile-heading .button,.explore-page .sidebar-primary-actions .fineprint{font-size:12px}.explore-page .map-toolbar{display:grid;grid-template-columns:repeat(2,44px);top:auto;bottom:12px;right:12px;gap:6px;padding:6px}.explore-page .map-toolbar button{width:44px;height:44px;min-width:44px;min-height:44px}.explore-page .map-toolbar>span,.explore-page .compass-rose{display:none}.explore-page .minimap{left:12px;right:auto;bottom:12px}.explore-page .map-heading{max-width:calc(100% - 90px)}.explore-page .map-heading p{font-size:13px;line-height:1.6}.explore-page .map-coordinate{display:none}.explore-page .minimap-title,.explore-page .live-label{font-size:11px}.settlement-task-panel,.settlement-task-panel:has(.inventory-panel){position:absolute;inset:0 0 132px;width:100%;height:auto;max-width:none;border-radius:0;border-width:0 0 1px;background:#18291f;box-shadow:none}.settlement-task-heading{padding:8px 12px}.settlement-task-heading h2{font-size:19px}.settlement-task-body{padding:16px;scroll-padding-bottom:16px}.settlement-view:has(.settlement-task-panel:not([hidden])) .settlement-panorama{bottom:132px;visibility:hidden}.settlement-view:has(.settlement-task-panel:not([hidden])) .district-heading{display:none}.settlement-dock{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:6px;gap:4px;bottom:8px}.settlement-dock>button{flex-direction:row;min-width:0;min-height:48px;height:48px;padding:6px;gap:6px;font-size:12px}.settlement-dock>button>span{white-space:normal;line-height:16px}.settlement-dock .icon{width:18px;height:18px}.settlement-dock .task-badge{font-size:10px;right:2px}.settlement-panorama{bottom:132px}.settlement-saving{bottom:134px}.district-heading h1 button,.district-heading>.button{min-width:44px;min-height:44px}.settlement-task-body h3,.settlement-task-body .settlement-section-title h3{font-size:15px}.settlement-task-body .crew-controls label,.settlement-task-body .crew-plan,.settlement-task-body .inventory-item-detail p,.settlement-task-body .inventory-page-empty{font-size:12px;line-height:1.7}.settlement-task-body .item-card p,.settlement-task-body .storage-card p,.settlement-task-body .building-card p,.settlement-task-body .settlement-activity small{font-size:13px;line-height:1.7}.settlement-task-body .settlement-activity strong{font-size:14px}.settlement-task-body .inventory-filters{flex-wrap:wrap}.settlement-task-body .inventory-filters .button{flex:1;min-width:64px}.settlement-task-body .inventory-pages>span{font-size:12px}.settlement-task-body .inventory-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.settlement-task-body .item-grid,.settlement-task-body .storage-grid{grid-template-columns:minmax(0,1fr)}.settlement-task-body .tier-name{font-size:14px}.settlement-task-body .tier-cost,.settlement-task-body .cost{font-size:12px}.settlement-task-body small,.settlement-task-body .panel-section-heading>span,.settlement-task-body .stock-label>span,.settlement-task-body .completion-caption strong,.settlement-task-body .completion-caption small{font-size:12px;line-height:1.6}.settlement-task-body .eyebrow,.settlement-task-body .requirement,.settlement-task-body .mini-rule{font-size:12px;letter-spacing:0;line-height:1.6}.notice.water-upkeep{height:164px;min-height:164px;grid-template-rows:20px 24px 32px 44px}.water-upkeep-heading,.water-upkeep-countdown{font-size:12px}.water-upkeep-countdown strong{font-size:14px}.water-upkeep p{font-size:11px}.water-upkeep-links a{display:inline-flex;align-items:center;min-width:44px;min-height:44px;font-size:12px}.marketplace-view{padding:14px 12px;scroll-padding:14px}.marketplace-view input,.marketplace-view select{font-size:16px}.exchange-heading{margin-bottom:12px}.exchange-catalog{display:block;padding:10px 12px}.exchange-catalog-choice>summary{font-size:12px}.catalog-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-filters .exchange-search{grid-column:1/-1}.catalog-toolbar{gap:8px}.catalog-count{flex-basis:100%;order:3}.catalog-view-switch{margin-left:auto}.market-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-tile{padding:10px}.catalog-identity{gap:6px}.catalog-identity strong{font-size:12px}.catalog-identity .icon,.catalog-identity .item-art{width:26px;height:26px}.marketplace-view .market-catalog-table th,.marketplace-view .market-catalog-table td{padding:6px}.market-catalog-table .catalog-name-cell{min-width:0;width:44%;max-width:120px}.market-catalog-table .catalog-price{min-width:44px;padding:6px 2px}.market-catalog-table .catalog-price strong{font-size:12px}.market-catalog-table .catalog-owned-inline{display:block;font-size:11px}.catalog-owned-column,.catalog-last-column{display:none}.exchange-catalog label,.exchange-card label{font-size:12px}.exchange-assets{display:grid;max-height:240px;min-height:0;overflow:auto;overscroll-behavior:contain}.exchange-asset{min-width:0;width:100%;min-height:64px;padding:10px}.exchange-asset strong{font-size:12px}.exchange-asset small{font-size:11px}.exchange-trading{display:contents}.exchange-instrument{display:none}.exchange-order-entry{grid-column:1;grid-row:2;order:0}.exchange-order-book{grid-column:1;grid-row:4}.exchange-chart-card{grid-column:1;grid-row:3}.exchange-card h2{font-size:16px}.exchange-card h3{font-size:12px}.exchange-instrument [role=status],.exchange-venue,.exchange-section-title>span{font-size:11px;line-height:1.5}.exchange-tabs button{flex:1 1 0;min-width:44px;min-height:44px;font-size:12px}.exchange-order-entry form{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.exchange-order-entry .exchange-tabs{min-width:0;margin:0}.exchange-order-entry label{margin:0}.exchange-order-entry label:not([data-market-limit]),.exchange-order-entry .exchange-preview,.exchange-order-entry form>p,.exchange-order-entry form>.button,.exchange-order-entry .exchange-help{grid-column:1/-1}.exchange-order-entry .exchange-preview{margin:4px 0;gap:10px}.exchange-order-entry .exchange-help{margin-top:0}.exchange-book{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.exchange-book>div{min-width:0;overflow:auto}.exchange-book td[colspan]{white-space:normal}.exchange-preview,.exchange-pool{font-size:12px}.exchange-pool small,.exchange-help,.market-chart-data{font-size:11px}.marketplace-view table{font-size:12px}.marketplace-view th{font-size:11px}.marketplace-view .market-table-scroll .button{min-height:44px;font-size:12px}.market-chart-data summary{display:flex;align-items:center}.community-page .page-heading p,.community-page .page-card>p{font-size:14px;line-height:1.75}.community-page .page-card h2{font-size:19px}.community-page .eyebrow{font-size:12px;letter-spacing:0}.community-page .stat-grid{grid-template-columns:minmax(0,1fr);gap:8px}.community-page .stat-grid>div{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px}.community-page .stat-grid small{font-size:12px;letter-spacing:0}.community-page .stat-grid strong{font-size:22px}.community-page .stat-grid em{font-size:12px}.community-page .stat-grid progress{grid-column:2/-1;width:100%}.community-page .building-grid{grid-template-columns:minmax(0,1fr)}.community-page .building h3{font-size:17px}.community-page .requirement,.community-page .mini-rule,.community-page .bonus-number small{font-size:12px;line-height:1.7}.community-page .visual-proposal{grid-template-columns:44px minmax(0,1fr)}.community-page .visual-proposal>.button{grid-column:1/-1}.community-page .page-census{grid-template-columns:minmax(0,1fr);gap:18px}.community-page .page-census span{display:flex;align-items:center;justify-content:space-between;gap:12px}.community-page .page-census small{font-size:13px}.community-page .page-census strong{font-size:24px}.community-page:has([data-communicate]) .page-heading{margin-bottom:12px}.community-page:has([data-communicate]) .page-heading p{display:none}.chat-page{padding:12px}.chat-page [data-communicate]{gap:8px}.chat-page .chat-summary{font-size:15px}.chat-page .chat-summary>span,.chat-page .chat-tools,.chat-page .chat-profile small,.chat-page .chat-rules{font-size:12px;line-height:1.6}.chat-page .chat-status,.chat-page .chat-profile label{font-size:13px}.chat-page .chat-message p,.chat-page .chat-empty{font-size:15px;line-height:1.8}.chat-page .chat-message header{font-size:13px}.chat-page .chat-message time{font-size:11px}.chat-page:has(.chat-profile:not([hidden])) .chat-messages{display:none}.chat-page .chat-composer{position:sticky;bottom:0;z-index:1;background:#19261c;padding-top:8px}.chat-page .chat-composer>div{font-size:12px}.chat-page .chat-latest{min-height:44px;font-size:13px}.guide-index nav a,.account-subview .guide-index nav a{min-height:44px;font-size:13px}.guide-article figcaption,.guide-facilities small,.guide-week small,.guide-results{font-size:12px}.guide-facilities{grid-template-columns:minmax(0,1fr)}.guide-facilities strong,.account-pane,.account-pane .account-section p{font-size:14px}.account-pane .account-note,.account-pane .account-wallet small,.account-pane form>small{font-size:12px;line-height:1.7}.account-pane .account-wallet strong{font-size:13px}.account-setting,.account-amount,.account-balance>span,.account-balance>a,.account-links>button{font-size:14px}.account-pane .button,.account-subview .panel-actions .button{font-size:13px;min-height:44px}.account-subview .guide-hero>p{font-size:14px}.consumption-dialog{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;max-height:calc(100dvh - 12px);border-radius:20px 20px 0 0;padding:20px 16px calc(16px + env(safe-area-inset-bottom));font-size:14px;overscroll-behavior:contain;scroll-padding-bottom:76px}.consumption-details,.consumption-note,.consumption-section h3{font-size:13px;line-height:1.7}.consumption-actions{position:sticky;bottom:0;background:#161d17;padding-top:12px;margin-top:12px}.consumption-actions .button{min-height:48px;font-size:14px}}@media(min-width:651px)and (max-width:900px)and (max-height:500px){#app{--game-header-height:104px;min-height:0;height:100dvh;grid-template-columns:60px 220px minmax(0,1fr);grid-template-rows:var(--game-header-height) minmax(0,1fr)}#app.explore-page{grid-template-rows:var(--game-header-height) minmax(0,1fr)}#app.settlement-page,#app.marketplace-page,#app.community-page{grid-template-columns:60px minmax(0,1fr)}.topbar{display:grid;grid-column:2/-1;grid-template-columns:130px minmax(0,1fr) 44px;grid-template-rows:60px 44px;padding:0 10px;gap:0 8px}.topbar .wordmark{display:none}.topbar>.server-clock{grid-column:1;grid-row:1}.topbar>#resource-bar{grid-column:2;grid-row:1}.topbar>.account-avatar{grid-column:3;grid-row:1}.topbar .population-bar.resource-bar{position:static;grid-column:1/-1;grid-row:2}.topbar #world-time{font-size:11px}.topbar #clock-sync-status{display:none}.topbar .server-clock.sync-paused #clock-sync-status{display:inline}.topbar .resource .resource-tooltip{left:72px;width:min(360px,calc(100vw - 84px));max-height:calc(100dvh - var(--game-header-height) - 12px)}.rail{grid-column:1;grid-row:1/-1;height:100dvh;flex-direction:column;padding:8px 2px;border-top:0;border-right:1px solid #c6e8a422}.rail .brand-mark{display:none}.rail .rail-links{flex-direction:column;width:100%;height:auto;flex:1;padding:0;gap:6px}.rail-links .nav-button{width:100%;flex:1;max-height:64px}.explore-page .sidebar{display:flex;grid-column:2;grid-row:2;min-height:0}.explore-page .sidebar-mobile-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:8px}.explore-page .sidebar-mobile-heading>div{display:flex;gap:6px}.explore-page #sidebar-content{padding:0 10px 10px;overflow:auto}.explore-page #sidebar-content>:not(.sidebar-primary-actions),.explore-page .sidebar-bottom{display:none}.explore-page .sidebar-primary-actions{margin-top:0}.explore-page .sidebar-action-row{grid-template-columns:minmax(0,1fr)}.explore-page .map{grid-column:3;grid-row:2}.explore-page .map-heading{top:14px;left:14px}.explore-page .map-heading h1{font-size:24px}.explore-page .map-heading p,.explore-page .map-coordinate,.explore-page .compass-rose,.explore-page .minimap,.explore-page .map-bottom,.explore-page .location-card{display:none}.explore-page .map-toolbar{display:flex;top:auto;bottom:12px;right:12px;flex-direction:row}.explore-page .map-toolbar>span{display:none}.settlement-view,.marketplace-view,.community-view{grid-column:2;grid-row:2}.settlement-dock{grid-template-columns:repeat(3,minmax(0,1fr))}.settlement-task-panel,.settlement-task-panel:has(.inventory-panel){inset:0 0 84px}.settlement-panorama{bottom:84px}.settlement-view:has(.settlement-task-panel:not([hidden])) .settlement-panorama{bottom:84px}.settlement-task-body .inventory-grid{grid-template-columns:repeat(8,minmax(0,1fr))}.settlement-task-body .item-grid,.settlement-task-body .storage-grid,.settlement-task-body .building-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.exchange-layout{grid-template-columns:minmax(0,1fr)}.exchange-catalog{position:static}.exchange-book{grid-template-columns:repeat(2,minmax(0,1fr))}.community-page:has([data-communicate]) .page-heading{display:none}.community-page .page-census{grid-template-columns:repeat(3,minmax(0,1fr))}.community-page .page-census span{display:grid}.account-pane{width:100vw;border-radius:0}}@media(max-width:650px)and (max-height:740px){.explore-page .map-toolbar{display:flex;bottom:10px}}@media(max-width:650px)and (max-height:650px){.explore-page .map-toolbar{left:10px;right:auto;flex-direction:row}}.rail-links{margin-top:0}.server-clock #world-time{font-size:12px}.settlement-goal{display:none}.settlement-district>.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.settlement-command-card{position:absolute;z-index:4;top:16px;right:16px;width:min(330px,calc(100% - 32px));padding:16px;border:1px solid #d5dfad40;border-radius:16px;background:linear-gradient(145deg,#14221cef,#16271fef);color:#e3e7dd;box-shadow:0 16px 42px #08130d66;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.settlement-command-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.settlement-command-heading .eyebrow{font-size:8px;letter-spacing:1.5px;color:#a8bd98}.settlement-command-heading h2{margin-top:4px;font-size:19px;letter-spacing:-.4px}.settlement-command-heading h2 button{padding:0;background:none;color:inherit;text-align:left;font:inherit}.settlement-stage-tag{padding:5px 8px;border:1px solid #c6e8a42e;border-radius:999px;background:#c6e8a40d;color:#c6e8a4;font-size:9px;text-transform:uppercase;letter-spacing:.8px}.settlement-command-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0 12px}.settlement-command-stats>div{display:grid;gap:3px;min-width:0;padding:9px 10px;border:1px solid #ffffff0c;border-radius:10px;background:#ffffff05}.settlement-command-stats small,.settlement-command-stats span{color:#9eaf99;font-size:9px}.settlement-command-stats strong{font-size:17px;font-variant-numeric:tabular-nums}.settlement-command-stats span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settlement-tier-progress{display:grid;gap:8px;margin:0 0 12px;padding:10px;border:1px solid #d7bc7c30;border-radius:10px;background:#d7bc7c09}.settlement-tier-progress>div{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px}.settlement-tier-progress small{font-size:8px;letter-spacing:1px;color:#d7bc7c}.settlement-tier-progress strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.settlement-tier-progress span{font-size:9px;color:#c4cdb9;font-variant-numeric:tabular-nums}.settlement-tier-progress progress{height:4px}.settlement-complete{display:block;color:#c6e8a4;font-size:11px}.settlement-command-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.settlement-command-actions .button{position:relative;min-width:0;min-height:44px;justify-content:flex-start;padding:8px 10px;border-color:#ffffff12;border-radius:9px;background:#ffffff07;color:#dfe9d4;font-size:10px}.settlement-command-actions .button:hover{border-color:#c6e8a45c;background:#c6e8a412}.settlement-command-actions .icon{width:16px;height:16px;color:#c6e8a4}.settlement-command-actions .task-badge{top:3px;right:4px}.settlement-district.decoration-mode .settlement-command-card{display:none}.settlement-dock{gap:4px}.settlement-dock>button{min-width:82px}@media(max-width:900px){.settlement-command-card{top:12px;right:12px;width:min(300px,calc(100% - 24px))}#app.has-world-chat .settlement-command-card{right:calc(var(--world-chat-width) + 12px)}}@media(max-width:650px){.settlement-command-card{top:8px;right:8px;left:8px;width:auto;padding:8px;border-radius:12px}#app.has-world-chat .settlement-command-card{right:8px}.settlement-command-heading{align-items:center}.settlement-command-heading h2{font-size:15px}.settlement-command-stats{gap:5px;margin:7px 0}.settlement-command-stats>div{grid-template-columns:1fr auto;align-items:center;gap:2px 6px;padding:5px 7px}.settlement-command-stats small{font-size:8px}.settlement-command-stats strong{grid-column:2;grid-row:1/3;font-size:14px}.settlement-command-stats span{font-size:8px}.settlement-tier-progress{gap:5px;margin-bottom:7px;padding:6px 8px}.settlement-command-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.settlement-command-actions .button{min-height:40px;flex-direction:column;justify-content:center;gap:2px;padding:4px;font-size:8px}.settlement-command-actions .icon{width:15px;height:15px}.settlement-dock{grid-template-columns:repeat(3,minmax(0,1fr))}}#app{--game-header-height:140px;grid-template-rows:var(--game-header-height) minmax(0,1fr)}#app .topbar{display:grid;grid-template-columns:minmax(140px,1fr) auto auto 44px;grid-template-rows:minmax(0,1fr) 62px;gap:6px 12px;padding:6px 18px}.topbar #resource-bar{display:grid;grid-column:1/-2;grid-row:2;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;position:static;min-width:0;height:62px;padding:0;border:1px solid #ffffff0c;border-radius:12px;background:#ffffff03;overflow:hidden}.topbar #resource-bar .resource{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:44px minmax(0,1fr);min-width:0;padding:2px 8px;border:0;border-radius:0;background:transparent}.topbar #resource-bar .resource+.resource{border-left:1px solid #ffffff0c}.topbar #resource-bar .resource-summary{display:flex;grid-column:1;grid-row:1;width:100%;min-height:44px;gap:7px;align-items:center;position:relative}.topbar #resource-bar .resource-summary>span{min-width:0}.topbar #resource-bar .resource-summary small{display:block;font-size:10px}.topbar #resource-bar .resource-summary strong{display:block;font-size:15px;font-variant-numeric:tabular-nums;white-space:nowrap}.topbar #resource-bar .resource-summary>.icon{flex-shrink:0;width:19px;height:19px}.topbar #resource-bar .resource-total-full{display:none}.topbar #resource-bar .resource-total-compact{display:inline}.topbar #resource-bar .resource-accrual{grid-column:1;grid-row:2;display:flex;align-items:center;gap:5px;min-width:0;margin:0}.topbar #resource-bar .resource-summary:disabled{opacity:1;cursor:default}.resource-settings{display:grid;place-items:center;align-self:start;justify-self:end;flex-shrink:0;width:44px;height:44px;border:1px solid #ffffff14;border-radius:9px;background:#ffffff05;color:#a7b49c}.resource-settings>.icon{width:16px;height:16px}.resource-settings:is(:hover,:focus-visible){background:#c6e8a414;color:#d8efb7;border-color:#c6e8a466}#app .server-clock{grid-column:1;grid-row:1;display:flex;flex-direction:column;justify-content:center;gap:3px;min-width:0;max-width:360px;height:auto;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}#app .clock-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:4px;min-width:0;line-height:11px}#app #clock-sync-status,#app #clock-speed{display:inline;font-size:8px;letter-spacing:0}#app #clock-sync-status[hidden],#app #clock-speed[hidden],#app .sync-paused #clock-speed{display:none}#app #world-time{--season-size:clamp(40px,calc(var(--game-header-height) - 32px),64px);display:grid;grid-column:auto;grid-row:auto;grid-template-columns:var(--season-size) minmax(0,1fr);grid-template-rows:auto auto 4px;gap:3px 8px;min-width:0;font-size:11px}#app .clock-seasons{grid-column:1;grid-row:1/-1;align-self:end;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:3px;width:var(--season-size);height:var(--season-size)}#app .clock-season{width:100%;height:auto;aspect-ratio:1;border-radius:3px}#app .clock-season:before{inset:auto 0 0;width:100%;height:var(--season-progress)}#app .clock-calendar{grid-column:2;grid-row:1;display:flex;align-items:baseline;gap:5px;min-width:0;line-height:14px}#app .clock-calendar>span:first-child{font-size:10px}#app .clock-week-label small{font-size:8px}#app .clock-current-day{font-size:10px;color:#d7bc7c}#app .clock-game-time{grid-column:2;grid-row:2;align-self:end;gap:6px;font-size:16px;line-height:20px}#app .clock-game-time>.icon{width:18px;height:18px}#app .clock-current-season{font-size:12px;font-weight:400;color:#a7b49c}#app .clock-week{grid-column:2;grid-row:3;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;width:100%;max-width:none;height:4px}#app .clock-day{position:relative;display:block;min-width:0;height:100%;overflow:hidden;border-radius:2px;background:#ffffff14;box-shadow:none;color:transparent}#app .clock-day:before{display:none}#app .clock-day.current{background:#ffffff14;box-shadow:none}#app .clock-day-fill{position:absolute;inset:0 auto 0 0;width:var(--day-progress);background:#c6e8a4}#app .clock-day.current .clock-day-fill{background:var(--mint);transition:width .6s linear}#app .clock-season>.icon{width:clamp(9px,calc(var(--season-size) * .3),20px);height:clamp(9px,calc(var(--season-size) * .3),20px);opacity:.85;filter:none}#app .clock-season.current:after{display:none}#app .clock-season.current>.icon{animation:none}#app .topbar .population-health{grid-column:2;grid-row:1;min-height:44px;padding:4px 10px}#app .topbar .population-health-total{flex-direction:column;align-items:flex-start;gap:2px}#app .topbar .population-health-work{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:2px;min-width:0}#app .topbar .population-health-meter{width:48px;min-width:12px}#app .resource-manager-button{grid-column:-2;grid-row:2;align-self:stretch;display:flex;align-items:center;justify-content:center;gap:7px;width:44px;min-height:44px;padding:0;border:1px solid #c6e8a433;border-radius:10px;background:#c6e8a40a;color:#d5e4c8;font-size:11px;white-space:nowrap}#app .resource-manager-button>.icon{width:18px;height:18px;flex-shrink:0}#app .resource-manager-button>span{display:none}#app .resource-manager-button:is(:hover,:focus-visible){background:#c6e8a41c;border-color:#c6e8a466}#app .topbar .account-avatar{grid-column:4;grid-row:1;width:44px;height:44px;min-height:44px;justify-self:end}.topbar-account{grid-column:3/-1;grid-row:1;display:flex;align-items:center;justify-self:end;gap:8px;min-width:0}.header-wallet{display:flex;align-items:baseline;gap:4px;min-width:0;min-height:44px;padding:13px 12px;border:1px solid #c6e8a433;border-radius:10px;background:#c6e8a40a;color:#d9e0cf;font-variant-numeric:tabular-nums;line-height:16px;white-space:nowrap;cursor:pointer}.header-wallet:is(:hover,:focus-visible){background:#c6e8a41c;border-color:#c6e8a466}.header-wallet small{color:#a7b49c;font-size:10px;font-weight:600}.header-wallet strong{max-width:96px;overflow:hidden;text-overflow:ellipsis;font-size:13px}.rail .screen-mode-controls{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;width:auto;margin-top:auto;padding:8px 0 0;border-top:1px solid #ffffff0c}.rail .screen-mode-controls[hidden]{display:none}.screen-mode-controls button{display:grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid transparent;border-radius:8px;background:transparent;color:#73816e;cursor:pointer;transition:color .2s,background .2s}.screen-mode-controls button[hidden]{display:none}.screen-mode-controls button .icon{width:16px;height:16px}.screen-mode-controls button:hover,.screen-mode-controls button:focus-visible,.screen-mode-controls button[aria-pressed=true]{border-color:#c6e8a433;background:#c6e8a412;color:#d1e2c1}.screen-mode-controls [data-screen-mode-status]:empty{display:none}.screen-mode-controls [data-screen-mode-status]{position:absolute;z-index:10001;left:calc(100% + 8px);bottom:0;width:max-content;max-width:min(320px,calc(100vw - 96px));padding:5px 8px;border-radius:6px;background:#142018;box-shadow:0 4px 16px #0005;color:#f1c0aa;font-size:11px}html[data-screen-preview]{background:#0b100c}html[data-screen-preview] body{overflow:hidden;background:#0b100c}html[data-screen-preview] #app{width:var(--screen-preview-width);max-width:var(--screen-preview-width);margin-inline:auto;box-shadow:0 0 0 1px #c6e8a433,0 0 48px #0008;transform:translateZ(0)}.screen-preview-bar{position:fixed;z-index:10001;top:50%;left:12px;display:flex;flex-direction:column;gap:4px;padding:4px;border:1px solid #c6e8a433;border-radius:10px;background:#142018;box-shadow:0 4px 16px #0005;transform:translateY(-50%)}.screen-preview-bar[hidden]{display:none}.screen-preview-bar button{display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid transparent;border-radius:8px;background:transparent;color:#a7b49c;cursor:pointer}.screen-preview-bar button .icon{width:18px;height:18px}.screen-preview-bar button:hover,.screen-preview-bar button:focus-visible,.screen-preview-bar button[aria-pressed=true]{border-color:#c6e8a433;background:#c6e8a412;color:#e5f1d5}.screen-preview-bar [data-screen-preview-exit]{color:#e9c56c}@media(prefers-reduced-motion:reduce){#app .clock-day.current .clock-day-fill,#app .clock-season:before{transition:none}}.resource-card-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.resource-card-heading .stock-label{min-width:0;flex-wrap:wrap}.resource-card-heading .stock-label span{min-width:0;overflow-wrap:anywhere}.resource-acquisition{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0}.resource-acquisition>span{display:flex;flex-direction:column;gap:3px;min-width:0}.resource-acquisition small{color:#b4c0aa;font-size:10px}.resource-acquisition strong{font-size:16px;font-variant-numeric:tabular-nums}.resource-acquisition>.button{flex:1;min-height:44px}.population-crews .resource-acquisition>.resource-collect{flex:0 1 auto;margin-left:auto;padding:8px 10px;gap:5px}.resource-collect{min-height:44px}.resource-allocation{margin-top:24px}.resource-allocation h3{font-size:14px}.resource-allocation>.crew-card{margin-top:12px}.storage-grid,.settlement-resource-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:12px}.settlement-resource-grid{margin:16px 0}.resource-claimed{animation:claim-card-glow 1s ease-out}.claim-pending{cursor:wait!important}.claim-feedback{position:fixed;z-index:10000;pointer-events:none;color:#c6ea9a}.claim-gain{position:absolute;display:flex;align-items:center;gap:6px;padding:6px 10px;border:1px solid #c6ea9a88;border-radius:20px;background:#152218ee;color:#edfbd9;white-space:nowrap;font-size:14px;box-shadow:0 4px 20px #0006;animation:claim-gain-rise 1s cubic-bezier(.18,.7,.3,1) forwards}.claim-gain>.icon{width:18px;height:18px}.claim-ring{position:absolute;width:44px;height:44px;margin:-22px;border:2px solid currentColor;border-radius:50%;animation:claim-ring-expand .7s ease-out forwards}.claim-spark{position:absolute;width:5px;height:5px;border-radius:50%;background:#e9cc83;animation:claim-spark-burst .8s ease-out forwards}@keyframes claim-card-glow{0%,25%{box-shadow:0 0 0 2px #c6ea9a88,0 0 24px #c6ea9a33}to{box-shadow:0 0 #c6ea9a00}}@keyframes claim-gain-rise{0%{opacity:0;transform:translate(-50%,-20%) scale(.8)}20%{opacity:1;transform:translate(-50%,-110%) scale(1.08)}65%{opacity:1}to{opacity:0;transform:translate(-50%,-200%) scale(1)}}@keyframes claim-ring-expand{0%{opacity:.8;transform:scale(.6)}to{opacity:0;transform:scale(2.3)}}@keyframes claim-spark-burst{0%{opacity:1;transform:translate(0) scale(.7)}to{opacity:0;transform:translate(var(--spark-x),var(--spark-y)) scale(.2)}}@media(prefers-reduced-motion:reduce){.resource-claimed,.claim-gain{animation:none}.claim-ring,.claim-spark{display:none}.claim-gain{transform:translate(-50%,-110%)}}.topbar #resource-bar .resource-progress{display:block;flex:1;height:3px}.topbar #resource-bar .resource-pending{font-size:9px;line-height:12px;white-space:nowrap}.topbar #resource-bar .resource-tooltip{display:none}.topbar #resource-bar .collection-available{border-color:#b2d77c77;background:#b2d77c0b}.collection-ready{position:absolute;right:-3px;top:-5px;color:#c6ea9a}.collection-ready .icon{width:12px;height:12px}.population-health{display:flex;align-items:center;gap:9px;min-height:52px;padding:6px 10px;border:1px solid #8ab86733;border-radius:12px;background:#8ab86709;text-align:left}.population-health>.icon{width:20px;height:20px;color:#b9d895}.population-health-total small,.population-health-work small{font-size:10px;color:#b4c0aa}.population-health-total{display:flex;flex-direction:column;gap:2px}.population-health-total strong{font-size:16px;font-variant-numeric:tabular-nums}.population-health-work{display:grid;gap:4px;margin-left:5px}.population-health-work>span:not(.population-health-meter){display:flex;align-items:center;gap:5px}.population-health-work strong{margin-left:auto;font-size:12px;font-variant-numeric:tabular-nums}.population-health-meter{height:3px;display:block;background:#d2af7055;border-radius:9px;overflow:hidden}.population-health-meter i{display:block;height:100%;background:#a9ce80}.population-health-status{color:#a9ce80}.population-health-status .icon{width:14px;height:14px}.population-health[data-health=warning]{border-color:#d2af7066}.population-health[data-health=warning] .population-health-status{color:#d2af70}.population-health[data-health=critical]{border-color:#d5847277}.population-health[data-health=critical] .population-health-status{color:#e4a28d}.management-supply{display:flex;align-items:center;gap:12px;margin:0 0 16px;font-size:11px;color:#b7c6a8}.management-supply progress{flex:1}.management-dialog{width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #9aba7166;border-radius:20px;background:#152218;color:#eef3e7;box-shadow:0 24px 100px #0009;overflow:hidden}.management-dialog[open]{display:flex;flex-direction:column}.management-dialog::backdrop{background:#07100ac9;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.resource-workspace>section,.population-workspace>section{min-width:0}.management-dialog>header{display:flex;flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid #ffffff12}.management-resource-switcher{display:flex;flex-shrink:0;align-items:center;gap:12px;padding:8px 20px;border-bottom:1px solid #ffffff12}.management-resource-switcher[hidden]{display:none}.management-resource-switcher label{font-size:11px;color:#b4c0aa}.management-resource-switcher select{flex:1;min-width:0;min-height:44px;padding:8px;border:1px solid #c6e8a433;border-radius:8px;background:#122119;color:#eef3e7;font:inherit;font-size:13px}.management-dialog h2{margin:0;font-size:18px}.management-dialog .button{min-height:44px}.management-content{flex:1;min-height:0;padding:20px;overflow:auto;max-height:none;scrollbar-width:thin}.management-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:16px}.management-metrics>div{display:flex;flex-direction:column;gap:6px;position:relative;padding:14px 10px;border-radius:12px;background:#ffffff05;border:1px solid #ffffff0c}.management-metrics .icon{position:absolute;right:8px;top:10px;width:16px;height:16px;color:#a8c984}.management-metrics small{font-size:11px;color:#b4c0aa}.management-metrics strong{font-size:20px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.collection-actions,.collection-links{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.collection-actions>.button{flex:1}.automation-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:24px}.automation-heading h3{font-size:14px}.automation-heading>span{font-size:11px;color:#b8c6a9}.automation-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.automation-item{display:flex;flex-direction:column;gap:6px;padding:14px 8px}.automation-item .icon{width:22px;height:22px;color:#b6d68e}.automation-item strong{font-size:18px}.automation-item small{font-size:10px}@media(min-width:901px){.management-dialog{width:min(1180px,calc(100vw - 48px))}.management-dialog[data-view=funds]{width:min(820px,calc(100vw - 48px))}.management-dialog>header{padding:12px 18px}.management-content{padding:16px;overscroll-behavior:contain}.resource-workspace{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}.resource-workspace>section{padding:14px;border:1px solid #ffffff12;border-radius:12px;background:#ffffff02}.resource-workspace .resource-allocation,.resource-workspace .settlement-sale{margin-top:0}.resource-workspace h3{margin-top:0;font-size:14px}.resource-workspace .collection-actions,.resource-workspace .collection-links{gap:6px;margin:12px 0}.resource-workspace .collection-links>.button{flex:1}.resource-workspace .automation-heading{margin-top:16px}.resource-workspace .automation-item{padding:10px 4px}.resource-workspace .management-metrics{gap:6px;margin-bottom:12px}.resource-workspace .management-metrics>div{padding:12px 8px}.resource-workspace .management-metrics small{font-size:10px}.resource-workspace .settlement-sale form{gap:8px}.resource-workspace .settlement-sale label,.resource-workspace .settlement-sale [role=status]{font-size:11px}.management-dialog .fineprint,.resource-workspace .settlement-sale>p{font-size:11px;line-height:1.6}.management-dialog .population-workspace{display:grid;grid-template-columns:320px minmax(0,1fr);gap:16px;align-items:start}.management-dialog .population-overview{padding:12px;border:1px solid #ffffff12;border-radius:12px;background:#ffffff02}.management-dialog .population-overview .management-metrics{gap:6px;margin-bottom:8px}.management-dialog .population-overview .management-metrics>div{padding:10px 6px}.management-dialog .population-overview .management-metrics small{font-size:10px}.management-dialog .population-overview .management-metrics strong{font-size:18px}.management-dialog .population-overview .management-supply{gap:8px;margin-bottom:8px}.management-dialog .population-overview .panel-section-heading{font-size:13px;margin:8px 0}.management-dialog .population-overview>.fineprint{font-size:10px;line-height:1.5;margin:6px 0 0}.management-dialog .population-overview .water-upkeep{padding:10px;gap:6px;margin:8px 0}.management-dialog .population-overview .panel-actions{flex-wrap:wrap;margin:6px 0;gap:6px}.management-dialog .population-overview .disclosure{margin-top:6px;padding:0 10px}.management-dialog .population-overview .disclosure>summary{padding:8px 0;min-height:44px}.management-dialog .population-crews .resource-crews{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:0}.management-dialog .crew-card{padding:8px 10px}.management-dialog .crew-card>.fineprint{font-size:10px;line-height:1.5;margin:8px 0}.management-dialog .crew-card>small{margin-top:6px;font-size:10px;line-height:1.5}.management-dialog .resource-acquisition{margin:8px 0;gap:6px}.management-dialog .resource-acquisition strong{font-size:15px}}.treasury-balance{display:flex;align-items:center;gap:10px;margin-bottom:16px}.activity-automation{padding:8px 0;border-bottom:1px solid #ffffff18}.activity-automation .automation-heading{margin-top:0}.activity-automation .automation-heading h3{display:flex;align-items:center;gap:6px}.activity-automation .automation-heading .icon{width:18px;height:18px}.activity-automation .automation-items{margin:8px 0}.activity-automation .automation-item{min-height:44px;padding:6px 4px;gap:2px}.activity-automation .automation-item strong{font-size:15px}.activity-automation-status{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:6px}.activity-automation-status .fineprint{margin:0}.activity-automation-status .button{flex-shrink:0;padding:8px;font-size:11px}.treasury-balance strong{font-size:28px}.treasury-balance .icon{width:24px;height:24px;color:#d7bd79}.collection-item-art{position:relative}.collection-item-art b{position:absolute;bottom:4px;right:4px;padding:2px 4px;background:#17251a;border-radius:4px;font-size:11px}@media(max-width:1100px){#app .topbar{padding-inline:12px;column-gap:8px}.topbar #resource-bar .resource{padding-inline:5px}.topbar #resource-bar .resource-summary>.icon{width:15px;height:15px}#app .topbar #resource-bar .resource-summary strong{font-size:13px}.header-wallet strong{max-width:72px;font-size:11px}}@media(max-width:900px){.resource-settings{width:28px;height:28px;min-width:28px;min-height:28px;padding:0;border-radius:6px;touch-action:manipulation}.resource-settings>.icon{width:14px;height:14px}.topbar #resource-bar .resource-summary{gap:4px}.topbar #resource-bar .resource-summary>.icon{width:15px;height:15px}.topbar #resource-bar .resource-summary small{font-size:9px;line-height:1.2}#app .topbar #resource-bar .resource-summary strong{font-size:12px;line-height:1.15;white-space:normal}.topbar #resource-bar .collection-ready{right:0;top:0}.topbar #resource-bar .resource-accrual{gap:2px;margin:0}.topbar #resource-bar .resource-pending{min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:8px}}@media(max-width:650px){#app{--game-header-height:188px}#app{grid-template-rows:var(--game-header-height) minmax(0,1fr) var(--game-footer-height)}#app.explore-page{grid-template-rows:var(--game-header-height) minmax(0,1fr) auto var(--game-footer-height)}#app .topbar{grid-template-columns:minmax(0,1fr) auto 44px;grid-template-rows:56px 62px minmax(0,1fr)}#app .topbar #resource-bar{grid-column:1/3;grid-row:2}#app .topbar .server-clock{grid-column:1;grid-row:1}#app .topbar .population-health{grid-column:1/-1;grid-row:3}#app .topbar .population-health-work{flex:1;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 8px}#app .topbar .population-health-meter{grid-column:1/-1;width:auto}#app .resource-manager-button{grid-column:3;grid-row:2}#app .topbar-account{grid-column:2/-1;grid-row:1}#app .topbar .account-avatar{grid-column:auto}.header-wallet{padding-inline:10px}.header-wallet strong{max-width:64px}.topbar #resource-bar .resource-summary>.icon{display:none}}@media(max-width:360px){.topbar{padding-inline:8px}#app .topbar #resource-bar .resource-summary strong{font-size:11px}.topbar #resource-bar .resource-summary>.icon{width:12px;height:12px}.population-health-total small{display:none}.population-health-work{gap:7px}.management-content{padding:12px}}@media(min-width:651px)and (max-width:900px)and (max-height:500px){#app{--game-header-height:128px}#app #world-time{--season-size:clamp(28px,5vh,40px);grid-template-columns:var(--season-size) minmax(0,1fr)}#app .clock-seasons{width:var(--season-size);height:var(--season-size)}#app .topbar #resource-bar .resource-summary strong{font-size:11px}}@media(min-width:901px){#app .clock-heading{gap:7px;line-height:14px}#app #clock-sync-status{font-size:8px;letter-spacing:1px}#app #world-time{--season-size:clamp(40px,calc(var(--game-header-height) - 32px),64px);grid-template-columns:var(--season-size) minmax(0,1fr);grid-template-rows:auto auto 4px;gap:3px 8px;font-size:11px}#app .clock-seasons{width:var(--season-size);height:var(--season-size)}#app .clock-calendar{gap:5px;line-height:14px}#app .clock-calendar>span:first-child,#app .clock-week-label{font-size:11px}#app .clock-week-label small{font-size:9px}#app .clock-current-day{font-size:11px}#app .clock-game-time{font-size:16px;line-height:20px}#app .clock-current-season{font-size:12px}#app .topbar #resource-bar .resource-summary{min-height:44px;gap:9px;padding-inline:12px}#app .topbar #resource-bar .resource-summary small{font-size:9px}#app .topbar #resource-bar .resource-summary strong{font-size:12px}#app .topbar #resource-bar .resource-summary>.icon{width:20px;height:20px}}@media(min-width:1200px){#app{--game-header-height:88px;grid-template-rows:var(--game-header-height) minmax(0,1fr)}#app .topbar{grid-template-columns:minmax(170px,.8fr) minmax(330px,2.2fr) auto auto auto;grid-template-rows:minmax(0,1fr);gap:8px;padding:6px 12px}#app .server-clock{grid-column:1;grid-row:1;max-width:none;padding:0}#app #world-time{--season-size:clamp(40px,calc(var(--game-header-height) - 32px),64px);grid-template-columns:var(--season-size) minmax(0,1fr);grid-template-rows:auto auto 4px;gap:3px 7px;font-size:11px}#app .clock-seasons{width:var(--season-size);height:var(--season-size)}#app .clock-calendar{gap:5px;line-height:14px}#app .clock-calendar>span:first-child,#app .clock-week-label{font-size:10px}#app .clock-week-label small{font-size:8px}#app .clock-current-day{font-size:10px}#app .clock-game-time{font-size:16px;line-height:20px}#app .clock-current-season{font-size:12px}#app .topbar #resource-bar{grid-column:2;grid-row:1}#app .topbar .population-health{grid-column:4;grid-row:1}#app .resource-manager-button{grid-column:3;grid-row:1;align-self:center;height:44px}#app .topbar-account{grid-column:5;grid-row:1}#app .topbar .account-avatar{grid-column:auto}#app .topbar #resource-bar .resource-summary>.icon{display:none}#app .topbar #resource-bar .resource-summary{gap:6px;padding-inline:6px}#app .topbar #resource-bar .resource-summary small{font-size:8px}#app .topbar #resource-bar .resource-summary strong{font-size:11px}#app .topbar #resource-bar .resource-summary>.icon{width:16px;height:16px}}@media(max-width:900px){#app .clock-calendar{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}#app #world-time{--season-size:clamp(28px,5vh,40px);grid-template-columns:var(--season-size) minmax(0,1fr);grid-template-rows:auto 4px}#app .clock-seasons{grid-column:1;grid-row:1/-1;align-self:end;width:var(--season-size);height:var(--season-size)}#app .clock-game-time{grid-row:1;font-size:15px;line-height:18px}#app .clock-game-time>.icon{width:16px;height:16px}#app .clock-week{grid-column:2;grid-row:2}}@media(max-width:650px){#app #world-time{--season-size:clamp(22px,7vw,34px)}}@media(max-width:900px){.rail .screen-mode-controls{display:none}}@media(max-width:360px){.header-wallet strong{max-width:48px;font-size:10px}.topbar-account{gap:5px}}:root{--surface:#17241f;--surface-raised:#1e3028;--surface-border:#cfdfd326;--muted:#a6b9ad;--mint:#c5e7b4;--panel-shadow:0 12px 36px #06120e38;color:#edf3ec;color-scheme:dark}html:has(#app),body:has(#app){height:100%;overflow:hidden}#app:is(.explore-page,.settlement-page,.community-page,.marketplace-page){--game-rail-width:88px;--game-header-height:96px;--game-footer-height:0px;--layout-gap:20px;position:relative;height:100dvh;min-height:0;grid-template-columns:var(--game-rail-width) minmax(0,1fr);grid-template-rows:var(--game-header-height) minmax(0,1fr);font-size:14px;background:#0e1914}#app .rail{grid-column:1;grid-row:1/-1;padding:20px 10px 16px;border-color:var(--surface-border);background:#101d17}.game-brand{display:flex;flex-direction:column;align-items:center;gap:4px;text-decoration:none;color:var(--mint);font:800 30px Manrope,sans-serif;line-height:1}.game-brand span{font:600 9px DM Sans,sans-serif;letter-spacing:2px}.game-brand img{display:block;width:34px;height:34px}#app .rail-links{margin:28px 0 0;padding:0;gap:8px}#app .nav-button{min-height:64px;gap:8px;padding:10px 4px;border-radius:12px;color:#a3b4a8}#app .nav-button span{font-size:11px;letter-spacing:0}#app .nav-button.active{background:#c5e7b414;color:#e2f3d8;box-shadow:inset 0 0 0 1px #c5e7b426}#app .nav-button.active:before{display:none}#app .nav-button:hover{background:#c5e7b40c;color:#e2f3d8}#app .topbar{grid-column:2;grid-row:1;display:grid;grid-template-columns:minmax(170px,.8fr) minmax(320px,2fr) 44px auto auto;grid-template-rows:minmax(0,1fr);gap:12px;padding:12px 20px;border-color:var(--surface-border);background:#101d17f5}#app .server-clock{grid-column:1;grid-row:1}#app #world-time{--season-size:44px}#app .clock-calendar{position:static;width:auto;height:auto;clip-path:none;overflow:visible;white-space:normal}#app .clock-calendar>span:first-child,#app .clock-week-label{font-size:11px}#app .topbar #resource-bar{grid-column:2;grid-row:1;height:64px;margin:0;grid-template-columns:repeat(4,minmax(0,1fr));border-color:var(--surface-border);background:#ffffff03;border-radius:12px}#app .topbar #resource-bar .resource{padding:4px 10px;grid-template-rows:44px minmax(0,1fr)}#app .topbar #resource-bar .resource-summary{padding:0;gap:8px}#app .topbar #resource-bar .resource-summary small{font-size:11px;color:var(--muted)}#app .topbar #resource-bar .resource-summary strong{font-size:14px;line-height:1.25;white-space:normal;overflow-wrap:anywhere}#app .resource-manager-button{grid-column:3;grid-row:1;align-self:center;justify-self:end;width:44px;height:44px;border-color:var(--surface-border)}#app .topbar .population-health{grid-column:4;grid-row:1;min-height:52px;padding:8px 12px;border-color:var(--surface-border);background:#ffffff03}#app .topbar-account{grid-column:5;grid-row:1;gap:10px}#app .header-wallet{max-width:150px;white-space:normal;overflow-wrap:anywhere;border-color:var(--surface-border);background:#c5e7b40a}#app .header-wallet strong{display:block;min-width:0;max-width:none;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#app .header-wallet small{flex-shrink:0}#app .account-avatar{background:#294335;border-color:#c5e7b44d;box-shadow:none}#app .button,.account-pane .button{min-height:44px;border-radius:10px;font-size:13px;gap:8px;border-color:var(--surface-border)}#app .button:hover:not(:disabled),.account-pane .button:hover:not(:disabled){transform:none;background:#c5e7b416}#app .button.primary,.account-pane .button.primary{background:var(--mint);border-color:var(--mint);color:#203623}#app .button.primary:hover:not(:disabled),.account-pane .button.primary:hover:not(:disabled){background:#d9efcd}#app :is(.page-card,.exchange-card,.exchange-catalog,.inbox-directory,.chat-page){border-color:var(--surface-border);background:var(--surface);border-radius:16px}#app :is(.community-view,.marketplace-view){grid-column:2;grid-row:2;padding:32px;min-height:0;background:radial-gradient(ellipse at top right,#2b47372b,transparent 60%),#101c16;scrollbar-width:thin;scrollbar-color:#607d69 transparent}#app :is(.page-heading,.exchange-heading,.bank-heading){max-width:1200px;margin:0 auto 28px;gap:20px}#app :is(.page-heading,.exchange-heading,.bank-heading) h1{font-family:Manrope,sans-serif;font-size:30px;font-weight:750;line-height:1.25;letter-spacing:-.8px}#app :is(.page-heading,.bank-heading) p{color:var(--muted);font-size:14px;line-height:1.7}#app .page-card{padding:24px}#app .exchange-layout{max-width:1200px;grid-template-columns:minmax(0,1fr) 340px;gap:20px}#app .market-bank-link{width:min(1200px,100%);margin:0 auto 20px}#app .exchange-card{padding:20px}#app .exchange-assets{max-height:320px}#app .exchange-asset{padding:12px;min-height:64px}#app .exchange-asset strong{font-size:13px}#app .exchange-asset small{font-size:11px}#app :is(.marketplace-view,.community-view) :is(input,select,textarea){border-color:var(--surface-border);border-radius:10px;background:#0e1a14;font-size:14px}#app .inbox-layout{gap:20px;grid-template-columns:280px minmax(0,1fr)}#app .inbox-heading{display:flex;align-items:center;gap:12px;padding:0 0 20px;margin-bottom:20px;border-bottom:1px solid var(--surface-border);flex-shrink:0}#app .inbox-heading h1{margin-right:auto;font-size:26px}#app .inbox-directory,#app .inbox-layout .chat-page{padding:20px}#app .chat-message p{font-size:14px;line-height:1.7}#app .chat-message time{font-size:11px}#app .featheral-bank-view>p{max-width:1200px;margin:0 auto;color:var(--muted);line-height:1.8}#app .world-dollar-wallet{max-width:1200px;margin-inline:auto}.management-dialog,.account-pane{background:var(--surface);border-color:var(--surface-border);box-shadow:var(--panel-shadow)}.management-dialog{border-radius:20px}.management-dialog::backdrop,.account-pane::backdrop{background:#07140bb3;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.management-dialog>header,.account-heading{border-color:var(--surface-border)}.management-content,.account-content{scrollbar-width:thin;scrollbar-color:#607d69 transparent}@media(max-width:1199px){#app:is(.explore-page,.settlement-page,.community-page,.marketplace-page){--game-rail-width:76px;--game-header-height:132px;--layout-gap:16px}#app .topbar{grid-template-columns:minmax(0,1fr) auto auto;grid-template-rows:48px 56px;gap:8px 12px;padding:10px 16px}#app .topbar .population-health{grid-column:2;grid-row:1;min-height:44px}#app .topbar-account{grid-column:3;grid-row:1}#app .topbar #resource-bar{grid-column:1/-1;grid-row:2;height:56px;margin-right:56px}#app .topbar #resource-bar .resource{padding:2px 10px;grid-template-rows:44px minmax(0,1fr)}#app .resource-manager-button{grid-column:3;grid-row:2}#app .exchange-layout{grid-template-columns:minmax(0,1fr) 300px;gap:16px}}@media(max-width:900px){#app :is(.community-view,.marketplace-view){padding:20px}#app .exchange-layout{grid-template-columns:minmax(0,1fr)}#app .exchange-order-entry{grid-column:1;grid-row:2;position:static}#app .exchange-instrument{grid-row:3}#app .exchange-chart-card{grid-row:4}#app .exchange-order-book{grid-row:5}#app .exchange-history-card{grid-row:6}#app .clock-calendar{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}}@media(max-width:650px){#app:is(.explore-page,.settlement-page,.community-page,.marketplace-page){--game-rail-width:0px;--game-header-height:124px;--game-footer-height: calc(68px + env(safe-area-inset-bottom)) ;--layout-gap:12px;grid-template-columns:minmax(0,1fr);grid-template-rows:var(--game-header-height) minmax(0,1fr) var(--game-footer-height)}#app .rail{position:absolute;inset:auto 0 0;grid-column:1;grid-row:3;height:var(--game-footer-height);padding:0 8px env(safe-area-inset-bottom);border:0;border-top:1px solid var(--surface-border)}#app .game-brand{display:none}#app .rail-links{flex-direction:row;align-items:stretch;margin:0;gap:4px;height:68px}#app .nav-button{min-height:60px;padding:8px 2px;gap:6px;flex:1}#app .nav-button span{font-size:10px}#app .topbar{grid-column:1;grid-template-columns:minmax(0,1fr) 44px auto;padding:8px 12px;gap:8px}#app .topbar .population-health{padding:4px;flex-direction:column;justify-content:center;gap:2px;min-width:44px}#app .topbar .population-health-total small,#app .topbar .population-health-work,#app .topbar .population-health-status{display:none}#app .population-health>.icon{width:16px;height:16px}#app .population-health-total strong{font-size:14px}#app .topbar #resource-bar .resource{padding-inline:6px}#app .topbar #resource-bar .resource-summary strong{font-size:12px}#app .topbar #resource-bar .resource-summary small{font-size:10px}#app .topbar-account{gap:6px}#app .header-wallet{padding:10px 8px;max-width:88px}#app .header-wallet strong{font-size:12px}#app :is(.community-view,.marketplace-view){grid-column:1;grid-row:2;padding:16px}#app :is(.page-heading,.exchange-heading,.bank-heading){margin-bottom:20px;gap:12px}#app :is(.page-heading,.exchange-heading,.bank-heading) h1{font-size:25px}#app .page-card,#app .exchange-card{padding:16px}#app .inbox-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:160px minmax(0,1fr);gap:12px}#app .inbox-directory,#app .inbox-layout .chat-page{padding:12px}#app .page-census{gap:12px}#app .page-census strong{font-size:22px}}@media(min-width:651px)and (max-height:500px){#app:is(.explore-page,.settlement-page,.community-page,.marketplace-page){--game-rail-width:68px;--game-header-height:112px;--layout-gap:12px}#app .game-brand{display:none}#app .rail{padding:8px 6px}#app .rail-links{margin:0;gap:2px}#app .nav-button{min-height:52px;padding:6px 2px;gap:4px}#app .rail-bottom{display:none}#app .topbar{padding-block:6px;grid-template-rows:44px 48px}#app .topbar #resource-bar{height:48px}#app .topbar .population-health{padding:4px 8px}#app .topbar .population-health-work{gap:0}#app :is(.community-view,.marketplace-view){padding:16px}#app .inbox-layout{grid-template-columns:220px minmax(0,1fr)}}@media(min-width:1200px)and (max-height:500px){#app:is(.explore-page,.settlement-page,.community-page,.marketplace-page){--game-header-height:80px}#app .topbar{grid-template-rows:minmax(0,1fr)}}#app.has-world-chat{--world-chat-width:360px;--canvas-header:var(--game-header-height);--canvas-rail:var(--game-rail-width);--canvas-footer:var(--game-footer-height);--scene-top:calc(var(--canvas-header) + var(--layout-gap));--scene-left:calc(var(--canvas-rail) + var(--layout-gap));--scene-bottom:calc(var(--canvas-footer) + 104px);min-height:0;height:100dvh;isolation:isolate}.has-world-chat .map,.has-world-chat .settlement-view{position:absolute;inset:0;grid-column:1/-1;grid-row:1/-1;z-index:0}.has-world-chat .map canvas#world{width:100%;height:100%}.has-world-chat .sidebar{position:absolute;grid-column:1/-1;grid-row:1/-1;left:var(--scene-left);top:var(--scene-top);bottom:auto;width:292px;max-height:calc(100dvh - var(--canvas-header) - var(--canvas-footer) - 320px);z-index:3;min-height:0;padding:16px;border:1px solid var(--surface-border);border-radius:18px;background:#14271ff0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:var(--panel-shadow);overflow:auto;scrollbar-width:thin}#app .sidebar .cabin-art,#app .sidebar .territory-heading,#app .sidebar .territory-name{display:none}#app .sidebar .settlement-card{margin-top:0}#app .sidebar-mobile-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:16px}#app .sidebar-mobile-heading>strong{font:700 17px Manrope,sans-serif}#app .sidebar-mobile-heading .button{padding:8px;font-size:11px}#app #sidebar-content{padding:0}.world-chat{position:absolute;right:var(--layout-gap);bottom:calc(var(--canvas-footer) + var(--layout-gap));z-index:6;display:flex;flex-direction:column;width:var(--world-chat-width);max-width:calc(100% - var(--canvas-rail) - var(--layout-gap)*2);max-height:calc(100dvh - var(--scene-top) - var(--scene-bottom));min-height:0;min-width:0;padding:12px;gap:12px;border:1px solid var(--surface-border);border-radius:18px;background:#14271ff5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:var(--panel-shadow)}.world-chat:has([aria-expanded=false]){padding:0;width:44px;height:44px;border:0;border-radius:0;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none}.world-chat:has([aria-expanded=false]) h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.world-chat #world-chat-content{display:flex;flex-direction:column;min-height:0;gap:12px;height:440px;overflow:auto}.world-chat #world-chat-content[hidden]{display:none}.world-chat [data-social-content]{display:flex;flex:1;min-height:0}.world-chat #world-chat-content>a{align-self:flex-end}.world-chat>header{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-shrink:0}.world-chat>header{position:relative}.chat-unread-badge{position:absolute;right:-4px;top:-4px;min-width:20px;height:20px;padding:2px 5px;border:2px solid #14271f;border-radius:12px;background:#e5bb70;color:#1b291f;text-align:center;font-size:11px;font-weight:700;line-height:12px;pointer-events:none}.chat-unread-badge[hidden]{display:none}.chat-user-badge{position:absolute;right:4px;bottom:5px;min-width:18px;padding:1px 3px;border-radius:8px;background:#14271f;color:#c6e8a4;text-align:center;font-size:10px;font-weight:700;line-height:13px;font-variant-numeric:tabular-nums;pointer-events:none}.world-chat h2{display:flex;align-items:center;gap:8px;font-size:13px;margin:0}.world-chat h2 .icon{width:18px;height:18px;flex-shrink:0}.world-chat>header .button{font-size:11px;padding:6px;min-width:44px;min-height:44px;flex-shrink:0}#app .world-chat>header .button{border:0;background:transparent;box-shadow:none}#app .world-chat>header .button:hover{background:#c5e7b416}#app .world-chat .chat-page{border:0;border-radius:0;background:transparent;box-shadow:none;padding:0}.world-chat .chat-page{flex:1}.world-chat [data-communicate]{gap:6px}.world-chat .chat-summary{display:none}.world-chat .chat-status{margin:0;font-size:12px;line-height:1.6}.world-chat .chat-tools{gap:6px}.world-chat .chat-tools .button{font-size:10px;padding:4px 6px}.world-chat .chat-guidelines{margin-left:auto}.world-chat .chat-messages{min-height:40px;background:#0e1d1259;border-color:#c6e8a41c;padding:8px}.world-chat .chat-message{padding:6px 0}.world-chat .chat-message p{font-size:13px;line-height:1.7}.world-chat .chat-empty{font-size:11px;padding:4px 0}.world-chat .chat-composer{grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:start}.world-chat .chat-composer textarea{height:44px;max-height:44px;background:#0e1d1273;font-size:12px;padding:7px}.world-chat .chat-composer>div{flex-direction:column-reverse;gap:2px;font-size:9px}.world-chat .chat-composer .button{min-width:58px;font-size:11px;padding:6px}.world-chat [data-chat-self]{max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.world-chat [data-visitor-status]{font-size:10px;line-height:1.5;margin:0}.dock-channel{display:grid;gap:4px;font-size:10px;flex-shrink:0}.dock-channel select{width:100%;min-width:0;min-height:44px;padding:8px;border:1px solid #c6e8a433;border-radius:8px;color:#e3e7dd;background:#12211999;font:inherit;font-size:11px}.dock-channel option{color:#e3e7dd;background:#17251b}.has-world-chat .map-heading{width:1px;height:1px;overflow:hidden;clip-path:inset(50%);padding:0;margin:0}.has-world-chat .map-coordinate{display:none}#app.has-world-chat .map-environment{position:static;display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;width:100%;margin:0 0 16px;border:1px solid var(--surface-border);border-radius:10px;background:#ffffff04;padding:10px;font-size:11px}.weather-overlay{position:absolute;right:var(--layout-gap);top:var(--scene-top);z-index:4;width:300px;max-width:calc(100% - var(--canvas-rail) - var(--layout-gap)*2);max-height:calc(100dvh - var(--scene-top) - var(--scene-bottom) - 12px);overflow:auto;padding:12px 56px 12px 12px;border:1px solid var(--surface-border);border-radius:16px;background:#14271ff0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:var(--panel-shadow);font-size:12px}.weather-overlay [data-map-environment]{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px}.weather-overlay{min-height:56px}.weather-effects{width:100%}.weather-effects:not([open])>:not(summary){display:none}.weather-effects[open]{border-top:1px solid var(--surface-border);padding-top:8px}.weather-effects summary{position:absolute;top:6px;right:6px;cursor:pointer;width:44px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:8px}.weather-effects summary::-webkit-details-marker{display:none}.weather-effects summary:hover{background:#ffffff0a}.weather-effects summary .icon{width:22px;height:22px}.weather-impact-best{color:#b8eb8a}.weather-impact-good{color:#8fcfa9}.weather-impact-bad{color:#efbe72}.weather-impact-worst{color:#f08d85}.weather-effects p{font-size:11px;line-height:1.6;color:var(--muted);margin:8px 0}.weather-effects dl{margin:12px 0;display:grid;gap:8px}.weather-effects dl>div{display:flex;justify-content:space-between;gap:12px}.weather-effects dd{margin:0;font-variant-numeric:tabular-nums}.climate-benefit{color:#c5e7b4}.climate-penalty{color:#f0a18a}.climate-neutral{color:#b2c4b9}#app.has-world-chat.chat-expanded .weather-overlay,#app.has-world-chat:has(.settlement-task-panel:not([hidden])) .weather-overlay{display:none}.has-world-chat .map-toolbar{left:var(--scene-left);right:auto;top:auto;bottom:calc(var(--canvas-footer) + var(--layout-gap));flex-direction:row;background:#14271ff0;border-color:var(--surface-border);border-radius:14px}.has-world-chat .compass-rose{display:none}.has-world-chat .minimap{left:var(--scene-left);right:auto;bottom:calc(var(--canvas-footer) + 84px);width:160px}.has-world-chat .location-card{position:static;display:grid;grid-template-columns:minmax(0,1fr);justify-content:stretch;width:100%;min-width:0;max-width:100%;gap:12px;padding:16px 0;margin:16px 0;border:0;border-top:1px solid var(--surface-border);border-bottom:1px solid var(--surface-border);border-radius:0;background:none;box-shadow:none;pointer-events:auto}.has-world-chat .tile-heading{display:flex;align-items:center;gap:10px;min-width:0}.has-world-chat .location-icon{display:grid;width:34px;height:34px;flex-shrink:0}.has-world-chat .location-icon .icon{width:22px;height:22px}.has-world-chat .location-description{min-width:0;flex:1}.has-world-chat .location-description .eyebrow{display:block;font-size:9px;line-height:1.2;letter-spacing:.5px}.has-world-chat .location-description h3{margin:3px 0 0;font-size:14px;line-height:1.4;word-break:keep-all;overflow-wrap:anywhere}.tile-coordinates{flex-shrink:0;padding:4px 6px;border:1px solid #c6e8a422;border-radius:6px;color:#a9bd99;font-size:10px;font-variant-numeric:tabular-nums}.tile-resource{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #c6e8a41c;padding-top:8px}.tile-resource>div{display:grid;gap:3px;min-width:0}.tile-resource-name{font-size:12px;color:#d5e4c8}.tile-pending{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;font-size:10px;color:#a9bd99}.tile-pending strong{color:#d5e4c8;font-size:12px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.has-world-chat .location-card .gather-button{min-width:44px;min-height:44px;margin:0;padding:8px 10px;font-size:11px;flex-shrink:0}.has-world-chat .map-bottom{display:none}.has-world-chat .settlement-view{background:#17291d}#app.has-world-chat .settlement-view .settlement-panorama{inset:0;visibility:visible}.has-world-chat .settlement-task-panel,.has-world-chat .settlement-task-panel:has(.inventory-panel){position:absolute;top:var(--scene-top);right:var(--layout-gap);bottom:var(--scene-bottom);left:auto;width:min(440px,calc(100% - var(--canvas-rail) - var(--layout-gap)*2));height:auto;max-width:none;border:1px solid var(--surface-border);border-radius:18px;background:var(--surface);box-shadow:var(--panel-shadow)}.has-world-chat .settlement-task-heading{padding:12px 16px;border-color:var(--surface-border);background:var(--surface-raised)}.has-world-chat .settlement-task-body{padding:20px;scrollbar-color:#607d69 transparent}#app.has-world-chat .settlement-view{z-index:0}.has-world-chat .settlement-dock{left:var(--scene-left);bottom:calc(var(--canvas-footer) + var(--layout-gap));transform:none;max-width:calc(100% - var(--canvas-rail) - 100px);border-color:var(--surface-border);background:#14271ff0;box-shadow:var(--panel-shadow)}.has-world-chat .district-heading{top:calc(var(--canvas-header) + 14px);left:calc(var(--canvas-rail) + 16px)}.has-world-chat .district-stats{top:calc(var(--canvas-header) + 72px);left:calc(var(--canvas-rail) + 16px)}.has-world-chat .settlement-goal,.has-world-chat .settlement-command-card{top:var(--scene-top);left:var(--scene-left);right:auto;width:292px;max-height:calc(100dvh - var(--scene-top) - var(--scene-bottom) - 64px);overflow:auto;border-color:var(--surface-border);border-radius:18px;background:#14271ff0;box-shadow:var(--panel-shadow)}.has-world-chat .settlement-camera-controls,.has-world-chat .settlement-view:has(.settlement-task-panel:not([hidden])) .settlement-camera-controls{left:var(--scene-left);right:auto;bottom:var(--scene-bottom)}.has-world-chat .panorama-hint{display:none}.has-world-chat .placement-prompt{top:var(--scene-top);left:var(--scene-left);right:var(--layout-gap);transform:none;max-width:560px}.has-world-chat .settlement-saving{bottom:var(--scene-bottom)}.has-world-chat .settlement-view:has(.placement-prompt) .settlement-command-card{display:none}@media(max-width:1199px){.has-world-chat .minimap{display:none}.world-chat:has([aria-expanded=false]) h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.has-world-chat .sidebar{max-height:calc(100dvh - var(--scene-top) - var(--scene-bottom) - 24px)}.has-world-chat .settlement-task-panel,.has-world-chat .settlement-task-panel:has(.inventory-panel){left:var(--scene-left);right:var(--layout-gap);width:auto}.world-chat:has([aria-expanded=true]){left:var(--scene-left);right:var(--layout-gap);width:auto}.has-world-chat.chat-expanded .sidebar,.has-world-chat.chat-expanded .settlement-command-card,.has-world-chat .settlement-view:has(.settlement-task-panel:not([hidden])) .settlement-command-card{display:none}.has-world-chat.chat-expanded .map-toolbar,.has-world-chat.chat-expanded .settlement-camera-controls,.has-world-chat.chat-expanded .settlement-dock,.has-world-chat .settlement-view:has(.settlement-task-panel:not([hidden])) .settlement-camera-controls{display:none}}@media(max-width:650px),(min-width:651px)and (max-width:1199px)and (max-height:500px){.has-world-chat .minimap{display:none}.has-world-chat .sidebar,.has-world-chat .settlement-command-card{width:calc(100% - var(--canvas-rail) - var(--layout-gap)*2);max-height:min(210px,calc(100dvh - var(--scene-top) - var(--scene-bottom) - 64px));padding:12px}#app .sidebar-mobile-heading{margin-bottom:8px}.has-world-chat .location-card{padding:8px 0;margin:8px 0}.has-world-chat .tile-resource>div{display:none}.has-world-chat .sidebar-primary-actions{margin:0}.has-world-chat .sidebar-action-row>.button{min-height:60px}.has-world-chat .settlement-command-stats,.has-world-chat .settlement-tier-progress{display:none}.has-world-chat .settlement-command-heading{margin-bottom:8px}.has-world-chat .settlement-command-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.has-world-chat .settlement-command-actions>.button{flex-direction:column;padding:6px;font-size:11px;min-height:56px}#app.has-world-chat .map-environment{font-size:11px;padding:6px 8px;margin-bottom:8px}.has-world-chat .settlement-dock{width:calc(100% - var(--canvas-rail) - var(--layout-gap)*2 - 72px);display:flex;gap:4px;padding:6px}.has-world-chat .settlement-dock>button{min-width:0;flex:1;min-height:44px;height:44px;flex-direction:row;font-size:11px}.has-world-chat .map-toolbar>span{display:none}.has-world-chat .map-toolbar{display:flex;gap:4px;padding:6px}.has-world-chat .map-toolbar button{width:44px;height:44px;min-width:44px}.has-world-chat .settlement-camera-controls{gap:4px}.has-world-chat .settlement-camera-controls [data-settlement-panel]{font-size:11px;padding:8px}}@media(max-width:650px){.weather-overlay{width:calc(100% - var(--layout-gap)*2);padding:8px 54px 8px 8px}.weather-overlay [data-map-environment]{gap:4px}.has-world-chat .sidebar,.has-world-chat .settlement-command-card{top:calc(var(--scene-top) + 72px);max-height:min(210px,calc(100dvh - var(--scene-top) - var(--scene-bottom) - 84px))}#app.has-world-chat:has(.weather-effects[open]) .sidebar,#app.has-world-chat:has(.weather-effects[open]) .settlement-command-card{display:none}}@media(min-width:651px)and (max-width:1199px)and (max-height:500px){.has-world-chat .sidebar,.has-world-chat .settlement-command-card{width:292px}}@media(min-width:1200px)and (max-height:500px){.has-world-chat .minimap{display:none}.has-world-chat .sidebar{max-height:calc(100dvh - var(--scene-top) - var(--scene-bottom) - var(--layout-gap))}}#app.explore-page .sidebar{display:flex;flex-direction:column;gap:12px;width:320px;max-height:none;height:auto;bottom:auto;overflow:visible;padding:16px}#app.explore-page #sidebar-content{display:grid;gap:12px;overflow:visible;min-height:0}#app.explore-page .sidebar-mobile-heading{margin:0;flex-shrink:0}#app.explore-page #sidebar-content>.explore-summary{display:block}#app.explore-page .explore-summary .settlement-card{margin:0;border:0;background:none}#app.explore-page .settlement-card-body{padding:0}#app.explore-page .sidebar-stats{margin:8px 0}#app.explore-page .next-stage{margin:8px 0;font-size:11px}#app.explore-page .explore-upkeep:empty{display:none}#app.explore-page .explore-upkeep .water-upkeep{margin:0}#app.explore-page .water-upkeep-row{display:grid;grid-template-columns:auto minmax(0,1fr) 44px 44px;align-items:center;gap:4px;min-height:44px;padding:0 4px;border-radius:8px;background:#ffffff05}#app.explore-page .water-upkeep-use{display:flex;align-items:center;gap:4px;color:#a8d9ec;font-size:11px;white-space:nowrap}#app.explore-page .water-upkeep-use>.icon{width:16px;height:16px}#app.explore-page .water-upkeep-use small{font-size:9px;color:#9dad91;font-weight:400}#app.explore-page .water-upkeep-row .completion-meter{position:relative;margin:0;gap:2px}#app.explore-page .water-upkeep-row .completion-caption{justify-content:flex-end;line-height:1.2}#app.explore-page .water-upkeep-row [data-completion-percent]{display:none}#app.explore-page .water-upkeep-row progress{height:4px;opacity:0}#app.explore-page .water-upkeep-row .completion-meter:before,#app.explore-page .water-upkeep-row .completion-meter:after{content:"";position:absolute;bottom:0;left:0;height:4px;border-radius:4px;pointer-events:none}#app.explore-page .water-upkeep-row .completion-meter:before{width:100%;background:#a8d9ec18}#app.explore-page .water-upkeep-row .completion-meter:after{width:var(--completion-progress,0%);background:#a8d9ec;transition:width 1s linear}#app.explore-page .water-upkeep-row .completion-meter.awaiting-confirmation:after{background:#d7bc7c}#app.explore-page .water-upkeep-row>a{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;color:#a8d9ec;border-radius:6px}#app.explore-page .water-upkeep-row>a:hover{background:#ffffff0b}#app.explore-page .water-upkeep-row>a:focus-visible{outline:2px solid #a8d9ec;outline-offset:-2px}#app.explore-page .water-upkeep-row .water-shortage-text{grid-column:1/-1;margin:0;padding:0 4px 6px;color:#ffaaa3;font-size:10px}#app.explore-page .water-upkeep-row.water-shortage{background:#ffaaa30b}@media(prefers-reduced-motion:reduce){#app.explore-page .water-upkeep-row .completion-meter:after{transition:none}}#app.explore-page #sidebar-content>.sidebar-primary-actions{display:grid;gap:8px;margin:0}#app.explore-page .sidebar-action-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#app.explore-page .sidebar-action-row>.button{min-height:76px;padding:8px;gap:4px;font-size:12px}#app.explore-page .quick-action-heading{font-size:13px}.quick-action-compact-label{display:none}#app.explore-page .quick-action-cost,#app.explore-page [data-invite-cost]{padding:0;gap:4px}#app.explore-page .quick-action-cost>small,#app.explore-page [data-invite-cost]>small{display:none}#app.explore-page #sidebar-content>.sidebar-secondary-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0}#app.explore-page .sidebar-secondary-actions>.button{min-width:0;padding:8px 4px;gap:4px;font-size:11px}#app.explore-page .sidebar-upgrade{grid-column:1/-1}#app.explore-page #sidebar-content>.sidebar-status{display:flex;flex-wrap:wrap;gap:4px 8px;margin:0;font-size:11px}#app.explore-page #sidebar-content>.sidebar-expeditions{display:block;margin:0}#app.explore-page #sidebar-content>.sidebar-gear{display:flex;margin:0;padding:8px;border-radius:10px;font-size:12px}#app.explore-page .location-card{margin:0;padding:10px 0 0;border-bottom:0;gap:8px;flex-shrink:0}#app.explore-page .location-description h3{font-size:13px}#app.explore-page .tile-resource{display:none}#app.explore-page .minimap{display:block;left:auto;right:var(--layout-gap);bottom:calc(var(--canvas-footer) + 84px);width:180px;z-index:3;border-color:var(--surface-border);border-radius:12px;background:#14271ff0;box-shadow:var(--panel-shadow)}#app.explore-page .minimap-title{padding:8px;font-size:11px}#app.explore-page .minimap-title>span:last-child{display:inline;font-size:10px}#app.explore-page .minimap canvas{height:auto;aspect-ratio:30/19}#app.explore-page .minimap-bottom{display:none}@media(max-width:650px),(max-height:500px){#app.explore-page .minimap{width:120px}#app.explore-page .minimap-title{font-size:9px;gap:4px;padding:5px}#app.explore-page .minimap-title>.icon{display:none}#app.explore-page .minimap-title>span:last-child{font-size:9px}}#app.explore-page.chat-expanded .minimap{display:none}@media(max-width:1199px){#app.explore-page .sidebar{width:300px}}@media(max-height:800px){#app.explore-page .sidebar{gap:8px;padding:12px}#app.explore-page #sidebar-content{gap:8px}#app.explore-page .explore-upkeep,#app.explore-page .sidebar-gear small{display:none}#app.explore-page .sidebar-action-row>.button{min-height:64px}#app.explore-page .sidebar-status small{display:none}}@media(max-width:650px){#app.explore-page .sidebar{top:calc(var(--scene-top) + 72px);width:calc(100% - var(--layout-gap)*2);gap:8px;padding:12px}#app.explore-page #sidebar-content{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#app.explore-page .sidebar-primary-actions,#app.explore-page .sidebar-secondary-actions{grid-column:1/-1}#app.explore-page .explore-upkeep,#app.explore-page #sidebar-content>.sidebar-status,#app.explore-page #sidebar-content>.sidebar-expeditions{display:none}#app.explore-page .sidebar-gear{padding:0;align-self:center}#app.explore-page #sidebar-content>.explore-summary{grid-row:1;grid-column:1}#app.explore-page #sidebar-content>.sidebar-gear{grid-row:1;grid-column:2}#app.explore-page .next-stage,#app.explore-page .explore-summary progress{display:none}#app.explore-page .sidebar-stats{margin:4px 0}#app.explore-page .location-card{padding-top:8px}}@media(max-width:650px)and (max-height:740px){#app.explore-page #sidebar-content>.explore-summary,#app.explore-page #sidebar-content>.sidebar-gear,#app.explore-page .location-card{display:none}#app.explore-page .sidebar{bottom:auto;padding:8px}#app.explore-page .sidebar-mobile-heading{display:none}#app.explore-page .weather-overlay{padding:6px 54px 6px 6px}#app.explore-page .sidebar{top:calc(var(--scene-top) + 72px)}}@media(max-width:650px)and (max-height:900px){#app.explore-page .location-card{display:none}}@media(min-width:651px)and (max-height:740px){#app.explore-page .sidebar{width:min(440px,calc(100% - var(--canvas-rail) - 340px));bottom:auto}#app.explore-page #sidebar-content{grid-template-columns:repeat(2,minmax(0,1fr))}#app.explore-page .sidebar-primary-actions,#app.explore-page .sidebar-secondary-actions{grid-column:1/-1}#app.explore-page .explore-upkeep,#app.explore-page #sidebar-content>.explore-summary,#app.explore-page #sidebar-content>.sidebar-status,#app.explore-page #sidebar-content>.sidebar-expeditions,#app.explore-page #sidebar-content>.sidebar-gear,#app.explore-page .location-card{display:none}}@media(max-width:650px)and (max-height:740px),(min-width:651px)and (max-height:740px){#app.explore-page #sidebar-content>.sidebar-primary-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}#app.explore-page .sidebar-action-row{display:contents}#app.explore-page .sidebar-primary-actions>.button,#app.explore-page .sidebar-action-row>.button{min-height:44px;padding:6px;font-size:11px}#app.explore-page .sidebar-primary-actions>.button:only-child{grid-column:1/-1}#app.explore-page .quick-action-heading{font-size:11px;gap:4px;line-height:1.2}#app.explore-page .quick-action-heading>.icon{width:16px;height:16px}#app.explore-page [data-invite-label]{display:none}#app.explore-page .quick-action-compact-label{display:inline}#app.explore-page .quick-action-cost,#app.explore-page [data-invite-cost],#app.explore-page [data-invite-duration],#app.explore-page .quick-action-duration,#app.explore-page .quick-action-batch,#app.explore-page .sidebar-primary-actions progress,#app.explore-page .sidebar-primary-actions .fineprint{display:none}#app.explore-page #sidebar-content>.sidebar-secondary-actions{grid-template-columns:repeat(4,minmax(0,1fr))}#app.explore-page .sidebar-upgrade{grid-column:auto}#app.explore-page .sidebar-upgrade .cost{display:none}#app.explore-page .sidebar-secondary-actions>.button:has(.icon){flex-direction:column;font-size:10px}#app.explore-page .sidebar-secondary-actions>.button{padding:4px;min-height:44px}#app.explore-page .sidebar-secondary-actions{min-height:44px}}@media(max-width:650px)and (max-height:740px){#app.explore-page #sidebar-content{gap:4px}}@media(max-width:650px)and (max-height:740px)and (orientation:portrait){#app.explore-page .sidebar{width:calc(100% - 72px - var(--layout-gap)*3)}#app.explore-page .minimap{width:72px}#app.explore-page .minimap-title>span:not(:last-child){display:none}#app.explore-page .minimap-title>span:last-child{margin:auto}}@media(max-height:450px)and (orientation:landscape){#app.explore-page .minimap{left:calc(var(--scene-left) + 214px);right:auto;bottom:calc(var(--canvas-footer) + var(--layout-gap));width:90px}#app.explore-page .minimap-title{display:none}}@media(max-width:650px)and (max-height:450px)and (orientation:landscape){#app.explore-page{--game-header-height:64px}#app.explore-page .topbar{grid-template-columns:minmax(0,1fr) 44px auto;grid-template-rows:44px}#app.explore-page .topbar .server-clock,#app.explore-page .topbar .population-health{display:none}#app.explore-page .topbar #resource-bar{grid-column:1;grid-row:1;height:44px}#app.explore-page .resource-manager-button{grid-column:2;grid-row:1}#app.explore-page .topbar-account{grid-column:3;grid-row:1}#app.explore-page .sidebar{top:var(--scene-top);padding:4px;width:calc(100% - var(--canvas-rail) - 220px - var(--layout-gap)*3)}#app.explore-page .weather-overlay{left:auto;right:var(--layout-gap);width:220px;font-size:11px}#app.explore-page .weather-overlay:not(:has(.weather-effects[open])){max-height:none}#app.explore-page .weather-overlay [data-map-environment]{gap:2px;line-height:1.1}#app.explore-page .weather-overlay .map-environment-calendar{min-height:20px;width:100%}#app.explore-page .weather-overlay .map-environment-weather{min-height:20px}}#app.explore-page.chat-expanded .sidebar{display:none}#app.explore-page:has(.weather-effects[open]) .sidebar{visibility:visible}@media(max-width:650px){#app.explore-page:has(.weather-effects[open]) .sidebar{display:none}#app.explore-page:has(.weather-effects[open]) .minimap{display:none}}@media(min-width:901px)and (min-height:501px){#app.explore-page{--desktop-minimap-height:146px}#app.explore-page .minimap{display:block;bottom:calc(var(--canvas-footer) + var(--layout-gap));height:var(--desktop-minimap-height)}#app.explore-page.chat-expanded .minimap{display:block}#app.explore-page .world-chat{left:auto;bottom:calc(var(--canvas-footer) + var(--layout-gap)*2 + var(--desktop-minimap-height));max-height:calc(100dvh - var(--scene-top) - var(--canvas-footer) - var(--layout-gap)*2 - var(--desktop-minimap-height))}#app.explore-page .world-chat:has([aria-expanded=true]){width:var(--world-chat-width)}#app.explore-page .world-chat:has([aria-expanded=false]){right:calc(var(--layout-gap) + 4px);bottom:calc(var(--canvas-footer) + var(--layout-gap) + var(--desktop-minimap-height) - 48px)}#app.explore-page .minimap-title{padding-right:48px;min-height:48px}#app.explore-page .minimap-title>span:last-child{display:none}#app.explore-page .minimap canvas{height:calc(var(--desktop-minimap-height) - 50px)}}
