India built a 166-run lead over Australia on the third day of an absorbing opening Test in Adelaide on Saturday with dangerman Cheteshwar Pujara not out 40, although the late wicket of master batsman Virat Kohli gave the home team a glimmer of hope.