.armies .section-heading{margin-bottom:28px}
.army-selectors{display:flex;justify-content:center;gap:28px;margin:0 auto 22px;max-width:1080px}
.army-selector{font:inherit;color:var(--muted);border:0;background:transparent;padding:8px 10px 13px;cursor:pointer;position:relative;min-width:115px}
.army-selector img{display:block;width:76px;height:76px;object-fit:contain;margin:0 auto 14px;border-radius:50%;filter:saturate(.65);transition:filter .25s,outline-color .25s}
.army-selector[aria-selected=true]{color:#f3cb75}.army-selector[aria-selected=true] img{filter:drop-shadow(0 0 16px #e0a93b50);outline:2px solid #f0cc80;outline-offset:5px}
.army-selector:after{content:'';position:absolute;bottom:0;height:2px;left:35%;right:35%;background:transparent}.army-selector[aria-selected=true]:after{background:transparent}
.army-selector:hover img{filter:brightness(1.12)}.army-selector:focus-visible{outline:2px solid var(--gold);border-radius:8px}
.army-content{display:grid;grid-template-columns:1.5fr 1fr;gap:45px;align-items:center;min-height:380px;max-width:1080px;margin:auto;--glow:54,93,125}
.army-stage{position:relative;display:flex;align-items:end;justify-content:center;padding:40px 0 10px;isolation:isolate;min-width:0;min-height:352px}
.army-stage:before{content:'';position:absolute;inset:-35px -30px;border-radius:50%;background:radial-gradient(ellipse at 58% 60%,rgba(var(--glow),.19) 0%,rgba(var(--glow),.08) 30%,rgba(var(--glow),0) 65%);z-index:-1}
.army-unit{margin:0;flex:1;min-width:0;text-align:center;position:relative}.army-unit:nth-child(2){flex:1.15}.army-unit:nth-child(3){flex:1.5}
.army-unit:before{content:'';position:absolute;left:5%;right:5%;height:34px;bottom:27px;background:radial-gradient(ellipse,#0005 0%,#0002 35%,transparent 70%)}
.army-unit-art{position:relative;display:block;width:100%;height:190px;overflow:visible;object-fit:contain;object-position:center bottom}
.army-unit:nth-child(2) .army-unit-art{height:220px}.army-unit:nth-child(3) .army-unit-art{height:250px}.army-unit-small .army-unit-art{height:150px}
.army-unit figcaption{border:0;padding:0;text-align:center;color:#ac9d83;font-size:12px;letter-spacing:.15em;text-transform:uppercase;margin-top:20px}
.army-details{padding:25px 0}.army-details h3{font:500 40px/1.1 var(--serif);margin:13px 0 20px}.army-flavor{color:var(--muted);line-height:1.6;font-size:18px;max-width:340px;min-height:58px}
.army-bonus{display:flex;gap:14px;align-items:start;margin-top:28px;min-height:95px}.army-bonus-icon{font-size:27px;color:var(--gold);line-height:1}.army-bonus strong{display:block;color:var(--gold);font-size:12px;letter-spacing:.16em;text-transform:uppercase;margin-bottom:7px}.army-bonus p{margin:0;font-size:19px;line-height:1.4}
.army-hint{text-align:center;color:#ac9d83;font-size:13px;margin:30px 0 0}
@media(max-width:900px){.army-content{grid-template-columns:1fr;gap:0}.army-stage{max-width:620px;width:100%;margin:auto}.army-details{text-align:center}.army-flavor{margin:auto;min-height:3.2em}.army-bonus{justify-content:center;min-height:80px}.army-selectors{gap:12px}}
@media(max-width:680px){.army-selectors{gap:0;justify-content:space-between;margin:26px -5px 0}.army-selector{padding:7px 2px 12px;min-width:0;flex:1;font-size:11px}.army-selector img{width:46px;height:46px}.army-content{display:block;min-height:0}.army-stage{padding:30px 0 0;min-height:210px;max-width:360px}.army-unit-art{height:96px}.army-unit:nth-child(2) .army-unit-art{height:110px}.army-unit:nth-child(3) .army-unit-art{height:125px}.army-unit-small .army-unit-art{height:76px}.army-unit figcaption{font-size:10px;margin-top:15px}.army-details{padding:32px 10px 0}.army-details h3{font-size:32px;margin:10px 0 12px}.army-flavor{font-size:16px}.army-bonus{display:block;margin-top:22px}.army-bonus-icon{display:none}.army-bonus p{font-size:17px}.army-hint{margin-top:24px}}
@media(prefers-reduced-motion:reduce){.army-selector img{transition:none}}

@media(min-width:1000px){.army-selector{min-width:150px}.army-selector img{width:120px;height:120px}.army-selectors{gap:30px}}
@media(max-width:680px){.army-stage:before{inset:-25px 0}.army-selector[aria-selected=true] img{outline-offset:3px}}

/* Keep the lineup on the section background, with only contact shadows. */
.army-stage:before{display:none}
/* Glow is baked into a padded transparent texture: no live blur or
   drop-shadow layer that can temporarily expose rectangular render bounds. */
.army-unit-art{filter:none;pointer-events:none}

/* A centered bonus callout keeps the ornament attached to its label. */
.army-bonus{display:block;position:relative;text-align:center;padding-top:18px;margin-top:22px;min-height:112px}
.army-bonus:before{content:'';display:block;width:108px;height:1px;margin:0 auto 17px;background:linear-gradient(90deg,transparent,#a87d4a99,transparent)}
.army-bonus-icon{display:none}
.army-bonus strong{display:flex;align-items:center;justify-content:center;gap:9px;letter-spacing:.14em;margin-bottom:9px}
.army-bonus strong:before,.army-bonus strong:after{content:'';width:4px;height:4px;background:var(--gold);transform:rotate(45deg);opacity:.75}
.army-bonus p{max-width:340px;margin:0 auto;text-wrap:balance}
@media(max-width:680px){.army-bonus{margin-top:18px;padding-top:0;min-height:116px}.army-bonus:before{margin-bottom:16px}}

/* Compact details; reserve wrapping space without adding large visual gaps. */
.army-details{padding:16px 0}
.army-details h3{margin:8px 0 10px}
.army-flavor{margin:0;line-height:1.4;min-height:2.8em}
.army-bonus{padding-top:0;margin-top:8px;min-height:100px}
.army-bonus:before{margin-bottom:10px}
.army-bonus strong{margin-bottom:5px}
@media(max-width:900px){.army-flavor{margin:0 auto;min-height:2.8em}}
@media(max-width:680px){.army-details{padding:20px 10px 0}.army-details h3{margin:6px 0 8px}.army-bonus{margin-top:6px;min-height:106px}.army-bonus:before{margin-bottom:10px}}

/* Match the desktop details column; stacked layouts retain their centered callout. */
@media(min-width:901px){
  .army-bonus{text-align:left}
  .army-bonus:before{margin-left:0;background:linear-gradient(90deg,#a87d4a99,transparent)}
  .army-bonus strong{justify-content:flex-start}
  .army-bonus strong:before{display:none}
  .army-bonus p{margin-left:0;text-wrap:pretty}
}

/* End the section at visible content, not unused callout/grid reserves. */
.army-content{min-height:0}
.army-stage{padding-bottom:0}
.army-details{padding-bottom:0}
.army-bonus{min-height:0}

@media(max-width:680px){.army-selector{font-size:12px}.army-unit figcaption{font-size:11px;letter-spacing:.1em}}
