.cookie-notice {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 24px;
    width: min(560px, calc(100vw - 48px));
    padding: 20px 24px;
    color: #ffffff;
    background: #07131f;
    border: 1px solid rgba(241, 169, 61, 0.45);
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(7, 19, 31, 0.2);
    font-size: 14px;
    line-height: 1.45;
}

.cookie-notice[hidden] {
    display: none;
}

.cookie-notice__text {
    margin: 0;
}

.cookie-notice__link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-notice__link:hover,
.cookie-notice__link:focus-visible {
    color: #e39b00;
}

.cookie-notice__button {
    flex: 0 0 auto;
    min-width: 108px;
    padding: 11px 18px;
    color: #07131f;
    background: #fee701;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.cookie-notice__button:hover,
.cookie-notice__button:focus-visible {
    background: #f6d900;
}

.cookie-notice__button:active {
    transform: translateY(1px);
}

@media only screen and (max-width: 600px) {
    .cookie-notice {
        right: 12px;
        bottom: 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        width: calc(100vw - 24px);
        padding: 18px;
    }

    .cookie-notice__button {
        width: 100%;
    }
}