/* Champ de rédaction compact commun au portail et au forum. */
.fc-composer{position:relative;min-width:0;margin:0;border:1px solid #3d444b;border-radius:14px;background:#111518;color:#dce2e7;overflow:visible;--fc-line:#333d45;--fc-muted:#8d9aa4;--fc-tool:#b5c0c8;--fc-surface:#1b2329;--fc-red:#ef4444}
.fc-composer:focus-within,.fc-composer.is-editing{border-color:#7a858e}.fc-composer [hidden]{display:none!important}.fc-composer .fc-sr{position:absolute!important;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden;margin:-1px;padding:0;border:0;white-space:nowrap}.fc-input-wrap{position:relative;min-width:0}.fc-composer .fc-input-wrap>textarea{display:block;box-sizing:border-box;width:100%;max-width:100%;min-height:76px;max-height:70vh;resize:vertical;padding:15px 43px 12px 16px;margin:0;border:0;border-radius:13px 13px 0 0;background:transparent;color:inherit;font:400 14px/1.7 var(--tnf-font,'Reddit Sans','Segoe UI',system-ui,sans-serif);outline:0;box-shadow:none}.fc-composer-topic .fc-input-wrap>textarea{min-height:148px}.fc-composer .fc-input-wrap>textarea::placeholder{color:#919da7;opacity:1}.fc-composer .fc-input-wrap>textarea:focus-visible{outline:0;box-shadow:none}.fc-composer .fc-expand{position:absolute;top:9px;right:9px;width:27px;height:27px;display:flex;align-items:center;justify-content:center;padding:5px;border:0;border-radius:5px;background:transparent;color:#8fa0ad;cursor:pointer}.fc-composer .fc-expand:hover{background:#26333d;color:#dce9f2}.fc-composer .fc-expand .f-icon{width:16px;height:16px}.fc-composer .fc-js-only{display:none}.fc-composer.is-enhanced .fc-js-only{display:flex}.fc-composer .fc-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 11px 9px;min-height:47px}.fc-composer .fc-tools,.fc-composer .fc-submit-actions{display:flex;align-items:center;gap:5px;flex-wrap:wrap;min-width:0}.fc-composer .fc-submit-actions{gap:8px;flex:none}.fc-composer .fc-tool{display:flex;align-items:center;justify-content:center;gap:4px;min-width:30px;min-height:30px;border:0;border-radius:50%;padding:5px;background:none;color:var(--fc-tool);cursor:pointer;font:500 14px/1.2 var(--tnf-font,'Segoe UI',sans-serif)}.fc-composer .fc-tool>.f-icon{width:18px;height:18px}.fc-composer .fc-tool[data-compact-emojis]{font-size:22px;font-family:system-ui,sans-serif}.fc-composer .fc-tool[data-compact-format]{font-size:14px;letter-spacing:-.5px}.fc-composer .fc-tool:hover,.fc-composer .fc-tool[aria-expanded=true]{color:#edf5fa;background:#2c3943}.fc-composer .fc-submit,.fc-composer .fc-cancel{display:inline-flex;align-items:center;justify-content:center;min-height:32px;border:1px solid transparent;border-radius:18px;padding:7px 14px;font:600 12px/1.3 var(--tnf-font,'Segoe UI',sans-serif);white-space:nowrap;cursor:pointer}.fc-composer .fc-submit{background:#ef4444;border-color:#ef4444;color:#fff}.fc-composer .fc-submit:hover{background:#d5353b;border-color:#d5353b}.fc-composer .fc-submit:disabled{opacity:.55;cursor:wait}.fc-composer .fc-cancel{background:#253039;color:#d0dce5}.fc-composer .fc-cancel:hover{background:#35444f}.fc-composer .fc-counter{color:var(--fc-muted);font-size:9px;line-height:1.3;padding:0 5px}.fc-composer .fc-status{font-size:10px;line-height:1.5;color:#93a7b5;padding:0 15px 10px;margin:0}.fc-composer .fc-status:empty{display:none}.fc-composer .fc-error{font-size:11px;line-height:1.6;margin:0 12px 12px;padding:9px 11px;border-radius:7px;background:#39242d;border:1px solid #835569;color:#e4b5c7}.fc-composer .fc-format-panel{border-top:1px solid var(--fc-line);border-bottom:1px solid var(--fc-line);padding:7px 9px;background:#172028}.fc-composer .fc-format-toolbar{display:flex;align-items:center;gap:4px;flex-wrap:wrap;width:100%}.fc-composer .fc-format-toolbar>button{display:inline-flex;align-items:center;justify-content:center;min-width:31px;min-height:30px;padding:5px 7px;font:500 12px/1.3 var(--tnf-font,'Segoe UI',sans-serif);border:0;border-radius:5px;background:none;color:#bbccd9;cursor:pointer}.fc-composer .fc-format-toolbar>button:hover{background:#2d4252;color:#edf8ff}.fc-composer .fc-format-toolbar>button>.f-icon{width:15px;height:15px}.fc-composer .fc-format-toolbar>button.fc-preview-button{margin-left:auto;font-size:10px;padding-inline:9px;border:1px solid #465d6e;border-radius:14px;min-height:27px}.fc-composer .fc-format-toolbar>button:disabled{opacity:.4;cursor:default}/* Smileys TricknFix : six colonnes, cibles tactiles et défilement contenu. */
.fc-composer .fc-emoji-panel{position:absolute;bottom:50px;left:11px;z-index:12;box-sizing:border-box;display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));align-content:start;gap:4px;width:300px;max-width:calc(100% - 22px);max-height:min(360px,60vh);padding:10px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scroll-padding:8px;scrollbar-width:thin;background:#191d21;border:1px solid #41474e;border-radius:12px;box-shadow:0 12px 32px #0009;color:#dce2e7}
.fc-composer .fc-emoji-panel[hidden]{display:none!important}
.fc-composer .fc-smiley-heading{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;margin:0;padding:2px 3px 6px;color:#c8d0d7;font:700 10px/1.4 var(--tnf-font,'Segoe UI',sans-serif);letter-spacing:.06em;text-transform:uppercase}
.fc-composer .fc-smiley-heading small{font:400 10px/1.4 var(--tnf-font,'Segoe UI',sans-serif);letter-spacing:0;text-transform:none;color:var(--fc-muted)}
.fc-composer .fc-smiley-grid{grid-column:1/-1;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;min-width:0}
.fc-composer .fc-emoji-panel>button,.fc-composer .fc-smiley-grid>button,.fc-composer .fc-emoji-standard button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-width:0;height:44px;min-height:44px;padding:3px;border:1px solid transparent;border-radius:8px;background:transparent;color:inherit;font:23px/1.2 system-ui,sans-serif;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.fc-composer .fc-emoji-panel button>img{display:block;flex:none;width:34px;height:34px;max-width:100%;margin:0;object-fit:contain;pointer-events:none;transition:transform 160ms ease}
.fc-composer .fc-emoji-panel>button:hover,.fc-composer .fc-smiley-grid>button:hover,.fc-composer .fc-emoji-standard button:hover{background:#30292d;border-color:#6a3d43}
.fc-composer .fc-emoji-panel button:focus-visible{outline:2px solid #ef777f;outline-offset:-2px;background:#30292d;border-color:transparent}
.fc-composer .fc-emoji-panel button:focus-visible>img{transform:scale(1.12)}
.fc-composer .fc-emoji-standard{grid-column:1/-1;min-width:0;margin-top:4px;padding-top:8px;border-top:1px solid var(--fc-line)}
.fc-composer .fc-emoji-standard:not(details),.fc-composer .fc-emoji-standard>div{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}
.fc-composer .fc-emoji-standard>summary{min-height:30px;padding:4px 3px;color:var(--fc-muted);font:500 11px/1.6 var(--tnf-font,'Segoe UI',sans-serif);cursor:pointer}
.fc-composer .fc-emoji-standard>summary:focus-visible{outline:2px solid #ef777f;outline-offset:1px;border-radius:3px}
.fc-composer .fc-emoji-standard .fc-smiley-heading{font-weight:500;letter-spacing:0;text-transform:none;color:var(--fc-muted)}
@media(hover:hover) and (pointer:fine){.fc-composer .fc-emoji-panel button:hover>img{transform:scale(1.12)}}
.fc-composer .fc-upload{margin:0;padding:8px 13px;min-width:0;border:0;background:transparent}.fc-composer .fc-image-label{display:block;font-size:11px;margin-bottom:7px;color:#a5bccd}.fc-composer .fc-upload input[type=file]{max-width:100%;font-size:11px;color:#9db5c7}.fc-composer.is-enhanced .fc-upload input[type=file],.fc-composer.is-enhanced .fc-image-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.fc-composer.is-enhanced .fc-upload{padding:0 14px}.fc-composer .fc-file-status{display:block;font-size:10px;line-height:1.6;color:#8ca6b9;overflow-wrap:anywhere}.fc-composer .fc-file-status:empty{display:none}.fc-composer .fc-upload:has(.fc-file-status:empty){padding:0}.fc-composer .f-editor-preview{border:0;border-radius:13px 13px 0 0;margin:0;padding:16px;min-height:76px;background:transparent;max-height:65vh;overflow:auto;font-size:14px;line-height:1.8;color:#cddde9}.fc-composer button:focus-visible{outline:2px solid #ec8b94;outline-offset:3px}
:root[data-theme=light] .fc-composer{background:#fff;color:#344c5e;border-color:#bccbd6;--fc-line:#d5e0e8;--fc-muted:#768fa2;--fc-tool:#6a879b}:root[data-theme=light] .fc-composer:focus-within{border-color:#7595ad}:root[data-theme=light] .fc-composer .fc-input-wrap>textarea::placeholder{color:#8499a8}:root[data-theme=light] .fc-composer .fc-expand:hover,:root[data-theme=light] .fc-composer .fc-tool:hover,:root[data-theme=light] .fc-composer .fc-tool[aria-expanded=true]{background:#e8f0f6;color:#436e8d}:root[data-theme=light] .fc-composer .fc-cancel{background:#e6eef4;color:#51728b}:root[data-theme=light] .fc-composer .fc-cancel:hover{background:#d7e6f1}:root[data-theme=light] .fc-composer .fc-format-panel{background:#edf4f9}:root[data-theme=light] .fc-composer .fc-format-toolbar>button{color:#567b98}:root[data-theme=light] .fc-composer .fc-format-toolbar>button:hover{background:#d9eaf5;color:#345d7b}:root[data-theme=light] .fc-composer .fc-emoji-panel{background:#fff;border-color:#cbd2d8;box-shadow:0 12px 32px #15273722;color:#2c3944}:root[data-theme=light] .fc-composer .fc-smiley-heading{color:#4e5d69}:root[data-theme=light] .fc-composer .fc-emoji-panel>button:hover,:root[data-theme=light] .fc-composer .fc-smiley-grid>button:hover,:root[data-theme=light] .fc-composer .fc-emoji-standard button:hover,:root[data-theme=light] .fc-composer .fc-emoji-panel button:focus-visible{background:#fff0f0;border-color:#eac6c8}:root[data-theme=light] .fc-composer .f-editor-preview{color:#416783}:root[data-theme=light] .fc-composer .fc-status{color:#6e8ba1}
@media(max-width:650px){.fc-composer .fc-input-wrap>textarea{font-size:16px;line-height:1.6;min-height:76px;padding:13px 39px 10px 13px}.fc-composer-topic .fc-input-wrap>textarea{min-height:145px}.fc-composer .fc-bottom{gap:6px;padding:6px 8px 8px;min-height:47px}.fc-composer .fc-tools{gap:2px}.fc-composer .fc-tool{min-height:31px;min-width:29px;padding:5px}.fc-composer .fc-submit-actions{gap:6px}.fc-composer .fc-submit,.fc-composer .fc-cancel{font-size:11px;min-height:32px;padding:7px 12px}.fc-composer .fc-expand{top:8px;right:7px;width:25px;height:25px}.fc-composer .fc-counter{display:none!important}.fc-composer .fc-status{font-size:9px;padding:0 12px 9px}.fc-composer .fc-format-panel{padding:6px 7px}.fc-composer .fc-format-toolbar{gap:3px}.fc-composer .fc-format-toolbar>button{min-width:29px;min-height:31px;padding:5px 6px}.fc-composer .fc-format-toolbar>button.fc-preview-button{margin-left:0}.fc-composer .fc-emoji-panel{width:300px;left:8px;bottom:47px;max-width:min(calc(100% - 16px),calc(100vw - 24px));max-height:260px;padding:8px;gap:3px}.fc-composer .fc-smiley-grid,.fc-composer .fc-emoji-standard:not(details),.fc-composer .fc-emoji-standard>div{gap:3px}.fc-composer .fc-emoji-panel>button,.fc-composer .fc-smiley-grid>button,.fc-composer .fc-emoji-standard button{height:44px;min-height:44px;padding:2px;font-size:22px}.fc-composer .fc-emoji-panel button>img{width:34px;height:34px}.fc-composer .fc-smiley-heading{padding-bottom:5px}.fc-composer .fc-file-status{font-size:9px}.fc-composer .f-editor-preview{padding:13px;font-size:14px}}
@media(prefers-reduced-motion:reduce){.fc-composer *{scroll-behavior:auto;transition:none!important}}
.fc-composer:not(.is-enhanced) .fc-js-only{display:none!important}.fc-composer.is-enhanced:not(.has-files) .fc-file-status:not(.is-error){display:none}
/* Priorité sur les anciennes dimensions du grand éditeur de réponse. */
.c-topic-page .c-topic-compose .fc-composer .fc-input-wrap>textarea{min-height:76px;padding:15px 43px 12px 16px;border:0;background:transparent;border-radius:13px 13px 0 0;font-size:14px;line-height:1.7;resize:vertical}
.c-topic-page .c-topic-compose .fc-composer .fc-upload{margin:0;padding:0 14px;border:0;background:none;border-radius:0}
.c-topic-page .c-topic-compose .fc-composer:not(.is-enhanced) .fc-upload{padding:9px 14px}
.c-topic-page .c-topic-compose .fc-composer .f-editor-preview{min-height:76px;padding:16px;background:transparent;border:0}
@media(max-width:650px){.c-topic-page .c-topic-compose .fc-composer .fc-input-wrap>textarea{font-size:16px;line-height:1.6;padding:13px 39px 10px 13px;min-height:76px}}
