/* Calm, high-contrast, no animations. */
:root {
  --bg: #fbf8f3; --surface: #ffffff; --text: #1d2529; --muted: #3d4a50;
  --accent: #1f5a55; --accent-soft: #e4efec; --border: #8a9a9f; --focus: #8a3b00;
  --warn-soft: #fbf0dc;
}
*, *::before, *::after { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) { * { scroll-behavior: auto; } }
* { animation: none !important; transition: none !important; }
html { font-size: 112.5%; }
body { margin: 0; background: var(--bg); color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; line-height: 1.6; }
a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--text); color: #fff; padding: .6rem 1rem; z-index: 10; }
.skip-link:focus { left: 1rem; top: 1rem; }
.wrap { max-width: 64rem; margin: 0 auto; padding: 0 1.25rem; }
header.site { background: var(--surface); border-bottom: 2px solid var(--border); }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding-top: .9rem; padding-bottom: .9rem; }
.brand { font-weight: 700; font-size: 1.25rem; color: var(--text); text-decoration: none; }
.brand span { color: var(--accent); }
nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 0; padding: 0; }
nav a[aria-current="page"] { font-weight: 700; color: var(--text); }
main { padding: 2rem 0 3rem; }
h1 { font-size: 2rem; line-height: 1.25; margin: .25rem 0 1rem; }
h2 { font-size: 1.4rem; margin-top: 2rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 42rem; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 1.1rem 1.25rem; }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.button { display: inline-block; background: var(--accent); color: #fff; padding: .7rem 1.2rem; border-radius: 8px; text-decoration: none; font-weight: 600; border: 2px solid var(--accent); }
.button:hover { background: var(--text); border-color: var(--text); color: #fff; }
.button.secondary { background: transparent; color: var(--accent); }
.note { background: var(--warn-soft); border-left: 5px solid #8a5a00; padding: .8rem 1rem; border-radius: 6px; }
.tag { display: inline-block; background: var(--accent-soft); color: var(--text); border: 1px solid var(--border); border-radius: 999px; padding: .05rem .6rem; font-size: .85rem; margin: .15rem .2rem .15rem 0; }
fieldset { border: 1px solid var(--border); border-radius: 8px; padding: .6rem 1rem 1rem; margin: 0; background: var(--surface); }
legend { font-weight: 700; padding: 0 .3rem; }
.filters { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); margin-bottom: 1rem; }
.filters label.check { display: flex; gap: .5rem; align-items: flex-start; margin: .25rem 0; }
input[type="search"], select { font: inherit; padding: .55rem .7rem; border: 2px solid var(--border); border-radius: 6px; width: 100%; background: #fff; color: var(--text); }
input[type="checkbox"] { width: 1.1rem; height: 1.1rem; margin-top: .3rem; accent-color: var(--accent); }
button { font: inherit; cursor: pointer; }
.game-list { list-style: none; padding: 0; display: grid; gap: .8rem; }
.game-list li h3 { margin: 0 0 .2rem; font-size: 1.15rem; }
.meta { color: var(--muted); font-size: .95rem; margin: .1rem 0; }
table { border-collapse: collapse; width: 100%; background: var(--surface); }
th, td { border: 1px solid var(--border); padding: .55rem .7rem; text-align: left; vertical-align: top; }
th { background: var(--accent-soft); }
.status { font-weight: 600; color: var(--muted); }
.affiliate-slot { border: 2px dashed var(--border); border-radius: 8px; padding: .8rem 1rem; color: var(--muted); background: var(--surface); }
footer.site { border-top: 2px solid var(--border); background: var(--surface); padding: 1.25rem 0; font-size: .95rem; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.alert { background: #fde8e4; border: 3px solid #8f1d0f; border-radius: 8px; padding: 1rem 1.2rem; margin: 1rem 0; }
.alert h2 { margin-top: 0; color: #6e1409; }
.checking { background: var(--warn-soft); border-left: 5px solid #8a5a00; padding: .5rem .8rem; border-radius: 6px; margin: .4rem 0 0; font-size: .95rem; }
.score { font-weight: 700; white-space: nowrap; }
.score-unknown { font-weight: 600; color: var(--muted); font-style: italic; }
.rated-badge { display: inline-block; background: var(--accent); color: #fff; border-radius: 999px; padding: .05rem .65rem; font-size: .85rem; font-weight: 700; margin-left: .4rem; vertical-align: middle; }
.mode { margin-top: 2rem; }
