.hb-metrics-notice {
  position: fixed;
  z-index: 180;
  inset: auto auto max(18px, env(safe-area-inset-bottom)) 18px;
  width: min(430px, calc(100vw - 36px));
  box-sizing: border-box;
  padding: 20px;
  color: #17141e;
  background: #fff;
  border: 1px solid #e5daee;
  border-radius: 20px;
  box-shadow: 0 12px 42px #20112624;
  font: 400 16px/1.4 Outfit, sans-serif;
}
.hb-metrics-notice[hidden], .hb-metrics-preferences[hidden] { display: none; }
.hb-metrics-notice h2 { margin: 0 0 6px; font: 700 20px/1.15 Outfit, sans-serif; }
.hb-metrics-notice p { margin: 0 0 12px; }
.hb-metrics-notice a { color: #5a0793; text-decoration: underline; }
.hb-metrics-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hb-metrics-notice button, .hb-metrics-preferences {
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid #d9c6e9;
  border-radius: 12px;
  font: 650 15px/1.2 Outfit, sans-serif;
  color: #531186;
  background: #f7effd;
  cursor: pointer;
}
.hb-metrics-notice button[data-choice="yes"] { color: #fff; background: #6a00b8; border-color: #6a00b8; }
.hb-metrics-notice button:is(:focus-visible), .hb-metrics-preferences:focus-visible { outline: 3px solid #0168ee; outline-offset: 2px; }
@media (max-width: 600px) {
  .hb-metrics-notice { inset: auto 12px max(82px, env(safe-area-inset-bottom)) 12px; width: auto; padding: 16px; }
}
