/* ===== 基础全局样式 ===== */
body {
    background: #f6f7fb;
    padding: 20px;
    font-family: 'Segoe UI', Arial, sans-serif;
  }
  
  /* 图标样式 */
  .logo {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
  }
  
  /* 涨跌颜色 */
  .up { color: #2ecc71; font-weight: 600; }
  .down { color: #e74c3c; font-weight: 600; }
  
  /* 文本省略 */
  .ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 240px;
  }
  
  /* 行 hover 效果 */
  .el-table__row:hover {
    background: #eef6ff !important;
    transition: background 0.3s ease;
  }
  
  /* 颜色等级警告 */
  .warn-row > td {
    background-color: rgba(255, 215, 0, 0.1) !important;
  }
  .danger-row > td {
    background-color: rgba(255, 0, 0, 0.1) !important;
  }
  .el-table__row.warn-row:hover,
  .el-table__row.danger-row:hover {
    opacity: 0.9;
  }
  
  /* 统一滚动条美化 */
  ::-webkit-scrollbar { width: 6px; }
  ::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 6px;
  }
  ::-webkit-scrollbar-thumb:hover { background-color: #999; }
  
  /* 统一卡片风格 */
  .card-container {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  }
  