@charset "UTF-8";
:root{--bg:#f6f6f9;--surface:#fff;--text:#2f3340;--muted:#8c8e9c;--secondary:#737784;--line:#ededf2;--accent:#777199;--accent-soft:#eeecf5;--green:#5b8b80;--green-soft:#edf5f2;--shadow:0 4px 20px #25203504;--code:#f5f5f8;--serif:"Iowan Old Style","Songti SC","Noto Serif CJK SC",Georgia,serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.7 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:5px}button svg, a svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}a,button{transition:color .18s,background .18s,transform .18s}p,h1,h2,h3{margin:0}button{border:0;background:none}::selection{background:#d8d3ea;color:#302c40}.site-layout{max-width:1400px;display:grid;grid-template-columns:212px minmax(0,1fr) 248px;gap:46px;margin:auto;padding:52px 48px 26px}.author-sidebar{position:sticky;top:52px;align-self:start;min-height:calc(100dvh - 105px);display:flex;flex-direction:column}.profile-avatar{display:block;position:relative;width:100px;height:100px;border:5px solid var(--surface);border-radius:50%;box-shadow:0 4px 14px #34304809;background:white;margin-bottom:23px}.profile-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}.avatar-mood{position:absolute;right:-7px;bottom:-3px;width:32px;height:32px;background:var(--surface);display:grid;place-items:center;border-radius:50%;font-size:18px;box-shadow:0 2px 8px #30303006}.site-name{font-size:25px;font-weight:750;letter-spacing:-1px}.brand-dot{color:var(--accent);font-size:32px}.subtitle{font-size:12px;line-height:1.9;color:var(--secondary);margin-top:7px;letter-spacing:.15px}.github-social{margin-top:20px;display:flex;align-items:center;gap:9px;color:var(--secondary);width:max-content;font-size:12px}.github-social svg{width:19px;height:19px}.github-social:hover{color:var(--accent)}.external-small{font-size:15px;color:var(--muted)}.main-nav{display:flex;flex-direction:column;gap:9px;margin-top:38px;margin-left:-12px}.main-nav a{display:flex;align-items:center;gap:14px;border-radius:9px;padding:11px 14px;color:var(--secondary);font-size:14px}.main-nav small{font-size:10px;color:var(--muted);margin-left:auto;letter-spacing:.3px}.main-nav a.active{background:var(--accent-soft);color:var(--accent);font-weight:600}.main-nav a.active small{color:var(--accent);opacity:.75;font-weight:400}.main-nav a:hover{background:var(--accent-soft);color:var(--accent)}.sidebar-bottom{margin-top:auto;padding-top:65px}.sidebar-note{font-size:10px;color:var(--muted);letter-spacing:.2px;margin-bottom:20px}.theme-toggle{display:flex;align-items:center;gap:10px;padding:0;color:var(--secondary);font-size:12px}.theme-toggle svg{width:18px;height:18px}.switch{width:29px;height:16px;border-radius:20px;background:#dedde5;margin-left:11px;padding:3px}.switch i{display:block;width:10px;height:10px;background:white;border-radius:50%;transition:transform .2s}.mobile-menu{display:none}.content-column{min-width:0}.main-intro{position:relative;padding:11px 0 29px;overflow:hidden}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--muted);display:flex;align-items:center;gap:8px}.eyebrow-dot{height:5px;width:5px;background:var(--accent);border-radius:50%;display:inline-block}.main-intro h1{font:600 38px/1.5 var(--serif);letter-spacing:1.5px;margin:17px 0 9px;position:relative;z-index:1}.main-intro p{color:var(--secondary);font-size:12px;line-height:1.8;position:relative;z-index:1}.orbit-drawing{width:130px;height:130px;position:absolute;right:5px;top:0;color:var(--accent);opacity:.42;transform:rotate(-13deg)}.section-heading{display:flex;align-items:center;gap:10px;margin:15px 0 19px}.section-heading h2{font-size:13px;font-weight:600;letter-spacing:.6px}.section-heading span{font-size:11px;color:var(--muted)}.section-heading .heading-line{height:1px;background:var(--line);flex:1;margin:0 4px}.section-heading .sort-label{display:flex;align-items:center;gap:4px;font-size:10px}.sort-label svg{height:13px;width:13px;stroke:currentColor;fill:none;stroke-width:1.6}.post-list{display:flex;flex-direction:column;gap:23px}.post-card{background:var(--surface);border:1px solid var(--surface);box-shadow:var(--shadow);border-radius:13px;padding:28px 30px 0;transition:transform .2s,box-shadow .2s,border-color .2s;position:relative;overflow:hidden}.post-card:hover{transform:translateY(-3px);box-shadow:0 10px 30px #302d4a09;border-color:#dedbe9}.post-category{display:inline-flex;align-items:center;font-size:10px;gap:5px;letter-spacing:.3px;color:var(--accent);background:var(--accent-soft);border-radius:5px;padding:3px 8px;line-height:1.65}.post-category.green{color:var(--green);background:var(--green-soft)}.post-category svg{width:12px;height:12px}.post-card h2{font-size:23px;font-weight:650;line-height:1.55;letter-spacing:-.35px;margin:14px 0 12px}.post-card h2 a:after{content:"";position:absolute;inset:0;z-index:1}.post-card .excerpt{font-size:13px;line-height:1.95;color:var(--secondary);margin-bottom:26px;max-width:95%}.post-card-footer{border-top:1px solid var(--line);display:flex;align-items:center;gap:18px;padding:16px 0;font-size:10px;color:var(--muted)}.meta-piece{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.meta-piece svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.read-link{margin-left:auto;display:flex;gap:7px;align-items:center;color:var(--secondary);font-size:10px;white-space:nowrap}.read-link svg{width:15px}.post-card:hover .read-link{color:var(--accent)}.post-list-end{text-align:center;font-size:10px;color:var(--muted);margin:28px 0 5px;letter-spacing:1px;display:flex;align-items:center;justify-content:center;gap:10px}.post-list-end:before,.post-list-end:after{content:"";width:22px;height:1px;background:var(--line)}.site-footer{margin-top:39px;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:var(--muted);padding-bottom:15px}.footer-line{display:block;height:2px;background:#b0acbd;width:28px;margin-bottom:16px}.site-footer strong{font-weight:500;color:var(--secondary)}.footer-detail{margin-top:5px;font-size:9px;line-height:1.9}.footer-detail span{display:block}.footer-detail a:hover,.footer-original:hover{color:var(--accent)}.footer-original{font-size:10px;align-self:flex-end;padding-bottom:5px}.right-sidebar{position:sticky;top:52px;align-self:start;padding-top:4px}.search-widget{position:relative}.search-box{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:9px;background:var(--surface);padding:13px 12px;box-shadow:var(--shadow)}.search-box input{width:100%;min-width:0;border:0;background:none;outline:none;color:var(--text);font-size:11px}.search-box input::placeholder{color:#a2a1ae}.search-box svg{width:16px;height:16px;stroke:var(--muted);fill:none;stroke-width:1.5}.search-box button{padding:0;display:flex}.search-box kbd{font-size:9px;color:var(--muted);border:1px solid var(--line);border-radius:3px;white-space:nowrap;line-height:1.6;padding:0 4px;font-family:inherit}.widget{margin-top:32px}.widget-title{font-size:11px;font-weight:500;color:var(--secondary);display:flex;align-items:center;gap:8px;margin-bottom:15px;letter-spacing:.4px}.widget-title svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.widget-title small{font-size:9px;letter-spacing:1.1px;color:var(--muted);margin-left:auto;font-weight:400}.archive-link{padding:15px 16px;display:flex;background:var(--surface);box-shadow:var(--shadow);border-radius:9px;align-items:center;justify-content:space-between;font-size:13px}.archive-link:hover{color:var(--accent);transform:translateX(2px)}.archive-count{color:var(--muted);font-size:10px}.topic-link{display:flex;align-items:center;gap:9px;padding:9px 0;color:var(--secondary);font-size:11px}.topic-link:before{content:"";background:var(--accent);height:5px;width:5px;border-radius:50%;margin-left:3px}.topic-link.green:before{background:var(--green)}.topic-link span{margin-left:auto;color:var(--muted);font-size:10px}.topic-link:hover{color:var(--accent)}.tag-cloud{display:flex;flex-wrap:wrap;gap:7px}.tag-cloud a{font-size:10px;padding:4px 9px;background:var(--surface);border:1px solid var(--line);border-radius:5px;color:var(--secondary)}.tag-cloud a:hover{border-color:var(--accent);color:var(--accent)}.side-note{margin-top:34px;padding-top:24px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);line-height:2}.side-note .little-star{color:var(--accent);font-size:19px;line-height:1;display:block;margin-bottom:10px}.side-note p:last-child{font-size:8px;letter-spacing:1.4px;margin-top:10px;opacity:.85}.page-header{padding:10px 0 27px}.page-header h1{font:600 35px/1.4 var(--serif);margin:14px 0 9px;letter-spacing:1px}.page-header p{font-size:12px;color:var(--secondary)}.filter-bar{display:flex;align-items:center;gap:7px;margin:0 0 22px;flex-wrap:wrap}.filter-button{padding:5px 12px;border-radius:6px;color:var(--secondary);font-size:11px;border:1px solid var(--line)}.filter-button.active,.filter-button:hover{color:var(--accent);background:var(--accent-soft);border-color:var(--accent-soft)}.archive-panel{background:var(--surface);border-radius:13px;padding:28px 30px;box-shadow:var(--shadow)}.archive-year{font:500 35px/1.2 Georgia,serif;display:flex;gap:12px;align-items:center;margin-bottom:27px}.archive-year span{font:10px/1.8 -apple-system,sans-serif;color:var(--muted)}.timeline{border-left:1px solid var(--line);margin-left:6px}.timeline-item{display:block;position:relative;padding:0 0 30px 23px}.timeline-item:last-child{padding-bottom:5px}.timeline-item:before{content:"";position:absolute;width:7px;height:7px;background:var(--accent);border:3px solid var(--surface);box-sizing:content-box;border-radius:50%;left:-7px;top:4px}.timeline-item time{font-size:10px;color:var(--muted)}.timeline-item h2{font-size:17px;line-height:1.7;margin-top:6px;font-weight:600}.timeline-item:hover h2{color:var(--accent)}.search-page-form{margin:0 0 20px}.search-page-form .search-box{padding:17px 18px}.search-page-form input{font-size:14px}.search-result-count{font-size:11px;color:var(--muted);margin:5px 0 18px}.empty-state{border-radius:13px;padding:46px 24px;background:var(--surface);text-align:center;color:var(--secondary)}.empty-state .empty-icon{font-size:32px;margin-bottom:10px;color:var(--accent)}.empty-state h2{font-size:16px;margin-bottom:8px}.empty-state p{font-size:12px}.empty-state button{margin-top:18px;padding:8px 16px;border-radius:6px;background:var(--accent-soft);font-size:12px;color:var(--accent)}.links-list{display:grid;gap:17px}.link-card{background:var(--surface);border-radius:12px;padding:24px;box-shadow:var(--shadow);display:flex;gap:17px;align-items:center}.link-card:hover{transform:translateY(-3px)}.link-icon{width:45px;height:45px;border-radius:10px;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center;flex-shrink:0}.link-card h2{font-size:16px;font-weight:600}.link-card p{font-size:11px;color:var(--secondary);margin-top:4px}.link-card .arrow{margin-left:auto;color:var(--muted);font-size:20px}.reading-toolbar{display:flex;align-items:center;gap:8px;color:var(--secondary);font-size:11px;margin:4px 0 20px}.reading-toolbar svg{width:16px}.reading-toolbar button{margin-left:auto;font-size:10px;display:flex;align-items:center;gap:6px}.article-panel{background:var(--surface);padding:36px 36px 28px;border-radius:13px;box-shadow:var(--shadow);min-width:0}.article-header h1{font-size:29px;line-height:1.55;letter-spacing:-.5px;margin:16px 0}.article-header .article-meta{display:flex;gap:18px;flex-wrap:wrap;font-size:10px;color:var(--muted);padding-bottom:25px;border-bottom:1px solid var(--line)}.article-body{font-size:14px;line-height:2;color:var(--text);overflow-wrap:break-word;padding-top:24px}.article-body p{margin:17px 0}.article-body h1{font-size:24px;line-height:1.6;margin:25px 0 20px}.article-body h2{font-size:20px;margin:33px 0 15px;line-height:1.7;scroll-margin-top:28px}.article-body h3{font-size:17px;margin:26px 0 12px;scroll-margin-top:28px}.article-body a{color:var(--accent);border-bottom:1px solid #77719940}.article-body ul,.article-body ol{padding-left:24px;margin:16px 0}.article-body li{margin:6px 0}.article-body blockquote{margin:22px 0;padding:3px 19px;border-left:3px solid #a8a0c4;background:var(--accent-soft);border-radius:0 7px 7px 0;font-size:13px;color:var(--secondary)}.article-body pre{font:11px/1.85 SFMono-Regular,Consolas,"Liberation Mono",monospace;overflow:auto;background:var(--code);border:1px solid var(--line);border-radius:8px;padding:19px 18px;margin:19px 0;max-width:100%;position:relative}.article-body code{font-family:SFMono-Regular,Consolas,"Liberation Mono",monospace;font-size:.86em;background:var(--code);padding:2px 5px;border-radius:4px}.article-body pre code{font:inherit;padding:0;background:none;white-space:pre}.article-body pre .copy-code{position:absolute;top:8px;right:8px;background:var(--surface);color:var(--secondary);border:1px solid var(--line);border-radius:4px;padding:3px 7px;font:9px/1.4 sans-serif;z-index:1;opacity:0;transition:opacity .2s}.article-body pre:hover .copy-code,.copy-code:focus-visible{opacity:1}.article-body table{display:block;overflow-x:auto;width:100%;font-size:12px;border-collapse:collapse;margin:22px 0}.article-body td,.article-body th{padding:10px 13px;border:1px solid var(--line);text-align:left}.article-body th{background:var(--code)}.article-body hr{border:0;border-top:1px solid var(--line);margin:28px 0}.article-body img{max-width:100%;height:auto;border-radius:8px}.article-body .katex{font-size:1.06em}.article-body .katex-display{overflow:auto hidden;padding:8px 0;max-width:100%}.article-body .highlight{background:transparent!important}.article-body .highlight pre{background:var(--code)!important;color:var(--text)!important}.article-body .highlight span{background:transparent!important}.article-body .reference-note{font-size:12px;color:var(--muted)}.article-end{border-top:1px solid var(--line);margin-top:32px;padding-top:20px;display:flex;align-items:center;gap:8px;color:var(--muted);font-size:10px}.article-end>a{margin-left:auto;color:var(--accent)}.next-post{margin-top:20px;padding:22px;background:var(--surface);border-radius:10px;display:block}.next-post span{font-size:10px;color:var(--muted)}.next-post h2{font-size:15px;margin-top:7px;font-weight:500}.next-post:hover{color:var(--accent)}.toc{max-height:calc(100dvh - 200px);overflow:auto;padding-left:1px}.toc a{display:block;font-size:10px;line-height:1.8;color:var(--secondary);border-left:1px solid var(--line);padding:6px 0 6px 12px}.toc a.sub{padding-left:22px;font-size:9px}.toc a:hover,.toc a.active{border-color:var(--accent);color:var(--accent)}.reading-progress{position:fixed;top:0;left:0;height:2px;width:0;background:var(--accent);z-index:20}.icon-button{display:grid;place-items:center;width:34px;height:34px;border-radius:8px}.back-top{position:fixed;right:27px;bottom:25px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);color:var(--accent);opacity:0;pointer-events:none;transform:translateY(8px);z-index:5}.back-top.visible{opacity:1;pointer-events:auto;transform:none}.toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,15px);opacity:0;pointer-events:none;background:var(--text);color:var(--surface);padding:9px 18px;border-radius:8px;font-size:12px;z-index:30;transition:.2s}.toast.visible{opacity:1;transform:translate(-50%,0)}.skip-link{position:fixed;top:-100px;left:20px;z-index:100;padding:9px 16px;background:var(--surface)}.skip-link:focus{top:10px}.initial-loading{padding:80px 30px;color:var(--muted)}main{animation:reveal .35s ease}main:focus{outline:0}@keyframes reveal{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
[data-theme=dark]{--bg:#1d1e25;--surface:#272830;--text:#e1e0e9;--muted:#838390;--secondary:#a9a7b7;--line:#36353f;--accent:#b3a7da;--accent-soft:#373143;--green:#90b8aa;--green-soft:#2c3c37;--shadow:0 4px 20px #00000006;--code:#202128;color-scheme:dark}[data-theme=dark] .switch{background:var(--accent)}[data-theme=dark] .switch i{transform:translateX(13px)}[data-theme=dark] .post-card:hover{border-color:#53495f}[data-theme=dark] .profile-avatar{border-color:#45424f}
@media(min-width:1500px){.site-layout{max-width:1450px;grid-template-columns:220px minmax(0,1fr) 255px;gap:56px;padding-top:65px}.author-sidebar,.right-sidebar{top:65px}.main-intro{padding-bottom:40px}.main-intro h1{font-size:41px}.post-card{padding-top:32px}.post-card .excerpt{margin-bottom:31px}.post-list{gap:27px}}
@media(max-width:1170px){.site-layout{grid-template-columns:185px minmax(0,1fr) 210px;gap:28px;padding:38px 30px}.author-sidebar,.right-sidebar{top:38px}.site-name{font-size:23px}.post-card{padding:25px 25px 0}.post-card h2{font-size:21px}.post-card-footer{gap:12px}.main-intro h1{font-size:34px}.orbit-drawing{width:105px;right:0}.article-panel{padding:28px}.article-header h1{font-size:26px}}
@media(max-width:1000px){.site-layout{grid-template-columns:180px minmax(0,1fr);max-width:860px;gap:40px}.right-sidebar{display:none}.main-intro h1{font-size:37px}.post-card h2{font-size:23px}.sidebar-note{font-size:9px}.article-panel{padding:30px}.site-footer{margin-top:35px}}
@media(max-width:650px){.site-layout{display:block;padding:25px 22px;max-width:560px}.author-sidebar{position:relative;top:0;min-height:auto;display:block;margin-bottom:30px}.mobile-top{display:flex;align-items:center;gap:15px}.profile-avatar{width:65px;height:65px;border-width:3px;margin:0;flex-shrink:0}.avatar-mood{width:24px;height:24px;font-size:14px;right:-4px;bottom:-2px}.site-name{font-size:22px}.brand-dot{font-size:26px}.subtitle{font-size:10px;line-height:1.6;margin-top:2px}.subtitle br{display:none}.mobile-menu{display:grid;margin-left:auto;flex-shrink:0}.mobile-menu svg{width:21px}.github-social,.sidebar-bottom{display:none}.main-nav{display:none;margin:18px 0 0;grid-template-columns:1fr 1fr;gap:7px}.main-nav.open{display:grid}.main-nav a{font-size:12px;padding:10px}.main-nav a svg{width:17px}.main-nav small{font-size:9px}.main-intro{padding:7px 0 22px}.eyebrow{font-size:9px;letter-spacing:1.7px}.main-intro h1{font-size:31px;margin-top:13px;letter-spacing:.8px}.main-intro p{font-size:11px;max-width:83%}.orbit-drawing{width:94px;height:94px;top:5px;right:-9px;opacity:.26}.section-heading{margin:6px 0 17px}.section-heading h2{font-size:12px}.section-heading .sort-label{font-size:9px}.post-list{gap:18px}.post-card{padding:23px 22px 0;border-radius:12px}.post-card h2{font-size:21px;line-height:1.55;margin:13px 0 10px}.post-card .excerpt{font-size:12px;line-height:1.95;margin-bottom:23px;max-width:none}.post-card-footer{gap:13px;padding:15px 0;font-size:9px}.read-link{font-size:9px;gap:4px}.meta-piece{gap:4px}.meta-piece svg{width:12px;height:12px}.post-category{font-size:9px}.post-list-end{margin:24px 0 0;font-size:9px}.site-footer{font-size:9px;margin-top:30px}.footer-detail{font-size:8px}.footer-original{font-size:9px}.page-header{padding-top:4px}.page-header h1{font-size:31px}.page-header p{font-size:11px}.archive-panel{padding:25px 23px}.timeline-item h2{font-size:16px}.article-panel{padding:26px 22px}.article-header h1{font-size:24px}.article-body{font-size:13px;line-height:2}.article-body h1{font-size:21px}.article-body h2{font-size:19px}.article-body h3{font-size:16px}.article-body pre{font-size:10px;padding:17px 13px}.article-body pre .copy-code{opacity:1}.article-header .article-meta{gap:13px;font-size:9px}.reading-toolbar{font-size:10px}.article-end{flex-wrap:wrap}.article-end>a{margin-left:0;width:100%;padding-top:6px}.link-card{padding:21px 19px;gap:13px}.link-card h2{font-size:15px}.link-card p{font-size:10px}.back-top{bottom:18px;right:14px}.mobile-theme{position:absolute;top:0;right:0}.mobile-theme-button{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--muted);margin-left:auto}.mobile-theme-button svg{height:14px;width:14px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media(min-width:651px){.mobile-theme-button,.mobile-menu{display:none}}
.reading-toolbar>a{display:flex;align-items:center;gap:7px}
.article-body .reference{color:var(--muted);font-size:12px}
.post-category svg,.read-link svg{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}

.archive-links{display:grid;gap:9px}.archive-panel+.archive-panel{margin-top:20px}.reading-toolbar .mobile-theme-button{margin-left:10px}
