/* File: /wp-content/themes/pandora-custom/assets/css/06-tts.css */
/* TTS Player */

.pandora-tts-player{
  position: sticky;
  top: 12px;
  z-index: 9999;
  margin: 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(131,0,254,.18), rgba(255,0,128,.12));
  border: 1px solid rgba(131,0,254,.4);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  color: #fff;
  font-family: system-ui;
}
.pandora-tts-player button{
  background: #8300fe;
  border: none;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: .2s;
  font-size: 16px;
}
.pandora-tts-player button:hover{
  transform: scale(1.08);
  background: #9a2bff;
}
.pandora-tts-player button.is-active{
  background: #ff0080;
  animation: pulse 1s infinite;
}
@keyframes pulse{
  0%{transform:scale(1)}
  50%{transform:scale(1.1)}
  100%{transform:scale(1)}
}
.pandora-tts-player select{
  background: rgba(0,0,0,.4);
  color: #fff;
  border: 1px solid #8300fe;
  border-radius: 12px;
  padding: 6px 10px;
  font-size: 13px;
  min-width: 130px;
}
.pandora-tts-player label{
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: .9;
}
.pandora-tts-player input[type=range]{
  width: 80px;
  accent-color: #8300fe;
}
.pandora-progress{
  flex: 1 1 100%;
  height: 6px;
  background: rgba(255,255,255,.15);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 4px;
}
.pandora-progress > div{
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg,#8300fe,#ff0080);
  transition: width .3s;
}
.pandora-reading{
  background: rgba(131,0,254,.22) !important;
  outline: 2px solid #8300fe;
  border-radius: 8px;
  transition: .3s;
}
@media(max-width:768px){
  .pandora-tts-player{
    position: fixed;
    bottom: 10px;
    left: 10px;
    right: 10px;
    top: auto;
  }
  .pandora-tts-player label span{
    display: none;
  }
}