/* ============================================================
 * 帮助中心样式 (/assets/help/css/help-center.css)
 *
 * 适用：/help/ 的 index（中心首页）/ list（列表）/ detail（详情）
 * 风格：浅色主题 + 主色 #423dff，通用筛选组件复用 ip-supermarket/filter-common.css
 * ============================================================ */

/* 帮助中心页面底色（浅灰，与白卡片形成层次；仅本目录页面引用本 CSS） */
body {
  background-color: #f6f8fa;
}

.hc-wrap {
  max-width: 1250px;
  margin: 0 auto;
  padding: var(--space-4-5) 0;
  box-sizing: border-box;
}

/* 窄屏（≤1320）才留左右边距，宽屏内容与全站 container 平齐 */
@media (max-width: 1320px) {
  .hc-wrap {
    padding-left: var(--space-4-5);
    padding-right: var(--space-4-5);
  }
}

.hc-wrap--article {
  max-width: 1250px;
}

/* ==================== 文章页：两栏布局（左栏 sticky + 正文） ====================
   左栏 sticky：正常滚动时固定在 header 下方；滚到正文（父容器 .hc-layout）
   底部时自动跟随文档一起滚走（sticky 的边界行为），左侧目录与右侧文档同步上移。
   top = 122 + 20 = 142px 精确对齐左卡文档流初始位置（零首次上移）：
     内页吸顶 header 实际总高 122px = .header__top(46 + 1px border)
     + .header__nav(74 + 1px border)（全站 content-box，边框计入占位）；
     再加 .hc-wrap 顶部内边距 20px。 */
.hc-layout {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4-5);
}

/* 左栏：分类导航（白卡 + sticky + 细滚动条） */
.hc-side {
  flex: 0 0 220px;
  width: 220px;
  position: sticky;
  top: 142px;
  max-height: calc(100vh - 158px);
  overflow-y: auto;
  padding: 16px;
  box-sizing: border-box;
  background-color: #fff;
  border: 1px solid #e3e6ec;
  border-radius: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 23, 42, .14) transparent;
}

.hc-side::-webkit-scrollbar {
  width: 6px;
}

.hc-side::-webkit-scrollbar-track {
  background: transparent;
}

.hc-side::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, .14);
  border-radius: 3px;
}

.hc-side::-webkit-scrollbar-thumb:hover {
  background: rgba(15, 23, 42, .28);
}

.hc-side__search {
  margin: 0 0 14px;
}

.hc-side__search-input {
  width: 100%;
  height: 36px;
  padding: 0 12px;
  box-sizing: border-box;
  border: 1px solid transparent;
  border-radius: 8px;
  background-color: #f6f8fa;
  font-size: 13px;
  color: #1f2329;
  outline: none;
  transition: border-color .15s, background-color .15s;
}

.hc-side__search-input:focus {
  border-color: #423dff;
  background-color: #fff;
}

.hc-side__search-input::placeholder {
  color: #9aa1ad;
}

.hc-side__block {
  margin: 0 0 var(--space-4);
}

.hc-side__block-title {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #9aa1ad;
  letter-spacing: .5px;
  padding: 0 8px;
  margin: 0 0 6px;
  text-decoration: none;
  transition: color .15s;
}

.hc-side__block-title:hover {
  color: #423dff;
}

.hc-side__cat {
  margin: 0 0 6px;
}

.hc-side__cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 7px 8px;
  border: 0;
  border-radius: 6px;
  background: none;
  font-size: 12px;
  color: #8a9099;
  text-align: left;
  cursor: pointer;
  transition: color .15s, background-color .15s;
}

.hc-side__cat-head:hover {
  color: #423dff;
  background: #f7f8fa;
}

.hc-side__cat-arrow {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-right: 2px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  transition: transform .2s;
}

.hc-side__cat.is-open .hc-side__cat-arrow {
  transform: rotate(45deg);
}

.hc-side__cat-body {
  display: none;
  padding: 2px 0 4px;
}

.hc-side__cat.is-open .hc-side__cat-body {
  display: block;
}

.hc-side__link {
  display: block;
  padding: 7px 10px;
  margin: 1px 0;
  border-radius: 6px;
  font-size: 13px;
  color: #3c4048;
  text-decoration: none;
  line-height: 1.5;
  transition: background-color .15s, color .15s;
}

.hc-side__link:hover {
  background: #f4f5f7;
  color: #423dff;
}

.hc-side__link.is-active {
  background: #f0f0ff;
  color: #423dff;
  font-weight: 500;
  border-left: 2px solid #423dff;
  padding-left: 8px;
}

/* 中栏：正文（为 fixed 左栏留出 240px = 左栏 220 + 间距 20） */
/* 中栏：正文 */
.hc-main {
  flex: 1;
  min-width: 0;
}

/* ==================== Hero ==================== */
.hc-hero {
  text-align: center;
  padding: 28px 0 8px;
}

.hc-hero__title {
  font-size: 26px;
  font-weight: 600;
  color: #1f2329;
  margin: 0 0 var(--space-3);
}

.hc-hero__sub {
  font-size: 14px;
  color: #8a9099;
  margin: 0 0 var(--space-5);
}

.hc-hero__search {
  max-width: 560px;
  margin: 0 auto;
}

/* ==================== 板块 ==================== */
.hc-block {
  margin: 26px 0 0;
}

.hc-block__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 0 var(--space-3);
}

.hc-block__title {
  font-size: 17px;
  font-weight: 600;
  color: #1f2329;
  margin: 0;
  padding-left: 10px;
  position: relative;
}

.hc-block__title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 15px;
  border-radius: 2px;
  background: #423dff;
}

.hc-block__more {
  font-size: 13px;
  color: #8a9099;
  text-decoration: none;
  transition: color .15s;
}

.hc-block__more:hover {
  color: #423dff;
}

.hc-block__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.hc-cat-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-1-5);
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #e3e6ec;
  border-radius: 10px;
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}

.hc-cat-card:hover {
  border-color: #423dff;
  box-shadow: 0 4px 14px rgba(66, 61, 255, .1);
}

.hc-cat-card__name {
  font-size: 15px;
  font-weight: 500;
  color: #1f2329;
}

.hc-cat-card__count {
  font-size: 12px;
  color: #9aa1ad;
}

/* ==================== 热门 / 最新 ==================== */
.hc-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin: var(--space-6) 0 0;
}

.hc-cols__col {
  background: #fff;
  border: 1px solid #e3e6ec;
  border-radius: 10px;
  padding: 16px 20px;
}

.hc-cols__title {
  font-size: 15px;
  font-weight: 600;
  color: #1f2329;
  margin: 0 0 var(--space-3);
}

.hc-linklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hc-linklist li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 7px 0;
  border-top: 1px solid #f4f5f7;
}

.hc-linklist li:first-child {
  border-top: 0;
}

.hc-linklist a {
  font-size: 13px;
  color: #3c4048;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color .15s;
}

.hc-linklist a:hover {
  color: #423dff;
}

.hc-linklist em {
  flex: 0 0 auto;
  font-style: normal;
  font-size: 12px;
  color: #9aa1ad;
}

/* ==================== 板块 Tab ==================== */
.hc-tabs {
  display: flex;
  gap: var(--space-1);
  border-bottom: 1px solid #e3e6ec;
  margin: 0 0 16px;
}

.hc-tab {
  display: inline-block;
  padding: 10px 20px;
  font-size: 15px;
  color: #5a5f6a;
  text-decoration: none;
  position: relative;
  transition: color .15s;
}

.hc-tab:hover {
  color: #423dff;
}

.hc-tab.is-active {
  color: #423dff;
  font-weight: 600;
}

.hc-tab.is-active::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -1px;
  height: 2px;
  border-radius: 1px;
  background: #423dff;
}

/* ==================== 列表 ==================== */
.hc-list__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 12px;
}

.hc-list__count {
  font-size: 13px;
  color: #8a9099;
}

.hc-list__count em {
  font-style: normal;
  color: #423dff;
  font-weight: 600;
}

.hc-list__clear {
  font-size: 13px;
  color: #8a9099;
  text-decoration: none;
  transition: color .15s;
}

.hc-list__clear:hover {
  color: #423dff;
}

.hc-item {
  background: #fff;
  border: 1px solid #e3e6ec;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 10px;
  transition: border-color .15s, box-shadow .15s;
}

.hc-item:hover {
  border-color: #c9c6ff;
  box-shadow: 0 4px 14px rgba(66, 61, 255, .08);
}

.hc-item__title {
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 6px;
}

.hc-item__title a {
  color: #1f2329;
  text-decoration: none;
  transition: color .15s;
}

.hc-item__title a:hover {
  color: #423dff;
}

.hc-item__desc {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.7;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hc-item__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3-5);
  font-size: 12px;
  color: #9aa1ad;
}

.hc-item__cat {
  display: inline-block;
  padding: 1px 9px;
  border-radius: 10px;
  background: #f0f0ff;
  color: #423dff;
}

/* ==================== 分页 ==================== */
.hc-pager {
  display: flex;
  gap: var(--space-1-5);
  justify-content: center;
  margin: 22px 0 0;
  flex-wrap: wrap;
}

.hc-pager a,
.hc-pager span {
  padding: 6px 13px;
  border: 1px solid #e0e3e8;
  border-radius: 6px;
  font-size: 13px;
  color: #555;
  text-decoration: none;
  transition: all .15s;
}

.hc-pager a:hover {
  border-color: #423dff;
  color: #423dff;
}

.hc-pager .is-cur {
  background: #423dff;
  color: #fff;
  border-color: #423dff;
}

/* ==================== 空态 ==================== */
.hc-empty {
  text-align: center;
  padding: 56px 20px;
  background: #fff;
  border: 1px solid #e3e6ec;
  border-radius: 10px;
}

.hc-empty__title {
  font-size: 15px;
  color: #5a5f6a;
  margin: 0 0 8px;
}

.hc-empty__hint {
  font-size: 13px;
  color: #9aa1ad;
  margin: 0;
}

/* ==================== 详情页 ==================== */
.hc-crumb {
  font-size: 13px;
  color: #8a9099;
  margin-bottom: var(--space-4-5);
  line-height: 1.8;
}

.hc-crumb a {
  color: #8a9099;
  text-decoration: none;
  transition: color .15s;
}

.hc-crumb a:hover {
  color: #423dff;
}

.hc-crumb span {
  margin: 0 6px;
}

.hc-crumb em {
  font-style: normal;
  color: #5a5f6a;
}

.hc-article {
  background: #fff;
  border: 1px solid #e3e6ec;
  border-radius: 12px;
  padding: var(--space-6) var(--space-6);
}

.hc-article__title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
  color: #1f2329;
  margin: 0 0 14px;
}

.hc-article__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3-5);
  font-size: 12px;
  color: #9aa1ad;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f1f4;
  margin-bottom: 22px;
}

.hc-article__cat {
  display: inline-block;
  padding: 1px 9px;
  border-radius: 10px;
  background: #f0f0ff;
  color: #423dff;
}

.hc-article__body {
  font-size: 15px;
  line-height: 1.9;
  color: #2c3038;
  word-break: break-word;
}

/* 锚点平滑滚动：TOC 点击、回到顶部均平滑过渡（对齐浮窗回到顶部的滚动效果） */
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* TOC 锚点落点修正：原生 #hc-sec-N 跳转会把 h2 滚到视口顶端，
   被 122px 吸顶 header 盖住。scroll-margin 让落点停在 header 下方 20px
   （122+20=142，与侧栏吸顶 top 同式）；scroll-spy 阈值 160 仍能正确命中。 */
.hc-article__body h2[id] {
  scroll-margin-top: 142px;
}

.hc-article__body h2 {
  font-size: 17px;
  font-weight: 600;
  margin: var(--space-6) 0 var(--space-3);
  color: #1f2329;
  padding-left: 12px;
  border-left: 3px solid #423dff;
  line-height: 1.5;
}

.hc-article__body h3 {
  font-size: 15px;
  font-weight: 600;
  margin: var(--space-5) 0 var(--space-3);
  color: #1f2329;
}

.hc-article__body p {
  margin: 0 0 var(--space-4);
}

.hc-article__body ul,
.hc-article__body ol {
  margin: 0 0 var(--space-4);
  padding-left: 22px;
}

.hc-article__body li {
  margin-bottom: var(--space-2);
}

.hc-article__body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* 正文表格：圆角边框 + 表头浅底 + 斑马纹 */
.hc-article__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px;
  font-size: 14px;
}

.hc-article__body th,
.hc-article__body td {
  border: 1px solid #e3e6ec;
  padding: 10px 14px;
  text-align: left;
  line-height: 1.7;
}

.hc-article__body th {
  background: #f7f8fa;
  font-weight: 600;
  color: #1f2329;
}

.hc-article__body tr:nth-child(even) td {
  background: #fafbfc;
}

/* 正文引用块：左侧色条 + 浅底 */
.hc-article__body blockquote {
  margin: 0 0 var(--space-4);
  padding: var(--space-3) var(--space-4);
  background: #f7f8fa;
  border-left: 3px solid #423dff;
  border-radius: 0 8px 8px 0;
  color: #4b5563;
}

.hc-article__body blockquote p {
  margin: 0 0 8px;
}

.hc-article__body blockquote p:last-child {
  margin-bottom: 0;
}

/* ==================== 上下篇 / 返回 ==================== */
.hc-prenext {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin: 16px 0 0;
}

.hc-prenext__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: 14px 18px;
  background: #fff;
  border: 1px solid #e3e6ec;
  border-radius: 10px;
  text-decoration: none;
  transition: border-color .15s;
}

.hc-prenext__item:hover {
  border-color: #423dff;
}

.hc-prenext__item em {
  font-style: normal;
  font-size: 12px;
  color: #9aa1ad;
}

.hc-prenext__item span {
  font-size: 13px;
  color: #3c4048;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-backlink {
  margin: var(--space-4-5) 0 0;
}

.hc-backlink a {
  font-size: 13px;
  color: #8a9099;
  text-decoration: none;
  transition: color .15s;
}

.hc-backlink a:hover {
  color: #423dff;
}

@media (max-width: 768px) {
  .hc-block__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hc-cols {
    grid-template-columns: 1fr;
  }
  .hc-prenext {
    grid-template-columns: 1fr;
  }
}

/* ==================== 购买后解锁（权限文档） ==================== */
.hc-locked {
  background: #fff;
  border: 1px solid #e3e6ec;
  border-radius: 12px;
  padding: var(--space-6) var(--space-6);
}

.hc-locked__badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 14px;
  font-size: 13px;
  background: #faeeda;
  color: #854f0b;
  margin-bottom: 12px;
}

.hc-locked__title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
  color: #1f2329;
  margin: 0 0 var(--space-3);
}

.hc-locked__desc {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 16px;
}

.hc-locked__preview {
  position: relative;
  max-height: 130px;
  overflow: hidden;
  margin-bottom: 22px;
}

.hc-locked__preview p {
  font-size: 15px;
  line-height: 1.9;
  color: #6b7280;
  margin: 0;
}

.hc-locked__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
}

.hc-locked__card {
  border: 1px solid #e3e6ec;
  border-radius: 10px;
  padding: var(--space-4-5) var(--space-5);
  background: #fafbfc;
  text-align: center;
}

.hc-locked__tip {
  font-size: 14px;
  color: #3c4048;
  line-height: 1.8;
  margin: 0 0 16px;
}

.hc-locked__actions {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  margin-bottom: 14px;
}

.hc-locked__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 24px;
  border-radius: 8px;
  font-size: 14px;
  text-decoration: none;
  color: #423dff;
  border: 1px solid #423dff;
  background: #fff;
  transition: opacity .15s;
}

.hc-locked__btn--primary {
  background: #423dff;
  color: #fff;
}

.hc-locked__btn:hover {
  opacity: .85;
}

.hc-locked__hint {
  font-size: 12px;
  color: #9aa1ad;
  margin: 0;
}

/* ==================== 分类卡图标/描述/色调（2026-10-20） ==================== */
.hc-hero__eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  color: #423dff;
  margin-bottom: 7px;
  text-transform: uppercase;
}
.hc-cat-card {
  padding: 14px 16px;
  border-radius: 12px;
  gap: var(--space-1);
}
.hc-cat-card__icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.hc-cat-card__icon svg {
  width: 16px;
  height: 16px;
}
.hc-cat-card__desc {
  font-size: 11px;
  color: #9aa1ad;
  line-height: 1.5;
}
.hc-cat-card__count {
  font-size: 11px;
  margin-top: 6px;
}
.hc-tone-a .hc-cat-card__icon { background: #eeedfe; color: #423dff; }
.hc-tone-a .hc-cat-card__count { color: #423dff; }
.hc-tone-b .hc-cat-card__icon { background: #e1f5ee; color: #0f6e56; }
.hc-tone-b .hc-cat-card__count { color: #0f6e56; }
.hc-tone-c .hc-cat-card__icon { background: #faeeda; color: #854f0b; }
.hc-tone-c .hc-cat-card__count { color: #854f0b; }
.hc-tone-d .hc-cat-card__icon { background: #fcebeb; color: #a32d2d; }
.hc-tone-d .hc-cat-card__count { color: #a32d2d; }

/* ==================== 三栏文档布局（2026-10-20） ==================== */
.hc-layout--3col .hc-side { flex: 0 0 204px; }
.hc-layout--3col .hc-main { flex: 1; min-width: 0; }
.hc-toc {
  flex: 0 0 180px;
  position: sticky;
  top: 142px;
  max-height: calc(100vh - 162px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 23, 42, .14) transparent;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: var(--space-4-5);
}
.hc-toc__panel {
  background: #fff;
  border: 1px solid #e3e6ec;
  border-radius: 10px;
  padding: 14px 16px;
}
.hc-toc__head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: #1f2329;
  margin-bottom: 8px;
}
.hc-toc__head::before {
  content: "";
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: #423dff;
}
.hc-toc__list {
  position: relative;
}
.hc-toc__list::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 2px;
  border-radius: 1px;
  background: #e5e8ef;
}
.hc-toc__list a {
  position: relative;
  display: block;
  font-size: 13px;
  color: #8a909c;
  line-height: 1.5;
  text-decoration: none;
  padding: 6px 6px 6px 14px;
  border-radius: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hc-toc__list a:hover { color: #423dff; background: #f6f8fa; }
.hc-toc__list a.is-active {
  color: #423dff;
  font-weight: 500;
  background: #eef0ff;
}
.hc-toc__list a.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -11px;
  width: 3px;
  height: 22px;
  border-radius: 2px;
  background: #423dff;
}
.hc-toc__top {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #f0f1f4;
  font-size: 12px;
  color: #8a909c;
  text-decoration: none;
}
.hc-toc__top:hover { color: #423dff; }
.hc-toc__rel a {
  position: relative;
  display: block;
  font-size: 13px;
  color: #4a4f59;
  line-height: 1.5;
  text-decoration: none;
  padding: 6px 14px 6px 2px;
  border-radius: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hc-toc__rel a::after {
  content: "\203A";
  position: absolute;
  right: 3px;
  color: #c2c7d0;
}
.hc-toc__rel a:hover { color: #423dff; }
.hc-toc__rel a:hover::after { color: #423dff; }

/* 文末反馈 */
.hc-feedback {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-5);
  padding-top: 16px;
  border-top: 1px solid #f0f1f4;
  font-size: 12px;
  color: #8a909c;
}
.hc-feedback__btn {
  border: 1px solid #e3e6ec;
  background: #fff;
  border-radius: 999px;
  padding: 5px 16px;
  font-size: 12px;
  color: #4a4f59;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.hc-feedback__btn:hover { border-color: #423dff; color: #423dff; }
.hc-feedback__btn:disabled { opacity: .45; cursor: default; }
.hc-feedback__thanks { color: #0f6e56; }

/* 正文列表符号（counter 伪元素，绕开全局 list-style 抑制） */
.hc-article__body ul,
.hc-article__body ol {
  margin: 0 0 var(--space-4);
  padding-left: 26px;
  list-style: none;
}
.hc-article__body ol { counter-reset: hc-item; }
.hc-article__body li {
  margin-bottom: var(--space-2);
  line-height: 1.85;
  position: relative;
}
.hc-article__body ol > li { counter-increment: hc-item; }
.hc-article__body ol > li::before {
  content: counter(hc-item) ".";
  position: absolute;
  left: -22px;
  top: 0;
  color: #423dff;
  font-weight: 600;
}
.hc-article__body ul > li::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #423dff;
}

/* 提示框体系 */
.hc-tip, .hc-note, .hc-warn {
  margin: 14px 0;
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
  border-left: 3px solid;
  font-size: 14px;
  line-height: 1.8;
}
.hc-tip { background: #e6f1fb; border-color: #378add; color: #185fa5; }
.hc-note { background: #f6f8fa; border-color: #a0a6b0; color: #4a4f59; }
.hc-warn { background: #faeeda; border-color: #ef9f27; color: #854f0b; }

/* 正文排版增强 */
.hc-article__body { font-size: 15px; line-height: 1.95; color: #2c3038; }
.hc-article__body h2 {
  font-size: 19px;
  font-weight: 600;
  color: #14161a;
  margin: 28px 0 12px;
  padding-left: 11px;
  border-left: 3px solid #423dff;
  line-height: 1.5;
}
.hc-article__body h3 { font-size: 16px; font-weight: 600; margin: 20px 0 9px; }
.hc-article__body table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 13px; }
.hc-article__body th, .hc-article__body td { border: 1px solid #e3e6ec; padding: 9px 11px; text-align: left; }
.hc-article__body th { background: #f6f8fa; font-weight: 600; }
.hc-article__body blockquote {
  margin: 14px 0;
  padding: 11px 15px;
  background: #f6f8fa;
  border-left: 3px solid #423dff;
  border-radius: 0 8px 8px 0;
  color: #4a4f59;
}
.hc-article__body img { max-width: 100%; height: auto; border-radius: 8px; }

/* 窄屏：隐藏右栏 TOC */
@media (max-width: 1200px) {
  .hc-toc { display: none; }
}

/* ==================== 列表项色标 + 紧凑（2026-10-20） ==================== */
.hc-item {
  padding: 14px 18px 14px 20px;
  border-left: 3px solid #e3e6ec;
  border-radius: 10px;
}
.hc-item.hc-tone-a { border-left-color: #423dff; }
.hc-item.hc-tone-b { border-left-color: #0f6e56; }
.hc-item.hc-tone-c { border-left-color: #854f0b; }
.hc-item.hc-tone-d { border-left-color: #a32d2d; }
.hc-item:hover { border-color: #c9c6ff; }
.hc-item.hc-tone-a:hover { border-left-color: #423dff; }
.hc-item.hc-tone-b:hover { border-left-color: #0f6e56; }
.hc-item.hc-tone-c:hover { border-left-color: #854f0b; }
.hc-item.hc-tone-d:hover { border-left-color: #a32d2d; }
.hc-item__title { margin: 0 0 6px; font-size: 16px; font-weight: 500; }
.hc-item__title a { color: #1f2329; text-decoration: none; transition: color .15s; }
.hc-item__title a:hover { color: #423dff; }
.hc-item__desc { margin: 0 0 8px; font-size: 13px; color: #8a909c; line-height: 1.7; }
.hc-item__meta { font-size: 12px; color: #9aa1ad; display: flex; gap: var(--space-3-5); flex-wrap: wrap; align-items: center; }
.hc-item__cat { background: #f0f1f4; border-radius: 4px; padding: 2px 8px; color: #4a4f59; }

/* ==================== 响应式统一（2026-10-22，须置于文件末尾） ====================
   与资讯页对齐：992px 变单栏、侧栏移到底部（不再 display:none），栏间距 20px。
   放最后是为了在层叠上覆盖 .hc-layout--3col .hc-side 的 flex 声明。 */
@media (max-width: 992px) {
  .hc-layout,
  .hc-layout--3col {
    flex-direction: column;
  }
  .hc-layout .hc-side,
  .hc-layout--3col .hc-side {
    position: static;
    flex: 0 0 auto;
    width: 100%;
    max-height: none;
    overflow-y: visible;
  }
  /* 窄屏：隐藏分类树、仅保留搜索框（.hc-side 仅文章页使用）。
     文档搜索是移动端唯一入口，必须保留；分类浏览由面包屑 + 文末上下篇承接。 */
  .hc-side .hc-side__block {
    display: none;
  }
  .hc-side__search {
    margin-bottom: 0;
  }
}

/* ==================== B 批（R6-11）：结构 / 可访问性补强 ==================== */
/* 列表页 H1（原实现缺主标题） */
.hc-list__title {
  font-size: 22px;
  font-weight: 600;
  color: #1f2329;
  margin: 0 0 16px;
}

/* 首页频道快捷入口（补公告频道可达性） */
.hc-hero__links {
  margin: -8px 0 var(--space-5);
  font-size: 13px;
  color: #8a9099;
}

.hc-hero__links a {
  color: #423dff;
  text-decoration: none;
}

.hc-hero__links a:hover {
  text-decoration: underline;
}

.hc-hero__links i {
  font-style: normal;
  margin: 0 8px;
  color: #c9ced6;
}
