It was pinned to the bottom-right corner. On a short window that put it straight
on top of the bitrate choices the playback watchdog shows (that panel is
centred), and there was no way to move it out of the way.
The button now uses left/top (set from JS) instead of right/bottom, is draggable
with pointer events, and remembers where it was dropped. Details that matter:
- touch-action:none, otherwise a drag on a touch screen scrolls the page
- a drag still fires a click on most browsers, so the click that ends a drag is
swallowed; dragging never opens the panel by accident
- clamped to the viewport, and re-clamped on resize
- double click resets to the default corner (escape hatch for a button dragged
somewhere awkward)
- the settings panel follows the button instead of the viewport corner, so the
two cannot drift apart; it prefers to sit just above the button, falls back
to below, and clamps on screen when it is taller than the space available
Verified against a local harness, 18 checks, all passing: default placement
matches the old corner, a drag moves it by exactly the pointer delta and
persists it, the click ending a drag does not open the panel, a plain click
still does, the panel tracks the button's right edge, clamping holds at all four
edges, and double click restores the default.