/*!
 * Sparkle for Divi — Ambient Engine styles v1.0.0
 */

/* Canvas overlay — positioning handled via JS inline styles.
   These rules are safety defaults only. */
canvas[data-sparfodi-ambient] {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    display: block;
}

/* Ensure host element creates a stacking context so the canvas
   blend mode composites against the element, not the full page. */
.sfd-ambient-host {
    isolation: isolate;
}

/* Respect reduced motion — hide canvas entirely */
@media (prefers-reduced-motion: reduce) {
    canvas[data-sparfodi-ambient] {
        display: none;
    }
}
