/* UtopiaGM Game Keys — show full key art (no edge crop) */
.gk-hub .gk-card-media {
  aspect-ratio: 1 / 1;
  background: #0a090c;
  overflow: hidden;
}

.gk-hub .gk-card-poster,
.gk-hub .gk-card-media > img.gk-card-poster,
.gk-hub .gk-card-media > img {
  object-fit: contain !important;
  object-position: center center !important;
  /* Centered inset — avoids radius/badge edge crop; works for portrait Steam library art */
  width: 92% !important;
  height: 92% !important;
  max-width: 92% !important;
  max-height: 92% !important;
  inset: auto !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  transform: translate(-50%, -50%) !important;
  filter: none;
}

.gk-hub .gk-card:hover .gk-card-poster,
.gk-hub .gk-card:focus-visible .gk-card-poster,
.gk-hub .gk-card:hover .gk-card-media > img,
.gk-hub .gk-card:focus-visible .gk-card-media > img {
  /* No zoom crop — keep full key art visible */
  transform: translate(-50%, -50%) !important;
  filter: saturate(1.04) contrast(1.02);
}

/* PDP cover — same rule: full square key art */
.gk-pdp .gk-pdp-cover,
.gk-pdp-cover-wrap .gk-pdp-cover {
  object-fit: contain !important;
  object-position: center center !important;
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  padding: 4%;
  box-sizing: border-box;
  background: #0a090c;
}

.gk-pdp-cover-wrap:hover .gk-pdp-cover {
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .gk-hub .gk-card-poster,
  .gk-pdp .gk-pdp-cover {
    transition: none !important;
  }
}
