/* Hide body scroll when overlay is active */
body.rank-over-they-active {
    overflow: hidden;
}

/* Only hide main content when overlay is active */
body.rank-over-they-active #content,
body.rank-over-they-active #main,
body.rank-over-they-active main,
body.rank-over-they-active article,
body.rank-over-they-active .site-content {
    display: none;
}

#rank-over-they-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
}

#rank-over-they-content {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #fff;
    overflow: hidden;
}

#rank-over-they-frame {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#rank-over-they-container {
    animation: fadeIn 0.3s ease-in-out;
} 