The Game resets and you lose all your cards/stars that you earned. Horrible!
Developer reply
We’re sorry—something may have gone wrong with your progress. Game progress is linked to your store account, so please make sure you’re using the same account as before. Please contact us via in-game Feedback and include your UUID, which you can find in Settings, so we can check what happened and help with your progress.