/* ==========================================================================
   ESTILO 3 — REPRODUCTOR DE AUDIO DELGADO PERSONALIZADO (980 x 24 px)
   Contenedor #07070a con puntas redondeadas y cortes de sección exactos
   ========================================================================== */
:root {
  --btn-light: #e8fcff;
  --btn-mid: #9ee6ff;
  --btn-dark: #58b4d8;
  --btn-icon: #04131a;

  --lcd-top: #008eb4;
  --lcd-bottom: #00c4ea;
  --lcd-border: #6bf4ff;
  --lcd-text: #ffffff;
  --lcd-shadow: #00475b;

  --accent-line: #00d8ff;
  --wa-cyan: #6bf4ff;
}

/* ==========================================================================
   SINCRONIZACIÓN VISUAL CON EL WIDGET SUPERIOR "EN VIVO" (.hder-type3__live)
   ========================================================================== */
.hder-type3__live .hder-live-cover img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.hder-type3__live .hder-live-text {
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
}

@media (max-width: 640px) {
  .hder-type3__live .hder-live-text {
    max-width: 160px;
  }
}

#waAudio {
  position: fixed;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Contenedor fijo inferior */
.wa-shade-wrap {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 10px 8px;
  pointer-events: none;
}

.wa-shade-wrap > * {
  pointer-events: auto;
}

.wa-shade-wrap.is-hidden {
  display: none !important;
}

.wa-bar-drop-shadow {
  filter: drop-shadow(0 5px 14px rgba(0, 0, 0, 0.65));
  max-width: 100%;
  overflow: visible !important;
}

/* ==========================================================================
   CONTENEDOR PRINCIPAL ULTRA DELGADO Y COMPACTO (780px x 24px)
   ========================================================================== */
.winamp-bar {
  position: relative;
  width: 780px;
  height: 24px;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: visible;
  user-select: none;
  flex-shrink: 0;
  box-sizing: border-box;
}

.winamp-chassis-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #07070a;
  /* Punto medio exacto: radio 4.8px en esquinas rectas y curvas suaves de 6px en los cortes diagonales */
  clip-path: path('M 4.8 0 L 750 0 Q 756 0 761 1.5 L 775.5 5.2 Q 780 6.4 780 10.2 L 780 19.2 Q 780 24 775.2 24 L 30 24 Q 24 24 19 22.5 L 4.5 18.8 Q 0 17.6 0 13.8 L 0 4.8 Q 0 0 4.8 0 Z');
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.winamp-bar *,
.winamp-bar *::before,
.winamp-bar *::after {
  box-sizing: border-box;
}

.chassis-cuts-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.bar-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

/* ==========================================================================
   BOTONES CELESTES 3D CON CAVIDAD DE CORTE (SOCKET)
   ========================================================================== */
.ice-btn {
  position: relative;
  background: radial-gradient(
    circle at 38% 28%,
    var(--btn-light) 0%,
    var(--btn-mid) 54%,
    var(--btn-dark) 100%
  );
  border: 1px solid #020406;
  box-shadow:
    0 0 0 1px #000000,
    0 1px 0 1px rgba(255, 255, 255, 0.14),
    inset 0 1px 0.8px rgba(255, 255, 255, 0.92),
    inset 0 -1px 1px rgba(0, 42, 65, 0.55);
  color: var(--btn-icon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  outline: none;
  flex-shrink: 0;
  line-height: 1;
  transition: filter 0.1s ease, transform 0.06s ease;
}

.ice-btn:hover {
  filter: brightness(1.08);
}

.ice-btn:active,
.ice-btn.is-playing,
.ice-btn.is-active {
  transform: translateY(0.5px);
  box-shadow:
    0 0 0 1px #000,
    0 0 5px var(--accent-line),
    inset 0 1px 1.5px rgba(0, 25, 38, 0.65);
}

/* ==========================================================================
   1. SECCIÓN IZQUIERDA (x: 0..116px) — COMPACTA Y CENTRADA SIN ESPACIO VACÍO
   ========================================================================== */
.sec-transport {
  width: 116px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 6px;
  gap: 6px;
  flex-shrink: 0;
}

.sys-menu-btn {
  width: 9px;
  height: 9px;
  border-radius: 2px;
}

.transport-cluster {
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-seek {
  width: 14px;
  height: 16px;
  border-radius: 50%;
}

.btn-main {
  width: 17px;
  height: 18px;
  border-radius: 50%;
}

.transport-cluster svg {
  width: 9px;
  height: 9px;
  fill: var(--btn-icon);
  display: block;
}

/* ==========================================================================
   2. SECCIÓN VOLUMEN + EJECT/PL/ML (x: 116..280px -> 164px de ancho)
   ========================================================================== */
.sec-volume-utility {
  width: 164px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1px 14px 0 14px;
  gap: 6px;
  flex-shrink: 0;
}

.btn-speaker {
  width: 14px;
  height: 15px;
  border-radius: 50%;
}

.btn-speaker.is-muted {
  filter: hue-rotate(140deg) brightness(0.95);
}

.volume-control {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 58px;
  height: 15px;
  gap: 2.5px;
}

.volume-dots {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3px;
  height: 4px;
}

.volume-dots span {
  display: block;
  border-radius: 50%;
  background: #14181f;
  border: 0.5px solid #000;
  box-shadow: inset 0 1px 1px #000, 0 0.5px 0 rgba(255, 255, 255, 0.22);
}
.volume-dots span:nth-child(1) { width: 1.8px; height: 1.8px; }
.volume-dots span:nth-child(2) { width: 2.1px; height: 2.1px; }
.volume-dots span:nth-child(3) { width: 2.5px; height: 2.5px; }
.volume-dots span:nth-child(4) { width: 2.9px; height: 2.9px; }
.volume-dots span:nth-child(5) { width: 3.3px; height: 3.3px; }
.volume-dots span:nth-child(6) { width: 3.7px; height: 3.7px; }

.volume-track-wrap {
  position: relative;
  width: 58px;
  height: 5px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.volume-track-line {
  width: 100%;
  height: 2px;
  background: #161b22;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.volume-track-fill {
  height: 100%;
  width: 100%;
  background: var(--accent-line);
  box-shadow: 0 0 3px var(--accent-line);
}

.volume-thumb {
  position: absolute;
  right: 0px;
  width: 9px;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--btn-light) 0%, var(--btn-mid) 60%, var(--btn-dark) 100%);
  border: 1px solid #040a0e;
  box-shadow: 0 0 0 1px #000, inset 0 1px 0 #fff;
  pointer-events: none;
}

.wa-sh-volrange-hidden {
  position: absolute;
  inset: -4px 0;
  width: 100%;
  height: 13px;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}

.utility-pill-mold {
  padding: 1.5px;
  border-radius: 9px;
  background: linear-gradient(180deg, #2d343b 0%, #15191e 55%, #0c0f13 100%);
  border: 1px solid #000;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.utility-pill-group {
  display: flex;
  align-items: center;
  gap: 2.5px;
  background: #040507;
  border: 1px solid #000;
  border-radius: 7px;
  padding: 1px 2.5px;
  box-shadow: inset 0 1px 2px #000;
}

.btn-pill-sm {
  width: 14px;
  height: 10px;
  border-radius: 5px;
  font-size: 6px;
  font-weight: 900;
  letter-spacing: -0.3px;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1;
}

/* ==========================================================================
   3. PANTALLA LCD ULTRA DELGADA Y COMPACTA (x: 284..596px)
   ========================================================================== */
.lcd-outer-trough {
  position: relative;
  display: flex;
  align-items: center;
  height: 18px;
  background: #030406;
  border: 1px solid #000;
  border-radius: 6px 9px 9px 6px;
  padding: 1.5px 3.5px 1.5px 2px;
  margin-left: 4px;
  box-shadow:
    inset 0 1px 2px #000,
    0 1px 0 rgba(255, 255, 255, 0.16);
  flex-shrink: 0;
}

.lcd-screen {
  position: relative;
  width: 294px;
  height: 14px;
  border-radius: 4px;
  background-color: var(--lcd-top);
  background-image:
    radial-gradient(rgba(0, 35, 48, 0.22) 1px, transparent 0),
    linear-gradient(180deg, var(--lcd-top) 0%, var(--lcd-bottom) 100%);
  background-size: 2px 2px, 100% 100%;
  border: 1px solid var(--lcd-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 2px rgba(0, 48, 64, 0.65);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px 0 4px;
  overflow: hidden;
  color: #ffffff !important;
}

.wa-sh-viz {
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 1px;
  height: calc(100% - 2px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.3;
}

.lcd-info-badge,
#waPlayer .lcd-time,
html:not(.dark-mode) #waPlayer .lcd-time,
html.dark-mode #waPlayer .lcd-time {
  display: none !important;
}

.lcd-marquee-wrap {
  position: relative;
  z-index: 2;
  flex: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.lcd-marquee-wrap.is-scrolling {
  justify-content: flex-start;
  text-align: left;
}

#waPlayer .lcd-title,
#waPlayer .lcd-title span,
#waPlayer .wa-sh-station,
#waPlayer .wa-sh-sep,
#waPlayer .wa-sh-song,
html:not(.dark-mode) #waPlayer .lcd-title,
html:not(.dark-mode) #waPlayer .lcd-title span,
html.dark-mode #waPlayer .lcd-title,
html.dark-mode #waPlayer .lcd-title span {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-family: "Lucida Console", Monaco, "Courier New", monospace;
  font-size: 9px;
  font-weight: 700;
  text-shadow: 0 1px 1px rgba(0, 38, 54, 0.95);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

#waPlayer .lcd-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: max-content;
  height: 100%;
  flex-shrink: 0;
  white-space: nowrap;
  will-change: transform;
}

#waPlayer .lcd-marquee-wrap.is-scrolling .lcd-title {
  justify-content: flex-start;
  padding: 0 4px;
  animation: waLcdScroll var(--wa-scroll-duration, 7.5s) linear infinite alternate;
}

@keyframes waLcdScroll {
  0%, 14% {
    transform: translateX(0);
  }
  86%, 100% {
    transform: translateX(var(--wa-scroll-dist, -80px));
  }
}

.btn-lcd-next {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-left: 4px;
  flex-shrink: 0;
}

/* ==========================================================================
   4. SECCIÓN DERECHA CENTRADA Y COMPACTA (x: 596..780px)
   ========================================================================== */
.right-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding-left: 6px;
  padding-right: 12px;
  gap: 5.5px;
  flex: 1;
}

.angled-slots {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.angled-slot {
  position: relative;
  width: 18px;
  height: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.angled-track {
  position: absolute;
  width: 11px;
  height: 18px;
  background: #0d1117;
  border: 1px solid #000;
  border-radius: 5.5px;
  transform: rotate(26deg);
  box-shadow:
    inset 0 1px 2px #000,
    1px 1px 0 rgba(255, 255, 255, 0.16);
}

.angled-led {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background: #18232c;
  border: 1px solid #000;
  z-index: 2;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.angled-slot.is-on .angled-led {
  background: #00f0ff;
  box-shadow: 0 0 4px #00f0ff;
}

.btn-angled {
  position: absolute;
  bottom: 1px;
  left: 1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  z-index: 3;
}

.btn-eq {
  width: 16px;
  height: 17px;
  border-radius: 50%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 6.5px;
  font-weight: 900;
  letter-spacing: -0.4px;
  flex-shrink: 0;
}

.ontop-colors-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.ontop-slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 46px;
  height: 8px;
  background: #0d1117;
  border: 1px solid #000;
  border-radius: 4px;
  padding: 0.5px 2px 0.5px 1px;
  box-shadow:
    inset 0 1px 1px #000,
    0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn-ontop {
  width: 33px;
  height: 6px;
  border-radius: 3px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 4.8px;
  font-weight: 900;
  letter-spacing: -0.1px;
}

.ontop-led {
  width: 3.5px;
  height: 3.5px;
  border-radius: 1px;
  background: #1a2630;
  border: 1px solid #000;
}

.ontop-slot.is-on .ontop-led {
  background: #00f0ff;
  box-shadow: 0 0 4px #00f0ff;
}

.colors-bar {
  display: flex;
  align-items: center;
  width: 46px;
  height: 8px;
  border-radius: 2.5px;
  background: #000;
  padding: 1px;
  gap: 1px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12);
}

.colors-piece {
  height: 100%;
  background: linear-gradient(180deg, var(--btn-light) 0%, var(--btn-mid) 58%, var(--btn-dark) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: var(--btn-icon);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  padding: 0;
  line-height: 1;
}
.colors-piece:hover { filter: brightness(1.08); }

.colors-arrow-left { width: 7.5px; border-radius: 1.5px 0.5px 0.5px 1.5px; font-size: 4.2px; }
.colors-label { flex: 1; border-radius: 0.5px; font-family: Arial, Helvetica, sans-serif; font-size: 4.8px; font-weight: 900; letter-spacing: -0.1px; }
.colors-arrow-right { width: 7.5px; border-radius: 0.5px 1.5px 1.5px 0.5px; font-size: 4.2px; }

.grip-lines {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 14px;
  flex-shrink: 0;
}
.grip-lines span {
  display: block;
  width: 1px;
  border-radius: 1px;
  background: #000;
  box-shadow: 1px 0 0 #4d6777;
}
.grip-lines span:nth-child(1) { height: 12px; }
.grip-lines span:nth-child(2) { height: 9px; }
.grip-lines span:nth-child(3) { height: 6px; }
.grip-lines span:nth-child(4) { height: 3.5px; }

.window-controls {
  display: flex;
  align-items: center;
  background: #000;
  padding: 1px;
  border-radius: 2px;
  gap: 1.5px;
  flex-shrink: 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14);
}
.btn-win {
  width: 9px;
  height: 9px;
  border-radius: 1.2px;
  border: 0.5px solid #04080b;
  box-shadow: inset 0 1px 0 #fff;
}

/* ==========================================================================
   PÍLDORA DE RESTAURACIÓN Y VENTANAS FLOTANTES (PLAYLIST / HISTORIAL / CARÁTULA)
   ========================================================================== */
.wa-toggle-pill {
  position: fixed;
  right: 18px;
  bottom: 14px;
  z-index: 96;
  display: none;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #000;
  background: radial-gradient(circle at 38% 28%, var(--btn-light) 0%, var(--btn-mid) 54%, var(--btn-dark) 100%);
  color: var(--btn-icon);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.6px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.65), inset 0 1px 0 #fff;
}

.wa-toggle-pill.is-visible {
  display: inline-flex;
}

.wa-window {
  position: fixed;
  right: 18px;
  bottom: 44px;
  z-index: 98;
  display: none;
  flex-direction: column;
  width: 300px;
  max-height: 360px;
  border-radius: 8px;
  border: 1px solid #000;
  background: #07070a;
  color: #e2f1f8;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.wa-window.is-open {
  display: flex;
}

.wa-window__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  background: linear-gradient(180deg, var(--lcd-top), var(--lcd-bottom));
  border-bottom: 1px solid var(--lcd-border);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-shadow: 1px 1px 0 var(--lcd-shadow);
}

.wa-window__close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.wa-window__body {
  overflow-y: auto;
  padding: 6px;
  flex: 1 1 auto;
}

.wa-station-item,
.wa-hist-item {
  padding: 7px 10px;
  border-radius: 5px;
  margin-bottom: 3px;
  cursor: pointer;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.04);
  color: #d8f3ff;
  border-left: 2px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.wa-station-item:hover,
.wa-hist-item:hover,
.wa-station-item.is-active {
  background: rgba(0, 216, 255, 0.14);
  border-left-color: var(--accent-line);
  color: #ffffff;
}

.wa-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(3px);
}

.wa-modal.is-open {
  display: flex;
}

.wa-modal__box {
  display: flex;
  flex-direction: column;
  width: min(540px, 92vw);
  max-height: 70vh;
  border-radius: 10px;
  border: 1px solid #000;
  background: #07070a;
  color: #e6f6ff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
  overflow: hidden;
}

.wa-modal__content {
  overflow-y: auto;
  padding: 14px 16px;
  font-size: 12px;
  line-height: 1.6;
  white-space: pre-wrap;
}

.wa-art-popover {
  position: fixed;
  left: 50%;
  transform: translateX(-180px);
  bottom: 42px;
  z-index: 98;
  display: none;
  padding: 4px;
  border-radius: 8px;
  border: 1px solid var(--lcd-border);
  background: #07070a;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.75);
}

.wa-art-popover.is-open {
  display: block;
}

/* Botón desplegable oculto en escritorio */
.btn-mobile-more {
  display: none;
}

/* ==========================================================================
   MODO CELULAR / TABLET PEQUEÑA (<= 820px)
   Se encoge al ancho de pantalla y despliega panel superior con el botón ▲
   ========================================================================== */
@media (max-width: 820px) {
  .wa-shade-wrap {
    padding: 0 8px 0;
  }

  .wa-bar-drop-shadow {
    width: 100%;
    max-width: 460px;
    overflow: visible;
  }

  /* Mantiene exactamente los mismos bordes biselados y altura delgada original (24px) */
  .winamp-bar {
    width: 100%;
    height: 24px;
    padding: 0 8px 0 10px;
  }

  .wa-vol-arch-svg {
    display: none;
  }

  .bar-content {
    justify-content: space-between;
    gap: 5px;
  }

  /* 1. Transporte compacto a la izquierda */
  .sec-transport {
    width: auto;
    padding-left: 4px;
    gap: 4px;
  }

  .sys-menu-btn {
    display: none;
  }

  .transport-cluster {
    gap: 4px;
  }

  .btn-seek {
    width: 14px;
    height: 16px;
  }

  .btn-main {
    width: 17px;
    height: 18px;
  }

  .transport-cluster svg {
    width: 9px;
    height: 9px;
  }

  /* 3. Pantalla LCD flexible en el centro */
  .lcd-outer-trough {
    flex: 1;
    min-width: 0;
    margin-left: 2px;
    height: 18px;
  }

  .lcd-screen {
    width: 100%;
    height: 14px;
    padding: 0 5px;
  }

  /* Botón ▲ a la derecha para desplegar Volumen, PL/ML y Opciones */
  .btn-mobile-more {
    display: inline-flex;
    width: 19px;
    height: 17px;
    border-radius: 4.5px;
    margin-left: 2px;
    margin-right: 4px;
    flex-shrink: 0;
  }

  .btn-mobile-more .wa-mob-ico {
    transition: transform 0.2s ease;
  }

  #waPlayer.is-mobile-expanded .btn-mobile-more {
    box-shadow:
      0 0 0 1px #000,
      0 0 6px var(--accent-line),
      inset 0 1px 1.5px rgba(0, 25, 38, 0.65);
  }

  #waPlayer.is-mobile-expanded .btn-mobile-more .wa-mob-ico {
    transform: rotate(180deg);
  }

  /* Paneles secundarios ocultos por defecto en celular */
  .sec-volume-utility,
  .right-controls {
    display: none !important;
  }

  /* Al pulsar el botón ▲ se despliega el cajón de controles con el mismo estilo de bordes del chasis */
  #waPlayer.is-mobile-expanded .sec-volume-utility {
    display: flex !important;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 54px;
    width: 100%;
    height: 26px;
    background: #07070a;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4.8px 10px 0 0;
    box-shadow: 0 0 0 1px #000, 0 -6px 18px rgba(0, 0, 0, 0.7);
    padding: 0 12px;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    z-index: 30;
  }

  #waPlayer.is-mobile-expanded .right-controls {
    display: flex !important;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 28px;
    width: 100%;
    height: 26px;
    background: #07070a;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-top: none;
    border-radius: 0 0 4.8px 10px;
    box-shadow: 0 0 0 1px #000, 0 6px 18px rgba(0, 0, 0, 0.75);
    padding: 0 12px;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    z-index: 30;
  }

  /* En el cajón móvil, hacer los botones PL/ML/Eject un poco más cómodos al tacto */
  #waPlayer.is-mobile-expanded .btn-pill-sm {
    width: 22px;
    height: 14px;
    font-size: 7.5px;
  }

  /* Ventanas flotantes adaptadas a pantalla móvil */
  .wa-window {
    left: 10px;
    right: 10px;
    width: auto;
    bottom: 102px;
    max-height: 55vh;
  }

  .wa-art-popover {
    left: 50%;
    transform: translateX(-50%);
    bottom: 102px;
  }
}

@media (max-width: 420px) {
  .lcd-info-badge {
    display: none;
  }

  .btn-seek {
    width: 15px;
    height: 17px;
  }

  .btn-main {
    width: 18px;
    height: 19px;
  }
}

/* ==========================================================================
   WIDGET SUPERIOR "EN VIVO" (.hder-type3__live / .lms-live)
   Portada bien visible + Nombre de la radio + Hora
   ========================================================================== */
.hder-type3__live,
.lms-live {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  padding: 4px 12px 4px 5px !important;
  border-radius: 9999px !important;
  flex-shrink: 0 !important;
}

.hder-type3__live .hder-live-cover,
.lms-live .hder-live-cover {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  border: 1.5px solid rgba(0, 216, 255, 0.7) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
  background: #0d1520 !important;
}

.hder-type3__live .hder-live-cover img,
.lms-live .hder-live-cover img,
html.dark-mode .hder-type3__live .hder-live-cover img,
html.dark-mode .lms-live .hder-live-cover img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  opacity: 1 !important;
  filter: none !important;
  border-radius: 6px !important;
}

.hder-type3__live .hder-live-text,
.lms-live .hder-live-text {
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  line-height: 1.1 !important;
}

.hder-type3__live .hder-live-time,
.hder-type3__live .hder-live-clock,
.lms-live .hder-live-time,
.lms-live .hder-live-clock,
html.is-header-scrolled .elementor-6483 .elementor-element.elementor-element-1703c0c .hder-live-time,
html.is-header-scrolled .hder-type3__live .hder-live-time {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  padding: 2px 8px !important;
  border-radius: 999px !important;
  background: rgba(0, 216, 255, 0.14) !important;
  border: 1px solid rgba(0, 216, 255, 0.35) !important;
  white-space: nowrap !important;
  line-height: 1.1 !important;
}
