
:root{--bg:#071326;--navy:#0c1d35;--deep:#050e1f;--card:#0c1c33;--line:#23334b;--yellow:#ffc400;--cyan:#10c6ed;--white:#fff;--muted:#93a3b9;--accent:#ffc400}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);font:14px Inter,Arial,sans-serif;color:var(--white)}button,input{font:inherit}a{text-decoration:none;color:inherit}button{cursor:pointer}.header{background:#08182c;border-bottom:1px solid #1b3046;position:sticky;top:0;z-index:40}.header-inner{max-width:1240px;margin:auto;min-height:74px;display:flex;align-items:center;gap:30px;padding:12px 24px}.brand{display:flex;align-items:center;gap:12px;min-width:190px}.brand img{height:48px;max-width:75px;object-fit:contain}.brand strong{display:block;font-size:19px;line-height:1.1;font-weight:900}.brand em{font-style:normal;color:var(--yellow)}.brand span{color:#a4b0be;font-size:10px}.header nav{display:flex;align-items:center;gap:18px;flex:1;justify-content:center}.header nav a{font-size:10px;font-weight:800;white-space:nowrap;letter-spacing:.4px;color:#c6d3e4}.header nav a:hover{color:var(--yellow)}.header-right{font-weight:800;font-size:11px;white-space:nowrap;color:#dce7f3}.header-right #clock{padding-left:9px;color:var(--yellow)}.pulse,.dot{display:inline-block;background:#f74440;border-radius:100%;width:8px;height:8px;margin-right:5px;box-shadow:0 0 0 4px #f7444022}.menu{display:none;background:none;border:0;color:white;font-size:22px}.hero{position:relative;min-height:320px;overflow:hidden;background:linear-gradient(115deg,#00a4d4 0%,#00a6d1 44%,#075c93 100%)}.hero-inner{position:relative;max-width:1240px;margin:auto;min-height:320px;padding:35px 38px;display:flex;align-items:center;overflow:hidden}.hero-copy{z-index:2;max-width:60%}.eyebrow{color:#f5ffff;font-size:10px;letter-spacing:1.7px;font-weight:900}.hero h1{font-size:clamp(37px,5vw,72px);font-weight:900;letter-spacing:-3px;line-height:1.02;margin:13px 0;color:white;text-shadow:0 7px 20px #06376b33}.hero h1 span{color:var(--yellow)}.hero p{font-size:15px;line-height:1.6;color:#edfbff;max-width:500px}.primary-btn{background:var(--yellow);border:0;color:#071326;display:inline-block;border-radius:25px;padding:13px 20px;font-weight:900;font-size:11px;letter-spacing:.3px;margin-top:7px}.primary-btn:hover{filter:brightness(1.1)}.hero-art{position:absolute;right:24px;bottom:0;max-height:290px;max-width:43%;object-fit:contain;z-index:1;filter:drop-shadow(0 16px 22px #012a4f55)}.hero-shape{position:absolute;border-radius:80px;background:#ffc400;transform:rotate(35deg)}.hero-shape1{width:400px;height:220px;right:-150px;bottom:-150px}.hero-shape2{width:170px;height:30px;right:90px;top:30px;opacity:.65}.hero-social{display:flex;gap:13px;padding-top:13px;font-size:12px;font-weight:800}.hero-social a{border:1px solid #ffffff66;border-radius:50px;padding:6px 10px}.slide-dots{position:absolute;bottom:10px;right:50%;z-index:4;display:flex;gap:6px}.slide-dots button{width:7px;height:7px;border-radius:50%;border:0;background:#ffffff80;padding:0}.slide-dots .active{background:var(--yellow);width:20px;border-radius:8px}.container{width:min(1120px,calc(100% - 38px));margin:auto}.section{padding:22px 0 28px;scroll-margin-top:92px}.first{padding-top:26px}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;gap:12px}.section h2{margin:0;font-size:15px;font-weight:900}.yellowbar,.cyanbar{display:inline-block;width:4px;height:15px;vertical-align:-2px;margin-right:6px;background:var(--yellow)}.cyanbar{background:var(--cyan)}.section-kicker{color:#6d829b;font-size:9px;font-weight:800;letter-spacing:.7px}.live-label{background:#ed343b;border-radius:3px;color:white;font-size:9px;letter-spacing:.6px;padding:5px 8px;margin-left:7px}.radio-player{display:grid;grid-template-columns:175px 1fr;gap:25px;padding:19px;background:linear-gradient(120deg,#112341,#091931);border:1px solid #1d324c;border-radius:8px}.cover{height:170px;display:grid;place-items:center;background:linear-gradient(145deg,#ff1744,#fd9320);border-radius:7px;overflow:hidden}.cover img{width:100%;height:100%;object-fit:cover}.cover #cover-placeholder{font-size:75px;color:#fff}.track{padding:8px 0}.playing-tag,.small-yellow{font-size:10px;color:var(--yellow);font-weight:900;letter-spacing:1px}.track h2{margin:12px 0 5px;font-size:25px}.track p{color:#a0b1c6;margin:0;font-size:12px}.track-line{display:flex;justify-content:space-between;align-items:center;margin-top:20px;border-bottom:2px solid #eac500;padding-bottom:9px;color:#b7c7db;font-size:9px}.wave{font-size:12px;color:var(--yellow);letter-spacing:3px}.player-controls{display:flex;align-items:center;gap:15px;padding-top:13px}.play{height:43px;width:43px;border:0;background:var(--yellow);border-radius:50%;color:var(--bg);font-size:17px}.player-controls #player-state{font-size:11px;color:#ced5e2;flex:1}.volume-icon{color:#9eafc2}.player-controls input{width:100px;accent-color:var(--yellow)}.radio-switch{display:flex;gap:8px;overflow-x:auto;margin:12px 0}.radio-switch button,.tv-options button{border:1px solid #2c415c;color:#d1dded;background:#11243c;border-radius:20px;padding:8px 12px;white-space:nowrap;font-size:11px}.radio-switch button.active,.tv-options button.active{background:var(--yellow);color:#091b30}.compact-grid,.cards-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.compact-card,.media-card{overflow:hidden;background:var(--card);border:1px solid #1a304c;border-radius:7px}.compact-card img{width:100%;height:120px;object-fit:cover}.compact-card .cardpad{padding:12px}.compact-card h3,.media-card h3{font-size:12px;line-height:1.45;margin:0 0 7px}.compact-card p,.media-card p{font-size:10px;color:var(--muted);line-height:1.4;margin:4px 0}.tv-grid{display:grid;grid-template-columns:1.45fr .55fr;gap:15px}.tv-main{height:340px;position:relative;border-radius:9px;overflow:hidden;background:radial-gradient(circle at 50% 40%,#166597,#001328 70%);border:1px solid #193a5a}.tv-main video{height:100%;width:100%;background:#000;position:absolute;inset:0;z-index:2}.tv-main video:not([src]){display:none}.tv-empty{position:absolute;inset:0;display:flex;flex-direction:column;gap:16px;align-items:center;justify-content:center;color:white;font-size:72px;font-weight:900}.tv-empty small{font-size:12px;color:#bbd8ee}.tv-detail{border:1px solid #23415c;padding:23px;background:linear-gradient(135deg,#145d89,#10233b);border-radius:9px}.tv-detail h3{font-size:22px;margin:12px 0}.tv-detail p{font-size:12px;line-height:1.6;color:#c7d4e1}.tv-options{display:grid;gap:7px;margin-top:18px;max-height:140px;overflow:auto}.wide{width:100%;text-align:center}.media-card .thumb{height:185px;position:relative;background:linear-gradient(145deg,#0d4269,#f6a900);overflow:hidden}.media-card .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.media-card:hover img{transform:scale(1.04)}.media-card .cardpad{padding:11px}.position{background:var(--yellow);color:#001324;padding:5px 8px;border-radius:0 0 5px 0;font-weight:900;position:absolute;top:0;left:0}.video-play{position:absolute;inset:0;display:grid;place-items:center;font-size:38px;color:white;text-shadow:0 3px 14px #000}.news-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:14px}.news-card{background:var(--card);border:1px solid #1a304c;border-radius:7px;overflow:hidden}.news-card:first-child{grid-row:span 2}.news-card img{width:100%;height:125px;object-fit:cover}.news-card:first-child img{height:277px}.news-card .cardpad{padding:12px}.news-card h3{font-size:12px;line-height:1.5;margin:0 0 7px}.news-card:first-child h3{font-size:19px}.news-card p{font-size:11px;line-height:1.5;color:#a4b4c9;margin:0}.news-date{color:var(--yellow);font-weight:800;font-size:9px;margin-bottom:5px}.footer{margin-top:25px;background:linear-gradient(#092442,#061326);border-top:1px solid #16466b;text-align:center;padding:34px 15px 48px}.foot-logo{font-size:25px;font-weight:900;color:var(--yellow)}.footer p{color:#a8b6c7;font-size:12px}.footer-links{display:flex;justify-content:center;gap:14px;margin:22px}.footer-links a{font-size:11px;border:1px solid #244660;padding:9px 12px;border-radius:30px}.copyright{font-size:10px;color:#60778e;border-top:1px solid #23405a;padding-top:18px}.status{display:none;margin-top:12px;padding:12px 15px;background:#24364c;border-radius:5px;font-size:12px;color:#eee}.status.error{display:block;background:#4b2431}.empty{color:#8298b0;font-size:12px;padding:22px 12px;border:1px dashed #2b4059;border-radius:7px;grid-column:1/-1}.card-link{display:block}.news-card button{border:0;background:transparent;color:var(--yellow);font-weight:800;padding:0;margin-top:10px}.modal{position:fixed;z-index:90;inset:0;background:#000b;display:flex;justify-content:center;align-items:center;padding:20px}.modal-card{width:min(700px,100%);max-height:85vh;overflow:auto;background:#0d213a;border:1px solid #36506e;border-radius:12px;padding:24px}.modal-card button{float:right;border:0;background:none;color:white;font-size:24px}.modal-card img{width:100%;max-height:250px;object-fit:cover}.modal-card h2{line-height:1.3}.modal-card p{white-space:pre-wrap;line-height:1.8;color:#cbd9e9}
@media(max-width:1060px){.header nav{gap:9px}.header nav a{font-size:9px}.header-right{display:none}}@media(max-width:760px){.header-inner{min-height:65px;justify-content:space-between}.menu{display:block}.header nav{display:none;position:absolute;top:65px;left:0;right:0;background:#08182c;padding:20px;flex-direction:column;align-items:stretch;gap:20px}.header nav.open{display:flex}.hero,.hero-inner{min-height:290px}.hero-inner{padding:27px 22px}.hero-copy{max-width:79%}.hero h1{font-size:38px;letter-spacing:-1.5px}.hero p{font-size:12px}.hero-art{max-width:38%;max-height:210px;right:0}.hero-shape1{width:190px;height:120px;right:-100px;bottom:-90px}.radio-player{grid-template-columns:110px 1fr;gap:13px;padding:12px}.cover{height:116px}.track h2{font-size:18px}.track-line{margin-top:12px}.wave{letter-spacing:0;font-size:8px}.player-controls{gap:8px}.player-controls input{width:65px}.compact-grid,.cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.media-card .thumb{height:170px}.tv-grid{grid-template-columns:1fr}.tv-main{height:240px}.news-grid{grid-template-columns:1fr 1fr}.news-card:first-child{grid-row:auto;grid-column:1/-1}.news-card:first-child img{height:190px}.news-card img{height:125px}}@media(max-width:410px){.hero h1{font-size:32px}.hero-copy{max-width:85%}.hero-art{opacity:.45}.radio-player{grid-template-columns:1fr}.cover{height:155px;width:155px;margin:auto}.news-grid{grid-template-columns:1fr}.news-card:first-child{grid-column:auto}.track-line{margin-top:20px}.compact-card img{height:94px}.media-card .thumb{height:140px}.section-head .section-kicker{display:none}}

/* Radio history + modern responsive layout */
html,body{max-width:100%;overflow-x:clip}img,video{max-width:100%}#nav{min-width:0}.section-head h2{line-height:1.4}.history-panel{background:#08152b;border:1px solid #22304a;border-radius:10px;margin-top:18px;padding:23px 26px}.history-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}.history-heading h3{font-size:15px;letter-spacing:.3px;margin:0;font-weight:900}.history-caption{color:#8399af;font-weight:800;font-size:10px;letter-spacing:1px}.history-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:28px;row-gap:12px}.history-item{display:flex;align-items:center;gap:12px;min-width:0;padding:6px 0;border-bottom:1px solid #17273f}.history-cover{width:48px;height:48px;border-radius:6px;object-fit:cover;background:#162d47;flex:none}.history-cover-fallback{display:grid;place-items:center;font-weight:800;color:#fbc500;font-size:19px}.history-text{min-width:0;flex:1}.history-song,.history-artist{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-song{font-weight:700;font-size:12px}.history-artist{font-size:10px;color:#9dacbf;text-transform:uppercase;margin-top:5px}.history-time{font-size:10px;color:#869cb5;white-space:nowrap}.history-empty{color:#a1b3c8;font-size:12px;line-height:1.65;grid-column:1/-1;padding:10px 0}.header-inner{min-width:0}
@media(max-width:1060px){.history-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.header-inner{gap:15px}.brand{min-width:unset}.header nav{gap:9px}}
@media(max-width:760px){.container{width:calc(100% - 28px)}.hero{min-height:270px}.hero-inner{min-height:270px}.hero h1{font-size:clamp(27px,8vw,40px);overflow-wrap:anywhere}.hero-copy{max-width:90%}.hero-art{opacity:.35;max-width:55%}.history-panel{padding:17px 14px}.history-grid{grid-template-columns:1fr 1fr;column-gap:16px}.history-item{gap:8px}.history-cover{width:40px;height:40px}.history-time{font-size:9px}.section-kicker{max-width:45%;text-align:right}.footer-links{flex-wrap:wrap}.radio-player{min-width:0}.track{min-width:0}.track-line{max-width:100%;overflow:hidden}.track .wave{white-space:nowrap;overflow:hidden}.player-controls{flex-wrap:wrap}.radio-switch{max-width:100%}.tv-grid,.news-grid,.compact-grid,.cards-grid{min-width:0}}
@media(max-width:520px){.history-grid{grid-template-columns:1fr}.history-cover{width:45px;height:45px}.history-panel{padding:16px}.history-caption{font-size:8px}.history-heading h3{font-size:12px}.hero-inner{padding:22px 18px}.hero-copy{max-width:100%}.hero p{max-width:220px}.radio-player{grid-template-columns:1fr;gap:10px}.cover{width:120px;height:120px;margin:auto}.track{text-align:center}.track-line,.player-controls{justify-content:center}.track-line{gap:12px}.player-controls #player-state{flex:0 1 auto}.player-controls input{width:75px}.tv-main{height:auto;aspect-ratio:16/9}.media-card .thumb{height:auto;aspect-ratio:1/1}.compact-grid,.cards-grid{gap:9px}.compact-card .cardpad,.media-card .cardpad{padding:9px}.compact-card h3,.media-card h3{overflow-wrap:anywhere}.footer{padding-bottom:28px}}
@media(max-width:340px){.header-inner{padding:10px}.brand strong{font-size:15px}.hero h1{font-size:27px}.history-caption{display:none}.compact-grid,.cards-grid{grid-template-columns:1fr}}

/* Fluid monitor support: small laptops, Full HD, QHD, 4K, ultrawide and portrait */
:root{--site-max:1600px;--site-gutter:clamp(12px,2.4vw,40px)}
body{min-width:0} .header-inner,.hero-inner{width:min(100%,calc(var(--site-max) + 2*var(--site-gutter)));max-width:none;margin-inline:auto;padding-inline:var(--site-gutter)}
.container{width:min(var(--site-max),calc(100% - 2*var(--site-gutter)))}
.header-inner,.header nav,.brand,.radio-player,.track,.history-item,.history-text,.tv-grid > *, .news-grid > *{min-width:0}
.hero-inner{min-height:clamp(270px,22vw,460px)}.hero{min-height:clamp(270px,22vw,460px)}
.hero h1{font-size:clamp(30px,4.5vw,86px);overflow-wrap:break-word}
.hero-art{max-height:90%;height:auto;width:auto;object-fit:contain}
.section{padding-block:clamp(19px,1.6vw,36px)}.section h2{font-size:clamp(14px,1.12vw,19px)}
.compact-grid,.cards-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.media-card .thumb{height:auto;aspect-ratio:1.35}.compact-card img{height:auto;aspect-ratio:1.85}
.tv-main{height:auto;aspect-ratio:16/9}.tv-grid{grid-template-columns:minmax(0,1.7fr) minmax(260px,.65fr)}
.news-card img{height:auto;aspect-ratio:1.8}.news-card:first-child img{height:auto;aspect-ratio:1.8}
.history-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.history-song,.history-artist{min-width:0}
@media (min-width:1920px){:root{--site-max:1680px}.header nav a{font-size:12px}.hero p{font-size:clamp(15px,1vw,19px)}.media-card h3,.compact-card h3{font-size:clamp(12px,.9vw,16px)}.history-song{font-size:14px}.history-cover{width:56px;height:56px}.news-card h3{font-size:15px}}
@media (min-width:3000px){:root{--site-max:1940px}.header-inner{min-height:88px}.container{font-size:16px}.section{padding-block:40px}.history-panel{padding:30px}.history-item{gap:18px}.history-song{font-size:16px}.history-artist,.history-time{font-size:13px}.track h2{font-size:34px}}
@media (max-width:1200px){.tv-grid{grid-template-columns:minmax(0,1.5fr) minmax(225px,.75fr)}.header-inner{gap:12px}.brand{min-width:0}.history-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:900px){.header-right{display:none}.compact-grid,.cards-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.news-card:first-child{grid-column:1/-1;grid-row:auto}}
@media (max-width:760px){.hero,.hero-inner{min-height:270px}.hero h1{font-size:clamp(27px,8vw,40px)}.hero-inner{padding-inline:clamp(14px,3vw,22px)}.header-inner{padding-inline:14px}.compact-grid,.cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tv-grid{grid-template-columns:minmax(0,1fr)}.history-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){.radio-player{grid-template-columns:1fr}.history-grid{grid-template-columns:1fr}.news-grid{grid-template-columns:1fr}.news-card:first-child{grid-column:auto}.hero-copy{max-width:100%}.hero-art{opacity:.32}.history-heading{flex-wrap:wrap}.history-caption{line-height:1.4}.track h2{overflow-wrap:anywhere}}
@media (max-width:340px){.compact-grid,.cards-grid{grid-template-columns:1fr}}
@media (orientation:landscape) and (max-height:430px) and (max-width:950px){.hero,.hero-inner{min-height:215px}.hero-art{max-height:210px}.section{padding-block:15px}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.media-card .thumb img{transition:none}}


body{padding-bottom:120px}
.sticky-player{position:fixed;left:0;right:0;bottom:0;z-index:60;padding:0 18px 14px;background:linear-gradient(to top,rgba(5,14,31,.92),rgba(5,14,31,.32),transparent);pointer-events:none}
.sticky-player[hidden]{display:none!important}
.sticky-player-inner{width:min(1220px,calc(100% - 12px));margin:0 auto;background:linear-gradient(90deg,#102747 0%,#132a4a 55%,#173152 100%);border:1px solid rgba(255,196,0,.28);border-radius:18px;min-height:78px;padding:12px 18px;display:flex;align-items:center;gap:18px;box-shadow:0 10px 28px rgba(0,0,0,.28);pointer-events:auto}
.sticky-track{display:flex;align-items:center;gap:14px;min-width:0;flex:1}
.sticky-cover-wrap{width:56px;height:56px;flex:0 0 56px}
.sticky-cover{width:56px;height:56px;border-radius:10px;object-fit:cover;background:#091524;border:1px solid rgba(255,255,255,.08)}
.sticky-cover-placeholder{display:grid;place-items:center;background:linear-gradient(145deg,#ff1744,#fd9320);color:#fff;font-size:24px;font-weight:900}
.sticky-meta{min-width:0;display:flex;flex-direction:column;gap:3px}
.sticky-meta strong{font-size:15px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.sticky-meta span{font-size:11px;color:#b2c1d4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.sticky-controls{display:flex;align-items:center;gap:16px}
.sticky-play{width:52px;height:52px;border-radius:50%;border:0;background:var(--yellow);color:#071326;font-size:24px;font-weight:900;box-shadow:0 0 25px rgba(255,196,0,.28)}
.sticky-volume-wrap{display:flex;align-items:center;gap:10px}
.sticky-volume-icon{color:#dbe8f6;font-size:18px}
#footer-volume{width:min(180px,24vw);accent-color:var(--yellow)}
.sticky-brand-wrap{display:flex;align-items:center;gap:10px;margin-left:auto}
.sticky-mini-logo{width:54px;height:54px;object-fit:contain;filter:drop-shadow(0 6px 16px rgba(0,0,0,.24))}
.sticky-live{color:#00de7a;font-size:11px;font-weight:900;letter-spacing:.7px;white-space:nowrap}
.history-empty,.empty{padding:18px;border:1px dashed rgba(255,255,255,.12);border-radius:12px;color:#a6b4c6;background:rgba(255,255,255,.02)}
@media (max-width: 820px){
 body{padding-bottom:148px}
 .sticky-player{padding:0 10px 10px}
 .sticky-player-inner{gap:12px;padding:10px 12px;min-height:70px}
 .sticky-controls{gap:10px}
 #footer-volume{width:120px}
 .sticky-brand-wrap{display:none}
}
@media (max-width: 640px){
 body{padding-bottom:172px}
 .sticky-player-inner{display:grid;grid-template-columns:1fr auto;grid-template-areas:'track play' 'track volume';align-items:center}
 .sticky-track{grid-area:track;min-width:0}
 .sticky-controls{display:contents}
 .sticky-play{grid-area:play;justify-self:end;width:48px;height:48px;font-size:22px}
 .sticky-volume-wrap{grid-area:volume;justify-self:end}
 #footer-volume{width:100px}
 .sticky-meta strong{font-size:13px}
 .sticky-meta span{font-size:10px}
}

/* TV: lista de canales más alta, con scroll vertical interno. */
.tv-detail{min-width:0;}
.tv-options{
  max-height:clamp(245px, 21vw, 350px);
  min-height:0;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:#84b4d5 #102a46;
  padding-right:5px;
}
.tv-options button{width:100%;white-space:normal;min-height:32px;}
.tv-options::-webkit-scrollbar{width:9px;}
.tv-options::-webkit-scrollbar-track{background:#102a46;border-radius:10px;}
.tv-options::-webkit-scrollbar-thumb{background:#84b4d5;border:2px solid #102a46;border-radius:10px;}
@media (max-width:760px){
  .tv-options{max-height:min(44vh,360px);}
}

/* Reproductor de Top Videos integrado en la página */
.video-card{display:block;text-align:left;width:100%;color:inherit;border:1px solid rgba(255,255,255,.08);padding:0;background:var(--card);font:inherit;border-radius:8px;overflow:hidden;cursor:pointer}
.video-card:hover{border-color:var(--yellow);transform:translateY(-2px)}
.video-card:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}
.video-modal-open{overflow:hidden}
.video-overlay{position:fixed;inset:0;background:rgba(2,7,18,.94);z-index:200;display:flex;align-items:center;justify-content:center;padding:clamp(12px,3vw,32px)}
.video-dialog{width:min(1100px,100%);max-height:calc(100dvh - 24px);background:#0b1c34;border:1px solid #2b4560;border-radius:14px;padding:14px;box-shadow:0 24px 90px #000b;overflow:auto}
.video-dialog-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}
.video-dialog-header h2{font-size:clamp(13px,2vw,19px);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.video-dialog-close{flex:0 0 auto;background:var(--yellow);border:0;border-radius:50%;width:38px;height:38px;font-size:20px;color:#071326}
.video-frame{aspect-ratio:16/9;background:#000;border-radius:8px;overflow:hidden}
.video-frame iframe{width:100%;height:100%;border:0;display:block}
@media(max-width:640px){.video-dialog{padding:9px}.video-overlay{padding:8px}.video-dialog-header{margin-bottom:8px}}

/* Banner exclusivo: mostrar únicamente la imagen administrada como slide. */
.hero{aspect-ratio:4 / 1;min-height:0!important;background-color:#061428;background-repeat:no-repeat;background-position:center!important;background-size:cover!important}
.hero-inner{height:100%;min-height:0!important;padding:0!important}
.hero-copy,.hero-art,.hero-shape,.slide-dots{display:none!important}
@media(max-width:760px){.hero{aspect-ratio:16 / 7}}

/* Cabecera compacta según referencia y carrusel 1600×400 sin textos superpuestos */
.header-inner{max-width:1600px}
.header nav a{font-size:clamp(10px,.75vw,13px);font-weight:700;color:#99a8bd;transition:color .15s}
.header nav a:first-child,.header nav a:hover{color:var(--yellow)}
.header nav a:first-child{border-bottom:2px solid var(--yellow);padding-bottom:6px}
.hero{width:100%;height:auto;aspect-ratio:4/1;min-height:0!important;position:relative;background:#071326!important;overflow:hidden}
.hero-slide-link{position:absolute;inset:0;display:block;z-index:1}
.hero-slide-link.no-link{cursor:default}
.hero-slide-link img{width:100%;height:100%;object-fit:fill;display:block}
.hero .slide-dots{display:flex!important;position:absolute;bottom:15px;left:50%;right:auto;transform:translateX(-50%);justify-content:center;align-items:center;z-index:5;gap:8px}
.hero .slide-dots button{background:#ffffffa8;width:9px;height:9px;border:0;cursor:pointer;border-radius:99px;padding:0}
.hero .slide-dots button.active{background:white;width:24px;height:9px}
.slide-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:6;width:44px;height:44px;background:#05172ba8;color:white;border:0;border-radius:50%;font-size:34px;display:grid;place-items:center;line-height:1;cursor:pointer}
.slide-arrow:hover{background:#061e39ef}
.slide-arrow:focus-visible,.hero .slide-dots button:focus-visible{outline:2px solid var(--yellow);outline-offset:3px}
.slide-prev{left:10px}.slide-next{right:10px}
.slide-arrow[hidden]{display:none!important}
.hero.no-slides{background:linear-gradient(100deg,#073760,#08a7ca)!important}
@media(max-width:760px){.hero{aspect-ratio:4/1!important;min-height:0!important}.slide-arrow{width:30px;height:30px;font-size:24px}.slide-prev{left:5px}.slide-next{right:5px}.hero .slide-dots{bottom:6px;gap:5px}.hero .slide-dots button{width:6px;height:6px}.hero .slide-dots button.active{width:16px;height:6px}}

.hero.slide-image-error{background:#071326!important}.hero-slide-link img[hidden]{display:none!important}

/* Header: logo general + enlaces sociales administrados desde el panel. */
.header-inner .brand{min-width:105px;flex:0 0 auto;justify-content:flex-start}
.header-inner .brand img{width:auto;max-width:120px;height:56px;object-fit:contain}
.header-inner .brand:has(img[hidden]){min-width:0}
.header-social{display:flex;gap:9px;align-items:center;justify-content:flex-end;flex-shrink:0}
.header-social a{width:35px;height:35px;display:flex;align-items:center;justify-content:center;border:1px solid #30445b;border-radius:50%;color:#b9c9dd;font-weight:800;font-size:0;transition:.2s;background:#102139}
.header-social a:hover{background:#223b5c;color:#fff;border-color:var(--yellow)}
.header-social a::before{content:'↗';font-size:17px}
.header-social a[href*="facebook.com"]::before{content:'f';font-family:Arial;font-size:19px}
.header-social a[href*="instagram.com"]::before{content:'◎';font-size:22px}
.header-social a[href*="tiktok.com"]::before{content:'♪';font-size:21px}
.header-social a[href*="youtube.com"]::before,.header-social a[href*="youtu.be"]::before{content:'▶';font-size:16px}
.header-social a[href*="twitter.com"]::before,.header-social a[href*="x.com"]::before{content:'𝕏';font-size:16px}
@media(max-width:1060px){.header-inner{gap:12px}.header nav{gap:12px}.header-social{display:flex}}
@media(max-width:760px){.header-inner .brand{margin-right:auto}.header-social{gap:5px}.header-social a{width:30px;height:30px}.header-inner .brand img{height:42px;max-width:92px}.header-inner .menu{order:3}}
@media(max-width:410px){.header-social{gap:3px}.header-social a{width:27px;height:27px}.header-social a::before{font-size:15px}.header-inner{padding-inline:10px}}

/* Header redes e interacción premium del menú (sobrescribe reglas antiguas). */
.header-social{display:flex!important;align-items:center;justify-content:flex-end;gap:9px;min-width:0}
.header-social .social-icon{width:39px;height:39px;flex:0 0 39px;display:grid;place-items:center;border-radius:50%;border:1px solid #35506d;background:#13243d;color:#c8d6e9;font-size:initial;transition:transform .22s ease,background .22s ease,color .22s ease,border-color .22s ease,box-shadow .22s ease}
.header-social .social-icon::before{content:none!important;display:none!important}
.header-social .social-icon svg{width:19px;height:19px;display:block;overflow:visible;fill:none}
.header-social .social-facebook svg{fill:currentColor}
.header-social .social-icon:hover{background:#163d5a;color:#fff;border-color:#ffc400;transform:translateY(-3px);box-shadow:0 5px 18px rgba(255,196,0,.19)}
.header-social .social-icon:focus-visible,.header nav a:focus-visible{outline:2px solid #ffc400;outline-offset:4px}
.header nav a,.header nav a:first-child{position:relative;display:inline-flex;align-items:center;min-height:40px;padding:9px 12px!important;border:0!important;border-radius:9px;letter-spacing:.45px;color:#acbbce;transition:background .22s ease,color .22s ease,box-shadow .22s ease,transform .22s ease}
.header nav a::after{content:'';position:absolute;bottom:4px;left:50%;width:0;height:2px;border-radius:4px;background:linear-gradient(90deg,#ffc400,#ffe17c);transform:translateX(-50%);transition:width .22s ease}
.header nav a:hover,.header nav a:focus-visible{background:rgba(255,196,0,.10);color:#fff!important;box-shadow:inset 0 0 0 1px rgba(255,196,0,.22);transform:translateY(-1px)}
.header nav a:hover::after,.header nav a.active::after{width:55%}
.header nav a.active,.header nav a:first-child{color:#ffc400!important}
@media(max-width:1100px){.header-inner{gap:8px}.header nav{gap:2px}.header nav a{padding-inline:7px!important}}
@media(max-width:760px){.header-inner{flex-wrap:nowrap}.header-social{gap:5px}.header-social .social-icon{height:33px;width:33px;flex-basis:33px}.header-social .social-icon svg{width:17px;height:17px}.header nav a{width:100%;padding:13px!important}.header nav a::after{display:none}}
@media(max-width:420px){.header-inner{gap:5px;padding-inline:9px}.header-inner .brand img{max-width:65px;height:36px}.header-social{gap:3px}.header-social .social-icon{height:29px;width:29px;flex-basis:29px}.header-social .social-icon svg{width:16px;height:16px}}

.header-social .social-tiktok svg{fill:currentColor!important;stroke:none!important}

/* Three columns on desktop and tablet; one on small screens for readability. */
.history-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.history-item{min-width:0}.history-cover{width:48px;height:48px;object-fit:cover;flex:0 0 48px}
@media(max-width:690px){.history-grid{grid-template-columns:1fr}}

/* Slider panorámico 1920 × 350 responsive para PC y móvil. */
#hero.hero {
  width: 100%;
  aspect-ratio: 1920 / 350 !important;
  height: clamp(115px, 18.229vw, 350px);
  min-height: 115px !important;
  max-height: 350px;
  overflow: hidden;
  background: #071326 !important;
  position: relative;
}
#hero .hero-slide-link,
#hero .hero-slide-link img {
  width: 100%;
  height: 100%;
}
#hero .hero-slide-link img {
  display: block;
  object-fit: cover;
  object-position: center center;
}
#hero .slide-dots {
  bottom: clamp(6px, 1.2vw, 16px);
}
#hero .slide-arrow {
  width: clamp(32px, 2.5vw, 44px);
  height: clamp(32px, 2.5vw, 44px);
  font-size: clamp(22px, 1.8vw, 34px);
}
#hero .slide-prev { left: clamp(5px, .8vw, 12px); }
#hero .slide-next { right: clamp(5px, .8vw, 12px); }
@media (max-width: 900px) {
  #hero.hero {
    height: auto;
    min-height: 0 !important;
    max-height: none;
  }
}
@media (max-width: 760px) {
  #hero.hero {
    aspect-ratio: 1920 / 350 !important;
    min-height: 84px !important;
  }
  #hero .hero-slide-link img {
    object-fit: contain;
    background: #071326;
  }
  #hero .slide-dots button {
    width: 7px;
    height: 7px;
  }
  #hero .slide-dots button.active {
    width: 18px;
    height: 7px;
  }
}

/* PRO AUDIO PLAYER: equalizers are a playback-state animation, not a true
   audio-frequency analysis (stream metadata and streaming CORS remain intact). */
.radio-player{position:relative;isolation:isolate;overflow:hidden;border:1px solid rgba(47,204,241,.30);border-radius:17px;background:linear-gradient(115deg,#112c4f,#0a1932 65%,#112947);box-shadow:0 16px 34px rgba(0,0,0,.18)}
.radio-player::before,.sticky-player-inner::before{content:"";pointer-events:none;position:absolute;inset:0;background:radial-gradient(ellipse at 92% 10%,rgba(21,201,236,.12),transparent 52%);z-index:-1}
.radio-player .cover{border-radius:13px;box-shadow:0 9px 24px rgba(0,0,0,.29)}
.radio-player .track h2{font-size:clamp(20px,2.5vw,29px);letter-spacing:-.035em}
.radio-player .playing-tag{letter-spacing:.13em;color:#5cddf1}
.radio-player .play,.sticky-player .sticky-play{background:linear-gradient(135deg,#ffdf65,#ffc400);box-shadow:0 0 0 5px rgba(255,196,0,.09),0 5px 20px rgba(255,196,0,.27);transition:transform .2s,box-shadow .2s}
.radio-player .play:hover,.sticky-player .sticky-play:hover{transform:scale(1.07);box-shadow:0 0 0 7px rgba(255,196,0,.16),0 8px 25px rgba(255,196,0,.34)}
.sticky-player-inner{position:relative;isolation:isolate;overflow:hidden;box-shadow:0 15px 45px rgba(0,0,0,.38),inset 0 1px rgba(255,255,255,.06);border-color:rgba(36,197,231,.32)}
.pro-eq{display:inline-flex;align-items:center;justify-content:center;gap:3px;height:33px;vertical-align:middle;flex:none}
.pro-eq i{display:block;width:3px;height:5px;min-height:4px;border-radius:5px;background:linear-gradient(180deg,#59e8f4 0%,#07badc 56%,#ffc400 100%);transform-origin:center;box-shadow:0 0 6px rgba(14,199,233,.3)}
.radio-is-playing .pro-eq i{animation:radio-eq-pulse calc(.55s + (var(--n) * .073s)) ease-in-out infinite alternate;animation-delay:calc(var(--n) * -.17s)}
@keyframes radio-eq-pulse{0%,100%{height:5px;opacity:.68}40%{height:24px;opacity:1}75%{height:11px;opacity:.92}}
.track-line{gap:12px}.footer-eq{display:flex;align-items:center;justify-content:center;padding:0 14px;border-left:1px solid rgba(255,255,255,.10);border-right:1px solid rgba(255,255,255,.10)}
.sticky-player .pro-eq{height:30px}.sticky-player .pro-eq i{width:3px}
@media(max-width:900px){.footer-eq{padding:0 5px}.footer-eq .pro-eq{gap:2px}.footer-eq .pro-eq i:nth-child(n+12){display:none}}
@media(max-width:640px){.footer-eq{display:none}.radio-player .pro-eq{gap:2px}.radio-player .pro-eq i{width:3px}}
@media(prefers-reduced-motion:reduce){.radio-is-playing .pro-eq i{animation:none;height:12px}.play,.sticky-play{transition:none}}

/* Distribución compacta inspirada en la referencia: todo el contenido centrado,
   con el banner panorámico independiente a ancho completo. */
:root{--site-max:1258px;--site-gutter:clamp(14px,2.6vw,26px)}
@media(min-width:1920px){:root{--site-max:1258px}}
@media(min-width:3000px){:root{--site-max:1258px}}
.header-inner{
  width:min(1258px,calc(100% - 28px));
  max-width:1258px;
  padding-inline:12px;
  margin-inline:auto;
}
.container{
  width:min(1258px,calc(100% - 32px));
  max-width:1258px;
  margin-inline:auto;
}
.sticky-player-inner{width:min(1258px,calc(100% - 20px))}
.section{padding-block:clamp(18px,1.5vw,27px)}
.section h2{font-size:clamp(14px,1vw,16px)}
.radio-player{grid-template-columns:minmax(150px,190px) minmax(0,1fr);gap:24px;padding:22px}
.radio-player .cover{height:auto;aspect-ratio:1}
.radio-player .track h2{font-size:clamp(20px,2vw,28px)}
.history-panel{padding:20px 22px}
.history-grid{column-gap:22px;row-gap:7px}
.history-cover{height:42px;width:42px;flex-basis:42px}
.history-song{font-size:12px}
.history-artist{font-size:10px}
.tv-grid{grid-template-columns:minmax(0,1.65fr) minmax(235px,.7fr)}
/* Conserva el slider 1920 × 350 en ancho completo. */
#hero.hero{width:100%;max-width:none;margin-inline:0}
@media(max-width:760px){
  .header-inner{width:100%;padding-inline:12px}
  .container{width:calc(100% - 26px)}
  .radio-player{grid-template-columns:minmax(110px,32%) minmax(0,1fr);gap:14px;padding:14px}
  .tv-grid{grid-template-columns:1fr}
  .history-panel{padding:15px}
  .history-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px){
  .radio-player{grid-template-columns:1fr;gap:12px}
  .radio-player .cover{height:150px;width:150px;margin-inline:auto}
  .history-grid{grid-template-columns:1fr}
}

/* PROGRAMACIÓN: tarjeta informativa e imagen ampliable */
.program-card .program-photo-button{display:block;position:relative;width:100%;border:0;padding:0;background:#10243c;cursor:zoom-in;overflow:hidden;text-align:center}
.program-card .program-photo-button img{width:100%;height:160px;display:block;object-fit:cover;transition:transform .25s}
.program-card .program-photo-button:hover img{transform:scale(1.045)}
.program-card .program-photo-button:disabled{cursor:default}
.program-card .program-photo-button:focus-visible{outline:3px solid var(--yellow);outline-offset:-3px}
.program-card .program-zoom{position:absolute;right:7px;bottom:7px;background:#051629d9;border-radius:5px;padding:5px 8px;color:#fff;font-size:10px}
.program-card .program-photo-button:disabled .program-zoom{display:none}
.program-no-photo{height:160px;display:grid;place-items:center;color:#8094b0}
.program-card .program-label{font-size:9px;font-weight:800;color:var(--yellow);letter-spacing:.7px;margin-bottom:6px}
.program-card .cardpad{padding:13px}
.program-card h3{font-size:14px;margin-bottom:10px}
.program-card .cardpad p{font-size:12px;line-height:1.55;overflow-wrap:anywhere}
.program-card .cardpad p strong{color:#e4ecf7}
.program-lightbox{position:fixed;inset:0;background:#020711ee;z-index:210;display:flex;align-items:flex-start;justify-content:center;padding:110px 28px 28px;overflow:auto;cursor:zoom-out}
.program-lightbox-inner{max-width:min(100%,1080px);max-height:calc(100dvh - 138px);position:relative;display:flex;flex-direction:column;align-items:center;gap:9px;cursor:default}
.program-lightbox-inner img{display:block;max-width:100%;max-height:calc(100dvh - 190px);object-fit:contain;border-radius:9px}
.program-lightbox-inner strong{font-size:15px;text-align:center}
.program-lightbox-close{position:absolute;right:-12px;top:-12px;width:42px;height:42px;border:0;border-radius:50%;background:var(--yellow);color:#071326;font-size:30px;line-height:1;cursor:pointer}
@media(max-width:640px){.program-lightbox{padding:82px 14px 14px}.program-lightbox-inner{max-height:calc(100dvh - 96px)}.program-lightbox-inner img{max-height:calc(100dvh - 145px)}.program-lightbox-close{right:0;top:0}.program-card .program-photo-button img{height:185px}}

/* Horario legible y transmisión en curso - horario de Perú */
.program-schedule{margin-top:10px;font-size:12px;line-height:1.6;color:#d1ddec}
.program-schedule>strong{display:block;margin-bottom:5px}
.program-days,.program-hours{display:block;line-height:1.55}
.program-days{font-weight:700;color:#f0f5ff;margin-top:8px}
.program-hours{font-variant-numeric:tabular-nums;color:#b6c9e0}
.program-live{display:inline-flex;align-items:center;border-radius:4px;background:#e82140;color:#fff;padding:4px 7px;font-weight:900;font-size:10px;margin-left:8px;animation:live-glow 2s ease-in-out infinite}
.program-live[hidden]{display:none!important}
@keyframes live-glow{50%{box-shadow:0 0 14px #e8214066}}
@media(prefers-reduced-motion:reduce){.program-live{animation:none}}

/* Fotos originales de programación: 1024 × 1024 (formato 1:1).
   No recortar rostros, micrófonos ni elementos de la composición. */
.program-card .program-photo-button {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  overflow: hidden;
  background: #0d1f37;
}
.program-card .program-photo-button img {
  display: block;
  width: 100%;
  height: 100% !important;
  aspect-ratio: 1 / 1;
  object-fit: contain !important;
  object-position: center;
  transition: none;
}
.program-card .program-photo-button:hover img { transform: none; }
.program-card .program-no-photo { aspect-ratio: 1 / 1; height: auto; }
@media (max-width: 640px) {
  .program-card .program-photo-button img { height: 100% !important; }
}

/* Tarjetas de programación: contorno blanco y acabado premium. */
#program-grid .program-card{border:1.5px solid rgba(255,255,255,.88)!important;border-radius:11px;box-shadow:0 8px 24px rgba(0,0,0,.19);background:#0c1d35;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;overflow:hidden}
#program-grid .program-card:hover{border-color:#fff!important;box-shadow:0 12px 30px rgba(0,0,0,.33),0 0 0 2px rgba(255,255,255,.12);transform:translateY(-3px)}
#program-grid .program-photo-button{border-bottom:1px solid rgba(255,255,255,.28)}
@media (prefers-reduced-motion:reduce){#program-grid .program-card{transition:none}#program-grid .program-card:hover{transform:none}}

/* TOP MÁS SONADAS – carátulas y números destacados, cinco por fila. */
#ranking-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px 14px;align-items:start}
#ranking-grid .ranking-card{min-width:0;background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible}
#ranking-grid .ranking-thumb{height:auto;aspect-ratio:1/1;border-radius:10px;background:#11243e;overflow:hidden}
#ranking-grid .ranking-thumb img{width:100%;height:100%;object-fit:cover;display:block}
#ranking-grid .position{top:9px;left:9px;width:39px;height:39px;display:grid;place-items:center;padding:0;border:3px solid #263e59;border-radius:50%;font-weight:900;font-size:19px;color:#fff;background:#071a32;box-shadow:0 2px 8px #0007}
#ranking-grid .ranking-card:first-child .position{color:#071326;border-color:#d19b00;background:#ffc400}
#ranking-grid .ranking-card:nth-child(2) .position{color:#081629;background:#cbd4e3;border-color:#8d9eb4}
#ranking-grid .ranking-card:nth-child(3) .position{color:#081629;background:#e9a94b;border-color:#a77528}
#ranking-grid .cardpad{padding:10px 1px 0}
#ranking-grid .cardpad h3{font-size:13px;line-height:1.35;font-weight:800;margin:0 0 5px}
#ranking-grid .cardpad p{font-size:11px;color:#90a4bf;text-transform:uppercase;line-height:1.35;margin:0}
@media(max-width:900px){#ranking-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 12px}}
@media(max-width:560px){#ranking-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 10px}#ranking-grid .position{height:34px;width:34px;font-size:16px;left:7px;top:7px}}

/* Ranking con carátulas llenando el espacio y audio independiente */
#ranking-grid .ranking-card{cursor:pointer;text-align:left;color:inherit;font:inherit;width:100%;padding:0;border:0;background:none}
#ranking-grid .ranking-thumb{display:block;aspect-ratio:1/1;position:relative;overflow:hidden;background:#09172b}
#ranking-grid .ranking-thumb img{width:100%;height:100%;position:absolute;inset:0;display:block;object-fit:cover;object-position:center;transition:transform .25s}
#ranking-grid .ranking-card:hover .ranking-thumb img{transform:scale(1.05)}
#ranking-grid .rank-play-icon{position:absolute;right:10px;bottom:10px;background:#ffc400;color:#071326;border-radius:50%;width:36px;height:36px;display:grid;place-items:center;font-size:17px;opacity:0;transform:translateY(5px);transition:.2s}
#ranking-grid .ranking-card:hover .rank-play-icon,#ranking-grid .ranking-is-playing .rank-play-icon,#ranking-grid .ranking-card:focus-visible .rank-play-icon{opacity:1;transform:none}
#ranking-grid .ranking-card:focus-visible{outline:2px solid #ffc400;outline-offset:4px}
#ranking-grid .ranking-card .cardpad{display:flex;flex-direction:column;gap:5px;padding:10px 1px}
#ranking-grid .ranking-card .cardpad strong{font-size:13px;font-weight:800;color:#fff}
#ranking-grid .ranking-card .cardpad span{font-size:11px;color:#90a4bf;text-transform:uppercase}
#ranking-grid .ranking-is-playing .ranking-thumb{box-shadow:0 0 0 2px #ffc400}
.rank-audio-toast{position:fixed;z-index:120;left:50%;bottom:125px;transform:translateX(-50%);width:min(460px,calc(100% - 32px));padding:14px 17px;background:#10253c;border:1px solid #ffc400;border-radius:10px;color:white;box-shadow:0 10px 30px #0009;text-align:center;font-size:12px}
.rank-audio-toast[hidden]{display:none}

/* TOP MAS SONADAS - caratula cuadrada completa; miniaturas de video ampliadas para reducir barras incorporadas */
#ranking-grid .ranking-thumb{aspect-ratio:1 / 1;display:block;overflow:hidden;background:#0d2138;border-radius:11px}
#ranking-grid .ranking-thumb img{width:100%;height:100%;object-fit:cover;object-position:center;transform:scale(1.38)!important;transform-origin:center;transition:transform .28s ease}
#ranking-grid .ranking-card:hover .ranking-thumb img{transform:scale(1.45)!important}
#ranking-grid .position,#ranking-grid .rank-play-icon{z-index:2}

/* Detalle de noticias: editor HTML, lectura cómoda y modal responsivo */
.news-detail-open{overflow:hidden}
.news-detail-modal{padding:18px;background:rgba(0,5,15,.85);backdrop-filter:blur(6px)}
.news-detail-card{position:relative;width:min(790px,100%);max-height:min(90vh,900px);overflow:auto;padding:24px;background:#10243e;border:1px solid #3b5677;border-radius:14px;box-shadow:0 24px 70px #0008}
.news-detail-card .news-detail-cover{display:block;width:100%;height:auto;max-height:360px;object-fit:contain;background:#09182c;border-radius:8px;margin-bottom:18px}
.news-detail-card h2{font-size:clamp(18px,2.1vw,24px);line-height:1.3;margin:0 42px 16px 0;color:#fff}
.news-detail-card .news-detail-close{position:sticky;top:0;float:right;z-index:3;display:grid;place-items:center;width:38px;height:38px;background:#1b3353;border:1px solid #5b7391;border-radius:50%;color:white;font-size:26px;cursor:pointer;margin-bottom:-38px}
.news-detail-card .news-detail-close:hover{background:#f0bd18;color:#061326}
.news-detail-body{line-height:1.75;color:#d8e2f0;font-size:14px;overflow-wrap:anywhere}
.news-detail-body p{white-space:normal;margin:0 0 1.1em;line-height:inherit;color:inherit;font-size:inherit}
.news-detail-body p:last-child{margin-bottom:0}
.news-detail-body a{color:#ffca20;text-decoration:underline}
.news-detail-body ul,.news-detail-body ol{padding-left:24px;margin:0 0 1em}
.news-detail-body h2,.news-detail-body h3,.news-detail-body h4{font-size:1.15em;margin:1em 0 .5em;color:white}
.news-detail-body blockquote{border-left:3px solid #ffc400;padding-left:14px;margin:1em 0}
@media(max-width:640px){.news-detail-modal{padding:9px}.news-detail-card{padding:16px;max-height:92dvh}.news-detail-card .news-detail-cover{max-height:260px}}

/* Noticias: tres columnas equilibradas, zoom suave y paginación. */
#noticias .news-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px 20px;align-items:start}
#noticias .news-card, #noticias .news-card:first-child {grid-column:auto;grid-row:auto;min-width:0;background:transparent;border:0;border-radius:9px;overflow:visible}
#noticias .news-image-link {display:block;position:relative;width:100%;aspect-ratio:16/10;overflow:hidden;padding:0;background:#12233d;border:0;border-radius:9px;cursor:pointer}
#noticias .news-image-link img, #noticias .news-card:first-child .news-image-link img {display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;transition:transform .38s cubic-bezier(.2,.7,.2,1)}
#noticias .news-image-link:hover img, #noticias .news-image-link:focus-visible img {transform:scale(1.065)}
#noticias .news-card .cardpad {padding:10px 0 3px}
#noticias .news-card h3, #noticias .news-card:first-child h3 {font-size:clamp(13px,1.1vw,16px);font-weight:800;line-height:1.45;margin:7px 0}
#noticias .news-title-link {border:0;padding:0;color:#f6f8fd;background:transparent;text-align:left;font-weight:inherit;font-size:inherit;line-height:inherit;cursor:pointer}
#noticias .news-title-link:hover {color:var(--yellow)}
#noticias .news-card p {color:#98adc5;font-size:12px;line-height:1.65;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
#noticias .news-read-link {margin-top:10px;font-size:11px;cursor:pointer}
#noticias .news-image-link:focus-visible, #noticias button:focus-visible {outline:2px solid var(--yellow);outline-offset:3px}
.news-pagination {display:flex;justify-content:center;flex-wrap:wrap;align-items:center;gap:8px;padding:29px 0 12px}
.news-pagination:empty {display:none}
.news-pagination button {color:#cad6e6;background:#12243d;border:1px solid #30465f;min-width:39px;min-height:38px;padding:8px 12px;border-radius:9px;font-size:12px;font-weight:800;cursor:pointer;transition:.2s}
.news-pagination button:hover:not(:disabled),.news-pagination button.active {background:var(--yellow);border-color:var(--yellow);color:#091525}
.news-pagination button:disabled {opacity:.38;cursor:not-allowed}
@media(max-width:850px){#noticias .news-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 16px}}
@media(max-width:540px){#noticias .news-grid {grid-template-columns:minmax(0,1fr)}#noticias .news-image-link {aspect-ratio:16/9}.news-pagination {gap:5px}.news-pagination button {padding:7px 9px;min-width:32px;min-height:34px}}

/* Menú de siete secciones con enlaces internos */
#contacto { scroll-margin-top: 90px; }
#programas,#television,#ranking,#videos,#noticias { scroll-margin-top: 90px; }
@media (min-width:761px) {
  .header-inner {gap:clamp(8px,1.1vw,20px);}
  .header nav {gap:clamp(0px,.27vw,6px);min-width:0;}
  .header nav a {font-size:clamp(9px,.68vw,12px);white-space:nowrap;padding-inline:clamp(4px,.5vw,10px)!important;}
}
@media (max-width:1050px) and (min-width:761px) {
  .header-inner {flex-wrap:wrap;justify-content:center;row-gap:0;}
  .header nav {order:3;flex-basis:100%;justify-content:center;}
  .header-social {margin-left:auto;}
}

/* CASMA TV: diseño de señal y programación lateral */
.casma-tv-section .section-head h2{font-size:clamp(17px,1.6vw,23px)}
.tv-feature-grid{grid-template-columns:minmax(0,2.05fr) minmax(270px,1fr);gap:20px;align-items:stretch}
.casma-tv-main{aspect-ratio:16/9;align-self:start;height:auto;min-height:0;background:#061327;border-radius:14px;border:1px solid #20364f}
.casma-tv-main video{width:100%;height:100%;object-fit:contain;z-index:2}
.casma-tv-main .tv-empty{font-size:13px;z-index:1;text-align:center}
.tv-start{position:absolute;z-index:5;inset:0;width:100%;height:100%;display:grid;place-items:center;border:0;background:linear-gradient(135deg,#0f4d7855,#030c1d77);color:white;cursor:pointer}
.tv-start span{display:grid;place-items:center;width:96px;height:96px;border-radius:50%;font-size:52px;padding-left:7px;background:#fff;color:#071326;box-shadow:0 9px 36px #0008;transition:transform .2s ease}
.tv-start:hover span{transform:scale(1.09)}
.tv-start[hidden]{display:none!important}
.casma-tv-detail{background:linear-gradient(145deg,#142843,#0c1d35);border:1px solid #233b55;padding:20px;border-radius:15px;display:flex;flex-direction:column;gap:14px;min-height:0}
.tv-onair{display:flex;align-items:center;gap:14px;min-width:0}
.tv-program-art{width:90px;height:90px;flex:0 0 90px;background:#183653;border-radius:12px;overflow:hidden;display:grid;place-items:center;font-weight:900;color:var(--yellow)}
.tv-program-art img{width:100%;height:100%;object-fit:cover}
.tv-program-content{min-width:0;display:flex;flex-direction:column;gap:7px}
.tv-onair-label{font-size:10px;color:#00dc8e;font-weight:900}
.casma-tv-detail .tv-program-content h3{font-size:clamp(17px,1.45vw,22px);line-height:1.18;margin:0}
#tv-current-time{font-size:11px;color:#ccd9eb;font-weight:700}
#tv-current-host{font-size:11px;color:#8baccd}
.tv-progress{height:4px;background:#293f59;border-radius:5px;overflow:hidden}.tv-progress span{height:100%;width:0;display:block;background:#ffc400;transition:width .6s}
.tv-next{padding:13px;background:#0a1a31;border:1px dashed #2c435b;border-radius:11px;display:grid;gap:6px}
.tv-next b{font-size:11px;color:#9caec6;letter-spacing:1px}
.tv-next strong{font-size:13px;color:white}.tv-next span{font-size:11px;color:#b7cae5}
.tv-channel-summary{display:flex;justify-content:space-between;gap:12px;background:#1a304c;padding:10px 12px;border-radius:10px}.tv-channel-summary span{color:#adbfd5;font-size:11px}.tv-channel-summary strong{font-size:12px}
.casma-tv-detail .tv-options{max-height:100px;margin:0;gap:5px}.casma-tv-detail .tv-options button{min-height:30px}
.casma-tv-detail .tv-info{margin:0;font-size:11px;color:#9bb0c5}
.tv-program-link{display:block;text-align:center;font-size:12px;color:var(--yellow);font-weight:800;padding:8px}
@media(max-width:850px){.tv-feature-grid{grid-template-columns:1fr}.casma-tv-detail{gap:12px}.casma-tv-main{width:100%}}
@media(max-width:480px){.casma-tv-detail{padding:14px}.tv-program-art{width:74px;height:74px;flex-basis:74px}.tv-start span{width:70px;height:70px;font-size:38px}}


/* Fondo Player / Splash desde el panel de la emisora (ID 1). */
body.station-has-background {background:#071326;isolation:isolate;}
body.station-has-background::before {
  content:"";
  position:fixed;
  inset:0;
  z-index:-2;
  pointer-events:none;
  background-image:var(--station-background);
  background-repeat:no-repeat;
  background-position:center center;
  background-size:cover;
}
body.station-has-background::after {
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:rgba(5,15,32,.78);
}
body.station-has-background main {background:transparent;}
@media(max-width:760px) {
  body.station-has-background::before {background-position:center center;}
  body.station-has-background::after {background:rgba(5,15,32,.84);}
}

/* Corrección: splash exclusivamente en las bandas laterales.
   El contenido central conserva el fondo sólido original. */
body.station-has-background main > .container {
  position: relative;
  z-index: 1;
  background: #071326;
  isolation: isolate;
}
/* No alterar el banner ni las superficies de tarjetas/reproductores. */
@media (max-width:760px) {
  body.station-has-background main > .container {
    background: #071326;
  }
}

/* Fondo original del panel, sin sombreado ni filtros en las bandas laterales. */
body.station-has-background::after {
  display: none !important;
  content: none !important;
  background: none !important;
}
body.station-has-background::before {
  filter: none !important;
  opacity: 1 !important;
}
/* Mantener únicamente el cuerpo central opaco azul marino. */
body.station-has-background main > .container {
  background-color: #071326;
}

/* Barra de navegacion vinculada al campo Color principal (primary_color) del panel. */
:root {
  --header-theme:#ff0076;
  --header-ink:#102037;
  --header-border:rgba(0,0,0,.16);
  --header-hover:rgba(255,255,255,.18);
}
.header{
  background:var(--header-theme)!important;
  border-bottom:1px solid var(--header-border)!important;
}
.header nav{background:transparent;}
.header nav a,
.header nav a:first-child{
  color:var(--header-ink)!important;
  background:transparent!important;
  box-shadow:none!important;
  border-radius:0!important;
  transform:none!important;
  transition:background-color .22s ease,color .22s ease!important;
}
.header nav a::after{display:none!important;}
.header nav a:hover,
.header nav a:focus-visible,
.header nav a.active,
.header nav a[aria-current="page"]{
  background:var(--header-hover)!important;
  color:var(--header-ink)!important;
  box-shadow:none!important;
  transform:none!important;
}
.header .menu{color:var(--header-ink)!important;}
.header-social .social-icon{
  background:var(--header-ink)!important;
  color:var(--header-theme)!important;
  border-color:color-mix(in srgb,var(--header-ink) 72%,transparent)!important;
}
.header-social .social-icon:hover{
  background:color-mix(in srgb,var(--header-ink) 86%,transparent)!important;
  border-color:var(--header-ink)!important;
}
@media(max-width:760px){
  .header nav,.header nav.open{background:var(--header-theme)!important;}
  .header nav a,.header nav a:first-child{border-radius:0!important;}
}

/* Últimas noticias: cinta horizontal sobre el reproductor, sin indicadores EN VIVO. */
.radio-news-ticker{display:flex;align-items:stretch;overflow:hidden;min-height:46px;margin:0 0 16px;background:#0c1b32;border:1px solid #23415b;border-radius:6px;color:#fff;isolation:isolate}
.ticker-label{z-index:2;flex:0 0 auto;display:flex;align-items:center;padding:0 17px;font-size:13px;font-weight:900;letter-spacing:.2px;background:#ff146d;color:white;white-space:nowrap}
.ticker-window{flex:1;min-width:0;overflow:hidden;display:flex;align-items:center;mask-image:linear-gradient(90deg,transparent,#000 2%,#000 98%,transparent)}
.ticker-track{display:flex;width:max-content;min-width:100%;align-items:center;gap:0;will-change:transform}
.ticker-group{display:flex;align-items:center;flex:none;white-space:nowrap}
.ticker-headline{appearance:none;border:0;background:transparent;color:#e8f1fb;padding:0 22px;font-size:12px;font-weight:650;white-space:nowrap;cursor:pointer;height:46px}
.ticker-headline:hover,.ticker-headline:focus-visible{color:#ffe900;text-decoration:underline}
.ticker-dot{color:#ffe900;padding-right:13px;font-size:9px}
.ticker-running{animation:casmaTicker var(--ticker-speed,85s) linear infinite}
.radio-news-ticker:focus-within .ticker-running{animation-play-state:paused}
@keyframes casmaTicker{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.ticker-empty{font-size:12px;color:#c9d5e5;padding:0 16px;white-space:nowrap}
@media(max-width:650px){.radio-news-ticker{min-height:40px}.ticker-label{font-size:10px;padding:0 9px}.ticker-headline{height:40px;font-size:11px;padding:0 13px}}
@media(prefers-reduced-motion:reduce){.ticker-running{animation:none;overflow:auto}}

/* Información administrada y distintivos de plataformas en footer. */
.station-contact[hidden],.platform-button[hidden],.station-contact [hidden]{display:none!important}
.station-contact{width:min(100%,1050px);margin:22px auto;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:25px;text-align:left;padding:23px;border:1px solid #30435a;border-radius:15px;background:#091b31;color:#fff;align-items:center}
.station-contact h3{font-weight:900;font-size:14px;margin:0 0 12px;color:var(--yellow)}
.station-contact-info p{white-space:pre-line;font-size:13px;color:#cfdaea;line-height:1.65;margin:0 0 12px}
.contact-fields{display:flex;flex-wrap:wrap;gap:9px 22px;font-size:12px;color:#d5dfeb}.contact-fields b{color:white}.contact-fields a{text-decoration:none;color:#ffe900}
.station-platforms{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px}.platform-button{min-height:56px;padding:9px 15px;display:flex;align-items:center;justify-content:center;gap:12px;border-radius:11px;border:1px solid #506376;background:#101820;color:white;transition:transform .2s,border-color .2s}.platform-button:hover{transform:translateY(-2px);border-color:#ffe900}.platform-button svg{width:28px;height:28px}.platform-button span{display:grid;gap:2px}.platform-button small{font-size:10px}.platform-button strong{font-size:16px}.tunein-button{background:#112e42}.tunein-button img{max-width:170px;max-height:65px;object-fit:contain}.tunein-button #tunein-fallback{font-size:12px}.tunein-button #tunein-fallback strong{font-size:16px}
@media(max-width:760px){.station-contact{grid-template-columns:1fr;padding:17px;gap:18px}.station-platforms{justify-content:flex-start}}

/* App Store administrado mediante URL iOS APP del panel. */
.appstore-button{background:#111827}
.appstore-button svg{flex:0 0 28px;fill:currentColor}

/* Enlace WhatsApp del desarrollador */
.copyright a{color:inherit;text-decoration:underline;text-underline-offset:3px;font-weight:800}.copyright a:hover{color:var(--yellow,#ffe900)}

/* Footer: decorative flowing waves and rotating record. */
.sticky-player{padding:0 0 env(safe-area-inset-bottom,0px);background:#080b1b;isolation:isolate;overflow:hidden;box-shadow:0 -8px 30px #0003}
.sticky-player-inner{width:min(1258px,100%);background:transparent;border:0;border-radius:0;box-shadow:none;isolation:auto;overflow:visible;position:relative;z-index:1;min-height:86px}
.sticky-player-inner::before{content:none}
.footer-waves{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}
.footer-wave{position:absolute;bottom:0;left:0;width:200%;height:90%;fill:#fff;opacity:.13;animation:footer-wave-flow 14s linear infinite;animation-play-state:paused;will-change:transform}
.footer-wave-2{height:78%;opacity:.08;animation-duration:21s;animation-direction:reverse}
@keyframes footer-wave-flow{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.sticky-player .footer-eq{display:none}
.sticky-cover-wrap{position:relative;width:60px;height:60px;flex:0 0 60px;border-radius:50%;background:repeating-radial-gradient(circle,#111 0 2px,#333 3px,#111 4px);box-shadow:0 3px 14px #0008;animation:footer-record-spin 9s linear infinite;animation-play-state:paused}
.sticky-cover-wrap .sticky-cover{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover;border:5px solid #161620;box-shadow:inset 0 0 0 1px #ffffff35}
.sticky-cover-wrap .sticky-cover-placeholder{display:grid}
.sticky-cover-wrap .sticky-cover[hidden]{display:none!important}
.sticky-cover-wrap::after{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:9px;height:9px;background:#080b1b;border:2px solid #e0e0e0;border-radius:50%;box-shadow:0 0 0 4px #0004;pointer-events:none}
@keyframes footer-record-spin{to{transform:rotate(360deg)}}
.radio-is-playing .footer-wave,.radio-is-playing .sticky-cover-wrap{animation-play-state:running}
@media(max-width:640px){.sticky-player-inner{padding:10px 12px;gap:6px 10px}.sticky-track{gap:10px}.sticky-cover-wrap{width:54px;height:54px;flex-basis:54px}.sticky-meta strong{font-size:13px}.footer-wave{width:300%}}
@media(prefers-reduced-motion:reduce){.footer-wave,.sticky-cover-wrap{animation:none!important;will-change:auto}}

/* Hero radial: metadata, live audience and clean responsive controls. */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.radio-player{position:relative;grid-template-columns:210px minmax(0,1fr);gap:28px;padding:26px;border:1px solid #ffffff20;border-radius:22px;background:radial-gradient(ellipse at 100% 0%,#d9217226,transparent 55%),linear-gradient(120deg,#112b48,#0b152b 65%);box-shadow:0 18px 45px #0003}
.radio-player .cover{width:100%;height:auto;aspect-ratio:1;border-radius:16px;box-shadow:0 10px 25px #0005}
.radio-player .track{min-width:0;display:flex;flex-direction:column;justify-content:center}
.radio-hero-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.listener-badge{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border:1px solid #ffffff24;border-radius:30px;background:#ffffff08;color:#dce8f5;font-size:11px;white-space:nowrap}
.listener-badge>span{color:#f0d82f}.listener-badge strong{color:#fff;font-variant-numeric:tabular-nums}
.radio-player .track h2{font-size:clamp(21px,2.5vw,34px);line-height:1.2;margin:16px 0 7px;overflow-wrap:anywhere}
.radio-player .track p{font-size:14px;line-height:1.5}
.radio-player .track-line{margin-top:20px;border-color:#ffffff24;padding-bottom:13px}
.radio-player .player-controls{padding-top:16px}
@media(max-width:700px){.radio-player{grid-template-columns:120px minmax(0,1fr);gap:16px;padding:18px}.radio-player .cover{width:120px;height:120px}.radio-hero-top{gap:8px}.radio-player .playing-tag{font-size:8px}.listener-badge{font-size:10px;padding:6px 9px}.radio-player .track h2{font-size:20px;margin-top:12px}.radio-player .track p{font-size:12px}.radio-player .player-controls{flex-wrap:wrap;gap:10px}.radio-player .player-controls #player-state{flex-basis:calc(100% - 62px)}.radio-player .player-controls input{flex:1;min-width:70px}}
@media(max-width:440px){.radio-player{grid-template-columns:1fr}.radio-player .cover{width:155px;height:155px;margin:auto}.radio-player .track{padding:0}.radio-player .track h2,.radio-player .track p{text-align:center}.radio-hero-top{justify-content:center}.radio-player .player-controls{flex-wrap:nowrap}.radio-player .player-controls #player-state{flex-basis:auto;font-size:10px}.radio-player .player-controls input{width:65px;min-width:50px;flex:0 1 65px}.radio-player .volume-icon{display:none}}

/* Historial rediseñado: tarjetas suaves, portada visible y pista actual destacada. */
.history-panel{background:#f8fafc!important;border:1px solid #e5ebf2!important;border-radius:14px!important;padding:17px!important;box-shadow:0 8px 24px #0000000d}
.history-heading{margin:0 0 16px!important;gap:10px;flex-wrap:wrap}
.history-heading h3{color:#112139!important}.history-caption{color:#65768c!important}
.history-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:15px!important}
.history-item{position:relative;display:flex!important;align-items:center;gap:14px!important;min-width:0;min-height:97px;padding:15px!important;border:0!important;border-radius:12px;background:#cdd8e4;color:#0b1930;box-shadow:none;transition:background .2s,transform .2s,box-shadow .2s}
.history-item:hover{background:#bdcedf;transform:translateY(-2px);box-shadow:0 8px 18px #24364d17}
.history-cover{width:60px!important;height:60px!important;flex:0 0 60px!important;object-fit:cover;border-radius:10px!important;background:#9fb2c6!important}
.history-cover-fallback{color:#fff;background:linear-gradient(135deg,#728ca8,#354d69)!important;font-size:27px}
.history-text{min-width:0;flex:1}.history-song{font-size:15px!important;font-weight:800!important;line-height:1.35;color:#101c33!important;text-transform:none!important}
.history-artist{font-size:13px!important;margin-top:5px!important;color:#324967!important;text-transform:none!important;line-height:1.35}
.history-time{font-size:10px!important;color:#475a70!important;align-self:flex-end}
.history-current{background:linear-gradient(110deg,#26332e,#151a1b 65%,#302727)!important;box-shadow:0 8px 18px #0003!important}
.history-current .history-song,.history-current .history-artist,.history-current .history-time{color:#fff!important}
.history-current:hover{background:linear-gradient(110deg,#31483d,#151a1b 65%,#41302d)!important}
.history-empty{color:#40536a!important}
@media(max-width:980px){.history-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:590px){.history-grid{grid-template-columns:1fr!important;gap:10px!important}.history-item{min-height:82px;padding:12px!important}.history-panel{padding:13px!important}.history-cover{width:54px!important;height:54px!important;flex-basis:54px!important}}

/* Selección interactiva de cualquier canción del historial */
.history-item{cursor:pointer;user-select:none}
.history-item:focus-visible{outline:3px solid #ffce12;outline-offset:3px}
.history-current .history-song,.history-current .history-artist,.history-current .history-time{color:#fff!important}


/* Historial cromático: cada portada colorea automáticamente su propia tarjeta. */
.history-item {
  isolation:isolate;
  overflow:hidden;
  background:#cdd8e4!important;
  transition:transform .22s ease,box-shadow .22s ease,outline-color .22s ease!important;
}
.history-item::before {
  content:"";
  position:absolute;
  z-index:-2;
  inset:-38%;
  background-image:var(--history-art,none);
  background-position:center;
  background-size:cover;
  filter:blur(32px) saturate(1.5) brightness(.62);
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease;
}
.history-item::after {
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  background:linear-gradient(100deg,rgba(10,17,33,.36),rgba(10,17,33,.66));
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease;
}
.history-item.history-has-art {background:#26374c!important;}
.history-item.history-has-art::before,.history-item.history-has-art::after {opacity:1;}
.history-item.history-has-art .history-song,
.history-item.history-has-art .history-artist,
.history-item.history-has-art .history-time {color:#fff!important;text-shadow:0 1px 3px rgba(0,0,0,.24);}
/* Al seleccionar, conservar el color de su portada; destacar solamente el contorno. */
.history-item.history-current {
  outline:2px solid rgba(255,196,0,.88);
  outline-offset:-2px;
  box-shadow:0 6px 17px rgba(0,0,0,.19)!important;
}
.history-item.history-has-art.history-current,
.history-item.history-has-art.history-current:hover {background:#26374c!important;}
.history-item.history-has-art:hover {background:#26374c!important;}
.history-item.history-current:not(.history-has-art),
.history-item.history-current:not(.history-has-art):hover {
  background:linear-gradient(110deg,#26332e,#151a1b 65%,#302727)!important;
}
.history-item:hover {transform:translateY(-2px);}
@media(prefers-reduced-motion:reduce){.history-item,.history-item::before,.history-item::after{transition:none!important}}

/* ===== Contacto móvil: distribución limpia y uniforme ===== */
@media (max-width:760px){
  .footer{padding-inline:14px}
  .station-contact{
    width:100%;
    margin:18px auto 22px;
    padding:20px 18px;
    gap:20px;
    border-radius:16px;
    align-items:stretch;
  }
  .station-contact-info{min-width:0;width:100%}
  .station-contact h3{font-size:17px;margin-bottom:16px}
  .station-contact-info p{
    font-size:14px;
    line-height:1.55;
    margin-bottom:15px;
    overflow-wrap:anywhere;
  }
  .contact-fields{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px 16px;
    width:100%;
    font-size:13px;
    line-height:1.45;
  }
  .contact-fields > div{min-width:0;overflow-wrap:anywhere}
  #contact-phone-row{grid-column:1/-1}
  .station-platforms{
    width:100%;
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
    justify-content:stretch;
  }
  .platform-button{
    width:100%;
    min-width:0;
    min-height:68px;
    padding:11px 18px;
    justify-content:flex-start;
    border-radius:13px;
  }
  .platform-button svg{width:32px;height:32px;flex:0 0 32px}
  .platform-button span{min-width:0;text-align:left}
  .platform-button small{font-size:11px}
  .platform-button strong{font-size:17px}
  .tunein-button{justify-content:flex-start;overflow:hidden}
  .tunein-button img{
    width:auto;
    max-width:145px;
    max-height:48px;
    object-fit:contain;
    object-position:left center;
  }
  .footer-links{margin:22px 0;gap:10px 12px}
}

@media (max-width:520px){
  .station-contact{padding:18px 16px;gap:18px}
  .station-contact h3{font-size:16px}
  .station-contact-info p{font-size:13px}
  .contact-fields{
    grid-template-columns:1fr;
    gap:10px;
    font-size:13px;
  }
  #contact-phone-row{grid-column:auto}
  .platform-button{
    min-height:64px;
    padding:10px 16px;
  }
  .platform-button svg{width:30px;height:30px;flex-basis:30px}
  .platform-button strong{font-size:16px}
  .tunein-button img{max-height:44px;max-width:135px}
}

/* ===== Ajustes finales móvil: redes sociales ordenadas + fondo inferior corregido ===== */
html,body{background:var(--bg)}
body{overflow-x:hidden}

@media (max-width:760px){
  .footer{
    padding-bottom:calc(138px + env(safe-area-inset-bottom,0px));
  }

  .footer-links{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    width:min(100%,420px);
    margin:22px auto;
    gap:12px;
    justify-content:center;
  }

  .footer-links a{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    min-height:48px;
    padding:11px 14px;
    text-align:center;
    line-height:1.2;
  }

  .footer-links a:last-child:nth-child(odd){
    grid-column:1 / -1;
    max-width:210px;
    justify-self:center;
  }

  .copyright{
    padding-inline:8px;
    line-height:1.7;
  }
}

@media (max-width:520px){
  .footer{
    padding-bottom:calc(146px + env(safe-area-inset-bottom,0px));
  }

  .footer-links{
    width:min(100%,380px);
    gap:10px;
  }

  .footer-links a{
    min-height:46px;
    font-size:12px;
    padding:10px 12px;
  }

  .copyright{
    font-size:11px;
  }
}

/* WhatsApp del panel: fijo al centro del costado derecho. */
.floating-whatsapp {
  position: fixed;
  top: 50%;
  right: max(16px, env(safe-area-inset-right));
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 18px rgba(0,0,0,.28);
  text-decoration: none;
}
.floating-whatsapp[hidden] { display: none !important; }
.floating-whatsapp:hover { background: #128c4a; }
.floating-whatsapp:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.floating-whatsapp svg { display: block; flex-shrink: 0; }
@media (max-width: 600px) {
  .floating-whatsapp {
    width: 48px;
    height: 48px;
    right: max(10px, env(safe-area-inset-right));
  }
  .floating-whatsapp svg { width: 28px; height: 28px; }
}

/* Ocultar el respaldo cuando la portada de la canción está disponible. */
.history-cover[hidden] { display: none !important; }

/* Barra superior desde Color principal del panel; conservar posición fija al scroll. */
html, body { overflow-x: clip; overflow-y: visible; }
.header {
  position: sticky !important;
  top: 0;
  z-index: 950;
  background: var(--header-theme, #ff0076) !important;
}
.header #nav a.active,
.header #nav a[aria-current="page"] {
  background: #ffeb00 !important;
  color: #000000 !important;
}
@media (max-width: 760px) {
  .header #nav, .header #nav.open {
    background: var(--header-theme, #ff0076) !important;
  }
}

/* Texto blanco; amarillo y negro únicamente para la opción seleccionada. */
.header #nav a,
.header #nav a:first-child,
.header #nav a:hover,
.header #nav a:focus-visible {
  color: #ffffff !important;
  background: transparent !important;
}
.header #nav a.active,
.header #nav a[aria-current="page"] {
  color: #000000 !important;
  background: #ffeb00 !important;
}
.header #nav a:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }



/* Ajuste F5 + redes: apariencia limpia sobre el Color principal del panel. */
.header-social .social-icon{
  background:rgba(255,255,255,.14)!important;
  color:#ffffff!important;
  border-color:rgba(255,255,255,.38)!important;
  box-shadow:none!important;
}
.header-social .social-icon:hover,
.header-social .social-icon:focus-visible{
  background:#ffeb00!important;
  color:#000000!important;
  border-color:#ffeb00!important;
  box-shadow:0 4px 14px rgba(0,0,0,.18)!important;
}


/* Slider final: formato nativo 1600 × 400 (4:1), responsive sin deformación. */
#hero.hero{width:min(100%,1600px)!important;max-width:1600px!important;aspect-ratio:1600 / 400!important;height:auto!important;min-height:0!important;max-height:400px!important;margin-left:auto!important;margin-right:auto!important;overflow:hidden!important;background:#071326!important}
#hero .hero-slide-link,#hero .hero-slide-link img{width:100%!important;height:100%!important}
#hero .hero-slide-link img{display:block!important;object-fit:contain!important;object-position:center center!important;max-width:none!important;image-rendering:auto}
@media(max-width:760px){#hero.hero{width:100%!important;max-width:none!important;aspect-ratio:1600 / 400!important;height:auto!important;min-height:0!important;max-height:none!important}#hero .hero-slide-link img{object-fit:contain!important}}

/* Slider dentro del mismo contenedor principal: 1600x400 proporcional y responsive. */
#hero.hero{
  width:min(1258px,calc(100% - 32px))!important;
  max-width:1258px!important;
  aspect-ratio:4 / 1!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin:0 auto!important;
  border-radius:0!important;
  overflow:hidden!important;
  background:#071326!important;
}
#hero .hero-slide-link,
#hero .hero-slide-link img{
  width:100%!important;
  height:100%!important;
}
#hero .hero-slide-link img{
  display:block!important;
  object-fit:cover!important;
  object-position:center center!important;
  image-rendering:auto!important;
}
@media(max-width:760px){
  #hero.hero{
    width:calc(100% - 26px)!important;
    max-width:none!important;
    aspect-ratio:4 / 1!important;
    margin-inline:auto!important;
  }
  #hero .hero-slide-link img{
    object-fit:cover!important;
  }
}



/* ===== Integración panel JCU: módulos adicionales ===== */
.panel-extra-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.panel-extra-card{background:var(--card);border:1px solid var(--line);border-radius:11px;overflow:hidden;min-width:0;transition:transform .2s,border-color .2s,box-shadow .2s}
.panel-extra-card:hover{transform:translateY(-3px);border-color:var(--accent);box-shadow:0 12px 28px #0004}
.panel-extra-card .panel-extra-img{width:100%;aspect-ratio:1/1;object-fit:cover;display:block;background:var(--deep)}
.panel-extra-card .panel-extra-body{padding:12px}.panel-extra-card h3{margin:0 0 6px;font-size:13px;line-height:1.35}.panel-extra-card p{margin:0;color:var(--muted);font-size:10px;line-height:1.5}
.panel-extra-card audio{width:100%;margin-top:10px;height:34px}.photo-card .panel-extra-img{aspect-ratio:4/3}.photo-card{cursor:pointer}.photo-card a{display:block}
@media(max-width:900px){.panel-extra-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.panel-extra-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}}
@media(max-width:390px){.panel-extra-grid{grid-template-columns:1fr}}

/* Player PRO: botón circular y efectos intercambiables sin alterar el layout */
.player-controls .player-fx{height:34px;min-width:42px;border-radius:18px;border:1px solid color-mix(in srgb,var(--accent) 58%,white 10%);background:rgba(255,255,255,.055);color:#fff;font-size:9px;font-weight:900;letter-spacing:.8px;padding:0 10px}
.player-controls .player-fx:hover{background:color-mix(in srgb,var(--accent) 20%,transparent);border-color:var(--accent)}
.play,.sticky-play{position:relative;isolation:isolate;overflow:visible}
.play::before,.sticky-play::before{content:"";position:absolute;inset:-7px;border:2px solid var(--accent);border-radius:50%;opacity:.28;pointer-events:none}
body.player-fx-pulse.radio-is-playing .play::before,body.player-fx-pulse.radio-is-playing .sticky-play::before{animation:jcu-fx-pulse 1.25s ease-out infinite}
body.player-fx-orbit .play::after,body.player-fx-orbit .sticky-play::after{content:"";position:absolute;inset:-6px;border-radius:50%;border:2px solid transparent;border-top-color:var(--accent);border-right-color:var(--cyan);pointer-events:none;animation:jcu-fx-orbit 1.1s linear infinite}
body.player-fx-wave.radio-is-playing .play,body.player-fx-wave.radio-is-playing .sticky-play{animation:jcu-fx-wave .85s ease-in-out infinite alternate}
@keyframes jcu-fx-pulse{0%{transform:scale(.85);opacity:.55}100%{transform:scale(1.45);opacity:0}}
@keyframes jcu-fx-orbit{to{transform:rotate(360deg)}}
@keyframes jcu-fx-wave{from{box-shadow:0 0 0 0 color-mix(in srgb,var(--accent) 28%,transparent),0 5px 20px rgba(0,0,0,.25)}to{box-shadow:0 0 0 10px transparent,0 5px 30px color-mix(in srgb,var(--accent) 42%,transparent)}}
@media(prefers-reduced-motion:reduce){body.player-fx-pulse .play::before,body.player-fx-pulse .sticky-play::before,body.player-fx-orbit .play::after,body.player-fx-orbit .sticky-play::after,body.player-fx-wave .play,body.player-fx-wave .sticky-play{animation:none!important}}

/* V2 PANELDROG: TV compacta/pro y logo de emisora */
.casma-tv-main{background:#0a1525!important;border:1px solid color-mix(in srgb,var(--yellow) 40%,#23334b)!important;box-shadow:0 14px 34px #0004}
.tv-start-pro{position:absolute;z-index:8;left:50%;top:50%;transform:translate(-50%,-50%);width:70px;height:70px;border-radius:50%;border:2px solid rgba(255,255,255,.85);background:rgba(4,13,26,.78);display:grid;place-items:center;box-shadow:0 10px 30px #0008,0 0 0 7px rgba(255,255,255,.07);backdrop-filter:blur(7px);transition:.2s}
.tv-start-pro:hover{transform:translate(-50%,-50%) scale(1.06);background:var(--yellow);border-color:var(--yellow)}
.tv-start-pro[hidden]{display:none!important}.tv-play-triangle{display:block;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent;border-left:19px solid white;margin-left:5px}.tv-start-pro:hover .tv-play-triangle{border-left-color:#071326}
.tv-corner-logo{position:absolute;z-index:7;right:14px;top:14px;width:66px;height:66px;object-fit:contain;padding:6px;border-radius:14px;background:rgba(3,11,23,.72);border:1px solid rgba(255,255,255,.2);box-shadow:0 8px 20px #0007;backdrop-filter:blur(5px)}
.tv-empty{z-index:5;font-size:13px!important;font-weight:800!important;color:#e7eef8!important;background:transparent!important;pointer-events:none}.tv-onair{align-items:center}.tv-program-art{width:72px;height:72px;border-radius:12px;overflow:hidden;flex:0 0 72px}.tv-program-art img{width:100%;height:100%;object-fit:cover}.tv-program-content h3{font-size:clamp(15px,1.6vw,20px)!important;line-height:1.2;margin:5px 0}.tv-program-content>span{font-size:10px}.tv-next{padding:13px 14px!important}.tv-channel-summary{font-size:10px}
@media(max-width:640px){.tv-start-pro{width:58px;height:58px}.tv-play-triangle{border-top-width:10px;border-bottom-width:10px;border-left-width:16px}.tv-corner-logo{width:50px;height:50px;right:9px;top:9px}.tv-program-art{width:58px;height:58px;flex-basis:58px}}

/* Imágenes de contenido: mostrar bien las fotos del panel */
.news-card .news-image-link{display:block;width:100%;border:0;padding:0;background:linear-gradient(145deg,var(--card),var(--navy));overflow:hidden}.news-card .news-image-link img{display:block;width:100%;height:100%;min-height:170px;object-fit:cover}.news-card:first-child .news-image-link img{min-height:260px}.panel-extra-img{background:var(--navy);object-fit:cover}

/* ============================================================
   V3 PANELDROG - METADATA/RSS/PODCAST + TV PRO + TEMA/ONDAS
   ============================================================ */
:root{--title-font:'Audiowide','Inter',system-ui,sans-serif}
.section-head h2,.history-heading h3,.foot-logo,.tv-program-content h3,.radio-player .track h2,.panel-extra-card h3,.news-card h3,.compact-card h3{font-family:var(--title-font);font-weight:400;letter-spacing:.015em}
.section-head h2{font-size:clamp(13px,1.05vw,17px)!important}.radio-player .track h2{font-size:clamp(22px,2.2vw,31px)!important}
.header nav a{font-size:11px;letter-spacing:.015em}
.header-tools{display:flex;align-items:center;gap:10px;min-width:max-content}.theme-toggle{width:40px;height:40px;border-radius:50%;border:1px solid color-mix(in srgb,var(--header-ink) 34%,transparent);background:color-mix(in srgb,var(--header-ink) 8%,transparent);color:var(--header-ink);display:grid;place-items:center;font-size:18px;cursor:pointer;transition:.2s}.theme-toggle:hover{transform:translateY(-1px);background:color-mix(in srgb,var(--header-ink) 15%,transparent)}
@media(max-width:860px){.header-tools{margin-left:auto}.theme-toggle{width:36px;height:36px}.header-social{display:none!important}}

/* Tema claro conservando el color principal que llega del panel. */
body.theme-light{--bg:#f4f7fb!important;--navy:#ffffff!important;--deep:#eaf0f7!important;--card:#ffffff!important;--line:#d7e0ec!important;--muted:#637083!important;color:#101827;background:#eef3f9!important}
body.theme-light.station-has-background::before{opacity:.08}
body.theme-light .section,body.theme-light .history-panel,body.theme-light .radio-news-ticker{color:#111827}
body.theme-light .radio-player{background:radial-gradient(ellipse at 100% 0%,color-mix(in srgb,var(--accent) 14%,transparent),transparent 56%),linear-gradient(120deg,#fff,#edf3fa 70%)!important;border-color:#d8e2ee!important;color:#111827!important;box-shadow:0 18px 42px #1b39551c!important}
body.theme-light .radio-player .playing-tag,body.theme-light .radio-player .track p,body.theme-light .listener-badge{color:#44536a}
body.theme-light .listener-badge{background:#f5f8fc;border-color:#dae4ee}
body.theme-light .panel-extra-card,body.theme-light .news-card,body.theme-light .compact-card,body.theme-light .tv-detail{background:#fff!important;color:#111827!important;border-color:#d7e0ec!important}
body.theme-light .sticky-player{background:#edf2f8!important;border-top-color:color-mix(in srgb,var(--accent) 45%,#dce5ee)!important;color:#111827}
body.theme-light .sticky-player-inner{background:linear-gradient(180deg,#fff,#eef3f8)!important}
body.theme-light .sticky-meta strong{color:#111827}.theme-light .sticky-meta span{color:#617084}
body.theme-light .wave-style,.theme-light .sticky-volume-wrap{background:#fff;border-color:#d6dfeb;color:#101827}

/* Reproductor inferior más compacto y profesional. */
.sticky-player{border-top:2px solid color-mix(in srgb,var(--accent) 78%,white 5%);background:#070b14;box-shadow:0 -16px 40px #0007}
.sticky-player-inner{min-height:82px!important;padding:9px 18px!important;gap:14px!important;background:linear-gradient(180deg,rgba(18,25,40,.97),rgba(8,12,22,.99))!important;border:1px solid rgba(255,255,255,.08)!important;border-bottom:0!important;border-radius:18px 18px 0 0!important;overflow:hidden!important}
.sticky-track{min-width:190px}.sticky-cover-wrap{width:58px!important;height:58px!important;flex-basis:58px!important;border:2px solid color-mix(in srgb,var(--accent) 70%,white 10%);box-shadow:0 0 0 4px rgba(255,255,255,.035),0 8px 22px #0008!important}
.sticky-meta strong{font-family:var(--title-font);font-size:13px!important;font-weight:400!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}.sticky-meta span{font-size:10px;opacity:.78}
.sticky-controls{display:flex;align-items:center;gap:10px}.sticky-play{width:55px!important;height:55px!important;flex:0 0 55px!important;border:0!important;background:linear-gradient(145deg,var(--accent),color-mix(in srgb,var(--accent) 64%,#fff 12%))!important;color:#07101d!important;box-shadow:0 0 0 5px color-mix(in srgb,var(--accent) 14%,transparent),0 8px 24px color-mix(in srgb,var(--accent) 28%,#000)!important}
.wave-style{height:38px;min-width:42px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:rgba(255,255,255,.06);color:#fff;font-size:23px;line-height:1;cursor:pointer}.wave-style:hover{border-color:var(--accent);color:var(--accent)}
.sticky-volume-wrap{padding:8px 11px;border:1px solid rgba(255,255,255,.10);border-radius:12px;background:rgba(255,255,255,.04)}
.sticky-mini-logo{width:54px!important;height:54px!important;border-radius:12px!important;padding:4px!important;background:#fff!important;object-fit:contain!important}
@media(max-width:720px){.sticky-player-inner{padding:8px 10px!important;gap:8px!important}.sticky-track{min-width:0}.sticky-meta strong{max-width:165px}.wave-style{display:none}.sticky-volume-wrap{min-width:100px}.sticky-brand-wrap{display:none}}

/* Tres estilos para las líneas/ondas del reproductor inferior. */
body.waves-flow .footer-wave{opacity:.15;animation-duration:14s}
body.waves-soft .footer-wave{opacity:.09;animation-duration:26s;filter:blur(.4px)}body.waves-soft .footer-wave-2{opacity:.055;animation-duration:38s}
body.waves-bars .footer-waves{background:repeating-linear-gradient(90deg,transparent 0 8px,color-mix(in srgb,var(--accent) 24%,transparent) 9px 11px,transparent 12px 19px);opacity:.45}.waves-bars .footer-wave{display:none}

/* Podcast cards con carátula y audio visibles. */
.podcast-pro-card{display:flex!important;flex-direction:column}.podcast-pro-card .panel-extra-img,.podcast-placeholder{aspect-ratio:1/1;width:100%;object-fit:cover;background:linear-gradient(145deg,var(--navy),var(--deep));display:grid;place-items:center;color:var(--accent);font-family:var(--title-font);font-size:14px;letter-spacing:.08em}
.podcast-kicker{display:block;color:var(--accent);font-size:8px;font-weight:900;letter-spacing:.15em;margin-bottom:7px}.podcast-pro-card .panel-extra-body{display:flex;flex-direction:column;flex:1}.podcast-pro-card .panel-extra-body p{min-height:34px}.podcast-audio{width:100%;height:38px!important;margin-top:auto!important;padding-top:8px}.podcast-link{margin-top:8px;color:var(--accent);font-size:9px;font-weight:900;text-decoration:none}.team-pro-card .panel-extra-img{aspect-ratio:4/3!important;object-position:center top}

/* TV: sin el gran botón nativo del navegador; controles propios. */
.casma-tv-main{position:relative!important;background:linear-gradient(145deg,#0a1525,#0d1d2f)!important;border:1px solid color-mix(in srgb,var(--accent) 42%,#26374d)!important;box-shadow:0 18px 42px #0005!important;overflow:hidden!important}
.casma-tv-main video{width:100%;height:100%;object-fit:contain;background:#07101b;display:block}
.casma-tv-main video::-webkit-media-controls{display:none!important}
.tv-start-pro{position:absolute!important;z-index:12!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:64px!important;height:64px!important;border-radius:50%!important;border:2px solid color-mix(in srgb,var(--accent) 78%,white 22%)!important;background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 78%,#09121f),color-mix(in srgb,var(--accent) 46%,#050a12))!important;display:grid!important;place-items:center!important;box-shadow:0 0 0 7px color-mix(in srgb,var(--accent) 12%,transparent),0 12px 34px #0009!important;backdrop-filter:blur(7px);transition:.2s!important;cursor:pointer!important}
.tv-start-pro:hover{transform:translate(-50%,-50%) scale(1.06)!important;box-shadow:0 0 0 9px color-mix(in srgb,var(--accent) 18%,transparent),0 14px 36px #000a!important}.tv-start-pro[hidden]{display:none!important}.tv-play-triangle{display:block!important;width:0!important;height:0!important;border-top:10px solid transparent!important;border-bottom:10px solid transparent!important;border-left:17px solid #fff!important;margin-left:4px!important}
.tv-controls{position:absolute;z-index:13;left:12px;right:12px;bottom:10px;height:46px;padding:6px 9px;border-radius:14px;background:rgba(4,10,18,.78);border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(10px);display:flex;align-items:center;gap:9px}.tv-controls[hidden]{display:none!important}.tv-controls button{height:32px;min-width:34px;border-radius:9px;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.06);color:#fff;cursor:pointer}.tv-controls button:hover{border-color:var(--accent);color:var(--accent)}.tv-controls input{flex:1;accent-color:var(--accent)}
.tv-corner-logo{z-index:14!important;width:62px!important;height:62px!important;right:13px!important;top:13px!important;padding:5px!important;border-radius:15px!important;background:rgba(5,12,22,.72)!important;border:1px solid color-mix(in srgb,var(--accent) 48%,white 12%)!important}
.tv-empty{z-index:9!important;bottom:62px!important;top:auto!important;left:14px!important;right:auto!important;width:auto!important;height:auto!important;padding:7px 11px!important;border-radius:9px!important;background:rgba(3,10,18,.72)!important;color:#e9f1fb!important;font-size:10px!important;letter-spacing:.04em!important}
.tv-detail{border:1px solid color-mix(in srgb,var(--accent) 28%,#33445b)!important;box-shadow:0 12px 30px #0003}.tv-onair-label{color:var(--accent)!important}.tv-progress span{background:linear-gradient(90deg,var(--accent),var(--cyan))!important}.tv-options button{background:color-mix(in srgb,var(--accent) 84%,#111)!important;border-color:transparent!important;color:#fff!important}.tv-program-link{color:var(--accent)!important}
@media(max-width:640px){.tv-start-pro{width:56px!important;height:56px!important}.tv-corner-logo{width:48px!important;height:48px!important}.tv-controls{left:8px;right:8px;bottom:7px;height:42px}.tv-empty{bottom:55px!important}}

/* Noticias: imagen consistente, incluso cuando viene del RSS. */
.news-card .news-image-link{background:linear-gradient(145deg,var(--card),var(--navy))!important}.news-card .news-image-link img{width:100%!important;height:190px!important;min-height:190px!important;object-fit:cover!important}.news-card:first-child .news-image-link img{height:280px!important;min-height:280px!important}
@media(max-width:640px){.news-card .news-image-link img,.news-card:first-child .news-image-link img{height:180px!important;min-height:180px!important}}

/* ============================================================
   V4 PRO — títulos, modo claro inicial, players y TV refinados
   ============================================================ */
:root{--title-font:"Autonomous","Audiowide",Inter,Arial,sans-serif}
.section-head h2,.radio-player .track h2,.tv-program-content h3,.compact-card h3,.panel-extra-card h3,.news-card h3,.foot-logo{font-family:var(--title-font);letter-spacing:.01em}
.header nav a{font-family:Inter,Arial,sans-serif;letter-spacing:.25px}

/* Play del radio construido con CSS, sin depender de glifos o SVG. */
.play,.sticky-play{position:relative;display:grid;place-items:center;overflow:visible;font-size:0!important}
.play::before,.sticky-play::before{content:"";display:block;width:0;height:0;border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:11px solid currentColor;margin-left:3px;transition:.18s}
.play.is-playing::before,.sticky-play.is-playing::before{width:4px;height:15px;border:0;border-left:4px solid currentColor;border-right:4px solid currentColor;margin-left:0}

/* Player principal más limpio y profesional. */
.radio-player{border-radius:20px!important;overflow:hidden;box-shadow:0 18px 48px #0003!important}
.radio-player .cover{border-radius:16px!important;background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 28%,#eef3f9),color-mix(in srgb,var(--accent) 10%,#fff))!important}
.radio-player .cover img{object-fit:contain!important;background:#fff}
.radio-player .player-controls{gap:12px!important}.radio-player .play{width:48px!important;height:48px!important;flex:0 0 48px;color:#101827!important}
.player-fx{height:34px!important;min-width:44px!important;border-radius:18px!important}

/* Reproductor inferior: carátula + metadata + líneas intercambiables. */
.sticky-player{backdrop-filter:blur(12px)}
.sticky-player-inner{max-width:1258px!important;min-height:78px!important;grid-template-columns:minmax(210px,1fr) minmax(160px,.7fr) auto auto!important}
.sticky-track{min-width:0}.sticky-meta strong{max-width:300px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sticky-meta span{max-width:320px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sticky-player .footer-eq{display:flex!important;min-width:150px;height:34px;border:0!important;padding:0 10px!important}
.wave-style{width:38px;height:38px;border-radius:12px;font-size:20px;font-weight:900;display:grid;place-items:center}
body.waves-flow .footer-eq .pro-eq i{border-radius:50%;width:4px;background:var(--accent);animation-duration:.55s}
body.waves-soft .footer-eq .pro-eq i{border-radius:99px;width:3px;opacity:.65;background:color-mix(in srgb,var(--accent) 65%,#8ae8ff)}
body.waves-bars .footer-eq .pro-eq i{width:5px;border-radius:2px;background:linear-gradient(180deg,var(--accent),#fff)}
@media(max-width:880px){.sticky-player .footer-eq{display:none!important}.sticky-player-inner{grid-template-columns:minmax(0,1fr) auto auto!important}}

/* El botón de TV ya no hereda el círculo blanco del estilo antiguo. */
.tv-start-pro{width:62px!important;height:62px!important;border:1px solid color-mix(in srgb,var(--accent) 75%,white)!important;background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 76%,#101827),#07101b)!important;box-shadow:0 0 0 6px color-mix(in srgb,var(--accent) 14%,transparent),0 13px 35px #0008!important}
.tv-start-pro .tv-play-triangle{background:transparent!important;box-shadow:none!important;border-radius:0!important;padding:0!important;width:0!important;height:0!important;min-width:0!important;display:block!important;border-top:9px solid transparent!important;border-bottom:9px solid transparent!important;border-left:15px solid #fff!important;margin-left:4px!important}
.tv-start-pro:hover .tv-play-triangle{border-left-color:#fff!important}
.tv-corner-logo{width:58px!important;height:58px!important;object-fit:contain!important;background:rgba(255,255,255,.88)!important;padding:5px!important;border-radius:14px!important;box-shadow:0 8px 24px #0006!important}
.tv-controls{background:rgba(5,12,22,.88)!important;border-color:rgba(255,255,255,.16)!important}

/* Modo claro completo como estado inicial. */
body.theme-light .header{background:rgba(255,255,255,.96)!important;border-bottom-color:#dbe3ed!important;box-shadow:0 4px 20px #233b5714}
body.theme-light .header nav a{color:#283548!important}body.theme-light .header nav a:hover,body.theme-light .header nav a.active{color:var(--accent)!important}
body.theme-light .menu{color:#111827!important}.theme-light .theme-toggle{color:#111827!important;border-color:#d6dfeb!important;background:#fff!important}
body.theme-light .radio-news-ticker{background:#fff!important;border-color:#d8e2ec!important}.theme-light .ticker-track{color:#263549!important}
body.theme-light .history-panel{background:#fff!important;border-color:#d9e3ed!important}.theme-light .history-item{background:#f6f9fc!important;border-color:#e0e7ef!important}.theme-light .history-song{color:#142033!important}
body.theme-light .casma-tv-main{background:linear-gradient(145deg,#e9eff6,#dfe8f1)!important;border-color:#cbd8e5!important}.theme-light .casma-tv-detail{background:#fff!important;color:#101827!important}.theme-light .tv-next,.theme-light .tv-channel-summary{background:#f5f8fc!important;border-color:#dce5ee!important}
body.theme-light .footer{background:#e9eff6!important;border-top-color:#cedae7!important}.theme-light .footer p,.theme-light .copyright{color:#5c6a7c!important}
body.theme-light .radio-switch button,.theme-light .tv-options button{background:#fff!important;color:#263549!important;border-color:#ccd8e4!important}.theme-light .radio-switch button.active,.theme-light .tv-options button.active{background:var(--accent)!important;color:#101827!important}

/* =====================================================================
   V5 PRO FINAL — CLARO POR DEFECTO + OSCURO OPCIONAL
   El color del panel se conserva como ACENTO; las superficies las controla
   el modo visual para evitar que toda la web quede negra o saturada.
   ===================================================================== */
:root{
  --title-font:'Autonomous','Audiowide',system-ui,sans-serif;
  --accent-soft:#eef3ff;
  --accent-deep:#294c9b;
}
body{font-family:Inter,Arial,sans-serif}
.section-head h2,.history-heading h3,.radio-player .track h2,.tv-program-content h3,.compact-card h3,.panel-extra-card h3,.news-card h3,.foot-logo,.program-label{font-family:var(--title-font);font-weight:700;letter-spacing:.015em}

/* CLARO — inspirado en la referencia blanca enviada por el usuario. */
body.theme-light{
  --bg:#eef2f6!important;
  --navy:#ffffff!important;
  --deep:#e8edf4!important;
  --card:#ffffff!important;
  --line:#d8e1eb!important;
  --white:#172033!important;
  --muted:#6d7b8e!important;
  background:#eef2f6!important;
  color:#172033!important;
}
body.theme-light.station-has-background{background:#eef2f6!important}
body.theme-light.station-has-background::before{opacity:.035!important;filter:grayscale(.25) saturate(.45)!important}
body.theme-light.station-has-background main>.container{background:#eef2f6!important}
body.theme-light main{background:transparent!important}
body.theme-light .header{background:rgba(255,255,255,.97)!important;border-bottom:1px solid #d8e1eb!important;box-shadow:0 6px 24px rgba(24,41,65,.08)!important}
body.theme-light .header:before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:var(--accent)}
body.theme-light .header nav a{color:#334155!important}
body.theme-light .header nav a:hover,body.theme-light .header nav a.active{color:var(--accent)!important}
body.theme-light .social-icon{color:#334155!important;border-color:#d6e0ea!important;background:#fff!important}
body.theme-light .social-icon:hover{color:#fff!important;background:var(--accent)!important;border-color:var(--accent)!important}
body.theme-light .theme-toggle{background:#f8fafc!important;color:#172033!important;border:1px solid #d6e0ea!important;box-shadow:none!important}
body.theme-light .status{background:#fff!important;color:#526174!important;border-color:#d9e2ec!important}
body.theme-light .radio-news-ticker{background:#fff!important;border-color:#d8e1eb!important;box-shadow:0 7px 22px rgba(27,47,74,.06)!important}
body.theme-light .ticker-label{color:#fff!important;background:var(--accent)!important}
body.theme-light .ticker-track,body.theme-light .ticker-headline{color:#334155!important}
body.theme-light .radio-player{background:linear-gradient(135deg,#ffffff 0%,#f7f9fc 60%,color-mix(in srgb,var(--accent) 7%,#fff) 100%)!important;border:1px solid #d8e2ec!important;color:#172033!important;box-shadow:0 20px 50px rgba(24,45,72,.10)!important}
body.theme-light .radio-player .cover{background:#f2f5f9!important;border:1px solid #dce5ee!important}
body.theme-light .radio-player .cover img{background:#fff!important}
body.theme-light .playing-tag{color:var(--accent)!important}
body.theme-light .listener-badge{background:#f7f9fc!important;border-color:#dce5ee!important;color:#526174!important}
body.theme-light .listener-badge strong{color:#172033!important}
body.theme-light .track-line{border-color:#dce5ee!important;color:#637286!important}
body.theme-light .player-controls{color:#526174!important}
body.theme-light .play{background:var(--accent)!important;color:#fff!important;box-shadow:0 0 0 6px color-mix(in srgb,var(--accent) 12%,transparent),0 8px 22px color-mix(in srgb,var(--accent) 30%,transparent)!important}
body.theme-light input[type="range"]{accent-color:var(--accent)}
body.theme-light .radio-switch button{background:#fff!important;color:#334155!important;border-color:#d5dfeb!important}
body.theme-light .radio-switch button.active{background:var(--accent)!important;color:#fff!important;border-color:var(--accent)!important}
body.theme-light .history-panel{background:#fff!important;border:1px solid #d9e3ed!important;box-shadow:0 14px 32px rgba(24,45,72,.08)!important}
body.theme-light .history-heading{color:#172033!important}
body.theme-light .history-item{background:linear-gradient(135deg,#f9fbfd,#f1f5f9)!important;border:1px solid #dfe7ef!important;color:#172033!important;box-shadow:none!important}
body.theme-light .history-item:hover{border-color:color-mix(in srgb,var(--accent) 55%,#dfe7ef)!important;transform:translateY(-2px)}
body.theme-light .history-song{color:#172033!important}
body.theme-light .history-artist,body.theme-light .history-time{color:#6b788a!important}
body.theme-light .history-cover-fallback{background:#e8eef5!important;color:#748399!important}
body.theme-light .section-head h2{color:#172033!important}
body.theme-light .section-kicker{color:#78869a!important}
body.theme-light .compact-card,body.theme-light .panel-extra-card,body.theme-light .media-card,body.theme-light .news-card{background:#fff!important;border:1px solid #dce5ee!important;color:#172033!important;box-shadow:0 10px 26px rgba(23,45,72,.07)!important}
body.theme-light .compact-card p,body.theme-light .panel-extra-card p,body.theme-light .media-card p,body.theme-light .news-card p{color:#617084!important}
body.theme-light .program-days,body.theme-light .program-hours{color:#506176!important}
body.theme-light .program-live{color:#0b9f6e!important}
body.theme-light .empty{background:#fff!important;border-color:#dce4ed!important;color:#657489!important}
body.theme-light .podcast-placeholder{background:linear-gradient(145deg,#eef3f8,#e4eaf1)!important;color:var(--accent)!important}
body.theme-light .podcast-audio{color-scheme:light}
body.theme-light .casma-tv-main{background:#111827!important;border-color:#cbd8e5!important;box-shadow:0 18px 42px rgba(24,45,72,.12)!important}
body.theme-light .casma-tv-detail{background:#fff!important;color:#172033!important;border-color:#d5e0eb!important;box-shadow:0 12px 30px rgba(24,45,72,.08)!important}
body.theme-light .tv-program-content h3,body.theme-light .tv-next strong,body.theme-light .tv-channel-summary strong{color:#172033!important}
body.theme-light #tv-current-host,body.theme-light .tv-next span,body.theme-light .tv-channel-summary span{color:#66768a!important}
body.theme-light .tv-next,body.theme-light .tv-channel-summary{background:#f6f8fb!important;border-color:#dbe4ed!important}
body.theme-light .tv-options button{background:#fff!important;color:#334155!important;border:1px solid #d7e0ea!important}
body.theme-light .tv-options button.active{background:var(--accent)!important;color:#fff!important;border-color:var(--accent)!important}
body.theme-light .footer{background:#e9eef4!important;color:#172033!important;border-top:1px solid #d3dde7!important}
body.theme-light .footer p,body.theme-light .footer-links,body.theme-light .copyright{color:#607084!important}

/* OSCURO — limpio, no negro puro. */
body.theme-dark{
  --bg:#071326!important;--navy:#0c1d35!important;--deep:#050e1f!important;--card:#0c1c33!important;--line:#23334b!important;--white:#fff!important;--muted:#93a3b9!important;
  background:#071326!important;color:#fff!important
}

/* Botón claro/oscuro: ícono 100% CSS. */
.theme-toggle{position:relative;width:34px;height:34px;border-radius:50%;font-size:0!important;display:grid;place-items:center}
.theme-toggle::before{content:"";width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:-5px 0 0 0 #172033;transform:translateX(2px)}
body.theme-light .theme-toggle::before{background:#f8b400;box-shadow:0 0 0 3px #f8b40022}

/* Reproductor inferior PRO: compacto, moderno y legible en ambos temas. */
.sticky-player{border-top:1px solid rgba(255,255,255,.10)!important;background:rgba(8,13,25,.94)!important;backdrop-filter:blur(14px) saturate(1.15)!important}
.sticky-player-inner{min-height:76px!important;padding:8px 18px!important;gap:14px!important}
.sticky-cover-wrap{width:58px!important;height:58px!important;flex-basis:58px!important;box-shadow:0 8px 24px rgba(0,0,0,.35)!important}
.sticky-meta strong{font-family:var(--title-font);font-size:13px!important;letter-spacing:.01em}
.sticky-meta span{font-size:10px!important;opacity:.78}
.sticky-play{width:52px!important;height:52px!important;flex-basis:52px!important;background:var(--accent)!important;color:#fff!important;border-radius:50%!important;box-shadow:0 0 0 5px color-mix(in srgb,var(--accent) 14%,transparent),0 10px 28px rgba(0,0,0,.28)!important}
.wave-style{position:relative;font-size:0!important;background:rgba(255,255,255,.07)!important;border-color:rgba(255,255,255,.13)!important}
.wave-style::before,.wave-style::after{content:"";position:absolute;left:8px;right:8px;height:2px;border-radius:4px;background:currentColor}
.wave-style::before{top:13px;transform:skewY(-18deg)}.wave-style::after{bottom:13px;transform:skewY(18deg)}
body.theme-light .sticky-player{background:rgba(255,255,255,.96)!important;border-top-color:#d2dce7!important;box-shadow:0 -10px 30px rgba(25,45,70,.12)!important}
body.theme-light .sticky-meta strong{color:#172033!important}body.theme-light .sticky-meta span{color:#66758a!important}
body.theme-light .sticky-cover-wrap{background:#dce4ee!important}
body.theme-light .wave-style{background:#f6f8fb!important;color:#334155!important;border-color:#d4dfeb!important}
body.theme-light .sticky-volume-wrap{background:#f6f8fb!important;border-color:#d5dfea!important;color:#334155!important}
body.theme-light .sticky-mini-logo{border:1px solid #dae3ec!important}
body.theme-light .footer-wave{fill:#6f819a!important;opacity:.10!important}

/* Tres formas visibles para las líneas/ecualizador del player inferior. */
body.waves-flow .footer-eq .pro-eq i{width:3px!important;border-radius:99px!important;background:var(--accent)!important;box-shadow:0 0 8px color-mix(in srgb,var(--accent) 32%,transparent)!important}
body.waves-soft .footer-eq .pro-eq i{width:4px!important;border-radius:50%!important;background:color-mix(in srgb,var(--accent) 62%,#9be9ff)!important;opacity:.78!important}
body.waves-bars .footer-eq .pro-eq i{width:5px!important;border-radius:2px!important;background:linear-gradient(180deg,var(--accent),color-mix(in srgb,var(--accent) 25%,#fff))!important}

/* TV PRO: botón play discreto, no el círculo blanco nativo. */
.casma-tv-main video{background:#05080d!important}
.tv-start-pro{width:68px!important;height:68px!important;border-radius:20px!important;background:rgba(7,15,27,.86)!important;border:1px solid color-mix(in srgb,var(--accent) 62%,#fff)!important;box-shadow:0 14px 36px #0008,0 0 0 5px color-mix(in srgb,var(--accent) 12%,transparent)!important}
.tv-start-pro:hover{transform:translate(-50%,-50%) scale(1.05)!important;background:var(--accent)!important}
.tv-play-triangle{border-top-width:10px!important;border-bottom-width:10px!important;border-left-width:17px!important}
.tv-corner-logo{width:56px!important;height:56px!important;object-fit:contain!important;background:rgba(255,255,255,.92)!important;border-radius:12px!important;padding:5px!important;box-shadow:0 8px 24px #0005!important}

/* Podcast y videos: no colapsar aunque un registro no tenga imagen propia. */
.panel-extra-grid{align-items:stretch}
.podcast-pro-card{min-height:220px}
.podcast-pro-card .panel-extra-img,.podcast-placeholder{min-height:170px}
.video-card .thumb{aspect-ratio:16/9;background:#0a1220;overflow:hidden}.video-card .thumb img{width:100%;height:100%;object-fit:cover}
.video-play{background:var(--accent)!important;color:#fff!important;box-shadow:0 8px 24px #0005!important}

/* Móvil */
@media(max-width:700px){
  body.theme-light.station-has-background main>.container{background:#eef2f6!important}
  .sticky-player-inner{padding:7px 8px!important}.sticky-cover-wrap{width:48px!important;height:48px!important;flex-basis:48px!important}.sticky-play{width:48px!important;height:48px!important;flex-basis:48px!important}
  .radio-player{grid-template-columns:100px minmax(0,1fr)!important;gap:13px!important;padding:14px!important}.radio-player .track h2{font-size:20px!important}
}

/* ============================================================
   V6 PRO - MODO CLARO REAL / PLAYER / VIDEOS / PROGRAMACION
   ============================================================ */
:root{
  --pro-title:"Autonomous","Audiowide","Arial Black",sans-serif;
  --pro-body:"Inter",Arial,sans-serif;
  --light-bg:#eef3f8;
  --light-surface:#ffffff;
  --light-surface-2:#f7f9fc;
  --light-text:#132036;
  --light-muted:#6b7b91;
  --light-line:#d9e2ee;
}
body{font-family:var(--pro-body)}
.section-head h2,.track h2,.tv-detail h3,.program-card h3,.video-stage-info strong,.history-heading h3,.footer .foot-logo{font-family:var(--pro-title);letter-spacing:.01em;font-weight:700}

/* Claro es el modo inicial: fondo blanco/gris suave, acento del panel. */
html[data-theme="light"],body.theme-light{color:var(--light-text);background:var(--light-bg)}
body.theme-light .header{background:#fff!important;border-top:3px solid var(--accent);border-bottom:1px solid var(--light-line);box-shadow:0 5px 20px rgba(14,32,56,.08)}
body.theme-light .header nav a{color:#243249!important}
body.theme-light .header nav a:hover{color:var(--accent)!important;background:color-mix(in srgb,var(--accent) 8%,white)}
body.theme-light .header nav a.active{background:var(--accent)!important;color:#08111f!important;box-shadow:0 8px 20px color-mix(in srgb,var(--accent) 24%,transparent)}
body.theme-light .menu{color:#172439}
body.theme-light .social-icon,body.theme-light .theme-toggle{color:#23344b;border-color:#ccd7e4;background:#fff}
body.theme-light .container{color:var(--light-text)}
body.theme-light .section{color:var(--light-text)}
body.theme-light .section-kicker{color:#718199}
body.theme-light .radio-player{background:linear-gradient(135deg,#fff,#f3f7ff)!important;border-color:#d6e1ef!important;box-shadow:0 14px 35px rgba(35,62,100,.10)}
body.theme-light .track p,body.theme-light .player-controls #player-state{color:#667791!important}
body.theme-light .track-line{color:#708096;border-color:color-mix(in srgb,var(--accent) 55%,#d8e0eb)}
body.theme-light .history-panel,body.theme-light .program-card,body.theme-light .panel-extra-card,body.theme-light .news-card,body.theme-light .media-card{background:#fff!important;border-color:#d8e2ee!important;color:#17243a;box-shadow:0 8px 24px rgba(30,53,84,.08)}
body.theme-light .program-card p,body.theme-light .panel-extra-card p,body.theme-light .news-card p{color:#677891!important}
body.theme-light .casma-tv-detail{background:#fff!important;border-color:#d7e2ee!important;color:#16233a;box-shadow:0 10px 28px rgba(23,48,79,.09)}
body.theme-light .tv-next{background:#f7f9fc;border-color:#d9e3ee}.theme-light .tv-next strong,.theme-light .tv-channel-summary strong{color:#17243a}.theme-light .tv-channel-summary{background:#f2f5f9}.theme-light .tv-channel-summary span,.theme-light #tv-current-host,.theme-light #tv-current-time{color:#6c7d93}
body.theme-light .footer{background:#fff!important;border-color:#d9e2ed;color:#18243a}.theme-light .footer p,.theme-light .copyright{color:#75859a}
body.theme-light .empty{color:#74859b;border-color:#cedae8;background:#f8fafd}

/* Slider: siempre ocupa su lugar y la imagen se ve completa. */
.hero{min-height:235px;background:#0b1830;border-radius:0;overflow:hidden}
.hero-slide-link{display:block;position:absolute;inset:0;width:100%;height:100%}
#hero-slide-image{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:opacity .28s ease}
.hero.no-slides{min-height:86px;background:linear-gradient(110deg,color-mix(in srgb,var(--accent) 18%,#0b1830),#0b1830)}
body.theme-light .hero.no-slides{background:#f7f9fc;border:1px solid #dde6f0}
.slide-arrow{z-index:7;width:40px;height:40px;border-radius:50%;border:1px solid #ffffff55;background:#08111f99;color:#fff;font-size:26px}.slide-prev{left:16px}.slide-next{right:16px}.slide-dots{z-index:8}

/* Botones Play/Pause sin dependencia de iconos ni fuentes. */
.play,.sticky-play{position:relative;font-size:0!important;display:grid;place-items:center}
.play::before,.sticky-play::before{content:"";width:0;height:0;border-top:8px solid transparent;border-bottom:8px solid transparent;border-left:13px solid currentColor;margin-left:3px}
.play.is-playing::before,.sticky-play.is-playing::before{width:14px;height:16px;border:0;margin:0;background:linear-gradient(90deg,currentColor 0 34%,transparent 34% 66%,currentColor 66% 100%)}
.play{box-shadow:0 7px 18px color-mix(in srgb,var(--accent) 32%,transparent)}

/* Caratula como disco; la emisora no repite logo a la derecha. */
.cover{border-radius:18px;background:#fff;border:1px solid #d9e3ee;padding:8px;aspect-ratio:1/1;height:auto;max-height:190px}
.cover img{border-radius:14px;object-fit:cover}
.sticky-player-inner{grid-template-columns:minmax(220px,1.2fr) minmax(110px,.7fr) auto!important}
.sticky-brand-wrap{display:none!important}
.sticky-cover-wrap{border-radius:50%;overflow:visible;position:relative}
.sticky-cover{border-radius:50%!important;object-fit:cover!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 34%,transparent),0 5px 15px rgba(0,0,0,.22)}
.radio-is-playing .sticky-cover{animation:disc-spin 12s linear infinite}
@keyframes disc-spin{to{transform:rotate(360deg)}}
.sticky-meta strong{font-family:var(--pro-title);font-size:13px}.sticky-meta span{font-size:11px;opacity:.72}
body.theme-light .sticky-player{background:rgba(255,255,255,.96)!important;border-top:1px solid #d7e1ec;color:#17243a;box-shadow:0 -12px 35px rgba(29,51,81,.12)}
body.theme-light .footer-wave-1{fill:#e7edf5}.theme-light .footer-wave-2{fill:#f6f8fb}
body.theme-light .sticky-volume-wrap{background:#f4f7fb;border-color:#d8e2ed}.theme-light .sticky-meta span{color:#697a91}
.wave-style,.player-form{width:42px;height:42px;border:1px solid #cad6e3;border-radius:12px;background:#fff;color:#213249;position:relative}
.wave-style::before{content:"";position:absolute;left:9px;right:9px;top:12px;height:17px;background:repeating-linear-gradient(90deg,var(--accent) 0 3px,transparent 3px 6px);clip-path:polygon(0 45%,10% 20%,20% 70%,30% 25%,40% 80%,50% 15%,60% 68%,70% 30%,80% 74%,90% 28%,100% 50%,100% 70%,0 70%)}
.player-form::before{content:"";position:absolute;inset:10px;border:2px solid var(--accent);border-radius:5px}.player-form::after{content:"";position:absolute;width:8px;height:8px;background:var(--accent);border-radius:50%;right:7px;bottom:7px}
.player-form-flat .sticky-player{border-radius:0}.player-form-flat .sticky-play{border-radius:12px!important}.player-form-flat .sticky-cover{border-radius:12px!important;animation:none!important}
.player-form-neon .sticky-player{box-shadow:0 -8px 28px color-mix(in srgb,var(--accent) 26%,transparent),inset 0 1px color-mix(in srgb,var(--accent) 38%,transparent)}
.player-form-neon .sticky-play{box-shadow:0 0 0 5px color-mix(in srgb,var(--accent) 20%,transparent),0 0 24px color-mix(in srgb,var(--accent) 50%,transparent)}

/* Programacion: solo HOY. */
#program-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
#program-grid .program-card{border:1px solid #dbe4ee!important;background:#fff!important;color:#17243a!important;box-shadow:0 9px 25px rgba(35,56,82,.08)}
#program-grid .program-card-live{box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 55%,transparent),0 12px 30px rgba(29,49,78,.12)}
.program-card .program-photo-button{aspect-ratio:1/1;height:auto!important;background:#eef3f8}.program-card .program-photo-button img{width:100%;height:100%!important;object-fit:cover!important}.program-card .program-label{color:var(--accent)}

/* Locutores todos con el mismo porte. */
#team-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.team-pro-card{overflow:hidden;border-radius:14px}.team-pro-card>img{width:100%!important;aspect-ratio:1/1!important;height:auto!important;object-fit:cover!important;object-position:center!important;display:block}.team-pro-card .panel-extra-body{min-height:78px;padding:13px 14px}.team-pro-card h3{margin:0 0 5px;font-family:var(--pro-title);font-size:14px}

/* Podcasts: tarjeta real, no bloque vacio. */
#podcast-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.podcast-pro-card{display:grid;grid-template-columns:120px 1fr;min-height:150px;overflow:hidden;border-radius:14px}.podcast-pro-card>img,.podcast-placeholder{width:120px;height:100%;min-height:150px;object-fit:cover}.podcast-placeholder{display:grid;place-items:center;background:linear-gradient(135deg,var(--accent),#202a4a);color:#fff;font-family:var(--pro-title);font-size:12px}.podcast-pro-card .panel-extra-body{padding:14px;min-width:0}.podcast-audio{width:100%;height:34px;margin-top:8px}.podcast-link{display:inline-flex;margin-top:9px;font-weight:900;font-size:10px;color:var(--accent)}

/* Videos estilo ranking + reproductor grande como el ejemplo. */
#videos-grid{display:block!important}.video-showcase{display:grid;grid-template-columns:minmax(250px,.72fr) minmax(0,1.55fr);gap:18px;align-items:stretch}.video-rank-list{display:grid;gap:8px;max-height:520px;overflow:auto;padding-right:4px}.video-rank-item{display:grid;grid-template-columns:34px 82px 1fr;align-items:center;gap:10px;width:100%;min-height:78px;border:1px solid #dbe4ee;border-radius:10px;background:#fff;color:#17243a;text-align:left;padding:6px;box-shadow:0 4px 14px rgba(29,52,83,.06)}.video-rank-item.active{border-color:var(--accent);box-shadow:inset 5px 0 var(--accent),0 7px 18px color-mix(in srgb,var(--accent) 12%,transparent)}.video-rank-number{font-family:var(--pro-title);font-size:18px;text-align:center}.video-rank-item img{width:82px;height:62px;object-fit:cover;border-radius:7px}.video-rank-text{min-width:0;display:grid;gap:4px}.video-rank-text strong{font-size:12px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.video-rank-text small{font-size:10px;color:#7c8b9f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.video-stage{background:#fff;border:1px solid #dbe4ee;border-radius:14px;padding:12px;box-shadow:0 10px 28px rgba(31,54,84,.09)}.video-stage-frame{aspect-ratio:16/9;background:#000;border-radius:10px;overflow:hidden}.video-stage-frame iframe{width:100%;height:100%;border:0}.video-stage-info{display:flex;align-items:center;gap:12px;padding:11px 4px 2px}.video-stage-info span{font-size:9px;font-weight:900;color:var(--accent)}.video-stage-info strong{flex:1;font-size:14px}.video-stage-info a{font-size:10px;font-weight:900;color:var(--accent)}
body.theme-dark .video-rank-item,body.theme-dark .video-stage{background:#0e2038;color:#fff;border-color:#263b54}

/* TV PRO: poster/logo, play compacto y controles flotantes. */
.casma-tv-main{background:linear-gradient(135deg,#050a10,#0b1c2c);box-shadow:0 12px 30px rgba(0,0,0,.16)}
.tv-start{background:transparent!important}.tv-start .tv-play-triangle{width:76px!important;height:76px!important;border-radius:22px!important;background:rgba(7,15,27,.82)!important;border:2px solid color-mix(in srgb,var(--accent) 75%,#fff)!important;box-shadow:0 12px 32px rgba(0,0,0,.38),0 0 0 7px color-mix(in srgb,var(--accent) 14%,transparent)!important;position:relative;padding:0!important}
.tv-start .tv-play-triangle::before{content:"";position:absolute;left:31px;top:22px;border-top:15px solid transparent;border-bottom:15px solid transparent;border-left:23px solid #fff}
.tv-controls{position:absolute!important;z-index:8;left:14px;right:14px;bottom:12px;display:flex;align-items:center;gap:8px;background:rgba(5,11,18,.74);backdrop-filter:blur(12px);padding:8px 10px;border-radius:12px;border:1px solid #ffffff24}.tv-controls[hidden]{display:none!important}.tv-controls button{width:36px;height:34px;border-radius:8px;border:0;background:#ffffff12;color:#fff}.tv-controls input{flex:1;accent-color:var(--accent)}.tv-corner-logo{position:absolute;z-index:7;right:14px;top:14px;width:64px;height:64px;object-fit:contain;padding:5px;background:#fff;border-radius:12px;box-shadow:0 7px 20px #0005}

/* Historial claro tipo tarjetas. */
body.theme-light .history-grid{background:#f7f9fc}.theme-light .history-item{background:#fff;border-color:#dbe4ef;color:#17243a}.theme-light .history-artist{color:#728198}.theme-light .history-time{color:#687a91}

/* Noticias y fotos mantienen imagen completa y proporciones uniformes. */
#noticias .news-image-link{aspect-ratio:16/10}.photo-card>img,.photo-card>a>img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}

@media(max-width:980px){
  #team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  #podcast-grid{grid-template-columns:1fr 1fr}
  #program-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .video-showcase{grid-template-columns:1fr}.video-rank-list{grid-template-columns:1fr 1fr;max-height:none}
  .sticky-player-inner{grid-template-columns:minmax(180px,1fr) auto!important}.footer-eq{display:none}
}
@media(max-width:640px){
  .hero{min-height:170px}.header nav a.active{color:#08111f!important}
  #team-grid,#podcast-grid,#program-grid{grid-template-columns:1fr}
  .podcast-pro-card{grid-template-columns:100px 1fr}.podcast-pro-card>img,.podcast-placeholder{width:100px}
  .video-rank-list{grid-template-columns:1fr}.video-rank-item{grid-template-columns:26px 72px 1fr}.video-rank-item img{width:72px;height:54px}
  .sticky-player-inner{grid-template-columns:1fr auto!important;gap:7px}.sticky-controls{gap:6px}.sticky-volume-wrap{display:none}.wave-style,.player-form{width:36px;height:36px}.sticky-meta strong{font-size:11px}.sticky-meta span{font-size:9px}
}
/* La plantilla reconoce la fuente Autonomous del usuario si está instalada o si él la coloca en assets/fonts/. */
@font-face{font-family:"Autonomous";src:local("Autonomous"),url("../fonts/Autonomous.ttf") format("truetype");font-display:swap;font-weight:400 900}

/* ============================================================
   V7 FINAL OVERRIDES — carga rápida + modo claro + menú legible
   ============================================================ */
:root{
  --title-font:"Autonomous","Audiowide",Inter,Arial,sans-serif;
}

/* El header SIEMPRE conserva el color del sistema/panel. */
body.theme-light .header,
body.theme-dark .header,
.header{
  background:var(--header-theme,#ff0076)!important;
  border-top:0!important;
  border-bottom:1px solid color-mix(in srgb,var(--header-ink) 20%,transparent)!important;
  box-shadow:0 5px 18px rgba(7,18,35,.12)!important;
}
body.theme-light .header:before{display:none!important;content:none!important}
.header #nav,
.header #nav.open{background:transparent!important}
.header #nav a,
.header #nav a:first-child,
body.theme-light .header #nav a,
body.theme-dark .header #nav a{
  color:var(--header-ink,#111827)!important;
  background:transparent!important;
  border-radius:8px!important;
  font-weight:800!important;
  opacity:1!important;
  text-shadow:none!important;
}
.header #nav a:hover,
.header #nav a:focus-visible,
body.theme-light .header #nav a:hover,
body.theme-dark .header #nav a:hover{
  color:var(--header-ink,#111827)!important;
  background:color-mix(in srgb,var(--header-ink) 11%,transparent)!important;
}
.header #nav a.active,
.header #nav a[aria-current="page"],
body.theme-light .header #nav a.active,
body.theme-dark .header #nav a.active{
  color:var(--header-ink,#111827)!important;
  background:var(--header-theme,#ff0076)!important;
  box-shadow:inset 0 -3px 0 var(--header-ink,#111827)!important;
}
.header-social .social-icon,
body.theme-light .header-social .social-icon,
body.theme-dark .header-social .social-icon{
  color:var(--header-ink,#111827)!important;
  background:color-mix(in srgb,var(--header-ink) 7%,transparent)!important;
  border-color:color-mix(in srgb,var(--header-ink) 30%,transparent)!important;
}
.header-social .social-icon:hover,
.header-social .social-icon:focus-visible{
  color:var(--header-theme,#ff0076)!important;
  background:var(--header-ink,#111827)!important;
  border-color:var(--header-ink,#111827)!important;
}
.theme-toggle{
  color:var(--header-ink,#111827)!important;
  background:color-mix(in srgb,var(--header-ink) 8%,transparent)!important;
  border-color:color-mix(in srgb,var(--header-ink) 28%,transparent)!important;
}

/* Claro es el modo inicial real. */
body.theme-light{
  background:#eef3f8!important;
  color:#142033!important;
}
body.theme-light main>.container{
  background:#f5f8fc!important;
  color:#142033!important;
}
body.theme-light .section{color:#142033!important}
body.theme-light .section-head h2,
body.theme-light .history-heading h3,
body.theme-light .panel-extra-card h3,
body.theme-light .compact-card h3,
body.theme-light .news-card h3,
body.theme-light .tv-program-content h3{color:#142033!important}
body.theme-light .section-kicker{color:#63748b!important}
body.theme-light .empty{background:#fff!important;color:#62738a!important;border-color:#d7e1ec!important}

/* Si el panel no tiene slide válido, no mostramos un bloque gigante de logo. */
#hero[hidden],#hero.no-slides{display:none!important}
#hero.hero{background:transparent!important}

/* Títulos con la tipografía pedida (y respaldo web si Autonomous no está instalada). */
.section-head h2,.history-heading h3,.radio-player .track h2,.tv-program-content h3,
.compact-card h3,.panel-extra-card h3,.news-card h3,.foot-logo,.sticky-meta strong{
  font-family:var(--title-font)!important;
}

/* Tarjetas en claro: todo visible y del mismo porte. */
body.theme-light .panel-extra-card,
body.theme-light .compact-card,
body.theme-light .news-card,
body.theme-light .tv-detail,
body.theme-light .history-panel{
  background:#fff!important;
  border-color:#d9e3ee!important;
  color:#142033!important;
  box-shadow:0 10px 28px rgba(20,44,75,.08)!important;
}
.team-pro-card .panel-extra-img,
.team-pro-card>img{width:100%!important;aspect-ratio:4/3!important;height:auto!important;object-fit:cover!important;object-position:center top!important}

/* Player inferior: solo disco/caratula, sin segundo logo duplicado. */
#footer-mini-logo{display:none!important}
.sticky-cover-wrap{border-radius:50%!important;overflow:hidden!important}
.sticky-cover{border-radius:50%!important;object-fit:cover!important}
body.radio-is-playing .sticky-cover-wrap{animation:v7-disc-spin 8s linear infinite}
@keyframes v7-disc-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){body.radio-is-playing .sticky-cover-wrap{animation:none}}

/* Botones play: triángulo CSS real, sin glifos raros. */
.play,.sticky-play{position:relative;font-size:0!important}
.play:before,.sticky-play:before{content:"";display:block;width:0;height:0;border-top:8px solid transparent;border-bottom:8px solid transparent;border-left:13px solid currentColor;margin-left:3px}
.play.is-playing:before,.sticky-play.is-playing:before{width:12px;height:15px;border:0;border-left:4px solid currentColor;border-right:4px solid currentColor;margin:0}

/* TV: botón profesional y visible. */
.tv-start-pro{font-size:0!important}
.tv-start-pro .tv-play-triangle{display:block!important}

/* En móvil, menú desplegable con el MISMO color del sistema y texto legible. */
@media(max-width:760px){
  .header #nav,.header #nav.open{background:var(--header-theme,#ff0076)!important}
  .header #nav a{color:var(--header-ink,#111827)!important}
  .header #nav a.active{background:color-mix(in srgb,var(--header-ink) 10%,transparent)!important;box-shadow:none!important}
}


/* ============================================================
   V8 FIX REAL — header, iconos, slides, player inferior, videos
   ============================================================ */
:root{--title-font:"Autonomous","Audiowide",Inter,Arial,sans-serif}

/* Tipografía pedida. Si el usuario coloca sus TTF en assets/fonts/ se activa automáticamente. */
@font-face{font-family:"Autonomous";src:local("Autonomous"),url("../fonts/Autonomous.ttf") format("truetype");font-display:swap;font-weight:400 700}
@font-face{font-family:"AutonomousExtraBold";src:local("Autonomous ExtraBold"),url("../fonts/AutonomousExtraBold.ttf") format("truetype");font-display:swap;font-weight:800 900}
.section-head h2,.history-heading h3,.radio-player .track h2,.tv-program-content h3,.video-stage-info strong,.video-rank-text strong,.compact-card h3,.panel-extra-card h3,.news-card h3,.foot-logo{font-family:"AutonomousExtraBold",var(--title-font)!important;letter-spacing:.015em}

/* Header: fondo = color del panel. En magenta/colores fuertes las letras son BLANCAS. */
.header{background:var(--header-theme,var(--accent,#ff0076))!important}
.header #nav a,.header #nav a:first-child,.header .menu,.theme-toggle,.header-social .social-icon{color:var(--header-ink,#fff)!important}
.header #nav a.active,.header #nav a[aria-current="page"]{background:rgba(255,255,255,.13)!important;color:var(--header-ink,#fff)!important;box-shadow:inset 0 -3px 0 currentColor!important}
.header #nav a:hover,.header #nav a:focus-visible{background:rgba(255,255,255,.11)!important;color:var(--header-ink,#fff)!important}
.header .brand img{display:block!important;max-width:88px!important;max-height:58px!important;object-fit:contain!important}
.header .brand img[hidden]{display:none!important}

/* Botones Play/Pause: icono HTML interno, sin depender de pseudo-elementos viejos. */
.play,.sticky-play{position:relative!important;display:grid!important;place-items:center!important;color:#fff!important;overflow:visible!important}
.play::before,.play::after,.sticky-play::before,.sticky-play::after{content:none!important;display:none!important}
.play-glyph{position:relative;display:block;width:18px;height:22px;pointer-events:none}
.play-glyph::before{content:"";position:absolute;left:5px;top:3px;width:0;height:0;border-top:8px solid transparent;border-bottom:8px solid transparent;border-left:13px solid currentColor}
.is-playing .play-glyph::before{left:3px;top:3px;width:5px;height:16px;border:0;background:currentColor;border-radius:2px;box-shadow:8px 0 0 currentColor}
.radio-is-playing .play-glyph::before{left:3px;top:3px;width:5px;height:16px;border:0;background:currentColor;border-radius:2px;box-shadow:8px 0 0 currentColor}

/* Efectos de aro sin pisar el icono. */
.play,.sticky-play{box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 18%,transparent),0 9px 24px color-mix(in srgb,var(--accent) 26%,transparent)!important}
.player-fx-orbit .play,.player-fx-orbit .sticky-play{outline:2px dashed color-mix(in srgb,var(--accent) 65%,white 20%);outline-offset:5px}
.player-fx-wave.radio-is-playing .play,.player-fx-wave.radio-is-playing .sticky-play{animation:jcu-fx-wave .85s ease-in-out infinite alternate!important}

/* Slider: si hay imágenes, ocupa el espacio; si no, desaparece. */
.hero:not([hidden]){display:block!important;position:relative!important;min-height:280px!important;background:#e9eff6!important}
.hero-slide-link,.hero-slide-link img{width:100%!important;height:100%!important;position:absolute!important;inset:0!important}
.hero-slide-link img{object-fit:cover!important;display:block!important}
.hero-slide-link img[hidden]{display:none!important}
.hero.no-slides,.hero[hidden]{display:none!important}

/* Player inferior: solo carátula/CD; sin segundo logo a la derecha. */
#footer-mini-logo{display:none!important}
.sticky-player{background:rgba(247,250,253,.97)!important;color:#152238!important;border-top:1px solid #d8e3ef!important;backdrop-filter:blur(15px)!important}
body.theme-dark .sticky-player{background:rgba(9,17,30,.96)!important;color:#fff!important;border-color:#26364d!important}
.sticky-cover-wrap{border-radius:50%!important;overflow:hidden!important;border:3px solid var(--accent)!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 14%,transparent)!important}
.sticky-cover,.sticky-cover-placeholder{border-radius:50%!important}
.footer-eq{min-width:110px!important}.footer-eq .pro-eq{width:118px!important}
.wave-style,.player-form{position:relative!important;background:#fff!important;color:var(--accent)!important;border:1px solid #cbd7e5!important}
body.theme-dark .wave-style,body.theme-dark .player-form{background:#111d2d!important;border-color:#32445c!important}

/* Tres formas de líneas del player inferior. */
body.waves-flow .footer-eq .pro-eq i{border-radius:5px!important}
body.waves-soft .footer-eq .pro-eq i{transform:scaleY(.48);opacity:.75;border-radius:999px!important}
body.waves-bars .footer-eq .pro-eq i{animation-timing-function:steps(4,end)!important;border-radius:1px!important}

/* Videos más PRO: nombres siempre visibles. */
.video-showcase{display:grid!important;grid-template-columns:minmax(270px,.78fr) minmax(0,1.55fr)!important;gap:18px!important;align-items:start!important}
.video-rank-list{display:flex!important;flex-direction:column!important;gap:8px!important;max-height:520px!important;overflow:auto!important;padding-right:4px!important}
.video-rank-item{display:grid!important;grid-template-columns:34px 105px minmax(0,1fr)!important;gap:10px!important;align-items:center!important;background:#fff!important;color:#142033!important;border:1px solid #d9e3ee!important;border-radius:12px!important;padding:8px!important;text-align:left!important;cursor:pointer!important}
.video-rank-item.active{border-color:var(--accent)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 18%,transparent)!important}
.video-rank-item img{width:105px!important;height:68px!important;object-fit:cover!important;border-radius:8px!important}
.video-rank-number{font-family:var(--title-font)!important;font-size:17px!important;font-weight:900!important;color:var(--accent)!important;text-align:center!important}
.video-rank-text{min-width:0!important;display:block!important}.video-rank-text strong{display:block!important;font-size:12px!important;line-height:1.3!important;color:#142033!important;white-space:normal!important;overflow-wrap:anywhere!important}.video-rank-text small{display:block!important;color:#73839a!important;margin-top:4px!important;white-space:normal!important}
.video-stage{background:#fff!important;border:1px solid #d9e3ee!important;border-radius:14px!important;overflow:hidden!important;box-shadow:0 12px 30px rgba(20,32,51,.08)!important}.video-stage-frame{aspect-ratio:16/9!important;background:#050a12!important}.video-stage-frame iframe{width:100%!important;height:100%!important;border:0!important;display:block!important}.video-stage-info{padding:13px 15px!important;display:grid!important;grid-template-columns:auto 1fr auto!important;gap:10px!important;align-items:center!important}.video-stage-info span{font-size:9px!important;font-weight:900!important;color:var(--accent)!important}.video-stage-info strong{font-size:13px!important;color:#142033!important}.video-stage-info a{font-size:9px!important;font-weight:900!important;color:var(--accent)!important;text-decoration:none!important}
body.theme-dark .video-rank-item,body.theme-dark .video-stage{background:#0d1929!important;border-color:#26364d!important;color:#fff!important}body.theme-dark .video-rank-text strong,body.theme-dark .video-stage-info strong{color:#fff!important}

/* Locutores: todas las imágenes del mismo porte. */
.team-pro-card .panel-extra-img,.team-pro-card>img{width:100%!important;aspect-ratio:4/3!important;height:auto!important;object-fit:cover!important;object-position:center top!important}

/* TV: botón claro y profesional, sin círculo blanco gigante. */
.tv-start-pro{width:66px!important;height:66px!important;border-radius:18px!important;background:rgba(6,13,25,.88)!important;border:2px solid color-mix(in srgb,var(--accent) 76%,#fff)!important;box-shadow:0 12px 32px rgba(0,0,0,.35),0 0 0 6px color-mix(in srgb,var(--accent) 13%,transparent)!important}
.tv-start-pro .tv-play-triangle{width:0!important;height:0!important;border-top:10px solid transparent!important;border-bottom:10px solid transparent!important;border-left:17px solid #fff!important;background:transparent!important;margin-left:5px!important}

/* En claro, superficies realmente claras. */
body.theme-light{background:#eef3f8!important;color:#142033!important}
body.theme-light main>.container{background:#f5f8fc!important}
body.theme-light .radio-player,body.theme-light .history-panel,body.theme-light .section,body.theme-light .compact-card,body.theme-light .panel-extra-card{color:#142033!important}

@media(max-width:850px){.video-showcase{grid-template-columns:1fr!important}.video-rank-list{max-height:none!important;display:grid!important;grid-template-columns:1fr 1fr!important}.video-stage{order:-1}.video-rank-item{grid-template-columns:28px 82px 1fr!important}.video-rank-item img{width:82px!important;height:55px!important}}
@media(max-width:560px){.video-rank-list{grid-template-columns:1fr!important}.hero:not([hidden]){min-height:190px!important}.header .brand img{max-width:62px!important;max-height:44px!important}}
\n\n/* =========================================================\n   V9 — PLAYER INFERIOR PRO + MODAL NOTICIAS + LOGO CORRECTO\n   ========================================================= */\n.sticky-player{\n  background:color-mix(in srgb,var(--surface,#f7fafc) 94%,transparent)!important;\n  border-top:1px solid color-mix(in srgb,var(--accent) 24%,#cbd5e1)!important;\n  box-shadow:0 -10px 34px rgba(15,23,42,.13)!important;\n  backdrop-filter:blur(18px) saturate(1.25)!important;\n}\nbody.theme-dark .sticky-player{background:rgba(7,13,24,.96)!important;border-top-color:#26364d!important;box-shadow:0 -12px 35px #0008!important}\n.sticky-player-inner{\n  width:min(1260px,100%)!important;min-height:82px!important;margin:auto!important;padding:9px 18px!important;\n  display:grid!important;grid-template-columns:minmax(260px,1.15fr) minmax(170px,.65fr) auto!important;align-items:center!important;gap:18px!important;\n  background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;\n}\n.sticky-track{display:flex!important;align-items:center!important;gap:13px!important;min-width:0!important}\n.sticky-cover-wrap{width:60px!important;height:60px!important;flex:0 0 60px!important;border-radius:50%!important;padding:3px!important;background:conic-gradient(var(--accent),#50d5ff,var(--accent))!important;box-shadow:0 7px 22px rgba(15,23,42,.22)!important}\n.sticky-cover-wrap::after{width:10px!important;height:10px!important;background:#fff!important;border:3px solid #111827!important;box-shadow:none!important}\n.sticky-cover,.sticky-cover-placeholder{border:3px solid #fff!important;border-radius:50%!important;object-fit:cover!important;background:#111827!important}\nbody.theme-dark .sticky-cover,.theme-dark .sticky-cover-placeholder{border-color:#1f2937!important}\n.sticky-meta{display:grid!important;grid-template-columns:auto 1fr!important;grid-template-areas:\"live live\" \"title title\" \"desc desc\"!important;align-items:center!important;gap:2px 8px!important;min-width:0!important}\n.sticky-live{grid-area:live;display:inline-flex;align-items:center;gap:6px;width:max-content;font:800 9px/1 Inter,Arial,sans-serif;letter-spacing:.12em;color:#ef3e56;text-transform:uppercase}\n.sticky-live i{width:7px;height:7px;border-radius:50%;background:#ef3e56;box-shadow:0 0 0 4px rgba(239,62,86,.12)}\n.sticky-meta strong{grid-area:title!important;font-family:var(--pro-title,var(--title-font,Inter))!important;font-size:13px!important;font-weight:700!important;letter-spacing:.01em!important;color:#172033!important;max-width:370px!important}\n.sticky-meta span:not(.sticky-live){grid-area:desc;font-size:10px!important;color:#66758a!important;max-width:390px!important}\nbody.theme-dark .sticky-meta strong{color:#fff!important} body.theme-dark .sticky-meta span:not(.sticky-live){color:#9caabd!important}\n.sticky-player .footer-eq{display:flex!important;align-items:center!important;justify-content:center!important;min-width:160px!important;height:40px!important;padding:0 12px!important;border-radius:14px!important;background:color-mix(in srgb,var(--accent) 7%,transparent)!important;border:1px solid color-mix(in srgb,var(--accent) 18%,#dce5ee)!important}\n.sticky-player .pro-eq{width:100%;justify-content:center}\n.sticky-controls{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:9px!important}\n.sticky-play{width:58px!important;height:58px!important;flex:0 0 58px!important;display:grid!important;place-items:center!important;border-radius:50%!important;border:0!important;color:#fff!important;background:linear-gradient(145deg,var(--accent),color-mix(in srgb,var(--accent) 72%,#6d28d9 28%))!important;box-shadow:0 0 0 6px color-mix(in srgb,var(--accent) 13%,transparent),0 10px 28px color-mix(in srgb,var(--accent) 32%,rgba(15,23,42,.15))!important}\n.sticky-play svg,.play svg{width:24px;height:24px;fill:currentColor;display:block}.sticky-play:hover{transform:translateY(-1px) scale(1.02)}\n.wave-style,.player-form{width:42px!important;height:42px!important;border-radius:13px!important;display:grid!important;place-items:center!important;border:1px solid #d5dfeb!important;background:#fff!important;color:#213047!important;box-shadow:0 4px 14px rgba(15,23,42,.06)!important}\n.wave-style svg,.player-form svg{width:19px;height:19px;fill:currentColor}.wave-style:hover,.player-form:hover{border-color:var(--accent)!important;color:var(--accent)!important}\nbody.theme-dark .wave-style,body.theme-dark .player-form{background:#101a2a!important;border-color:#2c3c53!important;color:#d9e2ef!important}\n.sticky-volume-wrap{height:42px!important;min-width:210px!important;border-radius:14px!important;background:#fff!important;border:1px solid #d8e2ed!important;padding:0 13px!important;box-shadow:0 4px 14px rgba(15,23,42,.05)!important}\nbody.theme-dark .sticky-volume-wrap{background:#101a2a!important;border-color:#2c3c53!important}\n.sticky-volume-icon{opacity:.65}.sticky-volume-wrap input{accent-color:var(--accent)}\n.player-form-flat .sticky-player-inner{background:transparent!important}.player-form-flat .sticky-cover-wrap{border-radius:14px!important}.player-form-flat .sticky-cover,.player-form-flat .sticky-cover-placeholder{border-radius:10px!important}.player-form-flat .sticky-play{border-radius:15px!important}\n.player-form-neon .sticky-player{box-shadow:0 -10px 34px color-mix(in srgb,var(--accent) 24%,transparent)!important}.player-form-neon .sticky-play{box-shadow:0 0 0 6px color-mix(in srgb,var(--accent) 16%,transparent),0 0 28px color-mix(in srgb,var(--accent) 58%,transparent)!important}\n\n/* Modal de noticias V9 */\n.news-detail-modal{padding:20px!important;background:rgba(7,13,24,.76)!important;backdrop-filter:blur(14px) saturate(1.1)!important}\n.news-detail-card{width:min(900px,96vw)!important;max-height:min(90dvh,920px)!important;padding:0!important;overflow:auto!important;background:#fff!important;border:1px solid rgba(148,163,184,.35)!important;border-radius:24px!important;box-shadow:0 32px 90px rgba(2,8,23,.38)!important;color:#182338!important}\n.news-detail-card .news-detail-cover{width:100%!important;max-height:430px!important;height:auto!important;object-fit:cover!important;border-radius:24px 24px 0 0!important;margin:0!important;background:#e9eff6!important}\n.news-detail-head{padding:26px 30px 16px!important;border-bottom:1px solid #e8eef5!important;background:linear-gradient(180deg,#fff,#fbfdff)!important}\n.news-detail-eyebrow{display:inline-flex;align-items:center;gap:7px;color:var(--accent)!important;font:900 10px/1 Inter,Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase;margin-bottom:10px}\n.news-detail-eyebrow::before{content:\"\";width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 12%,transparent)}\n.news-detail-card h2{font-family:var(--pro-title,var(--title-font,Inter))!important;font-size:clamp(22px,3vw,34px)!important;line-height:1.15!important;margin:0!important;color:#172033!important;letter-spacing:-.02em!important}\n.news-detail-meta{margin-top:11px;color:#7a899c;font-size:11px;font-weight:700}\n.news-detail-body{padding:22px 30px 32px!important;color:#3e4b5f!important;font-size:15px!important;line-height:1.82!important}\n.news-detail-body p{color:inherit!important}.news-detail-body a{color:var(--accent)!important;font-weight:700}.news-detail-body h2,.news-detail-body h3,.news-detail-body h4{color:#172033!important;font-family:var(--pro-title,var(--title-font,Inter))!important}\n.news-detail-card .news-detail-close{position:sticky!important;top:14px!important;float:right!important;margin:14px 14px -58px 0!important;width:44px!important;height:44px!important;border-radius:50%!important;background:rgba(15,23,42,.86)!important;border:1px solid rgba(255,255,255,.22)!important;color:#fff!important;box-shadow:0 8px 24px rgba(2,8,23,.25)!important;backdrop-filter:blur(8px)!important}\n.news-detail-card .news-detail-close:hover{background:var(--accent)!important;color:#fff!important;transform:rotate(4deg) scale(1.03)}\nbody.theme-dark .news-detail-card{background:#0b1628!important;color:#e7edf6!important;border-color:#26364c!important}.theme-dark .news-detail-head{background:linear-gradient(180deg,#111f33,#0d192b)!important;border-color:#23334a!important}.theme-dark .news-detail-card h2,.theme-dark .news-detail-body h2,.theme-dark .news-detail-body h3,.theme-dark .news-detail-body h4{color:#fff!important}.theme-dark .news-detail-body{color:#c6d1df!important}.theme-dark .news-detail-meta{color:#8998ac!important}\n\n@media(max-width:900px){.sticky-player-inner{grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important}.sticky-player .footer-eq{display:none!important}.sticky-volume-wrap{min-width:160px!important}}\n@media(max-width:650px){.sticky-player-inner{padding:8px 10px!important}.sticky-cover-wrap{width:52px!important;height:52px!important;flex-basis:52px!important}.sticky-meta strong{max-width:190px!important;font-size:11px!important}.sticky-meta span:not(.sticky-live){max-width:190px!important}.sticky-volume-wrap{display:none!important}.wave-style,.player-form{width:38px!important;height:38px!important}.sticky-play{width:52px!important;height:52px!important;flex-basis:52px!important}.news-detail-modal{padding:8px!important}.news-detail-card{border-radius:16px!important;max-height:94dvh!important}.news-detail-card .news-detail-cover{border-radius:16px 16px 0 0!important;max-height:280px!important}.news-detail-head{padding:20px 18px 14px!important}.news-detail-body{padding:18px!important;font-size:14px!important}.news-detail-card .news-detail-close{top:8px!important;margin:8px 8px -52px 0!important}}\n
/* =========================================================
   V9.2 — VISUALIZADORES PRO SINCRONIZADOS (HERO + STICKY)
   ========================================================= */
.player-visualizer{position:relative;isolation:isolate;overflow:hidden;min-width:0}
.visualizer-hero{height:88px;margin:13px 0 10px;border-radius:18px;border:1px solid color-mix(in srgb,var(--accent) 18%,#dce6f0);background:linear-gradient(180deg,color-mix(in srgb,var(--accent) 6%,#fff),color-mix(in srgb,var(--accent) 2%,#f5f8fc));box-shadow:inset 0 1px 0 #fff9,inset 0 -18px 38px color-mix(in srgb,var(--accent) 4%,transparent)}
body.theme-dark .visualizer-hero{background:linear-gradient(180deg,#071220,#091827);border-color:#26394e;box-shadow:inset 0 1px 0 #ffffff0a,inset 0 -18px 38px #0004}
.visualizer-sticky{width:100%;height:48px;border-radius:15px;background:linear-gradient(180deg,color-mix(in srgb,var(--accent) 8%,transparent),color-mix(in srgb,var(--accent) 3%,transparent));border:1px solid color-mix(in srgb,var(--accent) 20%,transparent)}
.viz-bars{position:absolute;inset:10px 14px;display:flex;align-items:center;justify-content:center;gap:3px;z-index:2}
.viz-bars i{display:block;flex:1 1 0;max-width:9px;min-width:2px;height:var(--h);transform-origin:center;border-radius:999px;background:linear-gradient(180deg,#69e7ff 0%,var(--accent) 48%,color-mix(in srgb,var(--accent) 72%,#6d28d9) 100%);box-shadow:0 0 10px color-mix(in srgb,var(--accent) 34%,transparent);animation:jcuSpectrum 1.05s ease-in-out infinite alternate;animation-delay:calc(var(--i) * -28ms);will-change:transform,opacity}
.visualizer-sticky .viz-bars{inset:8px 10px;gap:2px}.visualizer-sticky .viz-bars i{max-width:7px}
.viz-ribbon{position:absolute;inset:7px 8px;width:calc(100% - 16px);height:calc(100% - 14px);z-index:2;overflow:visible;opacity:0;transition:.25s ease}
.viz-ribbon-back{fill:color-mix(in srgb,var(--accent) 15%,transparent);stroke:none;animation:jcuRibbonShift 4.5s ease-in-out infinite alternate}
.viz-ribbon-line{fill:none;stroke:url(#jcuVizGradient);stroke-width:4;stroke-linecap:round;filter:drop-shadow(0 0 7px color-mix(in srgb,var(--accent) 55%,transparent));animation:jcuRibbonPulse 1.9s ease-in-out infinite alternate}
.viz-glow{position:absolute;inset:auto 8% 4px 8%;height:18px;border-radius:50%;background:color-mix(in srgb,var(--accent) 24%,transparent);filter:blur(18px);opacity:.35;z-index:1;animation:jcuGlow 2.1s ease-in-out infinite alternate}
body:not(.radio-is-playing) .player-visualizer .viz-bars i{animation-play-state:paused;transform:scaleY(.18);opacity:.38}
body:not(.radio-is-playing) .player-visualizer .viz-ribbon-line,body:not(.radio-is-playing) .player-visualizer .viz-ribbon-back,body:not(.radio-is-playing) .player-visualizer .viz-glow{animation-play-state:paused;opacity:.22}
@keyframes jcuSpectrum{0%{transform:scaleY(.28);opacity:.55}36%{transform:scaleY(.72);opacity:.88}100%{transform:scaleY(1);opacity:1}}
@keyframes jcuRibbonShift{0%{transform:translateY(6px) scaleY(.8)}100%{transform:translateY(-5px) scaleY(1.05)}}
@keyframes jcuRibbonPulse{0%{stroke-width:2.4;opacity:.62}100%{stroke-width:5;opacity:1}}
@keyframes jcuGlow{0%{transform:scaleX(.72);opacity:.2}100%{transform:scaleX(1);opacity:.48}}

/* Cinco visualizadores distintos — el mismo botón cambia arriba y abajo */
body.waves-spectrum .viz-bars i:nth-child(3n){animation-duration:.72s}body.waves-spectrum .viz-bars i:nth-child(4n){animation-duration:1.34s}body.waves-spectrum .viz-bars i:nth-child(5n){animation-duration:.9s}
body.waves-flow .viz-bars{gap:1px;align-items:flex-end;mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent)}
body.waves-flow .viz-bars i{max-width:none;border-radius:7px 7px 2px 2px;background:linear-gradient(180deg,#5cecff,var(--accent));animation-name:jcuFlow;animation-duration:1.55s;box-shadow:none}
@keyframes jcuFlow{0%{transform:scaleY(.2) translateY(8px);opacity:.45}50%{transform:scaleY(.86) translateY(0);opacity:1}100%{transform:scaleY(.38) translateY(5px);opacity:.66}}
body.waves-bars .viz-bars{gap:4px;align-items:center}body.waves-bars .viz-bars i{height:72%;max-width:5px;border-radius:2px;background:var(--accent);box-shadow:0 0 6px color-mix(in srgb,var(--accent) 30%,transparent);animation-name:jcuBars;animation-duration:.82s}
@keyframes jcuBars{0%{transform:scaleY(.22)}100%{transform:scaleY(1)}}
body.waves-soft .viz-bars{align-items:center;gap:5px}body.waves-soft .viz-bars i{width:6px;max-width:6px;min-width:6px;height:6px;border-radius:50%;background:var(--accent);box-shadow:0 0 10px color-mix(in srgb,var(--accent) 56%,transparent);animation-name:jcuDots;animation-duration:1.5s}
@keyframes jcuDots{0%{transform:translateY(10px) scale(.8);opacity:.42}50%{transform:translateY(-12px) scale(1.15);opacity:1}100%{transform:translateY(5px) scale(.9);opacity:.65}}
body.waves-ribbon .viz-bars{opacity:0;pointer-events:none}body.waves-ribbon .viz-ribbon{opacity:1}

/* Leyenda discreta bajo visualizador principal */
.visualizer-caption{display:flex;align-items:center;justify-content:space-between;width:100%;font-size:9px;letter-spacing:.13em;color:#7f8da1;text-transform:uppercase}.visualizer-caption b{font-size:9px;color:var(--accent)}
.track-line{margin-top:2px!important;padding-top:0!important;border-top:0!important}

/* Botones visuales también en el player principal */
.hero-style-tools{display:flex;align-items:center;gap:7px;margin-left:auto}.hero-style-tools .wave-style,.hero-style-tools .player-form{width:38px!important;height:38px!important;flex:0 0 38px!important;border-radius:12px!important}
.player-controls{gap:10px!important}.player-controls #player-state{min-width:145px}.player-controls input[type=range]{max-width:180px}

/* Las formas cambian tanto el player grande como el inferior */
.player-form-glass .radio-player{border-radius:24px!important;background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 7%,#fff),#fff 54%,color-mix(in srgb,#53d9ff 8%,#fff))!important;box-shadow:0 18px 50px rgba(15,23,42,.10)!important}
body.theme-dark.player-form-glass .radio-player{background:linear-gradient(135deg,#0b1729,#0c1b30)!important;box-shadow:0 20px 52px #0005!important}
.player-form-flat .radio-player{border-radius:14px!important;box-shadow:none!important}.player-form-flat .visualizer-hero{border-radius:10px!important}.player-form-flat .play{border-radius:14px!important}.player-form-flat .sticky-player{box-shadow:0 -2px 0 color-mix(in srgb,var(--accent) 30%,transparent)!important}.player-form-flat .sticky-cover-wrap{border-radius:14px!important}.player-form-flat .sticky-cover,.player-form-flat .sticky-cover-placeholder{border-radius:10px!important}.player-form-flat .sticky-play{border-radius:15px!important}
.player-form-neon .radio-player{border:1px solid color-mix(in srgb,var(--accent) 42%,#fff)!important;box-shadow:0 0 0 1px color-mix(in srgb,var(--accent) 12%,transparent),0 18px 55px color-mix(in srgb,var(--accent) 22%,transparent)!important}.player-form-neon .visualizer-hero{box-shadow:inset 0 0 32px color-mix(in srgb,var(--accent) 12%,transparent),0 0 24px color-mix(in srgb,var(--accent) 14%,transparent)!important}.player-form-neon .sticky-player{box-shadow:0 -8px 36px color-mix(in srgb,var(--accent) 26%,transparent)!important}.player-form-neon .sticky-play{box-shadow:0 0 0 6px color-mix(in srgb,var(--accent) 16%,transparent),0 0 28px color-mix(in srgb,var(--accent) 58%,transparent)!important}
.player-form-broadcast .radio-player{border-radius:8px!important;border:1px solid color-mix(in srgb,var(--accent) 28%,#cbd5e1)!important;background:linear-gradient(180deg,#fff,#f7f9fc)!important;box-shadow:inset 0 4px 0 var(--accent),0 16px 35px rgba(15,23,42,.09)!important}.player-form-broadcast .visualizer-hero{border-radius:6px!important;background:#0b1422!important;border-color:#1e3046!important}.player-form-broadcast .visualizer-caption{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.player-form-broadcast .sticky-player{background:linear-gradient(90deg,#121925,#202938)!important;border-top:3px solid var(--accent)!important}.player-form-broadcast .sticky-meta strong,.player-form-broadcast .sticky-meta span{color:#fff!important}.player-form-broadcast .sticky-cover-wrap{border-radius:10px!important}.player-form-broadcast .sticky-cover,.player-form-broadcast .sticky-cover-placeholder{border-radius:7px!important}.player-form-broadcast .sticky-play{border-radius:50%!important;background:var(--accent)!important}
body.theme-dark.player-form-broadcast .radio-player{background:linear-gradient(180deg,#0b1422,#101b2c)!important}

/* Footer: las ondas decorativas cambian de personalidad según el visualizador */
body.waves-spectrum .footer-wave-1{opacity:.35;animation-duration:13s}body.waves-spectrum .footer-wave-2{opacity:.22;animation-duration:18s}
body.waves-flow .footer-wave-1{opacity:.46;transform:scaleY(.72)}body.waves-flow .footer-wave-2{opacity:.18;transform:scaleY(1.12)}
body.waves-bars .footer-waves{background:repeating-linear-gradient(90deg,color-mix(in srgb,var(--accent) 16%,transparent) 0 5px,transparent 5px 10px)}body.waves-bars .footer-wave{opacity:.10}
body.waves-soft .footer-wave-1{opacity:.24;filter:blur(1px)}body.waves-soft .footer-wave-2{opacity:.14;filter:blur(2px)}
body.waves-ribbon .footer-wave-1{opacity:.55;animation-duration:9s}body.waves-ribbon .footer-wave-2{opacity:.28;animation-duration:14s}

@media(max-width:760px){.visualizer-hero{height:68px}.viz-bars{inset:8px 9px;gap:2px}.hero-style-tools{display:none}.player-controls #player-state{min-width:0}.visualizer-caption{font-size:8px}.visualizer-caption b{font-size:8px}}


/* =========================================================
   V9.3 — PLAYER FIJO MODELO PRO + TV UN SOLO PLAY
   Inspirado en el player de referencia enviado por el cliente.
   ========================================================= */
#footer-mini-logo{display:none!important}
.sticky-player{
  left:0!important;right:0!important;bottom:0!important;padding:0!important;
  min-height:80px!important;background:transparent!important;border:0!important;
  box-shadow:0 -8px 30px rgba(14,8,30,.18)!important;color:#fff!important;
  overflow:hidden!important;isolation:isolate!important;backdrop-filter:none!important;
}
.sticky-player::before{
  content:"";position:absolute;inset:0;z-index:-4;
  background:
    radial-gradient(circle at 18% 20%,color-mix(in srgb,var(--accent) 36%,transparent),transparent 34%),
    linear-gradient(100deg,color-mix(in srgb,var(--accent) 74%,#7d5aa3) 0%,color-mix(in srgb,var(--accent) 48%,#59447e) 46%,color-mix(in srgb,var(--accent) 30%,#3d2b63) 100%)!important;
}
body.theme-light .sticky-player,body.theme-dark .sticky-player{background:transparent!important;color:#fff!important;border:0!important}
.sticky-ambient{position:absolute;inset:0;z-index:-2;overflow:hidden;pointer-events:none}
.sticky-ambient::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.06),transparent 18%,transparent 78%,rgba(255,255,255,.05));pointer-events:none}
.sticky-player-inner{
  width:min(100%,1320px)!important;min-height:80px!important;margin:0 auto!important;padding:0 32px 0 0!important;
  display:grid!important;grid-template-columns:minmax(330px,auto) 1fr auto!important;align-items:center!important;gap:18px!important;
  background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;position:relative!important;z-index:2!important;
}
.sticky-track{display:flex!important;align-items:center!important;gap:16px!important;min-width:0!important;height:80px!important}
.sticky-cover-wrap{
  width:80px!important;height:80px!important;flex:0 0 80px!important;margin:0!important;padding:8px!important;
  border:0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;overflow:hidden!important;
}
.sticky-cover,.sticky-cover-placeholder{width:100%!important;height:100%!important;object-fit:contain!important;border:0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
.sticky-cover-placeholder{display:grid!important;place-items:center!important;color:var(--accent)!important;font-size:22px!important}
.sticky-meta{display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:0!important;gap:4px!important;color:#fff!important}
.sticky-title-row{display:flex!important;align-items:center!important;gap:7px!important;min-width:0!important}
.sticky-live{
  display:inline-flex!important;align-items:center!important;gap:5px!important;flex:0 0 auto!important;
  padding:4px 9px!important;border-radius:999px!important;background:var(--accent)!important;color:#fff!important;
  font:800 12px/1 Inter,Arial,sans-serif!important;text-transform:lowercase!important;letter-spacing:0!important;box-shadow:0 3px 10px color-mix(in srgb,var(--accent) 35%,transparent)!important;
}
.sticky-live i{width:6px!important;height:6px!important;border-radius:50%!important;background:#fff!important;box-shadow:0 0 0 3px rgba(255,255,255,.18)!important}
.sticky-meta strong{display:block!important;min-width:0!important;max-width:310px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#fff!important;font-family:Inter,Arial,sans-serif!important;font-size:17px!important;line-height:1.08!important;font-weight:900!important;text-shadow:0 1px 8px rgba(0,0,0,.22)!important}
.sticky-meta>span:last-child{display:block!important;max-width:360px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:rgba(255,255,255,.96)!important;font-size:14px!important;font-weight:700!important;line-height:1.15!important;text-shadow:0 1px 8px rgba(0,0,0,.18)!important}
.sticky-controls{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:11px!important;z-index:4!important}
.sticky-icon-btn,.sticky-player .wave-style{
  width:38px!important;height:38px!important;flex:0 0 38px!important;display:grid!important;place-items:center!important;
  padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#fff!important;
  box-shadow:none!important;cursor:pointer!important;transition:transform .18s ease,background .18s ease!important;
}
.sticky-icon-btn:hover,.sticky-player .wave-style:hover{transform:translateY(-1px) scale(1.06)!important;background:rgba(255,255,255,.12)!important}
.sticky-icon-btn svg,.sticky-player .wave-style svg{width:25px!important;height:25px!important;fill:currentColor!important;color:#fff!important;stroke:currentColor!important}
.sticky-play{
  width:58px!important;height:58px!important;flex:0 0 58px!important;display:grid!important;place-items:center!important;
  padding:0!important;border:0!important;border-radius:50%!important;background:rgba(255,255,255,.16)!important;color:#fff!important;
  box-shadow:0 0 0 9px rgba(255,255,255,.09),inset 0 0 0 2px rgba(255,255,255,.16)!important;
  backdrop-filter:blur(8px)!important;cursor:pointer!important;transition:transform .2s ease,background .2s ease!important;
}
.sticky-play:hover{transform:scale(1.05)!important;background:rgba(255,255,255,.24)!important}
.sticky-play svg{width:27px!important;height:27px!important;fill:#fff!important;color:#fff!important}
#footer-volume{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;clip-path:inset(50%)!important}
.sticky-player .player-form{display:none!important}

/* El visualizador ocupa el fondo completo, como el modelo mostrado. */
#footer-visualizer{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;border:0!important;border-radius:0!important;
  background:transparent!important;overflow:hidden!important;opacity:.98!important;mix-blend-mode:screen!important;
}
#footer-visualizer .viz-bars,#footer-visualizer .viz-ribbon,#footer-visualizer .viz-glow{position:absolute!important}
#footer-visualizer .viz-bars{left:31%!important;right:20%!important;top:10px!important;bottom:8px!important;display:flex!important;align-items:end!important;justify-content:center!important;gap:3px!important;opacity:.32!important}
#footer-visualizer .viz-bars i{display:block!important;flex:1 1 auto!important;max-width:7px!important;min-width:2px!important;height:var(--h)!important;transform-origin:bottom!important;background:linear-gradient(180deg,#fff,rgba(255,255,255,.18))!important;border-radius:999px 999px 2px 2px!important;animation:jcu93Bars 1.05s ease-in-out infinite alternate!important;animation-delay:calc(var(--i)*-34ms)!important}
#footer-visualizer .viz-ribbon{inset:0!important;width:160%!important;height:100%!important;left:-10%!important;overflow:visible!important;opacity:.9!important;animation:jcu93Slide 9s linear infinite!important}
#footer-visualizer .viz-ribbon-back{fill:rgba(255,255,255,.18)!important;stroke:none!important}
#footer-visualizer .viz-ribbon-line{fill:none!important;stroke:rgba(255,255,255,.66)!important;stroke-width:2!important;filter:drop-shadow(0 0 6px rgba(255,255,255,.28))!important}
#footer-visualizer .viz-glow{inset:0!important;background:radial-gradient(ellipse at 52% 90%,rgba(255,255,255,.18),transparent 55%)!important;opacity:.6!important}

/* 5 visualizadores claramente distintos. */
body.waves-spectrum #footer-visualizer .viz-bars{opacity:.7!important}body.waves-spectrum #footer-visualizer .viz-ribbon{opacity:.18!important}
body.waves-flow #footer-visualizer .viz-bars{opacity:.18!important}body.waves-flow #footer-visualizer .viz-ribbon{opacity:.95!important;transform:scaleY(.72)!important;filter:blur(.1px)}
body.waves-bars #footer-visualizer .viz-bars{opacity:.84!important;top:18px!important;bottom:18px!important;gap:5px!important}body.waves-bars #footer-visualizer .viz-bars i{border-radius:1px!important;animation-timing-function:steps(4,end)!important}body.waves-bars #footer-visualizer .viz-ribbon{opacity:.06!important}
body.waves-soft #footer-visualizer .viz-bars{opacity:.08!important}body.waves-soft #footer-visualizer .viz-ribbon{opacity:.66!important;transform:scaleY(.42)!important;filter:blur(1px)}body.waves-soft #footer-visualizer .viz-ribbon-line{stroke-width:6!important;opacity:.5!important}
body.waves-ribbon #footer-visualizer .viz-bars{display:none!important}body.waves-ribbon #footer-visualizer .viz-ribbon{opacity:1!important;transform:scaleY(1.18)!important}body.waves-ribbon #footer-visualizer .viz-ribbon-back{fill:rgba(255,255,255,.24)!important}body.waves-ribbon #footer-visualizer .viz-ribbon-line{opacity:0!important}
body:not(.radio-is-playing) #footer-visualizer .viz-bars i,body:not(.radio-is-playing) #footer-visualizer .viz-ribbon{animation-play-state:paused!important;opacity:.12!important}
@keyframes jcu93Bars{0%{transform:scaleY(.18)}45%{transform:scaleY(.82)}100%{transform:scaleY(.34)}}
@keyframes jcu93Slide{from{transform:translateX(0)}to{transform:translateX(-22%)}}

/* Las formas de player solo cambian sutilmente el acabado; conservan el diseño de referencia. */
.player-form-flat .sticky-player::before{background:linear-gradient(100deg,color-mix(in srgb,var(--accent) 84%,#704a92),color-mix(in srgb,var(--accent) 42%,#3f2a62))!important}
.player-form-neon .sticky-player{box-shadow:0 -10px 34px color-mix(in srgb,var(--accent) 24%,transparent)!important}.player-form-neon .sticky-player::before{filter:saturate(1.28) brightness(.92)}
.player-form-broadcast .sticky-player::before{background:linear-gradient(90deg,color-mix(in srgb,var(--accent) 62%,#26324b),color-mix(in srgb,var(--accent) 30%,#101827))!important}.player-form-broadcast .sticky-meta strong,.player-form-broadcast .sticky-meta span{color:#fff!important}

/* TV: un único botón Play visible cuando está detenida. */
#tv-video{background:#02060c!important}
#tv-video::-webkit-media-controls,#tv-video::-webkit-media-controls-enclosure,#tv-video::-webkit-media-controls-panel,#tv-video::-webkit-media-controls-play-button,#tv-video::-webkit-media-controls-start-playback-button{display:none!important;-webkit-appearance:none!important;opacity:0!important}
.tv-start-pro{z-index:12!important;width:64px!important;height:64px!important;border-radius:50%!important;background:color-mix(in srgb,var(--accent) 70%,#111 30%)!important;border:2px solid rgba(255,255,255,.72)!important;box-shadow:0 10px 32px rgba(0,0,0,.38),0 0 0 7px color-mix(in srgb,var(--accent) 18%,transparent)!important}
.tv-start-pro .tv-play-triangle{border-left-color:#fff!important}
.tv-controls[hidden]{display:none!important}.tv-start-pro[hidden]{display:none!important}

@media(max-width:840px){
 .sticky-player-inner{grid-template-columns:minmax(0,1fr) auto!important;padding-right:14px!important;gap:9px!important}.sticky-track{height:72px!important}.sticky-cover-wrap{width:72px!important;height:72px!important;flex-basis:72px!important}.sticky-meta strong{max-width:230px!important;font-size:14px!important}.sticky-meta>span:last-child{max-width:240px!important;font-size:11px!important}.sticky-controls{gap:5px!important}.sticky-icon-btn,.sticky-player .wave-style{width:34px!important;height:34px!important;flex-basis:34px!important}.sticky-play{width:50px!important;height:50px!important;flex-basis:50px!important}#footer-visualizer .viz-bars{left:38%!important;right:28%!important}
}
@media(max-width:590px){
 .sticky-player{min-height:68px!important}.sticky-player-inner{min-height:68px!important;padding-right:8px!important}.sticky-track{height:68px!important;gap:9px!important}.sticky-cover-wrap{width:68px!important;height:68px!important;flex-basis:68px!important;padding:6px!important}.sticky-live{font-size:9px!important;padding:3px 6px!important}.sticky-meta strong{font-size:12px!important;max-width:135px!important}.sticky-meta>span:last-child{font-size:9px!important;max-width:145px!important}.sticky-icon-btn,.sticky-player .wave-style{width:31px!important;height:31px!important;flex-basis:31px!important}.sticky-icon-btn svg,.sticky-player .wave-style svg{width:20px!important;height:20px!important}.sticky-play{width:44px!important;height:44px!important;flex-basis:44px!important;box-shadow:0 0 0 5px rgba(255,255,255,.08),inset 0 0 0 1px rgba(255,255,255,.18)!important}.sticky-play svg{width:22px!important;height:22px!important}#footer-visualizer .viz-bars{left:45%!important;right:34%!important}.sticky-controls{gap:2px!important}
}

/* V9.3.1 - blindaje contra reglas antiguas del player */
body.theme-light .sticky-player-inner,
body.theme-dark .sticky-player-inner,
.player-form-glass .sticky-player-inner,
.player-form-flat .sticky-player-inner,
.player-form-neon .sticky-player-inner,
.player-form-broadcast .sticky-player-inner{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.player-form-glass .sticky-cover-wrap,
.player-form-flat .sticky-cover-wrap,
.player-form-neon .sticky-cover-wrap,
.player-form-broadcast .sticky-cover-wrap{border-radius:0!important;background:#fff!important;box-shadow:none!important}
.player-form-glass .sticky-cover,
.player-form-flat .sticky-cover,
.player-form-neon .sticky-cover,
.player-form-broadcast .sticky-cover,
.player-form-glass .sticky-cover-placeholder,
.player-form-flat .sticky-cover-placeholder,
.player-form-neon .sticky-cover-placeholder,
.player-form-broadcast .sticky-cover-placeholder{border-radius:0!important;border:0!important;background:#fff!important;object-fit:contain!important}
.sticky-player .sticky-play,
.player-form-glass .sticky-play,
.player-form-flat .sticky-play,
.player-form-neon .sticky-play,
.player-form-broadcast .sticky-play{
  width:58px!important;height:58px!important;flex:0 0 58px!important;border-radius:50%!important;border:0!important;
  background:rgba(255,255,255,.16)!important;color:#fff!important;
  box-shadow:0 0 0 9px rgba(255,255,255,.09),inset 0 0 0 2px rgba(255,255,255,.16)!important;
}
.sticky-player .sticky-play svg,
.player-form-glass .sticky-play svg,
.player-form-flat .sticky-play svg,
.player-form-neon .sticky-play svg,
.player-form-broadcast .sticky-play svg{fill:#fff!important;color:#fff!important}
body.theme-light .sticky-meta strong,body.theme-light .sticky-meta span:not(.sticky-live),
body.theme-dark .sticky-meta strong,body.theme-dark .sticky-meta span:not(.sticky-live){color:#fff!important}
body.theme-light .sticky-player .wave-style,body.theme-dark .sticky-player .wave-style,
body.theme-light .sticky-icon-btn,body.theme-dark .sticky-icon-btn{background:transparent!important;color:#fff!important;border:0!important;box-shadow:none!important}

/* =========================================================
   V9.4 — PLAYER MODELO RADIO + SHARE PRO + TV 1 PLAY/PAUSE
   ========================================================= */

/* ----- Player principal: ordenado, sin ondas gigantes encima del contenido ----- */
.radio-player{
  position:relative!important;
  grid-template-columns:150px minmax(0,1fr)!important;
  gap:24px!important;
  padding:24px!important;
  border-radius:22px!important;
  overflow:hidden!important;
}
.radio-player::before{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background:linear-gradient(115deg,color-mix(in srgb,var(--accent) 7%,#fff),#fff 48%,color-mix(in srgb,var(--accent) 5%,#eaf8ff));
}
body.theme-dark .radio-player::before{background:linear-gradient(115deg,#0b1728,#0c1d32 52%,#111a2c)}
.radio-player>.cover,.radio-player>.track{position:relative;z-index:2}
.radio-player>.cover{height:150px!important;border-radius:16px!important;background:#fff!important;border:1px solid color-mix(in srgb,var(--accent) 18%,#dce5ef)!important;box-shadow:0 12px 28px rgba(15,23,42,.14)!important}
.radio-player>.cover img{object-fit:contain!important;padding:8px!important;background:#fff!important}
.radio-player .track{padding:2px 0!important;min-width:0!important}
.radio-player .track h2{font-family:var(--pro-title,var(--title-font,'Audiowide',Inter,sans-serif))!important;font-size:clamp(24px,3vw,34px)!important;line-height:1.06!important;color:#182238!important;margin:12px 0 6px!important;letter-spacing:-.02em!important}
body.theme-dark .radio-player .track h2{color:#fff!important}
.radio-player .track p{font-size:13px!important;color:#6a7890!important}
body.theme-dark .radio-player .track p{color:#aeb9c9!important}
.visualizer-hero{height:92px!important;margin:14px 0 8px!important;position:relative!important;pointer-events:none!important;z-index:1!important;overflow:hidden!important}
.visualizer-hero .viz-bars,.visualizer-hero .viz-ribbon,.visualizer-hero .viz-glow{pointer-events:none!important}
.radio-player .player-controls{position:relative!important;z-index:6!important;min-height:54px!important;display:flex!important;align-items:center!important;gap:10px!important}
.radio-player .play{position:relative!important;z-index:10!important;width:52px!important;height:52px!important;flex:0 0 52px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:var(--accent)!important;color:#fff!important;border:2px solid rgba(255,255,255,.75)!important;box-shadow:0 0 0 6px color-mix(in srgb,var(--accent) 13%,transparent),0 9px 23px color-mix(in srgb,var(--accent) 30%,transparent)!important;pointer-events:auto!important}
.radio-player .play svg{width:24px!important;height:24px!important;fill:#fff!important;color:#fff!important;pointer-events:none!important}
.radio-player #player-state{font-size:11px!important;font-weight:700!important;color:#66758a!important}
body.theme-dark .radio-player #player-state{color:#aab6c5!important}
.hero-style-tools{position:relative!important;z-index:10!important}
.hero-style-tools button{pointer-events:auto!important}
.hero-share{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:12px;border:1px solid #d5dfeb;background:#fff;color:#223047;box-shadow:0 4px 14px rgba(15,23,42,.06)}
.hero-share svg{width:19px;height:19px;fill:currentColor;color:inherit;stroke:currentColor}
.hero-share:hover{border-color:var(--accent);color:var(--accent)}
body.theme-dark .hero-share{background:#101a2a;border-color:#2c3c53;color:#d9e2ef}

/* ----- Player inferior EXACTO al modelo: logo cuadrado, información, ondas de fondo, controles blancos ----- */
.sticky-player{
  min-height:80px!important;height:80px!important;
  background:transparent!important;border:0!important;box-shadow:0 -10px 30px rgba(12,18,32,.15)!important;
  overflow:visible!important;
}
.sticky-player::before{
  content:""!important;position:absolute!important;inset:0!important;z-index:0!important;
  background:linear-gradient(100deg,color-mix(in srgb,var(--accent) 65%,#8751a3),color-mix(in srgb,var(--accent) 42%,#42234e) 58%,color-mix(in srgb,var(--accent) 28%,#59356f))!important;
  filter:none!important;opacity:1!important;
}
.sticky-player::after{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(90deg,rgba(255,255,255,.05),transparent 25%,rgba(255,255,255,.04) 70%,transparent),
             radial-gradient(circle at 20% 50%,rgba(255,255,255,.08),transparent 20%);
}
.sticky-ambient{position:absolute!important;inset:0!important;z-index:2!important;overflow:hidden!important;pointer-events:none!important}
.sticky-player-inner{
  width:100%!important;max-width:none!important;min-height:80px!important;height:80px!important;margin:0!important;padding:0 48px!important;
  display:grid!important;grid-template-columns:minmax(320px,36%) minmax(260px,1fr) auto!important;gap:20px!important;align-items:center!important;
  position:relative!important;z-index:4!important;background:transparent!important;border:0!important;box-shadow:none!important;
}
.sticky-track{height:80px!important;display:flex!important;align-items:center!important;gap:15px!important;min-width:0!important}
.sticky-cover-wrap,
.radio-is-playing .sticky-cover-wrap,
.player-form-glass .sticky-cover-wrap,.player-form-flat .sticky-cover-wrap,.player-form-neon .sticky-cover-wrap,.player-form-broadcast .sticky-cover-wrap{
  width:80px!important;height:80px!important;flex:0 0 80px!important;margin:0!important;padding:6px!important;
  border-radius:0!important;background:#fff!important;border:0!important;box-shadow:none!important;
  animation:none!important;transform:none!important;overflow:hidden!important;
}
.sticky-cover-wrap::after{display:none!important}
.sticky-cover,.sticky-cover-placeholder,
.radio-is-playing .sticky-cover,
.player-form-glass .sticky-cover,.player-form-flat .sticky-cover,.player-form-neon .sticky-cover,.player-form-broadcast .sticky-cover{
  width:100%!important;height:100%!important;border:0!important;border-radius:0!important;padding:2px!important;
  object-fit:contain!important;background:#fff!important;animation:none!important;transform:none!important;box-shadow:none!important;
}
.sticky-meta{min-width:0!important;display:block!important;color:#fff!important;text-shadow:0 1px 5px rgba(0,0,0,.16)!important}
.sticky-title-row{display:flex!important;align-items:center!important;gap:7px!important;min-width:0!important;margin-bottom:4px!important}
.sticky-live{display:inline-flex!important;align-items:center!important;gap:4px!important;padding:4px 8px!important;border-radius:999px!important;background:var(--accent)!important;color:#fff!important;font:800 10px/1 Inter,Arial,sans-serif!important;letter-spacing:0!important;text-transform:lowercase!important;box-shadow:0 4px 12px rgba(0,0,0,.12)!important}
.sticky-live i{width:6px!important;height:6px!important;background:#fff!important;box-shadow:0 0 0 3px rgba(255,255,255,.22)!important}
.sticky-meta strong{font-family:Inter,Arial,sans-serif!important;font-size:16px!important;line-height:1.1!important;font-weight:850!important;letter-spacing:-.01em!important;color:#fff!important;max-width:330px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.sticky-meta>span:last-child{display:block!important;font:700 13px/1.15 Inter,Arial,sans-serif!important;color:#fff!important;opacity:.96!important;max-width:390px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#footer-visualizer{position:absolute!important;inset:0!important;width:100%!important;height:80px!important;opacity:.78!important;mix-blend-mode:screen!important;overflow:hidden!important}
#footer-visualizer .viz-bars{left:38%!important;right:22%!important;top:13px!important;bottom:10px!important;gap:3px!important}
#footer-visualizer .viz-bars i{background:linear-gradient(180deg,#fff,rgba(255,255,255,.2))!important;box-shadow:none!important;max-width:7px!important}
#footer-visualizer .viz-ribbon{left:34%!important;width:58%!important;top:0!important;height:100%!important;inset:auto!important;opacity:.72!important}
#footer-visualizer .viz-ribbon-back{fill:rgba(255,255,255,.14)!important}
#footer-visualizer .viz-ribbon-line{stroke:#fff!important;stroke-width:2!important;opacity:.65!important}
.sticky-controls{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:13px!important;z-index:5!important}
.sticky-icon-btn,.sticky-player .wave-style{
  width:42px!important;height:42px!important;flex:0 0 42px!important;display:grid!important;place-items:center!important;padding:0!important;
  border:0!important;border-radius:50%!important;background:transparent!important;color:#fff!important;box-shadow:none!important;
}
.sticky-icon-btn:hover,.sticky-player .wave-style:hover{background:rgba(255,255,255,.13)!important;transform:translateY(-1px)!important}
.sticky-icon-btn svg,.sticky-player .wave-style svg{width:26px!important;height:26px!important;fill:currentColor!important;stroke:currentColor!important;color:#fff!important}
.sticky-play,
.player-form-glass .sticky-play,.player-form-flat .sticky-play,.player-form-neon .sticky-play,.player-form-broadcast .sticky-play{
  width:58px!important;height:58px!important;flex:0 0 58px!important;border-radius:50%!important;border:0!important;
  display:grid!important;place-items:center!important;background:rgba(255,255,255,.16)!important;color:#fff!important;
  box-shadow:0 0 0 8px rgba(255,255,255,.08),inset 0 0 0 1px rgba(255,255,255,.22)!important;backdrop-filter:blur(8px)!important;
}
.sticky-play svg{width:26px!important;height:26px!important;fill:#fff!important;color:#fff!important}
#footer-volume{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;clip-path:inset(50%)!important;pointer-events:none!important}
#footer-mini-logo{display:none!important}

/* Visualizadores: 5 cambios claros, como el modelo */
body.waves-spectrum #footer-visualizer .viz-bars{opacity:.82!important;align-items:center!important}body.waves-spectrum #footer-visualizer .viz-ribbon{opacity:.10!important}
body.waves-flow #footer-visualizer .viz-bars{opacity:.12!important}body.waves-flow #footer-visualizer .viz-ribbon{opacity:.90!important;transform:scaleY(.66)!important}
body.waves-bars #footer-visualizer .viz-bars{opacity:.90!important;align-items:flex-end!important;top:15px!important;bottom:13px!important;gap:4px!important}body.waves-bars #footer-visualizer .viz-bars i{border-radius:1px!important;animation-timing-function:steps(5,end)!important}body.waves-bars #footer-visualizer .viz-ribbon{opacity:.04!important}
body.waves-soft #footer-visualizer .viz-bars{opacity:.60!important;align-items:center!important;gap:6px!important}body.waves-soft #footer-visualizer .viz-bars i{height:6px!important;max-width:6px!important;border-radius:50%!important}body.waves-soft #footer-visualizer .viz-ribbon{opacity:.12!important}
body.waves-ribbon #footer-visualizer .viz-bars{opacity:.05!important}body.waves-ribbon #footer-visualizer .viz-ribbon{opacity:1!important;transform:scaleY(1.08)!important}

/* ----- Modal Compartir, igual al modelo solicitado ----- */
body.share-open{overflow:hidden!important}
.share-modal{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:20px;background:rgba(10,15,24,.58);backdrop-filter:blur(8px);opacity:0;transition:opacity .18s ease}
.share-modal[hidden]{display:none!important}.share-modal.is-open{opacity:1}
.share-sheet{width:min(570px,96vw);background:#fff;color:#172033;border-radius:8px;border:1px solid #dce3ea;box-shadow:0 28px 80px rgba(6,14,28,.30);overflow:hidden;transform:translateY(10px) scale(.985);transition:transform .18s ease}
.share-modal.is-open .share-sheet{transform:translateY(0) scale(1)}
.share-head{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;border-bottom:1px solid #e4e9ef}.share-head h2{margin:0;font:900 18px/1 Inter,Arial,sans-serif;letter-spacing:.08em}.share-head button{border:0;background:transparent;color:#778294;font-size:34px;line-height:1;width:38px;height:38px}
.share-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;padding:30px 34px 26px}
.share-network{display:grid;justify-items:center;gap:10px;color:#253044;font:800 11px/1 Inter,Arial,sans-serif;letter-spacing:.04em}
.share-network-icon{width:68px;height:68px;border-radius:50%;display:grid;place-items:center;color:#fff;font:900 35px/1 Inter,Arial,sans-serif;box-shadow:0 10px 23px rgba(20,35,55,.14)}
.share-facebook .share-network-icon{background:#3659c9}.share-whatsapp .share-network-icon{background:#35c775}.share-x .share-network-icon{background:#000}.share-telegram .share-network-icon{background:#169ed8}
.share-copy-row{display:grid;grid-template-columns:1fr 145px;margin:0 24px 14px;border:1px solid #d8e0e8;border-radius:6px;overflow:hidden;background:#f7f9fb}.share-copy-row input{min-width:0;border:0;background:transparent;padding:13px 14px;color:#5c6878;outline:0}.share-copy-row button{border:0;border-left:1px solid #d8e0e8;background:#f1f4f7;color:#1f2937;font-weight:900;font-size:10px;letter-spacing:.04em}.share-copy-status{height:24px;padding:0 24px 12px;color:#16a05d;font-size:11px;font-weight:700}
body.theme-dark .share-sheet{background:#111a29;color:#fff;border-color:#2d3a4e}.theme-dark .share-head{border-color:#2d3a4e}.theme-dark .share-network{color:#e8eef6}.theme-dark .share-copy-row{background:#0b1422;border-color:#314055}.theme-dark .share-copy-row input{color:#dbe5ef}.theme-dark .share-copy-row button{background:#182338;color:#fff;border-color:#314055}

/* ----- TV: SOLO el botón central cambia Play/Pause. No hay segundo play. ----- */
.tv-start-pro{display:grid!important;place-items:center!important;z-index:12!important;width:68px!important;height:68px!important;border-radius:50%!important;background:color-mix(in srgb,var(--accent) 78%,#151924)!important;border:2px solid rgba(255,255,255,.82)!important;box-shadow:0 10px 34px rgba(0,0,0,.35),0 0 0 7px color-mix(in srgb,var(--accent) 15%,transparent)!important}
.tv-start-pro .tv-play-triangle{display:block!important;width:0!important;height:0!important;border-top:11px solid transparent!important;border-bottom:11px solid transparent!important;border-left:18px solid #fff!important;margin-left:5px!important;background:transparent!important}
.tv-start-pro.is-playing .tv-play-triangle{width:21px!important;height:24px!important;border:0!important;margin:0!important;background:linear-gradient(90deg,#fff 0 36%,transparent 36% 64%,#fff 64% 100%)!important}
.tv-controls{z-index:13!important;left:auto!important;right:14px!important;bottom:14px!important;width:auto!important;padding:7px 10px!important;border-radius:14px!important;background:rgba(7,12,20,.62)!important;backdrop-filter:blur(10px)!important}
.tv-controls button{width:36px!important;height:36px!important}.tv-controls input{width:95px!important}

@media(max-width:900px){
 .sticky-player-inner{padding:0 14px!important;grid-template-columns:minmax(220px,1fr) minmax(150px,.65fr) auto!important;gap:10px!important}
 .sticky-cover-wrap,.radio-is-playing .sticky-cover-wrap{width:68px!important;height:68px!important;flex-basis:68px!important}
 #footer-visualizer .viz-bars{left:42%!important;right:30%!important}.sticky-meta strong{font-size:14px!important}.sticky-meta>span:last-child{font-size:11px!important}
}
@media(max-width:680px){
 .radio-player{grid-template-columns:100px minmax(0,1fr)!important;padding:14px!important;gap:14px!important}.radio-player>.cover{height:100px!important}.radio-player .track h2{font-size:20px!important}.visualizer-hero{height:68px!important}.hero-share{display:none!important}
 .sticky-player,.sticky-player-inner,.sticky-track{height:70px!important;min-height:70px!important}.sticky-player-inner{grid-template-columns:minmax(0,1fr) auto!important;padding:0 8px!important}.sticky-cover-wrap,.radio-is-playing .sticky-cover-wrap{width:70px!important;height:70px!important;flex-basis:70px!important}.sticky-meta strong{max-width:150px!important;font-size:12px!important}.sticky-meta>span:last-child{max-width:170px!important;font-size:9px!important}#footer-visualizer{height:70px!important}#footer-visualizer .viz-bars{left:44%!important;right:36%!important}.sticky-controls{gap:2px!important}.sticky-icon-btn,.sticky-player .wave-style{width:32px!important;height:32px!important;flex-basis:32px!important}.sticky-play{width:44px!important;height:44px!important;flex-basis:44px!important;box-shadow:0 0 0 5px rgba(255,255,255,.08),inset 0 0 0 1px rgba(255,255,255,.20)!important}
 .share-grid{grid-template-columns:repeat(2,1fr);padding:24px}.share-copy-row{grid-template-columns:1fr;margin:0 18px 10px}.share-copy-row button{border-left:0;border-top:1px solid #d8e0e8;padding:12px}.share-head{padding:18px}
}


/* =========================================================
   V9.5 — ECUALIZADOR PANORÁMICO EN TODO EL PLAYER INFERIOR
   - Las barras ocupan de extremo a extremo.
   - Más líneas finas para un acabado tipo radio profesional.
   - Opacidad suave/transparente para no tapar logo, textos ni controles.
   ========================================================= */
#footer-visualizer{
  left:0!important;right:0!important;top:0!important;bottom:0!important;
  width:100%!important;height:100%!important;
  opacity:1!important;mix-blend-mode:screen!important;
  pointer-events:none!important;overflow:hidden!important;
}
#footer-visualizer .viz-bars{
  left:0!important;right:0!important;top:7px!important;bottom:0!important;
  width:auto!important;height:auto!important;
  padding:0 5px!important;
  display:flex!important;align-items:flex-end!important;justify-content:stretch!important;
  gap:2px!important;opacity:.34!important;
  overflow:hidden!important;
  -webkit-mask-image:linear-gradient(90deg,rgba(0,0,0,.62) 0%,#000 5%,#000 95%,rgba(0,0,0,.62) 100%)!important;
  mask-image:linear-gradient(90deg,rgba(0,0,0,.62) 0%,#000 5%,#000 95%,rgba(0,0,0,.62) 100%)!important;
}
#footer-visualizer .viz-bars i{
  flex:1 1 0!important;
  width:auto!important;min-width:1px!important;max-width:none!important;
  height:var(--h)!important;
  border-radius:999px 999px 1px 1px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.66) 0%,rgba(255,255,255,.30) 48%,rgba(255,255,255,.10) 100%)!important;
  box-shadow:none!important;
  opacity:.76!important;
}
#footer-visualizer .viz-ribbon{
  left:-4%!important;right:auto!important;top:0!important;bottom:auto!important;
  width:108%!important;height:100%!important;inset:auto!important;
  opacity:.18!important;overflow:visible!important;
}
#footer-visualizer .viz-ribbon-back{fill:rgba(255,255,255,.06)!important}
#footer-visualizer .viz-ribbon-line{
  stroke:rgba(255,255,255,.42)!important;stroke-width:1.35!important;opacity:.78!important;
  filter:drop-shadow(0 0 4px rgba(255,255,255,.12))!important;
}
#footer-visualizer .viz-glow{
  inset:0!important;opacity:.28!important;
  background:radial-gradient(ellipse at 50% 100%,rgba(255,255,255,.13),transparent 60%)!important;
}

/* El modo por defecto queda como el ejemplo: muchas barras finas, suaves y a todo lo ancho. */
body.waves-spectrum #footer-visualizer .viz-bars{opacity:.46!important;align-items:flex-end!important}
body.waves-spectrum #footer-visualizer .viz-ribbon{opacity:.10!important;transform:none!important}
body.waves-flow #footer-visualizer .viz-bars{opacity:.16!important}
body.waves-flow #footer-visualizer .viz-ribbon{opacity:.48!important;transform:scaleY(.66)!important}
body.waves-bars #footer-visualizer .viz-bars{opacity:.52!important;align-items:flex-end!important;top:8px!important;bottom:0!important;gap:2px!important}
body.waves-bars #footer-visualizer .viz-bars i{border-radius:1px!important;animation-timing-function:steps(5,end)!important}
body.waves-bars #footer-visualizer .viz-ribbon{opacity:.04!important}
body.waves-soft #footer-visualizer .viz-bars{opacity:.25!important;align-items:flex-end!important;gap:3px!important}
body.waves-soft #footer-visualizer .viz-bars i{height:clamp(3px,var(--h),24px)!important;border-radius:999px!important}
body.waves-soft #footer-visualizer .viz-ribbon{opacity:.12!important}
body.waves-ribbon #footer-visualizer .viz-bars{opacity:.08!important}
body.waves-ribbon #footer-visualizer .viz-ribbon{opacity:.62!important;transform:scaleY(.92)!important}

/* Anula específicamente los recortes centrales de V9.3/V9.4 en tablet y móvil. */
@media(max-width:900px){
  #footer-visualizer .viz-bars{left:0!important;right:0!important;padding:0 3px!important;gap:1.5px!important}
  #footer-visualizer .viz-ribbon{left:-6%!important;width:112%!important}
}
@media(max-width:680px){
  #footer-visualizer .viz-bars{left:0!important;right:0!important;top:6px!important;bottom:0!important;padding:0 2px!important;gap:1px!important}
  #footer-visualizer .viz-bars i{min-width:.7px!important}
  #footer-visualizer .viz-ribbon{left:-8%!important;width:116%!important}
}
\n\n/* =========================================================\n   V9.6 — BARRAS INDEPENDIENTES + METADATOS SINCRONIZADOS\n   - El ecualizador inferior ya NO recorre una ola de izquierda a derecha.\n   - Cada barra sube y baja con altura, ritmo y fase propios.\n   - El modo Spectrum queda compuesto por barras limpias y discretas.\n   ========================================================= */\n#footer-visualizer .viz-bars i{\n  transform-origin:50% 100%!important;\n  animation-name:jcu96IndependentBars!important;\n  animation-duration:var(--dur,1s)!important;\n  animation-delay:var(--delay,0s)!important;\n  animation-timing-function:cubic-bezier(.42,0,.58,1)!important;\n  animation-direction:normal!important;\n  animation-iteration-count:infinite!important;\n}\n@keyframes jcu96IndependentBars{\n  0%{transform:scaleY(var(--a,.28));opacity:.48}\n  24%{transform:scaleY(var(--b,.86));opacity:.82}\n  51%{transform:scaleY(var(--c,.42));opacity:.60}\n  76%{transform:scaleY(var(--d,.92));opacity:.90}\n  100%{transform:scaleY(var(--a,.28));opacity:.50}\n}\n/* En el estilo principal no dejamos una cinta viajando detrás: solo barras. */\nbody.waves-spectrum #footer-visualizer .viz-ribbon{opacity:0!important;animation:none!important}\nbody.waves-spectrum #footer-visualizer .viz-bars{opacity:.48!important}\n\n/* Incluso en "Barras digitales" conservamos movimiento independiente, no escalonado. */\nbody.waves-bars #footer-visualizer .viz-bars i{\n  animation-name:jcu96IndependentBars!important;\n  animation-duration:var(--dur,.9s)!important;\n  animation-delay:var(--delay,0s)!important;\n  animation-timing-function:steps(6,end)!important;\n}\n
/* =========================================================
   V9.7 — ECUALIZADOR UNIFORME + TV 1 PLAY + SHARE CON PORTADA
   ========================================================= */
/* Player inferior: líneas TODAS del mismo porte, blancas y opacas/translúcidas.
   Cada línea se desplaza verticalmente con fase propia: unas suben mientras otras bajan. */
#footer-visualizer .viz-bars{
  left:0!important;right:0!important;top:0!important;bottom:0!important;
  width:100%!important;height:100%!important;padding:0 4px!important;
  display:flex!important;align-items:center!important;justify-content:stretch!important;
  gap:2px!important;opacity:.48!important;overflow:hidden!important;
  -webkit-mask-image:linear-gradient(90deg,rgba(0,0,0,.48),#000 4%,#000 96%,rgba(0,0,0,.48))!important;
  mask-image:linear-gradient(90deg,rgba(0,0,0,.48),#000 4%,#000 96%,rgba(0,0,0,.48))!important;
}
#footer-visualizer .viz-bars i,
body.waves-spectrum #footer-visualizer .viz-bars i,
body.waves-bars #footer-visualizer .viz-bars i,
body.waves-soft #footer-visualizer .viz-bars i{
  flex:1 1 0!important;width:auto!important;min-width:1px!important;max-width:none!important;
  height:28px!important;min-height:28px!important;max-height:28px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.34)!important;
  box-shadow:none!important;opacity:.72!important;
  transform-origin:center!important;
  animation-name:jcu97VerticalBars!important;
  animation-duration:var(--dur,1s)!important;
  animation-delay:var(--delay,0s)!important;
  animation-timing-function:ease-in-out!important;
  animation-direction:alternate!important;
  animation-iteration-count:infinite!important;
  will-change:transform,opacity!important;
}
@keyframes jcu97VerticalBars{
  0%{transform:translateY(var(--y1,-10px));opacity:.42}
  100%{transform:translateY(var(--y2,10px));opacity:.78}
}
/* El estilo principal queda limpio: sin cinta/onda viajando detrás. */
body.waves-spectrum #footer-visualizer .viz-ribbon,
body.waves-bars #footer-visualizer .viz-ribbon,
body.waves-soft #footer-visualizer .viz-ribbon{opacity:0!important;animation:none!important}
body.waves-spectrum #footer-visualizer .viz-bars{opacity:.50!important}
body:not(.radio-is-playing) #footer-visualizer .viz-bars i{
  animation-play-state:paused!important;transform:translateY(0)!important;opacity:.24!important;
}
@media(max-width:680px){
  #footer-visualizer .viz-bars{padding:0 2px!important;gap:1px!important}
  #footer-visualizer .viz-bars i,
  body.waves-spectrum #footer-visualizer .viz-bars i,
  body.waves-bars #footer-visualizer .viz-bars i,
  body.waves-soft #footer-visualizer .viz-bars i{height:22px!important;min-height:22px!important;max-height:22px!important}
}

/* TV: anula el triángulo heredado que dibujaba un SEGUNDO play. Solo queda el del span real. */
.tv-start-pro::before,.tv-start-pro::after,
.tv-start-pro .tv-play-triangle::before,.tv-start-pro .tv-play-triangle::after{
  content:none!important;display:none!important;border:0!important;background:none!important;
}
.tv-start-pro .tv-play-triangle{
  position:static!important;width:0!important;height:0!important;
  border-top:11px solid transparent!important;border-bottom:11px solid transparent!important;
  border-left:18px solid #fff!important;border-right:0!important;
  margin-left:5px!important;background:transparent!important;box-shadow:none!important;
}
.tv-start-pro.is-playing .tv-play-triangle{
  width:21px!important;height:24px!important;border:0!important;margin:0!important;
  background:linear-gradient(90deg,#fff 0 36%,transparent 36% 64%,#fff 64% 100%)!important;
}

/* Compartir: vista previa con la carátula/metadatos actuales; si no hay metadata usa el logo de la radio. */
.share-preview{
  margin:18px 24px 0;padding:12px;display:flex;align-items:center;gap:13px;
  border:1px solid #e0e7ef;border-radius:12px;background:linear-gradient(135deg,#f8fafc,#f1f5f9);
}
.share-preview-cover{width:64px;height:64px;flex:0 0 64px;border-radius:10px;overflow:hidden;background:#e7edf4;display:grid;place-items:center;color:#8391a3;font-size:25px;font-weight:900}
.share-preview-cover img{grid-area:1/1;width:100%;height:100%;object-fit:cover;display:block}
.share-preview-cover span{grid-area:1/1}.share-preview-cover img:not([hidden]) + span{display:none!important}
.share-preview-meta{min-width:0;display:flex;flex-direction:column;gap:4px}
.share-preview-live{display:inline-flex;align-items:center;gap:6px;width:max-content;color:var(--accent);font:900 9px/1 Inter,Arial,sans-serif;letter-spacing:.1em}
.share-preview-live i{width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 14%,transparent)}
.share-preview-meta strong{font:900 16px/1.15 Inter,Arial,sans-serif;color:#172033;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:410px}
.share-preview-meta small{font:700 12px/1.2 Inter,Arial,sans-serif;color:#68778b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:410px}
.share-grid{padding-top:22px!important}
body.theme-dark .share-preview{background:#0b1422;border-color:#314055}
body.theme-dark .share-preview-cover{background:#162235;color:#9eb0c6}
body.theme-dark .share-preview-meta strong{color:#fff}
body.theme-dark .share-preview-meta small{color:#a7b5c7}
@media(max-width:680px){
  .share-preview{margin:14px 18px 0;padding:10px}.share-preview-cover{width:54px;height:54px;flex-basis:54px}
  .share-preview-meta strong,.share-preview-meta small{max-width:calc(96vw - 125px)}
}

/* =========================================================
   V9.8 — PODCAST PLAYER BONITO + VOLUMEN OCULTO
   ========================================================= */
.podcast-pro-card .panel-extra-body{display:flex;flex-direction:column;gap:0}
.podcast-player{
  position:relative;
  display:grid;
  grid-template-columns:50px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  margin-top:12px;
  padding:10px 12px;
  border-radius:16px;
  background:linear-gradient(180deg,rgba(255,255,255,.78),rgba(255,255,255,.58));
  border:1px solid rgba(218,226,238,.95);
  box-shadow:0 10px 26px rgba(24,38,66,.08);
}
.podcast-audio{display:none!important}
.podcast-play-btn{
  width:46px;height:46px;border:0;border-radius:50%;cursor:pointer;
  display:grid;place-items:center;position:relative;flex:0 0 46px;
  background:linear-gradient(135deg,var(--accent),color-mix(in srgb,var(--accent) 72%,#fff));
  box-shadow:0 10px 22px color-mix(in srgb,var(--accent) 28%,transparent);
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.podcast-play-btn:hover{transform:translateY(-1px);filter:brightness(1.02)}
.podcast-play-btn:active{transform:translateY(0) scale(.98)}
.podcast-play-btn:focus-visible,.podcast-volume-btn:focus-visible,.podcast-progress:focus-visible,.podcast-volume-range:focus-visible{outline:2px solid color-mix(in srgb,var(--accent) 75%,#fff);outline-offset:2px}
.podcast-play-icon{display:block;position:relative;width:0;height:0;border-top:9px solid transparent;border-bottom:9px solid transparent;border-left:15px solid #fff;margin-left:3px;transition:all .18s ease}
.podcast-play-btn.is-playing .podcast-play-icon{width:15px;height:18px;border:0;margin-left:0;background:linear-gradient(90deg,#fff 0 34%,transparent 34% 62%,#fff 62% 100%)}
.podcast-player-main{min-width:0;display:flex;flex-direction:column;gap:8px}
.podcast-time{font:800 12px/1 Inter,Arial,sans-serif;color:#526174;letter-spacing:.01em}
.podcast-progress{
  position:relative;height:8px;border-radius:999px;overflow:hidden;cursor:pointer;
  background:rgba(176,188,205,.35);box-shadow:inset 0 1px 2px rgba(31,44,70,.12);
}
.podcast-progress-fill{
  position:absolute;inset:0 auto 0 0;width:0%;border-radius:inherit;
  background:linear-gradient(90deg,var(--accent),color-mix(in srgb,var(--accent) 50%,#fff));
}
.podcast-volume{position:relative;display:flex;align-items:center}
.podcast-volume-btn{
  width:38px;height:38px;border-radius:12px;border:1px solid rgba(216,225,236,.96);cursor:pointer;
  display:grid;place-items:center;background:rgba(255,255,255,.72);transition:background .18s ease,border-color .18s ease,transform .18s ease;
}
.podcast-volume-btn:hover{background:rgba(255,255,255,.95);transform:translateY(-1px)}
.podcast-volume-icon{display:block;position:relative;width:18px;height:14px}
.podcast-volume-icon::before{
  content:'';position:absolute;left:0;top:3px;width:8px;height:8px;
  background:linear-gradient(135deg,var(--accent),color-mix(in srgb,var(--accent) 40%,#fff));
  clip-path:polygon(0 30%,45% 30%,75% 0,75% 100%,45% 70%,0 70%);
}
.podcast-volume-icon::after{
  content:'';position:absolute;left:9px;top:1px;width:8px;height:12px;border-radius:50%;
  border:2px solid color-mix(in srgb,var(--accent) 82%,#fff);border-left-color:transparent;border-bottom-color:transparent;transform:rotate(45deg);
}
.podcast-volume-pop{
  position:absolute;right:0;bottom:calc(100% + 8px);z-index:5;min-width:52px;
  padding:12px 8px;border-radius:14px;background:rgba(255,255,255,.96);
  border:1px solid rgba(216,225,236,.98);box-shadow:0 16px 32px rgba(18,31,56,.16);
}
.podcast-volume-range{
  writing-mode:vertical-lr;-webkit-appearance:slider-vertical;
  width:28px;height:110px;accent-color:var(--accent);cursor:pointer;
}
.podcast-link{display:inline-flex;align-items:center;gap:6px;margin-top:10px}
body.theme-dark .podcast-player{background:linear-gradient(180deg,rgba(18,27,44,.92),rgba(15,24,38,.82));border-color:#2f3d55;box-shadow:0 12px 26px rgba(0,0,0,.24)}
body.theme-dark .podcast-time{color:#b7c4d6}
body.theme-dark .podcast-progress{background:rgba(151,166,190,.20)}
body.theme-dark .podcast-volume-btn{background:rgba(16,23,37,.8);border-color:#36455d}
body.theme-dark .podcast-volume-pop{background:rgba(16,23,37,.98);border-color:#36455d}
@media(max-width:680px){
  .podcast-player{grid-template-columns:46px minmax(0,1fr) auto;gap:10px;padding:10px}
  .podcast-volume-pop{right:-6px}
}
