.uns-cookie,
.uns-cookie * {
    box-sizing: border-box;
    letter-spacing: 0;
}

.uns-cookie[hidden],
.uns-cookie-preferences[hidden] {
    display: none !important;
}

.uns-cookie {
    position: fixed;
    z-index: 2147483000;
    right: 22px;
    bottom: 22px;
    left: 22px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 28px;
    width: min(760px, calc(100% - 44px));
    margin: 0 auto;
    padding: 24px;
    border: 1px solid #dce5f1;
    border-radius: 16px;
    background: #fff;
    color: #091a33;
    box-shadow: 0 24px 64px rgba(9, 26, 51, .18);
    font-family: inherit;
}

.uns-cookie__copy {
    min-width: 0;
}

.uns-cookie__label {
    display: inline-block;
    margin: 0 0 8px;
    color: #5861e9;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.uns-cookie h2 {
    margin: 0 0 8px;
    color: #091a33;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.2;
}

.uns-cookie p {
    max-width: 510px;
    margin: 0;
    color: #607088;
    font-size: 14px;
    line-height: 1.55;
}

.uns-cookie a {
    display: inline-block;
    margin-top: 10px;
    color: #4055d6;
    font-size: 12px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.uns-cookie__actions {
    display: grid;
    grid-template-columns: auto auto;
    gap: 9px;
}

.uns-cookie .uns-cookie__button {
    min-width: 126px;
    min-height: 44px;
    margin: 0;
    padding: 11px 16px;
    border-radius: 10px;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
}

.uns-cookie__button--quiet {
    border: 1px solid #d8e1ee;
    background: #fff;
    color: #23304d;
}

.uns-cookie__button--quiet:hover {
    border-color: #bcc9db;
    background: #f7f9fc;
}

.uns-cookie__button--primary {
    border: 1px solid #3478f6;
    background: #3478f6;
    color: #fff;
    box-shadow: 0 9px 22px rgba(52, 120, 246, .22);
}

.uns-cookie__button--primary:hover {
    border-color: #1f66e6;
    background: #1f66e6;
}

.uns-cookie button:focus-visible,
.uns-cookie a:focus-visible,
.uns-cookie-preferences:focus-visible {
    outline: 3px solid rgba(52, 120, 246, .32);
    outline-offset: 3px;
}

.uns-cookie-preferences {
    position: fixed;
    z-index: 2147482000;
    right: 14px;
    bottom: 14px;
    min-height: 38px;
    margin: 0;
    padding: 8px 12px;
    border: 1px solid #dce5f1;
    border-radius: 9px;
    background: #fff;
    color: #526078;
    box-shadow: 0 8px 24px rgba(9, 26, 51, .1);
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
}

.uns-cookie-preferences:hover {
    color: #3449ca;
    border-color: #c5d1e1;
}

@media (max-width: 720px) {
    .uns-cookie {
        right: 0;
        bottom: 0;
        left: 0;
        grid-template-columns: 1fr;
        gap: 18px;
        width: 100%;
        padding: 22px 20px calc(20px + env(safe-area-inset-bottom));
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: 18px 18px 0 0;
    }

    .uns-cookie h2 {
        font-size: 20px;
    }

    .uns-cookie p {
        font-size: 13px;
    }

    .uns-cookie__actions {
        grid-template-columns: 1fr;
    }

    .uns-cookie .uns-cookie__button {
        width: 100%;
        min-height: 46px;
    }

    .uns-cookie__button--primary {
        grid-row: 1;
    }

    .uns-cookie-preferences {
        right: 10px;
        bottom: calc(10px + env(safe-area-inset-bottom));
    }
}

@media (prefers-reduced-motion: reduce) {
    .uns-cookie *,
    .uns-cookie-preferences {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

