[data-reher-consent-region] { position: relative; }
/* The card's stretched link must not cover the consent buttons. */
.reher-offer-card__media:has(.reher-consent-placeholder:not([hidden])) { z-index: 11; }
.reher-consent-placeholder {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: safe center;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem;
  overflow: auto;
  background: var(--card, #f4f4f4);
  color: var(--card-foreground, #202020);
  border: 1px solid var(--border, #d5d0cb);
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.4;
  cursor: default;
}
/* Keep overflowing card notices reachable from their scroll origin. */
.reher-consent-placeholder > * { flex-shrink: 0; }
.reher-consent-placeholder[hidden] { display: none; }
.reher-consent-privacy-note[hidden],
.reher-consent-actions button[hidden] { display: none; }
.reher-consent-placeholder strong { font-weight: 600; }
.reher-consent-placeholder p { margin: 0; max-width: 34rem; }
.reher-consent-script-note {
  max-width: 34rem;
  color: var(--muted-foreground, #57534e);
  font-size: 0.75rem;
  line-height: 1.5;
}
.reher-consent-script-note[hidden] { display: none; }
.reher-consent-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.reher-consent-actions button {
  cursor: pointer;
  border: 1px solid currentColor;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font: inherit;
  color: var(--card-foreground, #202020);
  font-weight: 600;
  background: transparent;
}
.reher-consent-actions button:not(:disabled):hover { background: var(--accent, #e7e5e4); }
.reher-consent-actions button:disabled { cursor: wait; opacity: 0.8; }
.reher-consent-actions button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.reher-consent-placeholder[data-reher-consent-purpose="search"] { position: static; border-radius: 0.75rem; margin-block: 1rem; }
.reher-consent-portrait { display: inline-block; width: 10rem; height: 10rem; }
.reher-consent-portrait .reher-consent-placeholder p,
.reher-consent-portrait .surecookie-placeholder-button { display: none; }
.reher-consent-portrait .reher-consent-privacy-note:not([hidden]) { display: block; }
/* Inline policy links must remain identifiable without relying on color. */
#surecookie-banner-description a {
  text-decoration-line: underline;
  text-underline-offset: 0.15em;
}
