:root{color-scheme:light;--bg-main:#fff;--bg-card:#fff;--bg-subtle:#f8f7f6;--bg-hover:#f5f3f0;--text-main:#25221e;--text-secondary:#504b44;--text-muted:#6d675f;--brand:#fae9d4;--brand-hover:#f4dfc5;--on-brand:#654f3b;--accent:#806c57;--accent-strong:#695949;--accent-edge:#998775;--accent-light:#fbf5ed;--accent-surface:#fdfbf8;--line:#e7e5e1;--line-strong:#918b84;--header-height:64px;--page-width:86rem;--gutter:clamp(1rem, 2.8vw, 2.5rem);--font:Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif}body.dark{color-scheme:dark;--bg-main:#1c1a17;--bg-card:#242321;--bg-subtle:#2c2a27;--bg-hover:#34312d;--text-main:#f5f1ea;--text-secondary:#d6cec3;--text-muted:#b7ac9e;--brand:#433b33;--brand-hover:#4e443a;--on-brand:#e5d5c2;--accent:#c8b6a0;--accent-strong:#dfd2c2;--accent-edge:#8d7e6e;--accent-light:#36312c;--accent-surface:#2a2724;--line:#403d39;--line-strong:#847d75}*{box-sizing:border-box}body,h1,h2,h3,p,dl,dd{margin:0}html{scroll-padding-top:calc(var(--header-height) + 1rem)}body{background:var(--bg-main);min-width:0;color:var(--text-main);font:.9375rem/1.6 var(--font);-webkit-font-smoothing:antialiased}button,input,select{font:inherit;color:inherit}button,select{cursor:pointer;touch-action:manipulation}button{background:0 0;border:0}a{color:inherit;text-decoration:none}svg{vertical-align:middle;flex-shrink:0}[hidden]{display:none!important}:focus-visible{outline:2px solid var(--accent);outline-offset:3px}::selection{color:var(--on-brand);background:var(--brand-hover)}mark{color:var(--accent-strong);background:var(--accent-light)}input{caret-color:var(--accent)}.sr-only,.copy-label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.skip-link{z-index:110;color:var(--on-brand);background:var(--brand);border-radius:6px;padding:.6rem 1rem;position:fixed;top:-5rem;left:1rem}.skip-link:focus{top:.5rem}.noscript-notice{text-align:center;background:var(--accent-light);padding:.75rem}.clipboard-fallback{opacity:0;position:fixed;inset:0 auto auto 0}.icon-button,.button,.text-link,.header-link{justify-content:center;align-items:center;gap:.4rem;display:inline-flex}.icon-button{width:36px;height:36px;color:var(--text-muted);border-radius:7px;flex:none;padding:0}.icon-button:hover,.header-link:hover{color:var(--accent-strong);background:var(--accent-surface)}.button{border-radius:8px;min-height:42px;padding:.55rem 1rem;font-size:.875rem;font-weight:600}.secondary{border:1px solid var(--line);background:var(--bg-card)}.secondary:hover{border-color:var(--line-strong);background:var(--bg-subtle)}.action-primary,.search-submit{background:var(--brand);color:var(--on-brand);border:1px solid var(--accent-edge)}.action-primary:hover,.search-submit:hover{background:var(--brand-hover)}.text-link{color:var(--accent);padding:0;font-size:.8125rem;font-weight:550}.text-link:hover,.site-footer a:hover,.official-channel a:hover{text-underline-offset:3px;text-decoration:underline}.site-header{z-index:30;border-bottom:1px solid var(--line);background:var(--bg-card);position:sticky;top:0}.header-inner,.directory-layout{max-width:var(--page-width);padding-inline:var(--gutter);margin-inline:auto}.header-inner{min-height:var(--header-height);align-items:center;gap:1rem;display:flex}.brand{align-items:center;gap:.55rem;display:inline-flex}.brand-mark{flex:none;width:33px;height:33px;display:block}.brand strong{letter-spacing:-.04em;font-size:1.75rem;font-weight:750;line-height:1}.brand-caption{border-left:1px solid var(--line);color:var(--text-secondary);padding-left:1rem;font-size:.8125rem}.header-actions{align-items:center;gap:.35rem;margin-left:auto;display:flex}.header-link{min-height:36px;color:var(--text-secondary);border-radius:7px;padding:.35rem .65rem;font-size:.8125rem}.header-link.active{color:var(--accent);background:var(--accent-light)}.saved-count{color:var(--text-muted);font-variant-numeric:tabular-nums}.sun-icon,body.dark .moon-icon,#menu-btn,#close-sidebar-btn,#sidebar-overlay,.drawer-submit,.mobile-category-strip{display:none}body.dark .sun-icon{display:block}.directory-layout{grid-template-columns:clamp(10.75rem,14.5vw,12.5rem) minmax(0,1fr);align-items:start;gap:clamp(1.5rem,2.6vw,2.5rem);padding-block-start:1.75rem;display:grid}#sidebar{top:calc(var(--header-height) + 1.5rem);max-height:calc(100vh - var(--header-height) - 2.5rem);max-height:calc(100dvh - var(--header-height) - 2.5rem);border-right:1px solid var(--line);flex-direction:column;padding-right:.9rem;display:flex;position:sticky}.sidebar-heading{align-items:baseline;gap:.6rem;padding:.35rem .55rem .85rem;display:flex}.sidebar-heading h2{font-size:1rem;line-height:1.4}.sidebar-heading>span,.nav-count{color:var(--text-muted);font-variant-numeric:tabular-nums;font-size:.75rem}#category-nav{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--line-strong) transparent;padding:3px;overflow-y:auto}.nav-group{border-bottom:1px solid var(--line);margin-bottom:.65rem;padding-bottom:.65rem}.nav-item{min-height:35px;color:var(--text-secondary);border-radius:7px;align-items:center;gap:.7rem;padding:.3rem .6rem;font-size:.84375rem;display:flex}.nav-item+.nav-item{margin-top:2px}.nav-count{margin-left:auto}.nav-item:hover{background:var(--bg-hover)}.nav-item.active{color:var(--accent-strong);background:var(--accent-light);font-weight:650;position:relative}.nav-item.active:before{content:"";background:var(--accent-edge);border-radius:3px;width:3px;position:absolute;inset-block:.55rem;inset-inline-start:0}.nav-item.active .nav-count{color:inherit}#app>main{min-width:0}#app>main>header{margin-bottom:1.5rem}.search-box,.not-found-search{border:1px solid var(--line-strong);background:var(--bg-card);color:var(--text-muted);border-radius:10px;align-items:center;gap:.6rem;padding:5px 6px 5px .9rem;display:flex}.search-box:focus-within,.not-found-search:focus-within{border-color:var(--accent);outline:2px solid var(--accent-light)}.search-box input,.not-found-search input[type=search]{min-width:0;min-height:36px;color:var(--text-main);background:0 0;border:0;outline:0;flex:1;padding:0;font-size:.9375rem}input[type=search]::-webkit-search-cancel-button{display:none}input::placeholder{color:var(--text-muted);opacity:1}.search-submit{border-radius:6px;min-height:36px;padding:.4rem 1.05rem;font-size:.8125rem;font-weight:600}kbd{border:1px solid var(--line);border-radius:4px;place-items:center;width:22px;height:23px;font-size:.75rem;display:grid}.official-channel{background:var(--accent-surface);color:var(--accent);border-radius:7px;flex-wrap:wrap;align-items:center;gap:.55rem;margin-top:.6rem;padding:.5rem .85rem;font-size:.78125rem;display:flex}.official-channel>span{font-weight:650}.official-channel a{color:var(--text-main);align-items:center;gap:.4rem;font-weight:550;display:inline-flex}.official-channel a span{color:var(--text-muted);font-weight:400}#active-section{container:results/inline-size}.section-heading,.result-heading,.directory-toolbar,.view-switch{align-items:center;display:flex}.section-heading{flex-wrap:wrap;justify-content:space-between;gap:.7rem 1rem;margin-bottom:1rem}.result-heading{align-items:baseline;gap:.7rem}.result-heading h1,.not-found h1{letter-spacing:-.025em;font-size:clamp(1.5rem,1.2rem + .85vw,2rem);line-height:1.25}.category-title-meta{color:var(--text-muted);font-variant-numeric:tabular-nums;font-size:.8125rem}.directory-toolbar{flex-wrap:wrap;gap:.45rem}.select-control{border:1px solid var(--line);background:var(--bg-card);border-radius:6px;align-items:center;display:inline-flex;position:relative}.select-control select{appearance:none;border-radius:inherit;width:100%;min-height:34px;color:var(--text-secondary);background:0 0;border:0;padding:.25rem 1.6rem .25rem .6rem;font-size:.78125rem}.select-control>svg{pointer-events:none;color:var(--text-muted);position:absolute;right:.5rem;transform:rotate(90deg)}.view-switch{border:1px solid var(--line);background:var(--bg-card);border-radius:7px;gap:1px;padding:2px}.view-switch .icon-button{border-radius:4px;width:30px;height:30px}.view-switch [aria-pressed=true]{color:var(--accent-strong);background:var(--accent-light)}.category-description,.result-status{color:var(--text-secondary);font-size:.8125rem}.category-description{overflow-wrap:anywhere;margin-bottom:.65rem}.result-status{flex-wrap:wrap;align-items:center;gap:1rem;margin-bottom:.9rem;display:flex}.grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,16rem),1fr));gap:.9rem;display:grid}.card{border:1px solid var(--line);background:var(--bg-card);border-radius:12px;flex-direction:column;min-width:0;padding:1rem 1rem .65rem;display:flex}.card:hover,.card:focus-within{border-color:var(--accent-edge)}.card-header{align-items:flex-start;gap:.65rem;display:flex}.card-icon,.resource-avatar,.related-avatar{border-radius:50%;flex:none;place-items:center;font-weight:600;display:grid;position:relative;overflow:hidden}.card-icon{width:40px;height:40px;font-size:1rem}.card-icon img,.resource-avatar img{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.avatar-color-0{color:#355749;background:#dfebe5}.avatar-color-1{color:#355475;background:#e2eaf3}.avatar-color-2{color:#715634;background:#f1e6d6}.avatar-color-3{color:#634975;background:#eae4f0}.avatar-color-4{color:#7e5146;background:#f3e3df}.avatar-color-5{color:#365e62;background:#daeaea}.card-title-wrap{flex:1;min-width:0}.card-title,.card-desc{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.card-title{font-size:.96875rem;font-weight:650;line-height:1.45}.card-title:hover{color:var(--accent);text-underline-offset:3px;text-decoration:underline}.card-meta{color:var(--text-muted);align-items:center;gap:.3rem;margin-top:.2rem;font-size:.75rem;display:flex}.card-header .bookmark-button{width:30px;height:30px;margin:-.25rem -.3rem 0 0}.bookmark-button[aria-pressed=true]{color:var(--accent)}.bookmark-button[aria-pressed=true] svg{fill:var(--accent-edge)}.card-desc{color:var(--text-secondary);margin:.8rem 0 1rem;font-size:.84375rem;line-height:1.65}.resource-freshness{color:var(--text-muted);margin-top:auto;font-size:.71875rem;line-height:1.55}.card-footer{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:.4rem;margin-top:.55rem;padding-top:.4rem;display:flex}.resource-count{color:var(--text-muted);white-space:nowrap;align-items:baseline;gap:.3rem;font-size:.6875rem;display:inline-flex}.resource-count strong{color:var(--text-secondary);font-variant-numeric:tabular-nums;font-size:.8125rem;font-weight:650}.card-actions,.card-action-primary{align-items:center;display:flex}.card-actions{gap:.35rem}.card-copy-btn{width:30px;height:32px}.card-action-primary{min-height:32px;color:var(--accent);white-space:nowrap;gap:.2rem;font-size:.78125rem;font-weight:600}.card-action-primary:hover{text-underline-offset:3px;text-decoration:underline}.copied{color:var(--accent);background:var(--accent-light)}.grid.list-view{border-top:1px solid var(--line);grid-template-columns:1fr;gap:0}.list-view .card{border:0;border-bottom:1px solid var(--line);background:0 0;border-radius:0;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) auto;grid-template-areas:"identity summary actions""identity freshness actions";align-items:center;gap:.15rem 1rem;padding:.8rem .4rem;display:grid}.list-view .card:hover,.list-view .card:focus-within{background:var(--accent-surface)}.list-view .card-header{grid-area:identity;align-items:center}.list-view .card-desc{grid-area:summary;align-self:end;margin:0}.list-view .resource-freshness{grid-area:freshness;align-self:start;margin:0}.list-view .card-footer{border:0;flex-direction:column;grid-area:actions;align-items:flex-end;gap:0;margin:0;padding:0}.empty-state{text-align:center;border:1px dashed var(--line-strong);color:var(--text-muted);border-radius:12px;padding:3.5rem 1rem}.empty-state h2{color:var(--text-main);margin:.65rem 0 .25rem;font-size:1.15rem}.empty-state p,.load-more-wrap p,.results-end{color:var(--text-muted);font-size:.8125rem}.empty-state button{margin-top:1.15rem}.load-more-wrap,.results-end{text-align:center;margin:1.4rem auto .6rem}.load-more-wrap p{margin-bottom:.5rem}.browse-all{width:fit-content;min-height:36px;margin:.3rem auto 0;display:flex}.directory-about{border-top:1px solid var(--line);margin-top:1.75rem}.directory-about summary{cursor:pointer;color:var(--text-secondary);justify-content:space-between;align-items:center;padding:.9rem 0;font-size:.875rem;list-style:none;display:flex}.directory-about summary::-webkit-details-marker{display:none}.directory-about details[open] summary svg{transform:rotate(45deg)}.directory-about p{max-width:65ch;color:var(--text-muted);padding-bottom:1rem;font-size:.8125rem}.site-footer{border-top:1px solid var(--line);color:var(--text-muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.6rem 1.5rem;margin-top:1.5rem;padding:1.15rem 0 2rem;font-size:.75rem;display:flex}.site-footer nav,.site-footer a{align-items:center;gap:.25rem;display:inline-flex}.site-footer nav{gap:1rem}.toast{z-index:100;max-width:calc(100% - 2rem);color:var(--bg-card);background:var(--text-main);pointer-events:none;opacity:0;border-radius:8px;padding:.65rem 1.1rem;font-size:.8125rem;transition:opacity .14s,transform .14s;position:fixed;bottom:1.5rem;left:50%;transform:translate(-50%,.4rem)}.toast.show{opacity:1;transform:translate(-50%)}.back-to-top{z-index:20;border:1px solid var(--line-strong);background:var(--bg-card);position:fixed;bottom:1rem;right:1rem}.back-to-top svg{transform:rotate(-90deg)}.detail-container{max-width:70rem;padding:1.5rem var(--gutter) 0;margin:0 auto}.breadcrumb,.back-link{width:fit-content;color:var(--text-muted);align-items:center;gap:.45rem;font-size:.8125rem;display:flex}.breadcrumb a:hover,.resource-footnote a:hover,.related-item:hover strong,.resource-pagination a:hover strong{color:var(--accent)}.back-link{color:var(--accent);margin:1rem 0 .8rem}.detail-grid{grid-template-columns:minmax(0,1fr) minmax(15rem,.43fr);align-items:start;gap:1rem;display:grid}.resource-card,.resource-aside{border:1px solid var(--line);background:var(--bg-card);border-radius:12px;min-width:0;padding:clamp(1rem,2.6vw,2rem)}.resource-header{align-items:center;gap:1rem;display:flex}.resource-avatar{width:64px;height:64px;font-size:1.5rem}.resource-identity{min-width:0}.resource-identity h1{letter-spacing:-.025em;overflow-wrap:anywhere;margin:.25rem 0;font-size:clamp(1.375rem,1rem + 1vw,2rem);line-height:1.3}.resource-label,.resource-username,.resource-footnote,.resource-aside>p{color:var(--text-muted);overflow-wrap:anywhere;font-size:.8125rem}.resource-label a:hover{text-decoration:underline}.detail-actions{flex-wrap:wrap;gap:.45rem;margin:1.5rem 0;display:flex}.resource-copy{border-top:1px solid var(--line);padding-top:1.2rem}.resource-copy h2,.resource-aside h2{margin-bottom:.75rem;font-size:1rem}.resource-description{max-width:65ch;color:var(--text-secondary);white-space:pre-wrap;overflow-wrap:anywhere}.resource-footnote{flex-wrap:wrap;justify-content:space-between;gap:.5rem;margin-top:1.5rem;font-size:.75rem;display:flex}.resource-info>div{justify-content:space-between;align-items:baseline;gap:.7rem;padding:.5rem 0;font-size:.8125rem;display:flex}.resource-info dt{color:var(--text-muted);flex:none}.resource-info dd{text-align:right;overflow-wrap:anywhere;min-width:0}.info-count{font-variant-numeric:tabular-nums;font-size:1.25rem;font-weight:650}.resource-info a{color:var(--accent)}.resource-aside>p{border-top:1px solid var(--line);margin-top:.75rem;padding-top:.85rem;font-size:.75rem}.related-section{margin-top:2rem}.related-section h2,.not-found-categories h2{font-size:1.125rem}.related-list,.resource-pagination{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem 1rem;display:grid}.related-item{border:1px solid var(--line);background:var(--bg-card);border-radius:9px;align-items:center;gap:.7rem;min-width:0;padding:.75rem .9rem;display:flex}.related-item>span:nth-child(2){flex:1;min-width:0}.related-avatar{width:34px;height:34px}.related-item strong,.resource-pagination strong{text-overflow:ellipsis;white-space:nowrap;font-size:.8125rem;font-weight:550;display:block;overflow:hidden}.related-item small,.resource-pagination a span{color:var(--text-muted);font-size:.75rem}.related-item>svg{color:var(--text-muted)}.resource-pagination{margin-top:1.3rem}.resource-pagination a{min-width:0;padding-block:.5rem}.resource-pagination a:last-child{text-align:right}.not-found{max-width:41rem;margin:clamp(1rem,5vw,4rem) auto 2.5rem}.not-found h1{margin:.25rem 0 .7rem}.not-found-description{color:var(--text-secondary)}.not-found-search{margin:1.4rem 0 .6rem}.not-found .text-link{min-height:38px}.not-found-categories{margin-top:1.25rem}.not-found-categories>div{flex-wrap:wrap;gap:.4rem;margin-top:.65rem;display:flex}@container results (width<=43rem){.list-view .card{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"identity actions""summary actions""freshness actions";gap:.3rem .6rem}}@container results (width<=32rem){.directory-toolbar{width:100%}.view-switch{margin-left:auto}.list-view .card{grid-template-columns:1fr;grid-template-areas:"identity""summary""freshness""actions";padding:.8rem .2rem}.list-view .card-footer{flex-direction:row;justify-content:space-between;align-items:center}}@media (width<=800px){:root{--header-height:55px}.directory-layout{padding-block-start:1rem;display:block}#sidebar{z-index:60;visibility:hidden;background:var(--bg-card);width:min(19rem,86%);max-height:100%;padding:.65rem .75rem 1rem;position:fixed;inset:0 auto 0 0;transform:translate(-100%)}#sidebar.open{visibility:visible;transform:none}#sidebar-overlay.open{z-index:50;background:#1e191461;display:block;position:fixed;inset:0}#menu-btn,#close-sidebar-btn{display:inline-flex}#close-sidebar-btn{margin-left:auto}.sidebar-heading{align-items:center}.drawer-submit{border-top:1px solid var(--line);min-height:42px;margin-top:.5rem;display:flex}body.menu-open{overflow:hidden}.nav-item{min-height:42px}.mobile-category-strip{color:var(--accent);flex-wrap:wrap;gap:.45rem 1rem;margin:.8rem 0;display:flex}.detail-grid{grid-template-columns:1fr}.resource-info{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 1.5rem;display:grid}}@media (width<=560px){.header-inner{gap:.5rem}.header-actions{gap:0}.header-link{min-height:40px;padding-inline:.45rem}.brand{gap:.4rem}.brand-mark{width:29px;height:29px}.brand strong{font-size:1.5rem}.brand-caption,#menu-btn~.submit-link,#search-shortcut{display:none}.search-box input,.not-found-search input[type=search]{font-size:1rem}.search-box{gap:.4rem;padding-left:.65rem}.search-submit{padding-inline:.75rem}#app>main>header{margin-bottom:1.05rem}.official-channel{gap:.3rem;font-size:.75rem}.official-channel a{gap:.2rem}.section-heading{margin-bottom:.8rem}.card{padding:.9rem .95rem .55rem}.card-header .bookmark-button,.card-copy-btn{width:38px;height:38px}.card-action-primary{min-height:40px}.related-list,.resource-info{grid-template-columns:1fr}.resource-avatar{width:48px;height:48px}.resource-header{gap:.7rem}.detail-actions .button{padding-inline:.65rem;font-size:.8125rem}.detail-container{padding-top:1rem}}@media (forced-colors:active){.nav-item.active,.view-switch [aria-pressed=true]{outline-offset:-2px;outline:1px solid highlight}.select-control select{appearance:auto}.select-control>svg{display:none}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important}}
