:root {
  --bg: #faf9f7;
  --fg: #1c1917;
  --muted: #78716c;
  --accent: #9f1239;
  --border: #e7e5e4;
  --card: #ffffff;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.75;
}
.container { max-width: 720px; margin: 0 auto; padding: 0 20px; }
.site-header { border-bottom: 1px solid var(--border); background: var(--card); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { font-weight: 700; font-size: 18px; color: var(--fg); text-decoration: none; }
nav a { margin-left: 18px; color: var(--muted); text-decoration: none; font-size: 14px; }
nav a:hover { color: var(--accent); }
main { padding: 40px 0 60px; }
.hero h1 { font-size: 30px; margin: 0 0 6px; }
.subtitle { color: var(--muted); margin: 0 0 32px; }
.post-card { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 18px 22px; margin-bottom: 16px; }
.post-card h2 { margin: 0 0 4px; font-size: 19px; }
.post-card h2 a { color: var(--fg); text-decoration: none; }
.post-card h2 a:hover { color: var(--accent); }
.post-card time, .post time { color: var(--muted); font-size: 13px; }
.post-card p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.post-list { list-style: none; padding: 0; }
.post-list li { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.post-list time { color: var(--muted); font-size: 13px; flex-shrink: 0; padding-top: 3px; }
.post-list a { color: var(--fg); text-decoration: none; }
.post-list a:hover { color: var(--accent); }
.post h1 { font-size: 26px; margin: 0 0 6px; }
.content { margin-top: 20px; font-size: 16px; }
.content h2 { font-size: 21px; margin-top: 1.6em; }
.content h3 { font-size: 18px; }
.content p { margin: 1em 0; }
.content img { max-width: 100%; border-radius: 8px; }
.content blockquote { margin: 1em 0; padding: 2px 16px; border-left: 3px solid var(--accent); background: #f5f5f4; color: var(--muted); }
.content code { background: #f0efed; padding: 2px 5px; border-radius: 4px; font-size: 0.9em; }
.content table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: 14px; }
.content th, .content td { border: 1px solid var(--border); padding: 6px 10px; text-align: left; }
.content th { background: #f5f5f4; }
.back { margin-top: 32px; font-size: 14px; }
.back a { color: var(--accent); text-decoration: none; }
.site-footer { border-top: 1px solid var(--border); padding: 18px 0; color: var(--muted); font-size: 13px; }
