Card-reading device