:root {
  --bg: #fbfaf7;
  --fg: #22211f;
  --muted: #6d6a63;
  --rule: #e4e1d9;
  --accent: #3b6e8f;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161615;
    --fg: #e9e6df;
    --muted: #a19d94;
    --rule: #2e2d2a;
    --accent: #8db8d4;
  }
}
* { box-sizing: border-box; }
html { font-size: 18px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  line-height: 1.65;
}
.wrap { max-width: 38rem; margin: 0 auto; padding: 2.5rem 1rem 4rem; }
header { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--rule); padding-bottom: 1rem; margin-bottom: 2.5rem; }
header a.home { font-size: 1.4rem; font-weight: bold; color: var(--fg); text-decoration: none; letter-spacing: -0.01em; }
nav a { margin-left: 1.1rem; color: var(--muted); text-decoration: none; font-family: system-ui, sans-serif; font-size: 0.85rem; }
nav a:hover, a:hover { color: var(--accent); }
a { color: var(--accent); }
h1 { font-size: 1.7rem; line-height: 1.25; margin: 0 0 0.3rem; }
h2 { font-size: 1.15rem; margin: 2rem 0 0.4rem; }
.meta { color: var(--muted); font-family: system-ui, sans-serif; font-size: 0.8rem; margin-bottom: 1.8rem; }
ul.posts { list-style: none; padding: 0; margin: 0; }
ul.posts li { padding: 1rem 0; border-bottom: 1px solid var(--rule); }
ul.posts a { font-size: 1.1rem; text-decoration: none; }
ul.posts .meta { margin: 0.2rem 0 0.3rem; }
ul.posts p { margin: 0; color: var(--muted); }
blockquote { margin: 1.5rem 0; padding-left: 1rem; border-left: 3px solid var(--rule); color: var(--muted); font-style: italic; }
footer { margin-top: 3.5rem; padding-top: 1rem; border-top: 1px solid var(--rule); color: var(--muted); font-family: system-ui, sans-serif; font-size: 0.78rem; }
h2.year { font-family: system-ui, sans-serif; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; color: var(--muted); margin: 2.4rem 0 0; }
ul.posts + h2.year { margin-top: 2.8rem; }
article ul, article ol { padding-left: 1.3rem; }
article li { margin: 0.3rem 0; }
p.back { margin-top: 2.5rem; font-family: system-ui, sans-serif; font-size: 0.85rem; }
p.back a { text-decoration: none; }
table.log { width: 100%; border-collapse: collapse; font-family: system-ui, sans-serif; font-size: 0.78rem; margin: 1.5rem 0; }
table.log th, table.log td { text-align: left; vertical-align: top; padding: 0.35rem 0.5rem 0.35rem 0; border-bottom: 1px solid var(--rule); }
table.log th { color: var(--muted); font-weight: 600; }
table.log td:first-child, table.log th:first-child { color: var(--muted); width: 2rem; }
@media (max-width: 600px) { table.log td:nth-child(4), table.log th:nth-child(4) { display: none; } }
