/*
Theme Name: GTA VI Roadmap
Theme URI: https://github.com/
Author: GTA VI Roadmap
Description: Independent fan-made GTA VI information theme: release countdown, sourced answers, guides, news with Confirmed and Reported labels, a private browser-based progress tracker, X caption kit, affiliate-ready gaming gear pages, SEO metadata and JSON-LD. Not affiliated with Rockstar Games or Take-Two Interactive.
Version: 1.4.1
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gta-vi-roadmap
Tags: news, dark, one-column, custom-menu, featured-images, translation-ready, accessibility-ready
*/

/* ==========================================================================
   1. Tokens
   Palette taken from the logo: sunset magenta and orange, violet, cyan, deep navy.
   ========================================================================== */
:root {
  --bg: #0a0d17;
  --bg-2: #0f1322;
  --surface: #141a2b;
  --surface-2: #1a2136;
  --line: #262f48;
  --line-2: #34405f;
  --text: #f3f5fb;
  --text-2: #d3d9e6;
  --muted: #a3adc2;
  --pink: #ff4fa3;
  --orange: #ffad4d;
  --violet: #8f6bff;
  --cyan: #4fd4ee;
  --ok: #4ade94;
  --warn: #fbc04a;
  --bad: #ff7a86;
  --brand-grad: linear-gradient(120deg, #ff4fa3 0%, #ff7a5c 55%, #ffad4d 100%);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .28);
  --wrap: 1180px;
  --prose: 74ch;
  --header-h: 68px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.7 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
code { font-size: .9em; background: var(--surface-2); padding: .1em .4em; border-radius: 6px; }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; letter-spacing: -.015em; margin: 0 0 .5em; text-wrap: balance; color: #fff; }
h1 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
h3, .h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.narrow { max-width: 820px; }
.section { padding-block: 56px; }
.band { background: var(--bg-2); border-block: 1px solid var(--line); }
.sr, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.screen-reader-text:focus { clip: auto; width: auto; height: auto; background: #fff; color: #000; padding: 8px 12px; z-index: 100000; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 10px 14px; z-index: 200; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.lead { color: var(--text-2); font-size: clamp(1.02rem, 1.4vw, 1.15rem); line-height: 1.65; max-width: 66ch; }
.eyebrow, .kicker { color: var(--orange); text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 750; margin: 0 0 .6em; }
.kicker { color: var(--cyan); display: block; }

/* ==========================================================================
   3. Forms and buttons
   ========================================================================== */
input, select, textarea, button { font: inherit; }
input, select, textarea {
  width: 100%; background: #0c1120; color: var(--text); border: 1px solid var(--line-2);
  border-radius: var(--radius-sm); padding: 11px 13px; min-height: 44px;
}
input::placeholder, textarea::placeholder { color: #8791a8; }
input:focus, select:focus, textarea:focus { border-color: var(--cyan); outline: 2px solid rgba(79, 212, 238, .2); outline-offset: 0; }
input[type=checkbox] { width: 20px; height: 20px; min-height: 0; accent-color: var(--pink); flex: none; margin-top: 3px; }
button { cursor: pointer; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px;
  padding: 11px 20px; border: 0; border-radius: var(--radius-sm); background: var(--brand-grad);
  color: #1a0611; font-weight: 750; text-decoration: none; line-height: 1.2;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  box-shadow: 0 8px 22px rgba(255, 79, 163, .18);
}
.btn:hover { color: #1a0611; filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 12px 28px rgba(255, 79, 163, .26); }
.btn:active { transform: none; }
.btn.ghost { background: rgba(20, 26, 43, .6); color: var(--text); border: 1px solid var(--line-2); box-shadow: none; }
.btn.ghost:hover { border-color: var(--cyan); color: #fff; }
.btn.small { min-height: 36px; padding: 7px 13px; font-size: .875rem; }
.btn.danger { background: transparent; color: var(--bad); border: 1px solid rgba(255, 122, 134, .55); box-shadow: none; }
.btn.danger:hover { background: rgba(255, 122, 134, .12); color: #fff; }
.filebtn { cursor: pointer; }
.form { display: grid; gap: 8px; margin: 20px 0; max-width: 680px; }
.form label { font-weight: 650; margin-top: 6px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .row > div { display: grid; gap: 8px; }
.form .btn { justify-self: start; margin-top: 8px; }
.form-inline { grid-template-columns: 1fr auto; align-items: end; }
.form-inline .field { display: grid; gap: 6px; }
.form-inline .check { grid-column: 1 / -1; grid-row: 2; }
.form-inline .btn { margin: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; color: var(--text-2); }
.hp { position: absolute; left: -9999px; }
.error { color: var(--bad); }
.inline-form { display: flex; gap: 10px; margin: 18px 0; max-width: 620px; }
.inline-form .btn { flex: none; }
.search-box { margin: 14px 0 6px; max-width: 440px; }
.flash { border-radius: var(--radius-sm); padding: 12px 16px; margin: 16px 0; border: 1px solid; }
.flash-ok { background: rgba(74, 222, 148, .1); border-color: rgba(74, 222, 148, .4); }
.flash-error { background: rgba(255, 122, 134, .1); border-color: rgba(255, 122, 134, .45); }
@media (max-width: 640px) {
  .form .row, .form-inline { grid-template-columns: 1fr; }
  .form-inline .check { grid-row: auto; }
  .inline-form { flex-direction: column; }
}

/* ==========================================================================
   4. Header and navigation
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(10, 13, 23, .9); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(10px)) { .site-header { background: rgba(10, 13, 23, .78); backdrop-filter: saturate(140%) blur(12px); } }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand img { display: block; height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 14px; }
.nav .menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav .menu li { list-style: none; }
.nav .menu a { display: block; color: var(--text-2); text-decoration: none; font-weight: 650; font-size: .95rem; padding: 9px 12px; border-radius: 9px; transition: background .15s, color .15s; }
.nav .menu a:hover, .nav .menu a:focus-visible { background: var(--surface-2); color: #fff; }
.nav .menu a[aria-current="page"], .nav .menu .current-menu-item > a { color: #fff; box-shadow: inset 0 -2px 0 var(--pink); border-radius: 9px 9px 0 0; }
.nav-search { display: flex; align-items: center; position: relative; }
.nav-search input { width: 190px; min-height: 40px; padding: 8px 40px 8px 12px; font-size: .9rem; }
.nav-search button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); display: grid; place-items: center; }
.nav-search button:hover { color: #fff; background: var(--surface-2); }
.menu-btn { display: none; align-items: center; gap: 8px; min-height: 42px; background: var(--surface); color: var(--text); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 8px 14px; font-weight: 650; }
.menu-btn[aria-expanded="true"] { border-color: var(--pink); }
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 20px 20px; background: var(--bg-2); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav .menu { flex-direction: column; align-items: stretch; }
  .nav .menu a { padding: 12px; font-size: 1rem; }
  .nav .menu a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--pink); border-radius: 9px; }
  .nav-search input { width: 100%; }
}
@media (max-width: 600px) { .brand img { height: 44px; } :root { --header-h: 60px; } }

/* ==========================================================================
   5. Hero, countdown and key facts
   ========================================================================== */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 13, 23, .97) 0%, rgba(10, 13, 23, .86) 45%, rgba(10, 13, 23, .35) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 40%); }
.hero-in { padding-block: 64px 96px; }
.hero h1 { max-width: 20ch; font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.1; }
.hero .lead { color: var(--text-2); max-width: 52ch; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 6px 12px; border: 1px solid rgba(255, 173, 77, .35); border-radius: 999px; background: rgba(10, 13, 23, .6); margin-bottom: 18px; }
.hero .eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 0; }

.countdown { margin: 26px 0 8px; }
.cd-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 100px)); gap: 10px; }
.cd-unit { background: rgba(20, 26, 43, .85); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 14px 8px 10px; text-align: center; box-shadow: var(--shadow); }
.cd-num { display: block; font-size: clamp(1.7rem, 4.4vw, 2.6rem); font-weight: 850; line-height: 1; font-variant-numeric: tabular-nums; color: #fff; }
.cd-lbl { display: block; margin-top: 6px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; font-weight: 700; }
.cd-note { color: var(--muted); font-size: .9rem; margin: 10px 0 0; max-width: 60ch; }
.countdown.is-out .launch, .launch { display: inline-block; margin: 0; padding: 14px 18px; border-radius: var(--radius); border: 1px solid rgba(74, 222, 148, .45); background: rgba(74, 222, 148, .08); color: var(--text); font-size: 1.05rem; }
.launch strong { color: var(--ok); font-size: 1.2rem; margin-right: 6px; }
@media (max-width: 480px) { .cd-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; } .cd-unit { padding: 12px 4px 8px; } }

.facts-wrap { position: relative; margin-top: -56px; z-index: 2; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.facts a { display: grid; gap: 2px; height: 100%; padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.facts a:hover { border-color: var(--cyan); transform: translateY(-2px); }
.fact-k { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.fact-v { font-size: 1.2rem; font-weight: 800; color: #fff; }
.fact-n { color: var(--muted); font-size: .85rem; }
.facts-note { margin: 12px 0 0; color: var(--muted); font-size: .85rem; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .facts { gap: 8px; } .facts a { padding: 12px 14px; } .fact-v { font-size: 1.02rem; } }
@media (max-width: 330px) { .facts { grid-template-columns: 1fr; } }

/* ==========================================================================
   6. Sections, cards, chips and tiles
   ========================================================================== */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.section-head h2 { margin: 0; }
.section-lead { color: var(--muted); max-width: 70ch; margin: 6px 0 0; }
.more { font-weight: 700; text-decoration: none; white-space: nowrap; }
.more::after { content: " →"; }
.page-head { margin-bottom: 8px; }
.page-head h1 { margin-bottom: .35em; }

.cards { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.cards-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
@media (min-width: 900px) { .cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s, transform .15s, background .15s; }
.card:hover { border-color: var(--line-2); background: var(--surface-2); transform: translateY(-2px); }
.card .kicker { margin: 0; font-size: .7rem; }
.card-title { margin: 0; font-size: 1.08rem; line-height: 1.35; }
.card-title a { color: #fff; text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-title a:focus-visible { outline: none; }
.card:focus-within { outline: 3px solid var(--cyan); outline-offset: 2px; }
.card-text { color: var(--text-2); margin: 0; font-size: .95rem; }
.card-meta { margin: auto 0 0; padding-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: .82rem; }
.cards-compact .card { padding: 16px; }
.cards-compact .card-title { font-size: 1rem; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 14px; color: var(--text-2); text-decoration: none; font-size: .9rem; font-weight: 600; background: var(--surface); }
.chip:hover { border-color: var(--cyan); color: #fff; }
.chip.on { border-color: var(--pink); background: rgba(255, 79, 163, .12); color: #fff; }
.chip .count { color: var(--muted); font-size: .78rem; font-weight: 700; }
.chips-lg .chip { min-height: 44px; padding: 9px 16px; }

.tiles { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.tiles a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 54px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); text-decoration: none; font-weight: 650; }
.tiles a::after { content: "→"; color: var(--muted); }
.tiles a:hover { border-color: var(--cyan); }
.mini-links { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.mini-links a { font-weight: 650; }

.badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 2px 10px; font-size: .74rem; font-weight: 750; letter-spacing: .02em; border: 1px solid; line-height: 1.6; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-ok { color: var(--ok); background: rgba(74, 222, 148, .1); border-color: rgba(74, 222, 148, .35); }
.badge-warn { color: var(--warn); background: rgba(251, 192, 74, .1); border-color: rgba(251, 192, 74, .35); }
.badge-bad { color: var(--bad); background: rgba(255, 122, 134, .1); border-color: rgba(255, 122, 134, .35); }

.notice, .callout { background: rgba(79, 212, 238, .07); border: 1px solid rgba(79, 212, 238, .28); border-radius: var(--radius-sm); padding: 14px 18px; color: var(--text-2); }
.notice-aff { border-color: rgba(255, 173, 77, .35); background: rgba(255, 173, 77, .07); }
.callout { margin: 20px 0; }
.callout h2 { margin: 0 0 .3em; }
.callout p:last-child { margin: 0; }
.empty { color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--radius-sm); padding: 14px 16px; margin: 12px 0 0; }

/* ==========================================================================
   7. Articles, prose, tables and information boxes
   ========================================================================== */
.crumbs { margin: 0 0 18px; font-size: .85rem; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li { display: inline-flex; align-items: center; gap: 4px; }
.crumbs li + li::before { content: "/"; color: var(--line-2); margin-right: 2px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: var(--text-2); }

.article { max-width: 880px; }
.article-wide { max-width: var(--wrap); }
.article-head { margin-bottom: 18px; }
.article-head h1 { margin-bottom: .4em; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; color: var(--muted); font-size: .88rem; margin: 0; }
.article-meta > span + span::before { content: "·"; margin-right: 14px; color: var(--line-2); }
.article .lead { margin-bottom: 1.4em; }
.direct { margin: 0 0 24px; padding: 16px 20px; border-radius: var(--radius); border: 1px solid rgba(255, 173, 77, .3); border-left: 4px solid var(--orange); background: rgba(255, 173, 77, .06); }
.direct p { margin: 0; color: var(--text); font-size: 1.05rem; }
.direct .direct-k { color: var(--orange); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; margin-bottom: 4px; }
.prose > p.direct { padding: 16px 20px; }

.toc { margin: 0 0 28px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.toc-h { margin: 0 0 8px; font-weight: 800; color: #fff; font-size: .95rem; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2 260px; column-gap: 32px; }
.toc li { margin: 3px 0; break-inside: avoid; color: var(--muted); }
.toc a { color: var(--text-2); text-decoration: none; }
.toc a:hover { color: #fff; text-decoration: underline; }

.prose { max-width: var(--prose); font-size: 1.06rem; line-height: 1.78; color: var(--text-2); }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 2em 0 .6em; padding-top: .2em; font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.prose h3 { margin: 1.6em 0 .5em; font-size: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--pink); }
.prose strong { color: #fff; }
.prose img { border-radius: var(--radius-sm); }
.prose a { color: var(--cyan); }
.prose a:hover { color: #fff; }
.prose .btn, .prose .btn:hover { color: #1a0611; text-decoration: none; }
.prose .btn.ghost, .prose .btn.ghost:hover, .prose .btn.danger { color: var(--text); }
.prose .chip, .prose .tiles a { color: var(--text-2); text-decoration: none; }
.prose .chip.on, .prose .chip:hover { color: #fff; }
.article-wide .prose { max-width: none; }
.article-wide .prose > p, .article-wide .prose > h2, .article-wide .prose > ul, .article-wide .prose > .notice { max-width: var(--prose); }
.prose blockquote, .quote { margin: 1.2em 0; padding: 4px 0 4px 16px; border-left: 3px solid var(--pink); color: var(--text); }
.prose .muted.small:first-child { padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0; }
.two-col .card { padding: 18px 20px; transform: none; }
.two-col .card:hover { transform: none; background: var(--surface); }
.two-col .card h2 { margin: 0 0 6px; padding: 0; font-size: 1rem; text-transform: none; }
.two-col .card:first-child { border-top: 3px solid var(--ok); }
.two-col .card:last-child { border-top: 3px solid var(--warn); }
.two-col .card ul { margin: 0; font-size: .95rem; }
@media (max-width: 700px) { .two-col { grid-template-columns: 1fr; } }

.tbl { overflow-x: auto; margin: 18px 0 24px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.tbl table { margin: 0; border: 0; }
table { border-collapse: collapse; width: 100%; font-size: .93rem; margin: 18px 0; }
th, td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { background: var(--surface-2); color: #fff; font-weight: 750; white-space: nowrap; }
tbody tr:nth-child(even) td { background: rgba(255, 255, 255, .015); }
tbody tr:last-child td { border-bottom: 0; }

.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 10px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 14px 44px 14px 18px; font-weight: 700; color: #fff; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--pink); font-size: 1.3rem; font-weight: 400; }
.faq[open] summary::after { content: "−"; }
.faq > p, .faq > div { padding: 0 18px 16px; margin: 0; color: var(--text-2); }
.status-box { margin: 14px 0; padding: 14px 18px; border-radius: var(--radius-sm); border: 1px solid rgba(255, 173, 77, .4); background: rgba(255, 173, 77, .06); }
.status-box strong { color: var(--orange); margin-right: 6px; }

.sources, .related, .link-panel { margin-top: 40px; }
.sources h2, .related h2, .link-panel h2 { font-size: 1.2rem; }
.sources ul { margin: 0; padding-left: 1.2em; color: var(--muted); }
.sources li { margin: .4em 0; }
.link-panel { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.link-panel ul { margin: 0; padding-left: 1.2em; }
.link-panel p { margin: 0; }
.related .cards { margin-top: 14px; }
.article-foot { margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.related-line { margin-top: 30px; color: var(--muted); }

.results { list-style: none; padding: 0; margin: 0 0 24px; }
.results li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.results a { font-weight: 700; font-size: 1.05rem; }
.results p { margin: 4px 0 0; }

.pagination, .nav-links { display: flex; gap: 8px; flex-wrap: wrap; margin: 28px 0 0; }
.page-numbers { display: inline-grid; place-items: center; min-width: 42px; min-height: 42px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); text-decoration: none; color: var(--text-2); font-weight: 650; }
.page-numbers.current { background: var(--brand-grad); color: #1a0611; border-color: transparent; }
a.page-numbers:hover { border-color: var(--cyan); color: #fff; }

.alignleft { float: left; margin: 0 1em 1em 0; } .alignright { float: right; margin: 0 0 1em 1em; } .aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; } .wp-caption-text, figcaption { color: var(--muted); font-size: .875rem; }

/* ==========================================================================
   8. Progress tracker and caption kit
   ========================================================================== */
.tracker-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 20px 0 16px; }
.total { display: flex; align-items: center; gap: 14px; }
.total-num { font-size: 2.2rem; font-weight: 850; color: var(--orange); min-width: 86px; font-variant-numeric: tabular-nums; }
.bar { height: 10px; background: #0c1120; border-radius: 99px; overflow: hidden; border: 1px solid var(--line); }
.bar span, #totalBar { display: block; height: 100%; background: var(--brand-grad); transition: width .25s; }
.tools { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 860px) { .tracker-top { grid-template-columns: 1fr; } .tools { justify-content: flex-start; } }
.tracker-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 14px; }
.tsec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.tsec header { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.tsec h3 { margin: 0; font-size: 1.02rem; }
.tadd { display: flex; gap: 8px; margin: 12px 0; }
.tadd input { min-height: 38px; padding: 7px 11px; }
.titems { list-style: none; padding: 0; margin: 0; max-height: 420px; overflow: auto; }
.titem { border-top: 1px solid var(--line); padding: 8px 0; }
.titems .empty { border: 0; padding: 6px 0; margin: 0; font-size: .9rem; }
.trow { display: flex; gap: 8px; align-items: center; }
.trow input[type=checkbox] { margin: 0; }
.tname { flex: 1; word-break: break-word; }
.done .tname { text-decoration: line-through; color: var(--muted); }
.tedit { flex: 1; min-height: 34px; padding: 5px 9px; }
.ibtn { background: transparent; border: 1px solid var(--line-2); color: var(--muted); border-radius: 8px; padding: 4px 9px; font-size: .78rem; min-height: 30px; }
.ibtn:hover { color: #fff; border-color: var(--cyan); }
.tnote { margin-top: 8px; min-height: 64px; font-size: .92rem; }
.cap-form { max-width: none; }
.cap-out { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-top: 16px; }
.cap-out h3 { margin-top: .4em; }

/* ==========================================================================
   9. Gaming gear and affiliate products
   ========================================================================== */
.gear-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 20px 0 6px; }
.gear-nav { margin: 0; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; background: var(--surface); }
.seg button { border: 0; background: transparent; color: var(--text-2); padding: 6px 14px; border-radius: 999px; font-weight: 650; font-size: .88rem; min-height: 34px; }
.seg button.on { background: var(--surface-2); color: #fff; box-shadow: inset 0 0 0 1px var(--pink); }
.gear-group { margin: 40px 0 0; font-size: 1.3rem; }
.gear-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; margin-top: 16px; }
.gear-cat { display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); scroll-margin-top: calc(var(--header-h) + 20px); }
.gear-cat:target { border-color: var(--pink); }
.gear-cat header h3 { margin: 0 0 4px; }
.gear-cat header p { margin: 0; color: var(--text-2); font-size: .95rem; }
.checks { border-top: 1px solid var(--line); padding-top: 8px; }
.checks summary { cursor: pointer; font-weight: 700; font-size: .9rem; color: var(--cyan); padding: 4px 0; }
.checks ul { margin: 8px 0 0; padding-left: 1.2em; font-size: .92rem; color: var(--text-2); }
.checks li { margin: .3em 0; }
.gear-cat .empty { margin-top: auto; font-size: .9rem; }
.products { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; }
.prose .products, .entry .products { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.product { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-2); }
.product[hidden] { display: none; }
.product-media img, .product-ph { display: block; width: 96px; height: 96px; object-fit: contain; border-radius: 8px; background: #fff; }
.product-ph { background: linear-gradient(135deg, var(--surface-2), var(--bg)); }
.product-body { min-width: 0; }
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 4px; }
.tag { font-size: .7rem; font-weight: 750; letter-spacing: .04em; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 1px 8px; }
.tag-region { color: var(--cyan); border-color: rgba(79, 212, 238, .35); }
.product-title { margin: 0 0 4px; font-size: 1rem; }
.product-desc { margin: 0 0 6px; color: var(--text-2); font-size: .92rem; }
.product-features { margin: 0 0 6px; padding-left: 1.1em; font-size: .88rem; color: var(--text-2); }
.product-body .small { margin: 0 0 6px; }
.product-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; }
.aff-label { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 420px) { .product { grid-template-columns: 1fr; } .product-media img, .product-ph { width: 100%; height: 160px; } }

/* ==========================================================================
   10. Footer
   ========================================================================== */
.site-footer { margin-top: 56px; padding: 48px 0 26px; background: var(--bg-2); border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.foot-brand .brand img { height: 92px; }
.foot-brand p { margin: 12px 0 0; color: var(--muted); font-size: .92rem; max-width: 36ch; }
.foot-h { margin: 0 0 10px; font-size: .74rem; text-transform: uppercase; letter-spacing: .13em; color: var(--orange); font-weight: 800; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.foot-col a { display: inline-block; padding: 4px 0; color: var(--muted); text-decoration: none; font-size: .93rem; }
.foot-col a:hover, .foot-col a:focus-visible { color: #fff; text-decoration: underline; }
.foot-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.fine { color: var(--muted); font-size: .82rem; margin: 0; max-width: 110ch; }
@media (min-width: 640px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (min-width: 1020px) { .foot-grid { grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 32px; } .foot-brand { grid-column: auto; } }

/* ==========================================================================
   11. Responsive and motion
   ========================================================================== */
@media (max-width: 700px) {
  .section { padding-block: 40px; }
  .hero-in { padding-block: 44px 84px; }
  .hero::after { background: linear-gradient(180deg, rgba(10, 13, 23, .78), rgba(10, 13, 23, .92) 70%, var(--bg)); }
  .prose { font-size: 1.02rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .site-footer, .hero-img, .tracker, .cap-form, .form, .menu-btn { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; }
}
