/* CLIK.ma « Traduction automatique » (__clik_tx_line.tpl): the line under a text shown in French */
.clik-tx { display: flex; margin: 8px 0 0; }
.clik-tx.is-mag { margin: 8px 0; }
.clik-tx-b:not(#_) { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; max-width: 100%; padding: 0 10px; border: 0; border-radius: 999px; font: inherit; font-size: 12.5px; font-weight: 600; line-height: 1.2; color: #65676b; background: #f0f2f5; text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.clik-tx-b svg { flex: none; color: #0866FF; }
.clik-tx-from { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clik-tx-dot { opacity: .6; }
.clik-tx-l { flex: none; color: #0866FF; }
.clik-tx-b:hover, .clik-tx-b:focus-visible { background: #e7f0ff; color: #050505; }
.clik-tx-b:focus { outline: none; }
.clik-tx-b:focus-visible { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0866FF; }
body.night-mode .clik-tx-b:not(#_) { color: #b0b3b8; background: #3a3b3c; }
body.night-mode .clik-tx-b svg, body.night-mode .clik-tx-l { color: #4C9AFF; }
body.night-mode .clik-tx-b:hover, body.night-mode .clik-tx-b:focus-visible { background: #263450; color: #e4e6eb; }
/* inside a feed card: on the text's own edges (4 px inside the card, 8 on phones - the post's rule) */
.clik-feed-grid .post-replace .clik-tx { margin-top: 8px; }
/* 17 Nov (extra 1): a comment or a chat message shown in French - a smaller line under its words */
.clik-tx.is-small { margin: 4px 0 0; }
.clik-tx.is-small .clik-tx-b:not(#_) { min-height: 22px; padding: 0 8px; gap: 4px; font-size: 11.5px; }
.clik-tx.is-small .clik-tx-b svg { width: 13px; height: 13px; }
/* in a comment's bubble: right under its words, never wider than the bubble */
.post-comments .comment-inner .clik-tx.is-small { max-width: 100%; }
/* in a chat bubble: under the bubble, on its side (the received ones only - one's own is never translated) */
.conversation .conversation-body > .clik-tx.is-small { margin: 4px 0 2px; }
.conversation.right .conversation-body > .clik-tx.is-small { justify-content: flex-end; }
.clik-tx.is-new { animation: clik-tx-in .35s ease-out both; }
@keyframes clik-tx-in { from { opacity: 0; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .clik-tx.is-new { animation: none; } }
/* 17 Nov (extra 3): « Garder mon annonce telle qu'écrite » on the publishing forms */
.clik-tx-keep .form-text { margin: 0; }
