.fip24h-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: none;
    width: 100vw;
    height: 100dvh;
    background: #000;
    overflow: hidden;
}

.fip24h-overlay.is-visible {
    display: block;
}

.fip24h-content,
.fip24h-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.fip24h-link {
    text-decoration: none;
}

.fip24h-image {
    display: block;
    width: 100vw;
    height: 100dvh;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: center;
    border: 0;
    margin: 0;
    padding: 0;
    user-select: none;
    -webkit-user-drag: none;
}

.fip24h-close {
    position: fixed;
    top: max(14px, env(safe-area-inset-top));
    right: max(14px, env(safe-area-inset-right));
    z-index: 2147483001;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font: 400 38px/44px Arial, sans-serif;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
    appearance: none;
}

.fip24h-close:hover,
.fip24h-close:focus-visible {
    background: rgba(0, 0, 0, 0.9);
    outline: 2px solid #fff;
    outline-offset: 2px;
}

body.fip24h-open {
    overflow: hidden !important;
    touch-action: none;
}

@media (max-width: 600px) {
    .fip24h-close {
        width: 44px;
        height: 44px;
        font-size: 34px;
        line-height: 40px;
    }
}
