/* Will This Game Run: design system.
 * Idea: a hardware datasheet on a concrete-grey page, with the answer shown like a game's on-screen performance overlay (dark OSD panel,
 * mono numbers, frame-time graph). Orange is for actions only. Green / amber / red mean exactly what they mean in a frame-rate counter. */
:root {
  color-scheme: light dark;
  --paper: #e8ecf1; --card: #ffffff; --ink: #0e1726; --ink-2: #3a4658; --muted: #647084; --line: #d2d9e2; --soft: #f3f5f8;
  --accent: #7356ff; --accent-ink: #ffffff; --accent-hover: #8a72ff;
  --osd: #0a111d; --osd-2: #121b2b; --osd-line: #243248; --osd-ink: #e8eef8; --osd-mute: #8b9bb3;
  --great: #17b26a; --good: #79c640; --ok: #f5b301; --low: #ec8a1f; --no: #e5484d;
  --link: #1c58d9;
  --display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Martian Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #0b111b; --card: #121a27; --ink: #e8eef8; --ink-2: #b9c4d6; --muted: #8b99ae; --line: #25324a; --soft: #0f1623; --osd: #060a12; --osd-2: #0d1522; --link: #7ea6ff; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--body); }
img, svg { max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; z-index: 9999; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.mono { font-family: var(--mono); font-feature-settings: "zero"; }
.eyebrow { font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---- header ---- */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); position: relative; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 800 21px/1 var(--display); letter-spacing: -.02em; }
.logo svg { width: 34px; height: 34px; border-radius: 9px; flex: none; }
.logo span em { font-style: normal; color: var(--accent); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a, .nav summary { color: var(--ink-2); text-decoration: none; font: 600 15px/1 var(--body); padding: 10px 12px; border-radius: 9px; cursor: pointer; list-style: none; }
.nav a:hover, .nav summary:hover { background: var(--soft); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.nav details { display: none; position: relative; }
.nav summary::-webkit-details-marker { display: none; }
.menu-pop { position: absolute; right: 0; top: calc(100% + 6px); min-width: 230px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 6px; box-shadow: 0 18px 40px rgba(0,0,0,.2); display: flex; flex-direction: column; z-index: 60; }
@media (max-width: 960px) { .nav > a { display: none; } .nav details { display: block; } .menu-pop a { display: block !important; } }

/* ---- hero + checker ---- */
.hero { padding: 40px 0 26px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 34px; align-items: start; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; } .hero { padding-top: 26px; } }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.08; margin: 0; }
.hero h1 { font-size: clamp(38px, 5.6vw, 66px); font-weight: 800; }
.hero h1 b { color: var(--accent); font-weight: 800; }
.lede { font-size: 19px; color: var(--ink-2); max-width: 54ch; margin: 16px 0 0; }
.checker { margin-top: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 12px 30px -18px rgba(14,23,38,.35); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fields .full { grid-column: 1 / -1; }
.field { position: relative; display: block; }
.field > span.k { display: block; font: 600 11.5px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.field input, .field select { width: 100%; font: 500 16px/1.2 var(--body); color: var(--ink); background: var(--soft); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; }
.field input:focus, .field select:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(115,86,255,.38); }
.combo-list { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 4px); max-height: 300px; overflow: auto; background: var(--card); border: 1.5px solid var(--ink); border-radius: 12px; box-shadow: 0 18px 40px rgba(0,0,0,.28); padding: 4px; }
.combo-list[hidden] { display: none; }
.combo-list li { list-style: none; padding: 9px 10px; border-radius: 8px; cursor: pointer; display: flex; justify-content: space-between; gap: 10px; font-size: 15px; }
.combo-list li small { color: var(--muted); font: 500 12px/1.6 var(--mono); white-space: nowrap; }
.combo-list li[aria-selected="true"], .combo-list li:hover { background: var(--ink); color: var(--paper); }
.combo-list li[aria-selected="true"] small, .combo-list li:hover small { color: var(--osd-mute); }
.combo-list ul { margin: 0; padding: 0; }
.row-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
.btn { appearance: none; border: 0; border-radius: 12px; background: var(--accent); color: var(--accent-ink); font: 700 16px/1 var(--body); padding: 15px 24px; cursor: pointer; text-decoration: none; display: inline-block; transition: transform .08s, background-color .15s; }
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); font-weight: 600; padding: 13px 16px; }
.btn.ghost:hover { border-color: var(--ink); }
.hint { color: var(--muted); font-size: 14px; margin: 10px 0 0; }
.seg { display: inline-flex; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--soft); }
.seg button { appearance: none; border: 0; background: transparent; color: var(--ink-2); font: 600 14px/1 var(--mono); padding: 11px 14px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* ---- the on-screen-display panel (signature) ---- */
.osd { background: var(--osd); color: var(--osd-ink); border-radius: 18px; padding: 18px 20px 16px; position: relative; overflow: hidden; border: 1px solid var(--osd-line);
  background-image: linear-gradient(var(--osd-line) 1px, transparent 1px), linear-gradient(90deg, var(--osd-line) 1px, transparent 1px); background-size: 100% 28px, 28px 100%; background-position: -1px -1px; }
.osd::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,17,29,.55), rgba(10,17,29,.92) 70%); pointer-events: none; }
.osd > * { position: relative; }
.osd-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.osd .tag { font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--osd-mute); }
.osd .fps { font: 700 clamp(64px, 11vw, 110px)/.9 var(--mono); letter-spacing: -.05em; margin-top: 10px; display: flex; align-items: baseline; gap: 10px; }
.osd .fps small { font: 600 16px/1 var(--mono); color: var(--osd-mute); letter-spacing: .04em; }
.osd[data-level="great"] .fps b { color: var(--great); } .osd[data-level="good"] .fps b { color: var(--good); } .osd[data-level="ok"] .fps b { color: var(--ok); }
.osd[data-level="low"] .fps b { color: var(--low); } .osd[data-level="no"] .fps b { color: var(--no); } .osd[data-level="idle"] .fps b { color: var(--osd-mute); }
.verdict { font: 800 clamp(24px, 3.4vw, 34px)/1.1 var(--display); margin: 10px 0 0; }
.verdict-sub { color: var(--osd-mute); font-size: 15px; margin: 6px 0 0; max-width: 48ch; }
.graph { margin-top: 16px; height: 96px; width: 100%; display: block; }
.graph .ref { stroke: var(--osd-line); stroke-width: 1; stroke-dasharray: 3 4; }
.graph .reftxt { fill: var(--osd-mute); font: 500 10px var(--mono); }
.graph .line { fill: none; stroke-width: 2; stroke-linejoin: round; }
.osd[data-level="great"] .graph .line { stroke: var(--great); } .osd[data-level="good"] .graph .line { stroke: var(--good); } .osd[data-level="ok"] .graph .line { stroke: var(--ok); }
.osd[data-level="low"] .graph .line { stroke: var(--low); } .osd[data-level="no"] .graph .line { stroke: var(--no); } .osd[data-level="idle"] .graph .line { stroke: var(--osd-mute); }
.osd-foot { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font: 500 11.5px/1.5 var(--mono); color: var(--osd-mute); }
.pill { display: inline-block; font: 700 12px/1 var(--mono); letter-spacing: .04em; padding: 6px 9px; border-radius: 99px; background: var(--osd-2); border: 1px solid var(--osd-line); color: var(--osd-ink); }
.pill.great { color: var(--great); } .pill.good { color: var(--good); } .pill.ok { color: var(--ok); } .pill.low { color: var(--low); } .pill.no { color: var(--no); }

/* ---- results below the panel ---- */
.result { margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.card h2, .card h3 { font-size: 20px; margin-bottom: 10px; }
.gauges { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.gauge .gl > * { min-width: 0; overflow-wrap: anywhere; }
.gauge .gl { display: flex; justify-content: space-between; gap: 10px; font: 600 13px/1.3 var(--body); margin-bottom: 6px; }
.gauge .gl b { font-family: var(--display); font-size: 15px; }
.gauge .gl span { color: var(--muted); font-weight: 500; }
.bar { position: relative; height: 12px; background: var(--soft); border: 1px solid var(--line); border-radius: 99px; }
.bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; background: var(--ink); }
.gauge.ok .bar i { background: var(--great); } .gauge.mid .bar i { background: var(--ok); } .gauge.bad .bar i { background: var(--no); }
.bar u { position: absolute; top: -5px; bottom: -5px; width: 2px; background: var(--ink-2); text-decoration: none; }
.bar u::after { content: attr(data-l); position: absolute; top: 20px; left: 50%; transform: translateX(-50%); font: 600 10px/1 var(--mono); color: var(--muted); white-space: nowrap; }
.gauge { padding-bottom: 14px; }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; }
table.data th, table.data td { text-align: left; padding: 10px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { font: 600 11.5px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
table.data td.num, table.data th.num { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }
table.data tr:last-child td { border-bottom: 0; }
.scroll { overflow-x: auto; }
.cell-great { color: var(--great); font-weight: 700; } .cell-good { color: #5aa327; font-weight: 700; } .cell-ok { color: #c48f00; font-weight: 700; } .cell-low { color: var(--low); font-weight: 700; } .cell-no { color: var(--no); font-weight: 700; }
@media (prefers-color-scheme: dark) { .cell-good { color: var(--good); } .cell-ok { color: var(--ok); } }
.notes { margin: 8px 0 0; padding-left: 1.1em; color: var(--ink-2); font-size: 15.5px; }
.notes li { margin-bottom: 6px; }

/* ---- page sections ---- */
.section { padding: 34px 0; }
.section h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 8px; }
.section .sub { color: var(--ink-2); margin: 0 0 22px; max-width: 62ch; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.tile { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.tile:hover { border-color: var(--ink); transform: translateY(-2px); }
.tile .eyebrow { display: block; margin-bottom: 14px; }
.tile h3 { font-size: 21px; margin-bottom: 6px; }
.tile p { margin: 0; color: var(--ink-2); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips a { display: inline-block; text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 9px 14px; font: 600 14.5px/1 var(--body); }
.chips a:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.chips small { color: var(--muted); font: 500 12px var(--mono); margin-left: 6px; }
.chips a:hover small { color: var(--osd-mute); }

/* ---- content pages ---- */
.page-head { padding: 30px 0 8px; }
.page-head h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; max-width: 22ch; }
.page-head .lede { margin-top: 12px; }
.crumbs { font: 500 12.5px/1.4 var(--mono); color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.content { max-width: 760px; }
.content h2 { font-size: 28px; margin: 1.8em 0 .5em; } .content h3 { font-size: 21px; margin: 1.4em 0 .4em; }
.content p { margin: 0 0 1.05em; } .content ul, .content ol { padding-left: 1.3em; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 15px 18px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 700 22px/1 var(--display); color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 18px 4px; margin: 0 0 14px; color: var(--ink-2); }
.spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 18px 0; }
.spec > div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.spec .k { font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.spec .v { font: 700 24px/1.2 var(--display); margin-top: 8px; }
.spec .v small { font: 500 13px var(--mono); color: var(--muted); }
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .vs { grid-template-columns: 1fr; } }
.win { background: color-mix(in srgb, var(--great) 12%, transparent); }
.note-box { border-left: 4px solid var(--accent); background: var(--card); border-radius: 0 12px 12px 0; padding: 14px 18px; color: var(--ink-2); font-size: 15.5px; margin: 20px 0; }

/* ---- footer ---- */
.site-footer { margin-top: 56px; background: var(--card); border-top: 1px solid var(--line); padding: 34px 0; color: var(--ink-2); font-size: 14.5px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
@media (max-width: 820px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
.site-footer h3 { font: 700 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; } .site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--ink-2); }
.fine { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; max-width: 100ch; }

@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } .btn { width: 100%; text-align: center; } body { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- round 2: charts, dropdown nav, stats, lists ---- */
.hbars { display: grid; gap: 9px; }
.hbar { display: grid; grid-template-columns: minmax(96px, 210px) minmax(0, 1fr) auto; align-items: center; gap: 12px; font-size: 14.5px; }
.hbar .lb { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbar .lb a { color: inherit; text-decoration: none; } .hbar .lb a:hover { text-decoration: underline; }
.hbar .tr { height: 14px; background: var(--soft); border: 1px solid var(--line); border-radius: 99px; overflow: hidden; display: block; }
.hbar .tr i { display: block; height: 100%; border-radius: 99px; background: var(--ink-2); }
.hbar b { font: 700 13px/1 var(--mono); min-width: 3.4em; text-align: right; }
.hbar.me .lb { color: var(--ink); font-weight: 700; } .hbar.me .tr { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(115,86,255,.28); }
.l-great { background: var(--great) !important; } .l-good { background: var(--good) !important; } .l-ok { background: var(--ok) !important; } .l-low { background: var(--low) !important; } .l-no { background: var(--no) !important; }
.l-ink { background: var(--ink-2) !important; } .l-accent { background: var(--accent) !important; } .l-blue { background: var(--link) !important; }
@media (max-width: 560px) { .hbar { grid-template-columns: minmax(0, 1fr) auto; } .hbar .tr { grid-column: 1 / -1; grid-row: 2; } }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font: 500 12px/1.4 var(--mono); color: var(--muted); margin-top: 12px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

.nav .dd { position: relative; }
.nav .dd summary { display: block; }
.nav .dd summary::after { content: "\25BE"; margin-left: 6px; font-size: 11px; color: var(--muted); }
.nav .dd .menu-pop { right: auto; left: 0; }
.nav .dd:not([open]) .menu-pop { display: none; }
.nav .dd[open] summary { background: var(--soft); color: var(--ink); }
.nav .dd.on summary { background: var(--ink); color: var(--paper); }
@media (max-width: 960px) { .nav .dd { display: none; } .nav > details:not(.dd) { display: block; } }
@media (min-width: 961px) { .nav > details:not(.dd) { display: none; } }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 8px 0 0; }
.stats div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.stats b { display: block; font: 800 28px/1.1 var(--display); letter-spacing: -.02em; } .stats span { color: var(--muted); font: 600 11.5px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.examples { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.examples > span { font: 600 11.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.examples button { appearance: none; border: 1px solid var(--line); background: var(--soft); color: var(--ink); border-radius: 99px; padding: 8px 12px; font: 600 13.5px/1 var(--body); cursor: pointer; }
.examples button:hover { border-color: var(--ink); }
.updated { font: 500 12.5px/1.4 var(--mono); color: var(--muted); margin: 10px 0 0; }
.badge { display: inline-block; font: 700 11px/1 var(--mono); letter-spacing: .06em; padding: 5px 8px; border-radius: 7px; background: var(--ink); color: var(--paper); text-transform: uppercase; }
.tier { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin-bottom: 12px; }
.tier .t { font: 800 44px/1 var(--display); text-align: center; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #0e1726; }
.tier .t-S { background: #7356ff; color: #fff; } .tier .t-A { background: #f5b301; } .tier .t-B { background: #79c640; } .tier .t-C { background: #17b26a; color: #fff; } .tier .t-D { background: #5aa0e6; } .tier .t-E { background: #9aa6b8; }
.tier h3 { font-size: 18px; margin-bottom: 4px; } .tier p { margin: 0 0 10px; color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 560px) { .tier { grid-template-columns: 1fr; } .tier .t { height: 56px; } }
.cols2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 14px; }
.meta-row span { font: 600 12.5px/1 var(--mono); color: var(--ink-2); background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 7px 11px; }
.answer { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 0 14px 14px 0; padding: 16px 20px; font-size: 18px; color: var(--ink); max-width: 80ch; }
.answer b { font-weight: 700; }
.credit { font: 500 12.5px/1.5 var(--mono); color: var(--muted); margin-top: 12px; }
.credit a { color: var(--muted); }
.pager { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.pager a, .pager span { padding: 8px 13px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); background: var(--card); font: 600 14px/1 var(--mono); }
.pager span { background: var(--ink); color: var(--paper); }

.duel { display: grid; gap: 14px; }
.drow { display: grid; gap: 4px; }
.drow .dl { font: 600 14px/1.3 var(--body); color: var(--ink-2); }
.drow .db { display: grid; grid-template-columns: minmax(0, 1fr) 4.2em; gap: 10px; align-items: center; }
.drow .tr { height: 12px; background: var(--soft); border: 1px solid var(--line); border-radius: 99px; overflow: hidden; display: block; }
.drow .tr i { display: block; height: 100%; border-radius: 99px; }
.drow b { font: 700 13px/1 var(--mono); text-align: right; }
.legend i.l-blue { background: var(--link); } .legend i.l-accent { background: var(--accent); }
@media (min-width: 961px) { .nav .dd { display: block; } }

table.data td.num { white-space: nowrap; }

.section.prose { padding: 14px 0; }
.section.prose .content h2 { margin-top: 0; font-size: clamp(24px, 3vw, 30px); }
.section.prose .content p { color: var(--ink-2); }
.section.prose .content b { color: var(--ink); }

/* ---- report dialog and the little i button ---- */
.checker { position: relative; }
.infobtn { position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--soft); color: var(--ink-2); font: italic 700 14px/1 Georgia, serif; cursor: pointer; padding: 0; display: grid; place-items: center; }
.infobtn:hover { border-color: var(--ink); color: var(--ink); }
.linkbtn { appearance: none; border: 0; background: none; padding: 0; color: var(--link); text-decoration: underline; cursor: pointer; font: inherit; }
.combo-list li.nomatch { display: block; cursor: default; } .combo-list li.nomatch:hover { background: transparent; color: inherit; }
.rdialog { border: 1px solid var(--line); border-radius: 18px; background: var(--card); color: var(--ink); padding: 22px; width: min(480px, calc(100% - 28px)); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.rdialog::backdrop { background: rgba(8, 14, 24, .62); }
.rdialog h2 { font-size: 24px; margin-bottom: 8px; }
.rdialog textarea { width: 100%; font: 500 16px/1.4 var(--body); color: var(--ink); background: var(--soft); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; resize: vertical; }
.rdialog textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(115,86,255,.38); }
.rdialog .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.rstatus { min-height: 22px; margin: 12px 0 0; font-size: 14.5px; } .rstatus.ok { color: var(--great); font-weight: 600; } .rstatus.err { color: var(--no); font-weight: 600; }
/* ---- prose cards (hub and page text) ---- */
.section.prose { padding: 14px 0; }
.prose-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr)); gap: 16px; align-items: start; }
.prose-grid.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.prose-card h2 { font-size: 21px; margin: 0 0 10px; }
.prose-card p { margin: 0 0 .85em; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; max-width: 72ch; }
.prose-card p:last-child { margin-bottom: 0; }
.prose-card b { color: var(--ink); }
/* ---- game cards, long link lists, hardware icons, browse bar ---- */
.ggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.gcard { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.gcard:hover { border-color: var(--ink); transform: translateY(-2px); }
.gimg { position: relative; display: block; aspect-ratio: 460 / 215; background: linear-gradient(135deg, hsl(var(--h, 220) 45% 26%), hsl(calc(var(--h, 220) + 50) 50% 12%)); overflow: hidden; }
.gimg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.gph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px 14px; font: 800 19px/1.15 var(--display); letter-spacing: -.01em; color: rgba(255,255,255,.88); text-wrap: balance; }
.gtxt { display: block; padding: 10px 12px 12px; }
.gtxt b { display: block; font: 700 15px/1.25 var(--display); letter-spacing: -.01em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 2.5em; }
.gtxt small { display: block; margin-top: 6px; color: var(--muted); font: 500 12px/1.3 var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gbanner { margin: 16px 0 0; max-width: 460px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.gbanner .gimg { border-radius: 0; }

.linklist { list-style: none; margin: 0; padding: 0; columns: 3 250px; column-gap: 36px; }
.linklist li { break-inside: avoid; padding: 5px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; font-size: 15px; }
.linklist a { color: var(--ink); text-decoration: none; } .linklist a:hover { color: var(--link); text-decoration: underline; }
.linklist small { color: var(--muted); font: 500 12px/1.6 var(--mono); white-space: nowrap; }
.tier .linklist { columns: 2 220px; }

.hwicon { float: right; margin: 0 0 8px 20px; width: 112px; height: 112px; padding: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.hwicon-svg { width: 100%; height: 100%; display: block; }
@media (max-width: 640px) { .hwicon { width: 72px; height: 72px; padding: 6px; border-radius: 14px; } }

.browse-bar { display: grid; grid-template-columns: minmax(0, 1fr) 190px 190px auto; gap: 10px; align-items: center; margin: 18px 0 8px; }
.browse-bar input[type=search], .browse-bar select { width: 100%; font: 500 16px/1.2 var(--body); color: var(--ink); background: var(--card); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; }
.browse-bar input:focus, .browse-bar select:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(115,86,255,.38); }
.browse-bar label.chk { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; white-space: nowrap; }
@media (max-width: 860px) { .browse-bar { grid-template-columns: 1fr 1fr; } .browse-bar input[type=search] { grid-column: 1 / -1; } }
.browse-meta { color: var(--muted); font: 500 13px/1.4 var(--mono); margin: 4px 0 14px; }
.browse-more { display: flex; justify-content: center; margin-top: 20px; }
details.azlist { margin-top: 30px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 6px 18px; }
details.azlist summary { cursor: pointer; padding: 12px 0; font: 700 17px/1.2 var(--display); }
details.azlist h3 { font: 700 13px/1 var(--mono); letter-spacing: .08em; color: var(--muted); margin: 18px 0 8px; }

.hwicon { margin-top: 14px; }

/* ---- "Can I run it?" button on game cards ---- */
.gcard { display: flex; flex-direction: column; }
.gcard .glink { display: block; color: inherit; text-decoration: none; flex: 1; }
.gbtn { display: block; margin: 0 12px 12px; padding: 7px 10px; border-radius: 9px; border: 1px solid var(--line); background: var(--soft); color: var(--ink-2); font: 600 13px/1.2 var(--body); text-align: center; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s; }
.gbtn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ---- what can my PC run ---- */
.what-counts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-top: 12px; }
.what-count { display: block; text-decoration: none; color: var(--ink); background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; border-top: 4px solid var(--muted); }
.what-count b { display: block; font: 800 26px/1.1 var(--display); } .what-count span { font: 600 12px/1.3 var(--mono); color: var(--muted); letter-spacing: .04em; }
.what-count.lv-great { border-top-color: var(--great); } .what-count.lv-good { border-top-color: var(--good); } .what-count.lv-ok { border-top-color: var(--ok); } .what-count.lv-low { border-top-color: var(--low); } .what-count.lv-no { border-top-color: var(--no); }
.what-group { margin-top: 28px; } .what-group h2 { font-size: 24px; margin-bottom: 4px; } .what-group h2 small { color: var(--muted); font-size: 14px; margin-left: 6px; }
