/* Lista de TV e player reduzido do portal online. */
.catalog-layout {
  grid-template-columns: 285px minmax(0, 1fr);
}

.group-list button {
  min-height: 42px;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.35;
}

.channel-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.channel-list .channel-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 44px;
  align-items: center;
  min-height: 70px;
  border-radius: 11px;
  overflow: hidden;
  transform: none;
}

.channel-list .channel-row .poster {
  width: 70px;
  height: 70px;
  aspect-ratio: auto;
  background: #0a1019;
}

.channel-list .channel-row .poster img {
  object-fit: contain;
  padding: 7px;
}

.channel-list .channel-row .poster > span {
  font-size: 22px;
}

.channel-list .channel-row .media-info {
  min-width: 0;
  padding: 10px 15px;
}

.channel-list .channel-row .media-info strong { font-size: 14px; }
.channel-list .channel-row .media-info small { font-size: 11px; }

.channel-list .channel-row > .favorite-button {
  position: static;
  width: 34px;
  height: 34px;
  margin: auto;
}

.channel-list .channel-row:hover,
.channel-list .channel-row:focus {
  z-index: 2;
  transform: translateX(3px);
  box-shadow: 0 9px 25px #0008;
}

.channel-list .channel-row.playing {
  border-color: #9848ff;
  background: linear-gradient(90deg, #161020, #101723);
  box-shadow: inset 3px 0 #a64cff;
}

.channel-list .channel-row.playing .media-info strong::after {
  content: "  • AO VIVO";
  color: #62df78;
  font-size: 9px;
  letter-spacing: .08em;
}

.player-modal.compact {
  inset: auto 24px 24px auto;
  width: min(430px, calc(100vw - 32px));
  height: 280px;
  overflow: hidden;
  border: 1px solid #3c4557;
  border-radius: 15px;
  background: #000;
  box-shadow: 0 22px 70px #000d;
}

.player-modal.compact video { height: 224px; }
.player-modal.compact .player-bar { height: 56px; padding: 0 14px; }
.player-modal.compact .player-action { display: none; }
.player-modal.compact .player-bar strong {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-catalog.has-mini-player .channel-list { padding-bottom: 295px; }

@media (max-width: 900px) {
  .catalog-layout { grid-template-columns: 1fr; }
  .group-list button { min-height: 0; white-space: nowrap; }
  .player-modal.compact {
    right: 10px;
    bottom: 10px;
    width: min(380px, calc(100vw - 20px));
    height: 245px;
  }
  .player-modal.compact video { height: 195px; }
  .player-modal.compact .player-bar { height: 50px; }
  .live-catalog.has-mini-player .channel-list { padding-bottom: 260px; }
}
