:root{--bg:#f0f3ef;--paper:#fff;--ink:#233d3b;--muted:#627472;--line:#dce4df;--green:#244a47;--soft:#e3eee8;--sage:#b9d0bf;--gold:#d9bb72;--gold-light:#f5ebd4;--blue:#e5edf0;--radius:14px;color-scheme:light}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:20px}
body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.65 "PingFang SC","Microsoft YaHei","Noto Sans CJK SC",system-ui,sans-serif;min-width:0}
a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}
:focus-visible{outline:3px solid #ad7c2b;outline-offset:3px}
h1,h2,h3,p{margin:0}img{max-width:100%;height:auto}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
[hidden]{display:none!important}.sr-only,.skip-link:not(:focus){position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);clip-path:inset(50%);overflow:hidden;white-space:nowrap}.skip-link:focus{position:fixed;left:12px;top:12px;z-index:20;padding:10px 15px;background:white;border-radius:7px}
.topbar{background:var(--paper);border-bottom:1px solid var(--line)}.topbar-inner{height:77px;max-width:1440px;margin:auto;padding:0 36px;display:flex;align-items:center;gap:30px;justify-content:space-between}
.brand{display:flex;align-items:center;gap:12px;white-space:nowrap}.brand img{width:43px;height:43px}.brand strong{display:block;font-size:22px;letter-spacing:.02em;line-height:1.2;font-weight:850}.brand small{display:block;margin-top:4px;color:var(--muted);font-size:11px;font-weight:600;letter-spacing:.04em}
.top-nav{display:flex;align-items:center;gap:33px;align-self:stretch;font-weight:650;font-size:14px}.top-nav a{display:flex;align-items:center;color:var(--muted);border-bottom:3px solid transparent;margin-top:3px}.top-nav a.active{color:var(--green);border-bottom-color:var(--green)}.top-nav a:hover{color:var(--green)}
.admin-link{display:flex;align-items:center;gap:7px;color:var(--green);border:1px solid #c4d1cb;padding:9px 13px;border-radius:8px;font-weight:700;font-size:13px;white-space:nowrap}.admin-link svg{width:17px;height:17px}.admin-link:hover{background:var(--soft)}
.layout{display:grid;grid-template-columns:215px minmax(0,1fr);max-width:1440px;margin:auto;min-height:calc(100vh - 77px)}
.rail{border-right:1px solid var(--line);padding:30px 20px 32px 28px;position:sticky;top:0;align-self:start;min-height:calc(100vh - 77px)}
.rail-heading{color:#6b7f79;font-size:12px;font-weight:700;margin:0 0 12px 10px;letter-spacing:.045em}.categories-heading{margin-top:31px}.side-nav{display:flex;flex-direction:column;gap:5px}.side-nav a,.side-categories button{display:flex;align-items:center;gap:10px;padding:11px 10px;border-radius:7px;width:100%;text-align:left;font-size:14px;font-weight:650;background:transparent;border:0;color:#4e6762;min-width:0}.side-nav a span,.side-categories button span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.side-nav a svg{width:18px;height:18px}.side-nav a b,.side-categories button b{font-size:12px;color:#748781;font-weight:600;font-variant-numeric:tabular-nums}.side-nav a.active,.side-categories button.active{color:#244a47;background:#dbe8df;font-weight:800}.side-nav a.active b,.side-categories button.active b{color:var(--green)}.side-nav a:hover,.side-categories button:hover{background:#e2ebe5}
.side-categories{display:flex;flex-direction:column;gap:3px}.category-dot{width:9px!important;height:9px!important;border-radius:2px;flex:none!important;background:#90aa96}.category-dot.c0{background:#76a698}.category-dot.c1{background:#d3ae68}.category-dot.c2{background:#8ba4bc}.category-dot.c3{background:#b5a2bf}.category-dot.c4{background:#bda17b}
.rail-info{margin:35px 2px 0;padding:14px 10px;border-top:1px solid var(--line);display:flex;gap:8px;color:#4c6861;font-size:13px;line-height:1.7;font-weight:650}.rail-info svg{width:19px;height:19px;margin-top:2px}.rail-info span{font-size:12px;font-weight:400;color:var(--muted)}
.main-content{padding:34px 40px 0;min-width:0;max-width:1225px;margin:0 auto;width:100%}
.hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 260px;align-items:center;gap:28px;padding:36px 37px 35px;border:1px solid #ceded2;background:#e3ece4;border-radius:20px;overflow:hidden;min-height:282px}
.hero-main{position:relative;z-index:1}.hero-date{font-size:13px;font-weight:700;color:#45695e;display:flex;align-items:center;gap:8px;letter-spacing:.02em;margin-bottom:12px}.status-dot{width:8px;height:8px;border-radius:50%;background:#55926d;box-shadow:0 0 0 3px #c8dfca}
.hero h1{font-size:clamp(32px,3.5vw,50px);font-weight:850;line-height:1.23;letter-spacing:-.035em;color:#244a47;word-break:keep-all}.hero-main>p:not(.hero-date){font-size:14px;color:#556e65;margin-top:14px;max-width:560px;line-height:1.8}
.search-box{background:white;border:1px solid #bfcfc5;border-radius:10px;padding:11px 14px;display:flex;align-items:center;gap:11px;max-width:540px;margin-top:24px;box-shadow:0 2px 6px #234a4710;min-height:48px}.search-box:focus-within{outline:2px solid #ad7c2b;outline-offset:2px}.search-box svg{color:#617f73;width:19px;height:19px}.search-box input{background:transparent;flex:1;border:0;outline:none;min-width:0;font-size:14px}.search-box input:focus-visible{outline:none}.search-box input::placeholder{color:#809087}.search-box kbd{display:inline-block;min-width:24px;text-align:center;border:1px solid #d5dfd8;border-radius:5px;font:13px/1.6 ui-monospace,monospace;color:#789087;background:#f6f8f6}
.hero-art{position:relative;width:245px;height:220px;justify-self:end;transform:rotate(4deg);margin-right:12px}.paper-shadow{position:absolute;inset:16px -6px -8px 8px;background:#b5cab9;border-radius:12px;transform:rotate(-7deg)}.paper-sheet{position:absolute;inset:3px 8px 0 0;background:#fdfcf7;border:1px solid #d4ded4;border-radius:12px;padding:18px 18px 13px;box-shadow:0 12px 22px #26483a1c}.paper-tab{position:absolute;right:20px;top:-8px;width:38px;height:48px;background:#d5b86f;clip-path:polygon(0 0,100% 0,100% 100%,50% 82%,0 100%);box-shadow:0 2px 4px #2d433a38}.paper-top{display:flex;justify-content:space-between;align-items:center;color:#3b5a4e;font-size:16px;font-weight:850;border-bottom:1px solid #dde5dc;padding-bottom:9px}.paper-top i{width:42px;height:4px;background:#c4d4c5;border-radius:4px;margin-right:43px}.paper-row{display:flex;align-items:center;gap:9px;border-bottom:1px solid #edf0e9;padding:10px 0}.paper-icon{display:grid;place-items:center;width:30px;height:29px;border-radius:6px;font-size:14px;font-weight:800;color:#345d50;flex:none}.paper-icon.docs{background:#e6eee1}.paper-icon.links{background:#f3e5bf;color:#8f7036}.paper-icon.note{background:#e4e9f3;color:#55758d}.paper-row>span:nth-child(2){flex:1}.paper-row b,.paper-row span i{display:block;max-width:100%;border-radius:4px;background:#c6d1c8;height:5px;width:100%;margin-bottom:5px}.paper-row span i{background:#e3e8df;width:74%;height:4px;margin-bottom:0}.paper-row em{height:9px;width:9px;border-radius:3px;background:#b2cbb6}.paper-foot{font-size:10px;color:#829487;font-weight:650;margin-top:8px;text-align:center;white-space:nowrap}
.status-banner{border:1px solid #e3cf9d;border-radius:8px;background:#fff6dc;color:#735b28;font-size:13px;padding:10px 14px;margin-bottom:16px;display:flex;gap:12px;align-items:center;justify-content:space-between}.status-banner button{border:0;background:transparent;text-decoration:underline;font-size:13px;font-weight:700;color:inherit;padding:0}
.filter-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:19px 0 21px;padding:0 1px;min-height:24px}.results-meta{font-size:12px;color:var(--muted);font-weight:550}.clear-filter{background:transparent;border:0;color:#466b5c;font-size:13px;font-weight:700;padding:2px 4px}.clear-filter:hover{text-decoration:underline}.mobile-categories{display:none}
.section-block{margin:0 0 34px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}.section-title{display:flex;align-items:center;gap:10px}.section-title svg{width:23px;height:23px;color:var(--green)}.section-title h2{font-size:23px;font-weight:850;line-height:1.4;letter-spacing:-.02em}.section-title .count-tag{font-size:12px;color:var(--muted);border-radius:5px;background:#dfe9e2;padding:2px 7px;font-weight:650}.section-more{color:#396956;font-size:13px;font-weight:750;white-space:nowrap}.section-more:hover{text-decoration:underline;text-underline-offset:3px}
.tutorial-list{background:var(--paper);border:1px solid var(--line);border-radius:11px;overflow:hidden;display:flex;flex-direction:column}.tutorial-card{display:grid;grid-template-columns:45px minmax(0,1fr) auto;gap:16px;align-items:start;padding:22px 22px;color:inherit;border-bottom:1px solid var(--line)}.tutorial-card:last-child{border-bottom:0}.tutorial-card:hover{background:#f8faf7}.file-mark{width:45px;height:45px;background:#e4eee6;border-radius:8px;display:grid;place-items:center;color:#4f7766}.file-mark svg{width:25px;height:25px}.tutorial-title{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.tutorial-title h3{font-size:18px;line-height:1.4;font-weight:800;overflow-wrap:anywhere}.pin{font-size:10px;color:#8b6426;background:#f6ead0;padding:2px 6px;font-weight:700;border-radius:4px;line-height:1.6;white-space:nowrap}.tutorial-card p{color:var(--muted);font-size:13px;line-height:1.7;margin-top:5px;max-width:65ch}.entry-meta{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:10px;color:#70827c;font-size:11px}.meta-category{color:#557664;background:#e6eeea;border-radius:4px;padding:2px 6px;font-weight:700}.tag{display:inline-flex;align-items:center;color:#667e73;border:1px solid #e0e8e2;padding:1px 6px;border-radius:4px;font-size:11px;line-height:1.75;white-space:nowrap;max-width:140px;overflow:hidden;text-overflow:ellipsis}.tutorial-side{min-width:57px;display:flex;flex-direction:column;align-items:end;color:#7d8f88;gap:6px;font-size:12px;padding-top:2px}.tutorial-side svg{width:17px;height:17px;color:#537a6b}.tutorial-card:hover .tutorial-side svg{transform:translateX(2px)}
.website-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.website-card{display:flex;flex-direction:column;background:white;border:1px solid var(--line);border-radius:11px;padding:17px 16px 15px;min-width:0;min-height:160px;transition:border-color .15s,background .15s}.website-card:hover{border-color:#93baa1;background:#fcfefb}.website-top{display:flex;align-items:center;gap:9px;min-width:0}.site-icon{width:38px;height:38px;display:grid;place-items:center;flex-shrink:0;border-radius:8px;background:#e1ebdf;color:#315c4e;font-size:17px;font-weight:850;line-height:1}.site-icon.color1{background:#f6e9c7;color:#936c2d}.site-icon.color2{background:#e3edf1;color:#496e84}.site-icon.color3{background:#ebe7f2;color:#76658d}.site-icon.color4{background:#e7e8dd;color:#697555}.site-heading{min-width:0;flex:1}.site-heading h3{font-size:14px;font-weight:850;line-height:1.5;overflow-wrap:anywhere}.site-domain{display:block;font-size:11px;color:#82918c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.external-mark{width:17px;color:#5b796d;height:17px;align-self:flex-start}.website-card>p{font-size:12px;color:var(--muted);line-height:1.7;margin:11px 0 13px;overflow-wrap:anywhere;flex:1}.site-bottom{display:flex;align-items:center;justify-content:space-between;gap:5px;flex-wrap:wrap;font-size:11px;color:#73867c}.site-bottom .pin{font-size:10px}
.loading-card,.empty-state{min-height:130px;background:white;border:1px dashed #c5d5cd;border-radius:10px;padding:30px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;text-align:center;color:var(--muted);font-weight:600;font-size:14px}.empty-state{flex-direction:column}.empty-state strong{font-size:18px;color:var(--ink)}.empty-state p{max-width:400px;font-weight:400}.empty-state button{border:1px solid #acc2b6;border-radius:6px;color:#365e50;background:#e4eee6;font-weight:700;font-size:13px;padding:7px 14px}.spinner{width:19px;height:19px;border:2px solid #dbe6df;border-top-color:#507a62;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.article-shell{background:white;border:1px solid var(--line);border-radius:15px;padding:30px min(5vw,45px);max-width:900px;margin:0 auto 30px}.article-breadcrumb{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);margin-bottom:23px}.article-breadcrumb a{color:#416d57;font-weight:700}.article-breadcrumb a:hover{text-decoration:underline}.article-shell h1{font-size:clamp(25px,3vw,38px);font-weight:850;line-height:1.35;letter-spacing:-.02em;overflow-wrap:anywhere}.article-lede{font-size:15px;color:var(--muted);line-height:1.8;margin-top:13px}.article-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:17px 0;border-bottom:1px solid var(--line);margin-bottom:26px}.article-meta .entry-meta{margin:0}.copy-link{background:#e6eee8;border:1px solid #cbdbd0;border-radius:6px;font-size:12px;font-weight:700;color:#345c50;padding:6px 10px}.article-bottom{margin-top:36px;padding-top:19px;border-top:1px solid var(--line);font-size:14px}.article-bottom a{color:#3e6b59;font-weight:700}
.markdown-body{font-size:15px;line-height:1.88;color:#304a43;overflow-wrap:anywhere}.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{color:#263f38;font-weight:850;line-height:1.45;margin:26px 0 12px}.markdown-body h2{font-size:23px;border-bottom:1px solid #e0e8e2;padding-bottom:11px}.markdown-body h3{font-size:19px}.markdown-body h4,.markdown-body h5,.markdown-body h6{font-size:16px}.markdown-body p{margin:0 0 15px}.markdown-body ul,.markdown-body ol{padding-left:25px;margin:0 0 17px}.markdown-body li{margin:5px 0}.markdown-body a{color:#31765d;text-decoration:underline;text-underline-offset:3px}.markdown-body code:not(pre code){background:#ecf2ee;color:#31594a;border:1px solid #dfebe2;border-radius:4px;padding:1px 4px;font:0.91em/1.45 ui-monospace,"Cascadia Mono",Consolas,monospace}.markdown-body blockquote{border-left:4px solid #c9a957;background:#fcf8eb;margin:16px 0;padding:12px 16px;color:#645735;border-radius:0 7px 7px 0}.markdown-body blockquote p{margin:0 0 6px}.markdown-body blockquote p:last-child{margin:0}.markdown-body hr{border:none;border-top:1px solid var(--line);margin:25px 0}.markdown-image{max-width:100%;height:auto;border-radius:6px;display:block;margin:14px auto}.code-block{border:1px solid #d9e2dc;border-radius:8px;overflow:hidden;margin:20px 0;color:#e9f2ea;background:#243f3d}.code-toolbar{background:#385552;color:#dce8df;font-size:12px;padding:7px 12px;display:flex;justify-content:space-between;align-items:center}.code-copy{background:none;color:#e8f2e9;border:1px solid #8da69c;border-radius:5px;padding:3px 9px;font-size:11px}.code-copy:hover{background:#496962}.code-block pre{margin:0;padding:15px;overflow:auto;font:13px/1.6 ui-monospace,"Cascadia Mono",Consolas,monospace}.code-block pre code{white-space:pre}
.footer{border-top:1px solid var(--line);display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:10px;padding:19px 0 23px;font-size:12px;color:#72847b}.footer span:first-child{font-weight:800;color:#405f50}.footer a:hover{text-decoration:underline}
@media(max-width:1120px){.layout{grid-template-columns:188px minmax(0,1fr)}.rail{padding-left:18px;padding-right:14px}.main-content{padding:28px 28px 0}.hero{grid-template-columns:minmax(0,1fr) 215px;padding:28px;gap:20px}.hero-art{width:218px;height:208px;margin-right:4px}.paper-sheet{padding:16px}.paper-row{padding:8px 0}.paper-foot{font-size:9px}.website-grid{gap:11px}.website-card{padding:14px}}
@media(max-width:880px){.topbar-inner{padding:0 22px;height:68px;gap:16px}.top-nav{gap:20px}.brand strong{font-size:20px}.layout{grid-template-columns:1fr;min-height:calc(100vh - 68px)}.rail{display:none}.main-content{padding:22px 22px 0;max-width:1000px}.hero{grid-template-columns:minmax(0,1fr) 205px;gap:16px}.hero-art{width:204px;height:205px;transform:rotate(3deg)}.hero h1{font-size:clamp(30px,5vw,45px)}.mobile-categories{display:flex;gap:7px;overflow-x:auto;scrollbar-width:thin;max-width:100%;padding-bottom:2px}.mobile-categories button{border-radius:6px;background:#fff;border:1px solid #dce6dd;padding:6px 10px;font-size:12px;white-space:nowrap;font-weight:650;color:#597265}.mobile-categories button.active{background:var(--green);border-color:var(--green);color:white}.filter-strip{flex-wrap:wrap;gap:9px}.mobile-categories{flex-basis:100%}.website-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.topbar-inner{height:auto;min-height:70px;padding:11px 14px;flex-wrap:wrap;gap:8px 12px}.brand img{width:37px;height:37px}.brand{gap:8px}.brand strong{font-size:18px}.brand small{font-size:10px}.top-nav{order:3;width:100%;height:37px;justify-content:center;gap:25px;font-size:13px;border-top:1px solid var(--line)}.top-nav a{margin-top:0;border-bottom-width:2px}.admin-link{font-size:12px;padding:7px 9px;gap:5px}.admin-link svg{width:15px;height:15px}.main-content{padding:15px 14px 0}.hero{grid-template-columns:1fr;gap:0;min-height:auto;padding:24px 20px;border-radius:13px}.hero-art{display:none}.hero h1{font-size:clamp(29px,7.5vw,42px)}.hero-main>p:not(.hero-date){font-size:13px}.hero-date{font-size:12px;margin-bottom:10px}.search-box{margin-top:18px;padding:9px 11px;min-height:43px}.search-box input{font-size:13px}.search-box kbd{display:none}.filter-strip{margin:13px 0 17px}.section-block{margin-bottom:25px}.section-head{margin-bottom:10px}.section-title h2{font-size:20px}.section-title svg{width:20px;height:20px}.section-more{font-size:12px}.tutorial-card{padding:15px 14px;grid-template-columns:35px minmax(0,1fr) auto;gap:9px}.file-mark{width:35px;height:35px;border-radius:6px}.file-mark svg{width:21px;height:21px}.tutorial-title h3{font-size:15px}.tutorial-card p{font-size:12px}.entry-meta{gap:5px;margin-top:7px}.tutorial-side{min-width:0;font-size:10px;gap:4px}.tutorial-side time{max-width:64px}.tutorial-side svg{width:15px}.website-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.website-card{min-height:145px; padding:12px 11px;border-radius:8px}.site-icon{width:33px;height:33px;font-size:15px;border-radius:6px}.website-top{gap:7px}.site-heading h3{font-size:13px}.site-domain{font-size:10px}.external-mark{width:14px;height:14px}.website-card>p{font-size:11px;margin:9px 0 11px}.site-bottom{font-size:10px}.section-title .count-tag{font-size:11px;padding:1px 5px}.article-shell{padding:22px 17px;border-radius:10px}.markdown-body{font-size:14px}.markdown-body h2{font-size:21px}.markdown-body h3{font-size:17px}.article-meta{gap:9px}.footer{font-size:11px}.footer span:nth-child(2){display:none}}
@media(max-width:350px){.website-grid{grid-template-columns:1fr}.hero h1{font-size:27px}.tutorial-side time{display:none}.tutorial-side{align-self:center}.top-nav{gap:18px}}
.filter-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:end}.filter-actions button{white-space:nowrap}
.hero-art{height:238px}.paper-row{padding:8px 0}.paper-foot{margin-top:7px}
@media(max-width:1120px){.hero-art{height:223px}.paper-sheet{padding:14px}.paper-row{padding:7px 0}}
@media(max-width:880px){.hero-art{height:217px}.paper-sheet{padding:13px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
