.consent {
  position: fixed;
  z-index: 1000;
  inset: auto 16px 16px;
  margin-inline: auto;
  max-width: 760px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 8px 40px #23201c33;
}
.consent[hidden] { display: none; }
.consent h2 { font-size: 1.3rem; margin: 0 0 12px; }
.consent p { font-size: 1rem; line-height: 1.5; margin: 0 0 16px; }
.consent a { text-decoration: underline; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.consent__actions .btn { flex: 1 1 200px; font: inherit; cursor: pointer; }
.consent-settings {
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.consent :focus-visible, .consent-settings:focus-visible {
  outline: 3px solid var(--tann);
  outline-offset: 4px;
}
