And thus, "stupid." One of the necessary components of intelligence is the ability to plan for the future; looking further ahead than the next immediate move is something that stupid people cannot do.
What you're really talking about is stupid people can't adapt to changing circumstances. Conditions in the future are different than now, therefore you must take action and change to adapt.
A god like D is not a human. What she had to adapt to is not vulnerability of any kind. Even if she gets caught, it is equally meaningless to both her and the beings chasing her, both are infinite and timeless. She will simply have another moment in the future to slack off. And another. And another. And another.
I don't think you appreciate what it means to win or lose, when your future is guaranteed to have an equally infinite number of wins and losses. There couldn't be a more alien being, when the one thing she has a guarantee of is the one thing us humans don't. And you're applying human logic to this?
Your inability to adapt to that circumstance, to see things outside the small paradigm of your own, marks who really is the stupid one here. And don't give me that she could fix things better than she already has if she could anyway. Do you take action for no reason and no meaningful gain as an "intelligent" person?
And as for Shiro, she certainly isn't smarter than D, if only because she hasn't existed long enough to appreciate the full extent of what is available to her (or not, because you're talking out of your ass as to what she's capable of). That too is a form of intelligence. She is, however, at least more intelligent than you are, because she's already realized all of the above about D and more. You're closer to a "spider" in the well than any of them, not able to see outside your own little world and applying your limited standards and analogies to something alien.