forked from WikiDeck/wikideck
- src/game/collection/: collection model (GET /api/game/collection, local fallback), 40-card eligibility with the 4-per-article copy limit, "23 / 40 cards. Mine to play" gate, constructed deck picker. No loaners, starters or borrowed decks (BRIEF decisions 1-2). - PlaySection: PvP hub with quick match, private lobby + invite link, join by link, ladder; bot match slot waits for ui-duel's board. - online.ts / OnlinePlay.tsx: duel PvP client against host-pvp's routes (idToken in body, Bearer seat token, ?v= polling with 204), validated responses. - Leaderboards: Elo ladder with W/L fallback. - src/game/recap/: /battle/<id> (and /recap/<id>) standalone page rendering duel-design's RecapDoc shape; deterministic template fallback over real match data until #69 merges. - App: /play/invite/<code> and /battle/<id> deep links; session.idToken(). - tests/ui-pvp-*.test.ts, tests/e2e/ui-pvp-smoke.mjs (Playwright, stubbed API). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>