#stv-carrosseis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
}
.stv-carrossel {
  min-width: 0;
  overflow: hidden;
  padding: 16px;
  border: 1px solid #374151;
  border-radius: 12px;
  background: rgba(17,24,39,.75);
}
.stv-carrossel h2 {
  color: #e5e7eb;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 14px;
}
.stv-carrossel-janela {
  overflow: hidden;
  width: 100%;
}
.stv-carrossel-faixa {
  display: flex;
  width: max-content;
  gap: 12px;
  animation: stv-deslizar 100s linear infinite;
  will-change: transform;
}
.stv-carrossel:hover .stv-carrossel-faixa,
.stv-carrossel:focus-within .stv-carrossel-faixa {
  animation-play-state: paused;
}
.stv-carrossel-item {
  width: 112px;
  flex: 0 0 112px;
  min-width: 0;
}
.stv-carrossel-item img {
  width: 112px;
  height: 160px;
  display: block;
  object-fit: cover;
  border-radius: 7px;
  background: #1f2937;
}
.stv-carrossel-item span {
  display: block;
  margin-top: 7px;
  color: #d1d5db;
  font-size: 11px;
  line-height: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@keyframes stv-deslizar {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 6px)); }
}
@media (max-width: 767px) {
  #stv-carrosseis {
    grid-template-columns: minmax(0, 1fr);
  }
  .stv-carrossel-item,
  .stv-carrossel-item img {
    width: 96px;
  }
  .stv-carrossel-item {
    flex-basis: 96px;
  }
  .stv-carrossel-item img {
    height: 140px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .stv-carrossel-faixa {
    animation: none;
  }
  .stv-carrossel-janela {
    overflow-x: auto;
  }
}


/* STV PRO — setas dos carrosséis */
.stv-carrossel-seta {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 32px;
  height: 48px;
  border: 1px solid rgba(59,130,246,.5);
  border-radius: 8px;
  background: rgba(10,20,40,.78);
  color: #60a5fa;
  font-size: 23px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, box-shadow .2s;
}
.stv-carrossel-seta:hover {
  background: rgba(37,99,235,.9);
  color: white;
  box-shadow: 0 0 15px rgba(59,130,246,.6);
}
.stv-seta-esquerda { left: 4px; }
.stv-seta-direita { right: 4px; }

@media (max-width: 767px) {
  .stv-carrossel-seta {
    width: 27px;
    height: 42px;
    font-size: 19px;
  }
}
