@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;450;500;550;600;650;700;750;800&display=swap');
:root{font-family:'Be Vietnam Pro',sans-serif;color:#e7e5db;background:#151a18;font-synthesis:none;--surface:#1b211e;--line:#30382f;--muted:#8c978a;--coral:#e7866c;--gold:#d3b16c;--green:#8ba590}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid var(--gold);outline-offset:4px}button:disabled{cursor:not-allowed}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}.topbar{border-bottom:1px solid #30362e;background:#171c19}.topbar-inner{max-width:1336px;height:88px;margin:auto;padding:0 40px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px;color:#eae8de;text-decoration:none;font-size:19px;font-weight:750;letter-spacing:2px}.brand-seal{width:43px;height:43px;border:1px solid var(--coral);border-radius:9px;display:grid;place-items:center;color:var(--coral);font:32px Georgia,serif;transform:rotate(-4deg)}.brand small{display:block;font-size:8px;letter-spacing:3.4px;color:var(--muted);margin-top:4px}.nav-label{display:flex;align-items:center;gap:11px;font-size:10px;letter-spacing:1.8px;color:#c9cbbf}.nav-line{width:24px;height:1px;background:var(--coral)}.alpha{margin-left:8px;font-size:8px;letter-spacing:1px;border:1px solid #3e4438;color:#aaa58b;padding:5px 7px;border-radius:4px}.help-button{border:0;background:transparent;color:#aaaFA5;display:flex;align-items:center;gap:8px;font-size:11px;padding:10px}.help-button:hover{color:#fff}.help-button svg{width:17px}main{max-width:1336px;padding:0 40px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;padding:31px 0 26px}.eyebrow{font-size:8px;letter-spacing:2.1px;color:#a1a58f;font-weight:600;display:flex;align-items:center;gap:7px}.eyebrow>span{width:5px;height:5px;border-radius:50%;background:var(--coral)}h1{font-size:27px;line-height:1.4;letter-spacing:-.9px;font-weight:550;margin:9px 0 6px}h1 em{font-style:normal;color:#d4b77e}.page-heading p{font-size:11px;margin:0;color:var(--muted)}.match-label{display:flex;align-items:center;gap:8px;font-size:8px;letter-spacing:1.3px;color:#a4ae9e}.live-dot{height:5px;width:5px;border-radius:50%;background:#97ae86;box-shadow:0 0 10px #8caa7040}.match-no{color:#64715e;margin-left:10px}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start}.battle-panel{border:1px solid #384032;border-radius:11px;overflow:hidden;background:#1c231e}.army-header{display:flex;align-items:center;justify-content:space-between;height:75px;padding:0 25px}.enemy-header{border-bottom:1px solid #354030;background:#20281f}.army-identity{display:flex;gap:12px;align-items:center}.faction-icon{width:37px;height:37px;border-radius:50%;font:25px Georgia,serif;display:grid;place-items:center}.faction-icon.enemy{border:1px solid #74866c;color:#a6ba97;background:#343f31}.faction-icon.player{border:1px solid #9b6250;color:#e8a08b;background:#402c25}.army-identity strong{font-size:10px;font-weight:650;letter-spacing:1.2px;display:flex;align-items:center;gap:7px}.army-identity small{font-size:8px;color:var(--muted);display:block;margin-top:6px}.bot-tag,.you-tag{font-size:7px;letter-spacing:.5px;padding:3px 5px;border-radius:3px;font-weight:500}.bot-tag{background:#354030;color:#b0bca5}.you-tag{background:#44312a;color:#e3a38c}.commander-health{width:200px}.commander-health>span{display:flex;align-items:center;font-size:7px;color:#9fac93;letter-spacing:.5px;gap:5px}.commander-health b{margin-left:auto;font-size:8px;font-weight:500;letter-spacing:0;color:#bcc6b0}.dot{width:5px;height:5px;border-radius:50%;display:inline-block;flex-shrink:0}.dot.green{background:#96b08a}.dot.coral{background:var(--coral)}.health-track{height:4px;border-radius:5px;background:#384034;margin-top:8px;overflow:hidden}.health-track>i{display:block;width:100%;height:100%;background:#92aa7f;transition:width .3s}.player-health>span{color:#b0907e}.player-health b{color:#d0ad99}.player-health .health-track{background:#43332b}.player-health .health-track>i{background:var(--coral)}.board-wrap{position:relative;background:#2a3529;aspect-ratio:1.19;overflow:hidden}.board-wrap canvas{display:block;width:100%;height:100%;touch-action:manipulation;cursor:pointer}.board-corner{position:absolute;width:14px;height:14px;pointer-events:none;opacity:.6}.top-left{top:13px;left:13px;border-top:1px solid #8d9267;border-left:1px solid #8d9267}.top-right{top:13px;right:13px;border-top:1px solid #8d9267;border-right:1px solid #8d9267}.bottom-left{bottom:13px;left:13px;border-bottom:1px solid #8d9267;border-left:1px solid #8d9267}.bottom-right{bottom:13px;right:13px;border-bottom:1px solid #8d9267;border-right:1px solid #8d9267}.board-badge{position:absolute;top:10px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:6px;background:#20291fe0;border:1px solid #58604760;border-radius:4px;padding:5px 10px;font-size:6px;letter-spacing:1.3px;color:#c7c8ab;white-space:nowrap;pointer-events:none}.status-dot{width:4px;height:4px;background:#c6b987;border-radius:50%}.status-dot.running{background:#b1cf9d;animation:pulse 2s infinite}@keyframes pulse{50%{box-shadow:0 0 8px #b1cf9d70;opacity:.5}}.player-header{border-top:1px solid #354030;background:#24261e}.battle-toolbar{height:58px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;background:#1b211c;border-top:1px solid #343b30}.match-time{display:flex;align-items:center;gap:7px;font-size:10px;font-variant-numeric:tabular-nums;color:#d6d5c5}.match-time svg{width:14px;color:#8d9b84}.muted{color:#7e8b76;font-size:9px}.toolbar-divider{width:1px;height:13px;background:#3d4437;margin:0 6px}.battle-controls{display:flex;align-items:center;gap:8px}.icon-button,.speed-button{border:0;background:transparent;color:#9aa58f;width:30px;height:30px;display:grid;place-items:center;border-radius:4px}.icon-button{position:relative}.icon-button svg{width:15px;height:15px}.icon-button:hover,.speed-button:hover{background:#323b2d;color:#eee}.speed-button{font-size:11px;font-weight:600}.sound-slash{position:absolute;font-size:22px;transform:rotate(12deg);color:#baa890;top:0;right:6px}.start-button{background:var(--coral);border:1px solid #ed9a81;color:#20241c;display:flex;align-items:center;gap:9px;padding:10px 18px;border-radius:5px;font-size:10px;font-weight:700;min-width:118px;justify-content:center}.start-button:hover{background:#f19e83}.play-icon{font-size:9px}.sidebar{display:flex;flex-direction:column;gap:15px}.treasury-card{background:#22271e;border:1px solid #454533;border-radius:8px;padding:17px 19px;display:flex;align-items:center;justify-content:space-between}.section-label{font-size:7px;color:#9fa58f;font-weight:500;letter-spacing:1px}.gold-amount{display:flex;align-items:center;gap:7px;margin-top:8px}.gold-amount svg{width:21px;height:21px;color:var(--gold)}.gold-amount strong{font-size:29px;font-weight:600;color:#e1c285;line-height:1.1;letter-spacing:-1px;font-variant-numeric:tabular-nums}.gold-amount>span{font-size:9px;color:#a19c7f;margin:8px 0 0 3px}.income{font-size:10px;color:#b7c59d;background:#343d29;border:1px solid #454c37;padding:6px;border-radius:4px}.income small{font-size:8px;color:#91a07d}.upgrade-card,.intel-card{border:1px solid #394031;border-radius:8px;background:#1c231d;padding:20px}.card-heading{display:flex;align-items:center;justify-content:space-between}.card-heading h2{font-size:9px;letter-spacing:1.2px;font-weight:650;margin:0}.selection-hint{font-size:6px;letter-spacing:.8px;color:#7c8973}.lane-selector{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin-top:17px}.lane-button{height:42px;border:1px solid #3f4939;border-radius:5px;background:#242e23;position:relative;color:#9ca58a;font:24px Georgia,serif}.lane-button>small{position:absolute;right:3px;bottom:3px;font:7px 'Be Vietnam Pro',sans-serif;color:#b2af8c}.lane-button:hover{border-color:#b18265}.lane-button.selected{background:#49362b;border-color:var(--coral);color:#efa48a;box-shadow:inset 0 0 12px #e7866c08}.lane-button.destroyed{opacity:.35}.selected-camp{display:flex;align-items:center;gap:16px;padding:24px 0 19px}.camp-token{width:65px;height:65px;border:1px solid #8d6046;border-radius:50%;display:grid;place-items:center;color:#e7a17e;background:radial-gradient(circle at 40% 35%,#594333,#302d23);box-shadow:0 0 0 4px #3d3627,0 0 0 5px #615139,inset 0 0 0 5px #46392a;position:relative;flex-shrink:0}.camp-token>span{font:39px Georgia,serif;line-height:1}.camp-token>i{position:absolute;right:-3px;bottom:-4px;width:20px;height:20px;display:grid;place-items:center;border-radius:50%;border:2px solid #22291e;background:#c19e5e;color:#25271c;font:700 9px 'Be Vietnam Pro',sans-serif}.selected-camp h3{font-size:19px;font-weight:550;letter-spacing:-.6px;margin:6px 0}.selected-camp .section-label{font-size:6px;letter-spacing:.7px}.level-label{font-size:8px;color:#b2ad93;display:flex;align-items:center;gap:3px}.level-dots{display:flex;gap:3px;margin-left:7px}.level-dots i{width:4px;height:4px;background:#414935;border-radius:1px}.level-dots i.on{background:#cbae72}.camp-hp-row{display:flex;justify-content:space-between;font-size:7px;color:#89977e}.camp-hp-row>span:last-child{color:#b9bea5;font-variant-numeric:tabular-nums}.camp-health-track{height:3px;background:#343f2f;margin:7px 0 17px;border-radius:3px;overflow:hidden}.camp-health-track i{height:100%;width:100%;background:#7b8e68;display:block;transition:width .3s}.unit-stats{display:flex;flex-direction:column;gap:13px}.unit-stats>div{display:flex;justify-content:space-between;align-items:center;font-size:9px}.unit-stats>div>span{display:flex;align-items:center;gap:8px;color:#a7ad96}.unit-stats svg{width:13px;height:13px;color:#7e9073}.unit-stats strong{font-size:11px;font-weight:500;color:#d4d5bf}.unit-stats small{font-size:9px;font-weight:400;color:#a2b986;margin-left:8px}.unit-stats small.seconds{font-size:7px;color:#89987c;margin-left:2px}.spawn-status{display:flex;align-items:center;gap:8px;padding:18px 0}.spawn-progress{height:3px;flex:1;background:#39442f;border-radius:4px;overflow:hidden}.spawn-progress i{height:100%;width:0;display:block;background:#b1b584}.spawn-status>span{font-size:6px;color:#97a181;white-space:nowrap}.spawn-dot{height:4px;width:4px;display:block;border-radius:50%;background:#94a779}.upgrade-button{border:1px solid #ceaf70;background:#d1b375;color:#25291c;width:100%;padding:12px 11px;border-radius:5px;display:flex;justify-content:space-between;align-items:center;font-size:10px;font-weight:600;transition:background .15s}.upgrade-button>span{display:flex;gap:6px;align-items:center}.upgrade-button svg{width:14px;height:14px}.upgrade-button:hover{background:#e6c789}.upgrade-button:disabled{background:#333a2b;border-color:#4a523d;color:#829072}.upgrade-note{text-align:center;font-size:6px;color:#818d74;margin:11px 0 0;line-height:1.6}.intel-card{padding:18px 19px}.force-balance{display:flex;justify-content:space-between;margin-top:19px;font-size:8px;color:#98a48a}.force-balance>span{display:flex;align-items:center;gap:6px}.force-balance b{color:#c6cbb5;font-weight:500}.balance-track{height:4px;border-radius:4px;background:#7c9371;margin-top:10px;overflow:hidden}.balance-track i{height:100%;width:50%;display:block;background:var(--coral);transition:width .3s}.intel-grid{display:grid;grid-template-columns:1fr 1fr;margin-top:20px}.intel-grid>div+div{padding-left:18px;border-left:1px solid #363f2f}.intel-grid strong{font-size:20px;font-weight:500;color:#dddecb;display:block;line-height:1.1}.intel-grid strong>span{font-size:11px;color:#6f8063}.intel-grid div>span{font-size:7px;color:#8b987b;display:block;margin-top:8px}.field-note{display:flex;gap:11px;padding:1px 6px}.field-note>svg{width:19px;height:19px;flex-shrink:0;color:#7e8b6b;margin-top:2px}.field-note p{font-size:8px;line-height:1.9;color:#829077;margin:0}.field-note strong{color:#b4b8a1;font-weight:500}.field-note p>span{color:var(--coral);font-family:serif}footer{display:flex;justify-content:space-between;align-items:center;padding:21px 0 27px;font-size:7px;color:#6c7b63;letter-spacing:.3px}footer>span:first-child{display:flex;align-items:center;gap:6px}.footer-dot{height:4px;width:4px;border-radius:50%;background:#7e8d6c}footer>span:last-child{font-size:6px;letter-spacing:1.4px}footer i{font-style:normal;color:#a28a57;margin:0 7px}.toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#e6d3a5;color:#24291e;padding:13px 22px;border-radius:6px;box-shadow:0 4px 30px #0005;font-size:11px;transition:.2s;z-index:10}.toast.show{opacity:1;transform:translate(-50%,0)}.board-overlay{position:absolute;inset:0;background:#172019ec;display:flex;align-items:center;justify-content:center;flex-direction:column;z-index:3;text-align:center;padding:25px;backdrop-filter:blur(4px)}.board-overlay[hidden]{display:none}.overlay-mark{font:64px Georgia,serif;color:#d5b674;margin-bottom:15px}.board-overlay h2{font-size:38px;font-weight:500;color:#e2c48b;margin:15px 0}.board-overlay p{font-size:11px;color:#9eae92;max-width:300px;line-height:1.9;margin:0 0 25px}.primary-button{display:flex;justify-content:space-between;gap:40px;border:0;background:var(--coral);padding:14px 22px;border-radius:5px;font-size:11px;font-weight:600;color:#22271c}.primary-button:hover{background:#eea185}dialog{max-width:490px;width:calc(100% - 36px);background:#222b20;color:#e3dfc9;border:1px solid #5b6244;border-radius:12px;padding:35px}dialog::backdrop{background:#0b100bd0;backdrop-filter:blur(5px)}.dialog-close{position:absolute;right:15px;top:10px;background:transparent;color:#b3b89c;border:0;font-size:25px}.dialog-close:hover{color:#fff}dialog h2{font-weight:500;font-size:26px;line-height:1.5;margin:12px 0}dialog ol{padding-left:20px;font-size:11px;color:#a8b199;line-height:1.9}dialog li{padding:6px 0 6px 6px}dialog li strong{color:#d8c18e;font-weight:500}dialog .primary-button{margin-top:22px;width:100%}@media(min-width:1500px){.topbar-inner,main{max-width:1390px}.game-layout{grid-template-columns:minmax(0,1fr) 320px}.board-wrap{aspect-ratio:1.27}.sidebar{gap:17px}.upgrade-card{padding:23px}.army-header{height:78px}.treasury-card{padding:21px}.intel-card{padding:21px}}@media(max-width:1100px){main,.topbar-inner{padding-left:25px;padding-right:25px}.game-layout{grid-template-columns:minmax(0,1fr) 270px;gap:15px}.board-wrap{aspect-ratio:1.02}.army-header{padding:0 16px}.commander-health{width:165px}.upgrade-card{padding:17px}.camp-token{width:58px;height:58px}.selected-camp{gap:13px}.selection-hint{font-size:5px}.battle-toolbar{padding:0 12px}.battle-controls{gap:4px}.start-button{padding:10px 12px;min-width:105px}.match-time{gap:5px}.toolbar-divider{margin:0 3px}h1{font-size:24px}}@media(max-width:800px){.topbar-inner{height:73px}.nav-label{display:none}.page-heading{padding:25px 0 21px}h1{font-size:25px}.page-heading .eyebrow{font-size:7px;letter-spacing:1.5px}.match-label{display:none}.game-layout{grid-template-columns:minmax(0,1fr) 240px;gap:13px}.board-wrap{aspect-ratio:.78}.army-header{height:68px;padding:0 12px}.army-identity{gap:8px}.faction-icon{width:30px;height:30px;font-size:22px}.army-identity strong{font-size:8px;gap:5px}.army-identity small{font-size:6px}.commander-health{width:120px}.commander-health>span{font-size:5px}.commander-health b{font-size:6px}.battle-toolbar{height:auto;padding:10px;gap:10px;flex-wrap:wrap}.battle-controls{margin-left:auto}.match-time{font-size:8px}.muted{font-size:7px}.upgrade-card{padding:15px}.card-heading h2{font-size:8px}.selection-hint{font-size:4.5px}.selected-camp .section-label{font-size:5px}.selected-camp h3{font-size:17px}.camp-token{width:53px;height:53px}.camp-token>span{font-size:33px}.selected-camp{gap:13px;padding:23px 0 18px}.lane-selector{gap:5px}.lane-button{height:35px;font-size:22px}.unit-stats{gap:14px}.unit-stats>div{font-size:8px}.unit-stats small{font-size:8px}.intel-card{padding:16px}.field-note p{font-size:7px}.intel-grid div>span{font-size:6px}}@media(max-width:620px){main,.topbar-inner{padding-left:16px;padding-right:16px}.topbar-inner{height:68px}.brand{font-size:17px}.brand-seal{width:36px;height:36px;font-size:28px}.brand small{font-size:7px}.help-button{font-size:10px;padding-right:0}.page-heading{padding:24px 0 20px}h1{font-size:24px;letter-spacing:-.8px}.page-heading p{font-size:10px}.game-layout{grid-template-columns:1fr;gap:14px}.board-wrap{aspect-ratio:1.02}.army-header{height:64px;padding:0 16px}.army-identity strong{font-size:9px}.army-identity small{font-size:7px}.commander-health{width:155px}.commander-health>span{font-size:6px}.commander-health b{font-size:7px}.battle-toolbar{padding:10px 12px;flex-wrap:nowrap}.battle-controls{gap:3px}.start-button{min-width:103px;font-size:9px}.icon-button,.speed-button{width:25px}.sidebar{display:grid;grid-template-columns:1fr;gap:12px}.treasury-card{padding:14px 18px}.gold-amount{margin-top:5px}.gold-amount strong{font-size:25px}.upgrade-card{padding:20px}.card-heading h2{font-size:10px}.selection-hint{font-size:7px}.lane-selector{gap:9px}.lane-button{height:43px;font-size:26px}.selected-camp .section-label{font-size:7px}.selected-camp{gap:20px;padding:25px 0 21px}.selected-camp h3{font-size:22px}.camp-token{width:64px;height:64px}.camp-token>span{font-size:39px}.unit-stats>div{font-size:10px}.unit-stats strong{font-size:12px}.unit-stats small{font-size:10px}.unit-stats svg{width:15px;height:15px}.spawn-status{padding:20px 0}.spawn-status>span{font-size:7px}.upgrade-button{padding:14px;font-size:11px}.upgrade-note{font-size:7px}.intel-grid div>span{font-size:8px}.field-note p{font-size:9px}.field-note{padding:7px}footer{font-size:6px;line-height:1.7;gap:15px;padding-bottom:20px}footer>span:last-child{display:none}.board-badge{font-size:5px}.toast{width:max-content;max-width:90%;font-size:10px;text-align:center}.board-overlay h2{font-size:30px}}
/* Keep the complete battlefield and its controls visible on laptop screens. */
@media(min-width:900px) and (max-height:1150px){main,.topbar-inner{max-width:1120px}.topbar-inner{height:67px}.page-heading{padding:19px 0 20px}.page-heading h1{font-size:24px}.army-header{height:59px}.battle-toolbar{height:51px}.board-wrap{aspect-ratio:1.38}.treasury-card{padding:13px 17px}.sidebar{gap:12px}.upgrade-card{padding:17px}.selected-camp{padding:19px 0 15px}.unit-stats{gap:11px}.spawn-status{padding:15px 0}.intel-card{padding:16px}.intel-grid{margin-top:16px}.field-note p{font-size:7px}footer{padding:16px 0}}
[hidden]{display:none!important}.deployment-bar{border:1px solid #424735;background:#20281f;border-radius:8px;margin:0 0 18px;padding:16px 18px 11px;display:flex;align-items:center;gap:22px;flex-wrap:wrap}.reserve-group,.defense-group{display:flex;align-items:center;gap:14px}.deployment-title{display:flex;flex-direction:column;gap:7px;flex-shrink:0}.deployment-title .eyebrow{font-size:7px;letter-spacing:1.2px;color:#cbc6a7}.deployment-title small{font-size:7px;color:#8b9a7d}.reserve-list,.defense-list{display:flex;gap:7px}.reserve-piece{border:1px solid #535744;border-radius:5px;background:#2e382a;color:#d4b78c;min-width:45px;height:51px;padding:4px 5px;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;gap:3px}.reserve-piece>span{font:25px Georgia,serif}.reserve-piece>small{font-size:6px;color:#a2ad8c;white-space:nowrap}.reserve-piece>i{font:600 7px 'Be Vietnam Pro',sans-serif;position:absolute;right:3px;top:3px;color:#dec18c}.reserve-piece:hover,.reserve-piece.selected{border-color:#e69a73;background:#4a3a2b}.reserve-piece.deployed{border-color:#7a8c5a;background:#333e2a}.reserve-piece.dead{opacity:.35}.defense-group{padding-left:18px;border-left:1px solid #434b36}.defense-list{gap:5px}.defense-piece{min-width:31px;height:36px;border-radius:50%;padding:3px;border:1px solid #69714f;background:#313d2b;color:#cfc7a2;font:22px Georgia,serif}.defense-piece:hover,.defense-piece.selected{border-color:#e3a37a;background:#523e2c;color:#efc395}.defense-piece:disabled{opacity:.4;cursor:default}.auto-deploy-button{border:1px solid #766d4c;border-radius:5px;background:#3b3d2a;color:#d5c592;font-size:8px;padding:11px 10px;margin-left:auto;display:flex;gap:10px;align-items:center}.auto-deploy-button:hover{border-color:#c5aa72;background:#4a4930}.auto-deploy-button:disabled{opacity:.45}.deployment-instruction{width:100%;display:flex;justify-content:space-between;gap:10px;border-top:1px solid #38442e;padding-top:10px;font-size:8px;color:#9ba98a;line-height:1.7}.deployment-instruction.placing{color:#efd09b}.deployment-instruction button{color:#e4a680;background:transparent;border:0;font-size:8px;padding:0;white-space:nowrap}.tactic-description{font-size:9px;color:#b7b99d;line-height:1.9;margin:0 0 20px}.tactic-card .selected-camp{padding-bottom:17px}.tactic-card .unit-stats{gap:14px}.tactic-card .unit-stats strong{font-size:10px}.tactic-rule{font-size:8px;padding:11px 9px;background:#323c27;border:1px solid #465139;border-radius:4px;color:#bfc89f;line-height:1.7;margin:18px 0 15px}.tactic-actions{display:flex;gap:7px;justify-content:space-between;margin-top:14px}.tactic-actions button{border:1px solid #4c563e;color:#b6c39c;background:transparent;border-radius:4px;font-size:8px;padding:8px 9px;flex:1}.tactic-actions button:hover{background:#313d29}.tactic-actions button:disabled{opacity:.4}.tactic-card .unit-stats small{margin-left:5px;font-size:8px}.deployment-bar+.game-layout .battle-panel{scroll-margin-top:10px}dialog{max-height:90svh;overflow:auto}@media(min-width:900px) and (max-height:1150px){.deployment-bar{padding:11px 14px 9px;gap:12px;margin-bottom:14px}.reserve-group,.defense-group{gap:10px}.reserve-piece{min-width:39px;height:44px}.reserve-piece>span{font-size:23px}.defense-piece{min-width:29px;height:31px;font-size:20px}.deployment-title .eyebrow{font-size:6px}.deployment-title small{font-size:6px}.defense-group{padding-left:12px}.deployment-instruction{font-size:7px;padding-top:7px}.page-heading{padding:15px 0}.board-wrap{aspect-ratio:1.62}}@media(max-width:1100px){.deployment-bar{gap:15px}.defense-group{padding-left:12px}.deployment-title{display:none}.auto-deploy-button{font-size:7px;padding:10px}.reserve-piece{min-width:37px}.defense-piece{min-width:28px;height:30px;font-size:19px}}@media(max-width:800px){.deployment-bar{gap:12px;padding:12px}.defense-group{border-left:0;padding-left:0}.reserve-list{gap:5px}.reserve-piece{min-width:37px}.auto-deploy-button{margin-left:0}.deployment-instruction{font-size:7px}.board-wrap{aspect-ratio:.9}}@media(max-width:620px){.deployment-bar{margin-bottom:14px;gap:12px}.reserve-group{width:100%;display:block}.deployment-title{display:flex;flex-direction:row;justify-content:space-between;align-items:center;margin-bottom:10px}.deployment-title .eyebrow{font-size:7px}.deployment-title small{font-size:7px}.reserve-list{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.reserve-piece{min-width:0;height:53px}.reserve-piece>span{font-size:26px}.reserve-piece>small{font-size:6px}.defense-group{flex:1;gap:10px}.defense-group .deployment-title{display:none}.defense-piece{min-width:30px;height:32px;font-size:21px}.auto-deploy-button{padding:10px 8px;margin-left:auto;font-size:7px}.deployment-instruction{font-size:8px}.tactic-description{font-size:10px}.tactic-rule{font-size:9px}.tactic-card .unit-stats strong{font-size:12px}.tactic-actions button{font-size:10px;padding:10px}.board-wrap{aspect-ratio:1.02}}
/* 3D battlefield: warm eSport9 timber, ivory relief, clear opposing colors. */
.mode-switch{display:flex;gap:4px;padding:4px;background:#202820;border:1px solid #414936;border-radius:7px;flex-shrink:0}.mode-switch button{border:0;border-radius:4px;background:transparent;color:#94a18b;font-size:10px;padding:11px 14px;white-space:nowrap}.mode-switch button.active{background:#d2b37b;color:#272b20;font-weight:650}.mode-switch span{font-size:6px;letter-spacing:1px;margin-left:5px;opacity:.7}.energy-card{padding:17px 19px;border:1px solid #4f6d63;background:linear-gradient(130deg,#243c33,#202c26);border-radius:8px}.energy-card-head{display:flex;justify-content:space-between;align-items:center}.energy-card .section-label{color:#b2d4bb;font-size:8px}.energy-regen{font-size:8px;color:#a3d1b9}.energy-number{display:flex;align-items:baseline;gap:8px;margin:10px 0 12px}.energy-number>span{font-size:26px;color:#b4e3b4}.energy-number strong{font-size:32px;line-height:1;color:#e0f2cc;font-weight:600;font-variant-numeric:tabular-nums}.energy-number small{font-size:12px;color:#8daf9b}.energy-track{height:5px;border-radius:6px;background:#172c23;overflow:hidden}.energy-track i{width:100%;height:100%;display:block;background:linear-gradient(90deg,#8cb99a,#d1efb8);transition:width .15s}.energy-card p{font-size:8px;line-height:1.7;color:#9eba9c;margin:10px 0 0}.army-energy{color:#b0d9c6;border-left:1px solid #57634c;margin-left:7px;padding-left:7px}.army-energy b{font-weight:500}.battle-feed{border:1px solid #3c4c3b;border-radius:8px;padding:17px;background:#1d281f}.battle-feed .card-heading h2{font-size:8px}.battle-feed .section-label{font-size:6px}#battle-log{max-height:180px;overflow:auto;scrollbar-width:thin;scrollbar-color:#53644a transparent;margin-top:12px}.feed-entry{display:flex;align-items:flex-start;gap:7px;font-size:8px;line-height:1.8;padding:7px 0;border-bottom:1px solid #35442d}.feed-entry:last-child{border:0}.feed-entry time{font-size:7px;color:#7f9477;padding-top:2px}.feed-team{width:5px;height:5px;border-radius:50%;margin-top:7px;flex-shrink:0}.team-0{background:#e48a69}.team-1{background:#8fc5ce}.feed-entry>span{color:#c9cfb7;flex:1}.feed-entry strong{display:block;font-size:7px;font-weight:500;color:#98aa88}.feed-entry b{float:right;font-size:8px;font-weight:500;color:#b1d7a7}.feed-empty{font-size:9px;color:#8c9d81;line-height:1.8;margin:4px 0 8px}.energy-cost{color:#b0d8a2;display:block;font-size:8px;font-weight:600;position:absolute;bottom:-16px;left:0;width:100%}.reserve-piece{margin-bottom:15px;transition:opacity .2s,border-color .2s}.reserve-piece.unaffordable{opacity:.48}.reserve-piece:disabled{cursor:default}.reserve-piece:disabled:hover{background:#2e382a;border-color:#535744}.board-wrap{aspect-ratio:1.22!important;background:#19201e;min-height:450px}.board-wrap canvas{touch-action:none;cursor:grab}.board-wrap canvas:active{cursor:grabbing}.board-corner{display:none}.board-badge{top:13px;font-size:7px;padding:7px 10px;background:#19271ee8;border-color:#65734d85;z-index:2}.view-controls{position:absolute;right:14px;bottom:14px;display:flex;gap:2px;background:#1b2923e8;padding:3px;border:1px solid #71816470;border-radius:5px;z-index:2}.view-controls button{background:transparent;color:#a6baa3;border:0;border-radius:3px;font-size:8px;padding:7px 9px}.view-controls button.active{background:#516046;color:#f0e1b8}.view-controls button:hover{color:#fff}.board-interaction-hint{position:absolute;left:16px;bottom:19px;font-size:8px;color:#c6c3a0;pointer-events:none}.topbar-inner{height:70px}.page-heading{padding:20px 0}.page-heading h1{font-size:25px}.treasury-card{padding:12px 17px}.gold-amount strong{font-size:25px}.army-header{height:63px}.battle-toolbar{height:54px}.deployment-bar{padding:13px 16px 10px;gap:16px}.field-note{display:none}.sidebar{gap:12px}.board-overlay{z-index:4}main,.topbar-inner{max-width:1480px}.game-layout{grid-template-columns:minmax(0,1fr) 290px;gap:20px}.upgrade-card{padding:18px}.selection-hint{font-size:5px}.deployment-title small{font-size:7px}.reserve-group,.defense-group{gap:13px}.reserve-piece{min-width:43px}.defense-group{padding-left:20px}.start-button{min-width:120px}.army-header .army-identity small{font-size:8px}.army-identity{gap:10px}@media(min-width:900px) and (max-height:1150px){main,.topbar-inner{max-width:1360px}.topbar-inner{height:64px}.page-heading{padding:16px 0}.page-heading h1{font-size:23px}.board-wrap{aspect-ratio:1.28!important;min-height:450px}.deployment-bar{padding:11px 14px 9px}.reserve-piece{height:43px;min-width:40px}.energy-card{padding:15px 17px}.energy-number strong{font-size:29px}.energy-number{margin:8px 0 10px}.energy-card p{font-size:7px}.battle-feed{padding:15px}.selected-camp{padding:17px 0 14px}.army-header{height:58px}.battle-toolbar{height:50px}.board-badge{font-size:6px}}@media(max-width:1000px){.mode-switch button{font-size:9px;padding:9px}.page-heading h1{font-size:22px}.game-layout{grid-template-columns:minmax(0,1fr) 250px}.board-wrap{aspect-ratio:.92!important;min-height:440px}.defense-group{padding-left:0}.reserve-piece{min-width:36px}.army-energy{font-size:6px}.army-header{padding:0 12px}}@media(max-width:800px){.page-heading{align-items:flex-start;flex-direction:column;gap:17px}.mode-switch{align-self:stretch;justify-content:stretch}.mode-switch button{flex:1}.game-layout{grid-template-columns:minmax(0,1fr) 230px;gap:12px}.board-wrap{aspect-ratio:.77!important;min-height:420px}.army-header .army-identity small{font-size:6px}.army-energy{display:block;border:0;padding:0;margin:4px 0 0}.army-header{height:71px}.commander-health{width:100px}.army-identity strong{font-size:7px}.battle-toolbar{height:auto}.board-badge{font-size:5px}.view-controls button{font-size:7px;padding:6px}.board-interaction-hint{display:none}}@media(max-width:620px){.topbar-inner{height:64px}.page-heading{padding:20px 0 17px}.page-heading h1{font-size:24px}.mode-switch button{font-size:10px}.deployment-bar{gap:12px;padding:12px}.reserve-piece{height:49px;min-width:0;margin-bottom:18px}.reserve-piece>span{font-size:25px}.defense-group{padding-left:0;gap:9px}.game-layout{grid-template-columns:1fr;gap:12px}.board-wrap{aspect-ratio:.87!important;min-height:0}.board-badge{font-size:5px;max-width:70%;white-space:normal;text-align:center;line-height:1.5;justify-content:center}.army-header{height:64px;padding:0 14px}.army-identity strong{font-size:9px}.army-header .army-identity small{font-size:7px}.army-energy{display:inline-block;border-left:1px solid #57634c;margin:0 0 0 6px;padding-left:6px}.commander-health{width:135px}.army-identity{gap:7px}.army-header .faction-icon{width:30px;height:30px}.battle-toolbar{padding:11px 12px}.start-button{min-width:115px}.view-controls{right:10px;bottom:10px}.view-controls button{font-size:8px;padding:7px 8px}.sidebar{display:flex}.energy-card{order:0}.battle-feed{order:1}.treasury-card{order:2}#camp-card,#tactic-card{order:3}.intel-card{order:4}.energy-card-head .section-label{font-size:9px}.energy-card p{font-size:9px}.battle-feed .card-heading h2{font-size:9px}.feed-entry{font-size:10px}.feed-entry time,.feed-entry strong{font-size:8px}.energy-number strong{font-size:32px}.upgrade-card{padding:20px}.board-interaction-hint{display:block;bottom:49px;font-size:6px;left:12px}}
@media(min-width:900px){.board-wrap{height:min(680px,calc(100svh - 300px));aspect-ratio:auto!important;min-height:460px}.battle-toolbar{border-top:0;border-bottom:1px solid #374b36}}
