/* Пакет N «Визуал» (2026-12): пустые экраны, группировка сообщений, превью ссылок, меню сообщения на телефоне, входящий звонок,
   шаблоны серверов, превью тем, обложка «Новостей». Тёмный графит + фиолетовые акценты. Без внешних ресурсов. */

/* ---------- общая кнопка ---------- */
.tfn-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 18px; border: 0; border-radius: 12px; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 700; color: #fff; white-space: nowrap;
  background: linear-gradient(135deg, #8b7bff, #6d55f0); box-shadow: 0 8px 22px -10px rgba(124, 108, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .18);
  transition: transform .12s ease, filter .12s ease, box-shadow .12s ease; }
.tfn-btn:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 12px 26px -10px rgba(124, 108, 255, 1), inset 0 1px 0 rgba(255, 255, 255, .2); }
.tfn-btn:active { transform: none; }
.tfn-btn:focus-visible { outline: 2px solid #c4b5fd; outline-offset: 2px; }
.tfn-btn svg { width: 17px; height: 17px; flex: 0 0 17px; }
.tfn-ghost { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 12px; cursor: pointer; font: inherit; font-size: 13.5px; font-weight: 600;
  color: #dcd6ff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.tfn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* ---------- 1. пустые экраны ---------- */
.tfn-empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 20px 32px; color: #e6e8f2; }
.empty-chat.tfn-empty { margin: auto; max-width: 440px; padding: 40px 20px; }
.tfn-empty .tfn-art { width: 168px; height: 126px; margin: 0 0 10px; overflow: visible; }
.tfn-empty h3 { margin: 0 0 6px; font-size: 19px; font-weight: 800; color: #f2f3f7; }
.tfn-empty p { margin: 0 0 18px; max-width: 380px; color: #9ea4bb; font-size: 14px; line-height: 1.5; }
.tfn-empty .empty-tips { margin-top: 18px; }
.tfn-empty .empty-tips span { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .07); color: #8e94ab; }
.tfn-empty-friends { margin: 4px 0 8px; border-radius: 16px; background: radial-gradient(70% 90% at 50% 0%, rgba(124, 108, 255, .08), transparent 70%), rgba(255, 255, 255, .015); border: 1px dashed rgba(167, 139, 250, .18); }
.tfn-empty-row { flex-direction: row; text-align: left; gap: 14px; padding: 10px 14px 10px 8px; margin: 2px 0 6px; border-radius: 14px; background: rgba(255, 255, 255, .02); border: 1px solid rgba(255, 255, 255, .05); }
.tfn-empty-row .tfn-art { width: 76px; height: 57px; margin: 0; flex: 0 0 76px; }
.tfn-empty-row .tfn-empty-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tfn-empty-row b { font-size: 14px; color: #eceef6; }
.tfn-empty-row span { font-size: 12.5px; color: #8e94ab; line-height: 1.4; }
.tfn-empty-row .tfn-btn { height: 34px; padding: 0 14px; font-size: 13px; background: rgba(124, 108, 255, .16); color: #d9d3ff; box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .35); }
.tfn-empty-row .tfn-btn:hover { background: rgba(124, 108, 255, .26); color: #fff; }
.tfn-empty-wall { padding: 22px 16px 26px; }
.tfn-empty-wall .tfn-art { width: 140px; height: 105px; }
@media (max-width: 600px) {
  .tfn-empty-row { flex-wrap: wrap; }
  .tfn-empty-row .tfn-btn { width: 100%; }
  .tfn-empty .tfn-art { width: 140px; height: 105px; }
}
/* анимации арта */
.tfn-art .tfn-fl { animation: tfnFloat 5s ease-in-out infinite; }
.tfn-art .tfn-fl.d2 { animation-delay: -2.4s; }
.tfn-art .tfn-tw { animation: tfnTw 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.tfn-art .tfn-dot { animation: tfnDot 1.4s ease-in-out infinite; }
.tfn-art .tfn-dot.d2 { animation-delay: .18s; } .tfn-art .tfn-dot.d3 { animation-delay: .36s; }
.tfn-art .tfn-wave { animation: tfnWave 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: 30% 90%; }
.tfn-art .tfn-waves path { animation: tfnTw 2s ease-in-out infinite; } .tfn-art .tfn-waves path + path { animation-delay: -.7s; }
@keyframes tfnFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes tfnTw { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.1); } }
@keyframes tfnDot { 0%, 60%, 100% { opacity: .45; } 30% { opacity: 1; } }
@keyframes tfnWave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(14deg); } 20%, 40% { transform: rotate(-8deg); } }
.tfn-flash { animation: tfnFlash 1.5s ease; }
@keyframes tfnFlash { 0% { box-shadow: 0 0 0 0 rgba(167, 139, 250, .0); } 25% { box-shadow: 0 0 0 4px rgba(167, 139, 250, .55); } 100% { box-shadow: 0 0 0 0 rgba(167, 139, 250, 0); } }

/* ---------- 2a. группировка подряд идущих сообщений ---------- */
#messages .msg.tfn-cont { padding-top: 1px !important; padding-bottom: 1px !important; margin-top: 0 !important; margin-bottom: 0 !important; }
#messages .msg.tfn-has-next { padding-bottom: 1px !important; margin-bottom: 0 !important; }
#messages .msg:not(.tfn-cont) { margin-top: 6px; }
#messages .msg.tfn-cont > img:first-child,
#messages .msg.tfn-cont > .tfs-cf { visibility: hidden !important; height: 0 !important; min-height: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important; }
#messages .msg.tfn-cont .meta { display: none !important; }
#messages .msg.tfn-cont .body { margin-top: 0 !important; }
#messages .msg.tfn-cont::before { content: attr(data-hm); position: absolute; left: 4px; width: 60px; top: 50%; transform: translateY(-50%); text-align: center;
  font-size: 10.5px; color: #7f869d; opacity: 0; pointer-events: none; transition: opacity .12s ease; font-variant-numeric: tabular-nums; }
#messages .msg.tfn-cont:hover::before { opacity: 1; }
#messages .msg.tfn-cont .msg-actions { top: -16px; }
body.tf-compact #messages .msg:not(.tfn-cont) { margin-top: 2px; }
@media (max-width: 760px) { #messages .msg.tfn-cont::before { display: none; } }

/* ---------- 2b. карточка превью ссылки ---------- */
#messages .link-card.tfn-lc, .fx-tmsg .link-card.tfn-lc { display: flex; align-items: stretch; gap: 12px; max-width: 480px; margin-top: 6px; padding: 10px 12px 12px 14px;
  border-radius: 12px; background: #1b1c27; border: 1px solid rgba(255, 255, 255, .07); border-left: 3px solid #7c6cff; box-shadow: 0 6px 18px -12px rgba(0, 0, 0, .6);
  text-decoration: none !important; color: inherit; overflow: hidden; transition: background .12s ease, border-color .12s ease; white-space: normal; }
#messages .link-card.tfn-lc:hover { background: #20212e; border-color: rgba(124, 108, 255, .4); border-left-color: #a99cff; }
.tfn-lc-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.tfn-lc-site { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: #a9a3d6; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tfn-lc-site i { width: 16px; height: 16px; flex: 0 0 16px; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 10px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #8b7bff, #5b3fd6); }
#messages .tfn-lc b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; line-height: 1.3; color: #cfc8ff; font-weight: 700; }
#messages .tfn-lc:hover b { text-decoration: underline; text-decoration-color: rgba(207, 200, 255, .4); }
#messages .tfn-lc small { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; line-height: 1.4; color: #aeb3c6; }
.tfn-lc-img { flex: 0 0 92px; width: 92px; height: 92px; align-self: center; border-radius: 10px; overflow: hidden; background: #232433; }
#messages .msg .tfn-lc-img img { width: 100% !important; height: 100% !important; flex: none !important; object-fit: cover; border-radius: 0 !important; display: block; margin: 0 !important; }
@media (max-width: 600px) { .tfn-lc-img { flex-basis: 68px; width: 68px; height: 68px; } #messages .link-card.tfn-lc { max-width: 100%; } }

/* ---------- 2c. телефон: нижнее меню действий вместо панели над сообщением ---------- */
@media (max-width: 760px) and (hover: none) {
  #messages .msg .msg-actions { display: none !important; }
  #messages .msg .msg-actions.tfn-acts-ghost { display: flex !important; visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }
  #messages .msg:hover { background: transparent; }
  #messages .msg.tfn-picked { background: rgba(124, 108, 255, .13) !important; }
}
.tfn-sheet { position: fixed; inset: 0; z-index: 450; pointer-events: none; }
.tfn-sheet-bg { position: absolute; inset: 0; background: rgba(5, 6, 12, .55); opacity: 0; transition: opacity .18s ease; }
.tfn-sheet-card { position: absolute; left: 8px; right: 8px; bottom: 8px; max-height: 75vh; overflow-y: auto; padding: 8px 8px calc(10px + env(safe-area-inset-bottom));
  border-radius: 20px; background: #1b1c27; border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 -12px 40px rgba(0, 0, 0, .5);
  transform: translateY(110%); transition: transform .22s cubic-bezier(.2, .8, .2, 1); }
.tfn-sheet.open { pointer-events: auto; }
.tfn-sheet.open .tfn-sheet-bg { opacity: 1; }
.tfn-sheet.open .tfn-sheet-card { transform: none; }
.tfn-sheet-grab { width: 38px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .18); margin: 2px auto 8px; }
.tfn-sheet-head { padding: 2px 12px 10px; margin-bottom: 4px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.tfn-sheet-head b { display: block; font-size: 13.5px; color: #c4b5fd; }
.tfn-sheet-head small { display: block; margin-top: 2px; font-size: 13px; color: #9ea4bb; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tfn-sheet-it { display: flex; align-items: center; gap: 14px; width: 100%; padding: 13px 12px; border: 0; border-radius: 12px; background: none; cursor: pointer;
  color: #e6e8f2; font: inherit; font-size: 15.5px; text-align: left; }
.tfn-sheet-it svg { width: 21px; height: 21px; flex: 0 0 21px; color: #a99cff; }
.tfn-sheet-it:active { background: rgba(124, 108, 255, .14); }
@media (hover: hover) { .tfn-sheet-it:hover { background: rgba(124, 108, 255, .14); } }
.tfn-sheet-it.danger, .tfn-sheet-it.danger svg { color: #ff8a9a; }
.tfn-sheet-it.danger:active { background: rgba(255, 92, 122, .12); }
.tfn-sheet-sep { height: 1px; margin: 4px 10px; background: rgba(255, 255, 255, .06); }

/* поле ввода на телефоне: подсказка в одну строку, без обрезки до «в #» */
#msgInput::placeholder { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- 3. входящий звонок ---------- */
#callModal.tfn-call { background: radial-gradient(60% 55% at 50% 42%, rgba(91, 63, 214, .30), rgba(6, 7, 12, .80)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
#callModal.tfn-call .call-card { position: relative; width: min(380px, 92vw); padding: 26px 24px 22px; border-radius: 26px; text-align: center; overflow: hidden;
  background: radial-gradient(120% 70% at 50% 0%, rgba(124, 108, 255, .22), transparent 60%), linear-gradient(180deg, #1f2030, #16171f);
  border: 1px solid rgba(167, 139, 250, .24); box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 90px -24px rgba(124, 108, 255, .6), inset 0 1px 0 rgba(255, 255, 255, .06);
  animation: tfnCallIn .32s cubic-bezier(.2, .8, .2, 1); }
@keyframes tfnCallIn { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
.tfn-call-kick { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 5px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase;
  color: #d6ceff; background: rgba(124, 108, 255, .14); border: 1px solid rgba(167, 139, 250, .32); }
.tfn-call-kick:empty { display: none; }
.tfn-call-kick::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #a78bfa; animation: tfnBlink 1.2s ease-in-out infinite; }
@keyframes tfnBlink { 0%, 100% { opacity: .35; } 50% { opacity: 1; box-shadow: 0 0 10px #a78bfa; } }
.tfn-call-ava { position: relative; width: 144px; height: 144px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; }
.tfn-call-ava::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; z-index: 1; background: conic-gradient(from 0deg, #a78bfa, #5eead4, #7c6cff, #f0abfc, #a78bfa); animation: tfnSpin 5s linear infinite; }
#callModal .tfn-call-ava .call-ava { position: relative; z-index: 2; width: 104px; height: 104px; margin: 0; border: 0; border-radius: 50%; object-fit: cover; background: #2b2d3a; box-shadow: 0 0 0 4px #1b1c27; }
.tfn-ring { position: absolute; inset: 10px; border-radius: 50%; border: 2px solid rgba(167, 139, 250, .6); opacity: 0; z-index: 0; }
#callModal.is-in .tfn-ring { animation: tfnPulse 2.4s cubic-bezier(.2, .6, .3, 1) infinite; }
#callModal.is-in .tfn-ring.r2 { animation-delay: .8s; }
#callModal.is-in .tfn-ring.r3 { animation-delay: 1.6s; }
#callModal.is-out .tfn-ring.r1 { animation: tfnPulse 3s ease-out infinite; }
@keyframes tfnPulse { 0% { transform: scale(1); opacity: .85; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes tfnSpin { to { transform: rotate(360deg); } }
#callModal.tfn-call .call-title { font-size: 24px; font-weight: 800; color: #f4f2ff; margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#callModal.tfn-call .call-sub { font-size: 14px; color: #a7acc4; margin-bottom: 24px; }
#callModal.tfn-call .call-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
#callModal.tfn-call .call-accept, #callModal.tfn-call .call-decline { flex: 1 1 0; min-width: 0; height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 16px; font-size: 15px; font-weight: 800; cursor: pointer; transition: transform .12s ease, filter .12s ease, background .12s ease; }
#callModal.tfn-call .call-accept svg, #callModal.tfn-call .call-decline svg { width: 20px; height: 20px; }
#callModal.tfn-call .call-accept { border: 0; color: #fff; background: linear-gradient(135deg, #8b7bff, #6d55f0); box-shadow: 0 12px 28px -10px rgba(124, 108, 255, .95), inset 0 1px 0 rgba(255, 255, 255, .2); }
#callModal.tfn-call .call-accept:hover { filter: brightness(1.08); transform: translateY(-1px); }
#callModal.is-in .call-accept svg { animation: tfnRing 1.6s ease-in-out infinite; transform-origin: 50% 50%; }
@keyframes tfnRing { 0%, 50%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(-14deg); } 20%, 40% { transform: rotate(14deg); } }
#callModal.tfn-call .call-decline { color: #ffc2ca; background: #262736; border: 1px solid rgba(255, 138, 154, .3); }
#callModal.tfn-call .call-decline svg { color: #ff8a9a; }
#callModal.tfn-call .call-decline:hover { background: #2e2433; color: #fff; }
#callModal.tfn-call #callActions .call-report { flex: 1 0 100%; margin-top: 2px; padding: 6px; border: 0; background: none; color: #8e94ab; font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; }
#callModal.tfn-call #callActions .call-report:hover { color: #ff8a9a; background: none; }
@media (max-width: 600px) {
  #callModal.tfn-call .call-card { width: calc(100vw - 24px); padding: 24px 18px 18px; }
  .tfn-call-ava { width: 132px; height: 132px; }
  #callModal .tfn-call-ava .call-ava { width: 94px; height: 94px; }
}

/* ---------- 5. шаблоны сервера: иконки и короткие названия ---------- */
.gx-tpls.tfn-tpls { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.gx-tpl.tfn-tpl > span { display: flex !important; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 118px; padding: 14px 14px 12px !important; border-radius: 14px; background: #20212d; transition: border-color .12s ease, background .12s ease, transform .12s ease; }
.gx-tpl.tfn-tpl > span::before { display: none !important; }
.gx-tpl.tfn-tpl:hover > span { border-color: rgba(167, 139, 250, .4); transform: translateY(-1px); }
.gx-tpl.tfn-tpl input:checked + span { background: radial-gradient(90% 80% at 0% 0%, rgba(124, 108, 255, .22), transparent 70%), #23233a; }
.tfn-tpl-ico { width: 40px; height: 40px; margin-bottom: 8px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff;
  background: linear-gradient(135deg, #8b7bff, #5b3fd6); box-shadow: 0 8px 18px -8px rgba(124, 108, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .2); }
.tfn-tpl-ico svg { width: 22px; height: 22px; }
.tpl-empty .tfn-tpl-ico { background: #2d2f40; color: #c4b5fd; box-shadow: inset 0 0 0 1.5px rgba(167, 139, 250, .45); }
.tpl-study .tfn-tpl-ico { background: linear-gradient(135deg, #8aa2ff, #5b5bd6); }
.tpl-friends .tfn-tpl-ico { background: linear-gradient(135deg, #c084fc, #7c3aed); }
.tpl-streamer .tfn-tpl-ico { background: linear-gradient(135deg, #e879f9, #9333ea); }
.tpl-import .tfn-tpl-ico { background: #2d2f40; color: #c4b5fd; box-shadow: inset 0 0 0 1.5px rgba(167, 139, 250, .45); }
.gx-tpl.tfn-tpl > span b { font-size: 14.5px; color: #f0f1f7; }
.gx-tpl.tfn-tpl > span small { font-size: 12px; line-height: 1.4; color: #9ea4bb; margin-top: 0; }
.gx-tpl.tfn-tpl > span em { margin-top: auto; padding-top: 6px; font-style: normal; font-size: 11px; font-weight: 700; color: #a99cff; }
@media (max-width: 600px) { .gx-tpls.tfn-tpls { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gx-tpl.tfn-tpl > span { min-height: 108px; } }

/* ---------- 6. превью тем: мини-макет интерфейса ---------- */
#tfSettings .tfs-tc-prev, #srvStudio .tfs-tc-prev { height: 96px !important; border-color: rgba(255, 255, 255, .1) !important; }
#tfSettings .tfs-tc-classic, #srvStudio .tfs-tc-classic { background: #1a1b23 url(/tfn/theme-classic.svg) center / cover no-repeat !important; }
#tfSettings .tfs-tc-glass, #srvStudio .tfs-tc-glass { background: #0b0a1c url(/tfn/theme-glass.svg) center / cover no-repeat !important; }
#tfSettings .tfs-tc-site, #srvStudio .tfs-tc-site { background: #14151c url(/tfn/theme-site.svg) center / cover no-repeat !important; }
#tfSettings .tfs-tc-site::after, #srvStudio .tfs-tc-site::after { display: none !important; }

/* ---------- 7. «Новости»: обложка обновления ---------- */
body.tfn-news #channelHeader { background: var(--header, #1a1b23) !important; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .06) !important; }
.tfn-cover { position: relative; flex: 0 0 auto; height: 168px; margin: 12px 16px 2px; border-radius: 18px; overflow: hidden; isolation: isolate;
  border: 1px solid rgba(190, 210, 255, .14); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06); }
.tfn-cover[hidden] { display: none !important; }
.tfn-cover-bg { position: absolute; inset: 0; z-index: -2; background: #17142c url(/tfn/news-cover-bg.svg) right center / cover no-repeat; }
.tfn-cover-bg.is-winter { background: #0d0c22 url(/shop/winter/winter-hero.svg) right 45% / cover no-repeat; }
.tfn-cover::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(13, 12, 30, .9) 0%, rgba(13, 12, 30, .62) 36%, rgba(13, 12, 30, 0) 62%); }
.tfn-cover-emblem { position: absolute; right: 8px; bottom: -4px; width: 330px; height: 165px; pointer-events: none; background: url(/tfn/news-emblem.svg) right bottom / contain no-repeat; }
.tfn-cover-txt { position: relative; height: 100%; max-width: 58%; padding: 18px 24px; display: flex; flex-direction: column; justify-content: center; gap: 5px; }
.tfn-cover-kick { font-size: 11px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: #a5f3fc; }
.tfn-cover h2 { margin: 0; font-size: 25px; line-height: 1.15; font-weight: 800; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, .55); }
.tfn-cover p { margin: 0; font-size: 13.5px; line-height: 1.45; color: #d9def3; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.tfn-cover-acts { display: flex; gap: 8px; margin-top: 8px; }
.tfn-cover-acts .tfn-btn, .tfn-cover-acts .tfn-ghost { height: 34px; font-size: 13px; }
.tfn-cover-mini { display: none; }
.tfn-cover.is-min { height: 46px; }
.tfn-cover.is-min .tfn-cover-txt, .tfn-cover.is-min .tfn-cover-emblem { display: none; }
.tfn-cover.is-min .tfn-cover-mini { display: flex; align-items: center; gap: 10px; width: 100%; height: 100%; padding: 0 16px; border: 0; background: none; color: #fff; font: inherit; font-size: 14px; cursor: pointer; }
.tfn-cover.is-min .tfn-cover-mini svg { width: 18px; height: 18px; color: #c4b5fd; }
.tfn-cover.is-min .tfn-cover-mini span { margin-left: auto; font-size: 12.5px; color: #c9c3f5; }
@media (max-width: 760px) {
  .tfn-cover { height: 138px; margin: 8px 8px 2px; border-radius: 14px; }
  .tfn-cover-emblem { width: 190px; height: 95px; right: -8px; opacity: .9; }
  .tfn-cover-txt { max-width: 74%; padding: 12px 14px; gap: 3px; }
  .tfn-cover h2 { font-size: 19px; }
  .tfn-cover p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .tfn-art *, .tfn-call-ava::before, #callModal .tfn-ring, #callModal .call-accept svg, .tfn-call-kick::before, #callModal.tfn-call .call-card, .tfn-sheet-card { animation: none !important; transition: none !important; }
}
