/* global React, LeafSprig, LaurelHalf, Floret, PlaceholderTile */ const { useState: useStateS, useEffect: useEffectS, useRef: useRefS } = React; // Resource resolver: in the standalone bundle, window.__resources. holds an // inlined blob URL; in the live/dev site it's undefined, so we fall back to the // on-disk path. Single source of truth — no separate ".standalone" fork. const RES = typeof window !== 'undefined' && window.__resources || {}; const img = (id, path) => RES[id] || path; // Padlock glyph built from plain shapes (shackle arc + body) — no emoji. function WallLock() { return (