/* shop5.css — пакет L (2026-11-30): новые виды для «Эффектов ника», «Цвета ника», «Фонов профиля», «Стиля сообщений», «Появления в голосе».
   Только CSS: transform/opacity/background, без картинок и без внешних ресурсов. Анимации стоят на паузе, пока строка не под курсором
   (как у остальных эффектов), и выключаются при prefers-reduced-motion. */

/* ---------- эффекты ника ---------- */
.tfs-nx-rose { background-image: linear-gradient(90deg, #ffc2dc, #ff6fb0 55%, #e8509a); filter: drop-shadow(0 0 3px rgba(255,111,176,.32)); } /* ключ rose был в списке без товара — делаем читаемым на тёмном фоне */
.tfs-nx-emerald { background-image: linear-gradient(180deg, #e3fff0 0%, #6ff0ae 42%, #0f9f6d 100%); filter: drop-shadow(0 0 3px rgba(52,211,153,.38)); }
.tfs-nx-emerald::after { background-image: linear-gradient(100deg, transparent 32%, #f4fffa 50%, transparent 68%); animation: tfsGlint 5s ease-in-out infinite; animation-play-state: paused; }
.tfs-nx-lava { background-image: linear-gradient(180deg, #fff0a8 0%, #ffb13c 26%, #ff5a2e 52%, #a3122f 76%, #ff5a2e 100%); background-size: 100% 220%; background-position: 0 0; animation: tfs5Lava 4.5s ease-in-out infinite alternate; animation-play-state: paused; filter: drop-shadow(0 0 4px rgba(255,90,46,.4)); }
.tfs-nx-holo { background-image: linear-gradient(115deg, #a5f3fc, #c4b5fd 22%, #f9a8d4 44%, #fde68a 66%, #a7f3d0 88%, #a5f3fc); background-size: 240% 100%; animation: tfs5Holo 8s linear infinite; animation-play-state: paused; }
.tfs-nx-candycane { background-image: linear-gradient(135deg, #ff4d6d 25%, #ffffff 25% 50%, #ff4d6d 50% 75%, #ffffff 75%); background-size: .42em .42em; background-repeat: repeat; background-position: 0 0; filter: drop-shadow(0 0 2px rgba(255,255,255,.3)); }
.tfs-live .tfs-nx-lava, .msg:hover .tfs-nx-lava, .member:hover .tfs-nx-lava, #userMenu .tfs-nx-lava, .tfp-name .tfs-nx-lava,
.tfs-live .tfs-nx-holo, .msg:hover .tfs-nx-holo, .member:hover .tfs-nx-holo, #userMenu .tfs-nx-holo, .tfp-name .tfs-nx-holo,
.tfs-live.tfs-nx-lava, .tfs-live.tfs-nx-holo { animation-play-state: running; }
:is(.tfs-live, .msg:hover, .member:hover, #userMenu, .tfp-name) .tfs-nx-emerald::after, .tfs-live.tfs-nx-emerald::after { animation-play-state: running; }
@keyframes tfs5Lava { to { background-position: 0 100%; } }
@keyframes tfs5Holo { to { background-position: 240% 0; } }

/* ---------- цвет ника ---------- */
.tfs-nc-amber { color: #ffb02e !important; } .tfs-nc-teal { color: #3ad1d1 !important; } .tfs-nc-lime { color: #b5f23a !important; }
.tfs-nc-peach { color: #ffc7a6 !important; } .tfs-nc-orchid { color: #e08cff !important; } .tfs-nc-silver { color: #d3d8ea !important; }
.tfs-nc-holly { color: #5fd17a !important; } .tfs-nc-snowy { color: #e4f2ff !important; }

/* ---------- фоны профиля (статичные градиенты) ---------- */
.tfs-bg-dusk { --tfs-bgi: radial-gradient(120% 70% at 50% 112%, rgba(255,140,100,.55), transparent 62%), radial-gradient(90% 60% at 18% 0%, rgba(124,58,237,.5), transparent 65%), linear-gradient(180deg, #211746, #150f2a); }
.tfs-bg-ember { --tfs-bgi: radial-gradient(110% 60% at 50% 118%, rgba(255,110,40,.5), transparent 62%), radial-gradient(1.5px 1.5px at 22% 82%, #ffb36b, transparent 60%), radial-gradient(1.5px 1.5px at 68% 72%, #ff8a3a, transparent 60%), radial-gradient(1px 1px at 44% 90%, #ffd27a, transparent 60%), radial-gradient(1px 1px at 84% 86%, #ff8a3a, transparent 60%), linear-gradient(180deg, #17121a, #0e0a0f); background-size: cover, 150px 150px, 190px 190px, 130px 130px, 170px 170px, cover; }
.tfs-bg-circuit { --tfs-bgi: linear-gradient(rgba(139,92,246,.17) 1px, transparent 1px), linear-gradient(90deg, rgba(139,92,246,.17) 1px, transparent 1px), radial-gradient(circle at 0 0, rgba(196,181,253,.55) 0 2px, transparent 3px), radial-gradient(90% 60% at 82% 0%, rgba(124,58,237,.42), transparent 70%), linear-gradient(180deg, #15112a, #0d0a17); background-size: 28px 28px, 28px 28px, 56px 56px, cover, cover; }
.tfs-bg-nebula { --tfs-bgi: radial-gradient(60% 50% at 22% 30%, rgba(217,70,239,.38), transparent 70%), radial-gradient(55% 55% at 78% 62%, rgba(59,130,246,.34), transparent 70%), radial-gradient(40% 40% at 55% 15%, rgba(167,139,250,.3), transparent 70%), radial-gradient(1px 1px at 14% 70%, #fff, transparent 60%), radial-gradient(1.4px 1.4px at 64% 24%, #fff, transparent 60%), radial-gradient(1px 1px at 88% 82%, #e9d5ff, transparent 60%), linear-gradient(180deg, #0e0b1e, #07060f); background-size: cover, cover, cover, 170px 170px, 210px 210px, 190px 190px, cover; }
.tfs-bg-prism { --tfs-bgi: conic-gradient(from 200deg at 85% -10%, rgba(99,102,241,.34), rgba(236,72,153,.28), rgba(34,211,238,.26), rgba(250,204,21,.16), rgba(99,102,241,.34)), radial-gradient(90% 70% at 10% 100%, rgba(139,92,246,.22), transparent 70%), linear-gradient(180deg, #1a1826, #100e18); }
.tfs-bg-snowfall { --tfs-bgi: radial-gradient(2px 2px at 14% 20%, #fff, transparent 60%), radial-gradient(1.5px 1.5px at 62% 12%, #fff, transparent 60%), radial-gradient(2.4px 2.4px at 36% 58%, #eaf4ff, transparent 60%), radial-gradient(1.5px 1.5px at 82% 46%, #fff, transparent 60%), radial-gradient(2px 2px at 24% 86%, #fff, transparent 60%), radial-gradient(1.5px 1.5px at 70% 82%, #dbeafe, transparent 60%), radial-gradient(90% 60% at 50% 110%, rgba(125,170,255,.28), transparent 70%), linear-gradient(180deg, #161c33, #0c1020); background-size: 130px 130px, 170px 170px, 210px 210px, 150px 150px, 190px 190px, 230px 230px, cover, cover; }
.tfs-bg-nightfir { --tfs-bgi: linear-gradient(135deg, #070a1a 25%, transparent 25%), linear-gradient(225deg, #070a1a 25%, transparent 25%), linear-gradient(135deg, #0d1230 25%, transparent 25%), linear-gradient(225deg, #0d1230 25%, transparent 25%), radial-gradient(1.5px 1.5px at 22% 18%, #fff, transparent 60%), radial-gradient(1px 1px at 70% 30%, #fff, transparent 60%), radial-gradient(70% 50% at 75% 10%, rgba(125,170,255,.3), transparent 70%), linear-gradient(180deg, #0c1230, #1b2650); background-size: 26px 38px, 26px 38px, 36px 58px, 36px 58px, 160px 160px, 200px 200px, cover, cover; background-repeat: repeat-x, repeat-x, repeat-x, repeat-x, repeat, repeat, no-repeat, no-repeat; background-position: left bottom, left bottom, 12px calc(100% - 14px), 12px calc(100% - 14px), 0 0, 0 0, 0 0, 0 0; }

/* ---------- стиль сообщений ---------- */
.tfs-bub-rose { --tfs-bub: linear-gradient(#fbcfe8, #ec4899); --tfs-bubt: rgba(236,72,153,.09); }
.tfs-bub-emerald { --tfs-bub: linear-gradient(#a7f3d0, #059669); --tfs-bubt: rgba(5,150,105,.10); }
.tfs-bub-ember { --tfs-bub: linear-gradient(#fed7aa, #ea580c); --tfs-bubt: rgba(234,88,12,.09); }
.tfs-bub-mono { --tfs-bub: linear-gradient(#e5e7eb, #6b7280); --tfs-bubt: rgba(148,163,184,.08); }
.tfs-bub-holly { --tfs-bub: linear-gradient(#fda4af 0%, #e11d48 48%, #16a34a 52%, #86efac 100%); --tfs-bubt: rgba(22,163,74,.08); }
.t4-bub-rose b { color: #f9a8d4; } .t4-bub-emerald b { color: #6ee7b7; } .t4-bub-ember b { color: #fdba74; } .t4-bub-mono b { color: #cbd5e1; } .t4-bub-holly b { color: #86efac; }

/* ---------- появление в голосе (разово при входе; в карточке — по наведению) ---------- */
.tfs-entry-rise { animation: tfs5Rise .65s cubic-bezier(.2,.8,.2,1) both; }
.tfs-entry-pop { border-radius: 8px; animation: tfs5PopBg 1.1s ease-out both; }
.tfs-entry-pop > img { animation: tfs5Pop .75s cubic-bezier(.2,1.5,.4,1) both; }
@keyframes tfs5Rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes tfs5Pop { 0% { transform: scale(.4); opacity: 0; } 55% { transform: scale(1.18); opacity: 1; } 100% { transform: none; } }
@keyframes tfs5PopBg { 0% { background-color: rgba(167,139,250,0); } 30% { background-color: rgba(167,139,250,.22); } 100% { background-color: rgba(167,139,250,0); } }
.tfs-card:hover .tfs-entry-loop.tfs-entry-rise, .tfs-pv-obj .tfs-entry-loop.tfs-entry-rise { animation: tfs5Rise 1s cubic-bezier(.2,.8,.2,1) infinite; }
.tfs-card:hover .tfs-entry-loop.tfs-entry-pop, .tfs-pv-obj .tfs-entry-loop.tfs-entry-pop { animation: tfs5PopBg 1.5s ease-out infinite; }
.tfs-card:hover .tfs-entry-loop.tfs-entry-pop > img, .tfs-pv-obj .tfs-entry-loop.tfs-entry-pop > img { animation: tfs5Pop 1.1s cubic-bezier(.2,1.5,.4,1) infinite; }

@media (prefers-reduced-motion: reduce) {
  .tfs-nx-lava, .tfs-nx-holo, .tfs-nx-emerald::after, .tfs-entry-rise, .tfs-entry-pop, .tfs-entry-pop > img { animation: none !important; }
}
