:root {
  color-scheme: dark;
  --g6-bg: #141018;
  --g6-surface: #241c28;
  --g6-surface-2: #312733;
  --g6-ink: #fff6ee;
  --g6-muted: #d2c4bc;
  --g6-accent: #ff8b7e;
  --g6-accent-2: #3ddecb;
  --g6-line: #4a3d48;
  --g6-ok: #8ee0b0;
  --g6-warn: #f2c14e;
  --g6-radius: 12px;
  --g6-font-mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, "Liberation Mono", monospace;
  --g6-sand: #f0d7b4;
  --g6-sand-ink: #2a1a16;
  --g6-header: 0;
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--g6-bg);
  color: var(--g6-ink);
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --g6-bg: #f6f1e8;
    --g6-surface: #fffaf3;
    --g6-surface-2: #f3e6d4;
    --g6-ink: #241820;
    --g6-muted: #5c4e49;
    --g6-accent: #9d2340;
    --g6-accent-2: #0b5f58;
    --g6-line: #e4d5c4;
    --g6-ok: #0d6b3a;
    --g6-warn: #8a4b00;
    --g6-radius: 12px;
    --g6-font-mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, "Liberation Mono", monospace;
    --g6-sand: #f0d7b4;
    --g6-sand-ink: #2a1a16;
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--g6-bg);
  color: var(--g6-ink);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: clip;
}
img, svg { max-width: 100%; }
a { color: var(--g6-accent-2); text-underline-offset: 0.16em; }
a:hover { text-decoration-thickness: 2px; }
button, input, summary { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { line-height: 1.2; }
h1 { margin: 0 0 0.45rem; font-size: clamp(1.7rem, 4.6vw, 2.45rem); }
h2 { margin: 0 0 0.55rem; font-size: 1.25rem; }
p { margin: 0.4rem 0; }
:focus-visible {
  outline: 3px solid var(--g6-accent-2);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 30;
  transform: translateY(-160%);
  padding: 0.55rem 0.8rem;
  background: var(--g6-sand);
  color: var(--g6-sand-ink);
  border-radius: 8px;
}
.skip-link:focus { transform: none; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.wrap { width: min(72rem, calc(100% - 2rem)); margin-inline: auto; }
.wrap, main, .hero, .hero > *, .tool-slot, .g6-tool, .entry-card, .answer-card, .table-scroll, .stat-grid, .key-facts, .page-head { min-width: 0; }
.mono, .num, time, .stat-value {
  font-family: var(--g6-font-mono);
  font-variant-numeric: tabular-nums;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 8;
  background: color-mix(in srgb, var(--g6-bg) 92%, transparent);
  border-bottom: 1px solid var(--g6-line);
  backdrop-filter: blur(8px);
}
.header-bar { padding-block: 0.55rem; }
.header-bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.45rem 0.6rem;
  position: relative;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: 1 1 auto;
  min-width: 0;
  margin-right: auto;
  color: inherit;
  font-weight: 750;
  text-decoration: none;
}
.brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand .mark { color: var(--g6-accent-2); }
.nav-details, .lang-details { flex: 0 0 auto; }
.nav-details > summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.7rem;
  list-style: none;
  cursor: pointer;
  border: 1px solid var(--g6-line);
  border-radius: 999px;
  background: var(--g6-surface);
}
.nav-details > summary::-webkit-details-marker { display: none; }
.nav-panel {
  position: absolute;
  z-index: 12;
  inset-inline: 0;
  top: 100%;
  padding: 0.75rem 1rem 1rem;
  background: var(--g6-bg);
  border-bottom: 1px solid var(--g6-line);
}
.site-nav { display: grid; }
.site-nav a, .lang-details summary, .lang-details a, .nav-close {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.site-nav a {
  padding: 0.15rem 0.55rem;
  color: var(--g6-ink);
  text-decoration: none;
  border-radius: 8px;
}
.site-nav a[aria-current="page"] {
  background: var(--g6-surface-2);
  color: var(--g6-accent);
}
.nav-close {
  width: 100%;
  margin-top: 0.35rem;
  border: 1px solid var(--g6-line);
  border-radius: 8px;
  background: transparent;
}
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 7;
  border: 0;
  background: rgb(12 8 14 / 58%);
}
.lang-details { position: relative; }
.lang-details > summary {
  padding: 0 0.7rem;
  list-style: none;
  cursor: pointer;
  border: 1px solid var(--g6-line);
  border-radius: 999px;
  background: var(--g6-surface);
}
.lang-details > summary::-webkit-details-marker { display: none; }
.lang-details:not([open]) > ul { display: none; }
.lang-details ul {
  position: absolute;
  left: 0;
  z-index: 9;
  min-width: 8rem;
  max-width: calc(100vw - 2rem);
  margin: 0.35rem 0 0;
  padding: 0.35rem;
  list-style: none;
  background: var(--g6-surface);
  border: 1px solid var(--g6-line);
  border-radius: var(--g6-radius);
}
.lang-details a, .lang-details span { padding: 0.2rem 0.45rem; }
.search { position: relative; }
.search input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0.45rem 0.75rem;
  color: var(--g6-ink);
  background: var(--g6-surface);
  border: 1px solid var(--g6-line);
  border-radius: var(--g6-radius);
}
.search-status { min-height: 1.2rem; margin: 0.3rem 0 0; color: var(--g6-muted); font-size: 0.85rem; }
.search-results {
  position: absolute;
  z-index: 9;
  inset-inline: 0;
  top: calc(100% - 1.2rem);
  max-height: 16rem;
  margin: 0;
  padding: 0.3rem;
  overflow: auto;
  list-style: none;
  background: var(--g6-surface);
  border: 1px solid var(--g6-line);
  border-radius: var(--g6-radius);
}
.search-results:empty { display: none; }
.search-results a {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0.5rem;
  color: inherit;
  text-decoration: none;
  border-radius: 8px;
}
.search-results a[aria-current="true"], .search-results a:hover { background: var(--g6-surface-2); }
.search-results small { color: var(--g6-muted); }

main { padding: 1rem 0 2.5rem; }
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.55rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  color: var(--g6-muted);
  font-size: 0.9rem;
}
.page-head { margin-bottom: 1rem; }
.lead { font-size: 1.05rem; }
.name-note { margin: 0 0 0.35rem; color: var(--g6-warn); font-size: 0.92rem; }
.evidence {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  align-items: center;
  margin: 0.7rem 0 0;
  color: var(--g6-muted);
  font-size: 0.88rem;
}
.evidence-level {
  display: inline-block;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-weight: 700;
}
.evidence-level[data-level="confirmed"] { background: #145c3a; color: #e7fff2; }
.evidence-level[data-level="estimated"] { background: #6a4a08; color: #fff3cc; }
.evidence-level[data-level="unannounced"] { background: #4a3d48; color: #fff6ee; }

.hero { display: grid; gap: 1rem; margin-bottom: 1.25rem; }
.tool-slot, .g6-tool {
  min-width: 0;
  padding: 1rem;
  background: var(--g6-surface);
  border: 1px solid var(--g6-line);
  border-radius: var(--g6-radius);
}
.tool-kicker {
  margin: 0;
  color: var(--g6-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tool-value { margin: 0.35rem 0; font-size: 1.35rem; font-weight: 750; }
.tool-note { color: var(--g6-muted); }
.planner { display: grid; gap: 0.55rem; }
.planner input { width: 100%; min-height: 44px; }

.card-grid, .answer-list {
  display: grid;
  gap: 0.8rem;
  margin: 0.4rem 0 1.2rem;
  padding: 0;
  list-style: none;
}
.entry-card, .timeline li {
  min-width: 0;
  padding: 0.9rem 1rem;
  background: var(--g6-surface);
  border: 1px solid var(--g6-line);
  border-radius: var(--g6-radius);
}
.entry-card h2 { font-size: 1.12rem; }
.entry-card h2 a { color: inherit; text-decoration: none; }
.entry-card h2 a:hover { color: var(--g6-accent-2); }
.answer-card, .page-head.answer-card {
  padding: 1rem 1.05rem;
  background: var(--g6-sand);
  color: var(--g6-sand-ink);
  border-radius: var(--g6-radius);
}
.answer-card a, .page-head.answer-card a { color: #0b5f58; }
.answer-card .evidence, .page-head.answer-card .evidence, .page-head.answer-card .name-note { color: var(--g6-sand-ink); }
.answers h2 { margin-top: 0.4rem; }

.stat-grid, .key-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 0.8rem 0 1rem;
  padding: 0;
  background: var(--g6-line);
  border: 1px solid var(--g6-line);
}
.stat-grid > div, .key-facts > div { min-width: 0; padding: 0.7rem 0.8rem; }
.stat-grid > div:nth-child(odd), .key-facts > div:nth-child(odd) { background: var(--g6-surface); }
.stat-grid > div:nth-child(even), .key-facts > div:nth-child(even) { background: var(--g6-surface-2); }
.stat-grid dt, .key-facts dt {
  color: var(--g6-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.stat-grid dd, .key-facts dd { margin: 0.25rem 0 0; }
.stat-grid dd { font-size: 1.25rem; font-weight: 750; }
.key-facts dd { font-weight: 700; }
.key-facts { margin-top: 0.7rem; }

.table-scroll {
  max-width: 100%;
  margin: 0.8rem 0 1.1rem;
  overflow-x: auto;
}
table.data { width: 100%; border-collapse: collapse; }
table.data th, table.data td {
  padding: 0.55rem 0.7rem;
  text-align: start;
  vertical-align: top;
  border-bottom: 1px solid var(--g6-line);
}
table.data th { white-space: nowrap; }
table.data thead th { background: #312733; color: #fff6ee; }
table.data tbody th { background: #1e3a38; color: #f4fffc; }
table.data tbody td { background: var(--g6-surface); }
table.data tbody tr:nth-child(even) td { background: var(--g6-surface-2); }
table.data .num, table.data time { white-space: nowrap; text-align: end; }

.faq-item { border-top: 1px solid var(--g6-line); }
.faq-item summary { min-height: 44px; cursor: pointer; }
.faq-item summary h2 { display: inline; font-size: 1.05rem; }
.faq-answer { padding: 0 0 0.8rem 0.2rem; }
.link-list, .timeline { margin: 0; padding: 0; list-style: none; }
.link-list { display: grid; gap: 0.35rem; }
.timeline { display: grid; gap: 0.8rem; }
.callout { margin: 0.7rem 0; padding: 0.75rem 0.9rem; border: 1px solid var(--g6-line); border-radius: var(--g6-radius); }
.callout.info { background: color-mix(in srgb, var(--g6-accent-2) 16%, var(--g6-surface)); }
.callout.warn { background: color-mix(in srgb, var(--g6-warn) 18%, var(--g6-surface)); }
.prose > * + * { margin-top: 0.7rem; }

.site-footer { border-top: 1px solid var(--g6-line); padding: 1.2rem 0 2rem; }
.disclaimer { max-width: 46rem; color: var(--g6-muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.8rem 1rem; margin-top: 0.6rem; }
.site-footer a { min-height: 44px; display: inline-flex; align-items: center; }

@media (min-width: 720px) {
  .stat-grid { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
  .key-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .key-facts > div:nth-child(4n + 1),
  .key-facts > div:nth-child(4n + 4) { background: var(--g6-surface); }
  .key-facts > div:nth-child(4n + 2),
  .key-facts > div:nth-child(4n + 3) { background: var(--g6-surface-2); }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .answer-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 840px) {
  .header-bar { flex-wrap: wrap; }
  .nav-details,
  .nav-details::details-content,
  .nav-panel { display: contents; }
  .nav-details > summary, .nav-close, .nav-scrim { display: none !important; }
  .site-nav { display: flex; flex: 1 1 auto; flex-wrap: wrap; gap: 0.15rem; }
  .search { flex: 1 1 100%; order: 5; }
  .brand { margin-right: 0; }
  .lang-details { margin-left: auto; }
  .lang-details ul { left: auto; right: 0; }
}
.hero { display: flex; flex-direction: column; gap: 0.8rem; }
.hero-art { height: 44px; overflow: hidden; border-radius: var(--g6-radius); }
@media (max-width: 839px) {
  .hero-copy, .hero .page-head { display: contents; }
  .hero-art { order: 0; }
  .tool-slot { order: 1; padding: 0; background: transparent; border: 0; }
  .hero h1 { order: 2; }
  .hero-entries { order: 3; }
  .hero .lead, .hero .evidence { order: 4; }
  .hero .g6-facts { grid-template-columns: 1fr 1fr; }
  .hero .g6-live { display: none; }
}
.hero-art svg { display: block; width: 100%; height: 100%; }
.hero .g6-table-wrap,
.hero .g6-tool > .g6-note { display: none; }
.g6-tool legend {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.g6-tool [data-gta6-iso],
.g6-tool [data-gta6-deadline-utc],
.g6-facts div:has([data-gta6-iso]),
.g6-tool[data-gta6-tool="unlock"] th:nth-child(4),
.g6-tool[data-gta6-tool="unlock"] td:nth-child(4) { display: none; }
.tool-note { color: var(--g6-muted); }
.analytics-ui { margin-top: 0.8rem; }
.analytics-panel {
  margin-top: 0.6rem;
  padding: 0.9rem 1rem;
  background: var(--g6-surface);
  color: var(--g6-ink);
  border: 1px solid var(--g6-line);
  border-radius: var(--g6-radius);
}
.consent-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.consent-actions button, .analytics-ui [data-consent-preferences], .consent-close {
  min-height: 44px;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--g6-line);
  border-radius: 8px;
  background: var(--g6-surface-2);
}
.consent-actions [data-consent="granted"] { background: var(--g6-accent-2); color: #142820; }

@media (min-width: 980px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr); align-items: start; }
  .hero-art { grid-column: 1 / -1; height: 72px; }
  .hero-copy { display: block; grid-column: 1; }
  .tool-slot { grid-column: 2; grid-row: 2; }
  .hero-entries { grid-column: 1 / -1; }
  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-color-scheme: light) {
  table.data thead th { background: #e7d3b0; color: #2a1a16; }
  table.data tbody th { background: #d7efe9; color: #142820; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
