:root {
  --bg: #fbfbfa;
  --fg: #1a1a1a;
  --muted: #6b7280;
  --line: #e6e6e3;
  --accent: #c2410c;
  --visited: #8a6fb0;   /* read posts fade to a muted purple */
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16171a;
    --fg: #e8e8e6;
    --muted: #9096a0;
    --line: #2a2c31;
    --accent: #fb923c;
    --visited: #9a86c4;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 14.5px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.site-header,
.list,
.site-footer {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header { padding-top: 40px; padding-bottom: 2px; }
.site-header h1 { font-size: 1.35rem; letter-spacing: -0.02em; margin: 0 0 2px; }
.sub { color: var(--muted); font-size: 0.83rem; margin: 0; }

.list { list-style: none; margin: 12px auto 0; }

.row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.row:last-child { border-bottom: none; }

.favicon {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border-radius: 3px;
  object-fit: contain;
}
.favicon.placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: var(--muted);
  background: var(--line);
}

.body { min-width: 0; flex: 1; }

a.title {
  color: var(--fg);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.96rem;
}
a.title:visited { color: var(--visited); }
a.title:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 2px;
}

.meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 1px;
  color: var(--muted);
  font-size: 0.76rem;
}
.meta .blog { font-weight: 500; }
.meta .blog::after { content: "·"; margin-left: 6px; opacity: 0.5; }

.site-footer {
  padding-top: 20px;
  padding-bottom: 40px;
  color: var(--muted);
  font-size: 0.76rem;
}
.site-footer a { color: var(--accent); }
.muted { color: var(--muted); }
.empty { padding: 36px 0; }

details summary { cursor: pointer; color: var(--accent); }
#issues-list { margin: 6px 0 2px; padding-left: 18px; }
