.toc:where(.astro-p33bl5ka){border:1px solid var(--color-border);background:var(--color-surface);max-height:calc(100vh - 7rem);color:rgb(var(--gray-dark));border-radius:12px;padding:1rem;font-size:.82rem;position:sticky;top:5.5rem;overflow-y:auto}.toc-title:where(.astro-p33bl5ka){border-bottom:1px solid var(--color-border);color:rgb(var(--black));cursor:pointer;align-items:center;gap:.5rem;margin-bottom:.75rem;padding-bottom:.7rem;font-size:.82rem;font-weight:700;list-style:none;display:flex}.toc-title:where(.astro-p33bl5ka)::-webkit-details-marker{display:none}.toc-count:where(.astro-p33bl5ka){color:rgb(var(--gray));margin-left:auto;font-size:.68rem;font-weight:400}.toc-chevron:where(.astro-p33bl5ka){color:rgb(var(--gray));transition:transform .2s}.toc:where(.astro-p33bl5ka)[open] .toc-chevron:where(.astro-p33bl5ka){transform:rotate(180deg)}.toc:where(.astro-p33bl5ka):not([open]) .toc-title:where(.astro-p33bl5ka){border:0;margin:0;padding:0}.toc-list:where(.astro-p33bl5ka){border-left:1px solid var(--color-border);margin:0;padding:0;list-style:none}.toc-list:where(.astro-p33bl5ka) li:where(.astro-p33bl5ka){margin:0;line-height:1.45}.toc-list:where(.astro-p33bl5ka) a:where(.astro-p33bl5ka){color:rgb(var(--gray));border-left:2px solid #0000;margin-left:-1px;padding:.34rem 0 .34rem .8rem;text-decoration:none;transition:color .16s,border-color .16s;display:block}.toc-list:where(.astro-p33bl5ka) a:where(.astro-p33bl5ka):hover,.toc-list:where(.astro-p33bl5ka) a:where(.astro-p33bl5ka).is-active{border-left-color:var(--accent);color:var(--accent)}.toc-list:where(.astro-p33bl5ka) a:where(.astro-p33bl5ka).is-active{font-weight:650}.toc-list:where(.astro-p33bl5ka) li:where(.astro-p33bl5ka).depth-3 a:where(.astro-p33bl5ka){padding-left:1.45rem;font-size:.75rem}@media (width<=1120px){.toc:where(.astro-p33bl5ka){max-height:none;margin:0;padding:.9rem 1rem;position:static}}body.blog-post-page{background:var(--color-bg)}.reading-progress:where(.astro-tldeq5d5){z-index:60;background:var(--accent);width:0;height:2px;position:fixed;top:0;left:0}.post-main:where(.astro-tldeq5d5){max-width:none;padding:2rem 1.25rem 4rem}.post:where(.astro-tldeq5d5){max-width:1320px;margin:0 auto}.breadcrumb:where(.astro-tldeq5d5){max-width:760px;color:rgb(var(--gray));flex-wrap:wrap;align-items:center;gap:.55rem;margin:0 auto 1.8rem;font-size:.76rem;display:flex}.breadcrumb:where(.astro-tldeq5d5) a:where(.astro-tldeq5d5){color:rgb(var(--gray));text-decoration:none}.breadcrumb:where(.astro-tldeq5d5) a:where(.astro-tldeq5d5):hover{color:var(--accent)}.post-header:where(.astro-tldeq5d5){max-width:760px;margin:0 auto 2rem}.eyebrow:where(.astro-tldeq5d5){color:var(--accent);font:700 .7rem/1.5 var(--font-mono);letter-spacing:.1em;align-items:center;gap:.55rem;margin:0 0 .8rem;display:flex}.eyebrow:where(.astro-tldeq5d5):before{content:"";background:currentColor;width:1.2rem;height:2px}.post-header:where(.astro-tldeq5d5) h1:where(.astro-tldeq5d5){letter-spacing:-.055em;margin:0;font-size:clamp(2.1rem,5vw,3.1rem);font-weight:750;line-height:1.22}.post-description:where(.astro-tldeq5d5){max-width:45rem;color:rgb(var(--gray));margin:1rem 0 1.1rem;font-size:clamp(1rem,2vw,1.15rem);line-height:1.8}.post-meta:where(.astro-tldeq5d5){border-top:1px solid var(--color-border);color:rgb(var(--gray));flex-wrap:wrap;gap:.4rem 1rem;padding-top:.9rem;font-size:.78rem;display:flex}.post-meta:where(.astro-tldeq5d5) time{color:rgb(var(--gray-dark))}.post-tags:where(.astro-tldeq5d5){flex-wrap:wrap;gap:.45rem;margin:.9rem 0 0;padding:0;list-style:none;display:flex}.post-tags:where(.astro-tldeq5d5) li:where(.astro-tldeq5d5){border:1px solid var(--color-border);color:rgb(var(--gray));border-radius:999px;padding:.15rem .55rem;font-size:.7rem}.hero-image:where(.astro-tldeq5d5){border:1px solid var(--color-border);background:var(--color-surface);max-width:1020px;box-shadow:var(--shadow-card);border-radius:14px;margin:0 auto 2.5rem;padding:.5rem}.hero-image:where(.astro-tldeq5d5) img:where(.astro-tldeq5d5){object-fit:cover;border-radius:9px;width:100%;max-height:28rem}.hero-image:where(.astro-tldeq5d5) figcaption:where(.astro-tldeq5d5){color:rgb(var(--gray));text-align:center;padding:.65rem .35rem .15rem;font-size:.78rem}.article-layout:where(.astro-tldeq5d5){grid-template-columns:minmax(0,1fr) minmax(0,760px) 220px minmax(0,1fr);align-items:start;gap:0 2rem;max-width:1320px;margin:0 auto;display:grid}.article-content:where(.astro-tldeq5d5){min-width:0;color:rgb(var(--gray-dark));grid-area:1/2;font-size:1rem;line-height:1.85}.article-content-single:where(.astro-tldeq5d5){max-width:760px;margin:0 auto}.article-content:where(.astro-tldeq5d5) p{margin:0 0 1.1rem}.article-content:where(.astro-tldeq5d5) h2{border-bottom:1px solid var(--color-border);letter-spacing:-.035em;margin:2.5em 0 .85em;padding-bottom:.48em;font-size:1.625rem;font-weight:730;line-height:1.4}.article-content:where(.astro-tldeq5d5) h2:first-child{margin-top:0}.article-content:where(.astro-tldeq5d5) h3{letter-spacing:-.02em;margin:1.9em 0 .65em;font-size:1.3rem;font-weight:650;line-height:1.45}.article-content:where(.astro-tldeq5d5) h4{margin:1.6em 0 .55em;font-size:1.12rem;font-weight:650}.article-content:where(.astro-tldeq5d5) ul,.article-content:where(.astro-tldeq5d5) ol{margin:.8rem 0 1.4rem;padding-left:1.45em}.article-content:where(.astro-tldeq5d5) li{margin:.35em 0;padding-left:.18em}.article-content:where(.astro-tldeq5d5) a{text-underline-offset:.2em;text-decoration-thickness:1px}.article-content:where(.astro-tldeq5d5) blockquote{border:0;border-left:3px solid var(--accent);background:var(--color-surface-muted);color:rgb(var(--gray-dark));border-radius:0 9px 9px 0;margin:1.6rem 0;padding:.9rem 1.1rem;line-height:1.85}.article-content:where(.astro-tldeq5d5) blockquote p:last-child{margin-bottom:0}.article-content:where(.astro-tldeq5d5) img{border:1px solid var(--color-border);border-radius:9px;max-width:100%;height:auto;margin:1.6rem auto;display:block}.article-content:where(.astro-tldeq5d5) figure.article-figure{border:1px solid var(--color-border);background:var(--color-surface);box-shadow:var(--shadow-card);border-radius:12px;margin:1.7rem 0 2rem;padding:.65rem}.article-content:where(.astro-tldeq5d5) figure.article-figure img{cursor:zoom-in;border:0;border-radius:7px;width:100%;margin:0 auto}.article-content:where(.astro-tldeq5d5) figure.article-figure figcaption{color:rgb(var(--gray));text-align:left;margin:0;padding:.7rem .35rem .15rem;font-size:.78rem;line-height:1.6}.article-content:where(.astro-tldeq5d5) table{border:1px solid var(--color-border);border-radius:10px;margin:1.25rem 0 1.7rem;font-size:.88em;line-height:1.65}.article-content:where(.astro-tldeq5d5) th:first-child{border-radius:9px 0 0}.article-content:where(.astro-tldeq5d5) th:last-child{border-radius:0 9px 0 0}.article-content:where(.astro-tldeq5d5) th,.article-content:where(.astro-tldeq5d5) td{min-width:8rem}.article-content:where(.astro-tldeq5d5) figure.frame{background:#f1f5f9;border:1px solid #cbd5e1;border-radius:11px;margin:1.4rem 0 1.7rem;position:relative;overflow:hidden;box-shadow:0 8px 24px #0f172a14}.article-content:where(.astro-tldeq5d5) figure.frame figcaption.header{color:#334155;min-height:2.5rem;font:650 .7rem/1 var(--font-mono);letter-spacing:.08em;background:#e2e8f0;border-bottom:1px solid #cbd5e1;align-items:center;padding:0 .9rem;display:flex}.article-content:where(.astro-tldeq5d5) figure.frame pre{color:#172033;max-height:34rem;font:.84rem/1.7 var(--font-mono);tab-size:2;margin:0;padding:1rem 1.1rem;overflow-x:auto;background:#f8fafc!important}.article-content:where(.astro-tldeq5d5) figure.frame pre code{color:#172033;font:inherit}.article-content:where(.astro-tldeq5d5) figure.frame .copy{z-index:1;position:absolute;top:.43rem;right:.75rem}.article-content:where(.astro-tldeq5d5) figure.frame .copy button{color:#e2e8f0;opacity:1;width:auto;height:auto;font:500 .72rem/1 var(--font-sans);cursor:pointer;background:#e2e8f01a;border:1px solid #e2e8f052;border-radius:6px;align-items:center;gap:.35rem;margin:0;padding:.35rem .65rem;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.article-content:where(.astro-tldeq5d5) figure.frame .copy button div{display:none}.article-content:where(.astro-tldeq5d5) figure.frame .copy button:before{content:"";opacity:1;pointer-events:auto;background:currentColor;border:none;flex:none;width:.85rem;height:.85rem;margin:0;position:static;inset:auto;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E") 50%/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E") 50%/contain no-repeat}.article-content:where(.astro-tldeq5d5) figure.frame .copy button:after{content:"复制";pointer-events:auto;background:0 0;margin:0;padding:0;line-height:1;position:static;inset:auto;-webkit-mask-image:none;mask-image:none}.article-content:where(.astro-tldeq5d5) figure.frame .copy button:hover{color:#0d1117;background:#e2e8f0;border-color:#e2e8f0}.article-content:where(.astro-tldeq5d5) figure.frame .copy button:focus-visible{outline-offset:2px;outline:2px solid #7aa2f7}.article-content:where(.astro-tldeq5d5) figure.frame .copy button.copied{color:#3fb950;background:#3fb9502e;border-color:#3fb950}.article-content:where(.astro-tldeq5d5) figure.frame .copy button.copied:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E")}.article-content:where(.astro-tldeq5d5) figure.frame .copy button.copied:after{content:"已复制"}.article-content:where(.astro-tldeq5d5) figure.frame.has-line-numbers .ec-line{grid-template-columns:2.5rem minmax(0,1fr);display:grid}.article-content:where(.astro-tldeq5d5) figure.frame.has-line-numbers .ec-line:before{counter-increment:code-line;content:counter(code-line);color:#64748b;text-align:right;user-select:none;padding-right:.85rem}.article-content:where(.astro-tldeq5d5) figure.frame.has-line-numbers pre code{counter-reset:code-line}.article-content:where(.astro-tldeq5d5) .compare-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;margin:1.4rem 0 1.8rem;display:grid}.article-content:where(.astro-tldeq5d5) .compare-card{border:1px solid var(--color-border);background:var(--color-surface);border-radius:11px;align-content:start;gap:.65rem;padding:1rem;display:grid}.article-content:where(.astro-tldeq5d5) .compare-card>span{color:rgb(var(--gray));margin-bottom:.15rem;font-size:.72rem;font-weight:700}.article-content:where(.astro-tldeq5d5) .compare-card strong{color:rgb(var(--gray-dark));font-size:.82rem}.article-content:where(.astro-tldeq5d5) .compare-card i{color:rgb(var(--gray));font-size:.75rem;font-style:normal}.article-content:where(.astro-tldeq5d5) .compare-old{background:var(--color-surface-muted)}.article-content:where(.astro-tldeq5d5) .compare-new{border-color:color-mix(in srgb, var(--accent) 32%, var(--color-border));background:var(--accent-soft)}.article-content:where(.astro-tldeq5d5) .route-flow{border:1px solid var(--color-border);background:var(--color-surface-muted);border-radius:11px;flex-wrap:wrap;justify-content:center;align-items:center;gap:.45rem;margin:1rem 0 1.25rem;padding:.9rem;display:flex}.article-content:where(.astro-tldeq5d5) .route-flow span{border:1px solid var(--color-border);background:var(--color-surface);color:rgb(var(--gray-dark));border-radius:7px;padding:.35rem .55rem;font-size:.75rem;font-weight:650}.article-content:where(.astro-tldeq5d5) .route-flow b{color:var(--accent);font-size:.83rem}.article-toc:where(.astro-tldeq5d5){grid-area:1/3;align-self:stretch}.article-content:where(.astro-tldeq5d5) h2,.article-content:where(.astro-tldeq5d5) h3,.article-content:where(.astro-tldeq5d5) h4{scroll-margin-top:6rem}.article-bottom:where(.astro-tldeq5d5){max-width:1320px;margin:0 auto}body.has-toc .article-bottom:where(.astro-tldeq5d5){grid-template-columns:minmax(0,1fr) minmax(0,760px) 220px minmax(0,1fr);gap:0 2rem;display:grid}.article-ending:where(.astro-tldeq5d5){border:1px solid var(--color-border);background:var(--color-surface);border-radius:11px;align-items:center;gap:.8rem;width:100%;max-width:760px;margin:3rem auto 0;padding:1rem 1.2rem;display:flex}body.has-toc .article-ending:where(.astro-tldeq5d5){grid-column:2;max-width:none;margin:3rem 0 0}.article-ending:where(.astro-tldeq5d5) p:where(.astro-tldeq5d5){color:rgb(var(--gray));margin:0;font-size:.82rem}.ending-mark:where(.astro-tldeq5d5){color:var(--accent);font-size:1.2rem}.back-to-top:where(.astro-tldeq5d5){display:none}.comments:where(.astro-tldeq5d5){max-width:760px;margin:3.5rem auto 0}body.has-toc .comments:where(.astro-tldeq5d5){grid-column:2;max-width:none;margin:3.5rem 0 0}.comments-heading:where(.astro-tldeq5d5){margin:0 0 1rem}.comments-eyebrow:where(.astro-tldeq5d5){color:var(--accent);font:700 .66rem/1.4 var(--font-mono);letter-spacing:.12em;margin:0 0 .45rem}.comments-heading:where(.astro-tldeq5d5) h2:where(.astro-tldeq5d5){color:rgb(var(--black));letter-spacing:-.035em;margin:0;font-size:1.4rem;font-weight:720;line-height:1.35}.comments-heading:where(.astro-tldeq5d5)>p:where(.astro-tldeq5d5):last-child{color:rgb(var(--gray));margin:.4rem 0 0;font-size:.84rem;line-height:1.65}.comments-panel:where(.astro-tldeq5d5){border:1px solid var(--color-border);background:var(--color-surface);box-shadow:var(--shadow-card);border-radius:14px;padding:clamp(.8rem,2.5vw,1.35rem)}.comments-panel:where(.astro-tldeq5d5) .giscus{width:100%;min-width:0}.comments-panel:where(.astro-tldeq5d5) iframe.giscus-frame{border:0;width:100%}dialog.article-lightbox{border:1px solid var(--color-border);background:var(--color-bg);max-width:min(94vw,1500px);max-height:92vh;color:rgb(var(--gray-dark));border-radius:12px;padding:.75rem;box-shadow:0 24px 90px #00000073}dialog.article-lightbox::backdrop{background:#05080ed1}dialog.article-lightbox img{object-fit:contain;max-width:90vw;max-height:82vh;margin:auto;display:block}dialog.article-lightbox .lightbox-close{border:1px solid var(--color-border);background:var(--color-surface);color:rgb(var(--gray-dark));cursor:pointer;border-radius:7px;margin:0 0 0 auto;padding:.3rem .65rem;font-size:.8rem;display:block}@media (width<=1120px){.article-layout:where(.astro-tldeq5d5){flex-direction:column;max-width:760px;display:flex}.article-toc:where(.astro-tldeq5d5){order:-1;width:100%;margin-bottom:1.4rem}.article-content:where(.astro-tldeq5d5){width:100%}body.has-toc .article-bottom:where(.astro-tldeq5d5){max-width:760px;display:block}body.has-toc .article-ending:where(.astro-tldeq5d5),body.has-toc .comments:where(.astro-tldeq5d5){max-width:none;margin-left:0;margin-right:0}}@media (width>=1121px){.back-to-top:where(.astro-tldeq5d5){border:1px solid var(--color-border);background:var(--color-surface);width:fit-content;color:rgb(var(--gray-dark));border-radius:8px;align-items:center;gap:.45rem;margin:1rem auto 0;padding:.55rem .85rem;font-size:.82rem;text-decoration:none;transition:border-color .15s,color .15s,transform .15s;display:inline-flex}body.has-toc .back-to-top:where(.astro-tldeq5d5){grid-column:2;margin-left:0}.back-to-top:where(.astro-tldeq5d5):hover{border-color:var(--accent);color:var(--accent);transform:translateY(-1px)}.back-to-top:where(.astro-tldeq5d5) span:where(.astro-tldeq5d5){font-size:1.1rem;line-height:1}}@media (width<=720px){.post-main:where(.astro-tldeq5d5){padding:1.5rem 1rem 3rem}.breadcrumb:where(.astro-tldeq5d5){margin-bottom:1.25rem}.post-header:where(.astro-tldeq5d5){margin-bottom:1.5rem}.post-header:where(.astro-tldeq5d5) h1:where(.astro-tldeq5d5){font-size:clamp(1.9rem,8vw,2.55rem)}.post-description:where(.astro-tldeq5d5){margin:.8rem 0 1rem;font-size:.96rem}.post-meta:where(.astro-tldeq5d5){gap:.4rem .75rem;font-size:.72rem}.hero-image:where(.astro-tldeq5d5){margin-bottom:1.75rem}.article-content:where(.astro-tldeq5d5){font-size:1rem;line-height:1.82}.article-content:where(.astro-tldeq5d5) h2{margin-top:2.2em;font-size:1.45rem}.article-content:where(.astro-tldeq5d5) h3{font-size:1.18rem}.article-content:where(.astro-tldeq5d5) .compare-grid{grid-template-columns:1fr}.article-content:where(.astro-tldeq5d5) .route-flow{justify-content:flex-start;gap:.35rem}.article-content:where(.astro-tldeq5d5) .route-flow span{font-size:.7rem}.article-content:where(.astro-tldeq5d5) .route-flow b{font-size:.72rem}.article-ending:where(.astro-tldeq5d5){margin-top:2.2rem;padding:.9rem}.comments:where(.astro-tldeq5d5){margin-top:2.5rem}.comments-panel:where(.astro-tldeq5d5){border-radius:11px;padding:.65rem}}
