#/mobile/cards shows the game without the site shell: a title, a footer
with the account and a discreet "Version complète" link, and a tab bar
fixed at the bottom. Phones opening #/cards are sent to the same section
in mobile mode unless the player chose the full version. Account,
History and Administration point to the computer.
The panels are the computer ones, adapted under .nebula-mobile (and
body.nebula-mobile-body for dialogs) for a 393×852 reference phone:
small cards with names under them when opening packs, a revealed card
shown large on tap, tap-to-pick team recruitment with a single Recruit
button and large stars, row lists for explorers and commons in the
expedition pickers, a race track and circuit that read at phone size,
and full-width actions throughout. Firefox no longer shows a mirrored
back on a flipped card.
Phone Playwright journeys check that every section fits the screen with
no button wrapping, then open a pack, run an expedition and recruit a
team by touch.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Échanges et dons page now opens on two illustrated tiles, centred and
360 px wide at most: trade (L'Échange Écarlate) and give (the Dawn card,
renamed Le Don de l'Aube with a gift story). Each counts the cards missing
on either side and previews a few. In the composer, the most useful players
come first in the list and as suggested chips, and missing duplicates lead
with a badge; nothing is filtered, so owned duplicates stay tradeable for
Awakenings. GET /api/cards/traders adds `wants`: which of the viewer's own
duplicates each player lacks, and nothing else of their collection.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A ratchet test fails on any new exported function without a JSDoc block and
keeps the list of the 496 older ones only shrinking. Every Sass sheet must now
start with its role header, not only the listed ones. The root, website, styles
and tests AGENTS.md files say to document new declarations at once and to
complete an undocumented one whenever it is modified.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each @mixin and @function now has a /// block: what it draws and when to use
it, its parameters with their accepted values, and the mixin that goes with
it. VS Code shows it on hover with SCSS IntelliSense. Ten mixins that nothing
included are removed; the built CSS is byte-identical. tests/static-styles
now requires the block, and website/AGENTS.md gives the template.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
All 35 of them shared the collection's 25/25/20/30 profile. The 17 with a
marked character now follow an existing archetype (runner, guardian, guide,
cartographer, ferryman, reliable guide, peaceful, lucky charm). The others stay
balanced, each leaning slightly towards the stat its text suggests. The balance
targets and the expedition balance test still hold.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
At 768 px the sheet switches to two columns and the summary shrinks to 336 px,
so four stat tiles overflowed. A container query on the summary now decides.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A last Sokko TCG journey plays five days on a moved server clock: gold stars
from the daily card, a recruitment that survives reloads, a race interrupted by
a reload and finished with its boost, a full race, the team's three days and a
full reserve that turns the daily reward back into plain stardust.
scripts/simulate-team-race.mjs measures keeping against recruiting on the race
itself. inventTeam takes an optional gold reserve for it. Keeping wins 1.6
stardust per race over recruiting every day; choosing by average power adds 0.4.
The figures are in docs/equipe-du-jour.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dailyShare.js held fillTemplate and formatCountdown, used across the whole TCG,
under a Daily Card name. They now live in textFormat.js at the root, and the
Daily Card helpers in daily/dailyFormat.js.
173 exported functions that other files call now explain what they return and
how they treat missing values: the server game rules, the toolbox storage chain,
the shared hooks and utilities, and the TCG display helpers. website/AGENTS.md
asks the same of new shared functions.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The 669 // comments sitting right above a function, method or hook become
/** */ blocks, unchanged in wording; eslint directives stay right above the
line they target. website/AGENTS.md now asks for JSDoc on function comments
and // inside function bodies. ExpeditionPlanner.jsx grew past 300 lines and
gets its full header, as the header test requires.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The 48 files of the Daily Card, Expeditions, Daily Team and race, Broken
Mirror and card rendering move to daily/, expeditions/, team/, mirror/ and
rendering/ under website/src/features/cards, with every relative import
rewritten. The root keeps the page, server calls, cache and the player
sections outside the Guild. The cards README, the quest recipe and the
current docs follow the new paths; dated audits and plans keep theirs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tests/file-headers.test.mjs now fails when a source file over 300 lines lacks
"Utilisé par :" and @see, when a listed central file lacks "Utilisé par :", or
when a file adding methods through Object.assign does not say so. The eleven
files below the bar are completed, so no waiting list is needed.
tests/toolbox-compactors.test.mjs makes sure every tool type has a storage
compactor, the gap found while documenting the toolboxes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Document how server.mjs keeps the site up when an API is misconfigured and
reports it on /api/health, the cache and CSP policy, the share API's
synchronous reservation, the trust placed in X-Forwarded-For, the hooks main.jsx
wires once, and how to run each script. The deploy script header now recalls
that CI runs the copy installed on the server.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Document the storage chain (optimistic state, write queue, compare-and-write
transactions, cross-tab sync), the tool registry, actions and pages, the
contract a tool receives through its context, and the encrypted sharing
whose key never reaches the server. The compactor registry header no longer
calls itself strict: a missing compactor writes data as-is, now tracked in
sokko-g-afbw.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Document the page, API client, offline cache, card renderer, quest pages and
admin dashboard: how stale responses are ignored, where the CSRF token lives,
which requests are idempotent and what the admin checks really protect. Fix
the Broken Mirror headers that still described two levels instead of three,
and the cards README that still described the stale-response bug as open.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each core file of services/cards now says where it sits, its entry points,
who calls it and what to watch for: admin checks living in the service, the
methods added to ExpeditionService and TeamService by Object.assign, the
InTx suffix, settings defaults that do not change an existing database, and
rules shared with the browser.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add ARCHITECTURE.md (layers, flows, folder map, glossary), CONTRIBUTING.md
(setup and step-by-step recipes) and a README in each main folder, with an
index of docs/. Convert the 511 JavaScript headers from "// Rôle :" lines to
JSDoc @file blocks, define a three-level header template in website/AGENTS.md
and check the header in tests/file-headers.test.mjs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Guild settings stacked three levels of navigation (admin menu, quest
tabs wrapping on two lines, Expedition tabs), hid whether each quest was
open until its tab was opened, gave every quest a different layout, wrote
the day's figures as sentences and laid out settings loosely.
- The Guild opens on one card per quest, built like the player's Guild
board: the quest illustration, its state badge, the day's figures as
small one-line rectangles and a "Régler" button.
- Inside the Guild, the admin menu lists the five quests; the collapsed
half-screen menu reads "Guilde › <quête>".
- Each quest starts with a breadcrumb and the header of a collection page:
illustration, state badge, "Ouvert aux joueurs" switch (confirmed before
applying), summary and the day's figures, then what follows the day
(Current Race circuit, today's hard mirror, running expeditions).
- The broken mirror sets its three mirrors in the drop-rate table (picture,
games today, base gain, per remaining move, move margin).
- Expedition destinations are aligned list rows with a switch.
- Settings groups keep the NDS panels used by the Shop. The Guild layout
moves to its own sheet, _nebula-admin-guild.scss.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Players kept finishing third or fourth: opponents were played better than
their owners would (always the best runner, half of them with perfect
boosts and no reaction time), and the Watchers recruited knowing the day's
circuit, which players never see.
- A player who already ran today now comes back as a ghost with their real
race; other teams play like an attentive player (best runner, each
teammate given in a zone of its best stat after a reaction delay). The
Watchers recruit blind; only the strong one plays attentively. The
administration counts the ghosts.
- The rule that a boost keeps the value of the zone where it was given is
now stated before and during the race.
- A boosting teammate is greyed at once with "Élan donné", a 1.5 s bar and
its locked value; the others dim while the player has to wait.
- The result shows the place as a medal, the finish as lanes (with a gold
silhouette at the best boosts), the three times, each boost placed on
the circuit (dashed in the teammate's best stat when it was worth more
elsewhere), a sentence per boost to place better and, when clearly
faster, another runner. The best boosts are searched in the browser.
- A development-only "Recourir (dev)" button erases the race and keeps the
team.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every Sokko TCG section now offers the top bar's toolbox button. Instead of
linking a toolbox, the drawer lists all toolboxes (linked to a game or not)
as wide rows with a large cover, opens the one chosen, and remembers it on
the device. Memos and alerts follow the toolbox shown.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Only the engraving burin and the workshop plan (while the workshop is open) keep a card in the bag, now compact: art on the left, name, help and action on the right.
- Every other item (destination items, wind rose, anchor, balm, oblivion scroll) is shown small on the same row, with what it does and where to use it in a tooltip.
- The oblivion card picker is gone: the scroll is used from a card's sheet.
- The bag's styles move to their own sheet.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Each owned item that would add a destination today (guide star, sky chart, or enough treasure map fragments) gets a dashed frame under the destinations: what it does, the difficulty and the loot bonus of the added destination. A click uses the item, as in the bag.
- Frames appear only while the item is owned in sufficient number and its slot is still free, and share the destinations' grid.
- "1 destinations débloquées" becomes singular.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- On the local dev server, a test player can open a group on one of its destinations, with the 20 s test trip; it departs by itself after 5 minutes, since only the creator may launch it.
- While a player chooses their card to join, the expedition planner is hidden; Cancel brings it back.
- Joining and readying are one button, "Valider et se mettre en prêt", at the bottom right of the loadout frame, also after "Modifier ma préparation", which now sits next to "Quitter l'expédition".
- The redundant "you are ready" block is gone: the member list already shows the Ready badge.
- The card a player sends is called their explorer in the texts about that role.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Each queued alert keeps an embed and a link button: the destination illustration as thumbnail, the tier, score and loot for a return, the difficulty and automatic departure for a new group.
- The button and the message link open #/cards/expeditions/<id>, which scrolls to the player's expedition or group and highlights it; Discord login now returns to that link.
- Without an https CARDS_PUBLIC_ORIGIN the link stays in the text, without button or thumbnail, which Discord would refuse.
- Delivery docs name palico-bot's NOTIFICATIONS_API_KEY and its local-only route on port 3101.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Rebuild armors.json from the Kiranico armor series (game version
1.040): use the official French set and piece names, drop the
Sakuratide, Bale Armor and Clerk duplicates, list only the real pieces
of partial sets, merge the two Gelidron pieces and add the fifteen
missing sets. Arkveld gamma, added in 1.041, is kept as is. Align three
event armor names with the official ones.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add the seven base affixes the cube can roll that the list lacked
(physical resistance, ranks to a skill type, ultimate damage, Lucky
Hit vulnerability, holy damage multiplier, damage to bleeding enemies
and Wrath every 10 kills), based on d4guides.gg, and file the two
uncategorised entries under attributes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A daily puzzle: a card illustration cut into pieces, rebuilt by swapping
two pieces of the same row or column within a limited number of swaps.
The normal picture is a square card in 4 x 4, drawn for each player, with
placed pieces outlined in green; the hard one is a 5 x 7 portrait shared
by everyone each day, with a result to copy. The limit is the computer's
best result (beam search) plus a margin, and every swap left adds
stardust. Two companions of the daily team can each give one help, by
specialty; a double specialty picks one when used.
The server keeps the piece positions, sends the picture already shuffled
and checks every swap. Uniform illustrations are left out, from measures
written by scripts/mirror-illustrations.mjs. The Guild gets its quest and
a Codex tile, the administration a tab (opening, rewards, margins, the
day's summary), and migration 30 its tables. New collections must plan at
least one double-specialty character, counted by
scripts/team-specialties.mjs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add the missing Prismana forms of Pouchwisp, Glameep, Royalby, Jeburst
and Ekrim and the Tempest form of Glameep, with their portraits. Rename
Witchin to Hexxin and align the stats of Hexxin, Blazen and Waleetle,
the elements of Fenrier's Nighttime form and seven homeland abilities
with wiki.aniimo.com.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Guild page becomes a guild hall: a counter with the Watchers' dragon and
the day's quest progress, the Expeditions highlighted as the main mission,
the player's team with golden stars and balms, and a quest board whose
illustrations are clickable. The race page now opens on the day's circuit,
explained for newcomers, and the team and race pages drop their links to
each other.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The rarity alone left 71 cards out of 246 and only helped to filter the album; the theme leaves 15 and helps every player. It opens after three wrong guesses and is no longer offered once a guess has found it. Games that had flipped the rarity get their hint back.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Collection and rarity hints only helped players who owned the daily card. Each guess now shows the common part of its subject and whether the theme of its name matches. A wrong guess earns one hint of the player's choice, the same list for everyone so that nothing reveals the ownership: album, rarity, collection, damaged page or name shape. Hidden words never leave the server, and the ownership is the one of the draw.
The guess list also finds a card by a related word, and the album no longer searches the description of unknown cards. Principles and data: docs/carte-du-jour.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Nebula, the Long Night, the Dream Arcade and the Crimson Procession now each have two power commons: Adaptation and one of their own (Étude, Givre d'étoiles, Trouvaille, Chance de l'aube). Eight other commons change stats and four gain a tag, so that no common is dominated by another with the same effect and Bravoure can be equipped like the other stats. Commons that became power commons are taken off the cards that carried them.
Card sheets, the equipment window, placed commons and the departure preview show every power's gains and costs with their figures, and the preview says when a power has no effect.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Les Carnets des Veilleurs and Poussières d'étoiles do not come from regular
openings, so their own duplicates are too rare for awakenings. Their cards now
follow the rule of closed collections: duplicates of the same rarity from any
collection, at the same count. The balance guide records the reasons.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Two tiles under the card give the player's Éclats and the free duplicates of
the card. They replace the Éclats count in the upgrade help text and are
hidden once the card reaches the maximum power.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The upgrade tip now gives the number of duplicates of the card needed for
every awakening still ahead. Two tiers crossed by the same level count as one
awakening.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add its 31 cards, its destination L'Île aux Cent Lanternes, five expedition
tags and the collection profile. The collection stays closed until an
administrator sets its drop rates and opens it.
Also clean the backdrop layer behind the wolf.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>