/* 版权所有 © 八艾云 (www.8a.hk) 保留所有权利 */
/* byc content.css — 帮助中心 / 新闻 / 文章类页面专属 */

/* 内容页 hero (蓝紫渐变 + 左文字 + 右插图, 新闻专用) */
.byc-content-hero {
  position: relative;
  padding: 104px 0 42px;
  margin-top: -70px;
  background: var(--byc-grad-hero);
  color: #fff;
  overflow: hidden;
}
.byc-content-hero::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 46px 46px;
}
.byc-content-hero-deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.byc-content-hero-circle { position: absolute; border-radius: 50%; }
.byc-content-hero-circle.c1 { width: 420px; height: 420px; top: -190px; right: -70px; background: rgba(255,255,255,0.08); }
.byc-content-hero-circle.c2 { width: 200px; height: 200px; bottom: -110px; left: 5%; background: rgba(255,255,255,0.06); }
.byc-content-hero-inner {
  position: relative;
  z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.byc-content-hero-main { flex: 1; min-width: 0; }
.byc-content-hero-crumb {
  font-size: 13px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 18px;
  display: flex; align-items: center; justify-content: flex-start;
  gap: 8px; flex-wrap: wrap;
}
.byc-content-hero-crumb a { color: rgba(255,255,255,0.82); }
.byc-content-hero-crumb a:hover { color: #fff; text-decoration: underline; }
.byc-content-hero-crumb .sep { color: rgba(255,255,255,0.5); }
.byc-content-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 18px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: var(--byc-r-full);
  font-size: 13px; font-weight: 600;
  color: #fff;
  margin-bottom: 18px;
}
.byc-content-hero-badge svg { width: 16px; height: 16px; }
.byc-content-hero-title {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
  color: #fff;
}
.byc-content-hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.92);
  margin-bottom: 0;
  max-width: 540px;
  line-height: 1.7;
}
.byc-content-hero-art { flex-shrink: 0; width: 188px; }
.byc-content-hero-art svg { width: 100%; height: auto; display: block; }
@media (max-width: 820px) { .byc-content-hero-art { display: none; } }

/* 帮助 Hero (深蓝紫渐变 + 白字) */
.byc-help-hero {
  position: relative;
  margin-top: -70px;
  padding: 140px 0 64px;
  background: var(--byc-grad-hero);
  color: #fff;
  overflow: hidden;
  text-align: center;
}
.byc-help-hero-deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.byc-help-hero-deco::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 46px 46px;
}
.byc-help-hero-circle { position: absolute; border-radius: 50%; }
.byc-help-hero-circle.hc1 { width: 460px; height: 460px; top: -160px; right: -100px; background: rgba(255,255,255,0.10); }
.byc-help-hero-circle.hc2 { width: 260px; height: 260px; bottom: -120px; left: 8%;  background: rgba(255,255,255,0.07); }
.byc-help-hero-circle.hc3 { width: 150px; height: 150px; top: 50px;    left: -50px; background: rgba(255,255,255,0.06); }
.byc-help-hero-inner { position: relative; z-index: 2; }
.byc-help-hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 18px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--byc-r-full);
  font-size: 13px; font-weight: 600; color: #fff;
  margin-bottom: 20px;
}
.byc-help-hero-badge svg { width: 16px; height: 16px; }
.byc-help-hero-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800; line-height: 1.2;
  margin-bottom: 14px;
}
.byc-help-hero-sub {
  font-size: 16px; color: rgba(255,255,255,0.88);
  margin-bottom: 30px; line-height: 1.7;
}
.byc-help-search {
  display: flex; max-width: 660px; margin: 0 auto 20px;
  background: #fff; border-radius: var(--byc-r-full);
  overflow: hidden; box-shadow: 0 12px 36px rgba(0,0,0,0.18);
}
.byc-help-search input {
  flex: 1; height: 54px; border: 0; outline: 0;
  padding: 0 26px; font-size: 15px; color: var(--byc-text); font-family: inherit;
}
.byc-help-search button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0 30px; margin: 6px; border-radius: var(--byc-r-full);
  background: var(--byc-grad-primary); color: #fff;
  font-size: 15px; font-weight: 600; border: 0; cursor: pointer; font-family: inherit;
  transition: filter 0.2s;
}
.byc-help-search button:hover { filter: brightness(1.08); }
.byc-help-search button svg { width: 16px; height: 16px; }
.byc-help-hot-tags {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,0.85); flex-wrap: wrap; justify-content: center;
}
.byc-help-hot-tags a {
  color: #fff; padding: 5px 14px;
  background: rgba(255,255,255,0.14);
  border-radius: var(--byc-r-full); transition: var(--byc-trans);
}
.byc-help-hot-tags a:hover { background: rgba(255,255,255,0.26); }

/* Section (byc-sec-head 范式: badge + title + desc) */
.byc-help-sec { padding: 64px 0; background: #fff; }
.byc-help-sec-alt { background: var(--byc-bg-light); }
.byc-help-sec-head { text-align: center; margin-bottom: 44px; }
.byc-help-sec-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(43,109,232,0.10), rgba(139,92,246,0.10));
  border: 1px solid rgba(43,109,232,0.15); border-radius: var(--byc-r-full);
  font-size: 13px; font-weight: 600; color: var(--byc-primary);
}
.byc-help-sec-badge svg { width: 15px; height: 15px; }
.byc-help-sec-title {
  font-size: clamp(26px, 3.4vw, 34px); font-weight: 700; color: var(--byc-text);
  margin-bottom: 12px; line-height: 1.3;
}
.byc-help-sec-desc { font-size: 15px; color: var(--byc-text-sec); max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* 分类卡 grid (一行 5 个, 居中卡片, 图标顶部) */
.byc-help-cats {
  display: grid; gap: 22px;
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 1180px) { .byc-help-cats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .byc-help-cats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .byc-help-cats { grid-template-columns: 1fr; } }
.byc-help-cat {
  background: #fff;
  border: 1px solid var(--byc-border);
  border-radius: var(--byc-r-xl);
  padding: 30px 20px 12px;
  text-align: center;
  transition: var(--byc-trans);
}
.byc-help-cat:hover {
  border-color: var(--byc-primary-100);
  box-shadow: var(--byc-sd-lg);
  transform: translateY(-4px);
}
.byc-help-cat-ico {
  width: 64px; height: 64px; margin: 0 auto 16px;
  border-radius: var(--byc-r-lg);
  display: flex; align-items: center; justify-content: center;
  background: var(--byc-primary-50); color: var(--byc-primary);
  transition: var(--byc-trans);
}
.byc-help-cat-ico svg { width: 30px; height: 30px; }
.byc-help-cat:hover .byc-help-cat-ico { background: var(--byc-grad-primary); color: #fff; }
.byc-help-cat-name { font-size: 18px; font-weight: 700; color: var(--byc-text); margin-bottom: 5px; }
.byc-help-cat-count { font-size: 13px; color: var(--byc-primary); margin-bottom: 16px; }
.byc-help-cat-list { text-align: left; border-top: 1px dashed var(--byc-border); }
.byc-help-cat-list li { border-bottom: 1px dashed var(--byc-border); }
.byc-help-cat-list li:last-child { border-bottom: none; }
.byc-help-cat-list li a {
  display: block; padding: 11px 4px;
  font-size: 14px; color: var(--byc-text-sec); line-height: 1.4;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  transition: var(--byc-trans);
}
.byc-help-cat-list li a:hover { color: var(--byc-primary); padding-left: 8px; }

/* 热门文章 (双列列表) */
.byc-help-hot {
  display: grid; gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  max-width: 1000px; margin: 0 auto;
}
@media (max-width: 720px) { .byc-help-hot { grid-template-columns: 1fr; } }
.byc-help-hot-item {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 20px;
  background: #fff;
  border: 1px solid var(--byc-border);
  border-radius: var(--byc-r-lg);
  transition: var(--byc-trans);
}
.byc-help-hot-item:hover {
  border-color: var(--byc-primary-100);
  box-shadow: var(--byc-sd-md);
}
.byc-help-hot-rank {
  flex-shrink: 0;
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  color: var(--byc-text-mut);
  background: var(--byc-bg-light);
  border-radius: var(--byc-r-md);
}
.byc-help-hot-item:nth-child(1) .byc-help-hot-rank,
.byc-help-hot-item:nth-child(2) .byc-help-hot-rank,
.byc-help-hot-item:nth-child(3) .byc-help-hot-rank {
  background: var(--byc-grad-accent);
  color: #fff;
}
.byc-help-hot-title {
  flex: 1; min-width: 0;
  font-size: 14px; color: var(--byc-text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  transition: var(--byc-trans);
}
.byc-help-hot-item:hover .byc-help-hot-title { color: var(--byc-primary); }
.byc-help-hot-views {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; color: var(--byc-text-mut);
}
.byc-help-hot-views svg { width: 14px; height: 14px; }

/* 返回按钮区 */
.byc-help-back { text-align: center; margin-top: 32px; }

/* 帮助内页 (子分类列表 / 文章详情) — 左分类树 + 右内容 */
.help-inner { padding: 36px 0 72px; background: var(--byc-bg-light); min-height: 60vh; }

/* 面包屑 (byc 变量色, 内容上方) */
.help-breadcrumb { padding: 0 0 22px; font-size: 13px; line-height: normal; color: var(--byc-text-mut); }
.help-breadcrumb a { color: var(--byc-text-sec); text-decoration: none; transition: var(--byc-trans); }
.help-breadcrumb a:hover { color: var(--byc-primary); }
.help-breadcrumb .sep { margin: 0 8px; color: var(--byc-border-strong); }

/* 两栏布局 (左 260 + 右自适应) */
.help-list-layout, .help-detail-layout {
  display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start;
}
@media (max-width: 920px) {
  .help-list-layout, .help-detail-layout { grid-template-columns: 1fr; }
  .help-sidebar { display: none; }
}

/* 左侧分类树 (byc 卡片) */
.help-sidebar {
  background: #fff; border: 1px solid var(--byc-border); border-radius: var(--byc-r-xl);
  box-shadow: var(--byc-sd-sm); padding: 20px 16px; position: sticky; top: 90px;
}
.help-sidebar-title {
  font-size: 15px; font-weight: 700; color: var(--byc-text);
  padding: 0 8px 14px; margin-bottom: 8px; border-bottom: 1px solid var(--byc-border);
}
.help-nav-group { margin-bottom: 6px; }
.help-nav-parent {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; color: var(--byc-text); padding: 10px 8px;
}
.help-nav-parent svg { width: 16px; height: 16px; color: var(--byc-primary); flex-shrink: 0; }
.help-nav-children { padding-bottom: 6px; }
.help-nav-children a {
  display: block; padding: 9px 10px 9px 32px;
  font-size: 14px; color: var(--byc-text-sec);
  border-radius: var(--byc-r-md); transition: var(--byc-trans);
}
.help-nav-children a:hover { color: var(--byc-primary); background: var(--byc-primary-50); }
.help-nav-children a.active { color: var(--byc-primary); background: var(--byc-primary-50); font-weight: 600; }

/* 右侧主体 (byc 卡片) */
.help-list-main, .help-detail-main {
  background: #fff; border: 1px solid var(--byc-border); border-radius: var(--byc-r-xl);
  box-shadow: var(--byc-sd-sm); padding: 28px 32px; min-width: 0;
}

/* 子分类: 文章列表 */
.help-list-header {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-bottom: 18px; margin-bottom: 4px; border-bottom: 1px solid var(--byc-border);
}
.help-list-title { font-size: 20px; font-weight: 700; color: var(--byc-text); }
.help-list-count { font-size: 13px; color: var(--byc-text-mut); }
.help-article-item { border-bottom: 1px dashed var(--byc-border); }
.help-article-item:last-child { border-bottom: none; }
.help-article-item a { display: flex; align-items: center; gap: 12px; padding: 15px 4px; transition: var(--byc-trans); }
.help-article-item a::before {
  content: ''; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%;
  background: var(--byc-primary); opacity: 0.4; transition: var(--byc-trans);
}
.help-article-item a .t {
  flex: 1; min-width: 0; font-size: 15px; color: var(--byc-text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.help-article-item a .views { flex-shrink: 0; font-size: 13px; color: var(--byc-text-mut); }
.help-article-item a:hover { padding-left: 10px; }
.help-article-item a:hover .t { color: var(--byc-primary); }
.help-article-item a:hover::before { opacity: 1; }

/* 文章详情 */
.help-detail-title { font-size: 24px; font-weight: 700; color: var(--byc-text); line-height: 1.45; margin-bottom: 16px; }
.help-detail-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: var(--byc-text-mut);
  padding-bottom: 20px; margin-bottom: 26px; border-bottom: 1px solid var(--byc-border);
}
.help-detail-meta .m-cat { color: var(--byc-primary); font-weight: 600; }
.help-detail-summary {
  font-size: 15px; color: var(--byc-text-sec);
  background: var(--byc-primary-50); border-left: 3px solid var(--byc-primary);
  padding: 16px 20px; border-radius: 0 var(--byc-r-md) var(--byc-r-md) 0;
  margin-bottom: 26px; line-height: 1.75;
}
.help-detail-content { font-size: 15px; color: var(--byc-text); line-height: 1.85; }
.help-detail-empty { color: var(--byc-text-mut); padding: 20px 0; }

/* 文章正文排版 byc-article-content */
.byc-article-content h2 { font-size: 20px; font-weight: 700; color: var(--byc-text); margin: 32px 0 14px; padding-left: 12px; border-left: 4px solid var(--byc-primary); line-height: 1.45; }
.byc-article-content h3 { font-size: 17px; font-weight: 700; color: var(--byc-text); margin: 26px 0 12px; line-height: 1.5; }
.byc-article-content h4 { font-size: 15px; font-weight: 600; color: var(--byc-text); margin: 20px 0 10px; }
.byc-article-content > h2:first-child, .byc-article-content > h3:first-child, .byc-article-content > h4:first-child, .byc-article-content > p:first-child { margin-top: 0; }
.byc-article-content p { margin: 0 0 16px; line-height: 1.85; }
.byc-article-content ul, .byc-article-content ol { margin: 0 0 16px; padding-left: 24px; }
.byc-article-content li { margin-bottom: 9px; line-height: 1.8; }
.byc-article-content ul > li { list-style: disc; }
.byc-article-content ol > li { list-style: decimal; }
.byc-article-content a { color: var(--byc-primary); text-decoration: none; }
.byc-article-content a:hover { text-decoration: underline; }
.byc-article-content strong { font-weight: 700; color: var(--byc-text); }
.byc-article-content img { max-width: 100%; height: auto; border-radius: var(--byc-r-md); margin: 12px 0; border: 1px solid var(--byc-border); }
.byc-article-content blockquote { margin: 0 0 18px; padding: 13px 18px; background: var(--byc-primary-50); border-left: 3px solid var(--byc-primary); border-radius: 0 var(--byc-r-md) var(--byc-r-md) 0; color: var(--byc-text-sec); font-size: 14px; }
.byc-article-content blockquote p:last-child { margin-bottom: 0; }
.byc-article-content code { font-family: Consolas, Monaco, monospace; font-size: 13px; background: var(--byc-bg-light); color: var(--byc-accent); padding: 2px 7px; border-radius: var(--byc-r-sm); border: 1px solid var(--byc-border); }
.byc-article-content pre { margin: 0 0 18px; padding: 16px 18px; background: #1A1F36; color: #E8EBF0; border-radius: var(--byc-r-md); overflow-x: auto; line-height: 1.7; }
.byc-article-content pre code { background: none; border: none; color: inherit; padding: 0; }
.byc-article-content table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 14px; }
.byc-article-content th, .byc-article-content td { border: 1px solid var(--byc-border); padding: 10px 14px; text-align: left; line-height: 1.6; }
.byc-article-content th { background: var(--byc-bg-light); font-weight: 600; color: var(--byc-text); }
.byc-article-content tr:nth-child(even) td { background: #FBFCFD; }
.byc-article-content hr { border: none; border-top: 1px solid var(--byc-border); margin: 26px 0; }

/* 投票 (byc 按钮 + 上浮动效) */
.help-vote { text-align: center; padding: 32px 0 10px; margin-top: 36px; border-top: 1px solid var(--byc-border); }
.help-vote-q { font-size: 15px; font-weight: 500; color: var(--byc-text); margin-bottom: 18px; }
.help-vote-btns { display: flex; align-items: center; justify-content: center; gap: 16px; }
.help-vote-btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 10px 24px;
  background: #fff; border: 1px solid var(--byc-border); border-radius: var(--byc-r-md);
  font-size: 14px; color: var(--byc-text-sec); cursor: pointer; transition: var(--byc-trans); font-family: inherit;
}
.help-vote-btn svg { width: 16px; height: 16px; }
.help-vote-btn:hover { border-color: var(--byc-primary); color: var(--byc-primary); transform: translateY(-2px); box-shadow: var(--byc-sd-sm); }
.help-vote-btn.voted { background: var(--byc-primary-50); border-color: var(--byc-primary); color: var(--byc-primary); }

/* 相关文章 */
.help-related { margin-top: 10px; padding-top: 26px; border-top: 1px solid var(--byc-border); }
.help-related-title { font-size: 17px; font-weight: 700; color: var(--byc-text); margin-bottom: 12px; }
.help-related-list li { border-bottom: 1px dashed var(--byc-border); }
.help-related-list li:last-child { border-bottom: none; }
.help-related-list li a {
  display: flex; align-items: center; gap: 8px; padding: 12px 4px;
  font-size: 14px; color: var(--byc-text-sec); transition: var(--byc-trans);
}
.help-related-list li a::before { content: '\203A'; color: var(--byc-text-mut); font-size: 15px; }
.help-related-list li a:hover { color: var(--byc-primary); padding-left: 8px; }

/* 搜索结果 (byc 卡片 + 列表) */
.byc-help-hero.is-search { padding: 130px 0 56px; }
.help-search-main {
  background: #fff; border: 1px solid var(--byc-border); border-radius: var(--byc-r-xl);
  box-shadow: var(--byc-sd-sm); padding: 6px 28px;
}
.help-search-item { border-bottom: 1px solid var(--byc-border); }
.help-search-item:last-child { border-bottom: none; }
.help-search-item a { display: block; padding: 20px 6px; transition: var(--byc-trans); }
.help-search-item a:hover { padding-left: 12px; }
.hs-title { font-size: 16px; font-weight: 600; color: var(--byc-text); margin-bottom: 8px; transition: var(--byc-trans); }
.help-search-item a:hover .hs-title { color: var(--byc-primary); }
.hs-sum {
  font-size: 14px; color: var(--byc-text-sec); line-height: 1.7; margin-bottom: 10px;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.hs-meta { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--byc-text-mut); }
.hs-cat { color: var(--byc-primary); font-weight: 500; }

/* 新闻列表 (8a 卡片: 标题 + 右上角日期标签 + 摘要; 两栏左分类, 右侧无外层大卡片) */
.news-main { min-width: 0; }
.byc-news-list { display: flex; flex-direction: column; gap: 16px; }
.byc-news-card {
  display: block; background: #fff; border: 1px solid var(--byc-border);
  border-radius: var(--byc-r-lg); padding: 16px 22px; transition: var(--byc-trans);
}
.byc-news-card:hover { border-color: var(--byc-primary-100); box-shadow: var(--byc-sd-md); transform: translateY(-2px); }
.byc-news-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.byc-news-card-title {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px;
  font-size: 17px; font-weight: 600; color: var(--byc-text); line-height: 1.5; transition: color 0.2s;
}
.byc-news-card:hover .byc-news-card-title { color: var(--byc-primary); }
.byc-news-card-date {
  flex-shrink: 0; font-size: 12px; color: var(--byc-primary);
  background: var(--byc-primary-50); padding: 4px 12px; border-radius: var(--byc-r-full); white-space: nowrap;
}
.byc-news-top {
  flex-shrink: 0; display: inline-block; padding: 2px 8px;
  background: var(--byc-grad-accent); color: #fff; font-size: 11px; font-weight: 700; border-radius: var(--byc-r-sm);
}
.byc-news-card-sum {
  font-size: 14px; color: var(--byc-text-sec); line-height: 1.6; margin-bottom: 8px;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.byc-news-card-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--byc-text-mut); flex-wrap: wrap; }
.byc-news-card-meta .sep { color: var(--byc-border-strong); }

/* 新闻左侧分类栏 (复用 help-sidebar 外框, 一级分类平铺 + 计数) */
.news-cat-nav { display: flex; flex-direction: column; gap: 2px; }
.news-cat-nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 14px; border-radius: var(--byc-r-md);
  font-size: 14px; color: var(--byc-text-sec); transition: var(--byc-trans);
}
.news-cat-nav a:hover { color: var(--byc-primary); background: var(--byc-primary-50); }
.news-cat-nav a.active { color: var(--byc-primary); background: var(--byc-primary-50); font-weight: 600; }
.news-cat-nav a em { font-style: normal; font-size: 12px; color: var(--byc-text-mut); }
.news-cat-nav a.active em { color: var(--byc-primary); }

/* 新闻详情: 返回列表 + 本文链接复制 (8a 特征) */
.news-back {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; color: var(--byc-primary); margin-bottom: 16px; transition: var(--byc-trans);
}
.news-back svg { width: 15px; height: 15px; }
.news-back:hover { gap: 8px; }
.news-share {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 28px; padding: 14px 18px;
  background: var(--byc-bg-light); border: 1px solid var(--byc-border); border-radius: var(--byc-r-md);
}
.news-share-label { font-size: 13px; color: var(--byc-text-sec); font-weight: 500; flex-shrink: 0; }
.news-share-url {
  flex: 1; min-width: 200px; height: 36px; padding: 0 12px;
  border: 1px solid var(--byc-border); border-radius: var(--byc-r-sm);
  font-size: 13px; color: var(--byc-text-sec); background: #fff; font-family: inherit;
}
.news-share-btn {
  flex-shrink: 0; height: 36px; padding: 0 20px;
  background: var(--byc-grad-primary); color: #fff; border: 0; border-radius: var(--byc-r-sm);
  font-size: 13px; font-weight: 500; cursor: pointer; font-family: inherit; transition: filter 0.2s;
}
.news-share-btn:hover { filter: brightness(1.08); }

/* 详情页正文基础 (byc-article-content, 帮助与新闻详情共用) */
.byc-article-content {
  font-size: 15px;
  color: var(--byc-text);
  line-height: 1.85;
}
/* 正文排版 (标题/列表/代码/表格/提示块) 统一由上方 .byc-article-content 完整版提供, 帮助与新闻共用 */

/* 上/下一篇导航 */
.byc-article-nav {
  display: flex; justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--byc-border);
  flex-wrap: wrap;
}
.byc-article-nav-item {
  flex: 1; min-width: 240px;
  display: flex; flex-direction: column;
  gap: 6px;
  padding: 14px 18px;
  background: var(--byc-bg-light);
  border-radius: var(--byc-r-md);
  transition: var(--byc-trans);
}
.byc-article-nav-item:hover {
  background: var(--byc-primary-50);
}
.byc-article-nav-item-next { text-align: right; }
.byc-article-nav-label {
  font-size: 12px;
  color: var(--byc-text-mut);
}
.byc-article-nav-item a {
  font-size: 14px; font-weight: 500;
  color: var(--byc-text);
  transition: color 0.2s;
}
.byc-article-nav-item a:hover { color: var(--byc-primary); }
.byc-article-nav-empty {
  font-size: 14px;
  color: var(--byc-text-mut);
}

/* 分页器 */
.byc-page-nav {
  display: flex; justify-content: center; align-items: center;
  gap: 6px;
  margin: 40px 0 0;
  flex-wrap: wrap;
}
.byc-page-btn {
  min-width: 36px; height: 36px;
  padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: var(--byc-text-sec);
  background: #fff;
  border: 1px solid var(--byc-border);
  border-radius: var(--byc-r-md);
  transition: var(--byc-trans);
}
.byc-page-btn:hover {
  color: var(--byc-primary);
  border-color: var(--byc-primary);
  background: var(--byc-primary-50);
}
.byc-page-btn.is-active {
  color: #fff;
  background: var(--byc-grad-primary);
  border-color: transparent;
  font-weight: 600;
}
.byc-page-btn.is-disabled {
  color: var(--byc-text-mut);
  background: var(--byc-bg-light);
  cursor: not-allowed;
}
.byc-page-btn.is-disabled:hover {
  color: var(--byc-text-mut);
  border-color: var(--byc-border);
  background: var(--byc-bg-light);
}
.byc-page-ellipsis {
  padding: 0 8px;
  color: var(--byc-text-mut);
}

/* 空状态 */
.byc-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--byc-text-mut);
  font-size: 14px;
}
.byc-empty::before {
  content: '';
  display: block;
  width: 80px; height: 80px;
  margin: 0 auto 16px;
  background: var(--byc-bg-light) url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%238c92a4' stroke-width='1.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='9' y1='15' x2='15' y2='15'/%3E%3C/svg%3E") center/40px no-repeat;
  border-radius: 50%;
}

/* 单页 (datacenter/trustcenter/support_vip) 卡片网格 */
.dc-grid, .feature-grid-4, .price-table-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.dc-card, .feature-card-block, .price-table-card {
  position: relative;
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(20, 40, 80, .05);
  transition: transform .2s, box-shadow .2s;
}
.dc-card:hover, .feature-card-block:hover, .price-table-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(43, 109, 232, .12);
}
.dc-card h3, .feature-card-block h3, .price-table-name {
  font-size: 17px; font-weight: 600; color: #1a2230; margin: 0 0 14px;
}
.dc-card-flag {
  display: inline-block; font-size: 12px; font-weight: 600;
  color: #2B6DE8; background: #EBF3FF; border-radius: 6px;
  padding: 3px 10px; margin-bottom: 12px;
}
.dc-card-list, .price-table-feats { list-style: none; margin: 0; padding: 0; }
.dc-card-list li, .price-table-feats li {
  position: relative; padding: 6px 0 6px 20px;
  font-size: 14px; color: #5a6478; line-height: 1.5;
}
.dc-card-list li::before, .price-table-feats li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 6px; height: 6px; border-radius: 50%; background: #2B6DE8;
}
.feature-card-icon {
  width: 48px; height: 48px; display: flex;
  align-items: center; justify-content: center;
  background: #EBF3FF; border-radius: 12px; margin-bottom: 16px;
}
.feature-card-icon svg { width: 26px; height: 26px; }
.feature-card-block p { font-size: 14px; color: #5a6478; line-height: 1.6; margin: 0; }
.price-table-card.is-recommend {
  border-color: #2B6DE8; box-shadow: 0 8px 24px rgba(43, 109, 232, .15);
}
.price-table-tag {
  position: absolute; top: -11px; right: 20px;
  background: #2B6DE8; color: #fff; font-size: 12px; font-weight: 600;
  padding: 3px 12px; border-radius: 11px;
}

@media (max-width: 768px) {
  .byc-content-hero { padding: 100px 0 44px; }
  .byc-content-hero-title { font-size: 26px; }
  .byc-article { padding: 24px; }
  .byc-help-cats { gap: 16px; }
}
