What's the most commonly used opposite of "I'm happy for you"?
Solution 1:
A common expression is: I feel for you.
feel for someone — phrasal verb
to experience sympathy for someone: - I know she’s unhappy, and I feel for her.
(Cambridge Dictionary)
Solution 2:
I would say "I'm sorry to hear that".
I always have the feeling that if I say "I'm sorry" I'm accepting some kind of responsibility.