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

[data-video-placeholder][hidden] {
    display: none;
}

.consent-banner {
    position: fixed;
    z-index: 1000;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    max-width: 46rem;
    margin: 0 auto;
    border: 1px solid var(--color-surface-hover);
    border-radius: 0.75rem;
    background: var(--color-surface);
    color: var(--color-text-default);
    box-shadow: 0 12px 35px rgb(0 0 0 / 25%);
}

.consent-banner__inner {
    padding: 1.25rem;
}

.consent-banner h2 {
    margin-bottom: 0.5rem;
    color: var(--color-primary);
    font-size: 1.25rem;
    font-weight: 700;
}

.consent-banner p {
    line-height: 1.5;
}

.consent-banner a {
    text-decoration: underline;
}

.consent-banner__status:empty {
    display: none;
}

.consent-banner__status {
    margin-top: 0.5rem;
    font-weight: 700;
}

.consent-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.consent-banner__actions button {
    flex: 1 1 14rem;
    min-height: 2.75rem;
    padding: 0.6rem 1rem;
    border: 2px solid var(--color-primary);
    border-radius: 0.5rem;
    background: var(--color-surface);
    color: var(--color-primary);
    font-weight: 700;
}

.consent-banner__actions button:hover,
.consent-banner__actions button:focus-visible {
    background: var(--color-primary);
    color: var(--color-text-inverse);
}

@media (max-width: 480px) {
    .consent-banner {
        right: 0.5rem;
        bottom: 0.5rem;
        left: 0.5rem;
        max-height: calc(100vh - 1rem);
        overflow-y: auto;
    }
}
