:root { color-scheme: light dark; --fg: #1a1a1a; --bg: #fff; --muted: #666; --accent: #2563eb; --border: #e5e5e5; }
@media (prefers-color-scheme: dark) { :root { --fg: #eee; --bg: #161616; --muted: #999; --border: #333; --accent: #7aa2ff; } }
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", sans-serif; color: var(--fg); background: var(--bg); line-height: 1.8; }
header, main, footer { max-width: 720px; margin: 0 auto; padding: 0 20px; }
header { padding-top: 28px; padding-bottom: 12px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: baseline; }
header .site-title { font-weight: 700; font-size: 1.1rem; color: var(--fg); text-decoration: none; }
main { padding-top: 24px; padding-bottom: 48px; }
a { color: var(--accent); }
h1 { font-size: 1.7rem; line-height: 1.4; }
h2 { font-size: 1.3rem; margin-top: 2em; }
code { background: rgba(127,127,127,.15); padding: .1em .35em; border-radius: 4px; font-size: .9em; }
pre { background: rgba(127,127,127,.12); padding: 14px 16px; border-radius: 8px; overflow-x: auto; }
pre code { background: none; padding: 0; }
time, .muted { color: var(--muted); font-size: .9rem; }
ul.posts { list-style: none; padding: 0; }
ul.posts li { padding: 8px 0; border-bottom: 1px solid var(--border); }
footer { padding-top: 16px; padding-bottom: 32px; border-top: 1px solid var(--border); color: var(--muted); font-size: .85rem; }
