/**
 * AnimateBox.dev — Party Cursor
 * https://animatebox.dev
 *
 * Solid host background; confetti particles paint on a canvas overlay.
 * Native cursor is hidden while the pointer is inside the host (opt-out via options).
 */

.ab-party-cursor {
  --ab-party-bg: #0b0b0c;
  --ab-party-font: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  --ab-party-label-color: #f3f1ec;

  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  background: var(--ab-party-bg);
  font-family: var(--ab-party-font);
}

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

.ab-party-cursor__label {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  margin: 0;
  transform: translate(-50%, -50%);
  white-space: pre;
  pointer-events: none;
  user-select: none;
  color: var(--ab-party-label-color);
  font-family: var(--ab-party-font);
  font-weight: 400;
  font-size: clamp(1.75rem, 5vw, 3rem);
  line-height: 1.4;
  letter-spacing: -0.02em;
  text-align: center;
}

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

.ab-party-cursor[data-ab-cursor-hidden="true"],
.ab-party-cursor[data-ab-cursor-hidden="true"] * {
  cursor: none !important;
}
