/* ---------------- steam-widget.css ---------------- */

/* 基础卡片样式 */
.steam-widget {
  background: #1b2838;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 20px;
  color: #c7d5e0;
  font-family: 'Segoe UI', 'HarmonyOS Sans', 'Noto Sans SC', sans-serif;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.steam-widget:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.5);
  cursor: pointer;
}

/* 头像 + 名字 + 等级 + 状态 */
.steam-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.steam-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

.steam-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.steam-name a {
  font-weight: 700;
  font-size: 16px;
  color: #c7d5e0;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.steam-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.steam-level {
  background: #171a21;
  color: #66c0f4;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
}

.steam-status {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 正在游玩 */
.steam-now-playing {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.steam-now-playing-label {
  font-weight: 600;
  color: #66c0f4;
}

/* 游戏链接 */
.steam-game-link {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #c7d5e0;
  transition: transform 0.2s;
}

.steam-game-link:hover {
  transform: translateY(-2px);
}

.steam-game-icon {
  width: 48px;
  height: 24px;
  object-fit: cover;
  border-radius: 4px;
}

/* 最近 / 最爱游戏 */
.steam-games {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.steam-game-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.steam-label {
  font-weight: 600;
  color: #66c0f4;
}

/* 响应式 */
@media (max-width: 600px) {
  .steam-widget {
    padding: 12px;
    border-radius: 10px;
  }
  .steam-avatar {
    width: 48px;
    height: 48px;
  }
  .steam-game-icon {
    width: 36px;
    height: 18px;
  }
}


