/* Audio controls in info hotspots */
.info-hotspot-audio {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.info-hotspot-audio-button {
  --audio-progress: 0%;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  background-color: rgba(65, 82, 104, 0.62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.3);
  cursor: pointer;
  overflow: hidden;
  -webkit-transition: border-color 0.2s ease, box-shadow 0.2s ease, -webkit-transform 0.2s ease;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.info-hotspot-audio-button::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    rgba(72, 214, 118, 0.95) 0 var(--audio-progress),
    rgba(255, 255, 255, 0.08) var(--audio-progress) 100%
  );
}

.info-hotspot-audio-button::after {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.16);
  background-color: rgba(44, 56, 72, 0.88);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14);
}

.info-hotspot-audio-button:hover,
.info-hotspot-audio-button:focus {
  border-color: rgba(128, 236, 159, 0.78);
  box-shadow: 0 10px 22px rgba(0,0,0,0.34);
  outline: none;
}

.info-hotspot-audio-icon {
  position: relative;
  z-index: 2;
  display: block;
  width: 20px;
  height: 20px;
  -webkit-filter: brightness(0) invert(1);
  filter: brightness(0) invert(1);
}

.info-hotspot-audio-icon-pause {
  display: none;
}

.info-hotspot-audio-button.playing .info-hotspot-audio-icon-play {
  display: none;
}

.info-hotspot-audio-button.playing .info-hotspot-audio-icon-pause {
  display: block;
}

.mobile .info-hotspot-audio-button {
  width: 52px;
  height: 52px;
}

.mobile .info-hotspot-audio-icon {
  width: 24px;
  height: 24px;
}
