/* ═══════════════════════════════════════════════════════════
   Панель звука — общая для лобби и боя
   ═══════════════════════════════════════════════════════════ */
.audio-panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  font-family: 'Roboto Condensed', sans-serif;
}
.audio-panel-overlay.show { display: flex; }

.audio-panel {
  width: 360px;
  max-width: calc(100vw - 40px);
  background: linear-gradient(180deg, #2a251c 0%, #1e1a14 100%);
  border: 1px solid #4a3f2e;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.9);
  color: #f0e6d2;
  overflow: hidden;
}

.audio-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #3a3327;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffb833;
}

.audio-panel-close {
  background: none;
  border: none;
  color: #8a7f66;
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 2px;
  transition: color 0.15s;
}
.audio-panel-close:hover { color: #f0e6d2; }

.audio-panel-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.audio-slider-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.audio-slider-row label {
  flex: 0 0 140px;
  color: #c4b795;
}
.audio-slider-row input[type=range] {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: #3a3327;
  border-radius: 2px;
  outline: none;
}
.audio-slider-row input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  background: #ffb833;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 6px rgba(255, 184, 51, 0.5);
}
.audio-slider-row input[type=range]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: #ffb833;
  border-radius: 50%;
  cursor: pointer;
  border: none;
}
.audio-slider-val {
  flex: 0 0 42px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #8a7f66;
  font-size: 11px;
}

.audio-panel-actions {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid #3a3327;
}
.audio-panel-actions button {
  flex: 1;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid #3a3327;
  border-radius: 2px;
  color: #c4b795;
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.15s;
}
.audio-panel-actions button:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #f0e6d2;
}