.clarity-consent {
  position: fixed;
  z-index: 10000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  max-width: 64rem;
  margin-inline: auto;
  padding: 1rem;
  color: #f4f4e8;
  background: #0b1a10;
  border: 1px solid #2f6b3d;
  box-shadow: 0 18px 50px rgb(0 0 0 / 45%);
  font-family: Arial, sans-serif;
}

.clarity-consent__copy strong {
  display: block;
  margin-bottom: 0.3rem;
  color: #ffd24a;
  font-size: 0.9rem;
}

.clarity-consent__copy p {
  max-width: 48rem;
  margin: 0;
  color: #d5dfd1;
  font-size: 0.78rem;
  line-height: 1.5;
}

.clarity-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  justify-content: flex-end;
}

.clarity-consent button,
.privacy-control button {
  min-height: 2.7rem;
  padding: 0.65rem 0.8rem;
  color: #f4f4e8;
  background: transparent;
  border: 1px solid #3ee63e;
  border-radius: 0;
  font: 700 0.72rem/1.2 Arial, sans-serif;
  cursor: pointer;
}

.clarity-consent button:hover,
.clarity-consent button:focus-visible,
.privacy-control button:hover,
.privacy-control button:focus-visible {
  color: #08110c;
  background: #3ee63e;
  outline: 2px solid #ffd24a;
  outline-offset: 2px;
}

.clarity-consent .clarity-consent__accept {
  color: #08110c;
  background: #3ee63e;
}

.clarity-consent a {
  padding: 0.65rem 0.2rem;
  color: #d5dfd1;
  font-size: 0.72rem;
}

.privacy-control {
  margin-top: 2rem;
  padding: 1.25rem;
  border: 1px solid var(--line, #2f6b3d);
}

.privacy-control__status {
  min-height: 1.5em;
  color: var(--accent, #3ee63e);
}

@media (max-width: 720px) {
  .clarity-consent {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0.85rem;
  }

  .clarity-consent__actions {
    justify-content: flex-start;
  }

  .clarity-consent button {
    flex: 1 1 9rem;
  }
}
