#audileo-player {
  position: fixed !important;
  z-index: 2147483647 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important
}
#audileo-player > * {
  pointer-events: auto !important
}
#audileo-player.audileo-player--bottom-right {
  bottom: 24px !important;
  right: 24px !important;
  left: auto !important;
  top: auto !important
}
#audileo-player.audileo-player--bottom-left {
  bottom: 24px !important;
  left: 24px !important;
  right: auto !important;
  top: auto !important
}
#audileo-player.audileo-player--top-right {
  top: 24px !important;
  right: 24px !important;
  bottom: auto !important;
  left: auto !important
}
#audileo-player.audileo-player--top-left {
  top: 24px !important;
  left: 24px !important;
  bottom: auto !important;
  right: auto !important
}
#audileo-play-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: 56px !important;
  border: none !important;
  border-radius: 28px !important;
  background: var(--audileo-btn-color, #6C5CE7) !important;
  color: var(--audileo-btn-icon, #fff) !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(108, 92, 231, 0.4), 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform .2s, box-shadow .2s, background .2s, padding .2s;
  outline: none;
  position: relative;
  opacity: 1 !important;
  visibility: visible !important;
  padding: 0 14px !important
}
#audileo-play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(108, 92, 231, 0.5), 0 3px 8px rgba(0, 0, 0, 0.15)
}
#audileo-play-btn:active {
  transform: scale(0.96)
}
#audileo-play-btn:focus-visible {
  outline: 3px solid rgba(108, 92, 231, 0.5);
  outline-offset: 3px
}
#audileo-play-btn.audileo-playing {
  animation: audileo-pulse 2s infinite
}
@keyframes audileo-pulse {
  0% {
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.4), 0 0 0 0 rgba(108, 92, 231, 0.3)
  }
  70% {
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.4), 0 0 0 12px rgba(108, 92, 231, 0)
  }
  100% {
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.4), 0 0 0 0 rgba(108, 92, 231, 0)
  }
}
.audileo-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0
}
.audileo-play-label {
  margin-left: 6px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  color: inherit;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transition: opacity .2s .05s, max-width .2s, margin .2s
}
#audileo-play-btn:hover .audileo-play-label {
  opacity: 1;
  max-width: 120px;
  margin-left: 6px
}
#audileo-play-btn.audileo-show-label .audileo-play-label {
  opacity: 1;
  max-width: 120px;
  margin-left: 6px
}
.audileo-panel {
  position: absolute;
  width: 280px;
  background: #1a1a2e;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.15);
  padding: 16px;
  margin-bottom: 12px;
  color: #e0e0e0;
  animation: audileo-slide-up .25s ease-out
}
.audileo-player--bottom-right .audileo-panel,
.audileo-player--bottom-left .audileo-panel {
  bottom: 100%
}
.audileo-player--top-right .audileo-panel,
.audileo-player--top-left .audileo-panel {
  top: 100%
}
.audileo-player--bottom-right .audileo-panel,
.audileo-player--top-right .audileo-panel {
  right: 0
}
.audileo-player--bottom-left .audileo-panel,
.audileo-player--top-left .audileo-panel {
  left: 0
}
@keyframes audileo-slide-up {
  from {
    opacity: 0;
    transform: translateY(8px)
  }
  to {
    opacity: 1;
    transform: translateY(0)
  }
}
.audileo-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px
}
.audileo-panel-title {
  font-size: 13px;
  font-weight: 700;
  color: #a78bfa;
  letter-spacing: .5px;
  text-transform: uppercase
}
.audileo-close-btn {
  background: none;
  border: none;
  color: #888;
  font-size: 20px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: color .2s
}
.audileo-close-btn:hover {
  color: #fff
}
.audileo-progress-wrap {
  margin-bottom: 12px
}
.audileo-progress {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer
}
.audileo-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #6C5CE7, #a78bfa);
  border-radius: 4px;
  width: 0%;
  transition: width .2s linear
}
.audileo-time {
  display: block;
  font-size: 11px;
  color: #888;
  margin-top: 4px
}
.audileo-controls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px
}
.audileo-ctrl-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ccc;
  cursor: pointer;
  transition: background .2s, color .2s
}
.audileo-ctrl-btn svg {
  width: 18px;
  height: 18px
}
.audileo-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff
}
.audileo-main-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--audileo-btn-color, #6C5CE7);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(108, 92, 231, 0.4);
  transition: transform .2s, background .2s
}
.audileo-main-play svg {
  width: 24px;
  height: 24px
}
.audileo-main-play:hover {
  transform: scale(1.08);
  filter: brightness(0.9)
}
.audileo-main-play.audileo-active {
  background: #e74c3c;
  box-shadow: 0 2px 8px rgba(231, 76, 60, 0.4)
}
.audileo-slider-row {
  margin-bottom: 8px
}
.audileo-slider-row label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #999
}
.audileo-slider {
  flex: 1;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  outline: none
}
.audileo-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--audileo-btn-color, #6C5CE7);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(108, 92, 231, 0.5)
}
.audileo-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--audileo-btn-color, #6C5CE7);
  cursor: pointer;
  border: none;
  box-shadow: 0 1px 4px rgba(108, 92, 231, 0.5)
}
.audileo-val {
  min-width: 36px;
  font-weight: 600;
  color: #a78bfa;
  font-size: 12px
}
.audileo-voice-row {
  margin-bottom: 10px
}
.audileo-voice-row label {
  display: block;
  font-size: 12px;
  color: #999;
  margin-bottom: 4px
}
.audileo-voice-select {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #e0e0e0;
  font-size: 12px;
  outline: none;
  cursor: pointer
}
.audileo-voice-select:focus {
  border-color: var(--audileo-btn-color, #6C5CE7)
}
.audileo-voice-select option,
.audileo-voice-select optgroup {
  background: #1a1a2e;
  color: #e0e0e0
}
.audileo-action-row {
  display: flex;
  gap: 8px
}
.audileo-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #ccc;
  font-size: 12px;
  cursor: pointer;
  transition: background .2s, color .2s
}
.audileo-action-btn svg {
  width: 14px;
  height: 14px
}
.audileo-action-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff
}
.audileo-highlight {
  background: rgba(108, 92, 231, 0.25) !important;
  color: inherit !important;
  border-radius: 2px;
  padding: 1px 0;
  transition: background .3s
}
.audileo-credit {
  text-align: center;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08)
}
.audileo-credit a {
  font-size: 11px;
  color: #888;
  text-decoration: none;
  transition: color .2s
}
.audileo-credit a:hover {
  color: #a78bfa
}
.audileo-credit a strong {
  font-weight: 700;
  color: #a78bfa
}
@media (prefers-reduced-motion: reduce) {
  #audileo-play-btn.audileo-playing {
    animation: none
  }
  .audileo-panel {
    animation: none
  }
}
@media (max-width: 600px) {
  .audileo-panel {
    width: 260px;
    padding: 12px
  }
  .audileo-play-label {
    display: none !important
  }
}
@media (prefers-color-scheme: light) {
  .audileo-panel {
    background: #fff;
    color: #333;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06)
  }
  .audileo-panel-title {
    color: #6C5CE7
  }
  .audileo-close-btn {
    color: #666
  }
  .audileo-close-btn:hover {
    color: #333
  }
  .audileo-ctrl-btn {
    background: rgba(0, 0, 0, 0.06);
    color: #555
  }
  .audileo-ctrl-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333
  }
  .audileo-slider-row label {
    color: #666
  }
  .audileo-voice-select {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.12);
    color: #333
  }
  .audileo-voice-select option,
  .audileo-voice-select optgroup {
    background: #fff;
    color: #333
  }
  .audileo-action-btn {
    border-color: rgba(0, 0, 0, 0.15);
    background: rgba(0, 0, 0, 0.04);
    color: #555
  }
  .audileo-action-btn:hover {
    background: rgba(0, 0, 0, 0.08);
    color: #333
  }
  .audileo-progress {
    background: rgba(0, 0, 0, 0.08)
  }
  .audileo-time {
    color: #888
  }
  .audileo-credit {
    border-top-color: rgba(0, 0, 0, 0.08)
  }
  .audileo-credit a {
    color: #999
  }
  .audileo-credit a:hover {
    color: #6C5CE7
  }
  .audileo-credit a strong {
    color: #6C5CE7
  }
}
