@font-face{font-family:Barlow;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/barlow-vietnamese-400-normal-Dpl4UHAZ.woff2)format("woff2"),url(/assets/barlow-vietnamese-400-normal-BFeobeCK.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Barlow;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/barlow-latin-ext-400-normal-HxX4XjxC.woff2)format("woff2"),url(/assets/barlow-latin-ext-400-normal-CvBsJvxq.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Barlow;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/barlow-latin-400-normal-qiz4-Cze.woff2)format("woff2"),url(/assets/barlow-latin-400-normal-fsAxiSwU.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Barlow;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/barlow-vietnamese-500-normal-zTViEIzf.woff2)format("woff2"),url(/assets/barlow-vietnamese-500-normal-GNfB7rCE.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Barlow;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/barlow-latin-ext-500-normal-DOaysfXq.woff2)format("woff2"),url(/assets/barlow-latin-ext-500-normal-CJPcKP2Q.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Barlow;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/barlow-latin-500-normal-BPAOfeC8.woff2)format("woff2"),url(/assets/barlow-latin-500-normal-C1h8hMer.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Barlow;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/barlow-vietnamese-600-normal-DcjprdFV.woff2)format("woff2"),url(/assets/barlow-vietnamese-600-normal-CA_GiK2e.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Barlow;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/barlow-latin-ext-600-normal-B8NK_A3D.woff2)format("woff2"),url(/assets/barlow-latin-ext-600-normal-DMVRjfRT.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Barlow;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/barlow-latin-600-normal-DILqtrty.woff2)format("woff2"),url(/assets/barlow-latin-600-normal-CNwfPWQD.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Barlow;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/barlow-vietnamese-700-normal-D6euyNzi.woff2)format("woff2"),url(/assets/barlow-vietnamese-700-normal-4Jt4k04K.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Barlow;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/barlow-latin-ext-700-normal-BLuWmldJ.woff2)format("woff2"),url(/assets/barlow-latin-ext-700-normal-CctuGmmz.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Barlow;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/barlow-latin-700-normal-A9pxMQ4z.woff2)format("woff2"),url(/assets/barlow-latin-700-normal-__SGTsZ1.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Barlow Condensed;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/barlow-condensed-vietnamese-600-normal-A5AYRdjN.woff2)format("woff2"),url(/assets/barlow-condensed-vietnamese-600-normal-CNlPk46_.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Barlow Condensed;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/barlow-condensed-latin-ext-600-normal-18ESti3H.woff2)format("woff2"),url(/assets/barlow-condensed-latin-ext-600-normal-Clv9cIcR.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Barlow Condensed;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/barlow-condensed-latin-600-normal-DepVgxBB.woff2)format("woff2"),url(/assets/barlow-condensed-latin-600-normal-BFJEwTuo.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Barlow Condensed;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/barlow-condensed-vietnamese-700-normal-DYeBwlKR.woff2)format("woff2"),url(/assets/barlow-condensed-vietnamese-700-normal-DhIzd8Tb.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Barlow Condensed;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/barlow-condensed-latin-ext-700-normal-CwuXbfVR.woff2)format("woff2"),url(/assets/barlow-condensed-latin-ext-700-normal-BIHFfxf0.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Barlow Condensed;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/barlow-condensed-latin-700-normal-v1xN8_Wq.woff2)format("woff2"),url(/assets/barlow-condensed-latin-700-normal-Dmwat-ge.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{color:#f0ebdb;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--console:#1e2521;--well:#2c342c;--line:#485044;--ink:#f0ebdb;--muted:#b7bead;--orange:#e3af52;--teal:#62b5bd;--build-valid:#91aa7c;--build-invalid:#cf7867;--topbar-height:58px;--hud-height:260px;background:#1e2521;font-family:Barlow,sans-serif}*{box-sizing:border-box;scrollbar-width:thin;scrollbar-color:#68705e #252c25}body{min-width:320px;margin:0}.tutorial-layer{z-index:3000;pointer-events:none;position:fixed;inset:0}.tutorial-layer[hidden],.tutorial-destination[hidden]{display:none}:is(body:has(dialog[open]) .tutorial-layer,body:has(dialog[open]) .tutorial-destination){visibility:hidden}.tutorial-spotlight{border:2px solid var(--orange);border-radius:5px;position:fixed;box-shadow:0 0 0 9999px #10171085}.tutorial-hand{width:44px;height:44px;color:var(--orange);position:fixed}.tutorial-hand svg{width:100%;height:100%;fill:var(--console);transform:rotate(var(--hand-rotation))}.tutorial-card{background:var(--console);pointer-events:auto;border:1px solid #737c5f;border-radius:5px;width:min(340px,100vw - 24px);padding:20px;position:fixed;right:16px}.tutorial-copy>span{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px}.tutorial-card h2{margin:6px 0 10px;font:600 26px/1.15 Barlow Condensed,sans-serif}.tutorial-card p{color:var(--ink);font-size:14px;line-height:1.5}.tutorial-actions{justify-content:space-between;align-items:center;gap:8px;margin-top:16px;display:flex}.tutorial-actions button{min-height:44px;font-size:13px}.tutorial-actions .secondary-button{padding:8px 12px}.tutorial-destination{z-index:3001;border:2px solid var(--orange);width:48px;height:48px;color:var(--orange);background:var(--console);border-radius:5px;position:fixed}.tutorial-destination svg{width:28px;height:28px}#replay-tutorial{min-height:44px;margin:16px 0 8px}@media (width<=620px){.tutorial-card{padding:14px;right:12px}.tutorial-card h2{margin-bottom:8px;font-size:24px}.tutorial-actions{margin-top:10px}}@media (prefers-reduced-motion:no-preference){.tutorial-hand svg{animation:1.5s ease-in-out infinite tutorial-point}@keyframes tutorial-point{50%{translate:-4px}}}button,select,a,canvas,[tabindex]{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;border:0;border-radius:3px}button:disabled{color:#aeb4a3;cursor:not-allowed;background-color:#252c25}button:disabled img,button:disabled svg{opacity:.48}button,a{touch-action:manipulation;transition:background-color .14s,color .14s,border-color .14s}button:focus-visible,select:focus-visible,summary:focus-visible,a:focus-visible,canvas:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--orange);outline-offset:3px}button:not(:disabled):active{background-color:#49513d}button svg{flex-shrink:0;width:20px;height:20px}button img{pointer-events:none}h1,h2,p{margin:0}::selection{color:#1e2521;background:#e3af52}[hidden]{display:none!important}.topbar{height:var(--topbar-height);background:var(--console);border-bottom:1px solid var(--line);align-items:center;gap:30px;padding:0 18px;display:flex}.wordmark{flex-shrink:0}.brand-logo{background:var(--ink);border-radius:2px;width:156px;height:36px;display:block;position:relative;overflow:hidden}.brand-logo img{width:100%;height:auto;position:absolute;top:50%;left:0;transform:translateY(-50%)}.wordmark-context{color:var(--muted);letter-spacing:.06em;margin-top:4px;font:500 9px/1 Barlow,sans-serif;display:block}.resources{align-items:center;gap:27px;display:flex}.resource{align-items:center;gap:10px;display:flex}.resource>svg{width:23px;height:23px;color:var(--orange)}.resource>div{align-items:baseline;gap:7px;display:flex}.resource strong{font-variant-numeric:tabular-nums;font-size:22px;font-weight:600;line-height:1}.resource strong small{color:var(--muted);font-size:12px;font-weight:400}.resource span{color:var(--muted);font-size:11px}.objective{flex-shrink:0;width:196px}.objective>div:first-child{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:2px 8px;display:flex}.objective h1{color:var(--muted);font-size:11px;font-weight:500}.objective strong{color:var(--orange);font-variant-numeric:tabular-nums;font-size:12px;font-weight:600}.objective>p{color:var(--muted);margin-top:6px;font-size:10px}.simulation-controls{align-items:center;gap:6px;margin-left:auto;display:flex}.game-clock{color:var(--muted);font-variant-numeric:tabular-nums;margin-right:12px;font-size:14px}.text-button,.icon-button{background:0 0;place-items:center;min-width:44px;height:44px;display:grid}.text-button{color:var(--muted);font-size:12px;font-weight:600}.text-button:hover,.icon-button:hover{color:var(--ink);background:#343d31}.icon-button svg{width:19px;height:19px}#sound-toggle[aria-pressed=true]{color:var(--orange);background:var(--well)}.start-button{color:#24291f;background:var(--orange);justify-content:center;align-items:center;gap:8px;min-width:132px;min-height:44px;padding:0 16px;font-size:12px;font-weight:600;display:inline-flex}.start-button svg{width:17px;height:17px}.start-button:hover:not(:disabled){background:#f3c87a}.workspace{height:calc(100dvh - var(--topbar-height));min-height:470px;position:relative}.arena{isolation:isolate;background:#e4ead9;width:100%;min-width:0;height:100%;position:relative;overflow:hidden}#map,#game-layer{top:0;left:0;right:0;bottom:var(--hud-height);position:absolute}#map{z-index:0;-webkit-user-select:none;user-select:none;cursor:crosshair;background:#cdd2a8}#fog-layer{pointer-events:none;position:absolute}#map.is-panning{cursor:grabbing}#selection-box{z-index:20;pointer-events:none;background:#e3af5224;border:1px solid #f1c77e;outline:1px solid #26372b;position:absolute}#map:focus-visible{outline-offset:-4px}#game-layer{z-index:2;pointer-events:none}#game-layer canvas{pointer-events:none;display:block}.map-caption{z-index:4;color:var(--ink);grid-template-columns:minmax(0,1fr) auto;gap:5px 6px;width:max-content;max-width:calc(100% - 32px);display:grid;position:absolute;top:14px;left:16px}.map-caption>.region-button{grid-area:1/1;min-width:0}.map-caption>#map-status{grid-column:1/-1;margin-top:0}.region-button{text-align:left;background:var(--console);align-items:center;gap:12px;min-height:54px;padding:9px 12px;display:flex;box-shadow:0 4px 12px #18251d25}.region-button>svg:first-child{color:var(--orange);width:23px;height:23px}.region-button>svg:last-child{width:16px;height:16px;color:var(--muted);margin-left:10px}.region-button>span{font:600 23px/1 Barlow Condensed,sans-serif}.region-button small{color:var(--muted);margin-top:5px;font:400 11px/1 Barlow,sans-serif;display:block}.region-button:hover{background:#343d31}.region-button[aria-expanded=true]>svg:last-child{transform:rotate(45deg)}.map-status{color:#354334;background:#fffdf1ed;border-radius:2px;width:max-content;max-width:240px;margin-top:5px;padding:6px 8px;font-size:10px;display:block}.map-status[data-running=true]{color:#425f31}.save-status{text-align:left;overflow-wrap:anywhere;background:var(--console);width:auto;min-width:0;max-width:clamp(74px,20vw,180px);min-height:44px;color:var(--muted);grid-area:1/2;margin-top:0;font-size:12px;line-height:1.3}.save-status[data-status=local],.save-status[data-status=unavailable],.save-status[data-status=conflict]{background:var(--console);color:var(--orange)}#resume-game{min-height:44px;margin-top:16px}.arena:has(#toggle-villages[aria-expanded=true]) .map-status{visibility:hidden}.map-legend{color:#34452f;z-index:4;background:#fffdf1ed;border-radius:2px;flex-wrap:wrap;gap:13px;padding:8px 10px;font-size:10px;display:flex;position:absolute;top:15px;right:14px}.map-legend>span{align-items:center;gap:5px;display:flex}.map-legend i{border-radius:50%;outline:1px solid #263e3450;width:7px;height:7px;display:inline-block}.legend-player{background:var(--orange)}.legend-enemy{background:var(--teal);border-radius:1px!important}.legend-neutral{background:#7e8976}.combat-alert{z-index:7;background:var(--console);border:1px solid #8c7849;border-radius:3px;align-items:center;width:338px;max-width:calc(100% - 28px);display:flex;position:absolute;top:56px;right:14px;box-shadow:0 4px 12px #18251d25}.combat-focus{text-align:left;background:0 0;flex:1;align-items:flex-start;gap:10px;min-width:0;min-height:44px;padding:12px;display:flex}.combat-focus:hover{background:var(--well)}.combat-symbol{color:var(--orange);padding-top:1px}.combat-symbol svg{width:22px;height:22px}.combat-copy{min-width:0;display:block}.combat-copy strong{color:var(--ink);font-size:14px;font-weight:600;line-height:1.3;display:block}.combat-copy>span{color:var(--muted);margin-top:5px;font-size:11px;line-height:1.4;display:block}.combat-copy small{color:#f1c77e;margin-top:7px;font-size:11px;line-height:1.2;display:block}.combat-alert[data-active=false]{border-color:var(--line)}.combat-alert>.icon-button{flex-shrink:0;margin-right:4px}.order-hint{z-index:4;bottom:calc(var(--hud-height) + 31px);color:#f0ebdb;pointer-events:none;text-align:center;background:#1e2521ed;border-radius:3px;width:max-content;max-width:calc(100% - 32px);padding:9px 13px;font-size:11px;line-height:1.35;position:absolute;left:50%;transform:translate(-50%)}.command-dock{height:var(--hud-height);z-index:6;background:var(--console);border-top:2px solid #69705a;grid-template-columns:252px minmax(0,1fr) 420px;display:grid;position:absolute;bottom:0;left:0;right:0;box-shadow:0 -4px 18px #18201b30}.command-dock>section{min-width:0}.command-dock:has(#production-queue[open]){z-index:8}.minimap-panel{border-right:1px solid var(--line);padding:10px 12px 8px}.section-heading{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.section-heading h2{font-size:12px;font-weight:600}.section-heading>span{color:var(--muted);font-size:10px}.section-heading .compass{color:var(--orange);font-size:10px;font-weight:600}#minimap{cursor:crosshair;touch-action:none;background:#a9b59a;border:2px solid #566149;border-radius:2px;width:100%;height:143px;margin-top:6px;display:block}.minimap-panel>p{color:var(--muted);margin-top:6px;font-size:10px;line-height:1.2}.selection-panel{flex-direction:column;padding:11px 16px 9px;display:flex}.selected-command{align-items:center;gap:14px;min-height:96px;display:flex}.portrait-frame{background:#303c2d;border:1px solid #596447;border-radius:3px;flex-shrink:0;width:82px;height:96px;position:relative;overflow:hidden}.portrait-frame img{object-fit:contain;width:100%;height:calc(100% - 18px);display:block}.portrait-frame img[src*=portrait],.portrait-frame img[data-kind=hero]{object-fit:cover;object-position:center 18%;height:100%}.portrait-frame>span{text-align:center;color:#c3d6a5;font-variant-numeric:tabular-nums;background:#20291fe8;font-size:10px;font-weight:600;line-height:18px;position:absolute;bottom:0;left:0;right:0}.selected-description{min-width:0}.selected-description strong{color:#f4ecd7;font:600 clamp(21px,2vw,28px)/1.05 Barlow Condensed,sans-serif;display:block}.selected-description>span{color:var(--muted);max-width:32ch;margin-top:8px;font-size:12px;line-height:1.4;display:block}.unit-stats{gap:18px;margin:8px 0 0;display:flex}.unit-stats>div{min-width:0}.unit-stats dt{color:var(--muted);font-size:10px;line-height:1.2}.unit-stats dd{color:var(--ink);font-variant-numeric:tabular-nums;margin:2px 0 0;font-size:13px;font-weight:600;line-height:1.3}.portrait-frame img:is([data-kind=worker],[data-kind=marksman],[data-kind=armored],[data-kind=aircraft]){object-fit:fill;width:400%;max-width:none;height:200%}.unit-selection{min-width:0;margin-top:auto;padding-top:6px}.selection-heading{justify-content:space-between;align-items:center;gap:8px;height:23px;display:flex}.selection-heading h2{color:var(--muted);font-size:10px;font-weight:400}.selection-heading h2 span{color:var(--ink);font-variant-numeric:tabular-nums;margin-left:7px}.inline-button{color:var(--muted);text-underline-offset:3px;background:0 0;min-height:44px;padding:0 5px;font-size:10px;text-decoration:underline}.inline-button:hover{color:var(--orange)}.unit-list{gap:5px;min-height:50px;padding:3px 0;display:flex;overflow-x:auto}.unit-button{background:var(--well);border:1px solid #58624e;border-radius:2px;flex-shrink:0;justify-content:center;align-items:center;gap:3px;min-width:62px;height:46px;padding:3px 5px;display:flex;position:relative}.unit-button img{object-fit:contain;width:38px;height:36px}.unit-thumb-wrap{flex-shrink:0;width:38px;height:36px;display:block;overflow:hidden}.unit-thumb-wrap:is([data-kind=worker],[data-kind=marksman],[data-kind=armored],[data-kind=aircraft]) img{object-fit:fill;width:400%;max-width:none;height:200%}.unit-button>span{color:var(--muted);font-size:10px;line-height:1.1}.unit-button small{color:#d1daba;margin-top:4px;font-size:9px;line-height:1;display:block}.unit-button>svg{width:26px;height:26px;color:var(--muted)}.unit-button[aria-pressed=true]{border-color:var(--orange);background:#48503a;box-shadow:inset 0 0 0 1px #e3af5250}.unit-button:hover{background:#414b36}.unit-button[data-combat=true]{border-color:var(--orange)}.unit-combat{color:var(--orange);background:var(--console);border-radius:2px;padding:1px;line-height:0;position:absolute;top:2px;right:2px}.unit-combat svg{width:11px;height:11px}.command-panel{border-left:1px solid var(--line);padding:10px 12px}.command-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;display:flex}.command-heading h2{font-size:12px;font-weight:600;line-height:1.3}.recruit-base{flex:1;min-width:0;max-width:210px;display:block;position:relative}.recruit-base>span{color:var(--muted);pointer-events:none;font-size:10px;line-height:1.2;position:absolute;top:5px;left:10px}.recruit-base select{width:100%;min-height:44px;color:var(--ink);background:var(--well);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;cursor:pointer;border:1px solid #5c654f;border-radius:3px;padding:17px 8px 4px;font:600 13px/1.2 Barlow,sans-serif;display:block}.recruit-base select:hover:not(:disabled){border-color:#a1ac8a}.recruit-base select:disabled{color:var(--muted);cursor:not-allowed}.command-actions{grid-template-rows:repeat(2,62px);grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;display:grid}.command-button{background:var(--well);text-align:center;border:1px solid #5c654f;border-radius:3px;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-width:0;min-height:44px;padding:6px;font-size:11px;font-weight:500;line-height:1.15;display:flex;position:relative}.command-button svg{color:#d9ddca;width:23px;height:23px}.command-button:hover:not(:disabled){background:#414b36;border-color:#a1ac8a}.command-button:disabled{border-color:#414a3b}.ability-button:not(:disabled){color:#f3c87a;background:#3b3e2b;border-color:#8c7849}.ability-button:not(:disabled) svg{color:var(--orange)}.recruit-button{gap:0;padding:2px}.recruit-art{width:20px;height:26px;position:absolute;top:3px;left:2px}.recruit-art img{object-fit:contain;width:100%;height:100%;display:block}.recruit-name{font-size:10px;position:absolute;bottom:16px;left:1px;right:1px}.recruit-time{color:var(--muted);font-size:10px;position:absolute;top:20px;right:4px}.gather-button:not(:disabled){color:#f1c77e;border-color:#8c7849}.recruit-button strong{color:var(--orange);font-variant-numeric:tabular-nums;font-size:9px;font-weight:600;position:absolute;top:5px;right:3px}.recruit-button:disabled strong{color:#b9bea8}.recruit-button small{color:var(--muted);font-size:10px;line-height:1.2;position:absolute;bottom:3px;left:1px;right:1px}.recruit-button:not(:disabled){border-color:#8c7849}.recruit-button:not(:disabled) small{color:#f1c77e}.village-order{color:#f1c77e;background:#3a3c2c;border-color:#8c7849;grid-column:span 1;padding:6px 9px}.production-queue{border-top:1px solid var(--line);margin-top:7px}.production-queue summary{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;min-height:48px;list-style:none;display:flex}.production-queue summary::-webkit-details-marker{display:none}.production-current{flex:1;min-width:0}.production-current strong{font-size:12px;font-weight:600;display:block}.production-current>span{color:var(--muted);margin-top:3px;font-size:10px;display:block}.production-current progress{width:100%;height:4px;accent-color:var(--orange);margin-top:5px;display:block}.production-count{color:var(--orange);white-space:nowrap;text-underline-offset:3px;font-size:12px;text-decoration:underline}.production-count b{font-variant-numeric:tabular-nums}.arena:has(#production-queue[open]) :is(.toast,.order-hint){visibility:hidden}.production-popover{z-index:8;width:min(380px,100vw - 24px);max-height:min(340px, calc(100dvh - var(--hud-height) - var(--topbar-height) - 24px));background:var(--console);border:1px solid #697357;border-radius:3px;padding:12px;position:absolute;bottom:calc(100% + 8px);right:12px;overflow-y:auto}.production-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.production-heading h3{margin:0;font:600 22px Barlow Condensed,sans-serif}.production-popover>p{color:var(--muted);margin:4px 0 10px;font-size:12px;line-height:1.4}.production-popover>.queue-caption{color:var(--ink);font-weight:500}#production-list{margin:0;padding:0;list-style:none}#production-list li{border-top:1px solid var(--line);align-items:center;gap:10px;min-height:50px;display:flex}#production-list li>span{flex:1;min-width:0}#production-list strong{font-size:12px;font-weight:500;line-height:1.4;display:block}#production-list small{color:var(--muted);margin-top:3px;font-size:11px;display:block}#production-list [data-active=true] strong{color:var(--orange)}.cancel-production{background:var(--well);flex:0 0 44px;justify-content:center;align-items:center;min-height:44px;display:inline-flex}.cancel-production:hover:not(:disabled){background:#414b36}.sidebar{z-index:10;top:82px;left:16px;bottom:calc(var(--hud-height) + 42px);background:var(--console);border:1px solid var(--line);border-radius:3px;width:290px;max-width:calc(100% - 88px);padding:17px;position:absolute;overflow-y:auto;box-shadow:0 8px 25px #1b271d30}.settlements>p{color:var(--muted);margin-top:7px;font-size:11px;line-height:1.4}#village-list{gap:3px;margin-top:14px;display:grid}.village-row{text-align:left;background:0 0;border:1px solid #0000;align-items:center;gap:9px;width:100%;min-height:44px;padding:8px 10px;display:flex}.village-row:hover{background:#343e30}.village-row.is-active{background:#3a4432;border-color:#737c5f}.village-row-name{flex:1;font-size:13px;font-weight:500;line-height:1.2}.village-row-status{color:var(--muted);flex-shrink:0;font-size:10px}.ownership-dot{background:#9ba58e;border-radius:50%;flex-shrink:0;width:7px;height:7px;display:block}[data-owner=player] .ownership-dot{background:var(--orange)}[data-owner=enemy] .ownership-dot{background:var(--teal);border-radius:1px}[data-owner=unknown] .ownership-dot{border:1px solid var(--muted);background:0 0}[data-owner=player] .village-row-status{color:#e3bb74}[data-owner=enemy] .village-row-status{color:#8bc4c7}.dispatch{border-top:1px solid var(--line);margin-top:20px;padding-top:17px}#event-log{margin:12px 0 0;padding:0;list-style:none}#event-log li{color:#d6dbc9;grid-template-columns:31px 1fr;gap:7px;margin-top:10px;font-size:11px;line-height:1.45;display:grid}#event-log time{color:var(--muted);font-variant-numeric:tabular-nums;padding-top:1px;font-size:10px}.scenario-note{color:var(--muted);margin-top:20px;font-size:10px;line-height:1.6}.toast{z-index:12;left:50%;bottom:calc(var(--hud-height) + 70px);color:#f0ebdb;text-align:center;pointer-events:none;background:#1e2521;border-radius:4px;width:max-content;max-width:calc(100% - 40px);padding:13px 18px;font-size:13px;line-height:1.4;position:absolute;transform:translate(-50%);box-shadow:0 5px 18px #263e3435}.map-center{top:calc((100% - var(--hud-height)) / 2);z-index:3;pointer-events:none;border:2px solid #3c5030;border-radius:50%;outline:2px solid #fffdf6;width:14px;height:14px;display:none;position:absolute;left:50%;transform:translate(-50%,-50%)}.arena:has(#map:focus-visible) .map-center{display:block}.leaflet-container{color:#263e34;background:#cdd2a8;font-family:Barlow,sans-serif}.leaflet-container a{color:#205c58;text-underline-offset:2px}.leaflet-control-attribution{background:#fffdf6ed!important;padding:3px 7px!important;font-size:9px!important}.village-anchor{background:0 0;border:0}.leaflet-marker-icon.village-anchor{pointer-events:none}.village-marker{flex-direction:column;align-items:center;width:36px;display:flex;position:relative}.village-content{pointer-events:auto;flex-direction:column;align-items:center;width:36px;display:flex}.village-tether{transform-origin:0;pointer-events:none;background:#354c29;height:1px;position:absolute;top:18px;left:18px}.village-anchor:focus-visible .village-content{outline-offset:4px;outline:3px solid #354c29}.village-ring{color:#fff;background:#56634c;border:2px solid #e5e8d4;border-radius:5px;flex-shrink:0;place-items:center;width:34px;height:34px;display:grid;box-shadow:0 3px 8px #263e3438}[data-owner=player] .village-ring{color:#f1bf65;background:#5b552e;border-color:#e3af52}[data-owner=enemy] .village-ring{color:#b1e1e2;background:#345b5d;border-color:#62b5bd}.village-ring svg{width:21px;height:21px}.village-marker[data-sight=explored] .village-ring{border-style:dashed}.village-marker.is-active .village-ring{outline-offset:3px;outline:2px solid #354c29}.village-name{color:#2e402e;white-space:nowrap;background:#fffdf1f2;border-radius:2px;margin-top:6px;padding:4px 7px;font-size:12px;font-weight:600;line-height:1.2;box-shadow:0 3px 8px #263e3415}.village-capture{width:152px;color:var(--ink);background:var(--console);text-align:center;border-radius:3px;margin-top:6px;padding:6px 7px;font:500 11px/1.3 Barlow,sans-serif}.village-capture[data-team=enemy]{--progress-color:var(--teal)}progress{appearance:none;background:var(--line);width:100%;height:5px;accent-color:var(--progress-color,var(--orange));border:0;border-radius:2px;display:block;overflow:hidden}progress::-webkit-progress-bar{background:var(--line)}progress::-webkit-progress-value{background:var(--progress-color,var(--orange))}progress::-moz-progress-bar{background:var(--progress-color,var(--orange))}.village-capture progress{margin-top:5px}#selection-progress{max-width:220px;margin-top:5px}.resource-anchor{pointer-events:none;background:0 0;border:0}.resource-target{color:#2e402e;pointer-events:auto;background:0 0;flex-direction:column;align-items:center;min-width:64px;padding:0;font:500 11px/1.2 Barlow,sans-serif;display:flex;position:absolute;bottom:0;left:50%;transform:translate(-50%)}.resource-target img{width:64px;height:48px;display:block}.resource-amount,.resource-activity{white-space:nowrap;background:#fffdf1f2;border-radius:2px;padding:3px 5px}.resource-activity{color:var(--orange);background:var(--console);margin-top:3px}.resource-target progress{width:88px;margin-top:3px}.resource-target[data-state=outbound]:after,.resource-target[data-state=harvesting]:after,.resource-target[data-state=returning]:after{content:"";border:1px solid var(--orange);pointer-events:none;border-radius:50%;width:46px;height:16px;position:absolute;bottom:4px}.resource-target:hover .resource-amount{outline:1px solid var(--orange);outline-offset:1px}.resource-target:not(:disabled):active,.resource-target:disabled{background:0 0}.resource-target:disabled{pointer-events:none}dialog{color:var(--ink);background:var(--console);border:1px solid #69705a;border-radius:5px;width:min(560px,100% - 30px);max-height:88dvh;padding:28px;box-shadow:0 12px 60px #172b3060}dialog::backdrop{background:#152018ad}dialog h2{margin-bottom:16px;font:600 32px/1.05 Barlow Condensed,sans-serif}dialog p{color:#c5cbb9;max-width:65ch;font-size:14px;line-height:1.6}.dialog-heading{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.dialog-heading .icon-button{flex-shrink:0;margin:-9px -9px 0 0}.dialog-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:25px;display:flex}.instructions{margin:20px 0}.instructions div{border-top:1px solid var(--line);grid-template-columns:115px 1fr;gap:12px;padding:12px 0;font-size:13px;line-height:1.5;display:grid}.instructions dt{color:#e6e7d7;font-weight:600}.instructions dd{color:#c5cbb9;margin:0}.instructions a{color:var(--orange);text-underline-offset:3px}.instructions a:hover{color:var(--ink)}dialog .keyboard-help{font-size:12px;line-height:1.8}kbd{color:#f0ebdb;background:#343e2d;border:1px solid #667057;border-radius:3px;padding:2px 4px;font:500 11px Barlow,sans-serif}dialog .fine-print{color:var(--muted);margin:17px 0;font-size:11px}.secondary-button,.primary-button{justify-content:center;align-items:center;gap:7px;min-height:44px;padding:9px 14px;font-size:12px;font-weight:500;display:inline-flex}.secondary-button{background:var(--well);color:var(--ink);border:1px solid #697357;text-decoration:none}.secondary-button:hover:not(:disabled){background:#414b36}.primary-button{color:#24291e;background:var(--orange)}.primary-button:hover{background:#f3c87a}.boot{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:17px;min-height:100dvh;padding:35px;display:flex}.boot h1{font:600 38px Barlow Condensed,sans-serif}.boot .brand-logo{width:280px;max-width:100%;height:64px}.boot p{color:var(--muted);max-width:42ch;font-size:15px;line-height:1.5}.world-switch{width:100%;margin-bottom:16px}.world-picker{max-width:1220px;margin:0 auto;padding:32px 36px 48px}.picker-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding-bottom:26px;display:flex}.picker-header>p{color:var(--muted);font-size:13px}.picker-header .brand-logo{width:224px;height:52px}.picker-layout{grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);gap:52px;padding-top:46px;display:grid}.picker-choice h1{letter-spacing:-.02em;margin-bottom:14px;font:600 48px/1.05 Barlow Condensed,sans-serif}.picker-choice>p{color:var(--muted);max-width:42ch;font-size:14px;line-height:1.6}.picker-choice form{margin-top:28px}.picker-choice fieldset{border:0;min-width:0;margin:0;padding:0}.picker-choice legend{color:var(--muted);margin-bottom:10px;font-size:12px}#world-options{gap:4px;display:grid}.world-option{cursor:pointer;border:1px solid #0000;border-radius:3px;align-items:center;gap:12px;padding:14px 12px;display:flex}.world-option:hover{background:var(--well)}.world-option:has(input:checked){background:#3a4432;border-color:#737c5f}.world-option:has(input:focus-visible){outline:3px solid var(--orange);outline-offset:2px}.world-option input{width:18px;height:18px;accent-color:var(--orange);flex-shrink:0;margin:0}.world-option strong{font:600 23px/1.2 Barlow Condensed,sans-serif;display:block}.world-option small{color:var(--muted);margin-top:5px;font-size:12px;line-height:1.4;display:block}.start-choice{margin-top:24px}.start-choice label{color:var(--muted);margin-bottom:8px;font-size:12px;display:block}.start-choice select{background:var(--well);width:100%;min-height:48px;color:var(--ink);border:1px solid #737c5f;border-radius:3px;padding:10px 12px;font:500 16px Barlow,sans-serif}.start-choice p{color:var(--muted);margin-top:8px;font-size:12px;line-height:1.5}#launch-world{width:100%;min-height:48px;margin-top:22px;font-size:14px}.picker-choice .picker-rules{margin-top:16px;font-size:12px}#picker-notice{color:var(--orange);margin-top:14px}.preview-heading{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:16px;display:flex}.preview-heading h2{font:600 26px/1.15 Barlow Condensed,sans-serif}.preview-heading>span{color:var(--muted);font-variant-numeric:tabular-nums;flex-shrink:0;font-size:12px}.picker-preview figure{margin:0}#world-preview{background:#cdd2a8;border-radius:3px;width:100%;height:420px;display:block}.picker-preview figcaption{color:var(--muted);border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;gap:8px 16px;padding:12px 0;font-size:12px;line-height:1.5;display:flex}#preview-home{color:var(--ink)}#preview-places{color:var(--muted);margin-top:15px;font-size:12px;line-height:1.8}.picker-attribution{color:var(--muted);margin-top:22px;font-size:11px;line-height:1.6}.picker-attribution a{color:var(--ink);text-underline-offset:3px}@media (width<=900px){.world-picker{padding:24px}.picker-layout{grid-template-columns:minmax(250px,.9fr) minmax(0,1.1fr);gap:28px;padding-top:32px}.picker-choice h1{font-size:40px}.preview-heading{flex-wrap:wrap}}@media (width<=620px){.world-picker{padding:20px 16px 32px}.picker-header{padding-bottom:20px}.picker-header>p{display:none}.picker-header .brand-logo{width:192px;height:44px}.picker-layout{grid-template-columns:minmax(0,1fr);gap:34px;padding-top:26px}.picker-choice h1{font-size:38px}.world-option{padding:12px 10px}#world-preview{height:300px}}@media (width<=1120px){.topbar{gap:22px;padding:0 12px}.resources{gap:18px}.resource>div{display:block}.resource span{margin-top:2px;font-size:9px;display:block}.objective{width:120px}.command-dock{grid-template-columns:210px minmax(0,1fr) 380px}.selection-panel{padding-left:12px;padding-right:12px}.selected-command{gap:11px}.portrait-frame{width:72px}.selected-description>span{font-size:11px}.game-clock{margin-right:3px}}@media (width<=900px){:root{--hud-height:460px}.topbar{gap:16px}.objective{display:none}.resource{gap:6px}.resource strong{font-size:20px}.game-clock{font-size:12px}.start-button{min-width:112px;padding:0 11px}.simulation-controls{gap:2px}.command-dock{grid-template-rows:194px 264px;grid-template-columns:210px minmax(0,1fr)}.minimap-panel{grid-area:1/1}#minimap{height:112px}.selection-panel{grid-area:1/2;padding-top:9px;padding-bottom:5px}.portrait-frame{width:68px;height:79px}.selected-command{min-height:79px}.unit-selection{padding-top:0}.selection-heading{height:24px}.command-panel{border-left:0;border-top:1px solid var(--line);grid-area:2/1/auto/-1;padding:9px 12px}.command-actions{grid-template-rows:repeat(2,62px);grid-template-columns:repeat(6,minmax(0,1fr))}}@media (width<=760px){:root{--topbar-height:102px}.topbar{flex-wrap:wrap;gap:4px 16px;padding:7px 12px}.topbar .brand-logo{width:112px;height:26px}.wordmark-context{font-size:8px}.resources{gap:22px;margin-left:auto}.resource>div{align-items:baseline;gap:6px;display:flex}.resource span{font-size:10px;display:inline}.resource>svg{width:19px;height:19px}.objective{display:none}.simulation-controls{flex-basis:100%;justify-content:flex-end;gap:5px;margin:0}.game-clock{margin-right:auto}.start-button{min-width:128px}.map-legend{display:none}.combat-alert{top:auto;bottom:calc(var(--hud-height) + 24px);max-width:calc(100% - 24px);right:12px}.arena:has(.combat-alert:not([hidden])) .order-hint{display:none}.region-button>span{font-size:21px}.region-button{gap:9px;min-height:50px}.map-caption{top:12px;left:12px}.order-hint{bottom:calc(var(--hud-height) + 28px);font-size:10px}.sidebar{width:280px;padding:14px;top:74px;left:12px}}@media (width<=620px){:root{--hud-height:448px}.workspace{min-height:650px}.command-dock{grid-template-rows:182px 264px;grid-template-columns:144px minmax(0,1fr)}.minimap-panel{padding:9px 8px}#minimap{height:103px;margin-top:6px}.minimap-panel>p{margin-top:5px;font-size:8px;line-height:1.3}.minimap-panel .section-heading h2{font-size:10px}.selection-panel{padding:8px 10px 5px}.portrait-frame{width:52px;height:69px}.portrait-frame>span{font-size:8px}.selected-command{gap:9px;min-height:69px}.selected-description strong{font-size:20px}.selected-description>span{margin-top:5px;font-size:10px;line-height:1.3}.unit-stats{gap:10px;margin-top:7px}.unit-stats dt{font-size:9px}.unit-stats dd{font-size:12px}.selection-heading{height:22px}.selection-heading h2{font-size:9px}.selection-heading h2 span{margin-left:3px}.inline-button{padding:0 3px;font-size:9px}.unit-list{gap:4px}.unit-button{min-width:48px;height:44px;padding:2px 4px}.unit-button img,.unit-thumb-wrap{width:31px;height:32px}.unit-button>span{font-size:9px}.unit-button>span:not(.unit-thumb-wrap){display:none}.unit-button small{font-size:8px}.command-panel{padding:10px 12px}.command-heading{gap:8px}.command-heading h2{flex-shrink:0;font-size:11px}.command-actions{grid-template-rows:repeat(2,62px);grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}.recruit-art{width:16px;height:22px}.recruit-name{font-size:9px}.command-button{gap:5px;font-size:10px}.recruit-button{gap:0}.sidebar{bottom:calc(var(--hud-height) + 35px);max-width:calc(100% - 76px)}.instructions div{grid-template-columns:1fr;gap:5px}dialog{padding:22px}dialog h2{font-size:29px}}@media (width<=390px){.resources{gap:12px}.resource span{font-size:9px}.resource strong{font-size:18px}.wordmark-context{font-size:7px}.command-dock{grid-template-columns:132px minmax(0,1fr)}.selection-heading h2{font-size:0}.selection-heading h2 span{margin-left:0;font-size:9px}.selected-description strong{font-size:18px}}@media (width<=360px){.topbar{grid-template-rows:38px 44px;grid-template-columns:96px minmax(0,1fr);display:grid;position:relative}.topbar .brand-logo{width:96px}.resources{gap:8px;margin-right:52px}.resource>div{display:block}.resource span{margin-top:2px;font-size:8px;display:block}.simulation-controls{grid-column:1/-1;gap:3px;min-width:0}#sound-toggle{position:absolute;top:5px;right:12px}.start-button{min-width:120px}.command-dock{grid-template-columns:112px minmax(0,1fr)}.portrait-frame{width:44px}.selected-description strong{font-size:16px}.unit-stats{gap:8px}.recruit-art{display:none}.recruit-button strong,.recruit-time{text-align:center;left:0;right:0}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important}}.arena[data-building=true] .command-actions{display:none}.build-placement{flex-direction:column;justify-content:space-between;gap:6px;height:130px;display:flex}.build-placement[hidden]{display:none}.build-placement>strong{color:var(--orange);font-size:13px}.build-placement p{color:var(--ink);margin:0;font-size:12px;line-height:1.35}.build-placement>div{gap:8px;display:flex}.build-placement button{flex:1;min-width:0}.build-button>strong{color:var(--orange);font-size:9px;position:absolute;top:3px;right:3px}.build-button[aria-pressed=true]{border-color:var(--orange)}.village-order>span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.unit-thumb-wrap[data-kind=tower] img,.portrait-frame img[data-kind=tower]{object-fit:fill;width:200%;max-width:none;height:100%}.unit-button[data-building=true]{border-color:var(--orange)}
