Give the glass something to blur
The pill and panel are a frosted surface (backdrop-filter: blur(2.5em) saturate(1.4)). Over a flat colour they read as a plain grey box; put them over a photo or a busy page.
Keep the links short
Link labels don't wrap. Four labels of two or three words fit the 37.5em panel; longer ones need a smaller font-size on .plm_link-text or a wider .plm_panel.
Size the panel, not the surface
The panel is a fixed-size box (.plm_panel: width, height and border-radius). The script reads its size and radius on every open and grows the pill to match, so that's the only place to change the open shape.
Tune the spring with the period
data-au-elastic is the period of elastic.out(1, …): 0.4 rings like a bell, 1 barely overshoots. Pair a lower period with a longer data-au-duration so the ring has time to settle.