/* ALGATOR COMMENTAIRES : l'ambiance d'un fil de commentaires TikTok la nuit (noir, cyan, rose). Rien ne clignote. */
:root { --fond: #111118; --fond2: #26263a; --accent: #25f4ee; --accent2: #fe2c55; --vert: #25f4ee; }
.com { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 12px; border: var(--contour); border-radius: 16px; background: #fff; box-shadow: 0 4px 0 var(--encre); border-top: 8px solid var(--c, #9aa4ad); min-height: 170px; }
.com .tete { display: flex; align-items: center; gap: 8px; }
.com .avatar { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 400 17px var(--titre); background: var(--c, #9aa4ad); border: 2px solid var(--encre); }
.com .auteur { font-size: 14px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.com .texte { flex: 1; font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; }
.com .pied { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--gris); }
.com .likes { display: inline-flex; align-items: center; gap: 4px; color: #fe2c55; font-weight: 800; }
.com .rarete { font: 400 12px var(--titre); padding: 1px 8px; border-radius: 999px; color: #fff; background: var(--c, #9aa4ad); border: 2px solid var(--encre); }
.com .capture { width: 100%; max-height: 160px; object-fit: cover; border-radius: 8px; border: 2px solid var(--encre); }
.com.manque { background: var(--creme2); }
.com.manque .texte { filter: blur(5px); user-select: none; }
.com .nouveau { position: absolute; right: -6px; top: -12px; background: #fe2c55; color: #fff; border: 2px solid var(--encre); border-radius: 8px; padding: 1px 7px; font: 400 13px var(--titre); transform: rotate(5deg); }
.com.r-mythique { background: linear-gradient(160deg, #fff, #ffe3ee); }
.com.r-legendaire { background: linear-gradient(160deg, #fff, #fff1d6); }
.grille.com-grille { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.chips button { padding: 5px 12px; border: 2px solid var(--encre); border-radius: 999px; background: var(--creme2); font-weight: 800; cursor: pointer; }
.chips button.actif { background: var(--accent); }
