.ng-reader-preview-gate {
    margin: 28px 0 18px;
    padding: 20px 14px 6px;
    border-top: 1px solid rgba(127, 127, 127, .28);
    text-align: center;
}

.ng-reader-preview-gate__text {
    margin: 0 0 12px;
    font-size: .95em;
    line-height: 1.5;
}

.ng-reader-preview-gate__button,
.ng-preview-login-modal__login,
.ng-preview-login-modal__later {
    min-height: 44px;
    border-radius: 999px;
    font: inherit;
    font-weight: 800;
}

.ng-reader-preview-gate__button {
    min-width: 150px;
    border: 0;
    padding: 10px 22px;
    background: #e6005c;
    color: #fff;
    cursor: pointer;
}

.ng-preview-login-modal[hidden] {
    display: none !important;
}

.ng-preview-login-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    display: grid;
    place-items: center;
    padding: 18px;
}

.ng-preview-login-modal__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(0, 0, 0, .62);
    cursor: pointer;
}

.ng-preview-login-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(92vw, 390px);
    max-height: min(80vh, 520px);
    overflow: auto;
    border-radius: 18px;
    padding: 26px 20px 20px;
    background: #fff;
    color: #111;
    box-shadow: 0 18px 56px rgba(0, 0, 0, .28);
    text-align: center;
}

.ng-preview-login-modal__dialog h2 {
    margin: 0 28px 10px;
    font-size: 22px;
    line-height: 1.25;
}

.ng-preview-login-modal__dialog p {
    margin: 0 0 18px;
    color: #555;
    line-height: 1.55;
}

.ng-preview-login-modal__close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
    color: #555;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.ng-preview-login-modal__login,
.ng-preview-login-modal__later {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 16px;
    box-sizing: border-box;
    text-decoration: none;
}

.ng-preview-login-modal__login {
    background: #e6005c;
    color: #fff;
}

.ng-preview-login-modal__later {
    margin-top: 8px;
    border: 0;
    background: transparent;
    color: #666;
    cursor: pointer;
}

body.ng-preview-login-open {
    overflow: hidden;
}
