/* Correcciones móviles de Radio Activa — carga después de styles.css */
@media (max-width: 1000px) {
  html, body { width:100%; max-width:100%; overflow-x:hidden; }
  body { margin:0; padding:0; }
  .fixed-art-header {
    position:sticky !important;
    top:0 !important;
    left:0; right:0;
    width:100%;
    height:58px !important;
    z-index:1000;
    background-color:#fff !important;
    background-image:url("assets/radio-activa-portada.png");
    background-repeat:no-repeat;
    background-size:100vw auto !important;
    background-position:top center !important;
    box-shadow:0 2px 0 #f000a8, 0 5px 18px #0002;
  }
  .reference-stage {
    display:block !important;
    position:relative;
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    padding:14px 13px 22px !important;
    box-sizing:border-box;
    overflow:hidden !important;
    line-height:normal !important;
    background:
      radial-gradient(circle at 4px 4px, #111 1.4px, transparent 1.9px) 0 0/13px 13px,
      linear-gradient(135deg,#f000a8 0 46%,#ffe923 46% 70%,#111 70% 100%) !important;
  }
  .reference-art { display:none !important; visibility:hidden !important; width:0 !important; height:0 !important; }
  .mobile-radio-layout {
    display:flex !important;
    flex-direction:column;
    gap:13px;
    width:100%;
    max-width:520px;
    margin:0 auto;
    line-height:normal;
    position:relative;
    z-index:2;
  }
  .mobile-headline {
    display:block;
    position:relative;
    padding:14px 13px 12px;
    border:2px solid #111;
    background:#f000a8;
    box-shadow:4px 4px 0 #111;
    transform:none;
  }
  .mobile-volume-tag {
    display:inline-block;
    background:#ffe923;color:#111;border:2px solid #111;
    padding:5px 8px;font-size:10px;font-weight:1000;letter-spacing:1px;
    box-shadow:3px 3px 0 #111;margin:0 0 9px;
  }
  .mobile-headline h1 {
    /* Titular de tres líneas, grueso y legible en pantallas pequeñas */
    font-family: "Arial Black", Impact, Haettenschweiler, sans-serif;
    text-transform: uppercase;
    font-size: clamp(39px, 12.4vw, 64px);
    line-height: .80;
    letter-spacing: -1.5px;
    font-weight: 1000;
    margin: 2px 0 0;
    color: #ffe923;
    -webkit-text-stroke: 1.8px #111;
    paint-order: stroke fill;
    text-shadow:
      -2px -2px 0 #fff, 2px -2px 0 #fff,
      -2px 2px 0 #fff, 2px 2px 0 #fff,
      3px 4px 0 #111, 5px 6px 0 #111;
  }
  .mobile-headline h1 .headline-yellow { color: #ffe923; }
  .mobile-headline h1 .headline-green { color: #00e85a; }
  .mobile-headline p {font-size:12px;font-weight:900;color:#fff;margin:10px 0 0;text-shadow:1px 2px #111}
  .mobile-girls-wrap {
    display:flex !important;
    position:relative;width:100%;min-height:190px;
    align-items:flex-end;justify-content:center;
    background:radial-gradient(circle at 50% 70%,#ffe923 0 35%,transparent 36%),linear-gradient(135deg,#f000a8,#151018);
    border:2px solid #111;box-shadow:4px 4px 0 #111;border-radius:3px;overflow:hidden;
  }
  .mobile-girls {display:block !important;width:100%;height:auto;max-height:390px;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 0 2px #ff19c8)}
  .mobile-front-logo {position:absolute;width:clamp(102px,32vw,150px);height:auto;object-fit:contain;right:3%;bottom:2%;filter:drop-shadow(3px 4px 0 #111);pointer-events:none}
  .mobile-cta-row {display:grid !important;grid-template-columns:1fr 1fr;gap:8px}
  .mobile-cta {min-height:43px;display:flex;align-items:center;justify-content:center;text-align:center;padding:8px 6px;border:2px solid #111;box-shadow:3px 3px 0 #111;text-decoration:none;text-transform:uppercase;font-size:clamp(10px,3vw,12px);font-weight:1000}
  .mobile-cta-listen {background:#00e85a;color:#111}
  .mobile-cta-whatsapp {background:#fff;color:#111}
  .mobile-player-card {display:grid !important;position:relative;grid-template-columns:54px minmax(0,1fr);align-items:center;gap:9px;min-height:0;padding:11px;border:3px solid #ffe923;border-radius:20px;background:#08080b;color:#fff;box-shadow:0 0 0 2px #f000a8,0 0 14px #f000a866;overflow:hidden}
  .mobile-player-logo {display:block;width:54px;height:54px;object-fit:contain;background:#111;border-radius:10px}
  .mobile-player-label {display:flex;flex-direction:column;gap:4px;min-width:0}
  .mobile-player-label b {font-size:15px;line-height:1.1}
  .mobile-player-label small {font-size:10px;line-height:1.25;color:#eee}
  .mobile-live-dot {display:inline-block;width:8px;height:8px;background:#ff304e;border-radius:50%;box-shadow:0 0 8px #ff304e;margin-right:5px}
  .mobile-eq-decoration {grid-column:2;display:flex;align-items:center;gap:3px;height:18px;overflow:hidden;margin-top:-2px}
  .mobile-eq-decoration i {width:5px;flex:1;height:var(--mh,12px);max-width:7px;border-radius:4px;background:linear-gradient(#00eaff,#f000a8);box-shadow:0 0 5px #00eaff;animation:mobile-eq .65s ease-in-out infinite alternate}
  .mobile-eq-decoration i:nth-child(3n) {--mh:18px;animation-delay:.2s}
  .mobile-eq-decoration i:nth-child(3n + 1) {--mh:9px;animation-delay:.08s}
  .mobile-eq-decoration i:nth-child(3n + 2) {--mh:14px;animation-delay:.32s}
  @keyframes mobile-eq {from{transform:scaleY(.45);opacity:.7}to{transform:scaleY(1);opacity:1}}
  .mobile-player-controls {grid-column:1 / -1;display:grid !important;grid-template-columns:42px 30px minmax(0,1fr);align-items:center;gap:9px;margin-top:1px}
  .mobile-player-toggle {width:40px;height:40px;border:0;border-radius:50%;background:#f000a8;color:#fff;font-size:20px;font-weight:1000;box-shadow:0 0 14px #f000a888;cursor:pointer}
  .mobile-player-mute {border:0;background:transparent;color:#fff;font-size:18px;padding:4px;cursor:pointer}
  .mobile-player-volume {width:100%;height:8px;appearance:none;-webkit-appearance:none;border-radius:99px;outline:none;background:linear-gradient(to right,#f000a8 0 var(--volume-fill,42%),#45454d var(--volume-fill,42%) 100%);cursor:pointer}
  .mobile-player-volume::-webkit-slider-thumb {appearance:none;-webkit-appearance:none;width:16px;height:16px;border-radius:50%;background:#fff;border:2px solid #f000a8;box-shadow:0 0 6px #f000a8}
  .mobile-player-volume::-moz-range-thumb {width:13px;height:13px;border-radius:50%;background:#fff;border:2px solid #f000a8;box-shadow:0 0 6px #f000a8}
  .mobile-social-row {display:grid !important;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:3px 0 5px}
  .mobile-social {min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#fff;text-decoration:none;text-align:center;padding:8px 2px 7px;background:#101016;border:1px solid #343440;border-radius:11px;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
  .mobile-social:focus-visible,.mobile-social:hover {transform:translateY(-2px);box-shadow:0 0 12px currentColor;border-color:currentColor}
  .mobile-social small {font-size:clamp(8px,2.5vw,10px);font-weight:900;line-height:1.1;overflow-wrap:anywhere}
  .mobile-social span {width:31px;height:31px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:23px;font-weight:1000}
  .mobile-facebook {color:#198bff}.mobile-facebook .brand-f {background:#1877f2;color:#fff;font-family:Arial;font-size:27px}
  .mobile-tiktok {color:#ff25ce}.mobile-tiktok .brand-tt {background:#050505;color:#fff;border:2px solid #ff25ce;text-shadow:2px 0 #00eaff;font-size:24px}
  .mobile-whatsapp {color:#00e676}.mobile-whatsapp .brand-wa {background:#00c96b;color:#fff;font-size:22px}
  .mobile-googleplay {color:#00e676}.mobile-googleplay .brand-gp {background:#101016;color:#00e676;border:2px solid #00e676;font-size:19px}
  /* Oculta todos los puntos de clic de la portada original: no deben cubrir el diseño móvil. */
  .reference-stage > .hotspot,.reference-stage > .original-player-glow,
  .reference-stage > .original-player-equalizer,.reference-stage > #radio-status {display:none !important}
  .mobile-radio-layout .hotspot {display:block}
}
@media(max-width:380px) {
  .reference-stage {padding:11px 10px 18px !important}
  .mobile-radio-layout {gap:10px}
  .mobile-headline {padding:12px 11px 10px}
  .mobile-headline h1 {font-size:clamp(37px,11.8vw,46px);letter-spacing:-1.25px;line-height:.82;-webkit-text-stroke:1.5px #111}
  .mobile-girls-wrap {min-height:160px}
  .mobile-player-card {grid-template-columns:48px minmax(0,1fr);gap:8px;padding:9px}
  .mobile-player-logo {width:48px;height:48px}
  .mobile-player-label b {font-size:14px}
  .mobile-player-label small {font-size:9px}
  .mobile-social-row {gap:4px}
  .mobile-social {border-radius:9px;padding:7px 1px}
  .mobile-social span {width:28px;height:28px}
}
@media(prefers-reduced-motion:reduce) {
  .mobile-eq-decoration i,.mobile-social {animation:none !important;transition:none !important}
}


/* En celulares ocultamos el bloque de texto del titular para dejar respirar la portada. */
@media (max-width: 1000px) {
  .mobile-headline { display: none !important; }
}

/* WhatsApp: icono reconocible y enlace táctil/clicable */
.whatsapp-icon { display:inline-block; width:1.25em; height:1.25em; flex:0 0 auto; vertical-align:middle; }
.mobile-cta-whatsapp { gap:6px; }
.mobile-social-whatsapp { position:relative; }
.mobile-social-whatsapp .brand-wa { width:31px; height:31px; }
.mobile-social-whatsapp .brand-wa .whatsapp-icon { width:100%; height:100%; }
@media (max-width:1000px) {
  .mobile-social-row { position:relative; z-index:20; }
  .mobile-social-whatsapp { display:flex !important; visibility:visible !important; opacity:1 !important; }
}


/* En móviles: conservar el fondo Pop Art original y fijarlo al viewport. */
@media (max-width: 1000px) {
  html, body {
    background-color: transparent !important;
  }
  body {
    background-attachment: fixed !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
  }
  .reference-stage {
    /* No sustituir el arte original por un gradiente: solo dejarlo fijo. */
    background-attachment: fixed !important;
  }
}
