/* =====================================================================
   Thèmes personnalisés des Secrètes (au lieu du même or sur fond noir pour toutes).
   Ciblage par identifiant de carte (data-id posé par carteEl).
   v3 (2026-12-01) : Petit Louis / Sauce Blanche / Corne en couleurs profondes (émeraude, braise, nébuleuse)
   avec une couche animée (rayons, braises, aurore) ; v2 : fonds en dégradés teintés (plus de fond blanc uni)
   et une version Dorée unique par Secrète (or + émeraude, smoking noir, or blanc nacré,
   velours royal, or rose irisé) au lieu du même or pour toutes.
   ===================================================================== */

/* =========================== VERSIONS NORMALES / BRILLANTES =========================== */


/* ---------- Couche animée commune (Petit Louis, Sauce Blanche, Corne) : .tc-face::before derrière le texte ---------- */
.tc-carte.r-secrete:is([data-id="s2-S1"], [data-id="s2-S3"], [data-id="s2-S5"]) .tc-face { isolation: isolate; }
.tc-carte.r-secrete:is([data-id="s2-S1"], [data-id="s2-S3"], [data-id="s2-S5"]) .tc-face::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
}
.tc-carte.calme:not(.survol).r-secrete .tc-face::before, .tc-carte.calme:not(.survol).r-secrete .tc-recto { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .tc-carte.r-secrete .tc-face::before, .tc-carte.r-secrete .tc-recto { animation: none !important; } }
@keyframes sec-rayons { from { background-position: 0 0; } to { background-position: 6em 3em; } }
@keyframes sec-braises { from { background-position: 0 0, 0 0, 0 0; } to { background-position: .6em -9em, -.8em -6em, 0 0; } }
@keyframes sec-aurore { 0% { background-position: 0% 50%, 0 0, 0 0; } 100% { background-position: 100% 50%, 0 0, 0 0; } }
@keyframes sec-cadre-defile { from { background-position: 0% 50%; } to { background-position: 300% 50%; } }
@keyframes sec-nacre { 0% { background-position: 120% 0; } 100% { background-position: -20% 0; } }

/* ---------- Petit Louis (s2-S1) : forêt d'émeraude au soleil couchant, rayons dorés qui balaient ---------- */
.tc-carte.r-secrete:not(.dore)[data-id="s2-S1"] .tc-recto {
  background: repeating-linear-gradient(45deg, rgba(255, 236, 160, .22) 0 .18em, transparent .18em .7em),
    linear-gradient(150deg, #fff1a8 0%, #e8b93a 22%, #2f8f45 48%, #145a2a 72%, #d9a032 100%);
  box-shadow: 0 .6em 1.4em rgba(0, 0, 0, .6), inset 0 0 0 .16em #fff1a8, inset 0 0 0 .32em #0e3d1c, inset 0 0 0 .4em #e8b93a, 0 0 1.3em rgba(120, 220, 90, .75), 0 0 2.4em rgba(255, 200, 80, .35);
}
.tc-carte.r-secrete:not(.dore)[data-id="s2-S1"] .tc-face {
  background: radial-gradient(ellipse 60% 40% at 0% 0%, rgba(255, 214, 110, .55), transparent 70%),
    radial-gradient(circle at 78% 30%, rgba(255, 240, 170, .18) 0 .5em, transparent .6em),
    radial-gradient(circle at 20% 70%, rgba(255, 240, 170, .14) 0 .4em, transparent .5em),
    radial-gradient(circle at 60% 88%, rgba(255, 240, 170, .12) 0 .6em, transparent .7em),
    linear-gradient(168deg, #3f9c4a 0%, #237a3a 38%, #135329 72%, #0b3a1c 100%);
  color: #f6f1d0; box-shadow: inset 0 0 0 .1em #e8b93a, inset 0 0 1.2em rgba(0, 30, 10, .45);
}
.tc-carte.r-secrete:not(.dore)[data-id="s2-S1"] .tc-face::before {
  background: repeating-linear-gradient(118deg, transparent 0 2.4em, rgba(255, 224, 130, .13) 2.4em 3.3em, transparent 3.3em 4.6em);
  animation: sec-rayons 7s linear infinite; mix-blend-mode: screen;
}
.tc-carte.r-secrete:not(.dore)[data-id="s2-S1"] .tc-entete { background: linear-gradient(90deg, rgba(255, 211, 107, .55), rgba(255, 211, 107, .12) 70%, transparent); }
.tc-carte.r-secrete:not(.dore)[data-id="s2-S1"] .tc-nom { color: #fff6cf; text-shadow: 0 .06em 0 #0b3a1c, 0 0 .45em rgba(255, 210, 100, .65); }
.tc-carte.r-secrete:not(.dore)[data-id="s2-S1"] .tc-bande,
.tc-carte.r-secrete:not(.dore)[data-id="s2-S1"] .tc-atk .txt,
.tc-carte.r-secrete:not(.dore)[data-id="s2-S1"] .tc-flavor,
.tc-carte.r-secrete:not(.dore)[data-id="s2-S1"] .tc-pied { color: #d9e8b8; }
.tc-carte.r-secrete:not(.dore)[data-id="s2-S1"] .tc-pv { color: #ffb08a; }
.tc-carte.r-secrete:not(.dore)[data-id="s2-S1"] .tc-talent { background: rgba(255, 211, 107, .14); }
.tc-carte.r-secrete:not(.dore)[data-id="s2-S1"] .tc-talent b,
.tc-carte.r-secrete:not(.dore)[data-id="s2-S1"] .tc-pied .sym { color: #ffd36b; }
.tc-carte.r-secrete:not(.dore)[data-id="s2-S1"] .tc-atk { border-color: rgba(255, 211, 107, .22); }
.tc-carte.r-secrete:not(.dore)[data-id="s2-S1"] .tc-illu { box-shadow: inset 0 0 0 .14em #e8b93a, inset 0 0 0 .24em #0e3d1c, inset 0 0 1em rgba(0, 40, 10, .4); }
.tc-carte.r-secrete:not(.dore)[data-id="s2-S1"] .tc-rbadge { --rb: linear-gradient(135deg, #fff1a8, #2f8f45 60%, #0e3d1c); border-color: #e8b93a; color: #fff6cf; box-shadow: 0 .15em .4em rgba(0, 0, 0, .5), 0 0 .9em #8fd35a; }
.tc-carte.r-secrete:not(.dore)[data-id="s2-S1"] .tc-bord { background: linear-gradient(90deg, #0e3d1c, #ffe27a 50%, #0e3d1c); }

/* ---------- Louis Ornithorynque (s2-S2) : agent secret, nuit sarcelle et radar ---------- */
.tc-carte.r-secrete:not(.dore)[data-id="s2-S2"] .tc-recto {
  background: repeating-radial-gradient(circle at 50% 42%, rgba(42, 179, 166, .16) 0 .08em, transparent .1em 1.4em),
    linear-gradient(rgba(42, 179, 166, .08) 1px, transparent 1px) 0 0 / 1.2em 1.2em,
    linear-gradient(90deg, rgba(42, 179, 166, .08) 1px, transparent 1px) 0 0 / 1.2em 1.2em,
    radial-gradient(circle at 30% 20%, #0f3b44, #04131a 65%);
  box-shadow: 0 .6em 1.4em rgba(0, 0, 0, .7), inset 0 0 0 .16em #2ab3a6, inset 0 0 0 .32em #03080b, inset 0 0 0 .4em #137a72, 0 0 1.1em rgba(42, 179, 166, .75);
}
.tc-carte.r-secrete:not(.dore)[data-id="s2-S2"] .tc-face {
  background: repeating-linear-gradient(0deg, rgba(79, 230, 214, .035) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at 50% 0%, rgba(42, 179, 166, .22), transparent 55%),
    linear-gradient(180deg, #0b2b34 0%, #071c23 50%, #020b0f 100%);
  color: #a8f3ea; box-shadow: inset 0 0 0 .1em #2ab3a6, inset 0 0 1em rgba(42, 179, 166, .2);
}
.tc-carte.r-secrete:not(.dore)[data-id="s2-S2"] .tc-entete { background: linear-gradient(90deg, rgba(42, 179, 166, .4), rgba(42, 179, 166, .08) 70%, transparent); }
.tc-carte.r-secrete:not(.dore)[data-id="s2-S2"] .tc-bande,
.tc-carte.r-secrete:not(.dore)[data-id="s2-S2"] .tc-atk .txt,
.tc-carte.r-secrete:not(.dore)[data-id="s2-S2"] .tc-flavor,
.tc-carte.r-secrete:not(.dore)[data-id="s2-S2"] .tc-pied { color: #7fcfc6; }
.tc-carte.r-secrete:not(.dore)[data-id="s2-S2"] .tc-pv { color: #ffb08a; }
.tc-carte.r-secrete:not(.dore)[data-id="s2-S2"] .tc-talent b,
.tc-carte.r-secrete:not(.dore)[data-id="s2-S2"] .tc-pied .sym { color: #4fe6d6; }
.tc-carte.r-secrete:not(.dore)[data-id="s2-S2"] .tc-atk { border-color: rgba(42, 179, 166, .3); }
.tc-carte.r-secrete:not(.dore)[data-id="s2-S2"] .tc-rbadge { --rb: linear-gradient(135deg, #0f3b44, #000); border-color: #2ab3a6; color: #4fe6d6; box-shadow: 0 .15em .4em rgba(0, 0, 0, .6), 0 0 .8em #2ab3a6; }
.tc-carte.r-secrete:not(.dore)[data-id="s2-S2"] .tc-bord { background: linear-gradient(90deg, #0a4f4a, #6ff5e8 50%, #0a4f4a); }

/* ---------- Louis Sauce Blanche (s2-S3) : kebab de minuit, braise paprika, sauce qui coule, étincelles qui montent ---------- */
.tc-carte.r-secrete:not(.dore)[data-id="s2-S3"] .tc-recto {
  background: radial-gradient(ellipse 16% 30% at 18% 0, #fffdf7 60%, transparent 62%),
    radial-gradient(ellipse 12% 44% at 50% 0, #fffdf7 60%, transparent 62%),
    radial-gradient(ellipse 15% 24% at 83% 0, #fffdf7 60%, transparent 62%),
    linear-gradient(90deg, #ff9a3c, #ffd36b, #ff5a1f, #ffb347, #ff9a3c) 0 0 / 300% 100%;
  animation: sec-cadre-defile 9s linear infinite;
  box-shadow: 0 .6em 1.4em rgba(0, 0, 0, .6), inset 0 0 0 .16em #fff4e2, inset 0 0 0 .32em #4a1205, inset 0 0 0 .4em #ff9a3c, 0 0 1.3em rgba(255, 110, 40, .85), 0 0 2.6em rgba(255, 70, 20, .35);
}
.tc-carte.r-secrete:not(.dore)[data-id="s2-S3"] .tc-face {
  background: radial-gradient(ellipse 120% 55% at 50% 115%, rgba(255, 170, 60, .55), transparent 60%),
    linear-gradient(176deg, #e2652a 0%, #b53a12 40%, #7a1d08 75%, #4a0f04 100%);
  color: #fff1e0; box-shadow: inset 0 0 0 .1em #ffb347, inset 0 0 1.2em rgba(40, 0, 0, .45);
}
.tc-carte.r-secrete:not(.dore)[data-id="s2-S3"] .tc-face::before {
  background: radial-gradient(circle, rgba(255, 210, 120, .9) 0 .05em, transparent .09em) 0 0 / 2.1em 3em,
    radial-gradient(circle, rgba(255, 140, 60, .8) 0 .04em, transparent .08em) 0 0 / 1.6em 2.2em,
    linear-gradient(transparent 40%, rgba(255, 120, 40, .12));
  animation: sec-braises 6s linear infinite; mix-blend-mode: screen;
}
.tc-carte.r-secrete:not(.dore)[data-id="s2-S3"] .tc-entete { background: linear-gradient(90deg, rgba(255, 250, 240, .35), rgba(255, 179, 71, .18) 70%, transparent); }
.tc-carte.r-secrete:not(.dore)[data-id="s2-S3"] .tc-nom { color: #fffaf2; text-shadow: 0 .06em 0 #4a0f04, 0 0 .5em rgba(255, 150, 60, .8); }
.tc-carte.r-secrete:not(.dore)[data-id="s2-S3"] .tc-bande,
.tc-carte.r-secrete:not(.dore)[data-id="s2-S3"] .tc-atk .txt,
.tc-carte.r-secrete:not(.dore)[data-id="s2-S3"] .tc-flavor,
.tc-carte.r-secrete:not(.dore)[data-id="s2-S3"] .tc-pied { color: #ffd9b8; }
.tc-carte.r-secrete:not(.dore)[data-id="s2-S3"] .tc-pv { color: #fff3c4; }
.tc-carte.r-secrete:not(.dore)[data-id="s2-S3"] .tc-talent { background: rgba(255, 245, 230, .12); }
.tc-carte.r-secrete:not(.dore)[data-id="s2-S3"] .tc-talent b,
.tc-carte.r-secrete:not(.dore)[data-id="s2-S3"] .tc-pied .sym { color: #ffd36b; }
.tc-carte.r-secrete:not(.dore)[data-id="s2-S3"] .tc-atk { border-color: rgba(255, 200, 140, .22); }
.tc-carte.r-secrete:not(.dore)[data-id="s2-S3"] .tc-illu { box-shadow: inset 0 0 0 .14em #fff4e2, inset 0 0 0 .24em #b53a12, inset 0 0 1em rgba(60, 0, 0, .45); }
.tc-carte.r-secrete:not(.dore)[data-id="s2-S3"] .tc-rbadge { --rb: linear-gradient(135deg, #ffffff, #ff9a3c 60%, #7a1d08); border-color: #fff4e2; color: #fffaf2; box-shadow: 0 .15em .4em rgba(0, 0, 0, .5), 0 0 .9em #ff7a2f; }
.tc-carte.r-secrete:not(.dore)[data-id="s2-S3"] .tc-bord { background: linear-gradient(90deg, #7a1d08, #fff4e2 50%, #7a1d08); }

/* ---------- Louis d'Or (s2-S4) : or sur noir d'origine, avec un fond plus profond ---------- */
.tc-carte.r-secrete:not(.dore)[data-id="s2-S4"] .tc-face {
  background: repeating-linear-gradient(135deg, rgba(245, 197, 66, .045) 0 .1em, transparent .1em .8em),
    radial-gradient(ellipse at 50% 0%, rgba(245, 197, 66, .2), transparent 55%),
    linear-gradient(180deg, #241b0d 0%, #120d06 55%, #070503 100%);
}

/* ---------- Louis Corne (s2-S5) : nébuleuse de licorne, aurore arc-en-ciel qui ondule, cadre arc-en-ciel qui défile ---------- */
.tc-carte.r-secrete:not(.dore)[data-id="s2-S5"] .tc-recto {
  background: radial-gradient(circle at 25% 20%, rgba(255, 255, 255, .9) 0 .1em, transparent .18em) 0 0 / 1.5em 1.5em,
    linear-gradient(90deg, #ff6fd0, #b46cff, #5f9bff, #4fe3c8, #ffe07a, #ff8f6f, #ff6fd0) 0 0 / 300% 100%;
  animation: sec-cadre-defile 7s linear infinite;
  box-shadow: 0 .6em 1.4em rgba(0, 0, 0, .55), inset 0 0 0 .16em #ffffff, inset 0 0 0 .32em #24104e, inset 0 0 0 .4em #ff9ee6, 0 0 1.4em rgba(190, 120, 255, .9), 0 0 2.6em rgba(100, 200, 255, .4);
}
.tc-carte.r-secrete:not(.dore)[data-id="s2-S5"] .tc-face {
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .95) 0 .05em, transparent .09em) 0 0 / 1.1em 1.3em,
    radial-gradient(circle at 70% 70%, rgba(255, 230, 255, .8) 0 .04em, transparent .08em) 0 0 / 1.7em 1.5em,
    radial-gradient(ellipse 70% 45% at 15% 5%, rgba(255, 110, 220, .6), transparent 70%),
    radial-gradient(ellipse 60% 50% at 95% 55%, rgba(90, 160, 255, .55), transparent 70%),
    radial-gradient(ellipse 80% 40% at 40% 105%, rgba(80, 230, 200, .45), transparent 70%),
    linear-gradient(180deg, #4a1a8a 0%, #2c0f63 55%, #1a0840 100%);
  color: #f6ecff; box-shadow: inset 0 0 0 .1em #ff9ee6, inset 0 0 1.2em rgba(10, 0, 40, .5);
}
.tc-carte.r-secrete:not(.dore)[data-id="s2-S5"] .tc-face::before {
  background: linear-gradient(100deg, transparent 15%, rgba(255, 140, 230, .28) 30%, rgba(140, 190, 255, .28) 45%, rgba(120, 255, 220, .24) 60%, rgba(255, 230, 140, .2) 72%, transparent 88%) 0 0 / 260% 100%;
  animation: sec-aurore 6s ease-in-out infinite alternate; mix-blend-mode: screen;
}
.tc-carte.r-secrete:not(.dore)[data-id="s2-S5"] .tc-entete { background: linear-gradient(90deg, rgba(255, 140, 230, .5), rgba(120, 170, 255, .3) 60%, transparent); }
.tc-carte.r-secrete:not(.dore)[data-id="s2-S5"] .tc-nom { color: #ffffff; text-shadow: 0 .06em 0 #24104e, 0 0 .5em rgba(255, 150, 240, .85); }
.tc-carte.r-secrete:not(.dore)[data-id="s2-S5"] .tc-bande,
.tc-carte.r-secrete:not(.dore)[data-id="s2-S5"] .tc-atk .txt,
.tc-carte.r-secrete:not(.dore)[data-id="s2-S5"] .tc-flavor,
.tc-carte.r-secrete:not(.dore)[data-id="s2-S5"] .tc-pied { color: #d9c8f5; }
.tc-carte.r-secrete:not(.dore)[data-id="s2-S5"] .tc-pv { color: #ff9ad5; }
.tc-carte.r-secrete:not(.dore)[data-id="s2-S5"] .tc-talent { background: rgba(255, 158, 230, .14); }
.tc-carte.r-secrete:not(.dore)[data-id="s2-S5"] .tc-talent b,
.tc-carte.r-secrete:not(.dore)[data-id="s2-S5"] .tc-pied .sym { color: #ffb3f0; }
.tc-carte.r-secrete:not(.dore)[data-id="s2-S5"] .tc-atk { border-color: rgba(255, 158, 230, .22); }
.tc-carte.r-secrete:not(.dore)[data-id="s2-S5"] .tc-illu { box-shadow: inset 0 0 0 .14em #ffffff, inset 0 0 0 .24em #b46cff, inset 0 0 1em rgba(20, 0, 60, .45); }
.tc-carte.r-secrete:not(.dore)[data-id="s2-S5"] .tc-rbadge { --rb: linear-gradient(90deg, #ff6fd0, #b46cff, #5f9bff, #4fe3c8); border-color: #ffffff; color: #fff; box-shadow: 0 .15em .4em rgba(0, 0, 0, .45), 0 0 .9em #ff9ee6; }
.tc-carte.r-secrete:not(.dore)[data-id="s2-S5"] .tc-bord { background: linear-gradient(90deg, #ff6fd0, #4fe3c8 50%, #b46cff); }


/* =========================== VERSIONS DORÉES (une par Secrète) =========================== */
/* Toutes gardent le cadre animé et le reflet métallique de la Dorée (tcg.css), mais chacune a sa matière. */
.tc-carte.dore.r-secrete .tc-recto { background-size: 220% 220%; }

/* ---------- Petit Louis Dorée : émeraude royale serti d'or, rayons d'or qui balaient ---------- */
.tc-carte.dore.r-secrete[data-id="s2-S1"] .tc-recto {
  background: linear-gradient(135deg, #fff6cf 0%, #f5c542 12%, #1d6b3a 20%, #f7d46a 30%, #fff1b8 44%, #2c8c4c 54%, #c8901c 64%, #fff1b8 78%, #145a2e 88%, #f5c542 100%);
  background-size: 220% 220%;
  box-shadow: 0 .6em 1.5em rgba(0, 0, 0, .6), 0 0 1.4em rgba(70, 210, 120, .65), 0 0 .6em rgba(255, 210, 90, .8), inset 0 0 0 .1em #fff4c8, inset 0 0 0 .22em #0b3a1c, inset 0 0 0 .3em #ffe18a;
}
.tc-carte.dore.r-secrete[data-id="s2-S1"] .tc-face {
  background: radial-gradient(ellipse 60% 40% at 0% 0%, rgba(255, 220, 120, .5), transparent 70%),
    radial-gradient(circle at 50% 50%, rgba(245, 197, 66, .14) 0 .1em, transparent .14em) 0 0 / .8em .8em,
    linear-gradient(170deg, #1f7a40 0%, #115a2e 50%, #072e17 100%);
  color: #ffe9a0; box-shadow: inset 0 0 0 .1em #f5c542, inset 0 0 0 .2em #0b3a1c, inset 0 0 1.2em rgba(0, 0, 0, .45);
}
.tc-carte.dore.r-secrete[data-id="s2-S1"] .tc-face::before {
  background: repeating-linear-gradient(118deg, transparent 0 2.2em, rgba(255, 220, 120, .2) 2.2em 3em, transparent 3em 4.4em);
  animation: sec-rayons 6s linear infinite; mix-blend-mode: screen;
}
.tc-carte.dore.r-secrete[data-id="s2-S1"] .tc-entete { background: linear-gradient(90deg, #fff1b8, #e2ac2f 60%, rgba(226, 172, 47, .2)); }
.tc-carte.dore.r-secrete[data-id="s2-S1"] .tc-nom { color: #0b3a1c; text-shadow: 0 .05em 0 rgba(255, 250, 225, .8); }
.tc-carte.dore.r-secrete[data-id="s2-S1"] .tc-pv { color: #0b3a1c; }
.tc-carte.dore.r-secrete[data-id="s2-S1"] .tc-bande,
.tc-carte.dore.r-secrete[data-id="s2-S1"] .tc-atk .txt,
.tc-carte.dore.r-secrete[data-id="s2-S1"] .tc-flavor,
.tc-carte.dore.r-secrete[data-id="s2-S1"] .tc-pied { color: #e8d79a; }
.tc-carte.dore.r-secrete[data-id="s2-S1"] .tc-talent { background: rgba(255, 215, 120, .12); }
.tc-carte.dore.r-secrete[data-id="s2-S1"] .tc-talent b,
.tc-carte.dore.r-secrete[data-id="s2-S1"] .tc-pied .sym { color: #ffd36b; }
.tc-carte.dore.r-secrete[data-id="s2-S1"] .tc-atk { border-color: rgba(245, 197, 66, .28); }
.tc-carte.dore.r-secrete[data-id="s2-S1"] .tc-illu { box-shadow: inset 0 0 0 .16em #f5c542, inset 0 0 0 .26em #0b3a1c, inset 0 0 1.2em rgba(10, 70, 35, .5); }
.tc-carte.dore.r-secrete[data-id="s2-S1"] .tc-illu::after { background: linear-gradient(160deg, rgba(255, 240, 190, .55), rgba(60, 170, 90, .28) 60%, rgba(10, 60, 30, .5)); }
.tc-carte.dore.r-secrete[data-id="s2-S1"] .tc-badge-dore { color: #ffe9a0; background: linear-gradient(180deg, #1f7a40, #072e17); box-shadow: 0 0 0 .08em #f5c542, 0 0 .6em rgba(80, 220, 130, .9); text-shadow: none; }
.tc-carte.dore.r-secrete[data-id="s2-S1"] .tc-bord { background: linear-gradient(90deg, #0b3a1c, #ffe9a0 50%, #0b3a1c); }

/* ---------- Louis Ornithorynque Dorée : smoking noir et or, radar doré ---------- */
.tc-carte.dore.r-secrete[data-id="s2-S2"] .tc-recto {
  box-shadow: 0 .6em 1.5em rgba(0, 0, 0, .65), 0 0 1.3em rgba(255, 196, 60, .6), inset 0 0 0 .1em #fff4c8, inset 0 0 0 .22em #050403, inset 0 0 0 .3em #ffe18a;
}
.tc-carte.dore.r-secrete[data-id="s2-S2"] .tc-face {
  background: repeating-radial-gradient(circle at 50% 30%, rgba(245, 197, 66, .13) 0 .07em, transparent .09em 1.3em),
    linear-gradient(rgba(245, 197, 66, .06) 1px, transparent 1px) 0 0 / 1.2em 1.2em,
    linear-gradient(90deg, rgba(245, 197, 66, .06) 1px, transparent 1px) 0 0 / 1.2em 1.2em,
    radial-gradient(ellipse at 50% 0%, rgba(245, 197, 66, .25), transparent 55%),
    linear-gradient(180deg, #1c1509 0%, #0b0805 60%, #030201 100%);
  color: #ffe9a0; box-shadow: inset 0 0 0 .1em #e2ac2f, inset 0 0 1em rgba(245, 197, 66, .2);
}
.tc-carte.dore.r-secrete[data-id="s2-S2"] .tc-entete { background: linear-gradient(90deg, rgba(245, 197, 66, .55), rgba(245, 197, 66, .1) 70%, transparent); }
.tc-carte.dore.r-secrete[data-id="s2-S2"] .tc-nom { color: #fff1b8; text-shadow: 0 0 .45em rgba(255, 200, 80, .7), 0 .06em 0 #000; }
.tc-carte.dore.r-secrete[data-id="s2-S2"] .tc-bande,
.tc-carte.dore.r-secrete[data-id="s2-S2"] .tc-atk .txt,
.tc-carte.dore.r-secrete[data-id="s2-S2"] .tc-flavor,
.tc-carte.dore.r-secrete[data-id="s2-S2"] .tc-pied { color: #d9bd72; }
.tc-carte.dore.r-secrete[data-id="s2-S2"] .tc-pv { color: #ffb08a; }
.tc-carte.dore.r-secrete[data-id="s2-S2"] .tc-talent { background: rgba(245, 197, 66, .12); }
.tc-carte.dore.r-secrete[data-id="s2-S2"] .tc-talent b,
.tc-carte.dore.r-secrete[data-id="s2-S2"] .tc-pied .sym { color: #ffd36b; }
.tc-carte.dore.r-secrete[data-id="s2-S2"] .tc-atk { border-color: rgba(245, 197, 66, .25); }
.tc-carte.dore.r-secrete[data-id="s2-S2"] .tc-illu { box-shadow: inset 0 0 0 .16em #f5c542, inset 0 0 0 .26em #000, inset 0 0 1.4em rgba(0, 0, 0, .7); background: radial-gradient(circle at 50% 38%, #8a6418, #2a1c05 60%, #000); }
.tc-carte.dore.r-secrete[data-id="s2-S2"] .tc-illu img.rendu { filter: sepia(1) saturate(1.7) hue-rotate(-8deg) contrast(1.35) brightness(.95); }
.tc-carte.dore.r-secrete[data-id="s2-S2"] .tc-illu::after { background: radial-gradient(ellipse at 50% 40%, transparent 45%, rgba(0, 0, 0, .55)), linear-gradient(160deg, rgba(255, 230, 160, .35), transparent 60%); mix-blend-mode: normal; }
.tc-carte.dore.r-secrete[data-id="s2-S2"] .tc-badge-dore { color: #ffe9a0; background: linear-gradient(180deg, #2a2010, #000); box-shadow: 0 0 0 .08em #f5c542, 0 0 .6em rgba(255, 196, 60, .9); text-shadow: none; }
.tc-carte.dore.r-secrete[data-id="s2-S2"] .tc-bord { background: linear-gradient(90deg, #000, #ffe27a 50%, #000); }

/* ---------- Louis Sauce Blanche Dorée : or blanc nacré, sauce perlée, reflet de nacre qui passe ---------- */
.tc-carte.dore.r-secrete[data-id="s2-S3"] .tc-recto {
  background: radial-gradient(ellipse 16% 30% at 18% 0, #ffffff 60%, transparent 62%),
    radial-gradient(ellipse 12% 44% at 50% 0, #ffffff 60%, transparent 62%),
    radial-gradient(ellipse 15% 24% at 83% 0, #ffffff 60%, transparent 62%),
    linear-gradient(135deg, #ffffff 0%, #f3ead2 12%, #d8b86a 26%, #fffaf0 40%, #e9d6a4 54%, #ffffff 66%, #c9a24e 80%, #fff6e0 92%, #e7cf8f 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 220% 220%;
  box-shadow: 0 .6em 1.5em rgba(0, 0, 0, .5), 0 0 1.5em rgba(255, 248, 225, 1), 0 0 2.6em rgba(255, 220, 160, .45), inset 0 0 0 .1em #ffffff, inset 0 0 0 .22em #a8843a, inset 0 0 0 .3em #fff6e0;
}
.tc-carte.dore.r-secrete[data-id="s2-S3"] .tc-face {
  background: radial-gradient(ellipse 9% 16% at 22% 0, #ffffff 60%, transparent 63%),
    radial-gradient(ellipse 6% 24% at 58% 0, #ffffff 60%, transparent 63%),
    radial-gradient(ellipse 8% 12% at 86% 0, #ffffff 60%, transparent 63%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .5) 0 .07em, transparent .11em) 0 0 / 1em 1em,
    linear-gradient(176deg, #fffaf0 0%, #f1e0b8 40%, #d9b76c 78%, #b8913e 100%);
  color: #3a2808; box-shadow: inset 0 0 0 .1em #c9a24e, inset 0 0 1em rgba(160, 120, 40, .35);
}
.tc-carte.dore.r-secrete[data-id="s2-S3"] .tc-face::before {
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .7) 42%, rgba(255, 200, 235, .45) 48%, rgba(180, 235, 255, .45) 54%, transparent 66%) 0 0 / 260% 100%;
  animation: sec-nacre 4.5s ease-in-out infinite; mix-blend-mode: soft-light;
}
.tc-carte.dore.r-secrete[data-id="s2-S3"] .tc-entete { background: linear-gradient(90deg, rgba(255, 255, 255, .95), rgba(230, 205, 140, .5) 70%, transparent); }
.tc-carte.dore.r-secrete[data-id="s2-S3"] .tc-talent { background: rgba(255, 255, 255, .5); }
.tc-carte.dore.r-secrete[data-id="s2-S3"] .tc-illu { box-shadow: inset 0 0 0 .16em #ffffff, inset 0 0 0 .26em #c9a24e, inset 0 0 1.2em rgba(180, 140, 60, .35); background: radial-gradient(circle at 50% 38%, #ffffff, #e9d6a4 55%, #a8843a); }
.tc-carte.dore.r-secrete[data-id="s2-S3"] .tc-illu img.rendu { filter: sepia(.92) saturate(1.05) hue-rotate(-6deg) brightness(1.18) contrast(1.08); }
.tc-carte.dore.r-secrete[data-id="s2-S3"] .tc-illu::after { background: linear-gradient(135deg, rgba(255, 255, 255, .5), rgba(255, 210, 235, .25) 40%, rgba(190, 235, 255, .25) 60%, rgba(220, 185, 110, .4)); }
.tc-carte.dore.r-secrete[data-id="s2-S3"] .tc-badge-dore { background: linear-gradient(180deg, #ffffff, #f3ead2 45%, #c9a24e); box-shadow: 0 0 0 .08em #a8843a, 0 0 .7em rgba(255, 250, 230, 1); }
.tc-carte.dore.r-secrete[data-id="s2-S3"] .tc-bord { background: linear-gradient(90deg, #c9a24e, #ffffff 50%, #c9a24e); }

/* ---------- Louis d'Or Dorée : velours royal pourpre et or massif ---------- */
.tc-carte.dore.r-secrete[data-id="s2-S4"] .tc-recto {
  box-shadow: 0 .6em 1.5em rgba(0, 0, 0, .6), 0 0 1.4em rgba(255, 90, 90, .45), 0 0 .6em rgba(255, 196, 60, .7), inset 0 0 0 .1em #fff4c8, inset 0 0 0 .22em #5a0614, inset 0 0 0 .3em #ffe18a;
}
.tc-carte.dore.r-secrete[data-id="s2-S4"] .tc-face {
  background: radial-gradient(circle at 50% 50%, rgba(245, 197, 66, .12) 0 .12em, transparent .16em) 0 0 / .9em .9em,
    radial-gradient(ellipse at 50% 0%, rgba(255, 120, 120, .28), transparent 55%),
    linear-gradient(180deg, #8a1424 0%, #5a0818 55%, #2a030a 100%);
  color: #ffe9a0; box-shadow: inset 0 0 0 .1em #f5c542, inset 0 0 1em rgba(0, 0, 0, .45);
}
.tc-carte.dore.r-secrete[data-id="s2-S4"] .tc-entete { background: linear-gradient(90deg, #fff1b8, #e2ac2f 60%, rgba(226, 172, 47, .25)); }
.tc-carte.dore.r-secrete[data-id="s2-S4"] .tc-nom { color: #3a0a10; text-shadow: 0 .05em 0 rgba(255, 250, 225, .8); }
.tc-carte.dore.r-secrete[data-id="s2-S4"] .tc-bande,
.tc-carte.dore.r-secrete[data-id="s2-S4"] .tc-atk .txt,
.tc-carte.dore.r-secrete[data-id="s2-S4"] .tc-flavor,
.tc-carte.dore.r-secrete[data-id="s2-S4"] .tc-pied { color: #f1d38a; }
.tc-carte.dore.r-secrete[data-id="s2-S4"] .tc-pv { color: #3a0a10; }
.tc-carte.dore.r-secrete[data-id="s2-S4"] .tc-talent { background: rgba(255, 215, 120, .13); }
.tc-carte.dore.r-secrete[data-id="s2-S4"] .tc-talent b,
.tc-carte.dore.r-secrete[data-id="s2-S4"] .tc-pied .sym { color: #ffd36b; }
.tc-carte.dore.r-secrete[data-id="s2-S4"] .tc-atk { border-color: rgba(245, 197, 66, .3); }
.tc-carte.dore.r-secrete[data-id="s2-S4"] .tc-illu { box-shadow: inset 0 0 0 .16em #f5c542, inset 0 0 0 .26em #5a0614, inset 0 0 1.2em rgba(60, 0, 10, .5); }
.tc-carte.dore.r-secrete[data-id="s2-S4"] .tc-badge-dore { color: #ffe9a0; background: linear-gradient(180deg, #a01a2c, #5a0818); box-shadow: 0 0 0 .08em #f5c542, 0 0 .6em rgba(255, 196, 60, .9); text-shadow: none; }
.tc-carte.dore.r-secrete[data-id="s2-S4"] .tc-bord { background: linear-gradient(90deg, #5a0614, #ffe27a 50%, #5a0614); }

/* ---------- Louis Corne Dorée : or rose et nébuleuse, aurore irisée ---------- */
.tc-carte.dore.r-secrete[data-id="s2-S5"] .tc-recto {
  background: linear-gradient(135deg, #fff0f3 0%, #f7c1c9 14%, #b76e79 28%, #ffe1e6 42%, #c9b8ff 52%, #d48a95 62%, #fff3e6 74%, #a0525e 88%, #f5b8c2 100%);
  background-size: 220% 220%;
  box-shadow: 0 .6em 1.5em rgba(0, 0, 0, .55), 0 0 1.5em rgba(255, 150, 190, .75), 0 0 2.6em rgba(190, 160, 255, .4), inset 0 0 0 .1em #fff4f6, inset 0 0 0 .22em #5a1f2c, inset 0 0 0 .3em #ffd6dd;
}
.tc-carte.dore.r-secrete[data-id="s2-S5"] .tc-face {
  background: radial-gradient(circle at 30% 30%, rgba(255, 240, 245, .95) 0 .05em, transparent .09em) 0 0 / 1.1em 1.3em,
    radial-gradient(ellipse 70% 45% at 15% 5%, rgba(255, 190, 210, .55), transparent 70%),
    radial-gradient(ellipse 60% 50% at 95% 60%, rgba(200, 170, 255, .4), transparent 70%),
    linear-gradient(180deg, #8a3a52 0%, #5e2238 55%, #3a1222 100%);
  color: #ffe4ea; box-shadow: inset 0 0 0 .1em #f7c1c9, inset 0 0 0 .2em #5a1f2c, inset 0 0 1.2em rgba(30, 0, 10, .45);
}
.tc-carte.dore.r-secrete[data-id="s2-S5"] .tc-face::before {
  background: linear-gradient(100deg, transparent 15%, rgba(255, 190, 210, .3) 32%, rgba(200, 180, 255, .3) 48%, rgba(170, 240, 230, .25) 62%, transparent 85%) 0 0 / 260% 100%;
  animation: sec-aurore 6s ease-in-out infinite alternate; mix-blend-mode: screen;
}
.tc-carte.dore.r-secrete[data-id="s2-S5"] .tc-entete { background: linear-gradient(90deg, #fff0f3, #e8a4b0 60%, rgba(214, 138, 149, .2)); }
.tc-carte.dore.r-secrete[data-id="s2-S5"] .tc-nom { color: #4a0f1e; text-shadow: 0 .05em 0 rgba(255, 245, 248, .8); }
.tc-carte.dore.r-secrete[data-id="s2-S5"] .tc-pv { color: #4a0f1e; }
.tc-carte.dore.r-secrete[data-id="s2-S5"] .tc-bande,
.tc-carte.dore.r-secrete[data-id="s2-S5"] .tc-atk .txt,
.tc-carte.dore.r-secrete[data-id="s2-S5"] .tc-flavor,
.tc-carte.dore.r-secrete[data-id="s2-S5"] .tc-pied { color: #f5c8d2; }
.tc-carte.dore.r-secrete[data-id="s2-S5"] .tc-talent { background: rgba(255, 200, 215, .13); }
.tc-carte.dore.r-secrete[data-id="s2-S5"] .tc-talent b,
.tc-carte.dore.r-secrete[data-id="s2-S5"] .tc-pied .sym { color: #ffc2d0; }
.tc-carte.dore.r-secrete[data-id="s2-S5"] .tc-atk { border-color: rgba(255, 190, 210, .25); }
.tc-carte.dore.r-secrete[data-id="s2-S5"] .tc-illu { box-shadow: inset 0 0 0 .16em #ffd6dd, inset 0 0 0 .26em #5a1f2c, inset 0 0 1.2em rgba(120, 40, 60, .4); background: radial-gradient(circle at 50% 38%, #ffe1e6, #d48a95 55%, #6a2a36); }
.tc-carte.dore.r-secrete[data-id="s2-S5"] .tc-illu img.rendu { filter: sepia(.8) saturate(1.6) hue-rotate(-28deg) brightness(1.06) contrast(1.1); }
.tc-carte.dore.r-secrete[data-id="s2-S5"] .tc-illu::after { background: linear-gradient(135deg, rgba(255, 230, 240, .5), rgba(200, 180, 255, .3) 45%, rgba(160, 240, 225, .25) 60%, rgba(160, 70, 90, .35)); }
.tc-carte.dore.r-secrete[data-id="s2-S5"] .tc-badge-dore { color: #4a0f1e; background: linear-gradient(180deg, #fff0f3, #f7c1c9 45%, #b76e79); box-shadow: 0 0 0 .08em #5a1f2c, 0 0 .6em rgba(255, 150, 190, .9); }
.tc-carte.dore.r-secrete[data-id="s2-S5"] .tc-bord { background: linear-gradient(90deg, #5a1f2c, #ffe1e6 50%, #5a1f2c); }


/* =====================================================================
   ABSOLUE (Louis Gauffre) — v2 « L'Éternel » (2026-12-01)
   Voûte céleste sans fin : nuit d'encre et poussière d'or, astrolabe doré qui tourne derrière le texte
   (un tour par minute), étoiles qui scintillent, cadre de nacre prismatique qui tourne, nom en lumière qui coule.
   Dorée : « Soleil absolu », rayons d'or blanc qui tournent autour de l'illustration.
   Animations coupées pour .calme (vignettes en masse) et prefers-reduced-motion.
   ===================================================================== */
@keyframes abs-astrolabe { to { transform: rotate(360deg); } }
@keyframes abs-scintille { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes abs-nom { from { background-position: 0% 50%; } to { background-position: 200% 50%; } }

.tc-carte.r-absolue .tc-recto {
  background: conic-gradient(from var(--abs-a, 0deg), #ffffff, #fff1b8, #ffc7ec, #ffffff, #bfeaff, #e2cfff, #ffffff, #ffe08a, #ffffff);
  box-shadow: 0 .6em 1.6em rgba(0, 0, 0, .65), inset 0 0 0 .12em #ffffff, inset 0 0 0 .22em #c9962a, inset 0 0 0 .3em #fff4c2,
    0 0 1.2em rgba(255, 250, 230, 1), 0 0 2.6em rgba(255, 210, 120, .55), 0 0 4em rgba(170, 140, 255, .4);
}
.tc-carte.r-absolue:not(.dore) .tc-face {
  isolation: isolate;
  background: radial-gradient(circle at 50% 30%, rgba(255, 224, 138, .28), transparent 38%),
    radial-gradient(ellipse 70% 40% at 0% 100%, rgba(255, 120, 200, .22), transparent 70%),
    radial-gradient(ellipse 70% 45% at 100% 70%, rgba(90, 170, 255, .22), transparent 70%),
    radial-gradient(circle, rgba(255, 255, 255, .85) 0 .04em, transparent .07em) 0 0 / 1.3em 1.1em,
    linear-gradient(180deg, #1b1240 0%, #0d0a28 55%, #05041a 100%);
  color: #efe8ff; box-shadow: inset 0 0 0 .1em #f5c542, inset 0 0 0 .2em rgba(255, 244, 194, .25), inset 0 0 1.4em rgba(255, 224, 138, .25);
}
/* astrolabe d'or : rayons fins et cercles concentriques centrés sur l'illustration, qui tournent */
.tc-carte.r-absolue .tc-face::before {
  content: ""; position: absolute; left: -40%; right: -40%; top: -38%; height: 140%; z-index: -1; pointer-events: none;
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255, 224, 138, .13) 0 .35deg, transparent .35deg 10deg),
    repeating-radial-gradient(circle at 50% 50%, transparent 0 3.1em, rgba(255, 224, 138, .14) 3.1em 3.17em, transparent 3.17em 4.6em),
    radial-gradient(circle at 50% 50%, transparent 0 9.6em, rgba(255, 224, 138, .3) 9.6em 9.7em, transparent 9.75em);
  animation: abs-astrolabe 60s linear infinite;
  -webkit-mask: radial-gradient(circle at 50% 50%, #000 0 30%, rgba(0, 0, 0, .45) 48%, rgba(0, 0, 0, .25) 70%); mask: radial-gradient(circle at 50% 50%, #000 0 30%, rgba(0, 0, 0, .45) 48%, rgba(0, 0, 0, .25) 70%);
}
/* étoiles qui scintillent */
.tc-carte.r-absolue .tc-face::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, #fff 0 .06em, transparent .1em) .4em .7em / 2.3em 2.9em,
    radial-gradient(circle, #ffe9a8 0 .05em, transparent .09em) 1.1em .2em / 3.1em 2.3em,
    radial-gradient(circle, #d8c8ff 0 .05em, transparent .09em) .2em 1.4em / 2.7em 3.4em;
  animation: abs-scintille 2.8s ease-in-out infinite;
}
.tc-carte.r-absolue:not(.dore) .tc-entete { background: linear-gradient(90deg, rgba(255, 244, 194, .28), rgba(255, 199, 236, .12) 60%, transparent); }
.tc-carte.r-absolue:not(.dore) .tc-nom {
  background: linear-gradient(90deg, #fff4c2, #ffffff, #ffc7ec, #bfeaff, #fff4c2, #ffffff, #fff4c2) 0 0 / 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none; filter: drop-shadow(0 0 .25em rgba(255, 224, 138, .8)); animation: abs-nom 4s linear infinite;
}
.tc-carte.r-absolue:not(.dore) .tc-pv { color: #ffe08a; }
.tc-carte.r-absolue:not(.dore) .tc-bande,
.tc-carte.r-absolue:not(.dore) .tc-atk .txt,
.tc-carte.r-absolue:not(.dore) .tc-flavor,
.tc-carte.r-absolue:not(.dore) .tc-pied { color: #cfc4ec; }
.tc-carte.r-absolue:not(.dore) .tc-talent { background: rgba(255, 224, 138, .12); box-shadow: inset 0 0 0 1px rgba(255, 224, 138, .25); }
.tc-carte.r-absolue:not(.dore) .tc-talent b,
.tc-carte.r-absolue:not(.dore) .tc-pied .sym { color: #ffe08a; }
.tc-carte.r-absolue:not(.dore) .tc-atk { border-color: rgba(255, 224, 138, .22); }
.tc-carte.r-absolue:not(.dore) .tc-illu { box-shadow: inset 0 0 0 .14em #fff4c2, inset 0 0 0 .26em #c9962a, inset 0 0 0 .32em rgba(255, 255, 255, .6), inset 0 0 1.4em rgba(255, 224, 138, .45); }
.tc-carte.r-absolue .tc-bord { background: linear-gradient(90deg, #c9962a, #ffffff 30%, #ffc7ec 50%, #bfeaff 70%, #c9962a); }

/* ---------- Absolue Dorée : Soleil absolu ---------- */
.tc-carte.dore.r-absolue .tc-recto {
  background: conic-gradient(from var(--abs-a, 0deg), #ffffff, #ffe08a, #fff6d6, #e2ac2f, #ffffff, #ffd1ec, #fff6d6, #ffe08a, #ffffff);
  animation: tc-abs-tourne 6s linear infinite, tc-abs-halo 2.6s ease-in-out infinite;
  box-shadow: 0 .6em 1.6em rgba(0, 0, 0, .6), inset 0 0 0 .12em #ffffff, inset 0 0 0 .22em #a8740f, inset 0 0 0 .3em #fff4c2,
    0 0 1.4em rgba(255, 240, 190, 1), 0 0 3em rgba(255, 196, 60, .75), 0 0 4.4em rgba(255, 255, 255, .4);
}
.tc-carte.dore.r-absolue .tc-face {
  isolation: isolate;
  background: radial-gradient(circle at 50% 28%, #fffdf2 0%, #ffe9a0 22%, #f2c54e 48%, #d99a26 75%, #a86a12 100%);
  color: #2e1a00; box-shadow: inset 0 0 0 .1em #ffffff, inset 0 0 0 .2em #a8740f, inset 0 0 1.4em rgba(120, 70, 0, .35);
}
.tc-carte.dore.r-absolue .tc-face::before {
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, .42) 0 3deg, transparent 3deg 9deg),
    radial-gradient(circle at 50% 50%, transparent 0 9.6em, rgba(255, 255, 255, .55) 9.6em 9.75em, transparent 9.8em);
  animation: abs-astrolabe 40s linear infinite; mix-blend-mode: soft-light;
}
.tc-carte.dore.r-absolue .tc-face::after {
  background: radial-gradient(circle, #fff 0 .07em, transparent .12em) .4em .7em / 2.1em 2.6em,
    radial-gradient(circle, #fffbe6 0 .05em, transparent .1em) 1.1em .2em / 2.9em 2.2em;
}
.tc-carte.dore.r-absolue .tc-entete { background: linear-gradient(90deg, rgba(255, 255, 255, .9), rgba(255, 233, 160, .5) 60%, transparent); }
.tc-carte.dore.r-absolue .tc-nom {
  background: linear-gradient(90deg, #7a4a00, #c98a00, #3a2400, #c98a00, #7a4a00) 0 0 / 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; animation: abs-nom 4s linear infinite;
  filter: drop-shadow(0 .05em 0 rgba(255, 250, 225, .9));
}
.tc-carte.dore.r-absolue .tc-talent { background: rgba(255, 255, 255, .45); }
.tc-carte.dore.r-absolue .tc-illu { box-shadow: inset 0 0 0 .14em #ffffff, inset 0 0 0 .26em #a8740f, inset 0 0 1.4em rgba(255, 240, 190, .6); }
.tc-carte.dore.r-absolue .tc-badge-dore { background: linear-gradient(180deg, #ffffff, #ffe08a 45%, #c98a00); box-shadow: 0 0 0 .08em #a8740f, 0 0 .8em rgba(255, 255, 255, 1), 0 0 1.4em rgba(255, 196, 60, .9); }

.tc-carte.calme:not(.survol).r-absolue .tc-face::before, .tc-carte.calme:not(.survol).r-absolue .tc-face::after,
.tc-carte.calme:not(.survol).r-absolue .tc-nom { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .tc-carte.r-absolue .tc-face::before, .tc-carte.r-absolue .tc-face::after, .tc-carte.r-absolue .tc-nom { animation: none !important; }
}

/* =====================================================================
   FULL ART (Secrètes + Absolue) : l'illustration nette remplit le haut de la carte et se fond dans une copie
   floutée d'elle-même (--art, posée par carteEl) qui couvre toute la carte, teintée par le fond du thème ;
   voile de lecture à la couleur du thème (--voile : r, g, b) ; le texte flotte par-dessus, en bas.
   ===================================================================== */
.tc-carte.r-secrete, .tc-carte.r-absolue { --voile: 8, 5, 30; --voile-fort: .93; }
.tc-carte.r-secrete[data-id="s2-S1"] { --voile: 9, 48, 22; }
.tc-carte.r-secrete[data-id="s2-S2"] { --voile: 2, 14, 19; }
.tc-carte.r-secrete[data-id="s2-S3"] { --voile: 70, 14, 4; }
.tc-carte.r-secrete[data-id="s2-S4"] { --voile: 10, 7, 3; }
.tc-carte.r-secrete[data-id="s2-S5"] { --voile: 28, 9, 66; }
.tc-carte.dore.r-secrete[data-id="s2-S1"] { --voile: 7, 46, 23; }
.tc-carte.dore.r-secrete[data-id="s2-S2"] { --voile: 6, 4, 2; }
.tc-carte.dore.r-secrete[data-id="s2-S3"] { --voile: 246, 232, 196; }
.tc-carte.dore.r-secrete[data-id="s2-S4"] { --voile: 60, 5, 14; }
.tc-carte.dore.r-secrete[data-id="s2-S5"] { --voile: 62, 20, 36; }
.tc-carte.dore.r-absolue { --voile: 252, 234, 170; }

.tc-carte:is(.r-secrete, .r-absolue) .tc-face { isolation: isolate; }
.tc-carte:is(.r-secrete, .r-absolue) .tc-illu-cadre { position: absolute; inset: 0; margin: 0; height: auto; z-index: 0; border-radius: inherit; overflow: hidden; }
/* fond flouté : la même image, agrandie, floutée, laissant passer le dégradé du thème */
.tc-carte:is(.r-secrete, .r-absolue) .tc-illu-cadre::before {
  content: ""; position: absolute; inset: -12%; z-index: 0; pointer-events: none;
  background: var(--art, none) center 30% / cover no-repeat;
  filter: blur(14px) saturate(1.35) brightness(.8); opacity: .55;
}
.tc-carte.dore:is(.r-secrete, .r-absolue) .tc-illu-cadre::before { filter: blur(14px) sepia(.9) saturate(1.6) brightness(.9); }
/* illustration nette : 60 % du haut, bords fondus */
.tc-carte:is(.r-secrete, .r-absolue) .tc-illu-cadre > .tc-illu,
.tc-carte:is(.r-secrete, .r-absolue):not(.dore) .tc-illu, .tc-carte.dore:is(.r-secrete, .r-absolue) .tc-illu {
  position: absolute; left: 0; right: 0; top: 0; height: 60%; margin: 0; z-index: 1; border-radius: 0; box-shadow: none; background: transparent;
  -webkit-mask: linear-gradient(180deg, #000 0 74%, transparent 100%); mask: linear-gradient(180deg, #000 0 74%, transparent 100%);
}
.tc-carte:is(.r-secrete, .r-absolue) .tc-illu img.rendu { object-position: 50% 30%; }
/* voile de lecture à la couleur du thème */
/* (sélecteur renforcé : passe devant le liseré de série des Brillantes, .a-serie.holo .tc-illu-cadre::after) */
.tc-carte.tc-carte.tc-carte:is(.r-secrete, .r-absolue) .tc-illu-cadre::after {
  content: ""; background-size: auto; position: absolute; inset: 0; left: 0; right: 0; bottom: 0; height: auto; border-radius: 0; z-index: 2; pointer-events: none; animation: none;
  background: linear-gradient(180deg, rgba(var(--voile), .62) 0%, rgba(var(--voile), 0) 13%, rgba(var(--voile), 0) 40%, rgba(var(--voile), .7) 54%, rgba(var(--voile), .88) 68%, rgba(var(--voile), var(--voile-fort)) 100%);
}
/* couches animées des thèmes (rayons, braises, aurore, astrolabe, étoiles) en lumière par-dessus l'image */
.tc-carte:is(.r-secrete, .r-absolue) .tc-face::before, .tc-carte:is(.r-secrete, .r-absolue) .tc-face::after { z-index: 3; mix-blend-mode: screen; }
.tc-carte.dore:is(.r-secrete, .r-absolue) .tc-face::before { mix-blend-mode: soft-light; }
.tc-carte:is(.r-secrete, .r-absolue) :is(.tc-entete, .tc-bande, .tc-atks, .tc-talent, .tc-flavor, .tc-pied) { position: relative; z-index: 4; }
/* le texte se range en bas */
.tc-carte:is(.r-secrete, .r-absolue) .tc-illu-cadre + .tc-bande { margin-top: auto; }
.tc-carte:is(.r-secrete, .r-absolue) .tc-atks { flex: none; }
.tc-carte:is(.r-secrete, .r-absolue) .tc-entete { background: none !important; }
.tc-carte:is(.r-secrete, .r-absolue) .tc-nom { text-shadow: 0 .06em .12em rgba(0, 0, 0, .6); }
.tc-carte.dore.r-secrete[data-id="s2-S3"] .tc-nom, .tc-carte.dore.r-absolue .tc-nom { text-shadow: none; }
.tc-carte:is(.r-secrete, .r-absolue) .tc-rbadge { left: auto; right: .55em; bottom: auto; top: 2.3em; transform: none; z-index: 5; }
.tc-carte.r-absolue:not(.dore) .tc-bande { color: #fff4c2; }
/* noms et PV lisibles en full art (plus de bandeau d'en-tête) */
.tc-carte.tc-carte.ultime:is(.r-secrete) .tc-nom { text-shadow: none; filter: drop-shadow(0 .06em .1em rgba(0, 0, 0, .7)); }
.tc-carte.tc-carte.dore.r-secrete[data-id="s2-S1"] .tc-nom, .tc-carte.tc-carte.dore.r-secrete[data-id="s2-S5"] .tc-nom { color: #fff6e6; text-shadow: 0 .06em .14em rgba(0, 0, 0, .75); }
.tc-carte.tc-carte.dore.r-secrete[data-id="s2-S1"] .tc-pv, .tc-carte.tc-carte.dore.r-secrete[data-id="s2-S5"] .tc-pv, .tc-carte.tc-carte.dore.r-secrete[data-id="s2-S4"] .tc-pv { color: #ffe9a0; text-shadow: 0 .06em .14em rgba(0, 0, 0, .75); }
.tc-carte.tc-carte.dore.r-absolue .tc-nom { background: none; color: #4a2c00; -webkit-text-fill-color: #4a2c00; filter: drop-shadow(0 0 .3em rgba(255, 250, 225, .95)); }
.tc-carte.tc-carte.tc-carte.dore.r-secrete[data-id="s2-S4"] .tc-nom { background: none; color: #ffe9a0; -webkit-text-fill-color: #ffe9a0; text-shadow: 0 .06em .14em rgba(0, 0, 0, .8); filter: drop-shadow(0 0 .3em rgba(255, 200, 80, .6)); }

/* =====================================================================
   ABSOLUE — VRAI FULL ART (illustration verticale dédiée, nette sur toute la carte, aucun voile dégradé).
   Le texte reste lisible grâce à des pastilles translucides et une ombre portée nette.
   ===================================================================== */
.tc-carte.r-absolue[data-id="s2-X1"] { --art-full: url("assets/art/70-full.jpg"); }
.tc-carte.r-absolue .tc-illu-cadre > .tc-illu { display: none; }
.tc-carte.r-absolue .tc-illu-cadre::before { inset: 0; background: var(--art-full, var(--art, none)) 50% 18% / cover no-repeat; filter: none; opacity: 1; }
.tc-carte.dore.r-absolue .tc-illu-cadre::before { filter: sepia(.85) saturate(1.7) hue-rotate(-8deg) brightness(1.05) contrast(1.08); }
.tc-carte.tc-carte.tc-carte.r-absolue .tc-illu-cadre::after { display: none; }
.tc-carte.r-absolue .tc-face { background: #1b0a40; }
.tc-carte.r-absolue .tc-face::before { opacity: .55; }
/* texte : ombre nette + pastilles */
.tc-carte.r-absolue :is(.tc-entete, .tc-bande, .tc-atk, .tc-talent, .tc-pied) { text-shadow: 0 .05em .1em rgba(0, 0, 0, .9), 0 0 .35em rgba(0, 0, 0, .6); }
.tc-carte.r-absolue .tc-entete { margin: .3em .35em 0; padding: .25em .45em; border-radius: .5em; background: rgba(18, 6, 46, .55) !important; box-shadow: inset 0 0 0 .06em rgba(255, 244, 194, .35); }
.tc-carte.r-absolue .tc-bande { margin: 0 .35em .2em; padding: .2em .45em; border-radius: .45em; background: rgba(18, 6, 46, .6); }
.tc-carte.r-absolue .tc-atks { gap: .18em; padding: 0 .35em; }
.tc-carte.r-absolue .tc-atk { padding: .2em .4em; border-radius: .45em; border: 0; background: rgba(18, 6, 46, .62); box-shadow: inset 0 0 0 .06em rgba(255, 244, 194, .22); }
.tc-carte.r-absolue .tc-talent { margin: .2em .35em 0; background: rgba(18, 6, 46, .66) !important; box-shadow: inset 0 0 0 .06em rgba(255, 224, 138, .4) !important; }
.tc-carte.r-absolue .tc-pied { margin: .2em .35em .3em; padding: .15em .45em; border-radius: .45em; background: rgba(18, 6, 46, .6); }
.tc-carte.r-absolue:not(.dore) :is(.tc-bande, .tc-atk .txt, .tc-flavor, .tc-pied) { color: #e6dcff; }
.tc-carte.r-absolue .tc-atk .nomat, .tc-carte.r-absolue .tc-atk .puis { color: #ffffff; }
/* Dorée : pastilles d'ambre sombre, texte or clair */
.tc-carte.dore.r-absolue :is(.tc-entete, .tc-bande, .tc-atk, .tc-talent, .tc-pied) { background: rgba(58, 32, 0, .6) !important; box-shadow: inset 0 0 0 .06em rgba(255, 233, 160, .45) !important; }
.tc-carte.dore.r-absolue :is(.tc-bande, .tc-atk .txt, .tc-flavor, .tc-pied, .tc-talent) { color: #ffe9b0; }
.tc-carte.dore.r-absolue .tc-atk .nomat, .tc-carte.dore.r-absolue .tc-atk .puis, .tc-carte.dore.r-absolue .tc-talent b, .tc-carte.dore.r-absolue .tc-pied .sym { color: #fff6d6; }
.tc-carte.tc-carte.dore.r-absolue .tc-nom { color: #fff1b8; -webkit-text-fill-color: #fff1b8; filter: drop-shadow(0 0 .3em rgba(255, 200, 80, .7)); }
.tc-carte.tc-carte.dore.r-absolue .tc-pv { color: #ffe08a; }
