/* SEO-CHAPTERS static KJV pages (public/kjv/**). Standalone: no app CSS, no inline styles (CSP r3). */
:root { color-scheme: light dark; --bg: #f7f7f7; --fg: #1a1a1a; --mute: #5c5c5c; --link: #a3141c; --line: #dcdcdc; }
@media (prefers-color-scheme: dark) { :root { --bg: #101010; --fg: #ececec; --mute: #a8a8a8; --link: #ff7b82; --line: #333; } }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 18px/1.65 Georgia, "Times New Roman", serif; }
a { color: var(--link); }
a:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; border-radius: 2px; }
.top, .crumbs, main, footer { max-width: 40rem; margin: 0 auto; padding: 0 1rem; }
.top { padding-top: 1rem; }
.brand { font: 700 1.1rem/1 system-ui, sans-serif; text-decoration: none; letter-spacing: .02em; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem .5rem; padding: 0; margin: .75rem 0 0; font: .9rem/1.4 system-ui, sans-serif; color: var(--mute); }
.crumbs li + li::before { content: "›"; margin-right: .5rem; }
h1 { font-size: 1.9rem; line-height: 1.2; margin: 1rem 0 .25rem; }
h1 .sub { display: block; font: .95rem/1.4 system-ui, sans-serif; color: var(--mute); margin-top: .25rem; }
h2 { font: 600 1.1rem/1.3 system-ui, sans-serif; margin: 1.5rem 0 .5rem; }
.open { font: .95rem/1.4 system-ui, sans-serif; margin: .5rem 0 1.25rem; }
.text .v { margin: 0 0 .6rem; overflow-wrap: anywhere; }
.vn { font: 700 .75rem/1 system-ui, sans-serif; vertical-align: super; text-decoration: none; margin-right: .15rem; color: var(--mute); }
.chapters, .books { list-style: none; padding: 0; display: grid; gap: .5rem; }
.chapters { grid-template-columns: repeat(auto-fill, minmax(3rem, 1fr)); }
.books { grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); }
.chapters a, .books a { display: block; padding: .6rem .5rem; min-height: 44px; text-align: center; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; font: 1rem/1.4 system-ui, sans-serif; }
.pager { display: flex; justify-content: space-between; gap: 1rem; margin: 2rem 0 1rem; font: 1rem/1.4 system-ui, sans-serif; }
.pager a { padding: .6rem 0; min-height: 44px; }
footer { margin: 2rem auto; padding-bottom: 2rem; font: .85rem/1.5 system-ui, sans-serif; color: var(--mute); border-top: 1px solid var(--line); padding-top: 1rem; }
