I found a rare variable?: SelectedItem , and I wonder if it is possible to set a new value for it or I should change in every place that variable is used?
/* Autofill (example: login page) focus item background */
.autocomplete-richlistitem {
&[selected] {
background-color: var(--button-hover-bgcolor) !important;
}
}

SelectedItemis just a normal(*) keyword value for color likewhite,black,redetc. So yes, you’ll need to set it wherever it’s used.* Not entirely true, it’s system color keyword and it happens that you can use prefs to set value for system colors. Go to about:config and create a new string pref
ui.selecteditemand set it to#ff0000and it should become red.ooh, thanks for the information, your knowledge is epic. 🤝