#cookie-consent { font-family: inherit; color: var(--black, #000); font-size: 14px; line-height: 1.5; }
#cookie-consent [hidden] { display: none !important; }
.consent-banner { position: fixed; inset-inline: 16px; bottom: calc(104px + env(safe-area-inset-bottom, 0px)); margin-inline: auto; width: auto; max-width: 640px; max-height: 55dvh; overflow-y: auto; box-sizing: border-box; z-index: 1001; padding: 20px; background: var(--white, #fff); border: 1px solid #e2e8f0; border-radius: 24px; box-shadow: 0 8px 32px rgba(0,0,0,.16); text-align: start; }
#cookie-consent h2 { font-size: 20px; font-weight: 700; line-height: 1.3; margin: 0 0 12px; }
#cookie-consent h3 { font-size: 16px; margin: 0; }
#cookie-consent p { margin: 0 0 12px; overflow-wrap: anywhere; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.consent-button { flex: 1 1 120px; padding: 10px 14px; min-height: 44px; border: 1px solid #d1d5db; border-radius: 14px; background: var(--white, #fff); color: var(--black, #000); font: inherit; font-weight: 600; cursor: pointer; white-space: normal; overflow-wrap: anywhere; }
.consent-button:hover { background: #f3f4f6; }
.consent-save { background: var(--black, #000); color: var(--white, #fff); }
.consent-save:hover { background: #333; }
#cookie-consent :focus-visible, .consent-settings-link:focus-visible { outline: 3px solid var(--accent-color, #2962ff); outline-offset: 3px; }
.consent-policy, .consent-settings-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.consent-settings-link { background: transparent; border: 0; font: inherit; padding: 12px; min-height: 44px; cursor: pointer; white-space: normal; }
.consent-footer { text-align: center; padding: 12px 16px; background: var(--white, #fff); color: var(--black, #000); }
.consent-dialog { width: calc(100% - 32px); max-width: 480px; max-height: calc(100dvh - 32px); overflow-y: auto; box-sizing: border-box; margin: auto; padding: 24px; border: 1px solid #eee; border-radius: 24px; background: var(--white, #fff); color: var(--black, #000); font: inherit; text-align: start; }
.consent-dialog::backdrop { background: rgba(0,0,0,.5); }
.consent-heading { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.consent-close { flex-shrink: 0; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; font-size: 28px; cursor: pointer; }
.consent-category { padding-block: 16px; border-bottom: 1px solid #e2e8f0; }
.consent-category-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; font-size: 16px; font-weight: 600; }
.consent-category-heading span { overflow-wrap: anywhere; }
.consent-category-heading input { width: 24px; height: 24px; flex-shrink: 0; accent-color: var(--black, #000); cursor: pointer; }
.consent-category p { color: #555; }
@media (min-width: 768px) { .consent-banner { margin-inline: 0; inset-inline-start: auto; width: 600px; bottom: 100px; } }
@media (max-width: 375px) { .consent-banner, .consent-dialog { padding: 16px; } }
