This was recommended to me by Baidu, but your requirements are too high. It is so detailed. I thought about it carefully. I really don’t know such a novel, but there is a novel that is quite classic. It is Time travel is called "Hou Ni Palace". Apart from being a time travel, it's quite a classic, but nothing else really fits the bill!
There is also a novel called "Phoenix Tribulation", which is about the palace struggle. It seems to be about a few million words, but it is really good-looking, and it is not a time-travel story!
Friend, there’s only so much I can help you with. I don’t meet your requirements. I’m sorry!