Su Yao, a 21st-century office worker, stays up late binge-watching a Qing dynasty drama and accidentally transmigrates into the role of Yin Zhen’s principal wife, the Fourth Prince’s wife. Facing the cold and aloof Fourth Prince and his complicated household, she gets into one scrape after another but always comes up with clever solutions: baking cakes, altering clothes, and taking on the secondary consorts. Using her modern knowledge to help the Fourth Prince win the succession, she grows closer to him amid the shifting tides of palace intrigue. In the end, he ascends the throne and Su Yao becomes empress. Together, they write a lighthearted, sweet, and romantic legend.