.game-page-body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  margin: 0;
}
.gp-main {
  padding-block: 18px 42px;
}
.gp-hero {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr) 350px;
  gap: 24px;
  align-items: start;
}
.gp-artwork {
  min-width: 0;
}
.gp-cover {
  aspect-ratio: 460/215;
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface-sunken);
}
.gp-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gp-overview h1 {
  margin: 2px 0 20px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.13;
  letter-spacing: -0.9px;
}
.gp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
  margin-bottom: 0;
}
.gp-tags span {
  background: var(--surface-muted);
  border-radius: 5px;
  padding: 4px 8px;
  font-size: 12px;
  color: var(--text-soft);
}
.gp-facts {
  margin: 16px 0 0;
}
.gp-facts > div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 8px;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.6;
}
.gp-facts dt {
  color: var(--text-faint);
}
.gp-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.gp-purchase {
  padding: 22px;
  box-shadow: 0 6px 30px #7580a006;
}
.gp-purchase h2 {
  font-size: 20px;
  margin: 0 0 6px;
  line-height: 1.25;
}
.gp-muted {
  color: var(--text-faint);
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 12px;
}
.gp-country {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin: 12px 0;
}
.gp-country label {
  display: block;
  min-width: 0;
  color: var(--text-soft);
  font-size: 12px;
}
.gp-purchase .checkout-custom-select {
  margin-top: 8px;
  grid-row: auto;
}
.gp-purchase .checkout-custom-select__trigger {
  min-height: 54px;
  height: 54px;
  border-radius: 12px;
}
.gp-purchase .checkout-custom-select__option[aria-selected="true"]::after {
  content: "✓";
  margin-left: auto;
  padding-left: 12px;
  color: var(--accent);
  font-weight: 700;
}
.gp-edition {
  font-size: 12px;
  color: var(--text-soft);
  display: block;
  margin-bottom: 16px;
}
.gp-email {
  margin-bottom: 16px;
}
.gp-email label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-soft);
  font-size: 12px;
}
.gp-email .input {
  min-height: 54px;
  border-radius: 12px;
}
.gp-email .error-text:empty {
  display: none;
}

.gp-buy {
  width: 100%;
  min-height: 54px;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 18px;
  text-align: center;
}
.gp-commerce-status {
  margin-top: 8px;
}
.gp-media {
  padding: 16px;
  margin: 20px 0;
}
.gp-tabs {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.gp-tabs button {
  background: none;
  border: 0;
  color: var(--text-soft);
  padding: 8px 12px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}
.gp-tabs button[aria-selected="true"] {
  color: #6247ff;
  border-bottom-color: #6247ff;
}
.gp-main-shot {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 16/9;
  background: var(--surface-sunken);
}
.gp-main-shot > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gp-main-shot > button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 2px 8px rgb(0 0 0 / 10%);
  cursor: pointer;
}
.gp-main-shot > button:hover {
  background: var(--surface-muted);
}
.gp-main-shot > button:first-of-type {
  left: 12px;
}
.gp-main-shot > button:last-of-type {
  right: 12px;
}
.gp-thumbs {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  margin-top: 8px;
  padding: 2px 0;
}
.gp-thumbs button {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  flex: 0 0 110px;
  overflow: hidden;
  background: none;
  cursor: pointer;
}
.gp-thumbs button[aria-pressed="true"] {
  border-color: #6247ff;
}
.gp-thumbs img {
  display: block;
  width: 100%;
  height: 64px;
  object-fit: cover;
}
.gp-trailer-stage {
  position: relative;
}
.gp-quality {
  position: absolute;
  right: 16px;
  bottom: 66px;
  z-index: 5;
}
.gp-quality[hidden],
.gp-quality-menu[hidden] {
  display: none;
}
.gp-quality-trigger {
  display: block;
  min-width: 72px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  background: rgba(20, 23, 34, 0.88);
  color: #fff;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.gp-quality-trigger:hover,
.gp-quality-trigger:focus-visible {
  border-color: #8270ff;
}
.gp-quality-menu {
  position: absolute;
  right: 0;
  bottom: 38px;
  min-width: 100px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #202331;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.gp-quality-option {
  display: block;
  width: 100%;
  padding: 8px 12px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}
.gp-quality-option:hover,
.gp-quality-option[aria-pressed="true"] {
  background: rgba(98, 71, 255, 0.3);
}
#gp-trailers video {
  display: block;
  width: 100%;
  max-height: 550px;
  border-radius: 8px;
  background: #151925;
}
#gp-trailers video[hidden] {
  display: none;
}
.gp-trailer-thumbs {
  margin-top: 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}
.gp-trailer-thumbs button {
  flex-shrink: 0;
}
.gp-trailer-thumb-label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 6px;
  font-size: 12px;
  text-align: center;
}
.gp-video-error {
  margin: 8px 0 16px;
  color: #d94b4b;
  font-size: 13px;
}
.gp-details {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 26px;
  padding: 26px;
  margin-top: 20px;
}
.gp-details h2 {
  font-size: 22px;
  letter-spacing: -0.4px;
  margin: 0 0 16px;
}
.gp-description p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}
.gp-description h3 {
  font-size: 17px;
}
.gp-description ul {
  padding-left: 20px;
  line-height: 1.8;
}
.gp-activation {
  background: var(--surface-muted);
  border-radius: 10px;
  padding: 18px;
}
.gp-activation h2 {
  font-size: 18px;
}
.gp-requirements {
  font-size: 13px;
  line-height: 1.7;
}
.gp-requirements-disclosure > summary {
  display: none;
}

.gp-requirements-content {
  display: block;
}

@media (max-width: 767px) {
  .gp-requirements-disclosure > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    list-style: none;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
  }

  .gp-requirements-disclosure > summary::-webkit-details-marker {
    display: none;
  }

  .gp-requirements-disclosure > summary::after {
    content: "";
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
  }

  .gp-requirements-disclosure[open] > summary::after {
    transform: rotate(225deg);
  }

  .gp-requirements-content {
    padding-top: 18px;
  }

  .gp-requirements-heading > h2 {
    display: none;
  }
}

.gp-requirements ul {
  list-style: none;
  padding: 0;
}
.gp-requirements li {
  border-bottom: 1px solid var(--border);
  padding: 7px 0;
  overflow-wrap: anywhere;
}
.gp-requirements h3 {
  font-size: 14px;
  margin: 6px 0;
}
.gp-faq {
  margin-top: 20px;
  padding: 26px;
}
.gp-faq h2 {
  font-size: 22px;
  letter-spacing: -0.4px;
  margin: 0 0 16px;
}
.gp-related {
  grid-column: 1/-1;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.gp-related > div {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.gp-related a {
  text-decoration: none;
  color: var(--text);
  font-size: 13px;
  overflow: hidden;
}
.gp-related img {
  width: 100%;
  height: 105px;
  object-fit: cover;
  border-radius: 8px;
}
.gp-related strong {
  display: block;
  margin-top: 7px;
}
.gp-related span {
  font-size: 12px;
  color: #6650ff;
  display: block;
  margin-top: 8px;
}
.gp-dialog {
  border: 0;
  border-radius: 16px;
  padding: 26px;
  width: min(440px, calc(100vw - 36px));
  box-sizing: border-box;
  color: var(--text);
}
.gp-dialog::backdrop {
  background: #15182c70;
  backdrop-filter: blur(3px);
}
.gp-dialog form {
  position: relative;
}
.gp-dialog h2 {
  font-size: 23px;
  margin: 0 25px 16px 0;
}
.gp-dialog label {
  display: block;
  margin: 18px 0;
  font-size: 13px;
}
.gp-dialog input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  font: inherit;
}
.gp-close {
  position: absolute;
  right: 0;
  top: 0;
  border: 0;
  background: none;
  font-size: 27px;
  cursor: pointer;
}
.gp-consent {
  font-size: 11px;
  color: var(--text-faint);
  line-height: 1.6;
}
.gp-consent a {
  color: #6650ff;
}
#gp-order-error {
  font-size: 13px;
  color: #b13c54;
}
.gp-demo-notice {
  background: var(--accent-soft);
  color: #6551aa;
  padding: 10px 14px;
  font-size: 12px;
  border-radius: 8px;
  margin-bottom: 15px;
}

[hidden] {
  display: none !important;
}
.gp-main button:focus-visible,
.gp-main a:focus-visible {
  outline: 3px solid #b7abff;
  outline-offset: 3px;
}
@media (max-width: 1100px) {
  .gp-hero {
    grid-template-columns: 240px minmax(0, 1fr) 310px;
    gap: 18px;
  }
  .gp-facts > div {
    grid-template-columns: 100px minmax(0, 1fr);
  }
  .gp-overview h1 {
    font-size: 29px;
  }
  .gp-related > div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .gp-hero {
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  }
  .gp-purchase {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 22px;
  }
  .gp-purchase h2,
  .gp-purchase > .gp-muted,
  .gp-country,
  .gp-edition,
  .gp-purchase noscript {
    grid-column: 1/-1;
  }

  .gp-buy {
    align-self: center;
  }
  .gp-details {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
  }
}
@media (max-width: 640px) {
  .gp-main {
    padding: 14px 14px 28px;
  }
  .gp-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .gp-artwork {
    max-width: 460px;
  }
  .gp-overview h1 {
    font-size: 25px;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
  }
  .gp-tags {
    gap: 4px;
    margin-top: 10px;
  }
  .gp-tags span {
    font-size: 10px;
    padding: 3px 6px;
  }
  .gp-facts > div {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 8px;
    font-size: 12px;
    margin-bottom: 10px;
    line-height: 1.5;
  }
  .gp-purchase {
    padding: 18px;
    gap: 0 12px;
    margin-top: 1px;
  }
  .gp-purchase h2 {
    font-size: 18px;
  }
  .gp-country {
    margin: 8px 0;
  }
  .gp-edition {
    margin-bottom: 8px;
  }

  .gp-buy {
    padding: 13px 10px;
    font-size: 13px;
  }
  .gp-media {
    padding: 10px;
    margin: 16px 0;
  }
  .gp-tabs {
    gap: 5px;
    margin-bottom: 10px;
  }
  .gp-tabs button {
    font-size: 12px;
    padding: 7px;
  }
  .gp-main-shot {
    aspect-ratio: 16/9;
  }
  .gp-thumbs button {
    flex-basis: 82px;
  }
  .gp-thumbs img {
    height: 47px;
  }
  .gp-details {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 22px;
  }
  .gp-details h2 {
    font-size: 20px;
  }
  .gp-description p {
    font-size: 13px;
  }
  .gp-faq,
  .gp-related {
    grid-column: auto;
  }
  .gp-related > div {
    display: flex;
    overflow-x: auto;
  }
  .gp-related a {
    min-width: 160px;
    flex: 0 0 160px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gp-main * {
    scroll-behavior: auto !important;
  }
}
.gp-directory {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 24px 0;
}
.gp-directory a {
  padding: 22px;
  background: var(--surface);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
}
.gp-directory span {
  display: block;
  color: #6550ff;
  margin-top: 14px;
  font-size: 13px;
}
.gp-admin-table {
  overflow: auto;
  margin: 20px 0;
}
.gp-admin-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 13px;
}
.gp-admin-table th,
.gp-admin-table td {
  padding: 12px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.gp-admin-table button {
  display: block;
  margin: 5px 0;
}
.gp-promo-trigger {
  display: block;
  font-size: 12px;
  margin: 0 0 14px;
  grid-column: 1/-1;
}

/* Keep native select padding and unavailable-price text inside narrow cards. */
.gp-main * {
  box-sizing: border-box;
}

.gp-country label {
  min-width: 0;
}
@media (max-width: 900px) {
  .gp-purchase {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* Steam reviews and user-defined tags */

.gp-steam-reviews,
.gp-steam-user-tags {
  margin-top: 20px;
}

.gp-steam-section-title {
  margin-bottom: 10px;
  color: var(--text-soft);
  font-size: 13px;
}

.gp-steam-reviews {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 10px;
  font-size: 13px;
  line-height: 1.6;
}

.gp-steam-review-label {
  color: var(--text-soft);
  white-space: nowrap;
}

.gp-steam-review-value {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 8px;
  min-width: 0;
}

.gp-steam-review-value strong {
  color: #2357b8;
  font-weight: 600;
}

.gp-steam-review-count {
  color: var(--text-soft);
  white-space: nowrap;
}

.gp-steam-tag-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.gp-steam-tag {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 5px;
  background: #e5edfc;
  color: #234a87;
  font-size: 12px;
  line-height: 1.4;
}

.gp-steam-more-tags {
  display: inline-block;
}

.gp-steam-more-tags:not([open]) > .gp-steam-tag-list {
  display: none;
}

.gp-steam-more-tags summary {
  display: inline-block;
  padding: 5px 0;
  background: transparent;
  color: #2357b8;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.gp-steam-more-tags summary::-webkit-details-marker {
  display: none;
}

.gp-steam-more-tags summary:hover {
  color: #173d85;
  text-decoration: underline;
}

.gp-steam-more-tags summary:focus-visible {
  outline: 2px solid #2357b8;
  outline-offset: 4px;
  border-radius: 3px;
}

.gp-tag-show-less {
  display: none;
}

.gp-steam-more-tags[open] {
  flex-basis: 100%;
  width: 100%;
}

.gp-steam-more-tags[open] .gp-tag-show-all {
  display: none;
}

.gp-steam-more-tags[open] .gp-tag-show-less {
  display: inline;
}

.gp-steam-more-tags[open] > .gp-steam-tag-list {
  margin-top: 8px;
}


/* Steam social content: manual dark theme */

html[data-color-theme="dark"] .gp-steam-review-value strong {
  color: #75baff;
}

html[data-color-theme="dark"] .gp-steam-tag {
  background: rgba(117, 186, 255, 0.12);
  color: #a6d6ff;
}

html[data-color-theme="dark"] .gp-steam-more-tags summary {
  color: #75baff;
}

html[data-color-theme="dark"] .gp-steam-more-tags summary:hover {
  color: #a6d6ff;
}

html[data-color-theme="dark"] .gp-steam-more-tags summary:focus-visible {
  outline-color: #75baff;
}


/* Game ratings: Steam Deck and Metacritic */

.gp-game-ratings {
  margin: 16px 0 0;
}

.gp-game-rating-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.6;
}

.gp-game-rating-row dt {
  color: var(--text-faint);
}

.gp-game-rating-row dd {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  min-width: 0;
}

.gp-deck-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
}

.gp-deck-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.gp-deck-status--verified {
  color: #18784b;
}

.gp-deck-status--playable {
  color: #916300;
}

.gp-deck-status--unsupported {
  color: var(--text-soft);
}

.gp-metacritic-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 29px;
  min-height: 25px;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.gp-metacritic-score--high {
  background: #18784b;
}

.gp-metacritic-score--medium {
  background: #936600;
}

.gp-metacritic-score--low {
  background: #a33232;
}

.gp-rating-scale {
  color: var(--text-soft);
  font-size: 12px;
}

html[data-color-theme="dark"] .gp-deck-status--verified {
  color: #67d9a4;
}

html[data-color-theme="dark"] .gp-deck-status--playable {
  color: #f3cd78;
}

html[data-color-theme="dark"] .gp-metacritic-score--high {
  background: #23844f;
}


/* Steam Deck: explicit unknown status and accessible hint. */

.gp-deck-status--unknown {
  color: var(--text-soft);
}

.gp-deck-status[title] {
  cursor: help;
  text-decoration: underline dotted;
  text-decoration-color: currentColor;
  text-underline-offset: 3px;
}

.gp-deck-status:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 3px;
}


/* Official Steam Store link */

.gp-steam-store-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 10px;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.6;
}

.gp-steam-store-label {
  color: var(--text-soft);
  white-space: nowrap;
}

.gp-steam-store-link {
  color: #2357b8;
  font-weight: 600;
  text-decoration: none;
}

.gp-steam-store-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gp-steam-store-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 3px;
}

html[data-color-theme="dark"] .gp-steam-store-link {
  color: #75baff;
}

html[data-color-theme="dark"] .gp-steam-store-link:hover {
  color: #a6d6ff;
}

/* STEAM GAME DETAILS: SEPARATE FULL-WIDTH SECTIONS */

.gp-details {
  display: block;
}

.gp-activation {
  margin-top: 20px;
  padding: 26px;
  background: var(--surface);
  border-radius: 12px;
}

.gp-activation h2 {
  font-size: 22px;
  margin: 0 0 16px;
}

@media (max-width: 640px) {
  .gp-activation {
    padding: 18px;
  }

  .gp-activation h2 {
    font-size: 20px;
  }
}


/* STEAM GAME PLATFORM REQUIREMENTS */

.gp-platform-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.gp-platform-tabs button {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--surface-muted);
  color: var(--text);
  padding: 9px 16px;
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.gp-platform-tabs button[aria-selected="true"] {
  border-color: var(--accent, #e85535);
  color: var(--accent, #e85535);
  font-weight: 700;
}

.gp-platform-panel[hidden],
.gp-platform-panel [hidden] {
  display: none !important;
}

.gp-platform-panel .gp-tabs {
  margin-bottom: 16px;
}

.gp-platform-panel ul {
  max-width: 900px;
}

@media (max-width: 640px) {
  .gp-platform-tabs button {
    flex: 1 1 auto;
    text-align: center;
  }
}


/* STEAM GAME DETAILS — FINAL LAYOUT */

.gp-overview-languages {
  margin-top: 28px;
}

.gp-overview-languages h2 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 700;
}

.gp-overview-languages p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  overflow-wrap: break-word;
}

.gp-details {
  display: block;
}

.gp-requirements {
  width: 100%;
  min-width: 0;
}

.gp-requirements-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.gp-requirements-heading h2 {
  margin: 0;
}

.gp-requirements-heading .gp-platform-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  flex-shrink: 0;
}

.gp-requirements-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
}

.gp-requirement-column {
  min-width: 0;
}

.gp-requirement-column + .gp-requirement-column {
  padding-left: 36px;
  border-left: 1px solid var(--border);
}

.gp-requirement-column h3 {
  margin: 0 0 18px;
  font-size: 19px;
  line-height: 1.4;
  font-weight: 700;
}

.gp-requirement-column ul {
  margin: 0;
}

.gp-requirement-column li {
  overflow-wrap: anywhere;
}

.gp-platform-panel[hidden] {
  display: none !important;
}

@media (max-width: 760px) {
  .gp-requirements-heading {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 14px;
  }

  .gp-requirements-heading .gp-platform-tabs {
    width: 100%;
  }

  .gp-requirements-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .gp-requirement-column + .gp-requirement-column {
    border-left: 0;
    border-top: 1px solid var(--border);
    padding-left: 0;
    padding-top: 24px;
  }

  .gp-overview-languages {
    margin-top: 22px;
  }
}


/* STEAM HERO COLLAPSIBLE LANGUAGES */

.gp-hero-languages {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border, rgba(128, 145, 170, .2));
}

.gp-hero-languages-title {
  margin-bottom: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted, #8794a9);
}

.gp-hero-languages-preview,
.gp-hero-languages-rest {
  font-size: 14px;
  line-height: 1.65;
}

.gp-hero-languages-more {
  margin-top: 5px;
}

.gp-hero-languages-more summary {
  display: inline-block;
  cursor: pointer;
  color: #69b6ff;
  font-size: 14px;
  font-weight: 600;
  list-style: none;
}

.gp-hero-languages-more summary::-webkit-details-marker {
  display: none;
}

.gp-hero-languages-more summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 3px;
}

.gp-hero-languages-more .gp-languages-collapse {
  display: none;
}

.gp-hero-languages-more[open] .gp-languages-expand {
  display: none;
}

.gp-hero-languages-more[open] .gp-languages-collapse {
  display: inline;
}

.gp-hero-languages-rest {
  margin-top: 8px;
}

html:not([data-color-theme="dark"]) .gp-hero-languages-more summary {
  color: #2864cc;
}

/* Compact languages directly below Steam store link */
.gp-hero-languages {
  border-top: 0 !important;
  margin-top: 12px !important;
  padding-top: 0 !important;
}

.gp-hero-languages-title {
  margin-top: 0 !important;
}

/* Desktop: show all game metadata regardless of details state. */
@media (min-width: 768px) {
  .gp-mobile-about {
    display: block;
  }

  .gp-mobile-about > summary {
    display: none;
  }

  .gp-mobile-about > .gp-mobile-about-content {
    display: block;
  }
}

/* Game hero and checkout: mobile */
@media (max-width: 767px) {
  .gp-hero {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .gp-overview {
    display: contents;
  }

  .gp-overview > h1 {
    order: 0;
    width: 100%;
    margin: 0;
    font-size: 25px;
    letter-spacing: -0.5px;
  }

  .gp-artwork {
    display: contents;
  }

  .gp-cover {
    order: 1;
    width: 100%;
    max-width: 460px;
  }

  .gp-mobile-about {
    order: 2;
    width: 100%;
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    overflow: hidden;
  }

  .gp-mobile-about > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
  }

  .gp-mobile-about > summary::-webkit-details-marker {
    display: none;
  }

  .gp-mobile-about > summary::after {
    content: "";
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s ease;
  }

  .gp-mobile-about[open] > summary::after {
    transform: rotate(225deg);
  }

  .gp-mobile-about-content {
    padding: 0 16px 16px;
  }

  .gp-mobile-about-content > .gp-description,
  .gp-mobile-about-content > .gp-steam-user-tags {
    margin-top: 18px;
  }

  .gp-purchase {
    order: 3;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
  }

  .gp-purchase > * {
    min-width: 0;
    max-width: 100%;
  }

  .gp-purchase .gp-email,
  .gp-purchase #gp-email {
    width: 100%;
  }

  .gp-purchase .gp-promo-trigger {
    align-self: flex-start;
    width: auto;
    text-align: left;
  }

  .gp-purchase #gp-buy {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    padding: 13px 10px;
    text-align: center;
    white-space: normal;
  }
}
