:root {
  color-scheme: dark;
  --bg: #080d1d;
  --header: #0d1324;
  --panel: #121a2d;
  --panel-raised: #182238;
  --line: #2b3853;
  --line-soft: #202c45;
  --text: #edf2ff;
  --muted: #a7b2ca;
  --faint: #75829c;
  --accent: #31d2c1;
  --accent-ink: #07111b;
  --warm: #ffb323;
  --good: #55d6a6;
  --warn: #e8b340;
  --shadow: 0 10px 26px rgb(0 0 0 / 18%);
  font-family: Manrope, Arial, sans-serif;
  text-size-adjust: 100%;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #edf1f7;
  --header: #fff;
  --panel: #fff;
  --panel-raised: #f7f9fc;
  --line: #cbd6e6;
  --line-soft: #dee6ef;
  --text: #142038;
  --muted: #53617a;
  --faint: #72809a;
  --accent: #078c84;
  --accent-ink: #fff;
  --warm: #a65b00;
  --good: #087b58;
  --warn: #956400;
  --shadow: 0 8px 20px rgb(29 47 76 / 8%);
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; color: var(--text); background: var(--bg); font-size: 17px; line-height: 1.7; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
h1, h2, h3 { color: var(--text); font-family: Anton, Impact, "Arial Narrow", sans-serif; font-weight: 400; letter-spacing: .01em; }
h1 { max-width: 650px; font-size: clamp(44px, 3.8vw, 78px); line-height: 1.15; text-wrap: balance; }
h2 { font-size: clamp(26px, 2.8vw, 48px); line-height: 1; }
h3 { font-family: "Barlow Condensed", Manrope, sans-serif; font-size: 20px; line-height: 1.05; }
p { margin-bottom: 0; }
ul, ol { margin-top: 0; }
blockquote { margin: 18px 0; padding: 13px 15px; color: var(--text); background: color-mix(in srgb, var(--accent) 7%, var(--panel)); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 6px; font-size: 15px; }
::selection { color: var(--text); background: color-mix(in srgb, var(--accent) 40%, transparent); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 100; top: -50px; left: 16px; padding: 8px 12px; color: var(--accent-ink); background: var(--accent); border-radius: 4px; }
.skip-link:focus { top: 12px; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.site-header { position: sticky; z-index: 20; top: 0; min-height: 64px; background: color-mix(in srgb, var(--header) 95%, transparent); border-bottom: 1px solid var(--line-soft); backdrop-filter: blur(12px); }
.header-inner { position: relative; display: flex; align-items: center; gap: 18px; width: min(100% - 80px, 1580px); min-height: 64px; margin: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: max-content; color: var(--text); font-family: Anton, Impact, "Arial Narrow", sans-serif; font-size: 19px; font-weight: 400; letter-spacing: .01em; line-height: 1.15; }
.brand img { width: 30px; height: 30px; border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent); border-radius: 8px; object-fit: cover; }
.brand b { margin-left: 3px; color: var(--accent); font-family: Anton, Impact, sans-serif; font-size: .72em; font-weight: 400; text-shadow: 0 0 9px color-mix(in srgb, var(--accent) 35%, transparent); vertical-align: middle; }
.desktop-nav { display: flex; flex: 1; align-items: center; justify-content: flex-start; gap: 2px; }
.desktop-nav > a, .nav-trigger { display: inline-flex; align-items: center; min-height: 42px; padding: 0 9px; color: var(--muted); background: transparent; border: 0; font-size: 15px; font-weight: 600; white-space: nowrap; transition: color 160ms ease, background 160ms ease; }
.desktop-nav > a:hover, .desktop-nav > a:focus-visible, .nav-trigger:hover { color: var(--text); }
.nav-group { position: relative; }
.nav-trigger { gap: 5px; }
.nav-trigger span { color: var(--faint); font-size: 14px; font-weight: 400; }
.nav-popover { position: absolute; top: 42px; left: 0; display: grid; min-width: 178px; padding: 6px; visibility: hidden; background: var(--panel-raised); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); opacity: 0; transform: translateY(-4px); transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease; }
.nav-group:hover .nav-popover, .nav-group:focus-within .nav-popover, .nav-group.is-open .nav-popover { visibility: visible; opacity: 1; transform: translateY(0); }
.nav-popover a { padding: 7px 8px; color: var(--muted); border-radius: 4px; font-size: 11px; }
.nav-popover a:hover, .nav-popover a:focus-visible { color: var(--text); background: var(--panel); }
.header-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.theme-toggle, .menu-button { display: inline-grid; width: 38px; height: 38px; padding: 0; place-items: center; color: var(--muted); background: var(--panel-raised); border: 1px solid var(--line); border-radius: 9px; transition: color 160ms ease, border-color 160ms ease, background 160ms ease; }
.theme-toggle { font-size: 19px; line-height: 1; }
.theme-toggle:hover, .menu-button:hover { color: var(--text); border-color: var(--accent); }
.menu-button { display: none; gap: 3px; }
.menu-button span { display: block; width: 13px; height: 1px; background: currentColor; }
.play-compact { display: inline-flex; align-items: center; gap: 6px; min-height: 29px; padding: 4px 9px; color: var(--accent-ink); background: var(--accent); border-radius: 5px; font-family: "Barlow Condensed", Manrope, sans-serif; font-size: 12px; font-weight: 800; }

.site-page { min-height: 78vh; padding: 36px 0 46px; }
.site-container { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; width: min(100% - 64px, 1376px); margin: auto; }
.site-main { min-width: 0; }
.content-width { width: 100%; max-width: none; margin-right: 0; margin-left: 0; padding-right: 0; padding-left: 0; }

.page-intro { max-width: none; margin: 0; padding: 7px 0 24px; }
.page-intro > p:not(.eyebrow) { max-width: 720px; margin-top: 14px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; margin-bottom: 10px; padding: 6px 12px; color: var(--warm); background: color-mix(in srgb, var(--warm) 10%, transparent); border: 1px solid color-mix(in srgb, var(--warm) 52%, transparent); border-radius: 999px; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 10px; font-weight: 600; letter-spacing: .16em; line-height: 1.2; text-transform: uppercase; }
.intro-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 43px; padding: 13px 20px; border: 1px solid transparent; border-radius: 11px; font-family: Manrope, sans-serif; font-size: 15px; font-weight: 700; line-height: 1; transition: filter 160ms ease, transform 160ms ease, background 160ms ease; }
.button:hover { filter: brightness(1.06); transform: translateY(-1px); }
.button-primary { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.button-secondary { color: var(--text); background: var(--panel-raised); border-color: var(--line); }

.article-lead, .section-block, .split-section, .article-section, .faq-section, .planner, .source-table, .guide-body > .prose, .on-this-page { background: var(--panel); border: 1px solid var(--line-soft); border-radius: 13px; box-shadow: 0 1px 0 rgb(255 255 255 / 2%) inset; }
.article-lead { margin-top: 0; padding: 26px; }
.article-lead p, .article-section > p, .article-section > ul, .article-section > ol { max-width: 900px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.article-lead strong, .article-section strong { color: var(--text); }
.section-block, .split-section, .article-section, .faq-section, .planner, .source-table { margin-top: 12px; }
.section-block { padding: 26px; }
.split-section { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; padding: 26px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.section-heading > div { position: relative; padding-left: 12px; }
.section-heading > div::before { position: absolute; top: 5px; bottom: 4px; left: 0; width: 3px; background: var(--warm); border-radius: 2px; content: ""; }
.section-heading .eyebrow { margin: 0 0 8px; padding: 0; background: transparent; border: 0; border-radius: 0; font-size: 9px; }
.section-heading h2 { margin: 0; }
.section-heading > a, .text-link { color: var(--accent); font-size: 13px; font-weight: 700; }
.game-profile { display: grid; grid-template-columns: minmax(175px, .72fr) 1.35fr; overflow: hidden; background: var(--panel-raised); border: 1px solid var(--line-soft); border-radius: 8px; }
.game-profile > img { width: 100%; height: 100%; min-height: 248px; object-fit: cover; }
.game-profile dl { display: grid; grid-template-columns: repeat(2, 1fr); align-content: start; margin: 0; padding: 12px; }
.game-profile dl > div { padding: 12px 10px; border-bottom: 1px solid var(--line-soft); }
.game-profile dt { color: var(--faint); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 9px; letter-spacing: .04em; text-transform: uppercase; }
.game-profile dd { margin-top: 4px; color: var(--text); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; font-weight: 700; }
.source-note { margin-top: 12px; padding: 13px 15px; background: color-mix(in srgb, var(--accent) 7%, var(--panel)); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 6px; }
.source-note > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.source-note strong { color: var(--accent); font-family: "Barlow Condensed", Manrope, sans-serif; font-size: 17px; line-height: 1; }
.source-note span { color: var(--faint); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 9px; }
.source-note p { margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.source-note a, .prose a { color: var(--accent); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); text-underline-offset: 2px; }

.quick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.quick-link { display: grid; grid-template-columns: 1fr 14px; gap: 6px; min-height: 92px; padding: 12px; background: color-mix(in srgb, var(--accent) 8%, var(--panel-raised)); border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--line)); border-left: 3px solid var(--accent); border-radius: 6px; transition: transform 160ms ease, background 160ms ease; }
.quick-link:nth-child(2) { --accent: #6e95ee; }
.quick-link:nth-child(3) { --accent: #e878ad; }
.quick-link:nth-child(4) { --accent: #e8a749; }
.quick-link:hover { background: color-mix(in srgb, var(--accent) 16%, var(--panel-raised)); transform: translateY(-2px); }
.quick-link strong { color: var(--text); font-family: "Barlow Condensed", Manrope, sans-serif; font-size: 19px; line-height: 1; }
.quick-link span { grid-column: 1; color: var(--muted); font-size: 10px; line-height: 1.4; }
.quick-link i { align-self: center; grid-column: 2; grid-row: 1 / span 2; color: var(--accent); font-size: 15px; font-style: normal; }
.portal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.portal-card { display: flex; flex-direction: column; min-height: 230px; padding: 16px; background: var(--panel-raised); border: 1px solid var(--line-soft); border-radius: 7px; transition: transform 160ms ease, background 160ms ease, border-color 160ms ease; }
.portal-card:hover { background: color-mix(in srgb, var(--accent) 8%, var(--panel-raised)); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); transform: translateY(-2px); }
.card-kicker { margin-bottom: 18px; color: var(--accent); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 9px; font-weight: 600; letter-spacing: .12em; }
.portal-card h2 { font-family: "Barlow Condensed", Manrope, sans-serif; font-size: 23px; line-height: 1; }
.portal-card > p:not(.card-kicker) { margin-top: 8px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.card-arrow { margin-top: auto; padding-top: 16px; color: var(--accent); font-size: 12px; font-weight: 700; }
.status-pill { display: inline-flex; width: fit-content; margin-top: 10px; padding: 3px 6px; color: var(--warn); background: color-mix(in srgb, var(--warn) 12%, transparent); border: 1px solid color-mix(in srgb, var(--warn) 38%, transparent); border-radius: 999px; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 8px; letter-spacing: .08em; white-space: nowrap; }
.split-section > div > p:not(.eyebrow) { max-width: 650px; margin-top: 14px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.numbered-list { margin: 0; padding: 0; list-style: none; }
.numbered-list li { position: relative; min-height: 74px; padding: 11px 0 11px 35px; border-top: 1px solid var(--line-soft); }
.numbered-list li:first-child { padding-top: 0; border-top: 0; }
.numbered-list span { position: absolute; top: 13px; left: 0; color: var(--warm); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 9px; font-weight: 600; }
.numbered-list li:first-child span { top: 2px; }
.numbered-list strong { display: block; color: var(--text); font-family: "Barlow Condensed", Manrope, sans-serif; font-size: 18px; line-height: 1; }
.numbered-list p { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.callout { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px; background: var(--panel-raised); border: 1px solid var(--line-soft); border-radius: 6px; }
.callout strong { color: var(--text); font-family: "Barlow Condensed", Manrope, sans-serif; font-size: 18px; line-height: 1; }
.callout p { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.45; }

.page-shell { min-height: 0; margin: 0; padding: 0; }
.page-shell .page-intro { padding-top: 7px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 14px; color: var(--faint); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 9px; }
.breadcrumb a { color: var(--accent); }
.status-banner { display: flex; align-items: flex-start; gap: 12px; padding: 13px 14px; background: color-mix(in srgb, var(--warn) 7%, var(--panel)); border: 1px solid var(--line); border-left: 3px solid var(--warn); border-radius: 6px; }
.status-banner > span { display: grid; flex: 0 0 auto; width: 18px; height: 18px; place-items: center; color: var(--warn); border: 1px solid currentColor; border-radius: 50%; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 11px; font-weight: 700; }
.status-banner strong { color: var(--warn); font-family: "Barlow Condensed", Manrope, sans-serif; font-size: 18px; line-height: 1; }
.status-banner p { margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.article-section { padding: 22px; }
.article-section h2 { margin-bottom: 14px; font-size: 28px; }
.article-section > p + p { margin-top: 14px; }
.empty-state { min-height: 110px; padding: 14px; background: var(--panel-raised); border: 1px dashed color-mix(in srgb, var(--warn) 50%, var(--line)); border-radius: 6px; }
.empty-state strong { display: block; color: var(--warn); font-family: "Barlow Condensed", Manrope, sans-serif; font-size: 20px; line-height: 1; }
.empty-state p { margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.steps { display: grid; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; min-height: 52px; padding: 11px 0 11px 36px; color: var(--muted); border-top: 1px solid var(--line-soft); font-size: 13px; line-height: 1.55; }
.steps li::before { position: absolute; top: 12px; left: 0; color: var(--accent); content: counter(step, decimal-leading-zero); counter-increment: step; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 9px; font-weight: 600; }
.data-table-wrap { overflow-x: auto; }
table { width: 100%; min-width: 590px; border-collapse: collapse; }
th, td { padding: 10px 12px; color: var(--muted); border-bottom: 1px solid var(--line-soft); font-size: 11px; text-align: left; vertical-align: top; }
thead th { color: var(--faint); background: var(--panel-raised); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 9px; font-weight: 500; text-transform: uppercase; }
tbody th { color: var(--text); font-family: "Barlow Condensed", Manrope, sans-serif; font-size: 17px; }
.link-list { display: grid; }
.link-list a { display: grid; grid-template-columns: minmax(0, 1fr) 18px; gap: 4px 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.link-list strong { color: var(--text); font-family: "Barlow Condensed", Manrope, sans-serif; font-size: 18px; line-height: 1; }
.link-list span { color: var(--muted); font-size: 10px; line-height: 1.4; }
.link-list i { grid-column: 2; grid-row: 1 / span 2; color: var(--accent); font-size: 14px; font-style: normal; }
.check-list { padding-left: 0; list-style: none; }
.check-list li { position: relative; margin-bottom: 10px; padding-left: 24px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.check-list li::before { position: absolute; left: 0; color: var(--accent); content: "+"; font-weight: 800; }
.metrics-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.metrics-grid > div { min-height: 100px; padding: 12px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: 6px; }
.metrics-grid span { display: block; color: var(--faint); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 8px; text-transform: uppercase; }
.metrics-grid strong { display: block; margin: 12px 0 4px; color: var(--accent); font-family: "Barlow Condensed", Manrope, sans-serif; font-size: 26px; line-height: 1; }
.metrics-grid small { display: block; color: var(--muted); font-size: 9px; line-height: 1.35; }
.timeline { margin: 12px 0 0 8px; padding-left: 25px; border-left: 1px solid var(--line); }
.timeline article { position: relative; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px; padding-bottom: 25px; }
.timeline article::before { position: absolute; top: 3px; left: -31px; width: 11px; height: 11px; background: var(--accent); border: 3px solid var(--panel); border-radius: 50%; content: ""; }
.timeline time { color: var(--faint); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 9px; }
.timeline h2 { margin: 7px 0 5px; font-size: 21px; }
.timeline p { color: var(--muted); font-size: 11px; line-height: 1.5; }
.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid var(--line-soft); border-radius: 6px; }
.fact-grid > div { padding: 12px; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.fact-grid > div:nth-child(3n) { border-right: 0; }
.fact-grid strong { display: block; color: var(--faint); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 8px; text-transform: uppercase; }
.fact-grid span { display: block; margin-top: 6px; color: var(--text); font-size: 12px; font-weight: 600; }
.related-pages { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.related-pages > strong { color: var(--faint); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 9px; text-transform: uppercase; }
.related-pages div { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.related-pages a { padding: 6px 8px; color: var(--muted); background: var(--panel-raised); border: 1px solid var(--line); border-radius: 4px; font-size: 10px; }
.related-pages a:hover { color: var(--accent); border-color: var(--accent); }

.guide-layout { min-height: 0; margin: 0; padding: 0; }
.guide-layout .breadcrumb { margin-top: 0; }
.guide-article .page-intro { padding-right: 0; padding-left: 0; }
.guide-body { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 20px; align-items: start; }
.guide-body > .prose { min-width: 0; padding: 24px; }
.on-this-page { position: sticky; top: 84px; display: grid; gap: 7px; padding: 14px; }
.on-this-page strong { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 4px; color: var(--faint); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 9px; text-transform: uppercase; }
.on-this-page strong span { color: var(--faint); font-size: 8px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.on-this-page a { display: grid; grid-template-columns: 21px minmax(0, 1fr); gap: 2px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.on-this-page a span { color: var(--accent); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 8px; }
.on-this-page a:hover { color: var(--accent); }
.prose { color: var(--muted); font-size: 15px; line-height: 1.7; }
.prose section { padding: 0 0 20px; scroll-margin-top: 92px; }
.prose section + section { padding-top: 20px; border-top: 1px solid var(--line-soft); }
.prose h2 { margin-bottom: 14px; font-size: 28px; }
.prose p + p { margin-top: 14px; }
.prose details { border-top: 1px solid var(--line-soft); }
.prose summary { padding: 11px 0; color: var(--text); cursor: pointer; font-family: "Barlow Condensed", Manrope, sans-serif; font-size: 18px; }
.prose details p { padding-bottom: 8px; font-size: 12px; }

.planner { display: grid; grid-template-columns: minmax(270px, .9fr) 1.1fr; overflow: hidden; }
.planner-form { padding: 24px; border-right: 1px solid var(--line-soft); }
.planner-form h2, .planner-results h2 { font-size: 28px; }
.planner-form label { display: block; margin-top: 14px; color: var(--muted); font-size: 11px; font-weight: 600; }
.planner-form input { display: block; width: 100%; min-height: 42px; margin-top: 6px; padding: 7px 9px; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 5px; }
.planner-form input:focus { border-color: var(--accent); }
.planner-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.planner-actions .button { min-height: 39px; padding: 10px 13px; font-size: 12px; }
.planner-results { padding: 24px; background: color-mix(in srgb, var(--accent) 5%, var(--panel)); }
.planner-results > p:last-of-type { max-width: 510px; margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0; }
.result-grid > div { padding-left: 10px; border-left: 2px solid var(--accent); }
.result-grid span { display: block; color: var(--faint); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 8px; text-transform: uppercase; }
.result-grid strong { display: block; margin-top: 4px; color: var(--text); font-family: "Barlow Condensed", Manrope, sans-serif; font-size: 22px; line-height: 1; }
.copy-summary { padding: 7px 0; color: var(--accent); background: transparent; border: 0; font-size: 11px; font-weight: 700; }
.source-table { overflow: hidden; }
.source-table-head, .source-table article { display: grid; grid-template-columns: minmax(230px, 2fr) .65fr .75fr 1fr; gap: 15px; }
.source-table-head { padding: 11px 16px; color: var(--faint); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 8px; text-transform: uppercase; }
.source-table article { align-items: start; padding: 16px; border-top: 1px solid var(--line-soft); }
.source-table article strong { display: block; color: var(--text); font-family: "Barlow Condensed", Manrope, sans-serif; font-size: 18px; line-height: 1; }
.source-table article strong a { color: inherit; }
.source-table article div > p, .source-table article small, .source-table article > p { color: var(--muted); font-size: 9px; line-height: 1.45; }
.source-table article div > p { margin: 5px 0; }
.source-table article > time { color: var(--muted); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 9px; }
.source-table article > p { margin: 0; }
.confidence { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 9px; font-weight: 600; }
.confidence.official { color: var(--good); }
.confidence.pending { color: var(--warn); }

.faq-section { padding: 0; overflow: hidden; }
.faq-section .section-heading { margin: 0; padding: 16px 18px; border-bottom: 1px solid var(--line-soft); }
.faq-list { display: grid; }
.faq-list details { border-top: 1px solid var(--line-soft); }
.faq-list details:first-child { border-top: 0; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 45px; padding: 10px 17px; color: var(--text); cursor: pointer; font-family: "Barlow Condensed", Manrope, sans-serif; font-size: 18px; line-height: 1; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--accent); font-family: Manrope, sans-serif; font-size: 15px; transition: transform 180ms ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { padding: 0 17px 13px; color: var(--muted); font-size: 11px; line-height: 1.55; }

.article-rail { min-width: 0; }
.rail-stack { position: sticky; top: 84px; display: grid; grid-auto-rows: max-content; gap: 16px; align-content: start; height: calc(100vh - 100px); max-height: calc(100vh - 100px); padding-right: 2px; overflow-y: auto; }
.rail-stack::-webkit-scrollbar { width: 6px; }
.rail-stack::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.infobox, .rail-card { overflow: hidden; background: var(--panel); border: 1px solid var(--line-soft); border-radius: 16px; box-shadow: var(--shadow); }
.ib-figure { aspect-ratio: 8 / 5; margin: 0; overflow: hidden; border-top: 4px solid var(--warm); }
.infobox-image { width: 100%; height: 100%; object-fit: cover; }
.infobox-title { padding: 14px 18px 4px; }
.infobox-title small { color: var(--warm); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.infobox-title h2 { margin-top: 4px; font-size: 22px; }
.infobox dl { margin: 12px 0 0; padding: 0; }
.infobox dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 18px; border-top: 1px solid var(--line-soft); }
.infobox dt { flex: 0 0 auto; color: var(--muted); font-size: 12px; font-weight: 600; }
.infobox dd { max-width: 68%; margin: 0; color: var(--text); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 11px; font-weight: 700; text-align: right; }
.block-button { width: calc(100% - 36px); margin: 14px 18px 18px; }
.rail-card { padding: 16px 18px; }
.rail-card h2 { margin: 0 0 12px; color: var(--faint); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.rail-link { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 0; color: var(--text); border-top: 1px solid var(--line-soft); font-size: 12px; font-weight: 600; }
.rail-link:first-of-type { border-top: 0; }
.rail-link:hover { color: var(--accent); }
.rail-link > b { margin-left: auto; color: var(--accent); font-size: 16px; }
.mini-dot { display: block; flex: 0 0 auto; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 13%, transparent); }
.dot-2 { --accent: #8094f0; }
.dot-3 { --accent: #78d867; }
.dot-4 { --accent: #efae4c; }
.dot-5 { --accent: #e878ad; }

.site-footer { padding: 28px 0 18px; background: var(--header); border-top: 1px solid var(--line-soft); }
.footer-main { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 20px; width: min(100% - 80px, 1580px); margin: auto; padding: 0; }
.footer-brand p { max-width: 205px; margin-top: 9px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.mail-link { display: inline-block; margin-top: 9px; color: var(--accent); font-size: 9px; }
.footer-main section { display: grid; align-content: start; gap: 4px; }
.footer-main h2 { margin-bottom: 3px; color: var(--faint); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 8px; font-weight: 400; text-transform: uppercase; }
.footer-main ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.footer-main li a { color: var(--muted); font-size: 9px; }
.footer-main li a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; width: min(100% - 80px, 1580px); margin: 24px auto 0; padding: 12px 0 0; color: var(--faint); border-top: 1px solid var(--line-soft); font-size: 8px; line-height: 1.45; }
.footer-bottom p { max-width: 540px; }
.footer-bottom > div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; text-align: right; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--text); }

@media (max-width: 1200px) {
  .site-container { grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; width: min(100% - 56px, 1160px); }
  .site-main { margin: 0; }
  .portal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal-card:last-child { grid-column: span 2; }
}

@media (max-width: 900px) {
  .header-inner { width: min(100% - 36px, 760px); min-height: 58px; }
  .site-header { min-height: 58px; }
  .menu-button { display: inline-grid; order: 2; margin-left: auto; }
  .header-tools { order: 3; margin-left: 0; }
  .play-compact { display: none; }
  .desktop-nav { position: absolute; top: calc(100% + 1px); right: -18px; left: -18px; display: none; padding: 9px 18px 14px; background: var(--header); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .desktop-nav.is-open { display: grid; }
  .desktop-nav > a, .nav-trigger { justify-content: space-between; min-height: 39px; padding: 0; font-size: 12px; }
  .nav-popover { position: static; display: none; min-width: 0; padding: 0 0 5px 14px; visibility: visible; background: transparent; border: 0; border-radius: 0; box-shadow: none; opacity: 1; transform: none; }
  .nav-group.is-open .nav-popover { display: grid; }
  .nav-popover a { padding: 6px 0; font-size: 11px; }
  .site-container { grid-template-columns: minmax(0, 1fr) 220px; gap: 16px; }
  .guide-body { grid-template-columns: 1fr; }
  .on-this-page { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .on-this-page strong { grid-column: 1 / -1; }
  .game-profile { grid-template-columns: 180px 1fr; }
  .footer-main { grid-template-columns: 1.5fr repeat(2, 1fr); }
  .footer-brand { grid-row: span 2; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .header-inner, .footer-main, .footer-bottom { width: min(100% - 28px, 560px); }
  .site-container { display: block; width: min(100% - 28px, 560px); }
  .site-page { padding: 20px 0 33px; }
  .page-intro { padding: 4px 0 18px; }
  h1 { font-size: 38px; }
  .page-intro > p:not(.eyebrow) { font-size: 12px; }
  .eyebrow { font-size: 8px; }
  .intro-actions { display: grid; grid-template-columns: 1fr; margin-top: 22px; }
  .button { width: 100%; }
  .article-lead, .section-block, .article-section, .guide-body > .prose { padding: 14px; }
  .article-lead p, .article-section > p, .article-section > ul, .article-section > ol { font-size: 14px; }
  .split-section { grid-template-columns: 1fr; padding: 14px; }
  .section-heading { align-items: flex-start; }
  .section-heading h2 { font-size: 30px; }
  .section-heading > a { font-size: 11px; }
  .game-profile { grid-template-columns: 1fr; }
  .game-profile > img { min-height: 0; aspect-ratio: 16 / 8; }
  .quick-grid, .portal-grid, .metrics-grid, .fact-grid, .result-grid { grid-template-columns: 1fr; }
  .portal-card:last-child { grid-column: auto; }
  .portal-card { min-height: 174px; }
  .callout { align-items: flex-start; flex-direction: column; }
  .timeline article { grid-template-columns: 1fr; gap: 5px; }
  .timeline article::before { top: 4px; }
  .fact-grid > div { border-right: 0; }
  .guide-layout .page-intro { padding-top: 4px; }
  .on-this-page { grid-template-columns: 1fr; }
  .on-this-page strong { grid-column: auto; }
  .planner { grid-template-columns: 1fr; }
  .planner-form { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .planner-form, .planner-results { padding: 18px; }
  .source-table-head { display: none; }
  .source-table article { grid-template-columns: 1fr 1fr; gap: 10px; }
  .source-table article > div, .source-table article > p { grid-column: 1 / -1; }
  .faq-list summary { font-size: 17px; }
  .article-rail { margin-top: 12px; }
  .rail-stack { position: static; height: auto; max-height: none; overflow: visible; }
  .footer-main { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .footer-brand { grid-column: 1 / -1; grid-row: auto; }
  .footer-bottom { display: grid; gap: 10px; }
  .footer-bottom > div { justify-content: flex-start; text-align: left; }
}

@media (max-width: 420px) {
  .header-inner, .footer-main, .footer-bottom, .site-container { width: min(100% - 24px, 560px); }
  .brand { font-size: 16px; }
  .brand img { width: 25px; height: 25px; }
  .theme-toggle, .menu-button { width: 36px; height: 36px; }
  .source-note > div { align-items: flex-start; flex-direction: column; gap: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
