.bb-consent {
  --bb-c-ink: #0a1a17;
  --bb-c-muted: #51605b;
  --bb-c-paper: #ffffff;
  --bb-c-line: rgba(10, 26, 23, 0.12);
  --bb-c-box: #10b981;
  --bb-c-box-deep: #067a5a;
  --bb-c-ground: #f3f6f5;
  position: fixed;
  z-index: 90;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px max(16px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  pointer-events: none;
}
.bb-consent[hidden] { display: none !important; }
.bb-consent__card {
  pointer-events: auto;
  display: grid;
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--bb-c-paper);
  color: var(--bb-c-ink);
  box-shadow: 0 0 0 1px var(--bb-c-line), 0 22px 48px -20px rgba(10, 26, 23, 0.45);
  font-family: 'Jakarta', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
}
.bb-consent__copy { display: grid; gap: 6px; min-width: 0; }
.bb-consent__h {
  margin: 0;
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.bb-consent__p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--bb-c-muted);
}
.bb-consent__p a {
  color: var(--bb-c-box-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.bb-consent__opts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bb-consent__opt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bb-c-ink);
  cursor: pointer;
  user-select: none;
}
.bb-consent__opt input {
  width: 16px;
  height: 16px;
  accent-color: var(--bb-c-box);
  cursor: pointer;
}
.bb-consent__opt.is-locked {
  color: var(--bb-c-muted);
  cursor: default;
}
.bb-consent__opt.is-locked input { cursor: default; }
.bb-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.bb-consent__btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: background-color 0.2s ease, color 0.2s ease, translate 0.2s ease;
}
.bb-consent__btn--primary {
  background: var(--bb-c-box);
  color: #04261c;
}
.bb-consent__btn--primary:hover { background: #0ea572; translate: 0 -1px; }
.bb-consent__btn--ghost {
  background: var(--bb-c-ground);
  color: var(--bb-c-ink);
}
.bb-consent__btn--ghost:hover { background: #dde7e3; }
.bb-consent__btn--text {
  background: transparent;
  color: var(--bb-c-muted);
  min-height: 36px;
  padding: 0 8px;
  font-weight: 600;
}
.bb-consent__btn--text:hover { color: var(--bb-c-ink); }
.bb-consent__prefs[hidden] { display: none !important; }
@media (min-width: 720px) {
  .bb-consent__card {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 18px 24px;
  }
  .bb-consent__prefs { grid-column: 1 / -1; }
}
body.bb-consent-open {
  --bb-consent-h: 7.5rem;
}
body.bb-consent-open .sup {
  bottom: calc(max(16px, env(safe-area-inset-bottom)) + var(--bb-consent-h, 0px));
}
