The NFC West-leading San Francisco 49ers followed up an uncharacteristic one-sided loss with a gritty division-opening win last week.