:root {
  color-scheme: light;
  --paper: #f7f7f2;
  --paper-light: #ffffff;
  --ink: #242721;
  --muted: #63685f;
  --line: #dce0d6;
  --accent: #435f58;
  --accent-soft: #edf0e9;
  --terminal: #242721;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "IBM Plex Mono", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.7 var(--sans); font-synthesis: none; -webkit-font-smoothing: antialiased; isolation: isolate; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: url("/paper-grain.svg") repeat; opacity: .14; mix-blend-mode: multiply; }
p, h1, h2, h3 { margin: 0; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
a { color: inherit; text-decoration: none; text-underline-offset: 4px; }
a:hover { color: var(--accent); }
svg { display: block; flex-shrink: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: #d9e4dc; color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 30; left: 16px; top: -80px; padding: 8px 16px; background: var(--ink); color: #fff; border-radius: 4px; }
.skip-link:focus { top: 12px; }
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand-mark { display: block; flex: none; width: 28px; height: 28px; }
.author-signature { display: inline-flex; align-items: baseline; gap: 4px; color: var(--ink); white-space: nowrap; font: 400 14px/1.5 var(--sans); }
.signature-by { color: var(--muted); }
.signature-name { font-weight: 500; }
.signature-site { margin-left: 10px; color: var(--muted); }
.author-signature:hover .signature-name, .author-signature:hover .signature-site { color: var(--accent); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
