:root{--bg:#fafafa;--surface:#ffffff;--text:#18181b;--muted:#64748b;--border:#e4e4e7;--accent:#2563eb;--accent-hover:#1d4ed8;--code-bg:#f4f4f5;--tag-bg:#f1f5f9;--font-sans:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace}[data-theme=dark]{--bg:#0b0d10;--surface:#12161c;--text:#e4e4e7;--muted:#94a3b8;--border:#27272a;--accent:#60a5fa;--accent-hover:#93c5fd;--code-bg:#161b22;--tag-bg:#1e293b}*,*::before,*::after{box-sizing:border-box}html{font-size:16px;-webkit-text-size-adjust:100%}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font-sans);line-height:1.65;transition:background-color .15s ease,color .15s ease}a{color:var(--accent);text-decoration:none}a:hover{color:var(--accent-hover);text-decoration:underline}.site-shell{max-width:740px;margin:0 auto;padding:1.5rem 1.25rem 3rem;min-height:100vh;display:flex;flex-direction:column}.site-main{flex:1}.site-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-bottom:1.25rem;margin-bottom:2.25rem;border-bottom:1px solid var(--border)}.site-brand{font-family:var(--font-mono);font-weight:700;font-size:1.05rem;color:var(--text);letter-spacing:-.02em}.site-brand:hover{color:var(--accent);text-decoration:none}.site-nav{display:flex;align-items:center;gap:1.15rem}.nav-link{color:var(--muted);font-size:.95rem}.nav-link:hover,.nav-link.is-active{color:var(--text);text-decoration:none}.theme-toggle{background:0 0;border:1px solid var(--border);border-radius:6px;color:var(--muted);cursor:pointer;padding:.25rem .5rem;font-size:.9rem;line-height:1.2}.theme-toggle:hover{color:var(--text);border-color:var(--muted)}[data-theme=dark] .theme-icon-dark,:root:not([data-theme=dark]) .theme-icon-light{display:none}.hero{margin-bottom:2.5rem}.hero h1,.page-header h1,.post-header h1{margin:0 0 .5rem;font-size:1.9rem;line-height:1.25;letter-spacing:-.025em}.hero-tagline,.page-description{margin:0;color:var(--muted);font-size:1.05rem}.section-heading{font-size:.85rem;font-family:var(--font-mono);text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:0 0 1rem}.post-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:1.5rem}.post-item{padding-bottom:1.5rem;border-bottom:1px solid var(--border)}.post-item:last-child{border-bottom:none}.post-item-header{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;flex-wrap:wrap}.post-item-title{font-size:1.2rem;font-weight:600;color:var(--text)}.post-item-title:hover{color:var(--accent)}.post-item-date{font-family:var(--font-mono);font-size:.85rem;color:var(--muted);white-space:nowrap}.post-item-summary{margin:.45rem 0 .65rem;color:var(--muted);font-size:.96rem}.tag-row{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.45rem}.tag-pill{display:inline-block;font-family:var(--font-mono);font-size:.78rem;padding:.15rem .5rem;border-radius:4px;background:var(--tag-bg);color:var(--muted)}.tag-pill:hover{color:var(--accent);text-decoration:none}.terms-list{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:.65rem}.post-header{margin-bottom:2rem}.post-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;color:var(--muted);font-size:.9rem;font-family:var(--font-mono)}.post-meta .tag-row{width:100%;margin-top:.35rem}.toc{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:.85rem 1.1rem;margin-bottom:1.75rem;font-size:.92rem}.toc summary{cursor:pointer;font-weight:600}.prose{font-size:1.02rem}.prose h2,.prose h3,.prose h4{margin-top:2rem;margin-bottom:.75rem;line-height:1.3;letter-spacing:-.015em}.prose p,.prose ul,.prose ol,.prose blockquote{margin:0 0 1.25rem}.prose ul,.prose ol{padding-left:1.4rem}.prose blockquote{border-left:3px solid var(--accent);margin-left:0;padding-left:1rem;color:var(--muted)}.prose code{font-family:var(--font-mono);font-size:.88em;background:var(--code-bg);padding:.15em .38em;border-radius:4px}.prose pre{position:relative;background:var(--code-bg)!important;border:1px solid var(--border);border-radius:8px;padding:1rem 1.1rem;overflow-x:auto;margin:0 0 1.35rem;font-size:.88rem;line-height:1.55}.prose pre code{background:0 0;padding:0;font-size:inherit}.copy-code-btn{position:absolute;top:.5rem;right:.5rem;font-family:var(--font-mono);font-size:.72rem;background:var(--surface);color:var(--muted);border:1px solid var(--border);border-radius:4px;padding:.2rem .45rem;cursor:pointer}.copy-code-btn:hover{color:var(--text)}.prose img{max-width:100%;height:auto;border-radius:8px}.post-nav,.pagination{display:flex;justify-content:space-between;gap:1rem;margin-top:2.5rem;padding-top:1.5rem;border-top:1px solid var(--border);font-size:.92rem}.post-nav-prev,.post-nav-next{display:flex;flex-direction:column;gap:.2rem;max-width:48%}.post-nav-next{text-align:right;align-items:flex-end}.post-nav-label{font-family:var(--font-mono);font-size:.78rem;color:var(--muted)}.site-footer{margin-top:3rem;padding-top:1.25rem;border-top:1px solid var(--border);font-size:.85rem;color:var(--muted)}.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}.footer-links{display:flex;gap:1rem}.footer-links a{color:var(--muted)}.footer-links a:hover{color:var(--text)}.not-found{padding:3rem 0;text-align:center}.chroma .c,.chroma .c1,.chroma .cm{color:#6a737d;font-style:italic}.chroma .k,.chroma .kd,.chroma .kn,.chroma .kp,.chroma .kr,.chroma .kt{color:#cf222e}.chroma .s,.chroma .s1,.chroma .s2,.chroma .sb,.chroma .sc,.chroma .dl{color:#0a3069}.chroma .nf,.chroma .nc,.chroma .nb{color:#8250df}.chroma .mi,.chroma .mf,.chroma .mh{color:#0550ae}[data-theme=dark] .chroma .c,[data-theme=dark] .chroma .c1,[data-theme=dark] .chroma .cm{color:#8b949e}[data-theme=dark] .chroma .k,[data-theme=dark] .chroma .kd,[data-theme=dark] .chroma .kn,[data-theme=dark] .chroma .kp,[data-theme=dark] .chroma .kr,[data-theme=dark] .chroma .kt{color:#ff7b72}[data-theme=dark] .chroma .s,[data-theme=dark] .chroma .s1,[data-theme=dark] .chroma .s2,[data-theme=dark] .chroma .sb,[data-theme=dark] .chroma .sc,[data-theme=dark] .chroma .dl{color:#a5d6ff}[data-theme=dark] .chroma .nf,[data-theme=dark] .chroma .nc,[data-theme=dark] .chroma .nb{color:#d2a8ff}[data-theme=dark] .chroma .mi,[data-theme=dark] .chroma .mf,[data-theme=dark] .chroma .mh{color:#79c0ff}