/* Spawn — game art aspect ratios (4 assets per game) */

.game-art {
  display: block;
  object-fit: cover;
  background: var(--bg-elevated);
}
.game-art--icon {
  aspect-ratio: 1 / 1;
  object-fit: contain;
}
.game-art--title {
  aspect-ratio: 16 / 9;
  object-position: center;
  object-fit: contain;
}
.game-art--banner-wide {
  aspect-ratio: 16 / 9;
  object-position: center;
  object-fit: cover;
}
.game-art--banner,
.game-art--banner-alt {
  aspect-ratio: 2 / 3;
  object-position: center;
}

.game-art-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: #0d0d12;
}
.game-art-frame--icon {
  aspect-ratio: 1 / 1;
  width: 100%;
}
.game-art-frame--title {
  aspect-ratio: 16 / 9;
  width: 100%;
}
.game-art-frame--banner-wide {
  aspect-ratio: 16 / 9;
  width: 100%;
}
.game-art-frame--banner,
.game-art-frame--banner-alt {
  aspect-ratio: 2 / 3;
  width: 100%;
}
.game-art-frame > .game-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.dock-orbit-node__thumb .game-art--icon {
  border-radius: 50%;
}

.discover-game-icon__thumb .game-art--icon {
  width: 100%;
  height: 100%;
}

.world-hub-hero__banner.game-art-frame--banner {
  aspect-ratio: auto;
  height: 180px;
  border-radius: 0;
}
.world-hub-hero__banner.game-art-frame--banner .game-art--banner {
  aspect-ratio: auto;
  height: 100%;
}
