In the floating world of the Yong Dynasty, Vice Minister of Rites Lan Jue (played by Jing Boran) spends his years navigating the intrigues of the imperial court. Outwardly gentle and elegant, seemingly blessed with smooth sailing, he in truth conceals a little-known history of hardship. During a secret mission, Lan Jue encounters Zhang Ping (played by Song Weilong), a case-obsessed youth who has come to the capital alone to sit the imperial exams in pursuit of his ideals. With his earnest innocence and genius-level deductive powers, Zhang Ping solves the case—but also throws Lan Jue's carefully laid plans into disarray. From then on, these two men of vastly different status and utterly contrasting temperaments become both mentor and friend to each other, working in seamless harmony to confront baffling cases head-on.