(a) Is there a simple way to characterize the entire functions $f : \mathbb{C} \rightarrow \mathbb{C}$ which have the property that $| \text{Im}(f(z))| < | \text{Im}(z) |$ for all $z \in \mathbb{C} \setminus \mathbb{R}$? Certainly there are the linear functions $f(z) = a_0 + a_1 z$ with $a_0, a_1 \in \mathbb{R}$ and $|a_1| < 1$. Are there others?
(b) Does an analogous result hold with $\text{Im}(z) \rightarrow \text{Im}(z^n)$, $n \geq 1$ an integer? Of course trivial variants with $\text{Im} \rightarrow \text{Re}$ could be considered too.
I have tried to use the techniques that apply when showing that the only entire functions with bounded imaginary part are constants (Liouville's theorem, or the more fancy Picard's little theorem), as in this answer, but I can't find a way to make them work in this case. I am also aware of how to show that when $|f(z)| < C |z|^n$ with $f$ an entire function, for a constant $C$ and integer $n \geq 0$, for all $z \in \mathbb{C}$, then $f$ must be a polynomial of degree at most $n$. The standard argument uses Cauchy's theorem but I also haven't been able to adapt it to this case. Maybe there are other types of functions... Certainly they cannot be polynomials of degree greater than 1 in part (a), though.