/* [ALLOW: sites/027-slackinggames GamePix catalog presentation] */
.gpx-catalog,
.gpx-detail {
  width: min(calc(100% - 32px), 1440px);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 56px) 0 72px;
  color: #111827;
}

.gpx-hero,
.gpx-detail-head,
.gpx-about,
.gpx-actions,
.gpx-editorial,
.gpx-recent,
.gpx-info-grid > *,
.gpx-related {
  border: 1px solid rgba(31, 41, 55, .16);
  border-radius: 14px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 16px 38px rgba(31, 41, 55, .08);
}

.gpx-hero {
  padding: clamp(28px, 5vw, 68px);
  background:
    radial-gradient(circle at 86% 15%, rgba(14, 165, 233, .2), transparent 31%),
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(242, 251, 255, .96));
}

.gpx-kicker {
  margin: 0 0 10px;
  color: #0369a1;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.gpx-hero h1,
.gpx-detail-head h1 {
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.gpx-hero > p:not(.gpx-kicker),
.gpx-detail-head > div > p:last-child {
  max-width: 850px;
  color: #4b5563;
  font-size: 1.06rem;
  line-height: 1.7;
}

.gpx-search {
  max-width: 760px;
  margin-top: 28px;
}

.gpx-search label {
  display: block;
  margin-bottom: 8px;
  font-size: .84rem;
  font-weight: 800;
}

.gpx-search > div {
  display: flex;
  gap: 8px;
}

.gpx-search input {
  flex: 1;
  min-width: 0;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid #9ca3af;
  border-radius: 9px;
  background: #fff;
  font: inherit;
}

.gpx-search button,
.gpx-player-toolbar button {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 9px;
  background: #111827;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.gpx-categories,
.gpx-subcategories {
  display: flex;
  gap: 9px;
  margin: 22px 0 28px;
  padding: 4px 0 10px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.gpx-categories a,
.gpx-subcategories a {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: .84rem;
  font-weight: 800;
  text-decoration: none;
}

.gpx-categories a.active,
.gpx-subcategories a.active {
  border-color: #111827;
  background: #111827;
  color: #fff;
}

.gpx-categories span,
.gpx-subcategories span {
  opacity: .7;
}

.gpx-subcategories {
  flex-wrap: wrap;
  margin-top: -18px;
}

.gpx-subcategories a {
  border-style: dashed;
  border-radius: 8px;
  font-size: .78rem;
}

.gpx-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.gpx-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dbe3ea;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .07);
  transition: transform .18s ease, box-shadow .18s ease;
}

.gpx-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 35px rgba(15, 23, 42, .13);
}

.gpx-card-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e5e7eb;
}

.gpx-card-image img,
.gpx-mini-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gpx-play {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 7px 11px;
  border-radius: 8px;
  background: rgba(17, 24, 39, .92);
  color: #fff;
  font-size: .76rem;
  font-weight: 900;
}

.gpx-card-copy {
  padding: 16px;
}

.gpx-category {
  color: #0369a1;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.gpx-card h2 {
  margin: 5px 0 8px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.gpx-card h2 a {
  color: #111827;
  text-decoration: none;
}

.gpx-card p {
  display: -webkit-box;
  min-height: 4.35em;
  margin: 0;
  overflow: hidden;
  color: #667085;
  font-size: .88rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.gpx-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px solid #edf0f3;
  color: #64748b;
  font-size: .75rem;
  text-transform: capitalize;
}

.gpx-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 34px 0;
}

.gpx-pagination a {
  min-width: 42px;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  text-align: center;
  text-decoration: none;
}

.gpx-pagination a.active {
  border-color: #0284c7;
  background: #0284c7;
  color: #fff;
}

.gpx-about,
.gpx-empty {
  margin-top: 34px;
  padding: clamp(24px, 4vw, 42px);
}

.gpx-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: #64748b;
  font-size: .86rem;
}

.gpx-detail-head {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 4vw, 42px);
}

.gpx-detail-head img {
  width: 105px;
  height: 105px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .18);
}

.gpx-detail-head h1 {
  font-size: clamp(2rem, 5vw, 4.2rem);
}

.gpx-player-shell {
  margin: 24px 0;
  overflow: hidden;
  border: 1px solid #111827;
  border-radius: 14px;
  background: #070b12;
}

.gpx-player-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  color: #fff;
}

.gpx-player-toolbar button {
  border: 1px solid #475569;
  background: #1e293b;
}

.gpx-frame-wrap {
  width: 100%;
  max-height: min(78vh, 900px);
  aspect-ratio: var(--game-ratio);
  margin: 0 auto;
  background: #000;
}

.gpx-frame-wrap.gpx-orientation-portrait {
  width: min(100%, 680px);
}

.gpx-frame-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.gpx-player-note {
  margin: 0;
  padding: 12px 16px;
  color: #cbd5e1;
  font-size: .78rem;
  line-height: 1.5;
}

.gpx-actions {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto auto;
  gap: 18px;
  align-items: center;
  margin: 0 0 22px;
  padding: clamp(20px, 3vw, 30px);
}

.gpx-actions h2,
.gpx-actions p {
  margin: 0;
}

.gpx-vote {
  display: flex;
  gap: 8px;
}

.gpx-actions button {
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  background: #fff;
  color: #111827;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.gpx-actions button:hover,
.gpx-actions button:focus-visible,
.gpx-actions button[aria-pressed="true"] {
  border-color: #0284c7;
  background: #e0f2fe;
}

.gpx-rating {
  margin: 0;
  padding: 0;
  border: 0;
}

.gpx-rating legend {
  margin-bottom: 5px;
  color: #475569;
  font-size: .75rem;
  font-weight: 800;
}

.gpx-rating > div {
  display: flex;
}

.gpx-rating button {
  min-width: 34px;
  min-height: 38px;
  padding: 4px;
  border-color: transparent;
  color: #94a3b8;
  font-size: 1.3rem;
}

.gpx-rating button.active {
  color: #d97706;
}

.gpx-action-status {
  grid-column: 1 / -1;
  min-height: 1.4em;
  color: #0369a1;
  font-size: .82rem;
}

.gpx-editorial {
  margin: 22px 0;
  padding: clamp(24px, 4vw, 48px);
}

.gpx-editorial > section + section {
  margin-top: 38px;
  padding-top: 32px;
  border-top: 1px solid #e2e8f0;
}

.gpx-editorial h2 {
  max-width: 900px;
  margin: 0 0 16px;
  color: #0f172a;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.2;
}

.gpx-editorial h3 {
  margin: 20px 0 7px;
  color: #1e293b;
  font-size: 1.03rem;
}

.gpx-editorial p,
.gpx-advice-list p,
.gpx-mistakes p {
  max-width: 920px;
  margin: 0 0 14px;
  color: #475569;
  font-size: 1rem;
  line-height: 1.78;
}

.gpx-evidence {
  padding: 14px 16px;
  border-left: 4px solid #38bdf8;
  border-radius: 6px;
  background: #f0f9ff;
  font-size: .88rem !important;
}

.gpx-advice-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gpx-advice-list li,
.gpx-mistakes > div,
.gpx-alternative-copy article {
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
}

.gpx-advice-list h3,
.gpx-mistakes h3,
.gpx-alternative-copy h3 {
  margin-top: 0;
}

.gpx-mistakes,
.gpx-alternative-copy {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.gpx-editorial-pending {
  border-style: dashed;
}

.gpx-recent {
  margin-top: 22px;
  padding: clamp(22px, 4vw, 38px);
}

.gpx-recent-track {
  display: grid;
  grid-auto-columns: minmax(190px, 240px);
  grid-auto-flow: column;
  gap: 12px;
  padding-bottom: 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}

.gpx-recent-track a {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  color: #111827;
  text-decoration: none;
  scroll-snap-align: start;
}

.gpx-recent-track img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e2e8f0;
}

.gpx-recent-track strong {
  display: block;
  padding: 10px;
}

.gpx-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, .6fr);
  gap: 20px;
}

.gpx-info-grid > * {
  padding: clamp(22px, 4vw, 38px);
}

.gpx-info-grid p,
.gpx-about p {
  color: #4b5563;
  line-height: 1.72;
}

.gpx-info-grid dl {
  margin: 0;
}

.gpx-info-grid dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
}

.gpx-info-grid dt {
  color: #64748b;
}

.gpx-info-grid dd {
  margin: 0;
  font-weight: 700;
  text-transform: capitalize;
}

.gpx-related {
  margin-top: 22px;
  padding: clamp(22px, 4vw, 38px);
}

.gpx-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gpx-mini-grid a {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  color: #111827;
  text-decoration: none;
}

.gpx-mini-grid img {
  display: block;
  aspect-ratio: 16 / 9;
}

.gpx-mini-grid strong {
  display: block;
  padding: 11px;
}

@media (max-width: 1100px) {
  .gpx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gpx-mini-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gpx-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gpx-mistakes,
  .gpx-alternative-copy { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .gpx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gpx-info-grid { grid-template-columns: 1fr; }
  .gpx-mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gpx-advice-list,
  .gpx-mistakes,
  .gpx-alternative-copy { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .gpx-grid { grid-template-columns: 1fr; }
  .gpx-search > div { flex-direction: column; }
  .gpx-detail-head { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
  .gpx-detail-head img { width: 72px; height: 72px; border-radius: 12px; }
  .gpx-detail-head > div > p:last-child { grid-column: 1 / -1; }
  .gpx-actions { grid-template-columns: 1fr; }
  .gpx-vote { flex-wrap: wrap; }
}

/* Root-English dark portal redesign — 2026-07-20. */
:root {
  --sg-bg: #080e1b;
  --sg-surface: #121b2d;
  --sg-surface-2: #18243a;
  --sg-border: #263650;
  --sg-text: #f8fafc;
  --sg-muted: #a7b0c0;
  --sg-primary: #ef4444;
  --sg-accent: #fde047;
  --sg-link: #38bdf8;
  --sg-success: #34d399;
}

body.site-27 {
  margin: 0;
  background: var(--sg-bg);
  color: var(--sg-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.site-27 .main-content {
  min-height: 70vh;
  background: var(--sg-bg);
}

body.site-27 a {
  text-underline-offset: .18em;
}

body.site-27 :focus-visible {
  outline: 3px solid var(--sg-accent);
  outline-offset: 3px;
}

body.site-27 .sg-header {
  position: sticky;
  z-index: 80;
  top: 0;
  border-bottom: 1px solid var(--sg-border);
  background: #0b1323;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .24);
}

.sg-header-inner {
  display: flex;
  align-items: center;
  width: min(calc(100% - 32px), 1440px);
  min-height: 74px;
  margin: 0 auto;
  gap: 20px;
}

.sg-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
}

.sg-brand img {
  display: block;
  width: 118px;
  height: auto;
}

.sg-header .main-nav {
  min-width: 0;
  margin-left: auto;
}

.sg-header .main-nav > ul {
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sg-header .main-nav > ul > li {
  flex: 0 0 auto;
}

.sg-header .main-nav > ul > li > a,
.sg-mega-toggle {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--sg-muted);
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.sg-header .main-nav > ul > li > a:hover,
.sg-header .main-nav > ul > li > a[aria-current="page"],
.sg-mega-toggle:hover,
.sg-mega-toggle[aria-expanded="true"] {
  background: var(--sg-surface-2);
  color: var(--sg-text);
}

.sg-header .main-nav > ul > li > .sg-random {
  gap: 6px;
  color: #fff;
  background: var(--sg-primary);
}

.sg-header .main-nav > ul > li > .sg-random:hover {
  color: #fff;
  background: #dc2626;
}

.sg-random img,
.sg-nav-search img {
  filter: brightness(0) invert(1);
}

.sg-nav-search form {
  display: flex;
  height: 40px;
  overflow: hidden;
  border: 1px solid var(--sg-border);
  border-radius: 9px;
  background: var(--sg-surface);
}

.sg-nav-search input {
  width: 118px;
  min-width: 0;
  padding: 0 10px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--sg-text);
  font: inherit;
  font-size: .78rem;
}

.sg-nav-search button {
  display: grid;
  width: 40px;
  border: 0;
  background: var(--sg-surface-2);
  place-items: center;
  cursor: pointer;
}

.sg-mega-item {
  position: relative;
}

.sg-mega {
  position: fixed;
  z-index: 90;
  top: 70px;
  right: max(16px, calc((100vw - 1440px) / 2));
  left: max(16px, calc((100vw - 1440px) / 2));
  display: none;
  max-height: min(72vh, 680px);
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--sg-border);
  border-radius: 14px;
  background: #0d1728;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .48);
}

.sg-mega.open {
  display: block;
}

.sg-mega-head,
.sg-mega-grid {
  width: 100%;
}

.sg-mega-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--sg-border);
}

.sg-mega-head strong {
  font-size: 1.15rem;
}

.sg-mega-head a {
  color: var(--sg-link);
  font-weight: 800;
}

.sg-mega-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 28px;
}

.sg-mega-grid section {
  min-width: 0;
}

.sg-mega-channel {
  color: var(--sg-text);
  font-weight: 900;
  text-decoration: none;
}

.sg-mega-grid section > ul {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.sg-mega-grid section > ul a {
  color: var(--sg-muted);
  font-size: .83rem;
  text-decoration: none;
}

.sg-mega-grid a:hover {
  color: var(--sg-link);
}

.sg-menu-toggle {
  display: none;
  min-width: 64px;
  min-height: 44px;
  border: 1px solid var(--sg-border);
  border-radius: 8px;
  background: var(--sg-surface);
  color: var(--sg-text);
  font: inherit;
  font-weight: 800;
}

.sg-mobile-search {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  border: 1px solid var(--sg-border);
  border-radius: 8px;
  background: var(--sg-surface);
}

.sg-mobile-search img {
  filter: brightness(0) invert(1);
}

.sg-menu-toggle[aria-expanded="false"] .nav-toggle-close,
.sg-menu-toggle[aria-expanded="true"] .nav-toggle-open {
  display: none;
}

.gpx-catalog,
.gpx-detail,
.sg-portal-home,
.sg-static {
  width: min(calc(100% - 32px), 1440px);
  margin: 0 auto;
  padding: clamp(24px, 3vw, 46px) 0 72px;
  color: var(--sg-text);
}

.gpx-hero,
.gpx-detail-head,
.gpx-about,
.gpx-actions,
.gpx-editorial,
.gpx-recent,
.gpx-facts,
.gpx-related,
.sg-home-intro,
.sg-home-trust,
.sg-static article {
  border: 1px solid var(--sg-border);
  border-radius: 14px;
  background: var(--sg-surface);
  box-shadow: none;
}

.gpx-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .55fr);
  gap: 36px;
  align-items: end;
  padding: clamp(24px, 4vw, 48px);
  background: var(--sg-surface);
}

.gpx-kicker {
  color: var(--sg-accent);
}

.gpx-hero h1,
.gpx-detail-head h1,
.sg-home-intro h1,
.sg-static h1 {
  margin: 0;
  color: var(--sg-text);
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.gpx-hero > div > p:not(.gpx-kicker),
.gpx-detail-head > div > p:last-child,
.sg-home-intro > div > p:last-child,
.sg-static article > p {
  max-width: 840px;
  margin: 12px 0 0;
  color: var(--sg-muted);
  font-size: .98rem;
  line-height: 1.7;
}

.gpx-search {
  margin: 0;
}

.gpx-search label,
.sg-home-search label {
  color: var(--sg-text);
}

.gpx-search input,
.sg-home-search input {
  border-color: var(--sg-border);
  background: #0a1220;
  color: var(--sg-text);
}

.gpx-search button,
.sg-home-search button,
.gpx-player-toolbar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--sg-primary);
  color: #fff;
}

.gpx-search button img,
.sg-home-search button img {
  filter: brightness(0) invert(1);
}

.gpx-categories,
.gpx-subcategories,
.sg-channel-rail {
  scrollbar-color: var(--sg-border) var(--sg-bg);
}

.gpx-categories a,
.gpx-subcategories a,
.sg-channel-rail a {
  border-color: var(--sg-border);
  background: var(--sg-surface);
  color: var(--sg-muted);
}

.gpx-categories a.active,
.gpx-subcategories a.active,
.gpx-categories a:hover,
.gpx-subcategories a:hover {
  border-color: var(--sg-primary);
  background: var(--sg-primary);
  color: #fff;
}

.gpx-catalog-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
}

.gpx-catalog-tools p {
  margin: 0;
  color: var(--sg-muted);
}

.gpx-catalog-tools form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gpx-catalog-tools label {
  color: var(--sg-muted);
  font-size: .82rem;
  font-weight: 800;
}

.gpx-catalog-tools select {
  min-height: 44px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--sg-border);
  border-radius: 8px;
  background: var(--sg-surface);
  color: var(--sg-text);
  font: inherit;
  font-weight: 700;
}

.gpx-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gpx-card {
  border-color: var(--sg-border);
  background: var(--sg-surface);
  box-shadow: none;
}

.gpx-card:hover {
  box-shadow: 0 16px 36px rgba(0, 0, 0, .34);
}

.gpx-card-image {
  background: var(--sg-surface-2);
}

.gpx-play {
  background: var(--sg-primary);
  color: #fff;
}

.gpx-card h2,
.gpx-card h3 {
  display: -webkit-box;
  min-height: 2.55em;
  margin: 6px 0 8px;
  overflow: hidden;
  font-size: 1.02rem;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.gpx-card h2 a,
.gpx-card h3 a {
  color: var(--sg-text);
}

.gpx-card p {
  min-height: 2.9em;
  color: var(--sg-muted);
  -webkit-line-clamp: 2;
}

.gpx-card-meta {
  border-color: var(--sg-border);
  color: var(--sg-muted);
}

.gpx-category {
  color: var(--sg-link);
}

.gpx-pagination a {
  border-color: var(--sg-border);
  background: var(--sg-surface);
  color: var(--sg-text);
}

.gpx-pagination a.active,
.gpx-pagination a:hover {
  border-color: var(--sg-primary);
  background: var(--sg-primary);
}

body.site-27 .gpx-breadcrumb {
  padding: 10px 12px;
  border: 1px solid var(--sg-border);
  border-radius: 10px;
  background: var(--sg-surface);
  color: var(--sg-muted);
}

body.site-27 .gpx-breadcrumb a {
  color: var(--sg-link);
}

body.site-27 .gpx-breadcrumb a,
body.site-27 .gpx-breadcrumb span {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.gpx-about,
.sg-home-trust {
  padding: clamp(24px, 4vw, 42px);
}

.gpx-about h2,
.sg-home-trust h2 {
  margin: 0 0 14px;
  color: var(--sg-text);
}

.gpx-about p,
.sg-home-trust p {
  max-width: 980px;
  color: var(--sg-muted);
}

.gpx-related-channels,
.sg-home-trust > div {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.gpx-related-channels a,
.sg-home-trust a {
  padding: 9px 12px;
  border: 1px solid var(--sg-border);
  border-radius: 999px;
  color: var(--sg-link);
  text-decoration: none;
}

.sg-home-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .7fr);
  gap: 40px;
  align-items: end;
  padding: clamp(26px, 4vw, 52px);
}

.sg-home-search > div {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.sg-home-search input {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid var(--sg-border);
  border-radius: 9px;
  font: inherit;
}

.sg-home-search button {
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: 9px;
  font: inherit;
  font-weight: 900;
}

.sg-channel-rail {
  display: grid;
  grid-auto-columns: minmax(135px, 1fr);
  grid-auto-flow: column;
  gap: 9px;
  margin: 18px 0 34px;
  padding-bottom: 8px;
  overflow-x: auto;
}

.sg-channel-rail a {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 15px;
  border: 1px solid var(--sg-border);
  border-radius: 10px;
  text-decoration: none;
}

.sg-channel-rail strong {
  color: var(--sg-text);
}

.sg-channel-rail span {
  color: var(--sg-muted);
  font-size: .72rem;
}

.sg-game-section {
  margin: 0 0 44px;
}

.sg-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 16px;
}

.sg-section-heading h2 {
  margin: 0;
  color: var(--sg-text);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.sg-section-heading .gpx-kicker {
  margin-bottom: 4px;
}

.sg-section-heading > a {
  color: var(--sg-link);
  font-weight: 900;
}

.sg-home-trust {
  margin-top: 10px;
}

.gpx-detail-head {
  grid-template-columns: 104px minmax(0, 1fr);
  border-radius: 14px 14px 0 0;
}

.gpx-detail-head img {
  box-shadow: none;
}

.gpx-player-shell {
  border-color: var(--sg-border);
  border-radius: 0 0 14px 14px;
}

.gpx-player-toolbar {
  background: #0b1323;
}

.gpx-frame-wrap {
  position: relative;
}

.gpx-frame-status {
  position: absolute;
  inset: 0;
  display: grid;
  margin: 0;
  padding: 24px;
  background: #05080f;
  color: var(--sg-muted);
  text-align: center;
  place-items: center;
}

.gpx-frame-status.is-loaded {
  display: none;
}

.gpx-frame-status.is-delayed,
.gpx-frame-status.is-error {
  color: var(--sg-accent);
}

.gpx-player-note {
  background: #0b1323;
}

.gpx-related,
.gpx-facts,
.gpx-actions,
.gpx-editorial,
.gpx-recent,
.gpx-walkthrough {
  margin-top: 22px;
  padding: clamp(22px, 4vw, 38px);
}

.gpx-walkthrough {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--sg-border);
  border-radius: 14px;
  background: var(--sg-surface);
}

.gpx-walkthrough h2,
.gpx-walkthrough p {
  margin: 0;
}

.gpx-walkthrough > div:first-child > p:last-child,
.gpx-walkthrough > p {
  color: var(--sg-muted);
}

.gpx-walkthrough button {
  min-height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: var(--sg-primary);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.gpx-walkthrough #gamemonetize-video,
.gpx-walkthrough > p {
  grid-column: 1 / -1;
}

.gpx-review-line {
  margin: 16px 0 0;
  padding: 13px 16px;
  border: 1px solid var(--sg-border);
  border-radius: 9px;
  background: var(--sg-surface-2);
  color: var(--sg-muted);
  line-height: 1.55;
}

.gpx-review-line strong {
  color: var(--sg-success);
}

.gpx-facts {
  display: grid;
  grid-template-columns: minmax(220px, .45fr) minmax(0, 1.55fr);
  gap: 30px;
}

.gpx-facts h2 {
  margin: 0;
}

.gpx-facts dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
  margin: 0;
}

.gpx-facts dl > div {
  display: grid;
  grid-template-columns: minmax(95px, .55fr) minmax(0, 1fr);
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--sg-border);
}

.gpx-facts dt {
  color: var(--sg-muted);
}

.gpx-facts dd {
  margin: 0;
  color: var(--sg-text);
  font-weight: 800;
  text-transform: capitalize;
}

.gpx-facts a {
  color: var(--sg-link);
}

.gpx-actions {
  grid-template-columns: minmax(220px, 1fr) auto auto auto;
}

.gpx-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-color: var(--sg-border);
  background: var(--sg-surface-2);
  color: var(--sg-text);
}

.gpx-actions button:hover,
.gpx-actions button:focus-visible,
.gpx-actions button[aria-pressed="true"] {
  border-color: var(--sg-link);
  background: #17314a;
}

.gpx-actions button img {
  filter: brightness(0) invert(1);
}

.gpx-icon-dislike {
  transform: rotate(180deg);
}

.gpx-rating legend,
.gpx-action-status {
  color: var(--sg-muted);
}

.gpx-rating button.active {
  background: #423816;
}

.gpx-editorial > section + section {
  border-color: var(--sg-border);
}

.gpx-editorial h2,
.gpx-editorial h3,
.gpx-recent h2,
.gpx-related h2 {
  color: var(--sg-text);
}

.gpx-editorial p,
.gpx-advice-list p,
.gpx-mistakes p {
  color: #c1c9d5;
}

.gpx-evidence {
  border-color: var(--sg-link);
  background: #0d2639;
}

.gpx-advice-list li,
.gpx-mistakes > div,
.gpx-alternative-copy article {
  border-color: var(--sg-border);
  background: var(--sg-surface-2);
}

.gpx-alternative-copy a {
  color: var(--sg-link);
}

.gpx-recent-track a,
.gpx-mini-grid a {
  border-color: var(--sg-border);
  background: var(--sg-surface-2);
  color: var(--sg-text);
}

.gpx-mini-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sg-static {
  max-width: 980px;
}

.sg-static article {
  padding: clamp(28px, 5vw, 60px);
}

.sg-primary-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--sg-primary);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.sg-footer {
  border-top: 1px solid var(--sg-border);
  background: #070c16;
  color: var(--sg-muted);
}

.sg-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(160px, .5fr));
  gap: 40px;
  width: min(calc(100% - 32px), 1440px);
  margin: 0 auto;
  padding: 52px 0 36px;
}

.sg-brand-footer {
  margin-bottom: 14px;
}

.sg-brand-footer img {
  width: 140px;
}

.sg-footer-inner > div > p {
  max-width: 550px;
  line-height: 1.7;
}

.sg-footer nav {
  display: grid;
  align-content: start;
  gap: 9px;
}

.sg-footer nav strong {
  margin-bottom: 4px;
  color: var(--sg-text);
}

.sg-footer nav a {
  color: var(--sg-muted);
  text-decoration: none;
}

.sg-footer nav a:hover {
  color: var(--sg-link);
}

.sg-footer-bottom {
  width: min(calc(100% - 32px), 1440px);
  margin: 0 auto;
  padding: 22px 0 28px;
  border-top: 1px solid var(--sg-border);
  font-size: .82rem;
}

@media (min-width: 1500px) {
  .gpx-grid:not(.gpx-grid-featured) {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1260px) {
  .sg-header .main-nav > ul > li:nth-child(6),
  .sg-header .main-nav > ul > li:nth-child(7) {
    display: none;
  }

  .sg-mega-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .sg-mobile-search {
    display: inline-flex;
  }

  .sg-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0;
  }

  .sg-header .main-nav {
    position: fixed;
    z-index: 85;
    top: 74px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    overflow: auto;
    padding: 16px;
    background: #0b1323;
  }

  .sg-header .main-nav.open {
    display: block;
  }

  .sg-header .main-nav > ul {
    display: grid;
    gap: 6px;
  }

  .sg-header .main-nav > ul > li,
  .sg-header .main-nav > ul > li:nth-child(6),
  .sg-header .main-nav > ul > li:nth-child(7) {
    display: block;
  }

  .sg-header .main-nav > ul > li > a,
  .sg-mega-toggle {
    width: 100%;
    min-height: 48px;
    justify-content: flex-start;
    padding: 0 14px;
    font-size: .95rem;
  }

  .sg-mega {
    position: static;
    max-height: none;
    margin: 6px 0;
    padding: 16px;
    box-shadow: none;
  }

  .sg-mega-grid {
    grid-template-columns: 1fr;
  }

  .sg-nav-search form {
    height: 48px;
  }

  .sg-nav-search input {
    width: 100%;
    font-size: .95rem;
  }

  .gpx-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .gpx-hero,
  .sg-home-intro,
  .gpx-facts {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .gpx-grid,
  .gpx-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gpx-facts dl {
    grid-template-columns: 1fr;
  }

  .gpx-actions {
    grid-template-columns: 1fr 1fr;
  }

  .sg-footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .sg-footer-inner > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .sg-header-inner,
  .gpx-catalog,
  .gpx-detail,
  .sg-portal-home,
  .sg-static,
  .sg-footer-inner,
  .sg-footer-bottom {
    width: min(calc(100% - 24px), 1440px);
  }

  .sg-brand img {
    width: 96px;
  }

  .gpx-grid {
    gap: 10px;
  }

  .gpx-card-copy {
    padding: 12px;
  }

  .gpx-card p {
    display: none;
  }

  .gpx-card h2,
  .gpx-card h3 {
    min-height: 2.5em;
    font-size: .88rem;
  }

  .gpx-card-meta {
    display: none;
  }

  .gpx-catalog-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .gpx-catalog-tools form {
    justify-content: space-between;
  }

  .gpx-catalog-tools select {
    flex: 1;
  }

  .gpx-search > div,
  .sg-home-search > div {
    flex-direction: column;
  }

  .gpx-detail-head {
    grid-template-columns: 1fr;
  }

  .gpx-detail-head img {
    width: 68px;
    height: 68px;
  }

  .gpx-actions,
  .sg-footer-inner {
    grid-template-columns: 1fr;
  }

  .sg-footer-inner > div:first-child {
    grid-column: auto;
  }
}

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