/* Tchat des membres */
.tm-tchat{font-size:13px;line-height:1.45;border:1px solid rgba(0,0,0,.14);border-radius:6px;background:#fff;color:#222;overflow:hidden;text-align:left}
.tm-tchat *{box-sizing:border-box}
.tm-entete{display:flex;align-items:center;gap:4px;padding:2px 4px 2px 8px;background:#f3f6f9;border-bottom:1px solid rgba(0,0,0,.08);min-height:28px}
.tm-presents{flex:1;font-size:11px;color:#555}
.tm-outils{display:flex;gap:2px;margin-left:auto}
.tm-outils button{background:none;border:1px solid transparent;border-radius:4px;cursor:pointer;font-size:14px;line-height:1;padding:3px 5px;color:#333}
.tm-outils button:hover,.tm-outils button:focus{border-color:#c8c8c8;background:#fff}
.tm-point{display:inline-block;width:7px;height:7px;border-radius:50%;background:#3bb54a;margin-right:3px;vertical-align:1px}
.tm-liste{overflow-y:auto;padding:6px 8px;overflow-wrap:anywhere;word-wrap:break-word}
.tm-msg{padding:3px 0;border-bottom:1px dotted rgba(0,0,0,.08)}
.tm-msg:last-child{border-bottom:0}
.tm-heure{color:#888;font-size:11px}
.tm-avatar{display:inline-block;width:16px;height:16px;border-radius:50%;vertical-align:-3px;margin:0 3px 0 0}
.tm-auteur{color:#1d5f8a}
.tm-moi .tm-auteur{color:#2a7a2a}
.tm-invite .tm-auteur{color:#666}
.tm-badge{font-size:10px;color:#999}
.tm-smiley{display:inline;vertical-align:middle;max-height:22px;width:auto;margin:0 1px}
.tm-suppr{float:right;border:0;background:none;color:#b32d2e;cursor:pointer;font-size:15px;line-height:1;padding:0 2px;opacity:.45}
.tm-suppr:hover,.tm-suppr:focus{opacity:1}
.tm-vide{color:#888;font-style:italic;margin:6px 0;text-align:center}
.tm-form{margin:0;padding:6px;border-top:1px solid rgba(0,0,0,.1);background:#fafafa}
.tm-form input[type=text]{display:block;width:100%;font-size:13px;padding:5px 7px;margin:0 0 5px;border:1px solid #c8c8c8;border-radius:4px;background:#fff;color:#222}
.tm-identite{margin:0 0 4px;font-size:11px;color:#666}
.tm-actions{display:flex;justify-content:space-between;align-items:center;gap:6px}
.tm-rapides{display:flex;align-items:center;flex-wrap:wrap;gap:1px}
.tm-rapides button{background:none;border:1px solid transparent;border-radius:3px;padding:1px;cursor:pointer;line-height:0}
.tm-rapides button:hover,.tm-rapides button:focus{border-color:#1d5f8a}
.tm-rapides img{width:auto;height:18px}
.tm-rapides .tm-bouton-smileys{line-height:18px;font-size:14px;font-weight:bold;padding:0 6px;border:1px solid #c8c8c8;background:#fff;color:#333;margin-left:2px}
.tm-envoyer{font-size:13px;padding:4px 12px;cursor:pointer;border-radius:4px;border:0;background:#1d5f8a;color:#fff}
.tm-envoyer:disabled{opacity:.6;cursor:wait}
.tm-smileys{display:flex;flex-wrap:wrap;gap:2px;margin-top:6px;max-height:120px;overflow-y:auto;padding:4px;background:#fff;border:1px solid #e2e2e2;border-radius:4px}
.tm-smileys[hidden]{display:none}
.tm-smileys button{background:none;border:1px solid transparent;border-radius:3px;padding:2px;cursor:pointer;line-height:0}
.tm-smileys button:hover,.tm-smileys button:focus{border-color:#1d5f8a}
.tm-smileys img{width:auto;height:20px}
.tm-erreur{color:#b32d2e;font-size:12px;margin:5px 0 0}
.tm-erreur[hidden]{display:none}
.tm-connexion,.tm-lien-regles{margin:0;padding:6px 8px;font-size:12px;border-top:1px solid rgba(0,0,0,.08)}
.tm-lien-regles{text-align:right;font-size:11px}
.tm-regles h3{margin-top:1.2em}
.tm-mode-test{margin:0;padding:4px 8px;font-size:11px;background:#fff4d6;color:#7a5a00;border-bottom:1px solid #f0d58a}
.tm-tchat.tm-grand{position:fixed;z-index:100000;top:3vh;left:50%;transform:translateX(-50%);width:min(900px,96vw);height:94vh;margin:0;display:flex;flex-direction:column;font-size:15px;box-shadow:0 10px 40px rgba(0,0,0,.35)}
.tm-grand .tm-liste{flex:1;height:auto!important;padding:10px 14px}
.tm-grand .tm-smiley{max-height:28px}
.tm-grand .tm-smileys{max-height:160px}
.tm-fond{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.55);z-index:99999}
html.tm-page-bloquee{overflow:hidden}
