::part styles custom elements’ shadow DOM, while ::slotted styles elements passed into slots within Web Components.
::part
::slotted