.tingle-modal.edge-legal-modal {
    z-index: 100000000;
}

#ft.edge-popup-footer-reserve::after {
    content: "";
    display: block;
    height: var(--edge-popup-footer-reserve, 0px);
}

/* Keep the existing notice artwork and controls reachable on short displays. */
body #main_modal.main_modal {
    z-index: 100000000;
    overflow-y: auto;
    overscroll-behavior: contain;
}
@media (max-height: 780px) {
    body #main_modal.main_modal .list-pops {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 12px auto 60px;
    }
}
