@font-face{font-family:Cinzel;font-style:normal;font-weight:400;font-display:swap;src:url(./font-0-D9Ck3daX.ttf)format("truetype")}@font-face{font-family:Cinzel;font-style:normal;font-weight:500;font-display:swap;src:url(./font-1-CHU7Y7dN.ttf)format("truetype")}@font-face{font-family:Cinzel;font-style:normal;font-weight:600;font-display:swap;src:url(./font-2-Dc04s2rB.ttf)format("truetype")}@font-face{font-family:Cinzel;font-style:normal;font-weight:700;font-display:swap;src:url(./font-3-BnVU4aZj.ttf)format("truetype")}@font-face{font-family:DM Sans;font-style:normal;font-weight:400;font-display:swap;src:url(./font-4-CB7WfZ8W.ttf)format("truetype")}@font-face{font-family:DM Sans;font-style:normal;font-weight:500;font-display:swap;src:url(./font-5-DCQhiIS7.ttf)format("truetype")}@font-face{font-family:DM Sans;font-style:normal;font-weight:600;font-display:swap;src:url(./font-6-CYvJJk-g.ttf)format("truetype")}@font-face{font-family:DM Sans;font-style:normal;font-weight:700;font-display:swap;src:url(./font-7-BQ0abr9c.ttf)format("truetype")}:root{color:#ece9dc;font-synthesis:none;--ink:#172626;--panel:#152323f5;--gold:#d5b77e;--line:#dbc19233;--muted:#a5af9f;--teal:#75bca9;--red:#e19280;background:#34473a;font-family:DM Sans,sans-serif}*{box-sizing:border-box}html,body,#app{width:100%;height:100%;margin:0;overflow:hidden}button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;transition:background .18s,color .18s,border-color .18s,transform .18s}button:hover{color:#fff}button:active{transform:translateY(1px)}button:disabled{opacity:.34;cursor:not-allowed}button:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.icon{vertical-align:middle;flex-shrink:0;width:22px;height:22px}kbd{color:#adb7aa;background:#ffffff08;border:1px solid #ffffff20;border-radius:3px;padding:1px 4px;font:10px DM Sans,sans-serif}#world{touch-action:none;position:absolute;inset:0}#world canvas{outline:none;width:100%;height:100%;display:block}.hud{pointer-events:none;transition:opacity .3s;position:absolute;inset:0}.hud button,.hud canvas,.hud .command-bar{pointer-events:auto}.topbar{background:linear-gradient(#142524fa,#1e2c2bf0);border-bottom:1px solid #d3b97a60;align-items:center;gap:22px;height:76px;padding:0 25px;display:flex;position:absolute;inset:0 0 auto;box-shadow:0 4px 25px #06131040}.brand{flex-shrink:0;align-items:center;gap:12px;display:flex}.brand>.icon{width:34px;height:34px;color:var(--gold)}.brand>span{letter-spacing:1.2px;white-space:nowrap;font-family:Cinzel,Georgia,serif;font-size:13px;font-weight:600}.brand i{color:var(--gold);font-style:normal}.brand small{letter-spacing:3.2px;color:#abb6a5;margin-top:5px;font:8px DM Sans,sans-serif;display:block}.resources{flex:1;justify-content:center;gap:clamp(12px,3vw,46px);display:flex}.resource{align-items:center;gap:10px;display:flex;position:relative}.resource-icon{color:#cdb47b;place-items:center;width:35px;height:38px;display:grid}.resource.food .resource-icon{color:#d6b279}.resource.wood .resource-icon{color:#89aa79}.resource.gold .resource-icon{color:#dfc16c}.resource.stone .resource-icon{color:#aab5b0}.resource-icon>.icon{width:27px;height:27px}.resource b{font-variant-numeric:tabular-nums;min-width:38px;font-size:20px;font-weight:500;line-height:1;display:block}.resource small{letter-spacing:1.8px;color:var(--muted);margin-top:6px;font-size:8px;display:block}.resource em{color:#8d9d8c;align-self:flex-end;padding-bottom:3px;font-size:9px;font-style:normal}.population{white-space:nowrap;font-variant-numeric:tabular-nums;align-items:center;gap:10px;font-size:14px;display:flex}.population>.icon{color:#b9c6b2;width:20px}.danger{color:#efb29b!important}.top-actions{border-left:1px solid var(--line);gap:3px;padding-left:14px;display:flex}.top-actions button{color:#bfccbc;border-radius:4px;width:38px;height:40px}.top-actions button:hover,.camera-controls button:hover{color:var(--gold);background:#cfb57518}.top-actions .icon{width:19px;height:19px}.mission{border-left:2px solid var(--gold);background:linear-gradient(105deg,#1d2c29dd,#23352b9e);max-width:390px;padding:18px 23px 19px;position:absolute;top:101px;left:28px;box-shadow:0 4px 30px #0b1c1710}.mission-heading{letter-spacing:2px;color:#d8c08c;align-items:center;gap:9px;font-size:9px;display:flex}.mission-heading .icon{width:15px;height:15px}.mission h2{margin:12px 0 7px;font-family:Cinzel,Georgia,serif;font-size:18px;font-weight:500}.mission p{color:#c1c8b5;margin:0;font-size:11px}.mission-progress{color:#b0baa8;gap:20px;margin-top:18px;font-size:9px;display:flex}.mission-progress span{position:relative}.mission-progress .done{color:#ace2be}.mission-progress .done:after{content:"✓";margin-left:4px}.rival{letter-spacing:1.6px;color:#e5b6a0;background:#332b26cf;border-right:2px solid #aa6055;padding:12px 17px;font-size:10px;position:absolute;top:103px;right:27px}.rival-dot{background:#d9816c;width:5px;height:5px;margin-right:7px;display:inline-block;transform:rotate(45deg)}.rival small{letter-spacing:.2px;color:#c1b5a3;text-align:right;font-variant-numeric:tabular-nums;margin-top:6px;font-size:10px;display:block}.camera-controls{border:1px solid var(--line);background:#1c2d29dc;flex-direction:column;display:flex;position:absolute;bottom:277px;right:24px;box-shadow:0 3px 16px #10231c30}.camera-controls button{color:#d3d8c4;border-bottom:1px solid #ffffff0c;width:36px;height:37px}.camera-controls .icon{width:18px;height:18px}.command-bar{background:var(--panel);border:1px solid #c8ae7970;border-radius:4px;grid-template-columns:228px 310px minmax(250px,1fr) 155px;gap:0;min-height:219px;display:grid;position:absolute;bottom:30px;left:18px;right:18px;box-shadow:0 8px 45px #0a171c55}.command-bar>section{min-width:0;padding:17px 20px}.command-bar>section+section{border-left:1px solid var(--line)}.command-bar>.overview{flex-direction:column;padding:10px;display:flex}.map-title{letter-spacing:1.5px;color:#b8c5b0;justify-content:space-between;align-items:center;margin-bottom:7px;font-size:8px;display:flex}.map-title .icon{width:12px;height:12px;margin-right:4px}.map-title>span:last-child{color:#d2bc8b}#minimap{cursor:crosshair;width:100%;height:149px;image-rendering:pixelated;border:1px solid #d8c39550}.map-footer{color:#a4b6a3;letter-spacing:1px;align-items:center;gap:14px;margin-top:7px;font-size:7px;display:flex}.map-footer i{background:#81d8bf;width:4px;height:4px;margin-right:4px;display:inline-block}.map-footer>span:nth-child(2) i{background:#de8b76}.map-footer #game-time{letter-spacing:1.3px;font-variant-numeric:tabular-nums;margin-left:auto;font-size:9px}.selection-top{align-items:center;gap:14px;display:flex}.portrait{clip-path:polygon(0 0,100% 0,100% 84%,50% 100%,0 84%);color:#dac699;background:radial-gradient(at 40% 30%,#456358,#263d37 70%);border:1px solid #a8946666;flex-shrink:0;place-items:center;width:61px;height:68px;display:grid}.portrait .icon{width:39px;height:39px}.selection-heading{flex:1;min-width:0}.selection-heading small{letter-spacing:1.8px;color:#acb9a5;font-size:7px}.selection-heading h2{white-space:nowrap;margin:7px 0 6px;font-family:Cinzel,Georgia,serif;font-size:17px;font-weight:500}.health-track{background:#0b1713;height:3px}.health-track>span{background:#79b997;height:3px;transition:width .15s;display:block}.selection-heading p{color:#abbba6;text-transform:capitalize;margin:6px 0 0;font-size:9px}#selection-description{color:#aebbaa;min-height:32px;margin:11px 0;font-size:10px;line-height:1.6}.selection-shortcuts{gap:8px;margin-top:12px;display:flex}.selection-shortcuts button{color:#c9d0bd;border:1px solid #acb09130;border-radius:2px;align-items:center;gap:6px;height:29px;padding:5px 8px;font-size:9px;display:flex}.selection-shortcuts button:hover{color:#eedba4;border-color:#d1b775}.selection-shortcuts .icon{width:13px;height:13px}.selection-shortcuts kbd{margin-left:2px;padding:0 2px;font-size:7px}.commands-heading{letter-spacing:1.5px;color:#d1c9ac;justify-content:space-between;align-items:center;gap:5px;margin-bottom:15px;font-size:8px;display:flex}.commands-heading small{letter-spacing:1px;color:#879b8a;font-size:7px}.command-grid{grid-template-columns:repeat(4,minmax(60px,1fr));gap:8px;display:grid}.command{background:linear-gradient(#3a4e3d30,#253a3210);border:1px solid #a8b39429;border-radius:2px;flex-direction:column;justify-content:center;align-items:center;min-width:0;height:139px;padding:8px 3px;display:flex;position:relative}.command:not(:disabled):hover,.command.active{color:#f8e7b9;background:#51694b60;border-color:#d1b778aa;transform:translateY(-2px)}.command-icon{color:#c7c7a7;place-items:center;margin-bottom:11px;display:grid}.command-icon .icon{stroke-width:1.2px;width:30px;height:30px}.command-name{white-space:nowrap;font-size:10px;line-height:1.2}.command-cost{color:#b5bfa6;white-space:nowrap;align-items:center;gap:6px;margin-top:7px;font-size:8px;display:flex}.command-cost>span{align-items:center;gap:2px;display:inline-flex}.command-cost .icon{width:10px;height:10px}.command kbd{border-color:#b6bfa022;font-size:7px;position:absolute;top:6px;right:5px}.command-grid.construction{grid-template-columns:repeat(4,minmax(57px,1fr));gap:6px}.construction .command{height:67px;padding:6px 3px}.construction .command-icon{margin-bottom:5px}.construction .command-icon .icon{width:22px;height:22px}.construction .command-name{font-size:8px}.construction .command-cost{margin-top:3px;font-size:7px}.construction .command-cost .icon{width:8px;height:8px}.command-info{color:#b4c1aa;grid-column:span 2;align-items:center;gap:12px;font-size:11px;line-height:1.7;display:flex}.command-info>.icon{color:#cabc92;width:30px;height:30px}.age-panel{text-align:center;background:radial-gradient(at top,#bd9a4820,#0000 70%);flex-direction:column;justify-content:center;align-items:center;display:flex}.age-medal{color:#e6c98c;border:1px solid #c5ab6b99;place-items:center;width:63px;height:63px;font:30px Cinzel,Georgia,serif;display:grid;position:relative;transform:rotate(0)}.age-medal:before{content:"";border:1px solid #c5ab6b40;position:absolute;inset:4px}.age-panel>span{letter-spacing:1.7px;color:#d9c491;margin-top:12px;font-size:8px}.age-panel>button{white-space:nowrap;color:#dec995;background:#b59b4c12;border:1px solid #b99d6166;justify-content:center;align-items:center;gap:5px;width:100%;margin-top:14px;padding:8px 7px;font-size:10px;display:flex}.age-panel>button:hover{background:#b59b4c30}.age-panel>button>.icon{width:15px;height:15px}.age-cost{color:#bfb89c;white-space:nowrap;gap:6px;margin-top:8px;font-size:7px;display:flex}.age-cost>span{align-items:center;gap:2px;display:flex}.age-cost .icon{width:9px;height:9px}.queue-label{letter-spacing:1px;color:#d0bb8a;justify-content:space-between;margin-top:7px;font-size:7px;display:flex}.queue-items{gap:4px;margin-top:4px;display:flex}.queue-items>div{border:1px solid #b0bca343;place-items:center;width:26px;height:26px;display:grid;position:relative}.queue-items .icon{color:#d8cfb5;width:16px;height:16px}.queue-items i{background:#dbbd80;height:2px;position:absolute;bottom:0;left:0}.selection:has(.queue-items) #selection-description{display:none}.bottom-hint{color:#e3e2cfe0;text-shadow:0 1px 3px #0e2116;justify-content:space-between;align-items:center;height:30px;font-size:8px;display:flex;position:absolute;bottom:0;left:29px;right:29px}.bottom-hint b{letter-spacing:1px;font-size:7px;font-weight:600}.bottom-hint i{color:#d9c793;padding:0 10px;font-style:normal}.guide{opacity:0;pointer-events:none;background:#20332add;border:1px solid #c6b07150;border-radius:3px;align-items:center;gap:15px;max-width:505px;padding:13px 16px;transition:all .25s;display:flex;position:absolute;bottom:271px;left:28px;transform:translateY(8px)}.guide.visible{opacity:1;transform:none}.guide-number{color:#cebc82;border-right:1px solid #d6c58b40;padding-right:15px;font:24px Cinzel,serif}.guide strong{color:#e2dac0;font-size:11px;font-weight:500}.guide p{color:#b6c7b0;margin:5px 0 0;font-size:10px;line-height:1.5}.guide button{color:#a5b29b;pointer-events:auto;align-self:flex-start;width:22px;margin-left:10px}.guide button>.icon{width:12px;height:12px}.guide:not(.visible) button{pointer-events:none}.placement{color:#e6d9b4;white-space:nowrap;background:#1c302cf2;border:1px solid #dfc180;align-items:center;gap:20px;padding:9px 12px 9px 17px;font-size:12px;display:none;position:absolute;bottom:273px;left:50%;transform:translate(-50%);box-shadow:0 3px 15px #12271d55}.placement.visible{display:flex}.placement button{border:1px solid #aaa78766;border-radius:2px;padding:5px 9px;font-size:10px}.placement kbd{margin-left:7px}.toast{color:#e4d5ab;opacity:0;text-align:center;background:#192c26f2;border:1px solid #d6c08a66;max-width:480px;padding:13px 23px;font-size:12px;transition:opacity .2s,transform .2s;position:absolute;top:95px;left:50%;transform:translate(-50%,-12px);box-shadow:0 5px 30px #0a171e25}.toast.visible{opacity:1;transform:translate(-50%)}#selection-box{pointer-events:none;z-index:4;background:#abc3a028;border:1px solid #e4d2a4;display:none;position:fixed}.world-tip{color:#f0e5ca;pointer-events:none;white-space:nowrap;z-index:5;background:#172c25ed;border:1px solid #d4c59255;padding:7px 12px;font-size:10px;display:none;position:fixed}.overlay{pointer-events:none;opacity:0;z-index:10;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#13262366;justify-content:center;align-items:center;transition:opacity .25s;display:flex;position:absolute;inset:0}.overlay.visible{pointer-events:auto;opacity:1}.overlay.menu-overlay{-webkit-backdrop-filter:none;backdrop-filter:none;background:linear-gradient(90deg,#102624fa 0%,#172e27ed 27%,#152a2590 48%,#1b2e2210 70%);justify-content:flex-start}.menu-hud{opacity:0}.menu-content{scrollbar-width:none;width:450px;max-height:100dvh;margin-left:7.2vw;padding:30px 0;overflow:auto}.edition{color:#c0c7aa;letter-spacing:2.8px;align-items:center;gap:12px;margin-bottom:24px;font-size:9px;display:flex}.edition>span{background:#c8ac75;width:28px;height:1px}.menu-crest{color:#d9b97d;align-items:center;width:56px;height:52px;display:flex}.menu-crest .icon{stroke-width:1.15px;width:43px;height:43px}.menu-content h1{letter-spacing:1px;color:#f4e7c7;margin:16px 0 12px;font:500 clamp(38px,4.5vw,65px)/1.05 Cinzel,Georgia,serif}.menu-content h1 em{color:#cdb57c;font-size:.65em;font-style:normal}.menu-subtitle{letter-spacing:5px;color:#d6c293;margin:15px 0 22px;font-size:10px}.menu-description{color:#bacbb6;margin:0 0 28px;font-size:13px;line-height:1.9}.scenario{border-top:1px solid #d4bd8240;border-bottom:1px solid #d4bd8240;align-items:center;gap:14px;padding:18px 0;display:flex}.scenario>.icon,.scenario>span:first-child{color:#cab27c}.scenario strong{color:#e7d7b5;font-family:Cinzel,Georgia,serif;font-size:14px;font-weight:500}.scenario small{color:#aabb9f;margin-top:6px;font-size:10px;display:block}.scenario-tag{letter-spacing:1.3px;color:#caba91;border:1px solid #c3b37744;margin-left:auto;padding:5px 7px;font-size:8px}.difficulty{margin-top:23px}.difficulty>span{letter-spacing:2px;color:#c6bea3;font-size:8px}.difficulty>div{border:1px solid #abb68b3a;gap:3px;margin:10px 0 9px;padding:3px;display:flex}.difficulty button{color:#aebda8;flex:1;padding:9px 8px;font-size:11px}.difficulty button.active{color:#e8d3a6;background:#8e9b6933;border:1px solid #ceb77c77}.difficulty small{color:#95a98f;height:15px;font-size:10px;display:block}.primary{color:#26352b;letter-spacing:.7px;background:linear-gradient(110deg,#d7be86,#b7985c);border:1px solid #e3c78e;justify-content:center;align-items:center;gap:12px;width:100%;padding:15px 24px;font-size:12px;font-weight:700;display:flex;box-shadow:0 5px 20px #0b1c1822}.primary:hover{color:#16271f;background:linear-gradient(110deg,#ead7a4,#ceb077);box-shadow:0 5px 22px #d3bb7430}.primary .icon{width:19px;height:19px}.start{letter-spacing:2px;justify-content:space-between;margin-top:23px;padding:17px 20px;font-size:12px}.continue-button{color:#d5c492;width:100%;margin-top:9px;padding:6px;font-size:11px}.continue-button .icon{width:14px;height:14px;margin-right:7px}.tutorial-toggle{color:#a6b59c;align-items:center;gap:8px;margin-top:14px;padding:2px 0;font-size:10px;display:flex}.checkbox{border:1px solid #a7b38b66;place-items:center;width:12px;height:12px;font-size:9px;display:grid}.checkbox.checked{color:#1f352a;background:#c5b782;border-color:#c5b782}.menu-foot{letter-spacing:1px;color:#839a81;margin-top:25px;font-size:8px}.menu-foot span{margin:0 9px}.map-caption{text-align:right;text-shadow:0 2px 8px #142e1e;flex-direction:column;gap:12px;display:flex;position:absolute;bottom:65px;right:6%}.map-caption small{letter-spacing:2.3px;color:#f0e2b9;font-size:9px}.map-caption strong{color:#fff3d3;font:400 20px Cinzel,serif}.map-caption>span:last-child{letter-spacing:2px;color:#d6dfbe;font-size:8px}.caption-line{background:#e7d49a;align-self:flex-end;width:52px;height:1px;margin-bottom:4px}.modal{text-align:center;background:linear-gradient(135deg,#26382f,#172e29);border:1px solid #bda66c88;border-radius:3px;width:470px;max-width:calc(100% - 32px);max-height:calc(100dvh - 40px);padding:39px;overflow-y:auto;box-shadow:0 20px 90px #08241b88}.modal-emblem{color:#e2c591;border:1px solid #ceba7b66;place-items:center;width:65px;height:65px;margin:0 auto 23px;display:grid}.modal-emblem>.icon{stroke-width:1.2px;width:40px;height:40px}.eyebrow{letter-spacing:2.2px;color:#d9c495;font-size:8px}.modal h1{color:#ede0bc;margin:15px 0 12px;font:400 27px/1.35 Cinzel,Georgia,serif}.modal>p{color:#b3c0a8;margin-bottom:25px;font-size:12px;line-height:1.8}.modal-actions{grid-template-columns:1fr 1fr;gap:10px;margin:14px 0;display:grid}.modal-actions button{color:#c4cdb5;border:1px solid #a6b39144;justify-content:center;align-items:center;gap:7px;padding:12px 5px;font-size:10px;display:flex}.modal-actions .icon{width:15px;height:15px}.modal-actions button:hover{background:#899d6730}.text-button{color:#aebb9f;margin-top:14px;font-size:10px}.help-modal{width:770px;padding:33px 38px}.manual-grid{text-align:left;grid-template-columns:1fr 1fr;gap:25px 30px;margin:27px 0;display:grid}.manual-grid>div>.icon{color:#d4bc83;width:26px;height:26px}.manual-grid h3{color:#e3d8b9;font:400 14px Cinzel,serif}.manual-grid p{color:#b4c3ad;margin-bottom:0;font-size:11px;line-height:1.7}.manual-controls{text-align:left;border-top:1px solid var(--line);flex-wrap:wrap;gap:10px 20px;padding-top:20px;display:flex}.manual-controls span{color:#b7c3ab;align-items:center;gap:5px;font-size:10px;display:flex}.manual-controls kbd{font-size:9px}.touch-note{text-align:left;border-bottom:1px solid var(--line);padding-bottom:18px;font-size:10px!important}.result-modal{width:590px}.result-stats{grid-template-columns:repeat(2,1fr);gap:25px 16px;margin:30px 0;display:grid}.result-stats b{color:#e8d3a0;font:26px Cinzel,serif;display:block}.result-stats span{letter-spacing:1.5px;color:#aabb9f;margin-top:7px;font-size:7px;display:block}@media (width>=1700px){.command-bar{grid-template-columns:250px 350px 1fr 180px;min-height:230px;left:26px;right:26px}.command-grid{gap:12px}.command{height:147px}.construction .command{height:71px}#minimap{height:158px}.commands-heading{margin-bottom:18px}.command-name{font-size:12px}.command-cost{font-size:10px}.construction .command-name{font-size:9px}.guide{bottom:283px}.camera-controls{bottom:287px}}@media (width<=1190px){.topbar{gap:13px;height:67px;padding:0 15px}.brand>span{letter-spacing:.8px;font-size:10px}.brand small{letter-spacing:2px;font-size:6px}.brand>.icon{width:27px}.resources{gap:17px}.resource{gap:5px}.resource b{font-size:17px}.resource-icon{width:25px}.resource-icon>.icon{width:22px}.resource small{font-size:7px}.top-actions{padding-left:8px}.top-actions button{width:30px}.population{gap:6px;font-size:12px}.command-bar{grid-template-columns:180px 260px minmax(240px,1fr) 125px;min-height:207px;left:12px;right:12px}.command-bar>section{padding:15px 13px}.command-bar>.overview{padding:9px}#minimap{height:139px}.selection-heading h2{font-size:15px}.portrait{width:49px;height:58px}.selection-top{gap:10px}.commands-heading small{display:none}.command-grid{gap:5px}.command{height:135px}.command-name{font-size:9px}.command-cost{font-size:7px}.command-grid.construction{gap:4px}.construction .command{height:64px}.construction .command-name{font-size:7px}.age-medal{width:52px;height:52px;font-size:26px}.age-panel>span{font-size:7px}.age-panel>button{font-size:8px}.age-cost{gap:3px;font-size:6px}.guide{bottom:259px;left:20px}.camera-controls{bottom:261px}.mission{max-width:345px;padding:16px 18px;top:88px;left:20px}.mission h2{font-size:16px}.rival{top:87px}.selection-shortcuts{gap:5px}.selection-shortcuts button{padding:5px;font-size:8px}.selection-shortcuts kbd{display:none}.placement{bottom:255px}.toast{top:80px}.bottom-hint{font-size:7px}.bottom-hint b{font-size:6px}.bottom-hint i{padding:0 5px}}@media (width<=900px){.brand>span{display:none}.brand>.icon{width:30px;height:30px}.resources{gap:16px}.resource em{display:none}.topbar{gap:14px}.top-actions button{width:28px}.command-bar{grid-template-columns:150px 215px 1fr 102px;min-height:191px;bottom:22px}.command-bar>section{padding:12px 10px}.command-bar>.overview{padding:8px}#minimap{height:122px}.selection-heading h2{font-size:13px}.selection-heading small{letter-spacing:1px;font-size:6px}.portrait{width:41px;height:51px}.portrait .icon{width:29px;height:29px}.selection-top{gap:8px}#selection-description{margin:8px 0;font-size:9px;line-height:1.4}.selection-heading p{font-size:8px}.selection-shortcuts{margin-top:7px}.command-grid{grid-template-columns:repeat(2,minmax(58px,1fr))}.command{height:65px}.command-icon{margin-bottom:5px}.command-icon .icon{width:21px;height:21px}.command-name{font-size:8px}.command-cost{margin-top:4px;font-size:7px}.command-grid.construction{grid-template-columns:repeat(4,minmax(40px,1fr))}.construction .command{height:65px}.construction .command-name{white-space:normal;text-align:center;font-size:6px}.construction .command-cost{gap:3px;font-size:6px}.construction .command-cost .icon{width:7px}.commands-heading{letter-spacing:1px;margin-bottom:9px;font-size:7px}.age-panel>button{white-space:normal;gap:2px;font-size:7px}.age-panel>button>.icon{width:11px}.age-cost{flex-wrap:wrap;justify-content:center}.age-panel>span{letter-spacing:.8px}.bottom-hint{height:22px}.bottom-hint>span:first-child{display:none}.bottom-hint>span:last-child{margin:auto}.guide{max-width:440px;bottom:235px}.guide p{font-size:9px}.camera-controls{bottom:241px;right:15px}.placement{bottom:235px}.mission{max-width:310px}.mission h2{font-size:15px}.mission p{font-size:10px}.mission-progress{gap:12px}.rival{font-size:8px;right:20px}.rival small{font-size:8px}.menu-content{width:390px;margin-left:6vw}.menu-content h1{font-size:52px}.map-caption{max-width:240px}.map-caption strong{font-size:17px}.menu-description{font-size:12px}}@media (width<=680px){.topbar{gap:10px;height:63px;padding:0 10px}.brand{display:none}.resources{justify-content:space-around;gap:9px}.resource{gap:3px}.resource-icon{width:20px}.resource-icon>.icon{width:18px;height:18px}.resource b{min-width:26px;font-size:15px}.resource small{letter-spacing:.8px;margin-top:4px;font-size:6px}.population{gap:4px;font-size:10px}.population>.icon{width:16px;height:16px}.top-actions{gap:0;padding-left:5px}.top-actions button{width:28px;height:40px}.top-actions button:first-child{display:none}.top-actions .icon{width:17px;height:17px}.mission{border-left-width:1px;max-width:250px;padding:12px 13px;top:78px;left:12px}.mission-heading{letter-spacing:1.2px;font-size:7px}.mission-heading .icon{width:12px;height:12px}.mission h2{margin:9px 0 5px;font-size:13px}.mission p{font-size:8px}.mission-progress{gap:12px;margin-top:10px;font-size:7px}.rival{text-align:left;background:#2e2922bb;border:0;border-left:1px solid #af6b54;padding:8px 12px;top:191px;left:12px;right:auto}.rival small{text-align:left;margin-top:4px;font-size:8px}.command-bar{left:8px;right:8px;bottom:max(8px, env(safe-area-inset-bottom));grid-template-rows:110px 112px;grid-template-columns:99px 1fr;height:222px;min-height:0}.command-bar>section{padding:10px}.command-bar>.overview{border:0;grid-area:1/1;padding:7px}.map-title{letter-spacing:.5px;margin-bottom:4px;font-size:6px}.map-title .icon,.map-title>span:last-child{display:none}#minimap{width:100%;height:70px}.map-footer{gap:6px;margin-top:4px;font-size:5px}.map-footer>span:nth-child(2){display:none}.map-footer #game-time{letter-spacing:.3px;font-size:6px}.command-bar>.selection{border-left:1px solid var(--line);grid-area:1/2;padding:9px 10px}.selection-top{gap:9px}.portrait{width:39px;height:47px}.portrait .icon{width:26px;height:26px}.selection-heading h2{margin:4px 0;font-size:13px}.selection-heading small{font-size:6px}.selection-heading p{margin-top:4px;font-size:8px}#selection-description{display:none}.selection-shortcuts{gap:6px;margin-top:8px}.selection-shortcuts button{flex:1;justify-content:center;height:30px;font-size:8px}.selection-shortcuts .icon{width:12px;height:12px}.command-bar>.commands{border-left:0;border-top:1px solid var(--line);grid-area:2/1/auto/3;padding:8px;overflow:hidden}.commands-heading{letter-spacing:1px;margin-bottom:6px;font-size:6px}.command-grid{grid-template-columns:repeat(4,minmax(50px,1fr));gap:5px}.command{height:77px}.command-icon .icon{width:24px;height:24px}.command-icon{margin-bottom:7px}.command-name{font-size:8px}.command-cost{margin-top:5px;font-size:7px}.command kbd{display:none}.command-grid.construction{scrollbar-width:thin;scrollbar-color:#b5af7d66 transparent;grid-template-columns:repeat(8,minmax(54px,1fr));padding-bottom:7px;overflow-x:auto}.construction .command{min-width:54px;height:76px}.construction .command-name{font-size:7px;line-height:1.2}.construction .command-cost{margin-top:5px;font-size:6px}.command-bar>.age-panel{background:#1d342af0;border:1px solid #d6bd7966;width:93px;padding:10px 6px;position:fixed;top:78px;right:12px}.age-medal{width:33px;height:33px;font-size:19px}.age-medal:before{inset:3px}.age-panel>span{letter-spacing:.5px;margin-top:7px;font-size:6px}.age-panel>button{white-space:nowrap;margin-top:8px;padding:8px 3px;font-size:8px}.age-cost{gap:4px;margin-top:6px;font-size:6px}.camera-controls{bottom:247px;right:12px}.camera-controls button{width:38px;height:40px}.camera-controls button:last-child{display:none}.guide{gap:9px;max-width:none;padding:10px 11px;bottom:246px;left:12px;right:61px}.guide-number{padding-right:9px;font-size:18px}.guide strong{font-size:9px}.guide p{font-size:8px;line-height:1.5}.guide button{width:16px;margin-left:0}.guide button>.icon{width:10px}.placement{white-space:normal;justify-content:space-between;gap:8px;padding:10px 12px;font-size:10px;bottom:242px;left:12px;right:12px;transform:none}.placement button{white-space:nowrap}.placement kbd,.bottom-hint{display:none}.toast{z-index:8;width:max-content;max-width:calc(100% - 30px);padding:11px 16px;font-size:11px;top:250px}.queue-label{margin-top:6px;font-size:6px}.queue-items{margin-top:4px}.queue-items>div{width:22px;height:22px}.selection:has(.queue-items) .selection-shortcuts{display:none}.command-info{gap:7px;font-size:9px}.command-info>.icon{width:23px;height:23px}.menu-content{width:calc(100% - 46px);margin:0 23px;padding:28px 0}.overlay.menu-overlay{background:linear-gradient(90deg,#132d28f5,#18372ad4 60%,#172b2180)}.edition{letter-spacing:1.8px;margin-bottom:15px;font-size:7px}.menu-crest{height:38px}.menu-crest .icon{width:35px;height:35px}.menu-content h1{margin:14px 0;font-size:47px}.menu-subtitle{letter-spacing:3px;margin:13px 0 18px;font-size:8px}.menu-description{margin-bottom:21px;font-size:11px;line-height:1.8}.scenario{gap:12px;padding:15px 0}.scenario strong{font-size:12px}.scenario small{font-size:9px}.scenario-tag{padding:4px 5px;font-size:7px}.difficulty{margin-top:19px}.difficulty button{padding:11px 6px;font-size:10px}.difficulty small{font-size:9px}.start{margin-top:19px;padding:16px;font-size:10px}.tutorial-toggle{margin-top:16px;font-size:9px}.menu-foot{margin-top:22px;font-size:7px}.map-caption{display:none}.modal{padding:26px 22px}.modal h1{font-size:22px}.modal-emblem{width:51px;height:51px;margin-bottom:17px}.modal-emblem>.icon{width:30px;height:30px}.modal>p{font-size:11px}.primary{padding:14px;font-size:11px}.help-modal{padding:24px 21px}.manual-grid{grid-template-columns:1fr;gap:17px;margin:22px 0}.manual-grid>div{padding-left:37px;position:relative}.manual-grid>div>.icon{width:23px;height:23px;position:absolute;top:0;left:0}.manual-grid h3{margin:0 0 8px;font-size:12px}.manual-grid p{margin:0;font-size:10px}.manual-controls{gap:8px 13px}.manual-controls span,.manual-controls kbd{font-size:8px}.result-stats{gap:24px 12px}.result-stats span{font-size:6px}.result-stats b{font-size:23px}}@media (height<=730px) and (width>=681px){.menu-content{padding:20px 0}.edition{margin-bottom:10px}.menu-crest{height:35px}.menu-crest .icon{width:33px;height:33px}.menu-content h1{margin:10px 0;font-size:45px}.menu-subtitle{margin:10px 0 15px;font-size:9px}.menu-description{margin-bottom:17px;font-size:11px}.scenario{padding:13px 0}.difficulty{margin-top:16px}.difficulty button{padding:7px}.start{margin-top:14px;padding:13px}.menu-foot{margin-top:15px}.tutorial-toggle{margin-top:10px}.mission{padding:11px 16px;top:84px}.mission-progress{margin-top:12px}.guide{display:none}.camera-controls{bottom:245px}.command-bar{bottom:24px}.bottom-hint{height:24px}.toast{top:81px}.modal{max-height:calc(100dvh - 24px)}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}@media (width<=680px){.resources{gap:5px;min-width:0}.resource{min-width:0}.resource b{letter-spacing:-.2px;min-width:24px;font-size:14px}.resource-icon{width:17px}.resource-icon>.icon{width:16px}.topbar{gap:6px}.population{flex-shrink:0;font-size:9px}.top-actions{flex-shrink:0;padding-left:4px}.top-actions button{width:25px}.top-actions button:last-child{width:30px}.resource small{letter-spacing:.7px;font-size:5px}}@media (height<=500px) and (width>=681px){.topbar{height:48px}.command-bar{grid-template-columns:125px 205px 1fr 110px;height:130px;min-height:130px;bottom:8px}.command-bar>section{padding:8px}.command-bar>.overview{padding:6px}#minimap{height:86px}.map-title{margin-bottom:4px;font-size:6px}.map-footer{margin-top:4px;font-size:6px}.selection-heading h2{font-size:12px}.portrait{width:37px;height:41px}.portrait .icon{width:26px;height:26px}#selection-description{display:none}.selection-shortcuts{margin-top:8px}.selection-shortcuts button{height:32px}.command-grid{grid-template-columns:repeat(4,minmax(45px,1fr))}.command{height:90px}.command-grid.construction{grid-template-columns:repeat(8,minmax(50px,1fr));overflow:auto}.construction .command{height:90px}.commands-heading{margin-bottom:6px;font-size:6px}.age-medal{width:31px;height:31px;font-size:18px}.age-panel>span{margin-top:6px;font-size:6px}.age-panel>button{margin-top:6px;padding:6px;font-size:8px}.age-cost{margin-top:4px}.bottom-hint{display:none}.mission{max-width:290px;padding:9px 13px;top:61px;left:13px}.mission-heading{font-size:7px}.mission h2{margin:6px 0;font-size:12px}.mission p{font-size:8px}.mission-progress{display:none}.rival{font-size:7px;top:62px;right:14px}.rival small{font-size:8px}.camera-controls{flex-direction:row;bottom:150px;right:13px}.camera-controls button{width:33px;height:33px}.placement{font-size:10px;bottom:150px}.toast{padding:10px 15px;font-size:10px;top:61px}.queue-items>div{width:22px;height:22px}.queue-label{font-size:6px}.menu-content{width:370px;padding:15px 0}.edition,.menu-crest,.menu-description,.menu-foot,.map-caption{display:none}.menu-content h1{margin:0 0 8px;font-size:32px;line-height:1}.menu-content h1 br{display:none}.menu-subtitle{letter-spacing:3px;margin:8px 0 12px;font-size:7px}.scenario{padding:10px 0}.scenario strong{font-size:11px}.scenario small{font-size:8px}.difficulty{margin-top:10px}.difficulty>span{font-size:6px}.difficulty>div{margin:7px 0}.difficulty button{padding:7px}.difficulty small{height:10px;font-size:8px}.start{margin-top:12px;padding:11px;font-size:10px}.tutorial-toggle{margin-top:8px;font-size:8px}.continue-button{margin-top:3px;padding:3px;font-size:9px}}
