/* 重置全局样式 */
body {
  display: block;
  overflow-x: hidden;
  margin: 0 auto;
  padding: 0;
  max-width: 1200px;
}

/* 卡片容器 */
.app-card {
  display: inline-flex;
  align-items: center;
  padding: 15px;
  margin: 1px;
  border-radius: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  background-color: #fff;
  width: 280px;
  box-sizing: border-box;
  gap: 12px;
  transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s;
  transform: scale(0.95);
  transform-origin: center;
  vertical-align: top;
}

.app-card:hover {
  background-color: #f9f9f9;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

/* 左侧图标悬停放大 */
.app-icon img {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.2s ease;
  display: block;
  margin: auto 3px auto auto;
}

.app-icon img:hover {
  transform: scale(1.05);
}

/* 确保卡片信息容器能正确约束标题 */
.app-info {
  overflow: hidden;
  flex: 1;
}

/* 标题 */
.app-title {
  margin: -5px 0 0 0;
  font-size: 30px;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100%;
  background: linear-gradient(to right, black 80%, transparent);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: black;
}

/* 修正标题 a 样式，覆盖浏览器默认 */
a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-decoration-color: black;
}

/* 徽章/标签 */
.tags {
  display: flex;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100%;
  -webkit-mask-image: linear-gradient(to right, black 70%, transparent 100%);
  mask-image: linear-gradient(to right, black 70%, transparent 100%);
}

.tags object {
  height: auto;
  max-height: 20px;
  margin: 0 1px;
}

.tags img {
  width: 14px;
  height: 14px;
  display: inline-block;
  object-fit: contain;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 2px;
  margin: 0 1px;
  vertical-align: middle;
  background: transparent;
}

.tags span {
  display: inline-block;
  height: 20px;
  padding: 3px 4px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin: 0 1px;
  vertical-align: middle;
  font-size: 12px;
  line-height: 14px;
  color: #333;
  box-sizing: border-box;
}