.bp-stats-consent[hidden],
#bp-stats-settings[hidden] {
  display: none;
}

.bp-stats-consent {
  position: fixed;
  z-index: 20;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  width: min(390px, calc(100% - 24px));
  padding: 14px 16px;
  border: 1px solid #d5e0ed;
  border-radius: 12px;
  color: #23384e;
  background: #f7fbff;
  box-shadow: 0 8px 26px rgb(34 58 86 / 16%);
  box-sizing: border-box;
}

.bp-stats-consent p {
  margin: 0 0 8px;
  font-size: .9rem;
}

.bp-stats-actions {
  display: flex;
  gap: 8px;
}

.bp-stats-actions button {
  min-width: 72px;
  min-height: 36px;
  padding: 4px 12px;
  border: 1px solid #9db1c7;
  border-radius: 7px;
  color: #203d5d;
  background: #fff;
  font: inherit;
  cursor: pointer;
}

#bp-stats-settings {
  display: block;
  margin: 0 auto 10px;
  padding: 4px 8px;
  border: 0;
  color: #294d70;
  background: transparent;
  font: inherit;
  font-size: .8rem;
  text-decoration: underline;
  text-underline-offset: .15em;
  cursor: pointer;
}
