* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0e17;
    color: #e0e6f0;
    min-height: 100vh;
    overflow-x: hidden;
}
.app {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #111827;
    border-bottom: 1px solid #1e293b;
}
.header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo {
    font-weight: 700;
    font-size: 17px;
    background: linear-gradient(135deg, #00d2ff, #7b2ff7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.badge-live {
    background: #22c55e;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}
.bot-status {
    font-size: 12px;
    color: #22c55e;
}
.stats-bar {
    display: flex;
    gap: 1px;
    background: #1e293b;
    padding: 8px 4px;
}
.stat-item {
    flex: 1;
    text-align: center;
    background: #111827;
    padding: 8px 0;
    border-radius: 6px;
}
.stat-item.strong { background: #1a1a2e; }
.stat-num {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #e0e6f0;
}
.stat-item.strong .stat-num { color: #f59e0b; }
.stat-label {
    font-size: 10px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.tabs {
    display: flex;
    background: #111827;
    border-bottom: 1px solid #1e293b;
    padding: 0 8px;
}
.tab {
    flex: 1;
    padding: 10px 4px;
    background: none;
    border: none;
    color: #64748b;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}
.tab.active {
    color: #00d2ff;
}
.tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: #00d2ff;
    border-radius: 2px 2px 0 0;
}
.content {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 70px;
}
.tab-panel {
    display: none;
    padding: 12px;
}
.tab-panel.active { display: block; }
.hero-card {
    background: linear-gradient(135deg, #111827, #1a1a2e);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid #1e293b;
    transition: all 0.3s;
}
.hero-card.sb { border-color: #f59e0b; box-shadow: 0 0 20px rgba(245,158,11,0.1); }
.hero-card.b { border-color: #22c55e; }
.hero-card.w { border-color: #3b82f6; }
.hero-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.hero-symbol {
    font-size: 22px;
    font-weight: 700;
}
.hero-score {
    font-size: 28px;
    font-weight: 800;
    color: #00d2ff;
}
.hero-detail {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 4px;
}
.hero-verdict {
    font-size: 12px;
    color: #94a3b8;
}
.hero-chain {
    font-size: 10px;
    background: #1e293b;
    padding: 2px 6px;
    border-radius: 4px;
    color: #64748b;
}
.hero-price {
    font-size: 14px;
    color: #64748b;
}
.section-title {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 12px 0 8px;
}
.activity-item, .signal-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #111827;
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 6px;
    border-left: 3px solid transparent;
}
.activity-item.sb, .signal-item .si-signal.sb { border-left-color: #f59e0b; }
.activity-item.b, .signal-item .si-signal.b { border-left-color: #22c55e; }
.activity-item.w, .signal-item .si-signal.w { border-left-color: #3b82f6; }
.act-left { display: flex; gap: 8px; align-items: center; }
.act-symbol { font-weight: 600; font-size: 14px; }
.act-chain { color: #64748b; font-size: 11px; }
.act-right { display: flex; gap: 8px; align-items: center; }
.act-signal {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}
.act-signal.strong_buy { background: rgba(245,158,11,0.2); color: #f59e0b; }
.act-signal.buy { background: rgba(34,197,94,0.2); color: #22c55e; }
.act-signal.watch { background: rgba(59,130,246,0.2); color: #3b82f6; }
.act-score { color: #00d2ff; font-weight: 600; font-size: 14px; }
.search-bar {
    margin-bottom: 12px;
}
.search-bar input {
    width: 100%;
    padding: 10px 14px;
    background: #111827;
    border: 1px solid #1e293b;
    border-radius: 8px;
    color: #e0e6f0;
    font-size: 14px;
}
.search-bar input::placeholder { color: #475569; }
.token-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.token-card {
    background: #111827;
    border: 1px solid #1e293b;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.2s;
}
.token-card:active { background: #1e293b; }
.tc-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}
.tc-symbol { font-weight: 600; font-size: 13px; }
.tc-score { color: #00d2ff; font-weight: 700; font-size: 14px; }
.tc-info {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-bottom: 2px;
}
.tc-chain { font-size: 10px; color: #64748b; background: #1e293b; padding: 1px 4px; border-radius: 3px; }
.tc-liq { font-size: 11px; color: #94a3b8; }
.tc-price { font-size: 12px; color: #64748b; }
.signal-list { }
.signal-item {
    flex-direction: column;
    align-items: stretch;
}
.si-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}
.si-symbol { font-weight: 600; }
.si-signal { font-size: 11px; padding: 2px 8px; border-radius: 4px; font-weight: 600; }
.si-body {
    display: flex;
    gap: 8px;
    margin-bottom: 4px;
}
.si-chain, .si-score, .si-verdict { font-size: 11px; color: #94a3b8; }
.si-footer {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #64748b;
}
.config-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.config-item {
    background: #111827;
    padding: 10px;
    border-radius: 8px;
}
.ci-label {
    display: block;
    font-size: 11px;
    color: #64748b;
    margin-bottom: 2px;
}
.ci-val {
    font-size: 14px;
    font-weight: 600;
}
.tab-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 480px;
    width: 100%;
    display: flex;
    background: #111827;
    border-top: 1px solid #1e293b;
    padding: 6px 0;
    padding-bottom: max(6px, env(safe-area-inset-bottom));
}
.tab-bar-item {
    flex: 1;
    text-align: center;
    background: none;
    border: none;
    font-size: 20px;
    padding: 6px 0;
    cursor: pointer;
    opacity: 0.4;
    transition: all 0.2s;
}
.tab-bar-item.active {
    opacity: 1;
    transform: translateY(-2px);
}
::-webkit-scrollbar { width: 0; }
