/* GTA 6 portal only. The site's theme switch controls this palette. */
:root.is-light .gh6-portal {
  --gh6-bg: #f5f7f9;
  --gh6-surface: #fff;
  --gh6-raised: #e9eff2;
  --gh6-ink: #17212c;
  --gh6-muted: #495766;
  --gh6-line: #c8d3da;
  --gh6-green: #10613a;
  --gh6-cream: #17212c;
  --gh6-control-line: #76878e;
  color-scheme: light;
}
:root.is-light .gh6-portal :is(.gh6-brandbar, .gh6-gamenav, .gh6-footer, .gh6-preview-note) {
  background: var(--gh6-surface);
  border-color: var(--gh6-line);
}
:root.is-light .gh6-portal .gh6-brandmark { color: #fff; }
:root.is-light .gh6-portal :is(.gh6-art-credit, .gh6-preview-mark, .gh6-preview-note, .gh6-newsrow .gh6-byline, .gh6-meta time) { color: var(--gh6-muted); }
:root.is-light .gh6-portal .gh6-preview-note strong { color: var(--gh6-ink); }
:root.is-light .gh6-portal .gh6-platforms span:not(.gh6-outnow) { background: var(--gh6-surface); }
:root.is-light .gh6-portal .gh6-skip { color: #fff; }
:root.is-light .gh6-portal .gh6-search input,
:root.is-light .gh6-portal .gh6-search-results {
  background: var(--gh6-surface);
  border-color: var(--gh6-control-line);
}
:root.is-light .gh6-portal .gh6-search input::placeholder,
:root.is-light .gh6-portal .gh-gta6__search input::placeholder { color: var(--gh6-muted); opacity: 1; }
:root.is-light .gh6-portal :is(.gh6-search-results a:hover, .gh6-search-results a:focus-visible) {
  background: var(--gh6-raised);
  color: var(--gh6-ink);
}
:root.is-light .gh6-portal :is(.gh6-guidecard, .gh6-featurecard, .gh6-compactcard, .gh6-aside) { box-shadow: inset 0 0 0 1px var(--gh6-line); }
:root.is-light .gh6-portal .gh6-textlink:hover { color: #08462b; }
:root.is-light .gh6-portal .gh6-helper { background: #eaf4ee; border-color: #b2c9bd; }
:root.is-light .gh6-portal :is(.gh6-helper-copy > p, .gh6-helpresult small, .gh6-helpresult p) { color: var(--gh6-muted); }
:root.is-light .gh6-portal :is(.gh6-platform-tabs button, .gh6-helpresult a) {
  background: var(--gh6-surface);
  color: var(--gh6-ink);
  border-color: var(--gh6-control-line);
}
:root.is-light .gh6-portal :is(.gh6-helpresult a:hover, .gh6-platform-tabs button:hover) { background: #dbeee3; }
:root.is-light .gh6-portal .gh6-helpresult a > span:first-child { border-color: var(--gh6-control-line); }
:root.is-light .gh6-portal :is(.gh6-filterbar button, .gh-gta6__search input, .gh-gta6__search select, .ghc-filterbar button, .ghc-tools > :is(a,button)) { border-color: var(--gh6-control-line); }
:root.is-light .gh6-portal :is(.gh6-button:not(.gh6-button-quiet), .gh6-play, .gh6-platform-tabs button[aria-pressed=true], .gh6-filterbar button[aria-pressed=true], .gh-gta6__search .gh-button, :where(#installation-help) .gh-button) {
  background: var(--gh6-green);
  border-color: var(--gh6-green);
  color: #fff;
}
:root.is-light .gh6-portal :is(.gh6-button:not(.gh6-button-quiet), .gh6-platform-tabs button[aria-pressed=true], .gh6-filterbar button[aria-pressed=true], .gh-gta6__search .gh-button, :where(#installation-help) .gh-button):hover {
  background: #08462b;
  border-color: #08462b;
  color: #fff;
}

/* Editorial art remains dark; do not inherit light-surface foregrounds. */
:root.is-light .gh6-portal .gh6-hero {
  --gh6-ink: #f7f4e9;
  --gh6-muted: #dce4e9;
  --gh6-green: #50e28b;
  --gh6-cream: #fff5cd;
  --gh6-raised: #2e3d4d;
  color: var(--gh6-ink);
  color-scheme: dark;
}
:root.is-light .gh6-portal .gh6-hero .gh6-button:not(.gh6-button-quiet) { color: #10251a; }
:root.is-light .gh6-portal .gh6-hero .gh6-button:not(.gh6-button-quiet):hover { background: #8aefaf; border-color: #8aefaf; }
:root.is-light .gh6-portal .gh6-hero .gh6-actiontile { color: var(--gh6-ink); }
:root.is-light .gh6-portal .ghc :is(.ghc-creator-intro, .ghc-cover, .ghc-support-banner) :focus-visible,
:root.is-light .gh6-portal .ghc a.ghc-cover:focus-visible { outline-color: #50e28b; }
:root.is-light .gh6-portal .ghc .ghc-creator-intro .ghc-tools > :is(a,button) { border-color: #8b9aac; }
:root.is-light .gh6-portal .ghc .ghc-cover .ghc-topic {
  background: #13202e;
  color: #fff;
  padding: .12rem .3rem;
  border-radius: 4px;
  box-shadow: .24rem 0 #13202e, -.24rem 0 #13202e;
  box-decoration-break: clone;
}
:root.is-light .gh6-portal .ghc .ghc-support-source { color: var(--gh6-green); }

/* Shared portal styles otherwise color these pale sections as if they were over art. */
:root.is-light .gh6-portal .ghc .ghc-sectionhead:not(.ghc-creator-intro) .ghc-intro-copy h2,
:root.is-light .gh6-portal .ghc .ghc-archive-item h3 { color: var(--ghc-ink); }
:root.is-light .gh6-portal .ghc .ghc-sectionhead:not(.ghc-creator-intro) .ghc-intro-copy p { color: var(--ghc-muted); }
:root.is-light .gh6-portal .ghc .ghc-sectionhead:not(.ghc-creator-intro) .ghc-intro-copy .ghc-eyebrow { color: var(--gh6-green); }
