Neat. I'll play around with this! It seems like your icons are squished on the vertical axis though and the code doesn't seem to handle civ-specific techs correctly, at least Delenda Est's (select the Athenian house to see 3 different techs unlocking women, even though only 1 should show).