when you import a deck code into your game, does it erase the deck you currently have? or does it take the cost of all the cards out of your electrum?
When you import a deck code, the cards that are currently in your deck are moved to your card storage (the area in the lower part of the screen). You don't lose those cards, they are just moved off the deck portion of the screen.
Then the game attempts to put together the deck based on the code, but can only put in the cards that you actually own. It does not buy cards for you, so if you don't happen to have any of the cards, you will get a blank deck. Remember, your original cards are still available and can be clicked on to move them back into the deck area. You might want to export your original deck first (copy the code and paste it into Notepad, or something similar) so that you can reenter it later without manually clicking each card in your storage.