/* 📻 HCG Radio en la Ciudad 3D (25 nov 2026, Capitán: «elimina el botón de la música y pon el de la radio»). Copiado de css/estilo.css */
#hcgRadio{position:fixed;left:16px;bottom:78px;z-index:900;display:flex;align-items:center;gap:8px;padding:6px 14px 6px 6px;border-radius:999px;border:1.5px solid #ad8a1f;background:rgba(8,7,4,.9);color:#f5e6b8;cursor:pointer;box-shadow:0 6px 18px rgba(0,0,0,.45);font:600 12px/1.15 Montserrat,system-ui,sans-serif;max-width:230px}
#hcgRadio .rad-ico{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(180deg,#f6e3a1,#c9a227);font-size:19px}
#hcgRadio .rad-txt{display:flex;flex-direction:column;text-align:left;min-width:0}
#hcgRadio .rad-txt small{font-weight:500;opacity:.8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:160px}
#hcgRadio.on .rad-ico{animation:radLate 1.2s ease-in-out infinite}
#hcgRadioPanel{position:fixed;left:16px;bottom:132px;z-index:901;width:min(300px,calc(100vw - 32px));padding:12px 14px;border-radius:16px;border:1.5px solid #ad8a1f;background:rgba(8,7,4,.95);color:#f5e6b8;box-shadow:0 10px 30px rgba(0,0,0,.5);font:500 13px/1.4 Montserrat,system-ui,sans-serif}
#hcgRadioPanel .rad-vivo{font-weight:800;letter-spacing:.04em;color:#f6e3a1}
#hcgRadioPanel .rad-vivo i{display:inline-block;width:9px;height:9px;border-radius:50%;background:#ff3b3b;margin-right:4px;animation:radLate 1s infinite}
#hcgRadioPanel .rad-ahora{margin:6px 0 8px}
#hcgRadioPanel .rad-ctrl{display:flex;align-items:center;gap:8px}
#hcgRadioPanel .rad-ctrl button{width:38px;height:38px;border-radius:50%;border:1px solid #ad8a1f;background:transparent;color:#f6e3a1;font-size:16px;cursor:pointer}
#hcgRadioPanel .rad-ctrl input{flex:1;accent-color:#c9a227}
#hcgRadioPanel .rad-pie{display:block;margin-top:8px;opacity:.7;font-size:11px}
#hcgRadioPanel .rad-foto img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:12px;margin-bottom:8px}
@media (max-width:700px){#hcgRadioPanel .rad-foto img{aspect-ratio:1/1;object-position:50% 0}}
#hcgRadioPanel{width:min(340px,calc(100vw - 32px))}
#hcgRadioPanel .rad-fila{display:flex;align-items:center;gap:10px;margin:6px 0 8px}
#hcgRadioPanel .rad-fila .rad-ahora{margin:0}
#hcgRadioPanel .rad-art{width:52px;height:52px;border-radius:50%;object-fit:cover;border:2px solid #c9a227;box-shadow:0 0 12px rgba(201,162,39,.5);flex:none;animation:radGira 12s linear infinite}
@media (max-width:700px){#hcgTVPanel .tv-pantalla{aspect-ratio:9/12;max-height:58vh}#hcgTVPanel .tv-poster img{object-position:50% 0}}
#hcgRadioPanel .rad-min{display:block;width:100%;margin-top:10px;padding:10px;border-radius:999px;border:1px solid #ad8a1f;background:linear-gradient(135deg,#f1d27a,#ad8a1f);color:#111;font:800 14px Montserrat,system-ui,sans-serif;cursor:pointer}
@media (max-width:700px){#hcgRadioPanel{max-height:70vh;overflow-y:auto}#hcgRadioPanel .rad-foto img{max-height:38vh}}
#hcgRadioPanel .rad-min,#hcgTVPanel .tv-min{position:relative;overflow:hidden;color:#fff;text-shadow:0 2px 6px rgba(0,0,0,.9);  background:linear-gradient(180deg,rgba(40,32,14,.55),rgba(5,4,2,.78));border:2px solid rgba(240,205,110,.9);  box-shadow:inset 0 2px 0 rgba(255,240,190,.35),inset 0 -3px 8px rgba(0,0,0,.6),0 6px 18px rgba(0,0,0,.55),0 0 18px rgba(230,194,94,.28)}
#hcgRadioPanel .rad-min::after,#hcgTVPanel .tv-min::after{content:"";position:absolute;top:-20%;bottom:-20%;left:-60%;width:30%;background:linear-gradient(100deg,transparent,rgba(255,248,220,.5),transparent);transform:skewX(-20deg);animation:corre3d 3.2s cubic-bezier(.45,0,.25,1) infinite;pointer-events:none}
#hcgRadio,#hcgTV{padding:3px;gap:0;opacity:.72;box-shadow:0 3px 10px rgba(0,0,0,.35);transition:opacity .2s}
#hcgRadio:hover,#hcgTV:hover,#hcgRadio.on,#hcgTV.on{opacity:1}
#hcgRadio .rad-txt,#hcgTV .tv-txt{display:none}
#hcgRadio .rad-ico,#hcgTV .tv-ico{width:34px;height:34px;font-size:17px}
#hcgRadio{bottom:78px}#hcgTV{bottom:122px}
@media (max-width:700px){
  #hcgRadio,#hcgTV{left:10px}
  #hcgRadio .rad-ico,#hcgTV .tv-ico{width:30px;height:30px;font-size:15px}
  #hcgRadio{bottom:76px}#hcgTV{bottom:114px}
}
@media (max-width:700px){body:has(#hcgRadioPanel:not([hidden])) #hcgTV{display:none!important}}
#hcgRadioPanel,#hcgTVPanel{background:#080704!important}
/* En la Ciudad 3D el botón de la radio va donde estaba la bocina (arriba a la derecha) y su panel debajo */
#hcgRadio{position:fixed!important;top:142px!important;right:16px!important;left:auto!important;bottom:auto!important;z-index:7!important;opacity:1!important}
#hcgRadioPanel{position:fixed!important;top:190px!important;right:16px!important;left:auto!important;bottom:auto!important;z-index:20!important;max-height:calc(100dvh - 210px);overflow-y:auto}
@media (max-width:700px){#hcgRadio{top:calc(54px + env(safe-area-inset-top))!important;right:10px!important}#hcgRadioPanel{top:calc(100px + env(safe-area-inset-top))!important;right:10px!important;width:calc(100vw - 20px)!important}}
body.modo-tv #hcgRadio,body.c3d-limpio #hcgRadioPanel[hidden]{display:none!important}
