:root {
  --bg: #0E1218;
  --paper: #161C24;
  --paper-2: #1C2430;
  --ink: #E8E0D0;
  --muted: #9AA3B0;
  --line: #2A3340;
  --accent: #C9A66B;
  --accent-soft: #2A2418;
  --chip-on: #E8E0D0;
  --chip-on-text: #0E1218;
  --link: #D4C4A0;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
}
body {
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 22px 88px;
}
.site-header { margin-bottom: 8px; }
.kicker {
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 10px;
}
h1 {
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(34px, 5vw, 46px);
  font-weight: 600;
  margin: 0 0 10px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.lede {
  color: var(--muted);
  max-width: 58ch;
  line-height: 1.55;
  margin: 0 0 20px;
  font-size: 16px;
}
.top-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.nav-link {
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
}
.nav-link[aria-current="page"] {
  background: var(--chip-on);
  color: var(--chip-on-text);
  border-color: var(--chip-on);
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.filter {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 600;
}
.filter select {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 14px;
  min-width: 160px;
  font-family: inherit;
}
.meta-row {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 16px;
}
.status { color: var(--muted); }
.feed { display: flex; flex-direction: column; gap: 12px; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
}
.card-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
  margin-bottom: 8px;
}
.card-name {
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.card-name:hover { color: var(--accent); }
.card-handle { color: var(--muted); font-size: 13px; }
.card-cat {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 3px 8px;
  font-weight: 600;
}
.card-time {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}
.card-text {
  white-space: pre-wrap;
  line-height: 1.5;
  font-size: 15px;
  margin: 0 0 12px;
}
.card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.card-link {
  color: var(--link);
  text-decoration: none;
  font-weight: 500;
}
.card-link:hover { text-decoration: underline; }
.chip-scroller { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.day-chip, .cat-chip {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
}
.day-chip[aria-current="true"], .cat-chip[aria-current="true"] {
  background: var(--chip-on);
  color: var(--chip-on-text);
  border-color: var(--chip-on);
}
#archive-h, #handles-h {
  font-family: Newsreader, Georgia, serif;
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 4px;
}
.section-note { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.handle-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.handle-item {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: baseline;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}
.handle-item a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.handle-item a:hover { color: var(--accent); }
.handle-user { color: var(--muted); font-size: 13px; }
footer {
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.sep { margin: 0 6px; opacity: .5; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.empty {
  color: var(--muted);
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  text-align: center;
}
