Dandan, what do we do with an empty deck?

Finally convinced my wife to play Dandan with me this morning.

On my turn I drew the last card of our communal Dandan deck. Theoretically when a player needs to draw a card from the deck and there are no cards left they lose the game. If I pass turn to my wife, does she automatically lose? Is there a special rule in Dandan where the graveyard is shuffled back into the library?

Our fish need halp plz