/* Galeria de transmissões (YouTube) */
#transmissoes,
#transmissoes-galeria { border-top: 1px solid var(--border-gold); }

.stream-section-header {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

.stream-section-header__decor {
  margin: 0.85rem auto 1.75rem;
}

.stream-channel-panel {
  max-width: 38rem;
  padding: 1.35rem 1.35rem 1.5rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(201, 168, 76, 0.28);
  border-radius: var(--radius-soft);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  text-align: center;
}

.stream-channel-panel--compact {
  max-width: 34rem;
  padding: 1.15rem 1.25rem;
}

.stream-channel-panel__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.stream-channel-panel__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 0, 0, 0.18) 0%, rgba(201, 168, 76, 0.22) 100%);
  border: 1px solid rgba(201, 168, 76, 0.35);
  color: #ff4e4e;
  font-size: 1.45rem;
}

.stream-channel-panel__copy {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stream-channel-panel__lead {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted-on-dark);
  max-width: 32rem;
}

.stream-channel-panel__handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 0.35rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold-light);
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.28);
  border-radius: 999px;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
  word-break: break-word;
  text-align: center;
}

.stream-channel-panel__handle:hover {
  color: var(--white);
  background: rgba(201, 168, 76, 0.18);
  border-color: var(--gold-light);
}

.stream-channel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(201, 168, 76, 0.16);
}

.stream-channel-tags li {
  padding: 0.28rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 999px;
}

.stream-channel-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.15rem;
}

.stream-channel-panel__actions .btn {
  min-height: 2.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.stream-featured {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  border: 1px solid rgba(201, 168, 76, 0.28);
  background: linear-gradient(165deg, var(--charcoal) 0%, #12100a 100%);
  border-radius: var(--radius-soft);
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
}
@media (min-width: 992px) {
  .stream-featured { grid-template-columns: 1.4fr 1fr; align-items: stretch; }
}
.stream-featured-player {
  background: var(--black);
  border-bottom: 1px solid var(--border-gold);
}

.stream-featured-player--embed {
  min-height: 0;
}

.stream-featured-player--embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: var(--black);
}

.stream-featured-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-height: 220px;
}
.stream-featured-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.4s, opacity var(--transition);
}
.stream-featured-thumb:hover img { transform: scale(1.03); opacity: 0.9; }
.stream-play-lg { font-size: 4rem !important; }
@media (min-width: 992px) {
  .stream-featured { grid-template-columns: 1.4fr 1fr; }
  .stream-featured-player { border-bottom: none; border-right: 1px solid var(--border-gold); }
}
.stream-featured-info {
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stream-featured-info h3 {
  color: var(--gold-light);
  font-size: 1.35rem;
  margin: 0.75rem 0 1.25rem;
}
.stream-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
}
.stream-badge.stream-badge--live {
  color: #fff;
  background: #c00;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
.stream-featured-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.stream-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-bottom: 2rem;
  padding: 1rem 1.15rem;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(201, 168, 76, 0.16);
  border-radius: var(--radius-soft);
}
.stream-filters {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  flex: 1;
  min-width: 0;
}
.stream-filters li { margin: 0; }
.stream-count {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted-on-dark);
  font-weight: 600;
  white-space: nowrap;
  text-align: center;
  width: 100%;
}
@media (min-width: 768px) {
  .stream-toolbar { justify-content: space-between; }
  .stream-count { width: auto; text-align: right; }
}
.stream-filters .filter-btn {
  background: transparent;
  border: 1px solid var(--border-gold);
  color: var(--text-on-dark);
  padding: 0.55rem 1.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border-radius: var(--radius-btn);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.stream-filters .filter-btn:hover {
  transform: translateY(-2px);
  border-color: var(--gold-light);
  box-shadow: var(--shadow-gold);
}
.stream-filters .filter-btn.active,
.stream-filters .filter-btn[aria-selected="true"] {
  background: var(--gold-gradient);
  color: var(--black);
  border-color: var(--gold-light);
  box-shadow: var(--shadow-gold);
}
.stream-grid.is-filtering .stream-item {
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.stream-grid > [class*='col-'] {
  display: flex;
}

.stream-item.is-hidden {
  display: none !important;
}

.stream-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  background: linear-gradient(180deg, var(--charcoal) 0%, #12100a 100%);
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: var(--radius-soft);
  overflow: hidden;
  height: 100%;
  isolation: isolate;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.stream-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
  z-index: 2;
}

.stream-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 168, 76, 0.38);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(201, 168, 76, 0.08);
}
.stream-card-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: var(--black);
  position: relative;
  cursor: pointer;
  overflow: hidden;
}
.stream-card-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.4s, opacity var(--transition);
}
.stream-card.is-short .stream-card-thumb img { aspect-ratio: 9 / 16; max-height: 280px; object-fit: cover; }
.stream-card-thumb:hover img { transform: scale(1.05); opacity: 0.85; }
.stream-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.35);
  color: var(--gold-light);
  font-size: 2.5rem;
  transition: background var(--transition);
}
.stream-card-thumb:hover .stream-play { background: rgba(10, 10, 10, 0.55); }
.stream-cat {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  background: var(--gold-gradient);
  color: var(--black);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  z-index: 1;
}

.stream-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1.1rem 1.25rem;
}

.stream-card-body h4 {
  flex: 1;
  font-size: 0.95rem;
  color: var(--white);
  margin: 0 0 0.75rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stream-yt-link {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.8rem;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0;
}
.stream-yt-link:hover { color: var(--gold-light); }
