.cctv .container {
  width: 90%;
  max-width: 65rem;
  margin: 3rem auto;

  font-optical-sizing: auto;

  --tinta: #141e28;
  --papel: #fff;
  --nevoa: #f4f6f8;
  --traco: #e2e7ec;
  --texto: #1b2229;
  --texto-fraco: #6b7885;
  --gray-300: #666;
  --verde-claro: #a4d148;
  --verde-escuro: #84ab35;

  color: var(--texto);
}

.cctv .container .rotulo {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #97a1ab;
}

.cctv .container .intro h2 {
  margin-bottom: 1.5rem;

  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;

  background: linear-gradient(180deg, var(--verde-claro), var(--verde-escuro));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cctv .container .intro .lead {
  font-size: 1rem;
}

.cctv .container .radio {
  max-width: 26rem;
  margin: 0 auto 2.25rem;

  display: flex;
  align-items: center;
  gap: 0.875rem;

  padding: 0.5rem 1rem 0.5rem 0.5rem;
  background: var(--nevoa);
  border: 1px solid var(--traco);
  border-radius: 999px;
}

.cctv .container .radio.tocando .radio-toggle .icone-play {
  display: none;
}

.cctv .container .radio.tocando .radio-toggle .icone-pause {
  display: block;
}

.cctv .container .radio.tocando .radio-status::before {
  background: #ff1f1f;
  animation: pulso-ao-vivo 1.4s ease-out infinite;
}

.cctv .container .radio-toggle {
  flex: none;
  width: 2.5rem;
  height: 2.5rem;

  display: grid;
  place-items: center;
  cursor: pointer;

  padding: 0;
  margin: 0;

  color: #fff;
  background: linear-gradient(180deg, var(--verde-claro), var(--verde-escuro));
  border: none;
  border-radius: 50%;

  transition: filter 160ms;
}

.cctv .container .radio-toggle:hover {
  filter: brightness(1.06);
}

.cctv .container .radio-toggle svg {
  width: 1.1rem;
  height: 1.1rem;
  display: block;
}

.cctv .container .radio-toggle .icone-pause {
  display: none;
}

.cctv .container .radio-info {
  flex: 1;
  min-width: 0;

  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}

.cctv .container .radio-nome {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--texto);
}

.cctv .container .radio-status {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;

  font-size: 0.75rem;
  color: var(--texto-fraco);
}

.cctv .container .radio-status::before {
  content: "";

  width: 0.5rem;
  height: 0.5rem;

  border-radius: 50%;
  background: #b6bfc8;
}

.cctv .container .radio-volume {
  flex: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;

  color: var(--texto-fraco);
}

.cctv .container .radio-volume svg {
  width: 1.1rem;
  height: 1.1rem;
}

.cctv .container .radio-volume input[type=range] {
  width: 5.5rem;

  accent-color: var(--verde-escuro);
  cursor: pointer;
}

@media screen and (max-width: 640px) {
  .cctv .container .radio-volume input[type=range] {
    width: 3.5rem;
  }
}

.cctv .container .patrocinio {
  margin-top: 2.25rem;
  padding-top: 1.5rem;

  border-top: 1px solid var(--traco);
}

.cctv .container .patrocinio[hidden] {
  display: none;
}

.cctv .container .patrocinio .rotulo {
  margin-bottom: 1.25rem;
}

.cctv .container .patrocinio-bloco {
  width: 100%;
}

.cctv .container .patrocinio-bloco .patrocinadores {
  width: 100%;
  margin-inline: 0;
}

.cctv .container .patrocinio-bloco .patrocinadores.so-destaque {
  width: fit-content;
  margin-inline: auto;
}

.cctv .container .patrocinio-bloco .faixa-geral {
  flex: 1;
}

.cctv .container .patrocinio-bloco .faixa-geral > * {
  flex: 1 1 0;
}

.cctv .container a:focus-visible,
.cctv .container button:focus-visible {
  outline: 2px solid var(--texto);
  outline-offset: 3px;
}

.cctv .container .anuncio {
  margin-block: 2rem;
}

.cctv .container .anuncio-topo {
  margin-top: 3.5rem;
}

@media (max-width: 850px) {
  .cctv .container .anuncio-topo[data-formato="728x90"] {
    display: none;
  }
}

@media (max-width: 1140px) {
  .cctv .container .anuncio-baixo[data-formato="970x250"] {
    display: none;
  }
}

.cctv .container .anuncio-par {
  display: none;
}

.cctv .container .anuncio-par .anuncio {
  margin-block: 0;
}

@media (max-width: 1140px) {
  .cctv .container .anuncio-par {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-block: 2rem;
  }
}

@media (max-width: 640px) {
  .cctv .container .anuncio-par > .anuncio:nth-child(2) {
    display: none;
  }
}

.text-container {
  max-width: 40rem;
  margin: 0 auto 2rem;

  text-align: center;
  text-wrap: balance;
  color: var(--gray-300);
  font-weight: 400;
  line-height: 1.5;
}

@keyframes pulso-ao-vivo {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 31, 31, 0.55);
    opacity: 1;
  }

  70% {
    box-shadow: 0 0 0 5px rgba(255, 31, 31, 0);
    opacity: 0.6;
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 31, 31, 0);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cctv .container .radio.tocando .radio-status::before {
    animation: none;
  }
}

.patrocinadores {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;

  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.patrocinadores .faixa-destaque[hidden] {
  display: none;
}

.patrocinadores .faixa-destaque.com-barra {
  padding-right: 2.5rem;
  border-right: 1px solid var(--traco, #e2e7ec);
}

.patrocinadores.so-destaque .faixa-geral {
  display: none;
}

@media screen and (max-width: 640px) {
  .patrocinadores {
    gap: 0.875rem;
  }

  .patrocinadores .faixa-destaque {
    gap: 0.875rem;
  }

  .patrocinadores .faixa-destaque.com-barra {
    padding-right: 0.875rem;
  }
}

.faixa {
  display: flex;
  align-items: center;
  gap: 1.75rem;

  transition: opacity 320ms ease;
}

.faixa.trocando {
  opacity: 0;
}

.faixa > * {
  flex: 0 1 8rem;
  min-width: 0;
}

.faixa img {
  width: auto;
  height: 3rem;
  aspect-ratio: 3;
  object-fit: contain;
}

.mosaico {
  width: 100%;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
  gap: 8px;
}

@media screen and (max-width: 850px) {
  .mosaico {
    margin-top: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(min(8.5rem, 100%), 1fr));
  }
}

.mosaico button {
  position: relative;
  width: 100%;
  aspect-ratio: 4/2.725;

  cursor: pointer;
  padding: 0;
  background: #000;
  border: none;
  border-radius: 4px;
  overflow: hidden;
  
  margin: 0;
}

.mosaico button img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.mosaico button img.front {
  z-index: 2;
}

.mosaico button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;

  opacity: 0;
  background: linear-gradient(to top, rgba(20, 30, 40, 0.85) 10%, rgba(20, 30, 40, 0.25));

  transition: opacity 200ms;
}

.mosaico button .label {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 4;
  pointer-events: none;
  user-select: none;

  padding: 12px 12px 6px;

  font-size: 0.875rem;
  color: transparent;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  transition: padding 200ms 100ms, color 200ms 100ms;
}

@media (hover: hover) {
  .mosaico button:hover::after {
    opacity: 1;
  }

  .mosaico button:hover .label {
    padding: 12px;
    color: #fff;
  }
}

.anuncio {
  margin-inline: auto;

  display: grid;
  place-items: center;

  background: var(--nevoa, #f4f6f8);
  border: 1px dashed #ccd5dd;
  border-radius: 4px;

  font-family: "Inter", sans-serif;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a9b3bd;
}

.anuncio[data-formato="970x250"] {
  width: 970px;
  height: 250px;
}

.anuncio[data-formato="728x90"] {
  width: 728px;
  height: 90px;
}

.anuncio[data-formato="300x250"] {
  width: 300px;
  height: 250px;
}

.anuncio[data-formato="300x600"] {
  width: 300px;
  height: 600px;
}

.live-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  overflow-y: auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;

  padding: 16px;

  background: rgba(20, 30, 40, 0.96);

  --largura-palco: min(92vw, 1100px, calc((100vh - 15rem) * 16 / 9), calc(72vh * 16 / 9));
}

.live-overlay[hidden] {
  display: none;
}

.live-overlay > * {
  flex: none;
}

.live-overlay .fechar {
  position: absolute;
  top: 1rem;
  right: 1.25rem;

  width: 2.25rem;
  height: 2.25rem;
  cursor: pointer;

  padding: 0;
  margin: 0;

  font-size: 1rem;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  border-radius: 50%;

  transition: background 180ms;
}

.live-overlay .fechar:hover {
  background: rgba(255, 255, 255, 0.24);
}

.live-overlay .palco {
  position: relative;
  line-height: 0;
}

@media (hover: hover) {
  .live-overlay .palco:hover .titulo {
    opacity: 1;
  }
}

.live-overlay video {
  display: block;
  width: var(--largura-palco);
  aspect-ratio: 16/9;

  object-fit: contain;
  background: #000;
  border-radius: 6px;
}

.live-overlay .titulo {
  position: absolute;
  inset: auto 0 0 0;
  pointer-events: none;

  padding: 2.5rem 1rem 0.875rem;

  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  text-align: left;

  background: linear-gradient(to top, rgba(20, 30, 40, 0.85), transparent);
  border-radius: 0 0 6px 6px;

  transition: opacity 200ms;
}

@media (hover: hover) {
  .live-overlay .titulo {
    opacity: 0;
  }
}

.live-overlay .anuncio {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 767px) {
  .live-overlay #anuncio-overlay {
    display: none;
  }
}

@media (min-width: 1800px) {
  .live-overlay #anuncio-overlay {
    display: none;
  }
}

.live-overlay .palco-linha {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.live-overlay .anuncio-lado {
  display: none;
  flex: none;
  width: 300px;
  height: 600px;
  max-width: none;
}

@media (min-width: 1800px) {
  .live-overlay .anuncio-lado {
    display: grid;
  }
}

.live-overlay.simples .anuncio,
.live-overlay.simples .rodape {
  display: none;
}

.live-overlay .rodape {
  width: var(--largura-palco);
  min-height: 88px;
  padding: 0.75rem 2rem;

  display: flex;
  align-items: center;

  background: #fff;
  border-radius: 6px;
}

.live-overlay .rodape[hidden] {
  display: none;
}

.live-overlay .rodape .patrocinadores {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
}

.live-overlay .rodape .patrocinadores.compacto {
  width: fit-content;
}

.live-overlay .rodape .patrocinadores.compacto .faixa-geral {
  flex: 0 1 auto;
}

.live-overlay .rodape .patrocinadores.compacto .faixa-geral > * {
  flex: 0 1 8rem;
}

.live-overlay .rodape .faixa-geral {
  flex: 1;
}

.live-overlay .rodape .faixa-geral > * {
  flex: 1 1 0;
}

@media screen and (max-width: 640px) {
  .live-overlay .rodape {
    min-height: 80px;
    padding: 0.625rem 0.875rem;
  }
}

.live-overlay .faixa {
  gap: 1.25rem;
}

.live-overlay .faixa img {
  width: auto;
  height: 3rem;
  aspect-ratio: 16/9;
  object-fit: contain;
}

@media (max-height: 640px) {
  .live-overlay .anuncio {
    display: none;
  }
}

.live-overlay .carregando {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;

  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.85);

  transition: opacity 200ms;
}

.live-overlay .palco.pronto .carregando {
  opacity: 0;
  visibility: hidden;
}

.live-overlay .carregando::before {
  content: '';
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  animation: girando-carregando 800ms linear infinite;
}

@keyframes girando-carregando {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .live-overlay .carregando::before { animation: none; }
}