
:root{font-family:'DM Sans',Arial,sans-serif;color:#eee8dd;background:#151412;font-synthesis:none;font-size:13px;--gold:#ddba79;--muted:#a7a097;--line:rgba(224,201,154,.18);--panel:rgba(23,22,21,.78)}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}#scene-wrap,#world,#vignette{position:absolute;inset:0;width:100%;height:100%}#world{display:block;touch-action:none}#vignette{pointer-events:none;background:radial-gradient(ellipse at 52% 42%,transparent 36%,rgba(24,16,10,.22) 100%),linear-gradient(to bottom,rgba(31,22,12,.20),transparent 28%,transparent 70%,rgba(23,20,17,.28))}#topbar{position:absolute;left:0;right:0;top:0;display:flex;align-items:center;justify-content:space-between;padding:22px 34px;pointer-events:none}.brand,.topright{display:flex;align-items:center;gap:16px}.brand-symbol{width:49px;height:49px;border:1px solid rgba(238,204,140,.48);border-radius:50%;display:grid;place-items:center;color:#ebc991;font-size:26px;background:rgba(15,15,15,.37);text-shadow:0 0 20px #ecad45}.brand-title{font-family:Cinzel,Georgia,serif;font-size:23px;letter-spacing:.13em;font-weight:600;line-height:1.2;color:#fff7e8}.brand-title em,h1 em{font-style:normal;color:var(--gold)}.brand-sub{font-size:9px;color:#e9c896;letter-spacing:.26em;margin-top:5px}.brand-sub span{padding:0 7px;opacity:.45}.topright{pointer-events:auto;gap:11px}.header-chip{border:1px solid rgba(231,209,168,.24);padding:11px 13px;border-radius:3px;background:rgba(22,22,21,.59);font-size:10px;letter-spacing:.15em;color:#e6d5b5}.header-chip strong{color:var(--gold);margin-left:7px}.live-dot{display:inline-block;width:6px;height:6px;background:#d7b676;box-shadow:0 0 9px #edc581;border-radius:50%;margin-right:6px}.icon-button{width:34px;height:34px;border:1px solid rgba(240,212,165,.35);background:rgba(23,21,18,.58);border-radius:50%;color:#e7c996;font-family:Georgia,serif;font-size:16px}.glass{background:var(--panel);border:1px solid rgba(238,208,164,.17);box-shadow:0 10px 60px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.045);backdrop-filter:blur(15px)}.panel{position:absolute;top:111px;bottom:112px;overflow-y:auto;scrollbar-color:#61513b transparent;scrollbar-width:thin;padding:23px 22px;width:267px;border-radius:4px;transition:transform .25s,opacity .25s}#leftpanel{left:25px}#rightpanel{right:25px;width:264px}.panel-kicker{font-size:10px;font-weight:700;letter-spacing:.22em;color:#d8ba87;display:flex;justify-content:space-between}.kicker-mark{opacity:.65}.population{display:flex;align-items:center;justify-content:space-between;margin:23px 0 5px}.stat-label{font-size:9px;letter-spacing:.17em;color:#aca99e}.big-number{font-size:46px;font-family:Cinzel,Georgia,serif;letter-spacing:-.02em;color:#f9ebd0;line-height:1.2;margin-top:4px}.pop-glyph{color:#ddba79;font-size:40px;opacity:.58}.microcopy{display:flex;justify-content:space-between;color:#aaa393;font-size:10px}.microcopy span:last-child{color:#b3c89c}.hairline{height:1px;background:var(--line);margin:21px 0}.resource{margin-bottom:17px}.resource-info{display:flex;align-items:center;gap:8px;font-size:11px}.resource-info span:nth-child(2){color:#cbc7bd;flex:1}.resource-info b{font-size:11px;font-weight:600;color:#f5e6cc;letter-spacing:.04em}.res-icon{width:19px;font-family:Georgia,serif;font-size:17px}.res-icon.water{color:#84c8d9}.res-icon.grain{color:#c3c481}.res-icon.dates{color:#d2a57e}.res-icon.salt{color:#cfccd5}.res-icon.coin{color:#e9bb65}.track{background:rgba(255,255,255,.08);width:100%;height:3px;border-radius:6px;margin-top:8px;overflow:hidden}.fill{display:block;height:100%;width:50%;border-radius:6px;transition:width .4s}.water-fill{background:#75bfcf}.grain-fill{background:#b2af6e}.dates-fill{background:#c79d70}.salt-fill{background:#aaa9ae}.coin-fill{background:#d4ac62}.section-title{font-size:10px;letter-spacing:.15em;font-weight:700;color:#e8d5b7;margin-bottom:17px}.control-label{display:flex;justify-content:space-between;color:#beb9ac;font-size:11px;margin:13px 0 10px}.control-label strong{color:#dfbd82;font-size:10px}input[type=range]{appearance:none;width:100%;height:3px;background:linear-gradient(to right,#d6ae6f,rgba(232,211,173,.22));outline:none;cursor:pointer}input[type=range]::-webkit-slider-thumb{appearance:none;width:12px;height:12px;border-radius:50%;border:3px solid #e7c895;background:#26221a;box-shadow:0 0 8px #e4b76a50}.control-extremes{display:flex;justify-content:space-between;font-size:8px;letter-spacing:.09em;color:#817f78;margin-top:8px}.dispatch-title{display:flex;justify-content:space-between;margin-top:25px}.dispatch-title span{font-weight:400;color:#9e978a;font-size:9px;letter-spacing:0}.action-button{width:100%;padding:12px 10px;background:rgba(231,199,147,.055);border:1px solid rgba(224,192,138,.2);border-radius:2px;color:#e5dac8;display:flex;align-items:center;justify-content:space-between;text-align:left;margin-bottom:7px;font-size:11px;transition:background .18s,border-color .18s}.action-button:hover,.build-button:hover{background:rgba(226,180,111,.18);border-color:rgba(233,200,152,.62)}.action-icon{font-size:17px;color:#ecc68c;margin-right:6px}.price{font-size:10px;color:#dfbb80}.build-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:21px}.build-button{display:flex;flex-direction:column;align-items:center;justify-content:center;background:rgba(236,200,139,.055);border:1px solid rgba(221,193,139,.21);border-radius:2px;min-height:91px;color:#f2e4ca;transition:all .2s}.build-button.selected{background:rgba(215,161,81,.26);border-color:#e2b574}.build-art{font-size:28px;color:#e8c68f;line-height:1.2;font-family:Georgia,serif}.build-name{font-size:9px;letter-spacing:.12em;margin-top:8px}.build-button small{font-size:9px;color:#bca785;margin-top:4px}.panel-tip{line-height:1.7;color:#999184;font-size:10px;margin:15px 0}.metric-line{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px;font-size:11px;color:#b4afa4}.metric-line strong{font-size:10px;color:#e6cfaa;font-weight:600}.event-log{overflow:hidden}.event-item{border-left:2px solid #a68d64;padding:2px 0 9px 11px;margin-bottom:12px}.event-time{color:#bea475;font-size:9px;letter-spacing:.1em;margin-bottom:4px}.event-message{font-size:10px;color:#c8bfb0;line-height:1.55}.event-item.danger{border-color:#c9785e}.event-item.success{border-color:#8eaf78}#selection{position:absolute;left:50%;transform:translateX(-50%);bottom:115px;width:330px;padding:19px 21px;border-radius:3px}.hidden{display:none!important}.close-selection{float:right;background:none;border:0;font-size:23px;color:#d3c3ae;line-height:1;padding:0}.selection-title{font-family:Cinzel,Georgia,serif;color:#faf0d9;font-size:19px;margin:11px 0 8px}.selection-text{font-size:11px;line-height:1.65;color:#bfb8ac}.selection-detail{font-size:10px;color:#ebc78f;line-height:1.7;margin-top:12px}#focus-menu{position:absolute;top:103px;left:50%;transform:translateX(-50%);display:flex;align-items:center;padding:5px 11px;border-radius:25px;gap:2px;white-space:nowrap}#focus-menu span{color:#ab9878;font-size:9px;font-weight:700;letter-spacing:.12em;margin:0 10px}#focus-menu button{color:#e3d4bc;font-size:9px;border:0;border-radius:20px;background:none;letter-spacing:.07em;padding:10px 11px}#focus-menu button:hover{background:rgba(226,191,132,.2)}#bottom-bar{position:absolute;left:50%;bottom:23px;transform:translateX(-50%);width:min(880px,calc(100% - 580px));height:67px;display:flex;align-items:center;gap:20px;padding:11px 17px;border-radius:4px}.time-zone{display:flex;align-items:center;gap:13px;min-width:182px}.time-sun{color:#ebc27c;font-size:24px}.time-zone strong{display:block;font-size:10px;letter-spacing:.1em;color:#f4e2c1}.time-zone small{display:block;color:#a99a87;margin-top:4px;font-size:8px;letter-spacing:.08em}.playback{display:flex;align-items:center;gap:5px}.playback button{border:1px solid rgba(229,207,174,.22);background:rgba(226,199,163,.09);color:#e9d8b8;border-radius:2px}.speed-btn{width:24px;height:25px}.pause-btn{width:31px;height:31px;font-size:14px}.playback span{font-size:11px;color:#e6c992;min-width:19px;text-align:right}.timeline{height:3px;background:rgba(238,216,178,.2);flex:1;overflow:hidden;border-radius:3px}.timeline-progress{width:32%;height:100%;background:#e4bf7e}.cinematic-btn{border:0;background:none;color:#e2c28e;font-size:10px;letter-spacing:.13em;white-space:nowrap}.cinematic-btn span{margin-left:4px}#toast-stack{position:absolute;bottom:113px;right:306px;display:flex;flex-direction:column;gap:9px;pointer-events:none}.toast{padding:11px 16px;background:#2c2923eb;border:1px solid #8d7451;color:#f2ddbb;font-size:11px;max-width:310px;animation:toastIn .3s ease-out;box-shadow:0 10px 30px #0004}@keyframes toastIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}#load-screen{position:absolute;inset:0;z-index:25;background:radial-gradient(ellipse at center,#453722,#1a1714 64%);display:flex;flex-direction:column;align-items:center;justify-content:center;transition:opacity 1s ease}#load-screen.done{opacity:0;pointer-events:none}#load-screen h1{font-size:clamp(42px,5vw,80px);color:#f0ddbb;font-family:Cinzel,Georgia,serif;letter-spacing:.16em;font-weight:500;margin:13px 0}.load-stars{font-size:23px;color:#d7ad6d;letter-spacing:1.2em}.load-sub{letter-spacing:.46em;color:#d5b78d;font-size:13px}.loading-track{width:230px;height:2px;margin-top:54px;background:#6c5941;overflow:hidden}.loading-track div{height:100%;width:100%;background:#e8be76;animation:loading 2.3s ease-in-out infinite}@keyframes loading{from{transform:translateX(-100%)}to{transform:translateX(100%)}}#load-screen p{font-size:9px;letter-spacing:.28em;color:#a89a88;margin-top:21px}.modal-wrap{position:absolute;inset:0;background:#0807069e;z-index:20;display:grid;place-items:center}.modal{width:min(540px,calc(100% - 35px));padding:35px}.modal h2{font-family:Cinzel,Georgia,serif;color:#efd8b4;font-size:27px;letter-spacing:.08em}.modal p{color:#c2b5a2;font-size:12px;line-height:1.8}.help-rows{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:22px 0}.help-rows div{display:flex;flex-direction:column;border-left:1px solid #866e4e;padding:3px 0 3px 12px;gap:3px}.help-rows b{font-size:10px;color:#e5c08a;letter-spacing:.09em}.help-rows span{font-size:10px;color:#aaa093}.enter-button{border:1px solid #cba474;background:#c49a60;color:#211b16;padding:12px 18px;font-size:11px;font-weight:700;letter-spacing:.11em;margin-top:10px}.fatal{position:absolute;inset:0;background:#181411;z-index:50;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px}.fatal h2{font-family:Cinzel,serif;color:#dfbe88}.fatal p{max-width:600px;color:#e9d6bc}.cinema-ui #topbar,.cinema-ui #leftpanel,.cinema-ui #rightpanel,.cinema-ui #bottom-bar,.cinema-ui #focus-menu,.cinema-ui #selection{opacity:0;pointer-events:none}.cinema-ui #topbar,.cinema-ui #leftpanel,.cinema-ui #rightpanel,.cinema-ui #bottom-bar,.cinema-ui #focus-menu{transition:opacity .25s}@media(max-width:1300px){#bottom-bar{width:min(600px,calc(100% - 570px));gap:12px}.time-zone{min-width:110px}.cinematic-btn span{display:none}#leftpanel{left:12px}#rightpanel{right:12px}}@media(max-width:980px){.panel{width:215px!important;padding:18px 15px;top:97px;bottom:96px}.brand-title{font-size:17px}.header-chip.desktop{display:none}#bottom-bar{width:calc(100% - 462px);bottom:12px}.time-zone{display:none}#focus-menu{top:75px}#focus-menu button{padding:8px 6px;font-size:8px}#toast-stack{right:235px;bottom:100px}}@media(max-width:730px){.panel{top:auto!important;bottom:87px;height:190px;left:10px!important;right:auto!important;width:calc(50% - 15px)!important;overflow-y:auto}.panel#rightpanel{left:auto!important;right:10px!important}.population{margin:13px 0}.big-number{font-size:27px}.panel-kicker{font-size:8px}.hairline{margin:12px 0}#topbar{padding:12px}.brand-symbol{width:38px;height:38px}.brand-title{font-size:14px}.brand-sub{font-size:7px}.header-chip{display:none}#focus-menu{top:69px;max-width:calc(100% - 20px);overflow:auto}#bottom-bar{width:calc(100% - 20px);height:59px;bottom:9px}.timeline{flex:1}#selection{bottom:291px;width:calc(100% - 30px)}#toast-stack{right:12px;bottom:294px}.event-log{max-height:95px}.build-grid{margin-top:10px}.build-button{min-height:70px}.dispatch-title{margin-top:17px}.cinematic-btn{margin-left:auto}}

#minimap{width:100%;height:118px;background:linear-gradient(160deg,rgba(168,137,84,.11),rgba(37,32,23,.65));border:1px solid rgba(221,188,137,.2);border-radius:2px;display:block;cursor:crosshair}.mini-legend{display:flex;justify-content:space-between;color:#a99576;font-size:8px;letter-spacing:.04em;margin-top:8px}

.objective{margin-top:23px;padding:12px;border:1px solid rgba(216,184,131,.2);background:rgba(221,175,105,.045)}.objective-top{display:flex;justify-content:space-between;gap:8px;color:#dcc391;font-size:9px;letter-spacing:.11em}.objective-top strong{font-size:10px;color:#efd6a5}.objective-track{height:3px;background:#71614766;margin-top:11px}.objective-track i{height:100%;width:0;display:block;background:#e4bc72;transition:width .4s}.objective p{color:#aa9d88;line-height:1.6;font-size:10px;margin:9px 0 0}
