[data-google-ads-settings] {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: start;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.footer-bottom > div,
.ip-footer__bottom > div {
  flex-wrap: wrap;
}

[data-google-ads-panel] {
  position: fixed;
  z-index: 100;
  inset-inline-end: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  width: min(460px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 20px;
  border: 1px solid #b9c3bc;
  border-radius: 12px;
  background: #f8f9f6;
  color: #16251d;
  box-shadow: 0 8px 32px rgb(0 0 0 / 18%);
  font: 400 14px/1.5 system-ui, sans-serif;
}

[data-google-ads-panel] h2 {
  margin: 0 0 6px;
  color: inherit;
  font: 650 18px/1.3 system-ui, sans-serif;
  letter-spacing: normal;
}

[data-google-ads-panel] p { margin: 0 0 8px; }
[data-google-ads-panel] a { color: #244f38; text-decoration: underline; }

.google-ads-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.google-ads-consent-actions button {
  flex: 1 0 auto;
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid #244f38;
  border-radius: 6px;
  background: #244f38;
  color: white;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.google-ads-consent-actions button:hover { background: #163526; }
.google-ads-consent-actions [data-google-ads-close] { flex-grow: 0; }
