A published container port listens on every interface, and Docker's own iptables rules handle it before UFW's do. Bind to 127.0.0.1 when a proxy sits in front.
Four inset box-shadows are enough to recreate the classic raised/sunken border look without any images.