The teenager became Japan's first-ever Olympic diving medalist with a sensational effort in the final round, climbing from third to second in the standings.