There are also two types of polystyrene foam sold for home insulation - extruded and expanded. Only extruded is closed cell,
Not true. From Wiki:
"Expanded polystyrene (EPS) is a rigid and tough, closed-cell foam."
Extruded is however more resistant to absorbing water:
"Extruded polystyrene foam...
Water vapour diffusion resistance (μ) of XPS is around 80–250 and so makes it more suitable to wetter environments than EPS."
"Water absorption of polystyrene foams
Although it is a closed-cell foam, both expanded and extruded polystyrene are not entirely waterproof or vaporproof.[25] In expanded polystyrene there are interstitial gaps between the expanded closed-cell pellets that form an open network of channels between the bonded pellets, and this network of gaps can become filled with liquid water. If the water freezes into ice, it expands and can cause polystyrene pellets to break off from the foam. Extruded polystyrene is also permeable by water molecules and can not be considered a vapor barrier."
"Waterlogging commonly occurs over a long period of time in polystyrene foams that are constantly exposed to high humidity or are continuously immersed in water, such as in hot tub covers, in floating docks, as supplemental flotation under boat seats, and for below-grade exterior building insulation constantly exposed to groundwater."
HD and Lowe's that I've checked in my area (northern california) do not seem to carry pink or blue XPS. They only carry white EPS with a foil barrier on one side. Both stores carry this same item called "R Tech." I can only assume that prolong exposure to the pink or blue foam can cause impotence in the rare and majestic white tail tit mouse so naturally it wouldn't be available to us with that risk.
While I believe that prolonged exposure to water can waterlog EPS, I know the EPS in my nearly 20 year old boat is still bone dry. So because I can't get blue or pink, I"m going with white and will put the foil lined side face down.