/* форум: главная, раздел, тема */
.fx-fr-head { display: flex; align-items: center; gap: 18px; margin: 14px 0 0; }
.fx-fr-head h1 { margin: 0; font-size: 30px; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; color: var(--fx-text); overflow-wrap: anywhere; }
.fx-fr-head > div { flex: 1; min-width: 0; }
.fx-fr-head-ico { flex: none; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(160deg, #8B5CF6, #6D28D9); font-size: 24px; color: #fff; }
.fx-fr-head-ico:before { margin: 0; }
.fx-fr-head-img { flex: none; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px #E3E9F0; }
.fx-fr-head-img img { width: 34px; height: 34px; object-fit: contain; }
.fx-fr-add { flex: none; box-sizing: border-box; padding: 0 18px; }
.fx-fr-add [class^="icon-"]:before { margin: 0; }

/* список разделов (главная) */
.fx-fr-list { margin: 0 0 28px; padding: 4px 20px; list-style: none; }
.fx-fr-sec { display: flex; align-items: center; gap: 14px; margin: 0; padding: 14px 0; border-top: 1px solid #EEF2F6; }
.fx-fr-sec:first-child { border-top: 0; }
.fx-fr-sec-ico, .fx-fr-sec-img { flex: none; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: #F1ECFE; font-size: 18px; color: #6D28D9; }
.fx-fr-sec-ico:before { margin: 0; }
.fx-fr-sec-img { background: #F3F6FA; }
.fx-fr-sec-img img { width: 26px; height: 26px; object-fit: contain; }
.fx-fr-sec-body { flex: 1; min-width: 0; }
.fx-fr-sec-title { font-size: 16.5px; font-weight: 800; line-height: 1.35; color: var(--fx-text); text-decoration: none; overflow-wrap: anywhere; }
.fx-fr-sec-title:hover { color: var(--fx-link); }
.fx-page .fx-fr-last { display: flex; flex-wrap: wrap; gap: 2px 8px; margin: 3px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--fx-muted); }
.fx-fr-last > a { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: #24384C; text-decoration: none; }
.fx-fr-last > a:hover { color: var(--fx-link); }
.fx-fr-last a.UserLink, .fx-fr-meta a.UserLink { color: inherit; }
.fx-fr-cnt { flex: none; min-width: 64px; font-size: 13.5px; font-weight: 700; color: #475569; text-align: right; white-space: nowrap; }
.fx-fr-new { display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 999px; background: #DCFCE7; font-size: 11.5px; font-weight: 800; color: #15803D; vertical-align: 2px; }
.fx-fr-rules { margin: 0; padding: 0 0 0 18px; font-size: 14px; line-height: 1.5; color: #3A4C5E; }
.fx-fr-rules li + li { margin-top: 6px; }

/* список тем (раздел) */
.fx-fr-topics { margin: 0; padding: 4px 20px; list-style: none; }
.fx-fr-topic { display: flex; align-items: flex-start; gap: 14px; margin: 0; padding: 15px 0; border-top: 1px solid #EEF2F6; }
.fx-fr-topic:first-child { border-top: 0; }
.fx-fr-topic-ico { flex: none; position: relative; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-top: 2px; border-radius: 11px; background: #F3F6FA; font-size: 16px; color: #94A3B8; }
.fx-fr-topic-ico:before { margin: 0; }
.fx-fr-topic.is-new .fx-fr-topic-ico { background: #F1ECFE; color: #6D28D9; }
.fx-fr-topic.is-new .fx-fr-topic-ico:after { content: ''; position: absolute; right: -2px; top: -2px; width: 10px; height: 10px; border: 2px solid #fff; border-radius: 50%; background: #22C55E; }
.fx-fr-topic-body { flex: 1; min-width: 0; }
.fx-fr-topic-title { font-size: 16px; font-weight: 800; line-height: 1.4; color: var(--fx-text); text-decoration: none; overflow-wrap: anywhere; }
.fx-fr-topic-title:first-letter { text-transform: uppercase; }
.fx-fr-topic-title:hover { color: var(--fx-link); }
.fx-fr-model { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13.5px; font-weight: 600; color: #24384C; text-decoration: none; }
.fx-fr-model:hover { color: var(--fx-link); }
.fx-page .fx-fr-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 6px 0 0; font-size: 13.5px; color: var(--fx-muted); }
.fx-fr-meta [class^="icon-"]:before { margin: 0 4px 0 0; }
.fx-fr-pages:not(:has(ul)) { display: none; }
.fx-fr-pages ul { display: inline-flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.fx-fr-pages li { margin: 0; padding: 0; }
.fx-fr-pages li.selected { display: none; }
.fx-fr-pages a { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 22px; padding: 0 5px; border: 1px solid #DCE4EE; border-radius: 6px; font-size: 12px; font-weight: 700; color: #475569; text-decoration: none; }
.fx-fr-pages a:hover { border-color: #9DBDE6; color: var(--fx-link); }
.fx-fr-replies { flex: none; align-self: center; min-width: 74px; text-align: right; font-size: 13.5px; font-weight: 700; color: #475569; white-space: nowrap; }
.fx-fr-replies b { display: block; font-size: 18px; font-weight: 800; color: var(--fx-text); }
.fx-fr-replies.is-zero b { color: #CBD5E1; }

/* тема */
.fx-ft-head { margin-top: 14px; padding: 24px 28px 20px; }
.fx-page .fx-ft-kind { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; padding: 3px 12px; border-radius: 999px; background: #F1ECFE; font-size: 13px; font-weight: 800; color: #6D28D9; }
.fx-ft-kind span:before { margin: 0; }
.fx-ft-head h1 { margin: 0; font-size: 28px; line-height: 1.25; font-weight: 800; letter-spacing: -0.02em; color: var(--fx-text); overflow-wrap: anywhere; }
.fx-ft-head h1::first-letter { text-transform: uppercase; }
.fx-page .fx-ft-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 12px 0 0; font-size: 14px; color: var(--fx-muted); }
.fx-ft-meta [class^="icon-"]:before { margin: 0 4px 0 0; }
.fx-ft-sec { display: inline-flex; align-items: center; min-height: 28px; padding: 0 11px; border-radius: 999px; background: #F3F6FA; font-weight: 700; color: #24384C; text-decoration: none; }
.fx-ft-sec:hover { background: #E8EEF6; color: var(--fx-link); }
.fx-ft-list { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.fx-ft-au { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: #F1ECFE; font-size: 11.5px; font-weight: 800; color: #6D28D9; vertical-align: 2px; }
.fx-ft-post .fx-qs-text blockquote { margin: 8px 0; padding: 10px 14px; border-left: 3px solid #C4B5FD; border-radius: 0 10px 10px 0; background: #F8F6FF; font-size: 15px; color: #3A4C5E; }
.fx-ft-post .fx-qs-text blockquote blockquote { background: #F1ECFE; }
.fx-ft-acts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; padding-top: 10px; border-top: 1px solid #EEF2F6; font-size: 13.5px; }
.fx-ft-acts a { color: var(--fx-muted); text-decoration: none; }
.fx-ft-acts a:hover { color: var(--fx-link); }
.fx-ft-acts [class^="icon-"]:before { margin: 0 4px 0 0; }
.fx-ft-acts .fx-ft-del:hover { color: #BE123C; }
.fx-ft-reply { margin-top: 18px; padding: 20px 24px; scroll-margin-top: 90px; }
.fx-ft-reply h2 { margin: 0 0 12px; font-size: 18px; font-weight: 800; color: var(--fx-text); }
.fx-ft-reply .nicEdit-panelContain, .fx-ft-reply .nicEdit-main { box-sizing: border-box; }
.fx-ft-reply #commentPost > form > div:first-of-type, .fx-ft-reply .nicEdit-main { max-width: 100%; }
.fx-ft .fx-svcl-admin input[type=submit] { width: 100%; height: 40px; margin-top: 10px; border: 1px solid #F5B5C2; border-radius: 11px; background: #FFF5F7; font: inherit; font-size: 14.5px; font-weight: 700; color: #BE123C; cursor: pointer; }
.fx-ft .fx-svcl-admin input[type=submit]:hover { background: #FFE4EA; }

@media (max-width: 700px) {
	.fx-fr-head { flex-wrap: wrap; }
	.fx-fr-head h1 { font-size: 24px; }
	.fx-fr-add { width: 100%; justify-content: center; }
	.fx-fr-list, .fx-fr-topics { padding: 2px 16px; }
	.fx-fr-cnt { min-width: 0; }
	.fx-fr-replies { display: none; }
	.fx-ft-head { padding: 18px 18px 16px; }
	.fx-ft-head h1 { font-size: 23px; }
	.fx-ft-reply { padding: 16px; }
}
