.hf-consent,
.hf-consent-opener {
  position: fixed;
  z-index: 2147483647;
  bottom: max(12px, env(safe-area-inset-bottom));
  left: 12px;
  color: #151827;
  background: #fff;
  border: 1px solid #727586;
  border-radius: 10px;
  box-shadow: 0 6px 30px #0005;
  font: 400 15px/1.5 system-ui, sans-serif;
}

.hf-consent[hidden],
.hf-consent-opener[hidden] { display: none; }

.hf-consent {
  padding: 16px;
  width: min(34rem, calc(100% - 24px));
  max-height: calc(100dvh - 30px);
  overflow: auto;
}

.hf-consent h2 { margin: 0 0 .4rem; font: 700 1.25rem/1.25 system-ui, sans-serif; }
.hf-consent p { margin: 0 0 .75rem; }
.hf-consent a { color: #25377a; text-decoration: underline; }
.hf-consent fieldset { margin: 0 0 .75rem; padding: 0; border: 0; }
.hf-consent legend { font-weight: 700; }
.hf-consent label { display: block; margin: .25rem 0; font-weight: 400; }
.hf-consent input { margin: 0 .4rem 0 0; }

.hf-consent-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.hf-consent button,
.hf-consent-opener { padding: .45rem .7rem; cursor: pointer; }
.hf-consent button {
  border: 1px solid #25377a;
  border-radius: 5px;
  color: #25377a;
  background: #fff;
  font: 650 14px/1.4 system-ui, sans-serif;
}

.hf-consent button:hover,
.hf-consent-opener:hover { background: #eef0ff; }
.hf-consent :focus-visible,
.hf-consent-opener:focus-visible { outline: 2px solid #25377a; outline-offset: 2px; }
