.se-consent-banner,
.se-consent-dialog {
    color: #000;
    background: #f9f9f9;
    border: 1px solid #000;
    padding: 1rem;
}

.se-consent-banner {
    position: fixed;
    inset: auto 20px 20px auto;
    z-index: 20;
    width: min(520px, calc(100% - 40px));
    max-block-size: calc(100dvh - 56px);
    overflow: auto;
    box-shadow: 0 1rem 2rem #0003;
}

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

.se-consent-banner p {
    margin: 0 0 0.75rem;
}

.se-consent-dialog {
    max-inline-size: min(36rem, calc(100% - 40px));
    max-block-size: calc(100dvh - 56px);
}

.se-consent-dialog::backdrop {
    background: #0009;
}

.se-consent-dialog label {
    display: inline-flex;
    gap: 0.5rem;
    min-block-size: 44px;
    align-items: center;
    cursor: pointer;
}

.se-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.se-consent-actions button,
.se-consent-link {
    min-block-size: 44px;
    border-radius: 0;
    font-family: inherit;
    padding: 0.4rem 0.7rem;
}

.se-consent-actions button {
    color: #000;
    background: transparent;
    border: 1px solid #000;
}

.se-consent-link {
    padding-inline: 0;
    color: inherit;
    background: transparent;
    text-decoration: underline;
    border: none;
}

.se-consent-link:hover,
.se-consent-link:focus-visible {
    color: inherit;
    background: transparent;
}

.se-consent-dialog a {
    text-decoration: underline;
}

.se-consent-actions button:focus-visible,
.se-consent-link:focus-visible,
.se-consent-dialog input:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}
