/* Effects: fluid cursor canvas only.
   The background is the dotted paper itself (CSS in global.css) —
   a sketch sheet needs no shader, just ink. */
.fx {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Fluid cursor — above everything, pure overlay.
   Multiply blend: pencil / red-pen "ink" trails darken the paper,
   like a pen dragged across the sheet. */
.fx-fluid {
  z-index: 9999;
  mix-blend-mode: multiply;
  opacity: 0.4;
}

@media (max-width: 640px) {
  .fx-fluid {
    opacity: 0.3;
  }
}

.fx.is-failed {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .fx-fluid {
    display: none;
  }
}
