We introduce a new approach to high-energy spectra in AdS3/CFT2, addressing the open challenge of incorporating spectral statistics into the modular bootstrap. Using the analytic theory of L-functions attached to two-dimensional CFTs, we leverage modular constraints among high-energy states to derive a sum rule relating the spectral edge to bulk spectral fluctuations. As an application, we establish a refined modular bootstrap bound: letting Δ1 be the conformal dimension of the lightest excited Virasoro primary of a unitary CFT of central charge c, we show that Δ1−12c−1≤o(c), with at most one exceptional value of the scalar gap at each sufficiently large c. The result applies to theories with logarithmic rigidity of spectral counting fluctuations, as in random matrix theory. We exhibit circumstances under which the bound is strengthened further.