/* 资源合集 · 其它分类独立合集页 */
.category-page .category-hero h1 em{white-space:normal}
.category-ledger::before{content:attr(data-glyph);right:4px;bottom:-42px;font-size:156px;letter-spacing:-.08em}
.category-grid{align-items:stretch}
.category-card .std-card-body{gap:0}
.category-card-summary{font-size:9.5px;line-height:1.78;color:var(--muted);margin-top:8px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;min-height:51px}
.category-card-facts{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px}
.category-card-facts span{padding:3px 6px;border-radius:4px;border:1px solid var(--line);background:var(--surface-2);font-size:8px;line-height:1.5;color:#58665e;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.category-card-dir{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:8px;color:var(--muted);font:8px/1.45 var(--mono);min-width:0}
.category-card-dir>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:58%}
.category-dir-state{display:inline-flex;align-items:center;gap:4px;color:#4e685b;white-space:nowrap}.category-dir-state i{width:5px;height:5px;border-radius:50%;background:#3f8d68}.category-dir-state.empty{color:#8a6a35}.category-dir-state.empty i{background:#c69645}
.category-card .std-card-foot{margin-top:10px}
.category-editorial{margin-top:34px;border:1px solid var(--line-strong);border-radius:16px;background:linear-gradient(135deg,rgba(244,234,212,.72),rgba(255,253,248,.92));padding:25px 27px;display:grid;grid-template-columns:.78fr 1.22fr;gap:34px;position:relative;overflow:hidden}
.category-editorial::after{content:"ARCHIVE";position:absolute;right:-9px;bottom:-24px;font:900 64px/1 var(--mono);letter-spacing:-.07em;color:rgba(23,63,53,.04);pointer-events:none}
.category-editorial-lead span,.category-switcher-head span{font:700 9px/1 var(--mono);letter-spacing:.17em;color:var(--gold)}
.category-editorial-lead h2{font-family:var(--serif);font-size:26px;color:var(--ink);margin-top:9px}.category-editorial-lead p{font-size:11px;line-height:1.9;color:var(--muted);margin-top:9px;max-width:370px}
.category-note-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;position:relative;z-index:1}.category-note-grid article{border-left:1px solid var(--line-strong);padding:1px 0 1px 14px}.category-note-grid b{font:700 8px/1 var(--mono);letter-spacing:.09em;color:var(--gold)}.category-note-grid h3{font:700 15px/1.3 var(--serif);color:var(--ink);margin-top:7px}.category-note-grid p{font-size:10px;line-height:1.8;color:var(--muted);margin-top:6px}
.category-switcher{margin-top:22px;border:1px solid var(--line);border-radius:16px;background:rgba(255,253,248,.82);padding:22px 24px}.category-switcher-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding-bottom:15px;border-bottom:1px solid var(--line)}.category-switcher-head h2{font:700 24px/1.2 var(--serif);color:var(--ink);margin-top:7px}.category-switcher-head p{font-size:10.5px;color:var(--muted);margin-top:5px}.category-switcher-head>a{font-size:10px;color:var(--ink-2);font-weight:700;white-space:nowrap}.category-switcher-head>a:hover{color:var(--red)}
.category-switch-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:14px}.category-switch-card{position:relative;display:block;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.66);padding:13px;min-height:92px;overflow:hidden;transition:.18s}.category-switch-card:hover{background:#fff;border-color:var(--line-strong);transform:translateY(-2px);box-shadow:var(--shadow-sm)}.category-switch-card>b{font:700 7.5px/1 var(--mono);letter-spacing:.11em;color:var(--gold)}.category-switch-card>span{position:absolute;right:8px;top:8px;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:var(--gold-soft);color:var(--ink);font:700 14px var(--serif)}.category-switch-card h3{font:700 17px/1.2 var(--serif);color:var(--ink);margin-top:14px}.category-switch-card small{display:block;font-size:8.5px;color:var(--muted);margin-top:4px}.category-switch-card.active{border-color:var(--ink-3);background:var(--ink);box-shadow:var(--shadow-sm)}.category-switch-card.active b,.category-switch-card.active small{color:rgba(255,255,255,.62)}.category-switch-card.active h3{color:#fff}.category-switch-card.active>span{background:rgba(255,255,255,.12);color:var(--gold)}.category-switch-card.standard{background:linear-gradient(135deg,#173f35,#285d4b);border-color:#173f35}.category-switch-card.standard b,.category-switch-card.standard small{color:rgba(255,255,255,.62)}.category-switch-card.standard h3{color:#fff}.category-switch-card.standard>span{background:rgba(255,255,255,.12);color:var(--gold)}
.category-page .std-guide{margin-top:22px}
.category-page .main-nav .nav-collection>a.active{color:var(--ink);font-weight:700}
@media(max-width:1100px){.category-switch-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.category-editorial{grid-template-columns:1fr;gap:18px}.category-editorial-lead p{max-width:none}}
@media(max-width:900px){.category-note-grid{grid-template-columns:1fr}.category-note-grid article{border-left:0;border-top:1px solid var(--line);padding:12px 0 0}.category-switcher-head{align-items:flex-start;flex-direction:column;gap:7px}.category-switch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.category-page .topbar-right{display:none}.category-page .std-hero h1 span,.category-page .std-hero h1 em{display:block}.category-page .std-hero h1{overflow-wrap:anywhere;word-break:break-all}.category-card-summary{min-height:0}.category-editorial{padding:20px}.category-switcher{padding:18px}.category-switch-grid{grid-template-columns:1fr 1fr}.category-switch-card{min-height:88px;padding:12px}.category-switch-card h3{font-size:16px}.category-card-dir{display:none}}
@media(max-width:430px){#categoryGrid.category-grid{grid-template-columns:1fr}.category-switch-grid{grid-template-columns:1fr}.category-switcher-head>a{font-size:9px}.category-hero .std-hero-tags span{font-size:9.5px}.category-editorial h2{font-size:23px}}
