.audio-controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.audio-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  font-size: 0.65rem;
  border: 2px solid #1976d2;
  border-radius: 50%;
  background: transparent;
  color: #1976d2;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s, transform 0.1s;
}

.audio-btn:hover {
  background: #1976d2;
  color: #fff;
  transform: scale(1.08);
}

.audio-btn--slow {
  border-color: #f59e0b;
  color: #f59e0b;
}

.audio-btn--slow:hover {
  background: #f59e0b;
  color: #fff;
}

.audio-btn {
  position: relative;
  overflow: visible;
}

.audio-btn--rect {
  width: auto;
  height: auto;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  flex-direction: row;
  gap: 0.2rem;
}

.audio-btn:not(.audio-btn--rect) .hotkey-badge {
  position: absolute;
  top: calc(100% + 3px);
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 0.6rem;
  padding: 0.1em 0.35em;
}

@media (max-width: 600px) {
  .audio-controls {
    margin-top: 0.2rem;
  }
}
