.cq-cookie-dialog {
    box-sizing: border-box;
    position: fixed;
    inset: 0;
    width: min(440px, calc(100% - 24px));
    max-height: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    margin: auto;
    padding: 0;
    overflow: auto;
    overscroll-behavior: contain;
    color: #fdeaff;
    background: #210940;
    border: 1px solid #73549a;
    border-radius: 20px;
    font: 400 .9375rem/1.5 Inter, system-ui, sans-serif;
    text-align: start;
    box-shadow: 0 16px 48px #10032280;
}
.cq-cookie-dialog::backdrop { background: #1204209c; }
.cq-cookie-panel { padding: clamp(14px, 4vw, 22px); }
.cq-cookie-heading {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}
.cq-cookie-heading h2 {
    margin: 0;
    color: #fdeaff;
    font: 800 1.125rem/1.3 Inter, system-ui, sans-serif;
}
.cq-cookie-heading h2:focus { outline: none; }
.cq-cookie-dialog p { margin: 0; color: #e4cff9; }
.cq-cookie-dialog .cq-cookie-state { margin-top: 8px; }
.cq-cookie-privacy {
    display: inline-block;
    margin-top: 8px;
    color: #ffc0e4;
    text-decoration: underline;
}
.cq-cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.cq-cookie-actions button {
    flex: 1 1 115px;
    min-width: 0;
    min-height: 44px;
    padding: 8px 10px;
    overflow-wrap: anywhere;
    border: 1px solid #8965b2;
    border-radius: 14px;
    background: #382059;
    color: #fdeaff;
    cursor: pointer;
    font: 700 .875rem/1.3 Inter, system-ui, sans-serif;
}
.cq-cookie-actions button:hover { background: #513074; }
.cq-cookie-close, .cq-cookie-settings {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
    text-decoration: underline;
    font: inherit;
    text-underline-offset: .2em;
}
.cq-cookie-close { min-height: 44px; padding-inline: 4px; color: #e4cff9; font-size: .875rem; }
.cq-cookie-settings[hidden] { display: none; }
.cq-cookie-dialog button:focus-visible, .cq-cookie-settings:focus-visible, .cq-cookie-privacy:focus-visible {
    outline: 2px solid #ffc0e4;
    outline-offset: 3px;
}
