.cookie-preferences {
  display: block;
  padding: 1rem;
  color: #202124;
  background: #fff;
  border: 1px solid #a1a1aa;
  border-radius: .75rem;
  font: 1rem/1.45 system-ui, sans-serif;
}

.cookie-preferences[hidden] { display: none; }
.cookie-preferences p { margin: .5rem 0; }

.cookie-preferences-banner {
  position: fixed;
  z-index: 2147483647;
  inset: auto .75rem .75rem;
  bottom: max(.75rem, env(safe-area-inset-bottom));
  max-width: 37rem;
  box-shadow: 0 4px 22px #0003;
}

.cookie-preferences-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .75rem;
  margin-top: .75rem;
}

.cookie-preferences-actions button {
  padding: .45rem .85rem;
  font: inherit;
  color: inherit;
  background: #fff;
  border: 1px solid #52525b;
  border-radius: .3rem;
  cursor: pointer;
}

.cookie-preferences-actions a { color: #15458b; text-decoration: underline; }
.cookie-preferences-link { margin-inline-start: .5rem; text-decoration: underline; }
#cookie-preferences { scroll-margin-top: 6rem; }
