:root{color-scheme:light;--background:#fff;--foreground:#18181b;--popover:#fff;--surface:#fafafa;--muted:#f4f4f5;--muted-foreground:#66666e;--border:#e4e4e7;--accent:#f0f3f8;--primary:#2563eb;--primary-foreground:#fff;--secondary:#f4f4f5;--ring:#2563eb;--link:#2563eb;--sidebar:#fafafa;--font:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif;--font-body:"Mona Sans",var(--font);--font-heading:"Mona Sans",var(--font);--font-mono:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace}:root[data-theme=dark]{color-scheme:dark;--background:#09090b;--foreground:#e4e4e7;--popover:#18181b;--surface:#111113;--muted:#202024;--muted-foreground:#a1a1aa;--border:#29292e;--accent:#1a202c;--primary:#60a5fa;--primary-foreground:#09090b;--secondary:#202024;--ring:#60a5fa;--link:#75b4ff;--sidebar:#0e0e10}*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--background);color:var(--foreground);font:14px/1.7 var(--font);-webkit-font-smoothing:antialiased}a{color:var(--link);text-decoration:none}a:hover{text-decoration:underline}button,input{font:inherit}button{cursor:pointer}svg{display:block;width:20px;height:20px}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible{outline:2px solid var(--ring);outline-offset:3px}[hidden]{display:none!important}.skip-link{position:fixed;left:10px;top:-100px;z-index:100;background:var(--surface);padding:8px}.skip-link:focus{top:10px}.site-header{height:60px;position:sticky;top:0;z-index:40;display:flex;justify-content:space-between;align-items:center;padding:0 28px;border-bottom:1px solid var(--border);background:var(--background)}.header-left,.header-right{display:flex;align-items:center;gap:14px}.header-right{gap:8px}.brand{color:var(--foreground);font-size:20px;font-weight:650;white-space:nowrap;display:inline-flex;align-items:center;gap:9px}.brand-avatar{width:40px;height:40px;border-radius:50%;object-fit:cover;border:1px solid var(--border);flex:none}.brand:hover{text-decoration:none}.header-search{width:220px}.search-trigger{width:100%;height:34px!important;justify-content:flex-start!important;color:var(--muted-foreground)!important;background:var(--surface)!important;border:1px solid var(--border)!important;box-shadow:none!important;font-weight:400!important}.search-trigger kbd{margin-left:auto;padding:0 5px;color:var(--muted-foreground);font:11px ui-monospace,monospace;border:1px solid var(--border);border-radius:3px}.icon-button{width:34px;height:34px;display:grid;place-items:center;border:0;background:0 0;color:var(--muted-foreground);border-radius:4px}.icon-button:hover{background:var(--muted);color:var(--foreground)}.icon-button svg{width:18px;height:18px}.mobile-menu{display:none}.site-shell{max-width:none;margin:0;display:grid;grid-template-columns:300px minmax(0,1fr)280px;min-height:calc(100vh - 60px)}.is-home .site-shell{grid-template-columns:300px minmax(0,1fr)}.is-home .toc{display:none}.sidebar{position:sticky;top:60px;align-self:start;height:calc(100vh - 60px);overflow:auto;border-right:1px solid var(--border);background:var(--sidebar);scrollbar-width:thin;scrollbar-color:var(--border)transparent}.sidebar-inner{padding:24px 14px 48px}.nav-link,.nav-group summary{min-height:34px;display:flex;align-items:center;gap:8px;color:var(--muted-foreground);padding:5px 8px;border-radius:4px;font-size:15px;line-height:1.5;text-decoration:none}.nav-link:hover,.nav-group summary:hover{color:var(--foreground);background:var(--muted);text-decoration:none}.nav-link.is-active{color:var(--link);background:var(--accent);font-weight:600}.nav-tree,.nav-tree ul{list-style:none;margin:0;padding:0}.nav-group summary{list-style:none;cursor:pointer;font-size:17px;font-weight:400;padding:4px 8px}.nav-group summary::-webkit-details-marker{display:none}.nav-chevron{width:14px;height:14px;margin-left:auto;flex:none;color:var(--muted-foreground);transition:transform .15s ease}.nav-group[open]>summary{color:var(--foreground);font-weight:400}.nav-group[open]>summary .nav-chevron{transform:rotate(90deg);color:var(--foreground)}.nav-group .nav-group>summary .nav-chevron{order:-1;margin-left:0}.nav-group .nav-group>ul{margin-left:10px;padding-left:30px;border-left:1px solid var(--border)}.nav-group>ul{margin-left:10px;padding-left:8px;border-left:1px solid var(--border)}.nav-group.is-nav-flash>summary{background:var(--accent);color:var(--link)}.main-content{min-width:0;padding:44px clamp(16px,1.5vw,24px)80px}.toc{position:sticky;top:60px;align-self:start;height:calc(100vh - 60px);overflow:auto;padding:46px 16px 30px 14px}.toc-inner{font-size:15px}.toc-title{font-weight:600;margin-bottom:12px}.toc ul{margin:0;padding-left:14px;list-style:none;border-left:1px solid var(--border)}.toc li{margin:8px 0;line-height:1.5}.toc a{color:var(--muted-foreground)}.toc a:hover,.toc a.is-active{color:var(--link);text-decoration:none}.toc-top{display:block;margin-top:20px}.footer{border-top:1px solid var(--border);display:flex;justify-content:space-between;gap:20px;padding:20px 28px;color:var(--muted-foreground);font-size:12px}.footer--center{justify-content:center;align-items:center}.footer--between{justify-content:space-between;align-items:center}.footer--left{justify-content:flex-start;align-items:flex-start}.footer--right{justify-content:flex-end;align-items:flex-end}.home{max-width:960px;margin:0 auto}.home-terminal{padding:40px 0 64px}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.home-header{padding:12px 0 34px;border-bottom:1px solid var(--border)}.home-header h1{font-size:32px;line-height:1.25;margin:0 0 12px;letter-spacing:-.025em}.home-header p{color:var(--muted-foreground);font-size:15px;margin:0 0 22px}.button-primary{display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border-radius:4px;background:var(--primary);color:var(--primary-foreground);font-size:13px;font-weight:600}.button-primary:hover{text-decoration:none;opacity:.9}.home-intro{margin-top:24px}.home-section{margin-top:35px}.home-section h2{margin:0 0 15px;font-size:19px}.feature-grid,.recent-list{border-top:1px solid var(--border)}.feature-card,.recent-list>a{display:flex;align-items:center;gap:12px;padding:14px 2px;border-bottom:1px solid var(--border);color:var(--foreground)}.feature-card:hover,.recent-list>a:hover{text-decoration:none;color:var(--link)}.feature-card strong{flex:0 0 135px;font-size:14px}.feature-card>span{color:var(--muted-foreground);font-size:13px}.recent-name{flex:1;min-width:0}.recent-name strong,.recent-name small{display:block}.recent-name strong{font-size:13px}.recent-name small{color:var(--muted-foreground);font-size:12px}.recent-date{color:var(--muted-foreground);font-size:12px;white-space:nowrap}.article{max-width:725px;margin:auto}.article-crumb{border-bottom:1px solid var(--border);padding-bottom:18px;margin-bottom:30px}.breadcrumbs{display:flex;flex-wrap:wrap;gap:10px;color:var(--muted-foreground);font-size:16px;margin:0}.breadcrumbs span[aria-current]{color:var(--foreground);font-weight:500}.breadcrumbs a{color:var(--muted-foreground)}.breadcrumbs span:last-child{color:var(--foreground)}.article-header{border-bottom:1px solid var(--border);padding-bottom:24px;margin-bottom:32px}.article-header h1{font-family:var(--font-heading);font-size:2.5rem;font-weight:460;line-height:1.2;letter-spacing:0;margin:0 0 12px}.article-description{font-size:1rem;color:var(--muted-foreground);line-height:1.6;margin:0}.article-meta{display:flex;gap:16px;margin-top:16px;font-size:13px;color:var(--muted-foreground)}.prose{font-family:var(--font-body);font-size:17px;line-height:1.6;overflow-wrap:anywhere}.prose>:first-child{margin-top:0!important}.prose>:last-child{margin-bottom:0!important}.prose p,.prose ul,.prose ol,.prose pre,.prose table,.prose blockquote,.prose dl,.prose details{margin-top:0;margin-bottom:16px}.prose h1,.prose h2,.prose h3,.prose h4,.prose h5,.prose h6{font-family:var(--font-heading);font-weight:600;line-height:1.3;margin:24px 0 16px;scroll-margin-top:88px}.prose h1{font-size:2em}.prose h2{position:relative;font-size:1.5em;margin-top:3.5rem;padding-bottom:0;border-bottom:0}.prose h2:before{content:"";position:absolute;left:0;right:0;top:-2rem;border-top:1px solid var(--border);pointer-events:none}.prose>h2:first-of-type{margin-top:0}.prose>h2:first-of-type:before{display:none}.prose h3{font-size:1.25em}.prose h4{font-size:1em}.prose h5{font-size:.875em}.prose h6{font-size:.85em;color:var(--muted-foreground)}.prose ul,.prose ol{padding-left:2em}.prose li{margin:.25em 0}.prose li>p{margin-top:16px}.prose img{max-width:100%;height:auto}.prose hr{height:.25em;margin:24px 0;padding:0;border:0;background:var(--border)}.prose>hr:first-child{display:none}.prose blockquote{margin:0 0 16px;padding:0 1em;color:var(--muted-foreground);border-left:.25em solid var(--primary)}.prose :not(pre)>code{font-family:var(--font-mono);font-size:85%;padding:.2em .4em;border:0;border-radius:6px;background:var(--muted)}.prose table{display:block;width:max-content;max-width:100%;overflow:auto;border-collapse:collapse;margin:0 0 16px;font-size:1em}.prose th,.prose td{padding:6px 13px;border:1px solid var(--border);text-align:left}.prose th{background:0 0;font-weight:600}.prose tr{background:var(--background)}.prose tr:nth-child(2n){background:var(--surface)}.code-block{--code-mono:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--code-border:#e5e5e5;--code-background:#fff;--code-foreground:#000;position:relative;margin:32px 0;border:1px solid var(--code-border);border-radius:6px;overflow:hidden;background:var(--code-background);-webkit-font-smoothing:auto;box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24)}@media(min-width:1200px){.code-block{max-width:min(960px,calc(53.336vw - 51.2px))}}.code-block>.highlight{position:relative;border:1px solid var(--code-border)}.code-block pre{margin:0;padding:16px;overflow:auto;overflow-wrap:normal;font:14px/21px var(--code-mono)}.code-block>pre,.code-block>.highlight>pre{border:1px solid var(--code-border)}.code-block pre>code{font-family:inherit;color:var(--code-foreground);background:inherit}.code-head{display:flex;align-items:center;padding:8px 16px;overflow-wrap:anywhere;border-bottom:1px solid rgba(0,0,0,.1);background:rgba(0,0,0,5%);font:16px/24px var(--code-mono)}.code-filename{color:#0d6efd;font:500 14px/21px var(--code-mono)}.copy-code{position:absolute;top:2px;right:4px;display:grid;place-items:center;width:20px;height:22px;padding:0;border:0;border-radius:4px;background:0 0;color:rgba(33,37,41,.5);cursor:pointer}.copy-code svg{width:12px;height:14px}.copy-code:hover,.copy-code:focus-visible{color:rgba(33,37,41,.75);background:#ced4da}@media(hover:hover){.code-block>.copy-code{opacity:0}.code-block:hover>.copy-code,.code-block>.copy-code:focus-visible{opacity:1}}.collapse-block{border:1px solid var(--border);border-radius:6px;margin:0 0 16px;overflow:hidden;background:var(--surface)}.collapse-block summary{padding:12px 16px;cursor:pointer;font-weight:600;background:var(--muted);list-style:none}.collapse-block summary::-webkit-details-marker{display:none}.collapse-block summary::after{content:'展开';float:right;color:var(--muted-foreground);font-size:12px;font-weight:400}.collapse-block[open] summary::after{content:'收起'}.collapse-block>div{padding:12px 16px}.alert-block{margin:0 0 16px;padding:8px 16px;border:0;border-left:.25em solid var(--primary);border-radius:6px;background:var(--accent)}.alert-block>strong{display:block;margin-bottom:2px;color:var(--primary);font-size:.875em}.alert-block>div>:first-child{margin-top:0}.alert-block>div>:last-child{margin-bottom:0}.alert-warning{border-left-color:#d4a72c;background:var(--muted)}.alert-warning>strong{color:#9a6700}:root[data-theme=dark] .alert-warning>strong{color:#d29922}:root[data-theme=dark] .code-block{--code-border:#252627;--code-background:#1e1e1e;--code-foreground:#d4d4d4}:root[data-theme=dark] .code-head{background:rgba(255,255,255,5%);border-bottom-color:rgba(255,255,255,.1)}:root[data-theme=dark] .code-filename{color:#7cb1fe;border:1px solid var(--code-border)}:root[data-theme=dark] .copy-code{color:rgba(158,158,158,.6)}:root[data-theme=dark] .copy-code:hover,:root[data-theme=dark] .copy-code:focus-visible{color:rgba(206,206,206,.75);background:#1a1d20}.list-heading{margin:30px 0 10px;color:var(--muted-foreground);font-size:12px}.article-list{border-top:1px solid var(--border)}.list-item{display:flex;align-items:center;padding:14px 2px;border-bottom:1px solid var(--border);color:var(--foreground)}.list-item:hover{text-decoration:none;color:var(--link)}.list-copy{flex:1}.list-copy strong,.list-copy small{display:block}.list-copy strong{font-size:13px}.list-copy small{font-size:12px;color:var(--muted-foreground)}.search-dialog{background:var(--popover)!important;color:var(--foreground)!important;border-color:var(--border)!important;max-width:600px!important}.search-dialog [data-slot=dialog-close]{border:0;background:0 0;color:var(--muted-foreground);padding:4px;font-size:12px;cursor:pointer}.search-dialog [data-slot=dialog-close]:hover{color:var(--foreground);background:var(--muted)}.search-field{display:flex;align-items:center;border:1px solid var(--border);border-radius:4px;padding:0 12px}.search-field:focus-within{border-color:var(--ring)}.search-field input{width:100%;padding:10px 0;background:0 0;border:0;color:var(--foreground);outline:none}.search-results{max-height:min(50vh,400px);overflow:auto}.search-results p{font-size:13px;color:var(--muted-foreground);text-align:center;padding:15px}.search-results a{display:block;color:var(--foreground);padding:10px;border-radius:4px}.search-results a:hover{background:var(--muted);text-decoration:none}.search-results strong,.search-results span,.search-results small{display:block}.search-results small{color:var(--link);font-size:11px}.search-results span{font-size:12px;color:var(--muted-foreground);overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.sidebar-backdrop{display:none}@media(max-width:1200px){.site-shell,.is-home .site-shell{grid-template-columns:220px minmax(0,1fr)}.toc{display:none}}@media(max-width:767px){.site-header{height:58px;padding:0 14px}.header-left{gap:10px}.header-right{gap:3px}.brand{font-size:17px}.brand-avatar{width:34px;height:34px}.mobile-menu{display:block;border:1px solid var(--border);border-radius:4px;padding:4px 8px;background:0 0;color:var(--foreground);font-size:12px}.header-search{width:auto}.search-trigger{width:auto;min-width:40px!important;padding:0 7px!important;border:0!important;background:0 0!important}.search-trigger span{font-size:12px}.search-trigger kbd{display:none}.site-shell,.is-home .site-shell{display:block}.sidebar{display:none;position:fixed;top:58px;left:0;width:min(300px,85vw);height:calc(100vh - 58px);z-index:39}.sidebar.is-open{display:block}.sidebar-backdrop:not([hidden]){display:block;position:fixed;inset:58px 0 0;background:#0009;z-index:38}.main-content{padding:30px 20px 60px}.home-header h1,.article-header h1{font-size:27px}.feature-card{display:block}.feature-card strong,.feature-card>span{display:block}.feature-card>span{margin-top:3px}.recent-date{display:none}.footer{padding:20px;flex-direction:column;gap:3px}.article-crumb{padding-bottom:14px;margin-bottom:24px}.breadcrumbs{font-size:15px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}.term-window{margin:0 0 20px;border:1px solid rgba(255,255,255,9%);border-radius:12px;overflow:hidden;background:#0a0a0d;box-shadow:0 24px 64px rgba(0,0,0,.45),0 2px 10px rgba(0,0,0,.35);font-family:cascadia code,Consolas,courier new,monospace}.term-titlebar{display:flex;align-items:center;padding:8px 14px;background:linear-gradient(180deg,#1b1b20,#101013);border-bottom:1px solid rgba(255,255,255,6%)}.term-dots{display:flex;gap:8px}.term-dots span{width:12px;height:12px;border-radius:50%}.term-dots span:nth-child(1){background:#ff5f57}.term-dots span:nth-child(2){background:#febc2e}.term-dots span:nth-child(3){background:#28c840}.term-title{flex:1;margin-right:52px;text-align:center;color:#84848d;font-size:12px;letter-spacing:.02em}.term-body{padding:20px 22px 22px;color:#d4d4d8;font-size:14px;line-height:1.9}.term-body p{margin:0 0 6px}.term-body a{color:#8ab8ff;text-decoration:none;border-bottom:1px dashed rgba(138,184,255,.4)}.term-body a:hover{color:#b9d4ff;border-bottom-style:solid}.term-body strong{color:#e8c47c;font-weight:600}.term-body em{color:#8ee5a1;font-style:normal}.term-body ul{list-style:none;margin:0 0 14px;padding-left:4px}.term-body li{position:relative;padding-left:28px}.term-body li:before{content:"├──";position:absolute;left:0;color:#3a3a42}.term-body li:last-child:before{content:"└──"}.term-line{margin:14px 0 6px}.term-line:first-child{margin-top:0}.term-prompt{margin-right:8px;user-select:none}.term-user{color:#8ee5a1;font-weight:600}.term-path{color:#8ab8ff;font-weight:600}.term-sep{color:#6e6e78}.term-cmd-text{color:#f4f4f5}.term-endline{margin-bottom:0}.term-out{margin:0 0 6px}.term-cursor{display:inline-block;width:8px;height:16px;margin-left:2px;vertical-align:text-bottom;background:#e8c47c;animation:term-blink 1.1s steps(2,start)infinite}@keyframes term-blink{50%{opacity:0}}.term-static .term-cursor{animation:none}.steps{counter-reset:steps;margin:24px 0}.steps-step{position:relative;padding-left:52px;padding-bottom:28px}.steps-step:before{counter-increment:steps;content:counter(steps);position:absolute;left:0;top:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border:1.5px solid var(--muted-foreground);border-radius:50%;font-size:15px;font-weight:500;line-height:1;color:var(--foreground)}.steps-step:not(:last-of-type):after{content:"";position:absolute;left:15px;top:40px;bottom:8px;border-left:2px dotted var(--muted-foreground)}.steps-step:last-of-type{padding-bottom:0}.steps-step__title{font-weight:600;font-size:1.05em;line-height:32px;color:var(--foreground)}.steps-step__subtitle{font-style:italic;font-size:.875em;color:var(--muted-foreground);margin:2px 0 10px}.steps-step__content>p:last-child{margin-bottom:0}