.voice-reader-btn {
    padding: 10px 18px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: all .2s ease;
}

/* estilos */
.style-default { }

.style-rounded {
    border-radius: 999px !important;
}

.style-outline {
    background: transparent !important;
    border: 2px solid currentColor;
}

.style-soft {
    background: rgba(0,0,0,.05) !important;
    color: #111 !important;
}
.wpvr-admin .wpvr-box {
    background: #fff;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,.06);
    margin: 20px 0 30px;
    max-width: 800px;
}

.wpvr-admin .wpvr-box ul {
    margin-left: 20px;
}

.wpvr-admin .wpvr-box li {
    margin-bottom: 6px;
}

.wpvr-admin .brand {
    margin-top: 15px;
    font-size: 13px;
    color: #666;
}
.voice-reader-btn.is-playing {
    animation: wpvr-pulse 1.2s infinite;
}

@keyframes wpvr-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(0,0,0,.3); }
    70%  { box-shadow: 0 0 0 12px rgba(0,0,0,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); }
}
/* CONTENEDOR */
.wpvr-player {
  margin-bottom: 14px;
}

/* WAVES */
.wpvr-waves {
  display: flex;
  gap: 4px;
  height: 18px;
  margin: 8px 0;
  opacity: 0;
}

.wpvr-waves span {
  width: 3px;
  height: 100%;
  background: currentColor;
  opacity: .6;
  animation: wpvr-wave 1s ease-in-out infinite;
}

.wpvr-waves span:nth-child(2) { animation-delay: .1s }
.wpvr-waves span:nth-child(3) { animation-delay: .2s }
.wpvr-waves span:nth-child(4) { animation-delay: .3s }
.wpvr-waves span:nth-child(5) { animation-delay: .4s }

@keyframes wpvr-wave {
  0%,100% { transform: scaleY(.3) }
  50% { transform: scaleY(1) }
}

/* PROGRESS BAR */
.wpvr-progress {
  height: 4px;
  background: rgba(0,0,0,.15);
  border-radius: 2px;
  overflow: hidden;
}

.wpvr-progress-bar {
  width: 0%;
  height: 100%;
  background: currentColor;
  transition: width .2s linear;
}

/* ESTADOS */
.voice-reader-btn.is-playing + .wpvr-visuals .wpvr-waves {
  opacity: 1;
}

.voice-reader-btn.is-paused + .wpvr-visuals .wpvr-waves {
  opacity: .3;
}
.wpvr-time {
  font-size: 12px;
  margin-top: 6px;
  opacity: 0.7;
  display: flex;
  justify-content: flex-end;
  gap: 4px;
}
.wpvr-player {
  position: relative;
  display: inline-block;
}

.wpvr-speed {
  position: absolute;
  top: -36px;            /* arriba del botón */
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(0,0,0,.85);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  display: flex;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: all .2s ease;
  z-index: 20;
}

.wpvr-player:hover .wpvr-speed {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.voice-reader-btn:not(.is-playing) + .wpvr-speed {
  display: none;
}

.wpvr-speed span {
  cursor: pointer;
  opacity: .6;
}

.wpvr-speed span.active {
  opacity: 1;
  font-weight: 600;
}
