.A2main {
  :global {
    // 隐藏原始热点列表
    #hotList {
      display: none !important;
    }

    // 鼠标移入按钮
    .hoveImg {
      display: none;
      pointer-events: none;
      transition: all 0.5s;
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      top: 38px;
      width: 80px;
      height: 37px;
      line-height: 30px;
      text-align: center;
      font-size: 14px;
      color: #326f64;
    }

    // 样式重置
    .pinBottom.left {
      width: 100%;
      margin-right: 350px;
      height: 85px;
      left: 50%;
      transform: translateX(-50%);
      background: none;
      display: flex;
      align-items: center;
      padding-bottom: 20px;
      justify-content: left;

      .logo {
        position: relative;
        bottom: -10px;
        left: 20px;
        height: 60px;
        & img {
          height: 100%;
          object-fit: contain;
        }
      }

      .splitImg {
        height: 100%;
        object-fit: contain;
        margin: 20px 0px 0px 36px;
      }
    }

    #gui-modes-map {
      margin-left: 30px;
      #play,
      #pause,
      #next,
      #pullTab,
      .A2hotIcon,
      #gui-modes-inside,
      #gui-modes-dollhouse,
      #gui-modes-floorplan {
        width: 45px;
        height: 45px;
        margin-left: 30px;
        background-color: transparent !important;
        position: relative;

        img {
          width: 45px;
          height: 45px;
        }
      }

      //针对第一个按钮
      #play,
      #pause {
        margin-left: 18px;
      }
    }

    .rightViewContainer {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 30px;
      .likeBox,
      .A2_map_box,
      #volume,
      #gui-fullscreen,
      #gui-fullscreen-exit,
      .A2_share_box,
      .A2_view_box {
        width: 45px;
        height: 45px;
        margin: 0;
        background-color: transparent !important;
        position: relative;
        img {
          width: 100%;
          height: 100%;
        }
        .hasHover {
          width: 45px;
          height: 45px;
        }
      }
    }

    // 底部的位置
    .pinBottom {
      bottom: 0px;
    }
    .pinBottom.playing {
      bottom: 50px !important;
    }
    .pinBottom.open {
      bottom: 164px !important;
    }
    .pinBottom.open.playing {
      bottom: 184px !important;
    }

    // 只有在全景漫游下其他按钮才能点
    .pinBottom-containerNo {
      #play,
      #pause,
      .A2hotIcon {
        opacity: 0.5 !important;
        pointer-events: none !important;
      }
    }

    // 点赞
    .likeBox,
    .A2_map_box,
    .A2_share_box,
    .A2_view_box {
      float: left;
      cursor: pointer;

      img {
        width: 100%;
        height: 100%;
      }

      .likeMove {
        position: absolute;
        z-index: 100;
        left: -18px;
        bottom: 0;
        text-shadow: 1px 1px 1px #fcda99;
        opacity: 0;
        pointer-events: none;
      }
      .likeMoveAc {
        opacity: 1;
      }
    }

    .pinBottom-container.drawerOpen {
      bottom: 0;
    }

    // 展开的导览样式
    .darkGlass {
      background-color: rgba(0, 0, 0, 0.5);
    }
    #drawer.open {
      height: 140px !important;
      #scrollFrame {
        height: 130px;
      }
    }
    #thumb-container {
      width: 100% !important;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      gap: 10px;
      .thumbImg {
        width: 140px;
        height: 130px;
        margin: 0;
        & > img {
          height: 100%;
          &:hover {
            border-color: rgba(142, 103, 68, 1);
          }
        }
        .overlay {
          left: 50%;
          top: 50%;
          transform: translate(-50%, 220%);
          width: 100%;
          background-color: rgba(0, 0, 0, 0.5);
          font-weight: 700;
          color: #fff;
        }
      }
      .active > img {
        border-color: #fff !important;
      }
    }

    // 滚动条
    .scrollbar {
      background-color: transparent;
      .handle {
        background-color: rgb(253, 251, 178);
        height: 6px;
      }
    }

    // 进度条
    #playHead {
      background-color: rgba(0, 0, 0, 0.5);
      #progressBar {
        .step {
          &::before {
            background-color: rgb(195, 164, 125);
          }
        }
        .active {
          &::before {
            background-color: rgb(253, 251, 178);
          }
        }
      }
    }

    .chengzhebei {
      position: absolute;
      top: 37%;
      right: 2%;
      width: 100px;
      height: 100px;
      z-index: 100;
      cursor: pointer;
      .c1 {
        width: 100%;
        height: 100%;
        object-fit: contain;
        animation: chengzhebei1 4s linear infinite;
      }
      .c2 {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        height: 100%;
        object-fit: contain;
        animation: chengzhebei2 4s linear infinite;
      }
    }

    .chengzhebeiD {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) translateZ(0);
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      backdrop-filter: blur(10px);
      z-index: 30000;

      padding: 20px 50px 20px 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      .IntroClose {
        position: absolute;
        top: 42px;
        right: 55px;
        width: 113px;
        height: 52px;
        cursor: pointer;
        & > img {
          width: 100%;
          height: 100%;
          object-fit: contain;
        }
      }
      .titleLogo {
        font-size: 22px;
        font-weight: 700;
        margin-bottom: 20px;
        padding: 0 30px;
        letter-spacing: 4px;
        color: #ffe9b6;
      }
      .modalC {
        position: relative;
        border-radius: 6px;
        overflow: hidden;
        width: 60%;
        height: 70%;
        & > iframe {
          width: 100%;
          height: 100%;
          border: 0;
        }
      }
      .IntroD {
        width: 60%;
        height: 30%;
        display: flex;
        justify-content: flex-start;
        flex-direction: column;
        gap: 30px;
        .infoD {
          width: 100%;
          .contentD {
            height: fit-content;
            text-align: justify;
            font-size: 16px;
            color: #f9f9f1;
            letter-spacing: 3px;
            line-height: 32px;
          }
        }
      }
    }

    // 移动端
    @media screen and (max-width: 1000px) {
      .pinBottom.left {
        height: 60px;
      }
      #gui-modes-map {
        margin-left: 10px;
        #play,
        #pause,
        #next,
        #pullTab,
        .A2hotIcon,
        #gui-modes-inside,
        #gui-modes-dollhouse,
        #gui-modes-floorplan {
          width: 30px;
          height: 30px;
          margin-left: 20px;
          background-color: transparent !important;
          position: relative;

          img {
            width: 30px;
            height: 30px;
          }
        }
      }
      .rightViewContainer {
        display: none;
      }

      .chengzhebeiD {
        .IntroClose {
          position: absolute;
          top: 20px;
          right: 20px;
          width: 87px;
          height: 30px;
          cursor: pointer;
          & > img {
            width: 100%;
            height: 100%;
            object-fit: contain;
          }
        }
        .titleLogo {
          font-size: 16px;
          margin: 8px 0;
        }
        .IntroD {
          .infoD {
            .contentD {
              font-size: 14px;
            }
          }
        }
      }
    }
  }
}
