Smarter searching up the DOM tree to decide how to style the drtc_cover's background