/* Top-view game links sit outside the scaled PSD stage, so touch targets stay usable. */
.hero-games {
  position: absolute;
  z-index: 10001;
  top: max(clamp(8px, 2.5vw, 20px), env(safe-area-inset-top));
  left: max(clamp(12px, 4vw, 28px), env(safe-area-inset-left));
  display: flex;
  align-items: flex-start;
  gap: clamp(10px, 3vw, 20px);
}

.hero-game {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: clamp(62px, 18vw, 92px);
  color: #fff;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(123, 225, 241, .3);
  border-radius: 12px;
}

.hero-game__picture {
  position: relative;
  display: block;
  width: clamp(44px, 14vw, 76px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, .88);
  border-radius: 50%;
  background: #12313d;
  box-shadow: 0 3px 14px rgba(0, 0, 0, .42);
  transition: box-shadow 160ms ease, border-color 160ms ease;
}

.hero-game__picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-game--sup img {
  object-position: 50% 52%;
  transform: scale(1.55);
}

.hero-game__play {
  position: absolute;
  right: 1px;
  bottom: 1px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  color: #153d47;
  font: 10px/1 Arial, sans-serif;
}

.hero-game__name {
  display: block;
  padding: 2px 5px;
  border-radius: 8px;
  background: rgba(4, 17, 25, .70);
  color: #fff;
  font: 600 clamp(10px, 2.5vw, 12px)/1.2 Arial, sans-serif;
  white-space: nowrap;
  text-shadow: 0 1px 3px #000;
}

.hero-game:focus-visible { outline: 3px solid #87f0df; outline-offset: 5px; }
.hero-game:hover .hero-game__picture { border-color: #87f0df; box-shadow: 0 3px 18px rgba(135, 240, 223, .45); }

@media (min-width: 900px) {
  .hero-games { top: 28px; left: max(32px, env(safe-area-inset-left)); gap: 18px; }
  .hero-game { width: 92px; gap: 6px; }
  .hero-game__picture { width: 78px; }
  .hero-game__name { font-size: 12px; }
}

@media (max-width: 350px) {
  .hero-games { top: max(4px, env(safe-area-inset-top)); }
  .hero-game { gap: 3px; }
  .hero-game__name { padding: 1px 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-game__picture { transition: none; }
}
