:root {
  /* Brand: the X/Bluesky banner's navy (#1f2937) and parchment (#dcc8a7). */
  color-scheme: dark;
  --bg: #1f2937; --fg: #ffffff; --muted: #b6bcc6; --rule: #374151;
  --card: #273244; --accent: #dcc8a7; --link: #dcc8a7;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 17px/1.6 var(--sans);
}
a { color: var(--link); text-underline-offset: 2px; }
header.site, main, footer.site { max-width: 46rem; margin: 0 auto; padding: 0 16px; }
header.site {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 24px; padding-top: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--rule);
}
.brand { display: inline-flex; align-items: center; gap: 10px; align-self: center; font: 700 1.25rem var(--serif); color: var(--fg); text-decoration: none; letter-spacing: .01em; }
.brand img { width: 32px; height: 32px; border-radius: 50%; }
header.site nav { display: flex; gap: 18px; font-size: .92rem; }
header.site nav a { color: var(--muted); text-decoration: none; }
header.site nav a:hover { color: var(--fg); }
main { padding-top: 28px; padding-bottom: 40px; }
h1, h2 { font-family: var(--serif); line-height: 1.25; text-wrap: balance; }
h1 { font-size: 1.75rem; margin: 0 0 12px; }
h2 { font-size: 1.2rem; margin: 32px 0 10px; }
.meta { font-size: .82rem; color: var(--muted); letter-spacing: .02em; margin: 0 0 6px; font-variant-numeric: tabular-nums; }
.intro p { color: var(--muted); margin: 0 0 24px; }
.feed { list-style: none; margin: 0; padding: 0; }
.feed li { border-top: 1px solid var(--rule); }
.card { display: block; padding: 18px 0; color: inherit; text-decoration: none; }
.card h2 { font-size: 1.12rem; margin: 0 0 6px; font-weight: 600; }
.card:hover h2 { color: var(--accent); }
.card .sub { margin: 0; font-size: .9rem; color: var(--muted); }
.hook { font: 1.15rem/1.5 var(--serif); border-left: 3px solid var(--accent); padding-left: 14px; margin: 16px 0 24px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; font-size: .93rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.riders { padding-left: 1.4rem; }
.riders li { margin-bottom: 16px; overflow-wrap: anywhere; }
.links { padding-left: 1.2rem; }
.links li { margin-bottom: 6px; }
.votes { list-style: none; margin: 0; padding: 0; }
.votes li { border-top: 1px solid var(--rule); padding: 12px 0; }
.votes p { margin: 0 0 4px; }
.vote-parties, .vote-src { font-size: .9rem; color: var(--muted); }
.votes details { margin: 6px 0; font-size: .9rem; }
.votes summary { cursor: pointer; color: var(--link); }
.other-votes > summary { cursor: pointer; color: var(--link); font-size: .93rem; margin: 8px 0; }
.vote-group { overflow-wrap: anywhere; margin-top: 8px !important; }
.note { font-size: .88rem; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 14px; margin-top: 32px; }
.banner { display: block; width: 100%; height: auto; border-radius: 8px; margin: 0 0 24px; }
.prose p, .prose li { max-width: 40rem; }
footer.site { border-top: 1px solid var(--rule); padding-top: 16px; padding-bottom: 32px; font-size: .82rem; color: var(--muted); }
footer.site p { margin: 0 0 8px; }
@media (max-width: 480px) {
  h1 { font-size: 1.45rem; }
  .facts { grid-template-columns: 1fr; gap: 0; }
  .facts dt { margin-top: 8px; font-size: .82rem; }
}
