.ads-consent[hidden], .ads-consent [hidden] { display: none !important; }
#ads-consent {
  position: fixed; z-index: 10000; bottom: 16px; left: 16px; right: 16px;
  width: auto; max-width: 760px; margin: 0 auto; padding: 22px; background: #fff;
  color: #0f172a; border: 1px solid #64748b; border-radius: 12px;
  box-shadow: 0 8px 40px #0f172a33; max-height: calc(100dvh - 32px); overflow-y: auto;
  font: 15px/1.5 system-ui, sans-serif; text-align: left;
}
.ads-consent h2 { margin: 0 0 10px; font-size: 21px; line-height: 1.25; letter-spacing: normal; }
.ads-consent p { margin: 0 0 12px; color: #334155; font-size: 15px; line-height: 1.5; }
.ads-consent a { color: #2433b8; text-decoration: underline; }
.ads-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ads-consent-actions button, .ads-settings {
  font: 600 15px/1.4 system-ui, sans-serif; padding: 11px 16px; min-height: 44px;
  color: #0f172a; background: #fff; border: 1px solid #475569; border-radius: 6px; cursor: pointer;
}
.ads-consent-actions [data-ads-accept], .ads-consent-actions [data-ads-reject] { flex: 1 1 230px; }
.ads-consent-actions [data-ads-close] { flex: 1 1 100%; }
.ads-consent-actions button:hover, .ads-settings:hover { background: #eef2ff; }
.ads-consent button:focus-visible, .ads-consent a:focus-visible, .ads-settings:focus-visible { outline: 3px solid #2f3de0; outline-offset: 3px; }
.ads-consent [data-ads-reload] { padding: 10px; background: #fff7ed; color: #7c2d12; }
.ads-consent [data-ads-error] { margin-top: 12px; color: #991b1b; }
.ads-consent-footer { padding: 16px 24px; text-align: center; }
.ads-consent-status { font: 14px/1.5 system-ui, sans-serif; color: #334155; margin: 6px 0 0; }
.ads-consent-status:empty { display: none; }
.ads-draft-recovery { margin: 20px auto; padding: 18px; max-width: 760px; border: 1px solid #475569; border-radius: 8px; background: #fff; color: #0f172a; }
.ads-draft-recovery label { display: block; font-weight: 600; margin-bottom: 8px; }
.ads-draft-recovery textarea { display: block; width: 100%; margin-bottom: 12px; padding: 12px; font: 14px/1.5 system-ui, sans-serif; color: #0f172a; background: #f8fafc; border: 1px solid #64748b; border-radius: 4px; resize: vertical; }
@media (max-width: 480px) {
  #ads-consent { bottom: 8px; left: 8px; right: 8px; padding: 16px; max-height: calc(100dvh - 16px); }
  .ads-consent h2 { font-size: 19px; }
}
