.privacy-consent__preferences {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 2147483000;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  padding: 10px 14px;
  font: 600 13px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
  cursor: pointer;
}

.privacy-consent__preferences:hover {
  background: #f3f4f6;
}

.privacy-consent__overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483001;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.62);
}

.privacy-consent__overlay[hidden] {
  display: none;
}

.privacy-consent__dialog {
  position: relative;
  width: min(100%, 560px);
  max-height: min(680px, calc(100vh - 40px));
  overflow: auto;
  border-radius: 18px;
  background: #ffffff;
  color: #111827;
  padding: 28px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.32);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.privacy-consent__dialog h2 {
  margin: 0 36px 12px 0;
  font-size: 22px;
  line-height: 1.25;
}

.privacy-consent__dialog p {
  margin: 0 0 12px;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.55;
}

.privacy-consent__dialog a {
  color: #0f766e;
  font-weight: 650;
  text-decoration: underline;
}

.privacy-consent__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.privacy-consent__choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.privacy-consent__choice {
  min-height: 48px;
  border: 2px solid #111827;
  border-radius: 12px;
  background: #ffffff;
  color: #111827;
  padding: 11px 14px;
  font: 700 14px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: pointer;
}

.privacy-consent__choice:hover {
  background: #f3f4f6;
}

.privacy-consent__preferences:focus-visible,
.privacy-consent__close:focus-visible,
.privacy-consent__choice:focus-visible {
  outline: 3px solid #0f766e;
  outline-offset: 3px;
}

.privacy-consent__status {
  font-weight: 650;
}

@media (max-width: 520px) {
  .privacy-consent__dialog {
    padding: 24px 20px;
  }

  .privacy-consent__choices {
    grid-template-columns: 1fr;
  }
}
