LOS ANGELES — The disconnect between Hollywood’s taste and that of the masses has rarely been more sharply drawn as it was over the weekend, as the stylish “Atomic Blonde” sputtered and “The Emoji Movie” pushed past horrified critics to become a box office success.

The No. 1 movie in North America was again Christopher Nolan’s sophisticated “Dunkirk” (Warner Bros.), which collected an estimated $28.1 million, for a two-week domestic total of $102.8 million, according to comScore. “Dunkirk” has benefited from strong turnout at Imax theaters and other cinemas offering premium-priced, large-format screenings.

But “The Emoji Movie” (Sony) was an unexpectedly close second. To double takes in Hollywood, that animated film took in about $25.7 million. Sony is now on a box office roll following stellar results earlier this summer for “Baby Driver” and “Spider-Man: Homecoming.” (The next hurdle for the studio: “The Dark Tower,” which arrives on Friday.)

Sony spent about $50 million to make “The Emoji Movie.” Most animated movies cost at least $85 million.