Thank you for taking the time to do this! I think that moving the color
specification to 'mode-line-active' will not work with Emacs 28 because
there is no 'mode-line-active' there and the 'mode-line' will thus be
left empty. Or am I missing something?
Have a nice day,
Protesilaos (or simply "Prot")