:root {
  color-scheme: light dark;
  --fg: #1a1a1a;
  --muted: #666;
  --accent: #2563eb;
  --border: #e5e5e5;
  --bg: #fff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fg: #e8e8e8;
    --muted: #999;
    --accent: #7aa7ff;
    --border: #333;
    --bg: #111;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 17px;
  line-height: 1.8;
}
.site-header, main, .site-footer {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}
.site-header { padding-top: 56px; padding-bottom: 8px; }
.site-header h1 { font-size: 28px; margin: 0; }
.site-header h1 a { color: var(--fg); text-decoration: none; }
.tagline { color: var(--muted); margin: 4px 0 0; }
main { padding-top: 32px; padding-bottom: 48px; }
.post-list { list-style: none; margin: 0; padding: 0; }
.post-list li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.post-list time {
  color: var(--muted);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.post-list a { color: var(--fg); text-decoration: none; }
.post-list a:hover { color: var(--accent); text-decoration: underline; }
article h1 { font-size: 26px; line-height: 1.4; margin: 0 0 8px; }
article time { color: var(--muted); font-size: 14px; }
article p { margin: 1.2em 0; }
article h2 { font-size: 20px; margin: 1.6em 0 0.6em; }
article a { color: var(--accent); }
.back { margin-top: 40px; }
.back a { color: var(--muted); text-decoration: none; }
.back a:hover { color: var(--accent); }
.site-footer {
  padding-top: 16px;
  padding-bottom: 48px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--border);
}
@media (max-width: 560px) {
  .post-list li { flex-direction: column; gap: 2px; }
  body { font-size: 16px; }
}
