A thermal trade-off between viral production and degradation drives virus-phytoplankton population dynamics.