.news-push-bar[hidden] {
    display: none;
}

@keyframes news-push-slide-up {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@keyframes news-push-fade-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

.news-push-bar:not([hidden]) {
    animation: news-push-slide-up 1500ms cubic-bezier(.45, 0, .45, 1) 140ms both;
}

@media (prefers-reduced-motion: no-preference) {
    .news-push-bar.is-fading:not([hidden]) {
        animation: news-push-fade-out 1500ms ease-in-out both;
    }
}

@media (prefers-reduced-motion: reduce) {
    .news-push-bar:not([hidden]) {
        animation: none;
    }
}

.news-push-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 1000;
    display: grid;
    grid-template-columns: minmax(0, 27rem) 44px;
    align-items: center;
    justify-content: center;
    column-gap: 8px;
    box-sizing: border-box;
    padding: 8px max(12px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    border-top: 1px solid #dce5ef;
    background: #fff;
    font: 600 14px/1.25 Arial, sans-serif;
}

.news-push-bar button {
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    font: inherit;
}

.news-push-bar button:focus-visible {
    outline: 2px solid #215eaf;
    outline-offset: 2px;
}

.news-push-bar__subscribe {
    min-width: 0;
    min-height: 44px;
    padding: 8px 12px;
    background: #155eb0;
    color: #fff;
}

.news-push-bar__subscribe:not(:disabled):hover {
    background: #104e95;
}

.news-push-bar[data-variant="pink"] .news-push-bar__subscribe {
    background: #d91a83;
    color: #fff;
}

.news-push-bar[data-variant="pink"] .news-push-bar__subscribe:not(:disabled):hover {
    background: #c11675;
}

.news-push-bar__subscribe:disabled {
    opacity: .68;
    cursor: wait;
}

.news-push-bar .news-push-bar__close {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: #edf3fa;
    color: #314a68;
    font: 400 26px/1 Arial, sans-serif;
}

.news-push-bar .news-push-bar__close:hover {
    background: #e0ebf7;
}

.news-push-bar__status {
    grid-column: 1 / -1;
    margin-top: 6px;
    color: #314a68;
    font-weight: 400;
    text-align: center;
}

.news-push-bar__status:empty {
    display: none;
}
