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

.hvc-consent {
  position: fixed;
  z-index: 100000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  color: #000;
}

.hvc-consent__panel {
  width: min(100%, 46rem);
  margin-inline: auto;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 2px solid #000;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 0.5rem 2rem rgb(0 0 0 / 24%);
}

.hvc-consent__panel h2 { margin: 0 0 0.75rem; font-size: 1.3rem; }
.hvc-consent__panel p { margin: 0; line-height: 1.7; }

.hvc-consent__actions {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

.hvc-consent__choice {
  min-height: 3rem;
  padding: 0.65rem 1rem;
  border: 2px solid #000;
  border-radius: 0.25rem;
  background: #fff;
  color: #000;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.hvc-consent__choice:hover { background: #f1f1f1; }
.hvc-consent__choice:focus-visible,
.hvc-consent-settings__button:focus-visible { outline: 3px solid #00aeef; outline-offset: 3px; }

.hvc-consent-settings {
  padding: 0.75rem 1rem;
  background: #fff;
  text-align: center;
}

.hvc-consent-settings__button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #000;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

@media (max-width: 35rem) {
  .hvc-consent__actions { grid-template-columns: 1fr; }
}
