The story follows Shen Jinghong, the daughter of a loyal official. After her entire family is falsely accused and executed, she is the sole survivor. She conceals her identity, disguises herself as a lowly palace maid, and slips into the imperial palace to investigate the truth and avenge her family. Drawing on the exceptional cunning, cool composure, and keen insight she developed as a female shadow guard, she repeatedly escapes danger in the treacherous inner palace.
Her unusual nature catches the attention of the calculating and suspicious Emperor Xiao Xuance. He regards her as an interesting pawn, constantly testing and using her, yet gradually finds himself drawn to her resilience and intelligence. Shen Jinghong, meanwhile, uses the emperor's attention to rise from palace maid to Talented Lady and then Concubine Jie, steadily climbing to a position of power. As she gains access to the heart of the court, she discovers that the truth behind her family's downfall is far more complicated than she imagined, involving remnants of the previous dynasty, factions in the inner palace, and rival political cliques.
As she maneuvers among the various forces, her relationship with Xiao Xuance gradually changes from that of scheming players and pawns to allies who are both adversaries and friends, supporting one another. In the end, the two join forces to expose a shocking conspiracy and purge corrupt officials from the court. Shen Jinghong not only clears her family's name but also shatters conventional prejudice through her skill and achievements, ultimately ascending to the empress's throne and standing beside the emperor as they usher in a new age of prosperity.