#gdm-consent-banner[hidden], #gdm-consent-details[hidden] { display: none !important; }
.gdm-consent-banner {
  position: fixed; z-index: 2147483000; bottom: 16px; left: 16px;
  width: min(560px, calc(100vw - 32px)); max-height: 80vh; overflow: auto;
  box-sizing: border-box; background: #fff; color: #17212c;
  border: 1px solid #ccd4da; border-radius: 12px; padding: 20px;
  box-shadow: 0 12px 40px rgba(20, 27, 34, .22);
  font: 400 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  text-align: left;
}
.gdm-consent-banner * { box-sizing: border-box; }
.gdm-consent-banner h2 { font: 700 21px/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; margin: 0 0 10px; color: #17212c; }
.gdm-consent-banner p { margin: 0 0 12px; font: inherit; color: #273746; }
.gdm-consent-banner a { color: #14589a; text-decoration: underline; }
.gdm-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.gdm-consent-button {
  appearance: none; background: #f8fafc; border: 1px solid #718096;
  border-radius: 7px; padding: 10px 12px; min-height: 44px;
  font: 600 14px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: #17212c; cursor: pointer; flex: 1 1 135px;
}
.gdm-consent-button:hover { background: #e8edf2; }
.gdm-consent-button:focus-visible, .gdm-consent-reopen:focus-visible { outline: 3px solid #1266ab; outline-offset: 2px; }
.gdm-consent-details { border-top: 1px solid #d8dce3; margin-top: 12px; padding-top: 12px; }
.gdm-consent-switch { display: block; margin: 12px 0; font: 500 14px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
.gdm-consent-switch input { margin-right: 8px; width: 17px; height: 17px; vertical-align: middle; }
.gdm-consent-details .gdm-consent-button { margin: 9px 0 0; width: 100%; }
.gdm-consent-reopen {
  position: fixed; left: 12px; bottom: 10px; z-index: 2147482999;
  padding: 5px 10px; border-radius: 6px; background: #fff;
  color: #183447; border: 1px solid #c7d0d9;
  font: 500 12px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  box-shadow: 0 2px 7px rgba(0,0,0,.1); cursor: pointer;
}
@media (max-width: 600px) {
  .gdm-consent-banner { left: 10px; bottom: 10px; width: calc(100vw - 20px); padding: 16px; max-height: 78vh; }
  .gdm-consent-banner h2 { font-size: 19px; }
  .gdm-consent-actions { flex-direction: column; }
  .gdm-consent-button { width: 100%; flex-basis: auto; }
}
