/* Help Center - 现代化样式 */
@charset "utf-8";

/* ========== 全局变量 ========== */
:root {
  --help-primary-color: #00bc66;
  --help-primary-hover: #06AD56;
  --help-text-color: #333;
  --help-text-light: #666;
  --help-text-lighter: #999;
  --help-border-color: #e5e5e5;
  --help-bg-color: #fff;
  --help-bg-light: #f5f5f5;
  --help-bg-lighter: #f9f9f9;
  --help-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --help-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.15);
  --help-radius: 8px;
  --help-transition: all 0.3s ease;
}

/* ========== 基础样式 ========== */
.help-wrapper {
  width: 100%;
  min-height: calc(100vh - 100px);
  background-color: var(--help-bg-lighter);
}

.help-container {
  max-width: 1260px;
  padding: 0 30px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* ========== 搜索区域 ========== */
.help-hero {
  width: 100%;
  min-height: 350px;
  background: url(../images/help/top_bg.png) center repeat-x;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  box-sizing: border-box;
}

.help-hero__title {
  font-size: 36px;
  font-weight: bold;
  color: #2c306e;
  margin-bottom: 30px;
  text-align: center;
}

.help-search {
  width: 100%;
  max-width: 710px;
  background: var(--help-bg-color);
  border-radius: var(--help-radius);
  display: flex;
  align-items: center;
  box-shadow: var(--help-shadow);
  overflow: hidden;
  box-sizing: border-box;
}

.help-search__input {
  flex: 1;
  height: 60px;
  padding: 0 20px;
  border: none;
  font-size: 16px;
  outline: none;
  color: var(--help-text-color);
  box-sizing: border-box;
}

.help-search__input::placeholder {
  color: var(--help-text-lighter);
}

.help-search__button {
  width: 60px;
  height: 60px;
  background: url(../helpCenter/search.png) center no-repeat;
  background-size: 24px;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--help-transition);
  box-sizing: border-box;
}

.help-search__button:hover {
  background-color: var(--help-bg-light);
}

/* ========== 常见问题卡片 ========== */
.help-faq {
  padding: 60px 0;
}

.help-faq__title {
  font-size: 26px;
  font-weight: bold;
  color: var(--help-text-color);
  margin-bottom: 30px;
  padding-left: 20px;
}

.help-faq__list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.help-faq__item {
  width: calc(33.333% - 14px);
  min-width: 300px;
  flex: 0 0 calc(33.333% - 14px);
}

.help-faq__card {
  display: flex;
  flex-direction: column;
  min-height: 258px;
  border: 1px solid var(--help-border-color);
  border-radius: var(--help-radius);
  padding: 20px;
  background: var(--help-bg-color);
  transition: var(--help-transition);
  box-sizing: border-box;
}

.help-faq__card:hover {
  border-color: var(--help-primary-color);
  box-shadow: var(--help-shadow);
  transform: translateY(-2px);
}

.help-faq__card-title {
  margin: 0 0 15px 0;
  text-align: center;
}

.help-faq__link {
  color: var(--help-text-light);
  text-decoration: none;
  transition: var(--help-transition);
}

.help-faq__link:hover {
  color: var(--help-primary-color);
}

.help-faq__text {
  font-size: 18px;
  line-height: 1.4;
}

.help-faq__subnav {
  flex: 1;
  overflow: hidden;
}

.help-faq__subnav ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 16px;
}

.help-faq__subnav li {
  margin-bottom: 5px;
  color: var(--help-text-lighter);
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 16px;
}

.help-faq__subnav li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--help-text-lighter);
  font-size: 16px;
  line-height: 1;
}

.help-faq__subnav a {
  color: var(--help-text-lighter);
  text-decoration: none;
  transition: var(--help-transition);
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

.help-faq__subnav a:hover {
  color: var(--help-primary-color);
}

.help-faq__footer {
  text-align: center;
  margin-top: auto;
}

.help-faq__more {
  color: var(--help-primary-color);
  font-weight: bold;
  font-size: 14px;
  text-decoration: none;
  transition: var(--help-transition);
}

.help-faq__more:hover {
  color: var(--help-primary-hover);
}

/* ========== 分类列表 ========== */
.help-category {
  padding: 20px 0;
}

.help-category__title {
  font-size: 22px;
  font-weight: bold;
  color: var(--help-text-color);
  margin-bottom: 14px;
}

.help-category__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0;
  border: 1px solid var(--help-border-color);
  border-right: none;
  border-bottom: none;
  margin-bottom: 25px;
}

.help-category__item {
  display: flex;
  align-items: center;
  padding: 25px 30px 25px 47px;
  border-right: 1px solid var(--help-border-color);
  border-bottom: 1px solid var(--help-border-color);
  background: var(--help-bg-color);
  transition: var(--help-transition);
  box-sizing: border-box;
}

.help-category__item:hover {
  background: var(--help-bg-light);
}

.help-category__item--empty {
  opacity: 0;
  pointer-events: none;
}

.help-category__icon {
  float: left;
  margin-right: 20px;
}

.help-category__text {
  font-size: 18px;
  color: var(--help-text-color);
  text-decoration: none;
  flex: 1;
}

/* ========== 帮助列表页 ========== */
.help-layout {
  display: flex;
  gap: 50px;
  padding: 30px 0;
  min-height: calc(100vh - 200px);
}

.help-sidebar {
  width: 210px;
  flex-shrink: 0;
  box-sizing: border-box;
}

.help-sidebar__title {
  font-size: 38px;
  font-weight: bold;
  color: var(--help-text-color);
  padding-left: 15px;
  margin-bottom: 15px;
}

.help-sidebar__nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.help-sidebar__nav-item {
  position: relative;
  padding-left: 15px;
}

.help-sidebar__nav-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 4px;
  height: 42px;
  background: var(--help-primary-color);
  border-radius: 3px;
  opacity: 0;
  transition: var(--help-transition);
}

.help-sidebar__nav-item:hover::before,
.help-sidebar__nav-item--active::before {
  opacity: 1;
}

.help-sidebar__nav-link {
  display: block;
  font-size: 18px;
  line-height: 52px;
  color: var(--help-text-color);
  text-decoration: none;
  transition: var(--help-transition);
}

.help-sidebar__nav-item:hover .help-sidebar__nav-link,
.help-sidebar__nav-item--active .help-sidebar__nav-link {
  color: var(--help-primary-color);
}

/* ========== 帮助内容区 ========== */
.help-main {
  flex: 1;
  min-width: 0;
  width: 0;
  /* 确保 flex 自适应生效 */
}

.help-main__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  line-height: 28px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--help-border-color);
}

.help-breadcrumb {
  font-size: 14px;
  color: var(--help-text-light);
  display: flex;
  align-items: center;
}

.help-breadcrumb__link {
  color: var(--help-text-light);
  text-decoration: none;
}

.help-breadcrumb__link:hover {
  color: var(--help-primary-color);
}

.help-breadcrumb__separator {
  margin: 0 8px;
  color: var(--help-text-lighter);
}

.help-main__search {
  width: 235px;
  height: 30px;
  border: 1px solid var(--help-border-color);
  border-radius: 4px;
  display: flex;
  overflow: hidden;
  box-sizing: border-box;
}

.help-main__search-input {
  flex: 1;
  height: 30px;
  padding: 0 10px;
  border: none;
  font-size: 13px;
  outline: none;
  box-sizing: border-box;
}

.help-main__search-button {
  width: 70px;
  height: 30px;
  background: var(--help-primary-color);
  color: var(--help-bg-color);
  border: none;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--help-transition);
  box-sizing: border-box;
}

.help-main__search-button:hover {
  background: var(--help-primary-hover);
}

/* ========== 帮助列表项 ========== */
.help-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.help-list__item {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 25px 0;
  border-bottom: 1px solid var(--help-border-color);
  transition: var(--help-transition);
}

.help-list__item:hover {
  background: var(--help-bg-lighter);
  padding-left: 10px;
  padding-right: 10px;
  margin-left: -10px;
  margin-right: -10px;
  border-radius: var(--help-radius);
}

.help-list__content {
  flex: 1;
  min-width: 0;
}

.help-list__title {
  font-size: 22px;
  margin-bottom: 15px;
}

.help-list__title-link {
  color: var(--help-text-color);
  text-decoration: none;
  transition: var(--help-transition);
}

.help-list__title-link:hover {
  color: var(--help-primary-color);
}

.help-list__description {
  color: var(--help-text-light);
  font-size: 13px;
  line-height: 28px;
  max-height: 56px;
  overflow: hidden;
  margin-bottom: 10px;
}

.help-list__meta {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--help-text-lighter);
  font-size: 13px;
}

.help-list__meta-icon {
  color: var(--help-text-light);
  font-size: 14px;
}

.help-list__image {
  width: 245px;
  height: 155px;
  object-fit: cover;
  border-radius: var(--help-radius);
  flex-shrink: 0;
  box-sizing: border-box;
}

/* ========== 帮助详情页 ========== */
.help-detail {
  display: flex;
  gap: 50px;
  min-height: calc(100vh - 200px);
}

.help-detail__sidebar {
  width: 278px;
  flex-shrink: 0;
  padding: 30px 10px 30px 0;
  border-right: 1px solid var(--help-border-color);
  box-sizing: border-box;
  position: relative;
}

/* 手机端侧边栏展开按钮 */
.help-detail__sidebar-toggle {
  display: none;
  position: fixed;
  left: 5px;
  top: 115px;
  width: 32px;
  height: 32px;
  background: var(--help-primary-color);
  color: var(--help-bg-color);
  border: none;
  border-radius: 50%;
  box-shadow: var(--help-shadow);
  cursor: pointer;
  z-index: 999;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: var(--help-transition);
}

.help-detail__sidebar-toggle:hover {
  background: var(--help-primary-hover);
  box-shadow: var(--help-shadow-hover);
}

.help-detail__sidebar-toggle--active {
  left: 290px;
}

/* 遮罩层 */
.help-detail__overlay {
  display: none;
}

.help-detail__menu {
  border: none;
  width: auto;
}

.help-detail__menu-group {
  border: none;
  margin-bottom: 10px;
}

.help-detail__menu-title {
  color: var(--help-text-color);
  font-size: 15px;
  width: 100%;
  height: 40px;
  line-height: 40px;
  padding: 0 17px;
  box-sizing: border-box;
  background: #f1f4f8;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: var(--help-transition);
}

.help-detail__menu-title:hover,
.help-detail__menu-title--active {
  color: var(--help-primary-color);
  background: var(--help-bg-light);
}

.help-detail__menu-title--active .help-detail__menu-icon {
  color: var(--help-primary-color);
}

.help-detail__menu-icon {
  color: #bfc1c4;
  font-size: 15px;
  margin-right: 5px;
  transition: var(--help-transition);
}

.help-detail__menu-content {
  border: none;
  padding: 10px 10px 10px 20px;
  display: none;
}

.help-detail__menu-content--active {
  display: block;
}

.help-detail__menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.help-detail__menu-item {
  font-size: 15px;
  width: 100%;
  line-height: 32px;
}

.help-detail__menu-link {
  width: 100%;
  font-size: 15px;
  height: 32px;
  line-height: 32px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  display: block;
  color: var(--help-text-color);
  text-decoration: none;
  transition: var(--help-transition);
  box-sizing: border-box;
}

.help-detail__menu-link:hover,
.help-detail__menu-link--active {
  color: var(--help-primary-color);
}

.help-detail__content {
  flex: 1;
  min-width: 0;
  width: 0;
  /* 确保 flex 自适应生效 */
  padding: 20px 0;
  box-sizing: border-box;
}

.help-detail__header {
  border-bottom: 1px solid var(--help-border-color);
  font-size: 14px;
  padding-left: 10px;
  padding-bottom: 10px;
  line-height: 28px;
  font-weight: 400;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.help-detail__breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
}

.help-detail__breadcrumb-icon {
  display: flex;
  font-size: 20px;
  width: 30px;
  height: 30px;
  border: 1px solid #DDD !important;
  border-radius: 100%;
  align-items: center;
  box-sizing: border-box;
  justify-content: center;
}

.help-detail__breadcrumb-link {
  color: var(--help-text-color);
  text-decoration: none;
  transition: var(--help-transition);
}

.help-detail__breadcrumb-link:hover {
  color: var(--help-primary-color);
}

.help-detail__breadcrumb-separator {
  padding: 0 10px;
  font-family: Sim sun;
  color: var(--help-text-lighter);
}

.help-detail__time {
  float: right;
  color: var(--help-text-lighter);
  font-size: 14px;
}

.help-detail__time-icon {
  margin-right: 5px;
}

.help-detail__article {
  padding: 30px 0;
  font-size: 16px;
  line-height: 28px;
  color: var(--help-text-color);
  box-sizing: border-box;
}

.help-detail__article-title {
  font-size: 24px;
  padding: 10px 0;
  text-align: center;
  margin-bottom: 20px;
}

.help-detail__article-date {
  font-size: 16px;
  padding: 10px 0;
  text-align: center;
  color: var(--help-text-lighter);
  margin-bottom: 30px;
}

.help-detail__article-content {
  word-wrap: break-word;
  word-break: break-all;
}

.help-detail__article-content img {
  max-width: 100% !important;
  height: auto !important;
  border: 1px solid rgb(151, 152, 153);
  padding: 2px;
  box-sizing: border-box;
  border-radius: 4px;
}

.help-detail__article-content table {
  width: 100%;
  border-collapse: collapse;
}

.help-detail__article-content table tr td {
  padding: 5px 10px !important;
  border: 1px solid #DDD !important;
}

.help-detail__article-content a {
  color: var(--help-primary-color);
  text-decoration: none;
}

.help-detail__article-content a:hover {
  text-decoration: underline;
}

.help-detail__navigation {
  display: flex;
  height: 30px;
  background-color: var(--help-bg-light);
  line-height: 30px;
  font-size: 15px;
  margin-top: 20px;
  border-radius: var(--help-radius);
  overflow: hidden;
  padding: 8px 0;
}

.help-detail__nav-item {
  padding-left: 20px;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.help-detail__nav-link {
  color: var(--help-text-color);
  text-decoration: none;
  transition: var(--help-transition);
}

.help-detail__nav-link:hover {
  color: var(--help-primary-color);
}

/* ========== 浮动侧边栏 ========== */
.help-float-sidebar {
  width: 245px;
  position: absolute;
  right: 10px;
  top: 110px;
  box-sizing: border-box;
}

.help-float-sidebar__box {
  width: 100%;
  background: var(--help-bg-color);
  box-shadow: var(--help-shadow);
  padding: 10px 0;
  margin-bottom: 10px;
  border-radius: var(--help-radius);
}

.help-float-sidebar__header {
  width: 100%;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.help-float-sidebar__title {
  color: var(--help-primary-color);
  font-size: 15px;
  position: relative;
  padding-left: 15px;
}

.help-float-sidebar__title::before {
  content: '';
  width: 6px;
  height: 20px;
  background: var(--help-primary-color);
  position: absolute;
  left: 0;
  top: 0;
}

.help-float-sidebar__more {
  color: var(--help-text-light);
  font-size: 13px;
  text-decoration: none;
  transition: var(--help-transition);
}

.help-float-sidebar__more:hover {
  color: var(--help-primary-color);
}

.help-float-sidebar__list {
  width: 100%;
  margin-top: 10px;
  list-style: none;
  padding: 0;
}

.help-float-sidebar__list-item {
  width: 100%;
  padding: 0 15px;
  display: flex;
  box-sizing: border-box;
}

.help-float-sidebar__list-link {
  color: var(--help-text-color);
  font-size: 13px;
  width: 100%;
  height: 30px;
  line-height: 30px;
  padding-left: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  text-decoration: none;
  transition: var(--help-transition);
  box-sizing: border-box;
}

.help-float-sidebar__list-link:hover {
  color: var(--help-primary-color);
}

.help-float-sidebar__list-link::after {
  content: '';
  width: 6px;
  height: 6px;
  background: #ebebeb;
  border-radius: 6px;
  position: absolute;
  left: 0;
  top: 12px;
}

.help-float-sidebar__image-list {
  width: 100%;
  padding: 0 15px;
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  list-style: none;
  gap: 5px;
  box-sizing: border-box;
}

.help-float-sidebar__image-item {
  width: 100px;
  display: flex;
  flex-direction: column;
}

.help-float-sidebar__image-link {
  color: var(--help-text-color);
  text-decoration: none;
}

.help-float-sidebar__image {
  width: 100px;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

.help-float-sidebar__image-text {
  text-align: center;
  width: 100%;
  height: 30px;
  line-height: 30px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  color: var(--help-text-light);
}

/* ========== 搜索结果页 ========== */
.help-search-results {
  padding: 60px 0 20px;
}

.help-search-results__wrap {
  border: 1px solid #ededf0;
  border-radius: var(--help-radius);
  background: var(--help-bg-color);
  box-sizing: border-box;
}

.help-search-results__header {
  padding: 25px 30px;
  border-bottom: 1px solid #ededf0;
  font-size: 18px;
  color: var(--help-text-color);
  box-sizing: border-box;
}

.help-search-results__header-link {
  color: var(--help-primary-color);
  text-decoration: none;
}

.help-search-results__header-link:hover {
  text-decoration: underline;
}

.help-search-results__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.help-search-results__item {
  display: block;
  padding: 0 30px;
  margin: 25px 0;
  color: var(--help-text-color);
  font-size: 16px;
  text-decoration: none;
  transition: var(--help-transition);
  box-sizing: border-box;
}

.help-search-results__item:hover {
  color: var(--help-primary-color);
  padding-left: 35px;
}

.help-search-results__empty {
  text-align: center;
  padding: 40px 20px;
  font-size: 16px;
  color: var(--help-text-lighter);
}

/* ========== 分页 ========== */
.help-pagination {
  margin-top: 40px;
  text-align: center;
}

.help-pagination .float-page {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.help-pagination .float-page a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  color: var(--help-text-color);
  text-decoration: none;
  border: 1px solid var(--help-border-color);
  border-radius: 4px;
  background: var(--help-bg-color);
  transition: var(--help-transition);
  font-size: 14px;
  box-sizing: border-box;
}

.help-pagination .float-page a:hover {
  color: var(--help-primary-color);
  border-color: var(--help-primary-color);
  background: var(--help-bg-lighter);
}

.help-pagination .float-page a.active {
  color: var(--help-bg-color);
  background: var(--help-primary-color);
  border-color: var(--help-primary-color);
  cursor: default;
}

.help-pagination .float-page a.active:hover {
  color: var(--help-bg-color);
  background: var(--help-primary-color);
  border-color: var(--help-primary-color);
}

.help-pagination .float-page i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  color: var(--help-text-lighter);
  font-style: normal;
  font-size: 14px;
}

/* ========== 响应式设计 ========== */
@media (max-width: 1767px) {
  .help-float-sidebar {
    display: none;
  }
}

@media (max-width: 1200px) {

  .help-container {
    padding: 0;
  }

  .help-faq {
    padding: 40px 20px;
  }

  .help-layout {
    padding: 20px;
  }

  .help-search-results {
    padding: 40px 20px;
  }



  .help-layout {
    gap: 30px;
  }

  /* help-detail 在小于 1200px 时保持横向布局，侧边栏固定宽度，内容区自适应 */
  .help-detail {
    gap: 30px;
  }

  .help-detail__sidebar {
    width: 278px;
    flex-shrink: 0;
    padding: 20px 10px 20px 20px;
  }

  .help-detail__content {
    flex: 1;
    min-width: 0;
    width: 0;
    /* 确保 flex 自适应生效 */
    padding-right: 20px;
  }

  /* 宽度较小时，搜索框独立成一行 */
  .help-detail__header {
    align-items: flex-start;
    gap: 15px;
  }

  .help-detail__breadcrumb {
    flex-wrap: wrap;
  }

  .help-main__search {
    flex-grow: 1;
  }

  .help-detail__article {
    padding-left: 20px;
  }

  .help-float-sidebar {
    display: none;
  }

  .help-faq__item {
    width: calc(50% - 10px);
    min-width: 300px;
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  .help-detail {
    gap: 10px;
  }

  .help-hero {
    min-height: 280px;
    padding: 30px 15px;
  }


  .help-hero__title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .help-search {
    max-width: 100%;
  }

  .help-faq__item {
    width: 100%;
    flex: 1;
  }

  .help-category__grid {
    grid-template-columns: 1fr;
  }

  .help-list__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .help-list__image {
    width: 100%;
    height: auto;
  }

  .help-main__header {
    align-items: flex-start;
    gap: 15px;
  }

  .help-main__search {
    margin-left: 0;
  }

  /* 手机端分页样式 */
  .help-pagination .float-page {
    gap: 6px;
  }

  .help-pagination .float-page a {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    font-size: 13px;
  }

  .help-pagination .float-page i {
    min-width: 32px;
    height: 32px;
    font-size: 13px;
  }

  /* 手机端 help-sidebar 横向滚动 */
  .help-sidebar {
    width: 100%;
    padding-top: 0;
    padding-bottom: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .help-sidebar__title {
    font-size: 24px;
    padding-left: 15px;
    margin-bottom: 10px;
    white-space: nowrap;
  }

  .help-sidebar__nav {
    display: flex;
    flex-direction: row;
    gap: 0;
    padding: 0 15px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--help-border-color) transparent;
    box-sizing: border-box;
  }

  .help-sidebar__nav::-webkit-scrollbar {
    height: 4px;
  }

  .help-sidebar__nav::-webkit-scrollbar-track {
    background: transparent;
  }

  .help-sidebar__nav::-webkit-scrollbar-thumb {
    background: var(--help-border-color);
    border-radius: 2px;
  }

  .help-sidebar__nav-item {
    flex-shrink: 0;
    padding-left: 0;
    padding-right: 10px;
    position: relative;
  }

  .help-sidebar__nav-item:last-child {
    padding-right: 0;
  }

  .help-sidebar__nav-item::before {
    display: none;
    /* 手机端隐藏左侧指示条 */
  }

  .help-sidebar__nav-item--active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 10px;
    height: 2px;
    background: var(--help-primary-color);
    border-radius: 1px;
  }

  .help-sidebar__nav-link {
    display: block;
    font-size: 16px;
    line-height: 40px;
    white-space: nowrap;
    padding: 0 8px;
  }

  .help-layout {
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
  }

  .help-sidebar {
    width: 100%;
    flex-shrink: 1;
  }

  .help-main {
    width: 100%;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 20px;
    box-sizing: border-box;
  }

  /* 手机端 help-detail 侧边栏隐藏和展开 */
  .help-detail {
    position: relative;
  }

  .help-detail__sidebar-toggle {
    display: flex;
    opacity: 0.3;
  }

  .help-detail__sidebar-toggle--active {
    display: none;
  }

  .help-detail__sidebar {
    position: fixed;
    left: -278px;
    top: 80px;
    bottom: 0;
    width: 278px;
    background: var(--help-bg-color);
    z-index: 998;
    overflow-y: auto;
    transition: left 0.3s ease;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
  }

  .help-detail__sidebar--show {
    left: 0;
  }

  .help-detail__sidebar--show+.help-detail__content {
    margin-left: 0;
  }

  .help-detail__header {
    padding-left: 0;
  }

  .help-detail__content {
    width: 100% !important;
    padding: 20px;
  }

  .help-detail__article {
    padding-left: 0;
  }

  /* 遮罩层 */
  .help-detail__overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 997;
  }

  .help-detail__overlay--show {
    display: block;
  }
}