Im not sure if this is the right place to report a bug, but there seems to be no “Bug report” sticky post in the forum nor any way to report a bug in a game client.
Why did I lose the game in this case? In the games “Player Guide → Basic Concepts”, it says that “…game cannot be ‘won’ in the conventional sense, only lost in an election or an assassination…”
I couldnt find any list of losing conditions in Democracy 4 and apparently the game wont tell me why I just lost the game, so it might be a bug?