.hcc-banner,
.hcc-floating-button,
.hcc-inline-preferences,
.hcc-toast {
    font-family: inherit;
}

.hcc-banner[hidden],
.hcc-floating-button[hidden],
.hcc-toast[hidden] {
    display: none !important;
}

.hcc-banner {
    position: fixed;
    z-index: 999999;
    width: min(720px, calc(100vw - 32px));
    color: var(--hcc-text, #fff);
}

.hcc-position-bottom-center {
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
}

.hcc-position-bottom-left {
    left: 20px;
    bottom: 20px;
}

.hcc-position-bottom-right {
    right: 20px;
    bottom: 20px;
}

.hcc-toast {
    position: fixed;
    z-index: 999999;
    width: min(420px, calc(100vw - 32px));
    padding: 14px 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--hcc-bg, #111);
    color: var(--hcc-text, #fff);
    border-left: 4px solid var(--hcc-primary, #FE0E57);
    border-radius: 12px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, .24);
    font-size: 14px;
    line-height: 1.45;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease;
}

.hcc-toast.hcc-position-bottom-center {
    transform: translateX(-50%) translateY(8px);
}

.hcc-toast--visible {
    opacity: 1;
    transform: translateY(0);
}

.hcc-toast.hcc-position-bottom-center.hcc-toast--visible {
    transform: translateX(-50%) translateY(0);
}

.hcc-toast__message {
    flex: 1;
}

.hcc-toast__close {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: currentColor;
    cursor: pointer;
    opacity: .78;
}

.hcc-toast__close:hover,
.hcc-toast__close:focus-visible {
    opacity: 1;
}

.hcc-toast__close:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.hcc-toast__close svg {
    display: block;
    width: 18px;
    height: 18px;
    margin: 3px;
    pointer-events: none;
}

.hcc-banner__content {
    background: var(--hcc-bg, #111);
    color: var(--hcc-text, #fff);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
}

.hcc-banner__title {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 1.25;
}

.hcc-banner__description {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.5;
}

.hcc-banner__description a {
    color: currentColor;
    text-decoration: underline;
}

.hcc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.hcc-button,
.hcc-inline-preferences {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
}

.hcc-button--primary {
    background: var(--hcc-primary, #FE0E57);
    color: #fff;
}

.hcc-button--secondary {
    background: #fff;
    color: #111;
}

.hcc-button--link {
    background: transparent;
    color: var(--hcc-text, #fff);
    text-decoration: underline;
    padding-inline: 4px;
}

.hcc-preferences {
    margin: 16px 0;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .18);
}

.hcc-option {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 12px 0;
    font-size: 14px;
}

.hcc-option input {
    margin-top: 3px;
}

.hcc-option strong,
.hcc-option small {
    display: block;
}

.hcc-option small {
    opacity: .8;
    margin-top: 3px;
    line-height: 1.4;
}

.hcc-floating-button {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999998;

    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: var(--hcc-primary, #FE0E57);
    color: #fff;

    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .18);

    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}


.hcc-floating-button.hcc-position-bottom-center {
    left: 50%;
    right: auto;
    bottom: 24px;
    transform: translateX(-50%);
}

.hcc-floating-button.hcc-position-bottom-left {
    left: 24px;
    right: auto;
    bottom: 24px;
    transform: none;
}

.hcc-floating-button.hcc-position-bottom-right {
    right: 24px;
    left: auto;
    bottom: 24px;
    transform: none;
}

.hcc-floating-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, .22);
}

.hcc-floating-button.hcc-position-bottom-center:hover {
    transform: translateX(-50%) translateY(-2px);
}

.hcc-floating-button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(254, 14, 87, .25), 0 10px 25px rgba(0, 0, 0, .18);
}

.hcc-floating-button svg {
    width: 26px;
    height: 26px;
    display: block;
    pointer-events: none;
}

.hcc-inline-preferences {
    background: var(--hcc-bg, #111);
    color: var(--hcc-text, #fff);
}

@media (max-width: 600px) {
    .hcc-banner {
        width: calc(100vw - 24px);
    }

    .hcc-position-bottom-center,
    .hcc-position-bottom-left,
    .hcc-position-bottom-right {
        left: 12px;
        right: 12px;
        bottom: 12px;
        transform: none;
    }

    .hcc-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hcc-button {
        width: 100%;
    }

    .hcc-toast.hcc-position-bottom-center {
        transform: translateY(8px);
    }

    .hcc-toast.hcc-position-bottom-center.hcc-toast--visible {
        transform: translateY(0);
    }

    .hcc-floating-button {
        right: 16px;
        bottom: 16px;
        width: 50px;
        height: 50px;
        min-width: 50px;
        min-height: 50px;
    }

    .hcc-floating-button.hcc-position-bottom-center {
        left: 50%;
        right: auto;
        bottom: 16px;
        transform: translateX(-50%);
    }

    .hcc-floating-button.hcc-position-bottom-left {
        left: 16px;
        right: auto;
        bottom: 16px;
        transform: none;
    }

    .hcc-floating-button.hcc-position-bottom-right {
        right: 16px;
        left: auto;
        bottom: 16px;
        transform: none;
    }

    .hcc-floating-button.hcc-position-bottom-center:hover {
        transform: translateX(-50%) translateY(-2px);
    }

}

.hcc-policy-links {
    display: inline-flex;
    gap: .35em;
    align-items: center;
    flex-wrap: wrap;
    margin-left: .25em;
}
