/* V2.91 — keep intrinsic photo dimensions out of the flexible art frame.
   In Safari a 100%-high grid image can otherwise retain its natural height,
   become vertically centered, and leave a gap above the visible crop. */
.tcg > .art {
  position: relative;
  flex: 1 1 0px;
  min-width: 0;
  min-height: 0;
}

.tcg > .art > img:not(.card-brand-placeholder) {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: none;
  margin: 0;
  object-fit: cover;
  object-position: 50% 50%;
}
