/* 语音性别按钮样式 - 扁平化人物头像 */
.voice-gender-btn {
  position: relative;
  transition: all 0.3s ease;
}

.voice-gender-btn svg {
  transition: all 0.3s ease;
}

/* 男声按钮 - 蓝色调 */
.voice-menu-btn[data-voice="male"] {
  color: #4a90e2;
}

.voice-menu-btn[data-voice="male"]:hover {
  color: #357abd !important;
  border-color: #357abd !important;
  background: rgba(74, 144, 226, 0.1) !important;
  transform: scale(1.1);
}

.voice-menu-btn[data-voice="male"].active {
  color: #357abd !important;
  border-color: #357abd !important;
  background: rgba(74, 144, 226, 0.2) !important;
  box-shadow: 0 0 8px rgba(74, 144, 226, 0.4);
}

/* 女声按钮 - 粉色调 */
.voice-menu-btn[data-voice="female"] {
  color: #e91e63;
}

.voice-menu-btn[data-voice="female"]:hover {
  color: #c2185b !important;
  border-color: #c2185b !important;
  background: rgba(233, 30, 99, 0.1) !important;
  transform: scale(1.1);
}

.voice-menu-btn[data-voice="female"].active {
  color: #c2185b !important;
  border-color: #c2185b !important;
  background: rgba(233, 30, 99, 0.2) !important;
  box-shadow: 0 0 8px rgba(233, 30, 99, 0.4);
}

/* 确保SVG图标正确显示 */
.voice-gender-btn svg {
  display: block;
  margin: auto;
}

/* 活动状态指示器 */
.voice-menu-btn[data-voice].active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .voice-gender-btn svg {
    width: 18px !important;
    height: 18px !important;
  }
}
