:root {
  color-scheme: light;
  --ink: #1d322e;
  --muted: #556761;
  --accent: #23665a;
  --line: #d3dcd5;
  --paper: #f8f9f4;
  --sans: "Source Sans 3", "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: "STIX Two Text", "Noto Serif CJK SC", "Songti SC", "SimSun", serif;
}
* { box-sizing: border-box; }
body { background: var(--paper); color: var(--ink); font: 1rem/1.7 var(--sans); margin: 0; }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -200vw; }
.skip:focus { left: 1rem; top: 1rem; padding: .4rem .8rem; background: white; }
.masthead, main, .foot { width: min(92%, 56rem); margin-inline: auto; }
.masthead { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.masthead a, .foot a, .post-list a, .terms a { color: inherit; text-decoration: none; }
.masthead a:hover, .foot a:hover, .post-list a:hover, .terms a:hover { color: var(--accent); text-decoration: underline; }
.wordmark { font: 700 1.45rem/1.2 var(--serif); letter-spacing: .08em; }
.masthead nav { display: flex; gap: 1.4rem; font-size: .9rem; }
.masthead [aria-current] { text-decoration: underline; }
main { min-height: 60vh; }
.intro { padding: clamp(2.6rem, 8vw, 5.6rem) 0 2.1rem; }
h1, h2, h3 { line-height: 1.35; text-wrap: pretty; overflow-wrap: anywhere; }
h1, h2 { font-family: var(--serif); }
.intro h1 { font-size: clamp(2.25rem, 5.5vw, 4rem); margin: 0; }
.intro p { margin: .8rem 0 0; color: var(--muted); }
time, .terms, .pager, .foot { color: var(--muted); font-size: .88rem; }
time { font-variant-numeric: tabular-nums; }
.post-list, .terms, .comments ol { margin: 0; padding: 0; list-style: none; }
.post-list { border-top: 1px solid var(--line); }
.post-list > li { display: grid; grid-template-columns: 7rem 1fr; align-items: baseline; gap: 1.25rem; border-bottom: 1px solid var(--line); padding: 1.45rem 0; }
.post-list h2 { font-size: clamp(1.22rem, 2.7vw, 1.65rem); margin: 0; }
.terms { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin-top: .5rem; }
.pager { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 2rem; }
.year { border-top: 1px solid var(--line); padding-bottom: 1.25rem; }
.month { display: grid; grid-template-columns: 4.4rem 1fr; align-items: baseline; }
.month h3 { font-size: 1rem; color: var(--muted); margin: 0; }
.month ol { list-style: none; padding: 0; margin: .2rem 0 1rem; }
.month li { display: grid; grid-template-columns: 3rem 1fr; align-items: baseline; margin-bottom: .45rem; }
.article { max-width: 47rem; margin-inline: auto; }
.article-cover { display: block; width: 100%; height: auto; margin-bottom: 2rem; }
.article .intro { border-bottom: 1px solid var(--line); margin-bottom: 2rem; }
.article .intro h1 { margin: .45rem 0; font-size: clamp(1.9rem, 4.8vw, 3rem); }
.prose { font-size: 1.04rem; line-height: 1.95; overflow-wrap: anywhere; }
.prose h2, .prose h3 { margin-top: 1.8em; }
.prose img, .prose video, .prose iframe { max-width: 100%; }
.prose img, .prose video { height: auto; }
.prose figure { margin: 1.5rem 0; }
.prose figcaption { color: var(--muted); font-size: .9rem; }
.prose blockquote { color: var(--muted); border-left: .2rem solid var(--accent); padding-left: 1rem; margin-inline: 0; }
.prose pre { overflow: auto; background: #eff2eb; padding: 1rem; line-height: 1.6; border-radius: .25rem; }
.prose code { font: .88em/1.6 "IBM Plex Mono", Consolas, monospace; }
.prose table { display: block; overflow-x: auto; border-collapse: collapse; }
.prose td, .prose th { border: 1px solid var(--line); padding: .4rem .7rem; }
.tag-list, .comments { margin-top: 3rem; }
.comments { border-top: 1px solid var(--line); }
.comments small { font: 1rem var(--sans); color: var(--muted); }
.comments li { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.comments time { margin-left: .6rem; }
.reply-to { margin-left: .6rem; font-size: .85rem; }
.comments p { margin: .4rem 0 0; white-space: pre-line; overflow-wrap: anywhere; }
.foot { margin-top: 4rem; padding: 1.2rem 0 2rem; border-top: 1px solid var(--line); }
@media (max-width: 38rem) {
  .masthead, main, .foot { width: 89%; }
  .post-list > li { grid-template-columns: 1fr; gap: .25rem; }
  .masthead nav { gap: .85rem; }
}
@media print {
  :root { --paper: white; --ink: black; }
  .masthead, .foot, .pager, .skip { display: none; }
  main { width: 100%; }
}
