.cookie-notice {
    position: fixed;
    z-index: 2147483000;
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    left: 16px;
    display: flex;
    align-items: center;
    gap: 24px;
    width: min(920px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    margin: 0 auto;
    padding: 20px 24px;
    overflow-y: auto;
    border: 1px solid #e9ddeb;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 40px rgba(35, 18, 41, 0.2);
    color: #332c37;
    font-family: "CeraPro-Regular", Arial, sans-serif;
}

.cookie-notice__text {
    flex: 1;
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

.cookie-notice__text a {
    color: #713182;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-notice__text a:hover {
    color: #4e225c;
}

.cookie-notice__button {
    flex: none;
    min-width: 124px;
    padding: 12px 22px;
    border: 0;
    border-radius: 100px;
    background: #823f91;
    color: #fff;
    cursor: pointer;
    font-family: "CeraPro-Medium", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.4;
}

.cookie-notice__button:hover {
    background: #693177;
}

.cookie-notice a:focus-visible,
.cookie-notice__button:focus-visible {
    outline: 2px solid #823f91;
    outline-offset: 3px;
}

@media (max-width: 640px) {
    .cookie-notice {
        right: 12px;
        bottom: max(12px, env(safe-area-inset-bottom));
        left: 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        width: auto;
        max-height: calc(100dvh - 24px);
        padding: 18px;
        border-radius: 16px;
    }

    .cookie-notice__text {
        font-size: 14px;
    }

    .cookie-notice__button {
        width: 100%;
    }
}
