:root { --ink: #1f2937; --muted: #6b7280; --line: #e5e7eb; --link: #2563eb; --paper: #fff; --background: #f8fafc; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--background); font: 16px/1.75 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif; }
.wrap { width: min(100% - 2rem, 820px); margin: 0 auto; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 4.5rem; display: flex; gap: 1rem; align-items: center; justify-content: space-between; }
.site-title { color: var(--ink); text-decoration: none; font-size: 1.25rem; font-weight: 700; }
nav { display: flex; flex-wrap: wrap; gap: 1rem; } nav a, a { color: var(--link); text-decoration: none; } a:hover { text-decoration: underline; }
.post-card, .post { background: var(--paper); border: 1px solid var(--line); border-radius: .75rem; margin: 1.5rem 0; padding: clamp(1.25rem, 4vw, 2.25rem); }
.post-card h2, .post h1 { margin: 0 0 .25rem; line-height: 1.35; } .post-card h2 { font-size: 1.35rem; }
.meta, .site-footer { color: var(--muted); font-size: .9rem; } .excerpt { color: #4b5563; margin: 1rem 0; }
.read-more { font-weight: 600; }.post-content { overflow-wrap: anywhere; }.post-content img, .post-content video { display: block; max-width: 100%; height: auto; margin: 1.25rem auto; border-radius: .35rem; }
.post-content pre { overflow: auto; padding: 1rem; background: #0f172a; color: #e2e8f0; border-radius: .5rem; }.post-content code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.post-content blockquote { border-left: 4px solid #bfdbfe; margin: 1rem 0; padding-left: 1rem; color: #4b5563; }.post-content table { display: block; overflow: auto; border-collapse: collapse; }.post-content th, .post-content td { border: 1px solid var(--line); padding: .4rem .7rem; }
.tags { margin-top: 2rem; }.tags a { margin-right: .6rem; }.pagination { display: flex; justify-content: center; padding: .5rem 0 2rem; }.pagination .page-number, .pagination .extend { padding: .3rem .6rem; }
.site-footer { padding: 2rem 0; text-align: center; } .archive-header { margin-top: 2rem; }
@media (max-width: 560px) { .header-inner { padding: .8rem 0; align-items: flex-start; flex-direction: column; gap: .3rem; } nav { gap: .75rem; } }
