#entry-popup.ep-hidden {
    display: none;
}
#entry-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
}
#entry-popup .ep-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(2px);
}
#entry-popup .ep-modal {
    position: relative;
    max-width: min(90vw);
    width: auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
    animation: ep-pop .22s ease-out;
}
#entry-popup .ep-modal img {
    width: 100%;
    height: auto;
}
#entry-popup .ep-content img {
    display: block;
    width: 100%;
    height: auto;
}
#entry-popup .ep-close {
    position: absolute;
    top: 8px;
    right: 8px;
    border: 0;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
#entry-popup .ep-close:hover {
    background: rgba(0, 0, 0, .75);
}
@keyframes ep-pop {
    from {
        transform: translateY(8px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
body.ep-lock {
    overflow: hidden;
}