/* 独有部分 加-wap*/
@media screen and (max-width: 980px) {

  /* 常用部分 */
  #cbcn-dom-container {
    font-size: 20px !important;
    font-size: 5.333333333333334vw !important;
    text-size-adjust: none !important;
    -webkit-text-size-adjust: none !important;
    /* 禁止字体缩放 */
    -moz-text-size-adjust: none !important;
    -webkit-tap-highlight-color: transparent;
    /* 禁用点击高亮 */
  }

  .cbcn-wap-fix {
    height: 100vh;
    overflow: hidden;
    box-sizing: border-box;
  }

  .cbcn-wap-ct {
    text-align: center;
  }

  .cbcn-oneVideoPlay canvas{
    width: 100%;
    height: 100%;
  }

  /* 盒子布局 */
  .cbcn-wap-flexRow {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .cbcn-wap-flexCol {
    display: flex !important;
    flex-direction: column;
  }

  .cbcn-wap-noWrap {
    text-wrap: nowrap;
    white-space: nowrap;
  }

  /* 背景渐变 */
  .cbcn-wap-bgColor-bk {
    background: linear-gradient(180deg, #000 91.72%, #0d0d0d 100%);
  }

  /* 居中 */
  .cbcn-wap-allCenter {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .cbcn-wap-colCenter {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .cbcn-wap-rowCenter1 {
    display: block;
    margin-left: auto;
    margin-right: auto;
    position: relative;
  }

  .cbcn-title.cbcn-wap-rowCenter1 {
    display: flex;
  }

  .cbcn-wap-rowCenter2 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .cbcn-wap-colCenter.lt {
    left: 0;
  }

  .cbcn-wap-colCenter.rt {
    right: 0;
  }

  /* 视频播放 */
  .cbcn-video-playDiv {
    display: none;
  }

  .cbcn-video-playDiv-wrapper {
    height: 100%;
    width: 100%;
    position: relative;
  }

  .cbcn-video-playDiv-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .cbcn-wap-videoControl {
    width: 2em;
    height: 2em;
    position: relative;
    background-image: url("../img/wap/videoControl-rePlay.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: 50;
    cursor: pointer;
  }

  .cbcn-wap-videoControl.play {
    background-image: url("../img/wap/videoControl-play.svg");
  }

  .cbcn-wap-videoControl.pause {
    background-image: url("../img/wap/videoControl-pause.svg");
  }

  .cbcn-wap-videoControl.bk {
    background-image: url("../img/wap/videoControl-rePlay-b.svg");
  }

  .cbcn-wap-videoControl.bk.play {
    background-image: url("../img/wap/videoControl-play-b.svg");
  }

  .cbcn-wap-videoControl.bk.pause {
    background-image: url("../img/wap/videoControl-pause-b.svg");
  }

  /* 安全距离 */
  .cbcn-wap-safeCol {
    padding: 4em 0;
  }

  .cbcn-wap-safeTop {
    padding-top: 4em;
  }

  .cbcn-wap-safeBottom {
    padding-bottom: 4em;
  }

  .cbcn-wap-safeCol2 {
    padding: 5em 0;
  }

  .cbcn-wap-safeTop2 {
    padding-top: 5em;
  }

  .cbcn-wap-safeBottom2 {
    padding-bottom: 5em;
  }

  .cbcn-wap-safeCol3 {
    padding: 7em 0;
  }

  .cbcn-wap-safeTop3 {
    padding-top: 7em;
  }

  .cbcn-wap-safeBottom3 {
    padding-bottom: 7em;
  }

  .cbcn-wap-safeRow {
    width: 100%;
    padding: 0 1em;
  }

  /* 视频播放 */
  .cbcn-wap-videoBtnList {
    gap: 0.5em;
  }

  .cbcn-wap-videoBtn-box {
    padding: 0 1em;
    height: 1.8em;
    gap: 0.6em;
    align-items: center;
    border-radius: 2.25em;
    overflow: hidden;
    background-color: #EBEBEB;
  }

  .cbcn-wap-videoBtn {
    padding: 0.2em;
    cursor: pointer;
    position: relative;
    justify-content: center;
    align-items: center;
  }

  .cbcn-wap-videoBtn::before {
    content: "";
    width: 0.3em;
    height: 0.3em;
    border-radius: 50%;
    background-color: #b3b3b3;
    overflow: hidden;
    transition: all 1s;
  }

  .cbcn-wap-videoBtn::after {
    content: "";
    width: 0;
    height: calc(100% - 0.4em);
    background-color: #fff;
    position: absolute;
    left: 0.2em;
    top: 0.2em;
    border-radius: 5em;
    overflow: hidden;
  }

  .cbcn-wap-videoBtn.active::before {
    width: 2.3em;
    border-radius: 5em;
  }

  .cbcn-wap-videoBtn-play {
    width: 1.8em;
    height: 1.8em;
    flex-shrink: 0;
    cursor: pointer;
  }

  .cbcn-wap-videoBtn-play.active {
    animation: videoPlay 2s forwards;
  }

  @keyframes videoPlay {
    0% {
      transform: rotate(0deg);
    }

    100% {
      transform: rotate(360deg);
    }
  }
}

/* 相互改写部分 不加-wap */
@media screen and (max-width: 980px) {

  /* 标题组件 */
  .cbcn-title.cbcn-wap-ct {
    align-items: center;
  }


  /* 数据类型 */
  .cbcn-param {
    display: flex;
    flex-direction: column;
  }

  .cbcn-param.cbcn-wap-ct {
    align-items: center;
  }

  .cbcn-param.m {
    gap: var(--primitives-spacing-16, 0.8em);
  }

  .cbcn-param.sm {
    gap: var(--primitives-spacing-12, 0.6em);
  }

  .cbcn-param.ssm {
    gap: var(--primitives-spacing-4, 0.2em);
  }

  .cbcn-param.line>p:nth-child(2) {
    padding-top: 0.4em;
    border-top: 1px solid var(--highlight-text-line, rgba(0, 0, 0, 0.46));
  }

  .cbcn-param>p:nth-child(1),
  .cbcn-param>h2:nth-child(1),
  .cbcn-param>h3:nth-child(1) {
    width: 100%;
  }



  /* 翻页 */
  .cbcn-switchBtnList {
    display: flex;
    justify-content: flex-end;
    gap: 0.6em;
  }

  .cbcn-switchBtnList .cbcn-wap-flexRow {
    width: 60%;
    gap: 0.6em;
    justify-content: flex-end;
  }

  .cbcn-switchBtn-left,
  .cbcn-switchBtn-right {
    width: 1.6em;
    height: 1.6em;
    cursor: pointer;
    position: relative;
  }

  .cbcn-switchBtn-left {
    transform: rotate(180deg);
  }

  .cbcn-switchBtn-left.disabled,
  .cbcn-switchBtn-right.disabled {
    opacity: 0.25;
  }

  /* popup */
  .cbcn-popup {
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    overflow: auto;
    background-color: transparent;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
  }

  .bk .cbcn-popup {
    background: rgba(0, 0, 0, 0.8);
  }

  .wt .cbcn-popup {
    background: #ebebeb;
  }

  .cbcn-popup-content {
    position: relative;
    width: calc(100vw - 2em);
    padding: 0 1em 1em;
    margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
    margin-bottom: 50px;
    border-radius: 24px;
    backdrop-filter: blur(60px);
    -webkit-backdrop-filter: blur(60px);
    padding-bottom: 50px;
  }

  .bk .cbcn-popup-content {
    background: #0d0d0d;
  }

  .wt .cbcn-popup-content {
    background: #fff;
  }

  .cbcn-popup-closeBtn-div {
    position: sticky;
    top: 50px;
    padding-top: 1em;
    padding-right: 1em;
    text-align: right;
  }

  .cbcn-popup-closeBtn {
    display: inline-block;
    width: 1.8em;
    height: 1.8em;
    border-radius: 1.8em;
    background: var(--bottom-bg-l2, rgba(255, 255, 255, 0.25));
  }

  /* 滑块选项卡 */
  #cbcn-dom-container .cbcn-sliderbtn p {
    font-size: var(--semantic-font-size-highlight-4, 1.25em);
    line-height: 128%;
  }


  #cbcn-dom-container .cbcn-wap-hg3 {
    /* highlight 3 三级高亮 */
    font-size: var(--semantic-font-size-highlight-3, 2.1em);
    font-style: normal;
    font-weight: 600;
    line-height: var(--semantic-font-line-height-highlight-3, 2.7em);
    /* 128.571% */
  }

  #cbcn-dom-container .cbcn-wap-hg4 {
    /* highlight 4 四级高亮 */
    font-size: var(--semantic-font-size-highlight-4, 1.8em);
    font-style: normal;
    font-weight: 600;
    line-height: var(--semantic-font-line-height-highlight-4, 2.3em);
    /* 127.778% */
  }

  #cbcn-dom-container .cbcn-wap-hg5 {
    /* highlight 5 五级高亮 */
    font-size: var(--semantic-font-size-highlight-5, 1.4em);
    font-style: normal;
    font-weight: 600;
    line-height: var(--semantic-font-line-height-highlight-5, 1.8em);
    /* 128.571% */
  }

  #cbcn-dom-container .cbcn-wap-b1 {
    /* body 1 一级正文 */
    font-size: var(--semantic-font-size-body-1, 1.05em);
    font-style: normal;
    font-weight: 600;
    line-height: var(--semantic-font-line-height-body-1, 1.55em);
    /* 147.619% */
  }

  #cbcn-dom-container .cbcn-wap-b2 {
    /* body 2 二级正文 */
    font-size: var(--semantic-font-size-body-2, 0.95em);
    font-style: normal;
    font-weight: 600;
    line-height: var(--semantic-font-line-height-body-2, 1.4em);
    /* 147.368% */
  }

}