:root {
  color-scheme: light dark;
  --bg: #fbfaf7;
  --fg: #26241f;
  --muted: #6f6a60;
  --line: #e4e0d6;
  --link: #8a4b1f;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171613;
    --fg: #e8e4da;
    --muted: #a09a8d;
    --line: #34312a;
    --link: #e0a877;
  }
}

* {
  box-sizing: border-box;
}

body {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.9;
}

a {
  color: var(--link);
}

.site-header {
  margin-bottom: 2.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.site-header a {
  color: var(--muted);
  text-decoration: none;
}

h1 {
  font-size: 1.6rem;
  line-height: 1.4;
}

h2 {
  margin-top: 2.5rem;
  font-size: 1.2rem;
}

.post-list {
  padding: 0;
  list-style: none;
}

.post-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}
