CIWS in many Naval "think" already outdated weapon. due to
1) Due to fire rate 4xxx/per minutes, base on ammunition have, CIWS ammunition can empty in 1-2 minutes
2) CIWS only fire single direction, if facing multiple missile attack than still not help,
3) CIWS not good effective to against supersonic missile.
4) CIWS is complex system. many module, more complex maintanance, means extra space too. maybe need extra maintenance crew
5) CIWS use high electric power, like example Gatekeeper use 90kw power, Phalanx CIWS use 75kw of electric power, compare to Rheinmetall Millennium 35mm only use 15kw+ power
6) current new radar,ECM, countermeasure and sam missile more optimizing to counter ASM....
7) Missile more provide show "power".
Gatekeeper system diagram, look complex.

I can't find Plalanx ciws system diagram, but just land base

I think you don't understand ciws.
Ciws is aint just goal keeper or phalanx or ak630.
Millennium cannon, searams is also consider as ciws.
The latest is the laser system.
The ciws is still a very important system to ensure survival of a ship.
ciws is last line of defence if all the effort to intercepted incoming missile like using jamming or SAM failed.