:root {
  --max-w: 65ch;
  --bg: #fff;
  --text: #111;
  --link: #0055bb;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #121212; --text: #e0e0e0; --link: #66b2ff; }
}
body {
  max-width: var(--max-w);
  margin: 2rem auto;
  padding: 0 1rem;
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
header, footer { margin: 2rem 0; }
nav a { margin-right: 1rem; }
.post-title { margin-bottom: 0.2rem; }
.post-date { font-size: 0.85rem; color: #777; margin-bottom: 1.5rem; }
.nav-links { display: flex; justify-content: space-between; margin-top: 2rem; }
textarea, input[type="text"], input[type="password"] {
  width: 100%; display: block; margin-bottom: 1rem; padding: 0.5rem; box-sizing: border-box;
}