/* 本の虫 website: the only stylesheet. System fonts only (no requests to other sites). */
:root { --bg: #f6f3ee; --fg: #23211e; --muted: #77716a; --line: #e2ddd5; --accent: #b5482f; }
@media (prefers-color-scheme: dark) { :root { --bg: #1c1b19; --fg: #ece7df; --muted: #a39c92; --line: #34312d; --accent: #e07a5f; } }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); line-height: 1.75;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Segoe UI", sans-serif; }
main { max-width: 680px; margin: 0 auto; padding: 28px 20px 64px; }
nav.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .9rem; margin-bottom: 28px; }
nav.top .home { display: flex; align-items: center; gap: 8px; color: var(--fg); text-decoration: none; font-weight: 600; }
nav.top .home img { width: 28px; height: 28px; border-radius: 7px; }
h1 { font-size: 1.5rem; line-height: 1.4; margin: 0 0 4px; }
h2 { font-size: 1.1rem; margin: 28px 0 6px; }
h3 { font-size: 1rem; margin: 20px 0 4px; }
p, li { margin: 6px 0; }
ul { padding-left: 1.3em; }
.muted { color: var(--muted); font-size: .9rem; }
a { color: var(--accent); }
.hero { text-align: center; margin: 24px 0 8px; }
.hero img { width: 96px; height: 96px; border-radius: 22px; }
.links { list-style: none; padding: 0; }
.links li { border-top: 1px solid var(--line); padding: 10px 0; }
footer { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.center { text-align: center; }
.sub { font-size: 1rem; font-weight: normal; }
