/* Carte d’aperçu partagée par les articles, le fil et le forum. */
.tnf-tag-popover{position:fixed;z-index:95;width:370px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;border:1px solid #30383d;border-radius:15px;background:#161c20;color:#e8edef;box-shadow:0 16px 48px #0006;font:400 14px/1.5 var(--tnf-font,'Segoe UI',system-ui,sans-serif);overflow-wrap:anywhere}
.tnf-tag-popover[hidden]{display:none!important}.tnf-tag-popover *{box-sizing:border-box}.tnf-tag-cover{height:92px;background:linear-gradient(125deg,var(--ct-accent,#d55866),#18252d)}.tnf-tag-cover>img{width:100%;height:100%;object-fit:cover;display:block}.tnf-tag-body{padding:0 18px 15px}.tnf-tag-top{display:flex;align-items:center;gap:10px;margin-top:-21px;position:relative;min-height:60px}.tnf-tag-avatar{display:flex;align-items:center;justify-content:center;flex:none;height:58px;width:58px;background:#202a30;color:#e3b1b8;border:3px solid #161c20;border-radius:50%;font-size:29px;font-weight:500;overflow:hidden}.tnf-tag-avatar img{height:100%;width:100%;object-fit:cover}.tnf-tag-name{min-width:0;flex:1;font-size:16px;font-weight:600;line-height:1.35;color:inherit!important;text-decoration:none}.tnf-tag-follow{margin:0;flex:none}.tnf-tag-follow button,.tnf-tag-join{display:inline-flex;align-items:center;justify-content:center;min-height:34px;border:1px solid #45535b;border-radius:20px;padding:7px 12px;background:#28333a;color:#f3f5f6!important;font:550 12px/1.3 var(--tnf-font,'Segoe UI',sans-serif);text-decoration:none;cursor:pointer}.tnf-tag-follow button[aria-pressed=true]{background:transparent}.tnf-tag-follow button:disabled{opacity:.6;cursor:wait}.tnf-tag-description{font-size:14px;line-height:1.6;color:#b2c0c8;margin:13px 0 17px}.tnf-tag-stats{display:flex;gap:18px;justify-content:space-between;padding:15px 0 12px;border-top:1px solid #303a41}.tnf-tag-stats span{min-width:0}.tnf-tag-stats strong{display:block;font-size:16px;font-weight:550;line-height:1.4}.tnf-tag-stats small{display:block;font-size:11px;line-height:1.5;color:#92a5b2;margin-top:3px}.tnf-tag-open{display:inline-block;font-size:12px;line-height:1.5;color:#bdcbd4!important;text-decoration:none;padding-top:4px}.tnf-tag-status{font-size:12px;line-height:1.6;margin:9px 0 0;color:#a9cfb7}.tnf-tag-status:empty{display:none}.tnf-tag-popover :focus-visible{outline:2px solid #e89aa6;outline-offset:3px}
/* L’accueil d’un hashtag garde le même cadre que le fil. */
.m-community .ct-community{margin:0 0 22px;--ct-accent:#d55866}.m-community .ct-banner{height:175px;border-radius:10px;overflow:hidden;background:linear-gradient(120deg,var(--ct-accent),#182b37);border:1px solid var(--m-line)}.m-community .ct-banner img{display:block;width:100%;height:100%;object-fit:cover}.m-community .ct-identity{display:flex;align-items:flex-start;gap:17px;padding:0 12px;margin-top:-30px;position:relative}.m-community .ct-avatar{width:84px;height:84px;flex:none;display:flex;align-items:center;justify-content:center;border:4px solid var(--c-feed-surface,#0e1012);border-radius:50%;background:#25323b;color:#dfb2ba;font-size:42px;font-weight:500;overflow:hidden}.m-community .ct-avatar img{width:100%;height:100%;object-fit:cover}.m-community .ct-title{min-width:0;flex:1;padding-top:43px}.m-community .ct-title h1{font-size:28px;line-height:1.25;font-weight:650;letter-spacing:-.025em;margin:0 0 7px;overflow-wrap:anywhere}.m-community .ct-title>span{font-size:13px;line-height:1.5;color:var(--m-muted)}.m-community .ct-title p{font-size:14px;line-height:1.65;color:var(--m-muted);margin:9px 0 0}.m-community .ct-community-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:18px 0 0;padding-left:12px}.m-community .ct-create,.m-community .ct-customize{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;border:1px solid #4b555e;border-radius:22px;padding:8px 13px;font-size:12px;line-height:1.4;color:var(--m-text);text-decoration:none;background:var(--m-surface2)}.m-community .ct-create .m-icon{height:15px;width:15px}.m-community .ct-customize{background:transparent;color:var(--m-muted)}.m-community .ct-community-actions .c-tag-follow{align-items:flex-start}.m-community .ct-community-actions .c-tag-follow button{font-size:12px;min-height:36px}.m-community .ct-welcome{padding:18px 20px;margin:0 0 20px;border:1px solid var(--m-line);border-radius:10px;background:var(--m-surface)}.m-community .ct-welcome h2{font-size:15px;font-weight:550;line-height:1.4;margin:0 0 9px}.m-community .ct-welcome p{font-size:14px;line-height:1.7;margin:0;color:var(--m-muted);overflow-wrap:anywhere}
.m-community .ct-about h2{font-size:18px;font-weight:550;line-height:1.4;letter-spacing:-.01em;margin:0 0 12px;overflow-wrap:anywhere}.m-community .ct-about>p{font-size:14px;line-height:1.65;color:var(--m-muted);margin:0 0 15px}.m-community .ct-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;border-block:1px solid var(--m-line);padding:15px 0;margin-bottom:15px;font-size:12px;color:var(--m-muted)}.m-community .ct-stats strong{display:block;font-size:18px;line-height:1.4;font-weight:550;color:var(--m-text);margin-bottom:4px}.m-community .ct-about .ct-created,.m-community .ct-public{display:block;font-size:12px;line-height:1.6;color:var(--m-muted)}.m-community .ct-rules{border-top:1px solid var(--m-line);padding-top:16px;margin-top:16px}.m-community .ct-rules h3{font-size:13px;font-weight:550;line-height:1.5;margin:0 0 12px}.m-community .ct-rules ol{padding-left:19px;margin:0}.m-community .ct-rules li{font-size:13px;line-height:1.65;color:var(--m-muted);padding:5px 0}
.m-community .ct-settings h1{font-size:26px;line-height:1.3;font-weight:650;letter-spacing:-.02em;margin:18px 0 12px;overflow-wrap:anywhere}.m-community .ct-settings>p{font-size:14px;line-height:1.7;margin-bottom:24px}.m-community .ct-back{font-size:13px;color:var(--m-muted)}.m-community .ct-settings-form{display:flex;flex-direction:column;gap:20px}.m-community .ct-settings-form label{display:flex;flex-direction:column;gap:8px;font-size:14px;line-height:1.5;font-weight:500}.m-community .ct-settings-form input:not([type=checkbox]),.m-community .ct-settings-form textarea{width:100%;padding:11px 13px;border:1px solid #3a444d;border-radius:7px;background:var(--m-surface);color:var(--m-text);font:400 15px/1.6 var(--tnf-font,'Segoe UI',sans-serif);min-width:0}.m-community .ct-settings-form textarea{resize:vertical}.m-community .ct-settings-form input[type=color]{width:74px;height:44px;padding:5px}.m-community .ct-settings-form input[type=file]{font-size:13px;padding:9px}.m-community .ct-image-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.m-community .ct-image-fields>section{min-width:0;padding:18px;border:1px solid var(--m-line);border-radius:9px;background:var(--m-surface)}.m-community .ct-image-fields h2{font-size:17px;font-weight:500;margin:0 0 15px}.m-community .ct-image-fields small{display:block;font-size:12px;line-height:1.6;color:var(--m-muted);margin-top:10px}.m-community .ct-settings-icone{display:block;width:80px;height:80px;object-fit:cover;border-radius:50%;margin-bottom:15px}.m-community .ct-settings-banniere{display:block;width:100%;height:80px;object-fit:cover;border-radius:7px;margin-bottom:15px}.m-community .ct-settings-form .ct-remove{flex-direction:row;align-items:center;gap:8px;margin-top:14px;font-size:12px;font-weight:400;color:var(--m-muted)}.m-community .ct-save{align-self:flex-start;display:inline-flex;min-height:40px;align-items:center;justify-content:center;padding:10px 17px;border:1px solid var(--m-coral);border-radius:22px;background:var(--m-coral);color:#fff;font:550 14px/1.4 var(--tnf-font,'Segoe UI',sans-serif);cursor:pointer}.m-community .ct-settings-note{font-size:12px;line-height:1.7;color:var(--m-muted);margin:0}
:root[data-theme=light] .tnf-tag-popover{background:#fff;border-color:#d7dfe4;color:#26343e;box-shadow:0 12px 40px #28343d24}:root[data-theme=light] .tnf-tag-avatar{border-color:#fff;background:#edf1f4;color:#9a5968}:root[data-theme=light] .tnf-tag-name{color:#26343e!important}:root[data-theme=light] .tnf-tag-description,:root[data-theme=light] .tnf-tag-stats small,:root[data-theme=light] .tnf-tag-open{color:#657c8c!important}:root[data-theme=light] .tnf-tag-stats{border-color:#dce3e8}:root[data-theme=light] .tnf-tag-follow button,:root[data-theme=light] .tnf-tag-join{background:#e7edf2;border-color:#c1cdd6;color:#354e60!important}:root[data-theme=light] .m-community .ct-settings-form input:not([type=checkbox]),:root[data-theme=light] .m-community .ct-settings-form textarea{border-color:#c7d2da}
@media(max-width:650px){.tnf-tag-popover{width:340px}.tnf-tag-cover{height:80px}.m-community .ct-banner{height:125px}.m-community .ct-identity{gap:12px;padding-inline:6px;margin-top:-24px}.m-community .ct-avatar{height:66px;width:66px;font-size:33px;border-width:3px}.m-community .ct-title{padding-top:35px}.m-community .ct-title h1{font-size:24px}.m-community .ct-title p{font-size:13px}.m-community .ct-community-actions{padding-left:6px;gap:7px}.m-community .ct-welcome{padding:15px}.m-community .ct-image-fields{grid-template-columns:1fr}.m-community .ct-settings h1{font-size:23px}.m-community .ct-settings-form input:not([type=checkbox]),.m-community .ct-settings-form textarea{font-size:16px}}

.m-community .ct-community-actions .c-tag-follow button{background:var(--ct-accent);border-color:var(--ct-accent);color:var(--ct-accent-ink,#fff)}
.m-community .ct-community-actions .c-tag-follow button[aria-pressed=true]{background:transparent;border-color:var(--ct-accent);color:var(--m-text)}
.tnf-tag-description{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

/* Aperçu : une zone interactive stable entre le lien, le texte et le suivi. */
.tnf-tag-popover{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#4c5d67 transparent;isolation:isolate}
.tnf-tag-top{align-items:center}.tnf-tag-name{align-self:center;padding-top:13px;padding-bottom:4px;overflow-wrap:anywhere}
.tnf-tag-name:hover,.tnf-tag-open:hover{color:#f2d9de!important;text-decoration:underline;text-underline-offset:3px}
.tnf-tag-follow,.tnf-tag-join{align-self:center;margin-top:13px}.tnf-tag-follow button{transition:background .15s,border-color .15s}
.tnf-tag-follow button:hover,.tnf-tag-join:hover{background:#354149;border-color:var(--ct-accent,#bd6f7c)}
.tnf-tag-follow button[aria-pressed=true]{color:#c4dace!important;border-color:#5d7c6a}
.tnf-tag-follow button[aria-busy=true]{cursor:progress;opacity:.6}
.tnf-tag-stats{gap:13px}.tnf-tag-stats strong{font-variant-numeric:tabular-nums}.tnf-tag-stats small{font-size:11px}
.tnf-tag-status{overflow-wrap:anywhere}.tnf-tag-status.is-error{color:#efadb8}.tnf-tag-open{padding:7px 0 3px;min-height:31px}
.m-community .ct-create:hover,.m-community .ct-customize:hover{background:var(--c-hover,#263038);border-color:#6a7882;color:var(--m-text)}
.m-community .ct-community-actions .c-tag-follow [data-tag-status]{text-align:left;font-size:11px;max-width:420px}
.m-community .ct-title h1{overflow-wrap:anywhere}.m-community .ct-community-actions{align-items:flex-start}
.m-community .ct-settings-form input:focus-visible,.m-community .ct-settings-form textarea:focus-visible,.m-community .ct-search input:focus-visible{outline:2px solid var(--ct-accent,var(--m-coral,#ef4444));outline-offset:3px}
.m-community .ct-settings-form input[type=file]::file-selector-button{background:#27343e;border:1px solid #455969;border-radius:5px;color:#c4d5e1;font:500 12px/1.4 var(--tnf-font,'Segoe UI',sans-serif);padding:7px 10px;margin-right:10px;cursor:pointer}
.m-community .ct-owned{margin:20px 0 27px}.m-community .ct-owned>h2{font-size:17px;line-height:1.4;font-weight:600;letter-spacing:-.2px;margin:0 0 9px}.m-community .ct-owned>p{font-size:12px;line-height:1.65;color:var(--m-muted);margin:0 0 13px;max-width:650px}
.m-community .ct-owned-list,.m-community .ct-owned-rows{max-height:300px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#4b5c69 transparent;overscroll-behavior:contain;border:1px solid var(--m-line);border-radius:9px;background:var(--m-surface);padding:3px 13px}
.m-community .ct-owned-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:11px 0;border-bottom:1px solid var(--m-line)}.m-community .ct-owned-row:last-child{border-bottom:0}.m-community .ct-owned-row>.c-tag{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;max-width:65%;font-size:11px}.m-community .ct-owned-row .ct-customize{flex:none;min-height:31px;padding:6px 11px;font-size:11px}
.m-community .ct-tile-description{display:-webkit-box;grid-column:2;grid-row:3;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11px;line-height:1.6;color:var(--m-muted);margin:4px 0 1px;overflow-wrap:anywhere}.m-community .c-tag-tile:has(.ct-tile-description)>.c-tag-trend{grid-row:4}.m-community .c-tag-tile:has(.ct-tile-description)>.c-tag-count{grid-row:2}
.m-community .c-tag-tile-mark>img{display:block;width:38px;height:38px;max-width:100%;max-height:100%;object-fit:cover;border-radius:9px}.m-community .c-tag-tile-mark:has(img){border:0;background:none;overflow:hidden;align-self:start}
.m-community .ct-search{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:8px 0 17px;padding:0 1px}.m-community .ct-search>input{min-width:0;flex:1 1 190px;min-height:38px;padding:9px 12px;border:1px solid #3c4b57;border-radius:8px;background:var(--m-surface);color:var(--m-text);font:400 13px/1.4 var(--tnf-font,'Segoe UI',sans-serif)}.m-community .ct-search>input::placeholder{color:var(--m-muted)}
.m-community .ct-search>button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 12px;border:1px solid #465969;border-radius:8px;background:var(--m-surface2);color:var(--m-text);font-size:12px;font-weight:550;cursor:pointer}.m-community .ct-search>button:hover{background:#2b3741;border-color:#7c5966}.m-community .ct-search>button .m-icon{width:16px;height:16px}.m-community .ct-search>a{padding:7px 3px;font-size:11px;line-height:1.4;color:var(--m-muted)}.m-community .ct-search>a:hover{color:var(--m-text);text-decoration:underline;text-underline-offset:3px}
:root[data-theme=light] .tnf-tag-name:hover,:root[data-theme=light] .tnf-tag-open:hover{color:#945c6b!important}:root[data-theme=light] .tnf-tag-follow button:hover,:root[data-theme=light] .tnf-tag-join:hover{background:#dce7ee;border-color:#af7b8a}:root[data-theme=light] .tnf-tag-follow button[aria-pressed=true]{color:#456551!important;border-color:#9eb9a7}:root[data-theme=light] .tnf-tag-status{color:#537761}:root[data-theme=light] .tnf-tag-status.is-error{color:#ad5068}:root[data-theme=light] .m-community .ct-settings-form input[type=file]::file-selector-button{background:#e3edf4;border-color:#b8ccd9;color:#4f6e84}:root[data-theme=light] .m-community .ct-search>input{border-color:#bed1df}:root[data-theme=light] .m-community .ct-search>button{border-color:#b4cbdc}:root[data-theme=light] .m-community .ct-search>button:hover{background:#e0edf6}
@media(max-width:650px){.tnf-tag-popover{max-width:calc(100vw - 20px);border-radius:12px}.tnf-tag-body{padding:0 14px 12px}.tnf-tag-avatar{width:50px;height:50px;font-size:25px}.tnf-tag-top{gap:9px;margin-top:-18px;min-height:54px}.tnf-tag-name{font-size:15px;padding-top:12px}.tnf-tag-follow button,.tnf-tag-join{font-size:11px;min-height:34px;padding-inline:10px}.tnf-tag-description{font-size:13px;margin-block:11px 13px}.tnf-tag-stats{gap:10px;padding-block:12px 10px}.tnf-tag-stats strong{font-size:15px}.tnf-tag-stats small{font-size:10px}.tnf-tag-status{font-size:11px}.m-community .ct-owned{margin-block:18px 24px}.m-community .ct-owned>h2{font-size:16px}.m-community .ct-owned>p{font-size:11px}.m-community .ct-owned-row{gap:8px;padding-block:10px}.m-community .ct-owned-row>.c-tag{font-size:10px;max-width:calc(100% - 105px)}.m-community .ct-owned-row .ct-customize{font-size:10px;min-height:30px;padding-inline:9px}.m-community .ct-tile-description{font-size:10px;line-height:1.55}.m-community .ct-search{gap:7px;margin-bottom:14px}.m-community .ct-search>input{min-height:36px;font-size:12px;padding:8px 10px;flex-basis:150px}.m-community .ct-search>button{min-height:36px;font-size:11px;padding:8px 10px}.m-community .ct-search>a{font-size:10px}.m-community .ct-community-actions .c-tag-follow [data-tag-status]{max-width:270px;font-size:10px}}
@media(max-width:380px){.m-community .ct-search>input{flex-basis:140px}.m-community .ct-search>button>span{display:none}.m-community .ct-search>button{width:36px;padding:8px}.m-community .ct-owned-row>.c-tag{max-width:calc(100% - 100px)}.tnf-tag-popover{width:calc(100vw - 24px)}.tnf-tag-top{gap:7px}.tnf-tag-name{font-size:14px}.tnf-tag-avatar{width:45px;height:45px}.tnf-tag-follow button,.tnf-tag-join{padding-inline:9px;min-height:33px}}
@media(prefers-reduced-motion:reduce){.tnf-tag-popover *,.m-community .ct-create,.m-community .ct-customize{transition:none!important}}

.m-community .ct-owned:has(>.ct-owned-row){max-height:300px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#4b5c69 transparent;padding:15px;border:1px solid var(--m-line);border-radius:10px;background:var(--m-surface)}
.m-community .ct-search>input[type=hidden]{display:none}
@media(max-width:650px){.m-community .ct-owned:has(>.ct-owned-row){padding:13px}}

/* Le mot d’accueil reste disponible sans repousser le fil sous une longue présentation. */
.m-community details.ct-welcome{padding:0}
.m-community details.ct-welcome>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 18px;cursor:pointer;list-style:none;font-size:14px;font-weight:500;line-height:1.4}
.m-community details.ct-welcome>summary::-webkit-details-marker{display:none}
.m-community details.ct-welcome>summary>span+span{font-size:12px;font-weight:400;color:var(--m-muted)}
.m-community details.ct-welcome[open]>summary{border-bottom:1px solid var(--m-line)}
.m-community details.ct-welcome>p{padding:15px 18px}
.m-community .ct-community-actions .ct-customize>.m-icon{width:15px;height:15px}
@media(max-width:650px){.m-community details.ct-welcome>summary{font-size:13px;padding:13px 14px}.m-community details.ct-welcome>summary>span+span{font-size:11px}.m-community details.ct-welcome>p{padding:14px}}