* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0d1117;
  --surface: #161b22;
  --text: #e6edf3;
  --muted: #8b949e;
  --accent: #58a6ff;
  --green: #3fb950;
  --border: #30363d;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1rem;
}

header {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
  margin-bottom: 2rem;
}

nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  font-family: 'Courier New', monospace;
}

.tagline {
  color: var(--muted);
  font-size: 0.85rem;
}

.post-card {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

.post-card h2 {
  font-size: 1.2rem;
  margin: 0.3rem 0 0.5rem;
}

.post-card h2 a {
  color: var(--text);
  text-decoration: none;
}

.post-card h2 a:hover {
  color: var(--accent);
}

.post-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.tag {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.1rem 0.5rem;
  border-radius: 3px;
  font-size: 0.75rem;
}

.source {
  color: var(--muted);
  font-size: 0.8rem;
}

.post-single h1 {
  font-size: 1.8rem;
  margin: 0.5rem 0 1.5rem;
  line-height: 1.3;
}

.content {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.content p {
  margin-bottom: 1rem;
}

.content ul, .content ol {
  margin: 0.5rem 0 1rem 1.5rem;
}

.back {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
}

footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.8rem;
}

footer a {
  color: var(--accent);
  text-decoration: none;
}

.pagination {
  padding: 1rem 0;
  text-align: center;
}

.pagination a {
  color: var(--accent);
  text-decoration: none;
  margin: 0 0.5rem;
}
