CSS!
.el {
  border-radius: 20px;
}
@supports (background: paint(id)) {
  .el.is-loaded {
    border-radius: 0;
    mask-image: paint(corner-shape, black);
    --corner-radius: 20px;
    --corner-shape: scoop;
  }
}