/**
 * Watching styles
 *
 * Follows the unified collection-card pattern (see comics.css / beers.css).
 */

.watch-hero {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-l);
  align-items: flex-start;
}

.watch-hero__poster-link {
  flex: 0 1 16rem;
  min-width: 12rem;
}

/* The external-link utility pads links inside <article> to fit its arrow icon.
   no-indicator drops the icon; the hero poster is a flex item (the cards' inline
   trick doesn't apply), so clear the leftover padding here. */

#watch-hero-poster-link {
  padding-inline-end: 0;
}

.watch-hero__poster {
  aspect-ratio: 2/3;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  border: 1px solid var(--color-bg-accent-2);
  border-radius: var(--space-xs);
}

.watch-hero__info {
  flex: 1 1 18rem;
}

.watch-hero__title {
  margin: 0;
}

.watch-hero__meta {
  font-size: var(--size-step-min-1);
  color: var(--color-text-accent);
  margin: 0;
}

.watch-hero--live .watch-hero__meta {
  color: var(--color-text);
  font-weight: var(--font-bold);
}

.live-dot {
  display: inline-block;
  width: 0.6em;
  height: 0.6em;
  border-radius: 50%;
  background: #e0245e;
  vertical-align: baseline;
  animation: live-pulse 1.6s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none; }
}

.watch-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--space-xs);
  background: var(--color-bg-accent);
}

.watch-card__link {
  text-decoration: none;
  color: inherit;
}

.watch-card__image {
  aspect-ratio: 2/3;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  border: 1px solid var(--color-bg-accent-2);
  border-radius: var(--space-xs) var(--space-xs) 0 0;
}

.watch-card:hover .watch-card__image {
  transform: scale(1.05);
}

.watch-card__image--missing {
  aspect-ratio: 2/3;
  width: 100%;
  background: linear-gradient(135deg, var(--color-bg-accent-2), var(--color-bg-accent));
  border-radius: var(--space-xs) var(--space-xs) 0 0;
}

.watch-card__info {
  padding: var(--space-s);
  background: var(--color-bg-accent);
}

.watch-card__title {
  font-size: var(--size-step-min-1);
  font-weight: var(--font-bold);
  line-height: 1.3;
  margin: 0 0 var(--space-3xs) 0;
  color: var(--color-text);
}

.watch-card__date {
  font-size: var(--size-step-min-2);
  color: var(--color-text-accent);
  margin: 0;
}

.watch-card__badge {
  position: absolute;
  top: var(--space-s);
  right: var(--space-s);
  font-size: var(--size-step-min-2);
  background: var(--color-bg);
  color: var(--color-text);
  padding: var(--space-3xs) var(--space-2xs);
  border-radius: var(--radius-s, 3px);
  line-height: 1;
  font-weight: var(--font-bold);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}