/* Scoped ONLY to Dahab's native microphone actions menu */
#mic-speakers .dhmv2-widget{display:block;width:100%;margin:6px 0 0;box-sizing:border-box;direction:rtl;font-family:inherit}
#mic-speakers .dhmv2-open{width:100%;display:block;min-height:34px;text-align:center;line-height:1.5;white-space:nowrap}
#mic-speakers .dhmv2-panel{width:100%;box-sizing:border-box;padding:12px 10px 10px;margin:6px 0 0;border-radius:11px;color:#ecf4ff;background:#1b2533;border:1px solid #3c4a5e;box-shadow:0 5px 16px rgba(0,0,0,.18);font-size:12px;text-align:right}
#mic-speakers .dhmv2-panel[hidden],#mic-speakers .dhmv2-enable[hidden]{display:none!important}
#mic-speakers .dhmv2-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;white-space:nowrap}
#mic-speakers .dhmv2-value{direction:ltr;font-weight:800;font-variant-numeric:tabular-nums;color:#9ee3ff}
#mic-speakers .dhmv2-slider{width:100%;height:32px;margin:0;display:block;direction:ltr;accent-color:#42a9db;touch-action:pan-y;cursor:pointer}
#mic-speakers .dhmv2-presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:9px 0 0}
#mic-speakers .dhmv2-presets button{min-width:0;min-height:30px;padding:5px 1px;background:#304056;border:1px solid #52677d;border-radius:8px;color:#f2f6ff;font-size:12px;font-weight:600;cursor:pointer}
#mic-speakers .dhmv2-presets button.dhmv2-selected{border-color:#55c6f5;background:#1a557b;color:#fff}
#mic-speakers .dhmv2-enable{display:block;width:100%;border:1px solid #46b6eb;background:#143c5a;color:#fff;padding:8px 5px;border-radius:8px;font-size:12px;font-weight:bold;margin-top:10px}
#mic-speakers .dhmv2-status{color:#aac0d4;line-height:1.6;font-size:11px;margin:8px 0 0;min-height:14px}
#mic-speakers .dhmv2-widget button:focus-visible,#mic-speakers .dhmv2-widget input:focus-visible{outline:2px solid #84e8ff;outline-offset:2px}
@media (pointer:coarse){#mic-speakers .dhmv2-open{min-height:40px}#mic-speakers .dhmv2-presets button{min-height:38px}}
/* DAHAB Mic Volume · Sleek UI 2.1
 * VISUAL OVERRIDES ONLY — supports the original V1 and cross-device V2.
 * NO changes to audio processing, Web Audio, Socket.IO, or media tracks.
 */
#mic-speakers .dhmv2-widget,
#mic-speakers .dh-mic-volume-widget {
  width:100%; max-width:100%; margin:5px 0 0;
  direction:rtl; box-sizing:border-box;
}

/* Retain a native Dahab action-button appearance with neater spacing. */
#mic-speakers .dhmv2-open,
#mic-speakers .dh-mic-volume-toggle {
  display:block; width:100%; box-sizing:border-box;
  border-radius:7px; padding:7px 10px;
  font-size:12px; font-weight:600; line-height:1.5;
  min-height:35px; letter-spacing:0;
}
#mic-speakers .dhmv2-open .fa,
#mic-speakers .dh-mic-volume-toggle .fa {
  margin-left:5px; font-size:13px;
}

/* One compact volume control, no percentage preset buttons. */
#mic-speakers .dhmv2-panel,
#mic-speakers .dh-mic-volume-panel {
  display:block; width:100%; box-sizing:border-box;
  margin:5px 0 2px; padding:12px 12px 9px;
  border-radius:10px;
  background:linear-gradient(160deg,#202b3b 0%,#172332 100%);
  border:1px solid rgba(172,198,222,.19);
  box-shadow:0 7px 19px rgba(0,0,0,.16);
  color:#f3f7fb; font-size:12px;
  text-align:right;
}
#mic-speakers .dhmv2-panel[hidden],
#mic-speakers .dh-mic-volume-panel[hidden] {display:none!important}

#mic-speakers .dhmv2-heading,
#mic-speakers .dh-mic-volume-caption {
  display:flex; gap:10px; flex-wrap:nowrap; align-items:center;
  justify-content:space-between; margin:0 0 7px;
  color:#dbe8f4; white-space:nowrap; font-size:11px;
}
#mic-speakers .dhmv2-value,
#mic-speakers .dh-mic-volume-value {
  display:inline-flex; align-items:center; justify-content:center;
  direction:ltr; font-weight:800; font-size:12px;
  color:#90d9fc; background:rgba(101,194,239,.10);
  border:1px solid rgba(101,194,239,.13);
  border-radius:7px; min-width:41px;
  padding:2px 6px; font-variant-numeric:tabular-nums;
}
#mic-speakers .dhmv2-presets,
#mic-speakers .dh-mic-volume-presets {
  display:none!important;
}
#mic-speakers input.dhmv2-slider,
#mic-speakers input.dh-mic-volume-range {
  display:block; width:100%; max-width:100%; box-sizing:border-box;
  margin:1px 0 3px; height:28px; padding:0;
  cursor:pointer; direction:ltr; accent-color:#56bbee;
  touch-action:pan-y; -webkit-tap-highlight-color:transparent;
}
#mic-speakers .dhmv2-status {
  font-size:10px; line-height:1.5; min-height:0;
  margin:5px 0 0; color:#9db5c7;
}
#mic-speakers .dhmv2-enable {
  margin-top:7px; border-radius:8px;
  min-height:34px; font-size:11px;
}
#mic-speakers .dhmv2-widget button:focus-visible,
#mic-speakers .dhmv2-widget input:focus-visible,
#mic-speakers .dh-mic-volume-widget button:focus-visible,
#mic-speakers .dh-mic-volume-widget input:focus-visible {
  outline:2px solid #77d2ff; outline-offset:2px;
}
@media (pointer:coarse) {
  #mic-speakers .dhmv2-open,
  #mic-speakers .dh-mic-volume-toggle {min-height:42px}
  #mic-speakers input.dhmv2-slider,
  #mic-speakers input.dh-mic-volume-range {height:36px; margin:4px 0}
}

/* V2.4: small fixed scale, no preset buttons. Boosted percentage is visually distinct. */
#mic-speakers .dhmv2-scale{display:flex;justify-content:space-between;align-items:center;gap:4px;direction:ltr;font-size:9px;line-height:1.25;color:#9fb4c9;margin:0 1px 4px}
#mic-speakers .dhmv2-scale span:nth-child(2){color:#e4f1fc}
#mic-speakers .dhmv2-value.dhmv2-boosted{color:#ffe3a8;background:rgba(247,179,74,.13);border-color:rgba(247,179,74,.27)}
