* { margin: 0; padding: 0; box-sizing: border-box; }
                                                                                                                                                                                                           
  body {
      background: #0a0a0f;                                                                                                                                                                                 
      color: #e0e0e0;
      font-family: 'Segoe UI', sans-serif;
      font-size: 14px;                                                                                                                                                                                     
  }
                                                                                                                                                                                                           
  header {        
      background: #0d1117;
      border-bottom: 1px solid #00d4ff33;                                                                                                                                                                  
      padding: 12px 24px;
      display: flex;                                                                                                                                                                                       
      align-items: center;                                                                                                                                                                                 
      justify-content: space-between;
  }                                                                                                                                                                                                        
                  
  header h1 { color: #00d4ff; font-size: 20px; letter-spacing: 1px; }                                                                                                                                      
   
  .status {                                                                                                                                                                                                
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 12px;                                                                                                                                                                                     
      color: #888;
  }                                                                                                                                                                                                        
                  
  .dot {
      width: 8px; height: 8px;
      border-radius: 50%;
      background: #28a745;                                                                                                                                                                                 
      animation: pulse 2s infinite;
  }                                                                                                                                                                                                        
                  
  .dot.offline { background: #dc3545; animation: none; }                                                                                                                                                   
   
  @keyframes pulse {                                                                                                                                                                                       
      0%, 100% { opacity: 1; }
      50% { opacity: 0.4; }
  }

  nav {
      background: #0d1117;
      padding: 0 24px;                                                                                                                                                                                     
      display: flex;
      gap: 4px;                                                                                                                                                                                            
      border-bottom: 1px solid #1a1a2e;
  }                                                                                                                                                                                                        
   
  nav a {                                                                                                                                                                                                  
      color: #888;
      text-decoration: none;
      padding: 10px 16px;
      border-bottom: 2px solid transparent;
      font-size: 13px;                                                                                                                                                                                     
      transition: all 0.2s;
  }                                                                                                                                                                                                        
                  
  nav a:hover, nav a.active {
      color: #00d4ff;
      border-bottom-color: #00d4ff;                                                                                                                                                                        
  }
                                                                                                                                                                                                           
  .container { padding: 20px 24px; }

  .filters {
      display: flex;
      gap: 12px;                                                                                                                                                                                           
      margin-bottom: 20px;
      flex-wrap: wrap;                                                                                                                                                                                     
      align-items: center;
  }

  .filters select, .filters input {                                                                                                                                                                        
      background: #0d1117;
      border: 1px solid #1a1a2e;                                                                                                                                                                           
      color: #e0e0e0;
      padding: 7px 12px;
      border-radius: 6px;                                                                                                                                                                                  
      font-size: 13px;
  }                                                                                                                                                                                                        
                  
  .filters select:focus, .filters input:focus {
      outline: none;
      border-color: #00d4ff55;
  }                                                                                                                                                                                                        
   
  .btn {                                                                                                                                                                                                   
      background: #00d4ff22;
      border: 1px solid #00d4ff55;
      color: #00d4ff;                                                                                                                                                                                      
      padding: 7px 16px;
      border-radius: 6px;                                                                                                                                                                                  
      cursor: pointer;
      font-size: 13px;
      transition: all 0.2s;
  }                                                                                                                                                                                                        
   
  .btn:hover { background: #00d4ff33; }                                                                                                                                                                    
                  
  .btn-danger {
      background: #dc354522;
      border-color: #dc354555;                                                                                                                                                                             
      color: #dc3545;
  }                                                                                                                                                                                                        
                  
  .strategies-grid {                                                                                                                                                                                       
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));                                                                                                                                        
      gap: 16px;  
  }

  .strategy-card {
      background: #0d1117;
      border: 1px solid #1a1a2e;                                                                                                                                                                           
      border-radius: 10px;
      overflow: hidden;                                                                                                                                                                                    
  }               

  .strategy-header {
      padding: 10px 14px;
      background: #16213e;                                                                                                                                                                                 
      display: flex;
      justify-content: space-between;                                                                                                                                                                      
      align-items: center;
  }
                                                                                                                                                                                                           
  .strategy-header h3 { color: #00d4ff; font-size: 13px; }
  .strategy-header .count {                                                                                                                                                                                
      background: #00d4ff22;
      color: #00d4ff;                                                                                                                                                                                      
      padding: 2px 8px;
      border-radius: 10px;                                                                                                                                                                                 
      font-size: 11px;
  }
                                                                                                                                                                                                           
  .alerts-list { max-height: 320px; overflow-y: auto; }
                                                                                                                                                                                                           
  .alert-row {    
      display: flex;
      align-items: center;
      padding: 9px 14px;                                                                                                                                                                                   
      border-bottom: 1px solid #1a1a2e11;
      gap: 10px;                                                                                                                                                                                           
      transition: background 0.15s;                                                                                                                                                                        
      animation: fadeIn 0.3s ease;
  }                                                                                                                                                                                                        
                  
  .alert-row:hover { background: #ffffff05; }                                                                                                                                                              
   
  @keyframes fadeIn {                                                                                                                                                                                      
      from { opacity: 0; transform: translateY(-4px); }
      to { opacity: 1; transform: translateY(0); }
  }                                                                                                                                                                                                        
   
  .ticker {                                                                                                                                                                                                
      font-weight: 700;
      font-size: 14px;
      width: 60px;                                                                                                                                                                                         
      color: #fff;
  }                                                                                                                                                                                                        
                  
  .direction {
      font-size: 11px;
      font-weight: 700;                                                                                                                                                                                    
      padding: 2px 8px;
      border-radius: 4px;                                                                                                                                                                                  
      width: 50px;
      text-align: center;
  }                                                                                                                                                                                                        
   
  .direction.long { background: #28a74522; color: #28a745; }                                                                                                                                               
  .direction.short { background: #dc354522; color: #dc3545; }
                                                                                                                                                                                                           
  .prices { display: flex; gap: 8px; flex: 1; font-size: 12px; }                                                                                                                                           
                                                                                                                                                                                                           
  .price-item { display: flex; flex-direction: column; gap: 1px; }                                                                                                                                         
  .price-label { color: #555; font-size: 10px; }
  .price-value { color: #e0e0e0; font-weight: 600; }
  .price-value.entry { color: #00d4ff; }
  .price-value.target { color: #28a745; }                                                                                                                                                                  
  .price-value.stop { color: #dc3545; }
                                                                                                                                                                                                           
  .timeframe {    
      font-size: 10px;
      color: #555;                                                                                                                                                                                         
      background: #1a1a2e;
      padding: 2px 6px;                                                                                                                                                                                    
      border-radius: 4px;
  }                                                                                                                                                                                                        
   
  .time { font-size: 10px; color: #444; min-width: 45px; text-align: right; }                                                                                                                              
                  
  .empty {                                                                                                                                                                                                 
      padding: 20px;
      text-align: center;
      color: #333;
      font-size: 12px;
  }                                                                                                                                                                                                        
   
  .stats-bar {                                                                                                                                                                                             
      display: flex;
      gap: 16px;
      margin-bottom: 20px;
      flex-wrap: wrap;
  }                                                                                                                                                                                                        
   
  .stat {                                                                                                                                                                                                  
      background: #0d1117;
      border: 1px solid #1a1a2e;
      border-radius: 8px;
      padding: 10px 16px;
      min-width: 120px;                                                                                                                                                                                    
  }
                                                                                                                                                                                                           
  .stat-label { font-size: 11px; color: #555; margin-bottom: 4px; }                                                                                                                                        
  .stat-value { font-size: 22px; font-weight: 700; color: #00d4ff; }
  .stat-value.green { color: #28a745; }                                                                                                                                                                    
  .stat-value.red { color: #dc3545; }                                                                                                                                                                      
   
  ::-webkit-scrollbar { width: 4px; }                                                                                                                                                                      
  ::-webkit-scrollbar-track { background: #0a0a0f; }
  ::-webkit-scrollbar-thumb { background: #1a1a2e; border-radius: 2px; }                
