/* 桌面端布局 */
.desktop-group {
  position: fixed;
  left: 2rem;
  bottom: 2rem;
  display: flex;
  gap: 1rem;
  z-index: 1000;
}

/* 移动端基础样式 */
@media (max-width: 768px) {
  .icon-title {
      display: none !important;
  }
  .desktop-group {
      display: none !important;
  }

  .mobile-group {
      position: fixed;
      width: 100%;

      pointer-events: none;
      overflow: hidden; /* 隐藏溢出内容 */           
   }

  /* 第一组移动布局 */
  .group1-layout {
      display: contents;
  }
  .group1-top-left {
      position: absolute;
      top: 2rem;
      left: 1rem;
      display: flex;
      flex-direction: column;
      gap: 1rem;
      pointer-events: auto;
      z-index: 2;
  }
  .group1-bottom-center {
      position: absolute;
      bottom: 2rem;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 1rem;
      pointer-events: auto;
      z-index: 2;
  }

  /* 第二组移动布局 */
  .group2-layout {
     
      top: 2rem;
      left: 1rem;
      display: flex;
      flex-direction: column;
      gap: 1rem;
      pointer-events: auto;
      z-index: 2;
  }
  .icon-item{
      width: 44px !important;
      height: 44px !important;
  }
}



/* 通用图标样式 */
.icon-item {
  position: relative;
  width: 56px;
  height: 56px;
  cursor: pointer;
  transition: all 0.3s;
  /* 新增背景图样式 */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  -webkit-tap-highlight-color: transparent;/* 新增：解决移动端点击色块问题 */
}

.icon-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.icon-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.875rem;
  padding: 0.25rem 0.5rem;
  background: rgba(55,54,53,.6);
  color: white;
  border-radius: 0.25rem;
  opacity: 0;
 
  pointer-events: none;
  bottom: calc(100% + 1.25rem);
  border:1px solid #fff ;
}

.icon-item:hover .icon-title {
  opacity: 1;
}
/* 容器样式 */
.button-container1121 {
  position: fixed;
  bottom: 200px;
  left: 20px;
  display: none;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
  user-select: none;
}

/* 按钮样式 */
.action-button1121 {
  padding: 12px 24px;
  background-color: rgba(55,54,53,.5);
  color: #a88959;
  border: 1px solid rgba(113,88,49,.8);
  border-radius: 23px;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0 20px;
  height: 47px;
  line-height: 47px;
  font-size: 24px;
  font-weight: 700;
  text-align: center;

}

/* 悬停样式 */
.action-button1121:hover {
  background-color:rgba(71,71,71,1);
}

/* 激活样式 */
.action-button1121.active1121 {
  background-color:rgba(71,71,71,1);
}

.overlay1121 {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.overlay1121.open1121 {
  display: block;
}
.hidden-controls {
  display: none !important;
}
/* 移动端样式 */
@media (max-width: 768px) {
  .button-container1121 {
    position: absolute;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 1rem 0;
    gap: 10px;
    left: 5rem;
    top: 1rem;
    bottom: 500px;
    
  }
  .action-button1121 {
    padding: 12px 24px;
    background-color: rgba(55,54,53,.5);
    color: #a88959;
    border: 1px solid rgba(113,88,49,.8);
    border-radius: 23px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0 20px;
    height: 35px;
    line-height: 35px;
    font-size: 16px;
    text-align: center;
    min-width: 2rem;
  }
  

}