We show that as T→∞, for all t∈[T,2T] outside of a set of measure o(T), ∫^((log T)^θ⁰)_(−(log T)^θ) |ζ(1/2 + it + ih)|^β dh =(log T)^(f_θ(β) + o(1)), for some explicit exponent f_θ(β), where θ > −1 and β > 0. This proves an extended version of a conjecture of Fyodorov and Keating (2014). In particular, it shows that, for all θ > −1, the moments exhibit a phase transition at a critical exponent β_c(θ), below which f_θ(β) is quadratic and above which f_θ(β) is linear. The form of the exponent f_θ also differs between mesoscopic intervals (−1 0), a phenomenon that stems from an approximate tree structure for the correlations of zeta. We also prove that, for all t ∈ [T,2T] outside a set of measure o(T), max_(|h| ≤ (log T)θ) |ζ(1/2 + it + ih...