:root {
  --theme-color: #0FD597;
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  width: 100%;
  min-height: 100vh;
  overflow: auto;
}
#help-app{
  font-size: 0.785rem;
}
.help-header{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 2.875rem;
  background-color: #fff;
  font-size: 1rem;
}
.help-header-logo{
  width: auto;
  height: 1.375rem;
  margin-right: 1rem;
}
.help-header-main{
  width: 100%;
  display: flex;
  justify-content: left;
  padding: 0 1rem; /* 可选：添加一些左右内边距 */
}

.help-content{
  width: 100%;
  padding: 1rem 1.2rem;
}
.help-nav{
  width: 100%;
}
.help-nav{
  width: 100%;
  display: flex;
  justify-content: left;
  align-items: center;
}
.help-nav-item{
  height: 2rem;
  background: #F7F7F9;
  border-radius: 6.25rem;
  padding: 0 1.1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #222;
  cursor: pointer;
  font-size: 0.8rem;
  margin-left: 1rem;
  transition: all 0.3s ease;
}
.help-nav-item.active{
  background-color: var(--theme-color);
  color: #fff;
}
.help-nav-item:first-child{
  margin: 0;
}
.help-main{
  width: 100%;
  border-bottom: 1px solid #F7F7F9;
  margin-top: 0.6rem;
}
.help-main-nav-wrap{
}
.help-main-nav-scroll{
  width: 100%;
  white-space: nowrap;
  overflow-x: scroll;
  /* 隐藏默认滚动条（可选） */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}
.help-nav-btn{
  display: none;
}
.help-main-nav{
  float: left;
  /* display: flex;
  align-items: center;
  flex-wrap: nowrap;  */
  /* 防止换行 */
  font-size: 0.9rem;
  transition: all 0.3s;
  height: 2.1rem;
}
.help-main-nav > div{
  height: 2rem;
  line-height: 2rem;
  position: relative;
  display: inline-block;
  cursor: pointer;
  margin-left: 1rem;
  flex-shrink: 0; /* 防止收缩 */
}
.help-main-nav > div:first-child{
  margin-left: 0;
}
.help-main-nav .active{
  color: var(--theme-color);
}
.help-main-nav .active::before{
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--theme-color);
}
.help-main-content{
  margin-top: 1rem;
  padding: 0.5rem  0;
  font-size: .75rem
}
.help-main-html, .help-main-text, .help-main-list-item-title{
  margin-bottom: 6px;
}
.help-main-img{
  width: 100%;
  margin-bottom: 6px;
}
.help-main-title{
  font-size: 0.875rem;
  font-weight: bold;
  margin-bottom: 10px;
}

@media only screen and (min-width: 960px) {
  #help-app{
    font-size: 14px;
  }
  .help-header{
    font-size: 16px;
    height: 80px;
  }
  .help-header-main{
    width: 1200px;
  }
  .help-header-logo{
    height: 25px;
  }
  .help-content{
    width: 1080px;
    margin: 0 auto;
  }
  .help-main-nav{
    font-size: 16px;
  }
  .help-main-content{
    font-size: 14px
  }

  .help-main-list{
    display: flex;
  }
  .help-main-list-item{
    margin-left: 1rem;
    flex: 1;
  }
  .help-main-list-item:first-child{
    margin-left: 0;
  }
  .help-main-nav-wrap{
    position: relative;
    padding: 0 32px;
  }
  .help-main-nav-scroll{
    overflow: hidden;
  }
  .help-nav-btn{
    display: unset;
    position: absolute;
    width: 32px;
    height: 42px;
    z-index: 20;
    cursor: pointer;
  }
  .help-nav-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
  }
  .help-nav-prev{
    top: 0;
    left: 0;
  }
  .help-nav-next{
    top: 0;
    right: 0;
  }
  .help-nav-btn::before {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-top: 1px solid #aaa;
    border-right: 1px solid #aaa;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
  }
  .help-nav-prev::before{
    transform: translate(-33%, -50%) rotate(-135deg);
  }
}

@media (max-width: 959px) {
  .help-main-img{
    width: 100% !important;
  }
}