[hidden] { display: none !important; }

.consent-banner {
  position: fixed;
  right: clamp(16px, 3vw, 38px);
  bottom: clamp(16px, 3vw, 38px);
  z-index: 1000;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 26px;
  width: min(680px, calc(100vw - 32px));
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(244, 239, 232, .2);
  background: #24211e;
  box-shadow: 0 24px 80px rgba(20, 17, 15, .28);
  color: #f4efe8;
}

.consent-kicker { margin: 0 0 8px; color: #d9a1a0; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.consent-banner h2, .consent-dialog h2, .consent-dialog h3 { font-family: var(--serif); font-weight: 400; }
.consent-banner h2 { margin: 0 0 12px; font-size: clamp(28px, 4vw, 38px); line-height: 1; }
.consent-banner__copy > p:not(.consent-kicker) { margin: 0 0 10px; color: #d2cbc4; font-size: 13px; line-height: 1.55; }
.consent-banner__copy a { color: #fff; font-size: 12px; text-decoration: underline; }
.consent-actions { display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.consent-button, .consent-link-button, .footer-consent-settings { min-height: 44px; cursor: pointer; }
.consent-button { padding: 10px 16px; border: 1px solid #f4efe8; background: transparent; color: #f4efe8; font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.consent-button--primary { border-color: #b72832; background: #b72832; color: #fff; }
.consent-link-button { padding: 8px; border: 0; background: transparent; color: inherit; font-size: 12px; text-decoration: underline; text-underline-offset: .2em; }
.consent-button:hover { border-color: #d64750; background: #d64750; color: #fff; }
.consent-button:focus-visible, .consent-link-button:focus-visible, .consent-dialog__close:focus-visible, .footer-consent-settings:focus-visible, .consent-switch input:focus-visible { outline: 2px solid #d64750; outline-offset: 3px; }

.footer-consent-settings { display: block; margin: 8px 0; padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 12px; text-align: left; }
.footer-consent-settings:hover { color: inherit; text-decoration: underline; text-underline-offset: .18em; }

.dyona-consent-open { overflow: hidden; }
.consent-dialog { position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; padding: 20px; }
.consent-dialog__backdrop { position: absolute; inset: 0; background: rgba(18, 16, 14, .72); backdrop-filter: blur(5px); }
.consent-dialog__panel { position: relative; z-index: 1; width: min(660px, 100%); max-height: min(780px, calc(100vh - 40px)); overflow: auto; padding: clamp(26px, 5vw, 48px); background: #fbf8f3; box-shadow: 0 26px 90px rgba(0, 0, 0, .32); color: #1d1b19; }
.consent-dialog__close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(29, 27, 25, .18); background: transparent; color: inherit; cursor: pointer; font-size: 28px; line-height: 1; }
.consent-dialog h2 { margin: 0 48px 10px 0; font-size: clamp(36px, 6vw, 54px); line-height: .95; }
.consent-dialog__panel > p:not(.consent-kicker) { margin: 0 0 28px; color: #706a65; }
.consent-category { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 20px 0; border-top: 1px solid rgba(29, 27, 25, .15); }
.consent-category h3 { margin: 0 0 5px; font-size: 24px; }
.consent-category p { margin: 0; color: #706a65; font-size: 13px; line-height: 1.5; }
.consent-switch { display: grid; justify-items: end; gap: 6px; color: #706a65; font-size: 10px; }
.consent-switch input { width: 44px; height: 24px; accent-color: #b72832; cursor: pointer; }
.consent-switch input:disabled { cursor: not-allowed; }
.consent-dialog__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.consent-dialog .consent-button { border-color: #1d1b19; color: #1d1b19; }
.consent-dialog .consent-button--primary { border-color: #b72832; color: #fff; }

@media (max-width: 640px) {
  .consent-banner { grid-template-columns: 1fr; gap: 18px; }
  .consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .consent-link-button { grid-column: 1 / -1; }
  .consent-category { grid-template-columns: 1fr; gap: 12px; }
  .consent-switch { justify-items: start; }
  .consent-dialog__actions { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  .consent-banner, .consent-dialog, .consent-dialog * { scroll-behavior: auto !important; transition: none !important; }
}
