/* ==========================================================================
   mcp-ticket · tk-fiche.css — fiche d'offre /code/{marque}/ (mu-plugin code-actu-detail.php et ~40
   filtres d'extraits), habillée « Le Ticket v2 » (maquette validée prototype/fiche-boursobank.html,
   thèmes Soleil / Matrix, talon à la couleur de la marque).

   Actif seulement avec le lot « fiches » (body.tk-lot-fiches) : sans lui, les anciennes feuilles
   (#ca-fiche-moderne, #ca-fiche-cols, cad-css…) s'appliquent seules. Aucun texte, lien ni balisage
   modifié : H1, H2, FAQ, données structurées et annonces des membres restent ceux des extraits.
   Couleur de la marque : --tk-marque / --tk-marque-encre sur body (inc/marques.php).

   Sommaire
   0. Cadre de la fiche, icônes, deux colonnes (script de l'extrait 66 : .cad-cols > .cad-main + .cad-side)
   1. Haut de fiche : logo, pastilles, H1, vérification
   2. Offre du moment : billet filleul (talon de la marque, Copier, « Profitez de l'offre ») et parrain
      (« Ajouter mon code »), QR, faits
   3. Auteur, réponse directe, codes des membres
   4. Sections : cartes, titres, listes, étapes, points forts, conditions, tableau, application
   5. FAQ, codes similaires, retour, actualité liée, « Vous connaissez ce service ? » (153), avis
   6. Mentions, barre collante du code (063), « Les meilleurs codes du moment »
   ========================================================================== */

/* ---------- 0. Cadre ---------- */
body.tk-lot-fiches .tk-main--fiche { padding-bottom: var(--sp-16); }
body.tk-lot-fiches .cad-wrap {
  width: 100%; max-width: var(--container); margin: 0 auto; padding: var(--sp-6) var(--gutter) 0;
  color: var(--ink); font-family: var(--font-sans); font-size: var(--fs-base); line-height: var(--lh-text);
}
body.tk-lot-fiches .cad-wrap a { color: inherit; }
/* Icônes en ligne des extraits (sans taille propre) */
body.tk-lot-fiches :is(.cad-wrap, .ca-contrib, .ca-reviews, .ca-news-rel, .caf-bar, .ca-boost) svg { flex: none; width: 18px; height: 18px; }
body.tk-lot-fiches :is(.cad-wrap, .ca-contrib, .caf-bar) :is(img, svg) { display: inline-block; vertical-align: middle; }
body.tk-lot-fiches .cad-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; margin: 0 0 var(--sp-5); font-family: var(--font-sans); font-size: var(--fs-xs); letter-spacing: var(--tr-label); color: var(--muted); }
body.tk-lot-fiches .cad-crumb a { display: inline-flex; align-items: center; justify-content: center; min-width: var(--tap); min-height: var(--tap); color: var(--muted); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { body.tk-lot-fiches .cad-crumb a:hover { color: var(--ink); text-decoration: underline; } }
body.tk-lot-fiches .cad-crumb span { color: var(--ink); font-weight: 600; }

/* Extrait 350 (en ligne depuis le 16/10) : sur les fiches officielles, les codes des membres passent VISUELLEMENT
   juste après le fil d'Ariane, avant l'offre officielle ; l'ordre de la page ne change pas pour les moteurs.
   Sa feuille part avec le lot « fiches » (PLAN-THEME § 5, ligne 350) : même ordre ici, en colonne, avec un
   espacement régulier (les marges ne fusionnent pas dans une colonne flexible). */
body.tk-lot-fiches.ca-mbr-first .cad-wrap:has(> .ca-community) { display: flex; flex-direction: column; gap: var(--sp-5); }
body.tk-lot-fiches.ca-mbr-first .cad-wrap:has(> .ca-community) > * { order: 2; margin-block: 0; }
body.tk-lot-fiches.ca-mbr-first .cad-wrap:has(> .ca-community) > .cad-crumb { order: 0; }
body.tk-lot-fiches.ca-mbr-first .cad-wrap:has(> .ca-community) > .ca-community { order: 1; }
@media (max-width: 782px) { body.tk-lot-fiches.ca-mbr-first .cad-wrap:has(> .ca-community) > .ca-community .ca-community-sub { display: none; } }

/* Deux colonnes (le script de 066 range les sections ; sa feuille part avec le lot) : une colonne et un ordre
   pensé pour le téléphone, puis principale + latérale à partir de 1100 px. */
body.tk-lot-fiches .cad-cols { display: flex; flex-direction: column; gap: var(--sp-5); margin-top: var(--sp-5); }
body.tk-lot-fiches :is(.cad-main, .cad-side) { display: contents; }
body.tk-lot-fiches :is(.cad-main, .cad-side) > * { min-width: 0; margin: 0; }
body.tk-lot-fiches .cad-b-why { order: 2; } body.tk-lot-fiches .cad-b-utiliser { order: 3; } body.tk-lot-fiches .cad-b-conditions { order: 4; }
body.tk-lot-fiches .cad-b-faq { order: 5; } body.tk-lot-fiches .cad-b-apropos { order: 6; } body.tk-lot-fiches .cad-b-apercu { order: 7; } body.tk-lot-fiches .cad-b-similaires { order: 8; }
@media (min-width: 1100px) {
  body.tk-lot-fiches .cad-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--sp-6); align-items: start; }
  body.tk-lot-fiches :is(.cad-main, .cad-side) { display: flex; flex-direction: column; gap: var(--sp-5); min-width: 0; }
  body.tk-lot-fiches :is(.cad-main, .cad-side) > * { order: 0; }
  body.tk-lot-fiches .cad-side .caf-card { padding: 18px 20px; }
  body.tk-lot-fiches .cad-side .caf-h2 { font-size: var(--fs-base); }
}

/* ---------- 1. Haut de fiche ---------- */
body.tk-lot-fiches .caf-hero { position: relative; margin: 0 0 var(--sp-6); padding: 0; background: none; border: 0; box-shadow: none; color: var(--ink); }
body.tk-lot-fiches .caf-hero-in { position: relative; display: grid; gap: var(--sp-5); padding: 0; background: none; border: 0; }
body.tk-lot-fiches .caf-aura { display: none; }
body.tk-lot-fiches .caf-top { display: grid; gap: var(--sp-4); align-items: start; }
@media (min-width: 900px) { body.tk-lot-fiches .caf-top { grid-template-columns: minmax(0, 1fr) auto; } }
body.tk-lot-fiches .caf-idr { display: flex; align-items: flex-start; gap: var(--sp-4); min-width: 0; }
body.tk-lot-fiches .caf-logo-tile { flex: none; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 18px; background: var(--tk-logo-bg); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); overflow: hidden; }
body.tk-lot-fiches .caf-logo-tile .ca-logo { display: grid; place-items: center; width: 100%; height: 100%; background: none; }
body.tk-lot-fiches .caf-logo-tile img { width: 100%; height: 100%; object-fit: contain; }
body.tk-lot-fiches .ca-logo-ini[hidden] { display: none; }
body.tk-lot-fiches .ca-logo-mono .ca-logo-ini::before { content: attr(data-ini); font-weight: var(--fw-title); font-stretch: var(--wd-title); font-size: 1.4em; color: var(--ink); }
body.tk-lot-fiches .caf-idt { display: grid; gap: var(--sp-3); min-width: 0; }
/* Téléphone : logo à côté des pastilles, titre et chapeau en pleine largeur dessous */
@media (max-width: 599px) {
  body.tk-lot-fiches .caf-idr { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--sp-3) var(--sp-3); align-items: center; }
  body.tk-lot-fiches .caf-idt { display: contents; }
  body.tk-lot-fiches .caf-logo-tile { width: 56px; height: 56px; border-radius: 14px; grid-row: 1; }
  body.tk-lot-fiches .caf-chips { grid-column: 2; grid-row: 1; }
  body.tk-lot-fiches :is(.caf-h1, .caf-lead) { grid-column: 1 / -1; }
}
body.tk-lot-fiches .caf-chips { display: flex; flex-wrap: wrap; gap: 6px; order: -1; }
/* Taille des pastilles : celle du pont (44 px de haut, cibles tactiles), comme toutes les pastilles du site. */
body.tk-lot-fiches .caf-chip { font-stretch: var(--wd-ui); white-space: nowrap; }
body.tk-lot-fiches .caf-chip svg { width: 14px; height: 14px; }
/* « Sélection du mois » en accent (le 2e sélecteur passe devant la pastille du pont, 0,2,2) */
body.tk-lot-fiches .caf-chips .caf-chip-top { border-color: transparent; background: var(--accent-fill, var(--accent)); color: var(--on-accent); }
body.tk-lot-fiches .caf-top-court { display: none; }
@media (max-width: 479px) { body.tk-lot-fiches .caf-top-long { display: none; } body.tk-lot-fiches .caf-top-court { display: inline; } }
body.tk-lot-fiches .caf-chip-sub { border-style: dashed; }
body.tk-lot-fiches .caf-h1 {
  margin: 0; font-size: var(--fs-2xl); font-weight: var(--fw-title); font-stretch: var(--wd-display); letter-spacing: var(--tr-display); line-height: 1.04; color: var(--ink); text-wrap: balance;
}
/* Le « : » de l'extrait 063 (.caf-sr, caché par l'ancien thème) reste visible comme sur la maquette validée,
   mais jamais en début de ligne : pas de coupure autour de lui, une seule possibilité juste après (U+200B). */
body.tk-lot-fiches .caf-h1 .caf-sr { white-space: nowrap; }
body.tk-lot-fiches .caf-h1 .caf-sr::after { content: "\200B"; white-space: normal; }
body.tk-lot-fiches .caf-h1 .caf-h1-gain {
  font-size: inherit; line-height: inherit; background: var(--accent-fill, var(--accent)); color: var(--on-accent); padding: 0 .12em; border-radius: .14em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; white-space: normal;
}
body.tk-lot-fiches .caf-lead { max-width: 62ch; margin: 0; font-size: var(--fs-md); line-height: 1.5; color: var(--ink-2); }
/* 24/11/2026 (Tom) : ligne « En bref » (code, code promo, code parrainage), en petit sous l introduction. */
body.tk-lot-fiches .caf-bref { grid-column: 1 / -1; max-width: 74ch; margin: 2px 0 0; font-size: var(--fs-sm); line-height: 1.5; color: var(--ink-2); }
body.tk-lot-fiches .caf-bref strong { color: var(--ink); font-weight: 650; }
body.tk-lot-fiches .caf-verif {
  display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 8px 12px; border: 1.5px dashed currentColor; border-radius: 10px;
  color: var(--ink); background: var(--surface); font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0;
}
body.tk-lot-fiches .caf-verif svg { color: var(--tk-check); width: 16px; height: 16px; }
body.tk-lot-fiches .caf-verif-t { display: grid; gap: 2px; }
body.tk-lot-fiches .caf-verif-t em { font-style: normal; color: var(--muted); font-size: inherit; }
body.tk-lot-fiches .caf-verif-t time { color: var(--ink); }

/* ---------- 2. Offre du moment ---------- */
body.tk-lot-fiches .ca-offer-head { display: grid; gap: 6px; margin: var(--sp-2) 0 0; padding: 0; background: none; border: 0; }
body.tk-lot-fiches .ca-offer-kicker { margin: 0; font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 600; letter-spacing: var(--tr-label); color: var(--muted); }
body.tk-lot-fiches .ca-offer-claim { margin: 0; font-size: var(--fs-lg); font-weight: var(--fw-title); font-stretch: var(--wd-title); line-height: 1.2; color: var(--ink); }
body.tk-lot-fiches .ca-offer-verif { font-size: var(--fs-sm); font-weight: 600; font-stretch: var(--wd-text); color: var(--muted); }

body.tk-lot-fiches .caf-duo { display: grid; gap: var(--sp-4); }
@media (min-width: 900px) { body.tk-lot-fiches .caf-duo { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: stretch; } }
body.tk-lot-fiches .caf-duo-col { display: grid; align-content: start; gap: var(--sp-3); min-width: 0; margin: 0; padding: 20px; border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-2); color: var(--ink); }
body.tk-lot-fiches .caf-duo-fil { background: var(--tk-bg); color: var(--tk-ink); border-color: transparent; }
body.tk-lot-fiches .caf-duo-par { background: var(--surface-2); box-shadow: none; }
body.tk-lot-fiches .caf-duo-h { display: flex; align-items: center; gap: 8px; margin: 0; font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 600; letter-spacing: var(--tr-label); color: var(--tk-muted); }
body.tk-lot-fiches .caf-duo-h em { font-style: normal; }
body.tk-lot-fiches .caf-duo-ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--sel-bg); color: var(--sel-ink); }
body.tk-lot-fiches .caf-duo-ic svg { width: 15px; height: 15px; }
body.tk-lot-fiches .caf-duo-val { display: grid; gap: 6px; margin: 0; }
body.tk-lot-fiches .caf-duo-amt { display: block; font-size: var(--fs-prime-xl); font-weight: var(--fw-prime); font-stretch: var(--wd-display); letter-spacing: var(--tr-display); line-height: .98; color: var(--tk-ink); text-wrap: balance; } /* « Jusqu’à / 180 € », jamais « Jusqu’à 180 / € » (texte de 268 à espace ordinaire) */
body.tk-lot-fiches .caf-duo-par .caf-duo-amt { font-size: var(--fs-prime); }
body.tk-lot-fiches .caf-duo-rest { font-size: var(--fs-sm); line-height: 1.5; color: var(--tk-muted); }
/* Le parrain n'est pas un billet : en sombre sa carte devient sombre, donc encre du thème (pas celle des tickets) */
body.tk-lot-fiches .caf-duo-par :is(.caf-duo-h, .caf-duo-rest) { color: var(--muted); }
body.tk-lot-fiches .caf-duo-par .caf-duo-amt { color: var(--ink); }
body.tk-lot-fiches .caf-duo-par .caf-duo-rest { color: var(--ink-2); }
body.tk-lot-fiches .caf-duo-sub { margin: 0; font-size: var(--fs-sm); line-height: 1.5; color: var(--ink-2); }
body.tk-lot-fiches .caf-duo-foot { display: grid; gap: var(--sp-3); margin-top: var(--sp-2); }

/* Talon du billet : le code, à la couleur de la marque, encoches de détachement sur les côtés */
body.tk-lot-fiches .caf-act { display: grid; gap: var(--sp-3); }
body.tk-lot-fiches .caf-codebox {
  --stub-bg: var(--tk-marque, var(--tk-stub-bg)); --stub-ink: var(--tk-marque-encre, var(--tk-stub-ink));
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 14px;
  margin: 0; padding: 16px 22px; border: 0; border-radius: 14px; background: var(--stub-bg); color: var(--stub-ink); max-width: none;
  -webkit-mask: radial-gradient(circle at 0 50%, #0000 9px, #000 9.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, #0000 9px, #000 9.5px) right / 51% 100% no-repeat;
          mask: radial-gradient(circle at 0 50%, #0000 9px, #000 9.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, #0000 9px, #000 9.5px) right / 51% 100% no-repeat;
}
body.tk-lot-fiches .caf-code-lab { grid-column: 1; font-family: var(--font-mono); font-size: var(--fs-2xs); font-weight: 600; letter-spacing: 0; color: var(--stub-ink); }
body.tk-lot-fiches .caf-code {
  grid-column: 1; min-width: 0; font-family: var(--font-mono); font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem); font-weight: 700; letter-spacing: 0; line-height: 1.2;
  color: var(--stub-ink); text-transform: none; word-break: break-all; text-wrap: balance; user-select: all; -webkit-user-select: all; font-feature-settings: "zero" 1;
}
body.tk-lot-fiches .caf-codebox .caf-copy { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
body.tk-lot-fiches .caf-copy {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border: 0; border-radius: 12px;
  background: var(--tk-marque-encre, var(--tk-copy-bg)); color: var(--tk-marque-contre, var(--tk-copy-ink)); /* jamais la couleur de la marque en texte */
  font-family: var(--font-sans); font-size: var(--fs-sm); font-weight: var(--fw-strong); font-stretch: var(--wd-title); letter-spacing: 0; cursor: pointer;
}
body.tk-lot-fiches .caf-copy svg { width: 16px; height: 16px; }
/* Téléphone : « Copier » passe sous le code, qui prend toute la largeur du talon (WeWard « RadieuxDindon6581 » était
   coupé en cinq morceaux à 320 px, 20/10/2026) ; sous 360 px, code un cran plus petit pour tenir sur une ligne. */
@media (max-width: 599px) {
  body.tk-lot-fiches .caf-codebox { grid-template-columns: minmax(0, 1fr); }
  body.tk-lot-fiches .caf-codebox .caf-copy { grid-column: 1; grid-row: auto; justify-self: stretch; }
}
@media (max-width: 359px) { body.tk-lot-fiches .caf-code { font-size: 1.0625rem; letter-spacing: 0; } }
body.tk-lot-fiches .caf-copy:focus-visible { outline: 3px solid var(--tk-marque-encre, var(--focus)); outline-offset: 2px; box-shadow: none; }
body.tk-lot-fiches .caf-copy.is-done { background: transparent; color: var(--tk-marque-encre, var(--tk-stub-ink)); box-shadow: inset 0 0 0 2px currentColor; }
/* « Profitez de l'offre » : le grand bouton de la maquette validée (btn--lg, 56 px), aux couleurs du thème depuis le
   retour de Kevinoo du 19/10 (« sa couleur n'est plus en adéquation avec les thèmes Soleil et Matrix ») : accent
   du thème (dégradé Soleil, vert Matrix) bordé de l'encre du billet, comme un tampon ; même famille que les
   tickets de l'accueil, « J'en profite » des codes membres, « Demander une invitation » et la barre du bas.
   Les sélecteurs passent devant la règle « bouton principal » du pont (0,3,1) ; « Comment l'utiliser »
   (.caf-cta-ghost) garde le style secondaire. */
body.tk-lot-fiches .caf-act .caf-cta:not(.caf-cta-ghost) {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; padding: 0 22px; border-radius: var(--r-md);
  border: 1.5px solid var(--tk-ink); background: var(--accent-fill, var(--accent)); background-origin: border-box; color: var(--on-accent);
  font-family: var(--font-sans); font-size: var(--fs-base); font-weight: var(--fw-strong); font-stretch: var(--wd-title); letter-spacing: 0; text-decoration: none; text-align: center;
  transition: transform var(--dur-1) var(--ease-out), box-shadow var(--dur-1), background var(--dur-1);
}
body.tk-lot-fiches .caf-cta svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) {
  body.tk-lot-fiches :is(.caf-act, .caf-bar) .caf-cta:not(.caf-cta-ghost):hover, body.tk-lot-fiches a.ca-od-goto:hover {
    background: var(--accent-fill-hover, var(--accent-hover, var(--accent))); background-origin: border-box; transform: translateY(-1px); box-shadow: 0 3px 0 var(--tk-ink);
  }
}
body.tk-lot-fiches :is(.caf-act, .caf-bar) .caf-cta:not(.caf-cta-ghost):active, body.tk-lot-fiches a.ca-od-goto:active { transform: translateY(1px); box-shadow: none; }
@media (prefers-reduced-motion: reduce) { body.tk-lot-fiches :is(.caf-act, .caf-bar) .caf-cta, body.tk-lot-fiches a.ca-od-goto { transition: none; transform: none; } }
body.tk-lot-fiches .caf-cta:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
/* Code épuisé (165) : jamais présenté comme valable (hachures, encre neutre, non cliquable) */
body.tk-lot-fiches .caf-act .caf-cta.caf-cta-off {
  border-color: var(--off-hatch); color: var(--off-ink); cursor: not-allowed; pointer-events: none;
  background: repeating-linear-gradient(135deg, var(--off-bg) 0 10px, var(--off-bg-2) 10px 20px);
}
body.tk-lot-fiches .caf-indep { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: var(--fs-xs); line-height: 1.5; color: var(--tk-muted); }
body.tk-lot-fiches .caf-indep svg { width: 15px; height: 15px; margin-top: 1px; color: var(--tk-muted); }
body.tk-lot-fiches .caf-indep strong { color: var(--tk-ink); }
/* ---------- Variantes du bloc d'offre (fiches sans code, sur demande, sans bonus, épuisées) ---------- */
/* Sans code (61 offres, 268) ou sur demande (313) : la phrase du talon s'écrit en texte courant, sans couper
   les mots (un code, lui, se coupe n'importe où). */
body.tk-lot-fiches .caf-codebox-link { grid-template-columns: minmax(0, 1fr); }
body.tk-lot-fiches .caf-code.caf-code-none {
  font-family: var(--font-sans); font-size: var(--fs-md); font-weight: var(--fw-strong); font-stretch: var(--wd-ui); letter-spacing: 0; line-height: 1.35;
  word-break: normal; overflow-wrap: break-word; text-wrap: pretty; user-select: auto; -webkit-user-select: auto;
}
/* Aucun bonus annoncé pour l'un des deux (268) : le fait vérifiable, sans plus */
body.tk-lot-fiches .caf-duo-none { margin: 0; font-size: var(--fs-sm); font-weight: 600; line-height: 1.55; color: var(--tk-muted); }
body.tk-lot-fiches .caf-duo-par .caf-duo-none { color: var(--ink-2); }
/* Avantage sans montant repérable (268) : une ligne en gras */
body.tk-lot-fiches .caf-duo-rest-solo { font-size: var(--fs-md); font-weight: var(--fw-strong); line-height: 1.4; color: var(--tk-ink); }
body.tk-lot-fiches .caf-duo-par .caf-duo-rest-solo { color: var(--ink); }
/* Offre sur demande (313) : « Demander une invitation » est l'action principale du billet */
body.tk-lot-fiches a.ca-od-goto {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; margin: 0; padding: 0 22px; border-radius: var(--r-md);
  border: 1.5px solid var(--tk-ink); background: var(--accent-fill, var(--accent)); background-origin: border-box; color: var(--on-accent);
  font-family: var(--font-sans); font-size: var(--fs-base); font-weight: var(--fw-strong); font-stretch: var(--wd-title); letter-spacing: 0; text-decoration: none; text-align: center;
  transition: transform var(--dur-1) var(--ease-out), box-shadow var(--dur-1), background var(--dur-1);
}
body.tk-lot-fiches a.ca-od-goto:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
/* 315 : écrire au parrain partenaire par la messagerie */
body.tk-lot-fiches .ca-odm { display: block; margin-top: 6px; }
body.tk-lot-fiches a.ca-odm-l { color: var(--tk-ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
/* Code épuisé (165) : bouton neutralisé, et avis « Invitations limitées » ou « Code épuisé » */
body.tk-lot-fiches .ca-inv { margin: var(--sp-4) 0 0; padding: 12px 16px; border-radius: var(--r-lg); border: 1px solid var(--ok-line); background: var(--ok-bg); color: var(--ink); }
body.tk-lot-fiches .ca-inv-p { display: block; margin: 0 0 4px; font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0; color: var(--ok); }
body.tk-lot-fiches .ca-inv p { margin: 0; font-size: var(--fs-sm); line-height: 1.55; color: var(--ink-2); }
body.tk-lot-fiches .ca-inv.ca-inv-off { border-color: var(--danger); background: var(--danger-bg); }
body.tk-lot-fiches .ca-inv-off .ca-inv-p { color: var(--danger-ink, var(--danger)); }
/* Fiche épuisée (476) : encadré des offres du même univers */
body.tk-lot-fiches .ca-ep-alt { margin: var(--sp-4) 0 0; padding: 16px 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface-2); color: var(--ink-2); text-align: left; }
body.tk-lot-fiches .ca-ep-t { margin: 0 0 6px; font-size: var(--fs-base); font-weight: var(--fw-strong); color: var(--ink); }
body.tk-lot-fiches :is(.ca-ep-p, .ca-ep-s) { margin: 0 0 8px; font-size: var(--fs-sm); line-height: 1.55; color: var(--ink-2); }
body.tk-lot-fiches .ca-ep-p a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
body.tk-lot-fiches ul.ca-ep-l { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 640px) { body.tk-lot-fiches ul.ca-ep-l { grid-template-columns: minmax(0, 1fr); } }
body.tk-lot-fiches ul.ca-ep-l > li { margin: 0; list-style: none; }
body.tk-lot-fiches ul.ca-ep-l a { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: var(--tap); padding: 10px 12px; border-radius: var(--r-md); border: 1px solid var(--line-input); background: var(--surface); color: var(--ink); text-decoration: none; }
body.tk-lot-fiches ul.ca-ep-l a strong { font-size: var(--fs-sm); font-weight: var(--fw-strong); }
body.tk-lot-fiches ul.ca-ep-l a span { font-size: var(--fs-xs); color: var(--muted); }
@media (hover: hover) and (pointer: fine) { body.tk-lot-fiches ul.ca-ep-l a:hover { border-color: var(--line-strong); } }

/* « Vous avez aussi un code X ? » (153) : encadré avec le bouton « Ajouter mon code » */
body.tk-lot-fiches .caf-add { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px 14px; margin: var(--sp-4) 0 0; padding: 14px 16px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
body.tk-lot-fiches .caf-add-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--sel-bg); color: var(--sel-ink); }
body.tk-lot-fiches .caf-add-t { display: grid; gap: 3px; min-width: 0; }
body.tk-lot-fiches .caf-add-t strong { font-size: var(--fs-sm); font-weight: var(--fw-strong); line-height: 1.35; color: var(--ink); }
body.tk-lot-fiches .caf-add-t em { font-style: normal; font-size: var(--fs-xs); line-height: 1.5; color: var(--ink-2); }
body.tk-lot-fiches .caf-add-short { display: none; }
@media (max-width: 860px) { body.tk-lot-fiches .caf-add { grid-template-columns: auto minmax(0, 1fr); } body.tk-lot-fiches .caf-add .caf-add-btn { grid-column: 1 / -1; width: 100%; } }
@media (max-width: 640px) { body.tk-lot-fiches .caf-add-long { display: none; } body.tk-lot-fiches .caf-add-short { display: block; } }
/* Bloc « application » en haut de fiche (248) */
body.tk-lot-fiches .ca-app-hero { margin: var(--sp-4) 0 0; padding: 16px 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); }
body.tk-lot-fiches .ca-app-h { margin: 0 0 8px; font-size: var(--fs-base); font-weight: var(--fw-strong); line-height: 1.35; color: var(--ink); }
body.tk-lot-fiches .ca-app-hero .ca-app-lead { margin: 0 0 10px; font-size: var(--fs-sm); line-height: 1.55; }

/* Parrain : publier son propre code (bouton « Ajouter mon code », en accent comme tous les « Publier ») */
body.tk-lot-fiches :is(.caf-add-btn, .ca-community-cta, .ca-contrib .ca-btn-primary) {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: var(--r-md);
  border: 1.5px solid var(--accent-line, var(--accent)); background: var(--accent-fill, var(--accent)); color: var(--on-accent); background-origin: border-box;
  font-family: var(--font-sans); font-size: var(--fs-sm); font-weight: var(--fw-strong); font-stretch: var(--wd-title); letter-spacing: 0; text-decoration: none; text-align: center;
}
body.tk-lot-fiches :is(.caf-add-btn, .ca-community-cta, .ca-contrib .ca-btn-primary) svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) { body.tk-lot-fiches :is(.caf-add-btn, .ca-community-cta, .ca-contrib .ca-btn-primary):hover { background: var(--accent-fill-hover, var(--accent-hover)); } }
body.tk-lot-fiches :is(.caf-add-btn, .ca-community-cta, .ca-contrib .ca-btn-primary):focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
body.tk-lot-fiches .caf-duo-avis { margin: 0; }
body.tk-lot-fiches .caf-duo-avis a { display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: .25em; }

/* QR : utile sur ordinateur seulement (on ne scanne pas l'écran de son propre téléphone) */
body.tk-lot-fiches .ca-qr { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--sp-4); align-items: center; margin: 0; padding: 16px 20px; border-radius: var(--r-lg); border: 1px dashed var(--line-2); background: var(--surface); }
body.tk-lot-fiches .ca-qr-c { display: grid; place-items: center; width: 112px; height: 112px; padding: 6px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
body.tk-lot-fiches .ca-qr-img { display: block; width: 100%; height: 100%; }
body.tk-lot-fiches .ca-qr-t { display: grid; gap: 4px; font-size: var(--fs-sm); line-height: 1.5; color: var(--ink-2); }
body.tk-lot-fiches .ca-qr-t strong { color: var(--ink); font-size: var(--fs-base); }
/* Offre sur demande (313) : formulaire « Demander une invitation » (prénom, e-mail, message, accord).
   Le pot de miel .ca-od-hp reste hors de vue (pont § 1) : aucune règle ici ne le vise. */
body.tk-lot-fiches #offre-sur-demande { scroll-margin-top: 96px; }
body.tk-lot-fiches .ca-od-note { margin: 0; }
body.tk-lot-fiches .ca-od-form { display: grid; gap: var(--sp-4); max-width: 640px; margin: var(--sp-5) 0 0; }
body.tk-lot-fiches .ca-od-l:not(.ca-od-hp) { display: grid; gap: 6px; }
body.tk-lot-fiches .ca-od-l:not(.ca-od-hp) label { font-size: var(--fs-sm); font-weight: 700; color: var(--ink); }
body.tk-lot-fiches .ca-od-l:not(.ca-od-hp) :is(input, textarea) {
  width: 100%; min-height: 48px; margin: 0; padding: 12px 14px; border-radius: var(--r-md); border: 1.5px solid var(--line-input);
  background: var(--bg); color: var(--ink); font: inherit; font-size: var(--fs-base); line-height: 1.4; resize: vertical; box-shadow: none;
}
body.tk-lot-fiches .ca-od-l:not(.ca-od-hp) textarea { min-height: 112px; }
body.tk-lot-fiches .ca-od-l:not(.ca-od-hp) :is(input, textarea):focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--line-strong); }
body.tk-lot-fiches label.ca-od-ok { display: flex; align-items: flex-start; gap: 12px; margin: 0; font-size: var(--fs-sm); line-height: 1.5; color: var(--ink-2); cursor: pointer; }
body.tk-lot-fiches label.ca-od-ok input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--sel-bg); }
body.tk-lot-fiches .ca-od-form button.ca-od-btn {
  justify-self: start; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; margin: 0; padding: 0 24px; border: 0; border-radius: var(--r-md);
  background: var(--sel-bg); color: var(--sel-ink); font-family: var(--font-sans); font-size: var(--fs-sm); font-weight: var(--fw-strong); font-stretch: var(--wd-title);
 letter-spacing: 0; cursor: pointer;
}
@media (hover: hover) and (pointer: fine) { body.tk-lot-fiches .ca-od-form button.ca-od-btn:hover { background: var(--sel-hover); } }
body.tk-lot-fiches button.ca-od-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
body.tk-lot-fiches button.ca-od-btn[disabled] { opacity: .6; cursor: default; }
@media (max-width: 640px) { body.tk-lot-fiches .ca-od-form button.ca-od-btn { justify-self: stretch; width: 100%; } }
body.tk-lot-fiches .ca-od-msg { min-height: 1.4em; margin: 0; font-size: var(--fs-sm); font-weight: 700; color: var(--ink-2); }
body.tk-lot-fiches .ca-od-msg.is-ok { color: var(--ok); }
body.tk-lot-fiches .ca-od-msg.is-ko { color: var(--danger-ink, var(--danger)); }
body.tk-lot-fiches .ca-od-src { margin: var(--sp-4) 0 0; font-size: var(--fs-xs); line-height: 1.5; color: var(--muted); }

/* Comme l'extrait 208 : le QR code sert à passer de l'ordinateur au téléphone, il est masqué jusqu'à 782 px. */
@media (max-width: 782px) { body.tk-lot-fiches .ca-qr { display: none; } }
/* Faits : bandeau de quatre cases */
body.tk-lot-fiches ul.caf-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
@media (min-width: 900px) { body.tk-lot-fiches ul.caf-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
body.tk-lot-fiches ul.caf-facts > li { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 14px 16px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); list-style: none; }
body.tk-lot-fiches ul.caf-facts > li svg { width: 18px; height: 18px; margin-top: 2px; color: var(--muted); }
body.tk-lot-fiches .caf-facts-t { display: grid; gap: 2px; min-width: 0; }
body.tk-lot-fiches .caf-facts-t span { font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 600; letter-spacing: var(--tr-label); color: var(--muted); }
body.tk-lot-fiches .caf-facts-t strong { font-size: var(--fs-sm); font-weight: var(--fw-strong); line-height: 1.3; color: var(--ink); overflow-wrap: anywhere; }

/* ---------- 3. Auteur, réponse directe, codes des membres ---------- */
body.tk-lot-fiches .ca-auth { display: flex; align-items: center; gap: 12px; margin: var(--sp-5) 0 0; padding: 0; font-size: var(--fs-sm); line-height: 1.5; color: var(--ink-2); }
body.tk-lot-fiches .ca-auth-av { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--surface-3); }
body.tk-lot-fiches .ca-auth-l { color: var(--ink); font-weight: var(--fw-strong); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .2em; }
body.tk-lot-fiches .cafl-claim { position: relative; margin: var(--sp-5) 0 0; padding: 18px 20px 18px 26px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.6; overflow: hidden; }
body.tk-lot-fiches .cafl-claim::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--accent-fill, var(--accent)); }
body.tk-lot-fiches .cafl-claim p { margin: 0 0 var(--sp-2); }
body.tk-lot-fiches .cafl-claim strong { color: var(--ink); }
body.tk-lot-fiches .cafl-code, body.tk-lot-fiches .cad-wrap code { padding: 1px 6px; border-radius: 5px; background: var(--surface-3); color: var(--ink); font-family: var(--font-mono); font-weight: 700; font-size: .92em; text-transform: none; }
body.tk-lot-fiches .cafl-verif { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; font-size: var(--fs-xs); color: var(--muted); }
body.tk-lot-fiches .cafl-dot { display: inline-flex; align-items: center; gap: 6px; }
body.tk-lot-fiches .cafl-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-bg); }
body.tk-lot-fiches .cafl-src { color: var(--ink); font-weight: 600; text-decoration: underline; }

body.tk-lot-fiches .ca-community { display: grid; gap: var(--sp-4); margin: var(--sp-6) 0 0; padding: 20px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
body.tk-lot-fiches .ca-community-head { display: grid; gap: 6px; }
body.tk-lot-fiches .ca-community-title { margin: 0; font-size: var(--fs-lg); font-weight: var(--fw-title); font-stretch: var(--wd-title); color: var(--ink); }
body.tk-lot-fiches .ca-community-sub, body.tk-lot-fiches .ca-community-empty { margin: 0; font-size: var(--fs-sm); line-height: 1.5; color: var(--ink-2); }
/* Lignes des annonces de membres (073), boutons « J'en profite » et « Contacter le parrain » : composants du lot
   « membres », habillés dans tk-membres.css (chargée aussi sur les fiches) depuis l'étape 4. */
body.tk-lot-fiches .ca-community-foot { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
body.tk-lot-fiches a.ca-community-more { min-height: var(--tap); }

/* ---------- 4. Sections ---------- */
body.tk-lot-fiches .cad-sec { margin: 0; }
body.tk-lot-fiches .cad-sec.caf-card { padding: 22px 24px; border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-1); color: var(--ink); }
@media (max-width: 599px) { body.tk-lot-fiches .cad-sec.caf-card { padding: 18px; } }
body.tk-lot-fiches .cad-wrap > .cad-sec, body.tk-lot-fiches .cad-wrap > .cad-cols { margin-top: var(--sp-5); }
body.tk-lot-fiches .cad-sec.cad-faq { padding: 0; border: 0; background: none; box-shadow: none; }
body.tk-lot-fiches .caf-h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 var(--sp-4); font-size: var(--fs-lg); font-weight: var(--fw-title); font-stretch: var(--wd-title); letter-spacing: var(--tr-title); line-height: 1.2; color: var(--ink); }
body.tk-lot-fiches .caf-h2-ic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--sel-bg); color: var(--sel-ink); }
body.tk-lot-fiches .caf-h2-ic svg { width: 18px; height: 18px; }
body.tk-lot-fiches .cad-sec p { margin: 0 0 var(--sp-3); font-size: var(--fs-base); line-height: 1.65; color: var(--ink-2); }
body.tk-lot-fiches .cad-sec p:last-child { margin-bottom: 0; }
body.tk-lot-fiches .cad-sec strong { color: var(--ink); }
body.tk-lot-fiches .cad-sec a:not([class*="btn"]):not(.ca-sig-link):not(.cad-card):not(:is(.ca-reco-plus, .ca-boost-plus) > a) { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .2em; }
body.tk-lot-fiches .cad-reponse-directe { border-left: 6px solid var(--accent); }
body.tk-lot-fiches :is(.ca-od-h3, .ca-cond-h3) { margin: var(--sp-5) 0 var(--sp-2); font-size: var(--fs-base); font-weight: var(--fw-strong); font-stretch: var(--wd-ui); line-height: 1.3; color: var(--ink); }
body.tk-lot-fiches .ca-cond-p { margin: 0; }
body.tk-lot-fiches :is(ul.ca-od-list, .cad-sec ul:not([class])) { display: grid; gap: 8px; margin: 0 0 var(--sp-3); padding: 0; list-style: none; }
body.tk-lot-fiches :is(ul.ca-od-list, .cad-sec ul:not([class])) > li { position: relative; margin: 0; padding-left: 22px; color: var(--ink-2); line-height: 1.6; }
body.tk-lot-fiches :is(ul.ca-od-list, .cad-sec ul:not([class])) > li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
/* Mode d'emploi : étapes numérotées (comme la maquette) */
body.tk-lot-fiches ol.cad-steps { counter-reset: tk-pas; display: grid; gap: var(--sp-3); margin: 0; padding: 0; list-style: none; }
body.tk-lot-fiches ol.cad-steps > li { counter-increment: tk-pas; position: relative; margin: 0; padding: 14px 16px 14px 64px; min-height: 64px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--bg); color: var(--ink-2); line-height: 1.55; }
body.tk-lot-fiches ol.cad-steps > li::before {
  content: counter(tk-pas, decimal-leading-zero); position: absolute; left: 14px; top: 14px; display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 10px; background: var(--sel-bg); color: var(--sel-ink); font-family: var(--font-mono); font-size: var(--fs-sm); font-weight: 700;
}
/* Points forts */
body.tk-lot-fiches ul.ca-why-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
body.tk-lot-fiches ul.ca-why-list > li { display: flex; gap: 10px; align-items: flex-start; margin: 0; color: var(--ink-2); line-height: 1.55; font-size: var(--fs-sm); }
body.tk-lot-fiches ul.ca-why-list > li svg { width: 18px; height: 18px; margin-top: 2px; color: var(--tk-check); }
body.tk-lot-fiches .ca-sig-line { margin: var(--sp-4) 0 0; }
body.tk-lot-fiches .ca-sig-link { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; font-size: var(--fs-xs); font-weight: 700; color: var(--muted); text-decoration: underline; }
/* Tableau « en un coup d'œil » */
body.tk-lot-fiches table.cafl-table { width: 100%; margin: 0; border-collapse: collapse; border: 0; font-size: var(--fs-sm); background: none; color: var(--ink); table-layout: auto; }
body.tk-lot-fiches .cafl-table th, body.tk-lot-fiches .cafl-table td { padding: 10px 0; border: 0; border-bottom: 1px dashed var(--line); text-align: left; vertical-align: top; background: none; }
body.tk-lot-fiches .cafl-table tr:last-child :is(th, td) { border-bottom: 0; }
body.tk-lot-fiches .cafl-table th { width: 40%; padding-right: 16px; font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 600; letter-spacing: var(--tr-label); color: var(--muted); }
body.tk-lot-fiches .cafl-table td { font-weight: 700; overflow-wrap: anywhere; }
/* Application mobile : note et téléchargements */
body.tk-lot-fiches .ca-app-lead { margin: 0 0 var(--sp-4); }
body.tk-lot-fiches .ca-app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); margin: 0 0 var(--sp-3); }
body.tk-lot-fiches .ca-app-cell { display: grid; gap: 4px; padding: 14px 16px; border-radius: var(--r-md); background: var(--bg); border: 1px solid var(--line); }
body.tk-lot-fiches .ca-app-big { font-size: var(--fs-xl); font-weight: var(--fw-title); font-stretch: var(--wd-title); line-height: 1; color: var(--ink); }
body.tk-lot-fiches .ca-app-stars { position: relative; display: inline-block; width: max-content; font-size: 16px; line-height: 1; letter-spacing: 2px; }
body.tk-lot-fiches .ca-app-sb { font-style: normal; color: var(--line-2); }
body.tk-lot-fiches .ca-app-sf { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; font-style: normal; color: var(--tk-accent-ico, var(--accent)); }
body.tk-lot-fiches .ca-app-lbl { font-size: var(--fs-xs); color: var(--muted); }
body.tk-lot-fiches .ca-app-src { font-size: var(--fs-xs); color: var(--muted); }

/* ---------- 5. FAQ, similaires, retour, actualité liée, contribution, avis ---------- */
body.tk-lot-fiches .cad-faq .ca-faq-list { border-top: 1.5px solid var(--line-strong); }
body.tk-lot-fiches .cad-faq details.ca-faq-item { margin: 0; padding: 0; border: 0; border-bottom: 1px dashed var(--line-2); background: none; }
body.tk-lot-fiches .cad-faq summary.ca-faq-q { justify-content: space-between; gap: var(--sp-4); min-height: 56px; padding: 14px 0; color: var(--ink); line-height: 1.3; }
body.tk-lot-fiches .cad-faq summary.ca-faq-q h3 { font-size: var(--fs-base); font-weight: var(--fw-strong); font-stretch: var(--wd-ui); letter-spacing: 0; }
body.tk-lot-fiches .cad-faq summary.ca-faq-q::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; border: 1.5px solid var(--line-strong); font-size: 20px; font-weight: 500; line-height: 1; }
body.tk-lot-fiches .cad-faq details[open] > summary.ca-faq-q::after { content: "−"; background: var(--accent-fill, var(--accent)); border-color: var(--accent-line, var(--accent)); color: var(--on-accent); }
body.tk-lot-fiches .cad-faq summary.ca-faq-q:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
body.tk-lot-fiches .cad-faq .ca-faq-a { padding: 0 0 var(--sp-4); font-size: var(--fs-base); line-height: 1.65; color: var(--ink-2); }

body.tk-lot-fiches .ca-reco-intro { margin: 0 0 var(--sp-4); }
body.tk-lot-fiches .cad-related { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0 0 var(--sp-3); }
@media (min-width: 600px) { body.tk-lot-fiches .cad-related { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { body.tk-lot-fiches .cad-main .cad-related { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
body.tk-lot-fiches a.cad-card.caf-rc {
  display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 12px 14px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--bg); color: var(--ink);
  text-decoration: none; transition: border-color var(--dur-1), transform var(--dur-1);
}
@media (hover: hover) and (pointer: fine) { body.tk-lot-fiches a.cad-card.caf-rc:hover { border-color: var(--line-strong); transform: translateY(-1px); } }
body.tk-lot-fiches a.cad-card.caf-rc:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
body.tk-lot-fiches .caf-rc .ca-logo { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; overflow: hidden; background: var(--tk-logo-bg); }
body.tk-lot-fiches .caf-rc .ca-logo img { width: 100%; height: 100%; object-fit: contain; }
body.tk-lot-fiches .caf-rc-t { display: grid; gap: 2px; min-width: 0; }
body.tk-lot-fiches .caf-rc-t strong { font-size: var(--fs-sm); font-weight: var(--fw-strong); line-height: 1.25; color: var(--ink); }
body.tk-lot-fiches .caf-rc-t em { font-style: normal; font-size: var(--fs-xs); line-height: 1.35; color: var(--muted); }
body.tk-lot-fiches .ca-reco-plus { margin: var(--sp-3) 0 0; }
body.tk-lot-fiches :is(.ca-reco-plus, .ca-boost-plus) > a { white-space: normal; text-align: center; }
body.tk-lot-fiches .cad-back { margin: var(--sp-6) 0 0; font-weight: 700; }
body.tk-lot-fiches .cad-back a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--ink); text-decoration: underline; text-underline-offset: .25em; }

body.tk-lot-fiches :is(.ca-news-rel, .ca-contrib, .ca-reviews, .cafl-legal, .ca-boost) { width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--container) - 2 * var(--gutter)); margin: var(--sp-6) auto 0; }
body.tk-lot-fiches .ca-news-rel { display: grid; gap: var(--sp-2); padding: 16px 20px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
body.tk-lot-fiches .ca-news-rel-t { margin: 0; font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 600; letter-spacing: var(--tr-label); color: var(--muted); }
body.tk-lot-fiches a.ca-news-rel-i { display: grid; gap: 4px; color: var(--ink); text-decoration: none; }
body.tk-lot-fiches .ca-news-rel-d { font-size: var(--fs-xs); color: var(--muted); }
body.tk-lot-fiches .ca-news-rel-h { font-size: var(--fs-base); font-weight: var(--fw-strong); line-height: 1.35; }
body.tk-lot-fiches .ca-news-rel-g { font-size: var(--fs-sm); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .25em; }
/* « Vous connaissez ce service ? » (extrait 153) : bandeau de contribution, publier en premier plan */
body.tk-lot-fiches .ca-contrib {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--sp-3) var(--sp-4); align-items: center; padding: 20px 22px; border-radius: var(--r-xl);
  background: var(--sel-bg); color: var(--sel-ink); box-shadow: var(--shadow-2);
}
body.tk-lot-fiches .ca-contrib-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--accent-fill, var(--accent)); color: var(--on-accent); }
body.tk-lot-fiches .ca-contrib-ico svg { width: 24px; height: 24px; }
body.tk-lot-fiches .ca-contrib-txt { display: grid; gap: 4px; min-width: 0; }
body.tk-lot-fiches .ca-contrib-txt strong { font-size: var(--fs-lg); font-weight: var(--fw-title); font-stretch: var(--wd-title); line-height: 1.2; color: var(--sel-ink); }
body.tk-lot-fiches .ca-contrib-txt span { font-size: var(--fs-sm); line-height: 1.5; color: var(--sel-muted); }
body.tk-lot-fiches .ca-contrib-btns { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--sp-3); }
@media (min-width: 900px) { body.tk-lot-fiches .ca-contrib { grid-template-columns: auto minmax(0, 1fr) auto; } body.tk-lot-fiches .ca-contrib-btns { grid-column: auto; } }
body.tk-lot-fiches .ca-contrib .ca-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: var(--r-md);
  border: 1.5px solid currentColor; background: transparent; color: var(--sel-ink); font-size: var(--fs-sm); font-weight: var(--fw-strong); font-stretch: var(--wd-title); letter-spacing: 0; text-decoration: none;
}
body.tk-lot-fiches .ca-contrib .ca-btn-ghost:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
body.tk-lot-fiches .ca-btn-ico { display: inline-flex; }
body.tk-lot-fiches .ca-btn-ico svg { width: 16px; height: 16px; }
/* Avis des membres */
body.tk-lot-fiches .ca-reviews { display: grid; gap: var(--sp-4); padding: 22px 24px; border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-1); color: var(--ink); }
body.tk-lot-fiches .ca-reviews-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-3); }
body.tk-lot-fiches .ca-reviews-title { font-size: var(--fs-lg); font-weight: var(--fw-title); font-stretch: var(--wd-title); color: var(--ink); }
body.tk-lot-fiches .ca-reviews-summary { display: inline-flex; align-items: center; gap: 8px; }
body.tk-lot-fiches .ca-reviews-avg { font-size: var(--fs-xl); font-weight: var(--fw-title); line-height: 1; }
body.tk-lot-fiches .ca-stars { display: inline-flex; gap: 1px; font-size: 16px; line-height: 1; }
body.tk-lot-fiches .ca-star { color: var(--line-2); }
body.tk-lot-fiches .ca-star.on { color: var(--tk-accent-ico, var(--accent)); }
body.tk-lot-fiches .ca-reviews-count { font-size: var(--fs-sm); color: var(--muted); }
body.tk-lot-fiches .ca-reviews-list { display: grid; gap: var(--sp-3); }
body.tk-lot-fiches .ca-review { display: grid; gap: var(--sp-2); padding: 16px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--bg); }
body.tk-lot-fiches .ca-review-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
body.tk-lot-fiches .ca-review-who { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: var(--fw-strong); text-decoration: none; }
body.tk-lot-fiches .ca-review-av { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--surface-3); }
body.tk-lot-fiches .ca-review-avwrap { flex: none; display: inline-flex; line-height: 0; }
body.tk-lot-fiches .ca-review-av-ini { display: inline-grid; place-items: center; color: var(--ink); font-size: var(--fs-sm); font-weight: var(--fw-strong); line-height: 1; }
@media (hover: hover) and (pointer: fine) { body.tk-lot-fiches a.ca-review-who:hover .ca-review-author { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; } }
/* Message après l'envoi d'un avis (028) : publié, ou en attente de relecture */
body.tk-lot-fiches .ca-review-flash { margin: 0; padding: 12px 16px; border-radius: var(--r-md); border: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 700; color: var(--ink); }
body.tk-lot-fiches .ca-review-flash-ok { border-color: var(--ok-line); background: var(--ok-bg); }
body.tk-lot-fiches .ca-review-flash-att { border-color: var(--warn-line); background: var(--warn-bg); }
body.tk-lot-fiches .ca-review-date { font-family: var(--font-sans); font-size: var(--fs-xs); letter-spacing: 0; color: var(--muted); }
body.tk-lot-fiches .ca-review-body { margin: 0; font-size: var(--fs-sm); line-height: 1.6; color: var(--ink-2); }
body.tk-lot-fiches .ca-review-form-wrap { display: grid; gap: var(--sp-2); padding-top: var(--sp-4); border-top: 1px dashed var(--line-2); }
body.tk-lot-fiches .ca-review-form-title { font-size: var(--fs-base); font-weight: var(--fw-strong); }
body.tk-lot-fiches .ca-avis-as { margin: 0; font-size: var(--fs-sm); line-height: 1.6; color: var(--ink-2); }
body.tk-lot-fiches .ca-avis-as a { color: var(--ink); font-weight: 700; }

/* ---------- 6. Mentions, barre collante, meilleurs codes du moment ---------- */
body.tk-lot-fiches section.cafl-legal { display: grid; gap: var(--sp-2); }
body.tk-lot-fiches section.cafl-legal p { margin: 0; }
body.tk-lot-fiches section.cafl-legal a { color: var(--ink); font-weight: 700; }
/* Barre collante du code (063) : cachée tant que le billet est visible (063 pose .is-on) */
body.tk-lot-fiches .caf-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -14px 30px -18px rgba(0, 0, 0, .45); color: var(--ink);
  transform: translateY(110%); visibility: hidden; transition: transform var(--dur-3) var(--ease-out), visibility var(--dur-3);
}
body.tk-lot-fiches .caf-bar.is-on { transform: none; visibility: visible; }
/* 278 : la barre s'efface quand la zone d'avis est à l'écran (elle couvrait le formulaire ; 278 pose .caf-bar-hush) */
body.tk-lot-fiches.caf-bar-hush .caf-bar, body.tk-lot-fiches.caf-bar-hush .caf-bar.is-on { transform: translateY(125%); visibility: hidden; }
body.tk-lot-fiches.caf-bar-hush .caf-bar .caf-bar-in { pointer-events: none; }
@media (max-width: 782px) { body.tk-lot-fiches.tk-has-navmob .caf-bar { bottom: calc(64px + env(safe-area-inset-bottom)); padding-bottom: 10px; } }
@media (prefers-reduced-motion: reduce) { body.tk-lot-fiches .caf-bar { transition: none; } }
body.tk-lot-fiches .caf-bar-in { display: flex; align-items: center; gap: var(--sp-3); max-width: calc(var(--container) - 2 * var(--gutter)); margin: 0 auto; }
body.tk-lot-fiches .caf-bar-id { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
body.tk-lot-fiches .caf-bar-id .ca-logo { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; overflow: hidden; background: var(--tk-logo-bg); }
body.tk-lot-fiches .caf-bar-id .ca-logo img { width: 100%; height: 100%; object-fit: contain; }
body.tk-lot-fiches .caf-bar-txt { display: grid; min-width: 0; }
body.tk-lot-fiches .caf-bar-txt strong { font-size: var(--fs-sm); font-weight: var(--fw-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.tk-lot-fiches .caf-bar-txt em { font-style: normal; font-size: var(--fs-xs); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.tk-lot-fiches .caf-bar-act { display: flex; align-items: center; gap: 8px; flex: none; }
body.tk-lot-fiches .caf-bar-code { display: inline-flex; align-items: center; min-height: 40px; padding: 0 10px; border-radius: 8px; border: 1.5px dashed var(--line-strong); font-family: var(--font-mono); font-size: var(--fs-sm); font-weight: 700; text-transform: none; user-select: all; -webkit-user-select: all; }
/* Barre collante : « Copier » aux couleurs de sélection du thème (Soleil / Matrix, clair / sombre), pas à celles de la marque */
body.tk-lot-fiches .caf-bar .caf-copy { min-height: var(--tap); padding: 0 14px; font-size: var(--fs-xs); background: var(--sel-bg); color: var(--sel-ink); }
body.tk-lot-fiches .caf-bar .caf-copy.is-done { background: transparent; color: var(--ink); }
body.tk-lot-fiches .caf-bar .caf-cta { width: auto; min-height: var(--tap); padding: 0 16px; font-size: var(--fs-xs); }
body.tk-lot-fiches .caf-bar .caf-cta:not(.caf-cta-ghost) { border: 1.5px solid var(--tk-ink); background: var(--accent-fill, var(--accent)); background-origin: border-box; color: var(--on-accent); transition: transform var(--dur-1) var(--ease-out), box-shadow var(--dur-1), background var(--dur-1); }
@media (max-width: 599px) {
  body.tk-lot-fiches .caf-bar-txt em, body.tk-lot-fiches .caf-bar .caf-cta, body.tk-lot-fiches .caf-bar-code { display: none; }
}
body.tk-lot-fiches.caf-bar-on .tk-main--fiche { padding-bottom: calc(var(--sp-16) + var(--caf-bar-h, 72px)); }
/* Les meilleurs codes de parrainage du moment */
body.tk-lot-fiches .ca-boost { display: grid; gap: var(--sp-4); padding: 0; background: none; border: 0; }
body.tk-lot-fiches .ca-boost-h { margin: 0; font-size: var(--fs-xl); font-weight: var(--fw-title); font-stretch: var(--wd-title); letter-spacing: var(--tr-title); line-height: 1.1; color: var(--ink); }
body.tk-lot-fiches ul.ca-boost-l { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 600px) { body.tk-lot-fiches ul.ca-boost-l { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { body.tk-lot-fiches ul.ca-boost-l { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
body.tk-lot-fiches .ca-boost-i { margin: 0; }
body.tk-lot-fiches a.ca-boost-a { display: grid; gap: 4px; min-height: 68px; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { body.tk-lot-fiches a.ca-boost-a:hover { border-color: var(--line-strong); } }
body.tk-lot-fiches a.ca-boost-a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
body.tk-lot-fiches .ca-boost-m { font-size: var(--fs-sm); font-weight: var(--fw-strong); line-height: 1.3; }
body.tk-lot-fiches .ca-boost-b { font-size: var(--fs-xs); color: var(--muted); }
body.tk-lot-fiches .ca-boost-plus { margin: 0; }

/* Sommaire cliquable des fiches (extrait « Sommaire des fiches », 24/11/2026) : liens vers les sections, sous l'en-tête. */
body.tk-lot-fiches .tk-sommaire { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 0; }
body.tk-lot-fiches .tk-sommaire__lib { margin-right: 2px; font-size: var(--fs-sm); font-weight: 650; color: var(--ink-2); }
body.tk-lot-fiches .tk-sommaire ol { display: contents; margin: 0; padding: 0; list-style: none; }
body.tk-lot-fiches .tk-sommaire li { margin: 0; }
body.tk-lot-fiches .tk-sommaire a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: var(--fs-sm); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { body.tk-lot-fiches .tk-sommaire a:hover { background: var(--surface-2); } }

/* Invitation à donner son avis (extrait « Invitation à donner son avis », 24/11/2026) : 5 étoiles jaunes classiques. */
body.tk-lot-fiches .tk-avis-invite { margin: 12px 0 0; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface-2); }
body.tk-lot-fiches .tk-avis-invite p { margin: 0; font-size: var(--fs-sm); color: var(--ink); }
body.tk-lot-fiches .tk-avis-invite__haut { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
body.tk-lot-fiches .tk-etoiles { display: flex; }
body.tk-lot-fiches .tk-etoile { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--r-md); background: none; cursor: pointer; }
body.tk-lot-fiches .tk-etoile svg { width: 30px; height: 30px; fill: none; stroke: var(--muted, var(--ink-2)); stroke-width: 1.4; stroke-linejoin: round; }
body.tk-lot-fiches .tk-etoile.is-on svg, body.tk-lot-fiches .tk-etoile.is-survol svg { fill: #fbbc04; stroke: #b07d00; }
body.tk-lot-fiches .tk-etoile:focus-visible { outline: 3px solid var(--focus); outline-offset: 0; }
body.tk-lot-fiches .tk-avis-invite__suite { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; margin: 10px 0 0; }
body.tk-lot-fiches .tk-avis-invite__suite[hidden] { display: none; }
body.tk-lot-fiches .tk-avis-invite__texte { flex: 1 1 260px; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line-input, var(--line-strong)); border-radius: var(--r-md); background: var(--surface); color: var(--ink); font: inherit; font-size: var(--fs-sm); }
body.tk-lot-fiches .tk-avis-invite__msg { flex-basis: 100%; }
body.tk-lot-fiches .tk-avis-invite__oui, body.tk-lot-fiches .tk-avis-invite__plus-tard { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; border-radius: 999px; font: inherit; font-size: var(--fs-sm); text-decoration: none; cursor: pointer; }
body.tk-lot-fiches .tk-avis-invite__oui { border: 1px solid var(--tk-ink, var(--ink)); background: var(--accent-fill, var(--accent)); color: var(--on-accent); font-weight: 650; }
body.tk-lot-fiches .tk-avis-invite__plus-tard { margin-left: auto; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); }
