:root {
  color-scheme: light;
  --ink: #122032;
  --muted: #5c6773;
  --paper: #f7f2e8;
  --surface: #fffdf7;
  --teal: #006b6b;
  --teal-soft: #d9f0eb;
  --coral: #b52c53;
  --line: #d9d2c4;
  --shadow: 0 18px 44px rgb(18 32 50 / 9%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); text-decoration-thickness: 0.08em; text-underline-offset: 0.2em; }
a:hover { color: #004b4d; }
a:focus-visible, button:focus-visible, select:focus-visible, textarea:focus-visible, input:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

img { max-width: 100%; height: auto; }

.skip-link {
  position: absolute;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.6rem 0.9rem;
  color: white;
  background: var(--ink);
  border-radius: 0.45rem;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); background: rgb(247 242 232 / 92%); }
.header-inner, .footer-inner {
  width: min(1160px, calc(100% - 2.5rem));
  margin-inline: auto;
}
.header-inner {
  min-height: 5.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--ink); text-decoration: none; font-size: 1.18rem; font-weight: 750; letter-spacing: -0.035em; }
.brand img { border-radius: 0.7rem; }
.header-inner nav, .site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.25rem; }
.header-inner nav a, .site-footer nav a { color: var(--ink); text-decoration: none; font-size: 0.92rem; font-weight: 600; }
.header-inner nav a[aria-current="page"] { color: var(--teal); text-decoration: underline; text-underline-offset: 0.34rem; }

main { min-height: 60vh; }
.narrow { width: min(820px, calc(100% - 2.5rem)); margin-inline: auto; }
.home-hero, .home-section, .home-cta { width: min(1160px, calc(100% - 2.5rem)); margin-inline: auto; }

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(250px, 0.82fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: clamp(4rem, 9vw, 7.5rem) clamp(4.5rem, 8vw, 7rem);
}
.hero-copy { max-width: 680px; }
.eyebrow { margin: 0 0 0.65rem; color: var(--teal); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.13em; line-height: 1.4; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.045em; }
h1 { margin-bottom: 1.2rem; font-size: clamp(2.75rem, 6vw, 5.2rem); }
h1 em { color: var(--coral); font-style: normal; }
.lede { max-width: 660px; color: #394957; font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.5; }
.hero-copy .lede { max-width: 590px; }
.hero-features { display: flex; flex-wrap: wrap; gap: 0.45rem 1rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.hero-features li { color: #394957; font-size: 0.92rem; font-weight: 650; }
.hero-features li::before { content: "✓"; margin-right: 0.38rem; color: var(--teal); font-weight: 850; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 0.9rem 1.2rem; margin-top: 1.7rem; }
.app-store-badge { min-width: 13.25rem; min-height: 3.8rem; display: inline-flex; flex-direction: column; justify-content: center; padding: 0.48rem 1rem; border: 1px solid #111; border-radius: 0.7rem; color: white; background: #121212; line-height: 1.15; text-decoration: none; }
.app-store-badge:hover { color: white; background: #292929; }
.app-store-badge span { font-size: 0.7rem; }
.app-store-badge strong { font-size: 1.3rem; letter-spacing: -0.035em; }
.app-store-pending { cursor: default; }
.app-store-pending:hover { background: #121212; }
.browse-link { margin-top: 0; }
.button {
  min-height: 3rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.72rem 1.15rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}
.button-primary { color: #fffdf7; background: var(--teal); }
.button-primary:hover { color: white; background: #004f51; }
.button-light { color: var(--ink); background: var(--paper); }
.button-light:hover { color: var(--ink); background: white; }
.store-status { color: var(--muted); font-size: 0.92rem; }
.hero-note { margin: 1rem 0 0; color: var(--muted); font-size: 0.88rem; }
.hero-art {
  position: relative;
  min-height: 365px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 2.2rem;
  background: linear-gradient(145deg, #be2e5d, #ff9660 56%, #176f73 56%);
  box-shadow: var(--shadow);
}
.hero-art::before { content: ""; position: absolute; width: 47%; aspect-ratio: 1; top: 13%; right: 13%; border-radius: 50%; background: #ffd08b; }
.hero-art img { position: relative; z-index: 1; width: min(78%, 305px); border-radius: 1rem; mix-blend-mode: multiply; box-shadow: 0 18px 34px rgb(18 32 50 / 20%); }
.hero-art span { position: absolute; z-index: 2; right: 1.3rem; bottom: 1.15rem; color: white; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; line-height: 1.4; text-align: right; text-transform: uppercase; }

.home-section { padding-block: clamp(3.5rem, 7vw, 6rem); border-top: 1px solid var(--line); }
.section-heading { max-width: 660px; margin-bottom: 2rem; }
.section-heading h2, .value-intro h2, .home-cta h2 { margin-bottom: 0.75rem; font-size: clamp(2rem, 4vw, 3.2rem); }
.section-heading > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 1.1rem; }
.game-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.game-card, .game-directory-card, .platform-card, .code-card, .fact-card, .checklist-card, .form-panel {
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: var(--surface);
  box-shadow: 0 8px 24px rgb(18 32 50 / 4%);
}
.game-card { position: relative; min-height: 235px; display: flex; flex-direction: column; padding: 1.35rem; }
.game-card h3 { margin-bottom: 0.65rem; font-size: 1.42rem; }
.game-card > p:not(.eyebrow) { color: var(--muted); font-size: 0.94rem; }
.game-card .eyebrow { font-size: 0.68rem; }
.game-card-vi { background: linear-gradient(155deg, #fffdf7, #f6dfd6); }
.text-link { display: inline-flex; gap: 0.45rem; align-items: center; margin-top: auto; font-weight: 750; }
.platform-links { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: auto; padding-top: 0.6rem; }
.platform-links a { padding: 0.3rem 0.7rem; border: 1px solid #a9cbc4; border-radius: 999px; background: #eef8f4; font-size: 0.84rem; font-weight: 700; text-decoration: none; }

.value-section { display: grid; grid-template-columns: 0.8fr 1.2fr; align-items: start; gap: clamp(2rem, 7vw, 7rem); }
.value-intro > p:last-child { color: var(--muted); font-size: 1.06rem; }
.value-list { margin: 0; padding: 0; list-style: none; }
.value-list li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.15rem 0; border-top: 1px solid var(--line); }
.value-list li > span { color: var(--coral); font-size: 0.85rem; font-weight: 800; }
.value-list h3 { margin: 0 0 0.35rem; font-size: 1.25rem; }
.value-list p { margin: 0; color: var(--muted); }

.gallery-section { overflow: hidden; }
.screenshot-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.screenshot-card { margin: 0; overflow: hidden; border: 1px solid #27313e; border-radius: 1.1rem; background: #101115; box-shadow: var(--shadow); }
.screenshot-card img { display: block; width: 100%; aspect-ratio: 0.62; object-fit: cover; object-position: top; }
.screenshot-card figcaption { min-height: 4.8rem; padding: 0.75rem 0.8rem; color: white; font-size: 0.88rem; font-weight: 700; line-height: 1.35; }
.screenshot-card figcaption span { display: block; margin-top: 0.3rem; color: #c4c7ca; font-size: 0.74rem; font-weight: 450; }

.home-cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(1.5rem, 4vw, 3rem); border-radius: 1.5rem; color: white; background: var(--ink); }
.home-cta .eyebrow { color: #79dcd4; }
.home-cta h2 { margin-bottom: 0.5rem; }
.home-cta p:last-child { max-width: 620px; margin-bottom: 0; color: #d2d9df; }
.home-cta .button { flex: none; }
.home-disclaimer { padding-block: 3.5rem; color: var(--muted); }
.home-disclaimer h2 { color: var(--ink); font-size: 1.35rem; }

.page-intro { padding-top: clamp(3.5rem, 8vw, 6rem); padding-bottom: 2.2rem; }
.page-intro h1 { max-width: 850px; font-size: clamp(2.5rem, 5.5vw, 4.4rem); }
.page-intro > p:not(.eyebrow) { color: var(--muted); }
.page-intro .lede { color: #394957; }
.content-section { padding-block: 1.5rem 2.5rem; }
.content-section > h2 { margin-bottom: 1.25rem; font-size: clamp(1.65rem, 3vw, 2.1rem); }
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem; }
.platform-card { position: relative; min-height: 150px; display: flex; flex-direction: column; gap: 0.3rem; padding: 1.2rem; text-decoration: none; }
.platform-card:hover { border-color: var(--teal); transform: translateY(-2px); }
.platform-card .eyebrow { margin-bottom: 0.1rem; }
.platform-card strong { color: var(--ink); font-size: 1.35rem; }
.platform-card > span:not(.eyebrow):not(.arrow) { color: var(--muted); font-size: 0.88rem; }
.platform-card .arrow { position: absolute; top: 1rem; right: 1rem; color: var(--teal); font-size: 1.3rem; }
.notice { margin-block: 1.5rem 2rem; padding: 1.2rem 1.35rem; border-left: 4px solid var(--coral); border-radius: 0.25rem 0.85rem 0.85rem 0.25rem; background: #f5e4df; }
.notice strong { display: block; margin-bottom: 0.2rem; }
.notice p { margin: 0; color: #394957; }
.source-note { margin: 1.2rem 0 2.2rem; color: var(--muted); font-size: 0.9rem; }

.code-list { padding-bottom: 1rem; }
.code-card { margin-bottom: 1rem; padding: clamp(1.15rem, 3vw, 1.7rem); scroll-margin-top: 1rem; }
.code-heading { margin-bottom: 1.35rem; }
.code-heading .eyebrow { margin-bottom: 0.3rem; font-size: 0.68rem; }
.code-heading h2 { margin-bottom: 0.45rem; font-size: clamp(1.35rem, 2.7vw, 1.75rem); }
.code-heading > p:last-child { margin: 0; color: var(--muted); }
.code-input { padding: 1rem; border-radius: 0.85rem; background: #f4f0e6; }
.code-input h3 { margin-bottom: 0.8rem; font-size: 0.92rem; letter-spacing: 0; }
.sequence { display: grid; grid-template-columns: repeat(6, minmax(35px, 1fr)); gap: 0.55rem 0.45rem; margin: 0; padding: 0; list-style: none; }
.sequence li { min-width: 0; display: grid; justify-items: center; gap: 0.15rem; }
.input-key { width: min(100%, 3rem); aspect-ratio: 1; display: grid; place-items: center; border-radius: 0.62rem; color: white; background: var(--ink); font-size: 1rem; font-weight: 750; line-height: 1; }
.step { color: var(--muted); font-size: 0.7rem; line-height: 1.2; }
.pc-code-line { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem; margin: 0; }
.pc-code-line > span { color: var(--muted); font-size: 0.9rem; }
.pc-code { padding: 0.45rem 0.7rem; border: 1px solid #bfc9c2; border-radius: 0.45rem; color: var(--ink); background: white; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 1rem; font-weight: 800; letter-spacing: 0.04em; overflow-wrap: anywhere; }
.code-note { margin: 0.9rem 0 0; color: var(--muted); font-size: 0.9rem; }
.sources { margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid var(--line); }
.sources summary { color: var(--teal); font-size: 0.88rem; font-weight: 750; cursor: pointer; }
.sources ul { margin: 0.6rem 0 0; padding-left: 1.25rem; }
.sources li { margin-block: 0.35rem; font-size: 0.84rem; }
.source-date { margin-left: 0.55rem; color: var(--muted); font-size: 0.77rem; }

.vi-hero { position: relative; width: min(1160px, calc(100% - 2.5rem)); min-height: 330px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin: 3rem auto 2rem; padding: clamp(1.75rem, 5vw, 4rem); overflow: hidden; border-radius: 1.75rem; color: white; background: linear-gradient(125deg, #29253d, #80334c 62%, #b52c53); }
.vi-hero::after { content: ""; position: absolute; width: 40%; height: 22%; left: 0; bottom: 0; background: linear-gradient(165deg, transparent 49%, #122032 50%); }
.vi-hero > div, .vi-hero img { position: relative; z-index: 1; }
.vi-hero .eyebrow { color: #a9eee5; }
.vi-hero h1 { max-width: 650px; margin-bottom: 0.5rem; font-size: clamp(2.5rem, 5.2vw, 4.5rem); }
.vi-hero .lede { max-width: 550px; margin-bottom: 0; color: #f6eee5; }
.vi-hero img { width: clamp(140px, 22vw, 230px); flex: none; border-radius: 1rem; mix-blend-mode: multiply; }
.fact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem; }
.fact-card { padding: 1.2rem; }
.fact-card :is(h2, h3) { margin-bottom: 0.5rem; font-size: 1.35rem; }
.fact-card > p:not(.eyebrow) { margin-bottom: 0; color: var(--muted); }
.fact-card .sources { margin-top: 0.85rem; }
.checklist-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.85rem; }
.checklist-card { padding: 1.1rem; }
.checklist-card h3 { margin-bottom: 0.5rem; font-size: 1.2rem; }
.checklist-card p { color: var(--muted); font-size: 0.9rem; }
.empty-state { display: inline-block; padding: 0.25rem 0.55rem; border-radius: 999px; color: #475762; background: #e9ece8; font-size: 0.78rem; font-weight: 700; }

.game-directory { padding-bottom: 2.5rem; }
.game-directory-card { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; margin-bottom: 0.9rem; padding: 1.3rem 1.5rem; }
.game-directory-card h2 { margin-bottom: 0.4rem; font-size: 1.5rem; }
.game-directory-card h2 a { color: var(--ink); text-decoration: none; }
.game-directory-card p:last-child { margin-bottom: 0; color: var(--muted); }
.game-directory-card .platform-links { flex: none; margin: 0; }

.prose { padding-bottom: 1.8rem; }
.prose h2 { margin-top: 2.2rem; margin-bottom: 0.55rem; font-size: 1.45rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: #394957; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; width: min(820px, calc(100% - 2.5rem)); margin: 1.5rem auto 3rem; color: var(--muted); font-size: 0.84rem; }
.breadcrumbs a { text-decoration: none; }
.form-panel { margin-bottom: 1.4rem; padding: clamp(1.25rem, 4vw, 2rem); }
.form-panel h2 { margin-bottom: 1.2rem; font-size: 1.6rem; }
.form-panel form { display: grid; gap: 0.6rem; }
.form-panel label { margin-top: 0.55rem; font-weight: 750; }
.form-panel select, .form-panel textarea { width: 100%; border: 1px solid #aab5b0; border-radius: 0.5rem; color: var(--ink); background: white; font: inherit; }
.form-panel select { min-height: 3rem; padding: 0.5rem 0.7rem; }
.form-panel textarea { min-height: 11rem; padding: 0.7rem; resize: vertical; }
.form-panel .button { justify-self: start; margin-top: 0.45rem; }
.field-help { margin: 0; color: var(--muted); font-size: 0.84rem; }
.honeypot { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-footer { margin-top: 2rem; padding-block: 2.5rem 1.8rem; color: #d6dce1; background: var(--ink); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.2rem 2rem; }
.brand-footer { color: white; }
.brand-footer:hover { color: #d6dce1; }
.brand-footer img { border-radius: 0.55rem; }
.footer-disclaimer, .copyright { margin: 0; color: #c0cad3; font-size: 0.85rem; }
.footer-disclaimer { grid-column: 1 / -1; }
.footer-app { grid-column: 1 / -1; }
.site-footer .store-status { color: #c0cad3; }
.footer-store-link { color: #a9eee5; font-size: 0.9rem; font-weight: 750; }
.footer-store-link:hover { color: white; }
.site-footer a:focus-visible { outline-color: #a9eee5; }
.site-footer nav { grid-column: 1 / -1; padding-top: 0.5rem; border-top: 1px solid #394653; }
.site-footer nav a { color: white; }
.copyright { grid-column: 1 / -1; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 900px) {
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .screenshot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .value-section { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  .header-inner { width: min(100% - 1.5rem, 1160px); min-height: auto; align-items: flex-start; flex-direction: column; gap: 0.7rem; padding-block: 0.9rem; }
  .header-inner nav { gap: 0.35rem 0.9rem; }
  .header-inner nav a { font-size: 0.84rem; }
  .home-hero, .home-section, .home-cta { width: min(100% - 1.5rem, 1160px); }
  .home-hero { grid-template-columns: 1fr; padding-block: 3.3rem; }
  .hero-art { min-height: 260px; }
  .hero-art img { width: min(64%, 230px); }
  .game-grid { grid-template-columns: 1fr; }
  .game-card { min-height: 200px; }
  .screenshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
  .screenshot-card figcaption { font-size: 0.8rem; }
  .screenshot-card figcaption span { font-size: 0.7rem; }
  .home-cta { align-items: flex-start; flex-direction: column; }
  .narrow, .breadcrumbs { width: min(100% - 1.5rem, 820px); }
  .platform-grid { grid-template-columns: 1fr; }
  .platform-card { min-height: 120px; }
  .sequence { grid-template-columns: repeat(5, minmax(35px, 1fr)); gap: 0.5rem 0.25rem; }
  .input-key { width: min(100%, 2.8rem); border-radius: 0.52rem; }
  .fact-list, .checklist-grid { grid-template-columns: 1fr; }
  .vi-hero { width: calc(100% - 1.5rem); min-height: 260px; align-items: flex-start; flex-direction: column; gap: 0.8rem; margin-top: 1.4rem; }
  .vi-hero img { position: absolute; width: 105px; right: 1rem; bottom: 1rem; opacity: 0.5; }
  .game-directory-card { align-items: flex-start; flex-direction: column; }
  .footer-inner { width: calc(100% - 1.5rem); grid-template-columns: 1fr; }
  .footer-disclaimer, .footer-app, .site-footer nav, .copyright { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Keep navigation targets comfortable on touch screens. */
.header-inner nav a, .site-footer nav a { min-height: 44px; display: inline-flex; align-items: center; }
.vi-hero > div { z-index: 2; }

.prose details summary { min-height: 44px; padding-block: 0.6rem; cursor: pointer; font-weight: 650; }

/* GTA VI guide pages */
.guide-shell { padding-block: 1rem 3rem; overflow-wrap: anywhere; }
.guide-breadcrumbs ol {
  display: flex; flex-wrap: wrap; gap: .3rem .45rem; margin: 0 0 1.3rem;
  padding: 0; list-style: none; color: var(--muted); font-size: .82rem;
}
.guide-breadcrumbs li + li::before { content: "/"; margin-right: .45rem; }
.guide-breadcrumbs a, .guide-links a { text-underline-offset: .18em; }
.guide-intro h1 { font-size: clamp(2rem, 5vw, 3.65rem); margin-bottom: .55rem; }
.guide-intro .eyebrow { margin-bottom: .4rem; }
.guide-intro p { margin-bottom: .6rem; max-width: 67ch; }
.guide-freshness { display: flex; flex-wrap: wrap; gap: .25rem .85rem; color: var(--muted); font-size: .86rem; }
.guide-freshness strong { color: var(--ink); }
.guide-app {
  border: 1px solid #a9c7bb; border-left: .25rem solid #28685c; border-radius: .65rem;
  background: #eaf2eb; padding: 1rem 1.2rem; margin: 1.2rem 0;
}
.guide-app h2 { margin: 0 0 .35rem; font-size: 1.25rem; }
.guide-app p { margin-bottom: .55rem; }
.guide-app-compact {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: .2rem .9rem; padding: .6rem .85rem; margin-block: .9rem; font-size: .9rem;
}
.guide-app a { font-weight: 700; }
.guide-app span, .guide-source-note { color: var(--muted); }
.guide-results { display: grid; gap: .7rem; }
.guide-item, .guide-directory-row {
  border: 1px solid var(--line); border-radius: .75rem; background: var(--paper);
  margin: 0; padding: 1rem 1.1rem;
}
.guide-item:target { outline: 2px solid #28685c; outline-offset: 2px; }
.guide-item h2, .guide-directory-row h2 { margin: 0 0 .35rem; font-size: clamp(1.18rem, 3vw, 1.45rem); }
.guide-notes { white-space: pre-wrap; }
.guide-item p { margin-bottom: .55rem; }
.guide-item .sources { margin-top: .55rem; }
.guide-entry-steps { font-weight: 700; }
.guide-directions { margin: .55rem 0; }
.guide-directions h3 { margin: 0 0 .35rem; font-size: .92rem; }
.guide-directions .sequence { gap: .28rem; margin-bottom: .6rem; }
.guide-directions .sequence li { min-width: 2rem; padding: .18rem .32rem; }
.guide-directions .input-key { font-size: 1.05rem; }
.guide-directory-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .2rem 1rem; align-items: baseline; }
.guide-directory-row :is(h2, p) { margin: 0; }
.guide-directory-row p { color: var(--muted); font-size: .9rem; }
.guide-more { margin-top: 1.4rem; }
.guide-more h2, .guide-launch h2 { margin: 0 0 .45rem; font-size: 1.22rem; }
.guide-links { display: grid; gap: .3rem 1.5rem; margin: .45rem 0 0; padding-left: 1.1rem; list-style: disc; }
.guide-links li { overflow-wrap: anywhere; }
.guide-number, .guide-pagination a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px;
}
.guide-number { margin-left: .6rem; }
.guide-pagination { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; margin-block: 1rem; }
.guide-launch { margin-bottom: .65rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: .75rem; }
.guide-launch summary { cursor: pointer; }
@media (min-width: 620px) {
  .guide-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* GTA VI cheat tracker */
.tracker-shell { padding-bottom: 2.5rem; }
.tracker-intro { display: grid; gap: .45rem; margin-block: 1rem .65rem; }
.tracker-intro h1 { margin: 0; font-size: clamp(1.8rem, 5.5vw, 3rem); line-height: 1.1; }
.tracker-intro p { margin: 0; }
.tracker-intro .guide-app { margin: .4rem 0 0; }
.tracker-counts { display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .85rem; }
.tracker-counts strong { font-size: 1.25rem; }
.tracker-meta { color: #574834; font-size: .875rem; overflow-wrap: anywhere; }
.tracker-nav { display: flex; gap: .65rem 1rem; flex-wrap: wrap; align-items: center; margin-bottom: .45rem; }
.tracker-nav a { display: inline-flex; min-height: 44px; align-items: center; }
.tracker-nav a[aria-current="page"] { font-weight: 750; text-decoration: none; }
.tracker-group { margin-block: 1rem 1.4rem; }
.tracker-group h2 { font-size: 1.24rem; margin: 0 0 .5rem; }
.tracker-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #d9cdb9; }
.tracker-list li { margin: 0; padding: .65rem 0; border-bottom: 1px solid #d9cdb9; }
.tracker-list h2, .tracker-list h3 { margin: .2rem 0; font-size: 1.08rem; }
.tracker-list p { margin: .13rem 0 0; }
.tracker-unlock strong { margin-right: .3rem; }
.tracker-status { display: inline-block; width: max-content; border-radius: .35rem; padding: .12rem .4rem; font-size: .8rem; font-weight: 720; }
.tracker-status-published { color: #184832; background: #d7e9dc; }
.tracker-status-not-yet-found { color: #674522; background: #efe3ce; }
.tracker-answer { display: flex; align-items: baseline; flex-wrap: wrap; gap: .35rem .6rem; }
.tracker-controller-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); gap: .75rem; }
.tracker-controller { border: 1px solid #d9cdb9; background: #fffaf2; border-radius: .55rem; padding: .75rem; min-width: 0; }
.tracker-controller h3 { margin: 0; }
.tracker-controller p { margin: .3rem 0 .55rem; }
.tracker-sources { padding-left: 1.35rem; }
.tracker-sources li + li { margin-top: .45rem; }
.tracker-sources span { display: block; }
.tracker-raw { margin-block: 1rem; }
.tracker-raw p, .tracker-intro h1 { overflow-wrap: anywhere; }
.tracker-guide-link { margin: 0 0 .6rem; }
.tracker-timeline summary { cursor: pointer; font-weight: 700; }
.tracker-timeline dt { font-weight: 700; }
.tracker-timeline dd { margin: .2rem 0 .85rem; }
