.mlr-guest-gate {
    position: fixed;
    inset: 0;
    z-index: 1000005;
    display: grid;
    place-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease, visibility 180ms ease;
}

.mlr-guest-gate.is-visible {
    opacity: 1;
    visibility: visible;
}

.mlr-guest-gate-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(18, 16, 27, 0.48);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
}

.mlr-guest-gate-dialog {
    position: relative;
    width: min(100%, 480px);
    padding: 34px;
    border: 1px solid rgba(107, 57, 244, 0.18);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 24px 70px rgba(28, 22, 48, 0.2);
    text-align: left;
    transform: translateY(12px) scale(0.985);
    transition: transform 220ms ease;
}

.mlr-guest-gate.is-visible .mlr-guest-gate-dialog {
    transform: translateY(0) scale(1);
}

.mlr-guest-gate-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f5f4f8;
    color: #777381;
}

.mlr-guest-gate-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: #f0ebff;
    color: #6b39f4;
}

.mlr-guest-gate-eyebrow,
.mlr-guest-gate-note {
    margin: 0;
    color: #7d7788;
    font-size: 12px;
    font-weight: 600;
}

.mlr-guest-gate-dialog h2 {
    margin: 7px 0 10px;
    color: #18151f;
    font-size: 28px;
    line-height: 1.15;
    letter-spacing: 0;
}

.mlr-guest-gate-copy {
    margin: 0;
    color: #696373;
    font-size: 15px;
    line-height: 1.65;
}

.mlr-guest-gate-note {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f8f7fb;
    line-height: 1.45;
}

.mlr-guest-gate-actions {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.mlr-guest-gate-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    outline: 0;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.mlr-guest-gate-google {
    gap: 10px;
    border: 1px solid #ddd9e6;
    background: #fff;
    color: #211d29;
}

.mlr-guest-gate-google:hover,
.mlr-guest-gate-google:active {
    border-color: #cbc4d5;
    background: #f8f7fb;
    color: #211d29 !important;
    text-decoration: none;
    transform: translateY(-1px);
}

.mlr-guest-gate-primary {
    border: 1px solid #6b39f4;
    background: #6b39f4;
    color: #fff;
}

.mlr-guest-gate-primary:hover,
.mlr-guest-gate-primary:focus,
.mlr-guest-gate-primary:active,
.mlr-guest-gate-primary:visited {
    border-color: #5d2ee8;
    background: #5d2ee8;
    color: #fff !important;
    text-decoration: none;
}

.mlr-guest-gate-primary:hover {
    transform: translateY(-1px);
}

.mlr-guest-gate-login {
    min-height: 32px !important;
    color: #777181;
    font-weight: 400 !important;
}

.mlr-guest-gate-login:hover,
.mlr-guest-gate-login:active {
    color: #55505f !important;
    text-decoration: none;
}

.mlr-guest-gate-login strong {
    margin-left: 4px;
    color: #332c3d;
}

.mlr-guest-gate-close,
.mlr-guest-gate-backdrop {
    outline: 0;
}

.mlr-guest-gate-close {
    transition: background-color 180ms ease, color 180ms ease;
}

.mlr-guest-gate-close:hover {
    background: #ece8f4;
    color: #4f25d7;
}

body.mlr-guest-gate-open {
    overflow: hidden;
}

@media (max-width: 575px) {
    .mlr-guest-gate {
        align-items: end;
        padding: 10px;
    }

    .mlr-guest-gate-dialog {
        width: 100%;
        padding: 30px 22px 24px;
        border-radius: 20px;
    }

    .mlr-guest-gate-dialog h2 {
        font-size: 24px;
    }
}
