/* ==========================================
   Voice Widget — 语音助手悬浮按钮
   右下角，趴趴熊上方
   ========================================== */

#voiceBtn {
  position: fixed;
  bottom: 140px;
  right: 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 80, 80, 0.85), rgba(200, 50, 100, 0.85));
  border: 2px solid rgba(255, 140, 140, 0.3);
  box-shadow: 0 4px 20px rgba(255, 50, 50, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 199;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: voicePulse 2.5s ease-in-out infinite;
}

#voiceBtn:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 28px rgba(255, 50, 50, 0.4);
}

#voiceBtn:active {
  transform: scale(0.95);
}

@keyframes voicePulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(255, 50, 50, 0.25); }
  50% { box-shadow: 0 4px 32px rgba(255, 50, 50, 0.45); }
}

#voiceBtn svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

/* 移动端适配 */
@media (max-width: 480px) {
  #voiceBtn {
    width: 46px;
    height: 46px;
    bottom: 130px;
    right: 14px;
  }

  #voiceBtn svg {
    width: 20px;
    height: 20px;
  }
}
