/* Tonight's features — homepage + watch home */

.tonight-strip {
  margin-top: 0;
}

.tonight-strip__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 20px;
}

.tonight-strip__title {
  margin: 0 0 6px;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  letter-spacing: -0.02em;
}

.tonight-strip__sub {
  margin: 0;
  color: var(--muted, #9aa3b5);
  font-size: 0.95rem;
  max-width: 48ch;
}

.tonight-strip__all {
  color: var(--accent, #e11d48);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.tonight-strip__all:hover {
  text-decoration: underline;
}

.tonight-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.tonight-strip__loading,
.tonight-strip__error {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px 16px;
  text-align: center;
  color: var(--muted, #9aa3b5);
}

.tonight-strip__error {
  color: #fca5a5;
}

.tonight-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--panel, #151922), var(--panel-2, #10141c));
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: 14px;
  overflow: hidden;
  min-width: 0;
}

.tonight-card--live {
  border-color: rgba(225, 29, 72, 0.45);
  box-shadow: 0 0 0 1px rgba(225, 29, 72, 0.15);
}

.tonight-card__media {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  background: #0b0d12;
}

.tonight-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tonight-card__rating,
.tonight-card__live {
  position: absolute;
  top: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
}

.tonight-card__rating {
  left: 10px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.tonight-card__live {
  right: 10px;
  background: #e11d48;
  color: #fff;
}

.tonight-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 14px 16px;
  flex: 1;
}

.tonight-card__eyebrow {
  margin: 0;
  font-size: 12px;
  color: var(--muted, #9aa3b5);
}

.tonight-card__title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tonight-card__meta {
  margin: 0;
  font-size: 13px;
  color: var(--muted, #9aa3b5);
}

.tonight-card__error {
  margin: 0;
  font-size: 12px;
  color: #fca5a5;
}

.tonight-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: auto;
  padding-top: 10px;
}

.tonight-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, #e11d48, #9f1239);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.tonight-card__cta:hover {
  filter: brightness(1.08);
}

.tonight-card__link {
  color: var(--muted, #9aa3b5);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.tonight-card__link:hover {
  color: #fff;
}

/* Compact horizontal rail (watch home) */
.tonight-strip--compact .tonight-strip__grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.tonight-strip--compact .tonight-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
}

.tonight-strip--compact .tonight-card__media {
  aspect-ratio: 16 / 10;
}

.tonight-strip--compact .tonight-card__media img {
  object-position: center top;
}

@media (max-width: 1100px) {
  .tonight-strip:not(.tonight-strip--compact) .tonight-strip__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .tonight-strip:not(.tonight-strip--compact) .tonight-strip__grid {
    grid-template-columns: 1fr;
  }

  .tonight-strip:not(.tonight-strip--compact) .tonight-card {
    flex-direction: row;
  }

  .tonight-strip:not(.tonight-strip--compact) .tonight-card__media {
    flex: 0 0 110px;
    aspect-ratio: auto;
    min-height: 160px;
  }
}
