/* © DJFuturo Tools. All rights reserved. */
/* ============================================================
   Audio Normalizer
   ============================================================ */
/* ── Reset básico dentro del wrapper ── */
#djf-eq-wrapper *,
#djf-eq-wrapper *::before,
#djf-eq-wrapper *::after {
  box-sizing: border-box;
}

#djf-eq-wrapper {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ── Contenedor raíz ── */
.djf-grabadora-v7zzmultimin {
  margin: 0 auto;
  padding: 0;
}

/* ============================================================
   HEADER
   ============================================================ */

.djf-grabadora-header {
  padding: 16px 16px 0;
}

.djf-grabadora-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 2px 12px 2px 2px;
  background: linear-gradient(135deg, rgba(248, 208, 88, 0.5), transparent);
  border-radius: 30px;
  width: fit-content;
}

.djf-grabadora-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd95a 0%, #f8c040 100%);
  border: 2px solid #f0b830;
  box-shadow:
    0 2px 8px rgba(248, 208, 88, 0.25),
    0 0 0 3px rgba(248, 208, 88, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.djf-grabadora-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.djf-grabadora-title h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}

/* ============================================================
   BODY
   ============================================================ */

.djf-grabadora-body {
  background: linear-gradient(180deg, #fbfbfb, #f3f6f9);
  box-shadow: 0 6px 18px rgba(20, 30, 50, 0.06);
  border-radius: 12px;
  margin: 12px 0 0;
  padding: 0px 24px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

/* ============================================================
   CONTROLES
   ============================================================ */

.djf-grabadora-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}

/* ── Botones secundarios ── */
.djf-grabadora-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 50px;
  border: 1px solid #d0d0d0;
  background: linear-gradient(180deg, #ffffff, #f8f9fa);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  transition: all 0.15s ease;
  font-family: inherit;
  touch-action: manipulation;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 2px 6px rgba(248, 208, 88, 0.35);
}

.djf-grabadora-btn:hover {
  background: linear-gradient(180deg, #fafbfc, #f1f3f5);
  border-color: #bbb;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 2px 4px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.djf-grabadora-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15) inset;
  background: linear-gradient(180deg, #f1f3f5, #e9ecef);
}

/* ============================================================
   ZONA DE DESCARGA
   ============================================================ */

.djf-grabadora-download-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding-top: 4px;
}

.djf-grabadora-btn--back-download {
  align-self: flex-start;
}

.djf-grabadora-download-divider {
  width: 100%;
  height: 1px;
  background: #ebebeb;
}

.djf-grabadora-btn--download {
  padding: 9px 22px;
  font-weight: 600;
  font-size: 13px !important;
  border-color: #f8d058;
  background: linear-gradient(180deg, #ffd95a, #f8c040);
  border-width: 2px;
}

.djf-grabadora-btn--download-2 {
  padding: 9px 22px;
  font-weight: 600;
  font-size: 13px !important;
  border-color: #dbd6c8;
  background: linear-gradient(180deg, #fffbee, #d8d5cf);
  border-width: 2px;
  margin-bottom: 20px;
}

.djf-grabadora-btn--download:hover {
  background: linear-gradient(180deg, #ffe170, #f8cc50);
  border-color: #d09000;
}

.djf-grabadora-btn--download-2:hover {
  background: linear-gradient(180deg, #fffbee, #ece1ca);
  border-color: #d09000;
}

.djf-grabadora-download-label {
  margin: 0;
  font-size: 16px;
  color: #555;
  font-weight: 500;
}

.djf-grabadora-download-btns {
  display: flex;
  gap: 10px;
}

.djf-grabadora-btn--new {
  border-radius: 50px;
}

.djf-grabadora-btn--new:hover {
  color: #555;
}

/* ============================================================
   FEEDBACK
   ============================================================ */

.djf-grabadora-feedback {
  margin-top: 8px;
  font-size: 13px;
  color: #888;
  min-height: 18px;
  text-align: center;
  padding: 0 16px;
}

/* ============================================================
   UTILIDADES
   ============================================================ */

.djf-grabadora-btn--hidden {
  display: none !important;
}

/* Controles temporalmente no disponibles mientras se decodifica el audio real
   (ver estado editorReady en normalizer-online.js) */
.djf-cutter-disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: default;
}

/* ============================================================
   EDITOR
   ============================================================ */

.djf-grabadora-editor-screen {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 100%;
}

/* ── Waveform completa ── */
.djf-grabadora-editor-waveform-wrap {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: visible;
  cursor: pointer;
  height: 120px;
  touch-action: none;
  margin-top: 22px;
}
.djf-grabadora-editor-canvas,
.djf-grabadora-editor-playhead {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  border-radius: 8px;
}

.djf-grabadora-editor-playhead {
  pointer-events: none;
}

.djf-cutter-waveform-placeholder-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 13px;
  font-weight: 600;
  color: #6b6b6b;
  white-space: nowrap;
  pointer-events: none;
  z-index: 12;
  text-shadow:
    0 0 4px #fff,
    0 0 8px #fff,
    0 0 14px #fff,
    0 0 14px #fff;
}

.djf-grabadora-editor-canvas {
  display: block;
  width: 100%;
  height: 120px;
  border-radius: 8px;
}

/* Cursores según zona de la selección de trim */
.djf-grabadora-editor-waveform-wrap.djf-cutter-cursor-seek {
  cursor: pointer;
}

.djf-grabadora-editor-waveform-wrap.djf-cutter-cursor-grab {
  cursor: grab;
}

.djf-grabadora-editor-waveform-wrap.djf-cutter-cursor-grabbing {
  cursor: grabbing;
}

/* ── Controles del editor ── */
.djf-grabadora-editor-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ── Botones icon-only (play/pause, stop) ── */
.djf-grabadora-btn--icon-only {
  min-width: 0;
  width: 42px;
  height: 42px;
  padding: 0;
  justify-content: center;
  border-radius: 50%;
}

.djf-grabadora-btn--icon-only span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.djf-grabadora-btn--play {
  position: relative;
}

.djf-grabadora-btn--stop {
  position: relative;
}

/* ── Botón loop: inactivo / activo ── */
.djf-grabadora-btn--loop {
  min-width: 90px;
  justify-content: center;
}

.djf-grabadora-btn--loop.active {
  border-color: #f8d058;
  background: linear-gradient(180deg, #fffbee, #fff8e0);
  color: #1a1a1a;
  box-shadow:
    0 0 0 2px #f8d058,
    0 0 0 4px rgba(248, 208, 88, 0.15);
}

.djf-grabadora-btn--play.active {
  border-color: #f8d058;
  background: linear-gradient(180deg, #fffbee, #fff8e0);
  color: #1a1a1a;
  box-shadow:
    0 0 0 2px #f8d058,
    0 0 0 4px rgba(248, 208, 88, 0.15);
}

/* Invita a pulsar Play mientras el audio real aún se está preparando (preview) */
.djf-grabadora-btn--play.djf-cutter-pulse {
  animation: djf-cutter-play-pulse 1.6s ease-in-out infinite;
}

@keyframes djf-cutter-play-pulse {
  0%, 100% {
    background: linear-gradient(180deg, #ffffff, #f8f9fa);
    border-color: #d0d0d0;
  }
  50% {
    background: linear-gradient(180deg, #ffd95a, #f8c040);
    border-color: #f8d058;
  }
}

/* ── Botón Normalización (muestra/oculta el panel; siempre activo) ── */
.djf-cutter-btn--norm {
  min-width: 90px;
  justify-content: center;
}

.djf-cutter-btn--norm.active {
  border-color: #f8d058;
  background: linear-gradient(180deg, #fffbee, #fff8e0);
  color: #1a1a1a;
  box-shadow:
    0 0 0 2px #f8d058,
    0 0 0 4px rgba(248, 208, 88, 0.15);
}

/* ── Botón guardar ── */
.djf-grabadora-btn--save {
  min-width: 110px;
  justify-content: center;
  border-color: #f8d058;
  background: linear-gradient(180deg, #ffd95a, #f8c040);
  color: #1a1a1a;
  font-weight: 600;
  border-width: 2px;
}

.djf-grabadora-btn--save:hover {
  background: linear-gradient(180deg, #ffe170, #f8cc50);
  border-color: #d09000;
}

/* ── Handles de recorte (trim) ── */
.djf-grabadora-editor-handle {
  position: absolute;
  top: 0;
  width: 28px;
  height: 100%;
  cursor: ew-resize;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  touch-action: none;
}

.djf-grabadora-editor-handle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: #e63030;
}

.djf-grabadora-editor-handle-grip {
  position: relative;
  width: 12px;
  height: 28px;
  background: #e63030;
  border-radius: 4px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.djf-grabadora-editor-handle-grip::before,
.djf-grabadora-editor-handle-grip::after {
  content: '';
  width: 1.5px;
  height: 12px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
}

/* ── Handles de fade (in / out) ── */
.djf-cutter-fade-handle {
  position: absolute;
  top: 0;
  width: 36px;
  height: 100%;
  cursor: ew-resize;
  transform: translateX(-50%);
  z-index: 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  touch-action: none;
}

.djf-cutter-fade-handle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1.5px;
  height: 100%;
  background: #687888;
  opacity: 0.85;
}

.djf-cutter-fade-handle .djf-grabadora-editor-handle-timer {
  color: #2a6bb0;
  border-color: #b8d4f0;
}

.djf-cutter-fade-handle-grip {
  position: relative;
  width: 8px;
  height: 22px;
  background: #687888;
  border-radius: 3px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.djf-cutter-fade-handle-grip::before {
  content: '';
  width: 1.5px;
  height: 10px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
}

/* ── Botón recortar / quitar recorte ── */
.djf-grabadora-btn--trim {
  min-width: 150px;
  justify-content: center;
}

.djf-grabadora-btn--trim.active {
  border-color: #e63030;
  background: linear-gradient(180deg, #fff5f5, #ffecec);
  color: #c00;
}

.djf-grabadora-btn--trim.active:hover {
  background: linear-gradient(180deg, #ffecec, #ffe0e0);
  border-color: #c00;
}

/* ── Botón Fades (muestra/oculta los dos paneles) ── */
.djf-cutter-btn--fades {
  min-width: 110px;
  justify-content: center;
}

.djf-cutter-btn--fades.active {
  border-color: #f8d058;
  background: linear-gradient(180deg, #fffbee, #fff8e0);
  color: #1a1a1a;
  box-shadow:
    0 0 0 2px #f8d058,
    0 0 0 4px rgba(248, 208, 88, 0.15);
}

/* ── Timers del editor ── */
.djf-grabadora-editor-duration-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-top: 0px;
  gap: 12px;
  margin-top: -8px
}

.djf-grabadora-editor-duration-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.djf-grabadora-editor-duration-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.djf-grabadora-editor-duration-text {
  font-size: 14px;
  color: #888;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.djf-grabadora-editor-duration-text span {
  font-weight: 600;
  color: #555;
}

.djf-grabadora-editor-duration-text span.djf-timer-yellow {
  color: #e0a800;
}

/* Timer flotante sobre handles y cabezal */
.djf-grabadora-editor-handle-timer {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 600;
  color: #e63030;
  background: rgba(255,255,255,0.92);
  border: 1px solid #f0c0c0;
  border-radius: 4px;
  padding: 1px 5px;
  white-space: nowrap;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
  z-index: 20;
}

.djf-grabadora-editor-playhead-timer {
  position: absolute;
  top: -22px;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 600;
  color: #e63030;
  background: rgba(255,255,255,0.92);
  border: 1px solid #f0c0c0;
  border-radius: 4px;
  padding: 1px 5px;
  white-space: nowrap;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
  z-index: 15;
}

.djf-grabadora-download-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.djf-grabadora-download-timer-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

#djf-grabadora-download-timer {
  font-size: 40px;
}

.djf-grabadora-mp3-progress-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.djf-grabadora-mp3-progress-label {
  font-size: 13.5px;
  color: #888;
  text-align: center;
}

.djf-grabadora-mp3-progress-bar-bg {
  width: 100%;
  height: 6px;
  background: #e8e8e8;
  border-radius: 6px;
  overflow: hidden;
}

.djf-grabadora-mp3-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ffd95a, #f8c040);
  border-radius: 6px;
  transition: width 0.2s ease;
}

.djf-grabadora-mp3-progress-bar.indeterminate {
  width: 100% !important;
  background: linear-gradient(90deg, #f8c040 0%, #ffe170 50%, #f8c040 100%);
  background-size: 200% 100%;
  animation: djf-progress-indeterminate 1.2s linear infinite;
}

@keyframes djf-progress-indeterminate {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================================
   PANTALLA DE ELECCIÓN (solo cargar)
   ============================================================ */

.djf-cutter-choose-screen {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  width: 100%;
  padding-top: 6px;
}

.djf-reverser-choose-subtitle {
  margin-bottom: 10px;
  font-size: 24px;
  color: #342e2e;
  text-align: center;
  font-style: italic;
}

.destacado-tool {
  margin: 5px 0px 0px 20px !important;
  font-size: 15px !important;
}

/* ── Dropzone ── */
.djf-reverser-dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 36px 20px;
  border: 2px dashed;
  border-radius: 12px;
  border-color: #f8c040;
  background: rgba(248, 208, 88, 0.05);
  color: #888;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.djf-reverser-dropzone:hover {
  background: #fff5e1;
  color: #555;
}

.djf-reverser-dropzone.dragover {
  border-color: #f8c040;
  background: rgba(248, 208, 88, 0.12);
  color: #1a1a1a;
  box-shadow: 0 0 0 3px rgba(248, 208, 88, 0.15);
}

.djf-reverser-dropzone svg {
  color: #f8c040;
  margin-bottom: 4px;
}

.djf-reverser-dropzone-text {
  font-size: 16.5px;
  font-weight: 600;
  color: #1a1a1a;
}

.djf-reverser-dropzone-hint {
  font-size: 13.5px;
  color: #999;
}

.djf-reverser-file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* ============================================================
   PANELES DE PRECISIÓN (trim / fades)
   ============================================================ */

.djf-cutter-panels-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  justify-content: center;
}

.djf-cutter-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  flex: 0 0 auto;
  background: #f8f9fa;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 8px 14px;
}

.djf-cutter-panel--trim {
  border-color: #d8d8d8;
  background: #fff;
}

.djf-cutter-panel--fade {
  border-color: #d8d8d8;
  background: #fff;
}

.djf-cutter-panel-field {
  display: flex;
  align-items: center;
  gap: 6px;
}

.djf-joiner-trim-step-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #fff;
  color: #c12f2f;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 2px 6px rgba(248, 208, 88, 0.35);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  touch-action: manipulation;
  transition: all 0.1s ease;
}

.djf-joiner-trim-step-btn:hover {
  background: #f3f3f3;
  border-color: #c0c0c0;
}

.djf-joiner-trim-step-btn:active {
  background: #e8e8e8;
}


.djf-cutter-panel-field label {
  font-size: 14px;
  font-weight: 600;
  color: #585555;
  white-space: nowrap;
}

.djf-cutter-panel-field input[type="number"],
.djf-cutter-panel-radio--custom input[type="number"] {
  width: 58px;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 4px 6px;
  font-size: 13px;
  font-family: inherit;
  color: #1a1a1a;
  text-align: right;
  -moz-appearance: textfield;
}

.djf-cutter-time-input {
  width: 72px !important;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 4px 6px !important;
  font-size: 13px;
  font-family: inherit;
  color: #1a1a1a;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.djf-cutter-time-input:focus {
  outline: none;
  border-color: #f8c040;
  box-shadow: 0 0 0 2px rgba(248, 208, 88, 0.2);
}

.djf-cutter-panel-field input[type="number"]::-webkit-inner-spin-button,
.djf-cutter-panel-field input[type="number"]::-webkit-outer-spin-button,
.djf-cutter-panel-radio--custom input[type="number"]::-webkit-inner-spin-button,
.djf-cutter-panel-radio--custom input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.djf-cutter-panel-field input[type="number"]:focus,
.djf-cutter-panel-radio--custom input[type="number"]:focus {
  outline: none;
  border-color: #f8c040;
  box-shadow: 0 0 0 2px rgba(248, 208, 88, 0.2);
}

.djf-cutter-panel-field span,
.djf-cutter-panel-radio--custom > span {
  font-size: 12px;
  color: #999;
}

.djf-cutter-panel-label {
  font-size: 14px;
  font-weight: 600;
  color: #555;
  white-space: nowrap;
}

.djf-cutter-panel-radio {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #605e5e;
  cursor: pointer;
  white-space: nowrap;
}

.djf-cutter-panel-radio input[type="radio"] {
  accent-color: #687888;
  cursor: pointer;
  margin: 0;
}

.djf-cutter-panel-radio--custom {
  gap: 6px;
}

/* ── Botón power (fades y botón de info) ── */
.djf-cutter-fade-power {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid #c8cdd5;
  background: #fff;
  color: #9aa3ad;
  cursor: pointer;
  transition: all 0.15s ease;
  touch-action: manipulation;
}

.djf-cutter-fade-power:hover {
  border-color: #aab2bb;
  color: #687888;
}

.djf-cutter-fade-power.active {
  border-color: #e0a800;
  background: linear-gradient(135deg, #ffd95a 0%, #f8c040 100%);
  color: #1a1a1a;
}

/* Fade apagado: el panel sigue visible pero atenuado; solo el power sigue operativo */
.djf-cutter-panel--off > *:not(.djf-fade-pw) {
  opacity: 0.4;
  pointer-events: none;
}

.djf-fade-pw {
  margin-left: 4px;
  flex-shrink: 0;
}

/* ============================================================
   PANTALLA DE ERROR DE CARGA
   ============================================================ */

.djf-cutter-error-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 30px 20px;
  text-align: center;
}

.djf-cutter-error-message {
  margin: 0;
  font-size: 15px;
  color: #c00;
}

.djf-grabadora-btn--reset {
  min-width: 130px;
  justify-content: center;
}

.djf-grabadora-editor-back-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-top: 4px;
  border-top: 1px solid #ebebeb;
}

/*linea choose*/
/* Línea separadora "o" entre descargas principales y M4A */
.djf-cutter-choose-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 10px 0;
  max-width: 300px;
  opacity: 70%;
}

.djf-cutter-choose-divider::before,
.djf-cutter-choose-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #b0b0b0;
}

.djf-cutter-choose-divider span {
  padding: 0 10px;
  color: #999;
  font-size: 13px;
}

/* ============================================================
   PANEL DE NORMALIZACIÓN (reutiliza las clases del antiguo módulo de ganancia)
   ============================================================ */

.djf-eq-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #ffffff8f;
  border-radius: 10px;
  padding: 10px 12px 12px;
  width: 1030px !important;
  margin: 0 auto;
  border: 1px solid #cfcbcb;
}

.djf-eq-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.djf-eq-small-btn {
  padding: 5px 12px;
  font-size: 12.5px;
}

.djf-eq-meter {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 140px;
  min-width: 0;
}

.djf-eq-meter-track {
  position: relative;
  flex: 1;
  height: 8px;
  background: #e8e8e8;
  border-radius: 6px;
  overflow: hidden;
}

.djf-eq-meter-bar {
  height: 100%;
  width: 0;
  background: #6fcf7a;
}

.djf-eq-meter-bar.warn { background: #f8c040; }
.djf-eq-meter-bar.hot  { background: #e63030; }

.djf-eq-clip {
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #d0d0d0;
  background: #fff;
  color: #b0b0b0;
  cursor: pointer;
}

.djf-eq-clip.active {
  background: #e63030;
  border-color: #c00;
  color: #fff;
}

/* LED de saturación y aviso */
.djf-eq-clip {
  cursor: default;
  user-select: none;
  transition: all 0.15s ease;
}

.djf-eq-clip.tight {
  background: #fff3d0;
  border-color: #f8c040;
  color: #b07d00;
}

.djf-eq-clip.risk {
  background: #e63030;
  border-color: #c00;
  color: #fff;
}

.djf-eq-warn {
  margin: -6px;
  padding: 2px 5px 2px 5px;
  line-height: 1.30;
  text-align: center;
  font-size: 12.5px;
  color: #a02020;
  background: #fff1f1;
  border: 1px solid #f0c0c0;
  border-radius: 8px;
}

/* Marca de 0 dB en la barra, ayudas y leyenda */
.djf-eq-meter-track::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 92.3%;
  width: 1px;
  background: rgba(0, 0, 0, 0.35);
}

.djf-eq-meter-bar {
  transition: width 0.06s linear;
}

.djf-eq-auto-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  max-width: 230px;
}

.djf-eq-help {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.3;
  color: #8a8a8a;
  margin-top: 8px;
}

.djf-eq-legend {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: -9px;
}

.djf-eq-legend p {
  position: relative;
  margin: 0;
  padding-left: 16px;
  font-size: 12px;
  line-height: 1.35;
  color: #777;
}

.djf-eq-legend p::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.djf-eq-legend-tight::before { background: #f8c040; }
.djf-eq-legend-risk::before  { background: #e63030; }

/* ── Módulo ── */
.djf-gain-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #555;
}

.djf-gain-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.djf-gain-body .djf-eq-meter,
.djf-gain-body .djf-eq-warn {
  width: 100%;
  max-width: 440px;
  flex: none;
}

.djf-gain-body .djf-eq-legend {
  width: 100%;
  max-width: 540px;
  flex: none;
}

.djf-gain-body .djf-eq-auto-wrap {
  align-items: center;
  max-width: 380px;
  text-align: center;
}

.djf-eq-legend-ok::before { background: #6fcf7a; }

.djf-eq-peak-db {
  min-width: 62px;
  font-size: 12px;
  font-weight: 600;
  color: #555;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ── Botón de info y overlay ── */
.djf-gain-panel .djf-eq-panel-header {
  justify-content: flex-start;
}

.djf-gain-info-btn {
  margin-left: auto;
  width: 30px;
  height: 30px;
  color: #514f4f;
}

.djf-info-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(20, 30, 50, 0.45);
}

.djf-info-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  width: 100%;
  max-width: 460px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 18px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.djf-info-card h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
}

.djf-info-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: #555;
}

.djf-info-card .djf-grabadora-btn {
  align-self: center;
  margin-top: 4px;
}

/* ── Aviso en la pantalla de descarga ── */
.djf-dl-warn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 440px;
  padding: 9px 12px;
  background: #fff8e6;
  border: 1px solid #f8d058;
  border-radius: 8px;
  text-align: center;
}

.djf-dl-warn p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: #7a5a00;
}

/* ── Durante la preparación de la descarga ── */
.djf-exporting .djf-grabadora-editor-handle,
.djf-exporting .djf-cutter-fade-handle {
  pointer-events: none; /* el clic atraviesa y hace seek en la waveform */
}

.djf-exporting [inert] {
  opacity: 0.5;
}

/* ── Botón Normalizar: check de "normalizado" ── */
.djf-eq-auto-check {
  display: none;
}

#djf-eq-auto-btn.active {
  border-color: #4caf50;
  background: linear-gradient(180deg, #f3fbf4, #e6f6e8);
  color: #1f6b27;
  box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.35);
}

#djf-eq-auto-btn.active .djf-eq-auto-check {
  display: inline-block;
}

#djf-eq-auto-btn {
  font-size: 15px;
  padding: 10px 20px 10px 20px;
  border: 1px solid transparent;
  box-shadow: inset 0 0 0 3px #f8d058;

}

/* ── Normalizador: línea de análisis y acciones ── */
.djf-norm-analysis {
  margin: 0;
  width: 100%;
  max-width: 440px;
  min-height: 18px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #555;
  font-variant-numeric: tabular-nums;
}

.djf-norm-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 10px 16px;
  width: 100%;
}

.djf-norm-revert {
  padding: 4px 10px;
  font-size: 13.5px;
}

.djf-norm-revert:disabled {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

/* ============================================================
   V2: TARJETAS DE ANÁLISIS
   ============================================================ */
.djf-norm-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  max-width: 440px;
}

.djf-norm-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  padding: 8px 6px;
  background: #fff;
  border: 1px solid #e0e3e7;
  border-radius: 10px;
  text-align: center;
}

.djf-norm-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #999;
}

.djf-norm-card-val {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  color: #333;
  font-variant-numeric: tabular-nums;
}

.djf-norm-card-unit {
  min-height: 14px;
  font-size: 11.5px;
  font-weight: 500;
  color: #8a8a8a;
}

.djf-norm-card--gain {
  background: linear-gradient(180deg, #fffbee, #fff3cc);
  border-color: #f8d058;
}

.djf-norm-card--gain .djf-norm-card-val { color: #1a1a1a; }

.djf-norm-card--limited {
  background: #fff8e6;
  border-color: #f0b830;
}

.djf-norm-card--limited .djf-norm-card-val { color: #b07d00; }

.djf-norm-sub {
  margin: -4px 0 0;
  font-size: 12.5px;
  color: #777;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.djf-norm-limit {
  margin: 0;
  width: 100%;
  max-width: 440px;
  padding: 6px 10px;
  font-size: 12.5px;
  line-height: 1.35;
  text-align: center;
  color: #7a5a00;
  background: #fff8e6;
  border: 1px solid #f8d058;
  border-radius: 8px;
}

/* ============================================================
   V2: AVANZADO (DESPLEGABLE)
   ============================================================ */
.djf-norm-adv {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  overflow: hidden;
}

.djf-norm-adv-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 13.5px;
  color: #333;
  cursor: pointer;
  text-align: left;
  touch-action: manipulation;
}

.djf-norm-adv-toggle:hover { background: #fafbfc; }

.djf-norm-adv-toggle:focus-visible {
  outline: 2px solid rgba(248, 192, 64, 0.8);
  outline-offset: -2px;
}

.djf-norm-adv-gear { flex-shrink: 0; color: #687888; }

.djf-norm-adv-title { font-weight: 600; }

.djf-norm-adv-summary {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12.5px;
  color: #8a8a8a;
}

.djf-norm-adv-summary::before { content: '· '; }

.djf-norm-adv-chevron {
  flex-shrink: 0;
  color: #687888;
  transition: transform 0.25s ease;
}

.djf-norm-adv.open .djf-norm-adv-chevron { transform: rotate(180deg); }

.djf-norm-adv.open .djf-norm-adv-toggle { border-bottom: 1px solid #ebebeb; }

/* Animación de altura sin conocer la altura final */
.djf-norm-adv-body {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.25s ease, visibility 0s linear 0.25s;
}

.djf-norm-adv.open .djf-norm-adv-body {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.25s ease, visibility 0s;
}

.djf-norm-adv-inner {
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 12px;
}

.djf-norm-adv.open .djf-norm-adv-inner { padding: 12px; }

/* Selector de método */
.djf-norm-method {
  display: inline-flex;
  align-self: center;
  gap: 4px;
  padding: 3px;
  background: #eceff2;
  border-radius: 50px;
}

.djf-norm-method-btn {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: #777;
  padding: 5px 16px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.15s ease;
  touch-action: manipulation;
}

.djf-norm-method-btn.active {
  background: #fff;
  color: #1a1a1a;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.djf-norm-pane {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Chips */
.djf-norm-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.djf-norm-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  min-width: 64px;
  padding: 6px 10px;
  border: 1px solid #d0d0d0;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff, #f8f9fa);
  font-family: inherit;
  color: #333;
  cursor: pointer;
  transition: all 0.15s ease;
  touch-action: manipulation;
}

.djf-norm-chip:hover { border-color: #bbb; }

.djf-norm-chip.active {
  border-color: #f8d058;
  background: linear-gradient(180deg, #fffbee, #fff8e0);
  box-shadow: 0 0 0 2px #f8d058;
}

.djf-norm-chip-main {
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.djf-norm-chip-sub {
  font-size: 10.5px;
  font-weight: 500;
  color: #8a8a8a;
}

.djf-norm-desc {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #777;
  text-align: center;
}

/* Campos */
.djf-norm-custom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
}

.djf-norm-field {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.djf-norm-field label {
  font-size: 12.5px;
  font-weight: 600;
  color: #585555;
  white-space: nowrap;
}

.djf-norm-input {
  width: 78px;
  padding: 5px 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  color: #1a1a1a;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.djf-norm-input:focus {
  outline: none;
  border-color: #f8c040;
  box-shadow: 0 0 0 2px rgba(248, 208, 88, 0.2);
}

.djf-norm-peak-warn {
  margin: 0;
  padding: 5px 8px;
  font-size: 12px;
  text-align: center;
  color: #7a5a00;
  background: #fff8e6;
  border: 1px solid #f8d058;
  border-radius: 8px;
}

/* ============================================================
   V2.5: LIMITADOR (interruptor)
   ============================================================ */
.djf-norm-lim {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px dashed #e0e3e7;
}

.djf-norm-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 2px 4px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #585555;
  cursor: pointer;
  touch-action: manipulation;
}

.djf-norm-switch:focus-visible {
  outline: 2px solid rgba(248, 192, 64, 0.8);
  outline-offset: 2px;
  border-radius: 20px;
}

.djf-norm-switch-track {
  position: relative;
  flex-shrink: 0;
  width: 38px;
  height: 22px;
  border: 1.5px solid #c8cdd5;
  border-radius: 20px;
  background: #e8e8e8;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.djf-norm-switch-thumb {
  position: absolute;
  top: 50%;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transform: translateY(-50%);
  transition: left 0.2s ease;
}

.djf-norm-switch.active .djf-norm-switch-track {
  background: linear-gradient(135deg, #ffd95a 0%, #f8c040 100%);
  border-color: #e0a800;
}

.djf-norm-switch.active .djf-norm-switch-thumb {
  left: 18px;
}

.djf-norm-switch:disabled {
  cursor: default;
}

.djf-norm-meter-note {
  width: 100%;
  max-width: 440px;
  margin: -4px 0 0;
  text-align: center;
}

select.djf-norm-input {
  width: auto;
  min-width: 96px;
}

.djf-norm-ceil-warn {
  flex-basis: 100%;
}

/* ============================================================
   UI v2: modos, cabecera centrada, análisis y acciones
   ============================================================ */
.djf-gain-panel .djf-eq-panel-header {
  position: relative;
  justify-content: center;
  min-height: 30px;
}

.djf-gain-panel .djf-gain-title {
  font-size: 20px;
  font-weight: 700;
  color: #333;
}

.djf-gain-panel .djf-gain-info-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  margin-left: 0;
  transform: translateY(-50%);
}

.djf-norm-modes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

/* Botón activo: solo la parte visible (no el panel desplegado) */
.djf-norm-adv-toggle.active {
  background: linear-gradient(180deg, #fffbee, #fff8e0);
  box-shadow: inset 0 0 0 2px #f8d058;
}

.djf-norm-analysis-label, .djf-norm-titu-label {
  margin: 0px 0 -6px;
  width: 100%;
  max-width: 440px;
  padding-left: 10px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: #858585;
  padding-bottom: 4px;
}



.djf-norm-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 440px;
}

.djf-norm-actions .djf-norm-revert { align-self: flex-start; }

.djf-info-legend-title {
  margin-top: 4px;
  font-weight: 700;
  color: #1a1a1a;
}

.djf-info-card .djf-eq-legend { margin-top: 0; }

/* ============================================================
   UI v2: dos columnas en paneles anchos
   ============================================================ */
.djf-gain-body { container-type: inline-size; }

.djf-norm-cols {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

@container (min-width: 820px) {
  .djf-norm-cols {
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
    max-width: 970px;
  }
  .djf-norm-col { flex: 1 1 0; }

  .djf-norm-actions { max-width: none; }
}

.djf-norm-actions { align-items: flex-end; }

.djf-norm-actions .djf-eq-auto-wrap {
  align-items: flex-end;
  text-align: right;
}

.djf-norm-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.djf-choose-video-hint {
  margin: -13px 0 12px;
  font-size: 13.5px;
  color: #9a9a9a;
  text-align: center;
}

/* ============================================================
   V2: GLOSARIO
   ============================================================ */
.djf-norm-gloss {
  width: 100%;
  max-width: 440px;
  border-top: 1px solid #ebebeb;
  padding-top: 8px;
}

.djf-norm-gloss summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #585555;
  padding: 2px 0;
}

.djf-norm-gloss summary:focus-visible {
  outline: 2px solid rgba(248, 192, 64, 0.8);
  outline-offset: 2px;
}

.djf-norm-gloss dl { margin: 8px 0 0; }

.djf-norm-gloss dt {
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: #333;
}

.djf-norm-gloss dd {
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #777;
}

.djf-info-card .djf-info-meter-note {
  font-size: 12.5px;
  color: #777;
}

/* ============================================================
   V2: DIÁLOGO "¿MANTENER AJUSTES?"
   ============================================================ */
.djf-keep-card p { white-space: pre-line; }

.djf-keep-btns {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.djf-keep-card .djf-grabadora-btn {
  align-self: auto;
  margin-top: 4px;
  min-width: 80px;
  justify-content: center;
}

/* Tarjeta de progreso: fija en la ventana, siempre visible */
.djf-safe-progress-card {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(320px, 90vw);
  padding: 14px 18px;
  background: #fff;
  border: 1px solid #f8d058;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  z-index: 99998;
  pointer-events: none;
}

/* ── Power de los fades (botón redondo) ── */
.djf-gfx-pw {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #b5bbc2;
  cursor: pointer;
  transition: color 0.15s ease;
  touch-action: manipulation;
  border: 1px solid #bbb;
  border-radius: 19px;
}

.djf-gfx-pw:hover { color: #8a929b; }
.djf-gfx-pw.active { color: #c98f00; }

/* El aviso oculto conserva su hueco (se anula para el aviso de "desactualizado") */
.djf-eq-warn.djf-grabadora-btn--hidden {
  display: block !important;
  visibility: hidden;
}

#djf-norm-stale {
  margin: 0;
  padding: 6px 10px;
}

#djf-norm-stale.djf-grabadora-btn--hidden {
  display: none !important;
  visibility: visible;
}

.djf-safe-progress-card .djf-safe-cancel {
  align-self: center;
  margin-top: 10px;
  pointer-events: auto;
}

.djf-track-name {
  font-size: 14px;
  font-weight: 600;
  color: #2e2d2d;
  margin-bottom: -12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.djf-info-list {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.djf-info-list li {
  font-size: 13.5px;
  line-height: 1.45;
  color: #555;
}

.djf-info-list strong { color: #1a1a1a; }

.djf-info-card .djf-info-note {
  font-size: 12px;
  color: #8a8a8a;
}

/* ============================================================
   RESPONSIVE — MÓVIL
   ============================================================ */

@media (max-width: 1190px) {
  .djf-cutter-panels-row {
    justify-content: center;
  }
}

#djf-cutter-fadein-custom-input,
#djf-cutter-fadeout-custom-input,
#djf-cutter-trim-start-input,
#djf-cutter-trim-end-input, .djf-norm-input{
  font-size: 16px !important;    /* Evita el zoom de Safari en iPhones e iPads */
  transform: scale(0.83);        /* Visualmente lo encoge al equivalente de ~13px */
  transform-origin: left center;
  width: 78px !important;        /* Compensa la reducción de ancho */
  margin-right: -15px;
}

.djf-grabadora-body {
  padding: 0px 7px 4px;
}


@media (max-width: 1095px) {
.djf-eq-panel {
width: 100% !important;}}

@media (max-width: 891px) {
.djf-norm-analysis-label {
  margin: 30px 0 -6px;}
}

@media (max-width: 700px) {
  .djf-reverser-choose-subtitle {
    line-height: 1.2;
  }
}

@media (max-width: 670px) {
  .djf-gfx-pw {
    width: 24px;
    height: 24px;
  }

  .djf-gfx-pw svg {
    width: 13px;
    height: 13px;
  }

  .djf-eq-panel-header {
    padding: 0 4px 0;
    flex-wrap: wrap;
  }

  .djf-grabadora-body {
    gap: 22px;
  }

  .djf-grabadora-btn {
    padding: 7px 12px;
    gap: 4px;
  }

  .djf-grabadora-editor-controls {
    gap: 8px;
  }

  .djf-grabadora-btn--icon-only {
    width: 38px;
    height: 38px;
  }

  .djf-grabadora-btn--trim {
    min-width: 120px;
  }

  .djf-cutter-btn--fades {
    min-width: 100px;
  }

  .djf-cutter-btn--norm {
    min-width: 80px;
  }

  .djf-grabadora-editor-waveform-wrap,
  .djf-grabadora-editor-canvas,
  .djf-grabadora-editor-playhead {
    height: 106px;
  }

  .djf-reverser-dropzone {
    padding: 28px 16px;
  }

  .djf-eq-panel {
    padding: 8px 2px 10px;
  }
}

@media (max-width: 600px) {
  .djf-cutter-panel {
    padding: 7px 10px;
    gap: 8px;
  }

  .djf-cutter-panel-field input[type="number"],
  .djf-cutter-panel-radio--custom input[type="number"] {
    width: 50px;
  }
}

@media (max-width: 490px) {
  .djf-gain-panel {
    padding: 4px 9px 10px;
  }
}

@media (max-width: 456px) {

  .djf-norm-method-btn {
    padding: 5px 12px;
    font-size: 12.5px;
  }

  .djf-norm-method { max-width: 100%; }

  .djf-norm-switch { font-size: 12.5px; }

  .djf-norm-card-val { font-size: 19px; }

  .djf-norm-card { padding: 7px 3px; }

  .djf-norm-chip { min-width: 58px; padding: 5px 8px; }
/*
  .djf-norm-input {
    font-size: 16px;                  evita el zoom de Safari en iPhone 
    width: 84px;
  }
*/
}

@media (max-width: 430px) {
  .djf-cutter-panel {
    padding: 7px 5px;
    gap: 6px;
  }

  .djf-grabadora-body {
    padding: 0px 5px 4px;
  }
}

@media (max-width: 402px) {
  .djf-cutter-panel-radio:not(.djf-cutter-panel-radio--custom),
  .djf-cutter-panel-radio--custom input[type="radio"] {
    display: none;
  }
}

@media (max-width: 390px) {
  .djf-grabadora-title h1 {
    font-size: 17px;
  }

  .djf-grabadora-btn {
    padding: 5px 7px;
    gap: 3px;
  }

  .djf-grabadora-header {
    padding: 14px 1px 0;
  }
}

@media (max-width: 360px) {
  #djf-cutter-fadein-custom-input,
  #djf-cutter-fadeout-custom-input,
  #djf-cutter-trim-start-input,
  #djf-cutter-trim-end-input {
    transform: scale(0.83);
    margin-top: -7px;
  }
}

@media (max-width: 355px) {
  .djf-joiner-trim-step-btn {
    width: 20px;
    height: 20px;
    font-size: 13px;
  }

  .djf-cutter-panel-field {
    gap: 4px;
  }

  .djf-cutter-time-input {
    margin-top: 0px !important;
    padding: 4px 3px !important;
  }

  .djf-cutter-panel {
    padding: 3px 4px;
  }

  .djf-cutter-panel-field label {
    font-size: 12px;
  }

  .djf-grabadora-editor-duration-text {
    font-size: 13px;
  }
}

/* AD v1 */
.ad-slot--in-content {
    width: 100%;
    min-height: 100px;
    margin-bottom: 15px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

@media (max-width: 1009px) {
    .ad-slot--in-content {
        min-height: 0;
        margin-bottom: 0;
    }
    .destacado-tool {
        display: none !important;
    }
}