.ads-consent[hidden] { display: none; }

.ads-consent {
  position: fixed;
  left: max(12px, env(safe-area-inset-left));
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 115;
  width: min(18rem, calc(100% - 24px));
  padding: 10px 12px;
  box-sizing: border-box;
  border: 1px solid #a8b2ad;
  border-radius: 8px;
  background: #f5f5ee;
  color: #202a2d;
  box-shadow: 0 3px 14px #17212624;
  font-size: 13px;
  line-height: 1.4;
}

.ads-consent p { margin: 0 0 6px; }
.ads-consent-title { font-weight: 700; }
.ads-consent-actions { display: flex; gap: 8px; }

.ads-consent-actions button {
  padding: 6px 13px;
  border: 1px solid #87948e;
  border-radius: 5px;
  background: white;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.ads-consent-actions button:hover { background: #e7ece6; }

.ads-consent-settings {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 700px) {
  .ads-consent { bottom: max(65px, calc(52px + env(safe-area-inset-bottom))); }
}
