.privacy-choice[hidden],
.privacy-settings[hidden] { display: none; }

.privacy-choice {
  position: fixed;
  z-index: 20;
  inset-inline-end: max(1rem, env(safe-area-inset-right));
  inset-block-end: max(1rem, env(safe-area-inset-bottom));
  width: min(27rem, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: 1.15rem;
  border: 1px solid #d5c8b3;
  border-block-start: 4px solid var(--ochre);
  border-radius: .3rem;
  background: #fffcf7;
  color: var(--ink);
  box-shadow: 0 .45rem 1.8rem #1b212226;
}

.privacy-choice h2 { margin: 0 0 .45rem; font-size: 1.25rem; line-height: 1.2; }
.privacy-choice p { margin: 0 0 .8rem; font-size: .94rem; line-height: 1.5; }
.privacy-choice p a { text-decoration: underline; text-underline-offset: .15em; }
.privacy-choice-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.privacy-choice-actions .button { min-height: 2.75rem; padding: .5rem; text-align: center; white-space: normal; }

.privacy-settings {
  min-height: 2.75rem;
  padding: .35rem 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}

.privacy-settings:hover { color: var(--ochre); }
