:root {
  --primary: #250e62;
  --link: var(--primary);
  --bg: #f5f6f8;
  --surface: #ffffff;
  --text: #1c2024;
  --muted: #5a626b;
  --border: #d9dde2;
}
@media (prefers-color-scheme: dark) {
  :root {
    --link: color-mix(in srgb, var(--primary) 40%, white);
    --bg: #14171a;
    --surface: #1d2126;
    --text: #e8eaed;
    --muted: #aab1b9;
    --border: #343a41;
  }
}
html { background: var(--bg); }
body { background: var(--bg); color: var(--text); font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--link); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
.site-header { padding: 1.5rem 0 0.5rem; }
.site-header h1 { font-size: 1.75rem; font-weight: 700; margin: 0; }
.site-header p { color: var(--muted); margin: 0.25rem 0 0; }
.card { background: var(--surface); color: var(--text); border: 1px solid var(--border); border-top: 4px solid var(--primary); box-shadow: none; height: 100%; display: flex; flex-direction: column; }
.card-header { box-shadow: none; border-bottom: 1px solid var(--border); background: transparent; }
.card-header-title { color: var(--text); }
.card-header-icon.source-link { color: var(--link); font-size: 0.9rem; }
.card-content { flex: 1; color: var(--text); }
.item-list { list-style: none; margin: 0; padding: 0; }
.item { padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
.item:last-child { border-bottom: 0; }
.item[hidden] { display: none; }
.item a { display: block; font-weight: 600; overflow-wrap: anywhere; }
.meta { display: block; color: var(--muted); font-size: 0.875rem; }
.notice-stale { color: var(--text); border-left: 4px solid #b26a00; padding-left: 0.5rem; margin-bottom: 0.75rem; font-size: 0.9rem; }
.notice-empty { color: var(--text); }
button.expand { margin-top: 0.75rem; background: transparent; color: var(--link); border: 1px solid var(--link); cursor: pointer; }
.card-footer { border-top: 1px solid var(--border); background: transparent; }
.updated { color: var(--muted); font-size: 0.8rem; padding: 0.6rem 0.75rem; margin: 0; }
.social-links { display: flex; gap: 0.25rem; padding: 0.25rem 0.5rem; border-top: 1px solid var(--border); }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--link); }
.social-links a:hover { background: color-mix(in srgb, var(--link) 12%, transparent); }
.site-footer { padding: 1.5rem 0 2rem; color: var(--muted); font-size: 0.9rem; }
.site-footer a { color: var(--link); }
