01 -  Preheat oven to 350°F. Grease a 9x9-inch baking pan and line with parchment paper. 
 02 -  Combine cranberries, 1/3 cup granulated sugar, orange zest, and orange juice in a small saucepan. Simmer over medium heat, stirring occasionally, until cranberries burst and mixture thickens, about 6 to 8 minutes. Allow to cool. 
 03 -  In a large mixing bowl, whisk together sweet rice flour, 1 1/4 cups granulated sugar, baking powder, and salt. 
 04 -  In a separate bowl, whisk milk, eggs, melted butter, and vanilla extract until fully blended. 
 05 -  Pour wet mixture into dry ingredients and mix until batter is smooth and homogeneous. 
 06 -  Spread half of the mochi batter evenly in the prepared baking pan. 
 07 -  Distribute cranberry mixture evenly over the mochi batter base. 
 08 -  Pour remaining mochi batter over the cranberries and smooth the surface. 
 09 -  Sprinkle sweetened shredded coconut evenly on top, if desired. 
 10 -  Bake for 45 to 50 minutes, until top is golden and edges are set. Center should appear slightly soft but will firm as it cools. 
 11 -  Allow to cool completely in pan. Use parchment to lift, then cut into 16 squares.