巧夺帝王心
[qiăo duó dì wáng xīn]
The literal meaning is 'Skillfully capturing the emperor’s heart.' It implies using one's wit and intelligence to win over someone powerful or gaining influence over a high-status individual, evoking images of strategy and cleverness in social maneuvering.