/* [tf-fixes K] «Безопасность общения» — графит + фиолетовый, свои SVG */
.tfsf-ov { position: fixed; inset: 0; z-index: 10050; background: rgba(8, 9, 14, .66); display: flex; align-items: center; justify-content: center; padding: 16px; backdrop-filter: blur(3px); }
.tfsf-card { width: min(440px, 100%); max-height: 88vh; overflow: auto; background: #1a1b23; color: var(--text, #eceef5); border: 1px solid #2d3040; border-radius: 14px; padding: 22px 22px 18px; box-shadow: 0 18px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(124, 108, 255, .12); }
.tfsf-card.wide { width: min(560px, 100%); }
.tfsf-card h3 { font-size: 18px; margin: 4px 0 10px; font-weight: 700; }
.tfsf-ico { width: 38px; height: 38px; border-radius: 11px; background: var(--accent-soft, rgba(124, 108, 255, .2)); color: #b7adff; display: flex; align-items: center; justify-content: center; }
.tfsf-ico svg { width: 20px; height: 20px; }
.tfsf-lead { font-size: 14px; line-height: 1.45; margin-bottom: 10px; }
.tfsf-sub { font-size: 13px; color: var(--muted, #9aa0b4); line-height: 1.45; margin-bottom: 12px; }
.tfsf-list { margin: 0 0 12px 18px; font-size: 13px; color: var(--muted, #9aa0b4); line-height: 1.5; }
.tfsf-chk, .tfsf-rad { display: flex; align-items: center; gap: 9px; font-size: 14px; padding: 6px 0; cursor: pointer; }
.tfsf-chk input, .tfsf-rad input { accent-color: #7c6cff; width: 16px; height: 16px; }
.tfsf-reasons { margin: 4px 0 6px; padding: 8px 12px; background: #14151c; border-radius: 10px; border: 1px solid #252733; }
.tfsf-ta { width: 100%; margin-top: 6px; background: #222433; color: inherit; border: 1px solid #2d3040; border-radius: 8px; padding: 8px 10px; font: inherit; font-size: 13px; resize: vertical; }
.tfsf-acts { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; flex-wrap: wrap; }
.tfsf-btn { background: #252733; color: var(--text, #eceef5); border: 1px solid #343748; border-radius: 9px; padding: 8px 14px; font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit; }
.tfsf-btn:hover { background: #2d3040; }
.tfsf-btn.pri { background: linear-gradient(135deg, #7c6cff, #5b8cff); border-color: transparent; color: #fff; }
.tfsf-btn.dng { background: rgba(255, 92, 122, .16); border-color: rgba(255, 92, 122, .45); color: #ff8aa0; }
.tfsf-btn.dng:hover { background: rgba(255, 92, 122, .28); }
.tfsf-menu { position: fixed; z-index: 10060; min-width: 190px; background: #1a1b23; border: 1px solid #2d3040; border-radius: 11px; padding: 5px; box-shadow: 0 12px 36px rgba(0, 0, 0, .5); }
.tfsf-menu button { display: flex; align-items: center; gap: 9px; width: 100%; padding: 8px 11px; background: none; border: 0; color: var(--text, #eceef5); font: inherit; font-size: 13px; border-radius: 7px; cursor: pointer; text-align: left; }
.tfsf-menu button:hover { background: #252733; }
.tfsf-menu button.dng { color: #ff8aa0; }
/* сообщения заблокированного: скрыты только у блокирующего */
.msg .tfsf-more { color: var(--muted, #9aa0b4); padding: 2px 6px; }
.msg .tfsf-more svg { display: block; }
.msg.tfsf-blocked:not(.tfsf-open) > img, .msg.tfsf-blocked:not(.tfsf-open) > div:not(.tfsf-note) { display: none !important; }
.msg.tfsf-blocked .tfsf-note { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted, #9aa0b4); padding: 4px 2px; font-style: italic; }
.msg.tfsf-blocked.tfsf-open .tfsf-note { margin-bottom: 4px; }
.msg .tfsf-note button { background: var(--accent-soft, rgba(124, 108, 255, .2)); border: 0; color: #b7adff; border-radius: 7px; padding: 2px 9px; font-size: 12px; cursor: pointer; font-style: normal; }
.msg.tfsf-blocked.tfsf-open { opacity: .62; }
/* запросы сообщений */
.tfsf-reqrow { color: #b7adff; }
.tfsf-reqrow .badge { background: #7c6cff; color: #fff; }
.tfsf-reqico { display: inline-flex; width: 20px; justify-content: center; margin-right: 8px; }
#homeBtn.tfsf-reqdot { position: relative; }
#homeBtn.tfsf-reqdot::after { content: ''; position: absolute; right: 6px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: #7c6cff; box-shadow: 0 0 0 2px #0d0e14; }
.tfsf-req { background: #14151c; border: 1px solid #252733; border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
.tfsf-reqhead { display: flex; gap: 11px; align-items: center; margin-bottom: 8px; }
.tfsf-reqhead img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.tfsf-reqhead small { display: block; color: var(--muted, #9aa0b4); font-size: 12px; }
.tfsf-tag { font-size: 10.5px; background: rgba(255, 92, 122, .16); color: #ff8aa0; padding: 1px 7px; border-radius: 99px; font-weight: 600; vertical-align: 1px; }
.tfsf-prev { font-size: 13px; background: #1a1b23; border-radius: 8px; padding: 7px 10px; margin: 4px 0; word-break: break-word; white-space: pre-wrap; }
.tfsf-prev i { color: var(--muted, #9aa0b4); font-size: 12px; }
.tfsf-reqacts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.tfsf-empty { color: var(--muted, #9aa0b4); font-size: 13px; padding: 10px 2px; }
/* список заблокированных (настройки) */
.tfsf-blrow { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid #252733; }
.tfsf-blrow img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.tfsf-blrow span { flex: 1; font-size: 14px; }
.tfsf-hdrbtn svg { display: block; }
.tfp-btn.dng { color: #ff8aa0; }
.tfp-btn svg, #userMenuBlock svg { vertical-align: -3px; }
.tfp-btn.dng:hover { background: rgba(255, 92, 122, .16); }
#callActions .call-report { background: rgba(255, 92, 122, .14); color: #ff8aa0; border: 1px solid rgba(255, 92, 122, .4); border-radius: 10px; padding: 9px 14px; cursor: pointer; font: inherit; font-size: 13px; margin-top: 8px; width: 100%; }
#callActions { flex-wrap: wrap; }
.tfsf-count { color: #b7adff; font-weight: 600; margin-left: 6px; }
