
/* Frames stack in the box the host gives (its own size, position and
   object-position); the first stays visible underneath, the shown one covers it. */
.cc_qEqQgsXv08_AKgtOzZrak .na-frames, .cc_qEqQgsXv08_RLGHT5vLc7 .na-frames, .cc_qEqQgsXv08_KFkvX4UcCQ .na-frames {
  overflow: hidden;
}

.cc_qEqQgsXv08_AKgtOzZrak .na-frames img, .cc_qEqQgsXv08_RLGHT5vLc7 .na-frames img, .cc_qEqQgsXv08_KFkvX4UcCQ .na-frames img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: inherit;
  /* Frames straightened for camera drift carry a thin smeared strip at their edges
     (up to ~1% of the width, a little more at the corners): every frame gets the
     same slight zoom, which keeps them aligned and those strips out of the box. */
  transform: scale(1.04);
}

/* With a phone image the first frame sits in a <picture>, which would otherwise
   reset the host's object-position to 50% 50% for it alone: the first frame then
   showed a different crop and the photo jumped every time the loop passed it. */
.cc_qEqQgsXv08_AKgtOzZrak .na-frames picture, .cc_qEqQgsXv08_RLGHT5vLc7 .na-frames picture, .cc_qEqQgsXv08_KFkvX4UcCQ .na-frames picture {
  object-position: inherit;
}

.cc_qEqQgsXv08_AKgtOzZrak .na-frames__next, .cc_qEqQgsXv08_RLGHT5vLc7 .na-frames__next, .cc_qEqQgsXv08_KFkvX4UcCQ .na-frames__next {
  opacity: 0;
}

.cc_qEqQgsXv08_AKgtOzZrak .na-frames__next.is-shown, .cc_qEqQgsXv08_RLGHT5vLc7 .na-frames__next.is-shown, .cc_qEqQgsXv08_KFkvX4UcCQ .na-frames__next.is-shown {
  opacity: 1;
}
