.sweet-alert.story-layer-popup {
    box-sizing: border-box;
    width: 480px !important;
    max-width: calc(100% - 32px);
    max-height: calc(100vh - 32px);
    padding: 20px !important;
    top: 50% !important;
    left: 50% !important;
    margin: 0 !important;
    transform: translate(-50%, -50%) !important;
    overflow-y: auto;
}
.sweet-alert.story-layer-popup-mobile {
    width: 425px !important;
    padding: 16px !important;
}
.sweet-alert.story-layer-popup h2,
.sweet-alert.story-layer-popup p,
.sweet-alert.story-layer-popup fieldset,
.sweet-alert.story-layer-popup .sa-icon {
    display: none !important;
}
.sweet-alert.story-layer-popup .story-layer-popup-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(100vh - 180px);
    margin: 0 auto;
    object-fit: contain;
}
.sweet-alert.story-layer-popup .sa-button-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding-top: 16px;
}
.sweet-alert.story-layer-popup button {
    min-height: 40px;
    max-width: 100%;
    margin: 0 !important;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    white-space: normal;
}
.sweet-alert.story-layer-popup button.cancel {
    background-color: #555 !important;
}
.sweet-alert.story-layer-popup button.confirm {
    background-color: #007c85 !important;
}
