:root {
  color-scheme: light;
  --bg: #fbfaf7;
  --fg: #1d1d1f;
  --muted: #6b6b72;
  --border: #e5e1d8;
  --link: #1f5eff;
  --code-bg: #f0ede6;
  --max: 760px;
}
* { box-sizing: border-box; }
html { font-size: 18px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: ui-serif, Georgia, "Times New Roman", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  line-height: 1.72;
}
.site-header, main, footer {
  width: min(var(--max), calc(100vw - 32px));
  margin: 0 auto;
}
.site-header { padding: 42px 0 18px; }
.site-title { margin: 0; font-size: 1rem; font-weight: 600; }
.site-title a { color: inherit; text-decoration: none; }
.subtitle, .meta, footer { color: var(--muted); font-size: 0.88rem; }
article { padding: 22px 0 56px; }
h1 { font-size: 2.1rem; line-height: 1.22; margin: 0 0 0.35em; }
h2 { font-size: 1.42rem; margin-top: 2.1em; }
h3 { font-size: 1.16rem; margin-top: 1.6em; }
p, ul, ol, blockquote, pre, table { margin: 1em 0; }
a { color: var(--link); text-underline-offset: 3px; }
blockquote { border-left: 4px solid var(--border); padding-left: 1em; color: #3f3f46; }
img { max-width: 100%; height: auto; border-radius: 8px; }
pre { overflow-x: auto; padding: 1em; background: var(--code-bg); border-radius: 10px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.88em; background: var(--code-bg); padding: 0.12em 0.3em; border-radius: 4px; }
pre code { padding: 0; background: transparent; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }
.clip-list { list-style: none; padding: 0; }
.clip-list li { padding: 1em 0; border-top: 1px solid var(--border); }
.clip-list a { font-weight: 600; }
footer { border-top: 1px solid var(--border); padding: 24px 0 42px; }
@media (max-width: 640px) {
  html { font-size: 16px; }
  .site-header { padding-top: 28px; }
  h1 { font-size: 1.72rem; }
}
