:root { --bg: #fff; --fg: #1c2430; --muted: #5d6b7c; --line: #dfe5ec; --link: #1f6fd6; --code: #f1f4f8; }
@media (prefers-color-scheme: dark) { :root { --bg: #0f1722; --fg: #e7ecf2; --muted: #9aa8b8; --line: #2a3644; --link: #6fb0ff; --code: #1b2533; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; }
header, main, footer { max-width: 760px; margin: 0 auto; padding: 16px; }
header { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--fg); text-decoration: none; }
.brand img { border-radius: 8px; }
nav a { margin-left: 16px; }
nav a:first-child { margin-left: 0; }
a { color: var(--link); }
h1 { font-size: 1.7rem; line-height: 1.3; margin: 1.2em 0 .5em; }
h2 { font-size: 1.15rem; margin: 1.8em 0 .4em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
code { background: var(--code); padding: .1em .35em; border-radius: 4px; }
footer { color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); margin-top: 32px; }
