/* v3.20: five-star artwork uses square atlas cells, while the in-battle fighter art slot is landscape.
   The shared v3.14 crop rule sizes the square from the slot width, which makes the square taller than
   the fighter slot and clips its top/bottom. Only in the active battle fighter card, fit the square by
   available height instead and center it. Draft/reveal card artwork keeps the existing crop behavior. */

.battle-screen .fighter-card-visual .battle-card-art > .battle-card-artwork.five-star-card-artwork-v312 {
  left: 50% !important;
  right: auto !important;
  top: 50% !important;
  width: auto !important;
  height: calc(100% - 10px) !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1 !important;
  transform: translate(-50%, -50%) !important;
}

@media (max-width: 760px) {
  .battle-screen .fighter-card-visual .battle-card-art > .battle-card-artwork.five-star-card-artwork-v312 {
    height: calc(100% - 8px) !important;
  }
}
