The hideout protects your money (silver coins) if you’re under attack.
Only concerns money picked up from your production buildings.
Hint: Regularly pick up the money from the production buildings.
Note: If the attacker uses a loot bonus, the added bonus is included in the battle report; it is not deducted from your account but generated by the system.