/* Full-frame programme artwork authored for 16:9. All visual-only layers pass input through. */
.s3-cuna-entrada,.s3-program-art{overflow:hidden;pointer-events:none;box-sizing:border-box}
.s3-cuna-entrada{position:absolute;inset:0;z-index:32;container-type:inline-size;background:#07384d}
.s3-program-art{position:absolute;inset:0;z-index:1;background:#07384d}
.s3-program-art img{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:none!important;border-radius:0!important;transform:none!important;animation:none!important;filter:none!important;object-fit:contain!important;object-position:center!important}
.s3-program-fallback{position:absolute;inset:0;display:grid;place-content:center;gap:.65em;padding:7%;text-align:center;color:#f6e9cc;background:radial-gradient(ellipse at 50% 100%,#114e64,#07384d 70%);font:600 clamp(12px,1.7cqw,32px)/1.2 Manrope,Arial,sans-serif}
.s3-program-fallback span{letter-spacing:.12em;text-transform:uppercase;color:#a7d9eb}
.s3-program-fallback strong{font-size:clamp(23px,5.4cqw,112px);letter-spacing:-.04em;text-wrap:balance}
.s3-program-art:not(.s3-poster-ready) .s3-program-poster{opacity:0}
.s3-poster-ready .s3-program-fallback{visibility:hidden}
html[data-s3-senal] #s3-output .s3-program-wave{
  position:absolute;z-index:2;top:50%;left:76%;transform:translate(-50%,-50%);
  width:clamp(74px,19cqw,365px);height:clamp(33px,6.3cqw,122px);box-sizing:border-box;
  display:flex!important;align-items:center;justify-content:center;gap:clamp(2px,.52cqw,10px);
  padding:clamp(5px,.89cqw,17px) clamp(8px,1.3cqw,25px);
  border:1px solid #8bd8ef70;border-radius:clamp(6px,.65cqw,13px);background:rgb(5 28 40 / 72%);
  box-shadow:0 2px .8em #06101850;pointer-events:none;transition:opacity .2s ease;
}
html[data-s3-senal] #s3-output .s3-program-art:not(.s3-poster-ready) .s3-program-wave{display:none!important}
html[data-s3-senal].s3-autopromo-en-antena #s3-output .s3-program-wave{opacity:0}
.s3-program-wave i{
  width:clamp(2px,.53cqw,10px);height:var(--s3-wave-height);border-radius:999px;
  background:linear-gradient(180deg,#c8f0fb,#64b8d9);
  animation:s3-program-wave-beat .95s calc(var(--s3-wave-index) * -.12s) ease-in-out infinite alternate;
}
@keyframes s3-program-wave-beat{
  0%{transform:scaleY(.42)}
  40%{transform:scaleY(.78)}
  100%{transform:scaleY(1)}
}
@media(prefers-reduced-motion:reduce){
  html[data-s3-senal] #s3-output .s3-program-wave{transition:none}
  .s3-program-wave i{animation:none}
}
:is(#stvSharedProgramVisual,#stvProgramScreen,#stv2ProgramVisual)>.s3-program-art{visibility:hidden}
/* Native shared-player CSS assigns relative positioning to direct divs, which
   would collapse the height of an artwork layer with absolute children. */
html[data-s3-senal] #s3-output :is(#stvSharedProgramVisual,#stvProgramScreen[data-stv-program-mode=live],#stv2ProgramVisual).s3-program-ficha>.s3-program-art{
  position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;visibility:visible;
}
:is(#stvSharedProgramVisual,#stvProgramScreen[data-stv-program-mode=live],#stv2ProgramVisual).s3-program-ficha>:not(.s3-program-art){visibility:hidden!important}
/* The approved corner graphic uses the S strokes over the live picture. */
html[data-s3-senal] body #s3-output .stv-motion-promo {
  --s3-promo-width:34.375%;
  --s3-promo-height:70.37%;
  --s3-promo-safe-right:17.42%;
  pointer-events:none;
}
html[data-s3-senal] body #s3-output .s3-cuna-entrada[data-tipo=promo]{background:transparent;z-index:1398}
html[data-s3-senal] body #s3-output #sonarivaAutoLowerThird.stv-motion-promo{z-index:1400!important}
html[data-s3-senal] body #s3-output #stvProgramPromo.stv-motion-promo{z-index:1401!important}
html[data-s3-senal] body #s3-output .stvlt.stv-motion-promo{z-index:1402!important}
html[data-s3-senal] body #s3-output .stv-motion-promo .stv-motion-promo__body{
  position:absolute;inset:auto -1.04% var(--s3-promo-bottom,8.33%) auto;
  width:var(--s3-promo-width);height:var(--s3-promo-height);
  display:block;padding:0;background:none;border:0;border-radius:0;box-shadow:none;overflow:visible;
  color:#f6e9cc;font-family:SonarivaOutfit,Outfit,Arial,sans-serif;
  animation:s3-onda-entra .6s cubic-bezier(.18,.85,.28,1) both,s3-onda-sale .6s var(--stv-motion-out,999999s) cubic-bezier(.55,0,.85,.3) forwards;
}
html[data-s3-senal] body #s3-output .stv-motion-promo .stv-motion-promo__wave{
  position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;
}
html[data-s3-senal] body #s3-output .s3-cuna-entrada .stv-motion-promo__wave{
  background:url("media/promo-onda.svg") center/100% 100% no-repeat;
}
html[data-s3-senal] body #s3-output .stv-motion-promo :is(.stv-motion-promo__label,.stv-motion-promo__art,.stv-motion-promo__copy,.stv-motion-promo__time){
  position:absolute;right:var(--s3-promo-safe-right);left:auto;margin:0;text-align:right;
  animation:s3-promo-texto .36s .24s ease both;
}
html[data-s3-senal] body #s3-output .stv-motion-promo .stv-motion-promo__label{
  top:21.97%;color:inherit;font-weight:750;line-height:1.1;font-size:clamp(9px,1.77cqw,34px);
  letter-spacing:.04em;text-transform:uppercase;text-shadow:0 1px 3px #07384d,0 0 5px #07384d;
}
html[data-s3-senal] body #s3-output .stv-motion-promo .stv-motion-promo__art{
  top:31.32%;width:43.94%;height:35.53%;
}
html[data-s3-senal] body #s3-output .stv-motion-promo .stv-motion-promo__logo{object-position:right center}
html[data-s3-senal] body #s3-output .stv-motion-promo .stv-motion-promo__copy{
  top:69.21%;width:67%;color:inherit;text-shadow:0 1px 3px #07384d,0 0 5px #07384d;
}
html[data-s3-senal] body #s3-output .stv-motion-promo .stv-motion-promo__title{
  margin:0;font-size:clamp(11px,2.29cqw,44px);line-height:1.07;text-align:right;
}
html[data-s3-senal] body #s3-output .stv-motion-promo .stv-motion-promo__fallback{
  margin:0;font-size:clamp(12px,3.13cqw,60px);line-height:1.05;text-align:right;
}
html[data-s3-senal] body #s3-output .stv-motion-promo :is(.stv-motion-promo__subtitle,.stv-motion-promo__schedule,.stv-motion-promo__url){
  font-size:clamp(8px,1.51cqw,29px);line-height:1.14;margin:.24em 0 0;max-height:none;overflow-wrap:anywhere;
}
html[data-s3-senal] body #s3-output .stv-motion-promo .stv-motion-promo__url{
  color:inherit;font-weight:740;
}
html[data-s3-senal] body #s3-output .stv-motion-promo :is(.stv-motion-promo__time,.stv-motion-promo__url,.stv-motion-promo__schedule):empty{
  display:none;
}
html[data-s3-senal] body #s3-output .stv-motion-promo .stv-motion-promo__time{
  top:82.24%;font-size:clamp(22px,5cqw,96px);font-weight:800;line-height:1;
  color:inherit;text-shadow:0 1px 4px #07384d;font-variant-numeric:tabular-nums;
}
html[data-s3-senal] body #s3-output .stv-motion-promo .stv-motion-promo__point{
  position:absolute;right:7.58%;bottom:3.95%;display:block;width:5.76%;aspect-ratio:1;border-radius:13%;
  background:#69b2d3;animation:s3-promo-texto .36s .3s ease both;
}
html[data-s3-senal] body #s3-output .stv-motion-promo--labelled .stv-motion-promo__art{height:33%}
html[data-s3-senal] body #s3-output .stv-motion-promo--labelled .stv-motion-promo__copy{top:auto;bottom:19%;width:70%}
html[data-s3-senal] body #s3-output .stv-motion-promo--labelled .stv-motion-promo__title{font-size:clamp(10px,1.67cqw,32px)}
html[data-s3-senal] body #s3-output .stv-motion-promo--auto .stv-motion-promo__art{width:54.55%;height:26.32%}
html[data-s3-senal] body #s3-output .stv-motion-promo--auto .stv-motion-promo__copy{top:62.63%;width:68%}
html[data-s3-senal] body #s3-output .stv-motion-promo--auto:not(:has(.stv-motion-promo__art)) .stv-motion-promo__copy{top:40%}
html[data-s3-senal] body #s3-output .stv-motion-promo.is-leaving .stv-motion-promo__body{animation:s3-onda-sale .25s ease-in both}
@keyframes s3-onda-entra{from{transform:translateX(105%);opacity:0}to{transform:none;opacity:1}}
@keyframes s3-onda-sale{from{transform:none;opacity:1}to{transform:translateX(105%);opacity:0}}
@keyframes s3-promo-texto{from{opacity:0;transform:translateX(.7em)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){
  html[data-s3-senal] body #s3-output .stv-motion-promo :is(.stv-motion-promo__body,.stv-motion-promo__label,.stv-motion-promo__art,.stv-motion-promo__copy,.stv-motion-promo__time,.stv-motion-promo__point){animation:none!important}
}

/* An event countdown keeps its own live clock, in the same transparent family. */
html[data-s3-senal] body #s3-output #stvRemoteEventHost{
  z-index:1399!important;right:3.3%!important;bottom:var(--s3-promo-bottom,7%)!important;width:35%!important;
}
html[data-s3-senal].s3-autopromo-en-antena body #s3-output #stvRemoteEventHost{visibility:hidden!important}
html[data-s3-senal] body #s3-output #stvRemoteEvent:not([hidden]){
  padding:1cqw 1.45cqw!important;border:0!important;border-radius:0!important;box-shadow:none!important;
  background:url("media/promo-onda.svg") right 30% / 75% auto no-repeat transparent!important;
  color:#f6e9cc!important;text-shadow:0 1px 3px #031018,0 0 6px #031018;
}
html[data-s3-senal] body #s3-output #stvRemoteEvent>span>small{color:#a9e3f7!important;font-size:clamp(8px,.85cqw,20px)!important}
html[data-s3-senal] body #s3-output #stvRemoteEvent>span>strong{color:#fff3d7!important;font-size:clamp(10px,1.35cqw,30px)!important}
html[data-s3-senal] body #s3-output #stvRemoteEventCountdown{color:#fff3d7!important;font-size:clamp(11px,2cqw,42px)!important}

@media(max-width:630px) and (orientation:portrait){
  html[data-s3-senal] body #s3-output .stv-motion-promo{
    --s3-promo-width:51%;
    --s3-promo-height:min(82%,68vw);
  }
  html[data-s3-senal] body #s3-output #stvRemoteEventHost{width:52%!important}
}
