/**
 * AnimateBox.dev — Halftone Dot Cursor
 * https://animatebox.dev
 *
 * Solid host background; trail paints on a WebGL canvas overlay.
 * Native cursor stays visible.
 */

.ab-halftone-dot-cursor {
  --ab-hdot-bg: #0b0b0c;
  --ab-hdot-font: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;

  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  background: var(--ab-hdot-bg);
  font-family: var(--ab-hdot-font);
}

.ab-halftone-dot-cursor__canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.ab-halftone-dot-cursor[data-ab-active="false"] .ab-halftone-dot-cursor__canvas {
  display: none;
}
