Try this:
// Exemplo
let queryScape = document.querySelector(`.f\\:\\.9.m-b\\:\\.4.m-t\\:\\.5.d\\:i-b`);
queryScape.style.background = 'red';
// Código
//document.querySelector(`.f\\:\\.9.m-b\\:\\.4.m-t\\:\\.5.d\\:i-b`);
<div class="f:.9 m-b:.4 m-t:.5 d:i-b">Conteúdo</div>
Explanation:
The characters ' : ' and ' . ' in the class conflict with normal CSS selectors for class and special attributes, like :Nth-Child or :last-Child, so when using these characters in the class name, it is necessary to "escape" the selection query
To escape, just use ' ' before the special character.