*{box-sizing:border-box}body{margin:0;font-family:"Times New Roman",Times,serif;color:#222;background:#fff}a,a:visited{color:inherit;text-decoration:underline;font-weight:700}a:hover{text-decoration:underline}.container{max-width:1200px;margin:0 auto;padding:24px}.grid-two{display:grid;grid-template-columns:320px 1fr;gap:40px;align-items:start}.left-info{position:sticky;top:24px;height:max-content}.left-info .site-title{font-size:28px;line-height:1.2;margin:6px 0}.left-info p,.left-info a{margin:2px 0;line-height:1.3}.site-header .container{display:flex;justify-content:space-between;align-items:center}.main-nav ul{display:flex;gap:16px;list-style:none;margin:0;padding:0}.profile-card{display:flex;flex-direction:column;gap:4px;align-items:flex-start}.profile-card .avatar{width:160px;height:160px;border-radius:8px;object-fit:cover}.social a{display:block}.post-list{list-style:none;padding:0}.post-list li{padding:8px 0;border-bottom:1px solid #eee}.pagination{display:flex;justify-content:space-between;margin:24px 0}.post .post-title{margin-bottom:8px}.post .post-meta{color:#6b7280;margin-top:0}.post{display:grid;grid-template-columns:1fr 300px;gap:32px}.post .toc{position:sticky;top:16px;height:max-content;padding:16px;border:1px solid #eee;border-radius:8px;background:#fafafa}.post .toc a{line-height:1.9}.post-content{line-height:1.9}.post-content :lang(zh), .post-content p:lang(zh), .post-content li:lang(zh){line-height:2.1}
/* Code blocks: dark background and monospace; wrap to text width */
code, pre, .post-content pre code{font-family:"JetBrains Mono","Fira Code",Consolas,Monaco,Menlo,monospace}
.post-content pre{background:#0f172a;color:#e5e7eb;border-radius:6px;padding:8px;overflow:auto;max-width:120%;width:120%;white-space:pre-wrap;word-break:break-word;margin-left:0px}
.post-content code:not(pre code){background:#f3f4f6;padding:0 4px;border-radius:4px}
/* Categories spacing */
.folder-list{list-style:none;padding:0;margin:0}
.folder-list > li{margin:14px 0}
.folder-list details{padding:10px 12px;border:1px solid #eee;border-radius:8px;background:#fafafa}
.folder-list details summary{cursor:pointer}
.folder-list details ul{margin:8px 0 0 12px}
.folder-list details ul li{margin:6px 0}
.site-footer{border-top:1px solid #eee;margin-top:32px}.site-footer .container{color:#6b7280}
