SANTA CLARA, Calif. (AP) — Geno Smith scored on a 13-yard scramble with 12 seconds remaining and the Seattle Seahawks snapped a six-game losing streak against the San Francisco 49ers with a 20-17 victory on Sunday.