.site-cookie-consent,
.site-cookie-consent *,
.site-cookie-settings {
    box-sizing: border-box;
}

.site-cookie-consent[hidden],
.site-cookie-consent [hidden],
.site-cookie-settings[hidden] {
    display: none !important;
}

.site-cookie-consent {
    position: fixed;
    z-index: 2147483000;
    right: 18px;
    bottom: 18px;
    left: 18px;
    color: #17181b;
    font-family: "Onest", "Montserrat", "Segoe UI", sans-serif;
}

.site-cookie-consent__panel {
    width: min(760px, 100%);
    margin: 0 auto;
    padding: 16px;
    border: 1px solid rgba(22, 24, 29, .09);
    border-radius: 18px;
    background: rgba(251, 251, 252, .96);
    box-shadow: 0 14px 42px rgba(23, 27, 38, .14), 0 2px 8px rgba(23, 27, 38, .05);
    backdrop-filter: blur(20px) saturate(130%);
}

.site-cookie-consent--dark {
    color: #f5f5f6;
}

.site-cookie-consent--dark .site-cookie-consent__panel {
    border-color: rgba(255, 255, 255, .1);
    background: rgba(27, 27, 30, .96);
    box-shadow: 0 16px 46px rgba(0, 0, 0, .32), 0 2px 8px rgba(0, 0, 0, .18);
}

.site-cookie-consent--dark .site-cookie-consent__icon {
    color: #f1f1f3;
    border-color: rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .045);
}

.site-cookie-consent [data-site-cookie-summary] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
}

.site-cookie-consent__message {
    display: flex;
    align-items: flex-start;
    min-width: 0;
    gap: 12px;
}

.site-cookie-consent__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    color: #27282c;
    border: 1px solid rgba(22, 24, 29, .08);
    border-radius: 11px;
    background: rgba(22, 24, 29, .035);
    font-size: 14px;
}

.site-cookie-consent__copy {
    max-width: 500px;
    min-width: 0;
}

.site-cookie-consent h2,
.site-cookie-consent p {
    font-family: inherit !important;
}

.site-cookie-consent h2 {
    margin: 0;
    color: inherit !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: -.02em;
}

.site-cookie-consent p {
    margin: 4px 0 0;
    color: rgba(23, 24, 27, .64) !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
}

.site-cookie-consent--dark p {
    color: rgba(255, 255, 255, .64) !important;
}

.site-cookie-consent a {
    color: inherit !important;
    text-decoration: underline !important;
    text-decoration-color: currentColor !important;
    text-underline-offset: 2px;
}

.site-cookie-consent__actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-cookie-consent__button,
.site-cookie-consent__close,
.site-cookie-settings {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    margin: 0;
    padding: 0 13px;
    color: inherit;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-decoration: none;
    text-transform: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.site-cookie-consent__button--primary {
    color: var(--site-cookie-brand-text) !important;
    border: 1px solid var(--site-cookie-brand);
    background: var(--site-cookie-brand);
    box-shadow: 0 5px 14px rgba(22, 24, 29, .1);
}

.site-cookie-consent__button--secondary {
    color: rgba(23, 24, 27, .7) !important;
    border: 1px solid transparent;
    background: transparent;
}

.site-cookie-consent--dark .site-cookie-consent__button--secondary {
    color: rgba(255, 255, 255, .7) !important;
    border-color: transparent;
    background: transparent;
}

.site-cookie-consent__button--primary:hover,
.site-cookie-consent__button--primary:focus-visible {
    box-shadow: 0 7px 18px rgba(22, 24, 29, .16);
}

.site-cookie-consent__button--secondary:hover,
.site-cookie-consent__button--secondary:focus-visible {
    color: inherit !important;
    background: rgba(22, 24, 29, .05);
}

.site-cookie-consent--dark .site-cookie-consent__button--secondary:hover,
.site-cookie-consent--dark .site-cookie-consent__button--secondary:focus-visible {
    background: rgba(255, 255, 255, .07);
}

.site-cookie-consent__close:hover,
.site-cookie-consent__close:focus-visible {
    background-color: rgba(22, 24, 29, .06);
}

.site-cookie-consent--dark .site-cookie-consent__close:hover,
.site-cookie-consent--dark .site-cookie-consent__close:focus-visible {
    background-color: rgba(255, 255, 255, .07);
}

.site-cookie-settings:hover,
.site-cookie-settings:focus-visible {
    background: rgba(23, 24, 27, .82);
}

.site-cookie-consent__button:focus-visible,
.site-cookie-consent__close:focus-visible,
.site-cookie-settings:focus-visible {
    outline: 2px solid var(--site-cookie-brand, #5e6ad2);
    outline-offset: 2px;
}

.site-cookie-consent__preferences {
    display: grid;
    gap: 10px;
}

.site-cookie-consent__preferences-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 4px;
}

.site-cookie-consent__close {
    width: 38px;
    min-height: 38px;
    padding: 0;
    border: 1px solid rgba(22, 24, 29, .12);
    background: transparent;
}

.site-cookie-consent--dark .site-cookie-consent__close {
    border-color: rgba(255, 255, 255, .13);
}

.site-cookie-consent__choice {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    min-height: 66px;
    margin: 0;
    padding: 12px 14px;
    color: inherit !important;
    border: 1px solid rgba(22, 24, 29, .1);
    border-radius: 11px;
}

.site-cookie-consent--dark .site-cookie-consent__choice {
    border-color: rgba(255, 255, 255, .1);
}

.site-cookie-consent__choice strong,
.site-cookie-consent__choice small {
    display: block;
    color: inherit !important;
    font-family: inherit !important;
}

.site-cookie-consent__choice strong {
    font-size: 13px !important;
    font-weight: 700 !important;
}

.site-cookie-consent__choice small {
    margin-top: 3px;
    opacity: .58;
    font-size: 12px !important;
    line-height: 1.4 !important;
}

.site-cookie-consent__choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.site-cookie-consent__switch {
    position: relative;
    width: 38px;
    height: 22px;
    border-radius: 999px;
    background: rgba(22, 24, 29, .18);
}

.site-cookie-consent--dark .site-cookie-consent__switch {
    background: rgba(255, 255, 255, .18);
}

.site-cookie-consent__switch::after {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
    content: "";
    transition: transform .16s ease;
}

.site-cookie-consent__choice input:checked + .site-cookie-consent__switch {
    background: var(--site-cookie-brand);
}

.site-cookie-consent__choice input:checked + .site-cookie-consent__switch::after {
    transform: translateX(16px);
}

.site-cookie-consent__choice input:focus-visible + .site-cookie-consent__switch {
    outline: 2px solid var(--site-cookie-brand);
    outline-offset: 2px;
}

.site-cookie-consent__choice input:disabled + .site-cookie-consent__switch {
    opacity: .45;
}

.site-cookie-consent__save {
    justify-self: end;
    margin-top: 4px;
}

.site-cookie-settings {
    position: fixed;
    z-index: 2147482999;
    right: 14px;
    bottom: 14px;
    gap: 7px;
    min-height: 36px;
    padding: 0 12px;
    color: #f5f5f6;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    background: rgba(23, 24, 27, .92);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .22);
    backdrop-filter: blur(14px);
}

@media (max-width: 760px) {
    .site-cookie-consent {
        right: 10px;
        bottom: 10px;
        left: 10px;
    }

    .site-cookie-consent__panel {
        padding: 14px;
        border-radius: 16px;
    }

    .site-cookie-consent [data-site-cookie-summary] {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .site-cookie-consent__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .site-cookie-consent__actions--simple .site-cookie-consent__button--primary {
        grid-column: auto;
        grid-row: auto;
    }

    .site-cookie-consent__button--primary {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .site-cookie-consent__button {
        width: 100%;
    }

    .site-cookie-consent__save {
        justify-self: stretch;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-cookie-consent *,
    .site-cookie-settings {
        transition: none !important;
    }
}
