/* v280: Character image frames stay consistent while transparent padding is compensated. */
.image-pair {
  align-items: stretch !important;
}

.image-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-height: 354px !important;
  overflow: hidden !important;
  position: relative !important;
}

.image-card > b,
.image-card > .image-label {
  min-height: 1.6em;
  position: relative;
  z-index: 2;
}

.image-card .char-img {
  display: block !important;
  width: min(100%, 320px) !important;
  max-width: 320px !important;
  height: 300px !important;
  max-height: 300px !important;
  margin: 8px auto 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  transform-origin: center center !important;
  transition: transform .16s ease-out !important;
  will-change: transform !important;
}

@media (max-width: 760px) {
  .image-card {
    min-height: 314px !important;
  }

  .image-card .char-img {
    height: 260px !important;
    max-height: 260px !important;
  }
}
