How to realize the CSS fillet?

now that the requirements have changed, there is a tag-like thing in the upper right corner, which can be implemented in CSS?
there are two missing corners in the middle, which were originally simulated with 2 div, but found to be a bit unelegant. How to implement them with pseudo-classes?

I"d like to ask all the gods to answer, thank you, it is best to provide demo. Front-end rookies

Mar.14,2021

draw two black circles and navigate to that position


two dots (div), are positioned relative to each other, and then border-radius:100%

https://codepen.io/jx915/pen/.


add background color with pseudo class
add fillet border-radius:50%;
absolute location


pseudo class location is OK. Border-radius:50%;

Menu