.ht-consent-banner,
.ht-consent-preferences {
    font-family: "Manrope", "Segoe UI", sans-serif;
}

.ht-consent-banner {
    position: fixed;
    z-index: 2147483000;
    right: 18px;
    bottom: 18px;
    width: min(430px, calc(100vw - 36px));
    padding: 20px;
    color: #fffdf7;
    background: #0b1814;
    border: 1px solid rgba(255, 253, 247, 0.2);
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

.ht-consent-banner[hidden] {
    display: none;
}

.ht-consent-banner p {
    margin: 0;
    color: rgba(255, 253, 247, 0.82);
    font-size: 14px;
    line-height: 1.55;
}

.ht-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.ht-consent-actions button,
.ht-consent-actions a,
.ht-consent-preferences {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border: 1px solid rgba(255, 253, 247, 0.42);
    color: #fffdf7;
    background: transparent;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.ht-consent-actions button:first-child {
    color: #0b1814;
    background: #c8ff4d;
    border-color: #c8ff4d;
}

.ht-consent-actions button:focus-visible,
.ht-consent-actions a:focus-visible,
.ht-consent-preferences:focus-visible {
    outline: 3px solid #ef6b35;
    outline-offset: 3px;
}

.ht-consent-preferences {
    position: fixed;
    z-index: 2147482999;
    left: 12px;
    bottom: 12px;
    color: #12231d;
    background: #f3efe4;
    border-color: rgba(18, 35, 29, 0.25);
    box-shadow: 0 8px 24px rgba(18, 35, 29, 0.14);
}

.ht-consent-preferences[hidden] {
    display: none;
}

@media (max-width: 560px) {
    .ht-consent-banner {
        right: 12px;
        bottom: 12px;
        width: calc(100vw - 24px);
    }

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

@media (prefers-reduced-motion: reduce) {
    .ht-consent-banner,
    .ht-consent-preferences {
        scroll-behavior: auto;
    }
}
