/* Site pages (written by scripts/site-pages.mjs). Fonts Inter and Fraunces, weights 400 to 500. */
@font-face { font-family: 'Inter'; src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/fonts/fraunces-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root { --bg: #F7F3EA; --surface: #FFFDF8; --line: #E8E1D3; --ink: #1F2421; --muted: #5E635D; --accent: #2F6B5A; --accent-ink: #FFFFFF; color-scheme: light dark; }
@media (prefers-color-scheme: dark) { :root { --bg: #12161C; --surface: #1A2028; --line: #2A313B; --ink: #EDE6D6; --muted: #A8A396; --accent: #7FC3AA; --accent-ink: #0E1A16; } }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.5rem Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; }
a { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.top, .page, .foot { max-width: 44rem; margin: 0 auto; padding: 0 1.25rem; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: max(1rem, env(safe-area-inset-top)); }
.brand { display: inline-flex; align-items: center; min-height: 44px; font: 400 1.375rem/1.75rem Fraunces, Georgia, serif; color: var(--ink); text-decoration: none; }
.top__all { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0 0.5rem; margin: 0.75rem 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.9375rem; line-height: 1.25rem; }
.crumbs li + li::before { content: '/'; margin-right: 0.5rem; color: var(--line); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.crumbs li[aria-current] { display: inline-flex; align-items: center; min-height: 44px; }
h1 { margin: 0.5rem 0 0.5rem; font: 400 1.75rem/2.125rem Fraunces, Georgia, serif; letter-spacing: -0.01em; }
h2 { margin: 2.25rem 0 0.5rem; font: 400 1.375rem/1.75rem Fraunces, Georgia, serif; }
p { margin: 0 0 0.875rem; }
section p { max-width: 38rem; }
.lead { margin: 0 0 1.25rem; font-size: 1.0625rem; line-height: 1.5rem; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin: 0 0 1.5rem; }
.cta > a:not(.play) { display: inline-flex; align-items: center; min-height: 44px; }
.play { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 1.75rem; border-radius: 14px; background: var(--accent); color: var(--accent-ink); font-weight: 500; font-size: 1.0625rem; line-height: 1.5rem; text-decoration: none; }
.play--quiet { min-height: 48px; margin-top: 0.5rem; }
.cta__note { color: var(--muted); }
.art { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
ul { margin: 0; padding-left: 1.25rem; }
li { margin: 0.25rem 0; }
.sources { margin: 0.25rem 0 0; color: var(--muted); font-size: 0.9375rem; line-height: 1.25rem; }
.sources summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; }
.sources a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.links { list-style: none; padding: 0; }
.links a { display: inline-flex; align-items: center; min-height: 44px; }
.related ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(13rem, 100%), 1fr)); gap: 0.75rem; }
.related li { margin: 0; }
.related a { display: flex; flex-direction: column; gap: 0.25rem; height: 100%; min-height: 44px; padding: 0.875rem 1rem; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--ink); text-decoration: none; }
.related__name { font: 400 1.0625rem/1.5rem Fraunces, Georgia, serif; }
.related__line { color: var(--muted); font-size: 0.9375rem; line-height: 1.25rem; }
.more ul, .games { list-style: none; padding: 0; }
.more ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.more a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr)); gap: 1rem; margin-top: 1.5rem; }
.games li { margin: 0; }
.games a { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--ink); text-decoration: none; overflow: hidden; }
.games img { display: block; width: 100%; height: auto; }
.games__name { padding: 0.875rem 1rem 0; font: 400 1.375rem/1.75rem Fraunces, Georgia, serif; }
.games__lead { padding: 0.25rem 1rem 1rem; color: var(--muted); font-size: 0.9375rem; line-height: 1.25rem; }
.guide-link { display: inline-flex; align-items: center; min-height: 44px; }
.toc { margin: 0 0 1.5rem; padding: 0.75rem 1rem; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.toc h2 { margin: 0.25rem 0 0.25rem; font-size: 1.0625rem; line-height: 1.5rem; }
.toc ol { margin: 0; padding-left: 1.25rem; }
.toc li { margin: 0; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; }
section ol, section ul { max-width: 38rem; margin: 0 0 0.875rem; }
section ol li, section ul li { margin: 0.375rem 0; }
.qa h3 { margin: 1.5rem 0 0.375rem; font: 500 1.0625rem/1.5rem Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; }
.byline { color: var(--muted); font-size: 0.9375rem; line-height: 1.25rem; margin: 0 0 1rem; }
.foot { display: flex; flex-wrap: wrap; gap: 0 1.25rem; margin-top: 3rem; padding-bottom: max(2rem, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); padding-top: 1rem; color: var(--muted); }
.foot a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.foot p { flex-basis: 100%; margin: 0.25rem 0 0; font-size: 0.8125rem; line-height: 1.125rem; }
