.libation-pop {
	position: fixed;
	z-index: 888;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
}

.libation-pop .libation-content {
	width: 100%;
	position: fixed;
	z-index: 889;
	bottom: 0;
	max-height: 85vh;
	overflow-y: auto;
	overflow-x: hidden;
}

.libation-content .select-container {
	margin: 0 10px 20px 10px;
	width: calc(100% - 20px);
	min-height: 80px;
	background-color: white;
	padding: 15px 20px;
	box-sizing: border-box;
	border-radius: 10px;
	display: flex;
	align-items: center;
}

.libation-content .select-container img{
	width: 65px;
	height: 65px;
	margin-right: 15px;
	flex-shrink: 0;
}
.libation-content .select-container .name {
	font-weight: 700;
	margin-bottom: 5px;
	font-size: 19px;
	color: #2fa982;
}

.libation-content .select-container .desc {
	font-size: 16px;
	color: #333;
	min-height: 30px;
}

.libation-content .close {
	width: 40px;
	height: 40px;
	float: right;
	margin: 0 10px 10px 0;
	cursor: pointer;
}

.libation-pop  .title-container {
	margin-top: 15px;
	width: 100%;
	height: 50px;
	background-color: #41b96f;
	color: white;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 10px;
	box-sizing: border-box;
}


.libation-pop  .title-container div {
	background-color: rgba(0, 0, 0, .2);
	border-radius: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 5px 10px;
}


.swiper-container {
	width: 100%;
	height: 300px;
	z-index: 1000;
	background-color: white;
}

.swiper-slide {
	width: 100%;
	height: 100%;
	text-align: center;
	font-size: 18px;
	background: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
}

.libation-title-container {
	width: 100%;
	display: flex;
	align-items: center;
	box-sizing: border-box;
	overflow-x: auto;
	background-color: white;
	-webkit-overflow-scrolling: touch;
}

.libation-title-container div {
	white-space: nowrap;
	line-height: 40px;
	padding: 0 20px;
	font-weight: 700;
	display: inline-block;
	border-bottom: 2px solid transparent;
	cursor: pointer;
	flex-shrink: 0;
}

.libation-title-container .title-active {
	background-color: #fec107;
	border-bottom: 2px solid #f15e36;
}

.libation-content-container {
	font-size: 15px;
	width: 100%;
	min-height: 200px;
	max-height: 350px;
	overflow-y: auto;
	display: flex;
	flex-wrap: wrap;
	background-color: white;
	box-sizing: border-box;
	padding: 10px;
	-webkit-overflow-scrolling: touch;
}

/* 修复：确保祭品项正确显示 */
.libation-content-container div {
	padding: 8px 5px;
	width: 25%;
	box-sizing: border-box;
	min-height: 120px;
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	cursor: pointer;
	visibility: visible !important;
	opacity: 1 !important;
}

.libation-content-container img {
	width: 55px;
	height: 55px;
	object-fit: contain;
	flex-shrink: 0;
}

.libation-content-container .name {
	color: #000;
	font-size: 13px;
	text-align: center;
	margin-top: 5px;
	word-break: break-word;
}

.libation-content-container .money {
	color: #f15e36;
	font-size: 12px;
	font-weight: bold;
}

.libation-content-container .time {
	color: #888;
	font-size: 11px;
}

.libation-active {
	background-color: #e1eee1 !important;
	border-radius: 8px;
}

/* 添加：无数据时显示提示 */
.libation-content-container:empty::after {
	content: "暂无祭品";
	display: block;
	width: 100%;
	text-align: center;
	padding: 50px 0;
	color: #999;
	font-size: 14px;
}

.user-info {
	padding: 10px 5px;
	box-sizing: border-box;
	background-color: white;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-shadow: 0 -3px 2px #f1f1f1;
	min-height: 50px;
}

.user-info .item {
	display: flex;
	align-items: center;
}

.user-info .dear-photo {
	width: 30px;
	height: 30px;
	border-radius: 50%;
}

.user-info .center {
	cursor: pointer;
	width: 25%;
	height: 38px;
	color: #fff;
	font-size: 17px;
	border-radius: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #de2902;
}

.user-info .right {
	font-size: 13px;
}

.user-info span {
	color: #fb5b49;
	font-weight: 700;
}

.user-info .coin {
	width: 25px;
	height: 25px;
}

.user-info .recharge {
	cursor: pointer;
	font-size: 16px;
	font-weight: 700;
	width: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #7499c5;
}


@media (min-width:992px) {
	.libation-pop{
		width: 750px;
	}
	.libation-pop .libation-content{
		width: 750px;
	}
	.libation-content .select-container {
		height: 120px;
	}
	
	.libation-content .select-container img {
	    width: 100px;
	    height: 100px;
	    margin-right: 30px;
	}
	
	.libation-title-container div{
		line-height: 60px;
	}
	.libation-content-container{
		max-height: 400px;
		font-size: 18px;
	}
	
	.libation-content-container div {
		min-height: 140px;
	}
	
	.libation-content-container img {
	    width: 70px;
	    height: 70px;
	}
	.user-info {
	    height: 70px;
	}
	.user-info .right {
	    font-size: 16px;
	}
}
