Time-resolved GRB spectra in the complex radiation of synchrotron and Compton processes