#floating-icon {
  position: fixed;
  top: 50%; 
  right: 20px; 
  transform: translateY(-50%); 
  width: 40px;
  height: 40px; /* 高度自动，适配图标 + 文字 */
  background-color: #007BFF;
  border-radius: 50px; /* 可微调圆角，让整体更协调 */
  display: flex;        /* 开启 flex 布局 */
  flex-direction: column; /* 子元素垂直排列 */
  justify-content: center; /* 水平居中 */
  align-items: center; /* 垂直居中 */
  cursor: pointer;
  z-index: 9999;
  padding: 8px 0; /* 增加上下内边距，给文字留空间 */
}

/* 图标样式（若需要限制大小） */
#floating-icon img {
  width: 25px; 
  height: 25px; 
  margin-bottom: 0px; /* 图标与文字间距 */
}

/* “菜单”文字样式 */
.menu-text {
  color: #fff;       /* 文字颜色 */
  font-size: 10px;   /* 文字大小 */
  line-height: 1;    /* 行高，避免多余间距 */
}
#dropdown-menu {
  position: fixed;
  top: 50%; /* 顶部距离50% */
  right: 80px; /* 右侧距离80px，避免与图标重叠 */
  transform: translateY(-50%); /* 向上偏移自身高度的50%，实现垂直居中 */
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  z-index: 9999; /* 确保菜单显示在最上层 */
}

.menu-item {
  padding: 5px 10px;
  cursor: pointer;
}

.hidden {
  display: none;
}