html.livve-launch-modal-open,
body.livve-launch-modal-open {
    overflow: hidden !important;
}

.livve-launch-modal {
    position: fixed;
    z-index: 2147483000;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.livve-launch-backdrop {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.48);
}

.livve-launch-dialog {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 350px;
    max-width: calc(100vw - 48px);
    max-height: calc(100vh - 48px);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.24);
    border-radius: 10px;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.30);
    overflow: hidden;
}

.livve-launch-titlebar {
    min-height: 40px;
    padding: 0 8px 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #ffffff;
    background: var(--theme-nav-bg, #ffffff);
    color: #151515;
    color: var(--theme-nav-text, #151515);
    border-bottom: 1px solid rgba(0, 0, 0, 0.20);
}

.livve-launch-title {
    min-width: 0;
    padding: 10px 0;
    font-size: 13px;
    line-height: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.livve-launch-close {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    margin: 4px 0;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: inherit;
    font: 24px/28px Arial, Helvetica, sans-serif;
    text-align: center;
    cursor: pointer;
}

.livve-launch-close:hover,
.livve-launch-close:focus {
    background: #f3f3f4;
    background: var(--theme-nav-hover, #f3f3f4);
    color: var(--pink-dark, #e81654);
    outline: none;
}

.livve-launch-frame-wrap {
    display: block;
    max-width: calc(100vw - 48px);
    max-height: calc(100vh - 90px);
    overflow: hidden;
    background: #fff;
}

.livve-launch-frame {
    display: block;
    width: 350px;
    height: 150px;
    max-width: calc(100vw - 48px);
    max-height: calc(100vh - 90px);
    margin: 0;
    border: 0;
    background: #fff;
}

@media (max-width: 480px) {
    .livve-launch-dialog {
        max-width: calc(100vw - 20px);
    }

    .livve-launch-frame-wrap,
    .livve-launch-frame {
        max-width: calc(100vw - 20px);
    }
}
