.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    width: 100%;
    flex-shrink: 0;
}

.site-header > .header,
.site-header > .profile-head {
    position: relative;
    top: 0 !important;
    transform: none !important;
}

.site-header > .header {
    display: block !important;
}

.site-header--legacy > .header {
    display: flex !important;
}

.site-notice {
    box-sizing: border-box;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    flex-shrink: 0;
    padding: 24px 32px;
    background: #ef3340;
    border-bottom: 1px solid #d52b37;
    border-radius: 16px;
}

.site-notice__inner {
    position: relative;
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding-right: 48px;
}

.site-notice[hidden] {
    display: none;
}

.site-notice .site-notice__close {
    position: absolute;
    top: -8px;
    right: -8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
}

.site-notice__close svg {
    color: inherit;
}

.site-notice .site-notice__close:hover {
    background: rgba(255, 255, 255, 0.15);
}

.site-notice .site-notice__title {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.site-notice .site-notice__text {
    margin: 0;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.5;
}

.site-notice .site-notice__text + .site-notice__text {
    margin-top: 8px;
}

.site-notice strong {
    color: inherit;
}

.site-notice .site-notice__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 8px 16px;
    border: 1px solid #ffffff;
    border-radius: 8px;
    background: #ffffff;
    color: #242624;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-align: center;
    text-decoration: none;
}

.site-notice .site-notice__button:hover {
    background: #f0f0f0;
    color: #242624;
}

.site-notice .site-notice__button:focus-visible,
.site-notice .site-notice__close:focus-visible {
    outline: 2px solid #ffffff !important;
    outline-offset: 4px;
}

@media (max-width: 767px) {
    .site-notice {
        padding: 20px 16px;
    }

    .site-notice .site-notice__title {
        font-size: 18px;
    }

    .site-header--legacy > .header {
        height: 53px !important;
    }

    .site-header--legacy + main {
        padding-top: 0;
    }
}
