.game-detail-hero {
  --detail-ink: #171c24;
  --detail-paper: hsl(var(--detail-hue) 75% 87%);
  --detail-field: hsl(var(--detail-hue) 68% 76%);
  --detail-line: hsl(var(--detail-hue) 32% 61%);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(190px, 31%, 440px);
  grid-template-areas: 'crumb cover' 'title cover' 'summary cover' 'actions cover';
  grid-auto-rows: min-content;
  align-content: center;
  align-items: center;
  column-gap: clamp(24px, 4.5vw, 76px);
  padding: clamp(22px, 3.4vw, 48px);
  margin: 0 0 24px;
  border: 1px solid var(--detail-line);
  border-radius: 8px;
  background: linear-gradient(var(--detail-angle), var(--detail-paper) 60%, var(--detail-field) 60%);
  color: var(--detail-ink);
  font-family: 'Directory Sans', 'DM Sans', Arial, sans-serif;
}
.game-detail-hero ::selection { background: #202c3b; color: #fffefa; }
.game-detail-hero :focus-visible { outline: 2px solid #202c3b; outline-offset: 4px; }
.detail-breadcrumb {
  grid-area: crumb;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: #202c3b;
  font-size: 13px;
  font-weight: 650;
}
.detail-breadcrumb a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.game-detail-hero #detail-heading {
  grid-area: title;
  margin: 0;
  color: var(--detail-ink);
  font-size: clamp(32px, 4.3vw, 66px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.038em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.game-detail-hero .detail-summary {
  grid-area: summary;
  max-width: 63ch;
  margin: 14px 0 20px;
  color: #202c3b;
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.48;
  overflow-wrap: anywhere;
}
.detail-overview-actions { grid-area: actions; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.game-detail-hero a.detail-primary {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 9px 14px;
  border: 1px solid var(--detail-ink);
  border-radius: 2px;
  background: #202c3b;
  color: #fffefa;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.3;
  text-decoration: none;
}
.game-detail-hero a.detail-primary:hover { background: #d1f14c; color: var(--detail-ink); }
.detail-primary svg { flex: 0 0 18px; }
#focus-game {
  display: block;
  min-height: 44px;
  margin: 0 0 12px;
  padding: 8px 12px;
  border: 1px solid #202c3b;
  border-radius: 2px;
  background: #202c3b;
  color: #fffefa;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
#focus-game:hover { background: #d1f14c; color: #171c24; }
#focus-game:focus-visible { outline: 2px solid #526a29; outline-offset: 3px; }
.detail-availability { max-width: 34ch; color: #202c3b; font-size: 13px; font-weight: 650; }
.detail-cover { grid-area: cover; width: 100%; align-self: center; }
.detail-cover img {
  display: block;
  width: 100%;
  height: auto;
  max-height: clamp(220px, 24vw, 320px);
  object-fit: contain;
  object-position: right center;
  border-radius: 8px;
  filter: drop-shadow(0 8px 12px #18233029);
}
.standalone-game-detail { padding-top: 20px; }
.game-detail-hero + .play-layout #stage { scroll-margin-top: 96px; }
.game-detail-hero + .play-layout #bar-title {
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-detail-hero + .play-layout :is(.detail-quick-start, .detail-similar),
.game-detail-hero + .legacy-detail-layout :is(.detail-quick-start, .detail-similar) { padding: 20px; }
.game-detail-hero + .play-layout :is(.detail-quick-start, .detail-similar) h2,
.game-detail-hero + .legacy-detail-layout :is(.detail-quick-start, .detail-similar) h2 { margin: 0 0 13px; font-size: clamp(18px, 1.7vw, 23px); }
.game-detail-hero + .play-layout .detail-quick-start ol,
.game-detail-hero + .legacy-detail-layout .detail-quick-start ol { margin-bottom: 13px; line-height: 1.47; }
.game-detail-hero + .play-layout .detail-quick-start li,
.game-detail-hero + .legacy-detail-layout .detail-quick-start li { margin-bottom: 8px; }
.game-detail-hero + .play-layout .detail-launch-notes,
.game-detail-hero + .legacy-detail-layout .detail-launch-notes { margin-top: 13px; padding-top: 12px; }
.game-detail-hero + .play-layout .detail-related-description,
.game-detail-hero + .legacy-detail-layout .detail-related-description { display: none; }
.game-detail-hero + .play-layout .detail-related-game img,
.game-detail-hero + .legacy-detail-layout .detail-related-game img { width: 46px; height: 62px; }
.game-detail-hero + .play-layout .detail-related-game,
.game-detail-hero + .legacy-detail-layout .detail-related-game { grid-template-columns: 46px minmax(0, 1fr) 14px; gap: 10px; padding: 10px 0; }
.game-detail-hero ~ :is(.play-layout, .legacy-detail-layout) #how-to-heading { scroll-margin-top: 96px; }
.game-detail-hero ~ .play-layout .player-guide { padding-inline: clamp(16px, 2.3vw, 30px); }
.game-detail-hero ~ .play-layout .player-guide :is(.game-about, .full-guide) { padding-block: 20px; }
.game-detail-hero ~ .play-layout .player-guide :is(.game-about, .full-guide) h2 { margin-block: 0 10px; }
.game-detail-hero ~ .play-layout .player-guide :is(.game-about > p, .full-guide > ol, .guide-detail > p) { max-width: 72ch; }
.game-detail-hero ~ :is(.play-layout, .legacy-detail-layout) .section-kicker { display: none; }
@media (max-width: 640px) {
  .game-detail-hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'crumb' 'title' 'cover' 'summary' 'actions';
    margin-bottom: 16px;
    padding: 16px;
  }
  .game-detail-hero #detail-heading { font-size: clamp(26px, 7.5vw, 35px); }
  .detail-breadcrumb { font-size: 12px; margin-bottom: 7px; }
  .game-detail-hero .detail-summary { font-size: 15px; margin: 12px 0; }
  .detail-cover { max-width: 440px; margin: 14px 0 2px; }
  .detail-cover img { max-height: clamp(170px, 49vw, 250px); object-position: left center; }
  .game-detail-hero + .play-layout #stage { scroll-margin-top: 76px; }
}
.game-detail-hero.without-cover {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: 'crumb' 'title' 'summary' 'actions';
}
