.mw-special-pages-search {
	width: 20em;
}

.mw-special-pages-is-searching {
	.toclevel-1, /* stylelint-disable-line selector-class-pattern */
	.vector-toc-list-item, /* stylelint-disable-line selector-class-pattern */
	.mw-specialpages-list li,
	.mw-specialpagesgroup {
		&:not( .mw-special-pages-search-highlight ) {
			display: none;
		}
	}
}
