/* The trail's canvas: fixed over the page, and deliberately inert.

   pointer-events:none is what makes it safe to put on top of a working tool —
   clicks, text selection and a file dropped onto an upload zone all pass
   straight through to whatever is underneath. The z-index sits above the
   interface so the stroke is not clipped by a panel, but the canvas cannot be
   interacted with, so nothing is covered in any way that matters. */
#ww-comet {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2147483000;
  pointer-events: none;
  display: block;
}

/* Belt and braces: the script removes the canvas in both these cases, but if
   it never runs — blocked, bundled badly, an error earlier on the page — the
   element is hidden rather than left as a blank layer over the interface. */
@media (prefers-reduced-motion: reduce) { #ww-comet { display: none; } }
@media (pointer: coarse)                { #ww-comet { display: none; } }
