@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');
:root{--bg:#faf9f6;--surface:#fff;--ink:#292e2b;--muted:#92948b;--line:#e9e8e1;--accent:#df724e;--soft:#f3eee4;--green:#59634b;--shadow:0 12px 40px #34372c06;color-scheme:light}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans','Noto Sans SC',-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.7;transition:background .25s,color .25s}body.dark{--bg:#191d1b;--surface:#222724;--ink:#e7e8df;--muted:#a3a99e;--line:#353c35;--soft:#30362b;--green:#b5c5a1;--shadow:0 12px 40px #0002;color-scheme:dark}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:5px}button{color:inherit}header{border-bottom:1px solid var(--line);background:var(--bg);position:sticky;top:0;z-index:20}.nav-wrap{max-width:1216px;margin:auto;height:86px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;gap:30px}.brand{font-size:27px;font-weight:800;letter-spacing:-1px;display:inline-flex;align-items:center}.brand-mark{width:31px;height:33px;background:var(--accent);color:#fff;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;font-family:Georgia,serif;font-size:30px;margin-right:10px;line-height:1;position:relative}.brand-mark span{font-size:20px;position:absolute;right:1px;top:1px}.brand-dot{color:var(--accent)}nav{display:flex;gap:33px;height:100%;align-items:center}nav a{color:#777d72;font-size:13px;position:relative;height:100%;display:flex;align-items:center}nav a.active{color:var(--ink);font-weight:600}nav a.active:after{content:'';position:absolute;bottom:19px;left:50%;width:5px;height:5px;border-radius:50%;background:var(--accent)}.nav-actions{display:flex;align-items:center;gap:15px}.icon-button{border:0;background:none;padding:5px;width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center}.icon-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.divider{height:17px;border-left:1px solid var(--line)}.github-link{font-size:12px;margin-left:7px}main,footer{max-width:1160px;margin:auto}.hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;min-height:350px;margin:24px 0 30px;padding:25px 38px 20px 4px;position:relative}.eyebrow{font-size:11px;letter-spacing:2.4px;font-weight:600;color:var(--accent);display:flex;align-items:center;gap:9px}.eyebrow:before{content:'';width:23px;height:1px;background:var(--accent)}h1,h2,h3,p{margin-top:0}.hero h1{font-size:45px;line-height:1.45;letter-spacing:1px;margin:18px 0 16px;font-weight:800}.hero h1 em{font-style:normal;color:var(--accent)}.hero p{color:#85887f;font-size:13px;line-height:2;margin-bottom:23px}.hero-buttons{display:flex;gap:13px}.button{border:1px solid var(--line);padding:10px 19px;border-radius:7px;background:var(--surface);display:inline-flex;gap:20px;align-items:center;font-size:12px}.button.primary{background:var(--ink);color:var(--bg);border-color:var(--ink)}.button:hover{transform:translateY(-2px)}.hero-note{margin-top:24px;color:var(--muted);font-size:10px;display:flex;gap:7px;align-items:center}.online-dot{width:5px;height:5px;background:#8d9a6e;border-radius:50%;display:inline-block}.hero-art{width:100%;height:305px}.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 268px;gap:31px}.section-label{font-size:16px;font-weight:700;display:flex;align-items:center;gap:10px;margin:0 0 19px}.section-label:before{content:'';width:3px;height:16px;background:var(--accent);border-radius:2px}.section-label small{font-size:10px;font-weight:400;color:var(--muted);letter-spacing:1px;margin-left:3px}.section-label a{margin-left:auto;font-weight:400;font-size:11px;color:var(--muted)}.featured{display:grid;grid-template-columns:1fr 1.02fr;min-height:225px;border:1px solid var(--line);border-radius:11px;overflow:hidden;background:var(--surface);box-shadow:var(--shadow);margin-bottom:32px;transition:transform .2s}.featured:hover,.post-card:hover{transform:translateY(-4px)}.cover{overflow:hidden;position:relative;display:flex;align-items:center;justify-content:center;background:#edf0e7;min-height:160px}.cover svg{width:100%;height:100%;position:absolute;inset:0}.featured .cover{min-height:226px}.cover-caption{position:absolute;left:24px;bottom:17px;font-size:9px;letter-spacing:3px;color:#68765b}.featured-copy{padding:26px 26px 21px}.category-label{font-size:10px;color:var(--accent);display:flex;gap:8px;align-items:center;margin-bottom:11px}.pin{background:#f8e9df;padding:1px 6px;border-radius:3px;font-size:9px}.featured h2{font-size:20px;line-height:1.5;margin:0 0 11px}.featured p,.post-card p{font-size:11px;color:var(--muted);line-height:1.9;margin-bottom:19px}.meta{color:var(--muted);font-size:10px;display:flex;gap:10px;align-items:center}.meta .arrow{margin-left:auto;color:var(--ink);font-size:17px}.list-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.list-heading .section-label{margin:0}.list-heading small{color:var(--muted);font-size:10px}.filters{display:flex;gap:8px;margin-bottom:21px;flex-wrap:wrap}.filter{border:0;border-radius:5px;background:transparent;color:var(--muted);font-size:11px;padding:6px 11px}.filter.active{background:var(--ink);color:var(--bg)}.filter:hover{color:var(--accent)}.post-grid{display:grid;grid-template-columns:1fr 1fr;gap:21px}.post-card{border:1px solid var(--line);border-radius:9px;background:var(--surface);overflow:hidden;transition:transform .2s;box-shadow:var(--shadow)}.post-card .cover{height:156px}.post-copy{padding:18px 20px 17px}.post-copy .category-label{font-size:9px;margin-bottom:7px}.post-card h3{font-size:15px;margin-bottom:9px;line-height:1.65}.post-card p{font-size:10px;margin-bottom:16px}.post-card .meta{font-size:9px}.side-card{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:23px;margin-bottom:20px}.profile{text-align:center;padding-top:26px}.avatar{width:66px;height:66px;margin:0 auto 12px;background:#e9ecdf;border-radius:50%;display:flex;align-items:center;justify-content:center;overflow:hidden}.avatar svg{width:59px;height:59px}.profile h3{font-size:18px;margin:0 0 4px}.profile p{font-size:10px;color:var(--muted);margin-bottom:18px}.profile-stats{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);padding-top:16px}.profile-stats strong{display:block;font-size:19px;font-weight:500}.profile-stats span{font-size:9px;color:var(--muted)}.socials{display:flex;justify-content:center;gap:12px;margin-top:18px}.socials a{width:27px;height:27px;display:grid;place-items:center;background:var(--bg);border-radius:50%;font-size:11px}.side-title{font-size:12px;font-weight:600;margin:0 0 17px;display:flex;align-items:center;gap:8px}.side-title span{font-weight:400;color:var(--accent)}.notice{background:#f2efe5;border:0}.dark .notice{background:#303329}.notice p{font-size:11px;line-height:1.9;color:#8d8979;margin-bottom:5px}.category-row{display:flex;justify-content:space-between;font-size:11px;padding:8px 0;width:100%;border:0;background:none;text-align:left;color:#81877a}.category-row b{font-weight:400;background:var(--bg);padding:0 6px;font-size:9px;border-radius:4px}.tags{display:flex;flex-wrap:wrap;gap:7px}.tag{border:1px solid var(--line);background:var(--bg);padding:3px 8px;border-radius:4px;font-size:10px;color:#8b9083}.tag:hover{border-color:var(--accent);color:var(--accent)}.now{display:flex;align-items:center;gap:12px}.now-icon{font-size:25px}.now small{color:var(--muted);font-size:10px}.now p{font-size:11px;margin:1px 0}.pagination{margin:31px 0;display:flex;justify-content:center;gap:7px}.pagination button{height:31px;min-width:31px;border:1px solid var(--line);border-radius:5px;background:var(--surface);font-size:11px}.pagination button.active{background:var(--ink);color:var(--bg)}.bottom-note{margin:45px 0 0;text-align:center;background:var(--soft);border-radius:9px;padding:28px;color:var(--green)}.bottom-note p{font-size:13px;margin-bottom:4px}.bottom-note span{font-size:9px;letter-spacing:2px;color:var(--muted)}footer{margin:58px auto 0;border-top:1px solid var(--line);padding:30px 0 20px}footer>div:first-child{display:flex;align-items:center;gap:20px}footer>div>span{font-size:10px;color:var(--muted)}.brand.small{font-size:22px}.footer-bottom{display:flex;justify-content:space-between;border-top:1px solid var(--line);margin-top:22px;padding-top:17px;font-size:9px;color:var(--muted)}.footer-bottom div{display:flex;gap:20px}.footer-bottom button{border:0;background:none;font-size:9px;color:inherit;padding:0}dialog{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:13px;padding:28px;width:min(640px,90vw);max-height:86vh;box-shadow:0 20px 100px #0003}dialog::backdrop{background:#19251f66;backdrop-filter:blur(4px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.dialog-head h2{font-size:19px;margin:0}.close{font-size:26px}.dialog-tip,.muted{font-size:11px;color:var(--muted)}input,textarea,select{border:1px solid var(--line);background:var(--bg);color:var(--ink);border-radius:6px;padding:11px 12px;width:100%;outline:none}input:focus,textarea:focus{border-color:var(--accent)}#search-results{max-height:48vh;overflow:auto}.search-result{display:block;padding:15px 0;border-bottom:1px solid var(--line)}.search-result strong{display:block;font-size:13px}.search-result small{color:var(--muted);font-size:10px}.page-head{padding:62px 0 30px}.page-head h1{font-size:35px;margin:10px 0}.page-head p{color:var(--muted);font-size:12px}.resource-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.resource-card{padding:24px;border:1px solid var(--line);background:var(--surface);border-radius:9px;transition:transform .2s}.resource-card:hover{transform:translateY(-4px);border-color:var(--accent)}.resource-icon{width:38px;height:38px;border-radius:9px;background:var(--soft);display:grid;place-items:center;margin-bottom:16px;color:var(--accent);font-size:16px;font-weight:bold}.resource-card h3{font-size:15px;margin-bottom:7px}.resource-card p{font-size:11px;color:var(--muted);margin-bottom:10px}.resource-card small{color:var(--accent);font-size:10px}.resource-heading{margin-top:26px}.archive-year{font-family:Georgia,serif;font-size:29px;margin:28px 0;color:var(--accent)}.archive-row{padding:21px 0;border-bottom:1px solid var(--line);display:flex;gap:30px;align-items:center}.archive-row time{color:var(--muted);font-size:12px}.archive-row strong{font-size:15px;font-weight:500}.archive-row small{margin-left:auto;color:var(--muted)}.about-layout{display:grid;grid-template-columns:2fr 1fr;gap:30px}.about-copy{padding:35px;background:var(--surface);border:1px solid var(--line);border-radius:12px}.about-copy h2{font-size:20px;margin-top:25px}.about-copy p,.about-copy li{color:var(--muted);line-height:2.1}.article-page{max-width:800px;margin:45px auto}.article-page .back-link{font-size:12px;color:var(--muted)}.article-header{margin-top:30px}.article-header h1{font-size:36px;line-height:1.55;margin:15px 0}.article-header p{color:var(--muted)}.article-page .cover{height:300px;border-radius:12px;margin:30px 0}.article-body{font-size:15px;line-height:2.1;padding:5px 10px 30px}.article-body h2{font-size:23px;margin:33px 0 16px}.article-body p{margin:15px 0}.article-body li{margin:8px 0}.article-body blockquote{margin:25px 0;padding:16px 22px;background:var(--soft);border-left:3px solid var(--accent);color:var(--green)}pre{background:#262e29;color:#dee8d6;padding:24px;border-radius:9px;overflow:auto;font-size:12px;line-height:1.9}code{font-family:Consolas,monospace}.related{border-top:1px solid var(--line);padding-top:25px}.empty{padding:60px 15px;color:var(--muted);text-align:center}label{font-size:11px;display:block;margin-top:14px}label input,label textarea,label select{margin-top:5px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.editor-actions{display:flex;gap:12px;margin-top:18px}#editor-status{font-size:12px;margin-top:14px;color:var(--accent)}#toast{position:fixed;left:50%;bottom:35px;transform:translateX(-50%);background:var(--ink);color:var(--bg);border-radius:7px;padding:11px 20px;z-index:80;display:none;font-size:12px}#back-top{position:fixed;bottom:24px;right:24px;border:1px solid var(--line);border-radius:7px;background:var(--surface);width:35px;height:35px;color:var(--muted)}.preview-notice{font-size:10px;color:var(--muted);padding-top:12px}.result-count{color:var(--muted);font-size:11px}.mobile-hide{display:inline}
@media(min-width:1500px){main,footer{max-width:1160px}.hero{min-height:375px}}@media(max-width:1230px){main,footer{margin-left:35px;margin-right:35px}}@media(max-width:900px){.content-layout{grid-template-columns:1fr 230px;gap:20px}.nav-wrap{gap:15px}nav{gap:22px}.github-link{display:none}.hero h1{font-size:36px}.featured{grid-template-columns:1fr}.featured .cover{min-height:210px}.hero{padding-right:0}.resource-grid{grid-template-columns:1fr 1fr}}@media(max-width:670px){main,footer{margin-left:20px;margin-right:20px}.nav-wrap{height:68px;padding:0 19px}.brand{font-size:23px}.brand-mark{width:26px;height:28px;font-size:25px;margin-right:7px}nav{gap:18px}nav a{font-size:11px}nav a:nth-child(3),nav a:nth-child(5){display:none}.nav-actions{gap:7px}.nav-actions .divider{display:none}.hero{grid-template-columns:1fr;margin-top:15px;padding:22px 0 0}.hero h1{font-size:36px;margin-top:16px}.hero-art{height:260px;max-width:400px;justify-self:center;margin-top:5px}.hero-note{margin-top:19px}.content-layout{display:block}aside{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:25px}.side-card{padding:18px;margin-bottom:0}.profile{grid-row:span 2}.featured{grid-template-columns:1fr}.featured .cover{min-height:215px}.featured-copy{padding:23px}.post-grid{gap:13px}.post-card .cover{height:126px;min-height:126px}.post-copy{padding:14px}.post-card h3{font-size:13px}.post-card p{font-size:10px}.post-card .meta{gap:5px;font-size:8px}.section-label small{display:none}.resource-grid{grid-template-columns:1fr 1fr;gap:12px}.resource-card{padding:18px}.about-layout{grid-template-columns:1fr}.footer-bottom{gap:15px;flex-direction:column}footer>div:first-child{gap:10px}.article-header h1{font-size:27px}.article-page .cover{height:230px}.article-body{padding:0;font-size:14px}.archive-row{gap:17px}.archive-row strong{font-size:13px}.archive-row small{display:none}.page-head{padding-top:35px}.hero p{font-size:12px}.bottom-note{margin-top:25px}.mobile-hide{display:none}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
