.pre{
	position: relative;
	/* margin-top: -1px; */
	/* font-size: 0;
	line-height: 0;
	vertical-align: top */
}

body .mask_div{
	display: none!important;
}


.video-container {
	width: 100%;
	height: 0;
	padding-bottom: 56.25%; /* 16:9 比例 */
	position: relative;
  }
  .video-container video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;
  }



  /* 修改后的自定义滚动条样式 */
.rule-scroll-container {
	width: 497px;
	/* height: 5822px; */
	margin: 0 auto;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #999 #f0f0f0;
	/* font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif; */
	font-family: "Arial,sans-serif";
  }
  
.rule-scroll-container *{
	font-size: 28px;
	font-family: "Arial,sans-serif";
}


  /* Webkit浏览器滚动条样式 */
  .rule-scroll-container::-webkit-scrollbar {
	width: 8px;  /* 加宽滚动条 */
  }
  
  .rule-scroll-container::-webkit-scrollbar-track {
	background: #f0f0f0;
	border-radius: 4px;
	margin: 10px 0;  /* 添加上下边距 */
  }
  
  .rule-scroll-container::-webkit-scrollbar-thumb {
	background-color: #666;  /* 加深颜色 */
	border-radius: 4px;
	border: 2px solid #f0f0f0;  /* 添加边框 */
  }
  
  .rule-scroll-container::-webkit-scrollbar-thumb:hover {
	background-color: #555;  /* 悬停效果 */
  }



.pic{
    display: block;
    width: 100%;
  }

  html,body{
    width: 100%;
    /* height: 100%; */
    background: #262626;
    /* overflow: hidden; */
  }

  .abswh{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;	
  }


 .app{
	background:#262626;
	width: 750px;
	overflow: hidden;
	margin:0 auto;
	background-repeat: repeat-y;
	min-height: 100vh;
 } 

  .body-scroll-lock {
	overflow: hidden;
}

.flx{
    display: flex;
    justify-content: center;
    align-items: center;
}


.plus-one {
	position: absolute;
	color: #ff0000;
	font-size: 30px;
	font-weight: bold;
	animation: floatUp 1s ease-out forwards;
	top: -40px;
	left: 50%;
	transform: translateX(-50%);
  }
  
  @keyframes floatUp {
	0% {
	  transform: translateY(0);
	  opacity: 1;
	}
	100% {
	  transform: translateY(-30px);
	  opacity: 0;
	}
  }


.modal_close{
	position: absolute;
	top: -60px;
	right: 0;
    width: 45px;;
	height: 45px;
	/* background: url(../image/close.png) no-repeat; */
}

.modal-mask {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	z-index: 999999;
}

.modal-container {
	position: fixed;
	background: white;
	border-radius: 20px;
	display: flex;
	flex-direction: column;
}

/* 中间弹出样式 */
.modal-center {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	animation: scaleIn 0.3s ease-out;
}

/* 底部弹出样式 */
.modal-bottom {
	bottom: 0;
	left: 50%;
	min-height: 30vh;
	border-radius: 20px 20px 0 0;
	transform: translateX(-50%);
	animation: slideUp 0.3s ease-out;
}

.modal-header, .modal-footer {
	flex-shrink: 0;
	/* padding: 20px; */
	/* font-size: 24px; */
	/* text-align: center; */
}

/* .modal-header, .modal-footer  */

.modal-content {
	flex: 1;
	overflow-y: auto;
	/* width: 100%; */
	/* padding: 0 20px; */
	/* -webkit-overflow-scrolling: touch; */
}

.close-btn {
	position: absolute;
	top: -40px;
	right: 0px;
	width: 30px;
	height: 30px;
	cursor: pointer;
	text-align: center;
}

@keyframes scaleIn {
	from {
		transform: translate(-50%, -50%) scale(0.5);
		opacity: 0;
	}
	to {
		transform: translate(-50%, -50%) scale(1);
		opacity: 1;
	}
}

@keyframes slideUp {
	from {
		transform: translate(-50%, 100%);
	}
	to {
		transform: translate(-50%, 0);
	}
}


@keyframes scaleOut {
from { transform: translate(-50%, -50%) scale(1); opacity: 1; }
to { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
}

@keyframes slideDown {
from { transform: translate(-50%, 0); }
to { transform: translate(-50%, 100%); }
}

.modal-center-exit {
animation: scaleOut 0.3s ease-in forwards;
}

.modal-bottom-exit {
animation: slideDown 0.3s ease-in forwards;
}



  /* 添加旋转动画 */
  @keyframes spin {
    to { transform: rotate(360deg); }
  }






/* 基础样式保留在CSS中 */
.custom-toast {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 30px 50px;
	background-color: rgba(0, 0, 0, 0.8);
	color: white;
	border-radius: 8px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;
	z-index: 9999999999;
	max-width: 80%;
	text-align: center;
}

.custom-toast.show {
	opacity: 1;
	visibility: visible;
}



.app_content{
    box-sizing: border-box;
	padding: 30px 30px;	
}


  .user_tasks{
    /* position: absolute; */
    /* width: 650px; */
    /* height: 558px; */
    /* left: 50px;
    top: 132px; */
    /* background: rgba(44, 44, 44, 0.2); */
    /* padding-top: 136px; */
    /* box-sizing: border-box;
	padding: 30px 30px; */
  }

  .task-item {
    font-size: 24px;
    color: #FFF;
    margin-bottom: 28px;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
  }
  

  .task-info-top {
    /* display: flex;
    flex-direction: column;
    align-items: center; */
  }

  .task-info {
    font-size: 24px;
    position: relative;
    margin-bottom: 15px;
	display: flex;
	/* flex-direction: column; */
	align-items: center;
	justify-content: space-between;
  }

  .task-title {
    font-size: 28px;
    font-weight: bold;
    text-align: left;
    margin-bottom: 20px;
    color: #fff;
	text-align: center;
  }

  .task-desc {
    font-size: 26px;
    text-align: left;
    /* margin-bottom: 20px; */
    color: #fff;
  }

  .task-info::before {
    content: "";
    position: absolute;
    left: -22px;
    top: 14px;
    /* transform: translateY(-50%); */
    width: 8px;
    height: 8px;
	background-color: #b0b0b0;
    border-radius: 50%;
	display: none;
  }
  .task-tip {
    color: #fca88d;
    font-size: 22px;
    line-height: 30px;
    text-decoration: underline;
    margin-top: 5px;
  }
  .task-action-btn {
    display: flex;
    justify-content: center;
    margin-top: 15px;
  }
  
  .task-action {
    border-radius: 40px;
    width: 150px;
    height: 50px;
    font-size: 24px;
    text-align: center;
    border: 1px solid #fff;
    line-height: 50px;
    color: #FFF;
    display: inline-block;
    transition: all 0.3s ease;
  }
  
  .task-action:hover {
    background-color: rgba(255, 255, 255, 0.2);
  }
  
  .task-action.disabled {
    /* background-color: #666;
    border-color: #666;
    color: #999;
    cursor: not-allowed; */
	opacity: 0.5;
  }

  .task-option {
    display: flex;
    justify-content: space-between;
	align-items: center;
    margin-bottom: 20px
  }
  
  .task-option .task-option {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px 15px;
    margin: 5px 0;
  }
  
  .task-option div {
    color: #FFF;
    font-size: 22px;
    /* line-height: 30px; */
  }
  
  .task-option div:last-child {
    /* color: #fca88d;
    font-size: 20px; */
  }


  .task-option-btn{
    border-radius: 40px;
    width: 150px;
    height: 50px;
    font-size: 24px;
    text-align: center;
    border: 1px solid #fff;
    line-height: 50px;
    color: #FFF;
    display: inline-block;
    transition: all 0.3s ease;
  }

  .task-option-btn.disabled{
	opacity: 0.5;
    cursor: not-allowed;
  }





.els{
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis
}

  .records{
	/* padding: 0 50px; */
	width: 538px;
	margin: 0 auto;
  }

  .records_null{
	height: 300px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 24px;
  }

  .records_item{
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 14px 0;
	line-height: 64px;
	border-bottom: 1px solid #f0f0f0;
  }

  .records_item:last-child {
		border-bottom: none;
	}


  .records_head{
	width: 64px;
	height: 64px;;
	border-radius: 100%;
	overflow: hidden;
	margin-right: 20px;
  }
  .records_name{
	font-size: 24px;
	flex: 1;
	overflow: hidden;
  }
  .records_name .els{
	font-size: 24px;
  }



  .tbtn{
	width: 244px;
	height: 64px;;
	line-height: 64px;
	background-color: #000;
	text-align: center;
	border-radius: 64px;
	font-size: 30px;;
	font-weight: bold;
	color: #FFF;
	position: relative;
  }

  .tbtn.dis{
	background-color: #a8a8a8;
  }




  .share_pop{
	height: 800px;
	display: flex;
	/* align-items: center; */
	justify-content: center;
	/* color: #FFF; */
	font-size: 24px;;
  }

  .share_pop   .tbtn{
	opacity: 0;
  }


  .share_close{
	position: absolute;
    width: 46px;;
	height: 46px;
	left: 478px;;
	top: 22px;;
  }

  /* .share_page .close{
	position: absolute;

  } */


  .share_page,.share_ok{
	position: relative;
  }
  .share_page_div{
	position: absolute;
	top: 376px;
	width: 460px;;
	left: 150px;
  }
  .share_flex{
	display: flex;
	justify-content: center;
	align-items: center;	
  }

  .share_head{
	width: 88px;
	height: 88px;
	border-radius: 100%;
	margin-right: 28px;
	overflow: hidden;
  }
  .share_info{
	font-size: 24px;
	line-height: 30px;
	flex: 1;
	overflow: hidden;
  }
  .f24{
	font-size: 24px;
  }

  .share_btn{
	margin-top: 26px;
	display: flex;
	justify-content: center;
	align-items: center;	
  }

  .share_ok_btn{
	position: absolute;
	left: 256px;
	top: 448px;
  }
	.share_ok .close_png{
	
		left: 481px;
		top: 53px;
  }



  .share_img{
	position: relative;

  }
  .share_img .pic{
	border-radius: 20px;
	overflow: hidden;
  }

  .share_img .share_img_tip{
  	position: absolute;
	width: 493px;
	bottom: -60px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 24px;
	color: #fff;
	text-align: center;
  }

  .share_img .share_img_tip_btn{
	/* 按钮 */
    border-radius: 40px;
    width: 150px;
    height: 50px;
    font-size: 24px;
    text-align: center;
    border: 1px solid #fff;
    line-height: 50px;
    color: #FFF;
    display: inline-block;
    transition: all 0.3s ease;
	margin-left: 10px;
  }

  .share_modal .modal-content{
	overflow:visible;
  }


  .products{
	width: 538px;
	margin: 0 auto;
  }

  .product-item{
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 36px;
  }
  .product-image{
	width: 102px;
	height: 102px;
	margin-right: 32px;
	background: #e6e6e6;
	overflow: hidden;
  }
  .product-info{
	flex: 1;
	overflow: hidden;
  }

  .product-info p{
	font-size: 24px;
	line-height: 36px;
  }


  .p_rule{
	position:absolute;
	right: 0;
	top: 100px;
	opacity: 0.8;
	/* width: 77px; */
  }
  .p_rule_div{
	/* position: absolute;
	right: 0;
	top: 0; */
	/* width: 140%; */
  }

  .p_rule_div div{
	height: 50px;
	display: block;
	margin-bottom: 20px;
	background-color: rgba(255, 255, 255, 0.4);
	font-size: 26px;
	line-height: 50px;
	border-radius: 50px 0 0 50px;
	color: #fff;
	padding: 0 20px;
	/* width: 50px; */
  }

  .awards {
    width: 100%;
    overflow: hidden;
    position: relative;

	/* height: 100%; */
	/* background: rgba(255, 255, 255, 0.1); */
	/* border-radius: 12px; */
	/* display: flex; */
  }

  .awards-title{
	font-size:32px;
	font-weight: bold;
	color: #fff;
	text-align: center;
	margin-bottom: 20px;
  }
  .awards-wrapper {
    display: flex;
    /* animation: scrollAwards 10s linear infinite; */
    will-change: transform;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* 为iOS添加惯性滚动 */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
  }
  
  /* 隐藏滚动条但保留滚动功能 */
  .awards-wrapper::-webkit-scrollbar {
    display: none;
  }
  
  .awards-wrapper.start{
	/* animation: scrollAwards 5s linear infinite; */
  }

  .award_item {
    flex: 0 0 auto;
    width: 280px;
    margin-right: 13px;
  }

  .award_item:last-child {
    margin-right: 0;
  }

  /* 添加一个遮罩层，防止滚动时出现闪烁 */
  .awards::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 100%;
    background: linear-gradient(to right, transparent, #262626);
    pointer-events: none;
  }




  .draw{
	position: relative;
	/* width: 650px;; */
	/* left: 50px; */
	/* top: 1074px; */
	height: 140px;
	background: rgba(255, 255, 255, 0.1);
  }

  .draw_box{
    font-size: 24px;
    color: #FFF;
    margin-bottom: 30px;
    /* padding: 30px 30px 0; */

    /* border-radius: 12px; */
    display: flex;
    flex-direction: column;
  }	


  /* .pre_open{
	position: absolute;
	
  } */


  .lotteryDesc{
	font-size: 32px;
	color: #FFF;
	margin-bottom: 30px;
	font-weight: bold;
	text-align: center;
  }

  .lotteryDesc *{
	font-size: 32px;
	font-weight: bold;
	/* color: #FFF; */
  }

  .pre_open_div{
	height: 0;
	transition: height 0.3s ease;
	margin-top: 1px;
  }

 .open.pre_open_div {
	height: 668px;
  }
  

 .pre_open_pre{
	position: absolute;
	left: 0;
	width: 100%;
	top: 0px;
	/* background-color: red;
	opacity: 0.4; */
	height: 668px;
	overflow: hidden;
}

  .pre_open {
	display: block;
	height: 668px;
	overflow: hidden;
	transition: top 0.3s ease;
	position: absolute;
	top: calc(0px - 668px);
	width: 100%;
	/* pointer-events: none; */
  }

  .open .pre_open {
	top: 0px;
  }
  
  .pre_open img {
	display: block;
	width: 100%;
	/* margin-top: -45px; */
  }

  .shop_open{
	position: absolute;
	width: 100%;
	left: 0;
	bottom: 0;
	height: 100px;
  }


  .shop_link{
	position: absolute;
	width: 100%;
	left: 0;
	height: 220px;
  }

.shop_a{top: 322px;}
 .shop_b{top: 592px;}
 .shop_c{top: 878px;height: 90px;}


 .pre_video{
	position: absolute;
	width: 100%;
	left: 0;
	top: 183px;
	/* background-color: red; */
	width: 314px;
	height: 178px;
 }



 .app_time {
	position: fixed;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 100;
	text-align: center;
	display: none;
  }
  
  .app_time_txt {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #fff;
	font-size: 60px;
	font-weight: bold;
  }


  .pre_goods{
	position: absolute;
	left: 50px;
	top: 413px;
	width: 660px;

	display: inline-flex;
	flex-wrap: wrap;
  }

  .pre_item{
	width: 200px;
	height: 116px;
	/* background: red; */
	margin-right: 20px;
	margin-bottom: 10px;
	/* opacity: 0.4; */
  }

  .pre_item .wxbtns{
	width: 100%;
	height: 100%;
	margin: 0;
  }

/* 纯展示图片样式 */
.task-image-item {
  padding: 0;
  background: none;
  box-shadow: none;
  margin-bottom: 30px;
}

.task-image {
  width: 100%;
  text-align: center;
}

.task-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

