/* Polyana background v1 — same picture as pt-style-v16, painted on its own fixed layer.
   `background-attachment: fixed` on <body> (while <html> has its own background) cannot be
   composited, so the browser repainted the whole window on every scroll frame. A fixed
   pseudo-element is composited once and simply stays put while the page scrolls.
   Phones already use scrolling backgrounds (max-width:720px), so they are left untouched. */
@media (min-width:721px) {
  html body {
    background-image:none !important;
    background-color:transparent !important;
  }
  html body::before {
    content:"" !important;
    display:block !important;
    position:fixed !important;
    inset:0 !important;
    z-index:-1 !important;
    pointer-events:none !important;
    mix-blend-mode:normal !important;
    background-color:#fff !important;
    background-image:linear-gradient(90deg,
      transparent 0,
      transparent var(--pt-outward-start),
      rgba(255,255,255,.16) var(--pt-outward-mid),
      rgba(255,255,255,.64) var(--pt-edge-strip),
      #fff calc(var(--pt-edge-strip) + var(--pt-edge-fade)),
      #fff calc(100% - var(--pt-edge-strip) - var(--pt-edge-fade)),
      rgba(255,255,255,.64) calc(100% - var(--pt-edge-strip)),
      rgba(255,255,255,.16) calc(100% - var(--pt-outward-mid)),
      transparent calc(100% - var(--pt-outward-start)),
      transparent 100%
    ), url('/assets/site-bg-polyana-v13.webp') !important;
    background-repeat:no-repeat, no-repeat !important;
    background-size:100% 100%, cover !important;
    background-position:center center, center top !important;
    background-attachment:scroll, scroll !important;
    transform:translateZ(0);
  }
}
