I hesitate to comment on these because hundreds of comments have already said it and I don't have anything new to add.
- The age-gate should just be a setting on the device: either over 18 or under 18. Websites/apps should at most only be legally required to respect the device's assertions.
- Devices should be controllable by parents: let the parents decide whether the child should be age-restricted or not.
- Devices should have profiles so that you can let your kids use your own phone/laptop without messing up your stuff or getting into things they shouldn't.
Historically parents have been allowed to rent R-rated movies for their kids with nudity and sex and violence even if the video store isn't supposed to rent it out to the kids directly. That was always considered okay. If I think my 16-year old is mature enough to watch some porn, that should be the parents' decision.
That’s pretty close to the California law.