/**
 * AnimateBox.dev — Ribbon Cursor
 * https://animatebox.dev
 *
 * Soft radial wash over a near-black host; ribbon colour is painted on canvas.
 * Never hides the native cursor — the canvas is an additive overlay only.
 */

.ab-ribbon-cursor {
  --ab-rb-bg: #0d0d0d;
  --ab-rb-wash: color-mix(in srgb, #f5f5f5 5%, var(--ab-rb-bg));
  --ab-rb-font: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;

  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(120% 90% at 50% 0%, var(--ab-rb-wash), var(--ab-rb-bg) 70%);
  font-family: var(--ab-rb-font);
  /* Native cursor stays visible — never cursor: none */
}

.ab-ribbon-cursor__canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.ab-ribbon-cursor[data-ab-active="false"] .ab-ribbon-cursor__canvas {
  display: none;
}
