/* Aggressive branding removal CSS */
* {
  /* Hide any fixed position elements at bottom of page */
}

body > div:last-of-type:not(#root),
#root ~ div,
#root ~ footer,
#root ~ a,
body > footer:last-child,
body > div:last-child:not(#root),
body > a:last-child {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Hide elements with Emergent text */
a[href*="emergent"],
a[href*="Emergent"],
*[class*="emergent"],
*[class*="Emergent"],
*[id*="emergent"],
*[id*="Emergent"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  position: absolute !important;
  left: -99999px !important;
  pointer-events: none !important;
}

/* Hide powered by/made with text */
*[class*="powered"],
*[class*="Powered"],
*[class*="made-with"],
*[class*="Made-with"],
*[class*="built-with"],
*[class*="Built-with"],
*[class*="branding"],
*[class*="Branding"],
*[data-branding],
*[data-brand] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Hide fixed positioned branding */
div[style*="position: fixed"][style*="bottom: 0"],
div[style*="position: fixed"][style*="bottom:0"],
div[style*="z-index: 9999"],
div[style*="z-index:9999"] {
  display: none !important;
}

/* Additional catch-all for footer branding */
footer a[target="_blank"],
footer div:last-child,
footer p:last-child,
footer span:last-child {
  display: none !important;
}
