Pass PVC through a plastic lid without leaking
See the picture and the diagram below (which is actually not quite right; the pipe on the top won't be that long; it will turn 90 degrees just above the plastic lid.
Any suggestions on how to keep it from leaking? Perhaps make the T under the lid flush with the lid and the same for the elbow joint above it, and then make the hole as small as possible? That wouldn't keep all water out though, but it may work for splashes.
Any ideas are greatly appreciated!