/* Shared dialog close palette. Search clear/filter-chip removal are not dialog closes. */
html body :is(.unified-close,.qa-d38c-x,#tourClose,button[data-photo-close][aria-label="Close photo"],#sehajSearchPicker [role="dialog"] > div:first-child > button):not(#clearSearchBtn) {
 background:#fef2f2!important;color:#991b1b!important;border:1px solid #fecaca!important;
 border-radius:8px!important;width:44px!important;height:44px!important;
 min-width:44px!important;min-height:44px!important;max-width:44px!important;max-height:44px!important;
 align-items:center!important;justify-content:center!important;text-align:center!important;
 flex:0 0 44px!important;padding:0!important;box-sizing:border-box!important;
 font:400 33px/1 Arial,Helvetica,sans-serif!important;cursor:pointer;
}
@media(hover:hover){
 html body :is(.unified-close,.qa-d38c-x,#tourClose,button[data-photo-close][aria-label="Close photo"],#sehajSearchPicker [role="dialog"] > div:first-child > button):not(#clearSearchBtn):not(:disabled):hover {
  background:#fee2e2!important;border-color:#fca5a5!important;
 }
}
html body :is(.unified-close,.qa-d38c-x,#tourClose,button[data-photo-close][aria-label="Close photo"],#sehajSearchPicker [role="dialog"] > div:first-child > button):not(#clearSearchBtn):focus-visible {
 outline:3px solid #991b1b!important;outline-offset:3px!important;
}
html body :is(.unified-close,.qa-d38c-x,#tourClose,button[data-photo-close][aria-label="Close photo"],#sehajSearchPicker [role="dialog"] > div:first-child > button):not(#clearSearchBtn):disabled {opacity:.5;cursor:default;}

/* Center the larger glyph without changing the square or exposing hidden video controls. */
html body :is(.unified-close,.qa-d38c-x,#tourClose,button[data-photo-close][aria-label="Close photo"],#sehajSearchPicker [role="dialog"] > div:first-child > button):not(#clearSearchBtn):not(#closeVideoBtn):not([hidden]) {display:inline-flex!important;}
