.ads-consent {
  position: fixed;
  z-index: 200;
  inset: auto 1rem max(1rem, env(safe-area-inset-bottom)) auto;
  width: min(28rem, calc(100% - 2rem));
  box-sizing: border-box;
  padding: 1rem;
  border: 1px solid #708196;
  border-radius: .75rem;
  background: #162130;
  color: #fff;
  font: 1rem/1.45 system-ui, sans-serif;
  box-shadow: 0 4px 24px #0005;
}
.ads-consent[hidden] { display: none; }
.ads-consent p { margin: .45rem 0; }
.ads-consent .ads-consent__info { color: #d1e7ff; text-decoration: underline; }
.ads-consent__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.ads-consent button, .ads-settings {
  padding: .55rem .85rem;
  border: 1px solid #708196;
  border-radius: .35rem;
  background: #fff;
  color: #162130;
  font: inherit;
  cursor: pointer;
}
.ads-settings { display: block; margin: .5rem auto; font-size: .875rem; }
@media (max-width: 700px) {
  .ads-consent { bottom: max(5rem, calc(env(safe-area-inset-bottom) + 4rem)); }
}
