:root { --fg: #222; --muted: #777; --bg: #fdfdfb; --link: #2a5d9f; --line: #e6e4df; }
@media (prefers-color-scheme: dark) { :root { --fg: #ddd; --muted: #999; --bg: #1b1b1d; --link: #8ab4f8; --line: #333; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.8 -apple-system, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif; }
main, header, footer { max-width: 680px; margin: 0 auto; padding: 0 20px; }
header { padding-top: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
header a.title { color: var(--fg); text-decoration: none; font-size: 1.4em; font-weight: 700; }
header nav { margin-top: 4px; font-size: .9em; }
header nav a { margin-right: 14px; }
a { color: var(--link); }
.post-list { list-style: none; padding: 0; }
.post-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.post-list time, .meta { color: var(--muted); font-size: .85em; }
article h1 { font-size: 1.6em; line-height: 1.4; margin-bottom: 4px; }
pre { background: rgba(127,127,127,.12); padding: 12px 14px; overflow-x: auto; border-radius: 6px; font-size: .85em; line-height: 1.5; }
code { font-family: ui-monospace, Menlo, Consolas, monospace; }
footer { color: var(--muted); font-size: .8em; padding-top: 40px; padding-bottom: 40px; }
