/* ==========================================================================
   mcp-ticket · tk-grille.css — grille de codes de l'extrait 6 (accueil, catégories, recherche, pages)
   habillée en tickets « Le Ticket v2 » (maquette validée prototype/accueil.html, thèmes Soleil / Matrix).

   Actif seulement avec le lot « accueil » (classe body.tk-lot-accueil) : tant que ce lot n'est pas coché
   dans Apparence > Ticket, l'ancienne feuille #ca-grid-v2-css s'applique seule, sans mélange.
   Imprimée avec le pont (wp_head 10002). Aucune couleur en dur : jetons du design system ; le talon prend
   la couleur de la marque (--tk-marque / --tk-marque-encre, posées par inc/marques.php).

   Balisage d'une carte (extrait 6, inchangé) :
     article.ca-card[data-brand][data-cat]
       .ca-card-top > .ca-logo (img + .ca-logo-ini) + .ca-cat
       h3|h2.ca-brand > a.ca-brand-link            (« Code parrainage {Marque} »)
       .ca-badges > .ca-official                   (« Officiel »)
       p.ca-desc · .ca-bonus (> .ca-gift)
       .ca-codebox > .ca-code-label + code.ca-code  (ou .ca-codebox--sans > .ca-code-none)
       .ca-actions > a.ca-cta-primary + button.ca-copy-btn + a.ca-more
     + ajouts du thème (inc/tickets.php, lot « accueil ») : span.tk-pre dans le nom, dl.tk-gain (montants),
       span.tk-verif (« ✓ Vérifié JJ.MM ») dans .ca-badges, « En savoir + → » dans a.ca-more
   .ca-card-top et .ca-actions passent en display:contents : leurs enfants se placent directement dans
   la grille du ticket. Rien n'est déplacé ni renommé dans le HTML (JS de 006, 063, 366 et 419 intacts).

   Sommaire
   1. Barre d'outils : recherche de la grille, pastilles, sous-catégories, tri, compteur
   2. Titre de section, note de sélection, « Voir plus », aucun résultat, mentions légales
   3. Grille et ticket
   4. Liens de catégories (013) et haut de page catégorie (010)
   ========================================================================== */

/* ---------- 1. Barre d'outils ---------- */
body.tk-lot-accueil .ca-wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
body.tk-lot-accueil .ca-toolbar { display: grid; gap: var(--sp-4); margin: 0 0 var(--sp-8); }

/* Recherche de la grille (#ca-search, filtre local) → champ .search du DS */
body.tk-lot-accueil .ca-search-box { position: relative; width: 100%; max-width: 640px; margin-inline: auto; }
body.tk-lot-accueil .ca-search-ico {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%); z-index: 1; pointer-events: none;
  width: 18px; height: 18px; border: 2.25px solid var(--muted); border-radius: 50%; font-size: 0; color: transparent;
}
body.tk-lot-accueil .ca-search-ico::after { content: ""; position: absolute; right: -6px; bottom: -5px; width: 7px; height: 2.25px; border-radius: 2px; background: var(--muted); transform: rotate(45deg); }
body.tk-lot-accueil input.ca-search {
  display: block; width: 100%; height: 58px; margin: 0; padding: 0 18px 0 50px;
  border: 1.5px solid var(--line-input); border-radius: var(--r-lg); background: var(--surface); color: var(--ink);
  font-family: var(--font-sans); font-size: max(16px, var(--fs-base)); font-weight: 500; box-shadow: var(--shadow-2);
  -webkit-appearance: none; appearance: none;
}
body.tk-lot-accueil input.ca-search::placeholder { color: var(--muted); opacity: 1; }
body.tk-lot-accueil input.ca-search:focus { outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--line-strong); }
body.tk-lot-accueil input.ca-search::-webkit-search-cancel-button { cursor: pointer; }

/* Pastilles → .chip (une ligne qui défile sur téléphone, plusieurs lignes centrées ensuite) */
body.tk-lot-accueil .ca-chips {
  display: flex; gap: var(--sp-2); overflow-x: auto; scrollbar-width: none; padding: 4px var(--gutter) 10px; margin-inline: calc(-1 * var(--gutter));
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 28px), transparent);
          mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 28px), transparent);
}
body.tk-lot-accueil .ca-chips::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  body.tk-lot-accueil .ca-chips { flex-wrap: wrap; justify-content: center; overflow: visible; margin-inline: 0; padding-inline: 0; -webkit-mask-image: none; mask-image: none; }
}
body.tk-lot-accueil button.ca-chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); margin: 0; padding: 0 14px;
  border-radius: var(--r-pill); border: 1px solid var(--line-input); background: var(--surface); color: var(--ink);
  font-family: var(--font-sans); font-size: var(--fs-sm); font-weight: 600; font-stretch: var(--wd-ui); line-height: 1.1;
  white-space: nowrap; cursor: pointer; box-shadow: none; text-transform: none; letter-spacing: 0;
  transition: border-color var(--dur-1), background var(--dur-1), transform var(--dur-1);
}
body.tk-lot-accueil button.ca-chip[hidden] { display: none; }
@media (hover: hover) and (pointer: fine) { body.tk-lot-accueil button.ca-chip:hover { border-color: var(--line-strong); background: var(--surface); } }
body.tk-lot-accueil button.ca-chip:active { transform: scale(.97); }
body.tk-lot-accueil button.ca-chip:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
body.tk-lot-accueil button.ca-chip:is(.is-active, [aria-pressed="true"]) { background: var(--sel-bg); color: var(--sel-ink); border-color: var(--sel-bg); }
body.tk-lot-accueil .ca-chip-n { font-family: var(--font-mono); font-size: var(--fs-2xs); font-weight: 600; color: var(--muted); background: none; border: 0; padding: 0; }
body.tk-lot-accueil .ca-chip:is(.is-active, [aria-pressed="true"]) .ca-chip-n { color: var(--sel-muted); background: none; }
/* « Meilleures offres » : la sélection du mois, en accent (comme dans le panneau Catégories) */
body.tk-lot-accueil button.ca-chip--top { border-color: var(--accent-line, var(--accent)); }
body.tk-lot-accueil button.ca-chip--top::before { content: "★"; font-size: 13px; line-height: 1; color: var(--tk-accent-ico, var(--accent)); }
body.tk-lot-accueil button.ca-chip--top:is(.is-active, [aria-pressed="true"]) { background: var(--accent-fill, var(--accent)); color: var(--on-accent); border-color: transparent; }
body.tk-lot-accueil button.ca-chip--top:is(.is-active, [aria-pressed="true"])::before,
body.tk-lot-accueil button.ca-chip--top:is(.is-active, [aria-pressed="true"]) .ca-chip-n { color: var(--on-accent); }

/* Sous-catégories (Crypto : CEX, DEX Perps, Wallets). UNE seule implémentation (26/10/2026 ; avant, tk-accueil.css
   rejouait la ligne dépliée par-dessus le menu flottant d'ici, et le décalage de -50 % du menu ressortait au clic) :
   - par défaut : la ligne dépliée, dans la rangée des puces (au toucher, sur téléphone, et dans le haut épuré de
     l'accueil, où les puces défilent sur une ligne et couperaient un menu flottant) ;
   - menu flottant sous la puce : seulement à la souris, à partir de 768 px, quand le haut de l'accueil est « comme
     avant » (réglage Apparence › Ticket). Repris du CSS additionnel d'Astra (disparu avec le thème). */
body.tk-lot-accueil .ca-chip-group { position: relative; display: inline-flex; flex: none; gap: var(--sp-2); }
body.tk-lot-accueil .ca-chip-caret { display: inline-block; width: 7px; height: 7px; margin: -3px 0 0 2px; border-right: 1.75px solid currentColor; border-bottom: 1.75px solid currentColor; transform: rotate(45deg); opacity: .7; transition: transform var(--dur-2); }
body.tk-lot-accueil .ca-chip-group.is-open .ca-chip-caret { transform: rotate(225deg) translate(-2px, -2px); opacity: 1; }
body.tk-lot-accueil .ca-chip-active-sub:not(:empty) { font-weight: 700; }
body.tk-lot-accueil .ca-chip-active-sub:not(:empty)::before { content: "· "; }
body.tk-lot-accueil .ca-chip-sublist { display: none; flex-direction: row; gap: 6px; }
body.tk-lot-accueil :is(.ca-chip-group.is-open, .ca-chip-group.has-active-sub) .ca-chip-sublist { display: flex; }
@media (hover: hover) and (min-width: 768px) {
  body.tk-lot-accueil:not(.tk-haut-epure) .ca-chip-group { gap: 0; }
  body.tk-lot-accueil:not(.tk-haut-epure) .ca-chip-sublist {
    position: absolute; top: calc(100% + 8px); left: 50%; z-index: 40; transform: translate(-50%, -6px);
    display: flex; flex-direction: column; min-width: 100%; padding: 8px;
    border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-3);
    opacity: 0; visibility: hidden; pointer-events: none; transition: opacity var(--dur-2), transform var(--dur-2), visibility var(--dur-2);
  }
  body.tk-lot-accueil:not(.tk-haut-epure) .ca-chip-sublist::before { content: ""; position: absolute; bottom: 100%; left: 0; right: 0; height: 10px; }
  body.tk-lot-accueil:not(.tk-haut-epure) :is(.ca-chip-group:hover, .ca-chip-group:focus-within, .ca-chip-group.is-open) .ca-chip-sublist { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
  body.tk-lot-accueil:not(.tk-haut-epure) .ca-chip-sublist .ca-chip--sub { justify-content: flex-start; width: 100%; }
}

/* Tri, « Avec code à copier », compteur */
body.tk-lot-accueil .ca-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--sp-3); margin: 0; }
body.tk-lot-accueil select.ca-sort {
  width: auto; max-width: 100%; height: var(--tap); margin: 0; padding: 0 38px 0 14px;
  border: 1px solid var(--line-input); border-radius: var(--r-pill); background-color: var(--surface); color: var(--ink);
  font-family: var(--font-sans); font-size: var(--fs-sm); font-weight: 600; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
body.tk-lot-accueil select.ca-sort:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
body.tk-lot-accueil .ca-toggle {
  display: inline-flex; align-items: center; gap: 10px; min-height: var(--tap); margin: 0; padding: 0 16px 0 12px;
  border: 1px solid var(--line-input); border-radius: var(--r-pill); background: var(--surface); color: var(--ink);
  font-size: var(--fs-sm); font-weight: 600; cursor: pointer;
}
body.tk-lot-accueil .ca-toggle input {
  -webkit-appearance: none; appearance: none; position: relative; flex: none; width: 34px; height: 20px; margin: 0;
  border-radius: var(--r-pill); background: var(--surface-3); box-shadow: inset 0 0 0 1px var(--line-strong); cursor: pointer; transition: background var(--dur-2);
}
body.tk-lot-accueil .ca-toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); transition: transform var(--dur-2) var(--ease-out); }
body.tk-lot-accueil .ca-toggle input:checked { background: var(--sel-bg); box-shadow: none; }
body.tk-lot-accueil .ca-toggle input:checked::after { background: var(--sel-ink); transform: translateX(14px); }
body.tk-lot-accueil .ca-toggle:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
/* « Avec code à copier » retiré de la barre (accueil et catégories, décision de Kevinoo, 20/10/2026) : la case reste
   dans la page, décochée, pour le script de la grille (006), qui ne la mémorise pas. */
body.tk-lot-accueil .ca-controls .ca-toggle { display: none; }
body.tk-lot-accueil .ca-count { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--muted); letter-spacing: 0; }
/* Jusqu'à 782 px, l'extrait 115 étire le tri (40 %) et la bascule (100 %) : utile sur téléphone, mais à partir
   de 560 px on garde la rangée centrée de l'ordinateur. */
@media (min-width: 560px) { body.tk-lot-accueil .ca-controls :is(.ca-sort, .ca-toggle) { order: 0; flex: 0 1 auto; } }
body.tk-lot-accueil .ca-count strong { color: var(--ink); font-weight: 700; }

/* ---------- 2. Titre, note, « Voir plus », aucun résultat, mentions ---------- */
body.tk-lot-accueil .ca-grid-h2 { margin: 0 0 var(--sp-5); 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-accueil .ca-top-note:not([hidden]) {
  display: flex; gap: 10px; align-items: flex-start; margin: 0 0 var(--sp-5); padding: 12px 16px;
  border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--accent-line, var(--accent)); color: var(--ink-2); font-size: var(--fs-sm);
}
body.tk-lot-accueil .ca-top-note svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--tk-accent-ico, var(--accent)); }
body.tk-lot-accueil .ca-top-note a { color: var(--ink); font-weight: 700; }
body.tk-lot-accueil .ca-plus-wrap { display: flex; justify-content: center; margin: var(--sp-6) 0 0; }
body.tk-lot-accueil .ca-plus-wrap .ca-plus { min-width: 240px; min-height: 48px; }
body.tk-lot-accueil .ca-plus[hidden] { display: none; }
body.tk-lot-accueil .ca-noresult:not([hidden]) {
  display: grid; justify-items: center; gap: var(--sp-3); max-width: 640px; margin: var(--sp-8) auto 0; padding: var(--sp-8) var(--sp-6);
  text-align: center; border-radius: var(--r-xl); background: var(--surface); border: 1.5px dashed var(--line-2); color: var(--ink-2);
}
body.tk-lot-accueil .ca-noresult p { margin: 0; }
body.tk-lot-accueil .ca-noresult .ca-nr-h { font-size: var(--fs-lg); font-weight: var(--fw-title); font-stretch: var(--wd-title); color: var(--ink); }
body.tk-lot-accueil .ca-noresult [hidden] { display: none; }
body.tk-lot-accueil .ca-wrap > .ca-legal { display: grid; gap: var(--sp-2); margin: var(--sp-10) 0 0; padding: 16px 16px 16px 22px; border-radius: var(--r-md); background: var(--warn-bg); color: var(--ink); font-size: var(--fs-sm); line-height: 1.55; }
body.tk-lot-accueil .ca-wrap > .ca-legal p { margin: 0; }
body.tk-lot-accueil .ca-toast { position: fixed; left: 50%; bottom: 26px; z-index: 99999; transform: translate(-50%, 14px); padding: 13px 22px; border-radius: var(--r-md); background: var(--surface-inverse, var(--ink)); color: var(--ink-inverse, var(--bg)); font-weight: 700; box-shadow: var(--shadow-3); opacity: 0; pointer-events: none; transition: opacity var(--dur-2), transform var(--dur-2); }
body.tk-lot-accueil .ca-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
body.tk-has-navmob.tk-lot-accueil .ca-toast { bottom: calc(78px + env(safe-area-inset-bottom)); }

/* ---------- 3. Grille et ticket ---------- */
/* Sur téléphone, 12 px entre les tickets : un de plus à l'écran (4 à 390 × 844) */
body.tk-lot-accueil .ca-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { body.tk-lot-accueil .ca-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); } }
/* 3 colonnes à partir de 1180 px (et non 1100 comme la grille du design system) : les vrais noms
   « Code parrainage Marque » demandent au moins 140 px à côté du logo (LOOKFANTASTIC). */
@media (min-width: 1180px) { body.tk-lot-accueil .ca-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Ticket compact (retours de Kevinoo du 19/10 sur l'étape 3) : format de l'étape 1, et 6 à 9 tickets d'un coup
   sur un écran d'ordinateur, 3 à 4 sur téléphone (contrôle de densité dans captures-etape3.mjs).
   Corps : logo, « Code parrainage » + marque, secteur ; FILLEUL (gros montant) et une seule info courte
   (bloc .tk-gain de inc/tickets.php) ; « En savoir + → » (fiche) et « Profitez de l'offre » aux couleurs du thème.
   Talon (couleur de la marque) : CODE, le code, « Copier le code », code-barres, tampon « ✓ Vérifié JJ.MM ».

     ┌ logo │ CODE PARRAINAGE                  ┬   CODE    ┐
     │      │ Kraken                           │ crp5898w  │
     │      │ CEX                              │           │
     │ FILLEUL 30 € en bitcoin offerts         │ [Copier]  │
     │ PARRAIN 30 € en bitcoin                 │ ||||||||| │
     └ En savoir + →   [Profitez de l'offre →] ┴ ✓ VÉRIFIÉ ┘
   Grille du ticket : 4 colonnes (logo | corps | bouton d'offre | talon), 4 rangées (nom | secteur | montants |
   pied) ; .ca-card-top et .ca-actions en display:contents, les éléments de 006 se placent sans être déplacés. */
body.tk-lot-accueil .ca-card {
  --tk-stub-w: 124px;
  --tk-cta-w: 104px;  /* « Profitez de l'offre » sur deux lignes à côté de « En savoir + » quand la place manque */
  --tk-amt: clamp(1.5rem, 1.3rem + .6vw, 1.75rem); /* gros montant */
  --cut: calc(100% - var(--tk-stub-w));
  /* Talon : couleur de la marque si connue (inc/marques.php), sinon talon du thème */
  --stub-bg: var(--tk-marque, var(--tk-stub-bg));
  --stub-ink: var(--tk-marque-encre, var(--tk-stub-ink));
  --stub-muted: var(--tk-marque-encre, var(--tk-stub-muted));
  --stub-perf: var(--tk-perf);
  /* Copier sur un talon de marque : couleurs du talon inversées (même contraste, au moins 4,58:1) */
  --stub-copy-bg: var(--tk-marque-encre, var(--tk-copy-bg));
  /* Texte de « Copier » : le contraire de l'encre (blanc sur bouton noir, noir sur bouton blanc), jamais la couleur de la
     marque (« zéro bleu », Kevinoo, 20/10/2026) ; talon par défaut : le bouton du thème (--tk-copy-ink). */
  --stub-copy-ink: var(--tk-marque-contre, var(--tk-copy-ink));
  position: relative; isolation: isolate; z-index: 0; min-width: 0; container-type: inline-size;
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto var(--tk-stub-w); grid-template-rows: auto auto 1fr auto;
  column-gap: 10px; row-gap: 4px; padding: 9px 0 9px 14px; margin: 0;
  background: none; border: 0; border-radius: var(--tk-radius); box-shadow: none; color: var(--tk-ink);
  filter: var(--tk-shadow-sm); transition: filter var(--dur-2), transform var(--dur-2) var(--ease-out);
  text-align: left;
}
@supports (color: color-mix(in srgb, red 50%, blue)) {
  body.tk-lot-accueil .ca-card { --stub-perf: color-mix(in srgb, var(--stub-ink) 55%, transparent); }
}
@media (max-width: 389px) {
  body.tk-lot-accueil .ca-card { --tk-stub-w: 112px; grid-template-columns: 36px minmax(0, 1fr) auto var(--tk-stub-w); column-gap: 8px; padding-left: 12px; }
}
@media (max-width: 359px) { body.tk-lot-accueil .ca-card { --tk-stub-w: 108px; grid-template-columns: 32px minmax(0, 1fr) auto var(--tk-stub-w); column-gap: 6px; } }
/* Fond du ticket (corps + talon) découpé par les encoches : le fond de page apparaît au travers. */
body.tk-lot-accueil .ca-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(270deg, var(--stub-bg) 0 var(--tk-stub-w), var(--tk-bg) var(--tk-stub-w));
  -webkit-mask:
    radial-gradient(circle at var(--cut) 0, #0000 var(--tk-notch), #000 calc(var(--tk-notch) + .5px)) top / 100% 51% no-repeat,
    radial-gradient(circle at var(--cut) 100%, #0000 var(--tk-notch), #000 calc(var(--tk-notch) + .5px)) bottom / 100% 51% no-repeat;
          mask:
    radial-gradient(circle at var(--cut) 0, #0000 var(--tk-notch), #000 calc(var(--tk-notch) + .5px)) top / 100% 51% no-repeat,
    radial-gradient(circle at var(--cut) 100%, #0000 var(--tk-notch), #000 calc(var(--tk-notch) + .5px)) bottom / 100% 51% no-repeat;
}
/* Pointillé de détachement */
body.tk-lot-accueil .ca-card::after {
  content: ""; position: absolute; z-index: 0; left: calc(var(--cut) - 1px); top: calc(var(--tk-notch) + 4px); bottom: calc(var(--tk-notch) + 4px); width: 2px;
  background: repeating-linear-gradient(180deg, var(--stub-perf) 0 5px, transparent 5px 10px); pointer-events: none;
}
@media (min-width: 1024px) { body.tk-lot-accueil .ca-card { filter: var(--tk-shadow); } }
@media (hover: hover) and (pointer: fine) { body.tk-lot-accueil .ca-card:hover { filter: var(--tk-shadow-hover); transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { body.tk-lot-accueil .ca-card, body.tk-lot-accueil .ca-card:hover { transition: none; transform: none; } }

body.tk-lot-accueil .ca-card :is(.ca-card-top, .ca-actions) { display: contents; }
body.tk-lot-accueil .ca-card > *, body.tk-lot-accueil .ca-card :is(.ca-card-top, .ca-actions) > * { min-width: 0; margin: 0; }
/* Détails de l'offre : sur la fiche (« En savoir + »), plus sur le ticket. Ils restent dans la page ; la recherche
   de la grille lit data-search. Sans bloc de montants (fiche inconnue), l'avantage reste affiché en secours. */
body.tk-lot-accueil .ca-card :is(.ca-desc, .ca-bonus, .ca-official) { display: none; }
body.tk-lot-accueil .ca-card:not(:has(.tk-gain)) .ca-bonus {
  grid-column: 1 / 4; grid-row: 3; align-self: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  padding: 0; background: none; border: 0; font-size: var(--fs-sm); font-weight: 700; line-height: 1.35; color: var(--tk-ink);
}
body.tk-lot-accueil .ca-card .ca-gift { display: none; }

/* En-tête du ticket : logo, nom (lien vers la fiche, étiré sur tout le corps), secteur */
body.tk-lot-accueil .ca-card .ca-logo {
  grid-column: 1; grid-row: 1 / span 2; align-self: center; position: relative; display: grid; place-items: center;
  width: 40px; height: 40px; margin: 0; overflow: hidden; border-radius: 9px; background: var(--tk-logo-bg); box-shadow: inset 0 0 0 1px var(--tk-line);
}
body.tk-lot-accueil .ca-card .ca-logo img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
body.tk-lot-accueil .ca-card .ca-logo-ini { display: none; font-size: 17px; font-weight: var(--fw-title); font-stretch: var(--wd-title); color: var(--tk-ink); line-height: 1; }
body.tk-lot-accueil .ca-card :is(.ca-logo--fallback, .ca-logo:not(:has(img))) .ca-logo-ini { display: block; }
@media (max-width: 389px) { body.tk-lot-accueil .ca-card .ca-logo { width: 36px; height: 36px; border-radius: 8px; } }
@media (max-width: 359px) { body.tk-lot-accueil .ca-card .ca-logo { width: 32px; height: 32px; border-radius: 7px; } }
body.tk-lot-accueil .ca-card .ca-brand {
  grid-column: 2 / 4; grid-row: 1; align-self: end; display: block; font-size: var(--fs-base); font-weight: var(--fw-strong); font-stretch: var(--wd-ui); line-height: 1.15;
  letter-spacing: 0; color: var(--tk-ink); overflow-wrap: break-word; text-wrap: balance; /* un nom long passe sur deux lignes, jamais coupé */
}
/* « Code parrainage » en petit au-dessus du nom de marque (même texte, même H3, inc/tickets.php) */
body.tk-lot-accueil .ca-card.tk-nom-long .ca-brand { font-size: var(--fs-sm); }
body.tk-lot-accueil .ca-card .tk-pre {
  display: block; margin: 0; font-family: var(--font-mono); font-size: 10px; font-weight: 600; line-height: 1.2;
 letter-spacing: 0; color: var(--tk-muted);
}
body.tk-lot-accueil .ca-card .ca-brand-link { display: inline; color: inherit; text-decoration: none; border-radius: 4px; }
body.tk-lot-accueil .ca-card .ca-brand-link::after { content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; left: 0; right: var(--tk-stub-w); border-radius: var(--tk-radius) 0 0 var(--tk-radius); }
/* Survol : pas de soulignement ni de surlignement du nom de marque ni de la catégorie (demande de Kevinoo, 20/10/2026) ;
   le ticket se soulève seulement. */
body.tk-lot-accueil .ca-card :is(.ca-brand-link, .ca-brand-link:hover, .ca-brand-link:focus) { text-decoration: none; background: none; }
body.tk-lot-accueil .ca-card .ca-cat, body.tk-lot-accueil .ca-card:hover .ca-cat { background: none; box-shadow: none; }
body.tk-lot-accueil .ca-card .ca-brand-link:focus-visible { outline: none; box-shadow: none; }
body.tk-lot-accueil .ca-card .ca-brand-link:focus-visible::after { outline: 3px solid var(--tk-ink); outline-offset: -5px; box-shadow: inset 0 0 0 8px var(--tk-focus-halo); }
body.tk-lot-accueil .ca-card .ca-cat {
  grid-column: 2 / 4; grid-row: 2; align-self: start; font-family: var(--font-mono); font-size: 10px; font-weight: 600; 
  letter-spacing: 0; line-height: 1.2; color: var(--tk-muted); background: none; padding: 0; border: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Montants : FILLEUL (gros montant) et une seule info courte (« PARRAIN 30 € en bitcoin ») */
body.tk-lot-accueil .ca-card .tk-gain { grid-column: 1 / 4; grid-row: 3; align-self: center; display: grid; gap: 1px; min-width: 0; margin: 2px 0 0; }
body.tk-lot-accueil .ca-card .tk-gain > div { display: flex; align-items: baseline; gap: 7px; min-width: 0; }
body.tk-lot-accueil .ca-card .tk-gain dt {
  flex: none; margin: 0; font-family: var(--font-mono); font-size: 10px; font-weight: 700; line-height: 1;
 letter-spacing: 0; color: var(--tk-muted);
}
body.tk-lot-accueil .ca-card .tk-gain dd { min-width: 0; margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
/* Le montant et son unité ne sont jamais coupés : seul le complément (« en bitcoin offerts ») prend « … » */
body.tk-lot-accueil .ca-card .tk-gain-f dd:has(> .tk-gain-amt) { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 5px; row-gap: 12px; max-height: calc(1.1 * var(--tk-amt) + 1px); text-overflow: clip; }
body.tk-lot-accueil .ca-card :is(.tk-gain-pre, .tk-gain-amt) { flex: none; white-space: nowrap; }
/* Complément (« en bitcoin offerts ») : sur la ligne du montant s'il y reste au moins quatre lettres, avec « … »
   au besoin ; sinon il passe à la ligne, masquée : jamais une lettre coupée en deux. */
body.tk-lot-accueil .ca-card .tk-gain-rest { flex: 1 1 4em; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
body.tk-lot-accueil .ca-card .tk-gain-amt { font-size: var(--tk-amt); font-weight: var(--fw-prime); font-stretch: var(--wd-display); letter-spacing: var(--tr-display); line-height: 1.1; color: var(--tk-ink); }
body.tk-lot-accueil .ca-card .tk-gain-pre { font-size: var(--fs-xs); font-weight: 700; text-transform: lowercase; color: var(--tk-ink); }
body.tk-lot-accueil .ca-card .tk-gain-rest { font-size: var(--fs-xs); font-weight: 600; color: var(--tk-muted); }
body.tk-lot-accueil .ca-card .tk-gain-amt--plage { font-size: calc(var(--tk-amt) * .62); }
body.tk-lot-accueil .ca-card .tk-gain-unit { font-size: .52em; font-weight: var(--fw-strong); font-stretch: var(--wd-ui); letter-spacing: 0; }
/* Avantage sans montant (« 1er transfert sans frais ») : deux lignes au plus, jamais un gros titre coupé */
body.tk-lot-accueil .ca-card .tk-gain-f dd:has(> .tk-gain-txt) { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: normal; font-size: var(--fs-sm); line-height: 1.25; }
body.tk-lot-accueil .ca-card .tk-gain-txt { font-size: var(--fs-sm); font-weight: var(--fw-strong); font-stretch: var(--wd-ui); line-height: 1.25; color: var(--tk-ink); }
body.tk-lot-accueil .ca-card .tk-gain-s dd { font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--tk-ink); }

/* Pied du corps : « En savoir + → » (fiche de la marque), puis « Profitez de l'offre » à côté du talon */
body.tk-lot-accueil .ca-card .ca-more {
  position: relative; z-index: 2; grid-column: 1 / 3; grid-row: 4; justify-self: start; align-self: center; display: inline-flex; align-items: center; gap: 4px;
  min-height: var(--tap); padding: 0 4px 0 0; font-size: 13px; font-weight: var(--fw-strong); font-stretch: var(--wd-ui); color: var(--tk-ink); text-decoration: none; white-space: nowrap;
}
body.tk-lot-accueil .ca-card .tk-fleche { font-size: 1.15em; line-height: 1; transition: transform var(--dur-1) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  body.tk-lot-accueil .ca-card .ca-more:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25em; }
  body.tk-lot-accueil .ca-card .ca-more:hover .tk-fleche { transform: translateX(3px); }
}
body.tk-lot-accueil .ca-card .ca-more:focus-visible { outline: 3px solid var(--tk-focus, var(--focus)); outline-offset: 0; border-radius: 6px; }

/* « Profitez de l'offre » : bouton de l'accent du thème (dégradé Soleil, vert Matrix), bordé de l'encre du ticket
   comme un tampon. Juste après une copie (« is-next » de 006), un anneau l'indique : c'est l'étape suivante. */
body.tk-lot-accueil .ca-card .ca-cta-primary {
  position: relative; z-index: 2; grid-column: 3; grid-row: 4; justify-self: end; align-self: center;
  display: inline-flex; align-items: center; justify-content: center; gap: 4px; max-width: var(--tk-cta-w);
  min-height: var(--tap); margin: 0; padding: 4px 8px; border-radius: 10px;
  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: 12.5px; font-weight: var(--fw-strong); font-stretch: var(--wd-ui); line-height: 1.1;
  text-transform: none; letter-spacing: 0; white-space: normal; text-wrap: balance; text-align: left; text-decoration: none; box-shadow: none; cursor: pointer;
  transition: transform var(--dur-1) var(--ease-out), box-shadow var(--dur-1), background var(--dur-1);
}
body.tk-lot-accueil .ca-card .ca-cta-ico { display: inline-flex; flex: none; }
body.tk-lot-accueil .ca-card .ca-cta-ico svg { width: 14px; height: 14px; }
/* « Publier le premier code » (aucun code officiel) : même place, en contour, pour ne pas imiter une offre */
body.tk-lot-accueil .ca-card .ca-cta-primary:not(.ca-cta-offer) { max-width: calc(var(--tk-cta-w) + 8px); padding-inline: 6px; background: transparent; color: var(--tk-ink); font-size: var(--fs-xs); }
@media (hover: hover) and (pointer: fine) { body.tk-lot-accueil .ca-card .ca-cta-primary:not(.ca-cta-offer):hover { background: var(--tk-line); } }
/* Largeur du bouton selon la largeur du ticket (et non de l'écran) : sur une ligne dès que la place le permet ;
   plus étroit sous 360 px ; sous 300 px (téléphones de 320 px), sous « En savoir + », sur toute la largeur.
   Chaque règle vise aussi « Publier le premier code » (sélecteur plus fort ci-dessus). */
@container (min-width: 420px) { body.tk-lot-accueil .ca-card :is(.ca-cta-primary, .ca-cta-primary:not(.ca-cta-offer)) { max-width: none; white-space: nowrap; } }
@container (max-width: 359px) {
  body.tk-lot-accueil .ca-card :is(.ca-cta-primary, .ca-cta-primary:not(.ca-cta-offer)) { max-width: 94px; }
  body.tk-lot-accueil .ca-card .ca-cta-primary:not(.ca-cta-offer) { padding-inline: 4px; } /* « Publier le / premier code » sur deux lignes */
  /* Noms d'un seul long mot (LOOKFANTASTIC, HomeExchange) : un cran plus petits, jamais coupés au milieu */
  body.tk-lot-accueil .ca-card:not(.tk-nom-long) .ca-brand { font-size: 14.5px; }
}
@container (max-width: 300px) {
  body.tk-lot-accueil .ca-card :is(.ca-cta-primary, .ca-cta-primary:not(.ca-cta-offer)) { grid-column: 1 / 4; grid-row: 5; justify-self: stretch; max-width: none; justify-content: center; text-align: center; }
  body.tk-lot-accueil .ca-card .ca-badges { grid-row: 4 / 6; }
  body.tk-lot-accueil .ca-card .ca-brand, body.tk-lot-accueil .ca-card:not(.tk-nom-long) .ca-brand { font-size: 13px; }
  /* « FILLEUL » au-dessus du montant : toute la largeur pour « jusqu'à 180 € » */
  body.tk-lot-accueil .ca-card .tk-gain-f { flex-direction: column; align-items: flex-start; gap: 0; }
  body.tk-lot-accueil .ca-card .tk-gain-f dd { align-self: stretch; }
}
@media (hover: hover) and (pointer: fine) {
  body.tk-lot-accueil .ca-card .ca-cta-primary: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-accueil .ca-card .ca-cta-primary:active { transform: translateY(1px); box-shadow: none; }
body.tk-lot-accueil .ca-card .ca-cta-primary:focus-visible { outline: 3px solid var(--tk-focus, var(--focus)); outline-offset: 2px; }
body.tk-lot-accueil .ca-card .ca-cta-offer.is-next { box-shadow: 0 0 0 2px var(--tk-bg), 0 0 0 4px var(--tk-ink); }

/* Talon : CODE et le code, « Copier le code », code-barres décoratif, tampon « ✓ Vérifié JJ.MM » (et « Code membre ») */
body.tk-lot-accueil .ca-card .ca-codebox {
  position: relative; z-index: 1; grid-column: 4; grid-row: 1 / 3; align-self: center; display: grid; justify-items: center; gap: 2px;
  margin: 0; padding: 0 8px; background: none; border: 0; text-align: center; color: var(--stub-ink);
}
body.tk-lot-accueil .ca-card:not(:has(.ca-copy-btn)) .ca-codebox { grid-row: 1 / 4; }
body.tk-lot-accueil .ca-card .ca-code-label { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0; line-height: 1.2; color: var(--stub-muted); }
body.tk-lot-accueil .ca-card code.ca-code {
  display: block; max-width: 100%; padding: 0; background: none; border: 0; color: var(--stub-ink);
  font-family: var(--font-mono); font-size: 14px; font-weight: 700; line-height: 1.2; letter-spacing: .01em; font-feature-settings: "zero" 1;
  /* Un code n'est jamais coupé au hasard : une ligne, ou deux moitiés équilibrées */
  word-break: break-all; text-wrap: balance; user-select: all; -webkit-user-select: all;
}
/* Codes longs (inc/tickets.php, tk_ticket_code_html) : toujours dans le talon, quelle que soit sa largeur (124, 112 ou
   108 px). --tk-n = caractères de la ligne la plus longue ; place utile = talon - 16 px ; chasse de JetBrains Mono 0,6 em
   (0,62 avec la marge). 10 à 14 caractères : une ligne ajustée ; 15 et plus : deux lignes coupées au <wbr>. */
body.tk-lot-accueil .ca-card code.ca-code:is(.tk-code-long, .tk-code-2l) {
  font-size: min(14px, calc((var(--tk-stub-w, 124px) - 16px) / (var(--tk-n, 14) * .62)));
  letter-spacing: 0; word-break: normal; overflow-wrap: anywhere;
}
body.tk-lot-accueil .ca-card code.ca-code.tk-code-long { white-space: nowrap; }
body.tk-lot-accueil .ca-card .ca-code-none { font-size: var(--fs-xs); font-weight: 700; font-stretch: var(--wd-ui); line-height: 1.25; color: var(--stub-ink); text-wrap: balance; }
body.tk-lot-accueil .ca-card .ca-copy-btn {
  position: relative; z-index: 2; grid-column: 4; grid-row: 3; justify-self: stretch; align-self: center;
  display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: var(--tap); margin: 0 8px; padding: 2px 6px;
  border: 0; border-radius: 10px; background: var(--stub-copy-bg, var(--tk-copy-bg)); color: var(--stub-copy-ink, var(--tk-copy-ink)); box-shadow: none;
  font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: var(--fw-strong); font-stretch: var(--wd-ui); line-height: 1.1;
  text-transform: none; letter-spacing: 0; white-space: normal; text-wrap: balance; text-align: center; cursor: pointer;
}
@media (hover: hover) and (pointer: fine) { body.tk-lot-accueil .ca-card .ca-copy-btn:hover { filter: brightness(1.08); } }
body.tk-lot-accueil .ca-card .ca-copy-btn:focus-visible { outline: 3px solid var(--stub-ink); outline-offset: 2px; box-shadow: none; }
/* Copié (006 : « Code copié ✓ » pendant 2,6 s) : bouton évidé */
body.tk-lot-accueil .ca-card .ca-copy-btn:is(.is-copied, .is-done, .is-ok) { background: transparent; color: var(--stub-ink); box-shadow: inset 0 0 0 2px var(--stub-ink); }
body.tk-lot-accueil .ca-card .ca-badges {
  position: relative; z-index: 1; grid-column: 4; grid-row: 4; align-self: center; display: flex; flex-direction: column; align-items: center; gap: 5px;
  min-width: 0; margin: 0; padding: 0 8px; color: var(--stub-ink);
}
body.tk-lot-accueil .ca-card .ca-badges::before {
  content: ""; display: block; align-self: stretch; height: 14px; opacity: var(--tk-bars-o, .7);
  background:
    repeating-linear-gradient(90deg, var(--stub-ink) 0 2px, transparent 2px 4px, var(--stub-ink) 4px 5px, transparent 5px 8px, var(--stub-ink) 8px 11px, transparent 11px 12px, var(--stub-ink) 12px 13px, transparent 13px 17px);
}
body.tk-lot-accueil .ca-card .tk-verif {
  display: inline-flex; align-items: center; gap: 4px; max-width: 100%; padding: 3px 5px; border: 1.5px dashed currentColor; border-radius: 6px; background: none; white-space: nowrap;
  font-family: var(--font-mono); font-size: 9.5px; font-weight: 700; letter-spacing: 0; line-height: 1; color: var(--stub-ink);
}
body.tk-lot-accueil .ca-card .tk-verif-ic { font-weight: var(--fw-title); }
body.tk-lot-accueil .ca-card .ca-tag-comm {
  display: block; max-width: 100%; padding: 0; border: 0; border-radius: 0; background: none; color: var(--stub-ink); text-align: center; text-wrap: balance; overflow-wrap: anywhere;
  font-family: var(--font-mono); font-size: 9.5px; font-weight: 700; letter-spacing: 0; line-height: 1.25;
}

/* Talon étroit des très petits téléphones : tampon resserré (placé après les règles de base qu'il ajuste) */
@media (max-width: 359px) {
  body.tk-lot-accueil .ca-card .ca-badges { padding-inline: 5px; }
  body.tk-lot-accueil .ca-card .tk-verif { padding-inline: 4px; font-size: 9px; letter-spacing: 0; }
}

/* Fiche épuisée (165) ou suspendue : talon hachuré, jamais présentée comme valable */
body.tk-lot-accueil .ca-card:is(.is-epuise, .ca-card--off) { --stub-bg: var(--off-bg-2); --stub-ink: var(--off-ink); --stub-muted: var(--off-ink); filter: none; }
body.tk-lot-accueil .ca-card:is(.is-epuise, .ca-card--off) .ca-cta-primary { background: repeating-linear-gradient(135deg, var(--off-bg) 0 6px, var(--off-bg-2) 6px 12px); color: var(--off-ink); border-color: var(--off-ink); }

/* ---------- 4. Liens de catégories (013) et haut de catégorie (010) ---------- */
body.tk-site .ca-cat-links { width: 100%; max-width: var(--container); margin: var(--sp-16) auto 0; padding-inline: var(--gutter); }
body.tk-site .ca-cat-links-title { margin: 0 0 var(--sp-4); font-size: var(--fs-lg); font-weight: var(--fw-title); font-stretch: var(--wd-title); color: var(--ink); }
body.tk-site .ca-cat-links-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
body.tk-site a.ca-cat-link { --cc: var(--ink); }
body.tk-site a.ca-cat-link--sub { border-style: dashed; }
body.tk-site .ca-cat-link-n { font-family: var(--font-mono); font-size: var(--fs-2xs); color: var(--muted); }

body.tk-lot-editorial .ca-cat-head { padding: var(--sp-10) 0 var(--sp-6); }
body.tk-lot-editorial .ca-cat-h1 { max-width: 22ch; margin: 0 0 var(--sp-4); font-size: var(--fs-2xl); font-weight: var(--fw-title); font-stretch: var(--wd-display); letter-spacing: var(--tr-display); line-height: 1.02; color: var(--ink); }
body.tk-lot-editorial .ca-cat-desc { max-width: 62ch; margin: 0 0 var(--sp-4); font-size: var(--fs-md); line-height: 1.5; color: var(--ink-2); }
body.tk-lot-editorial .ca-cat-desc time { font-family: var(--font-mono); font-size: .85em; color: var(--ink); }
body.tk-lot-editorial .ca-cat-intro-text { max-width: 70ch; color: var(--ink-2); line-height: 1.65; }
body.tk-lot-editorial .ca-cat-intro-text p { margin: 0 0 var(--sp-3); }
body.tk-lot-editorial .ca-cat-intro-text a { color: var(--ink); font-weight: 600; }

/* Bas de la page catégorie (lot « editorial ») : conseils (010), autres catégories (213), guides liés (214),
   comparatif (054, tableau qui défile dans son cadre sur téléphone) et FAQ (025). */
body.tk-lot-editorial :is(.ca-cat-more, .ca-maillage, .ca-guides, .cac-wrap) { width: 100%; max-width: var(--container); margin: var(--sp-12) auto 0; padding-inline: var(--gutter); color: var(--ink); background: none; border: 0; }
body.tk-lot-editorial :is(.ca-cat-more, .ca-maillage, .ca-guides) > .ca-wrap { padding-inline: 0; }
body.tk-lot-editorial :is(.ca-cat-h2, .ca-maillage-t, .ca-guides-t, .cac-wrap h2, .ca-faq-cat .ca-faq-title) {
  margin: 0 0 var(--sp-3); font-size: var(--fs-lg); font-weight: var(--fw-title); font-stretch: var(--wd-title); letter-spacing: var(--tr-title); line-height: 1.15; color: var(--ink);
}
body.tk-lot-editorial .ca-cat-more .ca-cat-h2 + p { margin-bottom: var(--sp-8); }
body.tk-lot-editorial .ca-cat-more p, body.tk-lot-editorial :is(.ca-maillage-p, .ca-guides-p, .cac-sub, .cac-contrib) { max-width: 70ch; margin: 0 0 var(--sp-4); line-height: 1.65; color: var(--ink-2); }
body.tk-lot-editorial :is(.ca-maillage-p, .ca-guides-p, .cac-contrib) a { color: var(--ink); font-weight: 700; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
body.tk-lot-editorial ul.ca-maillage-l { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: 0 0 var(--sp-4); padding: 0; list-style: none; }
body.tk-lot-editorial ul.ca-maillage-l li { margin: 0; }
body.tk-lot-editorial ul.ca-maillage-l a { display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-input); background: var(--surface); color: var(--ink); text-decoration: none; font-size: var(--fs-sm); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { body.tk-lot-editorial ul.ca-maillage-l a:hover { border-color: var(--line-strong); } }
body.tk-lot-editorial .ca-maillage-c { font-family: var(--font-mono); font-size: var(--fs-2xs); color: var(--muted); }
body.tk-lot-editorial ul.ca-guides-l { display: grid; gap: var(--sp-3); margin: 0 0 var(--sp-4); padding: 0; list-style: none; }
@media (min-width: 768px) { body.tk-lot-editorial ul.ca-guides-l { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body.tk-lot-editorial ul.ca-guides-l li { margin: 0; }
body.tk-lot-editorial ul.ca-guides-l a { display: grid; gap: 6px; height: 100%; padding: 16px 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-1); }
@media (hover: hover) and (pointer: fine) { body.tk-lot-editorial ul.ca-guides-l a:hover .ca-guides-h { text-decoration: underline; } }
body.tk-lot-editorial .ca-guides-h { font-size: var(--fs-base); font-weight: var(--fw-strong); line-height: 1.3; }
body.tk-lot-editorial .ca-guides-x { font-size: var(--fs-sm); line-height: 1.5; color: var(--ink-2); }
body.tk-lot-editorial .ca-guides-d { font-family: var(--font-mono); font-size: var(--fs-2xs); letter-spacing: 0; color: var(--muted); }
body.tk-lot-editorial .cac-inner { max-width: none; margin: 0; padding: 0; background: none; border: 0; }
body.tk-lot-editorial .cac-eyebrow { margin: 0 0 var(--sp-2); font-family: var(--font-mono); font-size: var(--fs-2xs); font-weight: 600; letter-spacing: var(--tr-label); color: var(--muted); }
body.tk-lot-editorial .cac-tablewrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 var(--sp-4); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-1); }
body.tk-lot-editorial .cac-tablewrap:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
body.tk-lot-editorial table.cac-table { width: 100%; min-width: 760px; margin: 0; border-collapse: collapse; border: 0; font-size: var(--fs-sm); color: var(--ink); background: none; }
body.tk-lot-editorial .cac-caption { padding: 12px 16px; text-align: left; font-size: var(--fs-xs); color: var(--muted); caption-side: top; }
body.tk-lot-editorial .cac-table thead th { padding: 10px 16px; background: var(--surface-2); border: 0; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; font-family: var(--font-mono); font-size: var(--fs-2xs); font-weight: 600; letter-spacing: var(--tr-label); color: var(--muted); }
body.tk-lot-editorial .cac-table tbody :is(th, td) { padding: 12px 16px; border: 0; border-bottom: 1px dashed var(--line); text-align: left; vertical-align: top; line-height: 1.5; background: none; }
body.tk-lot-editorial .cac-table tbody tr:last-child :is(th, td) { border-bottom: 0; }
body.tk-lot-editorial .cac-table tbody th { font-weight: var(--fw-strong); white-space: nowrap; }
body.tk-lot-editorial .cac-table tbody th a { color: var(--ink); text-decoration-color: var(--accent); }
body.tk-lot-editorial .cac-table td { color: var(--ink-2); min-width: 160px; }
body.tk-lot-editorial code.cac-code { display: inline-block; padding: 2px 8px; border-radius: 6px; border: 1.5px dashed var(--line-strong); background: var(--surface-2); color: var(--ink); font-family: var(--font-mono); font-weight: 700; text-transform: none; white-space: nowrap; }
body.tk-lot-editorial .cac-na { font-size: var(--fs-xs); color: var(--muted); font-style: italic; }
body.tk-lot-editorial .ca-faq-cat { max-width: 820px; margin: var(--sp-12) 0 0; }
body.tk-lot-editorial .ca-faq-cat details.ca-faq-item { margin: 0; padding: 0; border: 0; border-bottom: 1px dashed var(--line-2); background: none; }
body.tk-lot-editorial .ca-faq-cat details.ca-faq-item:first-of-type { border-top: 1.5px solid var(--line-strong); }
body.tk-lot-editorial .ca-faq-cat summary.ca-faq-q { justify-content: space-between; gap: var(--sp-4); min-height: 56px; padding: 14px 0; color: var(--ink); }
body.tk-lot-editorial .ca-faq-cat 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-editorial .ca-faq-cat 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-editorial .ca-faq-cat 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-editorial .ca-faq-cat summary.ca-faq-q:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
body.tk-lot-editorial .ca-faq-cat .ca-faq-a { padding: 0 0 var(--sp-4); line-height: 1.65; color: var(--ink-2); }
body.tk-lot-editorial .ca-faq-cat .ca-faq-a p { margin: 0 0 var(--sp-3); }
