/* Loaded after https://ct.ttmenus.com/css/loader.css — stable full-screen stage + centered logo */
#loader {
    box-sizing: border-box;
    inset: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    height: 100dvh;
    height: 100vh;
    overflow: hidden;
    display: block;
    transform-origin: 50% 50%;
    -webkit-transform-origin: 50% 50%
}

/* Center the branding GIF independent of flex flow / siblings (avoids perceived “jump”) */
#loader #loaderImage {
    position: absolute;
    left: 50%;
    top: 50%;
    margin: 0;
    transform: translate(-50%, -50%);
    max-width: calc(100% - 2rem);
    max-height: min(360px, 70dvh);
    z-index: 1
}

/* Ad UI: absolute within #loader — not position:fixed — so parent exit transforms don’t re-root to the viewport */
.loader-ad-container {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    z-index: 10001
}
