/* Clutchbase GTA 6 section. Palette and type take their cue from Rockstar's VI site (deep indigo-to-ink
   gradient, cream condensed headlines, pink pill buttons, lavender text), with a sunset accent of our own. */
:root {
  --g6-bg-1: #1f1f38;
  --g6-bg-2: #141428;
  --g6-bg-3: #0c0d1b;
  --g6-panel: rgba(229, 221, 255, 0.05);
  --g6-panel-2: rgba(229, 221, 255, 0.09);
  --g6-line: rgba(229, 221, 255, 0.13);
  --g6-text: #e5ddff;
  --g6-muted: #a9a2c9;
  --g6-cream: #fff9cb;
  --g6-pink: #ffb2c6;
  --g6-hot: #ff6fa0;
  --g6-orange: #ffa66b;
  --g6-violet: #9b7bff;
  --g6-sunset: linear-gradient(100deg, #ff6fa0 0%, #ffa66b 55%, #ffd36b 100%);
  --g6-radius: 18px;
  --g6-max: 1200px;
  --g6-head: 'Oswald', 'Arial Narrow', Impact, sans-serif;
  --g6-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.g6 {
  margin: 0;
  min-height: 100vh;
  color: var(--g6-text);
  font: 16px/1.6 var(--g6-body);
  background: var(--g6-bg-3) linear-gradient(189deg, var(--g6-bg-1) 0%, var(--g6-bg-2) 30%, #111222 65%, var(--g6-bg-3) 100%) fixed;
  -webkit-font-smoothing: antialiased;
}
body.g6-noscroll { overflow: hidden; }
.g6 a { color: inherit; }
.g6 img { max-width: 100%; height: auto; }

/* ---- header ---------------------------------------------------------------------------------------------- */
.g6-header { position: sticky; top: 0; z-index: 50; background: rgba(12, 13, 27, 0.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--g6-line); }
.g6-header-inner, .g6-sub-inner { max-width: var(--g6-max); margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 24px; }
.g6-header-inner { height: 56px; }
.g6-brand { font: 700 18px/1 var(--g6-head); letter-spacing: 0.08em; text-decoration: none; color: #fff !important; }
.g6-brand span { color: var(--g6-pink); }
.g6-games { display: flex; gap: 4px; margin-left: auto; }
.g6-games a { text-decoration: none; padding: 6px 12px; border-radius: 999px; font: 600 13px/1 var(--g6-body); color: var(--g6-muted); letter-spacing: 0.02em; }
.g6-games a:hover { color: #fff; background: var(--g6-panel-2); }
.g6-games a.is-active { color: #0c0d1b; background: var(--g6-pink); }
.g6-menu { display: none; margin-left: auto; background: none; border: 0; color: #fff; width: 40px; height: 40px; padding: 10px; cursor: pointer; }
.g6-sub { border-top: 1px solid rgba(229, 221, 255, 0.06); }
.g6-sub-inner { height: 42px; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.g6-sub a { text-decoration: none; padding: 6px 12px; font: 600 13px/1 var(--g6-body); color: var(--g6-muted); border-radius: 999px; white-space: nowrap; }
.g6-sub a:hover { color: #fff; }
.g6-sub a.is-active { color: var(--g6-cream); background: var(--g6-panel-2); }
.g6-sub a.g6-sub-home { font: 700 15px/1 var(--g6-head); letter-spacing: 0.06em; color: transparent; background: var(--g6-sunset); -webkit-background-clip: text; background-clip: text; padding-left: 0; margin-right: 8px; }
.g6-drawer { position: fixed; inset: 0; z-index: 60; background: rgba(5, 5, 14, 0.6); }
.g6-drawer[hidden] { display: none; }
.g6-drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(320px, 86vw); background: var(--g6-bg-2); border-left: 1px solid var(--g6-line); padding: 56px 20px 24px; overflow-y: auto; }
.g6-drawer-panel h4 { font: 600 12px/1 var(--g6-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--g6-muted); margin: 18px 0 8px; }
.g6-drawer-panel a { display: block; padding: 9px 0; text-decoration: none; font-weight: 600; }
.g6-drawer-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; background: none; border: 0; color: #fff; font-size: 18px; cursor: pointer; }

/* ---- shared bits ------------------------------------------------------------------------------------------- */
.g6-kicker { margin: 0 0 8px; font: 600 12px/1.2 var(--g6-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--g6-pink); }
.g6 h1, .g6 h2, .g6 h3 { font-family: var(--g6-head); text-transform: uppercase; color: var(--g6-cream); letter-spacing: 0.01em; }
.g6-lead { font-size: 18px; line-height: 1.55; color: var(--g6-text); max-width: 62ch; }
.g6-btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; text-decoration: none; font: 600 15px/1 var(--g6-body); border: 1px solid rgba(229, 221, 255, 0.35); color: var(--g6-text) !important; background: rgba(12, 13, 27, 0.4); transition: background 0.15s, transform 0.15s; }
.g6-btn:hover { background: var(--g6-panel-2); transform: translateY(-1px); }
.g6-btn-primary { background: var(--g6-pink); color: #0c0d1b !important; border-color: var(--g6-pink); }
.g6-btn-primary:hover { background: #ffc7d5; }
.g6-pill, .g6-tag { display: inline-block; padding: 5px 11px; border-radius: 999px; font: 700 11px/1 var(--g6-body); letter-spacing: 0.1em; text-transform: uppercase; }
.g6-pill { background: var(--g6-sunset); color: #1a0d1a; }
.g6-tag { background: rgba(255, 178, 198, 0.14); color: var(--g6-pink); border: 1px solid rgba(255, 178, 198, 0.3); }
.g6-link { font-weight: 700; color: var(--g6-pink); }
.g6-main { max-width: var(--g6-max); margin: 0 auto; padding: 8px 16px 64px; }
.g6-block { margin: 56px 0; }
.g6-head { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 0 20px; margin-bottom: 20px; }
.g6-head .g6-kicker { flex-basis: 100%; }
.g6-head h2 { margin: 0; font-size: clamp(30px, 4.4vw, 48px); line-height: 1; }
.g6-more { margin-left: auto; text-decoration: none; font-weight: 700; color: var(--g6-pink) !important; white-space: nowrap; }
.g6-empty { color: var(--g6-muted); }

/* ---- hero ---------------------------------------------------------------------------------------------- */
.g6-hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: flex-end; overflow: hidden; }
.g6-hero-bg { position: absolute; inset: 0; background: center 30% / cover no-repeat; }
.g6-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31, 31, 56, 0.1) 0%, rgba(20, 20, 40, 0.35) 45%, rgba(17, 18, 34, 0.94) 88%, #111222 100%), linear-gradient(90deg, rgba(12, 13, 27, 0.75) 0%, rgba(12, 13, 27, 0) 60%); }
.g6-hero-inner { position: relative; max-width: var(--g6-max); width: 100%; margin: 0 auto; padding: 120px 16px 48px; }
.g6-hero h1 { margin: 0 0 14px; font-size: clamp(48px, 9vw, 104px); line-height: 0.92; text-shadow: 0 6px 40px rgba(0, 0, 0, 0.45); }
.g6-hero-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 20px 0 26px; font-size: 14px; color: var(--g6-muted); }
.g6-hero-meta strong { color: var(--g6-cream); font: 600 18px/1 var(--g6-head); margin-right: 4px; }
.g6-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- map card (Arc Raiders Hub style: big image card first) ----------------------------------------------- */
.g6-mapcard { display: grid; grid-template-columns: 1.35fr 1fr; min-height: 340px; border-radius: var(--g6-radius); overflow: hidden; text-decoration: none; background: var(--g6-panel); border: 1px solid var(--g6-line); transition: border-color 0.2s, transform 0.2s; }
.g6-mapcard:hover { border-color: rgba(255, 178, 198, 0.5); transform: translateY(-2px); }
.g6-mapcard-img { background: center / cover no-repeat; min-height: 240px; }
.g6-mapcard-body { padding: 32px; display: flex; flex-direction: column; gap: 12px; justify-content: center; background: radial-gradient(120% 120% at 100% 0%, rgba(255, 111, 160, 0.16), transparent 60%); }
.g6-mapcard-body h2 { margin: 0; font-size: clamp(32px, 4vw, 46px); line-height: 1; }
.g6-mapcard-body p { margin: 0; color: var(--g6-text); }
.g6-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 4px 0; color: var(--g6-muted); font-size: 14px; }
.g6-stats strong { color: var(--g6-cream); font: 600 20px/1 var(--g6-head); margin-right: 4px; }

/* ---- card grids ---------------------------------------------------------------------------------------------- */
.g6-grid { display: grid; gap: 18px; }
.g6-grid-guides { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.g6-grid-regions { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.g6-card, .g6-region { display: flex; flex-direction: column; text-decoration: none; border-radius: var(--g6-radius); overflow: hidden; background: var(--g6-panel); border: 1px solid var(--g6-line); transition: border-color 0.2s, transform 0.2s, background 0.2s; }
.g6-card:hover, .g6-region:hover { border-color: rgba(255, 178, 198, 0.45); background: var(--g6-panel-2); transform: translateY(-2px); }
.g6-card-img { aspect-ratio: 40 / 21; background: center / cover no-repeat var(--g6-bg-1); }
.g6-card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.g6-card-body h3 { margin: 0; font-size: 21px; line-height: 1.1; }
.g6-card-body p { margin: 0; color: var(--g6-muted); font-size: 14px; line-height: 1.5; }
.g6-region { position: relative; min-height: 250px; justify-content: flex-end; }
.g6-region-img { position: absolute; inset: 0; background: center / cover no-repeat; }
.g6-region-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 13, 27, 0) 30%, rgba(12, 13, 27, 0.92) 100%); }
.g6-region-body { position: relative; padding: 18px 20px; }
.g6-region-body h3 { margin: 0 0 6px; font-size: 26px; line-height: 1; }
.g6-region-body p { margin: 0; font-size: 14px; color: var(--g6-text); max-width: 46ch; }
.g6-cast { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.g6-castcard { scroll-snap-align: start; text-decoration: none; border-radius: 14px; overflow: hidden; background: var(--g6-panel); border: 1px solid var(--g6-line); display: flex; flex-direction: column; }
.g6-castcard img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%; display: block; width: 100%; }
.g6-castname { font: 600 17px/1.1 var(--g6-head); text-transform: uppercase; color: var(--g6-cream); padding: 12px 14px 2px; }
.g6-castrole { font-size: 13px; color: var(--g6-muted); padding: 0 14px 14px; }
.g6-kb { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; padding: 32px; border-radius: var(--g6-radius); background: linear-gradient(120deg, rgba(155, 123, 255, 0.12), rgba(255, 111, 160, 0.08)); border: 1px solid var(--g6-line); }
.g6-kb h2 { margin: 0 0 12px; font-size: clamp(28px, 3.6vw, 40px); line-height: 1; }
.g6-kb p { margin: 0; }
.g6-kb-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.g6-kb-stats li { background: rgba(12, 13, 27, 0.45); border-radius: 12px; padding: 14px 16px; color: var(--g6-muted); font-size: 14px; }
.g6-kb-stats strong { display: block; font: 600 30px/1 var(--g6-head); color: transparent; background: var(--g6-sunset); -webkit-background-clip: text; background-clip: text; margin-bottom: 4px; }
.g6-faq details { border-bottom: 1px solid var(--g6-line); padding: 14px 0; }
.g6-faq summary { cursor: pointer; font-weight: 700; color: #fff; list-style: none; position: relative; padding-right: 28px; }
.g6-faq summary::-webkit-details-marker { display: none; }
.g6-faq summary::after { content: '+'; position: absolute; right: 4px; top: -2px; font-size: 22px; color: var(--g6-pink); }
.g6-faq details[open] summary::after { content: '–'; }
.g6-faq details p { margin: 10px 0 0; color: var(--g6-text); }

/* ---- page heads and articles ------------------------------------------------------------------------------------ */
.g6-pagehead { border-bottom: 1px solid var(--g6-line); background: radial-gradient(90% 140% at 85% 0%, rgba(255, 111, 160, 0.14), transparent 60%); }
.g6-pagehead-inner { max-width: var(--g6-max); margin: 0 auto; padding: 56px 16px 36px; }
.g6-pagehead h1 { margin: 0 0 10px; font-size: clamp(40px, 6vw, 64px); line-height: 0.95; }
.g6-article-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--g6-line); }
.g6-article-hero-bg { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0.55; }
.g6-article-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 18, 34, 0.35), #111222 96%), linear-gradient(90deg, rgba(12, 13, 27, 0.85), rgba(12, 13, 27, 0.2)); }
.g6-article-hero-inner { position: relative; max-width: 980px; margin: 0 auto; padding: 72px 16px 36px; }
.g6-article-hero h1 { margin: 12px 0 12px; font-size: clamp(34px, 5.6vw, 60px); line-height: 0.98; }
.g6-crumbs { font-size: 13px; color: var(--g6-muted); margin-bottom: 14px; }
.g6-crumbs a { text-decoration: none; color: var(--g6-pink); }
.g6-byline { font-size: 13px; color: var(--g6-muted); margin: 12px 0 0; }
.g6-article-wrap { max-width: 1180px; margin: 0 auto; padding: 32px 16px 24px; display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 48px; justify-content: center; }
.g6-toc { position: sticky; top: 118px; align-self: start; max-height: calc(100vh - 140px); overflow-y: auto; font-size: 14px; }
.g6-toc-title { font: 600 12px/1 var(--g6-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--g6-pink); margin: 0 0 10px; }
.g6-toc ol { margin: 0; padding-left: 18px; color: var(--g6-muted); }
.g6-toc li { margin: 0 0 8px; }
.g6-toc a { text-decoration: none; color: var(--g6-text); }
.g6-toc a:hover { color: var(--g6-cream); }
.g6-prose { font-size: 17px; line-height: 1.72; min-width: 0; }
.g6-prose > p:first-child { font-size: 19px; color: #fff; }
.g6-prose h2 { font-size: clamp(28px, 3.4vw, 36px); line-height: 1.05; margin: 2.2em 0 0.6em; scroll-margin-top: 120px; }
.g6-prose h3 { font-size: 22px; line-height: 1.15; margin: 1.8em 0 0.5em; scroll-margin-top: 120px; color: #fff; }
.g6-prose a { color: var(--g6-pink); text-underline-offset: 3px; }
.g6-prose strong { color: #fff; }
.g6-prose ul, .g6-prose ol { padding-left: 1.3em; }
.g6-prose li { margin: 0.35em 0; }
.g6-prose li::marker { color: var(--g6-pink); }
.g6-prose img { display: block; width: 100%; border-radius: 14px; margin: 1.6em 0 0.5em; border: 1px solid var(--g6-line); background: var(--g6-bg-1); }
.g6-prose p:has(> img) { margin: 0; }
.g6-prose p:has(> img) + p > em:only-child { display: block; font-size: 14px; color: var(--g6-muted); font-style: normal; margin: 0 0 1.4em; }
.g6-prose blockquote { margin: 1.5em 0; padding: 14px 20px; border-left: 3px solid var(--g6-pink); background: var(--g6-panel); border-radius: 0 12px 12px 0; }
.g6-prose blockquote p { margin: 0.3em 0; }
.g6-prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15px; display: block; overflow-x: auto; }
.g6-prose th, .g6-prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--g6-line); vertical-align: top; }
.g6-prose th { font: 600 13px/1.2 var(--g6-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--g6-pink); background: var(--g6-panel); }
.g6-prose tr:hover td { background: rgba(229, 221, 255, 0.03); }
.g6-prose code { background: var(--g6-panel-2); padding: 2px 6px; border-radius: 6px; font-size: 0.9em; }
.g6-faq-article { margin-top: 3em; }
.g6-sources { margin-top: 3em; padding: 20px 24px; border-radius: 14px; background: var(--g6-panel); border: 1px solid var(--g6-line); font-size: 15px; }
.g6-sources h2 { margin-top: 0 !important; font-size: 24px !important; }
.g6-sources ul { margin: 0; }
.g6-related { padding-top: 0; }

/* ---- footer ---------------------------------------------------------------------------------------------- */
.g6-footer { border-top: 1px solid var(--g6-line); background: rgba(8, 8, 18, 0.6); margin-top: 40px; }
.g6-footer-inner { max-width: var(--g6-max); margin: 0 auto; padding: 40px 16px 20px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.g6-footer h4 { font: 600 12px/1 var(--g6-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--g6-pink); margin: 4px 0 12px; }
.g6-footer a { display: block; text-decoration: none; color: var(--g6-muted); padding: 4px 0; font-size: 14px; }
.g6-footer a:hover { color: #fff; }
.g6-footer p { color: var(--g6-muted); font-size: 14px; }
.g6-legal { max-width: var(--g6-max); margin: 0 auto; padding: 16px 16px 32px; font-size: 12px !important; line-height: 1.6; border-top: 1px solid rgba(229, 221, 255, 0.06); }

/* ---- responsive ------------------------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .g6-games { display: none; }
  .g6-menu { display: block; }
  .g6-mapcard, .g6-kb { grid-template-columns: 1fr; }
  .g6-article-wrap { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .g6-toc { position: static; max-height: none; margin-bottom: 20px; padding: 14px 16px; border-radius: 12px; background: var(--g6-panel); border: 1px solid var(--g6-line); }
  .g6-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .g6-grid-regions { grid-template-columns: 1fr; }
  .g6-hero-inner { padding-top: 90px; }
  .g6-mapcard-body, .g6-kb { padding: 22px; }
  .g6-kb-stats { grid-template-columns: 1fr 1fr; }
  .g6-prose { font-size: 16px; }
  .g6-footer-inner { grid-template-columns: 1fr; }
}

/* ---- cheats page (/gta6/cheats) ------------------------------------------------------------------------------ */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.g6-cheat-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 22px 0 0; padding: 0; color: var(--g6-muted); }
.g6-cheat-stats strong { font: 600 30px/1 var(--g6-head); color: var(--g6-cream); margin-right: 6px; }
.g6-cheats { padding-top: 28px; }
.g6-howto { border: 1px solid var(--g6-line); border-radius: var(--g6-radius); background: linear-gradient(135deg, rgba(255, 111, 160, 0.10), rgba(155, 123, 255, 0.08)); padding: 20px 22px; margin-bottom: 28px; }
.g6-howto-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.g6-howto h2 { margin: 0; font-size: 26px; }
.g6-seg { display: inline-flex; border: 1px solid var(--g6-line); border-radius: 999px; padding: 3px; background: rgba(12, 13, 27, 0.4); }
.g6-seg button { border: 0; background: transparent; color: var(--g6-muted); font: 600 13px/1 var(--g6-body); padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.g6-seg button[aria-selected="true"] { background: var(--g6-pink); color: #0c0d1b; }
.g6-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; counter-reset: step; }
.g6-steps li { counter-increment: step; background: rgba(12, 13, 27, 0.45); border: 1px solid var(--g6-line); border-radius: 12px; padding: 12px 14px 12px 46px; position: relative; color: #fff; }
.g6-steps li::before { content: counter(step); position: absolute; left: 14px; top: 11px; width: 22px; height: 22px; border-radius: 50%; background: var(--g6-sunset); color: #0c0d1b; font: 700 13px/22px var(--g6-body); text-align: center; }
.g6-btnglyph { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 24px; padding: 0 6px; border-radius: 6px; border: 1px solid rgba(229, 221, 255, 0.4); background: rgba(229, 221, 255, 0.08); font: 700 13px/1 var(--g6-body); color: var(--g6-cream); margin: 0 2px; }
.g6-howto-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.g6-howto-notes p { margin: 0; color: var(--g6-text); font-size: 14px; }
.g6-warn strong { color: var(--g6-orange); }
.g6-cheat-tools { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; padding: 12px 0; margin-bottom: 8px; background: linear-gradient(180deg, var(--g6-bg-2) 80%, rgba(20, 20, 40, 0)); }
.g6-search { flex: 1 1 260px; }
.g6-search input { width: 100%; height: 42px; border-radius: 999px; border: 1px solid var(--g6-line); background: rgba(12, 13, 27, 0.6); color: #fff; padding: 0 16px; font: 15px var(--g6-body); }
.g6-search input:focus { outline: 2px solid var(--g6-pink); outline-offset: 1px; }
.g6-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.g6-chip { border: 1px solid var(--g6-line); background: rgba(12, 13, 27, 0.4); color: var(--g6-text); border-radius: 999px; padding: 7px 12px; font: 600 13px/1 var(--g6-body); cursor: pointer; }
.g6-chip span { color: var(--g6-muted); font-weight: 500; margin-left: 2px; }
.g6-chip.is-on { background: var(--g6-pink); border-color: var(--g6-pink); color: #0c0d1b; }
.g6-chip.is-on span { color: #4a2a38; }
.g6-toggle { color: var(--g6-muted); font-size: 14px; cursor: pointer; user-select: none; }
.g6-toggle input { accent-color: var(--g6-hot); }
.g6-cheat-group { margin: 26px 0 0; }
.g6-cheat-group h2 { font-size: 28px; margin: 0 0 10px; display: flex; align-items: center; gap: 10px; }
.g6-count { font: 700 13px/1 var(--g6-body); background: var(--g6-panel-2); color: var(--g6-pink); border-radius: 999px; padding: 5px 9px; }
.g6-cheat-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--g6-line); border-radius: var(--g6-radius); overflow: hidden; background: var(--g6-panel); }
.g6-cheat { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 20px; align-items: center; padding: 12px 18px; border-top: 1px solid var(--g6-line); scroll-margin-top: 80px; }
.g6-cheat:first-child { border-top: 0; }
.g6-cheat:target { background: rgba(255, 178, 198, 0.10); }
.g6-cheat h3 { margin: 0; font: 600 17px/1.25 var(--g6-body); color: #fff; letter-spacing: 0; text-transform: none; }
.g6-cheat p { margin: 3px 0 0; font-size: 13.5px; color: var(--g6-muted); }
.g6-unlock-k { color: var(--g6-text); }
.g6-cheat-code { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; align-items: center; }
.g6-code { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.g6-dpad { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 7px; background: rgba(255, 249, 203, 0.10); border: 1px solid rgba(255, 249, 203, 0.35); color: var(--g6-cream); }
.g6-dpad svg { width: 16px; height: 16px; }
.g6-dpad-txt { width: auto; padding: 0 6px; font: 700 11px/1 var(--g6-body); }
.g6-tbc { font-size: 13px; color: var(--g6-muted); border: 1px dashed var(--g6-line); border-radius: 999px; padding: 5px 10px; }
.g6-flag { font-size: 11px; font-weight: 600; color: var(--g6-orange); border: 1px solid rgba(255, 166, 107, 0.45); border-radius: 999px; padding: 3px 8px; }
.g6-empty { color: var(--g6-muted); padding: 24px 0; }
.g6-sources { margin-top: 3em; color: var(--g6-text); font-size: 14px; }
.g6-sources h2 { font-size: 24px; }
.g6-sources a { color: var(--g6-pink); }
@media (max-width: 720px) {
  .g6-steps, .g6-howto-notes { grid-template-columns: 1fr; }
  .g6-cheat { grid-template-columns: 1fr; padding: 12px 14px; }
  .g6-cheat-code { justify-content: flex-start; }
  .g6-dpad { width: 26px; height: 26px; }
  .g6-cheat-tools { position: static; }
}
.g6-strip { display: grid; grid-template-columns: auto 1fr auto; gap: 6px 22px; align-items: center; padding: 20px 24px; border-radius: var(--g6-radius); border: 1px solid var(--g6-line); background: linear-gradient(100deg, rgba(255, 111, 160, 0.16), rgba(255, 166, 107, 0.10) 55%, rgba(155, 123, 255, 0.10)); text-decoration: none; color: inherit; transition: transform 0.15s, border-color 0.15s; }
.g6-strip:hover { transform: translateY(-2px); border-color: rgba(255, 178, 198, 0.5); }
.g6-strip h2 { margin: 0; font-size: 30px; }
.g6-strip p { margin: 0; color: var(--g6-text); grid-column: 2; grid-row: 1 / span 2; }
.g6-strip .g6-pill { grid-column: 1; }
.g6-strip h2 { grid-column: 1; }
.g6-strip .g6-link { grid-column: 3; grid-row: 1 / span 2; white-space: nowrap; }
@media (max-width: 720px) { .g6-strip { grid-template-columns: 1fr; } .g6-strip p, .g6-strip .g6-link, .g6-strip h2, .g6-strip .g6-pill { grid-column: 1; grid-row: auto; } }
.g6-effect { color: var(--g6-text) !important; }
.g6-dpad-inline { width: 24px; height: 24px; vertical-align: middle; margin: 0 2px; }
.g6-steps[hidden], .g6-cheat[hidden], .g6-cheat-group[hidden] { display: none; }
.g6-jump { margin: 16px 0 0; color: var(--g6-muted); font-size: 14px; }
.g6-jump a { color: var(--g6-pink); }
.g6-howto-same { margin: 12px 0 0; color: var(--g6-muted); font-size: 14px; }
.g6-keyfacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 28px; }
.g6-keyfact { position: relative; border: 1px solid var(--g6-line); border-radius: 14px; background: var(--g6-panel); padding: 16px 18px 16px 58px; }
.g6-keyfact h3 { margin: 0 0 4px; font: 700 16px/1.3 var(--g6-body); color: #fff; letter-spacing: 0; text-transform: none; }
.g6-keyfact p { margin: 0; font-size: 14px; color: var(--g6-text); }
.g6-keyfact-n { position: absolute; left: 16px; top: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--g6-sunset); color: #0c0d1b; font: 700 14px/28px var(--g6-body); text-align: center; }
.g6-keyfact-warn { border-color: rgba(255, 166, 107, 0.45); background: rgba(255, 166, 107, 0.07); }
.g6-cat-intro { margin: -2px 0 12px; max-width: 80ch; color: var(--g6-text); font-size: 15px; }
.g6-explain { max-width: 780px; margin: 3em 0 0; color: var(--g6-text); font-size: 16px; line-height: 1.65; }
.g6-explain h2 { font-size: 34px; margin: 0 0 8px; }
.g6-explain h3 { font: 700 20px/1.3 var(--g6-body); color: #fff; letter-spacing: 0; text-transform: none; margin: 1.6em 0 0.4em; }
.g6-explain p { margin: 0 0 0.9em; }
.g6-explain ul { margin: 0 0 1em; padding-left: 1.2em; }
.g6-explain li { margin: 0.3em 0; }
.g6-explain strong { color: #fff; }
@media (max-width: 720px) { .g6-keyfacts { grid-template-columns: 1fr; } }
.g6-pagehead-cheats .g6-pagehead-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 36px; align-items: center; padding-top: 40px; padding-bottom: 32px; }
.g6-pagehead-art { width: 100%; height: auto; border-radius: var(--g6-radius); border: 1px solid var(--g6-line); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); display: block; }
.g6-more-links { margin-top: 2.4em; color: var(--g6-muted); font-size: 14px; }
.g6-more-links a { color: var(--g6-pink); }
.g6-strip-art { grid-row: 1 / span 3; width: 220px; height: auto; border-radius: 12px; display: block; }
.g6-strip:has(.g6-strip-art) { grid-template-columns: 220px auto 1fr auto; }
.g6-strip:has(.g6-strip-art) .g6-pill, .g6-strip:has(.g6-strip-art) h2 { grid-column: 2; }
.g6-strip:has(.g6-strip-art) p { grid-column: 3; }
.g6-strip:has(.g6-strip-art) .g6-link { grid-column: 4; }
@media (max-width: 960px) { .g6-pagehead-cheats .g6-pagehead-inner { grid-template-columns: 1fr; } .g6-pagehead-art { max-width: 640px; } }
@media (max-width: 720px) { .g6-strip:has(.g6-strip-art) { grid-template-columns: 1fr; } .g6-strip:has(.g6-strip-art) > * { grid-column: 1 !important; grid-row: auto !important; } .g6-strip-art { width: 100%; } }
/* guide covers (tools/gta6/art): two-column article header like /gta6/cheats */
.g6-article-hero.has-cover .g6-article-hero-bg { opacity: 0.22; filter: blur(6px); }
.g6-article-hero.has-cover .g6-article-hero-inner { max-width: 1200px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 36px; align-items: center; padding-top: 48px; }
.g6-article-hero.has-cover h1 { font-size: clamp(30px, 3.6vw, 48px); }
.g6-article-cover { width: 100%; height: auto; display: block; border-radius: var(--g6-radius); border: 1px solid var(--g6-line); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
@media (max-width: 960px) { .g6-article-hero.has-cover .g6-article-hero-inner { grid-template-columns: 1fr; } .g6-article-cover { max-width: 640px; } }

/* ---- Guide layout D (2026-11-20): answer cards, picture picker, folded briefing, floating "where am I" ---- */
.g6-hub { margin: 0 0 1.6em; }
.g6-intents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.g6-intent { display: grid; gap: 6px; align-content: start; padding: 14px; border-radius: 12px; background: var(--g6-panel); border: 1px solid var(--g6-line); text-decoration: none; color: var(--g6-text); }
.g6-intent:hover { border-color: var(--g6-pink); }
.g6-intent.is-main { border-color: rgba(255, 140, 180, 0.55); background: linear-gradient(135deg, rgba(255, 120, 170, 0.16), rgba(255, 200, 120, 0.10)); }
.g6-intent-q { font: 700 17px/1.2 var(--g6-body); color: var(--g6-cream); }
.g6-intent-a { font-size: 14px; line-height: 1.4; color: var(--g6-muted); }
.g6-intent-a b { color: var(--g6-text); }
.g6-prose h2.g6-picker-title { margin: 1.2em 0 0.5em; font-size: 22px; }
.g6-picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.g6-pick { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; text-decoration: none; color: #fff; border: 1px solid var(--g6-line); background: linear-gradient(135deg, #2a2050, #1a1530); }
.g6-prose .g6-pick img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; }
.g6-pick::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.85)); }
.g6-pick-n { position: absolute; z-index: 1; top: 6px; left: 6px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--g6-pink); color: #120a1c; font-weight: 800; font-size: 14px; }
.g6-pick-t { position: absolute; z-index: 1; left: 8px; right: 8px; bottom: 7px; font: 600 13px/1.25 var(--g6-body); }
.g6-pick-t em { font-style: normal; color: #ffd48a; }
.g6-pick:hover { border-color: var(--g6-pink); }

details.g6-brief { position: relative; margin: 1.6em 0; border: 1px solid var(--g6-line); border-radius: 14px; background: var(--g6-panel); padding: 0 18px; }
details.g6-brief > summary { cursor: pointer; list-style: none; padding: 16px 0; color: var(--g6-muted); font-size: 14px; line-height: 1.45; }
details.g6-brief > summary::-webkit-details-marker { display: none; }
details.g6-brief > summary > b:first-child { display: block; margin-bottom: 4px; font: 700 20px/1.1 var(--g6-head); text-transform: uppercase; color: var(--g6-cream); }
details.g6-brief > summary > b:first-child::before { content: '▸ '; color: var(--g6-pink); }
details.g6-brief[open] > summary > b:first-child::before { content: '▾ '; }
details.g6-brief[open] > summary { padding-right: 120px; }
details.g6-brief[open] .g6-brief-hint { display: none; }
.g6-brief-bar { --sum-h: 64px; position: sticky; top: calc(124px + var(--sum-h) - 14px); z-index: 5; height: 0; display: flex; justify-content: flex-end; align-items: flex-start; }
.g6-brief-close { margin-top: calc(14px - var(--sum-h)); margin-right: -4px; padding: 8px 14px; border: 0; border-radius: 999px; background: var(--g6-cream); color: #120a1c; font: 700 14px/1 var(--g6-body); cursor: pointer; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4); }

.g6-float { position: fixed; z-index: 99998; left: 16px; bottom: 112px; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 999px; background: #1b1030; color: var(--g6-cream); border: 1px solid var(--g6-pink); font: 700 15px/1 var(--g6-body); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }
.g6-float[hidden] { display: none; }
@media (max-width: 760px) {
  .g6-has-hub .g6-toc { display: none; }
  .g6-intents { grid-template-columns: 1fr; }
  .g6-picker { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .g6-float { left: 0; max-width: none; padding: 9px 12px 9px 10px; border-radius: 0 8px 8px 0; border-left: 0; font-size: 17px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4); }
  .g6-float .g6-float-now { display: none; }
}
/* Step 1 (or the first main section) stands out in the contents list (Kirill 11-20) */
.g6-toc li.g6-toc-first a { font-weight: 700; font-size: 16px; color: var(--g6-cream); }
.g6-toc li.g6-toc-first::marker { color: var(--g6-pink); font-weight: 700; }

/* ---- Missions list (/gta6/missions, 2026-11-20) ---- */
.g6m-bar { display: grid; gap: 12px; margin-top: 18px; }
.g6m-progress { display: flex; align-items: center; gap: 14px; }
.g6m-count { font: 600 15px/1 var(--g6-body); color: var(--g6-muted); white-space: nowrap; }
.g6m-count b { color: var(--g6-cream); font-size: 20px; }
.g6m-track { flex: 1; height: 8px; border-radius: 999px; background: var(--g6-panel-2); overflow: hidden; }
.g6m-fill { display: block; height: 100%; width: 0; background: var(--g6-sunset); transition: width .25s; }
.g6m-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.g6m-tabs { display: flex; gap: 4px; padding: 3px; border-radius: 999px; background: var(--g6-panel); border: 1px solid var(--g6-line); }
.g6m-tabs button { border: 0; background: none; color: var(--g6-muted); font: 600 13px/1 var(--g6-body); padding: 8px 12px; border-radius: 999px; cursor: pointer; }
.g6m-tabs button[aria-selected="true"] { background: var(--g6-pink); color: #120a1c; }
.g6m-hide { font-size: 14px; color: var(--g6-muted); display: flex; gap: 6px; align-items: center; cursor: pointer; }
.g6m-sync { font-size: 13px; color: var(--g6-muted); }
.g6m-sync button { border: 0; background: none; padding: 0; color: var(--g6-pink); font: inherit; text-decoration: underline; cursor: pointer; }
.g6m-main { padding-top: 8px; padding-bottom: 48px; }
.g6m-chapter h2 { display: flex; align-items: baseline; gap: 12px; margin: 1.6em 0 .5em; }
.g6m-ch-count { font: 600 14px/1 var(--g6-body); color: var(--g6-muted); letter-spacing: 0; }
.g6m-group h3 { font: 700 15px/1.2 var(--g6-body); color: var(--g6-pink); text-transform: uppercase; letter-spacing: .08em; margin: 1.2em 0 .4em; }
.g6m-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--g6-line); border-radius: 12px; overflow: hidden; }
.g6m-row { display: grid; grid-template-columns: 34px 46px minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 9px 12px; border-top: 1px solid var(--g6-line); background: var(--g6-panel); }
.g6m-row:first-child { border-top: 0; }
.g6m-row.is-done { background: rgba(120, 220, 160, 0.06); }
.g6m-row.is-done .g6m-name { opacity: .6; }
.g6m-tick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.g6m-tick span { display: block; width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--g6-line); cursor: pointer; }
.g6m-tick input:checked + span { background: #7bd9a0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23120a1c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; border-color: #7bd9a0; }
.g6m-tick input:focus-visible + span { outline: 2px solid var(--g6-pink); outline-offset: 2px; }
.g6m-n { font: 600 13px/1 var(--g6-body); color: var(--g6-muted); }
.g6m-name { font-weight: 600; color: var(--g6-text); min-width: 0; }
.g6m-name a { color: var(--g6-cream); text-decoration: none; }
.g6m-name a:hover { text-decoration: underline; }
.g6m-badge { margin-left: 8px; font: 600 11px/1 var(--g6-body); font-style: normal; padding: 3px 7px; border-radius: 999px; background: var(--g6-panel-2); color: var(--g6-muted); white-space: nowrap; }
.g6m-meta { display: flex; gap: 10px; font-size: 13px; color: var(--g6-muted); white-space: nowrap; }
.g6m-who { padding: 2px 8px; border-radius: 999px; border: 1px solid var(--g6-line); }
.g6m-giver a { color: var(--g6-pink); text-decoration: none; }
.g6m-links { display: flex; gap: 8px; align-items: center; justify-content: flex-end; }
.g6m-pin { text-decoration: none; }
.g6m-guide { font: 700 13px/1 var(--g6-body); padding: 7px 12px; border-radius: 999px; background: var(--g6-pink); color: #120a1c; text-decoration: none; }
.g6m-soon { font-size: 12px; color: var(--g6-muted); opacity: .7; }
.g6m-note { margin-top: 28px; font-size: 13px; color: var(--g6-muted); }
@media (max-width: 760px) {
  .g6m-row { grid-template-columns: 30px minmax(0, 1fr) auto; grid-template-areas: "tick name links" "tick meta links"; row-gap: 4px; }
  .g6m-tick { grid-area: tick; } .g6m-name { grid-area: name; } .g6m-meta { grid-area: meta; flex-wrap: wrap; white-space: normal; } .g6m-links { grid-area: links; }
  .g6m-n { display: none; }
}
