/* Beta Sigma Design System -- <bs-particle-background> (P4 Home pilot).
   docs/frontend/FROZEN_MIGRATION_PLAN.md §8.4.6.

   A reusable, purely decorative, additive layer: transparent connected-
   node canvas sitting BEHIND whatever content its host places it inside.
   It never sets its own opaque background -- the Design System's own
   var(--bs-color-canvas), declared by the consuming component (currently
   only bs-home.css's own .bs-home__canvas rule), remains the sole page
   background underneath it.

   Every selector is scoped beneath the bs-particle-background tag. No new
   --bs-* token is declared. */

bs-particle-background {
  display: block;
  position: absolute;
  inset: 0;
  /* Negative stacking order so this layer paints behind ordinary in-flow
     content (§13) -- its host element establishes a local stacking
     context via `position: relative; z-index: 0;` (see bs-home.css's own
     .bs-home__canvas rule) so this negative index is contained to that
     host, not the whole document. */
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

bs-particle-background .bs-particle-background__canvas {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
