:root {
  color-scheme: light dark;
  --bg: #faf8f4;
  --text: #221e2a;
  --muted: #625a70;
  --line: #ded8e5;
  --accent: #6635b5;
  --panel: #f0ebf6;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16131b;
    --text: #ede8f3;
    --muted: #b7abcb;
    --line: #383041;
    --accent: #c4a4ff;
    --panel: #25202f;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.075rem/1.72 system-ui, sans-serif;
}
.masthead, main {
  width: min(100% - 2.5rem, 43rem);
  margin-inline: auto;
}
.masthead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  padding: 1.55rem 0 1rem;
  border-bottom: 1px solid var(--line);
}
nav, article footer { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .14em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: .25em; }
.brand { color: var(--text); font-weight: 720; text-decoration: none; }
.brand span, h1 span { color: var(--accent); }
main { padding: clamp(2rem, 7vw, 4.5rem) 0 4rem; }
h1 {
  font: 500 clamp(3.1rem, 10vw, 5rem)/1 Georgia, serif;
  margin: 0 0 1.7rem;
  letter-spacing: -.075em;
}
article { padding: 1.65rem 0 1.9rem; }
article + article { border-top: 1px solid var(--line); }
.meta, article footer, nav { font-size: .88rem; }
.meta { display: flex; flex-wrap: wrap; gap: .2em 1em; color: var(--muted); }
.meta time { font-variant-numeric: tabular-nums; }
.post-text { margin-top: .8rem; overflow-wrap: anywhere; }
article footer { margin-top: .85rem; }
article footer:empty { display: none; }
.pagination { border-top: 1px solid var(--line); padding-top: 1.2rem; }
code { background: var(--panel); font-size: .92em; }
.code-block, .quote { display: block; padding: .5rem 1rem; background: var(--panel); }
.quote { border-inline-start: .2rem solid var(--accent); }
.spoiler { color: var(--panel); background: var(--panel); }
.spoiler:hover, .spoiler:focus-within { color: var(--text); }
