/* The same two clear choices, with no preselected optional purpose. */
.consent-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 9999;
  width: min(34rem, calc(100% - 2rem));
  max-height: calc(100svh - 2rem);
  overflow: auto;
  padding: 1.4rem;
  border: 1px solid #3d4552;
  border-radius: 1rem;
  color: #fff;
  background: #0f1115;
  box-shadow: 0 1rem 3rem rgb(0 0 0 / 28%);
  font-family: var(--font-body, system-ui, sans-serif);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.consent-banner h2 {
  max-width: none;
  font-family: inherit;
  font-size: 1.15rem;
  line-height: 1.3;
  letter-spacing: 0;
  margin: 0 0 0.75rem;
}
.consent-banner p {
  max-width: none;
  margin: 0.7rem 0;
  color: #fff;
}
.consent-details {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  font-weight: 500;
  text-underline-offset: 0.2em;
}
.consent-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.consent-actions button {
  min-height: 48px;
  padding: 0.7rem 0.65rem;
  background: #fff;
  color: #0f1115;
  border: 1px solid #fff;
  border-radius: 0.5rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.consent-actions button:hover {
  background: #e8f0ff;
  border-color: #e8f0ff;
}
.consent-actions button[data-consent="denied"] {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.consent-actions button[data-consent="denied"]:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.consent-banner :focus-visible {
  outline: 3px solid #9dc3ff;
  outline-offset: 3px;
}
.consent-withdraw[hidden] {
  display: none;
}
.consent-withdraw {
  max-width: 100%;
  white-space: normal;
  text-align: left;
}
@media (max-width: 380px) {
  .consent-banner {
    padding: 1.1rem;
    font-size: 0.875rem;
  }
  .consent-actions {
    gap: 0.5rem;
  }
}
.cookie-details {
  margin: 1.5rem 0;
}
.cookie-details > div {
  border-top: 1px solid var(--line, #e5e8ee);
  padding: 1rem 0;
}
.cookie-details dt {
  font-weight: 600;
  overflow-wrap: anywhere;
}
.cookie-details dd {
  margin: 0.5rem 0 0;
  max-width: 70ch;
}
