.analytics-consent-banner {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 3000;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    width: min(42rem, calc(100vw - 2rem));
    padding: 1rem 1.25rem;
    color: #f7fffb;
    background: #15211e;
    border: 1px solid rgba(22, 255, 176, 0.45);
    border-radius: 0.5rem;
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.3);
}

.analytics-consent-copy {
    flex: 1;
}

.analytics-consent-copy h2,
.analytics-consent-copy p {
    margin: 0;
}

.analytics-consent-copy h2 {
    font-size: 1rem;
}

.analytics-consent-copy p {
    margin-top: 0.35rem;
    color: rgba(247, 255, 251, 0.78);
    font-size: 0.875rem;
    line-height: 1.45;
}

.analytics-consent-actions {
    display: flex;
    flex-shrink: 0;
    gap: 0.5rem;
}

.analytics-consent-button {
    min-height: 2.75rem;
    padding: 0.5rem 0.85rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.analytics-consent-button:active {
    transform: scale(0.96);
}

.analytics-consent-button:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

.analytics-consent-button-primary {
    color: #07130f;
    background: #16ffb0;
}

.analytics-consent-button-primary:hover {
    background: #72ffcc;
}

.analytics-consent-button-secondary {
    color: #f7fffb;
    background: transparent;
    border-color: rgba(247, 255, 251, 0.45);
}

.analytics-consent-button-secondary:hover {
    background: rgba(247, 255, 251, 0.1);
}

@media (max-width: 600px) {
    .analytics-consent-banner {
        align-items: stretch;
        flex-direction: column;
        gap: 0.85rem;
    }

    .analytics-consent-actions {
        justify-content: flex-end;
    }
}
