/* Reproductor flotante de La Radio en Acción. */
#rea-player{position:fixed;bottom:20px;right:20px;z-index:999999;font-family:Arial,sans-serif;}
.rea-card{width:220px;background:#111;border-radius:16px;padding:14px;display:flex;flex-direction:column;align-items:center;gap:10px;box-shadow:0 5px 25px rgba(0,0,0,.45);transition:.3s;position:relative;}
.rea-card.minimized{width:65px;height:65px;padding:0;overflow:hidden;justify-content:center;}
.rea-cover{width:120px;height:120px;border-radius:14px;overflow:hidden;position:relative;}
.rea-card.minimized .rea-cover{width:50px;height:50px;}
.rea-cover img{width:100%;height:100%;object-fit:cover;}
.rea-live{position:absolute;top:8px;left:8px;width:10px;height:10px;background:red;border-radius:50%;animation:pulse 1.5s infinite;}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(255,0,0,.7);}70%{box-shadow:0 0 0 14px rgba(255,0,0,0);}100%{box-shadow:0 0 0 0 rgba(255,0,0,0);}}
.rea-controls{width:100%;display:flex;flex-direction:column;gap:10px;}
.rea-card.minimized .rea-controls{display:none;}
#reaPlay{width:100%;border:none;background:linear-gradient(135deg,#00c853,#00b894);color:#fff;padding:10px;border-radius:10px;cursor:pointer;font-size:13px;font-weight:bold;transition:.25s;}
#reaPlay:hover{transform:scale(1.03);}
#reaPlay.rea-esperando{opacity:.8;}
.rea-volume{display:flex;align-items:center;gap:8px;width:100%;color:#fff;}
#reaVolume{flex:1;accent-color:#00c853;}
.rea-minimize{position:absolute;top:8px;right:10px;font-size:20px;color:#fff;cursor:pointer;z-index:10;}
@media(max-width:768px){
  #rea-player{bottom:15px;right:15px;}
  .rea-card{width:190px;}
  .rea-cover{width:100px;height:100px;}
}

/* Barra de avance mientras se carga otra página sin recargar (navegacion.js). */
html.rea-navegando{cursor:progress;}
html.rea-navegando::before{content:"";position:fixed;top:0;left:0;z-index:1000000;width:100vw;height:3px;background:#00c853;transform-origin:0 0;animation:rea-cargando 8s cubic-bezier(.03,.5,0,1) forwards;}
@keyframes rea-cargando{from{transform:scaleX(0);}to{transform:scaleX(1);}}
