.cb-stats-preferences {
    background: #fcf9f5;
    color: #5e3440;
    padding: .65rem 1rem;
    text-align: center;
}

.cb-stats-preferences button {
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    font-size: .875rem;
    min-height: 44px;
    padding: .45rem .65rem;
    text-decoration: underline;
    text-underline-offset: .2em;
}

.cb-stats-consent {
    position: fixed;
    z-index: 120;
    inset-inline-end: max(1rem, env(safe-area-inset-right));
    inset-block-end: max(1rem, env(safe-area-inset-bottom));
    box-sizing: border-box;
    max-width: min(25rem, calc(100% - 2rem));
    padding: 1rem;
    border: 1px solid #d9c3bd;
    border-radius: .65rem;
    background: #fcf9f5;
    box-shadow: 0 .35rem 1.5rem #30182326;
    color: #34242a;
}

.cb-stats-consent h2 {
    margin: 0 0 .5rem;
    font-size: 1.125rem;
    line-height: 1.3;
}

.cb-stats-consent p {
    margin: 0 0 .75rem;
    font-size: .875rem;
    line-height: 1.45;
}

.cb-stats-consent-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
}

.cb-stats-consent-actions button {
    min-height: 44px;
    padding: .45rem .6rem;
    border: 1px solid #73283e;
    border-radius: .3rem;
    background: #73283e;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    line-height: 1.3;
}

.cb-stats-consent-actions button:hover {
    background: #572033;
    color: #fff;
}

.cb-stats-preferences button:focus-visible,
.cb-stats-consent-actions button:focus-visible {
    outline: 2px solid #73283e;
    outline-offset: 3px;
}

.cb-stats-preferences[hidden],
.cb-stats-consent[hidden] {
    display: none;
}
