﻿/* Disable costly dialog/overlay animations & backdrop blur globally.
   This dramatically smooths first paint on slower Android WebViews. */

.mud-overlay,
.mud-dialog,
.mud-dialog-container,
.mud-dialog-content {
    animation: none !important;
    transition: none !important;
}

/* Backdrop blur is expensive on mobile GPUs; turn it off */
.mud-overlay {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Respect OS preference (also helps perf) */
@media (prefers-reduced-motion: reduce) {
    .mud-overlay,
    .mud-dialog,
    .mud-dialog-container,
    .mud-dialog-content {
        animation: none !important;
        transition: none !important;
    }

    .mud-overlay {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
}
