/* Clickable controls stay aligned with the original 1024 x 1536 poster. */
.maintenance-notification-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    display: none;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right))
        max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    background: rgba(12, 18, 40, .72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overscroll-behavior: contain;
}
.maintenance-notification-overlay[aria-hidden="false"] { display: flex; }
body.maintenance-popup-open { overflow: hidden; }
.maintenance-popup {
    position: relative;
    width: min(100%, 640px, calc((100vh - 32px) * 2 / 3));
    width: min(100%, 640px, calc((100dvh - 32px) * 2 / 3));
    max-height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .4);
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.maintenance-popup:focus { outline: none; }
.maintenance-poster { position: relative; margin: 0; container-type: inline-size; }
.maintenance-poster-image { display: block; width: 100%; height: auto; margin: 0; }
.maintenance-hotspot {
    position: absolute;
    display: block;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    min-width: 0;
    min-height: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(118, 32, 216, .15);
}
.maintenance-hotspot:focus-visible { outline: 3px solid #00bfa9; outline-offset: 3px; }
.maintenance-hotspot-close {
    left: 92.55%; top: 6.65%; width: 7.1%; height: 4.8%;
    min-width: 44px; min-height: 44px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.maintenance-hotspot-email { left: 6.6%; top: 58.45%; width: 48%; height: 8.15%; }
.maintenance-hotspot-website { left: 6.6%; top: 67.8%; width: 66.7%; height: 7.8%; }
.maintenance-hotspot-contact {
    left: 45.4%; top: 80%; width: 47.6%; height: 6.4%;
    min-height: 44px;
    transform: translateY(-50%);
}
.maintenance-hotspot-dismiss {
    left: 7.25%; top: 80%; width: 34.9%; height: 6.15%;
    min-height: 44px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .35em;
    border: 1px solid #aeb7ca;
    border-radius: clamp(10px, 3vw, 22px);
    background: linear-gradient(135deg, #f3f4f9, #e0e4ef);
    color: #05082f;
    font: 700 clamp(10px, 3.2cqw, 22px)/1 system-ui, -apple-system, "Segoe UI", sans-serif;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.maintenance-hotspot-dismiss svg { width: 1.05em; height: 1.05em; flex: 0 0 auto; }
.maintenance-hotspot-dismiss:hover { filter: brightness(.97); }
.maintenance-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
