N.B. - The top two photos are the ‘modern Boeing’ 787. The bottom two are the 777 under the ‘real Boeing’ management.
I think you'll find most of the difference in crew rest between the 777 and the 787 is due to the rather significant difference it fuselage diameter - i.e. there is simply much more room in the overhead of a 777 - rather than what management team was in charge.