/* Ezoic / Gatekeeper consent overrides
   This hides the floating preferences cookie button injected by Gatekeeper/Ezoic.
   If you prefer to remove the widget entirely, remove the Gatekeeper/Ezoic script tags from the HTML.
*/

/* Common Gatekeeper script iframes */
iframe[src*="gatekeeperconsent.com"],
iframe[src*="the.gatekeeperconsent.com"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Common injected containers / classes */
div[class*="gatekeeper"],
div[id*="gatekeeper"],
div[class*="ezoic"],
div[class*="ezstandalone"],
#ezstandalone,
.ezstandalone,
.ezoic-floating,
.gk-floating,
.gk-consent,
.cmp-ui,
.cmp-floating,
.cmp-banner,
[data-gk],
[data-gk-widget] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Buttons commonly used for 'Preferences' */
button[aria-label*="Preferences"],
button[title*="Preferences"],
a[title*="Preferences"] {
  display: none !important;
}

/* Fallback: hide small floating gear-like controls (be conservative) */
button[class*="gear"],
button[class*="prefs"],
button[class*="cookie"],
div[class*="cookie"] {
  display: none !important;
}
