@font-face{font-family:'Barlow Condensed';src:url('./fonts/BarlowCondensed-Bold.ttf') format('truetype');font-style:normal;font-weight:700;font-display:swap}
:root{color-scheme:dark;--ink:#142c27;--edge:#0b201e;--panel:#263f3c;--light:#3d5650;--gold:#efc563;--mint:#b4dacc;--red:#ee9a7f;--text:#f5edcd;--muted:#bdc6ac;--font:'Trebuchet MS',Arial,sans-serif;background:#152c27;color:var(--text);font-family:var(--font);font-size:14px}
*{box-sizing:border-box}html{min-height:100%;scroll-behavior:smooth}body{margin:0;min-width:280px;overscroll-behavior-x:none}button,input,select,textarea{font:inherit}button{font-family:'Barlow Condensed','Arial Narrow',sans-serif;font-size:19px;font-weight:700;border:2px solid var(--edge);border-radius:6px;background:#435c52;color:#f3eccb;box-shadow:inset 0 2px #758775,inset 0 -3px #2b403b,0 3px 0 #071e1a;min-height:44px;padding:9px 15px;cursor:pointer;display:inline-flex;gap:8px;justify-content:center;align-items:center;line-height:1.08;touch-action:manipulation;transition:filter .12s,transform .12s}
button:hover:not(:disabled){filter:brightness(1.13)}button:active:not(:disabled){transform:translateY(2px);box-shadow:inset 0 1px #758775,inset 0 -1px #2b403b,0 1px 0 #071e1a}button:disabled{opacity:.48;cursor:default;filter:saturate(.6)}button.primary{background:#e5b554;border-color:#382d1e;color:#2e3326;box-shadow:inset 0 3px #ffe9a0,inset 0 -4px #af7838,0 4px #152821}button.dark{background:#2a403a}button.subtle{background:transparent;box-shadow:none;border-color:transparent}button.danger{color:#ffb49a}button.small{font-size:16px;padding:6px 12px}button.active,button[aria-current=page]{background:#526e59;color:#ffdf84;border-color:#efd075;box-shadow:inset 0 2px #7f9770,inset 0 -3px #354d3b,0 3px #071e1a}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,textarea:focus-visible{outline:3px solid #fff2a3;outline-offset:3px}
h1,h2,h3,p{margin:0}h1,h2,h3{font-family:'Barlow Condensed','Arial Narrow',sans-serif;font-weight:700;line-height:1.05}h1{font-size:44px;text-transform:uppercase}h2{font-size:30px}h3{font-size:23px}p{line-height:1.55}.small,small{font-size:12px}.muted{color:var(--muted)}.gold{color:var(--gold)}.mint{color:var(--mint)}a{color:#cce4c7}input,select,textarea{width:100%;min-width:0;background:#172f2a;border:2px solid #708571;border-radius:4px;padding:11px;color:var(--text);min-height:44px}summary{cursor:pointer;min-height:44px;padding:10px 0;font-family:'Barlow Condensed',sans-serif;font-size:18px}input[type=file]{font-size:13px}input::file-selector-button{background:#d4b969;color:#25372c;border:0;padding:8px;font:700 15px 'Barlow Condensed';margin-right:8px}.game-icon{width:22px;height:22px;flex:none}.row{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.stack{display:grid;gap:15px}
.game-shell{max-width:1800px;min-height:100svh;margin:auto;background:#1a332c;box-shadow:0 0 0 3px #091d17}.game-header{height:68px;background:#233d36;box-shadow:inset 0 2px #4e6854;display:flex;gap:16px;align-items:center;justify-content:space-between;border-bottom:3px solid #0e2821;padding:8px 24px;position:relative;z-index:15}.game-brand{border:0;box-shadow:none;background:transparent;padding:0;gap:10px;color:#f3d988;font-size:27px;letter-spacing:1px;min-width:0}.game-brand>.game-icon{width:34px;height:34px;color:#efd377}.resources{display:flex;align-items:center;gap:18px}.resource{display:flex;align-items:center;gap:8px;min-width:55px}.resource>.game-icon{width:28px;height:28px}.resource b{font-family:'Barlow Condensed',sans-serif;font-size:24px;line-height:1.05;font-variant-numeric:tabular-nums}.resource small{display:block;font-family:'Barlow Condensed';font-size:11px;letter-spacing:1px;color:#b8c9b1}.resource.renown>.game-icon{color:#acdadc}.resource.gold>.game-icon{color:#f5d378}.icon-button{width:42px;height:42px;min-height:42px;padding:8px;font-size:27px;flex:none}.mission-name{margin-right:auto;border-left:2px solid #5e7b58;padding-left:18px;font-family:'Barlow Condensed';line-height:1}.mission-name small{display:block;text-transform:uppercase;font-size:16px;color:#dcdaba}.mission-name b{display:block;font-size:25px;color:#ffe3a1;margin-top:3px}
.game-nav{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px;background:#192f29;border-bottom:2px solid #0f261f}.game-nav button{min-width:132px;background:#304b40;font-size:20px}.game-main{padding:26px clamp(16px,4vw,60px) 35px;max-width:1500px;margin:auto}.game-footer{display:flex;justify-content:center;gap:18px;align-items:center;padding:12px;color:#829c87;font:700 12px 'Barlow Condensed';letter-spacing:1px;min-height:36px}.screen-home .game-main,.screen-army .game-main{max-width:none;padding:0}.screen-home .game-footer{display:none}.in-arena .game-footer{display:none}.page-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.eyebrow{font-family:'Barlow Condensed';font-size:15px;letter-spacing:1.3px;color:#d2bd7f;margin-bottom:5px}.page-head p{font-size:13px;color:var(--muted);margin-top:8px}.panel{background:var(--panel);border:3px solid #132d25;border-radius:8px;padding:20px;box-shadow:inset 0 2px #5e765d,0 4px #0c211b}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.pill{display:inline-flex;padding:6px 10px;border:1px solid #658268;background:#152e27;color:#cde2b9;font-family:'Barlow Condensed';font-size:17px;border-radius:4px}.field{display:grid;gap:8px;margin:14px 0}.notice{padding:14px;border:2px solid #917b46;background:#4b4c31;color:#f6e9b9;border-radius:6px;margin-bottom:20px;line-height:1.5}
.title-screen{position:relative;min-height:650px;height:calc(100svh - 68px);overflow:hidden;background:#7f9f5b}.title-screen #world-canvas,.results-screen #world-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.title-vignette{position:absolute;inset:0;background:linear-gradient(90deg,#0a261de3,#153a285c 47%,#102b1a00 72%);pointer-events:none}.title-menu{position:relative;padding-top:35px;margin-left:6%;width:390px;max-width:86%;z-index:2}.title-crest{display:flex;gap:12px;align-items:center;color:#e0e6b7;font:700 16px 'Barlow Condensed';letter-spacing:4px;margin-bottom:12px}.title-crest>.game-icon{width:32px;height:32px}.title-menu h1{font-size:110px;letter-spacing:1px;color:#ffe8a1;line-height:.8;-webkit-text-stroke:2px #203829;text-shadow:0 5px #162c21,3px 7px #122719;filter:drop-shadow(0 3px 0 #ac8545)}.title-menu h1>span{display:block;font-size:121px;margin-left:23px;color:#e9bd66}.title-rule{display:flex;align-items:center;gap:15px;color:#e6cc86;margin:18px 0}.title-rule i{height:2px;background:#aeb880;flex:1}.title-rule .game-icon{width:26px;height:26px}.title-buttons{display:grid;gap:12px}.big-play{font-size:25px;min-height:60px;letter-spacing:1px}.big-play>.game-icon{width:25px;height:25px}.title-buttons>.dark{flex-wrap:wrap;gap:6px}.title-buttons>.dark small{flex-basis:100%;font:700 12px var(--font);color:#c3cbaa}.title-links{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:22px 0 16px}.title-links button{flex-direction:column;gap:7px;background:#203d2feb;font-size:20px;padding:10px}.title-links .game-icon{width:25px;height:25px;color:#d9dcb8}.starting-party{display:flex;justify-content:center;flex-wrap:wrap;position:relative;padding-bottom:21px}.starting-party span{width:55px;margin:0 4px}.starting-party svg{width:100%;height:auto;filter:drop-shadow(0 3px #1b2e20)}.starting-party small{position:absolute;bottom:0;left:0;width:100%;text-align:center;color:#cbdbb2;font:700 12px 'Barlow Condensed';letter-spacing:2px}.title-status{position:absolute;right:30px;bottom:30px;display:grid;gap:8px;text-align:right;font:700 20px 'Barlow Condensed';color:#ffffcb;text-shadow:0 2px #284029}.title-status span{font-size:15px;letter-spacing:2px}.game-empty{min-height:65vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:25px}.game-empty>svg{width:140px;height:140px}
.campaign-layout{display:grid;grid-template-columns:minmax(0,1fr) 275px;gap:18px}.campaign-map{position:relative;min-height:510px;border:5px solid #36483b;border-radius:9px;background:#86a85c;box-shadow:0 4px #0a2018,inset 0 0 0 3px #e6cd91;overflow:hidden}.map-art{position:absolute;inset:0;width:100%;height:100%}.map-node{position:absolute;transform:translate(-50%,-50%);flex-direction:column;background:transparent!important;border:0!important;box-shadow:none!important;padding:0;gap:5px;width:155px;min-height:105px}.map-node:active:not(:disabled){transform:translate(-50%,-49%)}.node-0{left:14%;top:78%}.node-1{left:36%;top:57%}.node-2{left:65%;top:42%}.node-3{left:85%;top:23%}.node-medal{border:4px solid #293e2b;border-radius:50%;width:69px;height:69px;background:#ddbd70;box-shadow:inset 0 3px #ffe9a3,0 5px #263c2a;display:flex;align-items:center;justify-content:center;position:relative;color:#354a2d}.node-medal>.game-icon{width:32px;height:32px}.node-medal b{position:absolute;right:-8px;bottom:-5px;background:#243e2d;border:2px solid #dbc683;border-radius:50%;color:#ffe8ac;width:29px;height:29px;font-size:21px;padding-top:1px}.map-node.selected .node-medal{outline:3px solid #fff7c4;outline-offset:5px;background:#ffd579}.node-label{color:#fff6ce;text-transform:uppercase;font-size:19px;background:#2d4b37e8;padding:5px 8px;border:2px solid #173924;border-radius:4px;line-height:1.1}.map-node.locked .node-medal{background:#6d8477;color:#bac7b4;box-shadow:inset 0 3px #9aac97,0 5px #263c2a}.node-stars{color:#ffdc6d;font-size:20px;text-shadow:0 2px #374e2d}.map-title{position:absolute;bottom:12px;left:15px;color:#405d3b;font:700 20px 'Barlow Condensed';letter-spacing:3px}.map-compass{position:absolute;bottom:15px;right:20px;font:700 24px 'Barlow Condensed';color:#4a6844;text-align:center}.mission-panel{background:#30473d;border:3px solid #132e24;border-radius:8px;box-shadow:inset 0 2px #738264,0 4px #0d2119;padding:18px;display:flex;flex-direction:column;gap:12px}.mission-portrait{display:grid;justify-items:center;background:#192f2c;border:2px solid #50644f;padding:8px;border-radius:5px}.mission-portrait svg{width:115px;height:115px}.mission-portrait span{font:700 16px 'Barlow Condensed';color:#dec888;letter-spacing:2px}.mission-panel h2{font-size:29px;color:#ffe3a1}.mission-panel>p{font-size:13px;color:#c5cfb4}.mission-route{display:flex;gap:4px;margin-top:5px}.mission-route>span{width:32px;height:32px;display:grid;place-items:center;background:#19332c;border:1px solid #6b7f65;border-radius:4px;color:#a4b092}.mission-route .game-icon{width:17px;height:17px}.mission-route .won{color:#ffe186;background:#576841}.mission-facts{display:flex;justify-content:space-between;font:700 16px 'Barlow Condensed';color:#c5d3b6}.deploy-button{margin-top:8px;font-size:24px;height:56px}.seed-settings{font-size:12px;color:#aeb99c;margin-top:auto}.seed-settings summary{font-size:15px;min-height:35px}.endless-gate{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:20px 24px;margin-top:22px;border:3px solid #142824;border-radius:8px;background:#3a4050;box-shadow:inset 0 2px #7c7c8a,0 4px #0b231d}.endless-gate>div{display:grid;grid-template-columns:46px 1fr;align-items:center;gap:6px 10px}.endless-gate>div>.game-icon{grid-row:span 2;width:40px;height:40px;color:#f1c872}.endless-gate h2{font-size:29px}.endless-gate span{font-family:'Barlow Condensed';font-size:15px;color:#c0c3c4}
.arena{display:flex;flex-direction:column;background:#172e28}.arena-field{height:clamp(300px,46svh,560px);position:relative;overflow:hidden;background:#7b9f59;border-bottom:3px solid #183228}.arena-field canvas{display:block;width:100%;height:100%;touch-action:none}.army-hud{position:absolute;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;padding:10px 25px;background:#203c33e8;border-bottom:2px solid #12291fc4;pointer-events:none;height:56px}.army-hud .ally,.army-hud .enemy{display:flex;align-items:center;gap:15px;min-width:120px}.army-hud span{display:flex;align-items:center;gap:7px;font-family:'Barlow Condensed';font-size:18px;line-height:1}.army-hud b{font:700 26px 'Barlow Condensed';color:#ffe6a0}.army-hud .ally{color:#afd9ce}.army-hud .enemy{color:#ffbd9f}.wave-progress{display:flex;align-items:center;gap:7px}.wave-progress>i{width:18px;height:18px;border:2px solid #91a57e;border-radius:50%;background:#243c2d}.wave-progress>i.current{background:#ffe186;border-color:#fff1b8;box-shadow:0 0 0 3px #dbc06533}.wave-progress>i.complete{background:#8faa6d}.wave-progress>i .game-icon{width:17px;height:17px;vertical-align:top;margin-top:-2px}.wave-progress>span{margin-left:10px;font:700 19px 'Barlow Condensed';font-variant-numeric:tabular-nums}.field-label{position:absolute;top:68px;left:50%;transform:translateX(-50%);font:700 17px 'Barlow Condensed';letter-spacing:2px;color:#f6edba;text-shadow:0 2px #334831;background:#284938c9;border:2px solid #1f3a28;padding:5px 15px;border-radius:5px;pointer-events:none;white-space:nowrap}.boss-label{background:#713b2ddd;color:#ffdeb1;border-color:#542d25}.field-tools{position:absolute;right:14px;top:68px;display:flex;gap:5px}.field-tools .icon-button{width:36px;height:36px;min-height:36px;font-size:25px;background:#304b3fd9;color:#e6edb4;padding:5px}.field-tools .fit-button{font-size:14px}.field-tools [aria-pressed=true]{border-color:#e0cf76}.unit-inspector{position:absolute;bottom:12px;left:12px;max-width:460px;display:flex;gap:12px;align-items:center;padding:10px 12px;background:#203f35ed;border:2px solid #b1ad75;border-radius:6px;box-shadow:0 4px #132d24;color:#faf0cc}.unit-inspector>svg{width:56px;height:56px;flex:none}.unit-inspector>div{min-width:0;flex:1}.unit-inspector h3{font-size:24px}.unit-inspector p{font-size:11px;color:#c7d5b8;margin-top:5px;line-height:1.3}.unit-inspector>.icon-button{align-self:start;background:transparent;box-shadow:none;border:0;width:30px;height:30px;min-height:30px;padding:0}.unit-stats{display:flex;gap:12px;font:700 15px 'Barlow Condensed';color:#e9d584}.unit-stats span{display:flex;align-items:center;gap:4px}.unit-stats .game-icon{width:14px;height:14px}
.battle-controls{display:flex;align-items:center;justify-content:space-between;padding:7px 20px;gap:15px;background:#243d33;border-bottom:2px solid #102b20;min-height:55px}.speed-controls{display:flex;gap:4px}.speed-controls button{min-width:43px;padding:6px 8px;font-size:18px;min-height:36px}.speed-controls .game-icon{width:18px;height:18px}.supply-hud{display:flex;gap:5px;align-items:center;font:700 16px 'Barlow Condensed';color:#bcd4b3}.supply-hud .game-icon{width:19px;height:19px}.supply-hud b{font-size:23px;color:#e2deb0}.retreat-button{background:transparent;box-shadow:none;border-color:transparent;min-height:34px;font-size:16px;color:#c5b8a0}.command-deck{background:#263d32;border-top:1px solid #668064;box-shadow:inset 0 -3px #14291e}.deck-header{display:flex;justify-content:space-between;align-items:center;padding:7px 20px;gap:10px;border-bottom:1px solid #4c6348}.deck-tabs{display:flex;gap:6px}.deck-tabs button{font-size:19px;min-height:40px;padding:5px 14px}.deck-tabs .game-icon{width:19px;height:19px}.reroll-button{font-size:17px;min-height:38px;padding:6px 12px;color:#f4d28a}.reroll-button .game-icon{width:16px;height:16px}.deck-body{padding:12px 20px 6px}.shop-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px;overflow-x:auto;padding-bottom:6px;scroll-snap-type:x proximity;scrollbar-color:#9eac7b #193529;scrollbar-width:thin}.offer{background:#46513b;border:3px solid #10291c;border-radius:6px;min-width:0;padding:7px 7px 9px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:3px;box-shadow:inset 0 2px #768168,0 3px #10271c;scroll-snap-align:start}.offer.kind-item{background:#3d5150}.offer.kind-upgrade{background:#67543b}.offer.kind-relic{background:#4d485e}.offer-kind{font:700 11px 'Barlow Condensed';letter-spacing:1px;color:#cecfaa;text-transform:uppercase}.offer-art{height:63px;display:grid;place-items:center}.offer-art>svg{width:70px;height:70px}.offer-art>.game-icon{width:38px;height:38px;color:#ffe09a}.offer h3{font-size:20px;text-transform:uppercase;min-height:22px;overflow-wrap:anywhere}.offer>small{font:700 12px 'Barlow Condensed';color:#d3d5b3;min-height:15px;line-height:1.1;max-width:100%;flex:1}.offer .buy-button{width:100%;min-height:36px;padding:4px;margin-top:4px;background:#dfb965;color:#293724;border-color:#252d1b;box-shadow:inset 0 2px #fff0aa,inset 0 -3px #9d813f;font-size:22px}.offer.sold{opacity:.7}.offer.sold .buy-button{background:#4b6855;box-shadow:none;color:#d2e5bf;font-size:17px}.buy-button .game-icon{width:19px;height:19px}.upgrade-strip{display:flex;align-items:center;justify-content:center;gap:15px;flex-wrap:wrap;padding:5px;color:#bccbad;font:700 13px 'Barlow Condensed'}.upgrade-strip>span{color:#78977a}.deploy-dock{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:8px 20px 12px}.deploy-dock>span{font:700 13px 'Barlow Condensed';letter-spacing:1px;color:#b9caae}.fight-button{font-size:24px;min-width:210px;min-height:51px}.fight-button .game-icon{width:25px;height:25px}.combat-status{font:700 20px 'Barlow Condensed';display:flex;gap:8px;align-items:center;color:#c9d7b7}.status-dot{width:8px;height:8px;border-radius:50%;background:#bdda8d;box-shadow:0 0 0 3px #89b87b22}.army-list{display:flex;overflow-x:auto;gap:8px;padding-bottom:8px}.army-entry{flex:none;display:flex;align-items:center;gap:8px;padding:5px 10px;font-size:18px;text-align:left;background:#1a3729}.army-entry>svg{width:48px;height:48px}.army-entry>div>span{display:block}.army-entry small{font:700 13px 'Barlow Condensed';color:#cbbd84}.progress{height:5px;background:#162c23;margin-top:5px;border:1px solid #0f241a;border-radius:2px;width:100%}.progress>i{display:block;height:100%;background:#8cd5a3}.formation-editor{padding-top:2px;max-width:720px;margin:auto}.formation-editor summary{padding:6px 0;font-size:17px}.formation-editor summary small{font-family:var(--font);font-size:11px;font-weight:400;margin-left:10px;color:#c4ceb2}.formation-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;direction:rtl;margin-top:6px}.formation-cell{direction:ltr;position:relative;min-height:49px;height:56px;border:2px dashed #79926c;background:#173727;padding:0;box-shadow:none;font-size:24px;min-width:0}.formation-cell>svg{width:49px;height:49px}.formation-cell.selected{border:3px solid #ffe098;background:#556b3d}.slot-num{position:absolute;right:4px;bottom:2px;font:700 11px 'Barlow Condensed';color:#bac8a0}.formation-caption{display:flex;justify-content:space-between;color:#c1cdae;font:700 12px 'Barlow Condensed';margin:6px 0 10px}.items-deck{display:flex;align-items:stretch;gap:10px;min-height:145px;overflow-x:auto;padding-bottom:5px}.item-slot,.relic-slot{width:180px;flex:none;display:flex;flex-direction:column;align-items:center;gap:5px;padding:12px;background:#3d5350;border:3px solid #132d25;border-radius:5px;text-align:center}.item-slot .game-icon,.relic-slot .game-icon{width:34px;height:34px;color:#ffdf8d}.item-slot b,.relic-slot b{font:700 21px 'Barlow Condensed';text-transform:uppercase}.item-slot small,.relic-slot small{font:12px var(--font);color:#d3dbbe}.item-slot>span,.relic-slot>span{font:700 17px 'Barlow Condensed';color:#f5d890;margin-top:auto}.empty-items{display:flex;gap:20px;align-items:center;max-width:560px;margin:auto;color:#bbcfb5;font-size:14px;padding:30px}.empty-items>.game-icon{width:45px;height:45px;color:#729978}
.filters{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:15px}.filters button{font-size:16px;padding:6px 12px;min-height:40px}.barracks-layout{display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:22px}.roster-catalog{min-width:0}.troop-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:10px}.troop-card{position:relative;background:#3c5942;border:3px solid #102c20;box-shadow:inset 0 2px #748d64,0 4px #0d241b;padding:9px 4px 10px;min-height:156px;display:flex;flex-direction:column;gap:2px;min-width:0;justify-content:center}.troop-card>svg{width:83px;height:83px;max-width:95%;filter:drop-shadow(0 2px #172f21)}.troop-card>b{font-size:21px;line-height:1.05;text-transform:uppercase;overflow-wrap:anywhere;min-height:23px}.card-level{position:absolute;right:6px;top:5px;font-size:13px;color:#dbdfb0;z-index:1}.card-level>.game-icon{width:15px;height:15px}.card-stars{font-size:13px;color:#eacd78;line-height:1.3}.troop-card.locked{filter:saturate(.35);color:#c0c8b3}.troop-card.selected{border-color:#eed488;box-shadow:inset 0 0 0 1px #6c873f,0 4px #0d241b;background:#5e7448;filter:none}.troop-detail{background:#30493f;padding:20px;border:3px solid #112f23;box-shadow:inset 0 2px #789170,0 4px #0d261b;border-radius:7px;align-self:start;position:sticky;top:12px}.detail-portrait{display:grid;place-items:center;padding:5px;margin-bottom:12px;background:#1b372d;border:2px solid #5f775b;border-radius:5px}.detail-portrait>svg{width:125px;height:125px}.detail-portrait>span{font:700 15px 'Barlow Condensed';text-transform:uppercase;color:#c9d2ae;padding-bottom:9px;letter-spacing:2px}.troop-detail h2{color:#ffe0a0;text-transform:uppercase;font-size:32px}.troop-detail>p{font-size:13px;color:#d0dbc3;margin-top:10px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0;font:700 12px 'Barlow Condensed';color:#b7c7a2}.stats>span{display:flex;align-items:center;flex-direction:column;text-align:center;gap:3px}.stats .game-icon{width:21px;height:21px;color:#cfcb94}.stats b{font-size:26px;color:#e5e5bb}.tier-track{display:flex;gap:4px;margin-bottom:15px}.tier-track button{flex:1;min-width:0;padding:6px 2px;font-size:15px;min-height:38px}.tier-track .current{color:#ffde92;border-color:#d6c471}.tier-track button:disabled{opacity:1}.troop-actions{display:grid;gap:10px}.troop-actions button{font-size:23px}.troop-actions .game-icon{width:18px;height:18px}.evo-info{margin-top:18px;padding-top:14px;border-top:2px solid #62795c}.evo-info b{font:700 19px 'Barlow Condensed';color:#dac37f}.evo-info p{font-size:12px;color:#c2d0b0;margin-top:5px}.evolution-list{display:grid;gap:8px}.evolution-list>div{padding:9px;border-left:3px solid #708b69;background:#264233}.evolution-list>div.current{border-color:#eecf85;background:#455c3d}.evolution-list b{font:700 17px 'Barlow Condensed';color:#dedcaf}.evolution-list p{font-size:11px;color:#c1cfb4;margin-top:4px}.loadout-panel{margin-top:24px}.loadout-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.loadout-grid .field{margin:0;text-align:center;font:700 15px 'Barlow Condensed';min-width:0;align-items:center;justify-items:center}.loadout-grid svg{width:70px;height:70px}.loadout-grid select{font:14px var(--font);padding:8px}.loadout-grid .field span{color:#bfcbaa}
.achievement-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px}.achievement{background:#374d3b;border:3px solid #102b1d;box-shadow:inset 0 2px #708165,0 4px #0e2218;border-radius:7px;padding:20px;text-align:center;display:flex;align-items:center;flex-direction:column}.achievement .medal{display:grid;place-items:center;font-size:40px;width:75px;height:75px;color:#ffd992;border:4px solid #d8bd72;border-radius:50%;background:#496846;box-shadow:0 3px #1a3927;margin:0 auto 15px}.achievement.locked{filter:saturate(.4);color:#b5c2ac}.achievement h3{font-size:26px}.achievement p{font-size:12px;color:#c1cdb1;margin:9px 0 18px;flex:1}.achievement button{width:100%;font-size:18px}.results-screen{position:relative;min-height:630px;display:grid;place-items:center;overflow:hidden;background:#648748}.result-banner{position:relative;z-index:1;text-align:center;width:490px;max-width:92%;padding:25px 30px;background:#203e30f2;border:4px solid #d6ba76;border-radius:8px;box-shadow:0 7px #192d1e}.result-medal{background:#c9a34f;border:5px solid #ffe296;border-radius:50%;width:92px;height:92px;display:grid;place-items:center;margin:0 auto 17px;box-shadow:0 5px #092519;color:#324427}.result-medal .game-icon{width:52px;height:52px}.result-banner>small{font:700 17px 'Barlow Condensed';color:#ced7ae;text-transform:uppercase}.result-banner h1{font-size:76px;color:#ffe09a;-webkit-text-stroke:1px #423b25;text-shadow:0 4px #142a1b;margin:8px 0}.result-stats{display:flex;justify-content:space-around;gap:20px;padding:16px 0 24px}.result-stats b{display:block;color:#f4d786;font:700 38px 'Barlow Condensed'}.result-stats span{font:700 13px 'Barlow Condensed';color:#c3d0ab}.result-banner>button{width:100%;margin-top:10px}.result-banner>p{font-size:12px;color:#cbd7b7;margin-top:15px}.defeat .result-banner h1{color:#f3bda1}.defeat .result-medal{background:#9d7552;border-color:#d9b891}.settings-shortcuts{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:22px}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.settings-grid h3{font-size:27px}.settings-grid p{font-size:13px;color:#c3d1b8;margin:13px 0 18px}.settings-grid .field{font-size:13px;color:#cad5b4}.agent-status{margin:15px 0;color:#d8dcaa;font-size:13px}.scroll{overflow-x:auto}.log-table{width:100%;border-collapse:collapse;font-size:12px}.log-table td,.log-table th{text-align:left;padding:10px;border-bottom:1px solid #647c5e;overflow-wrap:anywhere}.log-table th{font:700 18px 'Barlow Condensed';color:#c7d3b4}.summary-line{font-size:12px;color:#c2caae;margin-top:10px}.modal-backdrop{position:fixed;inset:0;background:#061710ce;z-index:50;display:grid;place-items:center;padding:18px;overflow-y:auto}.modal{max-width:520px;width:100%;background:#304c3d;border:3px solid #d1bc7a;border-radius:8px;box-shadow:inset 0 2px #78916a,0 8px #09271b;padding:25px}.modal h2{font-size:34px;color:#ffdd98}.modal p{font-size:13px;color:#d6dfc5;margin:18px 0 22px}.export-data{height:160px;font:11px monospace;resize:vertical}.modal .row{margin-top:15px}.modal .row button{flex:1}#toast{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);z-index:100;max-width:calc(100% - 26px);border:2px solid #decb8c;background:#233f30;color:#fff1c7;border-radius:6px;padding:12px 20px;box-shadow:0 4px #13261a;font-size:14px;opacity:0;pointer-events:none;transition:opacity .12s}#toast.show{opacity:1}
@media(min-width:1500px){.title-menu{padding-top:7vh}.title-menu h1{font-size:130px}.title-menu h1>span{font-size:142px}.title-screen{min-height:720px}.arena-field{height:54svh}.shop-grid{gap:14px}.offer-art{height:75px}.offer-art>svg{width:84px;height:84px}}
@media(max-width:1100px){.game-brand{font-size:23px}.game-nav button{min-width:110px}.game-main{padding:23px 20px}.campaign-layout{grid-template-columns:minmax(0,1fr) 235px}.campaign-map{min-height:470px}.node-label{font-size:16px}.map-node{width:130px}.node-medal{width:58px;height:58px}.barracks-layout{grid-template-columns:minmax(0,1fr) 270px}.troop-grid{grid-template-columns:repeat(auto-fill,minmax(95px,1fr));gap:7px}.troop-card>b{font-size:18px}.shop-grid{grid-template-columns:repeat(7,minmax(112px,1fr))}.offer h3{font-size:19px}.deck-body{padding:10px 15px 5px}}
@media(max-width:700px){.game-header{height:60px;padding:6px 12px;gap:10px}.game-brand{font-size:23px;gap:6px}.game-brand>.game-icon{width:27px;height:27px}.resources{gap:9px}.resource{min-width:35px;gap:4px}.resource b{font-size:22px}.resource>.game-icon{width:21px;height:21px}.resource small{font-size:9px;letter-spacing:0}.game-header .icon-button{width:38px;height:38px;min-height:38px;padding:7px}.game-nav{position:fixed;bottom:0;left:0;right:0;z-index:25;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;padding:5px 5px calc(5px + env(safe-area-inset-bottom));border-top:3px solid #0b241b;border-bottom:0;min-height:64px;box-shadow:0 -2px #4d664d}.game-nav button{flex-direction:column;gap:4px;padding:5px 0;font-size:14px;border:0;box-shadow:none;min-width:0;min-height:51px;background:transparent}.game-nav .game-icon{width:23px;height:23px}.game-nav button[aria-current=page]{color:#ffe4a0;background:#445f41}.game-main{padding:20px 13px 85px}.game-footer{display:none}.page-head h1{font-size:36px}.page-head p{font-size:12px}.page-head .eyebrow{font-size:13px}.page-head{align-items:start;margin-bottom:16px}.title-screen{height:calc(100svh - 60px);min-height:635px}.title-menu{margin:0 auto;max-width:88%;width:330px;padding-top:27px}.title-vignette{background:#0d2b21a3}.title-menu h1{font-size:94px;line-height:.83}.title-menu h1>span{font-size:102px;margin-left:18px}.title-crest{font-size:13px;letter-spacing:3px}.title-rule{margin:17px 0}.big-play{font-size:23px;min-height:56px}.title-links{margin:21px 0 12px}.title-links button{font-size:19px;min-height:64px}.starting-party span{width:47px;margin:0 3px}.title-status{display:none}.title-buttons{gap:11px}.campaign-layout{display:flex;flex-direction:column;gap:14px}.campaign-map{min-height:430px}.map-node{width:112px}.node-0{left:19%;top:78%}.node-1{left:39%;top:58%}.node-2{left:65%;top:41%}.node-3{left:80%;top:20%}.node-medal{width:56px;height:56px}.node-label{font-size:16px;max-width:112px}.map-title{font-size:14px;letter-spacing:1px;bottom:10px;left:12px}.map-compass{font-size:21px;bottom:7px;right:13px}.mission-panel{display:grid;grid-template-columns:88px minmax(0,1fr);gap:8px 13px;padding:13px}.mission-portrait{grid-row:span 3;padding:3px}.mission-portrait svg{width:78px;height:78px}.mission-portrait span{font-size:12px;letter-spacing:1px}.mission-panel h2{font-size:27px}.mission-panel>p{font-size:12px}.mission-route{margin:0}.mission-route>span{width:26px;height:26px}.mission-route .game-icon{width:16px;height:16px}.mission-facts{grid-column:2;font-size:14px}.mission-panel>.deploy-button,.mission-panel>.seed-settings,.mission-panel>button:not(.deploy-button){grid-column:1/-1;margin:3px 0 0}.mission-panel .deploy-button{min-height:52px}.seed-settings summary{padding:6px 0}.endless-gate{flex-direction:column;align-items:stretch;padding:17px;gap:15px}.endless-gate h2{font-size:27px}.endless-gate span{font-size:13px}.endless-gate button{font-size:22px}.in-arena .game-brand>span{display:none}.in-arena .game-brand>.game-icon{width:25px;height:25px}.mission-name{border:0;padding:0;margin-right:auto;max-width:40%;min-width:0}.mission-name small{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mission-name b{font-size:23px}.in-arena .resource small{display:none}.in-arena .resources{gap:8px}.in-arena .resource{gap:3px}.in-arena .resource b{font-size:20px}.in-arena .resource>.game-icon{width:18px;height:18px}.arena-field{height:clamp(280px,40svh,450px)}.army-hud{height:47px;padding:7px 12px}.army-hud .ally,.army-hud .enemy{min-width:0;gap:7px}.army-hud span{font-size:14px;gap:4px}.army-hud .game-icon{width:17px;height:17px}.army-hud b{font-size:23px}.wave-progress{gap:4px}.wave-progress>i{width:11px;height:11px;border-width:1px}.wave-progress>i .game-icon{width:11px;height:11px;margin-top:-1px}.wave-progress #battle-clock{font-size:15px;margin-left:4px}.field-label{top:54px;left:9px;transform:none;padding:5px 9px;font-size:13px;letter-spacing:1px;max-width:47%}.field-tools{top:53px;right:7px;gap:3px}.field-tools .icon-button{width:32px;height:34px;min-height:34px;font-size:23px;padding:5px}.field-tools .fit-button{font-size:12px}.field-tools .game-icon{width:19px;height:19px}.unit-inspector{left:7px;right:7px;bottom:7px;max-width:none;padding:6px 7px;gap:8px}.unit-inspector>svg{width:43px;height:43px}.unit-inspector h3{font-size:20px}.unit-inspector p{display:none}.unit-stats{font-size:13px;gap:8px}.battle-controls{padding:6px 8px;gap:6px;flex-wrap:wrap;min-height:49px}.speed-controls{gap:3px}.speed-controls button{min-width:33px;min-height:39px;padding:6px;font-size:16px}.speed-controls button:last-child{font-size:12px;min-width:37px}.speed-controls button:first-child{min-width:39px}.supply-hud{font-size:0;gap:2px;margin-left:auto}.supply-hud b{font-size:18px}.supply-hud .game-icon{width:16px;height:16px}.retreat-button{display:none}.deck-header{padding:8px;gap:4px}.deck-tabs{gap:4px}.deck-tabs button{min-height:44px;padding:7px 8px;font-size:17px;gap:5px}.deck-tabs .game-icon{width:17px;height:17px}.reroll-button{min-height:44px;padding:6px;font-size:16px;gap:4px;margin-left:auto}.reroll-button span{display:none}.reroll-button .game-icon{width:15px;height:15px}.deck-body{padding:8px 9px 6px}.shop-grid{display:flex;gap:7px;margin-right:-9px;padding-right:9px;padding-bottom:9px}.offer{flex:0 0 117px;min-height:172px;max-width:117px;padding:7px}.offer-art{height:68px}.offer-art>svg{width:77px;height:77px}.offer-kind{font-size:11px}.offer h3{font-size:21px}.offer>small{font-size:12px}.offer .buy-button{min-height:44px;font-size:23px}.upgrade-strip{font-size:12px;gap:7px;padding:7px 0}.upgrade-strip>span{display:none}.deploy-dock{position:sticky;bottom:0;z-index:20;background:#213c2ff5;border-top:2px solid #78875a;padding:8px 10px calc(8px + env(safe-area-inset-bottom));min-height:64px}.deploy-dock>span{font-size:12px;max-width:42%;letter-spacing:0;line-height:1.3}.fight-button{font-size:22px;min-width:0;min-height:49px;flex:1;padding:7px}.combat-status{font-size:20px}.command-deck{padding-bottom:0}.in-arena .game-main{padding-bottom:0}.arena{min-height:calc(100svh - 60px)}.items-deck{min-height:159px;gap:8px}.item-slot,.relic-slot{width:143px;min-height:170px}.empty-items{padding:22px 8px;font-size:12px;line-height:1.5;gap:15px}.empty-items>.game-icon{width:35px;height:35px}.army-entry{padding:6px;min-height:61px;font-size:17px}.army-entry>svg{width:45px;height:45px}.formation-editor summary{font-size:16px}.formation-editor summary small{display:block;margin:4px 0;font-size:11px}.formation-cell{height:54px;min-height:49px}.formation-cell>svg{width:43px;height:43px}.barracks-layout{display:flex;flex-direction:column;gap:18px}.troop-detail{position:static;order:-1;padding:14px;display:flow-root}.detail-portrait{float:left;width:88px;margin:0 13px 6px 0}.detail-portrait>svg{width:80px;height:80px}.detail-portrait>span{font-size:11px;letter-spacing:0;padding-bottom:6px}.troop-detail h2{font-size:28px;margin-top:2px}.troop-detail>p{font-size:12px;margin-top:7px;min-height:60px}.stats{clear:both;margin:11px 0;gap:8px;grid-template-columns:repeat(3,1fr)}.stats>span{display:grid;grid-template-columns:20px 1fr;gap:2px 5px;align-items:center}.stats b{font-size:23px}.stats .game-icon{width:17px;height:17px;grid-row:span 2}.troop-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.troop-actions button{font-size:19px;padding:9px 5px;min-height:49px}.troop-actions .game-icon{width:16px;height:16px}.evo-info{margin-top:14px;padding-top:10px}.evo-info b{font-size:18px}.evo-info p{font-size:11px}.evolution-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.evolution-list b{font-size:15px}.evolution-list p{font-size:10px;line-height:1.4}.evolution-list>div{padding:7px}.troop-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.troop-card{min-height:128px;padding:6px 2px}.troop-card>svg{width:66px;height:66px}.troop-card>b{font-size:16px;min-height:30px}.card-stars{font-size:11px}.card-level{font-size:11px;top:4px;right:4px}.card-level>.game-icon{width:13px;height:13px}.filters{gap:4px;margin-bottom:13px}.filters button{font-size:15px;padding:7px 9px;min-height:44px}.loadout-panel{padding:14px}.loadout-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.loadout-grid .field:last-child{grid-column:1/-1;max-width:50%;justify-self:center;width:100%}.loadout-grid select{font-size:12px}.loadout-grid .field{font-size:14px}.achievement-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.achievement{padding:13px 9px}.achievement .medal{width:58px;height:58px;font-size:29px;border-width:3px}.achievement h3{font-size:23px}.achievement p{font-size:11px}.achievement button{font-size:16px;padding:9px 4px;min-height:46px}.results-screen{min-height:600px}.result-banner{padding:23px 17px}.result-banner h1{font-size:64px}.result-stats{gap:10px}.result-stats b{font-size:33px}.result-stats span{font-size:11px}.settings-grid{grid-template-columns:1fr;gap:17px}.settings-shortcuts{gap:6px}.settings-shortcuts button{font-size:17px;padding:9px}.settings-grid .panel{padding:17px}.settings-grid p{font-size:12px}.settings-grid .row button{font-size:18px}.log-table{font-size:11px}.log-table td,.log-table th{padding:8px}.modal{padding:22px 17px}.modal h2{font-size:30px}.modal .row button{font-size:19px;padding:9px 7px}#toast{bottom:80px;font-size:12px;padding:11px 15px}}
@media(max-width:380px){.game-brand{font-size:21px}.game-brand>.game-icon{width:23px;height:23px}.resource b{font-size:21px}.resources{gap:7px}.title-menu{padding-top:22px}.title-menu h1{font-size:83px}.title-menu h1>span{font-size:92px}.title-screen{min-height:607px}.title-menu .title-links{margin-top:18px}.starting-party span{width:44px;margin:0 2px}.in-arena .mission-name small{font-size:11px}.in-arena .resources{gap:4px}.in-arena .resource{min-width:27px}.in-arena .game-header .icon-button{width:34px}.wave-progress>span{display:none}.army-hud span{font-size:12px}.deck-tabs button{font-size:15px;padding:7px 6px;gap:3px}.deck-tabs .game-icon{width:15px;height:15px}.speed-controls button{min-width:31px;padding:5px;font-size:15px}.speed-controls button:first-child{min-width:35px}.speed-controls button:last-child{min-width:34px}.supply-hud b{font-size:17px}.battle-controls{gap:3px}.troop-card>b{font-size:14px}.troop-card>svg{width:57px;height:57px}.game-nav button{font-size:13px}.game-nav .game-icon{width:22px;height:22px}}
@media(max-height:600px) and (min-width:701px){.arena-field{height:55svh;min-height:260px}.title-screen{min-height:600px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.speed-choices{display:flex;gap:4px}.mobile-speed{display:none}.in-arena .game-header{position:sticky;top:0}
@media(max-width:700px){.speed-choices{display:none}.mobile-speed{display:block;width:110px;min-height:44px;height:44px;padding:5px 9px;background:#425c49;color:#ffe198;border:2px solid #182f20;box-shadow:inset 0 2px #78916b,0 3px #0c231a;font:700 18px 'Barlow Condensed'}.speed-controls{gap:6px}.speed-controls button:first-child,.speed-controls button:last-child{width:44px;height:44px;min-width:44px;min-height:44px}.field-tools .icon-button{width:40px;height:44px;min-height:44px}.field-tools .game-icon{width:22px;height:22px}.game-header .icon-button{width:44px;height:44px;min-height:44px}.in-arena .game-header .icon-button{width:44px}.unit-inspector>.icon-button{width:44px;height:44px;min-height:44px}.resources{gap:7px}input,select,textarea,.loadout-grid select{font-size:16px}.deploy-dock{position:fixed;left:0;right:0;bottom:0}.command-deck{padding-bottom:75px}.field-tools{gap:2px;right:6px}.field-label{max-width:calc(100% - 179px);overflow:hidden;text-overflow:ellipsis}.barracks-layout{scroll-margin-top:12px}.troop-detail{scroll-margin-top:12px}}
@media(max-height:500px) and (max-width:1000px){.arena-field{height:240px;min-height:240px}.deploy-dock{position:sticky;bottom:0;z-index:20;background:#213c2ff5}.game-header{height:55px}.title-screen{height:auto;min-height:635px}}
.army-entry.selected{border-color:#e7cc7d;background:#4c6541}.unit-readout{border:2px solid #4c6b4e;padding:12px;background:#203f2e;max-width:620px;margin:7px auto 0;border-radius:5px}.readout-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;font:700 24px 'Barlow Condensed';text-transform:uppercase}.readout-heading>span{font-size:13px;color:#ccbda0}.readout-heading>span.ready{color:#cfed9a}.unit-readout p{font-size:12px;color:#c7d5b4;margin-top:7px}.weapon-stats{display:flex;justify-content:space-between;gap:15px;margin:12px 0;font:700 13px 'Barlow Condensed';color:#bed0a7}.weapon-stats>span{display:flex;align-items:center;gap:5px}.weapon-stats b{font-size:23px;color:#f3dfa3}.weapon-stats .game-icon{width:19px;height:19px;color:#bcca9c}.weapon-timer{height:5px;background:#102a1c;border:1px solid #0b2216;border-radius:2px;overflow:hidden}.weapon-timer>i{display:block;height:100%;background:#b2d593}.readout-empty{display:flex;align-items:center;justify-content:center;gap:12px;font:700 15px 'Barlow Condensed';color:#a3b998;min-height:65px}.readout-empty .game-icon{width:30px;height:30px}
@media(max-width:700px){.unit-readout{margin-top:9px;padding:11px}.readout-heading{font-size:23px;gap:8px}.readout-heading>span{font-size:11px;text-align:right}.unit-readout p{font-size:11px;line-height:1.4}.weapon-stats{gap:6px;margin:10px 0;font-size:11px}.weapon-stats b{font-size:22px}.weapon-stats .game-icon{width:17px;height:17px}.weapon-stats>span{gap:4px}}
@media(max-height:500px) and (max-width:1000px){
 .in-arena .game-main{padding:0}.arena{display:grid;grid-template-columns:minmax(0,1fr) min(300px,40vw);grid-template-rows:minmax(0,1fr) 53px;height:calc(100svh - 55px);min-height:0;overflow:hidden}.arena-field{grid-column:1;grid-row:1;height:100%;min-height:0}.battle-controls{grid-column:1;grid-row:2;padding:4px 6px;gap:6px;flex-wrap:nowrap}.retreat-button{display:none}.speed-choices{display:none}.mobile-speed{display:block;width:105px;min-height:44px;height:44px;padding:5px 8px;background:#425c49;color:#ffe198;border:2px solid #182f20;font:700 18px 'Barlow Condensed'}.speed-controls button:first-child,.speed-controls button:last-child{width:44px;height:44px;min-width:44px;min-height:44px}.supply-hud{font-size:0;gap:4px}.supply-hud b{font-size:19px}.supply-hud .game-icon{width:17px;height:17px}.command-deck{grid-column:2;grid-row:1/span 2;display:flex;flex-direction:column;min-width:0;padding-bottom:0;border-left:3px solid #10291e}.deck-header{padding:6px;gap:4px;flex:none}.deck-tabs{gap:3px;flex:1}.deck-tabs button{min-height:44px;padding:4px;font-size:15px;gap:2px;flex:1}.deck-tabs .game-icon{display:none}.reroll-button{min-height:44px;padding:4px;font-size:15px;gap:2px}.reroll-button span{display:none}.reroll-button .game-icon{width:13px;height:13px}.deck-body{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:8px}.shop-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;overflow:visible;margin:0;padding:0}.offer{width:auto;max-width:none;min-height:160px;padding:6px}.offer-art{height:59px}.offer-art>svg{width:65px;height:65px}.offer h3{font-size:19px}.offer .buy-button{min-height:44px;font-size:20px}.upgrade-strip{gap:6px;font-size:11px}.upgrade-strip>span{display:none}.deploy-dock{position:static;flex:none;padding:6px;min-height:57px}.deploy-dock>span{display:none}.fight-button{width:100%;min-width:0;min-height:44px;font-size:22px}.combat-status{width:100%;justify-content:center;font-size:18px}.army-hud{height:46px;padding:7px 10px}.army-hud .ally,.army-hud .enemy{min-width:0;gap:6px}.army-hud span{font-size:14px;gap:4px}.army-hud .game-icon{width:17px;height:17px}.army-hud b{font-size:23px}.wave-progress{gap:4px}.wave-progress>i{width:11px;height:11px;border-width:1px}.wave-progress>i .game-icon{width:11px;height:11px;margin-top:-1px}.wave-progress>span{display:none}.field-label{top:53px;left:8px;transform:none;font-size:13px;letter-spacing:1px;max-width:calc(100% - 180px)}.field-tools{top:51px;right:6px;gap:2px}.field-tools .icon-button{width:40px;height:44px;min-height:44px;font-size:23px}.field-tools .fit-button{font-size:13px}.unit-inspector{left:6px;right:6px;bottom:6px;max-width:none;padding:6px;gap:7px}.unit-inspector>svg{width:40px;height:40px}.unit-inspector h3{font-size:21px}.unit-inspector p{display:none}.unit-inspector>.icon-button{width:44px;height:44px;min-height:44px}.unit-stats{font-size:13px;gap:8px}.items-deck{flex-direction:column;overflow:visible;min-height:0}.item-slot,.relic-slot{width:100%;min-height:135px}.empty-items{padding:18px 6px;font-size:12px;gap:10px}.army-entry{font-size:16px;padding:5px}.army-entry>svg{width:38px;height:38px}.formation-editor{overflow-x:auto}.formation-grid{min-width:272px;gap:2px}.formation-cell{height:48px;min-height:44px}.formation-cell>svg{width:42px;height:42px}.formation-editor summary{font-size:14px}.formation-editor summary small{display:block;font-size:10px;margin:3px 0}.unit-readout{padding:9px}.readout-heading{font-size:21px;gap:8px}.readout-heading>span{font-size:10px}.weapon-stats{font-size:10px;gap:5px}.weapon-stats .game-icon{width:15px;height:15px}.weapon-stats b{font-size:20px}.unit-readout p{font-size:11px}
}

.recruit-note{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:0 0 9px;color:#c9d7b7;font:700 14px 'Barlow Condensed';letter-spacing:.4px}.recruit-note b{color:#f4d28a;white-space:nowrap}@media(max-width:700px){.recruit-note{font-size:12px;letter-spacing:0;gap:5px}.supply-hud{font-size:12px}}@media(max-width:380px){.supply-hud{font-size:0}}@media(max-height:500px) and (max-width:1000px){.recruit-note{flex-direction:column;align-items:start;font-size:12px}.supply-hud{font-size:12px}}

.collection-shop{margin-bottom:22px}.collection-shop .panel-title{align-items:start;gap:16px}.collection-shop .panel-title h3{font-size:30px}.collection-help{display:block;color:#bbcfb5;font-size:12px;margin-top:4px;line-height:1.5}.collection-offers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:14px}.collection-offer{padding:12px}.collection-offer .offer-art{height:98px}.collection-offer .offer-art>svg{width:107px;height:107px}.collection-offer h3{font-size:29px}.collection-offer small{font-size:14px;min-height:30px}.collection-footnote{font-size:12px;color:#bbcfb5;margin-top:12px}.copy-progress>b{font:700 24px 'Barlow Condensed';color:#ffe198}.copy-track{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:13px 0}.copy-track>span{text-align:center;border:2px solid #4b6650;padding:9px 2px;font:700 20px 'Barlow Condensed';color:#a4b09b}.copy-track small{display:block;font-size:12px;margin-top:4px}.copy-track .reached{background:#53603b;color:#ffe198;border-color:#d3b16b}.copy-progress>p{font-size:12px;color:#c9d7b7;line-height:1.6}.starter-panel{display:flex;align-items:center;gap:18px}.starter-panel>svg{width:92px;height:92px;flex:none}.starter-panel h3{font-size:28px}.starter-panel p{font-size:13px;color:#c9d7b7;line-height:1.6;margin-top:5px}.collection-offer .buy-button{font-size:23px;min-height:46px}
@media(max-width:700px){.collection-shop{padding:13px}.collection-shop .panel-title{flex-direction:column;gap:9px}.collection-shop .panel-title h3{font-size:27px}.collection-offers{display:flex;overflow-x:auto;padding-bottom:8px;gap:8px;scroll-snap-type:x proximity}.collection-offer{flex:0 0 158px;max-width:158px;padding:9px;scroll-snap-align:start}.collection-offer .offer-art{height:91px}.collection-offer .offer-art>svg{width:98px;height:98px}.collection-offer h3{font-size:26px}.collection-offer small{font-size:12px;line-height:1.3}.collection-offer .buy-button{font-size:21px}.collection-footnote{font-size:11px;line-height:1.5}.starter-panel{padding:14px;gap:10px;align-items:start}.starter-panel>svg{width:58px;height:58px}.starter-panel h3{font-size:23px}.starter-panel p{font-size:12px}}
@media(max-width:700px){.collection-offers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;gap:6px;padding-bottom:0}.collection-offer{width:auto;max-width:none;min-height:194px;padding:6px;gap:4px}.collection-offer .offer-art{height:69px}.collection-offer .offer-art>svg{width:74px;height:74px}.collection-offer h3{font-size:21px;min-height:38px;display:flex;align-items:center;justify-content:center;line-height:1.05}.collection-offer .offer-kind{font-size:10px;letter-spacing:.2px;min-height:24px;display:flex;align-items:center}.collection-offer small{font-size:11px;min-height:30px}.collection-offer .buy-button{font-size:18px;min-height:48px;line-height:1.2}.collection-offer .buy-button .game-icon{width:13px;height:13px}}@media(max-width:380px){.collection-offer{padding:4px}.collection-offer h3{font-size:18px}.collection-offer .offer-art>svg{width:63px;height:63px}.collection-offer .buy-button{font-size:17px}.collection-help{font-size:11px}}

.collection-buy-label{display:block}.collection-buy-label small{display:flex;align-items:center;justify-content:center;gap:4px;white-space:nowrap;font-size:inherit;color:inherit;min-height:0;margin-top:2px}@media(max-width:380px){.collection-offer h3{font-size:16px}}

.army-upgrades{margin:0 0 24px}.army-upgrades .panel-title h3{font-size:30px}.army-upgrade-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:15px}.army-upgrade-card{display:grid;grid-template-columns:40px minmax(0,1fr);gap:10px;padding:15px;background:#304c3a;border:2px solid #123120;border-radius:6px;box-shadow:inset 0 2px #718363}.army-upgrade-card>.game-icon{width:34px;height:34px;color:#e7cc83;margin-top:3px}.army-upgrade-card h3{font-size:25px}.upgrade-rank{font:700 13px 'Barlow Condensed';color:#bdcaab}.army-upgrade-card p{font-size:12px;line-height:1.5;color:#c5d1b5;margin:9px 0}.upgrade-value{display:flex;align-items:center;gap:9px;font:700 21px 'Barlow Condensed';color:#ffe3a2}.upgrade-value>span{font-size:16px;color:#abc59b}.army-upgrade-card>button{grid-column:1/-1;min-height:46px;font-size:22px}.unlock-modal{text-align:center;max-width:465px;border:4px solid #e5c877;background:radial-gradient(ellipse at 50% 30%,#63815a,#1b382b 75%);box-shadow:0 0 0 5px #213524,0 14px 65px #0009;animation:unlock-pop .22s ease-out}.unlock-modal h2{font-size:31px;letter-spacing:1px;color:#ffdfa0}.unlock-emblem{margin:13px auto;width:180px;height:180px;background:radial-gradient(circle,#ffe08a88,transparent 68%);display:grid;place-items:center}.unlock-emblem>svg{width:155px;height:155px;filter:drop-shadow(0 6px 4px #08241899)}.unlock-family{font:700 15px 'Barlow Condensed';letter-spacing:2px;color:#e5c88c;text-transform:uppercase}.unlock-modal h3{font-size:51px;text-transform:uppercase;color:#fff0bb;margin:7px 0}.unlock-modal p{font-size:14px;color:#d5dfbc;line-height:1.5}.unlock-use{display:flex;align-items:center;justify-content:center;gap:8px;margin:17px 0;font-size:12px;color:#c8d8b3}.unlock-use>.game-icon{width:22px;height:22px}.unlock-modal>button{width:100%;min-height:51px;font-size:25px}@keyframes unlock-pop{from{transform:scale(.92);opacity:.5}to{transform:scale(1);opacity:1}}@media(prefers-reduced-motion:reduce){.unlock-modal{animation:none}}
@media(max-width:700px){.army-upgrades{padding:13px}.army-upgrade-grid{grid-template-columns:1fr;gap:8px;margin-top:12px}.army-upgrade-card{padding:12px;gap:8px;grid-template-columns:32px minmax(0,1fr)}.army-upgrade-card>.game-icon{width:28px;height:28px}.army-upgrade-card h3{font-size:24px}.army-upgrade-card p{font-size:12px;margin:5px 0}.army-upgrade-card>button{min-height:46px;font-size:21px}.unlock-modal{padding:20px 17px}.unlock-modal h2{font-size:25px}.unlock-emblem{width:140px;height:140px;margin:7px auto}.unlock-emblem>svg{width:125px;height:125px}.unlock-modal h3{font-size:40px}.unlock-modal p{font-size:13px}.unlock-use{font-size:11px;line-height:1.5}}

.income-summary{display:flex;gap:12px;margin:16px 0}.income-summary>div{flex:1;display:flex;align-items:center;gap:9px;padding:10px;background:#203d31;border:2px solid #708260;border-radius:5px}.income-summary b{font:700 27px 'Barlow Condensed';color:#ffdfa0}.income-summary span{font:700 13px 'Barlow Condensed';color:#c3d3b2}.income-summary .game-icon{width:23px;color:#e4be72}.career-track{padding:12px;background:#1d352b;border:2px solid #415c41}.career-track>div:first-child{display:flex;justify-content:space-between;gap:10px;font:700 16px 'Barlow Condensed';color:#e4cf9a}.career-track .progress{margin:9px 0;height:8px}.career-track small{font-size:11px;color:#adc29f}.academy-tabs{display:flex;gap:7px;margin:17px 0}.academy-tabs button{flex:1;min-height:46px;font:700 19px 'Barlow Condensed';padding:7px}.academy-tabs .active{background:#e5c783;color:#183527;border-color:#f5dfa2}.result-income{font:700 19px 'Barlow Condensed';color:#e5c783;margin:10px 0 18px}@media(max-width:600px){.income-summary{gap:7px}.income-summary>div{flex-wrap:wrap;gap:5px;padding:8px}.income-summary span{width:100%;font-size:12px}.career-track>div:first-child{flex-direction:column;gap:4px}.academy-tabs{gap:4px}.academy-tabs button{font-size:15px;padding:7px 3px}.upgrade-value{flex-wrap:wrap}}
