Synthetic drugs fundamentally reshape the illicit drug market due to their low cost, ease of production, and rapid manufacturing processes. However, current drug detection methods, which rely on complex instruments, have limited applicability and often neglect the influence of pH fluctuations, leading to potential bias and unreliable results. Herein, we propose co-calibration DNA probes on a nanoconfined biosensor (N