Q: Can I really take as many ideas from the supply as I want when I shift focus to a book-related card?
A: Yup
Q: Why does this case end immediately if there are no ideas left in the game?
A: Since every confirm action you take in this case now costs at least 1 idea, if you have no ideas available, you can’t confirm cards, which means you can’t solve aspects.