:root{color-scheme:dark;--bg:#0b0f1a;--card:#151b2b;--text:#e8ecf5;--muted:#9aa4b8;--primary:#7c5cff;--accent:#22d3ee;--border:#343c53;--radius:12px;--ok:#6fe3c0;--watch:#e6c079;--none:#e78ba0;font-family:Inter,system-ui,sans-serif}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);font-size:16px;line-height:1.78;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
[hidden]{display:none!important}
a{color:var(--accent);text-underline-offset:.2em;text-decoration-color:rgb(34 211 238 / .75);text-decoration-thickness:1px}
button,input,textarea{font:inherit}
:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
img{max-width:100%;vertical-align:middle}
.shell{width:min(1120px,calc(100% - 48px));margin-inline:auto}
.readable{max-width:72ch}
.mast{border-bottom:1px solid var(--border)}
.top,.footer,.brand,.actions,nav{display:flex;align-items:center;flex-wrap:wrap;gap:12px 16px}
.top,.footer{justify-content:space-between;padding-block:16px}
.brand{gap:8px;text-decoration:none;font-weight:700;color:var(--text);letter-spacing:.05em}
nav a{color:#cbd5e1;text-decoration:none;font-weight:500}
nav a:hover{color:var(--accent);text-decoration:underline}
.skip{position:absolute;top:8px;left:8px;z-index:3;padding:8px;background:var(--bg);transform:translateY(-160%)}
.skip:focus{transform:none}
.hero{display:grid;grid-template-columns:5fr 6fr;margin-top:24px;margin-bottom:44px;min-height:460px;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;background:var(--card)}
.hero-copy{padding:clamp(24px,4vw,48px);align-self:center}
.eyebrow{margin:0 0 8px;color:var(--accent);font-weight:600;font-size:12px;letter-spacing:.14em;text-transform:uppercase}
@media(max-width:640px){.eyebrow{font-size:12px;letter-spacing:.16em}.hero .actions{margin-top:20px}.hero .actions .button{padding:14px 20px}}
h1,h2,h3{font-family:"Space Grotesk",Inter,system-ui,sans-serif;font-weight:700;line-height:1.2}
h1{font-size:48px;margin:0 0 16px;letter-spacing:-.02em}
h2{font-size:28px;margin:0 0 16px}
h3{font-size:22px;margin:24px 0 8px}
p{margin:0 0 20px}
.hero-image{margin:0;display:flex;min-width:0;flex-direction:column;background:var(--bg)}
.hero-image img{width:100%;height:auto;aspect-ratio:16/9;min-height:0;object-fit:cover;flex:1}
.hero-image figcaption{padding:10px 14px 13px;font-size:12px;color:var(--muted)}
.hero-image{display:flex;flex-direction:column;margin:0}
.hero-image img{margin-bottom:8px;width:100%;flex:1;object-fit:cover;min-height:240px}
.hero-image figcaption a{color:var(--muted);text-decoration:none}
.hero-image figcaption a:hover{color:var(--accent);text-decoration:underline}
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 12px;border-radius:var(--radius);border:1px solid var(--border);background:var(--card);color:var(--text);text-decoration:none;cursor:pointer}
.button:not(.primary){border-color:rgb(255 255 255 / .2)}
.button:hover{border-color:var(--accent)}
.button:not(.primary):hover{background:rgb(255 255 255 / .05)}
.primary{background:#7c3aed;color:#fff;border-color:#7c3aed;font-weight:600}
.primary:hover{background:#8b5cf6;border-color:#8b5cf6}
.engage{margin-top:12px}
[data-gf-liked]{border-color:var(--accent);color:var(--accent)}

.engage [data-gf-share-msg], [data-gf-comment-msg]{color:var(--muted);font-size:14px}
.section,.article>h2{margin-top:48px}
.article{margin-top:48px}
.article p,.article li,.article details,.legal{max-width:70ch}
.article p,.article li,.section p,.legal p{color:var(--muted)}
dl.status-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:70ch;margin:16px 0 24px}
.status-grid div{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:12px 16px}
.status-grid dt{font-weight:600}
.status-grid dd{margin:4px 0 0;color:var(--muted)}
details{margin:8px 0;border:1px solid var(--border);border-radius:var(--radius);padding:12px 16px;background:var(--card)}
summary{cursor:pointer;color:var(--text);font-weight:600}
details p{margin-top:12px}
code{color:var(--accent);overflow-wrap:anywhere}
.article li+li{margin-top:8px}
.note{border-left:2px solid var(--accent);padding-left:12px}
label{display:block;margin:12px 0 4px}
input,textarea{display:block;width:100%;padding:8px 12px;background:var(--card);color:var(--text);border:1px solid var(--border);border-radius:var(--radius)}
textarea{resize:vertical;margin-bottom:12px}
.reply-actions{display:none}
[data-gf-replying] .reply-actions{display:flex;align-items:center;gap:8px}
[data-gf-empty]::after{content:"No comments yet. Tell us what you tested.";display:block;margin-top:16px;color:var(--muted)}
.comment{margin-top:16px;padding:12px 16px;background:var(--card);border:1px solid var(--border);border-radius:var(--radius);overflow-wrap:anywhere}
[data-gf-owner]{border-color:var(--accent)}
[data-gf-c-replies] .comment{margin-left:12px}
.footer{margin-top:48px;border-top:1px solid var(--border);color:var(--muted);font-size:14px}
.legal{padding-top:48px}.legal h2{margin-top:32px}
@media(max-width:640px){
 .shell{width:calc(100% - 32px)}
 .hero{grid-template-columns:1fr}
 .hero-copy{padding:24px}
 h1{font-size:32px}
 h2{font-size:24px}
 .hero-image img{max-height:240px}
 .hero .actions{display:grid;grid-template-columns:1fr;margin-bottom:1rem}
 dl.status-grid{grid-template-columns:1fr}
 .top nav{font-size:14px}
}
@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}


.crumbs{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px;font-size:14px;color:var(--muted)}
.crumbs a{color:var(--muted);text-decoration:none}
.crumbs a:hover{color:var(--accent);text-decoration:underline}
.crumbs span[aria-hidden]{color:var(--border)}
.lede{font-size:18px;color:var(--text);max-width:70ch;margin:0 0 24px}
.article>ul,.article>ol{max-width:70ch;padding-left:22px;color:var(--muted)}
.article h3{margin-top:32px}
.sheetwrap{overflow-x:auto;margin:16px 0 24px;border:1px solid var(--border);border-radius:var(--radius)}
table.sheet{width:100%;border-collapse:collapse;font-size:15px;min-width:520px;font-variant-numeric:tabular-nums}
.sheet caption{text-align:left;padding:12px 16px;color:var(--muted);font-size:13px;border-bottom:1px solid var(--border)}
.sheet th,.sheet td{padding:12px 16px;text-align:left;border-bottom:1px solid var(--border);vertical-align:top}
.sheet th{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:600}
.sheet tbody tr:last-child td{border-bottom:0}
.sheet td code{font-size:14px}
.tag{display:inline-block;padding:2px 8px;border-radius:999px;font-size:12px;font-weight:600;border:1px solid var(--border);color:var(--muted);white-space:nowrap}
.tag-none{border-color:rgb(231 139 160 / .45);color:var(--none);background:rgb(231 139 160 / .08)}
.tag-watch{border-color:rgb(230 192 121 / .45);color:var(--watch);background:rgb(230 192 121 / .08)}
.tag-ok{border-color:rgb(111 227 192 / .45);color:var(--ok);background:rgb(111 227 192 / .08)}
.linklist{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:12px 24px;max-width:900px}
.linklist li{border:1px solid var(--border);border-left:3px solid var(--primary);border-radius:10px;padding:14px 16px;background:var(--card)}
.linklist a{font-weight:600;text-decoration:none;font-family:"Space Grotesk",Inter,system-ui,sans-serif}
.linklist a:hover{text-decoration:underline}
.linklist span{display:block;color:var(--muted);font-size:14px;margin-top:4px}
.steps{counter-reset:step;list-style:none;padding:0;max-width:70ch;margin:16px 0 24px}
.steps li{counter-increment:step;position:relative;padding-left:44px;margin-bottom:16px;color:var(--muted)}
.steps li::before{content:counter(step,decimal-leading-zero);position:absolute;left:0;top:0;font-family:"Space Grotesk",Inter,sans-serif;font-weight:700;color:var(--border);font-size:20px}
.steps strong{color:var(--text);display:block;margin-bottom:2px}
.article blockquote{margin:16px 0 24px;padding:12px 16px;border-left:2px solid var(--accent);background:var(--card);border-radius:0 var(--radius) var(--radius) 0;color:var(--muted);max-width:70ch}
.article blockquote p:last-child{margin-bottom:0}
.log{max-width:70ch;margin:0;padding:0;list-style:none}
.log li{border-top:1px solid var(--border);padding:16px 0}
.log time{display:block;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--accent);font-weight:600;margin-bottom:4px}
.log strong{display:block;margin-bottom:4px}
.log p{margin:0;color:var(--muted)}
@media(max-width:640px){
 .linklist{grid-template-columns:1fr}
 .lede{font-size:17px}
 .sheet th,.sheet td{padding:10px 12px}
}


.hero-copy h1{margin-bottom:18px}
.hero-copy p{margin-bottom:28px;line-height:1.72}
.hero-copy .eyebrow{margin-bottom:14px}
.article h2{margin-top:56px}
.article h3{margin-top:48px;margin-bottom:.6rem;padding-top:1.25rem;font-size:23px;letter-spacing:-.01em;border-top:1px solid rgb(255 255 255 / .11)}
.article>p,.article blockquote p{line-height:1.7}
.linklist li{transition:border-color 160ms ease,background-color 160ms ease,transform 160ms ease;padding:24px 26px;background:#1e2436;border-color:rgb(255 255 255 / .12)}
.linklist li:hover{transform:translateY(-2px);box-shadow:0 6px 18px rgb(0 0 0 / .22)}
.linklist li:hover{background:#1b2234}
.linklist a{font-size:17px;color:var(--text);display:block;margin-bottom:8px}
.linklist a:hover{color:var(--accent)}
.linklist li:hover{border-color:var(--accent)}
@media(max-width:640px){
 .linklist li{padding:14px 16px;background:var(--card);border-top:0;border-radius:var(--radius)}
 .engage .button{border-radius:8px;padding-inline:16px}
 .article h2{margin-top:40px}
}


.article p{margin-bottom:1.75em;line-height:1.75}
.article>p,.article li{max-width:68ch}
.hero-copy p{max-width:62ch}
.hero-copy figcaption{color:var(--muted)}
.mast .top{gap:16px 24px}
.mast nav{gap:18px}
@media(max-width:640px){
 .hero{display:flex;flex-direction:column;min-height:0}
 .hero-copy{order:1;padding:24px 20px}
 .hero-image{order:2}
 .hero-image img{width:100%;max-height:230px;object-fit:cover;aspect-ratio:16/9}
 .hero-copy p{line-height:1.76}
 .engage{display:grid;grid-template-columns:1fr 1fr;gap:10px}
 .engage .button{justify-content:center;min-height:44px}
 .engage a.button{grid-column:1 / -1}
 .engage [data-gf-share-msg]{grid-column:1 / -1}
 .mast .top{padding-block:14px;gap:12px}
 .mast nav{flex-wrap:nowrap;overflow-x:auto;gap:2px;width:100%;margin-inline:-12px;scroll-padding-inline:12px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
 .mast nav::-webkit-scrollbar{display:none}
 .mast nav a{flex:0 0 auto;display:flex;align-items:center;min-height:44px;padding:0 12px;white-space:nowrap}
}


/* mobile hero order: copy first, image second (must stay last in file) */
@media(max-width:640px){
.hero{display:flex!important;flex-direction:column!important;min-height:0}
.hero-copy{order:1!important;padding:24px 20px}
.hero-image{order:2!important}
.hero-image img{max-height:230px;width:100%;aspect-ratio:16/9;object-fit:cover;flex:0 0 auto;margin-bottom:6px}
.hero .actions{margin-top:16px;gap:10px}
}
/* GTA series library: scoped figures, jump cards and cheat lookup. */
.series-hero .series-hero-secondary{margin:18px 0 0;font-size:14px}
.series-media{max-width:820px;margin:24px 0 32px;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;background:var(--card)}
.series-media img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.series-media figcaption{padding:10px 14px;color:var(--muted);font-size:13px}
.series-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr));gap:12px;margin:20px 0}
.series-links a{display:block;padding:16px;border:1px solid var(--border);border-radius:var(--radius);background:var(--card);text-decoration:none}
.series-links a:hover{border-color:var(--accent)}
.series-links span{display:block;margin-top:8px;font-size:14px;color:var(--muted)}
.series-lookup{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin-top:24px}
.series-lookup[hidden]{display:none}
.series-lookup label{display:grid;gap:6px;color:var(--muted);font-size:14px;flex:1 1 180px;min-width:0}
.series-lookup input,.series-lookup select{font:inherit;width:100%;min-height:44px;padding:8px 10px;border:1px solid var(--border);border-radius:8px;background:var(--card);color:var(--text)}
.series-result{flex:1 0 100%;color:var(--muted);font-size:14px}
.cheat-card-caption{margin:16px 0 12px;font-size:13px;line-height:1.45}
.cheat-card-list{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:start;list-style:none;margin:0;padding:0}
.article .cheat-card-list>.cheat-card{display:flex;flex-direction:column;gap:12px;margin:0;min-width:0;max-width:none;padding:16px;border:1px solid var(--border);border-radius:var(--radius);background:var(--card);color:var(--text);scroll-margin-top:24px;overflow-wrap:anywhere;line-height:1.5}
.article .cheat-card-list>.cheat-card:target{border-color:var(--accent)}
.article .cheat-card h3{font-size:clamp(17px,2vw,21px);line-height:1.25;margin:0;padding:0;border:0}
.cheat-card-head{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:8px 12px}
.cheat-card-tags{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.cheat-card-badge{display:inline-flex;align-items:center;max-width:100%;padding:2px 7px;border-radius:5px;border:1px solid var(--border);color:var(--muted);font-size:12px;font-weight:600;line-height:1.3}
.cheat-card-badge[data-status=match]{color:var(--ok)}
.cheat-card-badge[data-status=dispute]{color:var(--watch)}
.cheat-card-input{display:grid;gap:7px;min-width:0}
.cheat-card-label{color:var(--muted);font-size:12px;font-weight:600;line-height:1.4;text-transform:uppercase;letter-spacing:.045em}
.cheat-card-keys{display:flex;flex-wrap:wrap;gap:5px;min-width:0}
.cheat-card-keys kbd{display:inline-grid;place-items:center;flex:none;min-width:27px;height:33px;padding:0 3px;border:1px solid var(--border);border-radius:5px;background:var(--bg);color:var(--text);font:700 19px/1 system-ui,sans-serif}
.article .cheat-card p{margin:0;max-width:none;font-size:14px;line-height:1.55}
.article .cheat-card .cheat-card-unlock{color:var(--text)}
.cheat-card-unlock .cheat-card-label{margin-right:6px}
.article .cheat-card .cheat-card-sources{margin:0;padding:0;border:0;border-top:1px solid var(--border);border-radius:0;background:transparent;max-width:none}
.cheat-card-sources summary{padding:9px 0 0;font-size:13px;color:var(--muted);cursor:pointer}
.article .cheat-card .cheat-card-sources p{padding-top:8px}
@media(min-width:820px){.cheat-card-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media(max-width:375px){.article .cheat-card-list>.cheat-card{padding:12px}.cheat-card-keys{gap:4px}.cheat-card-keys kbd{min-width:23px;padding-inline:2px}}
@media(max-width:820px){.series-hero .hero-copy{order:1}.series-hero .hero-image{order:2}}


/* GTA6CODES: tools menu, key sequences and browser-only tools */
.mast .top{position:relative}
.mast .codehub-nav{display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px;overflow:visible;margin:0}
.mast .codehub-nav>a,.codehub-menu>summary{min-height:44px;display:inline-flex;align-items:center;margin:0;padding:6px 2px}
.codehub-menu{margin:0;padding:0;border:0;background:transparent;position:static}
.codehub-menu>summary{gap:6px;list-style:none;cursor:pointer;color:var(--accent);font-weight:600}
.codehub-menu>summary::-webkit-details-marker{display:none}
.codehub-menu>summary span{line-height:1}
.codehub-menu[open]>summary span{transform:rotate(180deg)}
.codehub-menu:not([open])>.codehub-menu-panel{display:none}
.codehub-menu-panel{position:absolute;z-index:20;inset-inline-end:0;top:calc(100% + 1px);width:min(810px,100%);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:14px;border:1px solid var(--border);border-radius:var(--radius);background:var(--card);max-height:min(70dvh,520px);overflow:auto}
.codehub-menu-group{min-width:0}
.codehub-group-label{margin:4px 8px 4px;color:var(--muted);font-weight:700;font-size:12px;letter-spacing:.08em;text-transform:uppercase}
.mast .codehub-menu-panel a{display:grid;gap:3px;align-content:center;min-height:56px;padding:8px;margin:0;border-radius:8px;white-space:normal}
.codehub-menu-panel a:hover,.codehub-menu-panel a:focus-visible{background:var(--bg)}
.codehub-menu-panel strong{font-size:15px;line-height:1.35;color:var(--text)}
.codehub-menu-panel small{font-size:13px;line-height:1.45;color:var(--muted)}
.codehub-keyhead{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.codehub-copy{font-size:13px;min-height:44px;white-space:nowrap}
.codehub-seq{user-select:text}
.codehub-step{display:inline-flex;align-items:center;gap:4px}
.codehub-step+.codehub-step::before{content:"›";color:var(--muted);font-size:14px}
.codehub-step>kbd{padding:0 7px;border-color:var(--primary);font:700 13px/1 ui-monospace,monospace}
.codehub-copy-status{color:var(--ok);font-size:13px}
.codehub-tool{margin:22px 0;padding:clamp(14px,3vw,24px);border:1px solid var(--border);border-radius:var(--radius);background:var(--card)}
.codehub-tool-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:12px}
.codehub-tool-fields label{display:grid;gap:6px;font-size:14px}
.codehub-tool input[type=number]{min-height:44px;min-width:0;width:100%;border:1px solid var(--border);border-radius:8px;background:var(--bg);color:var(--text);padding:8px;font:inherit}
.codehub-tool-status{color:var(--ok);margin:8px 0 12px}
.codehub-tool meter,.codehub-tool progress{width:100%;height:14px;accent-color:var(--ok)}
.codehub-tracker-item{display:grid;grid-template-columns:auto 1fr;gap:10px;padding:9px 0;border-bottom:1px solid var(--border);cursor:pointer;line-height:1.45}
.codehub-tracker-item input{width:20px;height:20px;accent-color:var(--ok)}
.codehub-tracker-item small{color:var(--muted);display:block;margin-top:4px}
.codehub-tool output{display:block;margin:12px 0;color:var(--ok);font-weight:600}
@media(max-width:700px){.mast .codehub-nav{width:100%;justify-content:flex-start;gap:1px 12px}.mast .codehub-nav>a,.codehub-menu>summary{font-size:13px}.codehub-menu-panel{grid-template-columns:1fr;gap:7px}.mast .codehub-menu-panel a{min-height:44px}}
