.sound-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 6px 11px;
  color: #452f50;
  background: #fffaf4;
  border: 1px solid #af99b5;
  border-radius: 999px;
  box-shadow: 0 2px 7px #211d321a;
  font: 600 .875rem/1.15 system-ui, sans-serif;
  cursor: pointer;
}

.sound-toggle[data-enabled="true"] { background: #f4e7f8; }
.sound-toggle:focus-visible { outline: 2px solid #7d568b; outline-offset: 3px; }
.sound-toggle[hidden] { display: none; }

.standalone-sound {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  z-index: 10;
}

.courtyard-sound { margin-left: auto; }

.dialog-actions {
  display: flex;
  justify-content: end;
  flex-wrap: wrap;
  gap: 6px;
}
