.bergen-ads-consent {
  box-sizing: border-box;
  position: fixed;
  z-index: 1400;
  left: 1rem;
  bottom: 1rem;
  width: min(27rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  padding: 1rem;
  border: 1px solid #c7d5df;
  border-radius: .8rem;
  background: #fff;
  box-shadow: 0 .5rem 2rem #092e4126;
  color: #173747;
  font: 400 .94rem/1.5 Arial, sans-serif;
}
.bergen-ads-consent [hidden], .bergen-ads-consent[hidden] { display: none; }
.bergen-ads-consent h2 { margin: 0 0 .4rem; color: inherit; font: 700 1.15rem/1.35 Arial, sans-serif; }
.bergen-ads-consent p { margin: 0 0 .75rem; }
.bergen-ads-consent a { color: #145a72; text-decoration: underline; }
.bergen-ads-actions { display: flex; gap: .65rem; }
.bergen-ads-actions button {
  flex: 1;
  min-height: 44px;
  padding: .4rem .7rem;
  border: 1px solid #145a72;
  border-radius: .4rem;
  background: #fff;
  color: #173747;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.bergen-ads-actions button:disabled { opacity: .55; cursor: default; }
.bergen-ads-settings {
  padding: 0; border: 0; background: transparent; color: inherit;
  font: inherit; cursor: pointer; text-decoration: underline; text-align: left;
}
.bergen-ads-consent :focus-visible, .bergen-ads-settings:focus-visible {
  outline: 2px solid #17789b; outline-offset: 2px;
}
@media (max-width: 980px) {
  .bergen-ads-consent {
    bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
    max-height: calc(100dvh - 7rem - env(safe-area-inset-bottom, 0px));
  }
}
