@font-face{font-family:"ANFI Trailer Fixel";src:url("./fixel.woff2") format("woff2");font-style:normal;font-weight:100 900;font-stretch:75% 100%;font-display:swap}
/* Scoped to the approved trailer presentation; Playerjs owns playback controls. */
.player__wrapper.anfi-unified-trailer {
  --anfi-static-ap: 0;
  --anfi-static-av: 0;
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border: 2px solid #ffbc00;
  border-radius: 20px;
  box-sizing: border-box;
  background: #fff;
  color: #111;
  font-family: 'ANFI Trailer Fixel', sans-serif;
  font-variation-settings: 'wdth' 75, 'wght' 440;
}

.anfi-unified-trailer *,
.anfi-unified-trailer *::before,
.anfi-unified-trailer *::after {
  box-sizing: border-box;
  --anfi-static-ap: 0;
  --anfi-static-av: 0;
}

.anfi-unified-trailer [hidden] { display: none !important; }

.anfi-unified-trailer > #player[data-anfi-unified-trailer='1'] {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  min-height: 0;
  margin: 0;
  background: #fff;
  z-index: 0;
}

.anfi-unified-trailer .anfi-trailer-cover {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: inherit;
  background: #fff;
  box-shadow: none;
  color: #fff;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  z-index: 2;
}

.anfi-unified-trailer .anfi-trailer-cover::before { content: none; }

.anfi-unified-trailer .anfi-trailer-cover::after {
  content: '';
  position: absolute;
  inset: 56.376376% 0 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgb(0 0 0 / 32%) 52%, rgb(0 0 0 / 79%) 100%);
  z-index: 1;
}

.anfi-unified-trailer .anfi-trailer-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  object-fit: cover;
  object-position: 50% 50%;
  pointer-events: none;
  transform: none;
}

.anfi-unified-trailer .anfi-trailer-duration {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  min-height: 32px;
  padding: 5px 12px;
  border: .75px solid #eee;
  border-radius: 5px;
  background: #fff;
  color: #666;
  font-family: inherit;
  font-size: 18px;
  line-height: 22px;
  font-weight: 440;
  font-variation-settings: 'wdth' 100, 'wght' 440;
  pointer-events: none;
  white-space: nowrap;
  z-index: 2;
}

.anfi-unified-trailer .anfi-trailer-duration:empty { display: none; }

.anfi-unified-trailer .anfi-trailer-labelrow {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  overflow: visible;
  pointer-events: none;
  z-index: 2;
}

.anfi-unified-trailer .anfi-trailer-play {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  color: #111;
  aspect-ratio: 1;
}

.anfi-unified-trailer .anfi-trailer-play picture {
  position: absolute;
  left: -10px;
  top: -8px;
  display: block;
  width: max-content;
  height: max-content;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.anfi-unified-trailer .anfi-trailer-play img {
  display: block;
  flex: none;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  pointer-events: none;
}

.anfi-unified-trailer .anfi-trailer-caption {
  display: block;
  min-width: 0;
  padding: 0;
  margin: 0;
  color: #fff;
  font-family: inherit;
  font-size: 36px;
  line-height: 46px;
  font-weight: 620;
  font-variation-settings: 'wdth' 75, 'wght' 620;
  letter-spacing: normal;
  text-align: left;
  text-transform: none;
  text-shadow: none;
  white-space: nowrap;
}

.anfi-unified-trailer .anfi-trailer-caption > span { display: inline; }
.anfi-unified-trailer .anfi-trailer-caption > span + span::before { content: ' '; }

.anfi-unified-trailer[data-state='loading'] .anfi-trailer-cover,
.anfi-unified-trailer[data-state='loading'] .anfi-trailer-replay { cursor: progress; }

.anfi-unified-trailer .anfi-trailer-cover:disabled,
.anfi-unified-trailer .anfi-trailer-replay:disabled { opacity: 1; }

.anfi-unified-trailer .anfi-trailer-cover:focus-visible {
  outline: 3px solid #111;
  outline-offset: -6px;
}

.anfi-unified-trailer .anfi-trailer-ending {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 32px 24px;
  overflow: auto;
  border: 0;
  border-radius: inherit;
  background: #fff;
  color: #111;
  font-family: inherit;
  z-index: 3;
}

.anfi-unified-trailer .anfi-trailer-endheading {
  margin: 0;
  padding: 0;
  border: 0;
  color: #111;
  font-family: inherit;
  font-size: 36px;
  line-height: 44px;
  font-weight: 620;
  font-variation-settings: 'wdth' 75, 'wght' 620;
  text-align: center;
}

.anfi-unified-trailer .anfi-trailer-endheading > span { box-shadow: inset 0 -6px 0 #ffbc00; }

.anfi-unified-trailer .anfi-trailer-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  width: min(100%, 350px);
  margin: 0;
  padding: 0;
}

.anfi-unified-trailer .anfi-trailer-primary,
.anfi-unified-trailer .anfi-trailer-replay {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 60px;
  margin: 0;
  padding: 12px 14px;
  border: 2px solid #ffbc00;
  border-radius: 14px;
  box-shadow: none;
  color: #111;
  font-family: inherit;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 620;
  font-variation-settings: 'wdth' 75, 'wght' 620;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.anfi-unified-trailer .anfi-trailer-primary { background: #ffbc00; }
.anfi-unified-trailer .anfi-trailer-replay { background: #fff; }

.anfi-unified-trailer .anfi-trailer-primary:focus-visible,
.anfi-unified-trailer .anfi-trailer-replay:focus-visible { outline: 3px solid #111; outline-offset: 3px; }

.anfi-unified-trailer .anfi-trailer-primary::before,
.anfi-unified-trailer .anfi-trailer-primary::after,
.anfi-unified-trailer .anfi-trailer-replay::before,
.anfi-unified-trailer .anfi-trailer-replay::after { content: none; }

.anfi-unified-trailer .anfi-trailer-error {
  position: absolute;
  right: 12px;
  bottom: 8px;
  left: 12px;
  z-index: 4;
  margin: 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 12px rgb(0 0 0 / 15%);
  color: #b42318;
  font-family: inherit;
  font-size: 14px;
  line-height: 18px;
  text-align: center;
}

@media (min-width: 769px) and (max-width: 900px) {
  .anfi-unified-trailer .anfi-trailer-caption { font-size: 28px; line-height: 36px; }
}

@media (max-width: 768px) {
  .player__wrapper.anfi-unified-trailer { border-width: 1.5px; }
  .anfi-unified-trailer .anfi-trailer-cover::after { inset: 46.20213% 0 0; background: linear-gradient(180deg, transparent 0%, rgb(0 0 0 / 38%) 52%, rgb(0 0 0 / 78%) 100%); }
  .anfi-unified-trailer .anfi-trailer-labelrow { left: 16px; right: 16px; bottom: 16px; gap: 10px; }
  .anfi-unified-trailer .anfi-trailer-play { flex-basis: 40px; width: 40px; height: 40px; }
  .anfi-unified-trailer .anfi-trailer-caption { font-size: 18px; line-height: 22px; white-space: normal; }
  .anfi-unified-trailer .anfi-trailer-caption > span { display: block; }
  .anfi-unified-trailer .anfi-trailer-caption > span + span::before { content: none; }
  .anfi-unified-trailer .anfi-trailer-duration { top: 13.5px; right: 13.5px; min-width: 48px; min-height: 24px; padding: 4px 8px; font-size: 13px; line-height: 16px; }
  .anfi-unified-trailer .anfi-trailer-ending { gap: 12px; padding: 16px 24px; }
  .anfi-unified-trailer .anfi-trailer-endheading { font-size: 28px; line-height: 34px; }
  .anfi-unified-trailer .anfi-trailer-actions { gap: 10px; }
  .anfi-unified-trailer .anfi-trailer-primary,
  .anfi-unified-trailer .anfi-trailer-replay { min-height: 40px; padding: 8px 12px; border-radius: 12px; font-size: 17px; line-height: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .anfi-unified-trailer,
  .anfi-unified-trailer * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
