:root { color-scheme: light dark; --fg: #222; --bg: #fff; --mute: #777; }
@media (prefers-color-scheme: dark) { :root { --fg: #ddd; --bg: #181818; --mute: #8a8a8a; } }
html { font-size: 17px; }
body {
  max-width: 40rem; margin: 0 auto; padding: 1.5rem 1.25rem 3rem;
  background: var(--bg); color: var(--fg); line-height: 1.9;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}
a { color: inherit; text-underline-offset: .2em; text-decoration-color: var(--mute); }
a:hover { text-decoration-color: currentColor; }
body > header { margin-bottom: 2.5rem; text-align: center; }
.site { display: block; font-weight: 600; font-size: 1.3rem; text-decoration: none; }
nav { margin-top: .3rem; color: var(--mute); font-size: .95rem; }
nav a[aria-current] { font-weight: 600; color: var(--fg); text-decoration: none; }
h1 { font-size: 1.5rem; line-height: 1.4; margin: 0 0 .3rem; }
main > h2 { font-size: 1.15rem; margin: 2rem 0 .5rem; }
main > h3 { font-size: 1rem; margin: 1.6rem 0 .2rem; }
main > p { margin: .9rem 0; }
.meta, time, .cat, body > footer { color: var(--mute); font-size: .9rem; }
.meta { margin-bottom: 1.8rem; }
main > ul { padding-left: 1.3rem; }
ul.list { list-style: none; padding: 0; margin: .4rem 0 0; }
ul.list li { display: flex; gap: 1rem; align-items: baseline; }
ul.list time { flex: none; font-variant-numeric: tabular-nums; }
ul.list .cat { margin-left: auto; flex: none; }
img { max-width: 100%; height: auto; }
hr { border: 0; border-top: 1px solid var(--mute); opacity: .3; margin: 2rem 0; }
body > footer { margin-top: 4rem; padding-top: .8rem; border-top: 1px solid rgba(128,128,128,.3); }
body > footer p { margin: .2rem 0; }
.back { margin-top: 2.5rem; }
@media (max-width: 480px) { html { font-size: 16px; } }
body.tool { max-width: 56rem; color-scheme: light; --fg: #222; --bg: #fff; --mute: #777; }
h1 + .list { margin-top: 1.4rem; }
