:root {
    /* Палитра: Deep Slate (Глубокий синий) */
    --bg: #020617;
    --card: #0f172a;
    --border: rgba(255, 255, 255, 0.08);
    --text-main: #FFFFFF;
    --text-muted: #94a3b8;
    
    /* Акценты */
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --accent-solid: #6366f1;
    --accent-glow: rgba(99, 102, 241, 0.4);
    
    --verified-bg: rgba(16, 185, 129, 0.15);
    --verified-text: #34d399;
    
    /* Навигация и UI */
    --nav-bg: rgba(15, 23, 42, 0.9);
    --heart-active: #ec4899;

    /* Новые цвета для тарифов */
    --gold: #fbbf24;
    --gold-glow: rgba(251, 191, 36, 0.3);
    --hot-red: #ef4444;
    --hot-glow: rgba(239, 68, 68, 0.4);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0; padding: 0;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-bottom: 100px; /* Место под меню */
}

/* --- АНИМАЦИИ --- */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes rise { from { height: 0; opacity: 0; } }
@keyframes pulseGlow { 0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(99, 102, 241, 0); } 100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); } }
@keyframes fadeInPrice { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hotPulse { 0% { transform: scale(1); box-shadow: 0 0 0 0 var(--hot-glow); } 70% { transform: scale(1.1); box-shadow: 0 0 10px 4px rgba(239, 68, 68, 0); } 100% { transform: scale(1); } }
@keyframes goldShine { 0% { background-position: -100% 0; } 100% { background-position: 200% 0; } }

.view-section { display: none; animation: fadeIn 0.3s ease; }
.view-section.active { display: block; }

/* --- HEADER --- */
.sticky-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}

.header {
    display: flex;
    align-items: center; 
    justify-content: space-between; 
    height: 60px;
    padding: 0 20px;
    padding-top: 5px;
}

.header-left { display: flex; align-items: center; }
.header-right { display: flex; align-items: center; }

.logo-img { 
    height: 44px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.3));
}

.search-area { 
    padding: 10px 20px; 
    display: flex; gap: 10px; align-items: center;
}

.search-input {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0 14px;
    display: flex; align-items: center; gap: 10px;
    flex: 1; height: 44px;
    transition: 0.2s;
}
.search-input:focus-within { border-color: var(--accent-solid); }
.search-input input {
    background: none; border: none; color: white; width: 100%; outline: none; font-size: 15px; font-weight: 500;
}

.filter-btn, .admin-add-btn {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; cursor: pointer; color: white;
    transition: 0.2s;
}
.filter-btn:active { transform: scale(0.95); }
.admin-add-btn { background: var(--accent-gradient); border: none; display: none; }

/* --- HERO CARD --- */
.hero-card {
    margin: 20px;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
}
.hero-card::before {
    content: ''; position: absolute; top: -60px; right: -60px; width: 150px; height: 150px;
    background: #6366f1; filter: blur(80px); opacity: 0.2; z-index: 0; pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }
.hero-title {
    font-size: 22px; font-weight: 700; line-height: 1.2;
    margin-bottom: 8px;
    background: linear-gradient(90deg, #fff, #a5b4fc);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: 13px; color: var(--text-muted); line-height: 1.5;
    margin-bottom: 20px; max-width: 90%;
}
.hero-graph-wrapper {
    height: 60px;
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 4px; margin-bottom: 20px;
    padding: 0 5px;
}
.hero-tags { display: flex; gap: 8px; }
.h-tag {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px; padding: 6px 12px; font-size: 11px; color: #fff; font-weight: 500;
}

/* --- FAQ SECTION --- */
.faq-section { padding: 0 20px; margin-top: 25px; }
.section-title { font-size: 16px; font-weight: 600; margin-bottom: 15px; color: #fff; }
.faq-item {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 16px; margin-bottom: 10px; overflow: hidden;
    transition: 0.3s;
}
.faq-head {
    padding: 16px; display: flex; justify-content: space-between; align-items: center;
    font-size: 14px; font-weight: 600; cursor: pointer; color: #fff;
}
.faq-head svg { transition: 0.3s; color: var(--text-muted); }
.faq-body {
    padding: 0 16px 16px; font-size: 13px; color: var(--text-muted); line-height: 1.5;
    display: none; animation: fadeIn 0.2s ease;
}
.faq-item.open { border-color: rgba(99,102,241,0.3); background: rgba(99,102,241,0.05); }
.faq-item.open .faq-head svg { transform: rotate(180deg); color: #818cf8; }
.faq-item.open .faq-body { display: block; }

/* --- КАТЕГОРИИ --- */
.categories-scroll {
    display: flex; overflow-x: auto; white-space: nowrap; gap: 8px;
    padding: 4px 20px 14px; -webkit-overflow-scrolling: touch;
}
.categories-scroll::-webkit-scrollbar { display: none; }
.cat-chip {
    background: var(--card); border: 1px solid var(--border);
    padding: 8px 16px; border-radius: 100px; font-size: 13px; font-weight: 500;
    color: var(--text-muted); flex-shrink: 0; transition: 0.2s;
}
.cat-chip.active { 
    border-color: rgba(99, 102, 241, 0.5); 
    color: white; 
    background: rgba(99, 102, 241, 0.15); 
}

/* --- СПИСОК КАНАЛОВ --- */
.channel-list { padding: 10px 20px 20px; display: flex; flex-direction: column; gap: 15px; }

.channel-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 20px; padding: 16px; transition: 0.1s;
    position: relative; overflow: hidden;
}
.channel-card:active { transform: scale(0.98); }

/* Тариф КОМФОРТ (2) */
.channel-card[data-tariff="2"] { 
    border: 1px solid rgba(129, 140, 248, 0.5); 
    box-shadow: 0 4px 20px rgba(129, 140, 248, 0.15);
    background: linear-gradient(180deg, rgba(129, 140, 248, 0.08) 0%, rgba(15, 23, 42, 0) 100%);
}

/* Тариф БИЗНЕС (3) */
.channel-card[data-tariff="3"] {
    border: 1px solid var(--gold);
    box-shadow: 0 4px 25px var(--gold-glow);
    background: linear-gradient(180deg, rgba(251, 191, 36, 0.12) 0%, rgba(15, 23, 42, 0) 100%);
}

/* HOT DEAL (is-hot) */
.channel-card.is-hot {
    border: 1px solid var(--hot-red);
}

.card-top { display: flex; gap: 14px; margin-bottom: 16px; position: relative; align-items: flex-start; }
.fav-btn {
    position: absolute; right: -5px; top: -5px;
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    z-index: 10;
}
.fav-btn svg { stroke: var(--text-muted); fill: none; transition: 0.2s; }
.fav-btn.active svg { stroke: var(--heart-active); fill: var(--heart-active); }

.avatar-wrap { 
    width: 56px; height: 56px; border-radius: 16px; 
    background: #1e293b; overflow: hidden; flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    position: relative;
}

/* Корона для Бизнеса */
.crown-overlay {
    position: absolute; bottom: -2px; right: -2px;
    background: var(--bg); border-radius: 50%;
    width: 20px; height: 20px; display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--gold); font-size: 12px;
    z-index: 5;
}

.channel-avatar { width: 100%; height: 100%; object-fit: cover; }
.avatar-placeholder { 
    width: 100%; height: 100%; display: flex; align-items: center; 
    justify-content: center; background: #1e293b;
    font-weight: 600; color: #a5b4fc; font-size: 20px;
}
.channel-info { flex: 1; padding-right: 25px; }
.channel-name { font-size: 17px; font-weight: 700; margin-bottom: 4px; color: #fff; display: block; line-height: 1.2; }

.channel-desc { 
    font-size: 13px; color: var(--text-muted); line-height: 1.4; 
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; 
}
.card-stats {
    display: grid; grid-template-columns: 1fr 1fr;
    background: rgba(255,255,255,0.03); border-radius: 14px;
    padding: 10px 14px; margin-bottom: 14px; gap: 10px;
}
.stat-item { display: flex; flex-direction: column; gap: 2px; }
.stat-label { font-size: 10px; color: var(--text-muted); opacity: 0.7; }
.stat-value { font-size: 14px; font-weight: 600; color: #fff; }

/* --- НОВЫЙ ФУТЕР КАРТОЧКИ --- */
.card-footer { 
    display: flex; justify-content: space-between; align-items: center; 
    padding-top: 12px; margin-top: 4px;
    border-top: 1px solid rgba(255,255,255,0.05); 
}
.price-box { 
    font-size: 18px; font-weight: 700; color: #fff; 
    letter-spacing: -0.5px; 
    transition: opacity 0.2s;
}

.channel-card[data-tariff="3"] .price-box { color: var(--gold); }
.channel-card[data-tariff="3"] .channel-name { color: var(--gold); }

/* Бейджи форматов */
.format-badge-container { cursor: pointer; user-select: none; }
.format-badge {
    font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 8px;
    display: inline-block; transition: 0.2s;
}
.format-badge.format-1 { background: rgba(99, 102, 241, 0.15); color: #818cf8; border: 1px solid rgba(99, 102, 241, 0.3); }
.format-badge.format-2 { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.format-badge.format-3 { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }

.price-box.fade-in { animation: fadeInPrice 0.3s ease; }

/* HOT ICON */
.hot-icon {
    position: absolute; top: 10px; right: 40px;
    font-size: 14px; animation: hotPulse 1.5s infinite;
}

/* --- НАВИГАЦИЯ --- */
.bottom-nav {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
    width: 92%; max-width: 400px;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 26px;
    display: flex; justify-content: space-around; align-items: center;
    padding: 14px 0; z-index: 900;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}
.nav-item {
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    color: #64748b; font-size: 10px; font-weight: 500;
    cursor: pointer; transition: 0.3s; width: 60px;
}
.nav-item svg { stroke-width: 2.2px; }
.nav-item.active { color: white; }
.nav-item.active svg { stroke: #818cf8; filter: drop-shadow(0 0 10px rgba(99,102,241,0.5)); }

/* --- ПРОФИЛЬ --- */
.profile-header {
    padding: 40px 20px 30px; text-align: center;
    background: radial-gradient(circle at center top, rgba(99,102,241,0.15), transparent 70%);
}
.profile-avatar {
    width: 90px; height: 90px; border-radius: 50%; background: #1e293b;
    margin: 0 auto 16px; display: flex; align-items: center; justify-content: center;
    font-size: 32px; color: white; border: 3px solid rgba(99,102,241,0.3);
    overflow: hidden;
    box-shadow: 0 0 30px rgba(99,102,241,0.2);
}
.profile-name { font-size: 22px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.5px; }
.profile-id { font-size: 13px; color: var(--text-muted); font-family: monospace; opacity: 0.6; }
.profile-stats {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 20px 20px;
}
.p-stat-card {
    background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 16px;
    text-align: center; transition: 0.2s;
}
.p-stat-card.interactive:active {
    transform: scale(0.96); background: #1e293b; border-color: rgba(99,102,241,0.5);
}

/* --- BOTTOM SHEET --- */
.bottom-sheet {
    position: fixed; bottom: -120%; left: 0; width: 100%;
    background: #020617;
    border-top: 1px solid var(--border);
    border-radius: 28px 28px 0 0; z-index: 1000;
    transition: 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    padding: 0; max-height: 90vh; overflow-y: auto;
    box-shadow: 0 -10px 50px rgba(0,0,0,0.8);
    display: flex; flex-direction: column;
}
.bottom-sheet.open { bottom: 0; }
.sheet-header { padding: 24px 24px 15px; flex-shrink: 0; }
.sheet-body { padding: 0 24px 100px; overflow-y: auto; }
.sheet-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7); display: none; z-index: 999; backdrop-filter: blur(5px);
    opacity: 0; transition: opacity 0.3s;
}

/* --- ТАРИФНЫЕ КАРТОЧКИ --- */
.tariff-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    transition: 0.2s;
}
.tariff-card:active { transform: scale(0.98); background: #1e293b; }

.tariff-card.comfort {
    border: 1px solid rgba(129, 140, 248, 0.4);
    background: linear-gradient(180deg, rgba(129, 140, 248, 0.05) 0%, rgba(15, 23, 42, 0) 100%);
}

.tariff-card.business {
    border: 1px solid #fbbf24;
    background: linear-gradient(180deg, rgba(251, 191, 36, 0.1) 0%, rgba(15, 23, 42, 0) 100%);
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.1);
}

.tariff-card.hot {
    border: 1px solid var(--hot-red);
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.08) 0%, rgba(15, 23, 42, 0) 100%);
}

.popular-badge {
    position: absolute; top: 0; right: 0;
    background: #fbbf24; color: #000;
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    padding: 4px 10px; border-bottom-left-radius: 12px;
}

.tariff-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 15px; }
.tariff-name { font-size: 18px; font-weight: 700; margin-bottom: 4px; color: #fff; }
.tariff-price { font-size: 20px; font-weight: 600; color: #fff; }

.tariff-icon-box {
    width: 40px; height: 40px; border-radius: 12px;
    background: rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center;
}
.tariff-icon-box.business-icon {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.tariff-features { display: flex; flex-direction: column; gap: 8px; }
.tf-item {
    font-size: 13px; color: var(--text-muted);
    display: flex; align-items: center; gap: 8px;
}
.tf-item svg { stroke-width: 2.5px; opacity: 0.8; }
.tariff-card.business .tf-item { color: #e2e8f0; }

/* --- ДЕТАЛИ --- */
.premium-stat-card {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px; padding: 20px; margin: 15px 0 25px;
    position: relative; overflow: hidden;
}
.premium-stat-card::before {
    content: ''; position: absolute; top: -50px; right: -50px; width: 120px; height: 120px;
    background: #6366f1; filter: blur(70px); opacity: 0.15; z-index: 0; pointer-events: none;
}
.stat-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; position: relative; z-index: 2; }
.stat-icon-box { display: flex; gap: 10px; align-items: center; }
.icon-gradient-bg {
    width: 36px; height: 36px; border-radius: 10px;
    background: var(--accent-gradient);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}
.verified-badge {
    display: flex; align-items: center; gap: 6px;
    background: var(--verified-bg); color: var(--verified-text);
    font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.1);
}
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; z-index: 1; margin-bottom: 20px; }
.stat-box { background: rgba(0,0,0,0.3); border-radius: 14px; padding: 14px; border: 1px solid rgba(255,255,255,0.05); }
.stat-box-label { font-size: 11px; color: var(--text-muted); display: block; margin-bottom: 6px; }
.stat-box-val { font-size: 18px; font-weight: 700; color: white; letter-spacing: -0.5px; }
.stat-graph-container {
    background: rgba(0,0,0,0.2); padding: 15px 10px 0; border-radius: 14px;
    position: relative; z-index: 2; border: 1px solid rgba(255,255,255,0.03);
    height: 80px; 
}
.stat-graph { display: flex; align-items: flex-end; justify-content: space-between; gap: 4px; height: 100%; padding-bottom: 5px; }
.graph-bar {
    flex: 1; background: #334155; border-radius: 2px; min-height: 4px;
    animation: rise 1s cubic-bezier(0.4, 0, 0.2, 1) forwards; opacity: 0.5;
}
.graph-bar.active { background: #818cf8; box-shadow: 0 0 10px rgba(129, 140, 248, 0.4); opacity: 1; }

/* КНОПКИ */
.action-buttons { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.btn-modern {
    width: 100%; border: none; border-radius: 16px; padding: 16px;
    font-size: 16px; font-weight: 600; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.2px;
}
.btn-primary-glow { 
    background: var(--accent-gradient); color: white; 
    box-shadow: 0 8px 25px -5px rgba(99, 102, 241, 0.4);
    border: 1px solid rgba(255,255,255,0.1);
}
.btn-primary-glow:active { transform: scale(0.97); }
.btn-outline-glow { background: var(--card); color: white; border: 1px solid var(--border); }
.btn-outline-glow:active { background: #1e293b; }

.btn-balance {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

/* ФОРМЫ */
.filter-group { margin-bottom: 20px; }
.filter-label { font-size: 11px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; margin-bottom: 10px; display: block; letter-spacing: 0.5px; }
.filter-input {
    width: 100%; background: var(--card); border: 1px solid var(--border);
    border-radius: 14px; padding: 16px; color: white; outline: none; font-size: 16px;
    transition: 0.2s; -webkit-appearance: none;
}
.filter-input:focus { border-color: var(--accent-solid); background: #1e293b; }
select.filter-input {
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat; background-position: right 15px center;
    background-size: 16px; padding-right: 40px;
}
input[type="file"]::-webkit-file-upload-button {
    background: #1e293b; color: white; border: 1px solid var(--border);
    padding: 10px 15px; border-radius: 10px; margin-right: 15px; cursor: pointer;
}
.stats-placeholder-box {
    width: 100%; border: 1px dashed rgba(255,255,255,0.1); border-radius: 16px;
    padding: 40px 20px; text-align: center; color: var(--text-muted); font-size: 13px;
    margin-top: 10px; background: rgba(255,255,255,0.02);
}
.stat-image {
    width: 100%; border-radius: 14px; margin-top: 10px; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.5); border: 1px solid var(--border);
}
.loader { text-align: center; padding: 50px 20px; color: var(--text-muted); font-size: 14px; }

/* Сетка кнопок пополнения */
.presets-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 10px; }

.preset-btn {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 12px; padding: 12px 0;
    text-align: center; font-size: 14px; font-weight: 600; color: var(--text-muted);
    cursor: pointer; transition: 0.2s;
}
.preset-btn:active { transform: scale(0.95); }
.preset-btn.active {
    background: rgba(99, 102, 241, 0.15); border-color: #6366f1;
    color: white; box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

/* --- TARIFF CONFIRM SHEET --- */
.tariff-confirm-icon {
    width: 80px; height: 80px; margin: 0 auto 15px;
    border-radius: 24px; background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3); border: 1px solid var(--border);
    position: relative;
}
.tariff-confirm-icon.pulse-glow { animation: pulseGlow 2s infinite; border-color: #fbbf24; }

.tc-title { font-size: 24px; font-weight: 700; margin-bottom: 5px; color: #fff; }
.tc-price { font-size: 32px; font-weight: 800; color: #fff; margin-bottom: 25px; letter-spacing: -1px; }

.tc-features {
    text-align: left; background: rgba(255,255,255,0.03);
    border-radius: 16px; padding: 20px; margin-bottom: 25px;
    border: 1px solid var(--border);
}
.tc-row {
    display: flex; align-items: flex-start; gap: 12px;
    margin-bottom: 12px; font-size: 14px; color: #e2e8f0; line-height: 1.4;
    opacity: 0; animation: slideInRight 0.4s forwards;
}
.tc-row:last-child { margin-bottom: 0; }
.tc-row svg { 
    flex-shrink: 0; stroke: #34d399; margin-top: 2px; 
    filter: drop-shadow(0 0 5px rgba(52, 211, 153, 0.4));
}
@keyframes slideInRight { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } }

/* Новые кнопки на главной */
.main-actions-v2 { padding: 0 20px; margin-top: 10px; display: flex; flex-direction: column; gap: 12px; }
.action-btn-large {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px; border-radius: 20px; cursor: pointer;
    position: relative; overflow: hidden;
    transition: transform 0.2s;
}
.action-btn-large:active { transform: scale(0.98); }
.action-btn-large.market {
    background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}
.action-btn-large.sell { background: #1e293b; border: 1px solid var(--border); }

.ab-text b { display: block; font-size: 16px; margin-bottom: 4px; color: white; }
.ab-text span { font-size: 12px; color: rgba(255,255,255,0.7); }
.ab-icon { 
    width: 40px; height: 40px; background: rgba(255,255,255,0.1); 
    border-radius: 12px; display: flex; align-items: center; justify-content: center; 
}

/* Инпуты с иконками */
.input-with-icon { position: relative; margin-bottom: 15px; }
.iwi-icon {
    position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
    color: var(--text-muted); font-size: 16px; pointer-events: none;
}
.iwi-input {
    width: 100%; background: var(--card); border: 1px solid var(--border);
    border-radius: 14px; padding: 16px 16px 16px 45px;
    color: white; outline: none; font-size: 16px; transition: 0.2s;
    font-family: inherit;
}
.iwi-input:focus { border-color: var(--accent-solid); background: #1e293b; }

/* Анимация успеха */
.success-anim-icon {
    width: 80px; height: 80px; border-radius: 50%;
    background: #10b981; margin: 0 auto;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes popIn { 0% { transform: scale(0); } 100% { transform: scale(1); } }

/* ФИЛЬТРЫ */
.filter-chips-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.filter-chip {
    background: var(--card); border: 1px solid var(--border);
    padding: 8px 16px; border-radius: 12px; font-size: 13px; font-weight: 500;
    color: var(--text-muted); cursor: pointer; transition: 0.2s; user-select: none;
}
.filter-chip.active { background: rgba(99, 102, 241, 0.15); border-color: #6366f1; color: white; }