/* E15-REDECANAIS-V1.3.8 */
.redecanais-theme .rc-carousel-shell{position:relative}
.redecanais-theme .rc-scroll-carousel{display:flex!important;gap:14px;overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;scroll-snap-type:x mandatory;padding:0 2px 10px;margin:0;flex-wrap:nowrap!important}
.redecanais-theme .rc-scroll-carousel::-webkit-scrollbar{height:6px}
.redecanais-theme .rc-scroll-carousel>li.rc-carousel-card{display:block!important;float:none!important;flex:0 0 220px;max-width:220px;width:220px!important;scroll-snap-align:start;padding:0!important}
.redecanais-theme .rc-carousel-prev,.redecanais-theme .rc-carousel-next{cursor:pointer}
.redecanais-theme .pm-carousel-sidebuttons>.rc-carousel-prev{position:absolute;left:-8px;top:42%;z-index:20}
.redecanais-theme .pm-carousel-sidebuttons>.rc-carousel-next{position:absolute;right:-8px;top:42%;z-index:20}

/* As capas passam a preencher a área inteira sem altura fixa de 136px. */
.redecanais-theme .pm-video-thumb{position:relative;overflow:hidden;height:auto!important;min-height:0!important;aspect-ratio:16/9!important;background:#111}
.redecanais-theme .pm-video-thumb>a:not(.pm-watch-later-add){display:block;position:absolute;inset:0;width:100%;height:100%}
.redecanais-theme .rc-cover-image{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:25% 55%!important}
.redecanais-theme .rc-no-thumb{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}

/* O overlay original não usa mais icon-play-32.png. */
.redecanais-theme .pm-video-thumb .overlay{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;background-image:none!important;background-color:rgba(0,0,0,.08)!important;z-index:2!important}
.redecanais-theme .pm-video-thumb:hover .overlay{background-color:rgba(0,0,0,.22)!important}
.redecanais-theme .rc-play-icon{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:42px!important;height:42px!important;z-index:5!important;pointer-events:none!important;opacity:0!important}

.redecanais-theme .rc-watermark-host{position:relative;overflow:hidden}
.redecanais-theme .rc-cover-watermark{position:absolute!important;left:6%!important;bottom:2%!important;top:auto!important;width:88%!important;height:auto!important;max-height:34%!important;object-fit:contain!important;object-position:center bottom!important;z-index:4!important;pointer-events:none!important;filter:drop-shadow(0 1px 2px rgba(0,0,0,.45))}
.redecanais-theme .rc-backdrop-watermark-host{position:relative;overflow:hidden}
.redecanais-theme .rc-backdrop-watermark{position:absolute!important;left:50%!important;bottom:3%!important;top:auto!important;transform:translateX(-50%)!important;width:min(30%,320px)!important;height:auto!important;max-height:24%!important;object-fit:contain!important;object-position:center bottom!important;z-index:4!important;pointer-events:none!important;filter:drop-shadow(0 2px 3px rgba(0,0,0,.55))}
.redecanais-theme .rc-detail-backdrop{max-width:1100px;margin:10px auto 22px;border-radius:4px;overflow:hidden;background:#111}
.redecanais-theme .rc-detail-backdrop-image{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;object-position:center 30%}
.redecanais-theme .rc-series-list-backdrop{width:100%}

.redecanais-theme .rc-season-block{margin:0 0 24px;font-size:16px;line-height:1.8}
.redecanais-theme .rc-season-title{font-size:24px;margin-bottom:4px}
.redecanais-theme .rc-episode-line a{font-weight:700}
.redecanais-theme .rc-episode-mini{font-size:11px;line-height:1.35;opacity:.75;margin-top:3px}
.redecanais-theme .rc-home-primary{margin-top:18px}
.redecanais-theme .rc-specific-section{margin-top:20px}
.redecanais-theme .rc-episode-navigation{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}
.redecanais-theme .pm-video-meta .pm-video-author+.pm-video-since{margin-left:5px}

/* Página individual: mesma caixa do player da referência (640x400 no desktop), responsiva no mobile. */
.redecanais-theme #player #video-wrapper{display:flex;justify-content:center;align-items:center;width:100%;padding:0;margin:0 auto}
.redecanais-theme #player #video-wrapper>#movie-player-container{width:640px!important;max-width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:8/5!important;border-radius:0!important;margin:0 auto!important}
.redecanais-theme #player #video-wrapper>#movie-player-container>iframe{border-radius:0!important}

/* Bloco lateral baseado no redes-bloco da página de referência. */
.redecanais-theme .redes-bloco{padding:20px 0;text-align:center}
.redecanais-theme .redes-bloco .social-icons{display:flex;flex-direction:column;align-items:center;gap:30px;margin-top:0;flex-wrap:wrap}
.redecanais-theme .redes-bloco .icon-block{display:flex;flex-direction:column;align-items:center;text-align:center}
.redecanais-theme .redes-bloco .icon-label{color:#fff;font-size:16px;font-family:Arial,sans-serif;margin-bottom:12px}
.redecanais-theme .redes-bloco .rc-social-telegram{display:block;width:55px;height:55px;transition:transform .3s ease}
.redecanais-theme .redes-bloco a:hover .rc-social-telegram{transform:scale(1.05)}

@media(min-width:600px){.redecanais-theme .redes-bloco .social-icons{flex-direction:row;justify-content:center}}
@media(max-width:767px){
  .redecanais-theme .rc-scroll-carousel>li.rc-carousel-card{flex-basis:168px;max-width:168px;width:168px!important}
  .redecanais-theme .rc-backdrop-watermark{width:min(46%,240px)!important;bottom:3%!important}
  .redecanais-theme .rc-season-title{font-size:21px}
  .redecanais-theme .rc-episode-line{font-size:14px}
  .redecanais-theme .rc-play-icon{width:38px!important;height:38px!important}
}


/* V1.3.8 — ícones SVG locais/inline: independentes de Font Awesome/mico. */
.redecanais-theme .rc-ui-icon{display:inline-block;width:1em;height:1em;vertical-align:-.125em;overflow:visible;color:currentColor}
.redecanais-theme #pm-top-search .rc-ui-icon-search{width:16px;height:16px}
.redecanais-theme .rc-mobile-search .rc-ui-icon-search{width:20px;height:20px}
.redecanais-theme .btn-slider .rc-ui-icon-chevron,.redecanais-theme .btn-group-sort .rc-ui-icon-chevron{width:18px;height:18px}
.redecanais-theme .pm-watch-later-add .rc-ui-icon-clock{width:14px;height:14px}

/* Play central somente no hover real do card. */
.redecanais-theme .pm-video-thumb .rc-play-icon{opacity:0!important;visibility:hidden!important;transition:opacity .16s ease,transform .16s ease!important}
.redecanais-theme .pm-video-thumb:hover .rc-play-icon,.redecanais-theme .pm-video-thumb:focus-within .rc-play-icon{opacity:1!important;visibility:visible!important;transform:translate(-50%,-50%) scale(1)!important}

/* Destaques: mesma composição semântica da referência, com 5 itens por janela no desktop. */
.redecanais-theme .rc-featured-carousel{position:relative;width:100%}
.redecanais-theme #pm-carousel_featuredlist{display:flex!important;gap:0!important;overflow:hidden!important;scroll-behavior:smooth;scroll-snap-type:x mandatory;padding:0!important;margin:0!important;width:100%}
.redecanais-theme #pm-carousel_featuredlist>li.rc-carousel-card{flex:0 0 20%!important;max-width:20%!important;width:20%!important;padding-left:15px!important;padding-right:15px!important;box-sizing:border-box;scroll-snap-align:start}
.redecanais-theme #pm-slide-prev_featuredlist,.redecanais-theme #pm-slide-next_featuredlist{display:block;position:absolute;top:50%;transform:translateY(-50%);z-index:30;margin:0!important}
.redecanais-theme #pm-slide-prev_featuredlist{left:-5px}
.redecanais-theme #pm-slide-next_featuredlist{right:-5px}

/* A imagem da listagem pertence ao description e vem antes do primeiro bloco de temporada. */
.redecanais-theme .rc-episode-list-description>.rc-series-list-backdrop{margin-top:0;margin-bottom:22px}

/* Compatibilidade visual do player compartilhado com o tema RedeCanais, que não carrega Tailwind. */
.redecanais-theme #player #video-wrapper{display:flex;justify-content:center;align-items:center;width:100%;padding:0;margin:0 auto}
.redecanais-theme #movie-player-container{position:relative!important;display:block!important;width:640px!important;max-width:100%!important;height:400px!important;min-height:0!important;max-height:none!important;overflow:hidden!important;background:#000!important;border:0!important;border-radius:0!important;margin:0 auto!important;color:#fff!important}
.redecanais-theme #movie-player-container>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;opacity:.6}
.redecanais-theme #movie-player-container>#movie-fake-player{position:absolute!important;inset:0!important;z-index:20!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important;cursor:pointer!important}
.redecanais-theme #movie-player-container>#movie-fake-player>div:first-child{position:relative;z-index:2;padding:16px;background:linear-gradient(to bottom,rgba(0,0,0,.75),transparent)}
.redecanais-theme #movie-player-container #movie-fake-player-btn{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;border:0!important;background:transparent!important;padding:0!important;z-index:30!important}
.redecanais-theme #movie-player-container #movie-fake-player-btn>div{width:80px!important;height:80px!important;border-radius:999px!important;display:flex!important;align-items:center!important;justify-content:center!important;background:rgba(0,0,0,.72)!important;box-shadow:0 8px 28px rgba(0,0,0,.45)!important}
.redecanais-theme #movie-player-container #movie-fake-player-btn svg{width:48px!important;height:48px!important;color:#fff!important}
.redecanais-theme #movie-player-container>#movie-fake-player>div:last-child{position:absolute!important;left:0!important;right:0!important;bottom:0!important;padding:16px!important;background:linear-gradient(to top,rgba(0,0,0,.82),transparent)!important}
.redecanais-theme #movie-player-container>iframe{display:block!important;width:100%!important;height:100%!important;min-width:100%!important;min-height:100%!important;border:0!important;border-radius:0!important;background:#000!important}
.redecanais-theme #player-chooser-close i{display:none!important}
.redecanais-theme #player-chooser-close::before{content:'×';font-size:28px;line-height:1;color:#fff}

@media(max-width:991px){
  .redecanais-theme #pm-carousel_featuredlist>li.rc-carousel-card{flex-basis:33.3333%!important;max-width:33.3333%!important;width:33.3333%!important}
}
@media(max-width:767px){
  .redecanais-theme #pm-carousel_featuredlist{overflow-x:auto!important}
  .redecanais-theme #pm-carousel_featuredlist>li.rc-carousel-card{flex-basis:50%!important;max-width:50%!important;width:50%!important}
  .redecanais-theme #movie-player-container{width:100%!important;height:auto!important;aspect-ratio:16/9!important}
  .redecanais-theme .pm-video-thumb .rc-play-icon{opacity:0!important;visibility:hidden!important}
}

/* E15-REDECANAIS-V1.4.5-CURRENT-V139-REAL-API-IFRAME */

/* Referência: uma única mastcontent-wrap nas páginas individuais. */
.redecanais-theme .mastcontent-wrap .mastcontent-wrap{display:contents!important}

/* Player individual: o elemento visível é o próprio iframe 640x400 da referência. */
.redecanais-theme #player{float:none!important;margin-left:auto!important;margin-right:auto!important}
.redecanais-theme #player #video-wrapper{display:block!important;width:100%!important;padding:0!important;margin:0 auto!important;text-align:center!important;line-height:0!important}
.redecanais-theme #player #video-wrapper>iframe[data-rc-api-player="1"]{
  display:block!important;
  width:640px!important;
  height:400px!important;
  max-width:100%!important;
  margin:0 auto!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:#050505!important;
}

/* Cards com a mesma proporção visual aproximada 173x136 da referência,
   sem voltar a uma altura fixa. */
.redecanais-theme .pm-video-thumb{
  position:relative!important;
  overflow:hidden!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:173/136!important;
  background:#111!important;
}
.redecanais-theme .pm-video-thumb>.rc-card-media-link{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  overflow:hidden!important;
}
.redecanais-theme .pm-video-thumb .rc-cover-image{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:cover!important;
  object-position:center 42%!important;
}

/* O play é centralizado pelo retângulo da CAPA, não pelo card/caption. */
.redecanais-theme .pm-video-thumb .rc-play-hover{
  position:absolute!important;
  inset:0!important;
  z-index:6!important;
  display:grid!important;
  place-items:center!important;
  pointer-events:none!important;
  opacity:0!important;
  visibility:hidden!important;
  transition:opacity .16s ease!important;
}
.redecanais-theme .pm-video-thumb .rc-play-hover>img{
  display:block!important;
  position:static!important;
  width:44px!important;
  height:44px!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  transform:none!important;
}
.redecanais-theme .pm-video-thumb:hover .rc-play-hover,
.redecanais-theme .pm-video-thumb:focus-within .rc-play-hover{
  opacity:1!important;
  visibility:visible!important;
}

/* Watermark levemente mais baixo, como solicitado. */
.redecanais-theme .rc-cover-watermark{
  left:6%!important;
  bottom:-6px!important;
  top:auto!important;
  width:88%!important;
  height:auto!important;
  max-height:34%!important;
  object-fit:contain!important;
  object-position:center bottom!important;
}
.redecanais-theme .rc-backdrop-watermark{
  left:50%!important;
  bottom:-5px!important;
  top:auto!important;
  transform:translateX(-50%)!important;
}

/* Imagem da lista de episódios pertence ao description, antes da temporada. */
.redecanais-theme .rc-episode-list-description>.rc-series-list-backdrop{
  display:block!important;
  width:100%!important;
  margin:0 0 22px!important;
}
.redecanais-theme .rc-series-list-backdrop .rc-detail-backdrop-image{
  width:100%!important;
  aspect-ratio:16/9!important;
  height:auto!important;
  object-fit:cover!important;
  object-position:center 35%!important;
}

/* Organização dos individuais conforme a referência: 8/4 após o player. */
.redecanais-theme #content-main>.row>.pm-video-watch-main,
.redecanais-theme #content-main>.row>.pm-video-watch-sidebar{min-height:1px}
.redecanais-theme .pm-video-watch-sidebar>.redes-bloco{padding:20px 0!important;text-align:center!important}
.redecanais-theme .rc-related-dl{margin-top:14px!important}

/* Comentários reais do Front SITE, apenas adaptados para a lateral RedeCanais. */
.redecanais-theme .rc-comments-shell{width:100%;margin:8px 0 24px;color:#e7e7e7;font-family:Arial,sans-serif}
.redecanais-theme .rc-comments-title{margin:8px 0 14px;font-size:22px;line-height:1.25;color:#2c8dff;font-weight:600;text-transform:none}
.redecanais-theme .rc-comments-shell .comments-area{margin:0!important;padding:0 0 18px!important;border:0!important;color:#e7e7e7!important}
.redecanais-theme .rc-comments-shell .comments-heading{justify-content:center!important;align-items:center!important;margin:0 0 12px!important;text-align:center!important}
.redecanais-theme .rc-comments-shell .comments-heading>div{width:100%}
.redecanais-theme .rc-comments-shell .comments-title{display:none!important}
.redecanais-theme .rc-comments-shell .comments-subtitle{margin:0!important;color:#9d9d9d!important;font-size:12px!important}
.redecanais-theme .rc-comments-shell .comments-jump-link{display:none!important}
.redecanais-theme .rc-comments-shell .comments-empty,
.redecanais-theme .rc-comments-shell .comment-guest-cta,
.redecanais-theme .rc-comments-shell .comment-edit-form{
  border:1px solid #2f2f2f!important;
  border-radius:4px!important;
  background:#151515!important;
  color:#ddd!important;
  box-shadow:none!important;
}
.redecanais-theme .rc-comments-shell .comments-empty{padding:18px 12px!important}
.redecanais-theme .rc-comments-shell .comments-empty-text,
.redecanais-theme .rc-comments-shell .comment-guest-text,
.redecanais-theme .rc-comments-shell .comment-compose-user,
.redecanais-theme .rc-comments-shell .comment-meta time,
.redecanais-theme .rc-comments-shell .comment-body,
.redecanais-theme .rc-comments-shell .comment-spoiler-check{color:#bdbdbd!important}
.redecanais-theme .rc-comments-shell .comment-guest-title,
.redecanais-theme .rc-comments-shell .comment-reply-title,
.redecanais-theme .rc-comments-shell .comment-author{color:#f5f5f5!important}
.redecanais-theme .rc-comments-shell .comment-card{border-bottom:1px solid #2b2b2b!important}
.redecanais-theme .rc-comments-shell .comment-card-reply{border-left-color:#2d7fdc!important}
.redecanais-theme .rc-comments-shell .comment-textarea-wrap textarea{
  background:#101010!important;
  color:#fff!important;
  border:1px solid #343434!important;
  border-radius:4px!important;
  box-shadow:none!important;
}
.redecanais-theme .rc-comments-shell .comment-textarea-wrap textarea:focus{border-color:#006ff0!important;box-shadow:0 0 0 2px rgba(0,111,240,.18)!important}
.redecanais-theme .rc-comments-shell .comment-submit,
.redecanais-theme .rc-comments-shell .comment-account-button-primary{background:#006ff0!important;border-color:#006ff0!important;color:#fff!important;border-radius:4px!important}
.redecanais-theme .rc-comments-shell .comment-account-button{border-color:#3a3a3a!important;color:#ddd!important;border-radius:4px!important}
.redecanais-theme .rc-comments-shell .comment-tip{background:#161616!important;border-color:#333!important;color:#aaa!important;border-radius:4px!important}
.redecanais-theme .rc-comments-shell .comments-account-dialog{font-family:Arial,sans-serif}

@media(max-width:767px){
  .redecanais-theme #player #video-wrapper>iframe[data-rc-api-player="1"]{
    width:100%!important;
    height:auto!important;
    aspect-ratio:8/5!important;
  }
  .redecanais-theme .pm-video-thumb .rc-play-hover>img{width:40px!important;height:40px!important}
  .redecanais-theme .rc-cover-watermark{bottom:-4px!important}
  .redecanais-theme .rc-backdrop-watermark{bottom:-3px!important}
}

/* V1.4.4 FINAL — dimensões medidas contra a referência/HAR. */
.redecanais-theme #player{padding-bottom:20px!important;background-color:transparent!important}
.redecanais-theme #player #video-wrapper{
  position:relative!important;
  display:block!important;
  width:100%!important;
  margin:0 auto!important;
  padding:0 0 20px!important;
  text-align:center!important;
  line-height:0!important;
}
.redecanais-theme #player #video-wrapper>iframe[data-rc-api-player="1"]{
  width:640px!important;
  height:400px!important;
  min-width:0!important;
  min-height:0!important;
  max-width:100%!important;
  max-height:none!important;
  margin:0 auto!important;
  border:0!important;
}
@media(max-width:767px){
  .redecanais-theme #player #video-wrapper>iframe[data-rc-api-player="1"]{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:8/5!important;
  }
}


/* E15-REDECANAIS-V1.4.5-FINAL-POSITION-FIX */
.redecanais-theme .pm-video-thumb .rc-play-hover{inset:0!important;display:grid!important;place-items:center!important;transform:none!important;margin:0!important;}
.redecanais-theme .pm-video-thumb .rc-play-hover>img{position:static!important;inset:auto!important;transform:none!important;margin:0!important;}
.redecanais-theme .rc-cover-watermark{bottom:-10px!important;}
.redecanais-theme .rc-backdrop-watermark{bottom:-8px!important;}
.redecanais-theme #player #video-wrapper>iframe[data-rc-api-player="1"]{width:640px!important;height:400px!important;min-width:0!important;min-height:0!important;max-width:100%!important;max-height:none!important;}
@media(max-width:767px){.redecanais-theme .rc-cover-watermark{bottom:-7px!important}.redecanais-theme .rc-backdrop-watermark{bottom:-6px!important}.redecanais-theme #player #video-wrapper>iframe[data-rc-api-player="1"]{width:100%!important;height:auto!important;aspect-ratio:8/5!important;min-height:0!important;}}

.redecanais-theme .rc-real-api-frame-shell{position:relative!important;display:inline-block!important;width:640px!important;height:400px!important;max-width:100%!important;background:#000!important;line-height:0!important;}
.redecanais-theme .rc-real-api-frame-shell>iframe{display:block!important;width:640px!important;height:400px!important;max-width:100%!important;background:#000!important;}
.redecanais-theme .rc-real-api-activate{position:absolute!important;inset:0!important;z-index:3!important;display:block!important;width:100%!important;height:100%!important;border:0!important;padding:0!important;margin:0!important;background:transparent!important;cursor:pointer!important;color:transparent!important;}
.redecanais-theme .rc-real-api-frame-shell.rc-real-api-error::after{content:attr(data-error);position:absolute;inset:0;z-index:2;display:flex;align-items:center;justify-content:center;padding:24px;background:#050505;color:#ddd;font:14px/1.45 Arial,sans-serif;text-align:center;white-space:normal;}
@media(max-width:767px){.redecanais-theme .rc-real-api-frame-shell,.redecanais-theme .rc-real-api-frame-shell>iframe{width:100%!important;height:auto!important;aspect-ratio:8/5!important;}}

/* E15-REDECANAIS-V1.4.7-ORIGINAL-HAR-GEOMETRY
 * Geometria restaurada a partir do HTML/CSS efetivamente observado no HAR original.
 * O atributo HTML do iframe é 640x400, porém o tema Echo original amplia a largura
 * para 100% do #video-wrapper e usa min-heights responsivos. Não fixar o player a 640px.
 */
.redecanais-theme .pm-section-highlighted #player.wide-player{
  float:left!important;
  width:100%!important;
  margin:0 auto!important;
  padding:0!important;
  padding-bottom:0!important;
  background-color:transparent!important;
}
.redecanais-theme .pm-section-highlighted #player.wide-player #video-wrapper{
  position:relative!important;
  display:block!important;
  width:auto!important;
  height:auto!important;
  margin:0 15px!important;
  padding:0 0 20px!important;
  text-align:initial!important;
  line-height:normal!important;
}
.redecanais-theme .pm-section-highlighted #player.wide-player #video-wrapper>.rc-real-api-frame-shell{
  position:relative!important;
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  background:#000!important;
  line-height:0!important;
  aspect-ratio:auto!important;
}
.redecanais-theme .pm-section-highlighted #player.wide-player #video-wrapper>.rc-real-api-frame-shell>iframe,
.redecanais-theme .pm-section-highlighted #player.wide-player #video-wrapper>iframe[data-rc-api-player="1"]{
  display:block!important;
  width:100%!important;
  height:400px!important;
  min-width:0!important;
  min-height:320px!important;
  max-width:none!important;
  max-height:none!important;
  margin:0 auto!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:#000!important;
  aspect-ratio:auto!important;
}
@media only screen and (min-width:1336px){
  .redecanais-theme .pm-section-highlighted #player.wide-player #video-wrapper>.rc-real-api-frame-shell>iframe,
  .redecanais-theme .pm-section-highlighted #player.wide-player #video-wrapper>iframe[data-rc-api-player="1"]{
    min-height:534.4px!important;
  }
}
@media only screen and (min-width:1500px){
  .redecanais-theme .pm-section-highlighted #player.wide-player #video-wrapper>.rc-real-api-frame-shell>iframe,
  .redecanais-theme .pm-section-highlighted #player.wide-player #video-wrapper>iframe[data-rc-api-player="1"]{
    min-height:600px!important;
  }
}
@media only screen and (max-width:464px){
  .redecanais-theme .pm-section-highlighted #player.wide-player #video-wrapper{
    margin:0 auto!important;
  }
  .redecanais-theme .pm-section-highlighted #player.wide-player #video-wrapper>.rc-real-api-frame-shell>iframe,
  .redecanais-theme .pm-section-highlighted #player.wide-player #video-wrapper>iframe[data-rc-api-player="1"]{
    max-height:180px!important;
  }
}

/* O Echo original usa thumb 16:9 dentro de thumbnail com reserva total de 75%.
 * Isto também recoloca o hover/play no centro visual real da capa. */
.redecanais-theme ul.pm-ul-browse-videos .pm-video-thumb,
.redecanais-theme ul.pm-ul-carousel-videos .pm-video-thumb{
  display:block!important;
  width:100%!important;
  position:relative!important;
  height:0!important;
  min-height:0!important;
  padding:56.25% 0 0 0!important;
  aspect-ratio:auto!important;
  overflow:hidden!important;
}
.redecanais-theme ul.pm-ul-browse-videos .pm-video-thumb .rc-cover-image,
.redecanais-theme ul.pm-ul-carousel-videos .pm-video-thumb .rc-cover-image{
  object-fit:cover!important;
  object-position:25% 55%!important;
}
.redecanais-theme .thumbnail .overlay,
.redecanais-theme .pm-video-thumb:hover .overlay{
  background-color:rgba(0,0,0,.5)!important;
}
.redecanais-theme .thumbnail .rc-play-hover>img{
  width:32px!important;
  height:32px!important;
}
.redecanais-theme .thumbnail.thumbnail-small .rc-play-hover>img{
  width:24px!important;
  height:24px!important;
}
.redecanais-theme .thumbnail.thumbnail-medium .rc-play-hover>img{
  width:32px!important;
  height:32px!important;
}
.redecanais-theme .thumbnail.thumbnail-large .rc-play-hover>img{
  width:48px!important;
  height:48px!important;
}
.redecanais-theme ul.pm-ul-browse-videos .pm-video-meta,
.redecanais-theme ul.pm-ul-carousel-videos .pm-video-meta{
  display:none!important;
}
.redecanais-theme .rc-related-dl{margin-top:0!important}

/* E15-REDECANAIS-V1.4.9-PORTRAIT-CARDS-INLINE-LOADER-V1
 * Filmes/séries/animes/doramas voltam ao padrão vertical de pôster.
 * Episódios continuam com thumb horizontal. */
.redecanais-theme .rc-content-card .pm-video-thumb{
  display:block!important;
  position:relative!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  padding:0!important;
  aspect-ratio:2/3!important;
  overflow:hidden!important;
  background:#111!important;
}
.redecanais-theme .rc-content-card .pm-video-thumb>.rc-card-media-link{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  display:block!important;
}
.redecanais-theme .rc-content-card .pm-video-thumb .rc-cover-image{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center 35%!important;
}
.redecanais-theme .rc-content-card .rc-play-hover{
  position:absolute!important;
  inset:0!important;
  display:grid!important;
  place-items:center!important;
}
.redecanais-theme .rc-content-card .rc-cover-watermark{
  bottom:-10px!important;
}


/* E15-REDECANAIS-V1.5.0-PORTRAIT-CARDS-FINAL
 * Última regra deliberadamente forte: conteúdos gerais usam pôster 2:3.
 * episode-card continua horizontal porque não possui .rc-content-card. */
body.redecanais-theme li.rc-content-card .thumbnail .pm-video-thumb.rc-portrait-content-thumb,
.redecanais-theme li.rc-content-card .thumbnail .pm-video-thumb.rc-portrait-content-thumb{
  display:block!important;
  position:relative!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  padding:0!important;
  aspect-ratio:2/3!important;
  overflow:hidden!important;
  background:#111!important;
}
body.redecanais-theme li.rc-content-card .pm-video-thumb.rc-portrait-content-thumb>.rc-card-media-link,
.redecanais-theme li.rc-content-card .pm-video-thumb.rc-portrait-content-thumb>.rc-card-media-link{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:block!important;
}
body.redecanais-theme li.rc-content-card .pm-video-thumb.rc-portrait-content-thumb .rc-cover-image,
.redecanais-theme li.rc-content-card .pm-video-thumb.rc-portrait-content-thumb .rc-cover-image{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center 25%!important;
}


/* E15-REDECANAIS-V1.5.1-HOME-POSTER-LAYOUT
 * Restaura a geometria visual mostrada na referência do usuário:
 * 5 pôsteres no destaque, 3 em Novos Vídeos e 2 em Vídeos Top.
 * O enquadramento vertical é ~5:7; não usa a regra horizontal 16:9/56.25%. */
body.redecanais-theme li.rc-content-card .thumbnail .pm-video-thumb.rc-portrait-content-thumb,
.redecanais-theme li.rc-content-card .thumbnail .pm-video-thumb.rc-portrait-content-thumb{
  display:block!important;
  position:relative!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  padding:0!important;
  aspect-ratio:5/7!important;
  overflow:hidden!important;
  background:#111!important;
}
.redecanais-theme li.rc-content-card .pm-video-thumb.rc-portrait-content-thumb>.rc-card-media-link{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
}
.redecanais-theme li.rc-content-card .pm-video-thumb.rc-portrait-content-thumb .rc-cover-image{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:cover!important;
  object-position:center center!important;
}

/* Destaque: 5 cartões por linha e folga curta, como na captura de referência. */
.redecanais-theme #pm-carousel_featuredlist{
  gap:0!important;
  padding:0!important;
  margin:0!important;
}
.redecanais-theme #pm-carousel_featuredlist>li.rc-carousel-card{
  flex:0 0 20%!important;
  width:20%!important;
  max-width:20%!important;
  padding-left:5px!important;
  padding-right:5px!important;
  box-sizing:border-box!important;
}

/* Vídeos Top da home usam o pôster vertical do conteúdo pai, sem alterar cards de episódio fora desse bloco. */
.redecanais-theme .rc-top-episodes .pm-video-thumb.rc-top-poster-thumb{
  display:block!important;
  position:relative!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  padding:0!important;
  aspect-ratio:5/7!important;
  overflow:hidden!important;
  background:#111!important;
}
.redecanais-theme .rc-top-episodes .pm-video-thumb.rc-top-poster-thumb>.rc-card-media-link{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  display:block!important;
}
.redecanais-theme .rc-top-episodes .pm-video-thumb.rc-top-poster-thumb .rc-cover-image{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:cover!important;
  object-position:center center!important;
}

/* Evita a regra antiga do Echo (56.25%) vencer novamente nessas duas famílias. */
.redecanais-theme ul.pm-ul-browse-videos li.rc-content-card .pm-video-thumb.rc-portrait-content-thumb,
.redecanais-theme ul.pm-ul-carousel-videos li.rc-content-card .pm-video-thumb.rc-portrait-content-thumb,
.redecanais-theme ul.rc-top-episodes .pm-video-thumb.rc-top-poster-thumb{
  height:auto!important;
  padding:0!important;
  aspect-ratio:5/7!important;
}

@media(max-width:991px){
  .redecanais-theme #pm-carousel_featuredlist>li.rc-carousel-card{
    flex-basis:33.333333%!important;
    width:33.333333%!important;
    max-width:33.333333%!important;
  }
}
@media(max-width:767px){
  .redecanais-theme #pm-carousel_featuredlist>li.rc-carousel-card{
    flex-basis:50%!important;
    width:50%!important;
    max-width:50%!important;
  }
}

/* E15-REDECANAIS-V1.5.2-ROLLFORWARD-KNOWN-STATES */

/* E15-REDECANAIS-V1.5.3-EXACT-INDIVIDUAL-REFERENCE
 * Filme/episódio: estrutura visual do HTML de referência sem alterar o broker/player real. */
.redecanais-theme .rc-exact-individual-page .pm-video-heading{position:relative!important}
.redecanais-theme .rc-exact-individual-page .pm-video-heading h1{margin-top:20px!important;margin-bottom:10px!important}
.redecanais-theme .rc-exact-individual-page .label-featured{display:inline-block!important;margin-bottom:0!important}
.redecanais-theme .rc-exact-individual-content .pm-user-header{min-height:24px!important}
.redecanais-theme .rc-exact-individual-content .pm-video-watch-main>div[itemprop="description"]{margin-bottom:16px!important}
.redecanais-theme .rc-exact-individual-content .chat-container{margin-top:0!important;margin-bottom:0!important}
.redecanais-theme .rc-exact-individual-content .dl-horizontal{margin-top:0!important;margin-bottom:18px!important}
.redecanais-theme .rc-exact-individual-content .dl-horizontal dt{color:#ddd!important}
.redecanais-theme .rc-exact-individual-content .dl-horizontal dd{color:#aaa!important}
.redecanais-theme .rc-exact-individual-content .rc-tag{color:#aaa!important}
.redecanais-theme .rc-exact-individual-content .pm-video-watch-sidebar>.redes-bloco{padding:20px 0!important;text-align:center!important}
.redecanais-theme .rc-exact-individual-content .rc-comments-shell{margin-top:0!important}
.redecanais-theme .rc-exact-individual-content .rc-comments-title{color:#2c8dff!important;text-align:center!important}

/* Relacionados das páginas individuais voltam ao formato horizontal 173x136 da referência.
 * As capas da HOME permanecem verticais 5:7. */
.redecanais-theme .rc-reference-related li.rc-reference-related-card .thumbnail{margin-bottom:20px!important}
.redecanais-theme .rc-reference-related li.rc-reference-related-card .pm-video-thumb{
  display:block!important;
  position:relative!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  padding:0!important;
  aspect-ratio:173.077/136!important;
  overflow:hidden!important;
  background:#111!important;
}
.redecanais-theme .rc-reference-related li.rc-reference-related-card .pm-video-thumb>.rc-card-media-link{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important}
.redecanais-theme .rc-reference-related li.rc-reference-related-card .pm-video-thumb .rc-cover-image{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:25% 55%!important}
.redecanais-theme .rc-reference-related li.rc-reference-related-card .rc-cover-watermark{bottom:-6px!important}
.redecanais-theme .rc-reference-related li.rc-reference-related-card .rc-play-hover{position:absolute!important;inset:0!important;display:grid!important;place-items:center!important}
.redecanais-theme .rc-reference-related li.rc-reference-related-card .rc-play-hover>img{width:32px!important;height:32px!important}
.redecanais-theme .rc-reference-related li.rc-reference-related-card .caption h3{margin-top:6px!important}
.redecanais-theme .rc-reference-related li.rc-reference-related-card .pm-video-labels{position:absolute!important;top:5px!important;left:5px!important;z-index:8!important}

/* Mantém o player individual alinhado à referência: #player > #video-wrapper > iframe real. */
.redecanais-theme .rc-exact-individual-page #player{padding-bottom:0!important}
.redecanais-theme .rc-exact-individual-page #video-wrapper{margin:0 15px!important;padding:0 0 20px!important;text-align:center!important}
.redecanais-theme .rc-exact-individual-page #video-wrapper>.rc-real-api-frame-shell,
.redecanais-theme .rc-exact-individual-page #video-wrapper>iframe[data-rc-api-player="1"]{max-width:100%!important}

/* Links legados Android/Windows somente aparecem se os arquivos realmente existirem no public root. */
.redecanais-theme .rc-legacy-app-links img{display:inline-block!important;max-width:100%!important;height:auto!important}

@media(max-width:767px){
  .redecanais-theme .rc-exact-individual-page #video-wrapper{margin:0!important;padding-bottom:15px!important}
  .redecanais-theme .rc-reference-related li.rc-reference-related-card .rc-play-hover{display:none!important}
}

/* E15-REDECANAIS-V1.5.4-PLAYER-REDIRECT-RELATED-HOME-V1 */
.redecanais-theme .mastcontent-wrap.rc-exact-individual-page{
  padding-bottom:0!important;
}
.redecanais-theme .rc-related-home-grid{
  margin-top:0!important;
  margin-bottom:0!important;
}
.redecanais-theme .rc-related-home-grid>li.rc-content-card{
  float:left;
}

/* E15-REDECANAIS-V1.5.9-AUTH-PROFILE-DMCA-WATCHLATER-V1 */
/* Watch Later permanece acima do overlay/play/watermark mesmo durante hover. */
.redecanais-theme .pm-video-thumb>.pm-watch-later-add{
  position:absolute!important;
  top:5px!important;
  right:5px!important;
  left:auto!important;
  z-index:80!important;
  pointer-events:auto!important;
}
.redecanais-theme .pm-video-thumb>.rc-card-media-link{z-index:1!important}
.redecanais-theme .pm-video-thumb .overlay{z-index:2!important}
.redecanais-theme .pm-video-thumb .rc-cover-watermark{z-index:4!important}
.redecanais-theme .pm-video-thumb .rc-play-hover{z-index:6!important}

/* Header autenticado no desenho do Echo/RedeCanais. */
.redecanais-theme .rc-secondary-logos{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;min-height:64px!important}
.redecanais-theme .rc-secondary-logos .rc-tv-head-logo{display:inline-flex!important;align-items:center!important}
.redecanais-theme .rc-head-account-actions{display:inline-flex;align-items:center;gap:7px;margin-left:4px}
.redecanais-theme .rc-head-account-btn{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 10px;border:1px solid rgba(255,255,255,.22);border-radius:4px;background:rgba(0,0,0,.18);color:#fff!important;text-decoration:none!important;font-size:12px;font-weight:700}
.redecanais-theme .rc-head-account-btn:hover{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.4)}
.redecanais-theme .rc-head-account-btn svg{display:block;width:18px;height:18px;color:#fff}
.redecanais-theme .rc-head-avatar{display:block;width:22px!important;height:22px!important;max-width:22px!important;border-radius:50%;object-fit:cover}
.redecanais-theme .rc-head-login-btn{margin-left:5px}

/* Modal de autenticação: estrutura Bootstrap da referência. */
.redecanais-theme .rc-auth-modal,
.redecanais-theme .rc-profile-edit-modal{display:none;position:fixed;inset:0;z-index:10550!important;overflow-x:hidden;overflow-y:auto;background:rgba(0,0,0,.58);padding-right:0!important}
.redecanais-theme .rc-auth-modal[open],
.redecanais-theme .rc-profile-edit-modal[open]{display:block!important}
.redecanais-theme .rc-auth-modal .modal-dialog{margin:90px auto 30px}
.redecanais-theme .rc-profile-edit-modal .modal-dialog{margin:55px auto 30px}
.redecanais-theme .rc-auth-modal .modal-content,
.redecanais-theme .rc-profile-edit-modal .modal-content{position:relative;z-index:1}
.redecanais-theme .rc-auth-modal .modal-title{font-weight:600}
.redecanais-theme .rc-auth-register-invite label{display:block;margin-bottom:8px}
.redecanais-theme .rc-auth-submit-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.redecanais-theme .rc-auth-submit-row small{display:inline-block}
.redecanais-theme .rc-auth-alert{margin-bottom:16px}
.redecanais-theme .rc-forgot-link[aria-disabled="true"]{opacity:.7}

/* Perfil RedeCanais. */
.redecanais-theme .rc-profile-page{padding-top:22px;padding-bottom:35px}
.redecanais-theme .rc-profile-head-panel,.redecanais-theme .rc-profile-panel,.redecanais-theme .rc-dmca-panel{border-radius:4px;overflow:hidden}
.redecanais-theme .rc-profile-head{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:20px}
.redecanais-theme .rc-profile-avatar{width:92px;height:92px;border-radius:50%;object-fit:cover;border:3px solid #2c8dff;background:#111}
.redecanais-theme .rc-profile-identity{min-width:180px;flex:1}
.redecanais-theme .rc-profile-identity h1{margin:0 0 4px;font-size:26px}
.redecanais-theme .rc-profile-username{margin-bottom:10px;color:#777}
.redecanais-theme .rc-profile-actions{display:flex;gap:8px;flex-wrap:wrap;margin-left:auto}
.redecanais-theme .rc-profile-tabs{padding:0 15px}
.redecanais-theme .rc-profile-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.redecanais-theme .rc-profile-panel-heading form,.redecanais-theme .rc-profile-inline-actions form{display:inline-block;margin:0}
.redecanais-theme .rc-profile-inline-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.redecanais-theme .rc-profile-media-grid{margin-left:-8px;margin-right:-8px}
.redecanais-theme .rc-profile-media-cell{padding-left:8px;padding-right:8px;margin-bottom:18px}
.redecanais-theme .rc-profile-media-card{display:block;color:#333!important;text-decoration:none!important}
.redecanais-theme .rc-profile-poster{display:block;position:relative;width:100%;aspect-ratio:5/7;overflow:hidden;background:#111;border-radius:3px}
.redecanais-theme .rc-profile-poster img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover;object-position:center}
.redecanais-theme .rc-profile-media-card strong{display:block;margin-top:7px;font-size:13px;line-height:1.35}
.redecanais-theme .rc-profile-media-card small{display:block;color:#888;margin-top:2px}
.redecanais-theme .rc-profile-list-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #e5e5e5}
.redecanais-theme .rc-profile-list-row:last-child{border-bottom:0}
.redecanais-theme .rc-profile-list-row>img{width:54px;height:76px;object-fit:cover;border-radius:3px;background:#111}
.redecanais-theme .rc-profile-list-main{flex:1;min-width:0}
.redecanais-theme .rc-profile-list-main>a{color:#2c8dff;text-decoration:none}
.redecanais-theme .rc-profile-list-main>div{margin-top:3px;color:#777;font-size:12px}
.redecanais-theme .rc-notification-row.is-unread{background:#f3f8ff;margin:0 -15px;padding-left:15px;padding-right:15px}
.redecanais-theme .rc-profile-empty{padding:30px 15px;text-align:center;color:#777}
.redecanais-theme .rc-profile-avatar-options{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px}
.redecanais-theme .rc-profile-avatar-options label{position:relative;cursor:pointer;margin:0}
.redecanais-theme .rc-profile-avatar-options input{position:absolute;opacity:0}
.redecanais-theme .rc-profile-avatar-options img{display:block;width:100%;aspect-ratio:1;border-radius:50%;object-fit:cover;border:2px solid transparent}
.redecanais-theme .rc-profile-avatar-options input:checked+img{border-color:#2c8dff;box-shadow:0 0 0 2px rgba(44,141,255,.2)}

/* DMCA RedeCanais. */
.redecanais-theme .rc-dmca-page{padding-top:22px;padding-bottom:35px}
.redecanais-theme .rc-dmca-panel .panel-title{font-size:22px;font-weight:700}
.redecanais-theme .rc-dmca-panel .panel-body{font-size:14px;line-height:1.7}
.redecanais-theme .rc-dmca-panel .panel-body h2{font-size:18px;margin-top:5px}

@media(max-width:767px){
  .redecanais-theme .rc-secondary-logos{min-height:50px!important;gap:5px!important}
  .redecanais-theme .rc-head-account-btn{padding:0 8px}
  .redecanais-theme .rc-head-account-actions{gap:4px}
  .redecanais-theme .rc-auth-modal .modal-dialog,.redecanais-theme .rc-profile-edit-modal .modal-dialog{margin:35px 10px}
  .redecanais-theme .rc-profile-head{align-items:flex-start}
  .redecanais-theme .rc-profile-actions{width:100%;margin-left:0}
  .redecanais-theme .rc-profile-avatar-options{grid-template-columns:repeat(5,minmax(0,1fr))}
  .redecanais-theme .rc-profile-list-row{align-items:flex-start;flex-wrap:wrap}
}

/* E15-REDECANAIS-V1.6.0.1-HEADER-WATCHLATER-TELEGRAM-V1 */
/* Não exibe botão de login no header. O modal continua disponível para ações que exigem autenticação. */
.redecanais-theme .rc-head-login-btn{display:none!important}

/* Watch Later: botão pequeno, quadrado/circular, preso apenas ao canto superior direito do card. */
.redecanais-theme .pm-video-thumb>.pm-watch-later-add{
  position:absolute!important;
  top:5px!important;
  right:5px!important;
  left:auto!important;
  bottom:auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:28px!important;
  min-width:28px!important;
  max-width:28px!important;
  height:28px!important;
  min-height:28px!important;
  max-height:28px!important;
  padding:0!important;
  margin:0!important;
  line-height:1!important;
  border-radius:50%!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  z-index:90!important;
}
.redecanais-theme .pm-video-thumb>.pm-watch-later-add .rc-ui-icon-clock{
  display:block!important;
  width:14px!important;
  height:14px!important;
  min-width:14px!important;
  min-height:14px!important;
}

/* Botões de Telegram vindos diretamente de "Padrões globais". */
.redecanais-theme .rc-telegram-global-block{padding:20px 0!important;text-align:center!important}
.redecanais-theme .rc-telegram-global-block .social-icons{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:18px!important;
  margin-top:0!important;
  flex-wrap:wrap!important;
}
.redecanais-theme .rc-telegram-global-block .rc-telegram-global-item{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  text-align:center!important;
  margin:0 10px!important;
}
.redecanais-theme .rc-telegram-global-block .rc-telegram-number{
  display:block!important;
  color:#fff!important;
  font-size:22px!important;
  font-family:Tahoma,Arial,sans-serif!important;
  font-weight:700!important;
  line-height:1.1!important;
  margin:0 0 12px!important;
}
.redecanais-theme .rc-telegram-global-block a{display:inline-block!important;text-decoration:none!important}
.redecanais-theme .rc-telegram-global-block .rc-social-telegram{
  display:block!important;
  width:55px!important;
  height:auto!important;
  max-width:55px!important;
  transition:transform .3s ease!important;
}
.redecanais-theme .rc-telegram-global-block a:hover .rc-social-telegram{transform:scale(1.05)!important}
@media(min-width:600px){
  .redecanais-theme .rc-telegram-global-block .social-icons{flex-direction:row!important}
}

/* E15-REDECANAIS-V1.6.1-HEADER-WATCHLATER-RESTORE-V1 */
/* Restaura o alinhamento original do header: busca no bloco central e logo RC imediatamente ao lado. */
.redecanais-theme header.pm-top-head #pm-top-search{
  float:left!important;
}
.redecanais-theme header.pm-top-head #pm-top-search .input-group{
  width:100%!important;
}
.redecanais-theme header.pm-top-head #pm-top-search .form-control,
.redecanais-theme header.pm-top-head #pm-top-search .input-group-btn>.btn{
  height:34px!important;
}
.redecanais-theme header.pm-top-head .rc-secondary-logos{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:auto!important;
  min-height:0!important;
  gap:8px!important;
  margin-left:0!important;
  vertical-align:middle!important;
}
.redecanais-theme header.pm-top-head .rc-secondary-logos .rc-tv-head-logo{
  display:inline-block!important;
  flex:0 0 auto!important;
}
.redecanais-theme header.pm-top-head .rc-secondary-logos .rc-tv-head-logo img{
  display:inline-block!important;
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:35px!important;
  vertical-align:baseline!important;
}
.redecanais-theme header.pm-top-head .rc-head-account-actions{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  margin-left:4px!important;
}

/* Watch Later: invisível normalmente; aparece somente no hover da capa, embaixo à direita. */
.redecanais-theme .pm-video-thumb>.pm-watch-later-add{
  top:auto!important;
  right:5px!important;
  bottom:5px!important;
  left:auto!important;
  width:28px!important;
  min-width:28px!important;
  max-width:28px!important;
  height:28px!important;
  min-height:28px!important;
  max-height:28px!important;
  padding:0!important;
  margin:0!important;
  opacity:0!important;
  visibility:hidden!important;
  transform:translateY(3px)!important;
  transition:opacity .16s ease,transform .16s ease,visibility .16s ease!important;
  pointer-events:none!important;
  z-index:90!important;
}
.redecanais-theme .pm-video-thumb:hover>.pm-watch-later-add{
  opacity:1!important;
  visibility:visible!important;
  transform:translateY(0)!important;
  pointer-events:auto!important;
}
@media(max-width:767px){
  .redecanais-theme .pm-video-thumb>.pm-watch-later-add.hidden-xs{display:none!important}
}


/* E15-REDECANAIS-V1.6.2-METADATA-WATCHLATER-TELEGRAM-V1 */
/* Watch Later quadrado, mantendo hover-only e posição inferior da v1.6.1. */
.redecanais-theme .pm-video-thumb>.pm-watch-later-add{border-radius:0!important}

/* Metadados: todos os links azuis, com sublinhado apenas no hover/foco. */
.redecanais-theme .dl-horizontal.rc-content-metadata a,
.redecanais-theme .dl-horizontal.rc-content-metadata a.rc-tag{color:#337ab7!important;text-decoration:none!important}
.redecanais-theme .dl-horizontal.rc-content-metadata a:hover,
.redecanais-theme .dl-horizontal.rc-content-metadata a:focus{color:#23527c!important;text-decoration:underline!important}

/* Telegram: ícone menor conforme padrão solicitado. */
.redecanais-theme .redes-bloco .rc-social-telegram,
.redecanais-theme .rc-telegram-global-block .rc-social-telegram{width:55px!important;max-width:55px!important;height:auto!important}
