.duck-hide {
  display: none !important;
}


.duck-scrollbar {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  position: relative;
  overflow-y: auto;
  height: auto;
  background-color: #fef7ef;
}


.duck-scrollbar::-webkit-scrollbar {
  width: 5PX;
  height: 10PX;
}

.duck-scrollbar::-webkit-scrollbar-track-piece {
  background-color: #fafafa;
  border-radius: 0;
  /*滚动条的圆角宽度*/
}

.duck-scrollbar::-webkit-scrollbar-thumb:vertical {
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 5PX;
}

* {
  -webkit-tap-highlight-color: transparent;
}

.duck-oy-auto {
  overflow-y: auto;
}

.duck-sticky {
  position: sticky;
  top: 0;
  background-color: #fff;
  z-index: 10000;
}

.duck-list-pd {
  padding: 10px;
}


.duck-mb-0 {
  margin-bottom: 0 !important;
}

.duck-flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.duck-scrollbar .menu {
  width: 48px;
  height: 48px;
  margin-left: 16px;
  display: block;
}

.duck-scrollbar .mask {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.duck-scrollbar .accordion {
  position: absolute;
  top: 80px;
  right: 20px;
  display: none;
  /* 初始状态下隐藏 */
  padding: 0 20px;
  border-radius: 10px;
  border: solid 1px #f3f3f3;
  background-color: #fff;
  min-width: 375px;
  box-sizing: border-box;
}


.duck-scrollbar .accordion-header {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: solid 1px #f3f3f3;
  cursor: pointer;
  transition: background-color 0.3s;
  font-size: 16px;
  color: #000;
}

.duck-scrollbar .accordion-header a {
  color: #000;
}

.duck-scrollbar .accordion-header:hover {
  background-color: #ddecff;
}

.duck-scrollbar .accordion-content {
  display: none;
  /* 初始状态下隐藏 */
  padding: 0 0 0 16px;
  background-color: #f8fbff;
}

.duck-scrollbar .accordion-content.show {
  display: block;
}

.duck-scrollbar .accordion-content a {
  height: 16px;
  margin: 12px 0 25px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.8);
  text-decoration: underline;
  display: block;
}

.duck-scrollbar .accordion-content a:last-child {
  margin-bottom: 0;
  padding-bottom: 12px;
  border-bottom: solid 1px #f3f3f3;
}

.duck-scrollbar .accordion-header img {
  width: 24px;
  height: 24px;
  display: block;
  transition: transform 0.3s;
}

.duck-scrollbar .accordion-header.expanded img {
  transform: rotate(90deg);
}

@media only screen and (min-width: 1025px) {
  .duck-header {
    width: 100%;
    height: 80px;
    box-sizing: border-box;
    padding: 0 40px;
    box-shadow: 0 -3px 0 0 rgba(0, 0, 0, 0.05);
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .duck-header .logo {
    max-width: 600px;
    min-width: 400px;
    display: block;
    height: 100%;
    object-fit: contain;
  }

  .duck-header .login-btn {
    width: 120px;
    height: 48px;
    text-align: center;
    line-height: 48px;
    box-sizing: border-box;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    background-color: #ef8632;
    color: #fff;
    box-sizing: border-box;
    cursor: pointer;
    text-decoration: none;
    margin-left: 16px;
  }

  .duck-main-container {
    position: relative;
    min-height: calc(100vh - 80px - 88px);
    overflow: hidden;
  }

  .duck-title {
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 40px;
  }

  .duck-top-nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 40px;
    box-shadow: 0 3px 0 0 rgba(0, 0, 0, 0.05);
    background-color: #ddecff;
    height: 100px;
    box-sizing: border-box;
    margin-bottom: 40px;
  }

  .duck-navs {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
  }

  .duck-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 20px;
    font-size: 22px;
    font-weight: 500;
    transition: .2s all linear;
    border-radius: 25px;
    background-color: transparent;
    margin-right: 40px;
    cursor: pointer;
    white-space: nowrap;
  }

  .duck-nav.active .duck-with-nav-1 {
    display: block;
  }


  .accordion-header a {
    color: inherit;
    text-decoration: none;
  }

  .duck-nav.active {
    background-color: #fff;
  }

  .duck-nav .icon {
    width: 24px;
    height: 24px;
    margin-left: 8px;
    transition: .2s all linear;
  }

  .duck-sub-nav-top.active {
    background-color: #efefef;
  }

  .duck-sub-nav-top .icon.rotate {
    transform: rotate(-90deg);
  }


  .duck-with-nav-trigger {
    position: relative
  }

  .duck-with-pc-content {
    position: absolute;
  }

  .duck-with-nav-1 {
    top: 60px;
    left: 0;
    /* width: 345px; */
    padding: 20px;
    border-radius: 12px;
    box-sizing: border-box;
    border: solid 1px #e2e2e2;
    background-color: #fff;
    display: none;
  }

  .duck-with-nav-2 {
    display: none !important;
  }

  .duck-with-nav-trigger {
    position: relative;
  }


  .duck-sub-nav-1 {
    width: 100%;
    height: 50px;
    font-size: 22px;
    font-weight: 500;
    line-height: 50px;
    margin-bottom: 16px;
    border-radius: 10px;
    display: block;
    box-sizing: border-box;
    padding-left: 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .duck-sub-nav-1.active+.duck-with-pc-content2 {
    display: block;
  }

  .duck-sub-nav-1.active .icon {
    transform: rotate(-90deg);
  }

  .duck-with-pc-content2 {
    display: none;
    position: absolute;
    left: calc(100% + 40px);
    top: 0;
    width: 220px;
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    border: solid 1px #e2e2e2;
  }

  .duck-last-nav {
    opacity: 0.6;
    font-size: 22px;
    font-weight: 500;
    height: 40px;
    line-height: 40px;
    display: block;
    margin-bottom: 16px;
  }

  .duck-last-nav:last-child {
    margin-bottom: 0;
  }

  .duck-sub-nav-1:last-child {
    margin-bottom: 0;
  }

  .duck-sub-nav-1:hover {
    background-color: #efefef;
  }

  .duck-sub-nav-1.active {
    background-color: #efefef;
  }

  .duck-online-num {
    font-size: 24px;
    font-weight: 900;
    color: #5a9df8;
    padding-left: 20px;
  }

  .duck-card {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 6px;
    box-shadow: inset 0 0 15px 1px rgba(0, 0, 0, 0.25);
    border: solid 1.2px #fff;
    padding: 80px 80px 60px 80px;
    box-sizing: border-box;
    background-color: #fff;
    margin-bottom: 80px;
    font-size: 18px;
    color: rgba(0, 0, 0, 0.7);
  }

  .duck-card-white {
    padding: 80px;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 30px;
    border: solid 1.2px #fff;
    box-sizing: border-box;
    background-color: #fff;
    margin-bottom: 80px;
    font-size: 18px;
    color: rgba(0, 0, 0, 0.7);
  }

  .duck-card-sub-title {
    font-size: 30px;
    font-weight: bold;
    padding: 20px 0;
    color: #000;
  }

  .duck-about-banner {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
  }

  .duck-start-video-chat {
    width: 335px;
    height: 72px;
    border-radius: 6px;
    background: linear-gradient(to bottom, #89bbf9, #3e87f7 100%), linear-gradient(to bottom, #90b4e3, #3570d6);
    margin: 0 auto 20px;
    position: relative;
    cursor: pointer;
  }

  .duck-start-video-chat.ome {
    margin-bottom: 80px;
  }

  .duck-start-video-chat-btn {
    text-decoration: none;
    width: 100%;
    height: auto;
    display: block;
    height: 72PX;
    line-height: 72PX;
    font-size: 24PX;
    font-weight: bold;
    text-align: center;
    color: #fff;
  }

  .duck-start-video-chat-tip {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    animation: duck-go 1s linear infinite;
  }

  .duck-footer {
    width: 100%;
    text-align: center;
    color: #000;
    background-color: rgba(0, 0, 0, 0.06);
    height: 88px;
    box-sizing: border-box;
    padding: 16px 0;
    /* 可选，添加一些填充以增加可读性 */
    display: flex;
    justify-content: center;
    align-items: center;
  }
}


/* 移动端样式 */
@media only screen and (max-width: 1024px) {
  .duck-header {
    width: 100%;
    height: 60px;
    box-sizing: border-box;
    padding: 12px 16px;
    box-shadow: 0 -3px 0 0 rgba(0, 0, 0, 0.05);
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .duck-scrollbar .mask {
    opacity: 0.6;
    background-color: #000;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
  }

  .duck-scrollbar .accordion {
    position: absolute;
    top: 60px;
    right: 0px;
    display: none;
    /* 初始状态下隐藏 */
    padding: 0 20px;
    border-radius: 0 0 10px 10px;
    border: solid 1px #f3f3f3;
    background-color: #fff;
    width: 100%;
    box-sizing: border-box;
    min-width: auto;
  }

  .duck-header .logo {
    width: 130px;
    display: block;
    height: 100%;
    object-fit: contain;
  }

  .duck-header .login-btn {
    width: 120px;
    height: 42px;
    text-align: center;
    line-height: 42px;
    box-sizing: border-box;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    background-color: #ef8632;
    color: #fff;
    box-sizing: border-box;
    cursor: pointer;
    text-decoration: none;
  }

  .duck-main-container {
    position: relative;
    min-height: calc(100vh - 60px - 80px);
    overflow: hidden;
  }

  .duck-title {
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    font-size: 24px;
    font-weight: bold;
  }

  .duck-top-nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 3px 0 0 rgba(0, 0, 0, 0.05);
    background-color: #ddecff;
    height: 60px;
    box-sizing: border-box;
    margin-bottom: 20px;
    overflow-x: auto;
  }

  .duck-navs {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .duck-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    font-size: 16px;
    font-weight: 500;
    transition: .2s all linear;
    border-radius: 12px;
    background-color: transparent;
    margin-right: 20px;
    cursor: pointer;
    white-space: nowrap;
  }

  .duck-nav.active {
    background-color: #fff;
  }

  .duck-nav.active .duck-with-nav-1 {
    display: block;
  }

  .accordion-header a {
    color: inherit;
    text-decoration: none;
  }

  .duck-nav .icon,
  .duck-with-nav-2 .icon {
    width: 24px;
    height: 24px;
    margin-left: 8px;
    transition: .2s all linear;
  }

  .duck-nav .icon.rotate {
    transform: rotate(-90deg);
  }

  .duck-with-nav-2 .icon {
    transform: rotate(270deg);
  }

  .duck-with-nav-trigger {
    position: relative
  }

  .duck-with-nav-1 {
    display: none !important;
  }

  .duck-with-nav-2 {
    width: 100%;
    position: absolute;
    left: 0;
    top: 120px;
    height: calc(100vh - 120px - 100px);
    background-color: #fff;
    z-index: 100;
    padding-top: 20px;
  }

  .duck-with-nav-trigger {
    position: relative;
  }


  .duck-sub-nav-1 {
    width: 240px;
    height: 50px;
    font-size: 16px;
    font-weight: 500;
    line-height: 50px;
    padding-left: 20px;
    border-radius: 10px;
    display: block;
    box-sizing: border-box;
    padding-left: 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 10px;
  }

  .duck-sub-nav-1 .icon.rotate {
    transform: rotate(360deg);
  }


  .duck-with-pc-content2 {
    position: relative;
    padding-bottom: 10px;
  }

  .duck-last-nav {
    font-size: 16px;
    font-weight: 500;
    height: 30px;
    line-height: 30px;
    display: block;
    margin-bottom: 12px;
    color: rgba(0, 0, 0, 0.6);
    text-decoration: underline;
    padding-left: 40px;
  }

  .duck-last-nav:last-child {
    margin-bottom: 0;
  }

  .duck-sub-nav-1.active {
    background-color: #efefef;
  }

  .duck-sub-nav-1.active+.duck-with-pc-content2 {
    display: block !important;
  }

  .duck-online-num {
    display: none;
  }


  .duck-card {
    width: 92%;
    margin: 0 auto;
    border-radius: 6px;
    box-shadow: inset 0 0 15px 1px rgba(0, 0, 0, 0.25);
    border: solid 1.2px #fff;
    padding: 24px 20px 20px 20px;
    box-sizing: border-box;
    background-color: #fff;
    margin-bottom: 40px;
    color: rgba(0, 0, 0, 0.7);
  }

  .duck-card-white {
    width: 92%;
    margin: 0 auto;
    border-radius: 24px;
    border: solid 1.2px #fff;
    box-sizing: border-box;
    padding: 20px;
    background-color: #fff;
    margin-bottom: 40px;
    font-size: 18px;
    color: rgba(0, 0, 0, 0.7);
  }

  .duck-card-sub-title {
    font-size: 18px;
    font-weight: bold;
    padding: 10px 0;
    color: #000;
  }

  .duck-about-banner {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
  }


  .duck-start-video-chat {
    margin: 0 auto 20px;
    position: relative;
    height: 72px;
    border-radius: 6px;
    background: linear-gradient(to bottom, #89bbf9, #3e87f7 100%), linear-gradient(to bottom, #90b4e3, #3570d6);
  }

  .duck-start-video-chat.ome {
    margin-bottom: 40px;
  }

  .duck-start-video-chat.with-card {
    width: 90%;
  }

  .duck-start-video-chat-btn {
    text-decoration: none;
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    height: 72px;
    line-height: 72px;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    color: #fff;
  }

  .duck-start-video-chat-tip {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    animation: duck-go 1s linear infinite;
  }

  .duck-footer {
    width: 100%;
    text-align: center;
    color: #000;
    background-color: rgba(0, 0, 0, 0.06);
    height: 88px;
    box-sizing: border-box;
    padding: 16px 0;
    /* 可选，添加一些填充以增加可读性 */
    display: flex;
    justify-content: center;
    align-items: center;
  }


  .duck-footer {
    text-align: center;
    bottom: 0;
    /* 将元素固定在底部 */
    width: 100%;
    background-color: rgba(0, 0, 0, 0.06);
    padding: 32px 0;
    /* 可选，添加一些填充以增加可读性 */
    font-size: 12px;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}



@keyframes duck-go {
  0% {
    left: 0;
  }

  100% {
    left: 100%;
  }
}