/* V61 - Fix six *landscape* game covers inside the unchanged legacy card boxes.
   The original 640x400 cover artwork must be visible in full, not sliced down to its middle.
   This file affects only the six homepage support-game images. */
body.temple54 .v51-gamelist .v51-game-image{
  overflow:hidden;
  isolation:isolate;
  background:#071116;
}
body.temple54 .v51-gamelist .v51-game-image::before{
  content:"";
  position:absolute;
  z-index:0;
  inset:-16px;
  background:var(--v60-cover) center / cover no-repeat;
  filter:blur(13px) brightness(.40) saturate(.9);
  transform:scale(1.03);
  pointer-events:none;
}
body.temple54 .v51-gamelist .v51-game-image::after{
  content:"";
  position:absolute;
  z-index:2;
  inset:0;
  background:linear-gradient(180deg,rgba(2,8,11,.28) 0%,rgba(2,8,11,.03) 20%,rgba(2,8,11,0) 76%,rgba(2,8,11,.35) 100%);
  border:1px solid rgba(244,184,93,.38);
  pointer-events:none;
}
body.temple54 .v51-gamelist .v51-game-image img.v51-cover,
body.temple54 .v51-gamelist .v51-game-image img.v51-cover.v51-local-fallback{
  position:relative;
  z-index:1;
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  padding:0!important;
  margin:0;
  background:transparent!important;
  object-fit:contain!important;
  object-position:center center!important;
  filter:drop-shadow(0 4px 13px rgba(0,0,0,.62))!important;
  transform:none!important;
  transition:filter .2s ease;
}
body.temple54 .v51-gamelist .v51-game:hover img.v51-cover,
body.temple54 .v51-gamelist .v51-game:focus-visible img.v51-cover{
  transform:none!important;
  filter:drop-shadow(0 4px 13px rgba(0,0,0,.62)) brightness(1.06)!important;
}
body.temple54 .v51-gamelist .v51-game-highlight{z-index:3}
@media (prefers-reduced-motion:reduce){
  body.temple54 .v51-gamelist .v51-game-image img.v51-cover{transition:none!important}
}
