.hf-consent {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 99999;
  box-sizing: border-box;
  width: calc(100% - 32px);
  max-width: 720px;
  padding: 16px 20px;
  background: #fff;
  color: #1f2937;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .15);
  font-size: 15px;
  line-height: 1.5;
  display: flex;
  gap: 16px;
  align-items: center;
}
.hf-consent[hidden] { display: none; }
.hf-consent__text { margin: 0; flex: 1 1 auto; }
.hf-consent__text a { color: inherit; text-decoration: underline; }
.hf-consent__actions { display: flex; gap: 8px; flex: 0 0 auto; }
/* Mõlemad nupud on võrdse kaaluga: keeldumine ei tohi olla raskem kui nõustumine. */
.hf-consent__btn,
.hf-consent-open {
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid #1f2937;
  border-radius: 6px;
  background: #1f2937;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.hf-consent__btn:focus-visible,
.hf-consent-open:focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; }
@media (max-width: 600px) {
  .hf-consent { flex-direction: column; align-items: stretch; bottom: 12px; width: calc(100% - 24px); padding: 14px 16px; }
  .hf-consent__actions .hf-consent__btn { flex: 1 1 0; }
}
