.hb-cookie-root {
    position: fixed;
    inset: auto 20px 20px auto;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.hb-cookie-banner,
.hb-cookie-modal,
.hb-cookie-fab {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.hb-cookie-fab {
    appearance: none;
    border: 1px solid rgba(212, 175, 55, 0.5);
    background: #111827;
    color: #f9fafb;
    border-radius: 999px;
    padding: 11px 16px;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
    font: inherit;
    font-weight: 700;
}

.hb-cookie-fab:hover {
    transform: translateY(-1px);
}

.hb-cookie-banner {
    width: min(420px, calc(100vw - 32px));
    background: #111827;
    color: #f9fafb;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
    padding: 22px;
}

.hb-cookie-banner h3,
.hb-cookie-modal h3 {
    margin: 0 0 10px;
    font-family: Georgia, 'Times New Roman', serif;
    color: #f9fafb;
    font-size: 1.4rem;
}

.hb-cookie-banner p,
.hb-cookie-modal p,
.hb-cookie-modal li,
.hb-cookie-modal label {
    margin: 0;
    color: rgba(249, 250, 251, 0.88);
    line-height: 1.6;
}

.hb-cookie-banner a,
.hb-cookie-modal a {
    color: #f3d67a;
}

.hb-cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.hb-cookie-btn {
    appearance: none;
    border: 1px solid rgba(212, 175, 55, 0.55);
    background: transparent;
    color: #f9fafb;
    padding: 11px 16px;
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    transition: 0.2s ease;
}

.hb-cookie-btn:hover {
    transform: translateY(-1px);
}

.hb-cookie-btn-primary {
    background: #d4af37;
    color: #111827;
    border-color: #d4af37;
    font-weight: 700;
}

.hb-cookie-btn-muted {
    color: rgba(249, 250, 251, 0.82);
    border-color: rgba(255, 255, 255, 0.18);
}

.hb-cookie-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    z-index: 999998;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hb-cookie-overlay.is-open {
    display: flex;
}

.hb-cookie-modal {
    width: min(560px, 100%);
    background: #111827;
    color: #f9fafb;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.34);
    padding: 24px;
}

.hb-cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.hb-cookie-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: transparent;
    color: #f9fafb;
    cursor: pointer;
    font-size: 1.2rem;
}

.hb-cookie-option {
    margin: 18px 0;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hb-cookie-option strong {
    display: block;
    margin-bottom: 6px;
}

.hb-cookie-option-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.hb-cookie-badge {
    white-space: nowrap;
    font-size: 0.8rem;
    font-weight: 700;
    color: #111827;
    background: #d4af37;
    border-radius: 999px;
    padding: 6px 10px;
}

@media (max-width: 640px) {
    .hb-cookie-root {
        inset: auto 12px 12px 12px;
    }

    .hb-cookie-banner {
        width: 100%;
        padding: 18px;
    }

    .hb-cookie-fab {
        width: 100%;
    }

    .hb-cookie-actions {
        flex-direction: column;
    }

    .hb-cookie-btn {
        width: 100%;
    }

    .hb-cookie-option-row {
        flex-direction: column;
    }
}