/*
 * Safari repaints the content beneath a fixed backdrop-filter while scrolling.
 * The shared header also has large, blurred background blobs, making that work
 * particularly noticeable on iPhones.  Use solid mobile surfaces and remove
 * decorative blur below the desktop navigation breakpoint.
 */
@media (max-width: 767.98px) {
    .blob {
        display: none;
    }

    .glass-panel,
    #mobile-menu {
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }

    .glass-panel {
        background: rgba(255, 255, 255, 0.98) !important;
    }

    html.dark .glass-panel {
        background: rgba(17, 24, 39, 0.98) !important;
    }

    #mobile-menu {
        background: #fff !important;
    }

    html.dark #mobile-menu {
        background: #101722 !important;
    }
}
