/*
Theme Name: LaJefa Radio v4.8
Theme URI: https://lajefa.net
Author: LaJefa.net
Description: Tema personalizado para una estación de radio regional mexicana, con reproductor en vivo, programación, locutores, WhatsApp y redes sociales.
Version: 4.8.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: lajefa-radio
*/

:root{
  --red:#b60018;
  --dark:#090909;
  --dark2:#171717;
  --gold:#f0b429;
  --white:#fff;
  --muted:#c6c6c6;
  --green:#25d366;
  --max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--dark);color:var(--white);font-family:Arial,Helvetica,sans-serif;line-height:1.55}
a{color:inherit}
img{max-width:100%;height:auto}
.container{width:min(92%,var(--max));margin:auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(9,9,9,.95);border-bottom:1px solid #292929;backdrop-filter:blur(10px)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:76px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-weight:900;font-size:1.55rem}
.brand-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--red);box-shadow:0 0 0 4px rgba(182,0,24,.2)}
.brand em{color:var(--gold);font-style:normal}
.nav-toggle{display:none;background:none;border:1px solid #444;color:#fff;padding:8px 12px;border-radius:8px}
.main-nav ul{display:flex;gap:22px;list-style:none;margin:0;padding:0}
.main-nav a{text-decoration:none;font-weight:700;font-size:.95rem}
.main-nav a:hover{color:var(--gold)}
.hero{min-height:650px;display:grid;align-items:center;position:relative;overflow:hidden;background:
radial-gradient(circle at 80% 20%,rgba(240,180,41,.22),transparent 30%),
linear-gradient(115deg,#050505 20%,#330008 65%,#980016)}
.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.92),rgba(0,0,0,.2))}
.hero-content{position:relative;z-index:2;max-width:760px;padding:90px 0}
.eyebrow{color:var(--gold);font-weight:900;letter-spacing:.16em;text-transform:uppercase}
.hero h1{font-size:clamp(3rem,8vw,7rem);line-height:.88;margin:15px 0;text-transform:uppercase}
.hero h1 span{color:var(--red);text-shadow:0 0 35px rgba(255,0,35,.4)}
.hero p{font-size:1.2rem;color:#eee;max-width:650px}
.actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:28px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 22px;border-radius:999px;text-decoration:none;font-weight:900;border:2px solid transparent}
.btn-primary{background:var(--red)}
.btn-primary:hover{background:#e00020}
.btn-outline{border-color:#fff}
.btn-whatsapp{background:var(--green);color:#06180d}
.player-bar{background:var(--gold);color:#111;padding:18px 0}
.player-inner{display:flex;align-items:center;justify-content:space-between;gap:20px}
.player-copy strong{display:block;font-size:1.1rem}
.player-copy span{font-size:.9rem}
audio{width:min(100%,520px)}
.section{padding:80px 0}
.section-alt{background:var(--dark2)}
.section-title{text-align:center;margin:0 0 40px}
.section-title span{color:var(--gold);text-transform:uppercase;font-size:.82rem;letter-spacing:.18em;font-weight:900}
.section-title h2{font-size:clamp(2rem,4vw,3.5rem);margin:8px 0}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.card{background:#202020;border:1px solid #333;border-radius:18px;overflow:hidden;box-shadow:0 15px 40px rgba(0,0,0,.22)}
.card-body{padding:24px}
.card h3{margin-top:0;font-size:1.35rem}
.time{color:var(--gold);font-weight:900}
.host-avatar{height:230px;display:grid;place-items:center;background:linear-gradient(145deg,#2b2b2b,#790011);font-size:4rem;font-weight:900}
.schedule{display:grid;gap:14px}
.schedule-row{display:grid;grid-template-columns:180px 1fr;gap:25px;padding:18px 22px;background:#202020;border-left:5px solid var(--red);border-radius:10px}
.schedule-row strong{color:var(--gold)}
.cta{background:linear-gradient(120deg,#8f0014,#d60021);border-radius:24px;padding:50px;text-align:center}
.cta h2{font-size:clamp(2rem,4vw,3.5rem);margin:0 0 12px}
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.post-card{background:#fff;color:#171717;border-radius:16px;overflow:hidden}
.post-card .post-content{padding:22px}
.post-card a{text-decoration:none}
.site-footer{background:#000;padding:50px 0 20px;border-top:1px solid #222}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}
.footer-links{list-style:none;padding:0}
.footer-links li{margin:8px 0}
.footer-links a{text-decoration:none;color:var(--muted)}
.copyright{text-align:center;color:#777;border-top:1px solid #222;margin-top:35px;padding-top:20px}
.floating-whatsapp{position:fixed;right:20px;bottom:20px;z-index:60;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:var(--green);color:#071a0e;text-decoration:none;font-weight:900;box-shadow:0 10px 30px rgba(0,0,0,.35)}
.content-area{padding:70px 0;min-height:60vh}
.content-area article{max-width:850px;margin:auto}
@media(max-width:850px){
  .nav-toggle{display:block}
  .main-nav{display:none;position:absolute;top:76px;left:0;right:0;background:#0b0b0b;padding:20px}
  .main-nav.open{display:block}
  .main-nav ul{flex-direction:column}
  .grid,.news-grid,.footer-grid{grid-template-columns:1fr}
  .player-inner{align-items:flex-start;flex-direction:column}
  audio{width:100%}
  .schedule-row{grid-template-columns:1fr;gap:4px}
  .hero{min-height:570px}
  .cta{padding:35px 22px}
}

/* Logo oficial de LaJefa.net */
.brand-logo{display:flex;align-items:center;max-width:230px}
.brand-logo img{display:block;width:210px;max-height:64px;object-fit:contain}
.hero-logo{display:block;width:min(680px,92vw);max-height:340px;object-fit:contain;object-position:left center;margin:12px 0 6px;filter:drop-shadow(0 16px 28px rgba(0,0,0,.45))}
.hero-slogan{font-size:clamp(2.1rem,5vw,4rem)!important;line-height:1!important;margin:8px 0 16px!important}
@media(max-width:850px){
  .brand-logo{max-width:175px}
  .brand-logo img{width:170px;max-height:55px}
  .hero-logo{width:min(520px,96vw);max-height:250px}
}

/* Reproductor profesional LaJefa.net */
.radio-player-section{padding:28px 0;background:linear-gradient(90deg,#080808,#210006,#080808);border-top:1px solid #3b0009;border-bottom:1px solid #3b0009}
.radio-player{display:grid;grid-template-columns:1.4fr auto auto;align-items:center;gap:28px;padding:24px 28px;background:linear-gradient(135deg,#191919,#0d0d0d);border:1px solid #343434;border-radius:22px;box-shadow:0 18px 50px rgba(0,0,0,.4)}
.player-station{display:flex;align-items:center;gap:18px}
.player-station img{width:145px;height:82px;object-fit:contain}
.player-station h2{margin:5px 0 0;font-size:1.5rem}
.player-station p{margin:2px 0 0;color:#bbb;font-size:.92rem}
.live-badge{display:inline-flex;align-items:center;gap:7px;color:#fff;background:#b60018;border-radius:999px;padding:5px 10px;font-size:.72rem;font-weight:900;letter-spacing:.08em}
.live-badge i{display:block;width:8px;height:8px;border-radius:50%;background:#fff;animation:livePulse 1.2s infinite}
@keyframes livePulse{50%{opacity:.35}}
.player-controls{display:flex;align-items:center;gap:20px}
.play-button{width:68px;height:68px;border-radius:50%;border:0;background:linear-gradient(145deg,#f0b429,#ff6d1a);color:#111;font-size:1.6rem;cursor:pointer;box-shadow:0 10px 30px rgba(240,180,41,.28)}
.play-button.is-playing{background:linear-gradient(145deg,#e00020,#8f0014);color:white}
.volume-control{display:flex;align-items:center;gap:10px}
.volume-control input{accent-color:#f0b429;width:120px}
.player-whatsapp{display:inline-flex;justify-content:center;align-items:center;background:#25d366;color:#082212;text-decoration:none;font-weight:900;padding:13px 18px;border-radius:999px;white-space:nowrap}
.section-intro{text-align:center;color:#aaa;max-width:650px;margin:-24px auto 35px}
.post-meta{color:#8d8d8d;font-size:.78rem;margin-bottom:8px}
.read-more{display:inline-block;margin-top:8px;color:#b60018!important;font-weight:900}
.post-card img{width:100%;height:210px;object-fit:cover}
@media(max-width:900px){
  .radio-player{grid-template-columns:1fr;text-align:center}
  .player-station,.player-controls{justify-content:center}
  .player-station{flex-direction:column}
}


/* Reproductor fijo inferior con canción y artista */
body{padding-bottom:104px}
.player-anchor{height:1px}
.fixed-radio-player{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:9999;
  background:linear-gradient(90deg,#070707,#190006 48%,#070707);
  border-top:2px solid #b60018;
  box-shadow:0 -12px 35px rgba(0,0,0,.55);
}
.fixed-player-inner{
  min-height:102px;
  display:grid;
  grid-template-columns:auto 105px minmax(210px,1fr) minmax(150px,.8fr) auto auto;
  gap:17px;
  align-items:center;
}
.fixed-play-button{
  width:58px;
  height:58px;
  border:0;
  border-radius:50%;
  cursor:pointer;
  background:linear-gradient(145deg,#f0b429,#ff691b);
  color:#101010;
  font-size:1.35rem;
  box-shadow:0 8px 25px rgba(240,180,41,.25);
}
.fixed-play-button.is-playing{
  color:#fff;
  background:linear-gradient(145deg,#e40022,#8e0015);
}
.fixed-player-logo{width:100px;height:72px;object-fit:contain}
.now-playing{min-width:0}
.fixed-live{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:3px 8px;
  border-radius:999px;
  background:#b60018;
  color:#fff;
  font-size:.66rem;
  font-weight:900;
  letter-spacing:.08em;
}
.fixed-live i{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#fff;
  animation:livePulse 1.2s infinite;
}
.track-title{
  margin-top:5px;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  color:#fff;
  font-size:1.05rem;
  font-weight:900;
}
.track-artist{
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  color:#bbb;
  font-size:.83rem;
}
.track-marquee{
  min-width:0;
  overflow:hidden;
  color:#f0b429;
  white-space:nowrap;
  font-weight:700;
  font-size:.86rem;
  opacity:.9;
}
.track-marquee span{
  display:inline-block;
  padding-left:100%;
  animation:trackScroll 16s linear infinite;
}
@keyframes trackScroll{to{transform:translateX(-100%)}}
.fixed-volume{display:flex;align-items:center;gap:7px}
.fixed-volume input{width:105px;accent-color:#f0b429}
.fixed-whatsapp{
  padding:11px 15px;
  border-radius:999px;
  background:#25d366;
  color:#071d0e;
  text-decoration:none;
  font-weight:900;
  font-size:.82rem;
}
@media(max-width:900px){
  body{padding-bottom:92px}
  .fixed-player-inner{
    min-height:90px;
    grid-template-columns:auto 58px minmax(0,1fr) auto;
    gap:10px;
  }
  .fixed-player-logo{width:55px;height:55px}
  .track-marquee,.fixed-volume{display:none}
  .fixed-whatsapp{font-size:0;width:42px;height:42px;padding:0;display:grid;place-items:center}
  .fixed-whatsapp:after{content:"WA";font-size:.72rem}
  .track-title{font-size:.92rem}
  .track-artist{font-size:.75rem}
  .fixed-play-button{width:48px;height:48px}
}
@media(max-width:480px){
  .fixed-player-inner{grid-template-columns:auto 45px minmax(0,1fr)}
  .fixed-whatsapp{display:none}
  .fixed-player-logo{width:44px;height:44px}
}


/* Portada automática de la canción */
.fixed-cover-wrap{
  width:74px;
  height:74px;
  overflow:hidden;
  border-radius:12px;
  background:#151515;
  border:1px solid #383838;
  display:grid;
  place-items:center;
}
.fixed-cover-wrap .fixed-player-logo{
  width:100%;
  height:100%;
  object-fit:cover;
}
@media(max-width:900px){
  .fixed-cover-wrap{width:55px;height:55px;border-radius:9px}
}
@media(max-width:480px){
  .fixed-cover-wrap{width:44px;height:44px}
}


/* Sección de descarga de la app */
.app-download-section{
  padding:85px 0;
  overflow:hidden;
  background:
    radial-gradient(circle at 82% 35%,rgba(240,180,41,.22),transparent 26%),
    linear-gradient(120deg,#070707 15%,#370008 62%,#8d0015);
}
.app-download-inner{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);
  gap:60px;
  align-items:center;
}
.app-kicker{
  color:#f0b429;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:.78rem;
  font-weight:900;
}
.app-download-copy h2{
  max-width:720px;
  margin:12px 0 18px;
  font-size:clamp(2.2rem,5vw,4.4rem);
  line-height:1.02;
}
.app-download-copy p{
  max-width:650px;
  color:#ddd;
  font-size:1.08rem;
}
.app-store-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:15px;
  margin-top:28px;
}
.store-button{
  min-width:205px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:11px 17px;
  border:1px solid #555;
  border-radius:12px;
  background:#050505;
  color:#fff;
  text-decoration:none;
  box-shadow:0 12px 30px rgba(0,0,0,.28);
  transition:transform .2s ease,border-color .2s ease;
}
.store-button:hover{
  transform:translateY(-3px);
  border-color:#f0b429;
}
.store-button small{
  display:block;
  color:#ccc;
  font-size:.67rem;
  line-height:1;
}
.store-button strong{
  display:block;
  margin-top:3px;
  font-size:1.22rem;
  line-height:1;
}
.store-icon{
  min-width:36px;
  font-size:2.05rem;
  line-height:1;
  text-align:center;
}
.play-store-icon{
  color:#f0b429;
  font-size:1.65rem;
}
.app-phone-preview{
  display:grid;
  place-items:center;
  min-height:450px;
}
.phone-shell{
  width:245px;
  height:470px;
  padding:13px;
  position:relative;
  border:6px solid #262626;
  border-radius:38px;
  background:#050505;
  box-shadow:0 35px 65px rgba(0,0,0,.48),0 0 0 2px #555;
  transform:rotate(5deg);
}
.phone-speaker{
  width:82px;
  height:18px;
  position:absolute;
  top:8px;
  left:50%;
  z-index:3;
  border-radius:10px;
  background:#020202;
  transform:translateX(-50%);
}
.phone-screen{
  height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:22px;
  border-radius:27px;
  background:
    radial-gradient(circle at 50% 25%,rgba(240,180,41,.24),transparent 30%),
    linear-gradient(160deg,#111,#50000c 70%,#b60018);
  overflow:hidden;
}
.phone-screen img{
  width:175px;
  height:105px;
  object-fit:contain;
}
.phone-live{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin:18px 0;
  padding:5px 9px;
  border-radius:999px;
  background:#b60018;
  font-size:.65rem;
  font-weight:900;
  letter-spacing:.08em;
}
.phone-live i{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#fff;
  animation:livePulse 1.2s infinite;
}
.phone-play{
  width:68px;
  height:68px;
  display:grid;
  place-items:center;
  margin-bottom:20px;
  padding-left:4px;
  border-radius:50%;
  background:#f0b429;
  color:#111;
  font-size:1.5rem;
  box-shadow:0 12px 28px rgba(0,0,0,.32);
}
.phone-screen strong{font-size:1.35rem}
.phone-screen small{margin-top:5px;color:#ddd}
@media(max-width:850px){
  .app-download-inner{grid-template-columns:1fr;text-align:center}
  .app-download-copy p{margin-left:auto;margin-right:auto}
  .app-store-buttons{justify-content:center}
  .app-phone-preview{min-height:390px}
  .phone-shell{width:215px;height:410px}
}
@media(max-width:480px){
  .app-download-section{padding:65px 0}
  .store-button{width:100%;justify-content:center}
  .app-phone-preview{min-height:350px}
  .phone-shell{width:190px;height:365px}
}


/* Vista real de la app dentro del teléfono */
.phone-screen-preview{
  padding:0 !important;
  background:#000 !important;
  overflow:hidden;
}
.phone-screen-preview .app-screenshot{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}


/* Patrocinadores y anuncios */
.sponsors-section{
  padding:85px 0;
  background:linear-gradient(180deg,#121212,#080808);
}
.sponsors-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.sponsor-card{
  display:block;
  overflow:hidden;
  border:1px solid #343434;
  border-radius:18px;
  background:#1b1b1b;
  color:#fff;
  text-decoration:none;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.sponsor-card:hover{
  transform:translateY(-5px);
  border-color:#f0b429;
  box-shadow:0 18px 40px rgba(0,0,0,.32);
}
.sponsor-media{
  height:190px;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:linear-gradient(135deg,#2b2b2b,#56000c);
}
.sponsor-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.sponsor-placeholder{
  display:grid;
  place-items:center;
  width:120px;
  height:120px;
  border:2px dashed rgba(255,255,255,.35);
  border-radius:50%;
  color:#f0b429;
  font-weight:900;
  letter-spacing:.12em;
}
.sponsor-body{padding:22px}
.sponsor-body span{
  color:#f0b429;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.sponsor-body h3{margin:8px 0 7px}
.sponsor-body p{margin:0;color:#bbb}
.sponsor-cta{
  margin-top:32px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
  padding:28px 32px;
  border-radius:18px;
  background:linear-gradient(120deg,#780011,#c7001d);
}
.sponsor-cta span{
  color:#f0b429;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.sponsor-cta h3{margin:5px 0;font-size:1.8rem}
.sponsor-cta p{margin:0;color:#eee}
@media(max-width:850px){
  .sponsors-grid{grid-template-columns:1fr}
  .sponsor-cta{align-items:flex-start;flex-direction:column}
}


/* Datos en vivo de RadioOnlineHD */
.station-stats{
  margin-top:3px;
  color:#f0b429;
  font-size:.70rem;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}


/* Reproductor simplificado v2.0 */
body{padding-bottom:88px}
.fixed-player-inner{
  min-height:86px;
  grid-template-columns:auto 64px minmax(0,1fr) auto;
  gap:14px;
}
.fixed-cover-wrap{
  width:60px;
  height:60px;
  border-radius:10px;
}
.now-playing{min-width:0}
.track-title{
  margin:0;
  font-size:1rem;
  line-height:1.2;
}
.track-artist{
  margin-top:4px;
  font-size:.82rem;
  line-height:1.2;
}
.fixed-live,
.station-stats,
.track-marquee,
.fixed-whatsapp{
  display:none !important;
}
.fixed-volume input{width:95px}
@media(max-width:700px){
  body{padding-bottom:78px}
  .fixed-player-inner{
    min-height:76px;
    grid-template-columns:auto 50px minmax(0,1fr);
    gap:10px;
  }
  .fixed-cover-wrap{width:48px;height:48px}
  .fixed-volume{display:none}
  .track-title{font-size:.9rem}
  .track-artist{font-size:.75rem}
  .fixed-play-button{width:46px;height:46px}
}


/* Fondo principal personalizado LaJefa.net */
.hero{
  min-height:720px;
  background-image:
    linear-gradient(90deg,rgba(0,0,0,.35),rgba(0,0,0,.08)),
    url("assets/images/hero-background.jpg") !important;
  background-size:cover !important;
  background-position:center center !important;
  background-repeat:no-repeat !important;
}
.hero:after{
  background:linear-gradient(
    90deg,
    rgba(0,0,0,.30) 0%,
    rgba(0,0,0,.05) 45%,
    rgba(0,0,0,.12) 100%
  ) !important;
}
.hero-content{
  min-height:720px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:80px 0 65px;
}
.hero-logo{
  display:none !important;
}
.hero .eyebrow,
.hero .hero-slogan,
.hero > .container > p{
  text-shadow:0 3px 12px rgba(0,0,0,.8);
}
@media(max-width:900px){
  .hero{
    min-height:560px;
    background-position:center center !important;
  }
  .hero-content{
    min-height:560px;
    padding:60px 0 45px;
  }
}
@media(max-width:600px){
  .hero{
    min-height:470px;
    background-position:center center !important;
  }
  .hero-content{
    min-height:470px;
    padding:40px 0 35px;
  }
  .hero .eyebrow,
  .hero .hero-slogan,
  .hero p{
    display:none;
  }
  .hero .actions{
    margin-top:auto;
    justify-content:center;
  }
}


/* Portada limpia sin texto encima */
.hero-clean{
  min-height:720px;
}
.hero-clean:after{
  display:none !important;
}
.hero-actions-bar{
  background:#0b0b0b;
  border-top:1px solid #2b2b2b;
  border-bottom:1px solid #2b2b2b;
  padding:22px 0;
}
.hero-actions-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.hero-actions-inner > div:first-child{
  display:flex;
  flex-direction:column;
}
.hero-actions-inner strong{
  font-size:1.35rem;
}
.hero-actions-inner span{
  color:#f0b429;
  font-size:.9rem;
  font-weight:700;
}
.hero-actions-inner .actions{
  margin-top:0;
}
@media(max-width:850px){
  .hero-clean{
    min-height:560px;
  }
  .hero-actions-inner{
    align-items:flex-start;
    flex-direction:column;
  }
}
@media(max-width:600px){
  .hero-clean{
    min-height:430px;
  }
  .hero-actions-inner .actions{
    width:100%;
  }
  .hero-actions-inner .btn{
    flex:1;
  }
}


/* Fotos de locutores */
.host-card .host-photo{
  height:300px;
  overflow:hidden;
  background:#111;
}
.host-card .host-photo img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center top;
}


/* Nombre real de los locutores */
.host-real-name{
  margin:-8px 0 8px;
  color:#c8c8c8;
  font-size:.9rem;
}


/* Ajuste especial para la foto de El Bravo */
.host-card-bravo .host-photo{
  height:420px;
  background:#120707;
  display:grid;
  place-items:center;
}
.host-card-bravo .host-photo img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center top;
  background:#120707;
}
@media(max-width:850px){
  .host-card-bravo .host-photo{
    height:360px;
  }
}


/* SonicPanel: portada y canción actual */
.fixed-cover-wrap{
  width:60px;
  height:60px;
  overflow:hidden;
  border-radius:10px;
  background:#171717;
  border:1px solid #383838;
  display:grid;
  place-items:center;
}
#sonic_art{
  width:100%;
  height:100%;
  overflow:hidden;
}
#sonic_art img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  display:block !important;
}
.now-playing{
  min-width:0;
}
.sonic-now-label{
  display:block;
  margin-bottom:3px;
  color:#f0b429;
  font-size:.63rem;
  font-weight:900;
  letter-spacing:.10em;
}
#sonic_title{
  max-width:100%;
  color:#fff;
  font-size:1rem;
  line-height:1.25;
  font-weight:900;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
@media(max-width:700px){
  .fixed-cover-wrap{
    width:48px;
    height:48px;
  }
  #sonic_title{
    font-size:.86rem;
  }
  .sonic-now-label{
    font-size:.56rem;
  }
}


/* Sección promocional: Enamórate de LaJefa.net */
.enamorate-section{
  padding:75px 0 20px;
  background:linear-gradient(180deg,#090909 0%, #140104 100%);
}
.enamorate-card{
  position:relative;
  overflow:hidden;
  min-height:560px;
  padding:55px 40px;
  border-radius:28px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,0)),
    linear-gradient(135deg,#8f0014 0%, #d1121f 50%, #b10016 100%);
  box-shadow:0 22px 65px rgba(0,0,0,.32);
  isolation:isolate;
}
.enamorate-card:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,.16), transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(0,0,0,.18), transparent 42%);
  z-index:0;
}
.enamorate-content{
  position:relative;
  z-index:2;
  text-align:center;
  max-width:980px;
  margin:0 auto;
}
.enamorate-content h2{
  margin:0 0 18px;
  color:#fff;
  font-size:clamp(2.2rem,5vw,4.8rem);
  line-height:.98;
  text-transform:uppercase;
  font-weight:900;
  letter-spacing:-.02em;
  text-shadow:0 4px 16px rgba(0,0,0,.32);
}
.enamorate-content h2 span{
  display:block;
}
.enamorate-logo-wrap{
  position:relative;
  z-index:2;
  display:flex;
  justify-content:center;
  margin:10px auto 12px;
}
.enamorate-logo-wrap img{
  width:min(580px,88vw);
  max-height:260px;
  object-fit:contain;
  filter:drop-shadow(0 14px 28px rgba(0,0,0,.35));
}
.enamorate-slogan{
  margin:10px 0 8px;
  color:#ffd24a;
  font-size:clamp(2rem,4vw,4rem);
  line-height:1;
  font-style:italic;
  font-weight:900;
}
.enamorate-copy{
  max-width:760px;
  margin:12px auto 0;
  color:#ffeaea;
  font-size:1.05rem;
}
.promo-deco{
  position:absolute;
  z-index:1;
  user-select:none;
  text-shadow:0 4px 10px rgba(0,0,0,.18);
}
.deco-heart{
  color:#fff;
  font-size:3.1rem;
  opacity:.88;
}
.deco-star{
  color:#fff;
  font-size:2.7rem;
  opacity:.85;
}
.deco-note{
  color:#111;
  -webkit-text-stroke:2px rgba(255,255,255,.85);
  font-size:4rem;
  opacity:.9;
}
.deco-smile{
  color:#ffd84e;
  font-size:3.5rem;
}
.deco-x{
  color:#fff;
  font-size:3.4rem;
  font-weight:900;
  opacity:.9;
}
.heart-1{top:20%; left:8%}
.heart-2{top:18%; right:10%}
.star-1{top:64%; right:14%}
.star-2{bottom:12%; left:18%}
.note-1{top:14%; left:22%}
.note-2{top:24%; right:23%}
.smile-1{top:34%; right:16%}
.smile-2{bottom:20%; left:28%}
.x-1{top:42%; left:14%}
.x-2{bottom:15%; right:22%}

.enamorate-bg-shape{
  position:absolute;
  z-index:0;
  opacity:.22;
  background:#ff3040;
  filter:blur(.2px);
}
.shape-1{
  width:220px;height:220px;left:-30px;top:70px;
  clip-path:polygon(20% 0,100% 15%,85% 100%,0 82%);
}
.shape-2{
  width:260px;height:260px;right:-40px;top:110px;
  clip-path:polygon(12% 10%,100% 0,86% 88%,0 100%);
}
.shape-3{
  width:340px;height:340px;left:50%;bottom:-90px;
  transform:translateX(-50%) rotate(20deg);
  clip-path:polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 68%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
@media(max-width:900px){
  .enamorate-card{
    min-height:500px;
    padding:45px 20px;
  }
  .deco-note{font-size:3rem}
  .deco-heart,.deco-smile,.deco-x{font-size:2.6rem}
}
@media(max-width:640px){
  .enamorate-section{padding:50px 0 10px}
  .enamorate-card{
    min-height:430px;
    padding:38px 16px 28px;
    border-radius:20px;
  }
  .enamorate-content h2{
    font-size:2rem;
  }
  .enamorate-slogan{
    font-size:1.9rem;
  }
  .enamorate-copy{
    font-size:.92rem;
  }
  .promo-deco{
    transform:scale(.75);
  }
  .heart-1{left:2%}
  .note-2{right:6%}
  .smile-1{right:5%}
  .x-1{left:6%}
  .x-2{right:8%}
}


/* Banner real: Enamórate de LaJefa.net */
.enamorate-image-section{
  padding:52px 0 28px;
  background:linear-gradient(180deg,#090909,#140104);
}
.enamorate-image-card{
  overflow:hidden;
  border-radius:24px;
  box-shadow:0 24px 65px rgba(0,0,0,.38);
  border:1px solid #3a0a10;
  background:#120006;
}
.enamorate-image-card img{
  display:block;
  width:100%;
  height:auto;
}
@media(max-width:700px){
  .enamorate-image-section{
    padding:32px 0 18px;
  }
  .enamorate-image-card{
    border-radius:14px;
  }
}


/* Banner principal arriba */
.top-banner-section{
  padding:0;
  margin:0;
  background:#0a0a0a;
}
.top-banner-wrap{
  width:100%;
  overflow:hidden;
  border-bottom:1px solid #2d0a10;
  box-shadow:0 20px 50px rgba(0,0,0,.28);
}
.top-banner-wrap img{
  display:block;
  width:100%;
  height:auto;
}

/* Ocultar elementos anteriores de cabecera */
.hero,
.hero-actions-bar,
.enamorate-image-section{
  display:none !important;
}

/* Popup principal */
.lajefa-popup-overlay{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(0,0,0,.62);
  z-index:10020;
  opacity:0;
  visibility:hidden;
  transition:opacity .25s ease, visibility .25s ease;
}
.lajefa-popup-overlay.is-open{
  opacity:1;
  visibility:visible;
}
.lajefa-popup-card{
  width:min(520px, 96vw);
  position:relative;
  border-radius:22px;
  padding:28px 24px;
  text-align:center;
  background:linear-gradient(180deg,#1a1a1a,#0d0d0d);
  border:1px solid #3b3b3b;
  box-shadow:0 25px 70px rgba(0,0,0,.4);
}
.lajefa-popup-close{
  position:absolute;
  top:10px;
  right:12px;
  width:36px;
  height:36px;
  border:0;
  border-radius:50%;
  cursor:pointer;
  font-size:1.5rem;
  line-height:1;
  background:#2a2a2a;
  color:#fff;
}
.lajefa-popup-logo{
  width:min(280px,78%);
  height:auto;
  margin:0 auto 10px;
  display:block;
}
.lajefa-popup-card h3{
  margin:10px 0 6px;
  font-size:1.9rem;
}
.lajefa-popup-card p{
  margin:0 auto 18px;
  color:#d7d7d7;
  max-width:370px;
}
.lajefa-popup-actions{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
}
@media(max-width:640px){
  .lajefa-popup-card{
    padding:24px 16px;
    border-radius:18px;
  }
  .lajefa-popup-card h3{
    font-size:1.55rem;
  }
}


/* Corrección visible del botón WhatsApp en popup */
.lajefa-popup-actions{
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  gap:12px !important;
  flex-wrap:wrap !important;
}
.lajefa-popup-actions .btn{
  min-width:180px;
}
.popup-whatsapp{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:#25d366 !important;
  color:#071d0e !important;
  border:2px solid #25d366 !important;
  text-decoration:none !important;
  font-weight:900 !important;
  opacity:1 !important;
  visibility:visible !important;
}
.popup-whatsapp:hover{
  background:#20bd5a !important;
  border-color:#20bd5a !important;
}
@media(max-width:520px){
  .lajefa-popup-actions .btn{
    width:100%;
  }
}


/* Programación semanal */
.schedule-section{
  background:linear-gradient(180deg,#121212,#090909);
}
.schedule-tabs{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:28px;
}
.schedule-tab{
  border:1px solid #3c3c3c;
  border-radius:999px;
  padding:11px 18px;
  background:#1c1c1c;
  color:#fff;
  font-weight:800;
  cursor:pointer;
}
.schedule-tab.is-active{
  background:#b60018;
  border-color:#b60018;
}
.schedule-panel{display:none}
.schedule-panel.is-active{display:block}
.schedule-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.schedule-card{
  display:grid;
  grid-template-columns:105px 1fr;
  gap:18px;
  align-items:center;
  padding:22px;
  border-radius:16px;
  background:#202020;
  border:1px solid #333;
}
.schedule-time{
  display:grid;
  place-items:center;
  min-height:82px;
  border-radius:12px;
  background:linear-gradient(145deg,#8f0014,#cf001f);
  color:#fff;
  font-weight:900;
  text-align:center;
}
.schedule-card h3{margin:0 0 5px}
.schedule-card p{margin:0;color:#bbb}
.schedule-more-wrap{text-align:center;margin-top:28px}
.schedule-more-button{cursor:pointer}
.full-schedule{
  margin-top:26px;
}
.full-schedule-inner{
  padding:26px;
  border-radius:18px;
  background:#171717;
  border:1px solid #343434;
}
.full-schedule-inner h3{margin-top:0}
.full-schedule-list{
  display:grid;
  gap:10px;
}
.full-schedule-list div{
  display:flex;
  justify-content:space-between;
  gap:18px;
  padding:14px 16px;
  border-radius:10px;
  background:#222;
}
.full-schedule-list strong{color:#f0b429}
.full-schedule-list span{color:#ddd}

/* Formulario para anunciantes */
.advertiser-section{
  padding:85px 0;
  background:
    radial-gradient(circle at 15% 20%,rgba(240,180,41,.14),transparent 24%),
    linear-gradient(135deg,#090909,#280006 75%,#730011);
}
.advertiser-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:55px;
  align-items:center;
}
.advertiser-kicker{
  color:#f0b429;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:.75rem;
  font-weight:900;
}
.advertiser-copy h2{
  margin:10px 0 15px;
  font-size:clamp(2.2rem,4vw,3.8rem);
  line-height:1;
}
.advertiser-copy > p{
  color:#ddd;
  font-size:1.05rem;
  max-width:620px;
}
.advertiser-benefits{
  display:grid;
  gap:12px;
  margin-top:28px;
}
.advertiser-benefits div{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:15px 18px;
  border-radius:12px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
}
.advertiser-benefits strong{color:#f0b429}
.advertiser-benefits span{color:#ddd;text-align:right}
.advertiser-form{
  display:grid;
  gap:16px;
  padding:28px;
  border-radius:20px;
  background:#f7f7f7;
  color:#111;
  box-shadow:0 25px 60px rgba(0,0,0,.35);
}
.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.advertiser-form label{
  display:grid;
  gap:7px;
  font-weight:800;
}
.advertiser-form input,
.advertiser-form textarea{
  width:100%;
  border:1px solid #ccc;
  border-radius:10px;
  padding:12px 13px;
  font:inherit;
  background:#fff;
  color:#111;
}
.advertiser-form input:focus,
.advertiser-form textarea:focus{
  outline:2px solid #f0b429;
  border-color:#f0b429;
}
.advertiser-submit{
  border:0;
  cursor:pointer;
}
.form-note{
  margin:0;
  color:#666;
  font-size:.78rem;
  text-align:center;
}
@media(max-width:950px){
  .schedule-grid{grid-template-columns:1fr}
  .advertiser-grid{grid-template-columns:1fr}
}
@media(max-width:650px){
  .form-row{grid-template-columns:1fr}
  .full-schedule-list div{
    flex-direction:column;
    gap:4px;
  }
  .schedule-card{
    grid-template-columns:1fr;
  }
  .advertiser-section{padding:65px 0}
}


/* Patrocinador destacado */
.sponsor-card-featured .sponsor-media{
  background:linear-gradient(135deg,#160707,#3d0909);
  padding:18px;
}
.sponsor-card-featured .sponsor-media img{
  object-fit:contain;
}


/* Corrección del logo de Pollo Asado */
.sponsor-card-featured .sponsor-media{
  height:260px !important;
  padding:20px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:hidden !important;
  background:linear-gradient(135deg,#160707,#3d0909) !important;
}
.sponsor-card-featured .sponsor-media img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  display:block !important;
}
@media(max-width:700px){
  .sponsor-card-featured .sponsor-media{
    height:220px !important;
  }
}




/* La Jefa Top: ranking musical premium */
.most-played-section{
  position:relative;
  overflow:hidden;
  padding:92px 0;
  background:
    linear-gradient(135deg,rgba(109,0,15,.42),transparent 42%),
    radial-gradient(circle at 82% 18%,rgba(240,180,41,.16),transparent 28%),
    #090909;
}
.chart-heading{
  position:relative;
  z-index:2;
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:30px;
  margin-bottom:34px;
}
.chart-kicker{
  display:inline-flex;
  margin-bottom:10px;
  padding:7px 12px;
  border:1px solid rgba(240,180,41,.35);
  border-radius:999px;
  background:rgba(240,180,41,.09);
  color:#f0b429;
  font-size:.74rem;
  font-weight:900;
  letter-spacing:.14em;
}
.chart-heading h2{
  margin:0;
  color:#fff;
  font-size:clamp(2.6rem,6vw,5.3rem);
  line-height:.92;
  letter-spacing:-.045em;
}
.chart-heading p{
  max-width:630px;
  margin:14px 0 0;
  color:#bdbdbd;
  font-size:1rem;
}
.chart-live{
  display:flex;
  align-items:center;
  gap:9px;
  flex:0 0 auto;
  padding:10px 14px;
  border:1px solid #343434;
  border-radius:999px;
  background:rgba(20,20,20,.82);
  color:#ddd;
  font-size:.7rem;
  font-weight:900;
  letter-spacing:.08em;
}
.chart-live-dot{
  width:9px;
  height:9px;
  border-radius:50%;
  background:#e10020;
  box-shadow:0 0 0 0 rgba(225,0,32,.55);
  animation:lajefaPulse 1.8s infinite;
}
@keyframes lajefaPulse{
  0%{box-shadow:0 0 0 0 rgba(225,0,32,.55)}
  70%{box-shadow:0 0 0 10px rgba(225,0,32,0)}
  100%{box-shadow:0 0 0 0 rgba(225,0,32,0)}
}
.chart-stage{
  position:relative;
  z-index:1;
  max-width:1020px;
  margin:0 auto;
  padding:24px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:26px;
  background:linear-gradient(145deg,rgba(31,31,31,.92),rgba(12,12,12,.96));
  box-shadow:0 35px 90px rgba(0,0,0,.45);
  backdrop-filter:blur(10px);
}
.chart-glow{
  position:absolute;
  width:190px;
  height:190px;
  border-radius:50%;
  filter:blur(80px);
  pointer-events:none;
  opacity:.25;
}
.chart-glow-one{
  top:-40px;
  left:-30px;
  background:#d3001d;
}
.chart-glow-two{
  right:-20px;
  bottom:-40px;
  background:#f0b429;
}
#sonic_history{
  position:relative;
  z-index:2;
  color:#fff;
}
#sonic_history ol,
#sonic_history ul{
  display:grid;
  gap:12px;
  margin:0;
  padding:0;
  list-style:none;
  counter-reset:lajefa-chart;
}
#sonic_history li{
  counter-increment:lajefa-chart;
  position:relative;
  display:grid;
  grid-template-columns:64px 58px minmax(0,1fr) auto;
  gap:16px;
  align-items:center;
  min-height:82px;
  padding:12px 18px 12px 12px;
  overflow:hidden;
  border:1px solid #323232;
  border-radius:16px;
  background:linear-gradient(90deg,#232323,#181818);
  color:#fff;
  font-weight:800;
  line-height:1.35;
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
#sonic_history li:hover{
  transform:translateY(-2px) scale(1.008);
  border-color:rgba(240,180,41,.62);
  box-shadow:0 14px 34px rgba(0,0,0,.3);
}
#sonic_history li::before{
  content:counter(lajefa-chart, decimal-leading-zero);
  display:grid;
  place-items:center;
  width:52px;
  height:52px;
  border-radius:14px;
  background:#111;
  color:#f0b429;
  font-size:1.05rem;
  font-weight:950;
  box-shadow:inset 0 0 0 1px #333;
}
#sonic_history li::after{
  content:"";
  width:44px;
  height:44px;
  border-radius:50%;
  background:
    radial-gradient(circle,#f0b429 0 8%,#111 9% 20%,#2e2e2e 21% 28%,#0d0d0d 29% 48%,#242424 49% 53%,#080808 54%);
  box-shadow:0 6px 18px rgba(0,0,0,.38);
  animation:lajefaSpin 8s linear infinite;
}
@keyframes lajefaSpin{
  to{transform:rotate(360deg)}
}
#sonic_history li:first-child{
  min-height:96px;
  border-color:rgba(240,180,41,.68);
  background:
    linear-gradient(90deg,rgba(154,0,22,.72),rgba(38,18,8,.96)),
    #202020;
  box-shadow:0 14px 36px rgba(126,0,17,.22);
}
#sonic_history li:first-child::before{
  content:"01";
  background:linear-gradient(145deg,#f5c54c,#b57b00);
  color:#120d00;
  box-shadow:0 8px 22px rgba(240,180,41,.24);
}
#sonic_history li:nth-child(2)::before{
  background:linear-gradient(145deg,#d5d5d5,#747474);
  color:#111;
}
#sonic_history li:nth-child(3)::before{
  background:linear-gradient(145deg,#c7864e,#75421e);
  color:#fff;
}
#sonic_history li:first-child .lajefa-track-label::after{
  content:"  •  AHORA SUENA";
  color:#f0b429;
  font-size:.68rem;
  letter-spacing:.08em;
}
#sonic_history a{
  color:#fff;
  text-decoration:none;
}
#sonic_history br{
  display:none;
}
.lajefa-track-label{
  min-width:0;
  overflow:visible;
  font-size:clamp(.9rem,2vw,1.05rem);
  white-space:normal;
  text-overflow:clip;
}
.lajefa-equalizer{
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
  gap:3px;
  height:22px;
  min-width:36px;
}
.lajefa-equalizer span{
  width:3px;
  border-radius:3px;
  background:#e10020;
  animation:lajefaBar .8s ease-in-out infinite alternate;
}
.lajefa-equalizer span:nth-child(1){height:8px}
.lajefa-equalizer span:nth-child(2){height:18px;animation-delay:.15s}
.lajefa-equalizer span:nth-child(3){height:12px;animation-delay:.3s}
.lajefa-equalizer span:nth-child(4){height:21px;animation-delay:.08s}
@keyframes lajefaBar{
  to{height:5px;opacity:.55}
}
.sonic-history-loading{
  margin:0;
  padding:34px;
  color:#aaa;
  text-align:center;
}
.chart-note{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:9px;
  margin-top:18px;
  color:#777;
  font-size:.78rem;
  text-align:center;
}
@media(max-width:760px){
  .chart-heading{
    align-items:flex-start;
    flex-direction:column;
  }
  .chart-live{
    align-self:flex-start;
  }
  .chart-stage{
    padding:12px;
    border-radius:20px;
  }
  #sonic_history li{
    grid-template-columns:52px 44px minmax(0,1fr);
    gap:10px;
    min-height:72px;
    padding-right:12px;
  }
  #sonic_history li::before{
    width:44px;
    height:44px;
    border-radius:12px;
  }
  #sonic_history li::after{
    width:38px;
    height:38px;
  }
  .lajefa-equalizer{
    display:none;
  }
}


/* Separación de artista y canción */
.lajefa-track-label{
  display:flex;
  min-width:0;
  flex-direction:column;
  gap:4px;
}
.lajefa-track-artist{
  overflow:visible;
  color:#fff;
  font-size:1rem;
  font-weight:900;
  white-space:normal;
  text-overflow:clip;
  line-height:1.3;
}
.lajefa-track-title{
  overflow:visible;
  color:#aaa;
  font-size:.82rem;
  font-weight:700;
  white-space:normal;
  text-overflow:clip;
  line-height:1.35;
}
#sonic_history li:first-child .lajefa-track-artist{
  color:#fff;
}
#sonic_history li:first-child .lajefa-track-title{
  color:#f0b429;
}


/* Versión 4.5: información completa y lista persistente */
#sonic_history li{
  height:auto;
}
.lajefa-track-label{
  overflow:visible;
  word-break:normal;
  overflow-wrap:anywhere;
}
@media(max-width:760px){
  #sonic_history li{
    align-items:start;
  }
}


/* Versión 4.7: fuente SonicPanel oculta y ranking visible independiente */
.lajefa-history-source{
  position:absolute !important;
  left:-99999px !important;
  top:auto !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}

#lajefa-ranked-history{
  position:relative;
  z-index:2;
  width:100%;
  color:#fff;
}

#lajefa-ranked-history .lajefa-generated-history{
  display:grid;
  gap:12px;
  width:100%;
  margin:0;
  padding:0;
  list-style:none;
}

#lajefa-ranked-history .lajefa-chart-item{
  display:grid;
  grid-template-columns:54px 48px minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
  width:100%;
  min-height:82px;
  padding:13px 17px 13px 13px;
  overflow:visible;
  border:1px solid #343434;
  border-radius:16px;
  background:linear-gradient(90deg,#242424,#171717);
  color:#fff;
  box-sizing:border-box;
}

#lajefa-ranked-history .lajefa-chart-item:first-child{
  min-height:94px;
  border-color:rgba(240,180,41,.72);
  background:linear-gradient(90deg,rgba(153,0,22,.78),rgba(41,20,8,.98));
  box-shadow:0 14px 34px rgba(126,0,17,.22);
}

#lajefa-ranked-history .lajefa-rank-number{
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  border-radius:13px;
  background:#101010;
  color:#f0b429;
  font-size:1rem;
  font-weight:950;
  box-shadow:inset 0 0 0 1px #3b3b3b;
}

#lajefa-ranked-history .lajefa-chart-item:first-child .lajefa-rank-number{
  background:linear-gradient(145deg,#f5c54c,#b57b00);
  color:#120d00;
}

#lajefa-ranked-history .lajefa-chart-item:nth-child(2) .lajefa-rank-number{
  background:linear-gradient(145deg,#e2e2e2,#858585);
  color:#111;
}

#lajefa-ranked-history .lajefa-chart-item:nth-child(3) .lajefa-rank-number{
  background:linear-gradient(145deg,#c78a54,#74411f);
  color:#fff;
}

#lajefa-ranked-history .lajefa-disc{
  display:block;
  width:42px;
  height:42px;
  border-radius:50%;
  background:
    radial-gradient(circle,#f0b429 0 8%,#111 9% 20%,#303030 21% 28%,#0c0c0c 29% 48%,#252525 49% 53%,#080808 54%);
  box-shadow:0 6px 18px rgba(0,0,0,.38);
  animation:lajefaSpin 8s linear infinite;
}

#lajefa-ranked-history .lajefa-track-label{
  display:flex;
  min-width:0;
  overflow:visible;
  flex-direction:column;
  gap:5px;
  white-space:normal;
}

#lajefa-ranked-history .lajefa-track-artist,
#lajefa-ranked-history .lajefa-track-title{
  display:block;
  max-width:100%;
  overflow:visible;
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:normal;
  text-overflow:clip;
}

#lajefa-ranked-history .lajefa-track-artist{
  color:#fff;
  font-size:1rem;
  font-weight:900;
  line-height:1.3;
}

#lajefa-ranked-history .lajefa-track-title{
  color:#b7b7b7;
  font-size:.85rem;
  font-weight:700;
  line-height:1.4;
}

#lajefa-ranked-history .lajefa-chart-item:first-child .lajefa-track-title{
  color:#f0b429;
}

#lajefa-ranked-history .lajefa-now-badge{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  padding:7px 10px;
  border:1px solid rgba(240,180,41,.45);
  border-radius:999px;
  background:rgba(240,180,41,.1);
  color:#f0b429;
  font-size:.66rem;
  font-weight:950;
  letter-spacing:.06em;
  white-space:nowrap;
}

#lajefa-ranked-history .lajefa-equalizer{
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
  gap:3px;
  width:34px;
  height:22px;
}

#lajefa-ranked-history .lajefa-equalizer i{
  display:block;
  width:3px;
  border-radius:3px;
  background:#e10020;
  animation:lajefaBar .8s ease-in-out infinite alternate;
}

#lajefa-ranked-history .lajefa-equalizer i:nth-child(1){height:8px}
#lajefa-ranked-history .lajefa-equalizer i:nth-child(2){height:18px;animation-delay:.15s}
#lajefa-ranked-history .lajefa-equalizer i:nth-child(3){height:12px;animation-delay:.3s}
#lajefa-ranked-history .lajefa-equalizer i:nth-child(4){height:21px;animation-delay:.08s}

@media(max-width:760px){
  #lajefa-ranked-history .lajefa-chart-item{
    grid-template-columns:44px 36px minmax(0,1fr);
    gap:9px;
    align-items:start;
    min-height:76px;
    padding:11px;
  }

  #lajefa-ranked-history .lajefa-rank-number{
    width:40px;
    height:40px;
  }

  #lajefa-ranked-history .lajefa-disc{
    width:34px;
    height:34px;
    margin-top:3px;
  }

  #lajefa-ranked-history .lajefa-now-badge,
  #lajefa-ranked-history .lajefa-equalizer{
    display:none;
  }

  #lajefa-ranked-history .lajefa-track-artist{
    font-size:.92rem;
  }

  #lajefa-ranked-history .lajefa-track-title{
    font-size:.8rem;
  }
}


/* Versión 4.8: botón flotante de WhatsApp sin popup */
.lajefa-popup,
#lajefa-popup{
  display:none !important;
}

.lajefa-whatsapp-float{
  position:fixed;
  right:18px;
  top:50%;
  z-index:9998;
  display:flex;
  align-items:center;
  gap:10px;
  transform:translateY(-50%);
  padding:10px 14px 10px 10px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px 0 0 999px;
  background:#25d366;
  color:#fff;
  font-size:.85rem;
  font-weight:900;
  text-decoration:none;
  box-shadow:0 14px 34px rgba(0,0,0,.28);
  transition:transform .2s ease,box-shadow .2s ease,filter .2s ease;
}

.lajefa-whatsapp-float:hover{
  transform:translateY(-50%) translateX(-4px);
  color:#fff;
  filter:brightness(1.04);
  box-shadow:0 18px 42px rgba(0,0,0,.34);
}

.lajefa-whatsapp-icon{
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  border-radius:50%;
  background:rgba(0,0,0,.13);
  font-size:1.15rem;
  line-height:1;
}

.lajefa-whatsapp-text{
  white-space:nowrap;
}

@media(max-width:700px){
  .lajefa-whatsapp-float{
    right:12px;
    top:auto;
    bottom:92px;
    transform:none;
    width:54px;
    height:54px;
    justify-content:center;
    padding:0;
    border-radius:50%;
  }

  .lajefa-whatsapp-float:hover{
    transform:translateY(-2px);
  }

  .lajefa-whatsapp-icon{
    width:auto;
    height:auto;
    background:transparent;
    font-size:1.35rem;
  }

  .lajefa-whatsapp-text{
    display:none;
  }
}
