/* Bridge — template impor Indoinvite */
.yk-imported-template {
    min-height: 100vh;
    font-family: 'Averia Serif Libre', Georgia, 'Times New Roman', serif;
}

.yk-imported-template.yk-boot-done #kucing_imut,
.yk-imported-template.yk-boot-done #ii-loader,
.yk-imported-template.yk-boot-done .eg-loader,
.yk-imported-template.yk-boot-done .ii-loader,
.yk-imported-template .yk-dismissed,
#kucing_imut.hide,
#ii-loader.hide {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

#kucing_imut,
#ii-loader,
.eg-loader {
    transition: opacity .4s ease;
}

.popup-notif {
    display: none !important;
    position: fixed; inset: 0; z-index: 99998;
    align-items: center; justify-content: center; padding: 1rem;
}
.popup-notif.yk-show { display: flex !important; }
.popup-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.popup-content {
    position: relative; z-index: 2; background: #fff; border-radius: 12px;
    padding: 1.25rem; max-width: 320px; width: 100%; text-align: center;
    box-shadow: 0 12px 40px rgba(0,0,0,.2);
}
.popup-content .btn-ok,
.popup-content button {
    margin-top: .75rem; padding: .5rem 1.5rem; border-radius: 8px;
    border: 2px solid #c9a84c; background: #2563eb; color: #fff;
    font-weight: 600; cursor: pointer;
}

#inv-cover.yk-removed,
.awal.yk-removed,
#inv-cover.hide,
.awal.hide { display: none !important; }

#page,
#inv-main {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
#page.open,
#inv-main.open { display: block !important; }

/* Preview: langsung tampilkan isi */
.yk-imported-template[data-preview="1"] #page,
.yk-imported-template[data-preview="1"] #inv-main {
    display: block !important;
}
.yk-imported-template[data-preview="1"] #inv-cover,
.yk-imported-template[data-preview="1"] .awal {
    display: none !important;
}
