/* Brazuka Play - EPG leve nos cards + controles do player em uma linha - Fase 10.33 */
.bz-tv-channel-card .bz-card-epg {
  margin-top: 4px;
  padding-top: 4px;
  height: 39px;
  min-height: 39px;
  max-height: 39px;
  border-top: 1px solid rgba(255,255,255,.06);
  max-width: 100%;
  overflow: hidden;
  pointer-events: none;
}
.bz-tv-channel-card .bz-card-epg-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 9px;
  line-height: 1.1;
  color: #ffcc00;
  font-weight: 800;
  text-transform: uppercase;
}
.bz-tv-channel-card .bz-card-epg-top em {
  color: rgba(255,255,255,.58);
  font-style: normal;
  font-weight: 700;
  text-transform: none;
}
.bz-tv-channel-card .bz-card-epg-title {
  margin-top: 3px;
  font-size: 10px;
  line-height: 1.15;
  color: rgba(255,255,255,.84);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bz-tv-channel-card .bz-card-epg-bar {
  margin-top: 4px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  overflow: hidden;
}
.bz-tv-channel-card .bz-card-epg-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #ffcc00;
}

/* Evita que a EPG deixe a lista pesada visualmente */
.bz-tv-channel-card {
  height: 104px;
  min-height: 104px;
  max-height: 104px;
  contain: layout paint style;
}
.bz-tv-channel-card:hover {
  transform: none !important;
}
.bz-tv-channel-card .bz-tv-channel-info {
  min-width: 0;
  height: 72px;
  min-height: 72px;
  max-height: 72px;
  overflow: hidden;
}
.bz-tv-channel-card .bz-card-epg-empty .bz-card-epg-top,
.bz-tv-channel-card .bz-card-epg-empty .bz-card-epg-title {
  color: rgba(255,255,255,.48);
}

/* Compactação robusta da linha de controles do player. A classe é aplicada por JS ao parent real dos botões. */
.bz-player-controls-compact {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 6px !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}
.bz-player-controls-compact .bz-player-control-compact-item,
.bz-player-controls-compact button,
.bz-player-controls-compact select {
  flex: 0 1 auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 30px !important;
  padding: 6px 9px !important;
  font-size: 11px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}
.bz-player-controls-compact select {
  width: auto !important;
  max-width: 132px !important;
  padding-right: 22px !important;
}
.bz-player-controls-compact button {
  min-width: auto !important;
}
.bz-player-controls-compact button:has(i) {
  padding-left: 8px !important;
  padding-right: 8px !important;
}
.bz-player-controls-compact button:last-child,
.bz-player-controls-compact button[style*="red"],
.bz-player-controls-compact .stop,
.bz-player-controls-compact .btn-stop {
  flex: 0 0 auto !important;
}

@media (max-width: 900px) {
  .bz-player-controls-compact {
    flex-wrap: wrap !important;
    overflow: visible !important;
  }
}

/* ===== FIX VISUAL FINAL: força barra EPG amarela ===== */
#bz-tv-grid-root .bz-card-epg-bar,
.bz-tv-channel-card .bz-card-epg-bar {
  display: block !important;
  margin-top: 4px !important;
  height: 3px !important;
  min-height: 3px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.12) !important;
  overflow: hidden !important;
}

#bz-tv-grid-root .bz-card-epg-bar i,
.bz-tv-channel-card .bz-card-epg-bar i {
  display: block !important;
  height: 100% !important;
  min-width: 2px !important;
  border-radius: inherit !important;
  background: #ffcc00 !important;
}
