.clarity-settings {
  color: #caa9ff;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.footer .clarity-settings {
  border: 0;
  background: transparent;
  padding: 0.25rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
}

.legal-body .clarity-settings {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  margin: 0 0 0.75rem;
  padding: 0.25rem 0;
  border: 0;
  background: transparent;
  font-size: 0.92rem;
}

.clarity-settings:focus-visible,
.clarity-consent button:focus-visible,
.clarity-consent a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  border-radius: 3px;
}

.clarity-consent,
.clarity-consent * {
  box-sizing: border-box;
}

.clarity-consent {
  position: fixed;
  z-index: 26;
  inset: auto 1rem 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem 1.5rem;
  width: min(68rem, calc(100vw - 2rem));
  margin-inline: auto;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(166, 109, 255, 0.7);
  border-radius: 0.75rem;
  background: #171222;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.65);
  color: #f0ecf8;
  font-family: Arial, Helvetica, sans-serif;
}

.clarity-consent[hidden] {
  display: none;
}

.clarity-consent h2 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  line-height: 1.3;
}

.clarity-consent p {
  margin: 0;
  color: #e2dbea;
  font-size: 0.9rem;
  line-height: 1.5;
}

.clarity-consent a {
  color: #caa9ff;
}

.clarity-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.clarity-consent__actions button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.85rem;
  border: 1px solid #a66dff;
  border-radius: 0.25rem;
  background: #a66dff;
  color: #0d0d0d;
  font: 600 0.78rem/1.25 Arial, Helvetica, sans-serif;
  cursor: pointer;
}

.clarity-consent__actions button:hover {
  background: #c49bff;
}

@media (max-width: 700px) {
  .clarity-consent {
    inset-inline: 0.5rem;
    bottom: 0.5rem;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    width: calc(100vw - 1rem);
    padding: 1rem;
  }

  .clarity-consent__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .clarity-consent__actions button {
    min-width: 0;
    padding-inline: 0.5rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 360px) {
  .clarity-consent__actions {
    grid-template-columns: 1fr;
  }
}
