/* Native dialogs present the first-visit choice and preserve keyboard focus. */
#consent-banner, #consent-dialog {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  max-width: 640px;
  width: calc(100% - 32px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  box-shadow: 0 24px 80px #11182730;
}
#consent-banner > .wrap { width: 100%; max-width: none; padding: 0; }
#consent-banner h2, #consent-dialog h2 { font-size: 1.5rem; letter-spacing: -.01em; margin: 0 0 16px; }
#consent-banner p, #consent-dialog p { font-size: 16px; line-height: 1.7; color: var(--muted); margin-bottom: 16px; }
#consent-banner p:last-child { margin: 22px 0 0; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }
.consent-actions button, [data-consent] { font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; border: 1px solid var(--field); border-radius: 99px; background: var(--paper); color: var(--ink); padding: 11px 17px; min-height: 44px; }
.consent-actions button:hover, [data-consent]:hover { color: var(--brand); border-color: var(--brand); }
.consent-actions button:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.foot [data-consent] { background: transparent; padding: 8px 12px; font-size: 11px; }
#consent-banner::backdrop, #consent-dialog::backdrop { background: rgb(15 20 34 / .55); }
[hidden] { display: none !important; }
@media (max-width: 760px) {
  #consent-banner, #consent-dialog { padding: 24px; border-radius: 20px; }
  .consent-actions { flex-direction: column; }
  .consent-actions button { width: 100%; }
}
