page {
        font-family: "Microsoft YaHei";
        font-size: 28rpx;
        color: #333;
        background-color: #f7f7f7;
    }
	.ml-5{
		margin-left: 5px !important;
	}
	.mr-5{
		margin-right: 5px !important;
	}
	.mt-5 {
	    margin-top: 5px !important;
	}
	
	.mt-10 {
	    margin-top: 20rpx !important;
	}
	
	.mt-15 {
	    margin-top: 30rpx !important;
	}
	
	.mt-20 {
	    margin-top: 40rpx !important;
	}
	.size12{
		font-size: 26rpx !important;
	}
	.size14{
		font-size: 28rpx !important;
	}
	.size22{
		font-size: 36rpx !important;
		font-weight: bold !important;
	}
	.c999{
		color: #999 !important;
	}
	.red{
		color: red !important;
	}
	.bold {
		font-weight: bold;
	}
	.overflow {
	    overflow: hidden;
	    text-overflow: ellipsis;
	    white-space: nowrap;
	}
	.btn{
	     width: auto;
	     border-radius: 20rpx;
	     background-color: #45C570;
	     text-align: center;
	     height: 80rpx;
	     line-height: 80rpx;
	     margin: 30rpx;
	}
	.endtext{
		color: #999;
		margin-top: 40rpx;
		text-align: center;
		width: 100%;
		margin-bottom: 30rpx;
	}
	
	.quan {
		width: 60rpx;
		height: 40rpx;
		position: relative;
	}
	
	.quan::before {
		content: "";
		position: absolute;
		width: 35rpx;
		height: 35rpx;
		left: 0px;
		z-index: 22;
		background: #3CB383;
		border-radius: 50%;
	}
	
	.quan::after {
		content: "";
		position: absolute;
		width: 35rpx;
		height: 35rpx;
		left: 17rpx;
		z-index: 11;
		background: #9CDCBF;
		border-radius: 50%;
	}
// .列表样式
.footlist {
		margin: 30rpx 0;
		width: 100%;
		height: auto;
		overflow: hidden;
		column-gap: 20rpx;
		column-count:2;
		    // display: flex;
		    // flex-wrap: wrap;
		    // justify-content: space-between;

		.list {
			margin-bottom: 20rpx;
			// height: auto;
			overflow: auto;
			break-inside: avoid;
			border-radius: 15rpx;
			overflow: hidden;
			-webkit-column-break-inside: avoid;

			.item {
				color: #666;
				width: calc(100% - 20rpx);
				position: initial;
				background: #fff;
				border-radius: 0 0 5px 5px;
				font-size: 14px;
				height: auto;
				overflow: hidden;

			}
			
			.topimg{
				   height:320rpx;
				    overflow: hidden;
				    position: relative;
			}

			.img {
				width: 100%;
				height: 100%;
				display: block;
				border-radius: 5px 5px 0 0;
			}
			
			

			.zan {
				.iconfont {
					font-size: 32rpx;
					position: inherit !important;
				}

			}
		}
	}
	.footbox {
		// width: calc(100% - 60rpx);
		// margin-top: 80rpx;
		position: relative;
	
		.item {
			position: absolute;
			bottom: 0px;
			color: #fff;
			left: 5px;
			right: 5px;
			background: #403f3f5c;
			padding: 5px;
			font-size: 30rpx;
			z-index: 999999;
			border-radius:0 0 20rpx 20rpx;
	
			.title {
				width: 100%;
				overflow: hidden;
				text-overflow: ellipsis;
				white-space: nowrap;
			}
	
			.name {
				display: flex;
				align-items: center;
				font-size: 26rpx;
				float: left;
				width: 70%;
				overflow: hidden;
				text-overflow: ellipsis;
				white-space: nowrap;
				height: 60rpx;
				line-height: 60rpx;
	
				image {
					width: 50rpx;
					height: 50rpx;
					border-radius: 50%;
					margin-right: 5px;
				}
				text{
					width: calc(100% - 60rpx);
					display: inline-block;
				}
			}
	
			.zan {
				width: 30%;
				float: left;
				font-size: 26rpx;
				display: flex;
				align-items: center;
				height: auto;
				overflow: auto;
				height: 60rpx;
				line-height: 60rpx;
				justify-content: flex-end;
	
				.iconfont {
					display: flex;
					align-items: center;
					position: absolute;
					right: 30rpx;
					bottom: 20rpx;
					text-align: right;
					z-index: 99;
					margin-right: 5px;
				}
			}
	
			.icon-icon3 {
				color: $maincolor;
			}
	
		}
	}
	// 菜谱左侧导航
	.menu {
		width: calc(100% - 60rpx);
		height: auto;
		overflow: hidden;
	
		.left {
			position: absolute;
			left: 0;
			width: 100px;
			bottom: 0;
			top: 55px;
			line-height: 100rpx;
			font-size: 14px;
			font-weight: bold;
			overflow-y: scroll;
      overflow-x: hidden;
			height: calc(100vh - 70px);
	
			.name {
				padding-left: 30rpx;
        white-space: nowrap;
        overflow-x: auto;
        width: 160rpx;
        font-size: 26rpx;
			}
      .name::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
        color: transparent;
      }
	
			.active {
				color: $maincolor;
				background-color: #FFF;
				border-left: 5px solid $maincolor;
			}
		}
	
		.right {
			position: absolute;
			left: 100px;
			right: 0;
			top: 55px;
			bottom: 0;
			padding-bottom: 30rpx;
			height: calc(100vh - 70px);
			overflow-y: scroll;
			background: #fff;
			
			icon {
				font-size: 14px;
			}
	
			.right_list {
				padding: 0 20rpx;
	
				.title {
					width: 100%;
					display: flex;
					justify-content: space-between;
					align-items: center;
					line-height: 100rpx;
					font-weight: bold;
				}
	
				.list {
          display: flex;
          flex-wrap: wrap;
          align-items: center;
          justify-content: space-between;
					image {
						width: 140rpx;
						height: 140rpx;
						border-radius: 20rpx;
					}
	
					text {
						display: block;
						text-align: center;
            margin-bottom: 20rpx;
					}
				}
			}
		}
	}
// 添加食谱
.addFood {


		.title,
		.textarea {
			width: calc(100% - 40rpx);
			margin-bottom: 20rpx;
			background: #fff;
			padding: 0 20rpx;
			border-radius: 20rpx;
			
		}

		.food,
		.step {
			width: calc(100% - 40rpx);
			margin-bottom: 20rpx;
			background: #fff;
			padding: 20rpx;
			border-radius: 20rpx;

			.h4 {
				height: 60rpx;
				line-height: 60rpx;
				font-size: 14px;
				display: flex;
				font-weight: bold;
				justify-content: space-between;

				text {
					font-size: 14px;
					border: 1px solid #dfdfdf;
					border-radius: 30rpx;
					padding: 0 40rpx;
				}
			}

			.foodlist {
				column-count: 1;

				.item {
					display: flex;
					justify-content: space-between;
					width: calc(100% - 40rpx);
					background: #f7f7f7;
					border-radius: 20rpx;
					padding: 8px 20rpx;
					margin-top: 20rpx;
				}

				.name {
					width: 30%;
					border-right: 1px solid #999;
					margin-right: 30rpx;
				}

				.input {
					width: 30%;
					display: flex;
					align-items: center;
				}

			}

			.edit {
				width: 30%;
				display: flex;
				align-items: center;
				justify-content: center;

				icon {
					display: flex;
					margin-right: 5px;
					color: $uni-color-warning;
				}

				image {
					width: 18px;
					height: 18px;
					margin: 0 5px;
				}

				.shang {
					transform: rotate(180deg);
				}

			}

			.add {
				width: 100%;
				text-align: center;
				height: 35px;
				line-height: 35px;
				background: $maincolor;
				margin-top: 30rpx;
				border-radius: 20rpx;
				color: #fff;
			}
		}

		.step {
			.top {
				display: flex;
				justify-content: space-between;
				margin: 20rpx 0;
				font-size: 14px;
				font-weight: bold;
			}

			.textarea {
				margin-top: 20rpx;
				background-color: #f7f7f7;
			}

			.add {
				color: #000;
				background-color: #fff;
				border: 1px solid #f0ad4e;
			}
		}

		.groupbtn {
			width: 100%;
			margin-top: 5px;
			display: flex;
			justify-content: space-between;
			align-items: center;

			view {
				width: 45%;
				background-color: #fff;
				border: 1px solid #f0ad4e;
				text-align: center;
				height: 35px;
				line-height: 35px;
				border-radius: 20rpx;
				margin-bottom: 30rpx;
			}

			.subbtn {
				color: #fff;
				border-color: $maincolor;
				background-color: $maincolor;
			}
		}
	}
	// 弹框
	.wrapper {
		position: fixed;
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
		z-index: 9990;
	
		.bg {
			position: fixed;
			left: 0;
			right: 0;
			top: 0;
			bottom: 0;
			background-color: rgba(0, 0, 0, 0.4);
			z-index: 99;
		}
	
		.list {
			width: 100%;
			max-height: 300px;
			display: flex;
			flex-wrap: wrap;
			overflow: scroll;
			padding-bottom: 100rpx;
	
			.item {
				width: calc(100% - 40rpx);
				display: flex;
				justify-content: space-between;
				height: 66rpx;
				align-items: center;
				padding-bottom: 5px;
				padding: 5px 20rpx;
				border-bottom: 1px solid #dfdfdf;
	
				text {
					width: 40%;
				}
	
				icon {
					color: $maincolor;
					font-size: 32rpx;
				}
			}
		}
	
		.box {
			background-color: #fff;
			position: absolute;
			top:15%;
			left: 0;
			right: 0;
			bottom: 0;
			padding: 20rpx;
			border-radius: 20rpx 20rpx 0 0;
	
			.title {
				display: flex;
				justify-content: space-between;
	
				.cancel {
					width: 160rpx;
					display: flex;
					justify-content: flex-end;
				}
	
			}
	
	
			.weight {
				width: auto;
				display: flex;
				font-size: 26rpx;
				background: $uni-color-warning;
				border-radius: 20rpx;
				color: #fff;
				padding: 3px 8px;
				align-items: center;
	
				icon {
					margin-right: 5px;
				}
			}
	
			.name {
				width: 100%;
				text-align: center;
				font-size: 32rpx;
				font-weight: bold;
				// margin-top:-30rpx
			}
	
			.val {
				text-align: center;
				margin: 30rpx 0;
	
				text {
					display: inline-block;
					width:160rpx;
					border-bottom: 1px solid #dfdfdf;
					font-size: 44rpx;
					font-weight: bold;
					text-align: center;
				}
			}
		}
	
		.mybrankmask {
			width: 100%;
			height: 390rpx;
			background-color: #EBEEF5;
			position: fixed;
			z-index: 999;
			left: 0;
			bottom: 0;
	
			.MymaskAll {
				width: 74%;
	
				.MymaskList {
					display: flex;
					width: 100%;
					justify-content: space-around;
					margin-top: 20rpx;
	
					.maskListItem {
						width: 29%;
						height: 70rpx;
						background-color: #fff;
						border-radius: 10rpx;
						font-size: 36rpx;
						display: flex;
						justify-content: center;
						align-items: center;
					}
				}
	
				.text {
					font-size: 14px !important;
				}
			}
	
			image {
				width: 50rpx;
				height: 50rpx;
			}
	
			.MymaskList2 {
				width: 22%;
				display: flex;
				flex-direction: column;
				justify-content: space-between;
				position: absolute;
				right: 20rpx;
				top: 20rpx;
				bottom: 30rpx;
	
				.maskListItem {
					width: 100%;
					background: #fff;
					height: 70rpx;
					border-radius: 5px;
					display: flex;
					justify-content: center;
					align-items: center;
				}
	
				.width48 {
					color: #fff;
					height: 152rpx;
					line-height: 152rpx;
					background-color: $maincolor;
				}
	
				.close {
					width: 64rpx;
					height: 40rpx;
				}
			}
		}
	
		@keyframes mytreat {
	
			/*开始画面*/
			0% {
				background-color: #000;
			}
	
			50% {
				background: none;
			}
	
			100% {
				background-color: #000;
			}
		}
	}
	.nolist {
		width: 100%;
		padding-top: 100rpx;
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		justify-content: center;
		
		icon {
			font-size: 140rpx !important;
			color: #ccc;
		}
		
		text {
			display: inline-block;
			width: 100%;
			text-align: center;
		}
	}
	.foodDetail {
		background-color: #F7F7F7;
		padding: 20rpx;
		box-sizing: border-box;
	
		.foodInfo {
			display: flex;
			width: 100%;
			padding: 30rpx;
			border-radius: 20rpx;
			box-sizing: border-box;
			background-color: #fff;
			box-sizing: 0 0 20rpx #f1f1f1;
	
			image {
				width: 90rpx;
				height: 90rpx;
				border-radius: 15rpx;
			}
	
			.info {
				display: flex;
				flex-direction: column;
				justify-content: center;
				margin-left: 30rpx;
	
				.name {
					font-size: 28rpx;
					font-weight: 700;
					margin-bottom: 10rpx;
				}
	
				.kcal {
					width: 100% !important;
					font-size: 26rpx;
					color: #666;
					padding: 0 !important;
					margin: 0 !important;
				}
			}
		}
	
		.foodContent {
			width: 100%;
			padding: 30rpx;
			margin-top: 16rpx;
			box-sizing: border-box;
			border-radius: 20rpx;
			box-sizing: border-box;
			background-color: #fff;
			box-sizing: 0 0 20rpx #f1f1f1;
	
			.title {
				font-size: 28rpx;
				font-weight: 600;
			}
	
			.progress {
				display: flex;
				align-items: center;
	
				.chart-wrap {
					position: relative;
					width: 280rpx;
					height: 280rpx;
					margin-top: -30rpx;
					    margin-left: -20px;
	
					// .uchart-kcal {
					// 	position: absolute;
					// 	left: 60rpx;
					// 	top: 120rpx;
					// 	width: 130rpx;
					// 	font-size: 40rpx;
					// 	text-align: center;
					// 	z-index: 9;
					// }
				}
	
				.info {
					display: flex;
					flex-direction: column;
					justify-content: space-between;
					font-size: 26rpx;
					height: 200rpx;
	
					.info-item {
						display: flex;
						align-items: center;
						margin-top: 20rpx;
	
						.color {
							width: 6rpx;
							height: 20rpx;
							margin-right: 10rpx;
							border-radius: 3rpx;
						}
					}
				}
			}
	
			.tips {
				display: flex;
				justify-content: space-between;
				border-bottom: 1px solid #f1f1f1;
				padding: 16rpx 0;
				font-size: 26rpx;
				margin-top: 10rpx;
			}
	
			.foodDetailList {
				margin-top: 10rpx;
	
				.foodDetailItem {
					display: flex;
					justify-content: space-between;
					padding: 20rpx 0;
					box-sizing: border-box;
	
					.name {
						font-size: 26rpx;
						color: #777;
					}
	
					.val {
						font-size: 26rpx;
						font-weight: 700;
						color: #333;
					}
				}
			}
		}
	}
	.jishiqi {
		margin-top: 30rpx;
	
		.left {
			float: left;
			width: 270rpx;
			height: 320rpx;
			display: flex;
			flex-direction: column;
			justify-content: space-between;
	
			.center {
				border: none;
				    width: 280rpx;
				    height: 210rpx;
				    position: absolute;
				    top: 64rpx;
				display: flex;
				flex-direction: column;
				justify-content: center;
				align-items: center;
	
				text {
					font-size: 40rpx;
					font-weight: bold;
					margin: 20rpx 0;
				}
			}
	
			.mubiao {
				width: 100%;
				// margin-top: 32rpx;
				text-align: center;
				font-size: 26rpx;
	
				text {
					font-weight: bold;
					color: $maincolor;
				}
			}
	
		}
	
		.right {
			width: calc(100% - 290rpx);
			display: flex;
			flex-direction: column;
			float: left;
			height: 300rpx;
			margin-left: 20rpx;
			margin-top: 10px;
			justify-content: space-between;
	
			.item {
				width: 100%;
				font-size: 26rpx;
				
				image{
					width: 40rpx;
					height: 40rpx;
				}
	
				.left-icon {
					width: 90rpx;
					float: left;
					height: 80rpx;
					display: flex;
					align-items: center;
					flex-direction: column;
					justify-content: space-between;
				}
	
				.right-info {
					width: calc(100% - 100rpx);
					float: left;
					height: 74rpx;
					margin-left: 5px;
					    display: flex;
					    flex-direction: column;
					    justify-content: space-between;
	
					.right-info-top {
						width: 100%;
						display: flex;
						justify-content: space-between;
					}
	
					.right-info-bottom {
						width: 100%;
						height: 8px;
						background-color: #f3f7f5;
						border-radius: 5px;
						position: relative;
	
						.val {
							width: 45%;
							position: absolute;
							left: 0;
							top: 0;
							z-index: 9;
							height: 16rpx;
							border-radius: 5px;
						}
	
					}
				}
			}
		}
	}
	
	.voice-wave {
		display: flex;
		align-items: center;
		gap: 4px;
		height: 40px;
	}
	
	.wave-bar {
		width: 6px;
		background: #3498db;
		border-radius: 3px;
		animation: wave 1.2s ease-in-out infinite;
	}
	
	.wave-bar:nth-child(2) {
		animation-delay: -1.1s;
	}
	
	.wave-bar:nth-child(3) {
		animation-delay: -1.0s;
	}
	
	.wave-bar:nth-child(4) {
		animation-delay: -0.9s;
	}
	
	.wave-bar:nth-child(5) {
		animation-delay: -0.8s;
	}
	
	@keyframes wave {
	
		0%,
		100% {
			height: 8px;
		}
	
		50% {
			height: 30px;
		}
	}
	