/* Audio Guide & Pronunciation Widget Styling */

.audio-guide-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  background: rgba(255, 153, 51, 0.12);
  border: 1px solid rgba(255, 153, 51, 0.3);
  border-radius: 20px;
  font-size: 0.85rem;
  color: #d97706;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.audio-guide-pill:hover {
  background: rgba(255, 153, 51, 0.25);
  transform: translateY(-1px);
}

.audio-guide-pill .phonetic-label {
  font-style: italic;
  opacity: 0.9;
}

.audio-guide-player {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.audio-wave-anim {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
}

.audio-wave-bar {
  width: 3px;
  background: #f97316;
  border-radius: 2px;
  animation: wavePulse 1s infinite ease-in-out alternate;
}

.audio-wave-bar:nth-child(2) { animation-delay: 0.2s; }
.audio-wave-bar:nth-child(3) { animation-delay: 0.4s; }

@keyframes wavePulse {
  0% { height: 4px; }
  100% { height: 16px; }
}
