.bn-google-consent {
  position: fixed;
  z-index: 99990;
  left: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  display: grid;
  gap: 14px;
  width: min(560px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  overflow: auto;
  box-sizing: border-box;
  padding: 20px;
  background: #171722;
  color: #fff;
  border: 1px solid #777;
  border-radius: 10px;
  box-shadow: 0 4px 20px #0006;
  font: 14px/1.5 system-ui, sans-serif;
}
.bn-google-consent [hidden], .bn-google-consent[hidden] { display: none !important; }
.bn-google-consent h2 { margin: 0; font: 600 18px/1.4 system-ui, sans-serif; color: inherit; }
.bn-google-consent-copy { min-width: 0; padding-top: 12px; border-top: 1px solid #666; }
.bn-google-consent p { margin: 0 0 6px; font: inherit; color: inherit; }
.bn-google-consent a { color: #c8d9ff; text-decoration: underline; text-underline-offset: 3px; }
.bn-audience-choice label { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-weight: 600; }
.bn-audience-choice input { flex: 0 0 20px; width: 20px; height: 20px; margin: 0; accent-color: #a3beff; }
.bn-audience-choice p { margin-top: 4px; }
.bn-google-consent-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bn-google-consent button {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  color: #171722;
  font: 600 14px/1.4 system-ui, sans-serif;
  cursor: pointer;
}
.bn-google-consent .bn-privacy-close { justify-self: end; background: transparent; color: #fff; min-width: 88px; }
.bn-google-preferences {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: #c8bfd0;
  font: 14px/1.4 system-ui, sans-serif;
  letter-spacing: normal;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.bn-google-preferences-footer { padding: 12px 16px; text-align: center; }
.bn-google-consent button:focus-visible,
.bn-google-consent input:focus-visible,
.bn-google-consent a:focus-visible,
.bn-google-preferences:focus-visible { outline: 3px solid #88adff; outline-offset: 3px; }
@media (max-width: 600px) {
  .bn-google-consent { gap: 12px; padding: 16px; }
}
