/* 容器：固定在右侧中间 */
.fixed {
  position: fixed;
  top: 45%;
  right: max(20px, calc((100vw - 1252px) / 2 + -82px));
  z-index: 9999;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  width: 75px;
  height: 320px;
  padding: 9px;
  border-radius: 20px;
}

.side-navBox{
 width: 59px;
 border-bottom: 1px solid rgba(216, 216, 216, 1);
}

/* 所有链接通用样式 */
.fixed a {
  transition: all 0.2s ease;
  font-family: "Microsoft YaHei", sans-serif; /* 设置字体为微软雅黑 */
  color: #333; /* 文字颜色 */
  font-size: 12px; /* 统一字号 */
  line-height: 1.2;
  text-align: center;
  padding: 9px 0;
  display: grid;
  justify-items: center;
  align-items: center;
}

/* 图标通用样式 */
.fixed .fixed_img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: white;
  padding: 0;
}

    
/* 箭头图标样式 */
.back-to-top .arrow {
  width: 20px;
  height: 20px;
  /* margin: 50px auto; */
  background: 
    linear-gradient(135deg, transparent 45%, rgba(201, 11, 11, 1) 45%, rgba(201, 11, 11, 1) 55%, transparent 55%) top left,
    linear-gradient(225deg, transparent 45%, rgba(201, 11, 11, 1) 45%, rgba(201, 11, 11, 1) 55%, transparent 55%) top right;
  background-size: 50% 50%;
  background-repeat: no-repeat;
  background-position: 
    left top,
    right top;
}
  
/* 文字样式 */
.back-to-top .text {
  margin-top: -6px;
  font-size: 12px;
  color: rgba(201, 11, 11, 1);
}

/* “返回顶部”特殊处理：图标包含文字，不显示额外文字 */
#backToTop {
  border-color: #e74c3c;
}
#backToTop .fixed_img {
  margin-bottom: 0; /* 因为没有额外文字，不需要下边距 */
}

/* 悬停效果 */
.fixed a:hover {
  color: #e74c3c; /* 悬停时文字变红 */
}

/* .fixed a:hover .fixed_img {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
} */