.hh-consent{
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 999999;
  display: flex; justify-content: center; pointer-events: none;
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  animation: hh-consent-in .25s cubic-bezier(.22,.61,.36,1);
}
.hh-consent--leaving{ animation: hh-consent-out .2s ease forwards; }
@keyframes hh-consent-in  { from{ transform:translateY(20px); opacity:0 } to{ transform:none; opacity:1 } }
@keyframes hh-consent-out { to  { transform:translateY(20px); opacity:0 } }

.hh-consent__card{
  pointer-events: auto;
  background: #ffffff;
  color: #0F0B26;
  border: 1px solid #E3DEEF;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(31,21,71,.18);
  padding: 22px 24px;
  max-width: 720px;
  width: 100%;
}
.hh-consent__title{
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-size: 18px; font-weight: 700; margin: 0 0 8px; letter-spacing: -.01em;
  color: #1F1547;
}
.hh-consent__body{
  font-size: 14px; line-height: 1.55; margin: 0 0 14px; color: #4A4761;
}
.hh-consent__link{ color: #2D1B69; text-decoration: underline; }
.hh-consent__link:hover{ color: #DE9111; }

.hh-consent__cats{
  display: flex; flex-direction: column; gap: 10px;
  margin: 12px 0 16px; padding: 14px; border-radius: 12px; background: #F2EFFB;
}
.hh-consent__row{
  display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start;
  font-size: 13.5px; line-height: 1.45; cursor: pointer;
}
.hh-consent__row input{ margin-top: 3px; accent-color: #2D1B69; }
.hh-consent__row input:disabled{ opacity:.5; cursor: not-allowed; }
.hh-consent__row strong{ display:block; font-weight: 700; color: #1F1547; }
.hh-consent__row em{ display:block; font-style: normal; color: #6B6582; font-size: 12.5px; }

.hh-consent__actions{
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end;
}
.hh-consent__btn{
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-size: 14px; font-weight: 600; padding: 10px 18px; border-radius: 100px;
  border: 1px solid transparent; cursor: pointer; transition: all .2s ease;
}
.hh-consent__btn--primary{ background: #2D1B69; color: #fff; }
.hh-consent__btn--primary:hover{ background: #F5A623; color: #1F1547; }
.hh-consent__btn--ghost{ background: transparent; color: #2D1B69; border-color: #E3DEEF; }
.hh-consent__btn--ghost:hover{ background: #F2EFFB; }

@media (max-width: 560px){
  .hh-consent{ left: 8px; right: 8px; bottom: 8px; }
  .hh-consent__card{ padding: 18px; border-radius: 14px; }
  .hh-consent__actions{ justify-content: stretch; }
  .hh-consent__btn{ flex: 1; }
}

@media (prefers-color-scheme: dark){
  .hh-consent__card{ background:#1F1547; color:#F2EFFB; border-color: rgba(255,255,255,.1); }
  .hh-consent__title{ color:#fff; }
  .hh-consent__body{ color: rgba(255,255,255,.78); }
  .hh-consent__link{ color:#F5A623; }
  .hh-consent__cats{ background: rgba(255,255,255,.06); }
  .hh-consent__row strong{ color:#fff; }
  .hh-consent__row em{ color: rgba(255,255,255,.65); }
  .hh-consent__btn--ghost{ color:#fff; border-color: rgba(255,255,255,.2); }
  .hh-consent__btn--ghost:hover{ background: rgba(255,255,255,.08); }
}
