Structure of a blue-light photoreceptor