:root {
  --bg-primary: #0a0e14;
  --bg-card: #111318;
  --border-color: rgba(255, 255, 255, 0.08);
  --text-primary: #fff;
  --text-secondary: rgba(255, 255, 255, 0.5);
  --accent-green: #10b981;
  --accent-cyan: #06b6d4;
  --accent-red: #ef4444;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  padding-bottom: calc(70px + env(safe-area-inset-bottom));
}

.header {
  display: flex;
  align-items: center;
  padding: 1rem;
  position: sticky;
  top: 0;
  background: var(--bg-primary);
  z-index: 10;
  border-bottom: 1px solid var(--border-color);
}

.back-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
}

.header-title {
  flex: 1;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
}

.header-action {
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tabs {
  display: flex;
  padding: 0 1rem;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-primary);
  position: sticky;
  top: 56px;
  z-index: 9;
}

.tab {
  flex: 1;
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
}

.tab.active {
  color: var(--text-primary);
  font-weight: 600;
}

.tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--accent-orange);
  border-radius: 1px;
}

.filter-bar {
  display: flex;
  gap: 0.5rem;
  padding: 1rem;
  overflow-x: auto;
}

.filter-btn {
  padding: 0.5rem 1rem;
  background: rgba(13, 17, 23, 0.9) !important;
  border: none;
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 0.8rem;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn.active {
  background: var(--accent-orange);
  color: #000;
}

.section {
  padding: 0 1rem 1rem;
}

.section-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.trader-card {
  background: var(--bg-card);
  border-radius: 1rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.trader-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.trader-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}

.trader-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trader-avatar .initials {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #10b981, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.verified-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  background: var(--accent-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-card);
}

.trader-info {
  flex: 1;
}

.trader-name {
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trader-tag {
  font-size: 0.65rem;
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
}

.trader-followers {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.follow-btn {
  padding: 0.5rem 1rem;
  background: var(--accent-orange);
  border: none;
  border-radius: 0.5rem;
  color: #000;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}

.follow-btn.following {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.trader-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 1rem;
  font-weight: 700;
}

.stat-value.positive {
  color: var(--accent-green);
}

.stat-value.negative {
  color: var(--accent-red);
}

.stat-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.trader-chart {
  height: 60px;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.1), rgba(10, 14, 23, 0));
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-end;
  padding: 0 0.5rem;
  gap: 2px;
}

.chart-bar {
  flex: 1;
  background: var(--accent-green);
  border-radius: 2px 2px 0 0;
  min-height: 5px;
}

.chart-bar.negative {
  background: var(--accent-red);
}

.copy-btn {
  width: 100%;
  padding: 0.75rem;
  background: linear-gradient(135deg, var(--accent-orange), #ea580c);
  border: none;
  border-radius: 0.5rem;
  color: #000;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s;
}

.copy-btn:hover {
  transform: translateY(-2px);
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
}

.empty-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(13, 17, 23, 0.9) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--text-secondary);
}

.empty-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.empty-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.inline-style-f2892a2e8a {
  display: none;
}