:root { --bg: #fbfaf7; --fg: #1f1d1a; --muted: #77716a; --accent: #8a1c1c; --line: #e4e0d8; }
@media (prefers-color-scheme: dark) { :root { --bg: #161514; --fg: #e9e6e0; --muted: #9a948c; --accent: #e07a6a; --line: #2e2c29; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); line-height: 1.85; font-size: 17px;
  font-family: -apple-system, "PingFang SC", "PingFang TC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif; }
a { color: var(--accent); }
header.site, main, footer.site { max-width: 760px; margin: 0 auto; padding: 0 16px; }
header.site { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; padding-top: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
header.site .brand { font-weight: 700; font-size: 1.2em; color: var(--fg); text-decoration: none; }
header.site nav a { margin-left: 16px; color: var(--muted); text-decoration: none; }
footer.site { color: var(--muted); font-size: 0.85em; padding-top: 24px; padding-bottom: 40px; border-top: 1px solid var(--line); margin-top: 48px; }
h1 { font-size: 1.6em; line-height: 1.4; margin: 1.2em 0 0.3em; }
h2 { font-size: 1.25em; margin-top: 2em; }
.meta { color: var(--muted); font-size: 0.85em; margin: 0; }
.post img { display: block; max-width: 100%; height: auto; margin: 1.4em auto 0.3em; border-radius: 4px; }
.post img + em { display: block; text-align: center; color: var(--muted); font-size: 0.85em; font-style: normal; }
.video { position: relative; padding-top: 56.25%; margin: 1.2em 0 1.6em; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
ul.posts { list-style: none; padding: 0; }
ul.posts li { padding: 20px 0; border-bottom: 1px solid var(--line); }
ul.posts img { width: 100%; max-height: 260px; object-fit: cover; border-radius: 4px; display: block; margin-bottom: 8px; }
ul.posts .t { font-size: 1.2em; font-weight: 700; color: var(--fg); }
ul.posts a { text-decoration: none; }
pre.feed { background: var(--line); padding: 10px 12px; border-radius: 4px; overflow-x: auto; font-size: 0.9em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
