:root {
  --bg: #0b0d12;
  --bg-2: #10131a;
  --panel: #141822;
  --panel-2: #191e2a;
  --line: #242a38;
  --line-2: #2f3647;
  --text: #e7e9ee;
  --muted: #9aa3b5;
  --dim: #6b7487;
  --prose: #cfd4de;
  --legal: #e9dcb8;
  --accent: #7cf29c;
  --accent-ink: #062b13;
  --ps2: #5b8cff;
  --n64: #ff5d6c;
  --gamecube: #a78bfa;
  --xbox360: #8fd14f;
  --pc: #7cf29c;
  --retro-engine: #f0a44a;
  --pipeline-panel: #0f1a14;
  --pipeline-line: #2c5a3a;
  --classic-pc-console: #9aa3b5;
  --s-playable: #4ade80;
  --s-in-progress: #fbbf24;
  --s-announced: #60a5fa;
  --s-unknown: #94a3b8;
  --st-playable-bg: #12351f;
  --st-playable-ink: #8ff0ab;
  --st-progress-bg: #3a2a08;
  --st-progress-ink: #ffd166;
  --st-announced-bg: #10233f;
  --st-announced-ink: #9cc4ff;
  --st-unknown-bg: #1f2530;
  --st-unknown-ink: #c2cbd9;
  --header-bg: rgba(11,13,18,.86);
  --hover-row: rgba(255,255,255,.03);
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
  --wrap: 1180px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f4f7f5;
  --bg-2: #e9efeb;
  --panel: #ffffff;
  --panel-2: #f7faf8;
  --line: #d5ded8;
  --line-2: #b8c7bd;
  --text: #17211b;
  --muted: #526259;
  --dim: #6c7b72;
  --prose: #304139;
  --legal: #72551a;
  --accent: #08783b;
  --accent-ink: #ffffff;
  --ps2: #285eb5;
  --n64: #c33141;
  --gamecube: #6946bd;
  --xbox360: #4c7f1e;
  --pc: #08783b;
  --retro-engine: #9a5a00;
  --pipeline-panel: #e7f0e9;
  --pipeline-line: #83a38c;
  --classic-pc-console: #59677b;
  --s-playable: #16733a;
  --s-in-progress: #8a5b00;
  --s-announced: #285eb5;
  --s-unknown: #59677b;
  --st-playable-bg: #e2f3e8;
  --st-playable-ink: #0f5a2b;
  --st-progress-bg: #fdf1d6;
  --st-progress-ink: #6e4400;
  --st-announced-bg: #e6efff;
  --st-announced-ink: #1d4f9a;
  --st-unknown-bg: #eef1f5;
  --st-unknown-ink: #44536a;
  --header-bg: rgba(244,247,245,.9);
  --hover-row: rgba(8,60,35,.045);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: 42px; margin: 0 0 14px; }
h2 { font-size: 26px; margin: 0 0 14px; }
h3 { font-size: 18px; margin: 0 0 10px; }
p { margin: 0 0 14px; }

ul, ol { margin: 0 0 14px; padding-left: 22px; }
li { margin: 0 0 6px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono { font-family: var(--mono); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.section-gap { margin-top: 54px; }
.prose { max-width: 76ch; }
.prose p { color: var(--prose); }
.legal { color: var(--legal); font-size: 13px; line-height: 1.6; max-width: 88ch; }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 16px 18px; }
.eyebrow { margin: 26px 0 10px; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.lead { color: var(--prose); font-size: 18px; line-height: 1.6; max-width: 78ch; }

/* header */
.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line); background: var(--header-bg); backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; gap: 22px; height: 62px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--text); font-size: 17px; font-weight: 750; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.brand b { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { padding: 7px 10px; border-radius: 7px; color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav a:hover { background: var(--panel); color: var(--text); }
.theme-toggle { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); color: var(--muted); cursor: pointer; }
.theme-toggle:hover { color: var(--text); border-color: var(--line-2); }
main { min-height: 60vh; padding-bottom: 40px; }

/* crumbs */
.crumbs { padding-top: 16px; font-size: 12px; color: var(--dim); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 7px; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(260px,.65fr); gap: 44px; align-items: center; padding: 44px 0 8px; }
.hero > * { min-width: 0; }
.hero .lead { max-width: 70ch; overflow-wrap: anywhere; }

.stats { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 13px; }
.stats li { margin: 0; }
.stats b { color: var(--text); font-size: 16px; margin: 0 3px; }
.hero-art { min-width: 0; }
.pipeline { display: grid; gap: 8px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(160deg, var(--panel), var(--bg-2)); }
.pipe-node { display: grid; gap: 2px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel-2); }
.pipe-node span { font-size: 13px; font-weight: 700; }
.pipe-node small { color: var(--muted); font-size: 12px; }
.pipe-node.accent { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.pipe-node.accent span { color: var(--accent); }
.pipe-arrow { color: var(--dim); text-align: center; font-size: 14px; line-height: 1; }
.platform-glyph { display: grid; place-items: center; min-height: 220px; border: 1px solid var(--line); border-radius: 16px; background: radial-gradient(circle at 50% 40%, var(--panel-2), var(--bg-2)); }
.platform-glyph span { font-size: 52px; font-weight: 800; letter-spacing: -.04em; opacity: .75; }
.platform-glyph.ps2 span { color: var(--ps2); }
.platform-glyph.n64 span { color: var(--n64); }
.platform-glyph.gamecube span { color: var(--gamecube); }
.platform-glyph.xbox360 span { color: var(--xbox360); }
.platform-glyph.pc span { color: var(--pc); }

/* home */
.home-games-section { margin-top: 34px; }
.home-link-groups { margin-bottom: 20px; }
.link-group .mini { margin: 0 0 8px; font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.home-browser { display: grid; grid-template-columns: minmax(210px,250px) minmax(0,1fr); gap: 24px; align-items: start; }
.home-status-list { position: sticky; top: 84px; min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.home-status-list .mini { margin: 0 0 10px; font-size: 15px; }
.home-status-list details + details { border-top: 1px solid var(--line); }
.home-status-list summary { display: flex; justify-content: space-between; gap: 12px; cursor: pointer; padding: 12px 0; font-weight: 700; list-style: none; }
.home-status-list summary::-webkit-details-marker { display: none; }
.home-status-list summary::after { content: '+'; color: var(--muted); }
.home-status-list details[open] summary::after { content: '−'; }
.home-status-list summary b { color: var(--muted); font-size: 12px; margin-left: auto; }

.home-status-list ul { display: grid; gap: 7px; margin: 0 0 12px; padding: 0; list-style: none; }
.home-status-list li { line-height: 1.25; overflow-wrap: anywhere; }
.home-status-list a { color: var(--text); text-decoration: none; }
.home-status-list a:hover { color: var(--accent); text-decoration: underline; }
.home-cover-groups { display: grid; gap: 34px; min-width: 0; }
.cover-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.cover-group-head .mini { margin: 0; font-size: 17px; }
.cover-group-head span { color: var(--muted); font-size: 13px; }
.cover-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px,1fr)); gap: 18px 14px; }
.game-tile { position: relative; display: grid; gap: 7px; min-width: 0; color: var(--text); text-decoration: none; }
.game-tile-image { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 13px; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line); }
.game-tile-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .18s ease; }
.game-tile:hover .game-tile-image img { transform: scale(1.05); }
.game-tile-dot { position: absolute; top: 8px; left: 8px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--panel); background: #35b56a; box-shadow: 0 1px 4px rgb(0 0 0 / .35); }
.game-tile.progress .game-tile-dot { background: #e5ad35; }
.game-tile-new { position: absolute; top: 7px; right: 7px; padding: 4px 6px; border: 1px solid #000; border-radius: 5px; background: #f2c14b; color: #241701; font-size: 12px; font-weight: 900; letter-spacing: .08em; line-height: 1; }
.game-tile-fallback { display: grid; place-items: center; width: 100%; height: 100%; color: var(--muted); font-size: 34px; font-weight: 800; }
.game-tile-name { overflow: hidden; font-size: 13px; font-weight: 700; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.game-tile-status { display: block; width: fit-content; max-width: 100%; padding: 3px 7px; border-radius: 4px; background: #1f6b3f; color: #ffffff; font-size: 12px; font-weight: 800; letter-spacing: .04em; line-height: 1.1; text-transform: uppercase; }
.game-tile.progress .game-tile-status { background: #7a5410; color: #ffffff; }

/* chips and changes */
.chiplinks { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.chiplinks li { margin: 0; }

.chiplinks a { display: inline-block; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--muted); font-size: 13px; text-decoration: none; }
.chiplinks a:hover { color: var(--text); border-color: var(--line-2); }
.changes { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.changes li { display: grid; grid-template-columns: 108px 52px minmax(0,1fr) minmax(180px,.8fr); gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.changes .date { color: var(--muted); font-family: var(--mono); font-size: 12px; }
.changes b { font-size: 14px; }
.table-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.table-head h2 { margin: 0; }

/* status bar and game page */
.page h1 { max-width: 22ch; }
.game-page h1 { max-width: 26ch; }
.statusbar { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 18px 0 22px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; }
.statusbar > div { padding: 10px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.statusbar > div:nth-child(3n) { border-right: 0; }
.statusbar > div:nth-last-child(-n+3) { border-bottom: 0; }
.statusbar dt { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.statusbar dd { margin: 3px 0 0; font-size: 14px; }
.statusbar a { color: var(--text); }
.statusbar .prog { margin-left: 8px; color: var(--muted); font-size: 12px; }
.gh-cover { float: left; width: 72px; height: 102px; object-fit: cover; margin: 2px 16px 8px 0; border-radius: 7px; border: 1px solid var(--line); }
.status { display: inline-block; padding: 3px 8px; border-radius: 5px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.status.s-playable { background: var(--st-playable-bg); color: var(--st-playable-ink); border: 1px solid transparent; }
.status.s-in-progress { background: var(--st-progress-bg); color: var(--st-progress-ink); border: 1px solid transparent; }
.status.s-announced { background: var(--st-announced-bg); color: var(--st-announced-ink); border: 1px solid transparent; }
.status.s-unknown { background: var(--st-unknown-bg); color: var(--st-unknown-ink); border: 1px solid transparent; }
.prog { color: var(--muted); font-size: 12px; }
.steps { max-width: 78ch; padding-left: 22px; }

.steps li { margin-bottom: 9px; color: var(--prose); }
.needs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 18px; }
.needs h3 { font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.needs ul { margin: 0; padding-left: 20px; font-size: 14px; }
.needs .muted { margin: 0; font-size: 14px; }

/* tables */
.table-shell { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; }
.table-scroll { overflow-x: auto; }
table.games { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.games th { padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-align: left; text-transform: uppercase; white-space: nowrap; }
table.games td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.games tr:last-child td { border-bottom: 0; }
table.games tbody tr:hover { background: var(--hover-row); }
table.games tr.status-section th { padding: 9px 12px; background: var(--panel-2); border-bottom: 1px solid var(--line); color: var(--text); font-size: 12px; letter-spacing: .04em; }
table.games tr.status-section .sec-count { color: var(--muted); font-weight: 500; }
.g-name { font-weight: 700; }
.g-name a { color: var(--text); }
.g-note { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.c-game { min-width: 170px; }
.c-proj { min-width: 190px; }
.c-proj .kind { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.c-proj > div + div { margin-top: 7px; }
.c-runs { color: var(--prose); font-size: 12.5px; }
.date { color: var(--muted); font-family: var(--mono); font-size: 12px; white-space: nowrap; }
.ptag { display: inline-block; padding: 2px 7px; border: 1px solid var(--line-2); border-radius: 5px; font-family: var(--mono); font-size: 12px; font-weight: 700; white-space: nowrap; }
.ptag.ps2 { color: var(--ps2); border-color: color-mix(in srgb, var(--ps2) 45%, transparent); }
.ptag.n64 { color: var(--n64); border-color: color-mix(in srgb, var(--n64) 45%, transparent); }
.ptag.gamecube { color: var(--gamecube); border-color: color-mix(in srgb, var(--gamecube) 45%, transparent); }
.ptag.xbox360 { color: var(--xbox360); border-color: color-mix(in srgb, var(--xbox360) 45%, transparent); }
.ptag.pc { color: var(--pc); border-color: color-mix(in srgb, var(--pc) 45%, transparent); }

.ptag.retro-engine { color: var(--retro-engine); border-color: color-mix(in srgb, var(--retro-engine) 45%, transparent); }
.ptag.classic-pc-console { color: var(--classic-pc-console); }
.cta { display: inline-block; margin-top: 6px; padding: 4px 9px; border: 1px solid var(--line-2); border-radius: 6px; color: var(--text); font-size: 12px; font-weight: 650; text-decoration: none; }
.cta:hover { border-color: var(--accent); color: var(--accent); }
.ext::after { content: " ↗"; color: var(--muted); font-size: 12px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.filters label { display: grid; gap: 3px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.filters select, .filters input { height: 34px; padding: 0 9px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); color: var(--text); font: 13px var(--sans); }
.filters input { min-width: 170px; }
.table-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 9px 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.empty { padding: 18px; color: var(--muted); text-align: center; }
table.compare { width: 100%; border-collapse: collapse; font-size: 13px; margin: 0; }
table.compare th, table.compare td { padding: 9px 11px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
table.compare th { background: var(--panel-2); color: var(--muted); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }

/* related links */
.rel, .linklist { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.rel li, .linklist li { margin: 0; border-bottom: 1px solid var(--line); }
.rel a, .linklist a { display: flex; justify-content: space-between; gap: 16px; padding: 9px 2px; color: var(--text); font-size: 14px; text-decoration: none; }
.rel a:hover, .linklist a:hover { color: var(--accent); }
.host { color: var(--muted); font-family: var(--mono); font-size: 12px; white-space: nowrap; }

/* IGDB info */
.gi { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 22px; align-items: start; }
.gi-cover { width: 180px; height: auto; border-radius: 8px; border: 1px solid var(--line); }
.gi-sum { color: var(--prose); }
.gi-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 18px; margin: 0; }
.gi-facts > div { border-top: 1px solid var(--line); padding-top: 6px; }

.gi-facts dt { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.gi-facts dd { margin: 2px 0 0; font-size: 13px; }
.gi-h { margin: 26px 0 10px; font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.gi-shots { display: grid; grid-template-columns: repeat(auto-fill,minmax(210px,1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.gi-shots img { display: block; width: 100%; height: auto; border-radius: 7px; border: 1px solid var(--line); }
.gi-credit { margin-top: 18px; color: var(--dim); font-size: 12px; }

/* video */
.video { position: relative; max-width: 760px; aspect-ratio: 16/9; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #0d1117; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.video .play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: rgb(0 0 0 / .25); color: #fff; font: 700 15px var(--sans); cursor: pointer; }
.video .play::before { content: "▶"; display: grid; place-items: center; width: 58px; height: 42px; margin-right: 8px; border-radius: 8px; background: #e11d2e; color: #fff; font-size: 18px; }
.video iframe { width: 100%; height: 100%; border: 0; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 12px 0; font-weight: 700; }
.faq .a { padding: 0 0 12px; color: var(--prose); }
.faq .a p { margin: 0; }

/* concept */
.concept-head { padding: 30px 0 4px; max-width: 820px; }
.concept-grid { display: grid; grid-template-columns: minmax(0,1fr) 270px; gap: 34px; align-items: start; margin-top: 22px; }
.concept-grid aside { position: sticky; top: 84px; display: grid; gap: 14px; }
.toc h3 { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.toc a { display: block; padding: 5px 0; color: var(--muted); font-size: 13px; text-decoration: none; }
.toc a:hover { color: var(--accent); }

/* decompiled cards and platforms */
.play-cards { display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap: 12px; }
.play-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 14px 16px; }
.play-card h3 { margin: 0 0 4px; font-size: 16px; }
.play-card h3 a { color: var(--text); }
.play-card .mono { margin: 0 0 10px; }
.play-meta { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }

.run-badge { padding: 3px 7px; border-radius: 5px; font-size: 12px; font-weight: 700; }
.run-badge.pc { background: var(--st-playable-bg); color: var(--st-playable-ink); }
.run-badge.emu { background: var(--st-unknown-bg); color: var(--st-unknown-ink); }
.platforms { display: grid; grid-template-columns: repeat(auto-fill,minmax(170px,1fr)); gap: 12px; }
.pcard { display: grid; gap: 3px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); color: var(--text); text-decoration: none; }
.pcard:hover { border-color: var(--line-2); }
.pcard .count { color: var(--muted); font-size: 12px; }
.pcard .short { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.pcard.ps2 .short { color: var(--ps2); }
.pcard.n64 .short { color: var(--n64); }
.pcard.gamecube .short { color: var(--gamecube); }
.pcard.xbox360 .short { color: var(--xbox360); }
.pcard.pc .short { color: var(--pc); }
.pcard .label { font-size: 13px; font-weight: 650; }
.pcard .meta { color: var(--muted); font-size: 12px; }

/* blog */
.blog-head { padding: 30px 0 4px; }
.blog-list { display: grid; gap: 18px; max-width: 920px; }
.post-card { display: grid; grid-template-columns: 240px minmax(0,1fr); gap: 20px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.post-card:not(:has(.post-img)) { grid-template-columns: 1fr; }
.post-img img { display: block; width: 100%; height: 100%; max-height: 150px; object-fit: cover; border-radius: 7px; border: 1px solid var(--line); }
.post-body h2 { margin: 0 0 8px; font-size: 20px; }
.post-body h2 a { color: var(--text); text-decoration: none; }
.post-body h2 a:hover { color: var(--accent); }
.post-body .muted { margin-bottom: 10px; }
.blog-post { max-width: 820px; }
.blog-post h1 { max-width: 28ch; }
.blog-post h2 { margin-top: 30px; }
.post-hero { margin: 20px 0 26px; }
.post-hero img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); }
.blog-post figure { margin: 16px 0; }
.blog-post figcaption { margin-top: 6px; color: var(--muted); font-family: var(--mono); font-size: 12px; }

/* footer */
.site-footer { margin-top: 50px; border-top: 1px solid var(--line); background: var(--panel); padding: 32px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .7fr; gap: 30px; }
.site-footer h2 { margin: 0 0 10px; font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 0 0 5px; }

.site-footer a { color: var(--muted); font-size: 13px; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer .notice { color: var(--legal); font-size: 12.5px; line-height: 1.6; margin: 0; }
.site-footer .fine { grid-column: 1 / -1; margin: 6px 0 0; color: var(--dim); font-size: 12px; line-height: 1.6; border-top: 1px solid var(--line); padding-top: 14px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 22px; padding-top: 30px; }
  .hero-art { display: none; }
  .hero-art { max-width: 420px; }
  .concept-grid { grid-template-columns: 1fr; }
  .concept-grid aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  h1 { font-size: 32px; }
  h2 { font-size: 22px; }
  .header-inner { height: 56px; gap: 10px; }
  .nav { gap: 0; }
  .nav a { padding: 6px 8px; font-size: 13px; }
  .nav a:nth-child(n+5) { display: none; }
  .home-browser { grid-template-columns: 1fr; }
  .home-status-list { display: none; }
  .cover-grid { grid-template-columns: repeat(auto-fill,minmax(98px,1fr)); gap: 14px 10px; }
  .changes li { grid-template-columns: 82px 44px 1fr; }
  .changes li > span:last-child { grid-column: 3; }
  .statusbar { grid-template-columns: 1fr 1fr; }
  .statusbar > div:nth-child(3n) { border-right: 1px solid var(--line); }
  .statusbar > div:nth-child(2n) { border-right: 0; }
  .statusbar > div:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .statusbar > div:nth-last-child(-n+2) { border-bottom: 0; }
  .needs { grid-template-columns: 1fr; }
  .gi { grid-template-columns: 1fr; }
  .gi-cover { width: 140px; }
  .gi-facts { grid-template-columns: 1fr; }
  .post-card { grid-template-columns: 1fr; }
  .post-card .post-img img { max-height: 200px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .table-scroll { -webkit-overflow-scrolling: touch; }
  .filters { width: 100%; }
  .filters label { flex: 1 1 120px; }
  .filters input { min-width: 0; width: 100%; }
  .wrap { padding: 0 16px; }
}
@media (max-width: 520px) {
  .nav a:nth-child(n+4) { display: none; }
  .stats { gap: 8px 14px; }
  table.games { font-size: 12.5px; }
  table.games th, table.games td { padding: 8px 9px; }
}

a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.home-platforms { margin-top: 30px; }
.home-platforms .mini { margin: 0 0 12px; font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }

.home-platforms .pcard { padding: 12px 14px; }


.pipeline-diagram { display: block; width: 100%; height: auto; max-width: 440px; margin-left: auto; }


.android-note{max-width:70ch;margin:0 0 16px}
.shot-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;margin:0;padding:0;list-style:none}
.shot-grid figure{margin:0}
.shot-grid img{display:block;width:100%;height:auto;border-radius:7px;border:1px solid var(--line)}
.shot-grid figcaption{margin-top:8px;font-size:12.5px;line-height:1.5;color:var(--muted)}


.home-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,340px);gap:32px;align-items:start}
.home-split-main{min-width:0}
.home-split-aside{min-width:0;padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}
.home-split-aside .cover-group-head{align-items:baseline;margin-bottom:6px}
.home-split-aside .android-note{margin:0 0 14px;font-size:12.5px;line-height:1.5}
.android-grid{grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:16px 10px}
@media (max-width:980px){.home-split{grid-template-columns:1fr}.home-split-aside{order:-1}}

.home-split-aside{padding:0;border:0;border-radius:0;background:transparent}


:root{--android:#3ddc84}
:root[data-theme="light"]{--android:#0f8a4a}
.pcard.android .short{color:var(--android)}
.platform-glyph.android span{color:var(--android)}
.android-more{margin:14px 0 0}
