:root{color-scheme:light dark;--bg:light-dark(#f8f8f7,#101113);--bg-subtle:light-dark(#eff0f2,#191a1e);--bg-elevated:light-dark(#fff,#1b1c20);--text:light-dark(#202124,#ececee);--text-muted:light-dark(#5e6069,#a2a4ad);--text-faint:light-dark(#686a73,#9699a3);--border:light-dark(#dddee1,#303136);--border-strong:light-dark(#b9bbc3,#4c4e57);--accent:light-dark(#205fc2,#a3bff0);--accent-hover:light-dark(#16488f,#ccdcfa);--accent-subtle:light-dark(#e8eef9,#202c41);--accent-text:light-dark(#fff,#111827);--success:light-dark(#276344,#a2ceae);--success-bg:light-dark(#eaf1ec,#1c2b22);--glass:light-dark(#ffffffa8,#24252bb5);--glass-edge:light-dark(#fff,#ffffff5c);--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;--font-mono:ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;--measure:44rem;--page-max:70rem;--gutter:clamp(1.25rem, 5vw, 3.5rem);--radius:8px;--radius-lg:14px}:root[data-theme=light]{color-scheme:light}:root[data-theme=dark]{color-scheme:dark}*,:before,:after{box-sizing:border-box}*{margin:0}html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:7rem}body{min-width:320px;min-height:100vh;font-family:var(--font-sans);background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;flex-direction:column;font-size:16px;line-height:1.7;display:flex}main{flex:1;min-width:0}img,picture,svg,video{max-width:100%;height:auto;display:block}input,button,textarea,select{font:inherit;color:inherit}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}:focus-visible{outline:2px solid var(--accent);outline-offset:5px}.sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}::selection{background:var(--accent-subtle);color:var(--text)}h1,h2,h3,h4{letter-spacing:-.035em;text-wrap:balance;font-weight:550;line-height:1.35}h1{font-size:clamp(2rem,4.5vw,3.25rem)}h2{font-size:clamp(1.4rem,2.5vw,1.9rem)}h3{font-size:1.15rem}p{text-wrap:pretty}code,pre,kbd{font-family:var(--font-mono);font-size:.88em}.container{width:100%;max-width:var(--page-max);padding-inline:var(--gutter);margin-inline:auto}.prose{max-width:var(--measure)}.section{padding-block:clamp(2.25rem,5vw,4rem)}.section--subtle{background:var(--bg-subtle);border-block:1px solid var(--border)}.stack>*+*{margin-top:1rem}.page-head{border-bottom:1px solid var(--border);padding-block:clamp(2.5rem,6vw,4.25rem) 1.75rem}.page-head .lede{color:var(--text-muted);max-width:42rem;margin-top:.85rem}.empty{color:var(--text-muted);font-size:.9rem}.skip-link{z-index:100;background:var(--text);color:var(--bg);border-radius:var(--radius);padding:.6rem 1rem;position:absolute;top:-100px;left:1.25rem}.skip-link:focus{top:1rem}.btn{border-radius:var(--radius);border:1px solid #0000;justify-content:center;align-items:center;gap:.5rem;padding:.65rem 1.05rem;font-size:.875rem;font-weight:500;transition:background-color .16s,border-color .16s,color .16s;display:inline-flex}.btn--primary{background:var(--text);color:var(--bg)}.btn--primary:hover{background:var(--text-muted)}.btn--ghost{border-color:var(--border-strong)}.btn--ghost:hover{background:var(--bg-subtle)}.badge{color:var(--text-muted);align-items:center;gap:.4rem;font-size:.75rem;display:inline-flex}.badge--live{color:var(--success)}.badge-dot{background:currentColor;border-radius:50%;width:5px;height:5px}.tag{font-family:var(--font-mono);color:var(--text-muted);font-size:.75rem;display:inline-block}.tag+.tag:before{content:"/";color:var(--border-strong);margin-right:.5rem}.card{border-top:1px solid var(--border);padding-block:1.5rem}.card-link{height:100%;display:block}.card-link:hover .card-title{color:var(--accent)}.card-title{font-size:1.15rem;font-weight:500}.card-meta{color:var(--text-faint);font-size:.78rem}.site-header{z-index:20;padding-top:1.25rem;position:relative}.site-footer{color:var(--text-muted);font-size:.78rem}.article-body{max-width:var(--measure);overflow-wrap:anywhere;min-width:0;font-size:1.0625rem;line-height:1.95}.article-body>*+*{margin-top:1.3em}.article-body h2{margin-top:2.5em;scroll-margin-top:2rem;font-size:1.55rem}.article-body h3{margin-top:2em;scroll-margin-top:2rem;font-size:1.2rem}.article-body a{color:var(--accent);text-underline-offset:3px;text-decoration:underline}.article-body ul,.article-body ol{padding-left:1.4em}.article-body li+li{margin-top:.4em}.article-body blockquote{border-left:2px solid var(--border-strong);color:var(--text-muted);padding-left:1.15rem}.article-body pre{color:var(--text);border:1px solid var(--border);border-radius:var(--radius);tab-size:2;max-width:100%;padding:1.2rem;font-size:.875rem;line-height:1.85;overflow-x:auto;background:var(--bg-subtle)!important}.article-body pre code{font-size:inherit}.article-body .astro-code span{color:var(--shiki-light)!important}:root[data-theme=dark] .article-body .astro-code span{color:var(--shiki-dark)!important}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .article-body .astro-code span{color:var(--shiki-dark)!important}}.article-body :not(pre)>code{background:var(--bg-subtle);border:1px solid var(--border);border-radius:4px;padding:.1em .32em}.article-body table{border-collapse:collapse;width:100%;font-size:.88em}.article-body th,.article-body td{border-bottom:1px solid var(--border);text-align:left;padding:.65rem .75rem}.article-body th{background:var(--bg-subtle);font-weight:550}.article-body hr{border:0;border-top:1px solid var(--border);margin-block:2.25rem}.article-body img{border-radius:var(--radius);margin-inline:auto}.article-body figcaption{text-align:center;color:var(--text-muted);padding-top:.6rem;font-size:.78rem}.article-body a.heading-permalink{color:var(--text-faint);font:400 .7em var(--font-mono);opacity:0;vertical-align:.1em;margin-inline-start:.55em;text-decoration:none;transition:opacity .15s;display:inline-block}.article-body h2:hover .heading-permalink,.article-body h3:hover .heading-permalink,.article-body .heading-permalink:focus-visible{opacity:1}.article-body .heading-permalink:hover{color:var(--accent)}.article-outline a[aria-current=location],.project-outline a[aria-current=location]{color:var(--accent);text-underline-offset:.3em;text-decoration:underline}@media (hover:none){.article-body a.heading-permalink{opacity:1}}@media (width<=600px){.site-header{padding-top:.85rem}.article-body{font-size:1rem}}@media (pointer:coarse){button,.nav-link,.lang-switch a{min-height:44px}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media print{:root,:root[data-theme]{color-scheme:light;--bg:#fff;--bg-subtle:#f5f5f5;--bg-elevated:#fff;--text:#111;--text-muted:#444;--text-faint:#555;--border:#ccc;--border-strong:#aaa;--accent:#111}html,body{color:#111;background:#fff;min-width:0;font-size:11pt;display:block}.site-header,.site-footer,.skip-link,.reading-actions,.reading-progress,.article-outline,.project-outline,.article-end,.project-end,.related-posts,.code-block-tools,.heading-permalink,dialog{display:none!important}[data-reading-page]{padding:0!important}[data-reading-page] .container{max-width:none;padding:0}[data-reading-page] .back{display:none}[data-reading-page] .article-head,[data-reading-page] .project-head{padding-bottom:1rem}[data-reading-page] .article-head,[data-reading-page] .project-head,[data-reading-page] .reading-layout,[data-reading-page] .project-content,.article-body{max-width:none}[data-reading-page] h1{margin-top:0;font-size:24pt}.article-body{font-size:11pt;line-height:1.7}.article-body h2,.article-body h3{break-after:avoid}.article-body p,.article-body li{orphans:3;widows:3}.article-body pre,.article-body .astro-code,.article-body .astro-code span{color:#111!important;background:#f5f5f5!important}:root[data-theme] .article-body .astro-code span,:root:not([data-theme]) .article-body .astro-code span{color:#111!important}.article-body pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:9pt;overflow:visible}.article-body .code-block,.article-body .table-scroll{overflow:visible}.article-body table{max-width:100%;display:table!important}.article-body figure,[data-reading-page] .article-cover,[data-reading-page] .project-cover{break-inside:avoid}.article-body a{color:#111}.article-body img{object-fit:contain;max-height:210mm}@page{margin:18mm}}
