[hidden] {
  display: none !important;
}
.privacy-preferences {
  position: fixed;
  inset: auto 1rem 1rem;
  max-width: 760px;
  margin-inline: auto;
  z-index: 100;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 10px 45px #172b3b24;
  padding: 1.5rem;
  max-height: 70dvh;
  overflow-y: auto;
}
.privacy-preferences h2 {
  font-size: 1.2rem;
  line-height: 1.35;
  letter-spacing: 0;
  margin: 0 0 0.6rem;
}
.privacy-preferences p {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 0 1rem;
}
.privacy-preferences a {
  color: var(--blue);
}
.privacy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.privacy-actions button {
  flex: 1;
  min-width: 170px;
  min-height: 48px;
  padding: 0.7rem 1rem;
  border: 1px solid var(--blue);
  border-radius: 100px;
  font:
    700 1rem Inter,
    Arial,
    sans-serif;
  cursor: pointer;
  background: #fff;
  color: var(--blue);
}
.privacy-actions button:hover {
  background: #edf4fc;
}
.privacy-actions button[data-consent='accept'] {
  background: var(--blue);
  color: #fff;
}
.privacy-actions button:focus-visible,
button[data-privacy-preferences]:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
button[data-privacy-preferences] {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
@media (max-width: 480px) {
  .privacy-preferences {
    inset-inline: 0.75rem;
    bottom: 0.75rem;
    padding: 1.1rem;
  }
  .privacy-actions {
    gap: 0.65rem;
  }
  .privacy-actions button {
    min-width: 100%;
    font-size: 0.95rem;
  }
}
