/* ==========================================================================
   TCA — Catalogue, offres, achat, réputation, argent. Réécrit le 17 septembre
   2026 pour que ces écrans aient l'air de ce qu'ils sont : le cœur d'un
   commerce de cartes de collection, pas un formulaire.

   CE QUI FAIT « PREMIUM » ICI, ET CE QUI NE LE FAIT PAS.

   Ce n'est pas plus de couleur : c'est moins. Une seule teinte de marque
   (#6420bf), un or réservé à ce qui se vend, un vert réservé à ce qui est
   mesuré. Tout le reste est une gamme d'encres, du presque-noir au gris
   lavande. Les surfaces se distinguent par l'ombre, pas par le contour :
   un liseré de 1 px sur chaque carte donne un air de tableur.

   Les chiffres qui comptent — un prix, un pourcentage — sont GRANDS, en
   chiffres tabulaires, et jamais coupés en deux lignes. Une somme qui se
   plie (« 99,0 / 0 $ ») ne se lit pas, elle se devine.

   Les couleurs de texte sont TOUJOURS écrites, jamais héritées. Le système de
   design peint titres et gras en presque-blanc pour ses surfaces sombres ;
   nos écrans sont blancs. Trouvé en cliquant : titres, noms, pourcentages,
   montants invisibles. Chaque règle ici porte donc sa couleur, avec la
   spécificité qu'il faut pour passer devant `.tca-page b` et le `h1` global.
   ========================================================================== */

.tca-visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* --- racines des écrans blancs ------------------------------------------ */
.tca-catalog,.tca-catalog-set,.tca-catalog-card,.tca-catalog-buy,.tca-photo-deposit{
  max-width:760px;margin:0 auto;padding:4px 0 32px;color:#1c1526}
.tca-catalog h1,.tca-catalog-set h1,.tca-catalog-card h1,.tca-catalog-buy h1,.tca-photo-deposit h1,
.tca-funds h1,.tca-reputation h1{
  margin:0 0 8px;font-size:28px;line-height:1.1;letter-spacing:-.03em;font-weight:900;color:#1c1526 !important}
.tca-catalog-card b,.tca-catalog-card strong,.tca-catalog-buy b,.tca-catalog-buy strong,
.tca-catalog b,.tca-catalog strong,.tca-catalog-set b,.tca-catalog-set strong,
.tca-reputation b,.tca-reputation strong,.tca-funds b,.tca-funds strong,
.tca-handover b,.tca-handover strong,.tca-seller-rep-detail b,.tca-seller-rep-detail strong,
.tca-photo-deposit b,.tca-photo-deposit strong{color:#1c1526}
.tca-catalog-card h2,.tca-catalog-buy h2,.tca-reputation h2,.tca-funds h2,.tca-catalog-set h2,
.tca-catalog-card h3,.tca-catalog-buy h3,.tca-reputation h3,.tca-funds h3{color:#1c1526}

.tca-catalog-back{
  display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 4px;margin-bottom:6px;
  border:0;background:none;font:inherit;font-weight:700;font-size:13px;color:#6420bf;cursor:pointer}
.tca-catalog-back:focus-visible{outline:2px solid #6420bf;outline-offset:3px;border-radius:8px}

.tca-catalog-eyebrow{
  display:block;font-size:11px;font-weight:800;letter-spacing:.14em;color:#6420bf;margin-bottom:6px}
.tca-catalog-lede,.tca-photo-deposit-lede{
  margin:0 0 18px;font-size:14.5px;line-height:1.55;color:#5c5170;max-width:56ch}

/* --- recherche ----------------------------------------------------------- */
.tca-catalog-search{
  display:flex;align-items:center;gap:10px;height:50px;padding:0 15px;border-radius:14px;
  background:#fff;border:1px solid #e6dff0;margin-bottom:14px;color:#7a6f8a;
  box-shadow:0 1px 2px rgba(28,21,38,.04)}
.tca-catalog-search input{flex:1;min-width:0;border:0;background:none;font:inherit;font-size:15px;color:#1c1526}
.tca-catalog-search input::placeholder{color:#8c8299}
.tca-catalog-search:focus-within{border-color:#6420bf;box-shadow:0 0 0 4px rgba(100,32,191,.12)}

/* --- liste des séries ------------------------------------------------------
   L'accent coloré de chaque jeu devient une bande pleine hauteur, et l'anneau
   de progression grossit : c'est LA donnée de cette liste. */
.tca-catalog-sets{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.tca-catalog-sets>li>button{
  width:100%;display:grid;grid-template-columns:5px minmax(0,1fr) 72px;gap:14px;align-items:center;
  padding:14px 14px 14px 0;background:#fff;border:1px solid #ece6f3;border-radius:18px;
  overflow:hidden;text-align:left;font:inherit;cursor:pointer;
  box-shadow:0 1px 2px rgba(28,21,38,.04),0 10px 28px -18px rgba(60,30,110,.35);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.tca-catalog-sets>li>button:hover{transform:translateY(-1px);border-color:#d9cdea;
  box-shadow:0 2px 4px rgba(28,21,38,.05),0 18px 36px -18px rgba(60,30,110,.4)}
.tca-catalog-sets>li>button:active{transform:translateY(0)}
.tca-catalog-sets>li>button:focus-visible{outline:2px solid #6420bf;outline-offset:2px}
.tca-catalog-set-accent{align-self:stretch;width:5px;border-radius:0 4px 4px 0}
.tca-catalog-set-body{display:flex;flex-direction:column;gap:3px;min-width:0;padding-left:10px}
.tca-catalog-set-body>b{font-size:15.5px;font-weight:800;line-height:1.25;letter-spacing:-.01em;color:#1c1526}
.tca-catalog-set-body>em{font-style:normal;font-size:12px;color:#7a6f8a}
.tca-catalog-set-sale{
  align-self:flex-start;margin-top:3px;font-style:normal;font-size:11.5px;font-weight:800;
  color:#7a5f00;background:#fff3cf;border-radius:999px;padding:3px 9px}
.tca-catalog-set-quiet{font-style:normal;font-size:12px;color:#8c8299}
.tca-catalog-set-ring{display:flex;flex-direction:column;align-items:center;gap:4px}
.tca-catalog-set-ring>b{font-size:11.5px;font-weight:800;color:#4a3f5c;font-variant-numeric:tabular-nums}

/* --- en-tête d'une série ------------------------------------------------- */
.tca-catalog-set-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.tca-catalog-set-head p{margin:4px 0 0;font-size:13.5px;color:#5c5170}

/* --- filtres --------------------------------------------------------------- */
.tca-catalog-bar{display:flex;gap:8px;margin-bottom:16px;overflow-x:auto;padding-bottom:2px;
  scrollbar-width:none;-ms-overflow-style:none}
.tca-catalog-bar::-webkit-scrollbar{display:none}
@media(min-width:720px){.tca-catalog-bar{flex-wrap:wrap;overflow:visible}}
.tca-catalog-bar>button{
  flex:0 0 auto;white-space:nowrap;min-height:42px;padding:0 16px;border-radius:999px;
  background:#fff;border:1px solid #e6dff0;color:#4a3f5c;font:inherit;font-size:13px;font-weight:700;
  cursor:pointer;transition:background .15s,color .15s,border-color .15s}
.tca-catalog-bar>button.is-active{background:#1c1526;border-color:#1c1526;color:#fff}
.tca-catalog-bar>button:focus-visible{outline:2px solid #6420bf;outline-offset:2px}

/* --- grille de cartes ------------------------------------------------------
   Trois colonnes sur un téléphone, pas quatre : une tuile de 85 px ne montre
   ni un prix ni un nom. Proportion réelle d'une carte (63 × 88). Pas de
   contour : l'ombre porte la tuile, et seul ce qui est EN VENTE reçoit un
   anneau — doré, discret, qui dit « ici, quelque chose » sans crier. */
.tca-catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
@media(min-width:560px){.tca-catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}}
@media(min-width:720px){.tca-catalog-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}}
@media(min-width:1000px){.tca-catalog-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}

.tca-catalog-tile{
  display:flex;flex-direction:column;gap:7px;padding:0;background:none;border:0;
  text-align:left;font:inherit;cursor:pointer;border-radius:14px}
.tca-catalog-tile:focus-visible{outline:2px solid #6420bf;outline-offset:4px}
.tca-catalog-tile-art{
  position:relative;display:block;aspect-ratio:63/88;border-radius:12px;overflow:hidden;background:#efe8f7;
  box-shadow:0 1px 2px rgba(28,21,38,.06),0 12px 24px -14px rgba(60,30,110,.45);
  transition:transform .2s ease,box-shadow .2s ease}
.tca-catalog-tile:hover .tca-catalog-tile-art{transform:translateY(-2px);
  box-shadow:0 2px 4px rgba(28,21,38,.06),0 20px 32px -16px rgba(60,30,110,.5)}
.tca-catalog-tile:active .tca-catalog-tile-art{transform:translateY(0) scale(.99)}
.tca-catalog-tile[data-state="for-sale"] .tca-catalog-tile-art{box-shadow:0 0 0 2px #e6c65a,0 12px 24px -14px rgba(60,30,110,.45)}
.tca-catalog-tile[data-state="owned"] .tca-catalog-tile-art{box-shadow:0 0 0 2px #cdbde8,0 12px 24px -14px rgba(60,30,110,.35)}
.tca-catalog-tile-art img{width:100%;height:100%;object-fit:cover;display:block}

.tca-page .tca-catalog-tile-num,.tca-catalog-tile-num{
  position:absolute;top:7px;left:7px;font-size:10px;font-weight:800;letter-spacing:.02em;color:#fff;
  background:rgba(20,12,32,.55);backdrop-filter:blur(4px);border-radius:6px;padding:2px 6px;
  font-variant-numeric:tabular-nums}
/* Le prix : une seule ligne, jamais pliée, en bas où le pouce ne cache rien. */
.tca-catalog-tile-price{
  position:absolute;left:7px;right:7px;bottom:7px;display:block;text-align:center;white-space:nowrap;
  font-size:12px;font-weight:900;color:#3d2e00;background:#ffe89a;border-radius:8px;padding:5px 6px;
  font-variant-numeric:tabular-nums;box-shadow:0 2px 6px rgba(28,21,38,.18)}
/* « Sois le premier » ne s'affiche en toutes lettres que là où c'est la seule
   chose à faire. Sur une carte en vente, il devient un simple repère photo. */
.tca-catalog-tile-call{
  position:absolute;inset:auto 7px 7px;display:flex;flex-direction:column;align-items:center;gap:3px;
  font-size:11px;font-weight:800;line-height:1.15;text-align:center;color:#fff;
  text-shadow:0 1px 3px rgba(20,12,32,.6)}
.tca-catalog-tile[data-sale] .tca-catalog-tile-call{
  inset:7px 7px auto auto;gap:0;font-size:0;width:26px;height:26px;border-radius:999px;
  background:rgba(20,12,32,.55);backdrop-filter:blur(4px);justify-content:center}
.tca-catalog-tile[data-sale] .tca-catalog-tile-call svg{width:14px;height:14px}
.tca-catalog-tile-credit{
  position:absolute;inset:auto 7px 7px;font-size:10px;font-weight:700;color:#fff;
  background:rgba(20,12,32,.55);backdrop-filter:blur(4px);border-radius:6px;padding:2px 6px;text-align:center}
.tca-catalog-tile-price ~ .tca-catalog-tile-credit{inset:auto 7px 40px}
.tca-catalog-tile-call ~ .tca-catalog-tile-credit{inset:7px 7px auto}
.tca-catalog-tile-name{
  font-size:12.5px;font-weight:700;line-height:1.25;color:#1c1526;padding:0 2px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tca-catalog-tile[data-state="missing"] .tca-catalog-tile-name,
.tca-catalog-tile[data-state="awaiting"] .tca-catalog-tile-name{color:#5c5170;font-weight:600}

/* --- le dos TCA ----------------------------------------------------------- */
.tca-cardback{position:relative;width:100%;height:100%;display:block}
.tca-cardback-art{width:100%;height:100%;display:block}
.tca-cardback[data-muted="true"]{opacity:.42;filter:saturate(.55)}
.tca-cardback-label{position:absolute;inset:auto 0 8px;text-align:center;font-size:9px;font-weight:800;letter-spacing:.08em;color:#fff}

/* --- bandeau du bas --------------------------------------------------------- */
.tca-catalog-callout{
  display:flex;align-items:center;gap:12px;margin-top:18px;padding:14px 16px;border-radius:16px;
  background:#fffbea;border:1px solid #f2e4b3;box-shadow:0 8px 24px -16px rgba(122,95,0,.35)}
.tca-catalog-callout b{display:block;font-size:13.5px;margin-bottom:2px;color:#1c1526}
.tca-catalog-callout span{font-size:12.5px;color:#7a6f8a}
.tca-catalog-callout>button{
  min-height:44px;padding:0 18px;border-radius:12px;border:0;background:#1c1526;color:#fff;
  font:inherit;font-size:13px;font-weight:800;cursor:pointer;white-space:nowrap}

.tca-catalog-empty,.tca-catalog-none{margin:16px 0;font-size:14px;color:#5c5170}
.tca-catalog .tca-catalog-none,.tca-catalog-set .tca-catalog-none,.tca-catalog-card .tca-catalog-none,
.tca-catalog-buy .tca-catalog-none,.tca-funds .tca-catalog-none{color:#7a6f8a !important}

/* --- fiche carte -------------------------------------------------------------
   La carte à gauche flotte au-dessus de la page ; le titre à droite est le
   plus gros texte de l'écran. Les exemplaires suivent, un par carte blanche. */
.tca-catalog-card-head{display:flex;gap:18px;margin-bottom:22px;align-items:flex-start}
.tca-catalog-card-art{
  width:112px;flex:0 0 auto;aspect-ratio:63/88;border-radius:12px;overflow:hidden;background:#efe8f7;
  box-shadow:0 2px 4px rgba(28,21,38,.08),0 18px 36px -14px rgba(60,30,110,.5)}
.tca-catalog-card-art img{width:100%;height:100%;object-fit:cover;display:block}
.tca-catalog-card-meta{margin:0 0 10px;font-size:13px;color:#7a6f8a;font-variant-numeric:tabular-nums}
.tca-catalog-card-credit{display:flex;align-items:center;gap:6px;margin:0;font-size:12.5px;color:#5c5170}
.tca-catalog-card-contribute{
  min-height:44px;padding:0;border:0;background:none;font:inherit;font-size:13px;font-weight:700;
  color:#6420bf;text-align:left;text-decoration:underline;text-underline-offset:3px;cursor:pointer}

.tca-catalog-card .tca-catalog-section,.tca-catalog-buy .tca-catalog-section{
  display:flex;align-items:center;gap:12px;margin:0 0 12px;font-size:12px;font-weight:800;
  letter-spacing:.12em;text-transform:uppercase;color:#7a6f8a}
.tca-catalog-card .tca-catalog-section::after,.tca-catalog-buy .tca-catalog-section::after{
  content:"";flex:1;height:1px;background:#e6dff0}

/* Une offre = une carte : le vendeur et sa réputation en haut, le prix en bas
   à droite, gros, et le bouton pleine largeur sous le pouce. */
.tca-catalog-offers{list-style:none;margin:0 0 18px;padding:0;display:grid;gap:12px}
.tca-catalog-offers>li{
  display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"photo photo" "seller price" "rep rep" "state state" "note note" "cta cta";
  gap:10px 14px;align-items:center;padding:16px;background:#fff;border:1px solid #ece6f3;border-radius:18px;
  box-shadow:0 1px 2px rgba(28,21,38,.04),0 12px 32px -20px rgba(60,30,110,.4)}
/* Le vendeur « éclate » dans la grille : son nom en haut à gauche, sa
   réputation sur une ligne à elle, pleine largeur, pour que les mesures ne se
   plient jamais contre le prix. */
/* La photo de l'exemplaire, prise par le vendeur : en tête de l'offre, pleine
   largeur, jamais déformée. Absente si le vendeur n'en a pas mis. */
.tca-catalog-offer-photo{grid-area:photo;display:block;width:100%;max-height:260px;object-fit:contain;border-radius:12px;background:#f3eff9}
.tca-catalog-offer-seller{display:contents}
.tca-catalog-offer-seller>.tca-seller-rep{grid-area:rep}
.tca-catalog-offer-seller>.tca-seller-rep.is-new{grid-area:rep;justify-self:start}
.tca-catalog-offer-seller>b{
  grid-area:seller;display:inline-flex;align-items:center;gap:8px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  font-size:14.5px;font-weight:800;color:#1c1526;letter-spacing:-.01em}
.tca-catalog-offer-seller>b::before{
  content:attr(data-initial);display:inline-grid;place-items:center;width:28px;height:28px;border-radius:999px;
  background:linear-gradient(135deg,#6420bf,#9b6cf0);color:#fff;font-size:12px;font-weight:900}
.tca-catalog-offer-seller>em{font-style:normal;font-size:11px;color:#7a6f8a}
.tca-catalog-offer-state{
  grid-area:state;justify-self:start;font-size:11.5px;font-weight:800;letter-spacing:.04em;
  text-transform:uppercase;color:#4a3f5c;background:#f3eff9;border-radius:999px;padding:4px 10px}
.tca-catalog-offer-note{
  grid-area:note;font-size:12px;line-height:1.5;color:#5e4a00;background:#fff8dc;
  border-radius:10px;padding:9px 11px}
.tca-catalog-offer-price{
  grid-area:price;align-self:center;font-size:24px;font-weight:900;letter-spacing:-.02em;
  text-align:right;white-space:nowrap;color:#1c1526;font-variant-numeric:tabular-nums}
.tca-catalog-offers>li>button{
  grid-area:cta;min-height:48px;padding:0 18px;border-radius:13px;border:0;
  background:linear-gradient(135deg,#5b1aad,#7c3aed);color:#fff;font:inherit;font-size:14px;font-weight:800;
  cursor:pointer;box-shadow:0 8px 18px -8px rgba(100,32,191,.6);transition:transform .15s,box-shadow .15s,filter .15s}
.tca-catalog-offers>li>button:hover{filter:brightness(1.06);box-shadow:0 12px 24px -10px rgba(100,32,191,.65)}
.tca-catalog-offers>li>button:active{transform:translateY(1px)}
.tca-catalog-offers>li>button:focus-visible{outline:2px solid #1c1526;outline-offset:3px}
@media(min-width:560px){
  .tca-catalog-offers>li{grid-template-areas:"seller price" "rep rep" "state cta" "note note"}
  .tca-catalog-offers>li>button{min-width:170px;justify-self:end}
}

.tca-catalog-trades{
  display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:16px;
  background:#eef8f6;border:1px solid #cfe6e0;color:#0f766e;margin-bottom:10px}
.tca-catalog-trades b{display:block;font-size:13.5px;color:#1c1526}
.tca-catalog-trades span{font-size:12.5px;color:#5c5170}
.tca-catalog-photocount{margin:0;font-size:12.5px;color:#7a6f8a}

/* --- dépôt de photo ---------------------------------------------------------- */
.tca-photo-deposit-slots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:12px}
.tca-photo-slot{display:flex;flex-direction:column;gap:8px;padding:10px;background:#fff;border:1.5px dashed #c3b3dc;border-radius:16px;cursor:pointer}
.tca-photo-slot[data-filled="true"]{border-style:solid;border-color:#6420bf}
.tca-photo-slot:focus-within{outline:2px solid #6420bf;outline-offset:2px}
.tca-photo-slot-art{display:block;aspect-ratio:63/88;border-radius:10px;overflow:hidden;background:#efe8f7}
.tca-photo-slot-art img{width:100%;height:100%;object-fit:cover;display:block}
.tca-photo-slot-label{font-size:12.5px;font-weight:800;text-align:center;color:#1c1526}
.tca-photo-slot-label>em{display:block;font-style:normal;font-size:11px;font-weight:500;color:#7a6f8a}
.tca-photo-slot input{position:absolute;width:1px;height:1px;opacity:0}
.tca-photo-deposit-tip{margin:0 0 14px;font-size:12.5px;line-height:1.5;color:#7a6f8a}
.tca-photo-deposit-field{display:flex;flex-direction:column;gap:5px;margin-bottom:4px}
.tca-photo-deposit-field>span{font-size:12px;font-weight:800;color:#4a3f5c}
.tca-photo-deposit-field select{min-height:48px;padding:0 12px;border-radius:12px;border:1px solid #e6dff0;background:#fff;font:inherit;font-size:14.5px;color:#1c1526}
.tca-condition-link{display:block;margin:0 0 14px;padding:0;min-height:30px;border:0;background:none;font:inherit;font-size:12.5px;color:#6420bf;text-decoration:underline;text-underline-offset:3px;text-align:left;cursor:pointer}
.tca-photo-deposit-check{display:flex;align-items:flex-start;gap:11px;padding:14px 15px;border-radius:14px;background:#f7f4fb;border:1px solid #e6dff0;margin-bottom:10px;cursor:pointer}
.tca-photo-deposit-check input{width:22px;height:22px;flex:0 0 auto;accent-color:#6420bf;margin:0}
.tca-photo-deposit-check span{font-size:13.5px;line-height:1.5;color:#4a3f5c}
.tca-photo-deposit-legal{margin:0 0 14px;font-size:12px;line-height:1.5;color:#7a6f8a}
.tca-photo-deposit-error{margin:0 0 12px;padding:11px 13px;border-radius:12px;background:#fdf1f3;border:1px solid #f0cdd5;color:#a61e3e;font-size:13px;font-weight:600}
.tca-photo-deposit .tca-photo-deposit-submit{
  width:100%;min-height:52px;border:0;border-radius:14px;background:linear-gradient(135deg,#5b1aad,#7c3aed);
  color:#fff;font:inherit;font-size:15px;font-weight:800;cursor:pointer;box-shadow:0 10px 22px -10px rgba(100,32,191,.6)}
.tca-photo-deposit .tca-photo-deposit-submit:hover:not(:disabled){background:linear-gradient(135deg,#4d1693,#6420bf);color:#fff}
.tca-photo-deposit .tca-photo-deposit-submit:disabled{opacity:1;background:#e5deee;color:#574964;cursor:wait;box-shadow:none}
.tca-photo-deposit-submit:focus-visible{outline:2px solid #1c1526;outline-offset:3px}

@media(max-width:560px){
  .tca-catalog h1,.tca-catalog-set h1,.tca-catalog-card h1,.tca-catalog-buy h1,.tca-photo-deposit h1{font-size:24px}
}

/* --- filtres à deux étages --------------------------------------------------- */
.tca-catalog-families{display:flex;gap:8px;overflow-x:auto;margin:0 0 10px;padding:2px 16px 6px;margin-left:-16px;margin-right:-16px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.tca-catalog-families::-webkit-scrollbar{display:none}
.tca-catalog-families button{flex:0 0 auto;min-height:42px;padding:0 18px;border:1px solid #e6dff0;border-radius:999px;background:#fff;font:inherit;font-size:14px;font-weight:800;color:#3d2f4f;cursor:pointer;white-space:nowrap;transition:border-color .15s,color .15s,background .15s}
.tca-catalog-families button span{margin-right:5px}
.tca-catalog-families button.is-active{border-color:#6420bf;color:#6420bf;background:#f4edfd}
.tca-catalog-families button:focus-visible{outline:2px solid #6420bf;outline-offset:2px}
.tca-catalog-game-count{display:inline-block;margin-left:6px;padding:0 6px;border-radius:999px;background:#f3eff9;font-style:normal;font-size:11px;font-weight:800;color:#6b5b80}
.tca-catalog-games button.is-active .tca-catalog-game-count{background:#ebe1fb;color:#6420bf}
.tca-catalog-games{display:flex;gap:8px;overflow-x:auto;margin:0 0 14px;padding:2px 16px 6px;margin-left:-16px;margin-right:-16px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.tca-catalog-games::-webkit-scrollbar{display:none}
.tca-catalog-games button{flex:0 0 auto;min-height:36px;padding:0 14px;border:1px solid #e6dff0;border-radius:999px;background:#fff;font:inherit;font-size:13px;font-weight:600;color:#4a3f5c;cursor:pointer;white-space:nowrap}
.tca-catalog-games button span{margin-right:2px}
.tca-catalog-games button.is-active{border-color:#6420bf;color:#6420bf;background:#f4edfd}
.tca-catalog-games button:focus-visible{outline:2px solid #6420bf;outline-offset:2px}

/* --- les trois états sans séries ---------------------------------------------- */
.tca-catalog-state{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;padding:40px 20px 48px;max-width:420px;margin:12px auto 0}
.tca-catalog-state-art{width:92px;display:block;opacity:.9}
.tca-catalog-state h2{margin:0;font-size:19px;line-height:1.25;color:#1c1526}
.tca-catalog-state p{margin:0;font-size:14px;line-height:1.55;color:#7a6f8a}
.tca-catalog-state-action{margin-top:6px;min-height:46px;padding:0 20px;border-radius:12px;border:1px solid #e6dff0;background:#fff;font:inherit;font-size:14px;font-weight:700;color:#4a3f5c;cursor:pointer}
.tca-catalog-state-action.is-primary{background:#6420bf;border-color:#6420bf;color:#fff}
.tca-catalog-state-action:focus-visible{outline:2px solid #6420bf;outline-offset:2px}
.tca-catalog-state.is-error h2{color:#7a5a00}
.tca-catalog-state.is-error .tca-catalog-state-art{opacity:.45}

/* ==========================================================================
   La remise d'un échange, vue par un participant.
   ========================================================================== */
.tca-handover{margin:12px 0 0;padding:16px;border:1px solid #ece6f3;border-radius:18px;background:#fff;
  box-shadow:0 1px 2px rgba(28,21,38,.04),0 12px 32px -20px rgba(60,30,110,.4)}
.tca-handover[data-stage="to_deposit"]{border-color:#d3bdf1;background:#faf6ff}
.tca-handover[data-stage="waiting_other"]{border-left:4px solid #0f766e;background:#f2f9f8}
.tca-handover[data-stage="ready"]{border-left:4px solid #6420bf;background:#f8f3ff}
.tca-handover[data-stage="returned"]{border-left:4px solid #b08900;background:#fdf8ea}
.tca-handover[data-stage="done"]{border-left:4px solid #0f766e;background:#f4faf8}
.tca-handover-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap}
.tca-handover-head h3{margin:0;font-size:15.5px;font-weight:800;color:#1c1526}
.tca-handover-locker{font-size:12px;font-weight:800;letter-spacing:.04em;color:#4a3f5c;background:#fff;border:1px solid #e6dff0;border-radius:999px;padding:4px 11px;white-space:nowrap}
.tca-handover-message{margin:8px 0 0;font-size:14px;line-height:1.55;color:#4a3f5c}
.tca-handover-reassurance{margin:6px 0 0;font-size:13px;line-height:1.5;color:#0f5f58;font-weight:700}
.tca-handover-deadline{margin:8px 0 0;font-size:12.5px;color:#7a6f8a}
.tca-handover-note{margin:8px 0 0;font-size:12px;line-height:1.45;color:#7a6f8a}
.tca-handover-error{margin:8px 0 0;padding:9px 11px;border-radius:10px;background:#fdf1f3;border:1px solid #f0cdd5;color:#a61e3e;font-size:13px;font-weight:600}
.tca-handover-loading{margin:0;font-size:13px;color:#7a6f8a}
.tca-handover-deposit{display:flex;flex-direction:column;gap:10px;margin-top:12px}
.tca-handover-deposit label{display:flex;flex-direction:column;gap:5px}
.tca-handover-deposit label>span{font-size:12px;font-weight:800;color:#4a3f5c}
.tca-handover-deposit input{min-height:48px;padding:0 13px;border:1px solid #e6dff0;border-radius:12px;background:#fff;font:inherit;font-size:15px;color:#1c1526}
.tca-handover-deposit input:focus-visible{outline:2px solid #6420bf;outline-offset:1px;border-color:#6420bf}
.tca-handover button{min-height:48px;padding:0 18px;border:1px solid #e6dff0;border-radius:13px;background:#fff;font:inherit;font-size:14px;font-weight:800;color:#4a3f5c;cursor:pointer}
.tca-handover button.is-primary{border:0;background:linear-gradient(135deg,#5b1aad,#7c3aed);color:#fff;box-shadow:0 8px 18px -8px rgba(100,32,191,.6)}
.tca-handover button:disabled{opacity:1;background:#efecf4;background-image:none;border:1px solid #e6dff0;color:#5b5268;cursor:not-allowed;box-shadow:none}
.tca-handover button:hover:not(:disabled){filter:brightness(1.05)}

/* ==========================================================================
   Ma réputation : deux mesures, jamais fondues en une note.
   Les deux cartes ont la même taille et le même poids visuel, exprès.
   ========================================================================== */
.tca-reputation{margin:22px 0}
.tca-reputation .tca-reputation-intro{margin:0 0 14px;font-size:14px;line-height:1.55;color:#5c5170 !important}
.tca-reputation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media(max-width:620px){.tca-reputation-grid{grid-template-columns:1fr}}
.tca-reputation-card{display:flex;flex-direction:column;gap:7px;padding:18px;background:#fff;border:1px solid #ece6f3;border-radius:18px;
  box-shadow:0 1px 2px rgba(28,21,38,.04),0 12px 32px -20px rgba(60,30,110,.4)}
.tca-reputation-card[data-kind="judged"]{border-top:4px solid #6420bf}
.tca-reputation-card[data-kind="measured"]{border-top:4px solid #0f766e}
.tca-reputation-card[data-state="waiting"]{background:#faf8fd;border-style:dashed;box-shadow:none}
.tca-reputation-card h3{margin:0;font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#7a6f8a}
.tca-reputation-figure{font-size:40px;font-weight:900;line-height:1;letter-spacing:-.03em;color:#1c1526;font-variant-numeric:tabular-nums}
.tca-reputation .tca-reputation-card p{margin:0;font-size:13.5px;line-height:1.5;color:#5c5170 !important}
.tca-reputation .tca-reputation-waiting{color:#7a6f8a !important}
.tca-reputation .tca-reputation-warn{margin-top:4px !important;padding:9px 11px;border-left:3px solid #b08900;border-radius:0 10px 10px 0;background:#fff8dc;color:#5e4a00 !important;font-size:12.5px !important;font-weight:700}
.tca-reputation .tca-reputation-late{margin-top:2px !important;font-size:12.5px !important;color:#7a6f8a !important}
.tca-reputation-card small{margin-top:auto;padding-top:8px;font-size:11.5px;color:#7a6f8a}
.tca-reputation .tca-reputation-note{margin:14px 0 0;font-size:12.5px;line-height:1.5;color:#7a6f8a !important}
.tca-reputation-mirror{margin:14px 0 0;padding:15px 17px;border:1px solid #ece6f3;border-left:4px solid #1c1526;border-radius:0 16px 16px 0;background:#fff;
  box-shadow:0 1px 2px rgba(28,21,38,.04),0 12px 32px -20px rgba(60,30,110,.4)}
.tca-reputation-mirror h3{margin:0 0 10px;font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#7a6f8a}
.tca-reputation-mirror-line{margin:0 !important}
.tca-reputation .tca-reputation-mirror small{display:block;margin-top:9px;font-size:11.5px;line-height:1.5;color:#7a6f8a !important}
.tca-reputation-mirror[data-state="hidden"]{border-left-color:#c3b3dc;box-shadow:none;background:#faf8fd}

/* ==========================================================================
   La réputation d'un vendeur, vue par un acheteur : deux pastilles, de même
   poids, jamais une étoile.
   ========================================================================== */
.tca-seller-rep{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;min-width:0}
.tca-seller-rep-part{display:inline-flex;align-items:baseline;gap:5px;padding:4px 9px;border-radius:999px;white-space:nowrap;
  font-weight:800;font-size:11.5px;color:#3d3350;background:#f3eff9}
.tca-seller-rep-part>i{font-style:normal;font-size:10px;line-height:1}
.tca-seller-rep-part[data-kind="judged"]{color:#4a1f8a;background:#f1e9fb}
.tca-seller-rep-part[data-kind="judged"]>i{color:#6420bf}
.tca-seller-rep-part[data-kind="measured"]{color:#0b5c55;background:#e9f6f3}
.tca-seller-rep-part[data-kind="measured"]>i{color:#0f766e}
.tca-seller-rep-part>small{font-weight:600;font-size:10.5px;color:inherit;opacity:.75}
.tca-seller-rep-warn{display:inline-block;padding:4px 9px;border-radius:999px;font-style:normal;font-size:11.5px;font-weight:800;
  color:#5e4a00;background:#fff3cf}
.tca-seller-rep.is-new{display:inline-block;padding:4px 10px;border-radius:999px;font-size:11.5px;font-weight:800;color:#4a3f5c;background:#f3eff9}
.tca-seller-rep-none{margin:0;font-size:13px;line-height:1.5;color:#7a6f8a}
.tca-seller-rep-detail{display:flex;flex-direction:column;gap:7px}
.tca-seller-rep-detail p{margin:0;font-size:13.5px;line-height:1.55;color:#4a3f5c}
.tca-seller-rep-why{color:#7a6f8a !important;font-size:12px !important}
.tca-seller-rep-nuance{color:#0f5f58 !important;font-size:12.5px !important;font-weight:700}
.tca-seller-rep-missed{padding:9px 11px;border-left:3px solid #b08900;border-radius:0 10px 10px 0;background:#fff8dc;color:#5e4a00 !important;font-size:12.5px !important;font-weight:700}

/* ==========================================================================
   « Je la prends » : le prix en héros, la réputation, puis l'ordre des choses
   en frise numérotée — l'acheteur doit pouvoir COMPTER ses déplacements.
   ========================================================================== */
.tca-catalog-buy{max-width:620px}
.tca-catalog-buy-price{
  display:flex;flex-direction:column;gap:4px;margin:0 0 16px;padding:18px 20px;border-radius:18px;
  background:linear-gradient(135deg,#1c1526,#3a2260);color:#fff;
  box-shadow:0 2px 4px rgba(28,21,38,.1),0 22px 44px -18px rgba(28,21,38,.6)}
.tca-catalog-buy .tca-catalog-buy-price>b{font-size:36px;font-weight:900;line-height:1;letter-spacing:-.03em;color:#fff;font-variant-numeric:tabular-nums}
.tca-catalog-buy-price>span{font-size:13px;color:rgba(255,255,255,.78)}
.tca-catalog-buy .tca-seller-rep-detail{padding:16px;background:#fff;border:1px solid #ece6f3;border-radius:16px;margin-bottom:18px;
  box-shadow:0 1px 2px rgba(28,21,38,.04),0 12px 32px -20px rgba(60,30,110,.4)}
.tca-catalog-buy .tca-catalog-buy-steps{list-style:none !important;counter-reset:etape;margin:0 0 18px;padding:0;display:grid;gap:0}
.tca-catalog-buy .tca-catalog-buy-steps li{
  counter-increment:etape;position:relative;padding:0 0 18px 44px;font-size:14px;line-height:1.55;color:#4a3f5c}
.tca-catalog-buy .tca-catalog-buy-steps li::before{
  content:counter(etape);position:absolute;left:0;top:-1px;display:grid;place-items:center;width:30px;height:30px;border-radius:999px;
  background:linear-gradient(135deg,#6420bf,#9b6cf0);color:#fff;font-size:13px;font-weight:900;
  box-shadow:0 6px 14px -6px rgba(100,32,191,.7)}
.tca-catalog-buy .tca-catalog-buy-steps li::after{
  content:"";position:absolute;left:14px;top:32px;bottom:2px;width:2px;background:#e6dff0;border-radius:2px}
.tca-catalog-buy .tca-catalog-buy-steps li:last-child{padding-bottom:0}
.tca-catalog-buy .tca-catalog-buy-steps li:last-child::after{display:none}
.tca-catalog-buy-go{
  display:block;width:100%;min-height:54px;border:0;border-radius:15px;
  background:linear-gradient(135deg,#5b1aad,#7c3aed);font:inherit;font-size:16px;font-weight:800;color:#fff;cursor:pointer;
  box-shadow:0 12px 26px -10px rgba(100,32,191,.65)}
/* INC-20260925-012: pending remains readable under shared disabled styles. */
.tca-catalog-buy .tca-catalog-buy-go:disabled{
  background:#ede7f1!important;background-image:none!important;color:#51435f!important;
  opacity:1!important;box-shadow:none;cursor:wait}
.tca-catalog-buy .tca-catalog-buy-go:disabled>span{color:inherit!important;opacity:1!important}
.tca-catalog-buy-go:focus-visible{outline:2px solid #1c1526;outline-offset:3px}
.tca-catalog-buy .tca-catalog-buy-onsite{margin:0;padding:14px 16px;border:1px solid #cfe6e0;border-left:4px solid #0f766e;border-radius:0 14px 14px 0;
  background:#eef8f6;font-size:13.5px;line-height:1.55;color:#0b3a34 !important}
.tca-catalog-buy .tca-catalog-buy-demo{margin:0;padding:14px 16px;border:1px solid #e6dff0;border-left:4px solid #7a6f8a;border-radius:0 14px 14px 0;
  background:#f7f4fb;font-size:13.5px;line-height:1.55;color:#4a3f5c !important}

/* ==========================================================================
   Où en est mon argent : le montant à droite du nom, la phrase dessous.
   ========================================================================== */
.tca-funds{margin:22px 0}
.tca-funds-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.tca-funds-row{padding:15px 17px;border:1px solid #ece6f3;border-radius:18px;background:#fff;
  box-shadow:0 1px 2px rgba(28,21,38,.04),0 12px 32px -20px rgba(60,30,110,.4)}
.tca-funds-row[data-settled="true"]{background:#faf8fd;border-style:dashed;box-shadow:none}
.tca-funds-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:3px 12px}
.tca-funds .tca-funds-head>b{font-size:15px;font-weight:800;color:#1c1526}
.tca-funds .tca-funds-head>strong{font-size:22px;font-weight:900;letter-spacing:-.02em;color:#1c1526;font-variant-numeric:tabular-nums}
.tca-funds .tca-funds-role{display:block;margin-top:3px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#6420bf}
.tca-funds .tca-funds-row[data-settled="true"] .tca-funds-role{color:#7a6f8a}
.tca-funds .tca-funds-row p{margin:8px 0 0;font-size:13.5px;line-height:1.55;color:#4a3f5c !important}

/* « Mes achats » : la photo de l'exemplaire et le nombre de copies, sous le
   nom de la carte. Photo au ratio d'une carte, jamais déformée. */
.v194-purchase-visual{display:grid;grid-template-columns:84px minmax(0,1fr);gap:12px;align-items:start;margin:10px 0 6px}
.v194-purchase-visual>img{width:84px;aspect-ratio:63/88;object-fit:cover;border-radius:10px;background:#f3eff9;box-shadow:0 1px 2px rgba(28,21,38,.08)}
.v194-purchase-visual>dl{margin:0;display:grid;gap:6px;align-self:center}
.v194-purchase-visual>dl>div{display:flex;gap:8px;align-items:baseline;font-size:13px}
.v194-purchase-visual dt{margin:0;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#7a6f8a}
.v194-purchase-visual dd{margin:0;font-weight:700;color:#1c1526}
.v194-purchase-visual:has(>dl:only-child){grid-template-columns:minmax(0,1fr)}

/* INC-20260924-075: usable identity inputs for new catalogue cards. */
.tca-photo-identity{border:0;padding:0;margin:0 0 20px;min-width:0;display:grid;gap:12px}
.tca-photo-identity legend{font-size:16px;font-weight:700;margin-bottom:12px}
.tca-photo-identity input{box-sizing:border-box;width:100%;min-height:48px;padding:10px 12px;border:1px solid #e6dff0;border-radius:12px;background:#fff;color:#1c1526;font:inherit;font-size:16px}
.tca-photo-identity input:focus-visible{outline:2px solid #6420bf;outline-offset:2px}

/* CANDIDAT CATALOGUE — lisibilité et filtres accessibles, 30 septembre 2026.
   Occurrence 2 inscrite dans INCIDENTS-CANDIDATS.md avant correctif (copie isolée).
   UI-01, UI-05, UI-13, PROC-03, PROC-13 : portée catalogue et série seulement.
   Les règles partagées avec l'achat, la remise et le dépôt photo restent intactes. */
.tca-catalog .tca-catalog-families,
.tca-catalog .tca-catalog-games,
.tca-catalog-set .tca-catalog-bar{
  flex-wrap:wrap;overflow:visible;overflow-x:visible;max-width:100%;
  box-sizing:border-box;margin-left:0;margin-right:0;padding:4px}
.tca-catalog .tca-catalog-families button,
.tca-catalog .tca-catalog-games button,
.tca-catalog-set .tca-catalog-bar>button{
  flex:0 1 auto;min-height:44px;min-width:44px;max-width:100%;
  padding-top:6px;padding-bottom:6px;white-space:normal;overflow-wrap:anywhere}
/* L'accent du jeu reste sur le contour; une encre commune résiste notamment
   au jaune Pokémon et au bleu Hockey fournis en style en ligne. */
.tca-catalog .tca-catalog-families button.is-active,
.tca-catalog .tca-catalog-games button.is-active{color:#6420bf!important}
.tca-catalog .tca-catalog-set-quiet{color:#6f647d}
.tca-catalog-set .tca-catalog-tile-num,
.tca-catalog-set .tca-catalog-tile-credit{
  font-size:11px;line-height:1.3;background:#201528}
.tca-catalog-set .tca-catalog-tile-credit{overflow-wrap:anywhere}
/* La photo de référence peut être très claire : le texte ne dépend plus
   de son contraste ni d'une ombre. L'icône seule en vente reste inchangée. */
.tca-catalog-set .tca-catalog-tile:not([data-sale]) .tca-catalog-tile-call{
  background:#201528;border-radius:6px;padding:4px 6px;text-shadow:none}

/* Repli du retour fiche → série lorsque la tuile ne correspond plus au filtre. */
.tca-catalog-set #tca-catalog-set-title:focus{
  outline:2px solid #6420bf;outline-offset:4px;border-radius:4px}

/* R3127 — C02 : prolonger les surfaces blanches et le focus du catalogue.
   Aucun contrôle/donnée n'est masqué suivant l'existence d'une photo. */
.tca-catalog-refine{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;margin-bottom:16px}
.tca-catalog-refine .tca-catalog-set-search{flex:1 1 240px;min-width:0;margin:0}
.tca-catalog-facet{display:flex;flex-direction:column;gap:5px;flex:1 1 140px;min-width:0;max-width:100%;font-size:12px;font-weight:700;color:#5c5170}
.tca-catalog-facet select{width:100%;min-width:0;min-height:44px;padding:8px 12px;border:1px solid #e6dff0;border-radius:12px;background:#fff;color:#1c1526;font:inherit;font-size:14px;cursor:pointer;box-shadow:0 1px 2px rgba(28,21,38,.04)}
.tca-catalog-facet select:focus-visible{outline:2px solid #6420bf;outline-offset:3px}
.tca-catalog-language{margin-bottom:14px}
.tca-catalog-tile-meta{display:block;padding:0 2px;font-size:11.5px;line-height:1.4;color:#5c5170;overflow-wrap:anywhere}
.tca-catalog-set-head .tca-catalog-set-printing{margin:4px 0 0;font-size:12.5px;line-height:1.4;color:#5c5170}
.tca-catalog-set-body .tca-catalog-set-language{font-size:11.5px;line-height:1.4;color:#7a6f8a}
.tca-catalog-set-body .tca-catalog-set-matches{font-size:11.5px;font-weight:700;line-height:1.4;color:#6420bf}
.tca-catalog-card-data{display:grid;gap:0;margin:12px 0;padding:0;font-size:12px;line-height:1.45;color:#1c1526}
.tca-catalog-card-data>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:10px;padding:6px 0;border-bottom:1px solid #ece6f3}
.tca-catalog-card-data dt{margin:0;font-weight:700;color:#5c5170}
.tca-catalog-card-data dd{margin:0;color:#1c1526;overflow-wrap:anywhere}
.tca-catalog-card-data [data-field-state="unknown"] dd{color:#7a6f8a}
@media(max-width:559px){.tca-catalog-refine .tca-catalog-set-search{flex-basis:100%}.tca-catalog-facet{flex-basis:calc(50% - 5px)}.tca-catalog-card-data>div{grid-template-columns:minmax(0,1fr);gap:2px}}
