/* particles-visibility.css
 * Loads last, after particles-theme.css.
 * Light-mode particle visibility repair. Defines only the numeric shader
 * tokens and the light dot palette.
 * No layout, typography, control, animation or canvas opacity/filter rules.
 */

/* Dark (default): unchanged appearance. Neutral multipliers; the shader keeps additive blending. */
.particle-section {
  --p-dot-opacity: 1;
  --p-dot-size: 1;
}

/* Light: denser, more legible particle M on ivory #f4f2ed. Normal alpha blending. */
@media (prefers-color-scheme: light) {
  :root .particle-section {
    /* The shader multiplies final point alpha by this value and clamps it to 1.
       Faint points become clearly visible. Points that are already opaque stay distinct. */
    --p-dot-opacity: 1.9;

    /* The shader multiplies gl_PointSize by this value. A modest increase adds
       density without merging points into a solid silhouette. */
    --p-dot-size: 1.3;

    /* Deeper burnt copper, umber and warm graphite. These stay warm and avoid near-black. */
    --p-dot-ember: #a3360a; /* burnt copper, approx. 6:1 contrast on #f4f2ed */
    --p-dot-gold: #87480f;  /* deep amber-umber, approx. 6.4:1 */
    --p-dot-ivory: #3a2a22; /* warm graphite-brown, not black */
  }
}
