/* Home + /demo/watch/ hotfix: 390 poster crop and watch actions. Palette tokens only. */

/* Show a whole, readable piece of the Evaluations screen on a narrow viewport.
   The default home2 4/5 and 9/16 cover crops cut the landscape poster off on the left. */
@media (max-width: 600px) {
  .hero-shot.hero-teaser .hero-teaser-frame {
    aspect-ratio: auto;
  }
  .hero-shot.hero-teaser .hero-teaser-frame img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center top;
  }
  .watch-stage {
    aspect-ratio: auto;
  }
  .watch-stage img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center top;
  }
}

.watch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 24px;
  align-items: stretch;
}
.watch-actions .btn {
  min-height: 48px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 600px) {
  .watch-actions {
    flex-direction: column;
  }
  .watch-actions .btn {
    width: 100%;
  }
}

/* Film-gated chrome stays in the DOM and returns when the existing
   "Enabled when the film is on this page" gate flips. */
.watch-page:not([data-watch-film]) .watch-chapters,
.watch-page:not([data-watch-film]) .watch-play,
.watch-page:not([data-watch-film]) .watch-transcript {
  display: none;
}

/* Film (media origin) */
.watch-stage video{display:block;width:100%;height:100%;object-fit:contain;background:#1C1917}
.watch-film-note{margin:0 0 24px;color:var(--navy)}
.watch-transcript ol{margin:0;padding:0;list-style:none}
.watch-transcript li{display:flex;gap:12px;padding:6px 0;border-bottom:1px solid var(--line)}
.watch-transcript li time{flex:0 0 3.2em;font-variant-numeric:tabular-nums;color:var(--steel,#5B6B82)}
.hero-teaser-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top;background:#1C1917}
.hero-teaser-video[hidden]{display:none}
.hero-teaser-pause{position:absolute;right:12px;bottom:12px;z-index:2;min-height:44px;min-width:44px;padding:10px 16px;border-radius:8px;background:var(--charcoal);color:#fff;border:1px solid #ffffff66;font-weight:700}
@media (prefers-reduced-motion: reduce){.hero-teaser-video{display:none}}
