.news-composer-actions.smile_input_forum {display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.news-composer-actions #send_btn {width:auto;min-width:120px;margin:0;padding:7px 20px;}
.news-composer-actions #news_smile_picker,
.news-composer-actions .news-attach-image {flex:0 0 32px;width:32px;height:32px;margin:0;float:none;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;border:1px solid transparent;border-radius:50%;cursor:pointer;}
.news-composer-actions .news-attach-image {padding:0;background:transparent;color:#aeb8c7;}
.news-composer-actions .news-attach-image svg {width:20px;height:20px;display:block;}
.news-composer-actions #news_smile_picker:hover,
.news-composer-actions .news-attach-image:hover {background:rgba(102,159,215,.12);border-color:rgba(102,159,215,.35);}
.news-composer-actions .news-attach-image:focus-visible {outline:2px solid #77b8ed;outline-offset:2px;}
@media(max-width:600px){.news-composer-actions #news_smile_picker,.news-composer-actions .news-attach-image{width:40px;height:40px;flex-basis:40px;}}

/* News composer: one surface and matched icon controls. */
.news-composer {border:1px solid #383b48;border-radius:12px;background:#1b1c23;box-shadow:0 4px 16px rgba(0,0,0,.12);}
.news-composer:focus-within {border-color:#628db8;}
.news-composer .tox.tox-tinymce {border:0!important;border-radius:12px 12px 0 0;height:260px!important;}
.news-composer .tox .tox-editor-header,
.news-composer .tox .tox-toolbar,
.news-composer .tox .tox-toolbar__primary,
.news-composer .tox .tox-toolbar-overlord {background:#252731!important;box-shadow:none!important;}
.news-composer .tox .tox-toolbar__group {border-color:#3b3e49!important;}
.news-composer .tox .tox-tbtn {color:#b8c1ce!important;background:transparent;}
.news-composer .tox .tox-tbtn svg {fill:currentColor!important;}
.news-composer .tox .tox-tbtn:hover,
.news-composer .tox .tox-tbtn--enabled {background:#394657!important;color:#dceaff!important;}
.news-composer .tox .tox-tbtn--disabled {opacity:.4;}
.news-composer .tox .tox-edit-area__iframe {background:#1b1c23!important;}
.news-composer .tox .tox-statusbar {background:#1b1c23!important;border-color:#30333e!important;color:#9ba6b6!important;}
.news-composer .tox .tox-statusbar a,
.news-composer .tox .tox-statusbar__path-item {color:#9ba6b6!important;}
.news-composer .news-composer-actions {margin:0!important;padding:10px 12px;border-top:1px solid #353844;gap:8px;min-height:60px;}
.news-composer .news-composer-actions #send_btn {border:1px solid #497caf!important;border-radius:8px;background:#326a9f!important;box-shadow:none!important;color:#fff;letter-spacing:0;font-size:14px;line-height:20px;min-height:38px;padding:8px 20px;}
.news-composer .news-composer-actions #send_btn:hover {background:#3c7ab5!important;}
.news-composer .news-composer-actions #news_smile_picker,
.news-composer .news-composer-actions #news_attach_button {display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;min-width:38px;padding:0!important;margin:0!important;border:1px solid transparent;border-radius:8px;background:transparent!important;color:#b1bdcd!important;line-height:1;position:static;box-shadow:none;}
.news-composer #news_smile_picker::before,.news-composer #news_smile_picker::after {content:none!important;display:none!important;}
.news-composer .news-composer-actions #news_smile_picker svg,
.news-composer .news-composer-actions #news_attach_button svg {display:block;width:22px;height:22px;margin:0;flex:none;}
.news-composer .news-composer-actions #news_smile_picker:hover,
.news-composer .news-composer-actions #news_attach_button:hover {color:#d6e8ff!important;background:#2d3949!important;border-color:#455b73;}
.news-composer .news-composer-actions button:focus-visible {outline:2px solid #83b8ef;outline-offset:2px;}
.news-composer #news_upload_status {font-size:12px;color:#aebbd0;}
.news-composer #news_upload_status:empty {display:none;}
.news-composer button:disabled,.news-composer #send_btn:disabled {opacity:.5;cursor:wait;}
@media(max-width:600px){.news-composer .news-composer-actions{padding:8px;gap:6px;}.news-composer #news_upload_status{flex-basis:100%;}.news-composer .tox.tox-tinymce{height:280px!important;}}

/* Reserve editor space before TinyMCE hides the textarea. */
.news-composer .news-editor-slot {height:260px!important;min-height:260px!important;}
.news-composer .news-editor-slot .tox.tox-tinymce {height:260px!important;}
.news-composer .news-composer-actions #news_smile_picker,
.news-composer .news-composer-actions #news_attach_button {background-image:none!important;opacity:1!important;filter:none!important;color:#b1bdcd!important;font-size:0!important;}
.news-composer .news-composer-actions #news_smile_picker svg,
.news-composer .news-composer-actions #news_attach_button svg {width:22px!important;height:22px!important;opacity:1!important;filter:none!important;fill:none!important;stroke:#b1bdcd!important;stroke-width:1.7!important;}
.news-composer .news-composer-actions #news_smile_picker svg *,
.news-composer .news-composer-actions #news_attach_button svg * {fill:none!important;stroke:inherit!important;stroke-width:inherit!important;}

/* Hide the technical element breadcrumb in the comment editor. */
.news-composer .tox .tox-statusbar__path {display:none!important;}
.ft-topic #answers{margin:0}
.ft-topic #answers > div[id^=answer]{border:1px solid #353540;border-radius:10px;margin:0 0 14px;padding:0;overflow:hidden;background:#1d1d24}
.ft-topic #answers .top-area{height:auto;min-height:42px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:10px 14px;margin:0;border:0;border-bottom:1px solid #33323c;background:#25252f;line-height:1.5;white-space:normal;overflow:visible}
.ft-topic #answers .top-area .left-side,.ft-topic #answers .top-area .right-side{width:auto;float:none;padding:0;min-width:0}
.ft-topic #answers .top-area .left-side{flex:1}.ft-topic #answers .top-area .right-side{display:flex;gap:8px;align-items:center}
.ft-topic #answers .top-area .left-side a{overflow-wrap:anywhere;font-weight:600}
.ft-topic #answers .top-area .left-side img{width:18px;height:18px;object-fit:contain;vertical-align:middle;margin-left:4px}
.ft-topic #answers .center-area{display:grid;grid-template-columns:70px minmax(0,1fr);gap:16px;padding:16px;margin:0;min-height:100px;z-index:auto}
.ft-topic #answers .center-area .left-side,.ft-topic #answers .center-area .right-side{float:none;width:auto;padding:0;min-width:0}
.ft-topic #answers .center-area::after,.ft-topic #answers .bottom-area::after,.ft-topic #answers .center-area > .clearfix{display:none}
.ft-topic #answers .center-area .left-side > img,.ft-topic #answers .forum-framed-avatar-image{width:64px!important;height:64px!important;object-fit:cover;border-radius:50%!important;padding:0!important;margin:0!important;box-shadow:none!important;background:transparent!important}
.ft-topic #answers .forum-framed-avatar{display:block;position:relative;width:64px!important;height:64px!important;margin:0}
.ft-topic #answers .forum-framed-avatar img:not(.forum-framed-avatar-image){position:absolute;inset:-6px;width:76px!important;height:76px!important;max-width:none;padding:0;margin:0;background:transparent;box-shadow:none}
.ft-topic #answers .with_code{font-size:15px;line-height:1.65;overflow-wrap:anywhere}.ft-topic #answers .with_code img{max-width:100%;height:auto}.ft-topic #answers blockquote{background:#272731;border-left:3px solid #628cb9;border-radius:5px;margin:8px 0;padding:10px 14px}
.ft-topic #answers .bottom-area{display:flex;gap:12px;align-items:center;padding:5px 12px;border-top:1px solid #33323c;z-index:auto;min-height:40px}
.ft-topic #answers .bottom-area .left-side,.ft-topic #answers .bottom-area .right-side{float:none;width:auto;padding:0;min-width:0}.ft-topic #answers .bottom-area .right-side{flex:1}.ft-topic #answers .bottom-area .clearfix{display:none}
.ft-topic #answers .btn-group{display:flex;gap:3px}.ft-topic #answers .bottom-area .btn-group button{display:inline-flex;align-items:center;justify-content:center;width:32px!important;height:32px;padding:0;border:1px solid transparent!important;background:transparent!important;color:#aeb8c7;border-radius:6px!important;box-shadow:none!important}.ft-topic #answers .bottom-area .btn-group button:hover{background:#2d3949!important;color:#d6e8ff}
.ft-topic #answers .signature{margin-top:14px;padding-top:10px;border-top:1px solid #33323c;font-size:13px}.ft-topic #answers .edited{font-size:12px;color:#a5a8b3}
@media(max-width:600px){.ft-topic #answers .center-area{grid-template-columns:44px minmax(0,1fr);gap:12px;padding:12px}.ft-topic #answers .center-area .left-side > img,.ft-topic #answers .forum-framed-avatar,.ft-topic #answers .forum-framed-avatar-image{width:40px!important;height:40px!important}.ft-topic #answers .forum-framed-avatar img:not(.forum-framed-avatar-image){width:52px!important;height:52px!important}.ft-topic #answers .top-area .right-side{font-size:11px}.ft-topic #answers .bottom-area .btn-group button{width:40px!important;height:40px}}

/* Avatar column and action footer, matching news comments. */
.ft-topic #answers > div[id^=answer]{display:grid;grid-template-columns:86px minmax(0,1fr);position:relative}
.ft-topic #answers > div[id^=answer]::after{content:"";display:block;position:absolute;left:85px;top:0;bottom:0;width:1px;background:#353540;pointer-events:none;clear:none}
.ft-topic #answers > div[id^=answer] > .top-area{grid-column:2;grid-row:1;background:transparent;border:0;padding:10px 12px 2px;min-height:0}
.ft-topic #answers > div[id^=answer] > .center-area{display:contents}
.ft-topic #answers > div[id^=answer] > .center-area > .left-side{grid-column:1;grid-row:1 / 3;align-self:start;justify-self:center;padding:12px 0;min-width:0}
.ft-topic #answers > div[id^=answer] > .center-area > .right-side{grid-column:2;grid-row:2;padding:2px 12px 12px;min-height:50px}
.ft-topic #answers > div[id^=answer] > .bottom-area{grid-column:1 / -1;grid-row:3;display:grid;grid-template-columns:86px minmax(0,1fr);gap:0;padding:4px 0;min-height:40px}
.ft-topic #answers .bottom-area > .left-side{justify-self:center}.ft-topic #answers .bottom-area > .right-side{padding:0 12px}
@media(max-width:600px){.ft-topic #answers > div[id^=answer]{grid-template-columns:86px minmax(0,1fr)}.ft-topic #answers .top-area{gap:4px}.ft-topic #answers .top-area .right-side{flex-basis:100%;justify-content:flex-end}}

/* The topic opening remains separate from the discussion replies. */
.ft-topic #answers > #answer_0.ft-topic-opening {
    border-color: #496785;
    background: linear-gradient(120deg, rgba(64,101,143,.13), rgba(30,30,38,.3));
    margin-bottom: 24px;
}
.ft-topic .ft-opening-label {
    display: block;
    color: #90b8df;
    font-size: 11px;
    line-height: 18px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 4px;
}
