/* Strategy: national economies and three military regiments. */
.strategy-screen #panel,.strategy-screen #panelRestore,.strategy-screen #playbackSpeed,.strategy-screen .hud,.strategy-screen .map-hint{display:none!important}
#strategy{position:absolute;inset:0;z-index:20;pointer-events:none;font:400 15px/1.5 var(--f-display);color:#f1f1e4;--st-green:#b5d99a;--st-line:#c7d1b42b}
#strategy *{box-sizing:border-box}#strategy button,#strategy input,#strategy select{font:inherit;color:inherit}
#strategy button{cursor:pointer;min-height:44px;border:1px solid var(--st-line);border-radius:11px;background:#18343d;padding:10px 15px;transition:background .15s,border-color .15s;touch-action:manipulation}
#strategy button:hover{background:#264852;border-color:#a0e3b299}#strategy button:disabled{opacity:.45;cursor:not-allowed}
#strategy button:focus-visible,#strategy input:focus-visible,#strategy select:focus-visible{outline:2px solid #f8cf75;outline-offset:3px}
#strategy h1,#strategy h2,#strategy h3,#strategy p{margin:0}#strategy h1{font-size:21px;line-height:1.2;letter-spacing:-.025em;margin-top:5px}#strategy h2{font-size:29px;line-height:1.12;letter-spacing:-.035em}#strategy h3{font-size:15px}#strategy p{color:#b0c7c4;font-size:14px;line-height:1.6}
#strategy img{width:31px;height:22px;object-fit:cover;border-radius:3px;flex-shrink:0}.st-eyebrow{display:block;font:600 10px/1.5 var(--f-mono);letter-spacing:.13em;color:var(--st-green)}
.st-header{position:absolute;inset:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 26px 17px 86px;background:linear-gradient(#071b26f5,#071b26ed);border-bottom:1px solid var(--st-line);pointer-events:auto}.st-header-actions{display:flex;align-items:center;gap:10px}.st-round{font:11px var(--f-mono);color:#aec9c0;margin-right:10px;white-space:nowrap}
.st-label{display:flex;flex-direction:column;gap:8px;color:#d3e1d5;font-size:12px;font-weight:600}#strategy select,#strategy input{width:100%;min-height:46px;background:#071d27;border:1px solid var(--st-line);border-radius:10px;padding:10px 12px;font-size:16px}
.st-country-list{display:flex;flex-direction:column;gap:8px;min-height:90px;max-height:260px;overflow-y:auto;flex-shrink:0}.st-setup .st-country-list{min-height:160px;max-height:280px}#strategy .st-country{display:flex;align-items:center;gap:12px;padding:12px;text-align:left;flex-shrink:0;min-height:66px;background:#16313b80}.st-country>span{flex:1;min-width:0;font-weight:600}.st-country small{display:block;color:#a8beba;font:10px/1.6 var(--f-mono);margin-top:3px}.st-country>b{color:var(--st-green);font-size:20px}#strategy .st-primary{background:#b5d99a;color:#102c27;font-weight:700;border-color:#c2e6a6}#strategy .st-primary:hover{background:#c4e7ab;color:#102c27}#strategy .st-notice{color:#93aaa8;font-size:11px;line-height:1.5}
.st-rules{border-top:1px solid var(--st-line);padding-top:12px;font-size:12px;color:#d7e5d8}.st-rules summary{cursor:pointer}.st-rules p{margin-top:10px!important;font-size:12px!important}
@media(max-width:900px){.st-header{padding:16px 16px 16px 78px}.st-header h1{font-size:17px!important}.st-header-actions{gap:6px}.st-header-actions button{font-size:11px!important;padding:8px!important}.st-round{display:none}.st-setup{max-height:70%}.st-country-list{max-height:200px}}
/* National command: a country portrait, three regiments, and an earning economy. */
.st-header{min-height:120px}
.st-wallet{display:flex;align-items:center;gap:7px;margin-top:8px;font-size:11px;color:#a8bcb2;white-space:nowrap}
.st-wallet>b{font-size:18px;line-height:1.1;color:#ffe0a0;font-variant-numeric:tabular-nums}
.st-wallet strong{margin-left:8px;padding:4px 8px;border:1px solid #b8df9f35;border-radius:30px;background:#b8df9f0b;color:#c1e3a8;font-size:12px}.st-wallet small{font-size:10px;font-weight:400}
.st-coin-icon{display:inline-block;width:1.2em;height:1.2em;vertical-align:-.2em;flex-shrink:0}.st-coin{display:grid;place-items:center;width:26px;height:26px;flex-shrink:0}.st-coin>.st-coin-icon{width:100%;height:100%}
.st-command{position:absolute;inset:136px 24px 24px;max-width:1180px;margin-inline:auto;display:grid;grid-template-columns:260px minmax(0,1fr);border:1px solid #b8cfb933;border-radius:22px;background:#0b2029f7;box-shadow:0 25px 80px #0005;pointer-events:auto;overflow:hidden}
.st-national-card{display:flex;flex-direction:column;gap:16px;padding:22px;border-right:1px solid #b8cfb925;background:radial-gradient(ellipse at 20% 25%,#24484699,transparent 70%),#102b30;overflow-y:auto;overscroll-behavior:contain}
#strategy .st-national-card>.st-back{align-self:flex-start;border:0;background:none;padding:0;min-height:30px;font-size:12px;color:#a9c7b8}
.st-national-title{display:flex;gap:12px;align-items:center}.st-national-title>div{min-width:0}.st-national-title>img{width:42px!important;height:29px!important}.st-national-title h2{font-size:25px!important;margin-block:3px!important;overflow-wrap:anywhere}.st-national-title small{font-size:10px;color:#a0b7ac}
.st-owner-badge{display:inline-block;max-width:100%;overflow-wrap:anywhere;padding:2px 8px;border-radius:20px;background:#a8c98f12;border:1px solid #a8c98f2b}
.st-national-map{position:relative;height:200px;flex-shrink:0;margin:0 -8px;background:radial-gradient(ellipse,#44665944,transparent 75%)}
.st-national-map>canvas{width:100%;height:100%;display:block;opacity:.62}
.st-regiment-marker{position:absolute;width:72px;display:flex;flex-direction:column;align-items:center;filter:drop-shadow(0 3px 4px #0008)}
.st-marker-army{top:60px;left:4px}.st-marker-navy{top:15px;right:3px}.st-marker-air{bottom:12px;left:46%}
.st-countryball{display:block;width:44px;height:44px;border:2px solid #06151c;border-radius:50%;overflow:hidden;background:#e6eddd}
#strategy .st-countryball>img{width:100%;height:100%;object-fit:cover;border-radius:0}
.st-regiment-icon{position:absolute;bottom:-5px;right:-3px;width:33px;height:33px;padding:3px;border-radius:9px;background:#17352e;color:#c9ddbc;border:1px solid #d1e5bc66}.st-regiment-icon svg{width:100%;height:100%}
.st-stars{font:600 13px/1.5 system-ui;letter-spacing:1px;color:#f8cf75;white-space:nowrap}.st-stars>span{color:#78918366}
.st-national-summary{display:grid;grid-template-columns:1fr 1fr;border-block:1px solid #b8cfb925;padding:15px 0}.st-national-summary b{display:block;font-size:24px;color:#f3e3bd}.st-national-summary>div>span{font-size:10px;color:#9eb7ab}.st-national-summary small{font-size:11px;font-weight:400;color:#9eb7ab}
.st-branch-icon{display:inline-grid;place-items:center;width:36px;height:36px;color:#bfd6b3;flex-shrink:0}.st-branch-icon svg{width:100%;height:100%}
.st-national-actions{margin-top:auto}.st-national-actions button{width:100%;font-size:12px!important}
.st-command-main{min-width:0;min-height:0;display:flex;flex-direction:column}
.st-command-tabs{display:flex;gap:6px;padding:12px 20px;border-bottom:1px solid #b8cfb925;flex-shrink:0;background:#10282b}
#strategy .st-command-tabs>button{flex:1;background:none;border-color:transparent;font-size:13px;color:#a5bbae}#strategy .st-command-tabs>button.is-selected{background:#b7d69d15;border-color:#b7d69d55;color:#e2edce}
.st-command-content{flex:1;min-height:0;padding:24px;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#72927b #10282b}
.st-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}#strategy .st-section-heading h2{font-size:19px;letter-spacing:-.025em}.st-section-heading>span,.st-readonly{font-size:11px;color:#9eb7ab}.st-readonly{padding:4px 9px;border-radius:20px;background:#b8cfb90d;border:1px solid var(--st-line);white-space:nowrap}
.st-overview-branches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#strategy .st-overview-branch{display:flex;flex-direction:column;align-items:flex-start;gap:7px;text-align:left;padding:16px;background:linear-gradient(140deg,#22403988,#10282c);border-color:#b8cfb930;min-width:0}.st-overview-branch .st-branch-icon{width:40px;height:40px;margin-bottom:4px}.st-overview-branch h3{font-size:15px!important}.st-overview-branch>b{font-size:20px;font-weight:600;color:#e1e8cd;font-variant-numeric:tabular-nums}
.st-economic-brief{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px;margin-top:16px;border:1px solid #f8cf7526;background:#f8cf7508;border-radius:14px}.st-economic-brief h3{margin:0 0 3px!important;color:#f1d6a0;font-size:24px!important}.st-economic-brief h3 small{font-size:12px;font-weight:400;color:#bda982}.st-economic-brief>div>span{font-size:11px;color:#9eb7ab}.st-economic-brief button{font-size:12px!important;flex-shrink:0}
.st-support-brief{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 16px;padding-top:20px}.st-support-label{font-size:11px;color:#9eb7ab}.st-support-brief>div{display:flex;flex-wrap:wrap;gap:10px}.st-support-brief>div>span{display:flex;align-items:center;gap:5px;color:#d5e3bf;font-size:12px;font-variant-numeric:tabular-nums}.st-support-brief .st-branch-icon{width:24px;height:24px}
.st-shop-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.st-branch-tabs{display:flex;gap:6px}.st-branch-tabs>button{font-size:12px!important;padding:9px 12px!important}#strategy .st-branch-tabs>[aria-pressed=true]{background:#b7d69d22;border-color:#b7d69d80;color:#e2edce}.st-shop-controls>label{display:flex;align-items:center;gap:8px;font-size:10px;color:#a5bbae;white-space:nowrap}#strategy #stShopQuantity{width:65px;min-height:40px;padding:6px;font-size:13px}
.st-shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.st-shop-card{display:flex;flex-direction:column;min-width:0;border:1px solid #aec8a52e;border-radius:14px;background:#142d31;overflow:hidden}.st-troop-art{position:relative;display:grid;place-items:center;height:90px;background:radial-gradient(ellipse at 50% 120%,#68976b55,transparent),linear-gradient(140deg,#223e34,#132a29)}.st-troop-art svg{width:70px;height:70px;color:#bccea5;filter:drop-shadow(0 7px 4px #0005)}.st-troop-art[data-branch-art=navy]{background:radial-gradient(ellipse at 50% 120%,#50829855,transparent),#142f3b}.st-troop-art[data-branch-art=air]{background:radial-gradient(ellipse at 50% 120%,#8f9baf55,transparent),#27323b}
.st-shop-card-body{display:flex;flex:1;flex-direction:column;gap:10px;padding:14px}.st-shop-card-body h3{font-size:16px!important;line-height:1.3;overflow-wrap:anywhere}.st-troop-stats{display:flex;justify-content:space-between;gap:8px;margin-top:auto;padding-block:8px;border-block:1px solid #adc4a91c;font-size:10px;color:#9db4a8}.st-troop-stats b{display:block;margin-top:3px;color:#d5e6c0;font-size:13px}.st-shop-card-body>button{width:100%;font-size:12px!important;background:#bfd99c15!important;border-color:#bfd99c55!important;color:#deebc8!important}.st-shop-card-body>button:disabled{background:none!important}
.st-building-art{position:relative;display:grid;place-items:center;height:72px;background:linear-gradient(140deg,#43442a,#25362c);font-size:44px;color:#decb91}.st-building-art>small{position:absolute;right:9px;top:8px;padding:2px 6px;border-radius:6px;background:#142921b3;color:#c8d5b9;font-size:10px}.st-building-levels{display:flex;gap:5px}.st-building-levels>i{height:5px;flex:1;border-radius:3px;background:#bccfaa1a}.st-building-levels>i.is-built{background:#c7d99c}
.st-command-footer{padding:10px 20px;border-top:1px solid #b8cfb925;background:#0e2529}.st-command-footer .st-feedback{font-size:12px!important;color:#decc98!important}
@media(max-width:1100px){.st-command{grid-template-columns:240px minmax(0,1fr)}.st-national-card{padding:18px;gap:15px}.st-command-content{padding:20px}.st-overview-branch .st-branch-icon{width:32px;height:32px}.st-shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.st-shop-controls{align-items:flex-start;flex-direction:column}.st-shop-controls>label{align-self:flex-end}.st-national-title h2{font-size:22px!important}}
@media(max-width:900px){
 .st-header{min-height:120px;padding-bottom:12px}.st-header-actions{align-self:flex-start}.st-header-actions .empire-decision{top:132px}.st-wallet{gap:5px;font-size:10px}.st-wallet>b{font-size:16px}.st-wallet strong{margin-left:3px;font-size:11px}.st-wallet small{font-size:9px}
 .st-command{inset:133px 10px 10px;display:flex;flex-direction:column;border-radius:16px;overflow-y:auto;overscroll-behavior:contain}.st-national-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,140px);gap:12px;padding:16px;border-right:0;border-bottom:1px solid #b8cfb925;overflow:visible;flex-shrink:0}
 #strategy .st-national-card>.st-back{grid-column:1/-1;justify-self:start;min-height:24px}.st-national-title{grid-column:1;align-self:start;gap:8px}.st-national-title>img{width:30px!important;height:22px!important}.st-national-title h2{font-size:20px!important}.st-national-title small{font-size:9px}.st-national-map{grid-column:2;grid-row:2/4;height:125px;margin:-5px 0}.st-countryball{width:32px;height:32px}.st-regiment-marker{width:55px}.st-regiment-marker .st-stars{font-size:9px;letter-spacing:0}.st-regiment-icon{width:24px;height:24px;bottom:-4px;right:0}.st-marker-army{left:0;top:48px}.st-marker-navy{right:0;top:5px}.st-marker-air{left:48%;bottom:5px}
 .st-national-summary{grid-column:1;gap:6px;padding:10px 0}.st-national-summary b{font-size:20px}.st-national-summary>div>span{font-size:9px}.st-national-actions{grid-column:1/-1}.st-national-actions button{min-height:44px!important}
 .st-command-main{overflow:visible;flex-shrink:0}.st-command-tabs{position:sticky;top:0;z-index:2;padding:8px;gap:4px}.st-command-content{overflow:visible;padding:16px}.st-overview-branches{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}#strategy .st-overview-branch{padding:12px 8px;gap:5px}.st-overview-branch h3{font-size:12px!important}.st-overview-branch .st-stars{font-size:10px;letter-spacing:0}.st-overview-branch>b{font-size:17px}.st-economic-brief{padding:14px;gap:10px}.st-economic-brief button{width:auto}.st-economic-brief h3{font-size:22px!important}
 .st-shop-grid{gap:10px}.st-shop-card-body{padding:12px;gap:9px}.st-shop-card-body h3{font-size:14px!important}.st-troop-art{height:80px}.st-troop-art svg{width:55px;height:55px}.st-troop-stats{font-size:10px;flex-wrap:wrap}.st-troop-stats b{font-size:12px}.st-shop-card-body>button{padding:8px 4px!important;font-size:11px!important}.st-branch-tabs{min-width:0;flex:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.st-branch-tabs>button{font-size:11px!important;padding:8px 5px!important}.st-shop-controls{align-items:center;flex-direction:row;gap:8px;margin-bottom:14px}.st-shop-controls>label{align-self:auto;gap:5px}#strategy #stShopQuantity{width:46px;min-height:44px}.st-command-footer{padding:10px 16px}.st-building-art{height:64px;font-size:38px}.st-support-brief{padding-top:16px}
}
@media(max-width:360px){.st-command{inset-inline:7px}.st-national-card{grid-template-columns:minmax(0,1fr) 110px;padding:12px}.st-command-content{padding-inline:12px}.st-shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.st-shop-card-body{padding:10px}.st-overview-branch h3{font-size:11px!important}.st-wallet{gap:3px}.st-wallet>b{font-size:14px}.st-wallet>span:not(.st-coin){display:none}.st-header-actions button{padding:7px!important;font-size:10px!important}}

@media(max-width:900px){
 .st-command:not([data-command-view=overview]) .st-national-card{display:flex;flex-direction:column;gap:8px;padding:12px 16px}
 .st-command:not([data-command-view=overview]) .st-national-card>.st-back{align-self:flex-start}
 .st-command:not([data-command-view=overview]) .st-national-map,.st-command:not([data-command-view=overview]) .st-national-summary,.st-command:not([data-command-view=overview]) .st-regiment-list,.st-command:not([data-command-view=overview]) .st-national-actions:has([data-action=world]){display:none}
}

/* A compact command bar leaves the mobile campaign map exposed. */
.st-header-actions .st-tool-button{display:flex;align-items:center;gap:6px;font-size:12px!important}
.st-tool-button>svg{width:22px;height:22px;flex-shrink:0}
.st-quickbar{position:absolute;right:26px;bottom:10px;display:flex;gap:7px;align-items:center}
#strategy .st-quickbar>button{display:flex;align-items:center;gap:7px;min-height:34px;padding:5px 11px;font-size:11px;border-radius:9px;background:#15383b;border-color:#9ac2b333}
.st-quickbar>button>svg{width:24px;height:24px;flex-shrink:0}.st-quickbar>button>img{width:23px!important;height:17px!important}.st-quickbar .empire-decision-button{width:34px;height:34px;min-height:34px!important;font-size:22px!important}.st-save-status:empty{display:none}.st-save-status{position:absolute;top:130px;left:50%;transform:translateX(-50%);padding:8px 15px!important;background:#103f43;border:1px solid #b5d99a77;border-radius:20px;font-size:12px!important;color:#deebc8!important;z-index:4}
#strategy .st-campaign-pause{position:absolute;top:135px;left:24px;padding:8px 14px;min-height:36px;background:#f8cf75;color:#173334;font-size:12px;pointer-events:auto;border-radius:30px}
.st-game-paused .empire-decision-button{animation-play-state:paused}
.st-troop-art svg{width:86px;height:86px;filter:drop-shadow(0 6px 4px #0004)}
@media(min-width:901px){.st-playing-header{align-items:flex-start}.st-playing-header .st-header-actions{margin-top:0}.st-playing-header .st-tool-button{min-height:38px!important;padding:8px 10px!important}}
@media(max-width:900px){
 .strategy-screen #shellHome{left:10px;top:9px;width:39px;height:39px;min-height:39px;border-radius:11px;padding:9px}
 #strategy .st-playing-header{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:42px 44px;gap:6px 8px;height:110px;min-height:110px;padding:8px 10px 8px 60px;background:linear-gradient(120deg,#164952fa,#0d343ff7);border-bottom:2px solid #426b73;box-shadow:0 4px 18px #082b4566}
 .st-playing-header .st-header-name{align-self:center;min-width:0}.st-playing-header .st-header-name>.st-eyebrow,.st-playing-header .st-header-name>h1{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .st-playing-header .st-wallet{margin:0;gap:5px;min-width:0}.st-playing-header .st-wallet>.st-coin{width:25px;height:25px;flex-shrink:0}.st-playing-header .st-wallet>b{font-size:21px;letter-spacing:-.03em;min-width:0;max-width:120px;overflow:hidden;text-overflow:ellipsis}.st-playing-header .st-wallet>span:not(.st-coin){display:none}.st-playing-header .st-wallet>strong{margin-left:2px;padding:4px 6px;background:#061f2b80;border:0;color:#c6e0b3;font-size:12px;flex-shrink:0}.st-playing-header .st-wallet small{font-size:9px}
 .st-playing-header .st-header-actions{align-self:center;grid-column:2;grid-row:1;gap:6px;margin:0}.st-playing-header .st-header-actions>[data-action=close]{display:none}
 #strategy .st-playing-header .st-tool-button{display:grid;place-items:center;width:38px;height:38px;min-height:38px;padding:7px!important;border-radius:10px;background:#235767;border-color:#9dc1bc66;box-shadow:inset 0 1px #ffffff20,0 2px 3px #001c2b44}.st-playing-header .st-tool-label{display:none}.st-playing-header .st-tool-button>svg{width:23px;height:23px}.st-playing-header [data-campaign-pause][aria-pressed=true]{background:#b99b4666!important;border-color:#f8cf75!important}
 .st-playing-header .st-quickbar{position:static;grid-column:1/-1;grid-row:2;display:flex;gap:6px;margin-left:-50px;min-width:0}
 #strategy .st-quickbar>button{flex:1;min-width:0;min-height:44px;justify-content:center;gap:4px;padding:5px 7px;font-size:10px;border-radius:10px;background:#174958;border-color:#95b9b255}.st-quickbar>button>svg{width:23px;height:23px}.st-quickbar>button>span{min-width:0;max-width:75px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.st-quickbar>button>img{width:21px!important;height:17px!important}.st-quickbar .empire-decision-button{width:40px;height:40px;min-height:40px!important}.st-quickbar .empire-decision-tooltip{right:0}
 .st-command{top:122px}.st-troop-art svg{width:68px;height:68px}.st-save-status{top:120px}.st-campaign-pause{top:120px!important;left:12px!important}
}
@media(max-width:360px){.st-playing-header .st-wallet>b{font-size:18px}.st-playing-header .st-wallet>strong{font-size:10px;padding:3px 5px}.st-playing-header .st-wallet>.st-coin{width:22px;height:22px}#strategy .st-quickbar>button{padding-inline:4px;font-size:9px}.st-quickbar>button>svg{width:20px;height:20px}.st-quickbar>button>span{max-width:55px}}

@media(max-width:900px){
 .strategy-screen #shellHome{width:44px;height:44px;min-height:44px;top:8px}
 #strategy .st-playing-header{grid-template-rows:44px 44px;row-gap:6px}
 #strategy .st-playing-header .st-tool-button{width:44px;height:44px;min-height:44px}
}

/* Choose a nation on its own screen before entering the world map. */
.strategy-screen:has(#strategy[data-phase=setup]) .mapwrap{visibility:visible;pointer-events:none}
.strategy-screen:has(#strategy[data-phase=setup]) #map{filter:blur(3px) saturate(.7);opacity:.65;transform:none}
.strategy-screen:has(#strategy[data-phase=setup]) .mapwrap::after{background:linear-gradient(180deg,#04121a66,transparent 35%,#04121a99),radial-gradient(ellipse at center,#07172255 20%,#04121a88 100%)}
.strategy-screen:has(#strategy[data-phase=setup]) #shellHome,.strategy-screen:has(#strategy[data-phase=setup]) .profile-chip,.strategy-screen:has(#strategy[data-phase=setup]) .account-sync{display:none}
#strategy[data-phase=setup]{pointer-events:auto;overflow-y:auto;overscroll-behavior:contain;background:transparent}
.st-selection{position:relative;display:flex;align-items:center;justify-content:center;min-height:100%;padding:80px 32px}
.st-selection-header{position:absolute;top:24px;left:32px;right:32px;display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1100px;margin-inline:auto}
#strategy .st-selection-header>button{background:#13353b;font-size:13px;padding:10px 16px}
.st-selection-card{display:flex;flex-direction:column;gap:18px;width:min(760px,100%);margin:0 auto;padding:36px;border:1px solid #b6ceab33;border-radius:24px;background:#102e32;box-shadow:0 20px 70px #00101755}
#strategy .st-selection-card>h1{max-width:none;font-size:42px;letter-spacing:-.045em;line-height:1.1;margin:0}
#strategy .st-selection-intro{font-size:14px;color:#b7c8bb;max-width:590px;line-height:1.65}
.st-selection-card .st-country-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));min-height:160px;max-height:40dvh;gap:8px;padding-right:5px;margin-top:-8px;scrollbar-color:#72927b #10282b}
.st-selection-card .st-country-list .st-country{min-width:0;min-height:70px}
.st-selection-card .st-country>strong{flex:1;min-width:0;font-size:14px;font-weight:600}
.st-selection-resume{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid #b6ceab44;border-radius:14px;background:#a8c98f0a}
.st-selection-resume>b,.st-selection-resume>div{min-width:0}.st-selection-resume>div>b{display:block;margin-top:4px;font-size:16px;overflow-wrap:anywhere}
.st-selection-resume>b{flex:1;overflow-wrap:anywhere}
#strategy .st-selection-resume>button{margin-left:auto;flex-shrink:0;font-size:12px;padding:10px 14px}
.st-selection-card .st-rules{margin-top:2px}
@media(max-width:899px){.strategy-screen:has(#strategy[data-phase=setup]) #map{filter:none;opacity:.5;transform:none}}
@media(max-width:600px){
 .st-selection{padding:64px 14px}.st-selection-header{top:16px;left:14px;right:14px;gap:10px}.st-selection-header>.st-eyebrow{font-size:8px;letter-spacing:.08em}#strategy .st-selection-header>button{font-size:12px;padding:8px 12px}
 .st-selection-card{margin-top:0;border-radius:18px;padding:22px 18px;gap:16px}#strategy .st-selection-card>h1{font-size:32px}#strategy .st-selection-intro{font-size:12px}
 .st-selection-card .st-country-list{grid-template-columns:1fr;max-height:42dvh}.st-selection-card .st-country-list .st-country{min-height:68px}
 .st-selection-resume{flex-wrap:wrap;padding:12px;gap:10px}#strategy .st-selection-resume>button{width:100%;margin:0}.st-selection-card .st-label{font-size:11px}
}

/* Regiment recruitment: strength, stars and clear purchase rows. */
.st-battle-controls{position:absolute;left:50%;bottom:max(20px,env(safe-area-inset-bottom));transform:translateX(-50%);display:flex;align-items:center;gap:9px;width:max-content;max-width:calc(100% - 28px);padding:9px 12px 9px 18px;border:1px solid #b8d59b55;border-radius:19px;background:#0b3039ef;box-shadow:0 6px 24px #00172d66;pointer-events:auto}
.st-battle-caption{display:flex;flex:1;flex-direction:column;gap:2px;min-width:0;padding-right:8px}.st-battle-caption>span{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:#e0e9ca}.st-battle-caption>time{font-size:10px;color:#9fbdad}#strategy .st-battle-controls>button{font-size:12px;padding:9px 12px;white-space:nowrap;flex-shrink:0}.st-battle-controls>[data-action=retreat]{color:#edc8a7!important}
.st-battle-a11y{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;pointer-events:none}
@media(max-width:600px){.st-battle-controls{bottom:max(12px,env(safe-area-inset-bottom));max-width:calc(100% - 20px);gap:6px;padding:7px 8px 7px 12px;border-radius:16px}.st-battle-caption{padding-right:0;max-width:150px}.st-battle-caption>span{font-size:11px}#strategy .st-battle-controls>button{padding:8px 10px;font-size:11px}}
@media(prefers-reduced-motion:reduce){#strategy button{transition:none}}
.st-overview-branch>b>small{font-size:10px;color:#9eb7ab;font-weight:400;margin-left:2px}.st-section-heading>span:has(.st-stars){display:flex;align-items:center;gap:8px}
.st-recruit{--recruit-color:#244e36}.st-recruit[data-recruit-branch=navy]{--recruit-color:#174763}.st-recruit[data-recruit-branch=air]{--recruit-color:#5a386f}
.st-recruit-heading{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;gap:12px;padding:20px 14px;border:1px solid #d3e3bd33;border-radius:18px;background:linear-gradient(130deg,var(--recruit-color),#142e36)}
.st-recruit-heading>div{display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center;min-width:0}
#strategy .st-recruit-heading h2{font-size:23px;line-height:1.25;overflow-wrap:anywhere}.st-recruit-heading strong{color:#ffe29a;font-size:36px;line-height:1.2;font-variant-numeric:tabular-nums}.st-recruit-heading strong small{font-size:18px;font-weight:400;opacity:.7}
.st-recruit-heading .st-stars{font-size:29px;letter-spacing:3px;line-height:1.2}#strategy .st-recruit-heading>button{width:46px;height:46px;min-height:46px;border-radius:50%;padding:0;background:#0b2c32;font-size:36px;line-height:1}
.st-recruit-list{display:flex;flex-direction:column;gap:12px;margin-top:16px}
.st-recruit-row{display:grid;grid-template-columns:92px minmax(0,1fr) 128px;align-items:stretch;gap:18px;padding:14px;border:1px solid #d7e1bb;border-radius:22px;background:#e6edce;color:#21392e}
.st-recruit-art{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#345d3e}.st-recruit-art>svg{width:74px;height:74px;filter:drop-shadow(0 4px 1px #18382522)}.st-recruit-art>span{font-size:11px;color:#607257;text-align:center}.st-recruit-art b{font-size:16px;color:#294631}
.st-recruit-art>span>small{display:block;font-size:10px;line-height:1.2}.st-unit-weight{font-size:9px;line-height:1.2;text-align:center;color:#526943}.st-roster-progress{font-size:11px;color:#b9cbb5}
.st-foreign{position:absolute;top:140px;left:50%;transform:translateX(-50%);width:min(480px,calc(100% - 32px));max-height:calc(100% - 160px);padding:22px;display:flex;flex-direction:column;gap:16px;border:1px solid #b9ccab66;border-radius:24px;background:linear-gradient(145deg,#244b42f5,#102e36f5);box-shadow:0 18px 60px #001d3980;pointer-events:auto;overflow-y:auto;overscroll-behavior:contain}
.st-foreign-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}#strategy .st-foreign-heading h2{flex:1;text-align:left;font-size:23px;line-height:1.2;overflow-wrap:anywhere}#strategy .st-foreign-heading>button{flex:0 0 44px;padding:0;min-height:44px;font-size:29px;background:#102e36;border-radius:50%}.st-foreign-heading>[data-action=close-country]{color:#e8c2a4!important}
.st-foreign-ratings{display:flex;flex-direction:column;gap:14px}.st-foreign-regiment{display:grid;grid-template-columns:92px minmax(0,1fr);align-items:center;gap:18px;padding:18px 24px;border:1px solid #f4e9b344;border-radius:18px;background:#e3eccf;color:#234334}.st-foreign-regiment>div:last-child{display:flex;flex-direction:column;align-items:flex-start;gap:4px}#strategy .st-foreign-regiment h3{font-size:19px}.st-foreign-regiment .st-stars{color:#b58a1b;font-size:21px;letter-spacing:2px}.st-foreign-regiment .st-stars>span{color:#8e9d7a66}.st-foreign-regiment strong{font-size:28px;line-height:1.15;font-variant-numeric:tabular-nums}.st-foreign-regiment strong small{font-size:14px;font-weight:400;color:#657a59;margin-left:3px}
.st-foreign-emblem{position:relative;height:80px;display:grid;place-items:center}.st-foreign-emblem>span{display:block;width:60px;height:60px;overflow:hidden;border:2px solid #244334;border-radius:50%;background:#dce6d1}#strategy .st-foreign-emblem img{width:100%;height:100%;border-radius:0}.st-foreign-emblem>svg{position:absolute;right:0;bottom:0;width:44px;height:44px;padding:3px;border-radius:10px;background:#385b43;color:#d6e3ba;border:1px solid #8ba77a}
@media(max-width:900px){.st-foreign{top:122px;max-height:calc(100% - 136px);width:min(440px,calc(100% - 20px));padding:16px;gap:12px;border-radius:20px}.st-foreign-heading{gap:10px}#strategy .st-foreign-heading h2{font-size:20px}.st-foreign-regiment{grid-template-columns:76px minmax(0,1fr);gap:16px;padding:14px 20px}.st-foreign-ratings{gap:12px}.st-foreign-regiment strong{font-size:26px}.st-foreign-regiment .st-stars{font-size:20px}.st-foreign-emblem{height:70px}.st-foreign-emblem>span{width:52px;height:52px}.st-foreign-emblem>svg{width:38px;height:38px}}
@media(max-width:360px){.st-foreign{padding:12px;gap:10px}.st-foreign-heading{gap:8px}#strategy .st-foreign-heading h2{font-size:17px}.st-foreign-regiment{grid-template-columns:60px minmax(0,1fr);padding:10px 14px;gap:14px}.st-foreign-emblem{height:60px}.st-foreign-emblem>span{width:46px;height:46px}.st-foreign-emblem>svg{width:32px;height:32px}.st-foreign-regiment .st-stars{font-size:17px}.st-foreign-regiment strong{font-size:23px}#strategy .st-foreign-regiment h3{font-size:17px}}
.st-recruit-body{display:flex;flex-direction:column;justify-content:center;gap:16px;min-width:0}
.st-recruit-name,.st-recruit-order{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}#strategy .st-recruit-name h3{font-size:20px;line-height:1.25;overflow-wrap:anywhere}
#strategy .st-recruit-name input{width:72px;min-height:44px;flex-shrink:0;padding:8px 5px;text-align:center;font-size:18px;background:#f7f4df;color:#243c2e;border-color:#b7c4a2;appearance:textfield}#strategy .st-recruit-name input::-webkit-inner-spin-button{appearance:none}
.st-recruit-price{color:#6b641d;font-size:19px;min-width:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
#strategy .st-recruit-row button{color:#f6f6e9;border-color:#567c53;background:#4b714b;border-radius:12px}#strategy .st-recruit-row button:hover{background:#3b633d}#strategy .st-recruit-row button:disabled{color:#536848;background:#d9e1c7;border-color:#c6d2b2;opacity:1;transition:none}
#strategy .st-recruit-order>button{min-width:80px;font-weight:600}
#strategy .st-buy-max{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:10px;background:#d1dfb8;color:#365332;border-color:#becfa6}.st-buy-max>b{font-size:14px}.st-buy-max>span{font-size:21px;font-variant-numeric:tabular-nums}.st-buy-max>small{font-size:12px;line-height:1.3;overflow-wrap:anywhere;max-width:100%}
#strategy .st-icons-toggle{display:flex;align-items:center;gap:7px;min-height:44px;padding:8px 12px;border-radius:12px;background:#0d3445ef;box-shadow:0 3px 12px #001d3f44;font-size:12px;pointer-events:auto}.st-icons-toggle>svg{width:21px;height:21px}.st-icons-toggle[aria-pressed=true]{border-color:#e4cf86!important;color:#f8df9c!important}.st-icons-toggle[aria-pressed=false]>svg{opacity:.45}
@media(max-width:1100px){.st-recruit-row{grid-template-columns:72px minmax(0,1fr) 100px;gap:12px}.st-recruit-art>svg{width:64px;height:64px}#strategy .st-recruit-name h3{font-size:18px}}
@media(max-width:900px){
 .st-command[data-command-view=military] .st-national-card{padding-block:8px;gap:0}.st-command[data-command-view=military] .st-national-title{display:none}
 .st-recruit-heading{grid-template-columns:38px minmax(0,1fr) 38px;padding:14px 8px;gap:6px}#strategy .st-recruit-heading h2{font-size:18px}.st-recruit-heading strong{font-size:30px}.st-recruit-heading strong small{font-size:15px}.st-recruit-heading .st-stars{font-size:25px;letter-spacing:2px}#strategy .st-recruit-heading>button{width:38px;min-width:38px;height:44px;min-height:44px;font-size:30px}
 .st-recruit-row{grid-template-columns:52px minmax(0,1fr) 66px;gap:9px;padding:10px;border-radius:18px}.st-recruit-list{gap:10px;margin-top:12px}.st-recruit-art>svg{width:50px;height:58px}.st-recruit-art>span{font-size:9px}.st-recruit-art b{font-size:14px}.st-recruit-body{gap:10px}.st-recruit-name,.st-recruit-order{gap:6px}#strategy .st-recruit-name h3{font-size:14px}#strategy .st-recruit-name input{width:42px;font-size:16px}.st-recruit-price{font-size:15px}#strategy .st-recruit-order>button{min-width:48px;padding:8px;font-size:12px}#strategy .st-buy-max{padding:8px 4px;gap:5px}.st-buy-max>b{font-size:11px}.st-buy-max>span{font-size:17px}.st-buy-max>small{font-size:10px}
}
@media(max-width:360px){.st-recruit-row{grid-template-columns:42px minmax(0,1fr) 58px;gap:6px;padding:8px}.st-recruit-art>svg{width:42px;height:48px}#strategy .st-recruit-name h3{font-size:12px}#strategy .st-recruit-name input{width:38px}.st-recruit-price{font-size:13px}.st-recruit-heading .st-stars{font-size:22px}#strategy .st-recruit-heading h2{font-size:16px}.st-buy-max>b{font-size:10px}}
.st-connection{position:absolute;z-index:30;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:16px;padding:28px;background:#082b3be8;text-align:center;color:#eef3df;pointer-events:auto}
