/* ============================================
   products.css - 产品分类 / 搜索 / 标签页 深色样式
   对应模板：product_class.html / product_search.html / tag_products.html
   依赖：public/css/dark.css（调色板变量与 dk-* 组件）
   类名前缀：pc-（分类页）/ ps-（搜索页）/ pt-（标签页）/ dkp-（分页共用）
   ============================================ */

.pc-page a, .ps-page a, .pt-page a { text-decoration: none; }

/* ============ 分页（三页共用） ============ */
.dkp { margin-top: 54px; text-align: center; }
.dkp-inner {
  display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px;
  padding: 8px 12px; background: var(--card); border: 1px solid var(--border); border-radius: 14px;
}
.dkp-btn, .dkp-num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 6px;
  font-size: .88rem; font-weight: 600; color: var(--muted);
  border: 1px solid transparent; border-radius: 10px; transition: all .25s ease;
}
.dkp-btn svg { width: 16px; height: 16px; }
.dkp-btn:hover, .dkp-num:hover { background: var(--card-2); border-color: var(--border); color: var(--accent2); }
.dkp-num.is-active { background: linear-gradient(135deg, var(--accent), #e5471d); color: #fff; box-shadow: 0 6px 18px rgba(255,92,51,.35); }
.dkp-dots { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 40px; color: var(--muted); letter-spacing: 2px; }
.dkp-info { margin-top: 16px; font-size: .85rem; color: var(--muted); }

/* ================= 产品分类页 product_class ================= */
.pc-nav-sec { padding-bottom: 0; }
.pc-nav-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.pc-nav-item {
  display: inline-block; font-size: .88rem; color: var(--muted);
  background: var(--card); border: 1px solid var(--border);
  padding: 8px 16px; border-radius: 999px; transition: all .25s ease;
}
.pc-nav-item:hover { color: #fff; background: var(--accent); border-color: transparent; }
.pc-nav-item.is-active {
  color: #fff; border-color: transparent;
  background: linear-gradient(135deg, var(--accent), #e5471d);
  box-shadow: 0 6px 18px rgba(255,92,51,.3);
}
.pc-sub-head { margin: 26px 0 12px; font-size: .82rem; color: var(--muted); letter-spacing: 1px; }

.pc-main-sec { padding-top: 76px; }
.pc-filter { padding: 22px 24px; margin-bottom: 40px; }
.pc-filter-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.pc-filter-label { font-size: 1rem; font-weight: 700; color: var(--title-color); }
.pc-filter-clear { font-size: .82rem; color: var(--accent2); }
.pc-filter-clear:hover { text-decoration: underline; }
.pc-filter-active { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.pc-filter-tag {
  display: inline-flex; align-items: center; gap: 6px; font-size: .8rem;
  color: var(--accent2); background: rgba(255,184,107,.1);
  border: 1px solid rgba(255,184,107,.22); padding: 4px 12px; border-radius: 999px;
}
.pc-filter-tag span { font-size: .95rem; line-height: 1; }
.pc-filter-tag:hover { background: rgba(255,92,51,.18); border-color: rgba(255,92,51,.5); }
.pc-filter-groups { display: grid; gap: 16px; }
.pc-filter-group {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px;
  padding-bottom: 14px; border-bottom: 1px dashed rgba(48,54,61,.7);
}
.pc-filter-group:last-child { border-bottom: none; padding-bottom: 0; }
.pc-filter-title { flex: 0 0 88px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.pc-filter-vals { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.pc-filter-val {
  font-size: .82rem; color: var(--muted); background: var(--card-2);
  border: 1px solid var(--border); padding: 6px 14px; border-radius: 8px; transition: all .2s ease;
}
.pc-filter-val:hover { color: var(--accent2); border-color: rgba(255,92,51,.5); }
.pc-filter-val.is-active { color: #fff; background: var(--accent); border-color: transparent; }

.pc-list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.pc-list-head .dk-title { margin: 0; }
.pc-list-count { font-size: .88rem; color: var(--muted); white-space: nowrap; }
.pc-list-count strong { color: var(--accent2); font-weight: 700; }

.pc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pc-card { display: flex; flex-direction: column; overflow: hidden; }
.pc-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--card-2); }
.pc-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.pc-card:hover .pc-media img { transform: scale(1.07); }
.pc-media-ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 3rem; font-weight: 800; color: rgba(255,184,107,.32);
  background: linear-gradient(135deg, #1c2128 0%, #10151d 100%);
}
.pc-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.pc-name { font-size: 1.05rem; font-weight: 700; line-height: 1.45; margin: 0 0 10px; }
.pc-name a { color: var(--title-color); transition: color .25s ease; }
.pc-name a:hover { color: var(--accent2); }
.pc-desc {
  font-size: .87rem; color: var(--body-color); line-height: 1.75; margin: 0 0 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.pc-tag {
  font-size: .75rem; color: var(--accent2); background: rgba(255,184,107,.1);
  border: 1px solid rgba(255,184,107,.22); padding: 3px 10px; border-radius: 999px; transition: all .25s ease;
}
.pc-tag:hover { background: var(--accent); color: #fff; border-color: transparent; }
.pc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; }
.pc-link { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--accent); transition: color .25s ease; }
.pc-link svg { width: 15px; height: 15px; transition: transform .3s ease; }
.pc-link:hover { color: var(--accent2); }
.pc-link:hover svg { transform: translateX(4px); }
.pc-inquiry {
  font-family: inherit; font-size: .82rem; font-weight: 600; color: #fff; cursor: pointer;
  background: rgba(255,92,51,.14); border: 1px solid rgba(255,92,51,.4);
  padding: 7px 16px; border-radius: 8px; transition: all .25s ease;
}
.pc-inquiry:hover { background: var(--accent); border-color: transparent; }

.pc-empty { text-align: center; padding: 84px 20px; color: var(--muted); }
.pc-empty svg { width: 56px; height: 56px; opacity: .4; margin-bottom: 16px; }
.pc-empty p { margin: 0; font-size: 1rem; }

.pc-arts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pc-art { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 24px 24px 22px; }
.pc-art h3 { font-size: 1rem; font-weight: 700; color: var(--title-color); line-height: 1.5; margin: 0; }
.pc-art-more { font-size: .82rem; font-weight: 600; color: var(--accent); }
.pc-art:hover .pc-art-more { color: var(--accent2); }

/* ================= 产品搜索页 product_search ================= */
.ps-search {
  display: flex; align-items: center; margin-top: 30px; max-width: 620px;
  background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}
.ps-search input {
  flex: 1; min-width: 0; border: none; background: transparent; outline: none;
  padding: 15px 20px; font-size: .95rem; color: var(--text);
}
.ps-search input::placeholder { color: var(--muted); }
.ps-search button {
  flex-shrink: 0; border: none; cursor: pointer; font-family: inherit;
  font-size: .92rem; font-weight: 700; color: #fff; padding: 15px 30px;
  background: linear-gradient(135deg, var(--accent), #e5471d); transition: all .25s ease;
}
.ps-search button:hover { box-shadow: 0 8px 24px rgba(255,92,51,.4); }

.ps-count {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-bottom: 30px;
  font-size: .9rem; color: var(--muted);
}
.ps-count strong { color: var(--accent2); font-weight: 700; }

.ps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ps-card { display: flex; overflow: hidden; }
.ps-media { position: relative; flex: 0 0 200px; overflow: hidden; background: var(--card-2); }
.ps-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.ps-card:hover .ps-media img { transform: scale(1.07); }
.ps-media-ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem; font-weight: 800; color: rgba(255,184,107,.32);
  background: linear-gradient(135deg, #1c2128 0%, #10151d 100%);
}
.ps-body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 22px 24px; }
.ps-name { font-size: 1.05rem; font-weight: 700; line-height: 1.45; margin: 0 0 10px; }
.ps-name a { color: var(--title-color); transition: color .25s ease; }
.ps-name a:hover { color: var(--accent2); }
.ps-desc {
  font-size: .87rem; color: var(--body-color); line-height: 1.75; margin: 0 0 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ps-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ps-tag {
  font-size: .75rem; color: var(--accent2); background: rgba(255,184,107,.1);
  border: 1px solid rgba(255,184,107,.22); padding: 3px 10px; border-radius: 999px; transition: all .25s ease;
}
.ps-tag:hover { background: var(--accent); color: #fff; border-color: transparent; }
.ps-foot { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: auto; padding-top: 14px; }
.ps-link { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--accent); transition: color .25s ease; }
.ps-link svg { width: 15px; height: 15px; transition: transform .3s ease; }
.ps-link:hover { color: var(--accent2); }
.ps-link:hover svg { transform: translateX(4px); }

.ps-empty { text-align: center; padding: 70px 28px; }
.ps-empty svg { width: 54px; height: 54px; opacity: .4; margin-bottom: 18px; color: var(--muted); }
.ps-empty h3 { font-size: 1.15rem; font-weight: 700; color: var(--title-color); margin: 0 0 10px; }
.ps-empty p { font-size: .92rem; color: var(--body-color); line-height: 1.8; margin: 0 auto 26px; max-width: 560px; }

/* ================= 产品标签页 tag_products ================= */
.pt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pt-card { display: flex; flex-direction: column; overflow: hidden; }
.pt-media { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--card-2); }
.pt-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.pt-card:hover .pt-media img { transform: scale(1.07); }
.pt-media-ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem; font-weight: 800; color: rgba(255,184,107,.32);
  background: linear-gradient(135deg, #1c2128 0%, #10151d 100%);
}
.pt-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.pt-name { font-size: .96rem; font-weight: 700; line-height: 1.45; margin: 0 0 8px; }
.pt-name a { color: var(--title-color); transition: color .25s ease; }
.pt-name a:hover { color: var(--accent2); }
.pt-desc {
  font-size: .83rem; color: var(--body-color); line-height: 1.7; margin: 0 0 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pt-meta {
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border);
  font-size: .76rem; color: var(--muted); display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.pt-meta a { color: var(--accent); font-weight: 600; }
.pt-meta a:hover { color: var(--accent2); }

.pt-empty { text-align: center; padding: 84px 20px; }
.pt-empty svg { width: 56px; height: 56px; opacity: .4; margin-bottom: 16px; color: var(--muted); }
.pt-empty h3 { font-size: 1.15rem; font-weight: 700; color: var(--title-color); margin: 0 0 10px; }
.pt-empty p { font-size: .92rem; color: var(--body-color); line-height: 1.8; margin: 0 auto 26px; max-width: 540px; }

/* ================= 响应式 ================= */
@media (max-width: 1200px) {
  .pc-grid { grid-template-columns: repeat(2, 1fr); }
  .pt-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 992px) {
  .ps-grid { grid-template-columns: 1fr; }
  .pc-arts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .pc-filter-group { flex-direction: column; gap: 8px; }
  .pc-filter-title { flex-basis: auto; }
  .ps-media { flex-basis: 150px; }
  .pt-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .dkp-inner { gap: 4px; padding: 6px 8px; }
  .dkp-btn, .dkp-num { min-width: 36px; height: 36px; font-size: .82rem; }
}
@media (max-width: 640px) {
  .pc-grid { grid-template-columns: 1fr; gap: 16px; }
  .pc-arts { grid-template-columns: 1fr; }
  .ps-card { flex-direction: column; }
  .ps-media { flex-basis: auto; width: 100%; aspect-ratio: 16 / 10; }
  .ps-search { max-width: 100%; }
}
@media (max-width: 480px) {
  .pt-grid { grid-template-columns: 1fr; }
  .ps-search button { padding: 15px 20px; }
}

/* ================= 备用分类模板：专业版 ================= */
.pcp-layout { display: grid; grid-template-columns: 268px 1fr; gap: 34px; align-items: start; }
.pcp-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 20px; }
.pcp-side-card { padding: 24px 22px; }
.pcp-side-title { display: flex; align-items: center; gap: 9px; font-size: 1rem; font-weight: 700; color: var(--title-color); margin: 0 0 16px; }
.pcp-side-title svg { width: 17px; height: 17px; color: var(--accent); }
.pcp-group { margin-bottom: 20px; }
.pcp-group:last-child { margin-bottom: 0; }
.pcp-group h4 { font-size: .78rem; letter-spacing: 1px; color: var(--muted); font-weight: 600; margin: 0 0 12px; }
.pcp-list { display: flex; flex-direction: column; gap: 8px; }
.pcp-list a { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--body-color); padding: 8px 12px; border-radius: 9px; border: 1px solid transparent; transition: all .25s ease; }
.pcp-list a:hover { color: var(--accent2); background: var(--card-2); border-color: var(--border); }
.pcp-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); flex-shrink: 0; transition: background .25s ease; }
.pcp-list a:hover .pcp-dot { background: var(--accent); }
.pcp-sel { padding: 24px 22px; text-align: center; border-radius: 16px; border: 1px solid rgba(255,92,51,.3); background: linear-gradient(135deg, rgba(255,92,51,.14), rgba(255,184,107,.05)); }
.pcp-sel-icon { width: 46px; height: 46px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: rgba(255,92,51,.16); color: var(--accent2); }
.pcp-sel-icon svg { width: 24px; height: 24px; }
.pcp-sel h4 { margin: 0 0 6px; font-size: 1rem; font-weight: 700; color: var(--title-color); }
.pcp-sel p { margin: 0 0 16px; font-size: .84rem; color: var(--body-color); line-height: 1.7; }
.pcp-sel-btn { display: inline-flex; align-items: center; gap: 6px; font-family: inherit; cursor: pointer; font-size: .88rem; font-weight: 600; color: #fff; background: linear-gradient(135deg, var(--accent), #e5471d); border: none; padding: 10px 22px; border-radius: 9px; transition: all .25s ease; }
.pcp-sel-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(255,92,51,.4); }
.pcp-seo { padding: 26px 28px; margin-bottom: 34px; }
.pcp-seo h2 { font-size: 1.15rem; font-weight: 700; color: var(--title-color); margin: 0 0 12px; }
.pcp-seo p { font-size: .9rem; color: var(--body-color); line-height: 1.9; margin: 0; }
.pcp-list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.pcp-list-head .dk-title { margin: 0; }
.pcp-count { font-size: .88rem; color: var(--muted); white-space: nowrap; }
.pcp-count strong { color: var(--accent2); }

/* ================= 备用分类模板：新版图文 ================= */
.pcn-h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; font-size: clamp(1.25rem, 2.2vw, 1.7rem); font-weight: 800; color: var(--title-color); line-height: 1.35; }
.pcn-h2::before { content: ""; width: 4px; height: 22px; border-radius: 2px; background: linear-gradient(180deg, var(--accent), var(--accent2)); }
.pcn-h2.is-spaced { margin-top: 56px; }
.pcn-intro { padding: 28px 30px 30px; margin-bottom: 8px; }
.prod-intro-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.prod-intro-tab { display: inline-flex; align-items: center; gap: 8px; font-size: .87rem; font-weight: 600; color: var(--muted); background: var(--card-2); border: 1px solid var(--border); padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: all .25s ease; }
.prod-intro-tab:hover { color: var(--accent2); border-color: rgba(255,92,51,.4); }
.prod-intro-tab.is-active, .prod-intro-tab.active { color: #fff; background: linear-gradient(135deg, var(--accent), #e5471d); border-color: transparent; box-shadow: 0 6px 18px rgba(255,92,51,.3); }
.prod-intro-content { font-size: .92rem; color: var(--body-color); line-height: 1.95; }
.pcn-cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pcn-cat { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 26px 18px; text-align: center; }
.pcn-cat-icon { width: 74px; height: 74px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; font-weight: 800; color: #fff; }
.pcn-cat-icon img { width: 100%; height: 100%; object-fit: cover; }
.pcn-cat-label { font-size: .95rem; font-weight: 600; color: var(--title-color); transition: color .25s ease; }
.pcn-cat:hover .pcn-cat-label { color: var(--accent2); }
.pcn-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pcn-card { display: flex; flex-direction: column; overflow: hidden; }
.pcn-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--card-2); }
.pcn-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.pcn-card:hover .pcn-media img { transform: scale(1.07); }
.pcn-media-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; font-weight: 800; color: rgba(255,184,107,.32); background: linear-gradient(135deg, #1c2128, #10151d); }
.pcn-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.pcn-name { font-size: .98rem; font-weight: 700; line-height: 1.45; margin: 0 0 8px; }
.pcn-name a { color: var(--title-color); transition: color .25s ease; }
.pcn-name a:hover { color: var(--accent2); }
.pcn-sub { font-size: .83rem; color: var(--body-color); line-height: 1.7; margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcn-act { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 14px; }
.pcn-price { font-size: 1rem; font-weight: 800; color: var(--accent2); margin-right: auto; }
.pcn-btn { display: inline-flex; align-items: center; gap: 5px; font-family: inherit; cursor: pointer; font-size: .82rem; font-weight: 600; padding: 8px 14px; border-radius: 8px; transition: all .25s ease; }
.pcn-btn-detail { color: #fff; background: rgba(255,92,51,.16); border: 1px solid rgba(255,92,51,.4); }
.pcn-btn-detail:hover { background: var(--accent); border-color: transparent; }
.pcn-btn-consult { color: var(--accent2); background: transparent; border: 1px solid var(--border); }
.pcn-btn-consult:hover { background: var(--card-2); border-color: rgba(255,184,107,.4); }

/* ================= 备用分类模板：案例风 ================= */
.pcc-layout { display: grid; grid-template-columns: 250px 1fr; gap: 32px; align-items: start; }
.pcc-side { position: sticky; top: 96px; }
.pcc-side-head { padding: 18px 20px; }
.pcc-side-head h3 { margin: 0; font-size: .98rem; font-weight: 700; color: var(--title-color); letter-spacing: 1px; }
.pcc-side-nav { list-style: none; margin: 0; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.pcc-side-nav a { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--body-color); padding: 10px 14px; border-radius: 9px; border: 1px solid transparent; transition: all .25s ease; }
.pcc-side-nav a:hover { color: var(--accent2); background: var(--card-2); border-color: var(--border); }
.pcc-side-nav li.is-active a { color: #fff; background: linear-gradient(135deg, var(--accent), #e5471d); }
.pcc-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .6; flex-shrink: 0; }
.pcc-list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.pcc-list-head .dk-title { margin: 0; }
.pcc-count { font-size: .88rem; color: var(--muted); white-space: nowrap; }
.pcc-count strong { color: var(--accent2); }
.pcc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pcc-card { display: flex; flex-direction: column; overflow: hidden; }
.pcc-media { position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--card-2); }
.pcc-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.pcc-card:hover .pcc-media img { transform: scale(1.07); }
.pcc-media-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2.6rem; font-weight: 800; color: rgba(255,184,107,.32); background: linear-gradient(135deg, #1c2128, #10151d); }
.pcc-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.pcc-name { font-size: 1.02rem; font-weight: 700; line-height: 1.45; margin: 0 0 10px; }
.pcc-name a { color: var(--title-color); transition: color .25s ease; }
.pcc-name a:hover { color: var(--accent2); }
.pcc-desc { font-size: .87rem; color: var(--body-color); line-height: 1.75; margin: 0 0 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcc-foot { margin-top: auto; padding-top: 16px; }
.pcc-link { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--accent); transition: color .25s ease; }
.pcc-link svg { width: 15px; height: 15px; transition: transform .3s ease; }
.pcc-link:hover { color: var(--accent2); }
.pcc-link:hover svg { transform: translateX(4px); }

/* ================= 备用分类模板：筛选树 ================= */
.pcf-layout { display: grid; grid-template-columns: 280px 1fr; gap: 34px; align-items: start; }
.pcf-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 20px; }
.pcf-side-head { display: flex; align-items: center; gap: 9px; padding: 18px 20px; font-size: .95rem; font-weight: 700; color: var(--title-color); }
.pcf-side-head svg { width: 18px; height: 18px; color: var(--accent); }
.pcf-tree { padding: 14px; }
.pcf-tree .tree-list, .pcf-tree .tree-sublist { list-style: none; margin: 0; padding: 0; }
.pcf-tree .tree-sublist { display: none; padding-left: 18px; flex-basis: 100%; }
.pcf-tree .tree-sublist.is-open { display: block; }
.pcf-tree .tree-node { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.pcf-tree .tree-node > .tree-link { flex: 1; min-width: 0; }
.pcf-tree .tree-trigger { width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); cursor: pointer; border-radius: 6px; flex-shrink: 0; transition: color .25s ease; }
.pcf-tree .tree-trigger svg { width: 11px; height: 11px; transition: transform .25s ease; }
.pcf-tree .tree-trigger.open svg { transform: rotate(90deg); }
.pcf-tree .tree-trigger.tree-trigger-empty { cursor: default; opacity: 0; }
.pcf-tree .tree-link { display: flex; align-items: center; gap: 8px; padding: 9px 12px; font-size: .88rem; color: var(--body-color); border-radius: 9px; border: 1px solid transparent; transition: all .25s ease; }
.pcf-tree .tree-link:hover { color: var(--accent2); background: var(--card-2); border-color: var(--border); }
.pcf-tree .tree-link.active { color: #fff; background: linear-gradient(135deg, var(--accent), #e5471d); }
.pcf-tree .tree-badge { font-size: .68rem; padding: 1px 7px; border-radius: 999px; background: rgba(255,255,255,.22); color: #fff; }
.pcf-search { padding: 0 14px 14px; }
.pcf-search form { position: relative; display: flex; align-items: center; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.pcf-search .search-icon { position: absolute; left: 12px; color: var(--muted); pointer-events: none; }
.pcf-search input { flex: 1; min-width: 0; border: none; background: transparent; outline: none; padding: 11px 12px 11px 36px; font-size: .86rem; color: var(--text); }
.pcf-search input::placeholder { color: var(--muted); }
.pcf-search button { border: none; cursor: pointer; font-family: inherit; font-size: .82rem; font-weight: 700; color: #fff; padding: 11px 16px; background: linear-gradient(135deg, var(--accent), #e5471d); }
.pcf-arts { padding: 18px 20px; }
.pcf-arts-head { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 700; color: var(--title-color); margin-bottom: 14px; }
.pcf-arts-head svg { width: 16px; height: 16px; color: var(--accent); }
.pcf-arts ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pcf-arts a { display: block; font-size: .85rem; color: var(--body-color); line-height: 1.6; transition: color .25s ease; }
.pcf-arts a:hover { color: var(--accent2); }
.pcf-sub-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 34px; }
.pcf-sub { display: flex; flex-direction: column; overflow: hidden; }
.pcf-sub-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--card-2); }
.pcf-sub-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.pcf-sub:hover .pcf-sub-img img { transform: scale(1.07); }
.pcf-sub-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; font-weight: 800; color: rgba(255,184,107,.32); background: linear-gradient(135deg, #1c2128, #10151d); }
.pcf-sub-name { padding: 14px 16px; font-size: .9rem; font-weight: 600; color: var(--title-color); text-align: center; transition: color .25s ease; }
.pcf-sub:hover .pcf-sub-name { color: var(--accent2); }
.pcf-result-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.pcf-result-head .dk-title { margin: 0; }
.pcf-result-count { font-size: .88rem; color: var(--muted); white-space: nowrap; }
.pcf-result-count strong { color: var(--accent2); }

@media (max-width: 1200px) {
  .pcn-grid { grid-template-columns: repeat(3, 1fr); }
  .pcn-cat-grid { grid-template-columns: repeat(3, 1fr); }
  .pcf-sub-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 992px) {
  .pcp-layout, .pcc-layout, .pcf-layout { grid-template-columns: 1fr; }
  .pcp-side, .pcc-side, .pcf-side { position: static; }
  .pcc-grid { grid-template-columns: repeat(2, 1fr); }
  .pcn-grid { grid-template-columns: repeat(2, 1fr); }
  .pcn-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .pcf-sub-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .pcn-grid { grid-template-columns: 1fr; }
  .pcc-grid { grid-template-columns: 1fr; }
  .pcn-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .pcf-sub-grid { grid-template-columns: repeat(2, 1fr); }
  .pcn-intro { padding: 22px 20px 24px; }
}
@media (max-width: 480px) {
  .pcn-cat-grid { grid-template-columns: 1fr; }
  .pcf-sub-grid { grid-template-columns: 1fr; }
  .pcn-grid { grid-template-columns: 1fr; }
}