/* Streaming UI — Disney+-inspired layer */

.cliente-sticky-head {
  position: sticky;
  top: 0;
  z-index: 25;
  padding-top: env(safe-area-inset-top, 0);
  overflow: visible;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.96) 88%, rgba(0, 0, 0, 0.9) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar__profile {
  position: relative;
  flex-shrink: 0;
  z-index: 40;
}

/* Avatar está a la izquierda: abrir el menú hacia la derecha (no se corte fuera de pantalla). */
.topbar__profile .topbar__user-menu {
  top: calc(100% + 0.4rem);
  left: 0;
  right: auto;
  min-width: 13rem;
  max-width: min(18rem, calc(100vw - 1.25rem));
}

.topbar__row--mundial {
  gap: 0.55rem;
  flex-wrap: nowrap;
  padding: 0 0 0.35rem;
}

.stream-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.stream-nav::-webkit-scrollbar {
  display: none;
}

.stream-nav__item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  padding: 0.45rem 0.75rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.stream-nav__item:hover,
.stream-nav__item:focus-visible {
  color: #fff;
  outline: none;
}

.stream-nav__item.is-active {
  color: #000;
  background: #fff;
}

.stream-nav__icon {
  width: 1.05rem;
  height: 1.05rem;
  opacity: 0.9;
}

.stream-nav__label {
  letter-spacing: -0.01em;
}

.stream-nav__item--adult {
  color: #fca5a5;
}

.stream-nav__item--adult.is-active {
  color: #000;
  background: #fecaca;
}

.stream-nav__item--adult:not(.is-unlocked) .stream-nav__icon {
  opacity: 0.85;
}

.stream-nav__item--adult.is-unlocked {
  color: #fda4af;
}

.stream-nav__item--adult.is-unlocked.is-active {
  color: #000;
  background: #fda4af;
}

.stream-nav__search-btn {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background 0.18s ease;
}

.stream-nav__search-btn:hover,
.stream-nav__search-btn:focus-visible,
.stream-nav__search-btn.is-active {
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.stream-nav__search-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.dias-pill--compact {
  padding: 0.3rem 0.65rem;
}

.dias-pill--compact .dias-pill__n {
  font-size: 1rem;
}

.stream-pills-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: 0.15rem clamp(1rem, 3vw, 2.5rem) 0.45rem;
}

.stream-pills {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 100%;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(30, 30, 30, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
  scrollbar-width: none;
}

.stream-pills::-webkit-scrollbar {
  display: none;
}

.stream-pills[hidden] {
  display: none !important;
}

.stream-pills__item {
  flex-shrink: 0;
  padding: 0.42rem 0.9rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #d4d4d4;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.16s ease, background 0.16s ease;
}

.stream-pills__item:hover,
.stream-pills__item:focus-visible {
  color: #fff;
  outline: none;
}

.stream-pills__item.is-active {
  color: #000;
  background: #fff;
}

.hero-carousel {
  position: relative;
  margin: 0 0 1.75rem;
  border-radius: calc(var(--radius-lg) + 4px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #111;
}

.hero-carousel[hidden] {
  display: none !important;
}

.hero-carousel__viewport {
  position: relative;
  height: var(--hero-h);
  overflow: hidden;
}

.hero-carousel__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.65s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.02);
}

.hero-slide__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.55) 42%, rgba(0, 0, 0, 0.15) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, transparent 45%);
}

.hero-slide__content {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  max-width: min(92%, 520px);
  padding: clamp(1rem, 4vw, 2rem);
}

.hero-slide__eyebrow {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: #fff;
  color: #000;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-slide__title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.35rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.65);
}

.hero-slide__meta {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
}

.hero-slide__play {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.15rem;
  border: none;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease;
}

.hero-slide__play:hover,
.hero-slide__play:focus-visible {
  transform: scale(1.03);
  outline: none;
  background: #f0f0f0;
}

.hero-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 0 0.85rem;
}

.hero-carousel__dot {
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-carousel__dot.is-active {
  width: 1.35rem;
  background: #fff;
}

.content-rails {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-bottom: 1.5rem;
}

.content-rails[hidden] {
  display: none !important;
}

.content-rail__title {
  margin: 0 0 0.75rem;
  padding: 0 0.15rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.content-rail__track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.15rem 0.15rem 0.65rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.content-rail__track .senal-card {
  flex: 0 0 clamp(120px, 28vw, 165px);
  scroll-snap-align: start;
}

.catalog-head {
  margin: 0 0 1rem;
}

.catalog-head[hidden] {
  display: none !important;
}

.catalog-head__title {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.catalog-head__count {
  margin: 0;
}

.cliente-search-strip {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.95);
  padding: 0.35rem clamp(1rem, 3vw, 2.5rem) 0.65rem;
  border-bottom: none;
}

.cliente-search-strip__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 380px) minmax(0, 1fr);
  align-items: center;
  gap: 0.65rem 1rem;
}

.cliente-search-strip__side--left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}

.cliente-search-strip__center {
  width: 100%;
  justify-self: center;
}

.cliente-search-strip__count {
  margin: 0;
  justify-self: end;
  text-align: right;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 600;
  color: #d4d4d4;
}

.cliente-search--strip {
  flex: none;
  width: 100%;
}

.cliente-search--strip .cliente-search__input {
  min-height: 36px;
  padding: 0.45rem 0.75rem;
  font-size: 0.84rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.cliente-search--strip .cliente-search__input:focus-visible {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.cliente-search--strip .cliente-search__icon {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
}

.canales-filter-chip {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.content-rail__track .senal-card--canal {
  flex: 0 0 clamp(108px, 22vw, 140px);
}

/* —— Tarjetas de canales (estilo guía TV) —— */

.senal-grid--canales {
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 0.9rem 0.75rem;
}

@media (min-width: 640px) {
  .senal-grid--canales {
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 1100px) {
  .senal-grid--canales {
    grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
  }
}

.senal-card--canal {
  gap: 0.5rem;
}

.senal-card--canal .senal-card__poster--canal {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 70% at 50% 18%, rgba(255, 255, 255, 0.07), transparent 55%),
    linear-gradient(165deg, #2b2b2b 0%, #161616 48%, #101010 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.senal-card--canal:hover .senal-card__poster--canal,
.senal-card--canal:focus-visible .senal-card__poster--canal {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.senal-card--canal .senal-card__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 78%;
  height: 78%;
}

.senal-card--canal .senal-card__icon {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 0;
  background: transparent;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.45));
  transition: transform 0.25s ease;
}

.senal-card--canal:hover .senal-card__icon,
.senal-card--canal:focus-visible .senal-card__icon {
  transform: scale(1.06);
}

.senal-card__live {
  position: absolute;
  top: 0.4rem;
  left: 0.4rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.14rem 0.42rem 0.14rem 0.32rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(4px);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.senal-card__live-dot {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.25);
  animation: canal-live-pulse 1.8s ease-in-out infinite;
}

@keyframes canal-live-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}

.senal-card--canal .senal-card__footer {
  display: block;
  padding: 0 0.1rem;
  min-height: 2.35em;
}

.senal-card--canal .senal-card__name--below {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  text-align: center;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: #ececec;
}

.senal-card--canal .senal-card__play-fab {
  top: 50%;
  right: auto;
  left: 50%;
  bottom: auto;
  transform: translate(-50%, -50%) scale(0.85);
  width: 2.35rem;
  height: 2.35rem;
  opacity: 0;
}

.senal-card--canal:hover .senal-card__play-fab,
.senal-card--canal:focus-visible .senal-card__play-fab {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.senal-card--canal:hover .senal-card__live,
.senal-card--canal:focus-visible .senal-card__live {
  opacity: 0;
}

.senal-card--canal {
  transform: none;
}

.senal-card--canal:hover,
.senal-card--canal:focus-visible {
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .senal-card__live span:not(.senal-card__live-dot) {
    display: none;
  }

  .senal-card__live {
    padding: 0.2rem;
    border-radius: 50%;
  }
}

.mobile-dock__btn.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

@media (max-width: 900px) {
  .topbar__title {
    display: none;
  }

  .cliente-search-strip__row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "search search"
      "filter count";
    gap: 0.45rem 0.65rem;
  }

  .cliente-search-strip__side--left {
    grid-area: filter;
  }

  .cliente-search-strip__center {
    grid-area: search;
    max-width: none;
  }

  .cliente-search-strip__count {
    grid-area: count;
    justify-self: end;
  }

  .topbar__logo {
    display: none;
  }

  .stream-nav__label {
    display: none;
  }

  .stream-nav__item {
    padding: 0.5rem;
  }

  .stream-nav__icon {
    width: 1.2rem;
    height: 1.2rem;
  }

  .dias-pill--compact .dias-pill__txt {
    display: none;
  }

  .hero-carousel {
    margin-left: -0.25rem;
    margin-right: -0.25rem;
    border-radius: 16px;
  }

  .hero-slide__content {
    max-width: 88%;
    padding-bottom: 1.1rem;
  }

  .hero-slide__title {
    font-size: 1.25rem;
  }

  .hero-slide__play {
    padding: 0.48rem 0.95rem;
    font-size: 0.82rem;
  }

  .mobile-dock {
    background: rgba(0, 0, 0, 0.96);
  }
}

@media (min-width: 901px) {
  .mobile-dock {
    display: none !important;
  }

  #cliente-app .foot {
    padding-bottom: 1.35rem;
  }
}

/* —— Mundial 2026 (alineado al tema streaming) —— */

#cliente-mundial-panel.cliente-mundial-panel,
.cliente-content.is-mundial-only #cliente-mundial-panel {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: 0 0 1.5rem;
}

.cliente-content.is-mundial-only {
  width: 100%;
  max-width: none;
}

#cliente-mundial-panel .mundial-panel__head {
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#cliente-mundial-panel .mundial-panel__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

#cliente-mundial-panel .mundial-panel__title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

#cliente-mundial-panel .mundial-tabs {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

#cliente-mundial-panel .mundial-tabs__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.85rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease;
}

#cliente-mundial-panel .mundial-tabs__btn:hover,
#cliente-mundial-panel .mundial-tabs__btn:focus-visible {
  color: #fff;
  outline: none;
}

#cliente-mundial-panel .mundial-tabs__btn.is-active {
  color: #000;
  background: #fff;
}

#cliente-mundial-panel .mundial-tabs__dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #ef4444;
  animation: mundial-live-dot 1.4s ease-in-out infinite;
}

#cliente-mundial-panel .mundial-panel__list {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

#cliente-mundial-panel .mundial-day-group {
  margin-bottom: 1.65rem;
}

#cliente-mundial-panel .mundial-day-group__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

#cliente-mundial-panel .mundial-day-group__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

#cliente-mundial-panel .mundial-day-group__title span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.28);
  text-transform: none;
}

#cliente-mundial-panel .mundial-day-group--live .mundial-day-group__title {
  color: #fca5a5;
}

#cliente-mundial-panel .mundial-day-group--live .mundial-day-group__title::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #ef4444;
  animation: mundial-live-dot 1.4s ease-in-out infinite;
}

#cliente-mundial-panel .mundial-day-group__list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

#cliente-mundial-panel .mundial-match {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  padding: 1.1rem clamp(0.75rem, 2vw, 1.5rem) 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #141414;
  transition: border-color 0.18s ease, background 0.18s ease;
}

#cliente-mundial-panel .mundial-match:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: #181818;
}

#cliente-mundial-panel .mundial-match.is-live {
  border-color: rgba(239, 68, 68, 0.28);
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.07) 0%, #141414 38%);
}

#cliente-mundial-panel .mundial-match__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.42rem;
  padding: 0.1rem 0.35rem 0;
}

#cliente-mundial-panel .mundial-match__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

#cliente-mundial-panel .mundial-match__badge--live {
  background: rgba(239, 68, 68, 0.16);
  color: #fca5a5;
}

#cliente-mundial-panel .mundial-match__badge--time {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 0.82rem;
}

#cliente-mundial-panel .mundial-match__badge--ft {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.55);
}

#cliente-mundial-panel .mundial-match__teams {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}

#cliente-mundial-panel .mundial-match__team {
  font-size: clamp(1rem, 2.4vw, 1.22rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

#cliente-mundial-panel .mundial-match__score {
  font-size: clamp(1.05rem, 2.8vw, 1.38rem);
  font-weight: 900;
  color: #fff;
  padding: 0.12rem 0.55rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  font-variant-numeric: tabular-nums;
}

#cliente-mundial-panel .mundial-match__vs {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.38);
  text-transform: lowercase;
}

#cliente-mundial-panel .mundial-match__meta {
  margin: 0;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.35;
}

#cliente-mundial-panel .mundial-match__channels {
  display: block;
  width: 100%;
  min-width: 0;
}

#cliente-mundial-panel .mundial-match__channels-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.6vw, 1.75rem);
  width: 100%;
  align-items: start;
}

#cliente-mundial-panel .mundial-ch-card {
  width: 100%;
  min-width: 0;
  transform: none;
}

#cliente-mundial-panel .mundial-ch-card:hover,
#cliente-mundial-panel .mundial-ch-card:focus-visible {
  transform: scale(1.03);
}

#cliente-mundial-panel .mundial-ch-card .senal-card__poster {
  aspect-ratio: 2 / 3;
  border-radius: 12px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

#cliente-mundial-panel .mundial-ch-card .senal-card__icon {
  object-fit: contain;
  padding: 14%;
  background: linear-gradient(165deg, #242424 0%, #121212 100%);
}

#cliente-mundial-panel .mundial-ch-card .senal-card__overlay {
  padding: 0.45rem 0.5rem 0.55rem;
}

#cliente-mundial-panel .mundial-ch-card .senal-card__badge {
  margin-bottom: 0;
  font-size: 0.58rem;
  padding: 0.12rem 0.38rem;
}

#cliente-mundial-panel .mundial-ch-card .senal-card__name--below {
  margin-top: 0.42rem;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  color: #e8e8e8;
  -webkit-line-clamp: 2;
}

#cliente-mundial-panel .mundial-ch-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.4rem;
}

#cliente-mundial-panel .mundial-ch-empty {
  margin: 0;
  text-align: center;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.35);
}

#cliente-mundial-panel .mundial-panel__empty {
  padding: 2.5rem 1rem;
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 900px) {
  #cliente-mundial-panel .mundial-panel__bar {
    flex-direction: column;
    align-items: flex-start;
  }

  #cliente-mundial-panel .mundial-match__channels-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  #cliente-mundial-panel .mundial-match__channels-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* —— Detalle de serie (pantalla completa + carrusel capítulos) —— */
.series-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}

.series-modal[hidden] {
  display: none !important;
}

.series-modal__backdrop {
  position: absolute;
  inset: 0;
  background: #070b12;
}

.series-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-height: 100vh;
  max-height: 100dvh;
  margin: 0;
  overflow-y: auto;
  overflow-x: hidden;
  background: linear-gradient(180deg, #0b1018 0%, #070b12 100%);
  box-shadow: none;
}

.series-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 3;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
}

.series-modal__hero {
  position: relative;
  min-height: clamp(240px, 38vh, 420px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.series-modal__hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.series-modal__hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(7, 11, 18, 0.98) 0%, rgba(7, 11, 18, 0.35) 55%, rgba(7, 11, 18, 0.15) 100%),
    linear-gradient(90deg, rgba(7, 11, 18, 0.75) 0%, transparent 60%);
}

.series-modal__hero-text {
  position: relative;
  z-index: 1;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 1.25rem;
  max-width: min(720px, 92%);
}

.series-modal__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.series-modal__title {
  margin: 0;
  font-size: clamp(1.45rem, 4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.series-modal__meta {
  margin: 0.45rem 0 0;
  font-size: 0.88rem;
}

.series-modal__body {
  padding: 0 clamp(1.25rem, 4vw, 3rem) 2rem;
}

.series-modal__seasons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.series-modal__season-btn {
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.series-modal__season-btn.is-active {
  color: #000;
  background: #fff;
  border-color: #fff;
}

.series-modal__episodes-heading {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
}

.series-modal__episodes-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.series-modal__ep-nav {
  flex: 0 0 auto;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.series-modal__ep-nav:hover,
.series-modal__ep-nav:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.series-modal__ep-nav[hidden] {
  display: none !important;
}

.series-modal__episodes-track {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.15rem 0.1rem 0.65rem;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}

.series-episode-card {
  flex: 0 0 clamp(132px, 16vw, 188px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.series-episode-card__poster {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.series-episode-card__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.series-episode-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.series-episode-card:hover .series-episode-card__play,
.series-episode-card:focus-visible .series-episode-card__play {
  opacity: 1;
}

.series-episode-card__play svg {
  width: 2rem;
  height: 2rem;
  color: #fff;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}

.series-episode-card__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff8c42, #5ce1e6);
}

.series-episode-card__resume {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: rgba(255, 140, 66, 0.92);
  color: #000;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.series-episode-card__label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.series-episode-card__sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.senal-card--serie .senal-card__meta-series {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 640px) {
  .series-modal__ep-nav {
    width: 2.15rem;
    height: 2.15rem;
  }

  .series-modal__ep-nav svg {
    width: 20px;
    height: 20px;
  }

  .series-episode-card {
    flex-basis: clamp(118px, 38vw, 148px);
  }
}
