/* COINCOIN CLUB — le site. Tout est préfixé « cc- » pour pouvoir glisser ces onglets dans FAUST HUB plus tard. */
@font-face { font-family: "CoincoinTitre"; src: url("../../../assets/polices/display.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "CoincoinTexte"; src: url("../../../assets/polices/body.ttf") format("truetype"); font-display: swap; }

.cc-site {
  --cc-nuit: #08142b;
  --cc-nuit-2: #0f2346;
  --cc-turquoise: #3fe0e6;
  --cc-jaune: #ffd23f;
  --cc-or: #f2b53a;
  --cc-creme: #fff6d6;
  --cc-texte: #e8f0ff;
  --cc-doux: rgba(232, 240, 255, 0.68);
  --cc-verre: rgba(16, 36, 72, 0.62);
  --cc-verre-fort: rgba(12, 28, 58, 0.86);
  --cc-bord: rgba(255, 255, 255, 0.12);
  --cc-rayon: 18px;
  --r-commun: #cbd5cf; --r-detraque: #8bdf77; --r-rare: #54d7ff; --r-epique: #c18bff; --r-legendaire: #ffbf4f;
  --r-mythique: #ff568c; --r-holo: #9ff3ff; --r-or: #ffd34d; --r-diamant: #d9f6ff;
  margin: 0;
  min-height: 100vh;
  background: var(--cc-nuit);
  color: var(--cc-texte);
  font-family: "CoincoinTexte", system-ui, sans-serif;
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
}
.cc-site *, .cc-site *::before, .cc-site *::after { box-sizing: border-box; }
.cc-fond {
  position: fixed; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 20, 43, 0.35) 0%, rgba(8, 20, 43, 0.85) 55%, var(--cc-nuit) 100%),
    url("../../../assets/site/fond-accueil-desktop.webp") center top / cover no-repeat;
}
@media (max-aspect-ratio: 1/1) { .cc-fond { background-image: linear-gradient(180deg, rgba(8, 20, 43, 0.35) 0%, rgba(8, 20, 43, 0.88) 50%, var(--cc-nuit) 100%), url("../../../assets/site/fond-accueil-mobile.webp"); } }

/* ---------- en-tête et onglets ---------- */
.cc-entete {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 14px;
  padding: 10px 16px;
  background: linear-gradient(180deg, rgba(8, 20, 43, 0.92), rgba(8, 20, 43, 0.72));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cc-bord);
}
.cc-entete .cc-logo { height: 44px; width: auto; flex: none; }
.cc-onglets { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.cc-onglets::-webkit-scrollbar { display: none; }
.cc-onglets a {
  flex: none; padding: 9px 14px; border-radius: 999px; color: var(--cc-doux);
  text-decoration: none; font-size: 15px; white-space: nowrap;
}
.cc-onglets a:hover { color: var(--cc-creme); background: rgba(255, 255, 255, 0.06); }
.cc-onglets a[hidden] { display: none; }
.cc-onglets a[aria-current="page"] { color: #2a1600; background: linear-gradient(180deg, #ffe27a, var(--cc-or)); font-weight: 700; }
.cc-moi-mini { display: flex; align-items: center; gap: 8px; flex: none; text-decoration: none; color: var(--cc-creme); font-size: 14px; }
.cc-moi-mini img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--cc-or); background: var(--cc-nuit-2); }
.cc-plumes { font-weight: 700; color: var(--cc-jaune); white-space: nowrap; }
.cc-burger { display: none; }
@media (max-width: 760px) {
  .cc-entete { padding: 8px 12px; gap: 10px; }
  .cc-entete .cc-logo { height: 38px; }
  .cc-moi-mini { margin-left: auto; }
  .cc-burger {
    order: 3; display: grid; place-content: center; gap: 5px; width: 46px; height: 46px; flex: none;
    border-radius: 14px; border: 1px solid var(--cc-bord); background: var(--cc-verre); cursor: pointer;
  }
  .cc-burger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--cc-creme); transition: transform 0.25s, opacity 0.2s; }
  .cc-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .cc-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .cc-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .cc-onglets {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 2px; overflow: visible;
    padding: 10px 12px 16px; background: rgba(8, 20, 43, 0.97); border-bottom: 1px solid var(--cc-bord);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); backdrop-filter: blur(14px);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity 0.2s, transform 0.2s, visibility 0s 0.2s;
  }
  .cc-onglets.ouvert { visibility: visible; opacity: 1; transform: none; transition: opacity 0.2s, transform 0.2s; }
  .cc-onglets a { padding: 14px 16px; font-size: 17px; border-radius: 12px; }
}

/* ---------- mise en page ---------- */
.cc-page { max-width: 1120px; margin: 0 auto; padding: 22px 16px 80px; }
.cc-titre {
  font-family: "CoincoinTitre", sans-serif; font-weight: 400; color: var(--cc-creme);
  font-size: clamp(28px, 5vw, 44px); line-height: 1.05; margin: 0 0 6px;
  -webkit-text-stroke: 1px #1b0f2e; text-shadow: 0 4px 0 #1b0f2e;
}
.cc-sous-titre { color: var(--cc-doux); margin: 0 0 22px; }
.cc-h2 { font-family: "CoincoinTitre", sans-serif; font-weight: 400; font-size: 22px; letter-spacing: 0.02em; color: var(--cc-jaune); margin: 0 0 12px; }
.cc-grille-2 { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; }
.cc-grille-2 > * { min-width: 0; }
@media (max-width: 860px) { .cc-grille-2 { grid-template-columns: minmax(0, 1fr); } }
.cc-panneau {
  background: var(--cc-verre); border: 1px solid var(--cc-bord); border-radius: var(--cc-rayon);
  padding: 18px; backdrop-filter: blur(10px);
}
.cc-panneau + .cc-panneau { margin-top: 18px; }
.cc-vide { color: var(--cc-doux); text-align: center; padding: 28px 10px; }

/* ---------- boutons et champs ---------- */
.cc-bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; cursor: pointer;
  font-family: "CoincoinTitre", sans-serif; font-size: 17px; letter-spacing: 0.03em; text-decoration: none;
  color: #2a1600; background: linear-gradient(180deg, #ffe27a, var(--cc-or));
  box-shadow: 0 5px 0 #9a6410, 0 10px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.12s, box-shadow 0.12s, filter 0.2s;
}
.cc-bouton:hover { filter: brightness(1.06); }
.cc-bouton:active { transform: translateY(4px); box-shadow: 0 1px 0 #9a6410; }
.cc-bouton[disabled], .cc-bouton.inactif { filter: grayscale(0.8) brightness(0.7); cursor: not-allowed; transform: none; box-shadow: 0 5px 0 #4a3a20; }
.cc-bouton.secondaire { color: var(--cc-creme); background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px var(--cc-bord); }
.cc-bouton.special { color: #fff; background: linear-gradient(180deg, #b78bff, #6b3cc9); box-shadow: 0 5px 0 #3e1f80, 0 10px 24px rgba(0, 0, 0, 0.35); }
.cc-bouton.petit { min-height: 38px; padding: 0 16px; font-size: 15px; }
.cc-bouton:focus-visible, .cc-champ:focus-visible, .cc-onglets a:focus-visible, .cc-tuile:focus-visible { outline: 2px solid var(--cc-turquoise); outline-offset: 2px; }
.cc-champ {
  width: 100%; min-height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--cc-bord);
  background: rgba(4, 12, 28, 0.6); color: var(--cc-creme); font: inherit; font-size: 16px;
}
.cc-etiquette { display: block; font-size: 14px; color: var(--cc-doux); margin: 12px 0 6px; }
.cc-erreur { color: #ff8fa8; margin: 10px 0 0; min-height: 1.5em; }
.cc-ok { color: #8bdf77; }

/* ---------- accueil ---------- */
.cc-heros { text-align: center; padding: 18px 0 26px; }
.cc-heros .cc-logo-grand { width: min(520px, 86vw); height: auto; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5)); }
.cc-heros p { font-size: clamp(16px, 2.4vw, 20px); color: var(--cc-creme); margin: 8px 0 20px; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cc-chiffres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 18px; }
.cc-chiffre { text-align: center; padding: 14px 8px; background: var(--cc-verre); border: 1px solid var(--cc-bord); border-radius: var(--cc-rayon); }
a.cc-chiffre:hover { border-color: rgba(255, 210, 63, 0.5); }
.cc-chiffre b { display: block; font-family: "CoincoinTitre", sans-serif; font-size: clamp(24px, 4vw, 34px); color: var(--cc-jaune); line-height: 1.1; }
.cc-chiffre span { font-size: 13px; color: var(--cc-doux); }
.cc-chiffre em { display: block; font-style: normal; font-size: 12px; color: var(--cc-jaune); margin-top: 2px; }

/* ---------- lignes (classements, actus) ---------- */
.cc-ligne { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); text-decoration: none; color: inherit; border-radius: 12px; }
.cc-ligne:hover { background: rgba(255, 255, 255, 0.04); }
.cc-ligne:last-child { border-bottom: 0; }
.cc-rang { width: 32px; text-align: center; font-family: "CoincoinTitre", sans-serif; font-size: 20px; color: var(--cc-doux); flex: none; }
.cc-rang.r1 { color: var(--cc-jaune); } .cc-rang.r2 { color: #dfe7f2; } .cc-rang.r3 { color: #e3a46c; }
.cc-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; background: var(--cc-nuit-2); border: 2px solid rgba(255, 255, 255, 0.15); display: grid; place-items: center; font-family: "CoincoinTitre", sans-serif; color: var(--cc-creme); overflow: hidden; }
.cc-qui { flex: 1; min-width: 0; }
.cc-qui b { display: block; color: var(--cc-creme); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-qui small { color: var(--cc-doux); }
.cc-valeur { font-family: "CoincoinTitre", sans-serif; font-size: 20px; color: var(--cc-jaune); flex: none; }
.cc-cadenas { font-size: 12px; color: var(--cc-doux); border: 1px solid var(--cc-bord); border-radius: 999px; padding: 1px 8px; margin-left: 6px; white-space: nowrap; }
.cc-actu-canard { width: 46px; height: 46px; object-fit: contain; flex: none; }
.cc-sous-onglets { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.cc-sous-onglets button { border: 1px solid var(--cc-bord); background: transparent; color: var(--cc-doux); border-radius: 999px; padding: 8px 14px; cursor: pointer; font: inherit; font-size: 14px; }
.cc-sous-onglets button[aria-pressed="true"] { background: rgba(255, 210, 63, 0.15); color: var(--cc-jaune); border-color: rgba(255, 210, 63, 0.5); }

/* ---------- album ---------- */
.cc-profil-tete { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cc-profil-tete .cc-avatar { width: 72px; height: 72px; font-size: 28px; border-color: var(--cc-or); }
.cc-progression { height: 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; margin: 10px 0 4px; }
.cc-progression i { display: block; height: 100%; background: linear-gradient(90deg, var(--cc-turquoise), var(--cc-jaune)); border-radius: 999px; }
.cc-filtres { display: flex; gap: 6px; flex-wrap: wrap; margin: 14px 0; }
.cc-filtres button { border: 1px solid var(--cc-bord); background: rgba(255, 255, 255, 0.04); color: var(--cc-doux); border-radius: 999px; padding: 6px 12px; cursor: pointer; font: inherit; font-size: 13px; }
.cc-filtres button[aria-pressed="true"] { color: var(--cc-nuit); background: var(--cc-creme); }
.cc-album { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.cc-tuile {
  position: relative; aspect-ratio: 5 / 7; border-radius: 12px; padding: 0; cursor: pointer; overflow: hidden;
  border: 2px solid var(--rc, var(--r-commun)); color: inherit; font: inherit;
  background: radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--rc) 28%, transparent), transparent 70%), linear-gradient(180deg, #13305c, #0a1a36);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 6px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s;
}
.cc-tuile:hover { transform: translateY(-3px) rotate(-0.6deg); }
.cc-tuile img { position: absolute; inset: 8% 6% 26%; width: 88%; height: 66%; object-fit: contain; }
.cc-tuile .cc-num { position: absolute; top: 6px; left: 8px; font-size: 11px; color: var(--cc-doux); }
.cc-tuile .cc-nb { position: absolute; top: 5px; right: 6px; font-size: 11px; font-weight: 700; color: var(--cc-nuit); background: var(--cc-jaune); border-radius: 999px; padding: 0 6px; }
.cc-tuile .cc-nom { position: absolute; left: 4px; right: 4px; bottom: 6px; font-family: "CoincoinTitre", sans-serif; font-size: 12px; line-height: 1.1; text-align: center; color: var(--cc-creme); }
.cc-tuile .cc-possesseurs { position: absolute; top: 5px; right: 6px; font-size: 11px; color: var(--cc-creme); background: rgba(4, 12, 28, 0.75); border-radius: 999px; padding: 0 6px; }
.cc-tuile .cc-r { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--rc); }
.cc-tuile.manquant { border-color: rgba(255, 255, 255, 0.12); background: linear-gradient(180deg, #0f2140, #08142b); }
.cc-tuile.manquant img { filter: brightness(0) opacity(0.5); }
.cc-tuile.manquant .cc-nom { color: var(--cc-doux); }
.cc-tuile .cc-boite { position: absolute; top: 22px; right: 4px; width: 30px; height: 30px; }
.cc-tuile.prestige::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.35) 45%, transparent 60%); animation: cc-reflet 3.5s ease-in-out infinite; pointer-events: none; }
.cc-tuile.manquant.prestige::after { display: none; }
@keyframes cc-reflet { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@media (max-width: 520px) { .cc-album { grid-template-columns: repeat(3, 1fr); gap: 8px; } }

/* ---------- fenêtre carte ---------- */
.cc-fenetre { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(2, 6, 16, 0.82); backdrop-filter: blur(6px); }
.cc-fenetre[hidden] { display: none; }
.cc-fenetre-contenu { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 300px); gap: 22px; align-items: center; max-height: 100%; overflow: auto; }
.cc-fenetre canvas, .cc-fenetre .cc-carte-mystere { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6); }
.cc-fenetre-infos dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; }
.cc-fenetre-infos dt { color: var(--cc-doux); }
.cc-fenetre-infos dd { margin: 0; color: var(--cc-creme); }
.cc-fleche {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid var(--cc-bord); background: var(--cc-verre-fort); color: var(--cc-jaune); font-size: 36px; line-height: 1; cursor: pointer;
}
.cc-fleche:hover { border-color: rgba(255, 210, 63, 0.6); }
.cc-fleche.precedent { left: 14px; } .cc-fleche.suivant { right: 14px; }
.cc-position { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); margin: 0; color: var(--cc-doux); font-size: 14px; }
@media (max-width: 700px) {
  .cc-fleche { position: fixed; top: auto; bottom: 14px; transform: none; width: 50px; height: 50px; }
  .cc-position { position: fixed; top: 22px; }
}
.cc-fermer { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--cc-bord); background: var(--cc-verre-fort); color: var(--cc-creme); font-size: 22px; cursor: pointer; }
@media (max-width: 700px) {
  .cc-fenetre { place-items: start center; padding: 70px 12px 84px; overflow-y: auto; }
  .cc-fenetre-contenu { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 14px; overflow: visible; max-height: none; width: 100%; }
  .cc-fenetre canvas, .cc-fenetre .cc-carte-mystere { max-width: min(250px, 66vw); }
  .cc-fenetre-infos { width: 100%; }
}

/* ---------- compte & espace ---------- */
.cc-code {
  font-family: "CoincoinTitre", sans-serif; font-size: clamp(34px, 8vw, 54px); letter-spacing: 0.08em; text-align: center;
  color: var(--cc-jaune); background: rgba(4, 12, 28, 0.7); border: 2px dashed rgba(255, 210, 63, 0.6); border-radius: 18px; padding: 14px; margin: 12px 0; user-select: all;
}
.cc-etapes { counter-reset: e; list-style: none; padding: 0; margin: 12px 0; }
.cc-etapes li { counter-increment: e; position: relative; padding: 4px 0 10px 40px; }
.cc-etapes li::before { content: counter(e); position: absolute; left: 0; top: 2px; width: 28px; height: 28px; border-radius: 50%; background: var(--cc-or); color: #2a1600; font-weight: 700; display: grid; place-items: center; }
.cc-boosters { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.cc-booster-carte { position: relative; text-align: center; padding: 16px 12px 18px; border-radius: var(--cc-rayon); background: rgba(4, 12, 28, 0.5); border: 1px solid var(--cc-bord); }
.cc-booster-carte img { width: 92px; height: auto; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.6)); transform: rotate(-5deg); transition: transform 0.25s; }
.cc-booster-carte:hover img { transform: rotate(3deg) scale(1.05); }
.cc-booster-carte h3 { font-family: "CoincoinTitre", sans-serif; font-weight: 400; font-size: 18px; margin: 10px 0 2px; color: var(--cc-creme); }
.cc-booster-carte p { margin: 0 0 12px; color: var(--cc-doux); font-size: 14px; }
.cc-pastille { position: absolute; top: 10px; right: 10px; background: #ff4f7b; color: #fff; font-weight: 700; border-radius: 999px; min-width: 26px; height: 26px; padding: 0 8px; display: grid; place-items: center; font-size: 14px; }
.cc-choix { display: flex; flex-direction: column; gap: 8px; }
.cc-choix label { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--cc-bord); cursor: pointer; }
.cc-choix label:has(input:checked) { border-color: rgba(255, 210, 63, 0.6); background: rgba(255, 210, 63, 0.08); }
.cc-choix input { margin-top: 4px; accent-color: var(--cc-or); }
.cc-album.selection .cc-tuile { cursor: pointer; }
.cc-album.selection .cc-tuile:not(.coche) { opacity: 0.45; filter: grayscale(0.6); }
.cc-album.selection .cc-tuile.coche { box-shadow: 0 0 0 3px var(--cc-jaune), 0 6px 14px rgba(0, 0, 0, 0.35); }

/* ---------- démo ---------- */
.cc-demo { border: 2px dashed rgba(63, 224, 230, 0.6); background: rgba(10, 60, 70, 0.35); }
.cc-demo .cc-h2 { color: var(--cc-turquoise); }
.cc-demo .cc-actions { justify-content: flex-start; }

/* ---------- règles ---------- */
.cc-regles h3 { font-family: "CoincoinTitre", sans-serif; font-weight: 400; color: var(--cc-jaune); font-size: 20px; margin: 22px 0 8px; }
.cc-regles p, .cc-regles li { color: var(--cc-texte); }
.cc-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.cc-table th, .cc-table td { padding: 8px 10px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.cc-table th { color: var(--cc-doux); font-weight: 400; font-size: 13px; }
.cc-table td.r { font-weight: 700; }

.cc-toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 30px); opacity: 0; z-index: 60; padding: 12px 20px; border-radius: 999px; background: var(--cc-verre-fort); border: 1px solid var(--cc-bord); color: var(--cc-creme); transition: 0.3s; max-width: calc(100% - 32px); text-align: center; }
.cc-toast.visible { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .cc-tuile.prestige::after { animation: none; } .cc-tuile, .cc-booster-carte img { transition: none; } }

/* Le club dans le hub Faust : retour au hub (en-tête sur ordinateur, dans le menu burger sur téléphone) */
.cc-retour-hub { flex: none; color: var(--cc-doux); text-decoration: none; font-size: 13px; letter-spacing: 1px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; padding: 7px 12px; }
.cc-retour-hub:hover, .cc-retour-hub:focus-visible { color: var(--cc-creme); border-color: var(--cc-or); }
.cc-onglet-hub { display: none !important; }
.cc-centre { max-width: 620px; margin-inline: auto; }
@media (max-width: 760px) {
  .cc-retour-hub { display: none; }
  .cc-onglet-hub { display: block !important; opacity: 0.8; }
}

/* 11/11/2026 — bouton « Me prévenir des lives COINCOIN » (notifications du hub) */
.cc-alerte { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; margin: 14px 0 0; }
.cc-alerte small { color: var(--cc-doux); font-size: 13px; max-width: 420px; }
.cc-alerte-ok { margin: 12px 0 0; color: var(--cc-turquoise); font-size: 14px; }

/* 12/11/2026 — cartes ÉVÉNEMENT : néon rouge → violet, elles doivent sortir du lot */
.cc-evenements { border: 1px solid rgba(255,46,154,.55); box-shadow: 0 0 0 1px rgba(180,77,255,.35), 0 0 40px rgba(255,46,154,.25); background: linear-gradient(160deg, rgba(60,0,40,.55), rgba(20,0,40,.55)); }
.cc-evenements .cc-h2 { color: #ffd6f5; text-shadow: 0 0 12px #ff2e9a, 0 0 28px #b44dff; }
.cc-event-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 230px)); gap: 18px; }
.cc-event-carte { margin: 0; text-align: center; }
.cc-event-carte img { width: 100%; height: auto; border-radius: 16px; display: block; filter: drop-shadow(0 0 14px rgba(255,46,154,.7)) drop-shadow(0 0 30px rgba(180,77,255,.5)); animation: cc-event-pulse 2.4s ease-in-out infinite alternate; }
.cc-event-carte figcaption { display: grid; gap: 2px; margin-top: 10px; font-size: 13px; color: #ffd6f5; }
.cc-event-carte figcaption b { font-family: CoincoinTitre, sans-serif; font-size: 18px; color: #fff; text-shadow: 0 0 10px #ff2e9a; }
.cc-booster-event { border-color: rgba(255,46,154,.7) !important; box-shadow: 0 0 24px rgba(255,46,154,.35); }
@keyframes cc-event-pulse { from { filter: drop-shadow(0 0 10px rgba(255,46,154,.55)) drop-shadow(0 0 22px rgba(180,77,255,.4)); } to { filter: drop-shadow(0 0 18px rgba(255,46,154,.9)) drop-shadow(0 0 40px rgba(180,77,255,.7)); } }
@media (prefers-reduced-motion: reduce) { .cc-event-carte img { animation: none; } }

/* 12/11/2026 — « Ton butin t'attend ! » */
.cc-butin { border: 2px solid var(--cc-jaune); border-radius: 22px; background: linear-gradient(160deg, var(--cc-nuit-2), var(--cc-nuit)); color: var(--cc-creme, #fff);
  padding: 24px 22px; max-width: min(92vw, 420px); box-shadow: 0 0 0 4px rgba(255,210,63,.15), 0 30px 80px rgba(0,0,0,.7); }
.cc-butin::backdrop { background: rgba(4,10,24,.72); backdrop-filter: blur(3px); }
.cc-butin h2 { font-family: CoincoinTitre, sans-serif; color: var(--cc-jaune); margin: 0 0 14px; font-size: 28px; text-align: center; }
.cc-butin ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.cc-butin li { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 12px; background: rgba(255,255,255,.05); }
.cc-butin li img { width: 34px; height: auto; border-radius: 4px; }
.cc-butin li span { margin-left: auto; color: var(--cc-turquoise); font-size: 13px; }
.cc-butin li.cc-butin-event { border: 1px solid rgba(255,46,154,.7); box-shadow: 0 0 16px rgba(255,46,154,.35); }
.cc-butin-roue { margin: 0 0 14px; text-align: center; }
.cc-butin-boutons { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* 12/11/2026 — Partager sur TikTok */
.cc-event-carte .cc-partage{display:block;margin:10px auto 0}
.cc-partage[disabled]{opacity:.6;cursor:wait}

/* 13/11/2026 — la plaque du bas des cartes EVENT (vide sur l'illustration) : nom en néon + édition, comme à l'ouverture */
.cc-event-visuel{position:relative;container-type:inline-size}
.cc-event-visuel img{display:block;width:100%;height:auto}
.cc-event-plaque{position:absolute;left:9%;right:9%;top:84.6%;height:10.6%;display:flex;flex-direction:column;align-items:center;
  justify-content:center;gap:.6cqw;text-align:center;pointer-events:none;overflow:hidden}
.cc-event-plaque b{font-family:CoincoinTitre,sans-serif;font-weight:400;font-size:6cqw;line-height:1;color:#fff;white-space:nowrap;
  text-transform:uppercase;text-shadow:0 0 .8cqw #ff2e9a,0 0 2.4cqw #ff2e9a}
.cc-event-plaque i{font-style:normal;font-family:CoincoinTexte,sans-serif;font-size:2.8cqw;line-height:1.1;color:#ffd6f5;white-space:nowrap;
  text-shadow:0 0 1.2cqw #b44dff}

/* 12/11/2026 — CHEAT CARDS : boîte à outils, « ? », badges hack / protection, mamie, plein écran, règles */
.cc-aide { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; margin-left: 6px; vertical-align: middle;
  font: 800 14px/1 CoincoinTexte, sans-serif; color: #1a0f05; background: #ffd23f; text-decoration: none; box-shadow: 0 2px 0 #8a5a00; }
.cc-aide:hover { transform: scale(1.12); }
.cc-boite { position: relative; margin: 18px 0; padding: 14px 16px 16px; border-radius: 18px; border: 2px solid #3a240f;
  background: #4a2f16 url("../../../assets/cheats/boite/fond.webp") center/auto 100% repeat-x; box-shadow: inset 0 0 0 2px #00000040, 0 10px 30px #0008; }
.cc-boite > .cc-aide { position: absolute; top: 10px; right: 12px; }
.cc-boite-titre { margin: 0 0 6px; }
.cc-boite-titre img { width: min(300px, 70%); height: auto; filter: drop-shadow(0 4px 6px #000a); }
.cc-boite.vide { padding: 8px 14px; }
.cc-boite.vide .cc-boite-titre img { width: min(200px, 55%); }
.cc-boite-vide { margin: 0; color: #f3dfc0; font-size: 13px; text-shadow: 0 1px 2px #000; }
.cc-outils { display: grid; gap: 12px; }
.cc-outil { display: flex; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 14px; background: #1b1009d9; border: 2px solid var(--oc);
  box-shadow: 0 0 18px #0009; }
.cc-outil-carte { position: relative; flex: 0 0 auto; border: 0; padding: 0; background: none; cursor: zoom-in; }
.cc-outil-carte img { width: 92px; height: auto; filter: drop-shadow(0 6px 10px #000a); transition: transform .2s; }
.cc-outil-carte:hover img { transform: rotate(-4deg) scale(1.06); }
.cc-outil-texte b { color: var(--oc); font-family: CoincoinTitre, sans-serif; font-weight: 400; font-size: 20px; letter-spacing: .5px; }
.cc-outil-texte p { margin: 4px 0 8px; font-size: 13px; color: #f3e6d0; }
.cc-outil-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cc-outil-etat { font-size: 13px; color: #fff3dd; }
.cc-outil-protege { margin: 10px 0 0; font-size: 13px; color: #9ff3ff; }
.cc-bouton-virus { background: #7dff3a !important; color: #0c2a00 !important; }
.cc-bouton-hack { background: #0b0f0b !important; color: #39ff14 !important; border: 2px solid #39ff14 !important; font-family: monospace; }
.cc-bouton-mamie { background: #e8b04a !important; color: #3a1f00 !important; }
.cc-hackable { position: absolute; left: 6px; bottom: 30px; z-index: 2; padding: 2px 7px; border-radius: 10px; font-size: 11px; font-weight: 800;
  color: #39ff14; background: #050805e6; border: 1px solid #39ff14; box-shadow: 0 0 8px #39ff1488; }
.cc-hack-info { margin: 10px 0; padding: 10px 14px; border-radius: 12px; background: #050805; border: 2px solid #39ff14; color: #b8ffb0; font-family: monospace; }
.cc-hack-fiche { margin: 14px 0 6px; color: #39ff14; font-weight: 700; }
.cc-protege { margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 10px; background: #0b2a33; color: #9ff3ff; font-weight: 700; font-size: 14px; }
.cc-mamie-banniere { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; padding: 10px 14px; border-radius: 14px;
  background: linear-gradient(90deg, #6b4a1a, #b8742a); border: 2px solid #ffd36b; color: #fff6e0; box-shadow: 0 0 22px #ffd36b66; }
.cc-mamie-banniere b { font-family: CoincoinTitre, sans-serif; font-weight: 400; font-size: 20px; }
.cc-mamie-banniere span { font-size: 13px; }
.cc-plein-ecran { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
.cc-plein-ecran::backdrop { background: #000d; }
.cc-plein-ecran figure { margin: 0; display: grid; justify-items: center; gap: 10px; }
.cc-plein-ecran .cc-event-visuel { width: min(80vw, calc(80vh / 1.4)); filter: drop-shadow(0 0 30px var(--oc)); }
.cc-plein-ecran figcaption { max-width: 520px; text-align: center; color: #fff5db; font-size: 14px; }
.cc-plein-ecran .cc-fermer { position: fixed; top: 14px; right: 18px; }
.cc-cheat-plaque b { text-shadow: 0 0 .8cqw var(--oc), 0 0 2.4cqw var(--oc) !important; }
.cc-cheat-plaque i { color: #f1ffe8 !important; text-shadow: 0 0 1.2cqw var(--oc) !important; }
.cc-regles-cheats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 12px 0; }
.cc-regle-cheat { border: 0; padding: 0; background: none; cursor: zoom-in; display: grid; gap: 6px; color: var(--oc); font-family: CoincoinTitre, sans-serif; font-size: 15px; }
.cc-regle-cheat img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 0 18px #000a; transition: transform .2s; }
.cc-regle-cheat:hover img { transform: translateY(-4px) rotate(-1.5deg); }
@media (max-width: 600px) { .cc-regles-cheats { gap: 6px; } .cc-regle-cheat { font-size: 11px; } .cc-outil-carte img { width: 72px; } }

.cc-regle-cheat .cc-event-visuel { display: block; }

/* 12/11/2026 — 🆕 NOUVEAUTÉS de l'accueil : une carte toutes les 5 s, flèches, points, clic = carte au centre */
.cc-nouveautes { position: relative; margin: 18px 0; padding: 14px 54px 30px; border-radius: 20px; background: linear-gradient(180deg, #13305cee, #0a1a36ee);
  border: 2px solid #ffd23f55; box-shadow: 0 12px 34px #0009; overflow: hidden; }
.cc-nouv-etiquette { margin: 0 0 8px; font-family: CoincoinTitre, sans-serif; color: #ffd23f; letter-spacing: 2px; font-size: 18px; }
.cc-nouv-piste { position: relative; min-height: 150px; }
.cc-nouv-carte { position: absolute; inset: 0; display: flex; gap: 18px; align-items: center; text-align: left; border: 2px solid var(--nc); border-radius: 16px;
  padding: 12px 16px; background: radial-gradient(circle at 12% 50%, color-mix(in srgb, var(--nc) 30%, transparent), transparent 60%), #0b1430;
  color: #fff5db; cursor: pointer; opacity: 0; transform: translateX(40px) scale(.97); transition: opacity .45s, transform .45s; pointer-events: none; font: inherit; }
.cc-nouv-carte.active { opacity: 1; transform: none; pointer-events: auto; }
.cc-nouv-carte img { width: 120px; height: 120px; object-fit: contain; flex: 0 0 auto; filter: drop-shadow(0 6px 14px #000a); }
.cc-nouv-carte span { display: grid; gap: 4px; }
.cc-nouv-carte small { color: var(--nc); font-weight: 800; letter-spacing: 1px; text-transform: uppercase; font-size: 12px; }
.cc-nouv-carte b { font-family: CoincoinTitre, sans-serif; font-weight: 400; font-size: clamp(20px, 3vw, 28px); color: #fff; }
.cc-nouv-carte em { font-style: normal; font-size: 14px; color: #fff5dbcc; }
.cc-nouv-fleche { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: #ffd23f; color: #1a0f05; font: 900 24px/1 sans-serif; box-shadow: 0 3px 0 #8a5a00; }
.cc-nouv-fleche.precedent { left: 10px; } .cc-nouv-fleche.suivant { right: 10px; }
.cc-nouv-points { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 8px; }
.cc-nouv-points button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: #ffffff40; cursor: pointer; }
.cc-nouv-points button[aria-current] { background: #ffd23f; transform: scale(1.3); }
.cc-nouv-ouverte { max-width: min(520px, 92vw); border: 3px solid var(--nc); border-radius: 22px; background: #0b1430; color: #fff5db; text-align: center; padding: 22px;
  box-shadow: 0 0 40px color-mix(in srgb, var(--nc) 50%, transparent); }
.cc-nouv-ouverte::backdrop { background: #000c; }
.cc-nouv-ouverte img { width: min(280px, 60vw); height: auto; filter: drop-shadow(0 10px 24px #000b); animation: cc-avent-pop .6s cubic-bezier(.2,1.6,.4,1); }
.cc-nouv-ouverte small { display: block; color: var(--nc); font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.cc-nouv-ouverte h2 { font-family: CoincoinTitre, sans-serif; font-weight: 400; margin: 6px 0; font-size: 30px; }
@keyframes cc-avent-pop { 0% { transform: scale(0) rotate(-20deg); } 100% { transform: scale(1) rotate(0); } }
@media (max-width: 600px) { .cc-nouveautes { padding: 12px 12px 30px; } .cc-nouv-fleche { display: none; } .cc-nouv-carte { gap: 10px; } .cc-nouv-carte img { width: 80px; height: 80px; } .cc-nouv-piste { min-height: 170px; } }
@media (prefers-reduced-motion: reduce) { .cc-nouv-carte { transition: none; } }

/* 13/11/2026 — WINNERS DE PLUMES, QUI A LA CARTE ? */
.cc-plumes-badge { flex: none; padding: 5px 12px; border-radius: 999px; background: rgba(255, 210, 63, 0.14); border: 1px solid rgba(255, 210, 63, 0.55); color: var(--cc-jaune); font-family: "CoincoinTitre", sans-serif; font-size: 18px; white-space: nowrap; }
.cc-plumes-badge.attente { font-family: inherit; font-size: 12px; color: var(--cc-doux); border-color: var(--cc-bord); background: transparent; }
.cc-chrono { text-align: center; }
.cc-chrono p { margin: 0; color: var(--cc-doux); text-transform: uppercase; letter-spacing: .12em; font-size: 13px; }
.cc-chrono b { display: block; font-family: "CoincoinTitre", sans-serif; font-weight: 400; font-size: clamp(38px, 7vw, 56px); color: var(--cc-jaune); text-shadow: 0 4px 0 #8a5a00; }
.cc-chrono small { color: var(--cc-doux); }
.cc-matchs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 14px; }
.cc-match-carte { border-radius: 20px; padding: 14px; background: linear-gradient(180deg, #13305cee, #0a1a36ee); border: 2px solid var(--cc-bord); box-shadow: 0 12px 30px #0008; }
.cc-match-carte.win { border-color: #ffd23f; box-shadow: 0 0 26px rgba(255, 210, 63, 0.25), 0 12px 30px #0008; }
.cc-match-carte.lose { border-color: #ff5d7a88; }
.cc-match-carte header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 6px; }
.cc-match-carte header small { margin-left: auto; color: var(--cc-doux); font-size: 12px; }
.cc-match-verdict { font-family: "CoincoinTitre", sans-serif; font-size: 26px; color: var(--cc-jaune); }
.cc-match-carte.lose .cc-match-verdict { color: #ff8aa0; }
.cc-lien-possesseurs { border: 0; padding: 0; background: none; color: var(--cc-jaune); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-align: left; }
.cc-possesseurs-liste { max-height: min(52vh, 460px); overflow-y: auto; }

/* 13/11/2026 — les cartes EVENT (E1, E2…) à la suite des 200 canards */
.cc-tuile-event { --rc: #ff5ccf; background: radial-gradient(circle at 50% 35%, rgba(255, 92, 207, 0.28), transparent 65%), rgba(20, 8, 40, 0.85); border-color: rgba(255, 92, 207, 0.7); box-shadow: 0 0 16px rgba(255, 92, 207, 0.25); }
.cc-tuile-event img { inset: 6% 10% 22%; width: 80%; height: 72%; }
.cc-tuile-event .cc-num { color: #ff9be0; font-weight: 800; }
.cc-tuile-event .cc-r-event { position: absolute; left: 0; right: 0; bottom: 0; height: auto; padding: 3px 0; font-size: 10px; letter-spacing: .14em; color: #1a0620; background: linear-gradient(90deg, #ff5ccf, #ffd23f); text-align: center; font-weight: 800; }
.cc-tuile-event.manquant img { filter: grayscale(1) brightness(.55); }
.cc-event-fiche { width: min(360px, 80vw); }

/* 13/11/2026 — carrousel NOUVEAUTÉS : la hauteur suit le texte (plus de débordement), version téléphone propre */
.cc-nouv-piste { display: grid; min-height: 0; }
.cc-nouv-carte { grid-area: 1 / 1; position: relative; inset: auto; }
@media (max-width: 700px) {
  .cc-nouveautes { padding: 10px 10px 30px !important; border-radius: 16px; }
  .cc-nouv-fleche { display: none !important; }
  .cc-nouv-carte { gap: 10px; padding: 10px 12px; align-items: flex-start; border-radius: 14px; }
  .cc-nouv-carte img { width: 64px !important; height: 64px !important; margin-top: 4px; }
  .cc-nouv-carte small { font-size: 10px; }
  .cc-nouv-carte b { font-size: 18px !important; line-height: 1.1; }
  .cc-nouv-carte em { font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
  .cc-nouv-etiquette { font-size: 15px; margin-bottom: 6px; }
}

/* 13/11/2026 : 3 compteurs (découverts, membres, en attente) : sur téléphone, 2 + 1 en large */
@media (max-width: 600px) { .cc-chiffres { grid-template-columns: 1fr 1fr; } .cc-chiffres > :last-child:nth-child(3) { grid-column: 1 / -1; } }

/* 13/11/2026 — badge de la SÉRIE 2 « LES DÉGUEUX » sur les tuiles */
.cc-tuile .cc-badge-serie { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; filter: drop-shadow(0 2px 4px #000a); }
.cc-tuile .cc-boite + .cc-badge-serie { top: 52px; }

/* 14/11/2026 — COINCOIN SHOP : les sachets Série 1 + LES DÉGUEUX côte à côte */
.cc-duo-sachets { position: relative; display: inline-flex; justify-content: center; align-items: flex-end; }
.cc-booster-carte .cc-duo-sachets img:not(.cc-duo-badge) { width: 46% !important; max-width: 110px; height: auto; }
.cc-duo-sachets img:nth-child(1) { transform: rotate(-6deg); }
.cc-duo-sachets img:nth-child(2) { margin-left: -12%; transform: rotate(6deg); filter: drop-shadow(0 0 10px rgba(125, 255, 58, 0.35)); }
.cc-duo-sachets .cc-duo-badge { position: absolute; top: -6px; right: 4px; width: 34px !important; height: 34px; }
.cc-annonce-s2 { margin: 0 0 14px; padding: 10px 14px; border-radius: 14px; border: 1px solid rgba(125, 255, 58, 0.5); background: rgba(125, 255, 58, 0.08); }
.cc-annonce-s2 a { color: #9dff5c; }

/* ===================================================================================================================
   14/11/2026 (Faust) — MON ESPACE : deux cartes carrées côte à côte — PUZZLE (gauche) + BOÎTE À OUTILS (droite)
   (l'une sous l'autre sur téléphone). Fonds Codex : assets/espace/carte-*.webp (dégradés de secours dessous).
   =================================================================================================================== */
.cc-duo-carres { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 18px 0; align-items: stretch; }
.cc-duo-carres.seule { grid-template-columns: 1fr; }
.cc-carre { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; margin: 0;
  aspect-ratio: 1 / 1; padding: 16px 16px 18px; border-radius: 20px; overflow: hidden; text-align: center;
  box-shadow: inset 0 0 0 2px #00000040, 0 12px 32px #000a; }
.cc-carre > .cc-aide { position: absolute; top: 12px; right: 12px; z-index: 3; }
.cc-carre-titre { margin: 0; line-height: 1; font-family: CoincoinTitre, sans-serif; font-weight: 400; font-size: 26px; color: var(--cc-jaune);
  text-shadow: 0 3px 0 #8a5a00; }
.cc-carre-titre img { width: min(240px, 66%); height: auto; filter: drop-shadow(0 4px 6px #000a); }
.cc-carre-texte { margin: 2px 0 0; font-size: 13px; color: #fff3dd; text-shadow: 0 1px 2px #000; max-width: 34ch; }

/* la carte PUZZLE */
.cc-carre-puzzle { border: 2px solid #b8862b;
  background: url("../../../assets/espace/carte-puzzle.webp") center/cover no-repeat,
    radial-gradient(circle at 50% 30%, #2a4a7a 0%, #10223f 55%, #08142b 100%); }
.cc-pz-plateau { position: relative; width: min(56%, 270px); aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; flex: 0 0 auto;
  background: #3b2412 url("../../../assets/puzzle/plateau.webp") center/cover; box-shadow: 0 0 0 3px #f2b53a, 0 0 0 6px #3a240f, 0 10px 24px #000c; }
.cc-pz-piece { position: absolute; inset: 0; background: var(--img) center/cover no-repeat;
  -webkit-mask: var(--masque) center/100% 100% no-repeat; mask: var(--masque) center/100% 100% no-repeat;
  filter: drop-shadow(0 0 2px #000a); }
.cc-pz-piece.nouvelle { animation: cc-pz-pose .9s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes cc-pz-pose { 0% { transform: scale(1.35) rotate(-6deg); opacity: 0; filter: brightness(2.2); } 60% { opacity: 1; } 100% { transform: none; filter: none; } }
.cc-pz-grille { position: absolute; inset: 0; background: url("../../../assets/puzzle/grille.webp") center/100% 100% no-repeat; pointer-events: none; opacity: .9; }
.cc-pz-plateau.complet { animation: cc-pz-brille 2.2s ease-in-out infinite; }
.cc-pz-plateau.complet .cc-pz-grille { opacity: .25; }
@keyframes cc-pz-brille { 0%, 100% { box-shadow: 0 0 0 3px #f2b53a, 0 0 0 6px #3a240f, 0 0 18px #ffd23f88; } 50% { box-shadow: 0 0 0 3px #fff3b0, 0 0 0 6px #3a240f, 0 0 42px #ffd23fdd; } }
.cc-pz-eclat { position: absolute; inset: -20%; pointer-events: none; mix-blend-mode: screen;
  background: url("../../../assets/puzzle/effets/termine-eclat.webp") center/contain no-repeat, radial-gradient(circle, #ffd23f55, transparent 60%);
  animation: cc-pz-tourne 9s linear infinite; }
@keyframes cc-pz-tourne { to { transform: rotate(360deg); } }
.cc-pz-nom { margin: 2px 0 0; font-family: CoincoinTitre, sans-serif; font-size: 17px; color: var(--cc-creme); text-shadow: 0 2px 3px #000; }
.cc-pz-compteur { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 14px;
  background: #08142bcc; border: 1px solid #ffd23f66; color: var(--cc-creme); }
.cc-pz-compteur b { color: var(--cc-jaune); font-size: 18px; }
.cc-pz-compteur span { color: var(--cc-doux); font-size: 12px; }
.cc-pz-reclamer { animation: cc-pz-appel 1.4s ease-in-out infinite; }
@keyframes cc-pz-appel { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); box-shadow: 0 0 24px #ffd23faa; } }

/* la carte BOÎTE À OUTILS (carrée, une cheat card à la fois) */
.cc-boite-carre { border: 2px solid #3a240f;
  background: url("../../../assets/espace/carte-boite.webp") center/cover no-repeat, #4a2f16 url("../../../assets/cheats/boite/fond.webp") center/auto 100% repeat-x; }
.cc-boite-carre.vide { justify-content: center; }
.cc-boite-compte { margin: 0; font-size: 13px; color: #f3dfc0; text-shadow: 0 1px 2px #000; }
.cc-boite-compte b { color: var(--cc-jaune); font-size: 18px; }
.cc-boite-filtres { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.cc-boite-filtres button { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; cursor: pointer;
  font: 700 12px CoincoinTexte, sans-serif; color: #f3e6d0; background: #1b1009d9; border: 1px solid #ffffff2a; }
.cc-boite-filtres button[aria-pressed="true"] { color: #1b1009; background: var(--oc); border-color: var(--oc); }
.cc-boite-filtres button:disabled { opacity: .35; cursor: default; }
.cc-boite-carrousel { position: relative; display: flex; align-items: center; gap: 4px; width: 100%; flex: 1 1 auto; min-height: 0; }
.cc-boite-fenetre { flex: 1 1 auto; overflow: hidden; touch-action: pan-y; }
.cc-boite-piste { display: flex; transition: transform .35s cubic-bezier(.3, 1.3, .5, 1); }
.cc-boite-piste > .cc-outil { flex: 0 0 100%; flex-direction: column; text-align: center; gap: 6px; padding: 10px; }
.cc-boite-piste .cc-outil-carte img { width: 84px; }
.cc-boite-piste .cc-outil-texte p { margin: 2px 0 6px; font-size: 12px; }
.cc-boite-piste .cc-outil-actions { justify-content: center; }
.cc-fleche { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: #1b1009cc; color: var(--cc-jaune); font: 900 26px/1 CoincoinTexte, sans-serif; box-shadow: 0 0 0 2px #f2b53a88; }
.cc-fleche[hidden] { display: none; }
.cc-fleche:hover { transform: scale(1.08); }
.cc-boite-points { display: flex; gap: 6px; }
.cc-boite-points i { width: 7px; height: 7px; border-radius: 50%; background: #ffffff40; }
.cc-boite-points i.actif { background: var(--cc-jaune); }

/* la transformation : le puzzle terminé tourbillonne, flash, et devient un booster */
.cc-pz-transfo { width: min(460px, 94vw); padding: 22px 18px 20px; border: 2px solid #f2b53a; border-radius: 22px; text-align: center; color: var(--cc-creme);
  background: radial-gradient(circle at 50% 30%, #1f3c6a, #08142b 70%); box-shadow: 0 0 60px #ffd23f55; }
.cc-pz-transfo::backdrop { background: #02060fd9; }
.cc-pz-transfo h2 { margin: 6px 0 4px; font-family: CoincoinTitre, sans-serif; font-weight: 400; font-size: 30px; color: var(--cc-jaune); text-shadow: 0 3px 0 #8a5a00; }
.cc-pz-transfo p { margin: 0 0 14px; font-size: 14px; }
.cc-pz-scene { position: relative; height: 260px; display: grid; place-items: center; }
.cc-pz-tourbillon { position: absolute; width: 220px; animation: cc-pz-aspire 1.5s cubic-bezier(.6, 0, .9, .4) forwards; }
.cc-pz-tourbillon .cc-pz-plateau { width: 100%; }
@keyframes cc-pz-aspire { 0% { transform: none; opacity: 1; } 70% { transform: scale(.35) rotate(540deg); opacity: 1; filter: brightness(2); } 100% { transform: scale(0) rotate(720deg); opacity: 0; } }
.cc-pz-flash { position: absolute; width: 260px; height: 260px; border-radius: 50%; opacity: 0;
  background: url("../../../assets/puzzle/effets/transformation-3.webp") center/contain no-repeat, radial-gradient(circle, #fff 0%, #ffd23f 30%, transparent 65%);
  animation: cc-pz-flash 1s 1.2s ease-out forwards; }
@keyframes cc-pz-flash { 0% { opacity: 0; transform: scale(.2); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.6); } }
.cc-pz-sachet { position: absolute; width: 150px; height: auto; opacity: 0; filter: drop-shadow(0 12px 24px #000c);
  animation: cc-pz-sachet .9s 1.45s cubic-bezier(.2, 1.6, .4, 1) forwards; }
@keyframes cc-pz-sachet { 0% { opacity: 0; transform: scale(.2) rotate(-25deg); } 100% { opacity: 1; transform: scale(1) rotate(-4deg); } }
.cc-pz-confettis { position: absolute; inset: 0; pointer-events: none; }
.cc-pz-confettis i { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-radius: 2px; opacity: 0;
  background: hsl(calc(var(--i) * 40) 90% 60%); animation: cc-pz-confetti 1.4s calc(1.4s + var(--i) * 20ms) ease-out forwards; }
@keyframes cc-pz-confetti { 0% { opacity: 1; transform: translate(-50%, -50%); }
  100% { opacity: 0; transform: translate(calc(-50% + cos(calc(var(--i) * 20deg)) * 170px), calc(-50% + sin(calc(var(--i) * 20deg)) * 140px)) rotate(calc(var(--i) * 70deg)); } }
.cc-pz-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; opacity: 0; animation: cc-pz-montre .4s 2.2s forwards; }
@keyframes cc-pz-montre { to { opacity: 1; } }

@media (max-width: 700px) {
  .cc-duo-carres { grid-template-columns: 1fr; }
  .cc-carre { aspect-ratio: auto; min-height: 0; }
  .cc-pz-plateau { width: min(72%, 300px); }
}
@media (prefers-reduced-motion: reduce) {
  .cc-pz-plateau.complet, .cc-pz-eclat, .cc-pz-reclamer, .cc-pz-piece.nouvelle { animation: none; }
}
.cc-carre .cc-carre-texte { font-size: 12px; }
.cc-pz-titre { font-size: 28px; letter-spacing: 1px; }
/* 14/11/2026 (Faust) : le badge du nombre de puzzles réussis, en haut à gauche de la carte puzzle */
.cc-pz-badge { position: absolute; top: 10px; left: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 3px; padding: 3px 10px 3px 4px;
  border-radius: 999px; font: 400 18px/1 CoincoinTitre, sans-serif; color: #1a0f05; background: linear-gradient(180deg, #ffe27a, #f2b53a);
  box-shadow: 0 2px 0 #8a5a00, 0 0 14px #ffd23f66; transform: rotate(-4deg); }
.cc-pz-badge img { width: 22px; height: 22px; filter: drop-shadow(0 1px 1px #0006); }
.cc-pz-badge small { font: 700 10px CoincoinTexte, sans-serif; margin-left: 2px; text-transform: uppercase; }
.cc-pz-badge.zero { filter: grayscale(.7) brightness(.85); }

/* 14/11/2026 (Faust) : dans le classement, on voit d'un coup d'œil qui a un compte (vert) et qui n'en a pas (rouge) */
.cc-ligne.cc-avec-compte { background: linear-gradient(90deg, rgba(64, 214, 120, 0.16), rgba(64, 214, 120, 0.03) 60%); box-shadow: inset 4px 0 0 #40d678; }
.cc-ligne.cc-sans-compte { background: linear-gradient(90deg, rgba(255, 86, 86, 0.16), rgba(255, 86, 86, 0.03) 60%); box-shadow: inset 4px 0 0 #ff5656; }
.cc-ligne.cc-avec-compte + .cc-ligne, .cc-ligne.cc-sans-compte + .cc-ligne { margin-top: 4px; }
.cc-legende-comptes { display: flex; gap: 14px; flex-wrap: wrap; margin: 4px 0 10px; font-size: 12px; color: var(--cc-doux); }
.cc-legende-comptes i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }

/* 14/11/2026 (Faust) : le CANARD FRANKENSTEIN sur la carte puzzle — c'est lui qu'il faut pêcher en live (brume arc-en-ciel) */
.cc-pz-franky { position: absolute; left: 1%; top: 30%; z-index: 2; width: 21%; max-width: 120px; pointer-events: none;
  animation: cc-pz-franky 3.2s ease-in-out infinite; }
.cc-pz-franky::before { content: ""; position: absolute; inset: 10% 5% 0; border-radius: 50%; filter: blur(14px); opacity: .75;
  background: conic-gradient(#ff4d4d, #ffd23f, #4dff88, #4db8ff, #b44dff, #ff4d4d); animation: cc-pz-brume 4s linear infinite; }
.cc-pz-franky img { position: relative; width: 100%; height: auto; filter: drop-shadow(0 6px 10px #000c); }
@keyframes cc-pz-franky { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-6px) rotate(2deg); } }
@keyframes cc-pz-brume { to { filter: blur(14px) hue-rotate(360deg); } }
@media (max-width: 700px) { .cc-pz-franky { width: 22%; } }
@media (prefers-reduced-motion: reduce) { .cc-pz-franky, .cc-pz-franky::before { animation: none; } }

/* 14/11/2026 (Faust) : les sachets de chaque série (extension) défilent dans les cases « Mes boosters » (toutes les 3 s) */
.cc-defile { position: relative; display: block; width: min(150px, 60%); aspect-ratio: 260 / 397; margin: 0 auto 6px; }
.cc-defile-sachet { position: absolute; inset: 0; opacity: 0; transform: translateY(8px) rotate(-3deg) scale(.96); transition: opacity .6s, transform .6s; }
.cc-defile-sachet.actif { opacity: 1; transform: none; }
.cc-defile-sachet > img:first-child { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 14px #000a); }
.cc-defile-badge { position: absolute; top: -6px; right: -10px; width: 34px; height: 34px; filter: drop-shadow(0 2px 4px #000a); }
@media (prefers-reduced-motion: reduce) { .cc-defile-sachet { transition: none; } }

/* 14/11/2026 : les flèches Codex de la boîte à outils */
.cc-fleche img { width: 100%; height: 100%; object-fit: contain; }
.cc-fleche:has(img) { background: none; box-shadow: none; }

/* 14/11/2026 — les EFFETS Codex du puzzle : étincelles (pièce posée), confettis (terminé), tourbillon (transformation) */
.cc-pz-etincelle { position: absolute; z-index: 2; width: 46%; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; opacity: 0;
  background: url("../../../assets/puzzle/effets/piece-posee-1.webp") center/contain no-repeat; mix-blend-mode: screen;
  animation: cc-pz-etincelle 1.1s steps(1) both; }
@keyframes cc-pz-etincelle {
  0% { opacity: 1; background-image: url("../../../assets/puzzle/effets/piece-posee-1.webp"); }
  25% { background-image: url("../../../assets/puzzle/effets/piece-posee-2.webp"); }
  50% { background-image: url("../../../assets/puzzle/effets/piece-posee-3.webp"); }
  75% { background-image: url("../../../assets/puzzle/effets/piece-posee-4.webp"); }
  100% { opacity: 0; } }
.cc-pz-fete { position: absolute; inset: -10%; z-index: 3; pointer-events: none; mix-blend-mode: screen;
  background: url("../../../assets/puzzle/effets/termine-confettis-1.webp") center/70% no-repeat; animation: cc-pz-fete 2.4s steps(1) infinite; }
.cc-pz-fete.grand { inset: 0; background-size: 90%; animation: cc-pz-fete 1.6s 1.3s steps(1) both; }
@keyframes cc-pz-fete {
  0% { background-image: url("../../../assets/puzzle/effets/termine-confettis-1.webp"); }
  25% { background-image: url("../../../assets/puzzle/effets/termine-confettis-2.webp"); }
  50% { background-image: url("../../../assets/puzzle/effets/termine-confettis-3.webp"); }
  75% { background-image: url("../../../assets/puzzle/effets/termine-confettis-4.webp"); }
  100% { background-image: none; } }
.cc-pz-vortex { position: absolute; width: 280px; height: 280px; z-index: 0; pointer-events: none; mix-blend-mode: screen; opacity: 0;
  background: url("../../../assets/puzzle/effets/transformation-1.webp") center/contain no-repeat; animation: cc-pz-vortex 1.5s ease-in both; }
@keyframes cc-pz-vortex {
  0% { opacity: 0; background-image: url("../../../assets/puzzle/effets/transformation-1.webp"); transform: rotate(0); }
  20% { opacity: 1; }
  45% { background-image: url("../../../assets/puzzle/effets/transformation-2.webp"); }
  80% { background-image: url("../../../assets/puzzle/effets/transformation-4.webp"); opacity: 1; }
  100% { opacity: 0; transform: rotate(-200deg) scale(1.3); } }
@media (prefers-reduced-motion: reduce) { .cc-pz-etincelle, .cc-pz-fete, .cc-pz-vortex { animation: none; display: none; } }

/* 15/11/2026 — les badges des tuiles : « Exclusif site » avait le même nom que la BOÎTE À OUTILS (cheat cards) et prenait
   sa texture de bois (le rond marron). Nom à lui ; S2 et SITE rangés en colonne à droite, sous le compteur, jamais sur le Nº. */
.cc-tuile img.cc-badge-site { position: absolute; top: 24px; right: 5px; left: auto; width: 34px; height: 34px; margin: 0; padding: 0;
  border: 0; background: none; box-shadow: none; filter: drop-shadow(0 2px 4px #000a); z-index: 2; }
.cc-tuile img.cc-badge-serie { top: 24px; right: 5px; left: auto; z-index: 2; filter: drop-shadow(0 2px 4px #000a); }
.cc-tuile img.cc-badge-site + img.cc-badge-serie { top: 60px; }

/* 17/11/2026 (Faust) : OR / DIAMANT / HOLO reconnaissables d'un coup d'œil sur les miniatures (collection, Coincoindex, équipe) */
.cc-tuile .cc-ruban-prestige { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 3; padding: 2px 9px; border-radius: 999px;
  font-size: 10px; font-weight: 900; letter-spacing: .12em; white-space: nowrap; color: #1a1200; box-shadow: 0 2px 8px rgba(0, 0, 0, .45); }
.cc-tuile.p-or { border-color: #ffd34d; box-shadow: 0 0 0 1px #7a5200, 0 0 14px rgba(255, 196, 40, .55), 0 6px 14px rgba(0, 0, 0, .35);
  background: radial-gradient(circle at 50% 38%, rgba(255, 205, 60, .38), transparent 70%), linear-gradient(180deg, #3a2a05, #1a1302); }
.cc-tuile.p-or .cc-ruban-prestige { background: linear-gradient(90deg, #b8860b, #ffe680, #ffd34d, #b8860b); background-size: 200% 100%; animation: cc-or-ruban 2.6s linear infinite; }
.cc-tuile.p-or .cc-r { height: 5px; background: linear-gradient(90deg, #b8860b, #ffe680, #b8860b); }
.cc-tuile.p-diamant { border-color: #e9fbff; box-shadow: 0 0 0 1px #5aa9c4, 0 0 16px rgba(190, 240, 255, .6), 0 6px 14px rgba(0, 0, 0, .35);
  background: radial-gradient(circle at 50% 38%, rgba(200, 245, 255, .35), transparent 70%), linear-gradient(180deg, #123a52, #071a2a); }
.cc-tuile.p-diamant .cc-ruban-prestige { color: #04202e; background: linear-gradient(90deg, #bdefff, #ffffff, #bdefff); }
.cc-tuile.p-diamant .cc-r { height: 5px; background: linear-gradient(90deg, #8fd9f0, #fff, #8fd9f0); }
.cc-tuile.p-diamant::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(circle at 18% 22%, #fff 0 1.5px, transparent 2.5px), radial-gradient(circle at 82% 30%, #fff 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 70% 70%, #fff 0 1.2px, transparent 2.2px), radial-gradient(circle at 25% 64%, #fff 0 1.2px, transparent 2.2px);
  animation: cc-diamant-eclat 1.8s ease-in-out infinite alternate; }
.cc-tuile.p-holo { border-color: transparent; box-shadow: 0 0 18px rgba(160, 120, 255, .55), 0 6px 14px rgba(0, 0, 0, .35);
  background: linear-gradient(#0a1a36, #0a1a36) padding-box, conic-gradient(from var(--cc-holo-angle, 0deg), #ff5ccf, #ffd23f, #5cff9d, #54d7ff, #a57bff, #ff5ccf) border-box; animation: cc-holo-tour 4s linear infinite; }
.cc-tuile.p-holo::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: screen; opacity: .35;
  background: linear-gradient(125deg, #ff5ccf33, #ffd23f33, #5cff9d33, #54d7ff33, #a57bff33); background-size: 300% 300%; animation: cc-holo-voile 5s ease-in-out infinite; }
.cc-tuile.p-holo .cc-ruban-prestige { color: #1a0630; background: linear-gradient(90deg, #ff9be0, #ffe680, #9dffc6, #9fe3ff, #c9a8ff); background-size: 300% 100%; animation: cc-or-ruban 3s linear infinite; }
.cc-tuile.p-holo .cc-r { height: 5px; background: linear-gradient(90deg, #ff5ccf, #ffd23f, #5cff9d, #54d7ff, #a57bff); }
.cc-tuile.manquant.p-or, .cc-tuile.manquant.p-diamant, .cc-tuile.manquant.p-holo { opacity: .85; }
.cc-tuile.manquant.p-diamant::before, .cc-tuile.manquant.p-holo::before { display: none; }
@property --cc-holo-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes cc-holo-tour { to { --cc-holo-angle: 360deg; } }
@keyframes cc-holo-voile { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes cc-or-ruban { to { background-position: -200% 0; } }
@keyframes cc-diamant-eclat { from { opacity: .25; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .cc-tuile.p-holo, .cc-tuile.p-holo::before, .cc-tuile .cc-ruban-prestige, .cc-tuile.p-diamant::before { animation: none; } }

/* 17/11/2026 : « Mes prises en live » (mon espace) — les 3 derniers lives COINCOIN */
.cc-mes-lives { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.cc-mon-live { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: var(--cc-rayon); background: var(--cc-verre); border: 1px solid var(--cc-bord); text-align: center; }
.cc-mon-live > small:first-child { color: var(--cc-doux); text-transform: capitalize; }
.cc-mon-live > b { font-family: "CoincoinTitre", sans-serif; font-size: clamp(30px, 5vw, 42px); color: var(--cc-jaune); line-height: 1; }
.cc-mon-live > span { color: var(--cc-creme); font-size: 14px; }
.cc-mon-live.absent > b { color: var(--cc-doux); }
.cc-mon-live-top { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding: 6px 8px; border-radius: 10px; border: 1px solid var(--rc); background: color-mix(in srgb, var(--rc) 14%, transparent); color: inherit; text-decoration: none; text-align: left; }
.cc-mon-live-top img { width: 48px; height: 48px; object-fit: contain; flex: none; }
.cc-mon-live-top em { font-style: normal; font-size: 12px; color: var(--cc-doux); line-height: 1.25; }
.cc-mon-live-top em b { color: var(--cc-creme); }
.cc-mon-live-pied { color: var(--cc-doux); font-size: 11px; margin-top: auto; }
.cc-tuile.p-holo:not(.manquant) { background: radial-gradient(circle at 50% 38%, rgba(255, 120, 230, .35), rgba(120, 200, 255, .18) 45%, transparent 72%) padding-box, linear-gradient(180deg, #2a1d5c, #0a1a36) padding-box, conic-gradient(from var(--cc-holo-angle, 0deg), #ff5ccf, #ffd23f, #5cff9d, #54d7ff, #a57bff, #ff5ccf) border-box; box-shadow: 0 0 22px rgba(200, 120, 255, .75), 0 6px 14px rgba(0, 0, 0, .35); }
.cc-tuile.manquant.p-holo { background: linear-gradient(180deg, #0f2140, #08142b) padding-box, conic-gradient(from var(--cc-holo-angle, 0deg), #ff5ccf88, #ffd23f88, #5cff9d88, #54d7ff88, #a57bff88, #ff5ccf88) border-box; box-shadow: none; }

/* ════════════════════════════════════════════════════════════════════════════════════════════════════════════════
   19/11/2026 — 🎪 LIVE FEST 26 (SÉRIE 4, éphémère) : plateau TV de nuit, néons cyan / violet / magenta.
   Bandeau « grand événement », panneau de Mon espace, boutons, règles, OUVRIR TOUT, mention « édition limitée ».
   ════════════════════════════════════════════════════════════════════════════════════════════════════════════════ */
.cc-site { --fest-cyan: #3ff0ff; --fest-violet: #a64dff; --fest-magenta: #ff3df0; --fest-nuit: #0c0626; }
#cc-bandeau-fest { display: block; width: 100%; }
#cc-bandeau-fest:empty { display: none; }
.cc-fest-bandeau {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px;
  width: min(980px, calc(100% - 32px)); min-height: 82px; margin: 12px auto 0; padding: 14px 22px;
  border-radius: 18px; color: #fff;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(63, 240, 255, 0.35), transparent 60%),
    radial-gradient(ellipse at 90% 100%, rgba(255, 61, 240, 0.35), transparent 60%),
    linear-gradient(100deg, #12063a, #1e0b4d 50%, #2a0640);
  box-shadow: 0 0 0 2px rgba(63, 240, 255, 0.55), 0 0 26px rgba(166, 77, 255, 0.45), 0 14px 30px rgba(0, 0, 0, 0.55);
}
.cc-fest-bandeau::after { /* voile pour la lisibilité du texte posé sur l'image */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(6, 2, 20, 0.78), rgba(6, 2, 20, 0.35) 60%, rgba(6, 2, 20, 0.6));
}
.cc-fest-fond { position: absolute; inset: 0; z-index: -2; }
.cc-fest-fond img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-fest-ligne { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; min-width: 0; }
.cc-fest-titre {
  font-family: "CoincoinTitre", sans-serif; font-size: clamp(22px, 3.4vw, 34px); letter-spacing: 0.04em; line-height: 1;
  color: #fff; text-shadow: 0 0 10px var(--fest-magenta), 0 0 22px var(--fest-violet), 0 2px 0 #2a0640;
}
.cc-fest-sous { font-weight: 700; font-size: clamp(14px, 1.8vw, 17px); color: #e9e2ff; }
.cc-fest-chrono {
  font-family: "CoincoinTitre", sans-serif; font-size: clamp(22px, 3.2vw, 32px); line-height: 1; letter-spacing: 0.03em;
  color: var(--fest-cyan); text-shadow: 0 0 12px rgba(63, 240, 255, 0.8); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.cc-fest-lien {
  flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px;
  font-weight: 800; font-size: 14px; text-decoration: none; color: #12063a;
  background: linear-gradient(180deg, #9ff8ff, var(--fest-cyan)); box-shadow: 0 3px 0 #0a7f8c, 0 0 16px rgba(63, 240, 255, 0.5);
}
.cc-fest-lien:hover { filter: brightness(1.08); }
.cc-fest-lien:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.cc-fest-bandeau.ouvert { animation: cc-fest-pulse 3.2s ease-in-out infinite; }
@keyframes cc-fest-pulse { 50% { box-shadow: 0 0 0 2px rgba(255, 61, 240, 0.7), 0 0 34px rgba(255, 61, 240, 0.5), 0 14px 30px rgba(0, 0, 0, 0.55); } }
@media (max-width: 700px) {
  .cc-fest-bandeau { width: calc(100% - 32px); padding: 12px 14px; min-height: 0; border-radius: 14px; }
  .cc-fest-ligne { gap: 2px 8px; }
  .cc-fest-lien { min-height: 36px; font-size: 13px; }
}

/* boutons et panneau FEST */
.cc-bouton.cc-bouton-fest {
  color: #fff; background: linear-gradient(180deg, #c06bff, #6d1fd6 55%, #b0129e);
  box-shadow: 0 5px 0 #3a0a6e, 0 0 18px rgba(255, 61, 240, 0.35), 0 10px 24px rgba(0, 0, 0, 0.35);
}
.cc-bouton.cc-bouton-fest:active { box-shadow: 0 1px 0 #3a0a6e; }
.cc-bouton.cc-bouton-fest.grand { min-height: 56px; padding: 0 30px; font-size: 21px; }
.cc-fest-panneau {
  border-color: rgba(63, 240, 255, 0.45);
  background: radial-gradient(ellipse at 0% 0%, rgba(63, 240, 255, 0.12), transparent 55%), radial-gradient(ellipse at 100% 100%, rgba(255, 61, 240, 0.12), transparent 55%), rgba(14, 8, 44, 0.78);
  box-shadow: 0 0 24px rgba(166, 77, 255, 0.25);
}
.cc-fest-panneau .cc-h2, .cc-h2-fest { color: var(--fest-cyan); text-shadow: 0 0 12px rgba(63, 240, 255, 0.45); }
.cc-fest-intro { margin: -4px 0 14px; color: var(--cc-doux); }
.cc-fest-intro b { color: #ffb8f8; }
.cc-booster-fest { border-color: rgba(166, 77, 255, 0.5); background: rgba(16, 6, 40, 0.6); }
.cc-booster-fest h3 { color: #f2e6ff; }
.cc-booster-fest .cc-pastille { background: var(--fest-magenta); }
.cc-ft-ouvrir { margin: 16px 0 0; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.cc-ft-ouvrir small { color: var(--cc-doux); }
.cc-annonce-fest { margin: 0 0 14px; padding: 10px 14px; border-radius: 14px; border: 1px solid rgba(63, 240, 255, 0.55); background: linear-gradient(90deg, rgba(63, 240, 255, 0.1), rgba(255, 61, 240, 0.1)); }
.cc-annonce-fest a { color: var(--fest-cyan); }
.cc-butin li.cc-butin-fest { border: 1px solid rgba(63, 240, 255, 0.6); box-shadow: 0 0 14px rgba(166, 77, 255, 0.35); }

/* la série 4 dans les albums et le Coincoindex */
.cc-tuile.fest { box-shadow: 0 0 0 1px rgba(63, 240, 255, 0.35), 0 0 12px rgba(255, 61, 240, 0.18); }
.cc-note-fest { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 8px 12px; border-radius: 12px; font-size: 14px;
  border: 1px solid rgba(63, 240, 255, 0.45); background: linear-gradient(90deg, rgba(63, 240, 255, 0.08), rgba(255, 61, 240, 0.08)); }
.cc-note-fest[hidden] { display: none; }
.cc-note-fest img { width: 26px; height: 26px; }
.cc-note-fest b { color: var(--fest-cyan); }
.cc-mention-fest { color: #ffb8f8; font-size: 0.92em; }

/* la règle du FEST (tout en haut des règles) */
.cc-regles-fest { border-color: rgba(63, 240, 255, 0.5); background: radial-gradient(ellipse at 0% 0%, rgba(63, 240, 255, 0.1), transparent 50%), radial-gradient(ellipse at 100% 100%, rgba(255, 61, 240, 0.1), transparent 50%), rgba(14, 8, 44, 0.8); margin-bottom: 18px; }
.cc-regles .cc-regles-fest h3 { margin-top: 0; color: var(--fest-cyan); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; scroll-margin-top: 90px; }
.cc-regles-fest h4 { font-family: "CoincoinTitre", sans-serif; font-weight: 400; color: #ffb8f8; font-size: 18px; margin: 18px 0 6px; }
.cc-regles-fest-titre { display: block; width: min(520px, 100%); height: auto; margin: 4px auto 6px; }
.cc-fest-statut { font-family: "CoincoinTexte", sans-serif; font-size: 13px; font-weight: 800; letter-spacing: 0.04em; padding: 4px 10px; border-radius: 999px; }
.cc-fest-statut.ouvert { color: #12063a; background: var(--fest-cyan); }
.cc-fest-statut.avant { color: #fff; background: rgba(166, 77, 255, 0.6); }
.cc-fest-statut.fini { color: #fff; background: rgba(255, 255, 255, 0.18); }
.cc-fest-cadeaux { list-style: none; padding: 0; margin: 8px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; }
.cc-fest-cadeaux li { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(166, 77, 255, 0.35); }
.cc-fest-cadeaux img { width: 32px; height: auto; }

/* OUVRIR TOUT : le sachet fest-all se déchire, les cartes sortent, pause sur les prestiges, récap */
.cc-fest-tout {
  width: min(900px, calc(100vw - 24px)); max-width: none; max-height: calc(100vh - 24px); margin: auto; padding: 0;
  border: 2px solid rgba(63, 240, 255, 0.6); border-radius: 22px; color: #f4ecff; overflow: auto;
  background: radial-gradient(ellipse at 20% 0%, rgba(63, 240, 255, 0.18), transparent 50%), radial-gradient(ellipse at 80% 100%, rgba(255, 61, 240, 0.18), transparent 55%), #0b0522;
  box-shadow: 0 0 40px rgba(166, 77, 255, 0.45);
}
.cc-fest-tout::backdrop { background: rgba(3, 1, 10, 0.88); }
.cc-ft-scene { position: relative; padding: 18px 16px 16px; text-align: center; }
.cc-ft-sachet { position: relative; width: 150px; aspect-ratio: 260 / 397; margin: 0 auto 6px; }
.cc-ft-moitie { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 18px rgba(255, 61, 240, 0.55)); transition: transform 0.6s cubic-bezier(0.3, 1.4, 0.5, 1), opacity 0.6s; }
.cc-ft-moitie.haut { clip-path: inset(0 0 82% 0); }
.cc-ft-moitie.bas { clip-path: inset(18% 0 0 0); }
.cc-ft-sachet.tremble { animation: cc-ft-tremble 0.12s linear infinite; }
.cc-ft-sachet.dechire { animation: none; }
.cc-ft-sachet.dechire .cc-ft-moitie.haut { transform: translate(40px, -60px) rotate(24deg); opacity: 0; }
.cc-ft-sachet.dechire .cc-ft-moitie.bas { transform: translateY(30px) scale(0.92); opacity: 0.25; }
.cc-ft-sachet.dechire::after { content: ""; position: absolute; left: -40%; right: -40%; top: 10%; height: 30px; border-radius: 50%; background: radial-gradient(closest-side, #fff, rgba(63, 240, 255, 0.6), transparent); animation: cc-ft-eclair 0.6s ease-out forwards; }
@keyframes cc-ft-tremble { 25% { transform: translate(-2px, 1px) rotate(-1.5deg); } 75% { transform: translate(2px, -1px) rotate(1.5deg); } }
@keyframes cc-ft-eclair { from { opacity: 1; transform: scaleX(0.3); } to { opacity: 0; transform: scaleX(1.4); } }
.cc-ft-titre { margin: 0; font-family: "CoincoinTitre", sans-serif; font-size: 26px; color: #fff; text-shadow: 0 0 12px var(--fest-magenta); }
.cc-ft-compteur { margin: 2px 0 12px; color: var(--cc-doux); }
.cc-ft-compteur b { color: var(--fest-cyan); font-size: 20px; font-variant-numeric: tabular-nums; }
.cc-ft-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; max-height: 46vh; overflow-y: auto; padding: 4px; }
.cc-ft-tuile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px 5px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--rc, rgba(255, 255, 255, 0.15)); animation: cc-ft-sort 0.28s cubic-bezier(0.2, 1.5, 0.4, 1) both; }
.cc-ft-tuile img { width: 100%; max-width: 72px; height: auto; aspect-ratio: 1; object-fit: contain; }
.cc-ft-tuile span { font-size: 10px; font-weight: 800; letter-spacing: 0.03em; color: var(--rc, var(--cc-doux)); }
.cc-ft-tuile.keudal { --rc: #ff3df0; background: rgba(255, 61, 240, 0.08); animation-name: cc-ft-moque; }
.cc-ft-tuile.keudal img { transform: rotate(-6deg); }
.cc-ft-tuile.prestige { box-shadow: 0 0 14px var(--rc); }
.cc-ft-nouveau { position: absolute; top: -6px; right: -4px; padding: 1px 6px; border-radius: 999px; font-style: normal; font-size: 10px; font-weight: 800; color: #12063a; background: var(--fest-cyan); }
@keyframes cc-ft-sort { from { opacity: 0; transform: translateY(-14px) scale(0.6); } }
@keyframes cc-ft-moque { 0% { opacity: 0; transform: scale(0.4) rotate(-20deg); } 70% { transform: scale(1.12) rotate(6deg); } 100% { transform: none; } }
.cc-ft-prestige { position: fixed; inset: 0; z-index: 5; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; pointer-events: none; overflow: hidden; background: radial-gradient(circle, rgba(6, 2, 20, 0.82), rgba(3, 1, 10, 0.97) 70%); }
.cc-ft-prestige[hidden] { display: none; }
.cc-ft-prestige img { position: relative; width: min(300px, 62vw); height: auto; filter: drop-shadow(0 0 30px var(--rc)); animation: cc-ft-prestige 1s cubic-bezier(0.2, 1.4, 0.4, 1) both; }
.cc-ft-prestige b { position: relative; font-family: "CoincoinTitre", sans-serif; font-size: clamp(30px, 7vw, 54px); color: var(--rc); text-shadow: 0 0 18px var(--rc), 0 3px 0 #000; }
.cc-ft-prestige span { position: relative; font-weight: 800; font-size: 18px; color: #fff; }
.cc-ft-rayons { position: absolute; left: 50%; top: 50%; width: 160vmax; height: 160vmax; margin: -80vmax 0 0 -80vmax; opacity: 0.55;
  background: repeating-conic-gradient(from 0deg, var(--rc) 0 6deg, transparent 6deg 18deg); mask-image: radial-gradient(circle, #000 0, transparent 45%); -webkit-mask-image: radial-gradient(circle, #000 0, transparent 45%); animation: cc-ft-tourne 6s linear infinite; }
.cc-ft-prestige.p-holo .cc-ft-rayons { background: repeating-conic-gradient(from 0deg, #3ff0ff 0 6deg, transparent 6deg 12deg, #ff3df0 12deg 18deg, transparent 18deg 24deg); }
@keyframes cc-ft-prestige { 0% { opacity: 0; transform: scale(0.2) rotate(-12deg); } 60% { opacity: 1; transform: scale(1.12) rotate(3deg); } 100% { transform: none; } }
@keyframes cc-ft-tourne { to { transform: rotate(360deg); } }
.cc-ft-recap { margin: 14px 0 4px; padding: 12px; border-radius: 14px; background: rgba(63, 240, 255, 0.08); border: 1px solid rgba(63, 240, 255, 0.4); }
.cc-ft-recap[hidden] { display: none; }
.cc-ft-recap p { margin: 4px 0; }
.cc-ft-recap-titre { font-family: "CoincoinTitre", sans-serif; font-size: clamp(18px, 3vw, 24px); color: #fff; }
.cc-ft-boutons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }
.cc-ft-boutons [hidden] { display: none; }
@media (max-width: 520px) { .cc-ft-grille { grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); } .cc-ft-sachet { width: 110px; } }
@media (prefers-reduced-motion: reduce) {
  .cc-fest-bandeau.ouvert, .cc-ft-sachet.tremble, .cc-ft-tuile, .cc-ft-prestige img, .cc-ft-rayons, .cc-ft-sachet.dechire::after { animation: none; }
  .cc-ft-moitie { transition: none; }
}

/* 20/11/2026 : carte EVENT HOLO (Nº2 LIVE FEST) : reflet arc-en-ciel qui glisse, seulement là où le masque de Codex est blanc */
.cc-event-visuel.holo::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:1;mix-blend-mode:color-dodge;opacity:.75;
  background:linear-gradient(115deg,transparent 18%,rgba(255,92,240,.55) 32%,rgba(63,240,255,.55) 44%,rgba(255,211,77,.5) 56%,rgba(157,255,122,.45) 66%,transparent 80%);
  background-size:260% 260%;-webkit-mask:var(--holo) center/100% 100% no-repeat;mask:var(--holo) center/100% 100% no-repeat;animation:cc-holo-event 5s linear infinite}
.cc-event-visuel.holo .cc-event-plaque{z-index:2}
@keyframes cc-holo-event{from{background-position:100% 100%}to{background-position:-160% -160%}}
@media (prefers-reduced-motion: reduce){.cc-event-visuel.holo::after{animation:none;background-position:50% 50%}}

/* 20/11/2026 : règles du FEST, l'image du cadeau TikTok devant son sachet */
.cc-fest-cadeaux img.cc-fest-cadeau-img { width: 40px; height: 40px; object-fit: contain; }
.cc-fest-cadeaux .cc-fest-egal { font-family: CoincoinTitre; color: var(--cc-jaune); font-size: 20px; }

/* 21/11/2026 : 🔫 la cheat card mensuelle BRAQUO dans la boîte à outils (chrono, verrou, cadenas, révélation) */
.cc-outil-braquo { position: relative; }
.cc-outil-braquo .cc-outil-carte { position: relative; width: fit-content; margin: 0 auto; }
.cc-braquo-calque { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.cc-braquo-calque.cadenas { inset: auto; left: 62%; top: 62%; width: 58%; height: auto; transform: translate(-50%, -50%) rotate(-8deg); filter: drop-shadow(0 4px 10px #000a); }
.etat-utilisee .cc-outil-carte > img:first-child, .etat-verrouillee .cc-outil-carte > img:first-child { filter: grayscale(.75) brightness(.6); }
.cc-braquo-chrono { position: relative; width: 100%; max-width: 420px; margin: 0 auto; container-type: inline-size; }
.cc-braquo-chrono img { width: 100%; height: auto; display: block; border-radius: 10px; }
.cc-braquo-chrono .cc-chrono.gros { position: absolute; left: 16%; right: 13%; top: 33%; bottom: 14%; display: flex; align-items: center; justify-content: center;
  font: 800 clamp(13px, 8cqw, 30px)/1 ui-monospace, 'Cascadia Mono', Consolas, monospace; color: #ff6ad5; letter-spacing: .02em; white-space: nowrap;
  text-shadow: 0 0 6px #ff3fa4, 0 0 18px #ff3fa4aa, 0 0 2px #fff; }
.cc-chrono { font-variant-numeric: tabular-nums; font-weight: 800; color: #ffd84d; }
.cc-braquo-dispo { width: 100%; max-width: 380px; height: auto; display: block; margin: 0 auto; filter: drop-shadow(0 0 10px #ff3fa488); animation: cc-braquo-pouls 1.6s ease-in-out infinite; }
.cc-braquo-sac { width: 96px; height: auto; display: block; margin: 0 auto; animation: cc-braquo-pouls 1.2s ease-in-out infinite; }
@keyframes cc-braquo-pouls { 50% { transform: scale(1.05); filter: drop-shadow(0 0 18px #ff3fa4cc); } }
.cc-bouton-braquo { background: linear-gradient(90deg, #ff3fa4, #7a4dff 55%, #2fd8ff); color: #fff; border: 0; box-shadow: 0 0 16px #ff3fa477; }
.cc-braquo-revelation { position: fixed; inset: 0; z-index: 1000; pointer-events: none; overflow: hidden; background: radial-gradient(circle at 50% 40%, #ff3fa433, #000c 70%); animation: cc-braquo-fond 3.6s ease forwards; }
.cc-braquo-revelation .titre { position: absolute; left: 50%; top: 38%; width: min(90vw, 760px); height: auto; transform: translate(-50%, -50%) scale(.4); animation: cc-braquo-titre .7s cubic-bezier(.2, 1.6, .4, 1) forwards; }
.cc-braquo-revelation .vol { position: absolute; top: -140px; left: var(--x); width: clamp(70px, 14vw, 130px); height: auto; transform: rotate(var(--r)); animation: cc-braquo-pluie 2.8s ease-in var(--d) forwards; }
@keyframes cc-braquo-titre { to { transform: translate(-50%, -50%) scale(1); } }
@keyframes cc-braquo-pluie { to { transform: translateY(115vh) rotate(calc(var(--r) + 300deg)); } }
@keyframes cc-braquo-fond { 0%, 80% { opacity: 1; } 100% { opacity: 0; } }
.cc-braqueur-du-jour { display: flex; gap: 14px; align-items: center; margin: 14px auto; max-width: 900px; padding: 10px 16px; border-radius: 16px; text-decoration: none; color: #fff;
  background: linear-gradient(100deg, #2a0b2bcc, #12234acc); border: 2px solid #ff3fa4; box-shadow: 0 0 22px #ff3fa455; }
.cc-braqueur-du-jour img { width: 84px; height: 84px; flex: none; }
.cc-braqueur-du-jour b { display: block; font-size: 18px; color: #ff8fd0; }
.cc-braqueur-du-jour small { color: #e9dcff; }
@media (prefers-reduced-motion: reduce) { .cc-braquo-dispo, .cc-braquo-sac { animation: none; } .cc-braquo-revelation .vol { display: none; } }
