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

    // 鼠标移入按钮
    .hoveImg {
      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: 960px;
      margin-right: 350px;
      height: 85px;
      left: 50%;
      transform: translateX(-50%);
      background-size: contain;
      background: url('../../assets/img/toolBar_bg.png');
      background-size: 100% 100%;
      display: flex;
      align-items: center;
      padding-bottom: 6px;
      justify-content: center;

      .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: 26px;
    }
    .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);
          }
        }
      }
    }

    .sectionIndex {
      position: fixed;
      bottom: 40px;
      right: 30px;
      .sectionIndexImg {
        width: 125px;
        height: 100%;
        object-fit: cover;
        cursor: pointer;
      }
    }
    // .section {
    //   position: fixed;
    //   top: 50%;
    //   left: 50%;
    //   transform: translate(-50%, -50%);
    //   width: 100%;
    //   height: 100%;
    //   background-color: rgba(0, 0, 0, 0.5);
    //   display: flex;
    //   align-items: center;
    //   justify-content: center;
    //   z-index: 30000;
    //   .arrL {
    //     position: absolute;
    //     left: 2%;
    //     cursor: pointer;
    //   }
    //   .arrR {
    //     position: absolute;
    //     right: 2%;
    //     cursor: pointer;
    //   }
    //   .sectionBox {
    //     padding: 0 20px;
    //     width: fit-content;
    //     overflow: auto;
    //     height: 89%;
    //     width: 100%;
    //     display: flex;
    //     flex-wrap: nowrap;
    //     scroll-behavior: smooth;
    //     justify-content: center;
    //     align-items: center;
    //     gap: 20px;
    //     ::-webkit-scrollbar {
    //       display: none; /* Chrome, Safari, Edge */
    //     }
    //     -ms-overflow-style: none; /* IE and Edge */
    //     scrollbar-width: none; /* Firefox */

    //     & > div {
    //       flex: 0 0 auto;
    //       width: 19%;
    //       height: 91%;
    //       background-size: contain;
    //       cursor: pointer;
    //       p {
    //         margin-top: 250px;
    //         padding: 38px;
    //         font-size: 13px;
    //         line-height: 21px;
    //         text-indent: 2em;
    //       }
    //     }
    //     .section1 {
    //       background: url(../../assets/img/section1.png) no-repeat;
    //       background-size: 100% 100%;
    //       p {
    //         color: #000000;
    //       }
    //     }
    //     .section2 {
    //       background: url(../../assets/img/section2.png) no-repeat;
    //       background-size: 100% 100%;
    //       p {
    //         color: #fff;
    //       }
    //     }
    //     .section3 {
    //       background: url(../../assets/img/section3.png) no-repeat;
    //       background-size: 100% 100%;
    //       p {
    //         color: #fff;
    //       }
    //     }
    //     .section4 {
    //       background: url(../../assets/img/section4.png) no-repeat;
    //       background-size: 100% 100%;
    //       p {
    //         color: #000;
    //       }
    //     }
    //     .section5 {
    //       background: url(../../assets/img/section5.png) no-repeat;
    //       background-size: 100% 100%;
    //       p {
    //         color: #000;
    //       }
    //     }
    //   }
    //   .sectionClose {
    //     position: fixed;
    //     top: 20px;
    //     right: 20px;
    //     cursor: pointer;
    //   }
    // }

    // 移动端

    @media screen and (max-width: 1000px) {
      .hoveImg {
        height: 20px;
        top: 24px;
        font-size: 10px;
        color: #fff;
        text-shadow: 0 0 5px rgba(253, 251, 178, 0.8), 0 0 10px rgba(253, 251, 178, 0.6);
      }
      #gui-modes-map {
        border-radius: 25px;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        flex-direction: column;
        gap: 30px;
        margin-left: 10px;
        padding: 30px 0px;
        width: 45px;
        #play,
        #pause,
        #next,
        #pullTab,
        .A2hotIcon,
        #gui-modes-inside,
        #gui-modes-dollhouse,
        #gui-modes-floorplan {
          margin: 0;
          width: 30px;
          height: 30px;
          background-color: transparent !important;
          position: relative;
          img {
            width: 35px;
            height: 35px;
          }
        }
      }

      .pinBottom {
        width: 100% !important;
        align-items: flex-end !important;
        justify-content: space-between !important;
        background: transparent !important;
        right: 20px;
        padding: 0 !important;
        .logo {
          display: none;
        }
        .splitImg {
          display: none;
        }
      }

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

      .sectionIndex {
        display: none;
      }

      .darkGlass {
        background-color: rgba(0, 0, 0, 0.5);
      }
      #drawer.open {
        height: 100px !important;
        #scrollFrame {
          height: 90px;
        }
      }

      #thumb-container {
        width: fit-content !important;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 10px;
        .thumbImg {
          width: 100px;
          height: 80px;
          margin: 0;
          & > img {
            height: 100%;
            &:hover {
              border-color: rgba(142, 103, 68, 1);
            }
          }
          .overlay {
            left: 50%;
            top: 50%;
            transform: translate(-50%, 120%);
            width: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            font-weight: 700;
            color: #fff;
          }
        }
        .active > img {
          border-color: #fff !important;
        }
      }
    }
  }
}
