.bmr-news {
    position: fixed;
    z-index: 9990;
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    width: min(320px, calc(100% - 24px));
    max-height: 50vh;
    overflow: auto;
    box-sizing: border-box;
    background: #17191e;
    color: #fff;
    border: 1px solid #474b54;
    border-bottom: 3px solid #ab2338;
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .35);
    font-size: .95rem;
    line-height: 1.45;
}
.bmr-news[hidden],
.bmr-news .bmr-news__close[hidden] {
    display: none;
}
.bmr-news .bmr-news__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: .35rem .75rem;
    padding: .75rem 1rem 1rem;
}
.bmr-news .bmr-news__badge {
    justify-self: start;
    padding: .25em .65em;
    border-radius: 3px;
    background: #a61f34;
    color: #fff;
    font-size: .8em;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.bmr-news .bmr-news__close {
    grid-column: 2;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #707986;
    border-radius: 5px;
    background: #252830;
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}
.bmr-news .bmr-news__message {
    grid-column: 1 / -1;
    overflow-wrap: anywhere;
}
.bmr-news .bmr-news__message a {
    color: #fff;
    text-decoration: underline;
    box-shadow: none;
}
.bmr-news :is(a, button):focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.bmr-news .bmr-news__headlines {
    list-style: none;
    padding: 0;
    margin: 0;
}
.bmr-news .bmr-news__headlines li + li {
    margin-top: .45rem;
    padding-top: .45rem;
    border-top: 1px solid #474b54;
}
.bmr-news .bmr-news__message p {
    margin: 0;
}

@media (width < 768px) {
    .bmr-news {
        display: none;
    }
}
