/* TKTOC ask 设计系统覆盖层 B1 · 分类页
   分类页不加载 ask.css / ask-single.css，故本文件自带 token。只覆盖字号 / 留白 / 圆角 / 焦点。 */
body.tax-asks { --tk-cyan: #25F4EE; --tk-r: 12px; }
body.tax-asks .taxonomy-head-title.h3 {
  font-size: clamp(22px, 2vw, 28px) !important; line-height: 1.4 !important;
  font-weight: 600 !important; letter-spacing: -.2px !important; text-wrap: balance;
}
body.tax-asks .list-title { font-size: 15px !important; line-height: 1.6 !important; }
body.tax-asks .list-desc { font-size: 14px !important; line-height: 1.7 !important; }
body.tax-asks .list-item.card { border-radius: var(--tk-r) !important; }
body.tax-asks .custom-pagination a,
body.tax-asks .custom-pagination span { border-radius: 8px !important; min-height: 44px !important; }
body.tax-asks a:focus-visible, body.tax-asks button:focus-visible {
  outline: 2px solid var(--tk-cyan) !important; outline-offset: 3px !important; border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  body.tax-asks *, body.tax-asks *::before, body.tax-asks *::after {
    animation: none !important; transition: none !important; scroll-behavior: auto !important;
  }
}

/* ============ B6-1 · 分类页分页（原内容逐字节保留，仅追加） ============
   背景：paginate_links(type=list) 输出 <ul class="page-numbers">，与父主题
   main.min.css 的 .posts-nav .page-numbers 同名撞车，<ul> 被当成按钮，
   hover 时整条变 #f1404b 且带红色光晕。B6 起模板改用自有 class，
   主题规则彻底不再命中；本段统一按钮尺寸、圆角、hover 与焦点态。
   注意：旧 .custom-pagination 规则保留但已无对应 DOM，不删除以满足
   「原 CSS 逐字节保留只追加」红线。 */
body.tax-asks .tk-ask-pager { margin: 28px 0 8px; }
body.tax-asks .tk-ask-pager-list {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 8px; list-style: none !important; margin: 0 !important; padding: 0 !important;
}
body.tax-asks .tk-ask-pager-item { margin: 0 !important; float: none !important; display: block; }
body.tax-asks .tk-ask-pager-link {
  display: inline-flex !important; align-items: center; justify-content: center;
  box-sizing: border-box; min-width: 40px; height: 40px; padding: 0 12px;
  border: 1px solid rgba(148, 163, 184, .28) !important;
  border-radius: 8px !important;
  background: rgba(148, 163, 184, .10) !important;
  color: inherit !important;
  font-size: 14px; line-height: 1; text-decoration: none !important;
  box-shadow: none !important;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
body.tax-asks .tk-ask-pager-link:hover,
body.tax-asks .tk-ask-pager-link:focus-visible {
  border-color: rgba(37, 244, 238, .55) !important;
  background: rgba(37, 244, 238, .08) !important;
  color: inherit !important; box-shadow: none !important; text-decoration: none !important;
}
body.tax-asks .tk-ask-pager-item.is-current .tk-ask-pager-link {
  border-color: #FE2C55 !important; background: #FE2C55 !important;
  color: #fff !important; box-shadow: none !important; pointer-events: none;
}
body.tax-asks .tk-ask-pager-item.is-dots .tk-ask-pager-link {
  border-color: transparent !important; background: none !important;
  min-width: 28px; padding: 0 4px; pointer-events: none;
}
@media (max-width: 575px) {
  body.tax-asks .tk-ask-pager-list { gap: 6px; }
  body.tax-asks .tk-ask-pager-link { min-width: 36px; height: 36px; padding: 0 9px; font-size: 13px; }
}
