.qp-motion-frame {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  line-height: 0;
}
.qp-motion-frame > img {
  display: block;
  width: 100%;
  height: auto;
}
.art-plate:hover .qp-motion-frame > img,
.card:hover .qp-motion-frame > img { transform: none; }

.qp-motion-frame > video[data-scene-film] {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: 0;
}
.qp-motion-frame[data-playing] > video[data-scene-film] { opacity: 1; }

.qp-motion-linkwrap { position: relative; min-width: 0; }
.qp-motion-linkwrap[data-full-card] { display: grid; }
.qp-motion-linkwrap > a.card__media { display: block; }

.qp-animate-scene {
  appearance: none;
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  padding: 6px;
  color: #eafaf8;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.qp-motion-linkwrap > .qp-animate-scene {
  inset: 5px 5px auto auto;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.qp-animate-scene .qp-motion-icon {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border: 1px solid #96b3c4;
  border-radius: 50%;
  background: #091520e8;
  box-shadow: 0 2px 6px #0004;
}
.qp-motion-icon::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin-inline-start: 2px;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent currentColor;
}
.qp-animate-scene:focus-visible { outline: 2px solid #9aefd0; outline-offset: -3px; }
.qp-animate-scene:hover .qp-motion-icon,
.qp-animate-scene:focus-visible .qp-motion-icon { border-color: #9aefd0; color: #9aefd0; }
.qp-animate-scene[data-active]:not(:focus-visible) .qp-motion-icon { opacity: 0; }
@media print {
  .qp-animate-scene, .qp-motion-frame > video[data-scene-film] { display: none; }
}
