:root{--bg:#fafafa;--surface:#fff;--surface-subtle:#f4f4f5;--border:#e7e7ea;--border-strong:#d4d4d8;--text-primary:#171717;--text-secondary:#52525b;--text-muted:#71717a;--accent:#2563eb;--accent-soft:#2563eb14;--accent-border:#2563eb38;--radius-sm:6px;--radius-md:12px;--radius-lg:16px;--font-sans:-apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;--font-mono:ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Monaco, Consolas, monospace;--container-width:720px;--header-height:64px;--transition:.18s cubic-bezier(.2, .8, .2, 1)}html[data-theme=dark]{--bg:#0b0c0e;--surface:#121418;--surface-subtle:#181b21;--border:#23262e;--border-strong:#323642;--text-primary:#ededef;--text-secondary:#a1a1aa;--text-muted:#71717a;--accent:#60a5fa;--accent-soft:#60a5fa1f;--accent-border:#60a5fa47}*,:before,:after{box-sizing:border-box}html{background-color:var(--bg);color:var(--text-primary);font-family:var(--font-sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;scroll-behavior:smooth;color-scheme:light;font-size:16px;line-height:1.75}html[data-theme=dark]{color-scheme:dark}body{background-color:var(--bg);min-height:100dvh;color:var(--text-primary);transition:background-color var(--transition), color var(--transition);flex-direction:column;margin:0;display:flex}main{width:100%;max-width:var(--container-width);flex:1;margin:0 auto;padding:2.75rem 1.25rem 4.5rem}a{color:inherit;text-decoration:none}img,svg{max-width:100%;display:block}button{font:inherit;color:inherit}::selection{background:var(--accent-soft);color:var(--accent)}.container{width:100%;max-width:var(--container-width);margin:0 auto;padding:0 1.25rem}.mono{font-family:var(--font-mono);font-variant-numeric:tabular-nums}.section{margin-top:3.75rem}.section-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:baseline;gap:1rem;margin-bottom:1.25rem;padding-bottom:.65rem;display:flex}.section-title{letter-spacing:.04em;color:var(--text-secondary);margin:0;font-size:.9rem;font-weight:600}.section-link{color:var(--text-muted);transition:color var(--transition);font-size:.85rem}.section-link:hover{color:var(--accent)}.tag-list{flex-wrap:wrap;gap:.4rem;display:flex}.tag{color:var(--text-secondary);background:var(--surface-subtle);transition:background-color var(--transition), color var(--transition), border-color var(--transition);border:1px solid #0000;border-radius:999px;align-items:center;padding:.14rem .55rem;font-size:.76rem;line-height:1.5;display:inline-flex}.post-list{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.post-item{border-bottom:1px solid var(--border)}.post-item:last-child{border-bottom:none}.post-row{transition:opacity var(--transition);padding:1.15rem 0;display:block}.post-row-top{justify-content:space-between;align-items:baseline;gap:1rem;display:flex}.post-row-title{color:var(--text-primary);transition:color var(--transition);margin:0;font-size:1.06rem;font-weight:600;line-height:1.45}.post-row:hover .post-row-title{color:var(--accent)}.post-row-date{color:var(--text-muted);flex-shrink:0;font-size:.82rem}.post-row-desc{color:var(--text-secondary);margin:.4rem 0 0;font-size:.92rem;line-height:1.65}.post-row-meta{align-items:center;gap:.75rem;margin-top:.65rem;display:flex}.demo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.page-header{margin-bottom:2.25rem}.page-title{letter-spacing:-.02em;margin:0;font-size:1.75rem;font-weight:700;line-height:1.3}.page-lead{color:var(--text-secondary);margin:.65rem 0 0;font-size:.98rem;line-height:1.75}.prose{color:var(--text-primary);word-break:break-word;font-size:1.02rem;line-height:1.88}.prose>:first-child{margin-top:0}.prose h2{letter-spacing:-.015em;margin:2.4rem 0 .9rem;scroll-margin-top:5rem;font-size:1.35rem;font-weight:700;line-height:1.4}.prose h3{margin:1.85rem 0 .65rem;scroll-margin-top:5rem;font-size:1.12rem;font-weight:600;line-height:1.45}.prose p{margin:0 0 1.25rem}.prose a{color:var(--accent);text-decoration:underline;text-decoration-color:var(--accent-border);text-underline-offset:4px;transition:text-decoration-color var(--transition)}.prose a:hover{text-decoration-color:var(--accent)}.prose strong{color:var(--text-primary);font-weight:600}.prose ul,.prose ol{margin:0 0 1.25rem;padding-left:1.45rem}.prose li{margin:.38rem 0}.prose li>ul,.prose li>ol{margin-top:.35rem;margin-bottom:.35rem}.prose blockquote{border-left:3px solid var(--border-strong);color:var(--text-secondary);margin:1.5rem 0;padding:.35rem 0 .35rem 1.15rem}.prose blockquote p:last-child{margin-bottom:0}.prose hr{border:none;border-top:1px solid var(--border);margin:2.5rem 0}.prose code:not(pre code){font-family:var(--font-mono);background:var(--surface-subtle);border:1px solid var(--border);border-radius:var(--radius-sm);padding:.14em .42em;font-size:.86em}.prose pre{border:1px solid var(--border);border-radius:var(--radius-md);font-family:var(--font-mono);margin:1.5rem 0;padding:1.1rem 1.2rem;font-size:.875rem;line-height:1.65;overflow-x:auto}html[data-theme=dark] .astro-code,html[data-theme=dark] .astro-code span{color:var(--shiki-dark)!important;background-color:var(--surface)!important}html:not([data-theme=dark]) .astro-code{background-color:var(--surface)!important}.prose table{border-collapse:collapse;width:100%;margin:1.5rem 0;font-size:.92rem;display:block;overflow-x:auto}.prose th,.prose td{border-bottom:1px solid var(--border);text-align:left;padding:.6rem .85rem}.prose th{color:var(--text-secondary);background:var(--surface-subtle);font-weight:600}.prose img{border-radius:var(--radius-md);border:1px solid var(--border);margin:1.5rem auto}@media (width<=640px){main{padding:2rem 1.05rem 3.5rem}.demo-grid{grid-template-columns:1fr}.post-row-top{flex-direction:column;gap:.2rem}.page-title{font-size:1.5rem}}
