For me, bright light, even immediately before bed, isn't a problem. Seeing any kind of daylight early in the morning is much worse, because it almost guarantees I won't sleep again. For that reason, we have lined curtains and blackout blinds and I roll a beanie hat over my eyes when I go to bed.
Late-night screens seem not to be a problem for me unless they keep me up late or I watch something that's too exciting.