Ah, I knew I must be missing something obvious! I implemented the .size solution, and it works great, though I did have to repeat it when the cards turned over, and when they turned back again (if there's no match). I'll try the scale solution later to see if I can save a few lines of code.

Thank you both!