Hi, I agree with Peter a Peltier device will do what you need and cover a comact surface.
You will need a heat sink on the side of the device away from your cup, and it will need a fan to circulate air through it.
But it is ideal to heat or cool hat you want.
Tom...... ![]()