/* GTA 6 section (/gta-6/): overview, map, cheats, guides. Pages set <body class="g6">. Vice City sunset look, dark. */

body.g6 {
    --g6-pink: #ff4fa3;
    --g6-orange: #ff9a3c;
    --g6-teal: #2ee6d6;
    --g6-sea: #1a7fd1;
    --g6-card: #17203a;
    --g6-card2: #1c2746;
    --g6-line: rgba(255,255,255,.08);
    --g6-text1: #eef2fa;
    --g6-text2: #9fb0cc;
    --g6-text3: #6e82a3;
}

/* ---------- Header: our own sunset + palms (no game art) ---------- */
body.g6 .main-header-sub {
    position: relative;
    overflow: hidden;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 400' preserveAspectRatio='xMidYMax slice'%3E%3Cg fill='%23120b1f'%3E%3Cpath d='M0 400V330q200-30 420 0t420-6 420 4 340-8v80z'/%3E%3Cpath d='M180 400l14-190q2-10 8 0l4 190z'/%3E%3Cpath d='M200 212q-60-10-110 24 60-14 106-14-70 20-96 70 50-44 100-50-30 40-30 86 26-56 34-80 6 40 40 80-14-50-26-86 40 10 80 50-30-46-74-62 50-4 104 12-50-34-126-30z'/%3E%3Cpath d='M1380 400l10-160q2-10 8 0l2 160z'/%3E%3Cpath d='M1394 242q-56-8-100 20 54-12 96-10-62 18-86 60 46-38 90-44-26 34-26 76 22-48 30-70 6 34 36 70-12-44-22-76 36 8 72 44-26-40-66-54 44-4 92 10-44-30-116-26z'/%3E%3Cpath d='M1480 400l8-120q1-8 6 0l2 120z'/%3E%3Cpath d='M1491 282q-40-6-72 14 40-8 70-6-44 12-62 42 34-28 64-30-18 24-18 52 16-34 22-50 4 24 26 50-8-32-16-54 26 6 52 32-18-28-48-38 32-4 66 8-32-22-84-20z'/%3E%3C/g%3E%3C/svg%3E") no-repeat 50% 100% / cover,
        radial-gradient(circle at 50% 78%, #ffd36b 0, #ff9a3c 9%, rgba(255,79,163,.85) 22%, transparent 48%),
        linear-gradient(180deg, #1b1240 0%, #4a1d6b 38%, #c2367c 70%, #ff7a59 100%);
}
body.g6 .main-header-sub::after {   /* scanline stripes across the sun */
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%;
    background: repeating-linear-gradient(180deg, transparent 0 14px, rgba(27,18,64,.35) 14px 18px);
    pointer-events: none;
}
body.g6 .header-content { position: relative; z-index: 1; }
body.g6 .header-title { font-size: 3.6rem; letter-spacing: .02em; }
body.g6 .header-title .g6-vi { background: linear-gradient(180deg, #fff 0%, #ffd2ea 45%, var(--g6-pink) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(2px 2px 3px rgba(0,0,0,.5)); }

/* ---------- Layout ---------- */
.g6w { color: var(--g6-text1); font-size: 1.02rem; line-height: 1.6; }
.g6w h2 { font-family: 'Teko', sans-serif; font-size: 2rem; line-height: 1.05; font-weight: 600; margin: 34px 0 12px; letter-spacing: .01em; }
.g6w h2:first-child { margin-top: 0; }
.g6w h3 { font-size: 1.08rem; margin: 22px 0 8px; }
.g6w p { margin: 0 0 12px; color: #d5ddeb; }
.g6w ul.g6-list { margin: 0 0 14px; padding-left: 20px; }
.g6w ul.g6-list li { margin: 4px 0; color: #d5ddeb; }
.g6w b, .g6w strong { color: var(--g6-text1); }
.g6w .g6-muted { color: var(--g6-text2); font-size: .92rem; }
.g6w a { color: var(--g6-teal); }
.g6w a:hover { color: #fff; }
.g6-grid { display: grid; gap: 16px; }
.g6-grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g6-grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g6-grid.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g6-card { background: var(--g6-card); border: 1px solid var(--g6-line); border-radius: 14px; padding: 18px 20px; min-width: 0; }
.g6-card h3:first-child { margin-top: 0; }
.g6-note { border-left: 3px solid var(--g6-orange); background: rgba(255,154,60,.08); padding: 10px 14px; border-radius: 0 10px 10px 0; margin: 12px 0 16px; font-size: .95rem; color: #e9dccb; }
.g6-note.teal { border-color: var(--g6-teal); background: rgba(46,230,214,.07); color: #cdeeea; }

/* ---------- Section sub-nav + spoiler switch ---------- */
.g6-nav { position: sticky; top: var(--gh-nav-h); z-index: 5; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    margin: -8px -8px 26px; padding: 8px; background: rgba(23,32,58,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border: 1px solid var(--g6-line); border-radius: 14px; }
.g6-nav a { padding: 8px 14px; border-radius: 10px; color: var(--g6-text2); font-weight: 600; font-size: .95rem; }
.g6-nav a:hover { color: #fff; background: rgba(255,255,255,.05); }
.g6-nav a.on { color: #fff; background: linear-gradient(135deg, rgba(255,79,163,.35), rgba(255,154,60,.25)); box-shadow: inset 0 0 0 1px rgba(255,79,163,.45); }
.g6-spsw { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; border: 0; background: none; color: var(--g6-text2); font: inherit; font-size: .9rem; cursor: pointer; padding: 6px 8px; }
.g6-spsw i { position: relative; width: 38px; height: 22px; border-radius: 11px; background: #2a3658; transition: background .2s; flex: none; }
.g6-spsw i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #c9d3e6; transition: transform .2s; }
.g6-spsw[aria-pressed="true"] i { background: var(--g6-pink); }
.g6-spsw[aria-pressed="true"] i::after { transform: translateX(16px); background: #fff; }
.g6-spsw b { color: var(--g6-text1); font-weight: 600; }

/* ---------- Spoilers ----------
   .g6-sp = inline/inline-block spoiler; .g6-spb = block spoiler. Hidden (blurred) until clicked,
   or until the "Show spoilers" switch puts html.g6-spoil-on. Without JS, focusing reveals it. */
.g6-sp, .g6-spb { position: relative; cursor: pointer; border-radius: 6px; }
.g6-sp > .g6-spc, .g6-spb > .g6-spc { filter: blur(7px); transition: filter .2s; user-select: none; }
.g6-sp { background: rgba(255,79,163,.12); padding: 0 4px; }
.g6-spb { display: block; background: rgba(255,79,163,.06); border: 1px dashed rgba(255,79,163,.45); border-radius: 12px; padding: 14px 16px; margin: 10px 0 14px; min-height: 64px; }
.g6-spb::before { content: "Spoiler · " attr(data-sp) " · tap to reveal"; position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%);
    background: #2a1530; color: #ffc2e1; border: 1px solid rgba(255,79,163,.5); padding: 6px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600; white-space: nowrap; pointer-events: none; }
.g6-sp::before { content: attr(data-sp); position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: .72rem; font-weight: 700; letter-spacing: .04em;
    text-transform: uppercase; color: #ffc2e1; white-space: nowrap; pointer-events: none; }
.g6-sp.open, .g6-spb.open, .g6-sp:focus, .g6-spb:focus, html.g6-spoil-on .g6-sp, html.g6-spoil-on .g6-spb { cursor: auto; }
.g6-sp.open > .g6-spc, .g6-spb.open > .g6-spc, .g6-sp:focus > .g6-spc, .g6-spb:focus > .g6-spc,
html.g6-spoil-on .g6-sp > .g6-spc, html.g6-spoil-on .g6-spb > .g6-spc { filter: none; user-select: auto; }
.g6-sp.open::before, .g6-spb.open::before, .g6-sp:focus::before, .g6-spb:focus::before,
html.g6-spoil-on .g6-sp::before, html.g6-spoil-on .g6-spb::before { display: none; }
.g6-spb.open, html.g6-spoil-on .g6-spb { border-style: solid; border-color: rgba(255,79,163,.25); }
.g6-spb > .g6-spc > :last-child { margin-bottom: 0; }
.g6-sptag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #ffc2e1; background: rgba(255,79,163,.18); border-radius: 6px; padding: 1px 7px; margin-left: 6px; vertical-align: 2px; }
.g6-spb:focus { outline: 2px solid rgba(255,79,163,.6); outline-offset: 2px; }

/* ---------- Overview ---------- */
.g6-facts { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-bottom: 26px; }
.g6-fact { background: var(--g6-card); border: 1px solid var(--g6-line); border-radius: 14px; padding: 14px 16px; }
.g6-fact span { display: block; color: var(--g6-text3); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.g6-fact b { display: block; font-size: 1.1rem; margin-top: 4px; line-height: 1.3; }
.g6-hubs { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin: 6px 0 10px; }
.g6-hub { display: block; position: relative; overflow: hidden; border-radius: 16px; padding: 20px 20px 18px; border: 1px solid var(--g6-line); background: var(--g6-card2); transition: transform .15s, border-color .15s; }
.g6-hub:hover { transform: translateY(-2px); border-color: rgba(255,79,163,.5); }
.g6w a.g6-hub { color: var(--g6-text1); }
.g6-hub b { display: block; font-family: 'Teko', sans-serif; font-size: 1.7rem; line-height: 1; font-weight: 600; }
.g6-hub span { display: block; color: var(--g6-text2); font-size: .92rem; margin-top: 6px; }
.g6-hub svg { position: absolute; right: -10px; bottom: -14px; width: 96px; height: 96px; opacity: .16; fill: none; stroke: #fff; stroke-width: 1.4; }
.g6-hub.map { background: linear-gradient(135deg, #123a5e, #17203a 70%); }
.g6-hub.cheats { background: linear-gradient(135deg, #4a1747, #17203a 70%); }
.g6-hub.guides { background: linear-gradient(135deg, #5a3315, #17203a 70%); }
.g6-people { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.g6-person { display: flex; gap: 14px; align-items: flex-start; }
.g6-person .av { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-family: 'Teko', sans-serif; font-size: 1.7rem; font-weight: 600; color: #fff; }
.g6-person h3 { margin: 0 0 2px !important; }
.g6-person p { margin: 0; font-size: .95rem; }
.g6-person .q { color: var(--g6-orange); font-style: italic; font-size: .92rem; margin-bottom: 4px; }
.g6-support { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 14px; }
.g6-support .g6-card { padding: 14px 16px; }
.g6-support b { display: block; }
.g6-support .q { color: var(--g6-orange); font-style: italic; font-size: .88rem; margin: 2px 0 6px; }
.g6-support p { font-size: .9rem; margin: 0; }
.g6-faq details { background: var(--g6-card); border: 1px solid var(--g6-line); border-radius: 12px; margin-bottom: 8px; }
.g6-faq summary { cursor: pointer; padding: 13px 16px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.g6-faq summary::-webkit-details-marker { display: none; }
.g6-faq summary::after { content: "+"; color: var(--g6-pink); font-size: 1.3rem; line-height: 1; }
.g6-faq details[open] summary::after { content: "–"; }
.g6-faq details > div { padding: 0 16px 14px; }

/* ---------- Map ---------- */
.g6-filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.g6-filters button, .g6-chipbtn { border: 1px solid var(--g6-line); background: var(--g6-card); color: var(--g6-text2); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
.g6-filters button:hover, .g6-chipbtn:hover { color: #fff; }
.g6-filters button.on, .g6-chipbtn.on { color: #fff; background: rgba(255,79,163,.22); border-color: rgba(255,79,163,.55); }
.g6-panel { position: sticky; top: calc(var(--gh-nav-h) + 70px); background: var(--g6-card); border: 1px solid var(--g6-line); border-radius: 16px; padding: 18px 20px; max-height: calc(100vh - var(--gh-nav-h) - 90px); overflow: auto; }
.g6-panel h2 { margin: 0 0 2px !important; display: flex; align-items: center; gap: 10px; }
.g6-panel h2 i { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.g6-panel .sub { color: var(--g6-orange); font-size: .92rem; margin-bottom: 10px; }
.g6-panel h3 { font-size: .8rem !important; text-transform: uppercase; letter-spacing: .08em; color: var(--g6-text3); margin: 16px 0 6px !important; }
.g6-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.g6-tags span { background: rgba(255,255,255,.06); border-radius: 7px; padding: 3px 9px; font-size: .86rem; color: #d5ddeb; }
.g6-tags span.hl { background: rgba(255,79,163,.25); color: #fff; }
.g6-rlist { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.g6-rlist button { display: inline-flex; align-items: center; gap: 7px; }
.g6-rlist button i { width: 10px; height: 10px; border-radius: 3px; }
.g6-mapsearch { width: 100%; box-sizing: border-box; background: #0f1830; color: #fff; border: 1px solid var(--g6-line); border-radius: 10px; padding: 9px 12px; font: inherit; font-size: .95rem; margin-bottom: 10px; }
.g6-mapsearch:focus { outline: none; border-color: rgba(255,79,163,.6); }

/* ---------- Leaflet map (official image) ---------- */
.g6-lmap-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
.g6-lmap-tools .g6-mapsearch { flex: 1 1 260px; margin: 0; }
.g6-lmap-tools .g6-filters { margin: 0; }
.g6-filters button { display: inline-flex; align-items: center; gap: 6px; }
.g6-filters button:not(.on) .g6-pdot { opacity: .35; }
.g6-lmap-wrap { position: relative; }
.g6-lmap, .g6-lmap.leaflet-container { height: min(78vh, 820px); min-height: 420px; border-radius: 16px; border: 1px solid var(--g6-line); background: #0b1428; overflow: hidden; z-index: 0; }
.g6-lmap-credit { position: absolute; right: 10px; bottom: 8px; z-index: 500; font-size: .72rem; color: #0b2a3a; background: rgba(255,255,255,.75); padding: 2px 8px; border-radius: 6px; pointer-events: none; }
.g6-lmap .leaflet-control-zoom a { background: #17203a; color: #fff; border-color: #2a3658; }
.g6-lmap .leaflet-control-zoom a:hover { background: #2a3658; }
.g6-pdot, .g6-pin { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.45); flex: none; }
.g6-pin { box-sizing: border-box; width: 14px !important; height: 14px !important; transition: transform .15s; }
.g6-pin:hover, .g6-pin:focus { transform: scale(1.35); }
.g6-pc-town { background: #ff4fa3; }
.g6-pc-landmark { background: #ff9a3c; }
.g6-pc-race { background: #8b5cf6; }
.g6-pc-airport { background: #1f2937; }
.g6-pc-island { background: #f2d14b; }
.g6-pc-water { background: #1a7fd1; }
.g6-tip-l { font: 600 12px 'Rubik', sans-serif; }
.g6-pop .leaflet-popup-content-wrapper { background: #17203a; color: #fff; border-radius: 12px; border: 1px solid #2a3658; }
.g6-pop .leaflet-popup-tip { background: #17203a; }
.g6-pop .leaflet-popup-content { margin: 10px 14px; font: 14px/1.4 'Rubik', sans-serif; }
.g6-pop b { display: block; font-size: 15px; }
.g6-pop span { color: #9fb0cc; font-size: 12.5px; }
#g6RList { margin-top: 12px; }
.g6-rpanel { position: static; max-height: none; margin-top: 4px; }
.g6-rpanel .g6-grid h3 { margin-top: 6px !important; }

/* ---------- Cheats ---------- */
.g6-how { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-bottom: 20px; }
.g6-step { background: var(--g6-card); border: 1px solid var(--g6-line); border-radius: 14px; padding: 14px 16px; }
.g6-step em { font-style: normal; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--g6-pink); color: #fff; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.g6-step p { margin: 0; font-size: .95rem; }
.g6-kbd { display: inline-block; min-width: 1.6em; text-align: center; padding: 1px 7px; border-radius: 6px; background: #0f1830; border: 1px solid #34436a; border-bottom-width: 2px; font-size: .85em; font-weight: 700; color: #fff; }
.g6-ctools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.g6-ctools input[type=search] { flex: 1 1 220px; background: #0f1830; color: #fff; border: 1px solid var(--g6-line); border-radius: 10px; padding: 9px 12px; font: inherit; font-size: .95rem; }
.g6-ctools input[type=search]:focus { outline: none; border-color: rgba(255,79,163,.6); }
.g6-seg { display: inline-flex; background: #0f1830; border: 1px solid var(--g6-line); border-radius: 10px; padding: 3px; }
.g6-seg button { border: 0; background: none; color: var(--g6-text2); font: inherit; font-size: .85rem; font-weight: 600; padding: 6px 11px; border-radius: 7px; cursor: pointer; }
.g6-seg button.on { background: #2a3658; color: #fff; }
.g6-ccount { color: var(--g6-text3); font-size: .88rem; }
.g6-cat { margin-top: 22px; }
.g6-cat h2 { display: flex; align-items: baseline; gap: 10px; }
.g6-cat h2 small { font-family: 'Rubik', sans-serif; font-size: .85rem; color: var(--g6-text3); font-weight: 400; }
.g6-ctable { width: 100%; border-collapse: separate; border-spacing: 0 6px; }
.g6-ctable th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--g6-text3); font-weight: 700; padding: 0 12px; }
.g6-ctable td { background: var(--g6-card); padding: 11px 12px; vertical-align: middle; font-size: .94rem; border-top: 1px solid var(--g6-line); border-bottom: 1px solid var(--g6-line); }
.g6-ctable td:first-child { border-left: 1px solid var(--g6-line); border-radius: 12px 0 0 12px; width: 34px; }
.g6-ctable td:last-child { border-right: 1px solid var(--g6-line); border-radius: 0 12px 12px 0; }
.g6-ctable tr.got td { background: #16304a; }
.g6-ctable .nm b { display: block; }
.g6-ctable .nm span { color: var(--g6-text2); font-size: .86rem; }
.g6-ctable .un { color: #cbd5e6; font-size: .88rem; max-width: 280px; }
.g6-chk { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border-radius: 6px; border: 2px solid #3c4d78; cursor: pointer; display: grid; place-items: center; margin: 0; }
.g6-chk:checked { background: var(--g6-teal); border-color: var(--g6-teal); }
.g6-chk:checked::after { content: ""; width: 5px; height: 10px; border: solid #0b1a2e; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.g6-seq { display: flex; flex-wrap: wrap; gap: 3px; align-items: center; }
.g6-seq .pre { display: inline-flex; gap: 3px; margin-right: 6px; }
.g6-seq .pre .g6-kbd { font-size: .72rem; padding: 2px 5px; background: #2a1530; border-color: #6b2b5a; color: #ffc2e1; }
.g6-dp { width: 24px; height: 24px; border-radius: 6px; background: #0f1830; border: 1px solid #34436a; display: inline-grid; place-items: center; }
.g6-dp svg { width: 14px; height: 14px; fill: #fff; }
.g6-dp.q { color: var(--g6-orange); font-weight: 700; font-size: .85rem; }
.g6-copy { border: 1px solid var(--g6-line); background: #0f1830; color: var(--g6-text2); border-radius: 8px; padding: 4px 9px; font: inherit; font-size: .78rem; cursor: pointer; margin-left: 6px; }
.g6-copy:hover { color: #fff; }
.g6-ver { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; border-radius: 6px; padding: 2px 7px; white-space: nowrap; }
.g6-ver.ok { background: rgba(46,230,214,.14); color: var(--g6-teal); }
.g6-ver.one { background: rgba(255,154,60,.14); color: var(--g6-orange); }
.g6-progress { height: 8px; border-radius: 4px; background: #0f1830; overflow: hidden; flex: 1 1 140px; max-width: 220px; }
.g6-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--g6-teal), var(--g6-pink)); transition: width .3s; }

/* ---------- Guides ---------- */
.g6-toc { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.g6-toc a { background: var(--g6-card); border: 1px solid var(--g6-line); border-radius: 999px; padding: 6px 12px; font-size: .88rem; font-weight: 600; color: var(--g6-text2) !important; }
.g6-toc a:hover { color: #fff !important; border-color: rgba(255,79,163,.5); }
.g6-guide { scroll-margin-top: calc(var(--gh-nav-h) + 80px); }
.g6-tip { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--g6-line); }
.g6-tip:last-child { border-bottom: 0; }
.g6-tip > i { flex: none; width: 28px; height: 28px; border-radius: 8px; background: rgba(255,79,163,.16); color: var(--g6-pink); display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: .85rem; }
.g6-tip p { margin: 0; }
.g6-tiers { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 6px; margin: 10px 0 14px; }
.g6-tiers div { border-radius: 10px; padding: 10px 8px; text-align: center; font-size: .85rem; font-weight: 700; color: #fff; }
.g6-tiers small { display: block; font-weight: 400; font-size: .75rem; opacity: .85; margin-top: 2px; }
.g6-stars { color: var(--g6-orange); letter-spacing: 2px; }
.g6-table { width: 100%; border-collapse: collapse; font-size: .93rem; margin: 6px 0 14px; }
.g6-table th, .g6-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--g6-line); vertical-align: top; }
.g6-table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--g6-text3); }

.g6-src { margin-top: 30px; font-size: .85rem; color: var(--g6-text3); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .g6-panel { position: static; max-height: none; }
    .g6-facts { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .g6-hubs, .g6-support, .g6-grid.c3, .g6-grid.c4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 700px) {
    body.g6 .header-title { font-size: 2.6rem; }
    .g6-hubs, .g6-support, .g6-people, .g6-grid.c2, .g6-grid.c3, .g6-grid.c4, .g6-how { grid-template-columns: minmax(0, 1fr); }
    .g6-tiers { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .g6-nav { gap: 4px; position: static; }
    .g6-nav a { padding: 7px 10px; font-size: .9rem; }
    .g6-spsw { margin-left: 0; }
    /* cheat table becomes cards */
    .g6-ctable, .g6-ctable tbody, .g6-ctable tr, .g6-ctable td { display: block; }
    .g6-ctable thead { display: none; }
    .g6-ctable tr { position: relative; background: var(--g6-card); border: 1px solid var(--g6-line); border-radius: 12px; margin-bottom: 8px; padding: 10px 12px 10px 44px; }
    .g6-ctable tr.got { background: #16304a; }
    .g6-ctable td, .g6-ctable td:first-child, .g6-ctable td:last-child { background: none !important; border: 0; border-radius: 0; padding: 3px 0; width: auto; max-width: none; }
    .g6-ctable td:first-child { position: absolute; left: 12px; top: 12px; padding: 0; }
}
