@supports (animation-timeline: scroll()) {
  .manta-pp-bar {
    position: fixed;
    z-index: 20;
    display: block !important;
    will-change: transform;
    contain: layout;
    backface-visibility: hidden;
    animation: var(--manta-pp-animation);
    animation-timeline: scroll(root);
    animation-range: 0% 100%;
    background: var(--manta-pp-color);
    border-radius: var(--manta-pp-border-radius);
    box-shadow: var(--manta-pp-box-shadow);
    inset: var(--manta-pp-final-inset);
    background-size: var(--manta-pp-background-size);
    transform-origin: var(--manta-pp-transform-origin);
  }
  @keyframes manta-pp-grow {
    0% {
      transform: scale(var(--manta-pp-scale));
    }
    100% {
      transform: scale(1, 1);
    }
  }
  @keyframes manta-pp-fade-out {
    96% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
}

@supports not (animation-timeline: scroll()) {
  .manta-pp-bar {
    display: none !important;
  }
}

/* The bar only follows the visitor's own scrolling, so it stays with reduced motion; just no fade-out. */
@media (prefers-reduced-motion: reduce) {
  .manta-pp-bar {
    animation-name: manta-pp-grow !important;
  }
}

@media print {
  .manta-pp-bar {
    display: none !important;
  }
}
