:root{color:#ece8d9;font-synthesis:none;text-rendering:optimizelegibility;--gold:#d8b66f;background:#10221f;font-family:Golos Text,system-ui,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(at 50% 0,#2b4437 0%,#172c27 45%,#10221f 85%);min-width:320px;margin:0}button{font:inherit}.shell{max-width:860px;padding:calc(32px + max(env(safe-area-inset-top), var(--tg-viewport-safe-area-inset-top,0px)) + var(--tg-viewport-content-safe-area-inset-top,0px)) max(24px, env(safe-area-inset-right), var(--tg-viewport-safe-area-inset-right,0px)) calc(24px + max(env(safe-area-inset-bottom), var(--tg-viewport-safe-area-inset-bottom,0px)) + var(--tg-viewport-content-safe-area-inset-bottom,0px)) max(24px, env(safe-area-inset-left), var(--tg-viewport-safe-area-inset-left,0px));min-height:100dvh;margin:0 auto}.brand-row{align-items:center;gap:14px;margin-bottom:32px;display:flex}.brand-mark{color:var(--gold);border:1px solid #d8b66f70;border-radius:16px 16px 4px 4px;place-items:center;width:48px;height:54px;font-size:2.1rem;display:grid}.eyebrow{text-transform:uppercase;letter-spacing:.2em;color:var(--gold);margin:0 0 8px;font-size:.75rem;line-height:1.5}h1{letter-spacing:.03em;margin:0;font-family:Prata,Georgia,serif;font-size:1.75rem;font-weight:400}.brand-row .eyebrow{margin-bottom:2px;font-size:.65rem}.edition{color:#c9d0bf;border:1px solid #8c9a8545;border-radius:4px;margin-left:auto;padding:7px 10px;font-size:.75rem}.welcome{background:#21372e;border:1px solid #aab89929;border-radius:10px;overflow:hidden;box-shadow:0 24px 80px #07171360}.artwork{background:#273c30;position:relative}.artwork:after{content:"";background:linear-gradient(#0000,#21372e);position:absolute;inset:60% 0 0}.artwork img{object-fit:cover;width:100%;height:auto;max-height:380px;display:block}.welcome-copy{text-align:center;margin-top:-8px;padding:0 48px 38px;position:relative}h2{max-width:560px;margin:10px auto 18px;font-family:Prata,Georgia,serif;font-size:clamp(1.8rem,5vw,2.6rem);font-weight:400;line-height:1.3}.lead{color:#c4cdbd;max-width:480px;margin:auto;font-size:1rem;line-height:1.8}.divider{color:var(--gold);justify-content:center;align-items:center;gap:16px;margin:26px 0 18px;display:flex}.divider span{background:#b6b0933a;width:60px;height:1px}.notice{color:#aebbab;max-width:420px;margin:0 auto;font-size:.875rem;line-height:1.6}.connection{background:#192f27;border:1px solid #aab89929;border-radius:8px;justify-content:space-between;align-items:center;gap:20px;margin-top:18px;padding:20px;display:flex}.connection-copy{align-items:center;gap:14px;display:flex}.connection-symbol{color:var(--gold);font-size:1.4rem}.connection-symbol.ready{color:#a8c29a}h3{margin:0 0 5px;font-size:.875rem;font-weight:500}.connection p{color:#afbcad;margin:0;font-size:.875rem;line-height:1.5}button{color:#e1c58b;cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #d8b66f66;border-radius:4px;min-height:44px;padding:11px 16px;font-size:.875rem}button:hover{background:#d8b66f14}button:disabled{opacity:.5;cursor:wait}button:focus-visible{outline:2px solid var(--gold);outline-offset:4px}footer{color:#8f9d8f;justify-content:space-between;gap:16px;margin:26px 0 0;font-size:.75rem;display:flex}@media (max-width:520px){.shell{padding-left:calc(max(16px, env(safe-area-inset-left), var(--tg-viewport-safe-area-inset-left,0px)) + var(--tg-viewport-content-safe-area-inset-left,0px));padding-right:calc(max(16px, env(safe-area-inset-right), var(--tg-viewport-safe-area-inset-right,0px)) + var(--tg-viewport-content-safe-area-inset-right,0px))}.brand-row{gap:10px;margin-bottom:24px}.brand-mark{width:40px;height:46px}h1{font-size:1.45rem}.edition{padding:6px 7px;font-size:.65rem}.welcome-copy{padding:0 22px 28px}.connection{flex-direction:column;align-items:stretch;gap:16px;padding:18px}.connection button{width:100%}.artwork img{object-fit:cover;min-height:220px}}.account-landscape{border:1px solid #aab89929;border-bottom:0;border-radius:10px 10px 0 0;height:160px;position:relative;overflow:hidden}.account-landscape img{object-fit:cover;object-position:center 44%;width:100%;height:100%}.account-landscape:after{content:"";background:linear-gradient(#0000 20%,#21372ef0);position:absolute;inset:0}.account-landscape span{color:#d0d6c8;z-index:1;letter-spacing:.06em;font-size:.8rem;position:absolute;bottom:20px;left:34px}.account-panel{background:#21372e;border:1px solid #aab89929;border-top:0;border-radius:0 0 10px 10px;padding:30px 34px}.account-panel h2{max-width:none;margin:0 0 12px;font-size:clamp(1.6rem,5vw,2.15rem)}.muted{color:#afbcad;margin:0 0 30px;line-height:1.6}.form-fields,.choice-field{border:0;min-width:0;margin:0;padding:0}.form-fields{flex-direction:column;gap:24px;display:flex}.text-field{flex-direction:column;gap:9px;font-size:.9rem;display:flex}.text-field input{color:#f2e9d6;width:100%;font:inherit;background:#152c24;border:1px solid #91a68e55;border-radius:5px;min-height:48px;padding:14px;font-size:1rem}input::placeholder{color:#829580}input:focus-visible{outline:2px solid var(--gold);outline-offset:2px}input[aria-invalid=true]{border-color:#e6a38e}.text-field small,.choice-hint{color:#a7b5a2;font-size:.75rem;line-height:1.6}.choice-field legend{margin-bottom:12px;padding:0;font-size:.9rem}.choice-hint{margin:-4px 0 14px}.gender-options,.faith-options{grid-template-columns:1fr 1fr;gap:12px;display:grid}.choice{cursor:pointer;background:#1a3027;border:1px solid #91a68e44;border-radius:6px;transition:border-color .15s,background .15s}.choice.selected{background:#d8b66f0a;border-color:#d8b66f}.choice input{accent-color:#d8b66f;flex:none;width:18px;height:18px;margin:0}.gender-choice{align-items:center;gap:12px;padding:14px;display:flex}.faith-choice{padding:17px 14px}.choice-heading{align-items:center;gap:10px;display:flex}.choice-heading strong{font-size:.9rem;font-weight:500}.faith-symbol{color:var(--gold);margin-left:auto;font-size:1.5rem}.faith-effects{gap:10px;margin:16px 0 0;padding:0;list-style:none;display:grid}.faith-effects li{color:#b9c4b3;justify-content:space-between;align-items:baseline;gap:10px;font-size:.75rem;line-height:1.5;display:flex}.faith-effects strong{white-space:nowrap;font-weight:500}.positive{color:#bbd5a8}.negative{color:#dfaf95}.field-error:empty{display:none}.field-error{color:#efb69e;font-size:.75rem;line-height:1.5}.form-error{color:#efbda7;background:#ad68591a;border:1px solid #d6978155;border-radius:5px;margin:0;padding:14px;font-size:.85rem;line-height:1.6}.primary-button{color:#20352b;letter-spacing:.02em;background:#d8b66f;width:100%;min-height:52px;font-weight:600}.primary-button:hover{background:#e3c586}.primary-button span{float:right}.form-note{color:#a5b39e;text-align:center;margin:-12px 0 0;font-size:.75rem;line-height:1.6}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.profile{text-align:center;padding-top:16px}.profile-seal{color:#d8b66f;margin-bottom:18px;font-size:3rem}.principality-name{color:#d8b66f;overflow-wrap:anywhere;margin:8px 0 30px;font-size:1.2rem}.profile-facts{background:#91a68e30;border:1px solid #91a68e30;border-radius:6px;grid-template-columns:1fr 1fr;gap:1px;display:grid;overflow:hidden}.profile-facts div{background:#1c3229;padding:20px 10px}.profile-facts dt{color:#9fae99;margin-bottom:7px;font-size:.75rem}.profile-facts dd{color:#e9e1cb;overflow-wrap:anywhere;margin:0}.profile-notice{color:#aebaab;margin:26px 0 0;font-size:.85rem;line-height:1.8}.profile h2{overflow-wrap:anywhere}@media (max-width:520px){.account-panel{padding:24px 20px}.account-landscape{height:120px}.account-landscape span{font-size:.7rem;bottom:14px;left:20px}.faith-options{grid-template-columns:1fr}.faith-effects{margin-top:12px}.form-fields{gap:22px}}.world-shell{max-width:1280px;padding-top:max(18px, var(--tg-viewport-content-safe-area-inset-top,0px));--gold:#e5c58b}.world-screen .map-frame{background:#84916a;border-color:#d8bf8159;border-radius:14px;box-shadow:0 18px 55px #07180e65,inset 0 0 0 1px #f9e5b21a}.world-screen .map-frame:after{content:"";pointer-events:none;border-radius:inherit;position:absolute;inset:0;box-shadow:inset 0 0 55px #182a2924}.world-screen .map-caption{background:linear-gradient(#0000,#18352cba);padding-top:35px;font-size:.8rem}.world-screen .tile-panel{background:linear-gradient(145deg,#254234,#192f28);border-color:#c5bd8b30;border-radius:12px;box-shadow:0 12px 35px #07180e30}.world-screen .city-summary{background:#1833299c;border-radius:10px}.world-screen .shield-symbol{background:url(/assets/world-atlas-painted.png) 0 33.333%/400% 400%;flex-shrink:0;width:54px;height:54px;font-size:0}.world-screen .map-actions button{background:#254235;border-color:#d3bb803d;border-radius:7px}.world-screen .zoom-controls{background:#132e25;border:1px solid #d3bb803d;border-radius:8px;padding:3px}.world-screen .zoom-controls button{background:0 0;border:none}.world-screen .map-compass{opacity:.85;top:16px;right:18px}.world-screen .tile-description{font-size:1rem}.world-screen .tile-zone,.world-screen .city-status{font-size:.9375rem}@media (max-width:520px){.world-shell .brand-row{margin-bottom:12px}.world-screen .world-heading{gap:12px;margin-bottom:12px}.world-screen .world-heading h2{font-size:1.6rem}.world-screen .world-subtitle{margin-top:4px;font-size:.8rem}.world-screen .city-summary{gap:10px;padding:7px 10px}.world-screen .city-summary .shield-symbol{width:42px;height:42px;font-size:0;display:block}.world-screen .map-host{height:60dvh;min-height:390px}}.world-shell .brand-row{margin-bottom:22px}.world-shell .brand-row .eyebrow{display:none}.world-heading{justify-content:space-between;align-items:center;gap:24px;margin-bottom:22px;display:flex}.world-heading h2{margin:0;font-size:2rem}.world-heading .eyebrow{margin-bottom:5px}.world-subtitle{color:#a8b5a2;margin:8px 0 0;font-size:.875rem}.city-summary{border:1px solid #d8b66f40;border-radius:7px;align-items:center;gap:12px;padding:13px 17px;display:flex}.city-summary strong{color:#e5d8b3;font-size:.95rem;font-weight:500;display:block}.city-summary span:not(.shield-symbol){color:#b4c0aa;margin-top:5px;font-size:.8rem;display:block}.shield-symbol{color:var(--gold);font-size:2rem}.world-toolbar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px;display:flex}.map-actions,.zoom-controls{align-items:center;gap:8px;display:flex}.map-actions button{font-size:.875rem}.zoom-controls button{padding:5px 13px;font-size:1.3rem}.zoom-controls span{color:#a7b79f;text-align:center;width:44px;font-size:.8rem}.world-grid{grid-template-columns:minmax(0,1fr) 280px;align-items:start;gap:18px;display:grid}.world-map-column{min-width:0}.map-frame{background:#152e25;border:1px solid #b4ad7860;border-radius:8px;position:relative;overflow:hidden}.map-host{touch-action:none;width:100%;max-width:960px;height:min(62dvh,640px);min-height:380px;margin:auto}.map-host canvas{touch-action:none;outline-offset:-4px;width:100%;height:100%;display:block}.map-compass{text-align:center;color:#f4e3b4;text-shadow:0 1px 4px #000;pointer-events:none;font:.75rem Georgia,serif;position:absolute;top:12px;right:14px}.map-compass span{font-size:2rem;display:block}.map-caption{color:#e1e3c8;text-align:center;pointer-events:none;background:linear-gradient(#0000,#122b22e0);padding:25px 12px 10px;font-size:.75rem;position:absolute;bottom:0;left:0;right:0}.map-fetching{color:#e0d8b8;background:#152e25e8;border-radius:4px;padding:8px 12px;font-size:.75rem;position:absolute;top:12px;left:12px}.map-surface{position:relative}.map-render-error{text-align:center;background:#183428;flex-direction:column;justify-content:center;align-items:center;padding:24px;line-height:1.7;display:flex;position:absolute;inset:0}.coordinate-form{align-items:center;gap:10px;margin-top:12px;display:flex}.coordinate-form>span{color:#a6b59d;margin-right:auto;font-size:.875rem}.coordinate-form label{color:#b7c3ab;align-items:center;gap:5px;font-size:.8rem;display:flex}.coordinate-form input{color:#ece4cf;background:#162f24;border:1px solid #8a9c7d66;border-radius:4px;width:62px;min-height:44px;padding:8px;font-size:1rem}.coordinate-form button{padding:8px 12px;font-size:.875rem}.map-legend{color:#adbba4;margin-top:18px;font-size:.875rem;line-height:1.6}.map-legend summary,.world-profile summary{cursor:pointer;color:#d4bd83;min-height:44px;padding:10px 0}.map-legend div{flex-wrap:wrap;gap:14px;padding-top:8px;display:flex}.map-legend span{align-items:center;gap:7px;display:flex}.map-legend i{border-radius:3px;width:14px;height:14px;display:inline-block}.terrain-p{background:#648356}.terrain-f{background:#315b3c}.terrain-h{background:#8b8660}.terrain-s{background:#405f50}.terrain-w{background:#345e6e}.terrain-d{background:#73846c}.terrain-b{background:#8c805d}.tile-panel{background:#1d352b;border:1px solid #aab89929;border-radius:8px;padding:23px 20px}.tile-panel h3{overflow-wrap:anywhere;margin:6px 0 8px;font:1.4rem/1.4 Georgia,serif}.tile-zone{color:#d1ba80;margin:0;font-size:.875rem}.tile-description{color:#bac6b3;margin:20px 0;font-size:.875rem;line-height:1.75}.tile-meta{color:#becba7;font-size:.875rem}.city-status{margin:20px 0;font-size:.875rem}.city-status div{border-bottom:1px solid #93a17e20;padding:12px 0}.city-status dt{color:#a3b198;margin-bottom:6px}.city-status dd{color:#e3d9b9;margin:0;line-height:1.5}.relocation-controls{flex-direction:column;gap:10px;margin-top:20px;display:flex}.relocation-controls p{color:#e2d8b8;font-size:.875rem;line-height:1.7}.relocation-controls small{color:#a9b79c;font-size:.75rem;line-height:1.6}.relocation-controls button{white-space:normal}.world-profile{border-top:1px solid #aab89929;margin-top:22px;padding-top:5px;font-size:.875rem}.world-profile .account-panel{background:0 0;border:0;padding:16px 0}.world-profile h2{font-size:1.3rem}.world-profile .profile-facts{grid-template-columns:1fr}.world-profile .profile-notice{display:none}.map-error{color:#edbca3;border-top:1px solid #c98b7050;margin-top:20px;font-size:.875rem;line-height:1.7}.map-loading{text-align:center;color:#bac6b3;padding:60px 20px}@media (max-width:850px){.world-grid{grid-template-columns:1fr}.tile-panel{padding:22px}.world-heading{align-items:flex-start}.city-summary{padding:9px 12px}.city-summary .shield-symbol{display:none}.world-profile .profile-facts{grid-template-columns:1fr 1fr}}@media (max-width:520px){.world-shell .brand-row{margin-bottom:20px}.world-heading{flex-direction:column;gap:16px;margin-bottom:16px}.world-heading h2{font-size:1.8rem}.city-summary{width:100%}.city-summary strong{font-size:.95rem}.city-summary .shield-symbol{font-size:1.6rem;display:block}.world-toolbar{flex-wrap:wrap;gap:10px}.map-actions{gap:6px}.map-actions button{padding:10px;font-size:.8rem}.zoom-controls{gap:2px}.zoom-controls span{width:38px}.zoom-controls button{padding:5px 10px}.map-host{height:52dvh;min-height:340px}.coordinate-form{gap:7px}.coordinate-form>span{display:none}.coordinate-form button{margin-left:auto}.world-grid{gap:14px}}.city-screen{--city-gold:#d7bc80}.city-back{white-space:nowrap;align-self:center}.resource-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 22px;display:grid}.resource-card{background:linear-gradient(120deg,#27362e,#1b2925);border:1px solid #b5be9d24;border-radius:12px;align-items:center;gap:13px;padding:17px 18px 20px;display:flex;position:relative;overflow:hidden}.resource-emblem{color:#d7bd7a;text-align:center;width:28px;font-size:28px}.resource-card div>span{color:#bac4b2;letter-spacing:.04em;font-size:11px;display:block}.resource-card strong{color:#f0e6c9;font-variant-numeric:tabular-nums;margin-top:4px;font-size:21px;font-weight:500;display:block}.resource-card strong small{color:#8c9e91;font-size:12px}.resource-card meter{border:0;width:100%;height:9px;position:absolute;bottom:-3px;left:0}.resource-card meter::-webkit-meter-bar{background:#14251e;border:0}.resource-card meter::-webkit-meter-optimum-value{background:#a98e52}.resource-card>small{color:#dac894;font-size:9px}.city-workspace{grid-template-columns:minmax(0,1fr) 318px;align-items:start;gap:22px;display:grid}.city-map-column{min-width:0}.city-map-column .world-toolbar{color:#adbaa9;margin-top:0;font-size:12px}.city-map-frame{background:#536643}.city-map-frame .map-surface{height:570px}.city-panel{background:linear-gradient(155deg,#25352d,#192922);border:1px solid #bac7a628;border-radius:16px;padding:22px}.city-panel h3{color:#f0e6cc;margin:6px 0 10px;font:26px Georgia,serif}.city-panel h4{color:#cbb988;margin:20px 0 10px;font-size:12px;font-weight:500}.building-hero{background:radial-gradient(at 50% 65%,#c8b97d22,#0000 68%);justify-content:center;height:172px;display:flex;position:relative}.building-portrait{background-image:url(/assets/city-atlas-painted.png);background-repeat:no-repeat;background-size:300% 300%;flex-shrink:0;width:60px;height:60px;display:inline-block}.building-portrait.large{filter:drop-shadow(0 12px 8px #07150e55);width:174px;height:174px}.building-tier{color:#e3ca8d;background:#15271fee;border:1px solid #ab98574d;border-radius:20px;padding:4px 10px;font-size:11px;position:absolute;bottom:8px;right:0}.building-description{color:#adbaa9;min-height:40px;font-size:12px;line-height:1.7}.building-stats{margin:15px 0}.building-stats div{border-bottom:1px solid #cbd6b615;justify-content:space-between;gap:8px;padding:9px 0;font-size:12px;display:flex}.building-stats dt{color:#adbba9}.building-stats dd{color:#eddfba;margin:0}.building-cost{color:#aeb7a7;flex-wrap:wrap;justify-content:space-between;gap:9px;padding:12px 0;font-size:12px;display:flex}.building-cost b{color:#dfc995;margin-left:4px}.building-catalog{grid-template-columns:repeat(3,1fr);gap:7px;display:grid}.building-catalog button{color:#c1cbb6;background:#14271d66;border:1px solid #c0c49a20;border-radius:8px;flex-direction:column;align-items:center;min-width:0;padding:4px 2px 9px;display:flex}.building-catalog button[aria-pressed=true]{background:#65714a40;border-color:#d4ba79}.building-catalog span:last-child{font-size:9px;line-height:1.4}.building-catalog .building-portrait{width:65px;height:65px}.city-submit{width:100%;margin-top:10px}.city-hint,.city-stage-note{color:#b4ba9e;font-size:11px;line-height:1.6}.city-stage-note{color:#879c88;border-top:1px solid #adbf9d20;margin-top:20px;padding-top:14px}.construction-timer{background:#131f1855;border:1px solid #bfa66b44;border-radius:10px;padding:14px}.construction-timer span,.construction-timer small{color:#adb99f;font-size:11px;display:block}.construction-timer strong{color:#ead3a0;font-variant-numeric:tabular-nums;margin:9px 0;font-size:27px;font-weight:400;display:block}.construction-timer progress{accent-color:#c2a264;width:100%;height:4px;margin-bottom:10px}.construction-timer progress::-webkit-progress-bar{background:#14231a}.construction-timer progress::-webkit-progress-value{background:#c2a264}.construction-list{border-top:1px solid #bac7a623;margin-top:20px;padding-top:8px}.construction-list h3{color:#c8c9ac;font:17px Georgia,serif}.construction-list h3 span{border:1px solid #9ba18b40;border-radius:12px;margin-left:8px;padding:3px 7px;font:11px sans-serif}.construction-list>p{color:#8c9c8b;font-size:12px}.construction-list button{text-align:left;align-items:center;gap:12px;width:100%;margin:8px 0;padding:6px 13px;display:flex}.construction-list button>span:nth-child(2){flex:1;font-size:12px}.construction-list small{color:#8e9e8b;margin-top:4px;font-size:10px;display:block}.construction-list strong{font-variant-numeric:tabular-nums;color:#d5bd82;font-size:13px}.city-notice{color:#c2d8a9;font-size:12px}.city-max-level{color:#cbbb88;font-size:12px}.city-building-list{color:#9cae99;margin-top:20px;font-size:12px}.city-building-list div{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}@media (max-width:850px){.city-workspace{grid-template-columns:minmax(0,1fr)}.city-panel{padding:20px}.city-map-frame .map-surface{height:420px}.resource-strip{gap:7px;margin:15px 0}.resource-card{gap:6px;padding:12px 9px 16px}.resource-emblem{display:none}.resource-card strong{font-size:18px}.resource-card strong small{font-size:10px}.building-hero{height:180px}.building-catalog .building-portrait{width:80px;height:80px}.building-catalog span:last-child{font-size:11px}.city-back{padding:9px 12px;font-size:12px}.city-map-column .world-toolbar{flex-wrap:wrap;gap:9px}}@media (max-width:400px){.resource-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.resource-emblem{display:block}.resource-card{padding:9px 12px 13px}.city-map-frame .map-surface{height:370px}}.economy-overview{background:linear-gradient(115deg,#293b30a0,#172b22);border:1px solid #bac7a62b;border-radius:14px;margin:0 0 22px;padding:18px 22px}.population-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.population-heading .eyebrow{margin:0 0 6px;font-size:10px}.population-heading h3{color:#e9dfc4;margin:0;font:21px Georgia,serif}.population-heading h3 strong{color:#f1ddac;margin-left:12px;font-weight:400}.population-heading h3 small{color:#91a58c;font:13px sans-serif}.mood-badge{background:#77935213;border:1px solid #a9bd763b;border-radius:10px;align-items:center;gap:12px;padding:8px 13px;display:flex}.mood-badge span{color:#aebc9a;font-size:11px}.mood-badge strong{color:#c7d4a2;font-size:22px;font-weight:400}.mood-badge.low{border-color:#c292584f}.mood-badge.low strong{color:#dfb982}.population-summary{color:#a9b9a4;flex-wrap:wrap;align-items:center;gap:18px;padding-top:15px;font-size:12px;display:flex}.population-summary b{color:#e0d7b5;margin-left:5px}.population-summary button{margin-left:auto;padding:9px 14px;font-size:12px}.population-review,.economy-help{color:#9aab96;font-size:11px;line-height:1.7}.population-review{margin-bottom:0}.economy-warning{color:#e0b27e;font-size:12px}.economy-feedback{color:#d3d9b7;background:#24392c;border:1px solid #c1a36140;border-radius:10px;justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px;padding:13px 17px;font-size:12px;display:flex}.presets{color:#c6cdb5;border-top:1px solid #aab49a20;margin-top:12px;padding-top:11px;font-size:12px}.presets summary{cursor:pointer}.presets summary span{color:#8f9e88;margin-left:12px}.presets p{color:#9aa98e;font-size:11px}.presets form{gap:9px;display:flex}.presets input{flex:1;min-width:0}.preset-row{align-items:center;gap:9px;margin-top:10px;display:flex}.preset-row>span{flex:1}.preset-row small{color:#8d9f87;margin-top:4px;font-size:10px;display:block}.workforce{border-top:1px solid #c0bf9926;border-bottom:1px solid #c0bf9926;margin:18px 0;padding:0 0 15px}.workforce-heading{justify-content:space-between;align-items:center;display:flex}.workforce-heading strong{color:#dbc58f;font-size:12px}.worker-cards{grid-template-columns:1fr 1fr;gap:8px;display:grid}.worker-cards button{background:#15271d;border:1px solid #aeb7992b;border-radius:10px;flex-direction:column;align-items:center;gap:7px;padding:13px 5px;display:flex}.worker-cards button[aria-pressed=true]{background:#65704933;border-color:#ccb276}.worker-cards button>span{color:#bba46a;font-size:25px}.worker-cards b{font-size:12px;font-weight:500}.worker-cards small{color:#9bac91;font-size:10px}.workforce label{color:#b6c2a9;justify-content:space-between;align-items:center;gap:12px;margin:13px 0;font-size:12px;display:flex}.workforce input{width:80px}.workforce select{width:165px;min-width:0}.workforce>.primary-button{width:100%}.assigned-group{color:#adbca3;justify-content:space-between;align-items:center;gap:7px;padding-top:11px;font-size:11px;display:flex}.assigned-group button{padding:6px 8px;font-size:10px}.resource-card div>.resource-rate{color:#a4b98a;letter-spacing:0;margin-top:5px;font-size:10px}@media (max-width:600px){.economy-overview{padding:16px}.population-heading h3{font-size:19px}.mood-badge{flex-direction:column;gap:2px;padding:7px 9px}.population-summary{gap:14px}.population-summary button{width:100%;margin:0}.population-review{font-size:10px}.presets form button{padding:9px;font-size:11px}.preset-row button{font-size:11px}.population-heading h3 strong{margin-left:5px}}.presets input,.workforce input,.workforce select{box-sizing:border-box;color:#e7dfc6;min-height:44px;font:inherit;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#172a22;border:1px solid #b5be9d40;border-radius:6px;padding:9px 10px}.presets input:focus,.workforce input:focus,.workforce select:focus{outline-offset:2px;outline:2px solid #bfa66c}.preset-row>span{overflow-wrap:anywhere;min-width:0}.garrison{background:linear-gradient(130deg,#2d352b,#1c2d25);border:1px solid #b6a47c35;border-radius:15px;margin-bottom:22px;padding:20px 22px}.garrison-heading{justify-content:space-between;align-items:center;gap:14px;display:flex}.garrison .eyebrow{margin:0 0 8px;font-size:10px}.garrison h3{color:#e5d6b1;margin:0;font:22px Georgia,serif}.garrison h3>span{color:#b89c5c;margin-right:7px}.garrison h3 strong{margin-left:12px;font-weight:400}.garrison-power{color:#aab795;flex-direction:column;align-items:flex-end;font-size:11px;display:flex}.garrison-power strong{color:#dfc789;margin-top:4px;font-size:22px;font-weight:400}.military-inventory{flex-wrap:wrap;gap:12px;margin-top:16px;display:flex}.military-inventory>span{color:#aebda4;border:1px solid #bbad7c30;border-radius:7px;padding:8px 12px;font-size:12px}.military-inventory b{color:#e7d7b0;margin-left:7px}.garrison-unit{color:#d8c599;justify-content:space-between;font-size:13px;display:flex}.military-equip{border-top:1px solid #b6a47c28;margin-top:16px;padding-top:12px}.military-equip summary{cursor:pointer;color:#dfca98;font-size:13px}.military-equip label,.workshop-production label{color:#aebda4;justify-content:space-between;align-items:center;gap:12px;margin:14px 0;font-size:12px;display:flex}.military-equip input,.military-equip select,.workshop-production input,.workshop-production select{box-sizing:border-box;color:#e7dfc6;min-width:0;max-width:65%;min-height:44px;font:inherit;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#172a22;border:1px solid #b5be9d40;border-radius:6px;padding:9px 10px}.military-equip input,.workshop-production input{width:80px}.military-equip select{width:280px}.military-equip input:focus,.military-equip select:focus,.workshop-production input:focus,.workshop-production select:focus{outline-offset:2px;outline:2px solid #bfa66c}.military-requirements{color:#b2bda6;font-size:12px}.military-requirements small{color:#91a286;margin-top:8px;display:block}.military-stage-note{color:#899d87;margin:13px 0 0;font-size:11px;line-height:1.6}.workshop-production{border-bottom:1px solid #c0bf9926;padding-bottom:18px}.workshop-production .primary-button{width:100%}@media (max-width:600px){.garrison{padding:16px}.garrison h3{font-size:20px}.military-equip .primary-button{width:100%}.garrison-power{font-size:10px}.military-inventory{gap:8px}.military-inventory>span{padding:8px;font-size:11px}}.campaign-overview{background:linear-gradient(120deg,#304735c7,#182e26d9);border:1px solid #b9bb8b30;border-radius:18px;margin:1rem 0;padding:1.15rem 1.35rem}.campaign-overview>header,.battle-report>header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.campaign-overview h3,.battle-report h4{margin:.3rem 0}.campaign-overview h3 span{color:#dbc687;margin-left:.5rem}.campaign-overview>p{color:#c0c6af;font-size:.85rem}.march-list{gap:.5rem;margin:.9rem 0;display:grid}.march-list button{text-align:left;align-items:center;gap:.8rem;width:100%;padding:.7rem;display:flex}.march-list small{color:#bfcbb8;line-height:1.6;display:block}.march-list button>span:last-child{white-space:nowrap;margin-left:auto}.march-banner{color:#e6c682;font-size:2rem}.battle-history{border-top:1px solid #bbbc8f25;margin-top:.9rem;padding-top:.9rem}.battle-history summary{cursor:pointer;color:#dacba4;min-height:32px}.battle-report{background:#12291f66;border:1px solid #bdba8e30;border-radius:12px;margin-top:.7rem;padding:1rem}.battle-report time{color:#b8c2ad;font-size:.75rem}.battle-report p{color:#c4cbb8;font-size:.8rem}.battle-sides{grid-template-columns:1fr 1fr;gap:.7rem;display:grid}.battle-sides>div{background:#f4e5b908;border-radius:8px;gap:.35rem;padding:.7rem;font-size:.8rem;display:grid}.campaign-target{border-top:1px solid #bfc19330;margin-top:1rem;padding-top:.8rem}.campaign-target label{justify-content:space-between;align-items:center;gap:.6rem;margin:.8rem 0;font-size:.85rem;display:flex}.campaign-target input{max-width:95px}.campaign-target select{max-width:68%}.campaign-target input,.campaign-target select{color:#eee4c8;background:#172d25;border:1px solid #aeb68d44;border-radius:6px;min-height:44px;padding:.5rem}.campaign-target dl>div{justify-content:space-between;gap:.6rem;margin:.7rem 0;font-size:.8rem;display:flex}.campaign-target dd{text-align:right;color:#e2cd99;margin:0}.campaign-resources{flex-wrap:wrap;gap:.5rem;font-size:.8rem;display:flex}.campaign-resources span{background:#c4b68012;border-radius:6px;padding:.4rem .6rem}.campaign-target>button{width:100%;margin:.35rem 0}@media (max-width:600px){.campaign-overview{padding:1rem}.march-list button{flex-wrap:wrap}.march-list button>span:last-child{font-size:.75rem}.battle-sides{grid-template-columns:1fr}}.admin-open{align-self:flex-end;margin:0 0 16px}.admin-screen{color:#263f36;background:#f4efdf;border:1px solid #cfc4a6;border-radius:18px;padding:clamp(16px,3vw,32px)}.admin-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.admin-heading h2{margin:4px 0}.admin-flags,.admin-players{grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:14px;display:grid}.admin-card,.admin-flag{background:#fffdf5;border:1px solid #d5cbb3;border-radius:12px;min-width:0;padding:18px}.admin-flag{gap:12px;display:grid}.admin-flag h3,.admin-card h4{margin:0}.admin-flag label{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.admin-flag input:not([type=checkbox]){width:100%;min-width:0}.admin-flag input[type=checkbox]{width:18px;height:18px}.admin-hash{overflow-wrap:anywhere;font-family:monospace;font-size:12px}.admin-pagination{gap:12px;margin-top:16px;display:flex}@media (max-width:500px){.admin-heading{flex-direction:column;align-items:flex-start}}.admin-screen button{color:#fff8de;background:#284d3e;border-color:#284d3e}.admin-screen button:disabled{color:#666b5f;opacity:1;background:#deded1;border-color:#c9ccbe}.admin-screen .eyebrow{color:#6c6540}.admin-screen>h3{margin:24px 0 12px}.admin-screen input:not([type=checkbox]){color:#263f36;font:inherit;background:#fffdf5;border:1px solid #9caa99;border-radius:6px;padding:10px}
