/* =====================================================
   GALLERY SOGOLI - PERFORMANCE LAYER (load last)
===================================================== */

/* backdrop blur over a moving background re-blurs every frame:
   it was the #1 cause of jank, so it is off everywhere */
*, *::before, *::after {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

/* header / bottom bar lose the blur, so give them a more solid fill */
.glass-header,
.bottom-control-bar {
    background: rgba(255, 255, 255, .88) !important;
}

body.dark-mode .glass-header,
body.dark-mode .bottom-control-bar {
    background: rgba(30, 27, 31, .92) !important;
}

/* old blurred orbs replaced by the static background */
.background-decoration { display: none !important; }

/* no endless decorative animations (float, shine, pulse, rings) */
*, *::before, *::after {
    animation-iteration-count: 1 !important;
}

/* ...except the background, which is GPU-only (transform/opacity) */
.sg-spark,
.gs-shine, .gs-banner::before, .gs-banner::after {
    animation-iteration-count: infinite !important;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
