.hv-soundscape {
  box-sizing: border-box;
  max-width: 580px;
  margin: 24px 0 28px;
  padding: 12px 16px;
  border: 1px solid #c98f8b;
  border-radius: 12px;
  background: #e5e9df;
  color: #243e32;
  font-family: system-ui, sans-serif;
  line-height: 1.5;
}
.hv-soundscape [hidden] { display: none !important; }
.hv-soundscape-button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 4px 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.hv-soundscape-button:focus-visible { outline: 3px solid #243e32; outline-offset: 5px; }
.hv-soundscape-button:hover .hv-soundscape-label { text-decoration: underline; text-underline-offset: 4px; }
.hv-soundscape-icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e4b5b2;
  font-size: 16px;
}
.hv-soundscape-pause { display: none; }
.hv-soundscape-button[aria-pressed="true"] .hv-soundscape-play { display: none; }
.hv-soundscape-button[aria-pressed="true"] .hv-soundscape-pause { display: inline; }
.hv-soundscape-copy { display: grid; gap: 2px; min-width: 0; }
.hv-soundscape-label { font-size: 14px; font-weight: 650; }
.hv-soundscape-wave { display: flex; align-items: center; gap: 3px; margin-left: auto; padding-left: 8px; height: 24px; }
.hv-soundscape-wave i { width: 2px; height: 8px; border-radius: 2px; background: currentColor; }
.hv-soundscape-wave i:nth-child(2) { height: 18px; }
.hv-soundscape-button[aria-pressed="true"] .hv-soundscape-wave i { animation: hv-soundscape-wave 1.2s ease-in-out infinite alternate; }
.hv-soundscape-button[aria-pressed="true"] .hv-soundscape-wave i:nth-child(2) { animation-delay: -.5s; }
.hv-soundscape-button[aria-pressed="true"] .hv-soundscape-wave i:nth-child(3) { animation-delay: -.8s; }
.hv-soundscape audio { display: block; width: 100%; max-width: 100%; }
.hv-soundscape .hv-soundscape-status { margin: 10px 0 0; font-size: 14px; }
.hv-soundscape .hv-soundscape-fallback { display: inline-block; margin-top: 8px; color: inherit; font-size: 14px; text-decoration: underline; }
@keyframes hv-soundscape-wave { to { transform: scaleY(.45); } }
@media (max-width: 360px) {
  .hv-soundscape { padding: 10px 12px; }
  .hv-soundscape-wave { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hv-soundscape-button[aria-pressed="true"] .hv-soundscape-wave i { animation: none; }
}
