/* ───── «Семья» v4.6: 💨 Пердёж-баттл ───── */
.ft-seg { display: flex; gap: 4px; margin: 12px 12px 0; padding: 4px; background: var(--card); border-radius: 14px; }
.ft-seg button { flex: 1; border: 0; background: none; color: var(--hint); font: inherit; font-weight: 800; font-size: 14px; padding: 9px 6px; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.ft-seg button.on { background: var(--bg, #0e1117); color: var(--text); box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.ft-seg b { background: #8bc34a; color: #1b2a0a; font-size: 11px; border-radius: 999px; padding: 1px 6px; }

.ft-bn { position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; width: calc(100% - 24px); margin: 12px 12px 12px; padding: 14px 14px; border: 0; border-radius: 22px; text-align: left; color: #f4f7e9; font: inherit;
  background: radial-gradient(ellipse at 15% 120%, rgba(160,200,60,.45), transparent 60%), linear-gradient(135deg, #2b3a12, #46561c 55%, #5e4a1c); box-shadow: 0 8px 22px rgba(30,40,10,.35); cursor: pointer; }
.ft-bn:active { transform: scale(.985); }
.ft-bn-tx { flex: 1; min-width: 0; position: relative; z-index: 1; }
.ft-bn .k { font-size: 10.5px; font-weight: 900; letter-spacing: 1px; color: #c8ef6a; }
.ft-bn .t { font-size: 15px; font-weight: 900; margin-top: 3px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ft-bn .s { font-size: 12px; color: #d6dcc0; margin-top: 3px; }
.ft-go { position: relative; z-index: 1; background: #c8ef6a; color: #1e2a05; font-weight: 900; font-size: 13px; padding: 7px 12px; border-radius: 999px; white-space: nowrap; }
.ft-cloud { position: absolute; right: 18px; top: 50%; opacity: .7; width: 80px; height: 60px; transform: translateY(-50%); pointer-events: none; }
.ft-cloud i { position: absolute; border-radius: 50%; background: radial-gradient(circle at 40% 40%, rgba(200,240,110,.55), rgba(140,180,40,0)); animation: ftPuff 3.2s ease-in-out infinite; }
.ft-cloud i:nth-child(1) { width: 40px; height: 40px; left: 0; top: 10px; }
.ft-cloud i:nth-child(2) { width: 30px; height: 30px; left: 30px; top: 0; animation-delay: .8s; }
.ft-cloud i:nth-child(3) { width: 34px; height: 34px; left: 44px; top: 22px; animation-delay: 1.6s; }
@keyframes ftPuff { 0% { transform: scale(.4); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.5) translate(10px, -14px); opacity: 0; } }

.ft-head { position: relative; overflow: hidden; margin: 12px 12px 0; padding: 16px; border-radius: 22px; color: #f4f7e9;
  background: radial-gradient(ellipse at 90% -10%, rgba(200,240,110,.35), transparent 55%), linear-gradient(150deg, #2b3a12, #46561c 60%, #5e4a1c); }
.ft-head .ft-cloud { right: 20px; top: 34px; }
.ft-head h2 { margin: 0 0 6px; font-size: 22px; font-weight: 900; }
.ft-head .s { font-size: 13px; line-height: 1.4; color: #dfe5c8; max-width: 300px; }
.ft-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ft-chips span { background: rgba(0,0,0,.3); padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; }

.ft-rec { margin: 12px 12px 0; padding: 16px; border-radius: 20px; background: var(--card); text-align: center; }
.ft-rec .t { font-weight: 800; font-size: 15px; margin-top: 10px; }
.ft-rec .s { font-size: 12.5px; color: var(--hint); margin-top: 4px; }
.ft-rec.done { padding: 14px; }
.ft-mic { width: 84px; height: 84px; border-radius: 50%; border: 0; font-size: 36px; color: #fff; background: radial-gradient(circle at 35% 30%, #a5d64a, #5b7d17); box-shadow: 0 6px 18px rgba(90,125,23,.45); cursor: pointer; }
.ft-mic.on { background: radial-gradient(circle at 35% 30%, #ff7a6a, #c42c22); animation: ftRec 1s ease-in-out infinite; font-size: 28px; }
@keyframes ftRec { 50% { box-shadow: 0 0 0 14px rgba(229,72,77,.18), 0 6px 18px rgba(196,44,34,.5); } }
.ft-alt { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; align-items: center; font-size: 12.5px; color: var(--hint); }
.ft-alt label { color: var(--text); font-weight: 700; background: rgba(127,127,127,.14); padding: 7px 12px; border-radius: 12px; cursor: pointer; }

.ft-sort { display: flex; gap: 6px; margin: 16px 12px 10px; }
.ft-sort button { border: 0; font: inherit; font-weight: 800; font-size: 13px; padding: 6px 14px; border-radius: 999px; background: rgba(127,127,127,.14); color: var(--hint); }
.ft-sort button.on { background: #c8ef6a; color: #1e2a05; }

.ft-card.gold { box-shadow: 0 0 0 2px #f6c933, 0 8px 24px rgba(246,201,51,.2); }
.ft-score { text-align: center; font-size: 22px; font-weight: 900; color: #c8ef6a; line-height: 1; margin-right: 4px; }
.ft-score small { display: block; font-size: 10.5px; color: var(--hint); font-weight: 700; margin-top: 3px; }
.ft-score.dim { color: var(--hint); }
.ft-player { display: flex; align-items: center; gap: 10px; padding: 6px 14px 4px; }
.ft-play { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #8bc34a; color: #142005; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.ft-play svg { width: 22px; height: 22px; }
.ft-play.sm { width: 34px; height: 34px; } .ft-play.sm svg { width: 18px; height: 18px; }
.ft-wave { position: relative; flex: 1; height: 38px; display: flex; align-items: center; gap: 2px; cursor: pointer; }
.ft-wave i { flex: 1; background: rgba(139,195,74,.45); border-radius: 2px; }
.ft-prog { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, rgba(200,239,106,.0), rgba(200,239,106,.35)); pointer-events: none; }
.ft-prog.on { border-right: 2px solid #c8ef6a; }
.ft-dur { font-size: 12.5px; color: var(--hint); font-weight: 700; min-width: 30px; text-align: right; }
.ft-bars { padding: 8px 16px 8px; display: grid; gap: 7px; }
.ft-bar { display: grid; grid-template-columns: 108px 1fr 28px; align-items: center; gap: 10px; font-size: 12.5px; color: var(--hint); }
.ft-bar span, .ft-sl .hd span { display: inline-flex; align-items: center; gap: 6px; }
.ft-bar svg { width: 15px; height: 15px; flex: none; } .ft-sl .hd svg { width: 18px; height: 18px; color: #8bc34a; }
.ft-nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ft-card .post-h { gap: 10px; }
.mic-step { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: 13.5px; line-height: 1.4; }
.mic-step b { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #8bc34a; color: #142005; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.ft-bar div { height: 7px; border-radius: 4px; background: rgba(127,127,127,.18); overflow: hidden; }
.ft-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #8bc34a, #f6c933); }
.ft-bar b { color: var(--text); text-align: right; font-size: 13px; }
.ft-win { display: flex; align-items: center; gap: 10px; margin: 0 12px 6px; padding: 10px 12px; background: var(--card); border-radius: 16px; }
.ft-win .grow { flex: 1; min-width: 0; }

.ft-sl { margin: 10px 0 14px; }
.ft-sl .hd { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; font-size: 15px; }
.ft-sl .hd b { font-size: 26px; color: #8bc34a; }
.ft-sl .w { text-align: center; font-size: 12.5px; color: var(--hint); font-weight: 700; margin-top: 2px; min-height: 16px; }
.ft-sl input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 6px; margin: 10px 0 4px; outline: none;
  background: linear-gradient(90deg, #8bc34a 0, #f6c933 var(--p), rgba(127,127,127,.22) var(--p)) !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; }
.ft-sl input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 3px solid #8bc34a; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.ft-sl input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid #8bc34a; }
.ft-total { text-align: center; font-weight: 800; margin: 4px 0 12px; color: var(--hint); } .ft-total b { font-size: 22px; color: var(--text); }
@media (prefers-reduced-motion: reduce) { .ft-cloud i, .ft-mic.on { animation: none; } }
