Add this code to the Custom CSS field on the Style tab of your Search widget’s settings:
.global-styles,
[class^='Results__NoResults-sc'],
[class^='Masonry__Container-sc'] {
display: none;
}
.global-styles,
[class^='QuickLinks__Container-sc'] {
border: none;
padding: 0;
margin: 0;
}