:root {
  --fg: #1f2328;
  --muted: #656d76;
  --accent: #0969da;
  --bg: #ffffff;
  --soft: #f6f8fa;
  --border: #d1d9e0;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.7;
}
.container { max-width: 820px; margin: 0 auto; padding: 0 16px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header { border-bottom: 1px solid var(--border); background: var(--soft); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.site-title { font-size: 1.3rem; font-weight: 700; color: var(--fg); }
.site-nav a { margin-left: 18px; color: var(--fg); }
.site-nav a.active { color: var(--accent); font-weight: 600; }

main.container { padding-top: 28px; padding-bottom: 48px; }
.hero { text-align: center; padding: 24px 0 8px; }
.hero h1 { font-size: 2.2rem; margin: 0 0 6px; }
.hero p { color: var(--muted); margin: 0; }

.column-block { margin-top: 32px; }
.column-block h2 { font-size: 1.25rem; border-bottom: 2px solid var(--border); padding-bottom: 6px; }
.column-block h2 a { color: var(--fg); }

.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li { padding: 10px 0; border-bottom: 1px solid var(--soft); }
.post-list time { color: var(--muted); font-size: 0.9rem; margin-right: 10px; }
.post-list .summary { color: var(--muted); margin: 4px 0 0; font-size: 0.95rem; }
.empty-note { color: var(--muted); }

.post h1 { font-size: 1.8rem; line-height: 1.35; margin-bottom: 4px; }
.post-meta { color: var(--muted); font-size: 0.9rem; margin-top: 0; }
.post-body img { max-width: 100%; }
.post-body pre { background: var(--soft); padding: 12px; overflow-x: auto; border-radius: 6px; }
.post-body code { background: var(--soft); padding: 1px 5px; border-radius: 4px; font-size: 0.92em; }
.post-body pre code { background: none; padding: 0; }
.post-body blockquote { border-left: 3px solid var(--border); margin: 0; padding-left: 14px; color: var(--muted); }
.post-body table { border-collapse: collapse; }
.post-body th, .post-body td { border: 1px solid var(--border); padding: 6px 10px; }

.post-nav { display: flex; justify-content: space-between; margin-top: 36px; font-size: 0.95rem; }
.post-nav .next { margin-left: auto; }

.site-footer { border-top: 1px solid var(--border); color: var(--muted); font-size: 0.9rem; padding: 18px 0 28px; }
