:root {
  --bg: #0A1628;
  --surface: #111F38;
  --line: #22324F;
  --text: #F4F6FA;
  --muted: #93A0BD;
  --accent: #2E6BFF;
  --link: #7FA4FF;
  --gold: #C9A227;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #F7F8FB;
    --surface: #FFFFFF;
    --line: #D6DCE8;
    --text: #0A1628;
    --muted: #4A5878;
    --accent: #2E6BFF;
    --link: #1F55D6;
    --gold: #8A6D0B;
    color-scheme: light;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-wrap: break-word;
}
header.top, main, footer { max-width: 46rem; margin: 0 auto; padding: 0 16px; }
header.top { border-bottom: 1px solid var(--line); }
header.top nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; padding: .9rem 0; }
header.top .home { font-weight: 700; color: var(--text); margin-right: auto; }
header.top .home::before { content: ""; display: inline-block; width: .55rem; height: .55rem; background: var(--gold); border-radius: 50%; margin-right: .5rem; vertical-align: .1rem; }
main { padding-top: 1.5rem; padding-bottom: 2rem; }
h1 { font-size: 2rem; line-height: 1.2; margin: .5rem 0 1rem; }
h2 { font-size: 1.35rem; margin: 2.25rem 0 .75rem; border-bottom: 1px solid var(--line); padding-bottom: .3rem; }
h3 { font-size: 1.1rem; margin: 1.75rem 0 .5rem; }
h4, h5, h6 { font-size: 1rem; margin: 1.25rem 0 .5rem; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lede { font-size: 1.12rem; }
.muted, .meta, .crumbs, .topics, time { color: var(--muted); }
.meta, .crumbs, .topics { font-size: .92rem; }
time { font-size: .9rem; white-space: nowrap; }
code { font: .9em/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: .05em .3em; overflow-wrap: anywhere; }
pre { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 6px; padding: .8rem 1rem; white-space: pre-wrap; overflow-wrap: anywhere; }
pre code { background: none; border: 0; padding: 0; }
blockquote { margin: 1rem 0; padding: .1rem 1rem; border-left: 3px solid var(--gold); color: var(--muted); }
table { width: 100%; border-collapse: collapse; margin: .5rem 0 1rem; }
th, td { text-align: left; vertical-align: top; padding: .5rem .6rem .5rem 0; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: .9rem; }
table.repos td:first-child { white-space: nowrap; font-weight: 600; padding-right: 1rem; }
ul.posts { list-style: none; padding: 0; }
ul.posts li { margin: 0 0 1rem; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; padding-top: 1rem; padding-bottom: 2rem; }
@media (max-width: 640px) {
  body { font-size: 16px; }
  h1 { font-size: 1.6rem; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  tr { padding: .6rem 0; border-bottom: 1px solid var(--line); }
  td { border: 0; padding: 0; }
  table.repos td:first-child { white-space: normal; }
}
