:root {
  color-scheme: dark;
  --paper: #090f0c;
  --panel: #101c16;
  --text: #e0efe1;
  --muted: #a6bbae;
  --line: #355344;
  --accent: #a8ee81;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--text); line-height: 1.6; }
a { color: var(--accent); text-underline-offset: .24em; }
a:hover { color: white; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.wrap { width: min(61rem, calc(100% - 3rem)); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; padding: .5rem; background: var(--panel); transform: translateY(-200%); }
.skip:focus { transform: none; z-index: 2; }
header { border-bottom: 1px solid var(--line); }
header .wrap { min-height: 4.25rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .25rem 1rem; padding-block: .5rem; }
.brand { font-weight: 700; color: var(--text); text-decoration: none; font-size: 1.1rem; }
.brand span { color: var(--accent); }
.back { font-size: .82rem; padding-block: .55rem; }
.hero { padding: clamp(3.2rem, 11vw, 6.5rem) 0 clamp(2rem, 5vw, 3.75rem); }
h1 { margin: 0; font-family: system-ui, sans-serif; font-weight: 850; letter-spacing: -.075em; line-height: 1; font-size: clamp(3rem, 9vw, 6.3rem); }
h1 span { color: var(--accent); font-family: ui-monospace, monospace; }
.hero p { max-width: 52ch; margin: 1.15rem 0 0; color: var(--muted); font-size: .98rem; }
.filters { display: flex; flex-wrap: wrap; gap: .45rem; padding: .95rem; background: var(--panel); border: 1px solid var(--line); border-radius: .3rem; }
button { border: 1px solid transparent; background: transparent; color: var(--text); border-radius: .2rem; padding: .43rem .65rem; font: inherit; font-size: .8rem; min-height: 2.25rem; cursor: pointer; }
button:hover { border-color: var(--line); }
button[aria-pressed="true"] { background: var(--accent); color: var(--paper); font-weight: 700; }
.heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: 2.4rem; padding-bottom: .65rem; }
h2 { margin: 0; font: 750 1.4rem/1.25 system-ui, sans-serif; letter-spacing: -.02em; }
#filter-status { color: var(--muted); font-size: .78rem; text-align: right; }
.update { display: grid; grid-template-columns: 9rem minmax(0,1fr); gap: 1.15rem; padding: 1.45rem 0; border-top: 1px solid var(--line); }
time { color: var(--muted); font-size: .81rem; }
.topics { display: flex; flex-wrap: wrap; gap: .15rem .8rem; list-style: none; padding: 0; margin: 0 0 .42rem; color: var(--accent); font-size: .76rem; }
h3 { margin: 0; font: 700 1.18rem/1.3 system-ui, sans-serif; }
.update p, .section-index p, .note, #empty { color: var(--muted); font-size: .88rem; margin: .4rem 0 0; }
.source { display: inline-block; margin-top: .55rem; font-size: .82rem; }
.index { padding: 1.75rem 0 3.5rem; border-top: 1px solid var(--line); margin-top: 1.6rem; }
.section-index { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 1.6rem; margin: 1rem 0 0; list-style: none; padding: 0; }
.section-index li { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.section-index a { font-size: .89rem; font-weight: 700; }
footer { border-top: 1px solid var(--line); padding-block: 1.3rem; color: var(--muted); font-size: .8rem; }
@media (max-width: 40rem) {
  .wrap { width: calc(100% - 2rem); }
  .update { grid-template-columns: 1fr; gap: .55rem; }
  .section-index { grid-template-columns: 1fr; }
  .filters { padding: .55rem; gap: .25rem; }
}
