@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@500&family=Onest:wght@300;400;500;600;700&display=swap");

:root {
  --ink: #171822;
  --muted: #686b77;
  --faint: #979aa5;
  --canvas: #f7f8fb;
  --surface: #ffffff;
  --surface-soft: #f0f2f6;
  --line: #e1e4ea;
  --line-strong: #cfd3dc;
  --pink: #e92f91;
  --pink-soft: #fff0f8;
  --cyan: #008da8;
  --cyan-soft: #eaf9fc;
  --mint: #168a70;
  --orange: #bf671d;
  --document-overscroll: #fff0f8;
  --document-bg: linear-gradient(180deg, rgba(255, 232, 244, 0.95) 0, rgba(255, 246, 251, 0.78) 112px, var(--canvas) 34%, var(--canvas) 66%, #fff6fb 100%);
  --glow-cyan: 0 0 0 1px rgba(0, 141, 168, 0.18), 0 14px 36px rgba(0, 141, 168, 0.08);
  --glow-pink: 0 0 0 1px rgba(233, 47, 145, 0.18), 0 14px 36px rgba(233, 47, 145, 0.08);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --shadow-menu: 0 18px 48px rgba(35, 38, 52, 0.16), 0 2px 10px rgba(35, 38, 52, 0.08);
  --shadow-card: 0 12px 32px rgba(35, 38, 52, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background-color: var(--document-overscroll);
  background-image: var(--document-bg);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background-color: transparent;
  background-image: var(--document-bg);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  font-family: "Onest", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}

body::before {
  position: fixed;
  inset: 0 0 auto;
  z-index: -1;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, rgba(233, 47, 145, 0.42), rgba(233, 47, 145, 0.88), rgba(233, 47, 145, 0.42));
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  min-height: 72px;
  padding: 0.68rem max(18px, calc((100% - 1180px) / 2));
  border-bottom: 1px solid rgba(207, 211, 220, 0.82);
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(26px) saturate(1.24);
  backdrop-filter: blur(26px) saturate(1.24);
  box-shadow: 0 18px 44px rgba(233, 47, 145, 0.026);
}

.topbar::before {
  position: absolute;
  pointer-events: none;
  content: "";
}

.topbar::before {
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(30px) saturate(1.22);
  backdrop-filter: blur(30px) saturate(1.22);
}

.topbar::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 58%),
    linear-gradient(90deg, rgba(233, 47, 145, 0.05) 0%, rgba(255, 129, 190, 0.13) 50%, rgba(233, 47, 145, 0.05) 100%),
    radial-gradient(ellipse at 50% -45%, rgba(233, 47, 145, 0.16), transparent 68%);
  mix-blend-mode: normal;
}

.topbar > * {
  position: relative;
  z-index: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 8px;
  background: #13263f;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(85, 213, 232, 0.2),
    inset 0 -10px 18px rgba(6, 15, 38, 0.22),
    0 7px 16px rgba(19, 38, 63, 0.16),
    0 0 14px rgba(85, 213, 232, 0.08);
}

.brand-mark img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter:
    drop-shadow(0 1px 2px rgba(6, 15, 38, 0.36))
    drop-shadow(0 0 6px rgba(85, 213, 232, 0.2));
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-name {
  font-size: 0.98rem;
  font-weight: 600;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.1em;
  white-space: nowrap;
}

.brand-wordmark i {
  position: relative;
  top: -0.04em;
  left: -0.03em;
  display: inline-block;
  width: 0.58em;
  height: 0.58em;
  flex: 0 0 auto;
  background: currentColor;
  clip-path: polygon(
    50% 0,
    61% 35%,
    98% 35%,
    68% 56%,
    79% 91%,
    50% 69%,
    21% 91%,
    32% 56%,
    2% 35%,
    39% 35%
  );
}

.brand-caption {
  margin-top: 0.25rem;
  color: var(--faint);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.topnav {
  position: relative;
  justify-self: center;
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.24rem;
  border: 1px solid rgba(207, 211, 220, 0.82);
  border-radius: calc(var(--radius-md) + 2px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 248, 252, 0.86)),
    rgba(255, 255, 255, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -1px 0 rgba(233, 47, 145, 0.045),
    0 10px 26px rgba(35, 38, 52, 0.045);
  overflow: visible;
}

.topnav::before {
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius-md) + 1px);
  content: "";
  background:
    linear-gradient(90deg, rgba(233, 47, 145, 0.035), transparent 28%, rgba(85, 213, 232, 0.04) 72%, rgba(233, 47, 145, 0.035)),
    radial-gradient(ellipse at 50% 0%, rgba(255, 129, 190, 0.13), transparent 66%);
  pointer-events: none;
}

.topnav > * {
  position: relative;
  z-index: 1;
}

.game-selector {
  position: static;
}

.game-selector summary {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  min-height: 38px;
  padding: 0.55rem 0.78rem;
  border-radius: var(--radius-sm);
  color: var(--muted);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 400;
  list-style: none;
  transition: color 150ms ease, background-color 150ms ease;
}

.game-selector summary::-webkit-details-marker {
  display: none;
}

.game-selector summary::after {
  width: 0.38rem;
  height: 0.38rem;
  content: "";
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-0.12rem) rotate(45deg);
  transition: transform 180ms ease;
}

.game-selector-icon {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 6px;
  object-fit: contain;
}

.game-selector-icon.is-gta {
  width: 30px;
  height: 18px;
  flex-basis: 30px;
  border-radius: 0;
}

.game-selector-icon.is-rockstar {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.game-selector summary:hover,
.game-selector summary:focus-visible,
.game-selector[open] summary {
  color: var(--ink);
  background: var(--surface-soft);
  outline: none;
}

.game-selector[open] summary::after {
  transform: translateY(0.08rem) rotate(225deg);
}

.game-dropdown {
  position: absolute;
  left: 50%;
  top: calc(100% + 0.7rem);
  z-index: 30;
  width: min(720px, calc(100vw - 36px));
  max-height: none;
  padding: 0.82rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-menu);
  overflow: visible;
  transform: translateX(-50%);
  animation: menu-in 150ms ease-out;
}

.game-selector:last-child .game-dropdown {
  right: auto;
  left: 50%;
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.dropdown-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: 0.62rem;
  padding: 0 0.2rem 0.64rem;
  border-bottom: 1px solid var(--line);
}

.dropdown-heading span {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 500;
}

.dropdown-heading small {
  color: var(--faint);
  font-size: 0.68rem;
  font-weight: 400;
  white-space: nowrap;
}

.game-dropdown section {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(var(--menu-rows), minmax(48px, auto));
  gap: 0.18rem 0.28rem;
}

.game-dropdown a {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.72rem;
  min-height: 48px;
  padding: 0.46rem 0.58rem;
  border-radius: var(--radius-md);
  color: var(--ink);
  transition: background-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.game-dropdown a:hover,
.game-dropdown a:focus-visible {
  background: var(--surface-soft);
  box-shadow: inset 2px 0 0 var(--cyan);
  outline: none;
}

.game-dropdown a.is-active {
  color: #a91667;
  background: var(--pink-soft);
  box-shadow: inset 2px 0 0 var(--pink);
}

.game-dropdown a:hover .game-menu-icon,
.game-dropdown a:focus-visible .game-menu-icon {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0, 195, 255, 0.16);
}

.game-dropdown a.is-active .game-menu-icon {
  box-shadow: 0 10px 22px rgba(237, 46, 145, 0.22);
}

.game-menu-icon {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.game-menu-icon.is-framed {
  border: 1px solid rgba(154, 164, 183, 0.22);
  object-fit: cover;
  background: var(--surface);
  box-shadow: 0 6px 14px rgba(19, 23, 36, 0.08);
}

.game-menu-icon.is-transparent {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.game-dropdown a:hover .game-menu-icon.is-transparent,
.game-dropdown a:focus-visible .game-menu-icon.is-transparent,
.game-dropdown a.is-active .game-menu-icon.is-transparent {
  filter: drop-shadow(0 8px 12px rgba(237, 46, 145, 0.16));
  box-shadow: none;
}

.game-menu-title {
  min-width: 0;
  font-size: 0.86rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-dropdown small {
  color: var(--faint);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}

.language-selector {
  justify-self: end;
}

.language-selector .game-dropdown {
  left: auto;
  right: 0;
  width: min(430px, calc(100vw - 36px));
  transform: none;
  animation: lang-menu-in 150ms ease-out;
}

@keyframes lang-menu-in {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.language-selector-icon,
.language-menu-code {
  display: grid;
  place-items: center;
  width: 32px;
  height: 24px;
  flex: 0 0 32px;
  border-radius: 999px;
  color: #a91667;
  background: var(--pink-soft);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.language-menu-code {
  width: 32px;
  height: 32px;
}

.language-selector .game-dropdown a.is-active .language-menu-code {
  color: #fff;
  background: var(--pink);
  box-shadow: 0 8px 18px rgba(233, 47, 145, 0.16);
}

.runtime-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  color: var(--muted);
  font-size: 0.76rem;
  white-space: nowrap;
}

.runtime-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(22, 138, 112, 0.1);
}

.page-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 4.5rem;
}

.home-shell {
  padding-bottom: 5rem;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.54fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
  min-height: 420px;
  padding: clamp(3rem, 7vw, 5.8rem) 0 clamp(2.3rem, 5vw, 4rem);
}

.home-hero-copy {
  max-width: 760px;
}

.home-summary {
  display: grid;
  gap: 0.82rem;
  min-width: 0;
}

.home-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.home-metrics div {
  min-width: 0;
  padding: 1.05rem;
  border-left: 1px solid var(--line);
}

.home-metrics div:first-child {
  border-left: 0;
}

.home-metrics dt {
  margin-bottom: 0.3rem;
  color: var(--faint);
  font-size: 0.66rem;
  font-weight: 500;
  text-transform: uppercase;
}

.home-metrics dd {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1;
}

.module-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.42rem;
}

.module-strip span {
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--muted);
  background: var(--surface);
  font-size: 0.76rem;
}

.module-strip span.is-live {
  border-color: #a8dce5;
  color: #00677c;
  background: var(--cyan-soft);
}

.application-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: center;
  padding-top: 2.3rem;
}

.application-copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.application-copy h2 {
  max-width: 620px;
  margin: 0.28rem 0 0.62rem;
  font-size: clamp(1.35rem, 2.8vw, 2.2rem);
  font-weight: 450;
  line-height: 1.08;
}

.application-copy p {
  max-width: 640px;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 300;
  line-height: 1.55;
}

.google-play-badge {
  display: inline-flex;
  width: 172px;
  max-width: 100%;
  transition: opacity 180ms ease, transform 180ms ease, filter 180ms ease;
}

.google-play-badge:hover,
.google-play-badge:focus-visible {
  opacity: 0.88;
  outline: none;
  transform: translateY(-1px);
  filter: drop-shadow(0 12px 22px rgba(35, 38, 52, 0.1));
}

.google-play-badge img {
  display: block;
  width: 100%;
  height: auto;
}

.application-visual {
  position: relative;
  z-index: 1;
  align-self: center;
  display: grid;
  place-items: center;
  width: clamp(128px, 15vw, 184px);
  aspect-ratio: 1;
  transform: translateY(0.28rem);
}

.application-icon-shell {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: clamp(108px, 12vw, 144px);
  aspect-ratio: 1;
  border-radius: 31%;
  background: rgba(255, 255, 255, 0.62);
  box-shadow:
    0 18px 34px rgba(35, 38, 52, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.74),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
  overflow: hidden;
}

.application-icon-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.application-glow {
  position: absolute;
  inset: 8%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(85, 213, 232, 0.18), rgba(233, 47, 145, 0.1) 46%, transparent 70%);
  filter: blur(16px);
}

.featured-games {
  padding-top: 2.3rem;
}

.game-directory {
  padding-top: 2.3rem;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.featured-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 0.82rem;
  align-items: center;
  min-width: 0;
  min-height: 86px;
  padding: 0.82rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 5px 18px rgba(35, 38, 52, 0.025);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.featured-card:hover,
.featured-card:focus-visible {
  border-color: rgba(233, 47, 145, 0.24);
  box-shadow: var(--glow-pink);
  outline: none;
  transform: translateY(-1px);
}

.featured-logo {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 10px;
  overflow: hidden;
}

.featured-logo.is-framed {
  border: 1px solid rgba(154, 164, 183, 0.22);
  background: var(--surface);
  box-shadow: 0 6px 14px rgba(19, 23, 36, 0.08);
}

.featured-logo.is-transparent {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.featured-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.featured-logo.is-framed img {
  object-fit: cover;
}

.featured-card strong,
.game-tile strong {
  display: block;
  min-width: 0;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.18;
}

.featured-card small,
.game-tile small {
  display: block;
  margin-top: 0.28rem;
  color: var(--faint);
  font-size: 0.72rem;
}

.featured-card .game-extra-title,
.game-tile .game-extra-title {
  color: #7f8797;
  line-height: 1.25;
}

.featured-card .game-extra-title + small,
.game-tile .game-extra-title + small {
  margin-top: 0.18rem;
}

.featured-card em {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  color: #a91667;
  background: var(--pink-soft);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 500;
  transition: color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.featured-card:hover em,
.featured-card:focus-visible em {
  color: #fff;
  background: var(--pink);
  box-shadow: 0 0 18px rgba(233, 47, 145, 0.26);
}

.directory-sections {
  display: grid;
  gap: 1rem;
}

.directory-section {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.directory-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: 0.82rem;
  padding-bottom: 0.82rem;
  border-bottom: 1px solid var(--line);
}

.directory-heading h3 {
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 500;
}

.directory-heading span {
  color: var(--faint);
  font-size: 0.76rem;
  white-space: nowrap;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.46rem;
}

.directory-column {
  display: grid;
  align-content: start;
  gap: 0.46rem;
}

.game-tile {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) max-content;
  gap: 0.75rem;
  align-items: center;
  min-width: 0;
  height: 66px;
  min-height: 66px;
  padding: 0.72rem;
  border-radius: var(--radius-md);
  color: var(--ink);
  background: var(--canvas);
  overflow: hidden;
  transition: background-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.game-tile-logo {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  opacity: 0.7;
  filter: grayscale(1);
  transition: opacity 150ms ease, transform 150ms ease;
}

.game-tile::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  content: "";
  background: var(--cyan);
  opacity: 0;
  transition: opacity 150ms ease;
}

.game-tile:hover,
.game-tile:focus-visible {
  background: var(--surface-soft);
  box-shadow: inset 0 0 0 1px rgba(0, 141, 168, 0.08);
  outline: none;
  transform: translateY(-1px);
}

.game-tile:hover::before,
.game-tile:focus-visible::before {
  opacity: 1;
}

.game-tile:hover .game-tile-logo,
.game-tile:focus-visible .game-tile-logo {
  opacity: 0.92;
  transform: scale(1.03);
}

.game-tile span {
  min-width: 0;
  overflow: hidden;
}

.game-tile strong,
.game-tile small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-tile em {
  flex: 0 0 auto;
  color: var(--cyan);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 500;
  white-space: nowrap;
  transition: color 150ms ease;
}

.game-tile:hover em,
.game-tile:focus-visible em {
  color: #a91667;
}

.game-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.68fr);
  gap: 1rem clamp(2rem, 6vw, 6rem);
  align-items: start;
  min-height: 0;
  padding: clamp(2.15rem, 5.8vw, 4.35rem) 0 clamp(2.4rem, 5vw, 4rem);
}

.game-intro-copy {
  max-width: 720px;
}

.game-heading-row {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.6vw, 1rem);
  max-width: min(760px, 100%);
  margin-bottom: 1rem;
}

.game-heading-row h1 {
  min-width: 0;
  margin-bottom: 0;
  font-size: clamp(1.55rem, 3.25vw, 3rem);
  line-height: 1.05;
  text-wrap: balance;
}

.game-heading-row h1.is-long-title {
  font-size: clamp(1.5rem, 2.75vw, 2.55rem);
  line-height: 1.08;
}

.game-title-stack {
  min-width: 0;
  max-width: min(760px, 100%);
}

.game-title-stack p,
.game-extra-title {
  color: var(--muted);
  font-weight: 400;
}

.game-title-stack p {
  margin: 0.42rem 0 0;
  font-size: clamp(0.92rem, 1.6vw, 1.08rem);
  line-height: 1.35;
}

.game-heading-icon {
  display: block;
  width: clamp(44px, 5vw, 56px);
  height: clamp(44px, 5vw, 56px);
  flex: 0 0 clamp(44px, 5vw, 56px);
  border-radius: 10px;
  object-fit: contain;
}

.game-heading-icon.is-framed {
  border: 1px solid rgba(154, 164, 183, 0.22);
  object-fit: cover;
  background: var(--surface);
  box-shadow: 0 12px 24px rgba(19, 23, 36, 0.1);
}

.game-heading-icon.is-transparent {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.16rem 0;
  grid-column: 1 / -1;
  align-items: center;
  width: 100%;
}

.section-kicker {
  display: block;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.75rem;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.game-intro > .eyebrow {
  margin-bottom: 0;
}

.eyebrow span {
  margin: 0 0.4rem;
  color: var(--line-strong);
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 1rem;
  font-size: clamp(2.55rem, 5.4vw, 5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.16rem);
  font-weight: 300;
}

.primary-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0.72rem 0.92rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius-md);
  color: #fff;
  background: var(--ink);
  font-size: 0.86rem;
  font-weight: 500;
  transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
  overflow: hidden;
}

.primary-action::after {
  position: absolute;
  inset: auto 12px 8px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, #55d5e8, var(--pink), transparent);
  opacity: 0;
  transition: opacity 180ms ease;
}

.primary-action .action-label,
.primary-action .action-arrow,
.primary-action > span[aria-hidden="true"] {
  position: relative;
  z-index: 1;
}

.primary-action:hover,
.primary-action:focus-visible {
  color: var(--ink);
  background: var(--surface);
  outline: none;
  transform: translateY(-1px);
  box-shadow: var(--glow-cyan);
}

.primary-action:hover::after,
.primary-action:focus-visible::after {
  opacity: 1;
}

.primary-action:hover .action-arrow,
.primary-action:focus-visible .action-arrow,
.primary-action:hover > span[aria-hidden="true"],
.primary-action:focus-visible > span[aria-hidden="true"] {
  color: #55d5e8;
}

.primary-action .action-arrow,
.primary-action > span[aria-hidden="true"] {
  color: #55d5e8;
  font-size: 1rem;
}

.index-action {
  border-color: #eca5ca;
  color: #672046;
  background: rgba(255, 216, 235, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.54),
    0 14px 28px rgba(213, 80, 145, 0.12);
  transition:
    color 260ms ease,
    background-color 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease,
    transform 260ms ease;
}

.index-action::before {
  position: absolute;
  inset: 0;
  content: "";
  background: #fff;
  opacity: 0;
  transition: opacity 280ms ease;
  pointer-events: none;
}

.index-action::after {
  background: linear-gradient(90deg, transparent, rgba(233, 47, 145, 0.7), transparent);
  opacity: 0;
  transition: opacity 260ms ease;
}

.index-action:hover,
.index-action:focus-visible {
  color: #5d1d40;
  background-color: rgba(255, 216, 235, 0.38);
  border-color: #e695bf;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    0 16px 30px rgba(213, 80, 145, 0.14);
}

.index-action:hover::before,
.index-action:focus-visible::before {
  opacity: 0.62;
}

.primary-action.index-action .action-arrow {
  color: #d62a82;
  opacity: 0.92;
  transition: color 260ms ease, opacity 260ms ease;
}

.primary-action.index-action:hover .action-arrow,
.primary-action.index-action:focus-visible .action-arrow {
  color: #c52377;
  opacity: 1;
}

.index-action:hover::after,
.index-action:focus-visible::after {
  opacity: 0.88;
}

.game-description {
  max-width: 680px;
  margin: 1.05rem 0 0;
  color: var(--muted);
  font-size: clamp(0.94rem, 1.35vw, 1.02rem);
  font-weight: 300;
  line-height: 1.65;
}

.game-releases {
  grid-column: 1 / 2;
  max-width: 680px;
  margin-top: 0.1rem;
  padding: 0;
}

.game-platforms {
  grid-column: 2 / 3;
  align-self: center;
  max-width: 420px;
  margin-top: 0.1rem;
  padding: 0;
  justify-self: center;
}

.game-releases h2,
.game-platforms h2 {
  margin: 0 0 0.72rem;
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.game-releases ol {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.42rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.game-releases li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.55rem;
  align-items: start;
  min-width: 0;
  padding: 0;
}

.game-releases time {
  min-width: 3.15rem;
  padding: 0.16rem 0.44rem;
  border: 1px solid rgba(233, 47, 145, 0.2);
  border-radius: 999px;
  color: #a91667;
  background: rgba(255, 240, 248, 0.86);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

.game-releases li span {
  min-width: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.45;
}

.game-platforms ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.game-platforms li {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 2rem;
  padding: 0.28rem 0.54rem 0.28rem 0.42rem;
  border: 1px solid rgba(207, 211, 220, 0.62);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.46);
  font-size: 0.76rem;
  font-weight: 400;
  line-height: 1.2;
  box-shadow: 0 8px 18px rgba(35, 38, 52, 0.035);
}

.game-platforms img {
  width: 1.12rem;
  height: 1.12rem;
  object-fit: contain;
  opacity: 0.68;
}

.game-identity {
  min-width: 0;
  display: grid;
  place-items: center;
  align-self: stretch;
}

.selected-game-art {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: clamp(190px, 28vw, 280px);
  padding: clamp(0.5rem, 2vw, 1rem);
}

.selected-game-art img {
  width: min(360px, 92%);
  max-height: 210px;
  object-fit: contain;
  filter:
    drop-shadow(0 15px 20px rgba(24, 27, 38, 0.16))
    drop-shadow(0 3px 4px rgba(24, 27, 38, 0.1));
}

.product-layout {
  display: block;
}

.cheats-panel {
  scroll-margin-top: 92px;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line-strong);
}

.cheats-panel.is-updating {
  opacity: 0.72;
  pointer-events: none;
  transition: opacity 120ms ease;
}

.panel-heading {
  margin-bottom: 1.3rem;
  scroll-margin-top: 92px;
}

.wide-heading {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  align-items: start;
}

.panel-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.65rem, 3.35vw, 2.6rem);
  font-weight: 500;
  line-height: 1.05;
}

.wide-heading h2 {
  font-size: clamp(1.35rem, 2.45vw, 2.05rem);
  font-weight: 400;
  line-height: 1.12;
}

.panel-heading p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 300;
}

.home-shell .application-copy h2,
.home-shell .panel-heading h2,
.home-shell .wide-heading h2 {
  max-width: 620px;
  margin: 0.28rem 0 0.62rem;
  font-size: clamp(1.35rem, 2.8vw, 2.2rem);
  font-weight: 450;
  line-height: 1.08;
}

@media (min-width: 900px) {
  .wide-heading h2 {
    white-space: nowrap;
  }
}

.filters {
  position: relative;
  display: grid;
  gap: 0.95rem;
  margin: 1.2rem 0 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(35, 38, 52, 0.035);
  overflow: hidden;
}

.filters::before {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--pink), #f2ad34);
  opacity: 0.75;
}

.search-form {
  display: grid;
  gap: 0.45rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid var(--line);
}

.search-form label {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 500;
}

.search-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
}

.search-control input[type="search"] {
  width: 100%;
  min-height: 43px;
  padding: 0.68rem 0.78rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  color: var(--ink);
  background: var(--canvas);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.search-control input[type="search"]:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 141, 168, 0.1);
}

.search-control input[type="search"]::placeholder {
  color: var(--faint);
}

.search-control button {
  min-height: 43px;
  padding: 0.65rem 1rem;
  cursor: pointer;
  font-size: 0.84rem;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  align-items: center;
}

.filter-group > span {
  width: 6.5rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 500;
}

.filter-chip {
  min-height: 31px;
  padding: 0.4rem 0.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 0.77rem;
  transition: color 140ms ease, border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.filter-chip:hover,
.filter-chip:focus-visible {
  border-color: var(--line-strong);
  color: var(--ink);
  outline: none;
  transform: translateY(-1px);
}

.filter-chip.is-active {
  border-color: #eda2ca;
  color: #a91667;
  background: #fff2f9;
  box-shadow: inset 0 0 0 3px rgba(233, 47, 145, 0.045);
}

.result-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.result-meta a {
  color: var(--cyan);
  font-weight: 500;
}

.cheat-list {
  column-count: 2;
  column-gap: 0.75rem;
}

.cheat-list:has(.empty-state) {
  column-count: 1;
}

.cheat-card,
.empty-state {
  position: relative;
  break-inside: avoid;
  min-width: 0;
  margin: 0 0 0.75rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 5px 18px rgba(35, 38, 52, 0.025);
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  animation: card-in 220ms ease-out both;
}

.cheat-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--pink), transparent 72%);
  opacity: 0.42;
  transition: opacity 160ms ease;
}

.cheat-card:hover {
  border-color: rgba(0, 141, 168, 0.28);
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}

.cheat-card:hover::before {
  opacity: 1;
}

.empty-state {
  min-height: 180px;
  padding: 1rem;
  display: grid;
  place-content: center;
  text-align: center;
}

.cheat-title-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1rem 1rem 0.8rem;
}

.cheat-title-row h3,
.empty-state h3 {
  margin-bottom: 0;
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.25;
}

.cheat-title-row > span {
  flex: 0 0 auto;
  max-width: 42%;
  padding: 0.25rem 0.48rem;
  border-radius: 999px;
  color: var(--mint);
  background: #ebf8f4;
  font-size: 0.68rem;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(22, 138, 112, 0.06);
}

.card-label {
  display: block;
  margin-bottom: 0.26rem;
  color: var(--faint);
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
}

.cheat-effect {
  margin: 0 1rem 0.85rem;
  padding: 0.78rem 0.86rem;
  border: 1px solid rgba(0, 141, 168, 0.12);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(234, 249, 252, 0.92), rgba(255, 240, 248, 0.5));
}

.cheat-description,
.info-line,
.warning-line,
.input-note,
.empty-state p {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 300;
}

.cheat-description {
  margin-bottom: 0;
}

.warning-line {
  color: #9b5a17;
}

.info-line,
.warning-line {
  margin: 0 1rem 0.75rem;
  padding: 0.62rem 0.78rem;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.input-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  padding: 0.64rem 1rem;
  border-top: 1px solid var(--line);
}

.input-meta {
  display: grid;
  gap: 0.32rem;
  align-items: center;
  min-width: 0;
}

.input-type {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0.24rem 0.48rem;
  border-radius: 999px;
  color: #00677c;
  background: var(--cyan-soft);
  font-size: 0.66rem;
  font-weight: 500;
  white-space: nowrap;
}

.input-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 0.12rem 0.34rem;
  align-items: center;
  min-width: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.25;
  overflow-wrap: normal;
  white-space: normal;
}

.scope-divider {
  color: var(--faint);
}

.input-notes {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.34rem;
  margin-top: -0.12rem;
}

.input-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.24rem 0.42rem;
  align-items: baseline;
}

.input-note .note-scope {
  flex: 0 0 auto;
  padding: 0.12rem 0.36rem;
  border-radius: 999px;
  color: #00677c;
  background: var(--cyan-soft);
  font-size: 0.68rem;
  font-weight: 500;
}

.input-note .note-text {
  flex: 1 1 18rem;
  min-width: 0;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
}

.pill-row span {
  padding: 0.2rem 0.38rem;
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 0.64rem;
}

.code-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.25rem;
  gap: 0.48rem;
  align-items: start;
  min-width: 0;
}

.typed-code,
.button-sequence {
  min-width: 0;
  min-height: 38px;
  padding: 0.38rem 0.48rem;
  border: 1px solid #a8dce5;
  border-radius: var(--radius-sm);
  background: var(--cyan-soft);
  box-shadow: inset 0 -1px 0 rgba(0, 103, 124, 0.08);
}

.typed-code {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  color: #00677c;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.84rem;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  white-space: normal;
  word-break: break-word;
}

.button-sequence {
  display: flex;
  flex-wrap: wrap;
  gap: 0.24rem;
  align-items: center;
  overflow: visible;
}

.prompt-token {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.85rem;
  min-height: 1.85rem;
}

.prompt-token-text {
  padding: 0.18rem 0.34rem;
  border: 1px solid #acdce4;
  border-radius: var(--radius-sm);
  color: #075d6e;
  background: #fff;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.66rem;
  font-weight: 500;
  box-shadow: inset 0 -2px 0 rgba(0, 103, 124, 0.08);
}

.prompt-token-image {
  padding: 0;
}

.prompt-token-image img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 3px 4px rgba(0, 103, 124, 0.1));
}

.copy-code-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.25rem;
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  color: #a91667;
  background: transparent;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.copy-code-button:hover,
.copy-code-button:focus-visible {
  background: rgba(233, 47, 145, 0.08);
  outline: none;
  transform: translateY(-1px);
}

.copy-code-button:active {
  transform: translateY(0);
}

.copy-icon {
  position: relative;
  width: 15px;
  height: 17px;
}

.copy-icon::before,
.copy-icon::after {
  position: absolute;
  width: 10px;
  height: 12px;
  border: 1.6px solid currentColor;
  border-radius: 3px;
  content: "";
}

.copy-icon::before {
  top: 0;
  left: 4px;
  opacity: 0.42;
}

.copy-icon::after {
  right: 4px;
  bottom: 0;
  background: transparent;
  box-shadow: none;
}

.copy-code-button.is-copied {
  color: var(--mint);
  background: rgba(22, 138, 112, 0.08);
}

.copy-code-button.is-copied .copy-icon {
  width: 16px;
  height: 16px;
}

.copy-code-button.is-copied .copy-icon::before {
  display: none;
}

.copy-code-button.is-copied .copy-icon::after {
  top: 4px;
  right: auto;
  bottom: auto;
  left: 2px;
  width: 11px;
  height: 6px;
  border-width: 2px;
  border-top: 0;
  border-right: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: rotate(-45deg);
}

.copy-code-button.has-copy-error {
  color: var(--orange);
  background: rgba(191, 103, 29, 0.08);
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-footer {
  position: relative;
  border-top: 1px solid var(--line-strong);
  background:
    linear-gradient(118deg, rgba(234, 249, 252, 0.5) 0%, rgba(255, 241, 248, 0.72) 42%, rgba(255, 247, 251, 0.92) 100%),
    #fff6fb;
  overflow: hidden;
}

.site-footer::before {
  position: absolute;
  right: 0;
  bottom: -38px;
  left: 0;
  height: 104px;
  content: "";
  background:
    linear-gradient(90deg, rgba(233, 47, 145, 0.12) 0%, rgba(233, 47, 145, 0.2) 18%, rgba(233, 47, 145, 0.24) 50%, rgba(233, 47, 145, 0.2) 82%, rgba(233, 47, 145, 0.12) 100%),
    linear-gradient(0deg, rgba(233, 47, 145, 0.13), transparent 72%);
  filter: blur(22px);
  opacity: 0.8;
  pointer-events: none;
}

.footer-palm {
  position: absolute;
  right: max(-78px, calc((100vw - 1180px) / 2 - 104px));
  bottom: 2px;
  width: clamp(120px, 14vw, 174px);
  height: auto;
  color: #c45b93;
  opacity: 0.13;
  pointer-events: none;
  transform: rotate(3deg);
  filter: drop-shadow(0 0 18px rgba(196, 91, 147, 0.14));
}

.palm-leaf {
  fill: currentColor;
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(430px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 4rem);
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 2.2rem 0;
}

.footer-brand {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 0.82rem;
  row-gap: 0;
  align-items: flex-start;
  align-self: start;
}

.footer-brand-mark {
  background: #f5f6f8;
  box-shadow:
    inset 0 0 0 1px rgba(23, 24, 34, 0.08),
    0 6px 14px rgba(23, 24, 34, 0.06);
}

.footer-brand-mark img {
  opacity: 0.92;
  filter: drop-shadow(0 2px 3px rgba(23, 24, 34, 0.12));
}

.footer-brand > div:not(.footer-legal) {
  align-self: start;
}

.footer-brand strong {
  display: block;
  margin-bottom: 0.32rem;
  color: #969ba5;
  font-size: 0.98rem;
  font-weight: 500;
}

.footer-brand p {
  max-width: 520px;
  margin-bottom: 0;
  color: #7f8490;
  font-size: 0.84rem;
  font-weight: 300;
}

.footer-contact {
  display: grid;
  grid-column: 1 / -1;
  gap: 0.08rem;
  justify-items: start;
  width: min(100%, 520px);
  margin-top: 0.54rem;
  padding-top: 0.56rem;
  border-top: 1px solid rgba(207, 211, 220, 0.58);
  color: #858a95;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 300;
  line-height: 1.42;
  text-align: left;
}

.footer-contact-details {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  white-space: nowrap;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.footer-links h2 {
  margin: 0 0 0.58rem;
  color: #969ba5;
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
}

.footer-links a {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: 0.38rem;
  color: #747985;
  font-size: 0.8rem;
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 160ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #5b606b;
  outline: none;
}

.footer-legal {
  grid-column: 1 / -1;
  max-width: 580px;
  margin-top: 0;
  padding-top: 0.48rem;
}

.footer-legal p {
  margin: 0;
  color: #9296a0;
  font-size: 0.69rem;
  font-weight: 300;
  line-height: 1.55;
}

.footer-legal p + p {
  margin-top: 0.18rem;
}

.not-found {
  display: grid;
  align-content: center;
  min-height: 520px;
  padding: 4rem 0;
}

.legal-page {
  max-width: 1040px;
  margin: clamp(2rem, 5vw, 4rem) auto;
  padding: clamp(1.7rem, 4vw, 3.2rem);
  border: 1px solid rgba(207, 211, 220, 0.78);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 240, 248, 0.72), transparent 32%),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 52px rgba(35, 38, 52, 0.055);
}

.legal-header {
  padding-bottom: clamp(1.6rem, 4vw, 2.6rem);
  border-bottom: 1px solid var(--line-strong);
}

.legal-header h1 {
  max-width: 820px;
  margin-bottom: 0.82rem;
  font-size: clamp(2.35rem, 5.4vw, 4rem);
  font-weight: 500;
}

.legal-header .lead {
  max-width: 790px;
  margin-bottom: 1rem;
}

.legal-date {
  display: inline-flex;
  margin: 0;
  padding: 0.42rem 0.62rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
}

.privacy-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 1.8rem 0 0;
  padding: 1.35rem 0 0;
  border-top: 1px solid rgba(225, 228, 234, 0.82);
  list-style: none;
}

.privacy-highlights li {
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.55;
}

.privacy-highlights strong {
  display: block;
  margin-bottom: 0.14rem;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 500;
}

.privacy-highlight-mark {
  width: 7px;
  height: 7px;
  margin-top: 0.42rem;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 4px rgba(233, 47, 145, 0.09);
}

.legal-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-top: clamp(1.8rem, 4vw, 3rem);
}

.legal-toc {
  align-self: start;
  position: sticky;
  top: 104px;
}

.legal-toc > p {
  margin: 0 0 0.75rem;
  color: var(--faint);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-toc nav {
  display: grid;
  gap: 0.16rem;
}

.legal-toc a {
  padding: 0.34rem 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 300;
  transition: color 150ms ease, transform 150ms ease;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  color: var(--pink);
  outline: none;
  transform: translateX(3px);
}

.legal-content {
  min-width: 0;
}

.legal-content section {
  scroll-margin-top: 108px;
  padding: 0 0 1.55rem;
  border-bottom: 1px solid var(--line);
}

.legal-content section + section {
  padding-top: 1.55rem;
}

.legal-content h2 {
  margin: 0 0 0.7rem;
  font-size: 1.08rem;
  font-weight: 500;
}

.legal-content p {
  max-width: 720px;
  margin-bottom: 0.72rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.72;
}

.legal-content p:last-child {
  margin-bottom: 0;
}

.legal-contact {
  display: grid;
  gap: 0.42rem;
  max-width: 520px;
  margin-top: 1rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(233, 47, 145, 0.42);
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 300;
}

@media (max-width: 920px) {
  .topbar {
    grid-template-columns: 1fr auto;
    gap: 0.65rem 1rem;
  }

  .topnav {
    order: 3;
    grid-column: 1 / -1;
    justify-self: stretch;
    justify-content: center;
  }

  .language-selector {
    order: 2;
  }

  .game-intro {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
    gap: 2rem;
  }

  .home-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .application-section {
    grid-template-columns: minmax(0, 1fr) auto;
  }

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

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

  .footer-brand {
    order: 2;
    grid-template-columns: 1fr;
    align-items: center;
    justify-content: center;
    justify-items: center;
    text-align: center;
  }

  .footer-brand > div:not(.footer-legal) {
    display: grid;
    justify-items: center;
  }

  .footer-contact {
    width: fit-content;
    max-width: 100%;
  }

  .footer-brand p,
  .footer-legal {
    max-width: 640px;
  }

  .footer-links {
    order: 1;
    justify-items: center;
    text-align: center;
  }

  .footer-links a {
    margin-right: auto;
    margin-left: auto;
  }

  .footer-palm {
    right: -48px;
    bottom: 0;
    width: 112px;
    opacity: 0.09;
  }

  .legal-page {
    max-width: none;
  }

  .legal-layout {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 2rem;
  }

  .wide-heading {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

@media (max-width: 760px) {
  .legal-page {
    margin: 1.4rem auto 2.5rem;
    padding: 1.35rem;
    border-radius: 18px;
  }

  .privacy-highlights {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 1.55rem;
  }

  .legal-toc {
    position: static;
  }

  .legal-toc nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
  }

  .game-intro {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .game-releases,
  .game-platforms {
    grid-column: 1;
    max-width: 680px;
  }

  .featured-grid,
  .directory-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .application-section {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 0.72rem 0.92rem;
    align-items: center;
    padding-top: 1.45rem;
  }

  .application-copy {
    display: contents;
  }

  .application-copy .section-kicker {
    grid-column: 2;
    align-self: end;
    margin: 0 0 0.2rem;
  }

  .home-shell .application-copy h2 {
    grid-column: 2;
    align-self: start;
    margin: 0;
    font-size: clamp(1.38rem, 6vw, 1.9rem);
    line-height: 1.05;
  }

  .application-copy p {
    grid-column: 1 / -1;
    max-width: none;
    margin: 0.72rem 0 0;
    font-size: 0.94rem;
    line-height: 1.5;
  }

  .google-play-badge {
    grid-column: 1 / -1;
    width: 164px;
    margin-top: 0.16rem;
  }

  .application-visual {
    grid-column: 1;
    grid-row: 1 / span 2;
    justify-self: start;
    align-self: center;
    width: 86px;
    transform: none;
  }

  .application-icon-shell {
    width: 86px;
  }

  .application-glow {
    inset: -8%;
    filter: blur(18px);
  }

  .selected-game-art {
    min-height: 180px;
  }

  .game-releases ol {
    grid-template-columns: 1fr;
  }

  .cheat-list {
    column-count: 1;
  }
}

@media (max-width: 620px) {
  .topbar {
    position: sticky;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
    max-width: 100vw;
    min-height: 64px;
    gap: 0.58rem;
    padding: 0.72rem 14px 0.86rem;
    overflow-x: clip;
  }

  .brand {
    grid-column: 1 / -1;
    grid-row: 1;
    max-width: calc(100% - 86px);
    justify-self: center;
    justify-content: center;
    text-align: center;
  }

  .brand-mark {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
    border-radius: 13px;
  }

  .brand-mark img {
    width: 47px;
    height: 47px;
  }

  .brand-copy {
    justify-items: center;
  }

  .brand-name {
    font-size: 1.08rem;
  }

  .brand-caption {
    margin-top: 0.18rem;
    font-size: 0.62rem;
    letter-spacing: 0.07em;
  }

  .runtime-badge {
    display: none;
  }

  .language-selector {
    position: absolute;
    top: 0.72rem;
    right: 9px;
    z-index: 2;
  }

  .language-selector summary {
    min-width: 42px;
    min-height: 34px;
    padding: 0.38rem 0.54rem;
  }

  .language-selector summary > span:not(.language-selector-icon) {
    display: none;
  }

  .topnav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    min-width: 0;
    justify-content: stretch;
    justify-self: center;
    margin-top: 0.22rem;
    padding: 0.2rem;
    border-radius: 24px;
  }

  .game-selector {
    position: static;
    flex: 1;
    min-width: 0;
  }

  .game-selector summary {
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 0.46rem 0.38rem;
    gap: 0.34rem;
    border-radius: 18px;
    text-align: center;
    font-size: 0.9rem;
  }

  .game-selector summary span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .game-selector summary::after {
    flex: 0 0 auto;
  }

  .game-selector-icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  .game-selector-icon.is-gta {
    width: 30px;
    height: 18px;
    flex-basis: 30px;
  }

  .game-selector-icon.is-rockstar {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }

  .game-dropdown,
  .game-selector:last-child .game-dropdown {
    right: 0;
    left: 0;
    width: 100%;
    transform: none;
    animation-name: menu-in-mobile;
  }

  .game-dropdown section {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .language-selector .game-dropdown,
  .game-selector.language-selector:last-child .game-dropdown {
    right: 0;
    left: auto;
    width: min(430px, calc(100vw - 18px));
    transform: none;
    animation-name: lang-menu-in;
  }

  .page-shell {
    width: min(100% - 28px, 1180px);
    max-width: calc(100vw - 28px);
    overflow-x: clip;
  }

  .game-intro {
    gap: 1.5rem;
    padding: 2.4rem 0 2rem;
  }

  .home-hero {
    gap: 1.35rem;
    padding: 2.4rem 0 2rem;
  }

  .application-section {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 0.58rem 0.78rem;
    padding-top: 1.35rem;
  }

  .application-copy .section-kicker {
    margin-bottom: 0.16rem;
    font-size: 0.64rem;
    letter-spacing: 0.075em;
  }

  .home-shell .application-copy h2 {
    font-size: clamp(1.32rem, 6.4vw, 1.62rem);
  }

  .application-copy p {
    min-width: 0;
    width: 100%;
    margin-top: 0.68rem;
    color: #686e7c;
    font-size: 0.88rem;
    line-height: 1.52;
    overflow-wrap: break-word;
  }

  .application-visual,
  .application-icon-shell {
    width: 74px;
  }

  .google-play-badge {
    width: 154px;
  }

  .home-metrics {
    grid-template-columns: 1fr;
  }

  .home-metrics div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .home-metrics div:first-child {
    border-top: 0;
  }

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

  h1 {
    font-size: clamp(2.25rem, 10vw, 3.55rem);
  }

  .selected-game-art {
    min-height: 160px;
  }

  .cheats-panel {
    padding-top: 2rem;
    scroll-margin-top: 122px;
  }

  .filters {
    padding: 0.78rem;
  }

  .search-control {
    grid-template-columns: 1fr;
  }

  .filter-group {
    align-items: flex-start;
  }

  .filter-group > span {
    width: 100%;
    margin: 0.15rem 0 0.1rem;
  }

  .input-row {
    grid-template-columns: minmax(104px, 0.38fr) minmax(0, 1fr);
    gap: 0.48rem;
    padding: 0.64rem 0.72rem;
  }

  .input-meta {
    grid-template-columns: 1fr;
    gap: 0.32rem;
  }

  .input-type {
    width: fit-content;
  }

  .code-shell {
    grid-template-columns: minmax(0, 1fr) 2.4rem;
  }

  .copy-code-button {
    width: 2.4rem;
  }

  .result-meta,
  .cheat-title-row {
    flex-direction: column;
  }

  .cheat-title-row > span {
    max-width: 100%;
  }

  .footer-inner {
    width: min(100% - 18px, 1180px);
    padding: 1.7rem 0;
  }
}

@keyframes menu-in-mobile {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.topbar .language-selector {
  position: relative;
}

.topbar .language-selector .language-dropdown,
.topbar .game-selector.language-selector:last-child .language-dropdown {
  right: 0;
  left: auto;
  width: min(270px, calc(100vw - 36px));
  transform: none;
  animation-name: lang-menu-in;
}

.topbar .language-selector .language-dropdown section {
  grid-auto-flow: row;
  grid-template-columns: 1fr;
  grid-template-rows: none;
}

.topbar .language-selector .language-dropdown a {
  grid-template-columns: 32px minmax(0, 1fr) auto;
}

@media (max-width: 620px) {
  .topbar .language-selector {
    position: relative;
    top: auto;
    right: auto;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    z-index: 2;
  }

  .topbar .language-selector summary {
    min-width: 44px;
    min-height: 36px;
    padding: 0.38rem 0.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.34);
    box-shadow: none;
  }

  .topbar .language-selector summary:hover,
  .topbar .language-selector summary:focus-visible,
  .topbar .language-selector[open] summary {
    background: rgba(255, 255, 255, 0.58);
  }

  .topbar .language-selector .language-selector-icon {
    width: 28px;
    height: 24px;
    color: #b81771;
    background: transparent;
    font-size: 0.72rem;
  }

  .topbar .language-selector .language-dropdown,
  .topbar .game-selector.language-selector:last-child .language-dropdown {
    right: 0;
    left: auto;
    width: min(280px, calc(100vw - 28px));
  }
}
