.hero-intro { display: grid; justify-items: center; gap: 26px; }
.top-game-window { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: var(--corp-pale); }
.top-game-window iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.top-game-window > img { background: #f6f0e9; }
.top-game-window > a { display: block; height: 100%; }
.top-games:not([data-interactive]) .top-game-nav button { visibility: hidden; }
@media (max-width: 1023px) { .top-games { display: none; } }
.top-game-window button { display: block; width: 100%; height: 100%; border: 0; padding: 0; background: transparent; cursor: pointer; }
.top-game-window button:focus-visible { outline: 3px solid #1d6285; outline-offset: -3px; position: relative; }
.top-game-window img { display: block; width: 100%; height: 100%; object-fit: contain; }
.top-game-nav { display: grid; grid-template-columns: 40px 1fr 40px; gap: 6px; align-items: center; margin-top: 8px; text-align: center; }
.top-game-nav [aria-live] { display: block; font-size: clamp(.8rem,1.2vw,.88rem); font-weight: 700; line-height: 1.4; }
.top-game-name small { font-size: .95em; font-weight: 400; }
.top-game-nav button {
  display: grid; place-items: center;
  width: 40px; height: 40px; padding: 0; border: 1px solid var(--corp-rule); border-radius: 50%;
  background: white; color: var(--corp-accent); cursor: pointer;
}
.top-game-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.top-game-nav button:hover { background: var(--corp-pale); }
@media (max-width: 740px) {
  .carousel .favorite-games a:nth-child(n+9), .carousel .favorite-games span { display: none; }
  .carousel .favorite-games img { margin: 0 auto; }
}
@media (min-width: 1024px) {
  .company-hero .corp-width:has(.top-games:not([hidden])) {
    grid-template-columns: minmax(0,1fr) clamp(25rem,40vw,27rem); align-items: center;
    gap: clamp(12px,1.5vw,24px); padding-block: clamp(28px,3vw,48px); text-align: left;
  }
  .company-hero:has(.top-games:not([hidden])) .hero-intro { justify-self: start; justify-items: start; }
  .company-hero:has(.top-games:not([hidden])) h1 { width: min(100%,580px); }
  .top-games { width: 100%; min-width: 0; }
  .top-game-window { width: clamp(320px,32vw,392px); max-width: 100%; margin-inline: auto; }
}
