.soundscape-control {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.soundscape-toggle {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid #7f8c70;
  border-radius: 999px;
  background: transparent;
  color: #263d32;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

.soundscape-toggle:hover { background: #e2d8a9; }
.soundscape-toggle[aria-pressed="true"] { background: #233e32; border-color: #233e32; color: #eee7c9; }
.soundscape-label { font-size: .88rem; font-weight: 600; }
.soundscape-title { font-size: .78rem; color: #59655a; }
.soundscape-icon { display: flex; align-items: center; gap: 2px; width: 22px; height: 18px; }
.soundscape-icon i { display: block; width: 2px; height: 6px; border-radius: 2px; background: currentColor; }
.soundscape-toggle[aria-pressed="true"] .soundscape-icon i { animation: soundscape-wave 1.1s ease-in-out infinite; }
.soundscape-toggle[aria-pressed="true"] .soundscape-icon i:nth-child(2) { animation-delay: -.8s; }
.soundscape-toggle[aria-pressed="true"] .soundscape-icon i:nth-child(3) { animation-delay: -.55s; }
.soundscape-toggle[aria-pressed="true"] .soundscape-icon i:nth-child(4) { animation-delay: -.3s; }

@keyframes soundscape-wave {
  0%, 100% { height: 5px; }
  50% { height: 17px; }
}

@media (max-width: 600px) {
  .soundscape-control { align-items: flex-start; flex-direction: column; gap: 8px; margin-top: 20px; }
  .soundscape-toggle { min-height: 48px; }
  .soundscape-title { padding-left: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .soundscape-toggle[aria-pressed="true"] .soundscape-icon i { animation: none; height: 11px; }
}
