:root{--bg-color:#ffffff;--text-color:#171717;--accent-color:#525252;--accent-light:#f9fafb;--border-color:#e5e7eb;--spine-color:#f3f4f6;--code-bg:#f3f4f6;--meta-color:#6b7280}[data-theme=dark]{--bg-color:#171717;--text-color:#e5e5e5;--accent-color:#a3a3a3;--accent-light:#262626;--border-color:#404040;--spine-color:#262626;--code-bg:#262626;--meta-color:#a3a3a3}*{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,segoe ui,Roboto,Helvetica,Arial,sans-serif;background-color:var(--bg-color);color:var(--text-color);line-height:1.7;transition:background-color .3s,color .3s;display:flex;min-height:100vh;background-image:radial-gradient(var(--border-color) 1px,transparent 1px);background-size:24px 24px;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word}.spine{width:120px;background-color:var(--spine-color);border-right:1px solid var(--border-color);display:flex;flex-direction:column;align-items:center;padding-top:1.5rem;position:fixed;height:100vh;left:0;top:0;z-index:100;overflow-y:auto}.spine-logo{width:72px;height:72px;border-radius:50%;background-color:var(--bg-color);border:2px solid var(--border-color);margin-bottom:1.5rem;display:flex;align-items:center;justify-content:center;overflow:hidden;transition:transform .3s ease;text-decoration:none}.spine-logo:hover{transform:scale(1.05)}.spine-logo img{width:100%;height:100%;object-fit:cover}.spine-icon{color:var(--meta-color);margin-bottom:1rem;cursor:pointer;background:0 0;border:none;padding:10px;border-radius:12px;transition:background .2s,color .2s,transform .2s;display:flex;align-items:center;justify-content:center;text-decoration:none}.spine-icon:hover{background-color:var(--accent-light);color:var(--text-color);transform:translateY(-2px)}.spine-divider{width:50%;height:1px;background-color:var(--border-color);margin:.5rem 0 1rem}.main-content{margin-left:120px;flex:1;padding:3rem;max-width:1100px;min-width:0}header.site-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;padding-bottom:1rem;border-bottom:2px solid var(--border-color)}header.site-header h1 a{text-decoration:none;color:var(--text-color);font-size:1.5rem;font-weight:700;letter-spacing:-.5px}.breadcrumb{display:flex;align-items:center;gap:.5rem;font-size:.85rem;color:var(--meta-color);margin-bottom:1.5rem;flex-wrap:wrap}.breadcrumb a{color:var(--text-color);text-decoration:none;font-weight:500}.breadcrumb a:hover{text-decoration:underline}.breadcrumb-sep{color:var(--border-color)}.post-layout{display:grid;grid-template-columns:1fr 240px;gap:3rem;align-items:start}.post-main{min-width:0}.toc{background-color:var(--accent-light);border:1px solid var(--border-color);padding:1rem 1.25rem;border-radius:8px;position:sticky;top:2rem;max-height:calc(100vh - 4rem);overflow-y:auto;min-width:0}.toc-title{font-size:.8rem;font-weight:700;color:var(--meta-color);margin-bottom:.75rem;text-transform:uppercase;letter-spacing:.5px;display:flex;align-items:center;gap:.5rem}.toc ul{list-style:none;padding-left:0}.toc li{margin-bottom:.5rem}.toc a{color:var(--text-color);text-decoration:none;font-size:.9rem;transition:color .2s;display:block}.toc a:hover{color:var(--accent-color)}.toc ul ul{padding-left:1rem;margin-top:.5rem;border-left:1px solid var(--border-color)}.post-header{display:flex!important;flex-direction:column!important;gap:1rem;margin-bottom:2rem;width:100%}.post-title{font-size:2rem;color:var(--text-color);margin-bottom:0;line-height:1.3;font-weight:800}.post-meta{color:var(--meta-color);font-size:.9rem;display:flex;gap:1.5rem;align-items:center;flex-wrap:wrap}.post-content{font-size:1.05rem;line-height:1.8;color:var(--text-color);overflow-wrap:break-word;word-wrap:break-word;word-break:break-word}.post-content h2{font-size:1.5rem;font-weight:700;margin-top:2.5rem;margin-bottom:1rem;padding-bottom:.5rem;border-bottom:1px solid var(--border-color)}.post-content h3{font-size:1.25rem;font-weight:600;margin-top:2rem;margin-bottom:.75rem}.post-content p{margin-bottom:1.5rem}.post-content code,.post-content th,.post-content td{word-break:break-all;overflow-wrap:break-word;hyphens:auto}.post-content code{background-color:var(--code-bg);padding:.2rem .4rem;border-radius:4px;font-family:monospace;font-size:.9em;color:var(--accent-color)}.post-content pre{background-color:var(--code-bg);padding:1rem;border-radius:8px;overflow-x:auto;margin-bottom:1.5rem;border:1px solid var(--border-color);max-width:100%}.post-content pre code{background:0 0;padding:0;color:var(--text-color);word-break:normal}.post-content blockquote{border-left:3px solid var(--accent-color);padding-left:1rem;color:var(--meta-color);font-style:italic;margin-bottom:1.5rem}.post-content img{max-width:100%;height:auto;border-radius:8px;margin:1.5rem 0;border:1px solid var(--border-color)}.post-content table{display:block;width:100%;border-collapse:collapse;margin-bottom:1.5rem;font-size:.95rem;overflow-x:auto;-webkit-overflow-scrolling:touch}.post-content th,.post-content td{border:1px solid var(--border-color);padding:.75rem;text-align:left}.post-content th{background-color:var(--accent-light);font-weight:600}.post-content a{color:var(--text-color);text-decoration:underline;text-decoration-color:var(--border-color);text-underline-offset:3px;transition:text-decoration-color .2s}.post-content a:hover{text-decoration-color:var(--accent-color)}.highlighter{background-color:var(--accent-light);padding:0 .3rem;border-radius:4px}.category-section{margin-bottom:3rem}.category-title{font-size:1.25rem;font-weight:700;color:var(--text-color);margin-bottom:1rem;display:flex;align-items:center;gap:.75rem}.category-count{background-color:var(--accent-light);color:var(--meta-color);font-size:.8rem;padding:.2rem .6rem;border-radius:999px;font-weight:600;border:1px solid var(--border-color)}.post-list{list-style:none;padding-left:0}.post-item{margin-bottom:1rem;padding-left:1rem;border-left:2px solid var(--border-color);transition:border-color .2s}.post-item:hover{border-left-color:var(--accent-color)}.post-item a{text-decoration:none;color:var(--text-color);font-weight:500;font-size:1.05rem;transition:color .2s}.post-item a:hover{color:var(--accent-color)}.post-date{font-size:.85rem;color:var(--meta-color);margin-left:.75rem;font-weight:400}.pagination{display:flex;justify-content:center;align-items:center;gap:.5rem;margin-top:3rem;padding-top:2rem;border-top:1px solid var(--border-color)}.pagination a,.pagination span{padding:.5rem 1rem;border-radius:6px;text-decoration:none;font-weight:500;font-size:.9rem;transition:all .2s;border:1px solid var(--border-color);color:var(--text-color);background-color:var(--bg-color)}.pagination a:hover{background-color:var(--accent-light);border-color:var(--accent-color)}.pagination .active{background-color:var(--text-color);color:var(--bg-color);border-color:var(--text-color)}.pagination .disabled{opacity:.4;cursor:not-allowed}.back-to-top{position:fixed;bottom:2rem;right:2rem;width:44px;height:44px;border-radius:50%;background-color:var(--text-color);color:var(--bg-color);border:none;cursor:pointer;display:none;align-items:center;justify-content:center;box-shadow:0 4px 12px rgba(0,0,0,.1);transition:transform .2s,opacity .3s;z-index:99}.back-to-top:hover{transform:translateY(-3px)}.back-to-top.visible{display:flex}footer{margin-top:4rem;padding-top:2rem;border-top:1px solid var(--border-color);text-align:center;color:var(--meta-color);font-size:.85rem}@media(max-width:768px){.spine{width:100%;height:60px;flex-direction:row;justify-content:space-evenly;align-items:center;padding:0;border-right:none;border-bottom:1px solid var(--border-color);position:fixed;top:0;left:0;z-index:1000;background-color:var(--bg-color);flex-wrap:nowrap;overflow-x:auto}.spine-logo,.spine-divider{display:none}.spine-icon{margin:0;padding:8px;color:var(--text-color);flex:1;min-width:0}.main-content{margin-left:0;margin-top:70px;padding:1.5rem;max-width:100%}.post-title{font-size:1.5rem}.category-title{font-size:1.1rem}header.site-header h1 a{font-size:1.25rem}.post-meta{flex-direction:column;align-items:flex-start;gap:.5rem}.post-header{gap:.75rem}.back-to-top{bottom:1rem;right:1rem;width:40px;height:40px}.post-layout{display:flex;flex-direction:column;gap:1.5rem}.toc{order:-1;position:relative;top:0;max-height:none;margin-bottom:1.5rem}.post-main{order:1}}.alert{position:relative;padding:1rem 1.25rem;margin-bottom:1.5rem;border-radius:8px;border-left:4px solid;background-color:var(--accent-light);display:flex;gap:.75rem;align-items:flex-start}.alert-warning{border-left-color:#f59e0b;background-color:#fffbeb}.alert-info{border-left-color:#3b82f6;background-color:#eff6ff}.alert-danger{border-left-color:#ef4444;background-color:#fef2f2}.alert-success{border-left-color:#10b981;background-color:#ecfdf5}[data-theme=dark] .alert-warning{background-color:#451a03;border-left-color:#f59e0b}[data-theme=dark] .alert-info{background-color:#1e3a5f;border-left-color:#3b82f6}[data-theme=dark] .alert-danger{background-color:#450a0a;border-left-color:#ef4444}[data-theme=dark] .alert-success{background-color:#064e3b;border-left-color:#10b981}.alert-icon{width:20px;height:20px;flex-shrink:0;margin-top:.125rem}.alert-warning .alert-icon{color:#d97706}.alert-info .alert-icon{color:#2563eb}.alert-danger .alert-icon{color:#dc2626}.alert-success .alert-icon{color:#059669}[data-theme=dark] .alert-warning .alert-icon{color:#fbbf24}[data-theme=dark] .alert-info .alert-icon{color:#60a5fa}[data-theme=dark] .alert-danger .alert-icon{color:#f87171}[data-theme=dark] .alert-success .alert-icon{color:#34d399}.alert-title{display:flex;align-items:center;gap:.5rem;font-weight:600;margin-bottom:.5rem;color:var(--text-color)}.alert-content{flex:1;color:var(--meta-color);font-size:.95rem;line-height:1.6}.alert-content p{margin-bottom:.5rem}.alert-content p:last-child{margin-bottom:0}.alert-close{position:absolute;top:.75rem;right:.75rem;background:0 0;border:none;font-size:1.5rem;line-height:1;color:var(--meta-color);cursor:pointer;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background-color .2s,color .2s}.alert-close:hover{background-color:rgba(0,0,0,5%);color:var(--text-color)}[data-theme=dark] .alert-close:hover{background-color:rgba(255,255,255,.1)}.badge{display:inline-flex;align-items:center;padding:.25rem .625rem;font-size:.75rem;font-weight:600;line-height:1.5;border-radius:9999px;border:1px solid transparent}.badge-default{background-color:var(--accent-light);color:var(--text-color);border-color:var(--border-color)}.badge-primary{background-color:#3b82f6;color:#fff}.badge-success{background-color:#10b981;color:#fff}.badge-warning{background-color:#f59e0b;color:#fff}.badge-danger{background-color:#ef4444;color:#fff}.badge-info{background-color:#06b6d4;color:#fff}.badge-outline{background-color:transparent;color:var(--text-color);border-color:var(--border-color)}.badge-version{display:inline-block;padding:.125rem .5rem;font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;border-radius:4px;margin-left:.5rem;vertical-align:middle}.badge-version-success{background-color:#10b981;color:#fff}.badge-version-warning{background-color:#f59e0b;color:#fff}.badge-version-danger{background-color:#ef4444;color:#fff}.badge-version-info{background-color:#3b82f6;color:#fff}@media(max-width:768px){.spine{width:100%;height:60px;flex-direction:row;justify-content:space-evenly;align-items:center;padding:0;border-right:none;border-bottom:1px solid var(--border-color);position:fixed;top:0;left:0;z-index:1000;background-color:var(--bg-color);flex-wrap:nowrap;overflow-x:auto}.spine-logo,.spine-divider{display:none}.spine-icon{margin:0;padding:8px;color:var(--text-color);flex:1;min-width:0}.main-content{margin-left:0;margin-top:70px;padding:1.5rem;max-width:100%}.post-title{font-size:1.5rem}.category-title{font-size:1.1rem}header.site-header h1 a{font-size:1.25rem}.post-meta{flex-direction:column;align-items:flex-start;gap:.5rem}.post-header{gap:.75rem}.back-to-top{bottom:1rem;right:1rem;width:40px;height:40px}.post-layout{display:flex;flex-direction:column;gap:1.5rem}.toc{order:-1;position:relative;top:0;max-height:none;margin-bottom:1.5rem}.post-main{order:1}}