/* Ver.2.17: eight enemy portraits; battle logic remains unchanged. */
.battle-side.enemy .fighter-card{min-height:125px}
.battle-side.enemy .combat-name{align-items:center;gap:9px}
.battle-side.enemy .fighter-icon:has(img){width:60px;height:68px;min-width:60px;padding:2px;overflow:hidden;border:2px solid #a88264;border-radius:0;background:#281b32;box-shadow:inset 2px 2px #5a3b5c,2px 2px #110d19}
.battle-side.enemy .fighter-icon img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;image-rendering:auto}
.battle-side.enemy .fighter-card .name{white-space:normal;overflow:visible;line-height:1.3;font-size:13px}
@media(max-width:700px){.battle-side.enemy .fighter-icon:has(img){width:54px;height:61px;min-width:54px}.battle-side.enemy .fighter-card{min-height:115px}}
@media(max-width:390px){.battle-side.enemy .fighter-icon:has(img){width:45px;height:52px;min-width:45px}.battle-side.enemy .combat-name{gap:5px}}

/* v2.18: horizontal mirror only selected enemy art, never names/HP bars. */
.battle-side.enemy .fighter-icon img.hero-battle-flip{
  transform:scaleX(-1);
  transform-origin:center center;
}
