/* ==========================================================================
   算力排行榜（/suanli/）内容区样式
   —— 正文与独立页面的基础适配；顶栏 / 页脚视觉沿用主站主题 CSS。
   配色对齐主站：底 #f8fafc、卡片 #fff、描边 #e5e7eb、主蓝 #2563eb、正文 #101828。
   ========================================================================== */

/* 子站不加载主站首页的 reset 包，这里补上：否则 body 会有 8px 默认外边距，
   导致内容整体偏移并可能产生横向滚动条。 */
html body.suanli-page { margin: 0; padding: 0; }
html body.suanli-page .sl-main,
html body.suanli-page .sl-main * { box-sizing: border-box; }

html body.suanli-page {
  --sl-bg: #f8fafc;
  --sl-card: #ffffff;
  --sl-line: #e5e7eb;
  --sl-line-soft: #f1f5f9;
  --sl-text: #101828;
  --sl-dim: #475467;
  --sl-mute: #667085;
  --sl-blue: #2563eb;
  --sl-blue-dark: #1d4ed8;
  --sl-blue-soft: #eff6ff;
  --sl-amber: #b45309;
  --sl-amber-soft: #fffbeb;
  --sl-green: #047857;
  --sl-green-soft: #ecfdf5;
  --sl-red: #be123c;
  --sl-radius: 14px;
}

/* 子站不挂左侧分类栏：把主题的 70px 栏宽归零（主题选择器同为 0,2,2，靠加载顺序覆盖），
   内容区与页脚因此可以占满整行。 */
html body.suanli-page.suanli-page { --sidebar-shell-width: 0px !important; }

html body.suanli-page .sl-main {
  margin-left: 0;
  padding: 92px 0 48px;
  min-height: 70vh;
  color: var(--sl-text);
  font-size: 15px;
  line-height: 1.75;
}

html body.suanli-page .sl-wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

html body.suanli-page .sl-main a { color: var(--sl-blue); text-decoration: none; }
html body.suanli-page .sl-main a:hover { text-decoration: underline; }

/* ---------- 移动端导航条（960px 以下顶栏链接被主题隐藏） ---------- */
html body.suanli-page .sl-mnav { display: none; }
@media (max-width: 960px) {
  html body.suanli-page .sl-mnav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin: 0 0 12px;
    padding: 2px 0 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  html body.suanli-page .sl-mnav::-webkit-scrollbar { display: none; }
  html body.suanli-page .sl-mnav a {
    flex: 0 0 auto;
    padding: 6px 13px;
    border: 1px solid var(--sl-line);
    border-radius: 999px;
    background: #fff;
    color: var(--sl-dim);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
  }
  html body.suanli-page .sl-mnav a:hover { border-color: #c7d7fe; color: var(--sl-blue-dark); }
}

/* ---------- 顶部标题区 ---------- */
html body.suanli-page .sl-hero {
  background: var(--sl-card);
  border: 1px solid var(--sl-line);
  border-radius: var(--sl-radius);
  padding: 28px 30px 24px;
  margin-bottom: 18px;
}
html body.suanli-page .sl-hero h1 {
  margin: 0 0 12px;
  font-size: 27px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--sl-text);
}
html body.suanli-page .sl-hero .sl-intro {
  margin: 0;
  color: var(--sl-dim);
  font-size: 15px;
}
html body.suanli-page .sl-hero .sl-intro strong { color: var(--sl-text); font-weight: 700; }
html body.suanli-page .sl-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
html body.suanli-page .sl-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--sl-blue-soft);
  color: var(--sl-blue-dark);
  font-size: 12px;
  font-weight: 600;
}
html body.suanli-page .sl-meta span.is-amber { background: var(--sl-amber-soft); color: var(--sl-amber); }
html body.suanli-page .sl-meta span.is-green { background: var(--sl-green-soft); color: var(--sl-green); }

/* ---------- 通用卡片 / 区块标题 ---------- */
html body.suanli-page .sl-card {
  background: var(--sl-card);
  border: 1px solid var(--sl-line);
  border-radius: var(--sl-radius);
  padding: 24px 26px 26px;
  margin-bottom: 18px;
}
html body.suanli-page .sl-card > h2 {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--sl-text);
}
html body.suanli-page .sl-card > h2 .sl-count {
  margin-left: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sl-mute);
}
html body.suanli-page .sl-sub {
  margin: 0 0 16px;
  color: var(--sl-mute);
  font-size: 13.5px;
}

/* ---------- 快速选型 ---------- */
html body.suanli-page .sl-quick {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
html body.suanli-page .sl-quick__item {
  display: block;
  background: var(--sl-card);
  border: 1px solid var(--sl-line);
  border-radius: var(--sl-radius);
  padding: 16px 18px 14px;
  color: inherit;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
html body.suanli-page .sl-quick__item:hover {
  text-decoration: none;
  border-color: #c7d7fe;
  box-shadow: 0 8px 22px rgba(37, 99, 235, .09);
  transform: translateY(-1px);
}
html body.suanli-page .sl-quick__kicker {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--sl-blue);
  margin-bottom: 6px;
}
html body.suanli-page .sl-quick__title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--sl-text);
  margin-bottom: 4px;
}
html body.suanli-page .sl-quick__desc {
  display: block;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--sl-mute);
}

/* ---------- 工具条 ---------- */
html body.suanli-page .sl-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 4px 0 14px;
}
html body.suanli-page .sl-search {
  position: relative;
  flex: 1 1 240px;
  min-width: 200px;
  max-width: 340px;
}
html body.suanli-page .sl-search input {
  width: 100%;
  height: 38px;
  box-sizing: border-box;
  padding: 0 12px 0 34px;
  border: 1px solid #d6dce5;
  border-radius: 10px;
  background: #fff;
  color: var(--sl-text);
  font-size: 13.5px;
  outline: none;
}
html body.suanli-page .sl-search input:focus {
  border-color: #98a2b3;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, .16);
}
html body.suanli-page .sl-search::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 50%;
  width: 15px;
  height: 15px;
  margin-top: -7.5px;
  background: #667085;
  -webkit-mask: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.75 2.25a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11ZM3.75 7.75a4 4 0 1 1 8 0 4 4 0 0 1-8 0Zm7.96 5.02a.75.75 0 0 1 1.06 0l2.23 2.23a.75.75 0 1 1-1.06 1.06l-2.23-2.23a.75.75 0 0 1 0-1.06Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.75 2.25a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11ZM3.75 7.75a4 4 0 1 1 8 0 4 4 0 0 1-8 0Zm7.96 5.02a.75.75 0 0 1 1.06 0l2.23 2.23a.75.75 0 1 1-1.06 1.06l-2.23-2.23a.75.75 0 0 1 0-1.06Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}
html body.suanli-page .sl-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
html body.suanli-page .sl-chip {
  height: 32px;
  padding: 0 13px;
  border: 1px solid var(--sl-line);
  border-radius: 999px;
  background: #fff;
  color: var(--sl-dim);
  font-size: 13px;
  font-weight: 600;
  line-height: 30px;
  cursor: pointer;
  transition: all .14s ease;
}
html body.suanli-page .sl-chip:hover { border-color: #c7d7fe; color: var(--sl-blue-dark); }
html body.suanli-page .sl-chip.is-active {
  background: var(--sl-blue);
  border-color: var(--sl-blue);
  color: #fff;
}
html body.suanli-page .sl-toolbar__count {
  margin-left: auto;
  font-size: 12.5px;
  color: var(--sl-mute);
  white-space: nowrap;
}
html body.suanli-page .sl-toolbar__count b { color: var(--sl-text); }

/* ---------- 排行榜表格 ---------- */
html body.suanli-page .sl-table-wrap {
  border: 1px solid var(--sl-line);
  border-radius: 12px;
  overflow-x: auto;
  background: #fff;
}
html body.suanli-page table.sl-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  white-space: nowrap;
}
html body.suanli-page table.sl-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f8fafc;
  border-bottom: 1px solid var(--sl-line);
  padding: 10px 12px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  color: var(--sl-mute);
  letter-spacing: .02em;
  cursor: pointer;
  user-select: none;
}
html body.suanli-page table.sl-table thead th:hover { color: var(--sl-blue); }
html body.suanli-page table.sl-table thead th .sl-arrow { font-size: 9px; margin-left: 2px; color: var(--sl-blue); }
html body.suanli-page table.sl-table tbody td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--sl-line-soft);
  color: var(--sl-dim);
  vertical-align: middle;
}
html body.suanli-page table.sl-table tbody tr:last-child td { border-bottom: 0; }
html body.suanli-page table.sl-table tbody tr:hover td { background: #f9fbff; }
html body.suanli-page table.sl-table td.sl-model { white-space: normal; min-width: 200px; }
html body.suanli-page table.sl-table td.sl-model a {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--sl-text);
  line-height: 1.4;
}
html body.suanli-page table.sl-table td.sl-model a:hover { color: var(--sl-blue); text-decoration: none; }
html body.suanli-page table.sl-table td.sl-model em {
  display: block;
  font-style: normal;
  font-size: 11.5px;
  color: #98a2b3;
  margin-top: 2px;
}
html body.suanli-page .sl-rank {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #f2f4f7;
  color: var(--sl-mute);
  font-size: 12px;
  font-weight: 700;
}
html body.suanli-page .sl-rank.is-1 { background: #fef3c7; color: #b45309; }
html body.suanli-page .sl-rank.is-2 { background: #e5e7eb; color: #374151; }
html body.suanli-page .sl-rank.is-3 { background: #ffedd5; color: #c2410c; }
html body.suanli-page .sl-brand {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  background: #f2f4f7;
  color: #475467;
}
html body.suanli-page .sl-brand.is-nvidia { background: #ecfdf3; color: #067647; }
html body.suanli-page .sl-brand.is-amd { background: #fef2f2; color: #b42318; }
html body.suanli-page .sl-brand.is-intel { background: #eff8ff; color: #175cd3; }
html body.suanli-page .sl-brand.is-domestic { background: #fdf4ff; color: #a21caf; }
html body.suanli-page .sl-price { font-weight: 700; color: var(--sl-text); }
html body.suanli-page .sl-price.is-unknown { font-weight: 400; color: #98a2b3; }
html body.suanli-page .sl-score {
  display: inline-block;
  min-width: 34px;
  font-weight: 800;
  color: var(--sl-blue-dark);
}

/* ---------- 分类榜 ---------- */
html body.suanli-page .sl-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
html body.suanli-page .sl-mini {
  border: 1px solid var(--sl-line);
  border-radius: 12px;
  padding: 14px 16px 8px;
  background: #fff;
}
html body.suanli-page .sl-mini h3 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--sl-text);
}
html body.suanli-page .sl-mini ol { margin: 0; padding: 0; list-style: none; }
html body.suanli-page .sl-mini li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--sl-line-soft);
  font-size: 13px;
}
html body.suanli-page .sl-mini li:last-child { border-bottom: 0; }
html body.suanli-page .sl-mini li a { color: var(--sl-text); font-weight: 600; }
html body.suanli-page .sl-mini li a:hover { color: var(--sl-blue); }
html body.suanli-page .sl-mini li span { color: var(--sl-mute); font-size: 12px; white-space: nowrap; }

/* ---------- 价格档位 ---------- */
html body.suanli-page .sl-bands {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
html body.suanli-page .sl-band {
  border: 1px solid var(--sl-line);
  border-radius: 12px;
  padding: 13px 15px;
  background: #fff;
}
html body.suanli-page .sl-band__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
html body.suanli-page .sl-band__head strong { font-size: 13.5px; color: var(--sl-text); }
html body.suanli-page .sl-band__head span { font-size: 11.5px; color: var(--sl-mute); }
html body.suanli-page .sl-band ul { margin: 0; padding: 0; list-style: none; }
html body.suanli-page .sl-band li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 0;
  font-size: 12.5px;
}
html body.suanli-page .sl-band li a { color: var(--sl-dim); }
html body.suanli-page .sl-band li a:hover { color: var(--sl-blue); }
html body.suanli-page .sl-band li em { font-style: normal; color: #98a2b3; white-space: nowrap; }

/* ---------- 方法论 ---------- */
html body.suanli-page .sl-rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
html body.suanli-page .sl-rule {
  border-left: 3px solid var(--sl-blue);
  background: #f9fbff;
  border-radius: 0 10px 10px 0;
  padding: 12px 16px;
}
html body.suanli-page .sl-rule strong { display: block; font-size: 13.5px; color: var(--sl-text); margin-bottom: 4px; }
html body.suanli-page .sl-rule p { margin: 0; font-size: 13px; color: var(--sl-dim); line-height: 1.7; }

/* ---------- FAQ ---------- */
html body.suanli-page .sl-faq details {
  border: 1px solid var(--sl-line);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 8px;
  background: #fff;
}
html body.suanli-page .sl-faq details[open] { background: #fbfcfe; }
html body.suanli-page .sl-faq summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: var(--sl-text);
  list-style: none;
}
html body.suanli-page .sl-faq summary::-webkit-details-marker { display: none; }
html body.suanli-page .sl-faq summary::before {
  content: "+";
  display: inline-block;
  width: 16px;
  color: var(--sl-blue);
  font-weight: 800;
}
html body.suanli-page .sl-faq details[open] summary::before { content: "−"; }
html body.suanli-page .sl-faq p { margin: 8px 0 0; font-size: 13.5px; color: var(--sl-dim); line-height: 1.8; }

/* ---------- 相关链接 ---------- */
html body.suanli-page .sl-links { display: flex; flex-wrap: wrap; gap: 8px; }
html body.suanli-page .sl-links a {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--sl-line);
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  color: var(--sl-dim);
}
html body.suanli-page .sl-links a:hover { border-color: #c7d7fe; color: var(--sl-blue-dark); text-decoration: none; }

/* ---------- 详情页 ---------- */
html body.suanli-page .sl-crumb {
  font-size: 12.5px;
  color: var(--sl-mute);
  margin-bottom: 12px;
}
html body.suanli-page .sl-crumb a { color: var(--sl-mute); }
html body.suanli-page .sl-crumb a:hover { color: var(--sl-blue); }
html body.suanli-page .sl-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
html body.suanli-page .sl-badges span {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  background: #f2f4f7;
  color: var(--sl-dim);
  font-size: 12px;
  font-weight: 600;
}
html body.suanli-page .sl-badges span.is-hot { background: var(--sl-blue-soft); color: var(--sl-blue-dark); }
html body.suanli-page .sl-lede {
  margin: 14px 0 0;
  padding: 12px 16px;
  border-radius: 10px;
  background: #f9fbff;
  border-left: 3px solid var(--sl-blue);
  color: var(--sl-dim);
  font-size: 14px;
}

html body.suanli-page table.sl-spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
html body.suanli-page table.sl-spec th,
html body.suanli-page table.sl-spec td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--sl-line-soft);
  text-align: left;
}
html body.suanli-page table.sl-spec th {
  width: 168px;
  color: var(--sl-mute);
  font-weight: 600;
  background: #fbfcfe;
}
html body.suanli-page table.sl-spec td { color: var(--sl-text); font-weight: 600; }
html body.suanli-page table.sl-spec tr:last-child th,
html body.suanli-page table.sl-spec tr:last-child td { border-bottom: 0; }

html body.suanli-page table.sl-fit { width: 100%; border-collapse: collapse; font-size: 13px; }
html body.suanli-page table.sl-fit th,
html body.suanli-page table.sl-fit td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--sl-line-soft);
  text-align: center;
}
html body.suanli-page table.sl-fit th:first-child,
html body.suanli-page table.sl-fit td:first-child { text-align: left; font-weight: 700; color: var(--sl-text); }
html body.suanli-page table.sl-fit thead th { font-size: 12px; color: var(--sl-mute); font-weight: 700; }
html body.suanli-page .sl-yes { color: var(--sl-green); font-weight: 800; }
html body.suanli-page .sl-no { color: #cbd5e1; }

html body.suanli-page .sl-note {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: #98a2b3;
  line-height: 1.7;
}

html body.suanli-page .sl-prose p { margin: 0 0 12px; color: var(--sl-dim); font-size: 14px; line-height: 1.85; }
html body.suanli-page .sl-prose p:last-child { margin-bottom: 0; }
html body.suanli-page .sl-prose strong { color: var(--sl-text); }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  html body.suanli-page .sl-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body.suanli-page .sl-bands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  html body.suanli-page .sl-main { margin-left: 0; padding: 78px 0 36px; }
  html body.suanli-page .sl-wrap { padding: 0 14px; }
  html body.suanli-page .sl-hero { padding: 20px 18px; }
  html body.suanli-page .sl-hero h1 { font-size: 21px; }
  html body.suanli-page .sl-card { padding: 18px 16px 20px; border-radius: 12px; }
  html body.suanli-page .sl-card > h2 { font-size: 17px; }
  html body.suanli-page .sl-quick { grid-template-columns: minmax(0, 1fr); }
  html body.suanli-page .sl-mini-grid,
  html body.suanli-page .sl-rules,
  html body.suanli-page .sl-bands { grid-template-columns: minmax(0, 1fr); }
  html body.suanli-page .sl-toolbar__count { margin-left: 0; width: 100%; }
  html body.suanli-page table.sl-table { font-size: 12.5px; }
  html body.suanli-page table.sl-spec th { width: 108px; font-size: 12.5px; line-height: 1.5; padding: 9px 10px; }
  html body.suanli-page table.sl-spec td { padding: 9px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html body.suanli-page .sl-quick__item { transition: none; }
}

/* ---------- 工具条两行布局 ---------- */
html body.suanli-page .sl-sort { display: none; }
html body.suanli-page #rank-table tbody tr[hidden] { display: none !important; }

@media (max-width: 600px) {
  html body.suanli-page .sl-main {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  }
  html body.suanli-page .sl-hero h1,
  html body.suanli-page .sl-card > h2,
  html body.suanli-page .sl-crumb { overflow-wrap: anywhere; }
  html body.suanli-page .sl-chip,
  html body.suanli-page .sl-mnav a,
  html body.suanli-page .sl-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  html body.suanli-page .sl-search input { min-height: 44px; }
  html body.suanli-page .sl-sort {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    font-size: 13px;
  }
  html body.suanli-page .sl-sort select {
    flex: 1;
    min-width: 0;
    min-height: 44px;
    padding: 8px;
    border: 1px solid var(--sl-line);
    border-radius: 8px;
    background: #fff;
    color: var(--sl-text);
    font: inherit;
  }
  html body.suanli-page .sl-table-wrap { overflow: visible; border: 0; background: transparent; }
  html body.suanli-page table.sl-table,
  html body.suanli-page table.sl-fit,
  html body.suanli-page table.sl-table tbody,
  html body.suanli-page table.sl-fit tbody { display: block; width: 100%; }
  html body.suanli-page table.sl-table caption {
    display: block;
    width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  html body.suanli-page table.sl-table thead,
  html body.suanli-page table.sl-fit thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  html body.suanli-page table.sl-table tbody tr,
  html body.suanli-page table.sl-fit tbody tr {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid var(--sl-line);
    border-radius: 10px;
    background: #fff;
  }
  html body.suanli-page table.sl-table tbody td,
  html body.suanli-page table.sl-fit tbody td {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    min-width: 0;
    padding: 0;
    border: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: left;
    line-height: 1.5;
  }
  html body.suanli-page table.sl-table td::before,
  html body.suanli-page table.sl-fit td::before {
    content: attr(data-label);
    font-size: 11px;
    font-weight: 400;
    color: var(--sl-mute);
  }
  html body.suanli-page table.sl-table td.sl-model,
  html body.suanli-page table.sl-fit td:first-child { grid-column: 1 / -1; }
  html body.suanli-page table.sl-table td.sl-model { min-width: 0; }
  html body.suanli-page table.sl-table td.sl-model a { display: flex; align-items: center; min-height: 44px; }
  html body.suanli-page #rank-table td:first-child { position: absolute; top: 12px; right: 12px; }
  html body.suanli-page #rank-table td:first-child::before { content: none; }
  html body.suanli-page #rank-table td.sl-model { padding-right: 34px; }
  html body.suanli-page table.sl-spec,
  html body.suanli-page table.sl-spec tbody { display: block; width: 100%; }
  html body.suanli-page table.sl-spec tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--sl-line-soft); }
  html body.suanli-page table.sl-spec tr:last-child { border-bottom: 0; }
  html body.suanli-page table.sl-spec th,
  html body.suanli-page table.sl-spec td { display: block; width: auto; padding: 0; border: 0; background: transparent; overflow-wrap: anywhere; }
  html body.suanli-page table.sl-spec th { margin-bottom: 4px; font-size: 12px; font-weight: 400; }
  html body.suanli-page table.sl-spec td { font-size: 14px; line-height: 1.65; }
}

html body.suanli-page .sl-toolbar__top {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  flex-wrap: wrap;
}
html body.suanli-page .sl-toolbar__top .sl-search { flex: 1 1 260px; }

/* 锚点跳转时避开固定顶栏 */
html body.suanli-page [id] { scroll-margin-top: 92px; }

/* ---------- 顶栏 / 侧栏的当前栏目态 ---------- */
html body.suanli-page #siteTopbar.wn-nav-shell .wn-nav-link.is-current,
html body.suanli-page #siteTopbar.wn-nav-shell .wn-nav-link.is-current:hover {
  background: #eff6ff !important;
  border-color: #dbeafe !important;
  color: #1d4ed8 !important;
}
html body.suanli-page .wn-sidebar-item__link.is-current {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
}

/* Generated pages retain a complete mobile category menu and CMS-managed banners. */
.suanli-page .sl-category-toggle { display: none; }
.suanli-page .sl-ad { position: relative; margin: 16px 0; width: 100%; line-height: 0; }
.suanli-page .sl-ad[hidden] { display: none; }
.suanli-page .sl-ad a,.suanli-page .sl-ad picture,.suanli-page .sl-ad img { display: block; width: 100%; }
.suanli-page .sl-ad a { position: relative; overflow: hidden; }
.suanli-page .sl-ad img { height: auto; }
.suanli-page .sl-ad .wn-native-ad__label { position: absolute; right: 8px; bottom: 6px; padding: 2px 5px; border-radius: 3px; color: #fff; background: #101828b3; font: 10px/1.5 sans-serif; }
.suanli-page .sl-category-dialog { box-sizing: border-box; width: min(680px, calc(100% - 24px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 1px solid #e5e7eb; border-radius: 14px; color: #101828; background: #fff; }
.suanli-page .sl-category-dialog::backdrop { background: #10182880; }
.suanli-page .sl-category-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid #e5e7eb; background: #fff; }
.suanli-page .sl-category-head button { min-height: 40px; padding: 6px 14px; border: 1px solid #d0d5dd; border-radius: 8px; background: #f8fafc; color: #344054; font: inherit; }
.suanli-page .sl-category-groups { display: grid; gap: 12px; padding: 12px 16px 20px; }
.suanli-page .sl-category-dialog .wn-nav-menu__group { display: block; width: auto; padding: 12px; border: 1px solid #e5e7eb; border-radius: 10px; }
.suanli-page .sl-category-dialog .wn-nav-menu__parent { display: flex; gap: 8px; padding: 4px 0 10px; color: #101828; text-decoration: none; font: 600 15px/1.5 sans-serif; }
.suanli-page .sl-category-dialog .wn-nav-menu__children { display: flex; flex-wrap: wrap; gap: 8px; }
.suanli-page .sl-category-dialog .wn-nav-menu__children a { display: inline-flex; align-items: center; min-height: 40px; padding: 4px 10px; border-radius: 6px; background: #f1f5f9; color: #344054; text-decoration: none; font: 14px/1.5 sans-serif; }
@media (max-width: 960px) {
  html body.suanli-page.nav-theme.nav-theme-v2 #siteTopbar.wn-nav-shell .wn-nav-shell__inner { grid-template-columns: minmax(0, 1fr) 44px 44px !important; gap: 6px !important; }
  html body.suanli-page .sl-category-toggle { box-sizing: border-box; display: grid; place-items: center; flex: 0 0 44px; width: 44px; min-width: 44px; min-height: 44px; margin-left: 0; padding: 0 6px; border: 1px solid #d0d5dd; border-radius: 9px; color: #101828; background: #fff; font: 600 14px/1 sans-serif; white-space: nowrap; }
}
