.dv-consent-banner {
  position: fixed;
  z-index: 100;
  inset-inline-start: max(16px, env(safe-area-inset-left));
  bottom: max(16px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px 16px;
  box-sizing: border-box;
  width: min(540px, calc(100% - 32px));
  padding: 16px 48px 16px 16px;
  border: 1px solid #e0e4ec;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 28px #17233d26;
  color: #1b2537;
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
}

.dv-consent-banner h2 { margin: 0 0 5px; font-size: 16px; }
.dv-consent-banner p { margin: 0 0 6px; }
.dv-consent-banner a { color: #214ba5; text-decoration: underline; text-underline-offset: 2px; }
.dv-consent-banner [data-analytics-error] { color: #a52020; margin: 6px 0 0; }
.dv-consent-banner [hidden] { display: none; }
.dv-consent-banner button {
  min-height: 44px;
  border: 0;
  border-radius: 7px;
  font: inherit;
  cursor: pointer;
}
.dv-consent-allow { padding: 8px 14px; background: #2049aa; color: #fff; font-weight: 600; }
.dv-consent-allow:disabled { opacity: .65; cursor: wait; }
.dv-consent-dismiss {
  position: absolute;
  inset-block-start: 4px;
  inset-inline-end: 4px;
  width: 44px;
  background: transparent;
  color: #46526a;
}
.dv-consent-banner .dv-consent-dismiss { font-size: 24px; }
.dv-consent-dismiss:hover { background: #eef2f8; }

@media (max-width: 500px) {
  .dv-consent-banner { grid-template-columns: 1fr; }
  .dv-consent-allow { justify-self: start; }
}
