:root{--text-font:ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", SimSun, "Songti SC", monospace;--code-font:ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace}*{box-sizing:border-box}html{overflow-y:scroll}body{max-width:1180px;margin:auto;padding:0 1.25rem;color:#222;font:16px/1.55 var(--text-font);overflow-wrap:break-word}button,input,textarea,select{font-family:var(--text-font)}a{color:#075c9e;text-underline-offset:3px}h1,h2,h3,h4{line-height:1.3}.nav{min-height:3.25rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;border-bottom:1px solid #ddd}.logo a{color:#222;font-weight:700;text-decoration:none}#menu{display:flex;gap:1rem;margin:0;padding:0;list-style:none}#menu a{color:#555;text-decoration:none}.main{min-height:calc(100vh - 7rem);padding:1.25rem 0 2.5rem}.footer{padding:.75rem 0;border-top:1px solid #ddd;color:#666;font-size:.875rem}.page-header,.post-header,.home-masthead{margin-bottom:1.25rem}.page-header h1,.post-title,.home-title{margin:0 0 .35rem;font-size:clamp(1.4rem,3vw,1.75rem)}.post-description,.post-meta,.entry-footer{color:#666}.post-meta,.entry-footer,.breadcrumbs{font-size:.875rem}.breadcrumbs{margin-bottom:.75rem}.home-masthead{padding-bottom:.75rem;border-bottom:1px solid #ddd}.home-masthead p{margin:0}.home-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem 2.5rem}.section-head{display:flex;align-items:baseline;justify-content:space-between}.section-title{margin:0 0 .5rem;font-size:1.1rem}.section-count,.home-posts time{color:#666;font-size:.8rem}.home-posts,.post-list,#searchResults{margin:0;padding:0;list-style:none}.home-posts{border-top:1px solid #ddd}.home-posts li{display:flex;justify-content:space-between;gap:1rem;padding:.4rem 0;border-bottom:1px solid #ddd}.post-list,#searchResults{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:2.5rem}.post-entry{min-width:0;padding:.6rem 0;border-bottom:1px solid #ddd}.entry-header h2{margin:0;font-size:1.1rem}.entry-header a{color:#222;text-decoration:none}.entry-description{margin:.3rem 0 0;color:#666}.entry-tags a{margin-left:.5rem}.post-single{max-width:46rem;margin:auto}.post-header{padding-bottom:.75rem;border-bottom:1px solid #ddd}.post-single a{color:#22e}.post-content{margin-top:1rem;font-size:.875rem;line-height:1.6}.post-content p{margin:0 0 .875rem}.post-content ul,.post-content ol{margin:0 0 .875rem;padding-left:1.75rem}.post-content li{margin:0}.post-content h1{margin:1.3rem 0 .45rem;font-size:1.45rem}.post-content h2{margin:1.35rem 0 .45rem;font-size:1.2rem}.post-content h3,.post-content h4{margin:1rem 0 .4rem}.post-content h3{font-size:1.08rem}.post-content h4{font-size:1rem}.post-content img,.post-content svg{display:block;max-width:100%;max-height:min(32vh,16rem);width:auto;height:auto;margin:auto}.post-image{margin:.7rem 0;text-align:center}.image-open{display:block;width:100%;padding:0;border:0;background:0 0;cursor:zoom-in}.image-viewer{width:min(96vw,1400px);height:92vh;padding:0;border:0;background:#111;color:#fff}.image-viewer::backdrop{background:#000b}.image-viewer-bar{height:3rem;display:flex;align-items:center;justify-content:flex-end;gap:.5rem;padding:.4rem}.image-viewer-bar button{min-width:2.5rem;padding:.35rem .6rem}.image-viewer-stage{height:calc(100% - 3rem);display:grid;place-items:center;overflow:auto}.image-viewer-stage img{max-width:90%;max-height:80vh;transform-origin:center}.post-content blockquote{margin:1rem 0;padding-left:1rem;border-left:3px solid #bbb;color:#555}.post-content table{display:block;width:100%;overflow-x:auto;border-collapse:collapse}.post-content th,.post-content td{padding:.4rem .6rem;border:1px solid #ccc;text-align:left}code{padding:.1rem .25rem;background:#f2f2f2;font:.9em/1.5 var(--code-font)}pre{max-width:100%;padding:1rem;overflow:auto;background:#f2f2f2}pre code{padding:0;background:0 0}.hl-k{color:#6f2da8;font-weight:600}.hl-s{color:#087a45}.hl-c{color:#777;font-style:italic}.code-block{position:relative;margin:1rem 0}.code-block pre{margin:0;padding-top:2.25rem}.code-copy{position:absolute;top:.4rem;right:.4rem;padding:.2rem .5rem;border:1px solid #bbb;background:#fff;color:#555;font:12px/1.4 var(--text-font);cursor:pointer}.mindmap-list{padding-left:1rem;border-left:3px solid #ddd;overflow-x:auto}.toc{max-height:35vh;margin:.75rem 0;padding:.35rem .65rem;overflow:auto;border:1px solid #ccc}.toc summary{display:flex;justify-content:space-between;cursor:pointer;font-weight:600;list-style:none}.toc summary::after{content:"▴";color:#22e}.toc:not([open]) summary::after{content:"▾"}.toc summary::-webkit-details-marker{display:none}.post-footer{margin-top:2rem;padding-top:1rem;border-top:1px solid #ddd}.post-tags{display:flex;flex-wrap:wrap;gap:.6rem;margin:0;padding:0;list-style:none}.pagination-list{display:flex;gap:.5rem;margin:2rem 0 0;padding:0;list-style:none}.pagination a,.pagination span{display:block;padding:.2rem .5rem;border:1px solid #ccc;text-decoration:none}.terms-tags{display:flex;flex-wrap:wrap;gap:.5rem;padding:0;list-style:none}.terms-tags a{display:block;padding:.2rem .6rem;border:1px solid #ccc;text-decoration:none}#searchInput{width:100%;padding:.7rem;border:1px solid #aaa;font:inherit}.not-found{padding:15vh 0;text-align:center}.not-found-code{font-size:4rem;font-weight:700}details,summary{margin:1rem 0}@media(min-width:1160px){.post-single{max-width:70rem;display:grid;grid-template-columns:minmax(0,46rem)minmax(0,20rem);column-gap:4rem;align-items:start}.post-header,.post-content,.post-footer{grid-column:1}.toc{grid-column:2;grid-row:1/span 3;position:sticky;top:1rem;max-height:calc(100vh - 2rem);margin:0;padding:0 0 .875rem 1rem;overflow:auto;border:0;font:14px/1.6 var(--text-font)}.toc summary{margin:0;padding:0 0 .875rem;border-bottom:1px solid #ddd;font-weight:400}.toc>nav{display:block}.toc ul{margin:0 .5rem .875rem 0;padding:0;list-style:none}.toc ul ul{margin:0;padding-left:1rem}.toc li{margin:.25rem 0}.toc a{text-decoration:none}}@media(max-width:720px){.nav{align-items:flex-start;flex-direction:column;padding:.7rem 0}#menu{width:100%;justify-content:space-between}.home-sections,.post-list,#searchResults{grid-template-columns:1fr}.home-posts li{display:block}.home-posts time{display:block}}