/* Keep the original texture; tint only the decorative layer, not the content. */
body.pv-page,
body.site-page {
  isolation: isolate;
}

body.pv-page::before,
body.site-page::before {
  content: '';
  display: block;
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--pv-accent) url('/static/damascus.webp') center / cover no-repeat;
  background-blend-mode: luminosity;
  opacity: 0.18;
}

[data-theme='light'] body.pv-page::before,
[data-theme='light'] body.site-page::before {
  opacity: 0.05;
}

@media print, (forced-colors: active) {
  body.pv-page::before,
  body.site-page::before {
    display: none;
  }
}
