/* 紧凑型工具卡片样式 */
.tool-list-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 0;
}

.tool-card {
  width: 220px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #f8f9fa;
  transition: all 0.2s ease;
  border: 1px solid #eaeaea;
}

.tool-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.tool-link {
  display: flex;
  text-decoration: none;
  color: inherit;
  height: 100%;
  width: 100%;
}

.tool-logo {
  width: 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 14px;
}

/* 工具类型颜色设置 */
.tool-logo.writing { background-color: #ff7f50; } /* 珊瑚色 */
.tool-logo.image { background-color: #4285f4; } /* 蓝色 */
.tool-logo.midjourney { background-color: #4285f4; }
.tool-logo.dalle { background-color: #873e23; }
.tool-logo.stable { background-color: #6c3483; }
.tool-logo.wombo { background-color: #e74c3c; }
.tool-logo.leonardo { background-color: #e67e22; }
.tool-logo.runway { background-color: #8e44ad; }
.tool-logo.craiyon { background-color: #27ae60; }
.tool-logo.nightcafe { background-color: #2c3e50; }
.tool-logo.fotor { background-color: #16a085; }
.tool-logo.getimg { background-color: #7d3c98; }
.tool-logo.audio { background-color: #2980b9; }
.tool-logo.video { background-color: #c0392b; }
.tool-logo.office { background-color: #d35400; }
.tool-logo.design { background-color: #8e44ad; }
.tool-logo.chat { background-color: #2c3e50; }
.tool-logo.code { background-color: #16a085; }
.tool-logo.search { background-color: #3498db; }
.tool-logo.platform { background-color: #1abc9c; } /* 绿松石色 */
.tool-logo.model { background-color: #9b59b6; } /* 紫水晶色 */
.tool-logo.detection { background-color: #f39c12; } /* 琥珀色 */
.tool-logo.translate { background-color: #3498db; } /* 彼得河蓝 */
.tool-logo.legal { background-color: #34495e; } /* 湿沥青色 */
.tool-logo.prompt { background-color: #2ecc71; } /* 翠绿色 */
.tool-logo.evaluate { background-color: #e67e22; } /* 胡萝卜色 */
.tool-logo.learn { background-color: #1abc9c; } /* 绿松石色 */
/* AI学习网站卡片颜色 */
.tool-logo.learning {
    background-color: #26a69a;
    color: white;
}

.tool-content {
  padding: 8px 10px;
  flex: 1;
}

.tool-content h3 {
  font-size: 14px;
  margin: 0 0 4px 0;
  color: #333;
  font-weight: 500;
}

.tool-content p {
  font-size: 12px;
  color: #666;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  visibility: visible;
  height: auto;
  max-height: none;
  opacity: 1;
} 