/* The original parent templates/hooks still execute. Hide a chrome part only
   when its own verified replacement is present; never hide the body or controls. */
body.htn-central-chrome:has(.htn-central-chrome-header[data-htn-central-chrome="header"]) > #Wrapper > #mfn-header-template,
body.htn-central-chrome:has(.htn-central-chrome-footer[data-htn-central-chrome="footer"]) > #Wrapper > #mfn-footer-template {
  display:none!important;
}
/* The observed scam-check body leaves a B wrapper around parent footer 90.
   Match only that exact native footer, and only while its verified replacement exists. */
body.htn-central-chrome:has(.htn-central-chrome-footer[data-htn-central-chrome="footer"][data-native-template="90"]) > #Wrapper #mfn-footer-template[data-id="90"] {
  display:none!important;
}
body.htn-central-chrome .htn-central-chrome-header,
body.htn-central-chrome .htn-central-chrome-footer {
  box-sizing:border-box;width:100%;min-width:0;clear:both;
}
/* Preserve real titles/breadcrumbs; remove only the observed empty title scaffold. */
body.htn-central-chrome:has(.htn-central-chrome-header[data-htn-central-chrome="header"]) > #Wrapper > #Header_wrapper > #Subheader:has(> .container:only-child > .column.one:only-child:empty) {
  display:none!important;
}
