/* TeamKit — « 🤝 Rejoindre une équipe » sur les pages /jeux/<slug> (v1.0.0, 8 oct. 2026, « ok rejoindre » de Kevin).
   Maquette docs/jeux/maquette-rejoindre-equipe.html, variante B (cartes mélangées, triées « le plus rapide pour jouer ce
   soir »). Préfixe eq-. Reprend aussi les briques rj- de /css/rejoindre.css (avatars, « Déjà là », postes, choix, cases).
   Rempli par /js/jeu-rejoindre.js, hors du cache HTML de la page. */

/* L'accroche du haut : « N joueurs en ce moment · N projets · N communautés · 🤝 Rejoindre une équipe ↓ » */
.eq-direct-place:empty { display: none; }
.eq-direct { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .35rem .9rem; margin: 1.3rem auto 0; padding: .55rem 1rem; border-radius: 999px;
  border: 1px solid rgba(0,255,136,.45); background: rgba(10,10,15,.72); backdrop-filter: blur(4px); font-size: 1rem; color: var(--text-secondary); max-width: 100%; }
.eq-direct b { color: var(--text-primary); }
.eq-direct .eq-pt { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-success); box-shadow: 0 0 10px var(--accent-success); animation: eq-pouls 1.8s ease-in-out infinite; flex: none; }
.eq-direct a { color: var(--accent-success); font-weight: 700; white-space: nowrap; text-decoration: none; }
.eq-direct.is-vide { border-color: rgba(255,170,0,.5); } .eq-direct.is-vide a { color: #ffcf66; } .eq-direct.is-vide .eq-pt { background: #ffaa00; box-shadow: 0 0 10px #ffaa00; }
@keyframes eq-pouls { 50% { opacity: .35; } }

/* ═════════ Le bloc ═════════ */
.eq { margin: 0 0 2.5rem; padding: 1.5rem; border-radius: 20px; position: relative; overflow: hidden; border: 1px solid rgba(0,255,136,.35);
  background: radial-gradient(ellipse at 0% 0%, rgba(0,255,136,.09), transparent 55%), radial-gradient(ellipse at 100% 0%, rgba(0,240,255,.08), transparent 50%), var(--gradient-card, var(--bg-card)); scroll-margin-top: 90px; }
.eq[hidden] { display: none; }
.eq::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, #00ff88, #00f0ff, #7b2cbf); }
.eq-tete { display: flex; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.eq-tete > div:first-child { flex: 1; min-width: 260px; }
.eq-titre { font-family: var(--font-display); font-size: 1.3rem; text-transform: uppercase; letter-spacing: .07em; margin: 0 0 .35rem; color: var(--text-primary); }
.eq-titre span { color: var(--accent-success); }
.eq-sous { margin: 0; color: var(--text-secondary); font-size: 1.05rem; line-height: 1.5; max-width: 760px; }
.eq-heros { text-align: right; flex: none; }
.eq-heros strong { display: block; font: 900 3rem/1 var(--font-display); color: var(--accent-success); text-shadow: 0 0 26px rgba(0,255,136,.45); font-variant-numeric: tabular-nums; }
.eq-heros span { color: var(--text-secondary); font-size: .95rem; display: block; max-width: 210px; margin-left: auto; line-height: 1.3; }
.eq-heros.is-zero strong { color: #ffd166; text-shadow: none; font-family: var(--font-body); }   /* le 0 d'Orbitron se lit mal en très gras */

/* la barre « toi » : visiteur, membre, membre qui a déjà sa demande */
.eq-toi { display: flex; align-items: center; gap: .6rem 1rem; flex-wrap: wrap; border-radius: 14px; padding: .65rem .9rem; margin-bottom: 1rem; border: 1px solid var(--border-color); background: rgba(10,10,15,.55); }
.eq-toi > .eq-toi-txt { flex: 1; min-width: 220px; color: var(--text-secondary); line-height: 1.45; }
.eq-toi b { color: var(--text-primary); }
.eq-toi .eq-toi-ico { font-size: 1.5rem; line-height: 1; }
.eq-av-toi { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font: 900 1rem var(--font-display); color: #0a0a0f; background: linear-gradient(135deg, #00f0ff, #7b2cbf); flex: none; }
.eq-toi.is-pourtoi { border-color: rgba(255,209,102,.55); background: linear-gradient(90deg, rgba(255,209,102,.10), rgba(10,10,15,.5)); }
.eq-toi.is-demande { border-color: rgba(0,240,255,.5); background: linear-gradient(90deg, rgba(0,240,255,.09), rgba(123,44,191,.09)); align-items: flex-start; }
.eq-toi a:not(.btn) { color: var(--accent-primary); }
.eq-compteur { display: inline-flex; gap: 4px; align-items: center; font-weight: 700; color: var(--text-secondary); white-space: nowrap; }
.eq-compteur i { width: 14px; height: 8px; border-radius: 99px; background: #23233a; display: inline-block; }
.eq-compteur i.on { background: var(--accent-success); }
.eq-ma { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .25rem .8rem; flex: 1; min-width: 260px; }
.eq-ma .eq-ma-ico { font-size: 1.7rem; line-height: 1; grid-row: span 3; }
.eq-ma b.eq-ma-t { font-size: 1.08rem; overflow-wrap: anywhere; }
.eq-ma small { color: var(--text-secondary); font-size: .95rem; line-height: 1.45; }
.eq-ma b.eq-ma-t, .eq-ma small, .eq-ma .eq-ma-act { grid-column: 2; }
.eq-ma .eq-ma-act { display: flex; gap: .45rem; flex-wrap: wrap; margin-top: .35rem; }

/* puces « pour toi », modes, aide, places */
.eq-pourtoi { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 700; color: #1a1000; background: #ffd166; border-radius: 99px; padding: 1px 9px; white-space: nowrap; vertical-align: 2px; }
.eq-mode { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; font-weight: 700; border-radius: 99px; padding: 1px 9px; white-space: nowrap; border: 1px solid; }
.eq-mode.ouvert { color: var(--accent-success); border-color: rgba(0,255,136,.45); background: rgba(0,255,136,.07); }
.eq-mode.candidature { color: #ffd166; border-color: rgba(255,209,102,.5); background: rgba(255,209,102,.07); }
.eq-mode.ferme { color: var(--text-muted); border-color: var(--border-color); }
.eq-aide { font-size: .88rem; color: var(--accent-success); margin-top: 4px; }
.eq-aide b { color: var(--accent-success); }
.eq-places { display: inline-flex; gap: 3px; vertical-align: -1px; margin-right: 3px; }
.eq-places i { width: 10px; height: 10px; border-radius: 3px; background: var(--accent-success); display: inline-block; }
.eq-places i.vide { background: transparent; border: 1px dashed var(--text-muted); }
.eq-btns { display: flex; flex-direction: column; gap: 6px; align-items: stretch; min-width: 172px; }
.eq-btns small { color: var(--text-muted); font-size: .8rem; text-align: center; }
.eq-btns .btn { justify-content: center; text-align: center; }
.eq-adr { font-family: var(--font-mono); font-size: .78rem; color: var(--text-muted); text-align: center; cursor: pointer; background: none; border: 0; padding: 0; overflow-wrap: anywhere; }
.eq-adr:hover, .eq-adr:focus-visible { color: var(--accent-primary); }
.eq-etat { text-align: center; font-weight: 700; font-size: .9rem; }
.eq-etat.ok { color: var(--accent-success); } .eq-etat.att { color: #ffd166; }
.eq-vig { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; position: relative; background: #111; display: grid; place-items: center; font: 900 .9rem var(--font-display); color: #fff; }
.eq-vig img { width: 100%; height: 100%; object-fit: cover; }
.eq-vig em { position: absolute; right: 3px; bottom: 3px; width: 11px; height: 11px; border-radius: 50%; background: var(--accent-success); border: 2px solid #12121a; }
.eq-vig em.off { background: #555; }

/* les filtres et les cartes */
.eq-filtres { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .9rem; }
.eq-filtre { font: 600 .95rem var(--font-body); border-radius: 99px; padding: .3rem .85rem; border: 1px solid var(--border-color); background: var(--bg-secondary); color: var(--text-secondary); cursor: pointer; white-space: nowrap; }
.eq-filtre small { color: var(--text-muted); margin-left: .25rem; font-weight: 700; }
.eq-filtre[aria-pressed="true"] { border-color: var(--accent-success); color: var(--accent-success); background: rgba(0,255,136,.08); }
.eq-trie { color: var(--text-muted); font-size: .9rem; margin: -.3rem 0 .8rem; }
.eq-trie b { color: var(--text-secondary); }
.eq-cartes { display: flex; flex-direction: column; gap: .55rem; }
.eq-carte { display: grid; grid-template-columns: 128px 56px minmax(0, 1fr) auto; gap: .9rem; align-items: center; background: rgba(18,18,26,.88); border: 1px solid var(--border-color); border-radius: 14px; padding: .8rem .95rem .8rem .8rem; transition: border-color .15s; position: relative; }
.eq-carte:hover { border-color: rgba(0,240,255,.4); }
.eq-carte.is-pourtoi { border-color: rgba(255,209,102,.6); background: linear-gradient(90deg, rgba(255,209,102,.08), rgba(18,18,26,.88) 40%); }
.eq-carte.is-moi { border-color: rgba(0,255,136,.55); }
.eq-carte.is-mienne { border-style: dashed; border-color: rgba(0,240,255,.5); }
.eq-delai { align-self: stretch; border-radius: 10px; padding: .45rem .55rem; display: flex; flex-direction: column; justify-content: center; gap: 1px; text-align: center; border: 1px solid; }
.eq-delai b { font: 800 .82rem var(--font-display); letter-spacing: .03em; text-transform: uppercase; }
.eq-delai small { font-size: .8rem; color: var(--text-secondary); line-height: 1.2; }
.eq-delai.d1 { border-color: rgba(0,255,136,.55); background: rgba(0,255,136,.09); } .eq-delai.d1 b { color: var(--accent-success); }
.eq-delai.d2 { border-color: rgba(0,240,255,.45); background: rgba(0,240,255,.07); } .eq-delai.d2 b { color: var(--accent-primary); }
.eq-delai.d3 { border-color: rgba(255,209,102,.45); background: rgba(255,209,102,.06); } .eq-delai.d3 b { color: #ffd166; }
.eq-delai.d4 { border-color: rgba(123,44,191,.55); background: rgba(123,44,191,.10); } .eq-delai.d4 b { color: #c79bff; }
.eq-carte .eq-c-corps { min-width: 0; }
.eq-carte .eq-c-corps > b { display: block; font-size: 1.1rem; line-height: 1.25; overflow-wrap: anywhere; }
.eq-carte .eq-c-corps > b a { color: inherit; text-decoration: none; }
.eq-carte .eq-c-corps > b a:hover { color: var(--accent-primary); }
.eq-c-type { font: 700 .66rem var(--font-display); letter-spacing: .07em; text-transform: uppercase; color: var(--text-muted); display: block; margin-bottom: 1px; overflow-wrap: anywhere; }
.eq-carte .eq-c-corps > small { display: block; color: var(--text-muted); font-size: .9rem; overflow-wrap: anywhere; }
.eq-carte .rj-av { width: 56px; height: 56px; }
.eq-separe { display: flex; align-items: center; gap: .7rem; margin: .8rem 0 .5rem; color: var(--text-muted); font: 700 .7rem var(--font-display); letter-spacing: .07em; text-transform: uppercase; }
.eq-separe::before, .eq-separe::after { content: ""; flex: 1; height: 1px; background: var(--border-color); }
.eq-rien { color: var(--text-secondary); background: var(--bg-secondary); border: 1px dashed var(--border-color); border-radius: 12px; padding: 12px 14px; line-height: 1.5; margin: 0; }

/* joueurs qui cherchent une équipe */
.eq-joueurs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
.eq-j { background: rgba(18,18,26,.85); border: 1px solid var(--border-color); border-radius: 14px; padding: .8rem; display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.eq-j.is-pourtoi { border-color: rgba(255,209,102,.6); }
.eq-j-tete { display: flex; gap: .6rem; align-items: center; min-width: 0; }
.eq-j-av { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font: 900 1.15rem var(--font-display); color: #fff; flex: none; overflow: hidden; object-fit: cover; }
.eq-j-tete b { display: block; font-size: 1.05rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eq-j-tete small { display: block; color: var(--text-muted); font-size: .85rem; }
.eq-enjeu { color: var(--accent-success); font-size: .8rem; font-style: normal; }
.eq-j-fait { display: flex; flex-wrap: wrap; gap: 4px; }
.eq-j-fait span { font-size: .8rem; border-radius: 99px; padding: 1px 8px; border: 1px solid rgba(0,240,255,.35); color: var(--accent-primary); white-space: nowrap; }
.eq-j-dispo { color: var(--text-secondary); font-size: .88rem; }
.eq-j-act { display: flex; flex-direction: column; gap: 5px; margin-top: auto; padding-top: .2rem; }
.eq-j-act .btn { justify-content: center; }
.eq-j.is-plus { border-style: dashed; justify-content: center; align-items: center; text-align: center; color: var(--text-muted); }
.eq-j.is-plus b { font: 900 1.5rem var(--font-display); color: var(--text-secondary); }
.eq-pale { color: var(--text-muted); font-size: .9rem; margin: .6rem 0 0; line-height: 1.5; }
.eq-pale a, .eq-lien { color: var(--accent-primary); font-weight: 700; }

.eq-pied { display: flex; align-items: center; gap: .6rem 1rem; flex-wrap: wrap; margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--border-color); color: var(--text-secondary); }
.eq-pied > span { flex: 1; min-width: 240px; }

/* État vide */
.eq-vide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
.eq-vide-c { border: 1px solid var(--border-color); border-radius: 16px; padding: 1rem; background: rgba(18,18,26,.85); display: flex; flex-direction: column; gap: .45rem; }
.eq-vide-c > span { font-size: 2rem; line-height: 1; }
.eq-vide-c b { font-size: 1.12rem; }
.eq-vide-c p { margin: 0; color: var(--text-secondary); font-size: .95rem; line-height: 1.45; flex: 1; }
.eq-vide-c .btn { align-self: flex-start; }
.eq-vide-c.is-heros { border-color: rgba(0,255,136,.5); background: linear-gradient(160deg, rgba(0,255,136,.10), rgba(18,18,26,.85)); }
.eq-vide-c.is-on { border-color: rgba(255,209,102,.55); }

/* ═════════ Les fenêtres (Rejoindre, Candidater, Inviter, Proposer une partie) ═════════ */
.eq-voile { position: fixed; inset: 0; z-index: 2000; background: rgba(5,5,10,.82); backdrop-filter: blur(5px); overflow-y: auto; padding: 32px 16px 40px; }
.eq-voile[hidden] { display: none; }
.eq-fen { max-width: 860px; margin: 0 auto; background: linear-gradient(160deg, #13131d, #0e0e16); border: 1px solid rgba(0,255,136,.4); border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.6); position: relative; overflow: hidden; }
.eq-fen::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, #00ff88, #00f0ff, #7b2cbf); }
.eq-fen-tete { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px 14px; border-bottom: 1px solid var(--border-color); }
.eq-fen-tete > span { font-size: 2.2rem; line-height: 1; }
.eq-fen-tete h2 { font-size: 1.4rem; margin: 0 0 .25rem; line-height: 1.2; overflow-wrap: anywhere; }
.eq-fen-tete p { margin: 0; color: var(--text-secondary); font-size: 1rem; }
.eq-x { margin-left: auto; background: none; border: 1px solid var(--border-color); color: var(--text-secondary); border-radius: 10px; width: 38px; height: 38px; font-size: 1.1rem; cursor: pointer; flex: none; }
.eq-fen-corps { padding: 16px 22px 6px; display: flex; flex-direction: column; gap: 14px; }
.eq-recap { display: flex; flex-wrap: wrap; gap: 6px; }
.eq-recap span { border: 1px solid var(--border-color); background: var(--bg-secondary); border-radius: 10px; padding: 3px 10px; font-weight: 600; font-size: .95rem; }
.eq-recap span.vert { border-color: rgba(0,255,136,.45); color: var(--accent-success); }
.eq-fen .rj-choix button { position: relative; }
.eq-fen .rj-choix button .eq-pourtoi { position: absolute; top: -9px; right: 8px; }
.eq-deux { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.eq-encart { border: 1px solid var(--border-color); border-radius: 14px; padding: 12px 14px; background: var(--bg-secondary); }
.eq-encart h3 { font: 700 .74rem var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--text-secondary); margin: 0 0 .55rem; }
.eq-encart ol, .eq-encart ul { margin: 0; padding-left: 1.2rem; color: var(--text-secondary); display: flex; flex-direction: column; gap: .35rem; line-height: 1.4; }
.eq-encart li b { color: var(--text-primary); }
.eq-encart.is-voit { border-color: rgba(0,240,255,.35); }
.eq-vu { display: flex; gap: 10px; align-items: center; border: 1px solid rgba(255,170,0,.45); background: rgba(255,170,0,.06); border-radius: 12px; padding: 9px 11px; margin-bottom: .55rem; }
.eq-vu .eq-av-toi { width: 42px; height: 42px; border-radius: 12px; }
.eq-vu > div { min-width: 0; }
.eq-vu b { display: block; overflow-wrap: anywhere; } .eq-vu small { display: block; color: var(--text-secondary); font-size: .88rem; line-height: 1.35; }
.eq-vu em { display: block; font-size: .88rem; color: var(--text-secondary); margin-top: 2px; overflow-wrap: anywhere; }
.eq-jamais { color: var(--text-muted); font-size: .88rem; margin: .5rem 0 0; line-height: 1.4; }
.eq-jamais b { color: var(--text-secondary); }
.eq-fusion { border: 1px dashed rgba(0,240,255,.55); background: rgba(0,240,255,.05); border-radius: 12px; padding: 10px 12px; }
.eq-fusion .rj-coche b { color: var(--text-primary); }
.eq-fen-pied { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 22px 18px; border-top: 1px solid var(--border-color); margin-top: 10px; background: rgba(10,10,15,.5); }
.eq-p-info { flex: 1; min-width: 220px; color: var(--text-muted); font-size: .92rem; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.eq-fen-pied .btn-primary { min-width: 220px; justify-content: center; }
.eq-msg { margin: 0; font-size: .95rem; color: var(--accent-danger, #ff4d6d); }
.eq-msg:empty { display: none; }
.eq-crit { display: flex; flex-wrap: wrap; gap: 6px; }
.eq-crit span { font-size: .88rem; border-radius: 99px; padding: 2px 10px; border: 1px solid rgba(0,255,136,.45); color: var(--accent-success); background: rgba(0,255,136,.06); }
.eq-question { border-left: 3px solid #ffd166; background: rgba(255,209,102,.06); border-radius: 0 10px 10px 0; padding: .5rem .8rem; color: var(--text-primary); font-weight: 600; overflow-wrap: anywhere; }
/* bravo */
.eq-bravo { text-align: center; padding: 26px 22px 6px; }
.eq-bravo .eq-b-ico { font-size: 3.4rem; line-height: 1; display: inline-block; animation: eq-pop .7s ease-out; }
.eq-bravo h2 { font-size: 1.7rem; margin: .5rem 0 .3rem; }
.eq-bravo p { color: var(--text-secondary); font-size: 1.05rem; margin: 0 auto; max-width: 560px; }
.eq-etapes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0 4px; text-align: left; }
.eq-etapes > div { border: 1px solid var(--border-color); border-radius: 14px; padding: 12px; background: var(--bg-secondary); }
.eq-etapes > div.ok { border-color: rgba(0,255,136,.5); background: rgba(0,255,136,.06); }
.eq-etapes b { display: block; margin-bottom: 3px; }
.eq-etapes small { color: var(--text-secondary); font-size: .92rem; line-height: 1.35; display: block; }
.eq-etapes i { font-style: normal; font: 900 .9rem var(--font-display); color: var(--accent-success); }
.eq-confetti { position: fixed; top: -10px; width: 9px; height: 14px; z-index: 5000; pointer-events: none; animation: eq-chute 1.8s ease-in forwards; }
@keyframes eq-chute { to { transform: translateY(105vh) rotate(540deg); opacity: .8; } }
@keyframes eq-pop { from { transform: scale(.5); opacity: 0; } 70% { transform: scale(1.12); opacity: 1; } to { transform: none; } }
.eq-toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 6000; background: #13131d; border: 1px solid var(--accent-success); color: var(--text-primary);
  border-radius: 12px; padding: .55rem 1rem; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.5); max-width: calc(100vw - 32px); }
.eq-toast.ko { border-color: var(--accent-danger, #ff4d6d); }

/* ── Tablette et téléphone ── */
@media (max-width: 1024px) {
  .eq-joueurs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eq-carte { grid-template-columns: 112px 52px minmax(0, 1fr); }
  .eq-carte > .eq-btns { grid-column: 2 / -1; flex-direction: row; flex-wrap: wrap; }
  .eq-carte > .eq-btns > * { flex: 1 1 180px; }
}
@media (max-width: 760px) {
  .eq { padding: 1.05rem .9rem; border-radius: 16px; }
  .eq-titre { font-size: 1.08rem; }
  .eq-sous { font-size: 1rem; }
  .eq-heros { text-align: left; display: flex; align-items: baseline; gap: .6rem; width: 100%; }
  .eq-heros strong { font-size: 2.3rem; }
  .eq-heros span { margin-left: 0; max-width: none; }
  .eq-filtres { flex-wrap: nowrap; overflow-x: auto; margin-inline: -.9rem; padding: 0 .9rem .3rem; scrollbar-width: none; }
  .eq-carte { grid-template-columns: 52px minmax(0, 1fr); gap: .7rem; padding: .75rem; }
  .eq-carte > .eq-delai { grid-column: 1 / -1; flex-direction: row; align-items: baseline; gap: .5rem; justify-content: flex-start; text-align: left; padding: .3rem .6rem; }
  .eq-carte > .eq-btns { grid-column: 1 / -1; flex-direction: column; min-width: 0; }
  .eq-carte > .eq-btns > * { flex: none; }
  .eq-carte .rj-av, .eq-carte .eq-vig { width: 52px; height: 52px; }
  .eq-joueurs { grid-template-columns: minmax(0, 1fr); }
  .eq-vide { grid-template-columns: minmax(0, 1fr); }
  .eq-deux { grid-template-columns: minmax(0, 1fr); }
  .eq-etapes { grid-template-columns: minmax(0, 1fr); }
  .eq-voile { padding: 0; }
  .eq-fen { border-radius: 0; border-inline: 0; min-height: 100%; }
  .eq-fen-tete, .eq-fen-corps, .eq-fen-pied { padding-left: 14px; padding-right: 14px; }
  .eq-fen-pied .btn { width: 100%; }
  .eq-direct { border-radius: 14px; font-size: .95rem; }
  .eq-direct > span[aria-hidden="true"]:not(.eq-pt) { display: none; }   /* les « · » tombaient en bout de ligne */
  .eq-carte > .eq-delai b { white-space: nowrap; }
  .eq-ma { min-width: 0; flex-basis: 100%; grid-template-columns: minmax(0, 1fr); }
  .eq-ma .eq-ma-ico { display: none; }
  .eq-ma b.eq-ma-t, .eq-ma small, .eq-ma .eq-ma-act { grid-column: 1; }
  .eq-toi > .eq-toi-txt { min-width: 0; flex-basis: calc(100% - 50px); }
}
@media (prefers-reduced-motion: reduce) { .eq-direct .eq-pt, .eq-bravo .eq-b-ico { animation: none; } .eq-confetti { display: none; } }

/* 17 oct. 2026 (audit) : pastilles « Voir aussi » de jeux/jeu.php — le survol était fait par des onmouseover/onmouseout
   inline, bloqués par la CSP (aucun 'unsafe-inline' dans script-src) : il passe en CSS. */
.jeu-pastille { display: inline-block; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 50px; padding: 0.4rem 1rem; font-size: 0.85rem; color: var(--text-secondary); text-decoration: none; transition: border-color .2s, color .2s; }
.jeu-pastille:hover, .jeu-pastille:focus-visible { border-color: var(--accent-primary); color: var(--accent-primary); }
