/* Ver.2.41 — reorganize former long army page without additional main tabs. */
.army-section-header{padding-bottom:16px}
.army-section-header h2{margin-bottom:13px}
.army-subtabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:9px;}
.army-subtabs .btn{min-height:48px;font-size:16px;letter-spacing:.02em;border-radius:0}
.army-subtabs .btn.selected{outline:2px solid #e1ba78;outline-offset:-5px;}
.formation-revive-link,.formation-barracks-link{margin-top:13px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.formation-revive-link{border:2px solid #92666c;padding:10px;background:#302334;color:#f2dad7}
.formation-candidate-list{max-height:370px;overflow-y:auto;display:grid;gap:8px;}
.formation-candidate{display:flex;align-items:center;gap:12px;padding:9px 12px;border:2px solid #71596b;background:#251d30;min-height:66px;}
.formation-candidate-art{width:43px;min-width:43px;height:44px;display:flex;justify-content:center;align-items:center;overflow:hidden}
.formation-candidate-art img{max-width:43px;max-height:43px;object-fit:contain;image-rendering:pixelated}
.formation-candidate-name{min-width:0;flex:1;display:grid;gap:4px}
.formation-candidate-name b{font-size:15px;white-space:normal;line-height:1.3}
.formation-candidate-name small{font-size:12px;color:#cdbbcf}
.formation-candidate-name b small{font-weight:normal}
.formation-candidate .btn{white-space:nowrap}
.barracks-tools .row-label{align-items:center;gap:12px;flex-wrap:wrap}
.barracks-tools .section-intro{margin:6px 0 0}
.barracks-warning{padding:10px;border:2px solid #905e66;background:#2e2330}
.stock-dialog,.fusion-choice-list,.stock-dialog-list{display:grid;gap:12px}
.stock-candidate{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border:2px solid #76596d;padding:12px;background:#2b2135}
.stock-candidate-head{display:flex;align-items:center;gap:10px;flex:1;min-width:200px}
.stock-candidate-head .avatar{flex:0 0 auto}
.stock-candidate-head strong{font-size:17px;color:#f5d19e}
.stock-candidate-head small{display:block;color:#cfbfd0;margin-top:4px}
.stock-empty{padding:16px;color:#d5c3d7;border:1px dashed #85748b}
.fusion-choice-list{max-height:65vh;overflow-y:auto}
.fusion-choice{display:flex;justify-content:space-between;gap:16px;align-items:center;text-align:left;flex-wrap:wrap}
.fusion-choice small{font-size:12px;opacity:.8}
@media(max-width:650px){.army-subtabs .btn{font-size:15px}.formation-candidate{padding:8px;gap:7px}.formation-candidate .btn{padding:8px;font-size:13px}.stock-candidate>.btn-wrap{width:100%}.stock-candidate .btn{width:100%}}

.command-title-row{gap:12px;flex-wrap:wrap;align-items:center;margin-bottom:12px}
.command-title-row h2{margin:0}
.command-title-row .btn{margin-left:auto;white-space:nowrap}

/* Section explanations share the same small info button as Facilities/Expeditions. */
.section-title-with-info{display:inline-flex;align-items:center;gap:9px;min-width:0}
.section-title-with-info h2{margin:0}
.section-title-with-info .facility-info-global{position:static;flex-shrink:0}
.reserve-formation-hint,.reserve-support-summary{display:flex;flex-wrap:wrap;align-items:center;gap:8px;line-height:1.55}
.reserve-formation-hint .facility-info-global,.reserve-support-summary .facility-info-global{position:static;flex-shrink:0;margin-left:auto}
.reserve-support-summary{padding:10px 13px;margin:7px 0 12px;border:1px solid #7b6170;background:#2b2036;color:#e7d7d7}
.reserve-support-summary strong{color:#f3d4a1}
.reserve-support-summary span{color:#ddcada;font-size:13px}
@media(max-width:640px){.section-title-with-info h2{font-size:clamp(19px,4.5vw,25px)}.reserve-support-summary{padding:8px 10px}}

/* The information icon belongs to the heading, not the party-count label. */
.army-formation-heading{display:flex;flex-direction:column;align-items:flex-start;gap:9px;min-width:0}
.army-formation-heading .section-title-with-info{gap:10px}
.army-formation-count{display:block;white-space:nowrap;line-height:1.4}
.army-control-bar{align-items:center;column-gap:18px;row-gap:12px}
.army-control-bar .recommend-open{margin-left:auto}
.barracks-tools>.eyebrow,.army-split-screen>.panel>.eyebrow{margin:0 0 12px 0}
@media(max-width:640px){.army-control-bar .recommend-open{margin-left:0}}
