/* Soothe Symphonics — Audio Player V1 */

body figure.wp-block-audio.ss-audio-enhanced {
  max-width: 850px;
  margin: 30px auto;
  padding: clamp(18px,3vw,32px);
  border: 1px solid rgba(155,215,208,.3);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 95% 5%,
      rgba(74,126,160,.23),transparent 55%),
    linear-gradient(145deg,#1a2d47,#0d192e);
  box-shadow: 0 15px 48px rgba(0,0,0,.22);
}

body figure.ss-audio-enhanced::before,
body figure.ss-audio-enhanced audio {
  display: none !important;
}

.ss-player {
  color: #f3f0e9;
  font-family: inherit;
}

.ss-player-heading {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 25px;
}

.ss-player-emblem {
  width: 59px;
  height: 59px;
  flex: 0 0 59px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(231,196,139,.4);
  color: #e8c68e;
  background:
    radial-gradient(circle at 30% 30%,
      #334c65,#122037 75%);
  font-size: 1.8rem;
}

.ss-player-details {
  min-width: 0;
  flex: 1;
}

.ss-player-kicker {
  color: #a4d9d3;
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .13em;
}

.ss-player-title {
  margin-top: 5px;
  color: #f4f0e8;
  font-size: clamp(1.1rem,2vw,1.5rem);
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.ss-player-bars {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ss-player-bars i {
  display: block;
  width: 4px;
  height: 25%;
  border-radius: 4px;
  background: linear-gradient(#e8c68e,#79cbc4);
  animation: ss-wave 900ms ease-in-out infinite alternate;
  animation-play-state: paused;
}

.ss-player-bars i:nth-child(2),
.ss-player-bars i:nth-child(5) {
  animation-delay: -250ms;
}

.ss-player-bars i:nth-child(3),
.ss-player-bars i:nth-child(7) {
  animation-delay: -550ms;
}

.ss-player-bars i:nth-child(4) {
  animation-delay: -100ms;
}

.ss-player.ss-is-playing .ss-player-bars i {
  animation-play-state: running;
}

@keyframes ss-wave {
  from { height: 18%; }
  to   { height: 88%; }
}

.ss-player-transport {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ss-player-toggle {
  width: 51px;
  height: 51px;
  flex: 0 0 51px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #e8c68e;
  color: #101c2e;
  font-size: 1.15rem;
  cursor: pointer;
}

.ss-player-toggle:hover {
  background: #f3d9ac;
}

.ss-player-elapsed,
.ss-player-duration {
  color: #d6e2e9;
  font-size: .85rem;
  font-variant-numeric: tabular-nums;
}

.ss-player-seek {
  --ss-progress: 0%;
  flex: 1;
  width: 100%;
  min-width: 35px;
  height: 7px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  background: linear-gradient(
    to right,
    #e8c68e 0 var(--ss-progress),
    #53677c var(--ss-progress) 100%
  );
}

.ss-player-seek::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  border: 2px solid #e8c68e;
  border-radius: 50%;
  background: #fff8eb;
}

.ss-player-seek::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 2px solid #e8c68e;
  border-radius: 50%;
  background: #fff8eb;
}

.ss-player-seek:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.ss-player-mute {
  flex: 0 0 34px;
  padding: 5px;
  border: 0;
  background: transparent;
  color: #e8c68e;
  font-size: 1.25rem;
  cursor: pointer;
}

.ss-player button:focus-visible,
.ss-player input:focus-visible {
  outline: 2px solid #9bd7d0;
  outline-offset: 4px;
}

@media (max-width: 600px) {
  .ss-player-heading {
    gap: 12px;
    margin-bottom: 20px;
  }

  .ss-player-emblem {
    width: 45px;
    height: 45px;
    flex-basis: 45px;
    font-size: 1.35rem;
  }

  .ss-player-bars {
    display: none;
  }

  .ss-player-transport {
    gap: 8px;
  }

  .ss-player-toggle {
    width: 43px;
    height: 43px;
    flex-basis: 43px;
  }

  .ss-player-elapsed,
  .ss-player-duration {
    font-size: .75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ss-player-bars i {
    animation: none !important;
    height: 45%;
  }
}
