This pitiful excuse for a hinge actually lasted far longer than I expected:

Also much to my surprise, the plastic solvent-bonded to itself, although I doubt either of those pins will survive another four years.
The yellow discoloration seems to be most prominent on the inside of the lid, which suggests the water is nastier than they’d have you believe. The disinfection additive has switched from chlorine to chloramine and back to chlorine over the last few years, which may have something to do with it.