/*
 * Alpha 7.2 no-flash boot layer.
 *
 * Keep native IC5 chrome invisible during the short period before the SHC
 * shell relocates the live controls. A timed CSS failsafe and the JS fallback
 * class restore it automatically if the shell cannot mount.
 */
@keyframes shcHeaderBootFailsafe {
    to {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

body:not(.ipsLayout_minimal):not(.ipsLayout_minimalNoHome):not(.shcGlobalShellMounted):not(.shcGlobalShellFallback):not(.shcHeaderTransferred)
:is(.ipsHeader, .ipsNavPanel, .ipsNavPanelBreadcrumbs, .ipsMobileHeader, .ipsHeaderExtra) {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    animation: shcHeaderBootFailsafe 0s linear 1800ms forwards;
}

body.shcGlobalShellFallback
:is(.ipsHeader, .ipsNavPanel, .ipsNavPanelBreadcrumbs, .ipsMobileHeader, .ipsHeaderExtra) {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    animation: none;
}

body.shcGlobalShellMounted
:is(.ipsHeader, .ipsNavPanel, .ipsNavPanelBreadcrumbs, .ipsMobileHeader, .ipsHeaderExtra),
body.shcHeaderTransferred
:is(.ipsHeader, .ipsNavPanel, .ipsNavPanelBreadcrumbs, .ipsMobileHeader, .ipsHeaderExtra) {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    animation: none;
}

