/* =========================
   SnowFX base layer
========================= */

#snowfx-layer {
    position: fixed;
    inset: 0;
    z-index: 999998;
    overflow: hidden;
    pointer-events: none;
}

/* =========================
   Snowflake styling
========================= */

.snowfx-flake {
    position: absolute;
    top: 0;
    left: 0;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    will-change: transform;

    /* Keep emoji glyphs consistent across platforms */
    font-family: Arial, Helvetica, sans-serif;
    font-variant-emoji: text;
}

/* =========================
   Toggle button
   Note: positioning & sizing
   is handled inline in JS
========================= */

#snowfx-toggle {
    pointer-events: auto;
}

/* =========================
   Toast notification
========================= */

.snowfx-frontend-toast {
    position: fixed;
    left: 50%;
    bottom: 84px;
    transform: translateX(-50%);
    z-index: 2147483646;

    pointer-events: none;

    padding: 12px 18px;
    border-radius: 25px;

    background: rgba(0, 0, 0, 0.75);
    color: #ffffff;

    font-size: 13px;
    line-height: 1.4;
    text-align: center;

    width: max-content;
    max-width: 92vw;

    white-space: normal;
    overflow-wrap: anywhere;

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
