The category of "mystery fiction" may sometimes be limited to the subset of detective stories in which the emphasis is on the puzzle/suspense element and its logical solution, as a contrast to hardboiled detective stories, which focus on action and gritty realism.