/* Eggincube nine-tab alignment and loading polish, Oct 28 2026.
 * All values and relationships continue to come from native product sources.
 * Presentation-only overrides scoped to game and DLC pages. */

/* 1. Give the wide cinematic layout the room its source art and cards need. */
@media (min-width:1200px) {
  body[data-page="game"] main.shell {
    box-sizing:border-box;
    width:100%;
    max-width:1640px;
    padding-inline:24px;
  }
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] {
  padding-top:12px;
  margin-inline:auto;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] *,
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] *::before,
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] *::after {
  box-sizing:border-box;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .game-overview.egg-nine-hero {
  margin-bottom:14px!important;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .game-overview.egg-nine-hero > .game-summary {
  grid-template-columns:minmax(0,2.25fr) minmax(350px,1fr)!important;
  grid-template-rows:minmax(0,1fr) auto;
  align-items:stretch;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .game-summary .game-artwork-controls {
  min-height:320px;
  height:100%;
  align-self:stretch;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .game-summary .game-main-artwork,
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .game-summary .artwork-fallback {
  min-height:320px;
  max-height:none;
  height:100%!important;
  object-fit:cover;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .game-summary .egg-gallery-strip {
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:90px;
  padding:9px 14px 12px;
  overflow:hidden;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .game-summary .egg-gallery-strip-head {
  margin-bottom:6px;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .game-summary .egg-gallery-thumbs {
  align-items:center;
  gap:9px;
  min-height:65px;
  padding:2px 1px 5px;
  overflow-x:auto;
  overflow-y:hidden;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .game-summary .egg-gallery-thumb {
  flex:0 0 103px;
  width:103px;
  height:60px;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .game-summary .game-summary-body {
  padding:20px 21px 18px;
  gap:9px;
  justify-content:flex-start;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .game-summary .game-summary-body .egg-nine-hero-title {
  display:block!important;
  position:static!important;
  inset:auto!important;
  margin:0 0 5px!important;
  padding:0!important;
  width:100%;
  max-width:none!important;
  font:750 clamp(22px,1.75vw,29px)/1.2 Inter,sans-serif!important;
  letter-spacing:-.023em;
  text-align:left;
  text-shadow:none;
  overflow-wrap:anywhere;
  pointer-events:auto;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .game-summary-body .egg-editions-navigate--embedded {
  margin-top:0;
  margin-bottom:3px;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .game-summary-body .egg-editions-navigate--embedded h2 {
  margin:0 0 5px;
  padding:0;
  font:600 10px/1.35 Inter,sans-serif;
  color:var(--muted,#8A98C4);
  letter-spacing:.045em;
  text-transform:uppercase;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .game-summary-body .deal-current,
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .game-summary-body .deal-comparison,
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .game-summary-body .deal-confidence {
  width:100%;
  min-width:0;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .game-summary-body .deal-current {
  margin-top:7px;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .game-summary-body .deal-comparison {
  margin-top:12px;
  padding-top:12px;
  gap:14px;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .game-summary-body .deal-confidence {
  margin-top:11px;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .game-summary-body .price-row {
  align-items:baseline;
  gap:8px;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .game-summary-body .deal-value-row {
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  column-gap:6px;
  row-gap:3px;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .game-summary-body .price,
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .game-summary-body .deal-metric strong {
  font-variant-numeric:tabular-nums;
}

/* 2. Make navigation an even, aligned, non-jumping row. */
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-tabs-nav {
  min-height:54px;
  margin:0 0 14px;
  padding:3px 4px;
  gap:2px;
  align-items:stretch;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-tabs-button {
  min-width:0;
  min-height:46px;
  padding:9px 10px;
  border-radius:6px 6px 3px 3px;
  font-size:11.5px;
  line-height:1.3;
  gap:7px;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-tabs-button svg {
  width:17px;
  height:17px;
  flex:none;
  align-self:center;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-tabs-content {
  margin-top:0;
  min-height:100px;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-tabs-panel {
  padding:0;
  margin:0;
}

/* 3. Overview: same row heights, borders, card padding, and information scale. */
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview > [data-game-metadata],
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-edition-parent-metadata {
  grid-template-columns:minmax(0,1.1fr) minmax(0,.88fr) minmax(0,1.32fr);
  align-items:stretch;
  gap:14px;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-details,
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-detail-v4,
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-reviews,
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-player-counts,
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-time-to-beat,
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-age-ratings {
  min-width:0;
  border-radius:10px;
  align-self:stretch;
  margin:0;
  padding:17px 18px;
  overflow:hidden;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-reviews {
  padding-inline:14px;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-details h2,
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-detail-v4 > h2,
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-reviews > h2,
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-player-counts > h2,
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-age-ratings > h2 {
  display:flex;
  align-items:center;
  min-height:25px;
  width:100%;
  padding:0 0 10px;
  margin:0 0 10px;
  border-bottom:1px solid var(--border,#1E2D5C);
  font:700 14px/1.3 Inter,sans-serif;
  text-align:left;
  letter-spacing:-.015em;
  color:var(--ink,#E6ECFF);
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-details .egg-description-preview {
  width:100%;
  max-width:none;
  margin:0;
  padding:0;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-details .egg-description-preview-text {
  max-width:100%;
  overflow-wrap:break-word;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-details .egg-description-preview-text img {
  max-width:100%;
  height:auto;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-detail-v4 .game-detail-v4-content {
  gap:9px;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-detail-v4 .game-detail-v4-facts {
  row-gap:2px;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-detail-v4 .game-detail-v4-row {
  align-items:start;
  grid-template-columns:minmax(0,34%) minmax(0,1fr);
  gap:9px;
  padding:6px 0;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-detail-v4 .game-detail-v4-row dt {
  min-width:0;
  font-size:11px;
  line-height:1.5;
  color:var(--muted,#8A98C4);
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-detail-v4 .game-detail-v4-row dd {
  min-width:0;
  font-size:11.5px;
  line-height:1.5;
  overflow-wrap:anywhere;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-reviews .game-review-list {
  grid-auto-rows:minmax(62px,auto);
  align-content:start;
  row-gap:8px;
  column-gap:8px;
  margin:0;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-review-list > .detail-review {
  display:flex;
  align-items:center;
  padding:7px 8px;
  min-height:62px;
  border-radius:9px;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-review-list > .detail-review > dd {
  width:100%;
  min-width:0;
  margin:0;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-reviews .review-brand-card {
  width:100%;
  min-height:48px;
  grid-template-columns:24px minmax(0,1fr) 34px;
  gap:8px;
  align-items:center;
  padding:2px 0;
  overflow-wrap:anywhere;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-reviews .review-brand-copy {
  min-width:0;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-reviews .review-brand-copy strong {
  display:block;
  font-size:11px;
  line-height:1.25;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-reviews .review-brand-copy > span {
  font-size:10px;
  line-height:1.35;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-reviews .review-score {
  width:34px;
  height:34px;
  font-size:16px;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-sidebar-rail .game-side-stats {
  width:100%;
  margin:0;
  gap:0;
  grid-template-columns:repeat(3,minmax(0,1fr));
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-sidebar-rail .game-side-stats .detail-stat {
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:5px;
  min-width:0;
  padding:7px;
  text-align:center;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-sidebar-rail .game-side-stats .detail-stat dt {
  font-size:10.5px;
  line-height:1.35;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-sidebar-rail .game-side-stats .detail-stat dd {
  font-size:clamp(14px,1.4vw,20px);
  line-height:1.25;
  overflow-wrap:anywhere;
  text-align:center;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-age-ratings .age-rating-list {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-around;
  gap:12px 20px;
}

/* 4. Store prices: every verified offer stays in its original table. */
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-store-prices .game-stores {
  padding:20px 22px;
  border-radius:10px;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-store-prices .game-stores > h2 {
  font-size:18px;
  margin:0 0 14px;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-store-prices .table-scroll {
  max-width:100%;
  overflow-x:auto;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-store-prices table th,
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-store-prices table td {
  padding-block:12px;
  vertical-align:middle;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-store-prices table .store-price {
  font-variant-numeric:tabular-nums;
}

/* 5. Edition, DLC and bundles: predictable section gutters and buttons. */
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-editions-frame,
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-dlc .egg-dlc-section,
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-bundles .game-discovery-packs,
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-edition-comparison > .egg-edition-includes {
  width:100%;
  margin:0 0 14px;
  padding:20px 22px;
  border-radius:10px;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-edition-grid {
  gap:12px;
  margin:16px 0;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-edition-choice {
  min-height:72px;
  padding:12px 14px;
  border-radius:10px;
  font-variant-numeric:tabular-nums;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-dlc .egg-dlc-grid {
  align-items:stretch;
  row-gap:14px;
  column-gap:14px;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-dlc .egg-dlc-shell {
  min-width:0;
  height:100%;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-dlc .egg-dlc-section h2,
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-bundles .game-discovery-packs h2 {
  margin-top:0;
}

/* 6. Features, languages and requirements are still native source-backed cards. */
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-features .egg-nine-feature-details,
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-system-requirements .game-right-requirements {
  padding:20px 22px;
  margin:0 0 14px;
  width:100%;
  min-width:0;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-features .egg-nine-feature-details > h2,
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-system-requirements .game-right-requirements > h2 {
  display:block;
  margin:0 0 14px;
  padding:0 0 12px;
  text-align:left;
  font-size:17px;
  border-bottom:1px solid var(--border,#1E2D5C);
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-features .game-detail-v4-facts {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  row-gap:5px;
  margin:0;
  padding:0;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-features .game-detail-v4-row {
  display:grid;
  grid-template-columns:155px minmax(0,1fr);
  gap:10px;
  align-items:start;
  min-width:0;
  padding:8px 0;
  border-bottom:1px solid var(--border,#1E2D5C);
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-features .game-detail-v4-row dt {
  font-size:12px;
  line-height:1.45;
  color:var(--muted,#8A98C4);
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-features .game-detail-v4-row dd {
  margin:0;
  font-size:12.5px;
  line-height:1.5;
  overflow-wrap:anywhere;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-system-requirements .game-spec-modern {
  overflow-x:clip;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-system-requirements .game-spec-modern img {
  max-width:100%;
}

/* 7. Series and Similar remain separate and have identical outer spacing. */
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-series .egg-similar-section,
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-similar .egg-similar-section {
  display:block;
  width:100%;
  max-width:none;
  margin:0;
  padding:18px 20px;
  border-radius:10px;
}
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-series .egg-similar-track,
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-similar .egg-similar-track {
  min-width:0;
}

/* Progressive widths: prevent horizontal overflow and preserve reading order. */
@media (max-width:1499px) {
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview > [data-game-metadata],
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-edition-parent-metadata {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-details {grid-column:1;grid-row:1}
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-detail-v4 {grid-column:2;grid-row:1}
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-reviews {grid-column:1/-1;grid-row:2}
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-player-counts {grid-column:1;grid-row:3}
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-time-to-beat {grid-column:2;grid-row:3}
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-age-ratings {grid-column:1/-1;grid-row:4}
}
@media (max-width:900px) {
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .game-overview.egg-nine-hero > .game-summary {
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:auto auto auto;
  }
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .game-summary .game-artwork-controls {
    min-height:220px;
    height:clamp(220px,50vw,360px);
  }
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .game-summary .game-main-artwork,
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .game-summary .artwork-fallback {
    min-height:220px;
    height:100%!important;
  }
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .game-summary .game-summary-body {
    padding:18px;
  }
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-tabs-button {
    flex:0 0 auto;
    font-size:11px;
    padding-inline:12px;
  }
}
@media (max-width:700px) {
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview > [data-game-metadata],
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-edition-parent-metadata {
    display:flex!important;
    flex-direction:column;
    align-items:stretch;
    gap:12px;
  }
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-details,
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-detail-v4,
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-reviews,
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-player-counts,
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-time-to-beat,
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-age-ratings {
    width:100%;
    padding:15px;
  }
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-reviews .game-review-list {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-detail-v4 .game-detail-v4-row {
    grid-template-columns:minmax(95px,34%) minmax(0,1fr);
  }
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-features .game-detail-v4-row {
    grid-template-columns:115px minmax(0,1fr);
  }
}
@media (max-width:440px) {
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-reviews .game-review-list {
    grid-template-columns:minmax(0,1fr);
  }
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-sidebar-rail .game-side-stats {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-sidebar-rail .game-side-stats .detail-stat dd {
    font-size:15px;
  }
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-dlc .egg-dlc-section,
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-store-prices .game-stores,
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-bundles .game-discovery-packs {
    padding:15px;
  }
}

/* An unavailable price is a status label, not a large numeric quote.
   Keep it inside its grid column beside the compatibility panel. */
body[data-page="game"] .game-page .game-summary .deal-current[data-egg-price-scope="unavailable"] .price-row .price {
  font-family:inherit;
  font-size:22px;
  line-height:1.3;
  min-width:0;
  max-width:100%;
  white-space:normal;
  overflow-wrap:anywhere;
}

/* Only during initial tab hydration. Always restored by a bounded fallback. */
html[data-egg-nine-pending="1"] body[data-page="game"] .game-page:not([data-egg-nine-tabs="1"]) {
  visibility:hidden!important;
}

/* Maintain the intended editorial reading order when grid flattens on phones. */
@media (max-width:700px) {
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-details {order:1;}
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-detail-v4 {order:2;}
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-reviews {order:3;}
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-player-counts {order:4;}
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-time-to-beat {order:5;}
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-age-ratings {order:6;}
}
/* Prevent full-width empty min-height remnants after section extraction. */
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-features .egg-nine-feature-details:has(.game-detail-v4-content:empty),
body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview .game-detail-v4[hidden] {
  display:none!important;
}

/* Sparse metadata must never leave an empty review-sized column. */
@media (min-width:701px) {
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview > [data-game-metadata]:not(:has(.game-reviews)),
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-edition-parent-metadata:not(:has(.game-reviews)) {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview > [data-game-metadata]:not(:has(.game-reviews)) .game-details {
    grid-column:1;grid-row:1;
  }
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview > [data-game-metadata]:not(:has(.game-reviews)) .game-detail-v4 {
    grid-column:2;grid-row:1;
  }
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview > [data-game-metadata]:not(:has(.game-reviews)) .game-player-counts {
    grid-column:1;grid-row:2;
  }
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview > [data-game-metadata]:not(:has(.game-reviews)) .game-time-to-beat {
    grid-column:2;grid-row:2;
  }
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview > [data-game-metadata]:not(:has(.game-reviews)) .game-age-ratings {
    grid-column:1 / -1;grid-row:3;
  }
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview > [data-game-metadata]:not(:has(.game-reviews)):not(:has(.game-detail-v4)),
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-edition-parent-metadata:not(:has(.game-reviews)):not(:has(.game-detail-v4)) {
    grid-template-columns:minmax(0,1fr);
  }
  body[data-page="game"] .game-page[data-egg-nine-tabs="1"] .egg-nine-overview > [data-game-metadata]:not(:has(.game-reviews)):not(:has(.game-detail-v4)) > .game-details {
    grid-column:1;grid-row:1;
  }
}


/* Eggincube static side-by-side system requirements: all saved tiers and OSes. */
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-platform-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-top:12px;
  min-width:0;
}
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-platform-grid:has(> .game-spec-platform-card:only-child) {
  grid-template-columns:minmax(0,1fr);
}
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-platform-grid:has(> .game-spec-platform-card:nth-child(2):last-child) {
  grid-template-columns:repeat(2,minmax(0,1fr));
}
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-platform-card {
  display:block !important;
  min-width:0;
  padding:16px;
  border:1px solid var(--border,#1E2D5C);
  border-radius:10px;
  background:var(--surface2,#14224A);
}
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-platform-heading {
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 14px;
  padding:0 0 12px;
  border-bottom:1px solid var(--border,#1E2D5C);
}
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-platform-heading .game-spec-os-icon {
  display:block;
  width:21px;
  height:21px;
  flex:0 0 21px;
  object-fit:contain;
}
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-platform-heading h3 {
  margin:0;
  font:700 15px/1.4 Inter,sans-serif;
  color:var(--ink,#E6ECFF);
}
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-tiers {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  min-width:0;
}
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-page {
  display:block !important;
  min-width:0;
  padding:14px 16px;
  border:1px solid var(--border,#1E2D5C);
  border-radius:10px;
  background:var(--surface,#0F1A3A);
}
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-tier-heading {
  margin:0;
  padding:0 0 10px;
  border-bottom:1px solid var(--border,#1E2D5C);
  color:var(--ink,#E6ECFF);
  font:700 13px/1.4 Inter,sans-serif;
}
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-highlights {
  padding-top:4px;
}
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-highlight {
  grid-template-columns:88px minmax(0,1fr);
  gap:10px;
  padding:10px 0;
}
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-label {
  font:650 11px/1.5 Inter,sans-serif;
}
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-value {
  display:block;
  -webkit-line-clamp:unset;
  line-clamp:unset;
  overflow:visible;
  white-space:normal;
  font:600 12px/1.55 Inter,sans-serif;
  overflow-wrap:anywhere;
}
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-full {
  margin-top:6px;
}
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-full dl {
  margin:8px 0 0;
  padding-top:7px;
}
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-full-row {
  grid-template-columns:88px minmax(0,1fr);
  gap:10px;
  padding:6px 0;
}
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-full-row dt,
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-full-row dd,
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-note {
  font-size:11.5px;
  line-height:1.55;
  overflow-wrap:anywhere;
}
@media(max-width:1150px) {
  body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-platform-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:850px) {
  body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-platform-grid,
  body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-platform-grid:has(> .game-spec-platform-card:nth-child(2):last-child) {
    grid-template-columns:minmax(0,1fr);
  }
}
@media(min-width:851px) and (max-width:1650px) {
  body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-platform-grid:has(> .game-spec-platform-card:nth-child(3)) .game-spec-highlight,
  body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-platform-grid:has(> .game-spec-platform-card:nth-child(3)) .game-spec-full-row {
    grid-template-columns:minmax(0,1fr);
    gap:3px;
  }
}
@media(max-width:720px){
  body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-platform-card {padding:12px;}
  body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-tiers {grid-template-columns:minmax(0,1fr);}
  body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-page {padding:12px;}
  body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-highlight,
  body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-full-row {
    grid-template-columns:74px minmax(0,1fr);
    gap:8px;
  }
}


/* System requirements refinement: flat side-by-side tier columns */
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-platform-grid {
  align-items:stretch;
  gap:14px;
}
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-platform-card {
  padding:17px 18px;
  background:var(--surface2,#14224A);
  display:flex !important;
  flex-direction:column;
  box-shadow:none;
}
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-platform-heading {
  min-height:38px;
  margin:0 0 16px;
  padding:0 0 13px;
}
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-set {
  flex:1;
  min-width:0;
}
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-tiers {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:stretch;
  gap:0;
  min-width:0;
}
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-tiers > .game-spec-page {
  display:block !important;
  min-width:0;
  padding:0 14px 0 0;
  margin:0;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
}
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-tiers > .game-spec-page:nth-child(2) {
  border-left:1px solid var(--border,#1E2D5C);
  padding:0 0 0 14px;
}
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-tier-heading {
  margin:0;
  padding:0 0 12px;
  border:0;
  border-bottom:1px solid var(--border,#1E2D5C);
  color:var(--ink,#E6ECFF);
  font:700 12px/1.45 Inter,sans-serif;
  letter-spacing:0.01em;
}
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-highlights {
  display:block;
  margin:0;
  padding:0;
}
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-highlight,
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-highlight[data-compat] {
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) 16px;
  grid-template-rows:auto auto;
  gap:3px 6px;
  min-width:0;
  padding:12px 0;
  border-bottom:1px solid color-mix(in srgb,var(--border,#1E2D5C) 62%,transparent);
  align-items:start;
}
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-highlight:last-child {
  border-bottom:0;
}
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-label {
  grid-column:1;
  grid-row:1;
  min-width:0;
  color:var(--muted,#8A98C4);
  font:700 10px/1.4 Inter,sans-serif;
  letter-spacing:.04em;
  text-transform:uppercase;
}
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-value,
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-highlight[data-compat] .game-spec-value,
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-highlight[data-compat="meets"] .game-spec-value,
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-highlight[data-compat="below"] .game-spec-value,
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-highlight[data-compat="unknown"] .game-spec-value {
  grid-column:1 / -1;
  grid-row:2;
  display:block;
  min-width:0;
  color:var(--ink,#E6ECFF);
  font:550 12px/1.5 Inter,sans-serif;
  white-space:normal;
  word-break:normal;
  overflow-wrap:break-word;
  overflow:visible;
  -webkit-line-clamp:unset;
  line-clamp:unset;
}
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-match-indicator {
  grid-column:2;
  grid-row:1;
  justify-self:end;
  align-self:start;
  min-width:14px;
  margin:0;
  font:800 13px/1.1 Inter,sans-serif;
}
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-highlight[data-compat="unknown"] .game-spec-match-indicator {
  display:none;
}
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-note {
  margin:13px 0 0;
  padding:10px 0 0;
  border-top:1px solid var(--border,#1E2D5C);
  font:500 11px/1.5 Inter,sans-serif;
  color:var(--muted,#8A98C4);
  overflow-wrap:break-word;
}
@media(max-width:720px){
  body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-platform-card{padding:14px;}
  body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-tiers{grid-template-columns:repeat(2,minmax(0,1fr));}
  body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-tiers > .game-spec-page{padding:0 10px 0 0;}
  body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-tiers > .game-spec-page:nth-child(2){padding:0 0 0 10px;}
}
@media(max-width:420px){
  body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-tiers{grid-template-columns:minmax(0,1fr);}
  body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-tiers > .game-spec-page{padding:0;}
  body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-tiers > .game-spec-page:nth-child(2){
    border-left:0;
    border-top:1px solid var(--border,#1E2D5C);
    padding:14px 0 0;
    margin-top:14px;
  }
}

/* Do not leave an empty recommended column if Steam supplied only minimum. */
body[data-page="game"] .game-page .game-spec-modern.game-spec-static .game-spec-tiers:has(> .game-spec-page:only-child) {
  grid-template-columns:minmax(0,1fr);
}
