.ai-container {
	// padding-top: 120rpx;
	// .bg {
	// 	position: absolute;
	// 	top: 0;
	// 	width: 100%;
	// 	height: 500rpx;
	// 	background: white;
	// }
	.bg{
		position: absolute;
		top: 0;
		left: 0;
		height: 426rpx;
		width: 100%;
		object-fit: cover;
		image{
			width: 100%;
			height: 100%;
		}

	}
	.ai-content-container{
		position: absolute;
		top: 170rpx;
		width: 100%;

	}
	.hearder {
		padding: 40rpx 24rpx;
		// padding-top: 50rpx;
		// background-color: #9af1f2;
		.search {
			padding-left: 20rpx;
			border-left: 1px solid #eeeff1;
			font-weight: 400;
			font-size: 32rpx;
			color: #11c3ae;
			margin-right: 10rpx;
		}
		.time-box {
			height: 88rpx;
			display: flex;
			align-items: center;
			justify-content: space-around;
			font-weight: 400;
			font-size: 28rpx;
			color: #16181a;
			background: #ffffff;
			border-radius: 10rpx 10rpx 10rpx 10rpx;
			border: 2rpx solid #11c3ae;
			.text-time {
				font-weight: 400;
				font-size: 28rpx;
				color: rgba(106, 108, 113, 0.48);
			}
			text {
				margin-left: 10rpx;
			}
		}
		.down-picker {
			position: relative;
			// padding: 10px;
			margin-left: 10rpx;
			// background-color: #f5f6f9;
			border-radius: 5px;
			text-align: center;
			cursor: pointer;
		}

		.down-picker::after {
			content: "";
			position: absolute;
			top: 50%; /* 将三角形放在选择器下方 */
			left: 50%;
			transform: translateX(-50%, -50%);
			border-width: 10rpx 10rpx 0 10rpx;
			border-style: solid;
			// border-radius: 10rpx;
			border-color: #b4b9bf white white white;
		}
		.up-picker {
			position: relative;
			margin-left: 10rpx;
			// padding: 10px;
			// background-color: #f5f6f9;
			border-radius: 5px;
			text-align: center;
			cursor: pointer;
		}

		.up-picker::after {
			content: "";
			position: absolute;
			top: 45%; /* 将三角形放在选择器下方 */
			left: 50%;
			transform: translateX(-50%, -50%);
			border-width: 0 10rpx 10rpx 10rpx;
			border-style: solid;
			// border-radius: 10rpx;
			border-color: white white #11c3ae white;
		}
	}
	.challenge-top {
		position: relative;
		// margin-top: 40rpx;
		height: 96rpx;
		padding: 10rpx;
		padding-top: 0;
		font-weight: 500;
		font-size: 32rpx;

		color: #1d2129;
		box-sizing: border-box;
		transition: 0.3s all;
		background-color: white;
		display: flex;
		justify-content: flex-start;
		align-items: center;
		padding: 38rpx;
		gap: 75rpx;
		view {
			// flex: 0.3;
			height: 100%;
		}
		view:nth-child(1) {
			z-index: 2;
		}
		view:nth-child(2) {
			z-index: 2;
		}
	}
	.challenge-top-bg {
		position: absolute;
		width: 50%;
		// z-index: 1;
		display: flex;
		margin: 10rpx;
		// height: calc(100% - 20rpx) !important;
		box-sizing: border-box;
		width: 10%;
		// background-color: #9087e5;
		border-bottom: 5rpx solid #11c3ae;
		transition: 0.3s all;
		border-radius: 4rpx 4rpx 0rpx 0rpx;
	}
	.challenge-active {
		// border-radius: var(--box-ra-20px);
		// background-color: #9087e5;
		// font-size: 32rpx;
		font-weight: 500;
		color: #11c3ae !important;
	}
	.all-number {
		font-weight: 400;
		font-size: 26rpx;
		color: #86909c;
		height: 108rpx;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.content {
		margin-top: 32rpx;
		// position: absolute;
		// top: 120rpx;
		width: 100%;
		box-sizing: border-box;
		padding-top: 0;
		.list {
			display: flex;
			flex-direction: column;
			gap: 19rpx;
			.item {
				padding: 30rpx;
				box-sizing: border-box;
				// height: 267rpx;
				border-radius: 10rpx;
				background-color: white;
				display: flex;
				gap: 22rpx;
				flex-direction: column;
				> view {
					display: flex;
					justify-content: space-between;
					// align-items: center;
					image {
						height: 64rpx;
						width: 64rpx;
						object-fit: cover;
					}
				}
			}
			.left {
				flex: 0 0 48rpx;
			}
			.right {
				display: flex;
				margin-left: 10rpx;
				flex: 1;
				flex-direction: column;
				gap: 26rpx;
				.top {
					display: flex;
					padding-top: 10rpx;
					justify-content: space-between;
					align-items: center;
					view {
						font-weight: 400;
						font-size: 28rpx;
						color: #00bca6;
						display: flex;
						align-items: center;
					}
					text:nth-child(1) {
						font-weight: 500;
						font-size: 32rpx;
						color: #16181a;
					}
				}
				.center {
					padding: 25rpx 20rpx;
					box-sizing: border-box;
					background-color: #f5f7fa;
					width: 100%;
					justify-content: space-between;
					display: flex;
					font-weight: 400;
					font-size: 28rpx;
					color: #848d99;

					flex-direction: column;
					> view {
						display: flex;
						// align-items: flex-start;
						align-items: center;
						justify-content: flex-start;
					}
					.title {
						margin-right: 32rpx;
						font-weight: 400;
						font-size: 28rpx;
						color: #4e5969;
					}
				}
			}
			.ai-top {
				display: flex;
				align-items: center;
				border-bottom: 1rpx solid #eeeff1;
				padding-bottom: 29rpx;
				font-weight: 400;
				font-size: 30rpx;
				color: rgba(22, 24, 26, 0.8);
				image {
					margin-right: 10rpx;
				}
			}
			.ai-center {
				display: flex;
				flex-direction: column;
				gap: 24rpx;
				font-weight: 400;
				font-size: 32rpx;
				color: #4e5969;
				.context-text{
					display: -webkit-box; /* 设置为WebKit内核的弹性盒子模型 */
					-webkit-box-orient: vertical; /* 垂直排列 */
					-webkit-line-clamp: 2; /* 限制显示两行 */
					overflow: hidden; /* 隐藏超出范围的内容 */
					text-overflow: ellipsis; /* 使用省略号 */
				}
				.image{
					width: 32rpx;
					height: 30rpx;
					margin-right: 10rpx;
					// object-fit: ;
					// margin-right: 300rpx;
					image{
						width: 100%;
						height: 100%;
						object-fit: cover;
					}
					
				}
				.before{
					position: relative;
					// z-index: 10;
					z-index: 10;
				

				}
				.before::before{
					position: absolute;
					content: "";
					height: 10rpx;
					bottom: 5rpx;
					width: 10%;
					z-index: 1;
					// background-color: #00bca6;
					background: linear-gradient( 90deg, #00D9A1 0%, rgba(0,217,161,0.05) 100%);
				}
				.title {
					font-weight: 500;
					font-size: 30rpx;
					color: #16181a;
					display: flex;
					align-items: center;
					margin-bottom: 20rpx;
				}
				.after {
					padding: 28rpx 24rpx;
					background: linear-gradient(180deg, #e5fff8 0%, #ffffff 100%);
					border-radius: 10rpx;
					border: 2rpx solid;
					border-image: linear-gradient(
							180deg,
							rgba(0, 217, 161, 0.69),
							rgba(1, 171, 127, 0.25)
						)
						2 2;
				}
				.after-con {
					padding-bottom: 35rpx;
				}
				.bottom {
					padding-top: 18rpx;
					border-top: 1px solid #eeeff1;
					display: flex;
					align-items: center;
					font-weight: 500;
					font-size: 26rpx;
					color: #848d99;
					gap: 42rpx;
					.edit {
						display: flex;
						align-items: center;
					}
				}
			}
		}
	}
}

.popup-content{
	padding: 32rpx;
	box-sizing: border-box;
	padding-bottom: calc(env(safe-area-inset-bottom) + 40rpx);
	width: 100%;
	.header{
		width: 100%;
		display: flex;
		justify-content: space-between;
		font-weight: 400;
		font-size: 30rpx;
		color: #11C3AE;
		margin-bottom: 29rpx;
	}
}