.marketing-consent {
  position: fixed;
  z-index: 50;
  right: 1rem;
  bottom: max(1rem, env(safe-area-inset-bottom));
  width: min(25rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  box-sizing: border-box;
  padding: 1.125rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 8px 28px #1f293726;
}

.marketing-consent h2 {
  margin: 0;
  font-size: 1rem;
}

.marketing-consent p {
  margin: .5rem 0 .875rem;
  font-size: .875rem;
  line-height: 1.5;
}

.marketing-consent a {
  text-decoration: underline;
}

.marketing-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.marketing-consent-actions button {
  flex: 1 1 auto;
  min-height: 44px;
  padding: .5rem .875rem;
  border: 1px solid var(--ink);
  border-radius: 9px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
}

#privacy-preferences {
  padding: 0;
  border: 0;
  background: transparent;
  color: #5f675d;
  text-align: start;
  font: inherit;
  cursor: pointer;
}

footer > div:has(#privacy-preferences) {
  flex-wrap: wrap;
}
