@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/barlow-condensed-latin.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/assets/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/jetbrains-mono-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #111210;
  --surface: #1A1C18;
  --surface2: #22251F;
  --text: #F3F1E9;
  --muted: #A8ACA0;
  --line: #353A2F;
  --accent: #F58A44;
  --accent-ink: #17130D;
  --title: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 10px;
}
:root[data-theme=light] {
  color-scheme: light;
  --bg: #f3f1e9;
  --surface: #fdfcf8;
  --surface2: #e9e9df;
  --text: #20241c;
  --muted: #596151;
  --line: #cbd0c2;
  --accent: #ac4308;
  --accent-ink: #fff9f1;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 Inter, Arial, sans-serif; }
img { display: block; max-width: 100%; }
svg.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--accent); }
button, input { font: inherit; color: inherit; }
button { background: var(--surface); border: 1px solid var(--line); border-radius: 7px; padding: 8px 12px; cursor: pointer; }
button:hover, .outline:hover { border-color: var(--accent); }
button:active, .button:active { transform: translateY(1px); }
button:disabled { opacity: .55; cursor: default; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
[hidden], html:not(.js) .js-only { display: none !important; }
::selection { background: var(--accent); color: var(--accent-ink); }
h1, h2, h3 { font-family: var(--title); line-height: 1.05; margin: 0; }
h2 { font-size: clamp(32px, 3.3vw, 46px); }
h3 { font-size: 28px; }
.skip { position: fixed; z-index: 10; top: 10px; left: 16px; transform: translateY(-160%); background: var(--accent); color: var(--accent-ink); border-radius: 6px; padding: 10px 16px; }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .page-shell, .footer-inner, .footer-guides, .legal { max-width: 1320px; margin-inline: auto; padding-inline: 40px; }
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 23px; font-weight: 800; text-decoration: none; letter-spacing: -.05em; line-height: 1; }
.brand small { display: block; margin-top: 6px; font: 10px/1.4 var(--mono); letter-spacing: .07em; color: var(--muted); }
.desktop-nav, .all-guides { margin-left: auto; }
.desktop-nav { display: flex; align-self: stretch; gap: 28px; margin-right: 18px; }
.desktop-nav a { display: flex; align-items: center; text-decoration: none; font-size: 14px; color: var(--muted); border-bottom: 3px solid transparent; }
.desktop-nav a[aria-current], .desktop-nav a:hover { color: var(--text); border-color: var(--accent); }
.mobile-saved { display: none; }
.search-button, .all-guides, .icon-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; font-size: 14px; }
.all-guides { text-decoration: none; border: 1px solid var(--line); border-radius: 7px; padding-inline: 14px; }
.icon-button { width: 44px; }
kbd { font: 12px var(--mono); color: var(--muted); border: 1px solid var(--line); border-radius: 3px; padding: 2px 5px; }
.kicker, .edition-bar, .panel-label, .image-credit, .source-date, .small, .patch-check, .guide-note, .article-photo figcaption { font-family: var(--mono); }
.kicker, .panel-label, .edition-bar { font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.kicker, .panel-label { display: flex; align-items: center; gap: 9px; }
.kicker i { width: 20px; height: 3px; background: var(--accent); }
.edition-bar { min-height: 56px; color: var(--muted); display: flex; align-items: center; justify-content: space-between; }
.edition-bar span:first-child:before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--accent); margin-right: 10px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 18px; }
.hero { isolation: isolate; min-height: 415px; display: flex; align-items: center; position: relative; overflow: hidden; border-radius: var(--radius); background: #22251f; color: #f3f1e9; border: 1px solid #454a3e; }
.hero-photo, .hero:before { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { z-index: -2; object-fit: cover; object-position: 70% 44%; }
.hero:before { content: ""; z-index: -1; background: linear-gradient(90deg, #10140ff7 0%, #10140fdc 28%, #10140f66 69%, #10140f44), linear-gradient(0deg,#10140f88,transparent 40%); }
.hero:after { content: ""; position: absolute; pointer-events: none; inset: 12px; border: 1px solid #f3f1e928; border-radius: 4px; z-index: -1; }
.hero-content { padding: 38px 34px 50px; }
.hero h1 { font-size: clamp(60px, 5.7vw, 84px); line-height: .95; text-transform: uppercase; margin: 20px 0 16px; }
.hero h1 span { display: block; color: #f58a44; }
.hero p { color: #e1e3d9; max-width: 43ch; margin: 0 0 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; border: 1px solid transparent; border-radius: 7px; padding: 10px 14px; font-size: 14px; font-weight: 650; text-decoration: none; }
.primary { background: #f58a44; color: #17130d; }
.primary:hover { background: #ffa461; color: #17130d; }
.ghost { background: #10140fa8; color: #f3f1e9; border-color: #b8bba575; }
.ghost:hover { color: white; border-color: #f58a44; }
.outline { border-color: var(--line); background: var(--surface2); }
.image-credit, .article-photo figcaption { position: absolute; bottom: 12px; right: 16px; background: #111210d9; border-radius: 3px; padding: 3px 7px; font-size: 10px; color: #eee; text-decoration: none; }
.intel, .guide-card, .editor-note, .quick-answer, .check-panel, #empty-state { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.intel { display: flex; flex-direction: column; padding: 20px 22px; }
.panel-label { color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.panel-label .icon, .card-body .kicker .icon { width: 16px; color: var(--accent); }
.cycle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; }
.cycle strong { display: block; font: 700 48px/.95 var(--title); color: var(--accent); }
.cycle small { display: block; font: 10px var(--mono); text-transform: uppercase; }
.schedule { padding: 12px 0; border-block: 1px solid var(--line); }
summary { cursor: pointer; }
.schedule summary { font: 12px/1.5 var(--mono); color: var(--muted); }
.schedule dl { margin: 12px 0; }
.schedule dl div { display: flex; justify-content: space-between; gap: 12px; }
.schedule dd { margin: 0; font-family: var(--mono); font-weight: 600; }
.schedule p { font-size: 13px; line-height: 1.55; color: var(--muted); margin: 6px 0; }
.schedule .local-time { font-size: 12px; }
.intel .button { margin: 14px 0 8px; }
.source-date { font-size: 11px; color: var(--muted); text-align: center; }
.patch-strip { display: flex; align-items: center; gap: 20px; border: 1px solid var(--line); border-radius: 8px; padding: 12px 18px; margin-top: 14px; font-size: 14px; background: var(--surface); }
.patch-strip .kicker { color: var(--accent); }
.patch-strip a:last-child { margin-left: auto; white-space: nowrap; }
.guides { margin-block: 44px; }
.section-heading, .toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.section-heading .kicker, .overview .kicker, .small { color: var(--muted); }
.section-heading h2, .overview h2 { margin-top: 8px; }
.small { font-size: 12px; }
.toolbar { justify-content: flex-start; flex-wrap: wrap; margin: 20px 0 16px; gap: 8px; }
.filter { display: inline-flex; gap: 7px; align-items: center; min-height: 44px; font-size: 14px; }
.filter[aria-pressed=true], .save[aria-pressed=true] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.saved-filter { margin-left: auto; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-top: 16px; }
.guide-card { position: relative; min-width: 0; }
.guide-card:hover, .guide-card:focus-within { border-color: var(--accent); }
.card-photo { width: 100%; height: auto; aspect-ratio: 2.55; object-fit: cover; border-radius: 9px 9px 0 0; }
.card-body { padding: 18px 20px; }
.card-body .kicker { color: var(--muted); }
.card-body h3 { margin-top: 10px; font-size: 34px; }
.card-body h3 a { text-decoration: none; }
.card-body .citations a { position: relative; z-index: 1; }
.card-body h3 a:after { content:""; position:absolute; inset:0; border-radius:var(--radius); }
.card-body p { font-size: 14px; color: var(--muted); margin: 8px 0 0; }
.save { position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; border-radius: 8px; background: var(--surface); padding: 0; }
.save[aria-pressed=true] .icon { fill: currentColor; }
.compact .card-body { padding-right: 60px; }
.compact h3 { font-size: 26px; }
.guide-card:last-child.compact { grid-column: 1/-1; }
.guide-note { color: var(--muted); font-size: 12px; display: flex; gap: 8px; align-items: center; }
#empty-state { padding: 20px; }
#save-status:not(:empty) { position: fixed; z-index: 6; bottom: 16px; right: 16px; margin: 0; max-width: calc(100vw - 32px); padding: 12px 18px; background: var(--text); color: var(--bg); border-radius: 8px; }
.lower-grid { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); align-items: start; gap: 30px; border-top: 1px solid var(--line); padding-top: 32px; }
.editor-note { padding: 26px; border-top: 3px solid var(--accent); }
.editor-note h2 { margin-top: 16px; }
.faq-section { margin-block: 30px; }
.reading-layout { max-width: 1160px; margin: auto; display: grid; grid-template-columns: 225px minmax(0, 72ch); justify-content: space-between; gap: 40px; padding: 36px 28px 60px; }
.article { min-width: 0; }
.desktop-toc { position: sticky; top: 24px; align-self: start; max-height: calc(100vh - 48px); overflow-y: auto; overscroll-behavior: contain; padding: 3px; }
.desktop-toc .kicker { color: var(--muted); margin-bottom: 10px; }
.desktop-toc a, .mobile-toc nav a { display: block; text-decoration: none; color: var(--muted); font-size: 14px; border-left: 2px solid var(--line); padding: 9px 12px; }
.desktop-toc a[aria-current], .desktop-toc a:hover { border-color: var(--accent); color: var(--text); background: var(--surface); }
.mobile-toc { display: none; }
.crumb, .patch-check { font-size: 12px; color: var(--muted); }
.crumb { margin-bottom: 28px; }
.article-heading .kicker, .section-kicker { color: var(--accent); }
.article-heading h1 { font-size: clamp(52px,5.2vw,76px); line-height: .99; text-transform: uppercase; margin: 16px 0; }
.article-heading h1 span { color: var(--accent); }
.dek { font-size: 18px; color: var(--muted); margin: 0 0 18px; }
.byline { display: flex; align-items: center; gap: 10px; font-size: 14px; margin: 18px 0 8px; }
.byline small { font: 12px var(--mono); color: var(--muted); }
.avatar { display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface2); border-radius: 50%; width: 36px; height: 36px; font: 12px var(--mono); }
.patch-check { margin: 6px 0 22px; }
.quick-answer { padding: 22px 24px; border-left: 3px solid var(--accent); background: linear-gradient(110deg,color-mix(in srgb,var(--accent) 9%,var(--surface)),var(--surface)); }
.quick-answer .kicker { color: var(--accent); }
.quick-answer p { margin-bottom: 0; }
.article-photo { position: relative; margin: 22px 0 30px; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); }
.article-photo img { width: 100%; height: auto; aspect-ratio: 2.65; object-fit: cover; }
.article-photo.map-photo img { aspect-ratio: auto; object-fit: contain; }
.map-photo > a { display: block; }
.map-photo > a:focus-visible { outline-offset: -3px; }
.map-photo figcaption { position: static; text-align: right; }
.article-photo a { color: #fff; }
.prose { min-width: 0; overflow-wrap: break-word; line-height: 1.65; }
.prose h2, .related h2 { margin: 1.1em 0 .45em; font-size: clamp(30px,3vw,40px); }
.prose h3 { margin: 1em 0 .35em; }
.prose p, .prose li { max-width: 72ch; }
.prose a, .editor-note a { color: var(--accent); }
.prose li + li { margin-block-start: .45em; }
.prose ul, .prose ol { padding-left: 1.45em; }
.citations { display: inline; font: 10px/1.4 var(--mono); vertical-align: super; white-space: normal; margin-left: 3px; }
.citations a, .patch-strip .citations a { margin: 0; color: var(--accent); text-decoration: none; white-space: nowrap; }
.citations a:hover { text-decoration: underline; }
.table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; margin: 16px 0 8px; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 15px; line-height: 1.55; }
th, td { padding: 12px 14px; vertical-align: top; min-width: 100px; border-bottom: 1px solid var(--line); }
thead th { background: var(--surface2); font: 12px/1.6 var(--mono); }
tbody tr:nth-child(even) { background: var(--surface); }
tbody tr:last-child > * { border-bottom: 0; }
td small { display: block; font-size: 12px; color: var(--muted); }
table:has(.grade) th[scope=row] { position: sticky; left: 0; background: var(--surface); border-right: 1px solid var(--line); }
.grade { display: block; color: var(--accent); }
.table-note, .src, .source-list small { font-size: 13px; color: var(--muted); }
.source-list { border-top: 1px solid var(--line); margin-top: 30px; }
.source-list li:target { background: var(--surface2); }
.source-list small { display: block; }
.source-list li { padding: 4px; }
.faq details { padding: 12px 0; border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 650; min-height: 44px; padding-block: 8px; }
.faq-answer { display: inline; }
.check-panel { padding: 16px 20px; }
.progress-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 650; }
.check-panel button { min-height: 44px; font-size: 14px; }
progress { width: 100%; height: 7px; accent-color: var(--accent); }
.reset-options { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; border: 1px solid var(--line); padding: 10px; border-radius: 7px; margin: 12px 0; }
.check-panel ol { list-style: none; padding: 0; }
.check-panel li { display: flex; align-items: start; gap: 14px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; }
.step-check { width: 22px; height: 22px; flex-shrink: 0; margin: 4px 0; accent-color: var(--accent); }
.check-panel label { font: 12px var(--mono); text-transform: uppercase; color: var(--accent); cursor: pointer; display: inline-flex; align-items: center; min-height: 30px; }
.check-panel li p { margin: 4px 0; }
.step-check:checked + div strong { color: var(--muted); text-decoration: line-through; }
.related nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.related a { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 7px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-size: 14px; }
.related a .icon:first-child { color: var(--accent); }
.related a .icon:last-child { margin-left: auto; }
.back { display: inline-block; margin-top: 18px; }
footer { border-top: 1px solid var(--line); padding-block: 32px; margin-top: 32px; color: var(--muted); }
footer .brand { color: var(--text); }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }
.footer-inner nav, .footer-guides { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
footer nav a { font-size: 14px; }
.legal { font-size: 12px; margin-top: 18px; }
.missing { max-width: 900px; margin: 60px auto; padding: 20px; }
dialog { width: min(580px,calc(100% - 24px)); max-height: 83dvh; overflow: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); padding: 22px; }
dialog::backdrop { background: #10120fd9; }
.dialog-head, .search-box { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
dialog label { display: block; margin-top: 14px; font-size: 14px; }
.search-box { margin-top: 5px; border: 1px solid var(--line); padding: 8px 12px; background: var(--bg); border-radius: 7px; }
.search-box input { width: 100%; min-width: 0; padding: 6px; background: transparent; border: 0; }
#search-results a { display: block; border-top: 1px solid var(--line); text-decoration: none; padding: 12px 3px; }
#search-results small { display: block; color: var(--muted); }
@media (max-width: 1000px) {
  .header-inner, .page-shell, .footer-inner, .footer-guides, .legal { padding-inline: 24px; }
  .hero-grid { grid-template-columns: minmax(0,1fr) 300px; }
  .reading-layout { grid-template-columns: 185px minmax(0,1fr); gap: 26px; }
  .desktop-nav { gap: 15px; margin-right: 0; }
}
@media (max-width: 760px) {
  .header-inner, .page-shell, .footer-inner, .footer-guides, .legal { padding-inline: 16px; }
  .header-inner { gap: 8px; min-height: 65px; }
  .brand { gap: 8px; font-size: 20px; }
  .brand img { width: 32px; height: 32px; }
  .brand small { font-size: 8px; letter-spacing: 0; }
  .desktop-nav, .search-button kbd { display: none; }
  .search-button { margin-left: auto; }
  .search-button span { display: none; }
  .mobile-saved { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; font-size: 13px; }
  .edition-bar { min-height: 44px; font-size: 10px; }
  .hero-grid, .lower-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .hero { min-height: 350px; }
  .hero-content { padding: 30px 20px 46px; }
  .hero h1 { font-size: clamp(51px,12vw,66px); }
  .hero p { font-size: 15px; }
  .hero-actions { gap: 7px; }
  .hero-actions .primary { width: 100%; }
  .hero-actions .ghost { flex: 1; }
  .intel { padding: 14px 16px; }
  .cycle { padding: 10px 0; }
  .cycle h2 { font-size: 34px; }
  .cycle > div { display: flex; align-items: center; gap: 8px; }
  .cycle strong { font-size: 38px; }
  .schedule { padding: 0; }
  .schedule summary { padding: 14px 0; min-height: 44px; }
  .schedule dl { margin-top: 0; }
  .schedule p:last-child { margin-bottom: 12px; }
  .patch-strip { flex-wrap: wrap; gap: 6px 12px; }
  .patch-strip > :nth-child(2) { flex-basis: 100%; }
  .patch-strip a:last-child { margin-left: 0; }
  .guide-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .card-photo { aspect-ratio: 2.4; }
  .guides { margin-block: 28px; }
  .toolbar { gap: 6px; }
  .filter { font-size: 13px; }
  .saved-filter { margin-left: 0; }
  .section-heading { align-items: end; }
  .section-heading .small { white-space: nowrap; }
  .reading-layout { display: block; padding: 22px 18px 26px; }
  .desktop-toc { display: none; }
  .mobile-toc { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; margin: 14px 0 22px; padding: 0 14px; }
  .mobile-toc summary { padding-block: 10px; min-height: 46px; font-weight: 600; }
  .mobile-toc nav { padding-bottom: 12px; }
  .mobile-toc nav a { min-height: 44px; }
  .crumb { margin: 0; }
  .article-heading h1 { font-size: clamp(46px,12vw,62px); }
  .dek { font-size: 16px; }
  .article-photo img { aspect-ratio: 2; }
  .quick-answer { padding: 18px 16px; }
  .related nav { grid-template-columns: 1fr; }
  .footer-inner { display: block; }
  .footer-guides { margin-top: 18px; }
}
@media (prefers-reduced-motion: no-preference) {
  .button, button, .guide-card { transition: border-color .15s, background-color .15s, transform .15s; }
}

/* Ad slots (Adsterra). Space is reserved to avoid layout shift. */
.ad-slot { margin: 24px auto; text-align: center; max-width: 100%; overflow: hidden; }
.ad-label { display: block; font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.ad-frame { display: flex; justify-content: center; align-items: center; margin: 0 auto; }
.ad-top .ad-frame { min-height: 90px; }
.ad-mid .ad-frame { min-height: 250px; }
.ad-frame iframe { max-width: 100%; border: 0; }
@media (max-width: 759px) { .ad-top .ad-frame { min-height: 50px; } }

/* BrowserGamesFree cross-promotion card and footer network link. */
.crosspromo-card { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); align-items: center; gap: 22px; margin: 28px 0 32px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.crosspromo-card:hover, .crosspromo-card:focus-within { border-color: var(--accent); }
.crosspromo-media { display: block; overflow: hidden; border-radius: 7px; }
.crosspromo-media img { width: 100%; height: auto; aspect-ratio: 640 / 182; object-fit: cover; }
.crosspromo-body { min-width: 0; }
.crosspromo-title { margin: 0; font: 700 30px/1.05 var(--title); text-transform: uppercase; color: var(--text); }
.crosspromo-blurb { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.crosspromo-card a.crosspromo-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; margin-top: 12px; padding: 10px 14px; border-radius: 7px; background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 650; text-decoration: none; }
.crosspromo-card a.crosspromo-cta:hover { filter: brightness(1.08); color: var(--accent-ink); }
.footer-network { display: flex; flex-direction: column; gap: 2px; }
.footer-network-title { margin: 0; font: 600 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.footer-network a { font-size: 14px; color: var(--text); }
@media (max-width: 760px) {
  .crosspromo-card { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 12px; }
  .crosspromo-title { font-size: 26px; }
  .footer-network { margin: 16px 0; }
}
