/* FD Inline Replies V1.1: form-optional visibility */
/* 4Download Facebook Inline Replies V1; scoped to DLE native simple-reply host. */
#dlefastreplycomments.fdcc-ir-ready{box-sizing:border-box;margin:10px 0 14px 47px;padding:13px;border:1px solid var(--bdc,#dedede);background:var(--bg,#fff);color:var(--tt,#222);border-radius:17px;box-shadow:0 8px 25px rgba(0,0,0,.045);width:auto;max-width:820px;clear:both}
#dlefastreplycomments.fdcc-ir-ready .fdcc-ir-shell{display:flex;gap:11px;align-items:flex-start;margin:8px 0 12px}
#dlefastreplycomments.fdcc-ir-ready .fdcc-ir-avatar{flex:0 0 37px;width:37px;height:37px;border-radius:50%;object-fit:cover;background:var(--bg-darker,#f4f5f6);border:1px solid var(--bdc,#ddd)}
#dlefastreplycomments.fdcc-ir-ready .fdcc-ir-card{flex:1;min-width:0;border-radius:15px;border:1px solid var(--bdc,#ddd);background:var(--bg-darker,#f4f5f6);overflow:hidden}
#dlefastreplycomments.fdcc-ir-ready .fdcc-ir-head{padding:12px 14px 0;font-size:12px;font-weight:750;color:var(--tt-fade,var(--tt))}
#dlefastreplycomments.fdcc-ir-ready .fdcc-ir-editor{min-height:75px;max-height:330px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--tt,#222);font-size:14px;line-height:1.65;outline:0;padding:9px 14px 12px;box-sizing:border-box}
#dlefastreplycomments.fdcc-ir-ready .fdcc-ir-editor:empty::before{content:attr(data-placeholder);color:var(--tt-fade,#7c8896);pointer-events:none}
#dlefastreplycomments.fdcc-ir-ready .fdcc-ir-editor .fdcc-ir-gif{width:auto;max-width:220px;max-height:170px;object-fit:contain;border-radius:9px;vertical-align:middle}
#dlefastreplycomments.fdcc-ir-ready .fdcc-ir-actions{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:8px 10px;border-top:1px solid var(--bdc,#ddd)}
#dlefastreplycomments.fdcc-ir-ready .fdcc-ir-tool{border:0!important;border-radius:9px;background:transparent!important;color:var(--tt,#222)!important;padding:7px 9px!important;cursor:pointer;font-size:12px;font-weight:700}
#dlefastreplycomments.fdcc-ir-ready .fdcc-ir-tool:hover{background:var(--bg,#fff)!important;color:var(--accent-primary,#17a86b)!important}
/* Hide only the original reply rich-text editing surface, retain native fields, captcha, submit and cancel. */
#dlefastreplycomments.fdcc-ir-ready .wseditor.dlecomments-editor,#dlefastreplycomments.fdcc-ir-ready .bb-editor{position:absolute!important;left:-99999px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;visibility:hidden!important}
#dlefastreplycomments.fdcc-ir-ready .save-buttons{display:flex!important;justify-content:flex-end!important;gap:8px!important;margin-top:10px!important}
#dlefastreplycomments.fdcc-ir-ready .save-buttons input{border-radius:11px!important;min-height:37px!important;padding:8px 15px!important;font-weight:700!important;cursor:pointer}
#dlefastreplycomments.fdcc-ir-ready .save-buttons .applychanges{background:var(--bg-btn,#26b785)!important;color:var(--tt-btn,#fff)!important;border:0!important}
#dlefastreplycomments.fdcc-ir-ready .save-buttons .cancelchanges{background:var(--bg-darker,#eee)!important;color:var(--tt,#222)!important;border:1px solid var(--bdc,#ddd)!important}
.fdcc-ir-picker[hidden]{display:none!important}.fdcc-ir-picker{position:fixed!important;z-index:2147483000!important;background:var(--bg,#fff)!important;border:1px solid var(--bdc,#ddd);color:var(--tt,#222)!important;border-radius:15px;box-shadow:0 18px 50px rgba(0,0,0,.24);padding:0;max-height:75dvh;overflow:hidden}
.fdcc-ir-tabs{display:flex;gap:2px;padding:7px;border-bottom:1px solid var(--bdc,#ddd)}.fdcc-ir-tabs button{flex:1;border:0!important;background:transparent!important;color:var(--tt,#222)!important;border-radius:9px;padding:8px 3px!important;font-size:12px;font-weight:700;cursor:pointer}.fdcc-ir-tabs button.is-selected{background:var(--bg-darker,#eee)!important}.fdcc-ir-tabs [data-close]{flex:0 0 32px;font-size:20px}
.fdcc-ir-search{display:block!important;box-sizing:border-box;width:calc(100% - 20px);margin:10px;height:38px;padding:8px 11px;border-radius:9px;border:1px solid var(--bdc,#ddd)!important;background:var(--bg-darker,#f4f4f4)!important;color:var(--tt,#222)!important;font-size:13px}.fdcc-ir-results{overflow-y:auto;max-height:min(295px,47dvh);min-height:95px;padding:9px 11px 15px}.fdcc-ir-results h4{font-size:11px;margin:9px 0;color:var(--tt-fade,var(--tt))}.fdcc-ir-emoji-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:2px}.fdcc-ir-emoji-grid button{border:0!important;background:transparent!important;border-radius:8px;padding:3px!important;font-size:23px;min-height:38px;cursor:pointer}.fdcc-ir-emoji-grid button:hover{background:var(--bg-darker,#eee)!important}.fdcc-ir-gif-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.fdcc-ir-gif-grid button{border:0!important;background:transparent!important;border-radius:8px;overflow:hidden;padding:0!important;cursor:pointer}.fdcc-ir-gif-grid img{width:100%;height:90px;object-fit:cover}.fdcc-ir-status{padding:22px 8px;text-align:center;font-size:12px;color:var(--tt-fade,var(--tt))}
@media(max-width:580px){#dlefastreplycomments.fdcc-ir-ready{margin-left:6px;padding:10px}#dlefastreplycomments.fdcc-ir-ready .fdcc-ir-shell{gap:7px}#dlefastreplycomments.fdcc-ir-ready .fdcc-ir-avatar{flex-basis:31px;width:31px;height:31px}.fdcc-ir-emoji-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}

/* FD INLINE REPLIES V1.2 — GIPHY image inside approved comment bubble */
.fdcc-comment .comm__main img.fdcc-ir-posted-gif{display:block;max-width:min(100%,320px);max-height:260px;width:auto;height:auto;object-fit:contain;border-radius:12px;margin:8px 0;}
