UI interaction contract
Primary tasks
Cards is read-only. Update cards contains quantity edits, removals and restore. Add cards appends confirmed cards. In-store saves purchase candidates separately from ownership. Decks are independent selections. Play reads one saved deck. Never favorite the collection itself. Never imply a photo, search result, or evolution card has been added before explicit confirmation.
Scan flow
- Upload: show file selection and privacy note. Crop and Review are unavailable until their prerequisites exist.
- Crop & rotate: hide upload and match results. Preserve photo and per-card saved rotations. Read performs OCR only on captured crops.
- Review: hide crop editor. Show candidates or a manual fallback, never silently select and add a printing. Back restores the same crop editor. Another photo clears only unconfirmed photo state, never inventory.
An OCR error must retain the image for retry and offer manual entry. Batch cards retain separate confirmations. Switching input tabs must not destroy scan progress. Confirmation stays in Add cards and shows a toast. Only its View in collection action switches to Cards, resets filters and highlights the printing.
Use one primary Find matches action with the number of cards. Grid layouts capture the selected grid and read it in that action; hide the optional Add card to batch control in grid mode. Single-card mode can optionally build an independently rotated batch using Add card to batch. Clearly label its thumbnails Cards to check, and explain that Find matches reads only those batch cards until the batch is cleared. Do not expose competing Read current / Read saved action labels.
The crop selection is a freeform rectangle in both single-card and grid layouts: edges and corners resize independently, with no fixed aspect ratio. Start with a sensible card/grid-shaped outline, but do not enforce that shape during drag, layout reset or rotation. Drag inside to move the box. Export still normalizes each card to 1008 × 1408 pixels. This is rectangular cropping, not four-point perspective correction; separately crop cards at different angles.
Card reader and overlays
Artwork previews open after 350 ms of mouse hover on the thumbnail image only. Rows, names, stats, buttons and keyboard focus do not trigger them. Moving away from the image before the delay shows nothing; moving onto other row content dismisses the preview. Use larger source art when available, with thumbnail fallback on failure. A fixed, pointer-transparent manual popover sits in the top layer and is clamped to the viewport, never changing list scroll height or stealing focus. Click, scroll, Escape, window blur, resize and anchor removal dismiss it. Touch and keyboard users can open the full card reader. Suppress previews while a modal is open. Browser placement checks remain outstanding.
- Initial focus is Close, not the confirmation button at the bottom. Reader opens at the card heading.
- Confirmation quantity and Add remain visible in a sticky footer. Keyboard Tab stays inside the active modal; Escape closes only the top overlay. Closing restores focus to its origin if the origin still exists.
- Searchable selects use a top-layer native dialog with a shadcn-style trigger and option list. Type filters options; arrows move, Enter selects, Escape cancels. Retain native selects as the authoritative value adapters. Floating UI 1.7.4 supplies dropdown positioning. Search inputs are at least 16px on mobile to prevent focus zoom. These are styled native buttons, not React shadcn components.
- Menus must not expand a scrolling list's content bounds. Use a top-layer popover when supported. One open menu at a time; outside click, Escape, selection and navigation dismiss it. Keyboard traversal is contained while open.
- Favorite is a distinct quick action. Removal is behind a kebab and requires an impact preview; never place a destructive shortcut immediately under Favorite.
Content and visual hierarchy
Show dynamic collection counts, not the fixed 60-card rule as a dashboard statistic. One primary action per task; secondary administrative actions belong in overflow. Avoid repeated or jokey instructional copy. Pip's optional animation is user-triggered. Its original eyes stay in the artwork; floating duplicate eyes are hidden.
Card search sources
Bundled Pokémon TCG Data supplies immediate and offline fallback matches; explicit full-catalog search uses TCGdex. TCGplayer is a marketplace, not the official Pokémon database. Its developer documentation currently states that new API access is not being granted (checked October 11, 2026): https://docs.tcgplayer.com/docs/getting-started
Typing filters local matches only. Search or Enter explicitly submits to the full TCGdex catalog. Query changes abort outstanding catalog requests and invalidate their responses. Disable Search and Load more while one request is in flight; ignore repeated submissions until it finishes. Cache up to 40 result pages in memory for ten minutes; do not persist search history. Empty or one-letter names do not issue broad requests (printed numbers and set references are allowed). On network failure clearly label Local fallback and preserve usable local results. Never automatically retry. Honor a 429 Retry-After with a session-wide cooldown (30 seconds if unspecified; bounded to 1–300 seconds). These are client-side protections, not server-enforced limits. The source label, Search button and TCGplayer external-website link sit next to the search controls, above results. There are no provider toggles: TCGplayer is not queried by this app. Only a deliberate submission sends search text to TCGdex; images are not sent.
Offer a user-initiated TCGplayer search link for reference, not scraping or automatic import. External pages cannot add an inventory entry. Compare exact printing, number and effects before confirming. Data coverage and OCR remain fallible.
Local and online search page through printings in groups of 24, with an explicit Load more action. Accept a name, a printed number/fraction, a known set code, full set name, or provider set ID. Keep name, number, total and set constraints separate: never silently broaden a failed exact lookup. Unknown set codes require correction or deliberate removal. Resolve catalog set aliases to TCGdex IDs by full set name, not guessed ID numbering. Online results load exact details before review; no API response updates inventory without Add confirmation. Editing a query invalidates pending results.
Every scan candidate group offers None of these match. Single-card recovery opens manual fields; batch recovery keeps its crop and confirmation callback while searching online. No Google photo upload, headless Lens scraping, Scrydex integration, paid account, or billing setup is included.
Pasted-list review uses inline visual printing choices, not select menus or floating comboboxes. Each entry shows quantity, card artwork, exact set/number, type and printed stats when available. Native radio inputs provide one choice per entry; even a single exact match must be explicitly selected. Details opens the read-only card reader without selecting or adding. Clear selection restores the unconfirmed state. A sticky Add selected summary shows selected line/copy counts and is disabled until a valid choice exists. Partial confirmation preserves unresolved input and shows added rows as completed, preventing duplicate additions. Search all printings is explicit and preserves the original quantity in its confirmation dialog; a successful confirmation also marks that list entry completed.
Interaction checks
Top search opens a drawer from the header or Cmd/Ctrl+K. Search scopes are owned cards, the selected playing deck and saved decks. Matching while typing uses local data only. Recent terms last for the current session; no terms are persisted or sent online. Result selection opens a read-only card or a saved deck. Existing Add-card online search remains explicit.
Play defaults to an artwork grid. The sticky controls join the actual measured app header, and the selected-card Read action remains accessible while scrolling on mobile. Reader mode displays complete effects inline, including Basic Energy information, without an extra Read button. Double-tapping the image opens a full image; wrappers and text do not. A dragged touch or single tap cannot enlarge. Desktop double-click and explicit Full image buttons provide alternatives. Full image inside an existing reader reuses that dialog and preserves its trail, confirmation quantity and scroll when returning. Image failure retains Close/Back access.
The card reader stacks large artwork above text on mobile, with no image wider than its grid column. Camera and Choose photo are two equal panels on wider screens and stack narrowly; both are hidden after Upload. Cards workspace actions become labeled icons on small screens rather than wrapping across rows.
Full table opens a viewport-filling collection dialog with local search, kind filtering and sortable name, copies, kind, type, HP, printed damage, added and updated columns. Expanded rows show card artwork and effects inline; the full card reader remains available. No table sorting/filtering calls online endpoints. Missing historical timestamps display Not recorded and sort after recorded dates. Track dates on future additions and quantity changes; never invent prior history. The backend proposal is documented separately at /backend-plan.html and has not been deployed.
Automated interaction tests must cover state guards, single and batch review, preserving crops on Back, explicit additions, combobox selection/cancel, separating removal, and closing Pip's animation. DOM tests are not browser layout or accessibility certification.
Manual browser gate: keyboard-only Tab/Shift+Tab and Escape with nested dialogs; trigger focus restoration; screen-reader labels; opening menus at all four viewport edges; no list scroll-height increase; 360px and 1024px layouts; reduced motion and mute; repeat scan/crop/Back/confirm with mixed rotations.
Browser verification is required before claiming those visual/focus checks pass. The current environment has no supported browser-control skill; those checks are explicitly outstanding.
Reading aloud
Speaker icons next to owned cards, deck cards, Favorites, expanded rows and the card reader read the exact printing's HP, types, attacks, Energy costs, effects, abilities and rules. Speech starts only after a tap; tapping again or Stop reading cancels it. Pip's small on-device Hugging Face model and voice embedding warm when the workspace loads and are cached in the browser; device/browser speech is never substituted. Variable printed damage is described as requiring calculation; missing data is called out. Navigating, closing the reader or hiding the tab stops reading. The player stays inside an open modal so its stop button is accessible. No microphone, recording, paid TTS service or speech endpoint is used. If Pip's model cannot load, the control reports that state and allows a later retry.
Account entry and navigation
Initial entry is a loading/sign-in gate. The sidebar and workspace are hidden and inert until both session and account data load. Registration and recovery remain available. Sign-in cannot be dismissed into a guest workspace. Empty accounts show Add cards to start; returning accounts load online data without replacing it from an empty cache. Log out returns to the gate. Failed session/data requests offer Retry.
The desktop sidebar holds search, card tools, useful deck summaries with direct Play, and an account footer. Its body scrolls independently of the fixed header/footer. Header actions use compact icons; Log out remains visible. Mobile keeps search and account actions in the header.
Mobile Cards and duplicate review
On mobile the header and bottom navigation remain outside one scrolling workspace. Card rows do not use a second scroll area. Cards shows twelve filtered printings per page; filtering resets pagination and never changes inventory. Help & info opens rules, privacy and supporting links in a dialog and restores those sections when closed. Large thumbnails remain. Camera and Photo use matching input cards and the same button treatment. Camera permission still requires a tap.
Adding an exact printing already owned shows the owned, added and resulting counts. A single-card review requires extra-copy consent; changing the quantity clears it. Paste/list and purchased-candidate transfers review duplicate totals before saving. Cancel changes nothing. Different printings sharing a name remain distinct. Energy copies are allowed and receive the same confirmation. Backup and snapshot restores retain explicit replacement review and never append arbitrary card rows.
React checkpoint
Cards and Update cards share TanStack Table row models and shadcn primitives. Mobile navigation offers numbered pages and a direct page selector rather than only Previous/Next. Default pages contain six printings; 12 and 24 are optional. Search filters every owned printing locally. Filters and sort sit in a compact Popover; favorites is a separate toggle. Changing query/filter/sort returns to the first page. Shrinking the collection clamps the page to the remaining range. Quantity edits do not reset the current page. Expanded rows contain the actual card text. Cards never offers ownership inputs or removal.
Reader list navigation also uses numbered positions and a direct selector, independently of the evolution trail. Text size is an Aa radio menu beside Close, with Small / Medium / Large options (14 / 16 / 18 px card copy); it does not consume a full control row above the image. Formik + Yup handles migrated form drafts using shadcn fields. Online catalog lookup remains explicitly submitted.
History separates the protected Current card list from deletable snapshots. One modal owns browsing, preview, naming and deletion confirmation; no nested confirmation modal is added. Deletes affect snapshots only and provide guarded session Undo. Online deletions remain deleted after reload.
Play navigation uses one selected printing ID for the spread highlight, readable content and position selector. Previous/next or direct selection reveals the corresponding spread card without stealing keyboard focus. Clicking a spread card updates the controls. Mobile controls use one compact row with view/search/card actions in the overflow menu. Deck Settings, Save changes and overflow stay in a three-column mobile row.
Account forms show the original Pip artwork. Pointer motion is decorative and does not displace controls. Password/recovery focus raises a privacy shield; animation never reads those values. Form validation, submission, recovery-code saving and keyboard focus remain independent. No autoplay audio; reduced-motion removes movement.
Reader text size changes all card data and evolution copy, including previously fixed energy/retreat text, headings and stats; the Image tab hides Aa because artwork text cannot be resized. Navigation keeps its shadcn sizes. The evolution selector uses one horizontal Radix tab row with three visible image tabs on mobile, scrolling for longer chains. Printings appear directly below the selection; the current Pokémon is selectable too. Rules sit in a separate collapsed accordion below printings. Choosing a printing drills into the existing evolution trail; selecting the current printing returns to Card data.
Play sticky toolbar uses the nearest scroll container: top 0 inside mobile main (header and status are already outside it), measured header offset for desktop document scrolling. A ResizeObserver measures the React toolbar height for card reveal margins instead of a fixed 120 px estimate, with listener cleanup when Play is left.
Evolution image tabs override the primitive's horizontal h-9 constraint to keep full image/label height. Stage selection only scrolls the horizontal row. Chrono history uses natural timeline height and visible inner overflow so the shadcn modal body owns vertical scrolling; mobile hides redundant axis titles.
Scan uses Stepperize's guarded controlled steps and shadcn cards/controls. Camera permission is requested only by Open camera; Choose photo uses Formik/Yup file checks before decode. Cropper/video/preview ports stay mounted when steps hide, without React owning their internal nodes. Crop controls disable while processing. Manual recovery is a Formik/Yup form with explicit Find matches / Search all printings, and result-image buttons open the existing confirmation reader. Review never silently adds a guessed match. Photos remain temporary memory and are excluded from workspace/export/API payloads.
Nested Select/Dropdown portals use z-index 180, above popovers at 160 and dialogs at 150 (overlay 149). Rules/help HTML inherits foreground text; secondary help text uses muted-foreground. This avoids retaining legacy text colors that resolve to a shadcn background color.
React navigation and deck editing
Desktop navigation uses shadcn Sidebar with icon collapse. Secondary mobile navigation uses Sheet, closes on a chosen destination and supports Escape. Cards/Decks/Play remain three bottom destinations with safe-area padding. Header, sync status, main scroll origin and mobile navigation are separate layout regions; the Play toolbar sticks within the existing main scroller. Sidebar/header actions remain authenticated and call the established controller.
Saved-deck cards use overflow menus for rename, duplicate, export and deletion, with favorite as a quick action. The editor's Settings/Save/menu controls stay in a three-column mobile row. Deleting a saved deck asks for confirmation and removes that deck's game notes; deleting a different deck must preserve the current draft. Current ownership is never altered by deck editing.
Deck cards use TanStack Table search/kind filtering/sorting and six printings per numbered page. Card artwork occupies the first column; quantities and actions stay in the second. Inline expansion includes the card data. Clicking a name opens the shared reader with the filtered card order. Quantities retain blank input until blur/Enter or an explicit increment/decrement, validate whole numbers 0–60, and still pass the domain ownership/copy/60-card checks. New builds and rebuild previews are explicit Formik submissions; changing a field makes no network request.
The Chrono decoration is clipped by the natural-height timeline boundary, never the heading/action row above it. Menu content is portalled so timeline clipping does not clip the snapshot actions.
Entry and shared management overlays
Find/Scan/Paste share Radix Tabs. Old JSON tab links fall back to Find. Panels remain mounted while inactive, preserving drafts and native crop/camera lifecycles. Find and Paste printing choices use TanStack numbered pagination and image-only delayed magnification. Text entry performs no online request; online lookup requires Search/Enter or an explicit load-more action.
Reviewed paste text must still match the draft before Add. Choosing an image sets a selection, never ownership. Manual JSON import/editing is removed. Restore backup accepts complete First Shuffle backup files only, validates them before showing a row/count review, and requires confirmation. Changed workspace data invalidates restore approval. Snapshot recovery uses the same reviewed replacement without a raw editor.
Removal, swaps, conflict/import decisions, deck rename/delete and backup/snapshot restore use the shared management overlay owner at runtime. Account recovery takes priority and queues management notices. Removal/swap callbacks reject changed source data. Cancel/Escape writes nothing, and pending network actions display loaders.
Section-top cross-navigation helpers are removed. Bottom/side navigation targets the selected saved deck for Play from Decks; unsaved deck edits are handled before changing to Play. Actual Build/Save/New deck/selection actions remain.
The evolution selector traverses the connected printed-parent chain immediately, including later stages and owned-only printings. Goomy exposes Sliggoo and Goodra on the first visit; selecting a printing is not required to discover another stage. Regional branches remain distinct and cycles stop.
Play includes a Coin flip action, available even without a focused card. It opens one full-screen dialog with Pip heads and star tails. Each toss samples one cryptographically random bit independently of the animation. Three.js renders a Cannon rigid-body trajectory with gravity, collisions and settling; the symmetric coin faces are labeled before replay, without an end snap. The scene loads only when opened, renders only during tosses or resize, and releases graphics resources on close. Reduced motion shows the outcome directly, and unavailable WebGL uses a CSS toss. Results are announced and recent flips stay in memory; no workspace changes or API requests are made.
In-store recommendation Find printings is an explicit catalog search. It collapses the suggestion accordion, clears stale set/number filters, opens Find, and focuses/reveals the matching-printings heading without opening the mobile keyboard. It reuses the catalog loader, cancellation, throttling and local fallback. Repeated taps while searching cannot start duplicate lookups. Searching never saves a candidate or changes ownership; exact printing review and confirmation remain required.
Play options includes optional Group cards: Pokémon, Trainers & Energy (default) or No grouping. The grouped spread has headings and copy counts for nonempty kinds, with the same responsive artwork grid within each section. Filters apply first and the existing sort is kept within each kind. The card selector shows the same sections and positions; Previous/Next follows visible order while switching grouping preserves the focused printing. Reader mode uses the grouped selector without extra content panels. Grouping is an account-scoped, per-deck display preference restored on reload and in group=kind links; it never changes the saved deck, inventory, Prize notes or makes a catalog request.
Grouped Play sections are independent native details/summary accordions, initially expanded. Their collapsed IDs and grouping choice use the existing account-scoped per-deck browser preferences, with group=none and closed=pokemon,energy URL parameters for overrides and deep links. Selecting a hidden card through Previous/Next, the card selector or keyboard navigation expands its group and records that new state. Filtering keeps collapsed choices, including kinds temporarily absent from results. Browser preference format 2 migrates the old implicit flat default to grouped while retaining navigation, filters and scroll; new explicit No grouping choices remain saved. These display preferences never enter the cloud workspace payload.
Full-screen coin dialogs use the shared DialogContent fullscreen layout rather than overriding a centered dialog with inline transform:none. This variant omits all 50% offsets, independent Tailwind translate centering and zoom transforms; it uses inset:0, full viewport width and dynamic viewport height on desktop and mobile. Header, Close target (44 px), content sides and footer respect safe-area insets. Other management dialogs retain the centered layout and constrained scroll body.
Play deck heading
The Play heading is the sole visible deck selector. It uses the existing shadcn Select, supports wrapping deck names on mobile and desktop, and lists saved decks with unavailable decks marked Needs attention. Controls contains game actions, Prize notes and card filters. Switching uses the already loaded saved deck; it updates in place, records the selected deck in navigation, and preserves each deck's Prize notes.
Card type symbols
Card type badges pair visible names with small original SVG icons and the existing theme-aware colors. The same symbols are used in Cards, deck rows, favorites, the card reader, and Play cards/spotlight. Water is a droplet, Metal a hexagonal plate; all supported types have a symbol, and unknown types retain their text with a neutral fallback. Icons are decorative for screen readers; badges are informational, not extra controls.
Loading and touch feedback
- Startup keeps the Pip shuffling-card loader visible until both module initialization and account checking settle. Authentication failures retain their retry/sign-in screen; import failures expose Reload. Theme updates preserve the initialized workspace and portal hosts.
- The top edge has an indeterminate Blue-to-cyan flow bar for overlapping fetches, route changes, and lazy/loading regions. It does not block the current screen or claim a percentage. All success/error paths release their activity token. Local tab navigation releases after rendering; stalled document navigation releases after 30 seconds.
- React Suspense provides route, history, evolution, and coin-body fallbacks. Effect-based searches, account/admin/support requests and card detail fetching have explicit loading states using the same loader. Previously loaded content stays in place during background requests when supported by the section.
- Portal host attachment uses layout effects to avoid painting an empty host before its React content.
- Buttons and tabs show a bounded ripple at the touch point (centered for keyboard activation). The overlay never intercepts input, changes the control DOM, or applies to disabled controls. Scrolling/resizing removes outstanding ripples. Reduced-motion preferences show static loading artwork/bar and disable ripples.
Help copy and focused-card scrolling
- Imported Help resources reset legacy text containers to the dialog’s foreground and inherited text size. The legacy
--mutedtext color must not be used inside shadcn, where that token represents a background. Rules, list items, notes and links remain readable in both themes. - At desktop widths (768px and above), the focused-card sidebar in the Play card spread sticks below the app header and measured Play toolbar. Its height is bounded by the viewport; longer card details can scroll inside it. Reader layout and mobile keep their existing flow, and print removes sticky positioning. Native CSS sticky positioning needs no extra library.
Support conversation tables
Both customer support and the admin inbox use TanStack Table with shadcn table primitives, compact sortable headers, subject search, topic/status filters, and 10/20/50-row pagination. Sorting and filtering happen on the server before pagination; stale or aborted requests cannot replace the latest results. Mobile keeps subject/status/date visible and moves account/topic into the subject cell.
Active conversations are the initial view; Resolved and Archived filters retain earlier conversations. Owners can resolve/archive/reopen their own thread; administrators can do the same with audit records. Archive retains all messages and requires explicit reopen before another message. Subjects, messages, replies and search fields cap at 1,000 characters; API writes enforce the same bound, and compose/reply fields display character counts. Existing longer messages remain readable.
On desktop the Play eyebrow spans the grid’s first row; the deck picker and Controls summary share its second row and a 48px minimum height. Long deck names may wrap, and mobile retains its stacked layout.
App pages and static reference pages use the original Pip PNG as their tab/favicon and Apple touch icon.
Verification codes and trusted browsers
Six-digit authenticator and email fields use the existing input-otp package with shadcn slots: two groups of three, a numeric keyboard, one-time-code autocomplete, and a single accessible input. Whole-code paste accepts spaces/hyphens and fills all slots. Backup/recovery codes keep their text field. Entering/pasting never automatically submits. Failed verification clears numeric fields for the next attempt.
Authenticator confirmation offers “Trust this device for 30 days,” checked by default. The browser keeps a random HttpOnly cookie; storage keeps its keyed hash and an account-scoped keyed browser-signature hash, rather than raw user-agent data or invasive canvas fingerprinting. A valid password remains required for a new session. Trust is absolute, revocable, and only issued after a successful authenticator code. Email-only trust cannot bypass enabled MFA. Remembered admin sessions may browse; writes, activation and security changes still require a code verified within 15 minutes. The console shows an inline verification form when needed.
Deck and player polish (October 15)
- Deck cards use a Cards & settings toggle in the preview; the editor remains mounted while collapsed. Its card width and outer spacing do not change with the toggle.
- Build settings expands directly under its toggle with aria-expanded/controls. Apply goals recalculates guidance without replacing selected cards. Rebuild draft requires a review explaining replacement of manual draft choices; it never saves the rebuilt list automatically. Saving an existing draft has a separate confirmation; delete remains confirmed.
- Add from collection defaults to every owned printing, with search, kind filtering and six-row pagination. Suggested is optional. Manual additions enforce owned quantities and 60 total; format/name/ACE SPEC concerns remain visible in deck checks rather than hiding choices.
- Collection favorite actions sit by the title; quantity pencil sits by owned count. Details and Evolution toggle inline; family browsing reuses the shared evolution picker.
- In-store history/export/restore live in a gear menu at every width. Candidate rows, tabs and hero use readable mobile sizing. Switching between Find and Saved candidates preserves the hero at the scroll destination.
- Overview rows use content-sized spacing on desktop. Its completed animation exposes Replay and can be paused/resumed/replayed; reduced-motion behavior is preserved.
- 78 bundled friendly player icons, with Pip reserved for the app mascot. Lagoon Fox is the default, including the display fallback for older Pip/empty player avatars. Accessible selection is available on signup, Account security and audited admin user editing; external image uploads/URLs are not accepted.
- Trusted admins initially see the verification card without the console beneath it. They can explicitly browse with remembered trust; writes retain fresh MFA/password checks.
Recovery and signup follow-up
Recovery codes are shown in a labeled read-only textarea with native text selection (including WebKit), select-on-focus/click, Copy and Download actions. Copy failure selects the text and explains manual copying; it never marks the recovery code as saved. The explicit saved checkbox still gates Continue. Signup shows the player icon choices expanded after the account fields; selection is submitted with registration. No player choice or default uses Pip.
The native embedded Site preview serves a script-free canonical-site handoff for GET/HEAD frame navigations. Direct navigations retain their 308. No production authentication is served under an alternative origin and no parent CSP is weakened.
Discoverable player profile
The account menu has a Profile link on desktop and mobile. /account#profile opens the first card, with an editable display name (60 characters), sign-in username, expanded 50-icon picker and explicit Save profile. Email & recovery and Security have visible section links. Account ID is tucked into Account details. Profile updates are cosmetic and owner-scoped; username and verified email retain their existing authentication flows.
Play setup choices
New game uses two mutually exclusive location segments: On this device and With a friend. The selected segment remains visibly highlighted and cannot be deselected by tapping it again. On this device offers Virtual table or Physical cards as a second segmented choice. Select a saved deck once; the online action creates the waiting room directly, while local play continues to the second-deck/setup screen. Join game remains separate for someone who already has a code. These option labels and descriptions live in public/play-options.mjs and feed the generated current-release guide.
New deck entry
The deck list has one New deck button. It opens two large choices: Build myself starts an empty collection draft; Generate opens collection or fantasy generation. Collection generation shows goals and one Generate deck action. Fantasy generation keeps its Energy and favorite-card controls. Dismissing the chooser does not change the draft. With no owned cards, fantasy generation remains available.
Start from a saved deck
Ready 60-card decks show Play beside Details. Play opens the Play hub setup with that saved deck selected; it does not deal cards, create a party or reset a game. The user chooses on-device or friend play and the format before continuing. Valid deck selections survive format changes. Existing games remain available through Resume.
Navigation counts and attention
Footer tabs show physical collection copies, saved decks, and active games (unfinished local plus accepted unfinished online games). Red Play dots indicate turns waiting for the user or unexpired incoming game invitations; they are separate from the game total and remain until the action is resolved. Play has a Game notifications button for a game-only Inbox modal. Viewing this filter does not mark unrelated deck invitations read. Counts use the shared Inbox snapshot and local game summaries, and reset on sign-out.
Mixed card guidance
A deck may include saved cards outside the reviewed effect release. Valid unfamiliar printing IDs receive explicit manual-only coverage; they must not fail the entire deck or be assigned an inferred program. Reviewed cards retain their pinned guidance. Network and account failures remain retryable and require an explicit manual-play choice before dealing. Player copy uses card guidance, not effect catalog.
Crop padding
Single-card preview, batch images and OCR use the same export. Transparent pixels beyond the source photo are removed before normalizing to card size; actual white photo pixels are preserved. An empty selection cannot become a blank white card. Grid cell positions remain unchanged.