[data-tt-fx="scanlines"][data-tt-fx-m="always"]::after,
[data-tt-fx="scanlines"] .tt-fx-layer--scanlines {
  content: "" !important;
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background-image:
    repeating-linear-gradient(
      180deg,
      rgba(0, 0, 0, calc(var(--tt-fx-a) * 0.72)) 0 1px,
      transparent 1px 3px
    ),
    linear-gradient(180deg, transparent 0%, rgba(255, 61, 138, calc(var(--tt-fx-a) * 0.28)) 50%, transparent 100%) !important;
  background-size: 100% 100%, 100% 28% !important;
  background-repeat: repeat, no-repeat !important;
  mix-blend-mode: multiply;
  opacity: 1;
  animation: tt-fx-scan 3.2s linear infinite !important;
}
[data-tt-fx="scanlines"][data-tt-fx-m="always"]::after { content: "" !important; }
[data-tt-fx="scanlines"][data-tt-fx-m="hover"]::after {
  content: "" !important;
  opacity: 0;
  transition: opacity .15s steps(2);
}
[data-tt-fx="scanlines"][data-tt-fx-m="hover"]:hover::after { opacity: 1; }
@keyframes tt-fx-scan {
  from { background-position: 0 0, 0 -20%; }
  to { background-position: 0 0, 0 120%; }
}
@media (prefers-reduced-motion: reduce) {
  html:not(.tt-fx-ignore-prm) [data-tt-fx="scanlines"]::after,
  html:not(.tt-fx-ignore-prm) .tt-fx-layer--scanlines { animation: none !important; }
}
