Commit graph

9 commits

Author SHA1 Message Date
8e373c024d Drop the backdrop blurs behind animated Cards effects
A full-screen backdrop-filter is recomputed on every frame of a card animated
above it, which made mythic cards in modals far slower than in a page. Modals
showing a card and the opening screen now use denser backgrounds instead, and
other modals keep their blur.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 15:44:14 +01:00
9ce0c3e33a Tighten the remaining Cards and dev server security defaults
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 19m52s
Validate and deploy Sokko G / deploy (push) Successful in 10s
Session and OAuth cookies now carry the __Host- prefix over HTTPS, so another
application of the domain cannot set them. The public configuration route has
a request limit, the trader list reads every player in one query, and new
campaign codes need eight characters while existing ones keep working.

The Vite server now listens on 127.0.0.1 unless HOST says otherwise, because
it gives administrator rights to any visitor.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 14:27:22 +01:00
1adccb4e04 Show a New badge when a pack reveals an unowned card edition
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 19m49s
Validate and deploy Sokko G / deploy (push) Successful in 10s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 10:11:57 +01:00
d372f0d248 Move the Cards privacy notice out of the login panel
A discreet centered link now sits below the panel and opens the notice in its
own panel, which does not exist while collapsed. The link keeps none of the
site's button hover styles.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 22:53:34 +01:00
33eda986e5 Restore the mythic aura outline in production builds
Lightning CSS dropped mask-composite after the mask shorthand, so the crown and
glow filled their whole area in production only. The exclusion now lives in the
shorthand, with an E2E on the built site and a guard on the source.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 22:31:50 +01:00
301c40454d Stop the Cards admin E2E from racing short reveal phases
Pause the page clock while reading each reveal phase's styles, and poll for the
palette menu's settled position, so a loaded CI runner cannot miss them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 19:07:52 +01:00
09a92de2c5 Only mention Sokko TCG while it is enabled and fix shop pack rates
The sidebar and About page advertised the game even when disabled. The admin
rates also warned that the shop pack had no drawable common, rare or epic card
although it draws them from the other collections.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 19:03:04 +01:00
e60fbd4e9b Let Cards players delete their account and read a privacy notice
Add a Compte section with a privacy notice and a confirmed deletion that
anonymises the player row, erases their possessions and cancels open trades.
The public contact comes from CARDS_PRIVACY_CONTACT, which production now
requires before enabling the game. The admin E2E no longer relies on a pull
from the previous test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 18:05:41 +01:00
5ce35cd7ba Add the Sokko TCG collectible card mini-game
Add the server-backed card game: Discord login, recharging pack openings,
album, trades, gifts, stardust shop, campaign codes and its administration,
stored in SQLite and disabled in production until configured.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 17:47:35 +01:00