"cut a notch for the caption" — the media panel loses a diagonal corner and the caption sits in exactly the space it gave up.
npx shadcn@latest add @motion-menu/diagonal-notch-caption
—
Motion Menu limits how often it can be asked, and Diagonal notch caption hasn't had its turn. Its source will show here once it has.