How does the campfire work in Inscryption?

Quick answer: Pick a card at a campfire to upgrade its attack or health. There is a risk when you push too far.
Show walkthrough
Choose a card
Pick one card from your deck at the campfire.
Upgrade
You can boost its attack or its health.
Risk
If you push too far, the card can be lost. See the Act 1 map nodes walkthrough.
