.ads-consent[hidden] { display: none; }
.ads-consent {
  position: fixed; z-index: 10000; bottom: 1rem; left: 1rem;
  width: min(34rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem);
  overflow: auto; box-sizing: border-box; padding: 1.3rem;
  border: 1px solid #597b77; border-radius: 1rem;
  background: #fff; color: #173e3a; box-shadow: 0 8px 35px #153b3633;
  font-family: inherit; font-size: .92rem; line-height: 1.5;
}
.ads-consent h2 { margin: 0 0 .55rem; color: #173e3a; font-size: 1.15rem; line-height: 1.3; }
.ads-consent p { margin: 0 0 .7rem; color: #173e3a; }
.ads-consent-status:empty { display: none; }
.ads-consent a { color: #215c53; text-decoration: underline; }
.ads-consent-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.ads-consent-actions button {
  flex: 1 1 7rem; min-height: 44px; border: 1px solid #215c53; border-radius: .5rem;
  background: #fff; color: #173e3a; padding: .65rem 1rem;
  font: inherit; font-weight: 600; cursor: pointer;
}
.ads-consent-actions button:hover { background: #eef5f2; }
.ads-consent :focus-visible, [data-ads-preferences]:focus-visible { outline: 3px solid #b56a22; outline-offset: 3px; }
[data-ads-preferences] { border: 0; padding: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 450px) {
  .ads-consent { bottom: .5rem; left: .5rem; width: calc(100% - 1rem); max-height: calc(100dvh - 1rem); padding: 1rem; }
}

.consent-categories { display:grid; gap:.8rem; margin:1rem 0; }
.consent-categories label { display:flex; align-items:flex-start; gap:.65rem; cursor:pointer; }
.consent-categories input { flex:0 0 20px; width:20px; height:20px; margin:.2rem 0; accent-color:#215c53; }
.consent-categories strong, .consent-categories small { display:block; }
.consent-categories small { margin-top:.25rem; font-size:.88rem; line-height:1.4; }
