.screener-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 20px 0;
  margin-top: 8px;
  min-height: 0;
}

.screener-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

h4.screener-title {
  margin: 0;
}

.screener-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
}

.screener-title .arrow {
  color: var(--text-secondary);
  font-size: 12px;
}

.screener-title svg {
  color: var(--text-secondary);
  margin-top: 2px;
}

.live-badge {
  background: #0d3326;
  color: var(--green-accent);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.live-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.time-periods {
  display: flex;
  align-items: center;
  gap: 2px;
}

.time-btn {
  padding: 4px 8px;
  font-size: 12px;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.time-btn:hover {
  color: var(--text-primary);
}

.time-btn.active {
  color: var(--text-primary);
  border: 1px solid rgba(29, 216, 159, 0.4);
  background: rgba(29, 216, 159, 0.08);
  border-radius: var(--radius-pill);
}

.time-expand {
  padding: 4px 6px;
  color: var(--text-tertiary);
  cursor: pointer;
}

.screener-content-box {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  background-color: #121C26;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-primary);
}

.screener-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  border-bottom: 1px solid var(--border-primary);
  margin-bottom: 8px;
}

.screener-tab {
  padding: 8px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  position: relative;
  transition: color var(--transition-fast);
}

.screener-tab:hover {
  color: var(--text-primary);
}

.screener-tab.active {
  color: var(--text-primary);
}

.screener-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green-accent);
}

.filters-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.filters-left {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.filter-settings-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-primary);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  background: transparent;
  flex-shrink: 0;
}

.filter-settings-btn:hover {
  border-color: var(--text-tertiary);
  color: var(--text-primary);
}

.filter-chip {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-pill);
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition-fast);
  background: transparent;
}

.filter-chip:hover {
  border-color: var(--text-tertiary);
  color: var(--text-primary);
}

.filter-chip.active {
  background: var(--green-accent);
  color: #000;
  border-color: var(--green-accent);
  font-weight: 600;
}

.filter-chip svg {
  width: 14px;
  height: 14px;
}

.filter-chip .chevron {
  width: 10px;
  height: 10px;
  opacity: 0.6;
}

.filter-add {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  font-size: 12px;
  color: var(--text-tertiary);
  cursor: pointer;
  white-space: nowrap;
}

.filter-add svg {
  width: 12px;
  height: 12px;
}

.filter-add:hover {
  color: var(--text-secondary);
}

.filter-right {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.traders-dropdown {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-pill);
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
}

.traders-dropdown:hover {
  border-color: var(--text-tertiary);
  color: var(--text-primary);
}

.table-container {
  flex: 1;
  overflow: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.token-table {
  width: 100%;
  min-width: 1100px;
}

.token-table thead {
  position: sticky;
  top: 0;
  z-index: 5;
}

.token-table th {
  background: var(--bg-table-header);
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-tertiary);
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--border-primary);
  user-select: none;
  cursor: pointer;
}

.token-table th:hover {
  color: var(--text-secondary);
}

.th-sortable {
  display: flex;
  align-items: center;
  gap: 3px;
}

.th-sortable .sort-icon {
  width: 10px;
  height: 10px;
  opacity: 0.4;
}

.token-table td {
  padding: 8px 12px;
  font-size: 13px;
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.token-table tbody tr {
  background: var(--bg-table-row);
  transition: background var(--transition-fast);
}

.token-table tbody tr:nth-child(even) {
  background: var(--bg-table-row-alt);
}

.token-table tbody tr:hover {
  background: var(--bg-hover);
}

.col-grip {
  width: 28px;
  text-align: center;
  color: var(--text-muted);
  cursor: grab;
}

.col-chain {
  width: 36px;
}

.chain-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.chain-icon.solana {
  background: linear-gradient(135deg, #9945ff, #14f195);
}

.col-token {
  min-width: 140px;
}

.token-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.token-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.token-icon span {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.token-icon-img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}

.token-link {
  text-decoration: none;
  color: inherit;
}

.token-link:hover .token-name {
  color: var(--green-accent);
}

.token-name {
  font-weight: 500;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.token-badge {
  font-size: 9px;
  margin-left: 2px;
}

.col-price {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.col-change {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.change-positive {
  color: var(--green-bright);
}

.change-negative {
  color: var(--red);
}

.change-neutral {
  color: var(--text-secondary);
}

.col-trade {
  text-align: center;
}

.trade-link {
  color: var(--green-accent);
  font-weight: 500;
  font-size: 12px;
  cursor: pointer;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.trade-link:hover {
  color: #17c28d;
  text-decoration: underline;
}

.col-numeric {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--text-secondary);
}

.col-flow {
  min-width: 140px;
}

.flow-cell {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
}

.flow-value {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.flow-bar-container {
  width: 80px;
  height: 5px;
  background: var(--bg-card);
  border-radius: 2px;
  overflow: hidden;
}

.flow-bar {
  height: 100%;
  border-radius: 2px;
  background: var(--green-accent);
  transition: width var(--transition-normal);
}

.na-value {
  color: var(--text-tertiary);
  font-size: 12px;
}

.table-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  padding: 8px 12px;
  background: var(--bg-table-header);
  border-top: 1px solid var(--border-primary);
}

.page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm);
  color: var(--text-tertiary);
  font-size: 12px;
  transition: all var(--transition-fast);
}

.page-btn:hover:not(:disabled) {
  color: var(--text-primary);
  background: var(--bg-hover);
}

.page-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

@media (max-width: 768px) {
  .screener-section {
    padding: 16px 12px 0;
  }
  .screener-header {
    flex-wrap: wrap;
    gap: 8px;
  }
  .screener-title {
    font-size: 14px;
  }
  .time-periods {
    gap: 1px;
  }
  .time-btn {
    padding: 3px 6px;
    font-size: 11px;
  }
  .screener-content-box {
    border-radius: var(--radius-md);
  }
  .screener-tabs {
    margin-bottom: 4px;
  }
  .screener-tab {
    padding: 6px 12px;
    font-size: 12px;
  }
  .filters-bar {
    padding: 0 8px;
    gap: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .filter-chip {
    padding: 4px 8px;
    font-size: 11px;
  }
  .traders-dropdown {
    padding: 4px 8px;
    font-size: 11px;
  }
  .token-table th {
    padding: 6px 8px;
    font-size: 10px;
  }
  .token-table td {
    padding: 6px 8px;
    font-size: 12px;
  }
  .token-name {
    max-width: 80px;
  }
  .flow-bar-container {
    width: 50px;
  }
  .table-pagination {
    padding: 6px 8px;
  }
}

@media (max-width: 480px) {
  .screener-section {
    padding: 12px 8px 0;
  }
  .filters-bar {
    padding: 0 4px;
  }
  .filter-add {
    display: none;
  }
  .token-table {
    min-width: 900px;
  }
}
