.container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  box-sizing: border-box;
  align-items: stretch !important;
  justify-content: flex-start !important;
}

.map {
  flex: 1;
  width: 100%;
}

.rec-list {
  background-color: #fff;
  padding: 20rpx;
  height: 60vh;
  box-shadow: 0 -2rpx 10rpx rgba(0,0,0,0.1);
  box-sizing: border-box;
}

.rec-card {
  display: flex;
  flex-direction: column;
  background-color: #f9f9f9;
  margin-bottom: 16rpx;
  padding: 20rpx;
  border-radius: 12rpx;
  box-sizing: border-box;
  transition: all 0.3s;
  border: 2rpx solid transparent;
}

.rec-card.selected {
  background-color: #fff5f5;
  border-color: #FF6B6B;
  box-shadow: 0 4rpx 12rpx rgba(255, 107, 107, 0.15);
}

.rec-card:active {
  background-color: #f0f0f0;
}

.rec-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12rpx;
}

.rec-rank {
  width: 44rpx;
  height: 44rpx;
  background-color: #667eea;
  color: white;
  font-size: 24rpx;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16rpx;
  flex-shrink: 0;
}

.rec-rank.selected {
  background-color: #FF6B6B;
  transform: scale(1.1);
}

.rec-info-right {
  flex: 1;
  min-width: 0;
}

.rec-name {
  font-size: 30rpx;
  font-weight: bold;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 8rpx;
}

.rec-info {
  display: flex;
  align-items: center;
  font-size: 24rpx;
}

.rec-info .rating {
  color: #ff9800;
  font-weight: 500;
}

.rec-info .divider {
  color: #ddd;
  margin: 0 8rpx;
}

.rec-info .distance {
  color: #666;
}

.rec-address {
  font-size: 24rpx;
  color: #666;
  margin-bottom: 10rpx;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.rec-tags {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10rpx;
}

.tag {
  font-size: 22rpx;
  background-color: #e8f7f0;
  color: #07c160;
  padding: 4rpx 10rpx;
  border-radius: 8rpx;
  margin-right: 8rpx;
  margin-bottom: 6rpx;
}

.rec-reason {
  background-color: #fffbf0;
  color: #d97a00;
  padding: 12rpx;
  border-radius: 8rpx;
  font-size: 24rpx;
  line-height: 1.5;
}
