@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap');

@font-face {
	font-family: "eventFonts";
	src: url("../fonts/zihunmengquruantangti.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "sourceSansHan";
	src: url("../fonts/SourceHanSansSC-ExtraLight.otf") format("opentype");
	font-weight: 200;
	font-style: normal;
	font-display: swap;
}  

@font-face {
	font-family: "sourceSansHan";
	src: url("../fonts/SourceHanSansSC-Light.otf") format("opentype");
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "sourceSansHan";
	src: url("../fonts/SourceHanSansSC-Regular.otf") format("opentype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "sourceSansHan";
	src: url("../fonts/SourceHanSansSC-Medium.otf") format("opentype");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "sourceSansHan";
	src: url("../fonts/SourceHanSansSC-Bold.otf") format("opentype");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "sourceSansHan";
	src: url("../fonts/SourceHanSansSC-Heavy.otf") format("opentype");
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "eventFont2";
	src: url("../fonts/DFPHaiBaoW12-GB.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/*@font-face {
	font-family: "eventFont3";
	src: url("../fonts/zihunbudingti.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}*/

/*---------------------------------------
  Menu
-----------------------------------------*/
.indexMenu_header {
	width: 100%;
	position: absolute;
	z-index: 9999;
}

.menu_inner {
	display: flex;
	padding: 10px 50px;
}

.menu_controls {
    display: inline-flex;      
    gap: 10px;                
    align-items: center;
	margin-left: auto; 
}

@media (max-width: 768px){
	.menu_inner {
		padding: 10px 10px;
	}
	
	.menu_controls {
		gap: 2px;
	}
}

/*---------------------------------------
  Logo
-----------------------------------------*/
.compLogo_wrap img {
	width: 100%;
	max-width: 50px;
}


/*---------------------------------------
  Change Language
-----------------------------------------*/
.lang-select {
	/*position: fixed;
	top: 16px;
	right: 85px;
	z-index: 9999;*/
	background: rgba(250,60,104,0.8);
	color: #FFFFFF;
	border: 1px solid rgba(255,255,255,0.25);
	padding: 5px 10px;
	border-radius: 8px;
	cursor: pointer;
	font-size: 12px;
}


/*---------------------------------------
  Anpaw History Section
-----------------------------------------*/
.btn_angpowHistory {
	display: inline-block;
	position: relative;
	/*top: 16px;
	right: 160px;
	z-index: 9999;*/
	background: rgba(250,60,104,0.8);
	color: #FFFFFF;
	border: 1px solid rgba(255,255,255,0.25);
	padding: 5px 10px;
	border-radius: 8px;
	cursor: pointer;
	font-size: 12px;
}

.redeem-dropdown {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%);       
	background: rgba(250,60,104);
	border-radius: 20px;
	border: 1px solid rgba(244 234 183);
	padding: 10px;
	min-width: 280px;
	box-shadow: 0 4px 8px rgba(0,0,0,0.2);
	z-index: 999;
}

.redeem-dropdown ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.redeem-dropdown li {
	padding: 5px 0;
}

.redeem_history {
	width: 99.5%;
    border-spacing: 1px;
    color: #3c414a;
    margin: 1rem auto 1.5rem;
}

.redeem_history th {
	color: rgba(255 255 255);
	text-align: center;
	background-color: rgb(63 197 157);
}

.redeem_history tr,
.redeem_history tr td{
	background-color: rgba(255, 255, 255, 0) !important;
	color: #fbf7e8;
	cursor: text;
}

.btn-copy {
	color: #000000;
	background: rgba(244 234 183);
	border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 1px 15px;
    border-radius: 8px;
    cursor: pointer;
	position: relative;
}

.btn-copy:hover {
	background: rgba(63 197 157);
	color: #ffffff;
}

.copy-toast {
	position: absolute;
	top: -28px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(0,0,0,0.85);
	color: #fff;
	font-size: 12px;
	padding: 4px 8px;
	border-radius: 4px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s ease, transform .2s ease;
}

.copy-toast.show {
	opacity: 1;
	transform: translateX(-50%) translateY(-4px);
}

@media (max-width: 768px){
	.btn_angpowHistory {
		padding: 5px 5px;
	}
}


/*---------------------------------------
   Logout
-----------------------------------------*/
.btn_exit {
	/*position: fixed;
    top: 16px;
    right: 16px;
    z-index: 9999;*/
	background: rgba(250,60,104,0.8);
	color: #FFFFFF;
	border: 1px solid rgba(255,255,255,0.25);
	padding: 5px 10px;
	border-radius: 8px;
	cursor: pointer;
	font-size: 12px;
}


/*---------------------------------------
   Event Part ( Banner )
-----------------------------------------*/
.img-shadow {
	width: 100%;
	display: flex;
	justify-content: center;
	filter: drop-shadow(0 0 15px rgba(121, 2, 30, 0.35));
	padding: 80px 25px;
}

.img-mask {
	width: 100%;
	max-width: 1000px;
	overflow: hidden;
	margin: 0 auto;
	border-radius: 50px;
	border: 2px solid #fdf9eb;
}

.img-mask img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

@media(max-width: 568px){
	.img-mask {
		border-radius: 20px;
	}
}


/*---------------------------------------
   Event Part ( Event List )
-----------------------------------------*/
.event-container {
	width: 100%;
	max-width: 1200px;
	margin: auto 0;
	overflow-x: auto;
	cursor: grab;
	padding: 10px 0;
	scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.event-container:active {
	cursor: grabbing;
}

.event-container::-webkit-scrollbar {
	display: none;
}

.event-recomended {
	display: grid;
	grid-auto-flow: column;
	gap: 24px;
	padding: 0 10px;
	justify-content: center;
}

.event-card {
	display: flex;
	flex-direction: column;
	border-radius: 16px;
	overflow: hidden;
	min-height: 280px;
	scroll-snap-align: start;
}

.img-wrapper {
	border: 2px solid #fdf9eb;
	border-radius: 16px;
	overflow: hidden;
	cursor: pointer;
}

.event-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;	
	filter: drop-shadow(0 10px 5px rgba(121, 2, 30, 0.35));
	transition: filter 0.3s ease, transform 0.3s ease;
}

.event-card img:hover {
	transform: scale(1.05) rotate(-1deg);
	filter: drop-shadow(0 12px 24px rgba(0,0,0,0.4));
}

.event-desc {
	font-family: "eventFonts", system-ui, sans-serif !important;
	color: #ffffff;
	margin: 15px 0 15px 0;
	text-align: center;
	font-size: clamp(26px, 2vw, 26px);
	cursor: pointer;
}

.event-desc.tcn {
	font-family: "Noto Sans TC", system-ui, sans-serif !important;
	color: #ffffff;
	margin: 15px 0 15px 0;
	text-align: center;
	font-size: clamp(26px, 2vw, 26px);
	cursor: pointer;
}

.event-desc.en {
	font-family: "Noto Sans TC", system-ui, sans-serif !important;
	color: #ffffff;
	margin: 15px 0 15px 0;
	text-align: center;
	font-size: clamp(20px, 2vw, 20px);
	cursor: pointer;
}

.event-desc:hover {
	text-decoration: underline;
	color: #ffffff;
}

@media (min-width: 1024px) {
	.event-recomended {
		min-width: 900px;
	}
	
	.event-card {
		height: 280px;
		border-radius: 16px;
	}
	
	.event-card img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}

@media(max-width: 768px){
	.event-container {
		padding-left: 10px;
		padding-right: 10px;
	}
	
	.event-recomended {
		display: grid;
		grid-auto-flow: column;
		gap: 16px;
		padding: 0 10px;
		justify-content: start;
	}
	
	.event-card {
		min-height: 240px;
	}
	
	.event-card img {
		height: 180px;
	}	
}


/*---------------------------------------
   Event Part ( Modal - Login )
-----------------------------------------*/
.login_overlay {
	position: fixed;
	inset: 0;
	background: rgba(20, 13, 0, 0.9);
	backdrop-filter: blur(3px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	z-index: 999;
}

.login_modal {
	position: fixed;
	inset: 0;
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 1000;
}

.login_modal.is-open {
	display: flex;
}

.login_modal_content {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
}

.login_modal_header {
	width: 100%;
	max-width: 505px;
	margin-bottom: -83px;
	z-index: 2;
	pointer-events: none;
}

.login_modal_body {
	width: min(90vw, 420px);
    aspect-ratio: 3 / 4;
    padding: 110px 30px 30px;
    background: url("../img/event_cny/login_frame_bg.png") center no-repeat;
    background-size: contain;
}

.selectGamesAccessList {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 5px;
	list-style: none;
	padding: 0;
	margin: 0;
	justify-items: center;
}

.imgGame-wrap {
	border: 2px solid rgba(233, 202, 113, 0.5);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.imgGame-wrap.active {
	border: 2px solid rgba(233, 202, 113);
	box-shadow: 0 0 12px 1px #f5c16c;
}

.selectGames {
	width: 100px;
	height: auto;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn_wrap {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin-top: 30px;
	font-family: "eventFonts", system-ui, sans-serif !important;
}

.btn_access {
	background: #FFEDBC;
	border-radius: 50px;
	width: 100%;
	max-width: 260px;
	height: 35px;
	color: #3D2E01;
	font-size: 1.2rem;
}

.btn_access:hover {
	transform: scale(0.9);
}

.btn_wrap a {
	color: #FFEDBC !important;
	font-size: 0.85rem;
	margin-top: 10px;
}

.btn_wrap a:hover {
	text-decoration: underline !important;
}

.login_modal_close {
	position: absolute;
	top: 20px;
	right: -50px;
	width: 40px;
	height: 40px;
	background: transparent;
	border: 1px solid #c8a55b;
	padding: 8px;
	border-radius: 50px;
	cursor: pointer;
	z-index: 10;
}

.login_modal_close:hover {
	box-shadow: 0 0 12px rgba(200, 165, 91, 0.6);
}

.login_modal_close.active {
	transform: rotate(180deg));
}

.login_modal_close img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.login_modal_close img:hover {
	transform: rotate(90deg);
}

.login_modal_close img.active {
	transform: rotate(180deg);
}


/*---------------------------------------
   Event Part ( Daily Event Access)
-----------------------------------------*/
.bg_dailyCheck-In {
	background: url('../img/event_cny/check-in/checkIn_bg.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	min-height: 100vh;
	position: relative;
	overflow: hidden;
}

.checkIn_b_deco {
	background-image: url('../img/event_cny/check-in/checkIn_b_deco.png');
	background-position: center;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 342px;
	position: absolute;
	z-index: 2;
	pointer-events: none;
}

.checkIn_bg {
	background-image: url('../img/event_cny/check-in/checkIn_char.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(1.25);
	width: 70vw;
	max-width: 1100px;
	min-width: 320px;
	aspect-ratio: 1100 / 680;
	height: auto;
	z-index: 1;
}

.checkIn_title {
	position: absolute;
	top: 4%;
	left: 50%;
	transform: translateX(-33%);
	width: 20vw;
	max-width: 689px;
	min-width: 280px;
	height: auto;
	z-index: 2;
	pointer-events: none;
}

.event_date {
	background: #FFA4B3;
	border-radius: 50px;
	width: 15vw;
	height: 3vh;
	font-family: "eventFonts", system-ui, sans-serif !important;
	color: #ffffff;
	text-align: center;
	letter-spacing: 1.5px;
	position: absolute;
	top: 32%;
	left: 50%;
	transform: translateX(-25%);
	display: flex;
	justify-content: center;
	align-items: center;
}

.checkIn_container {
	position: absolute;
	bottom: 35%;
	left: 50%;
	transform: translateX(-40%);
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 30px;
	width: 50%;
	max-width: 700px;
	padding: 0 30px 0 30px;
	z-index: 3;
}

.checkIn_item {
	background: url('../img/event_cny/check-in/checkIn_element.png');
	background-size: contain;
	width: 100%;
	aspect-ratio: 1/1;
	cursor: pointer;
	transition: transform .25s ease, filter .25s ease;
	position: relative;
	z-index: 3;
	font-family: "eventFonts", system-ui, sans-serif !important;
	color: #FA4F68;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
	line-height: 0;
	filter: saturate(0) brightness(0.7);
	opacity: 0.6;
	pointer-events: auto;
	transition: all .3s ease;
}

.checkIn_item.passed {
	filter: none;
	opacity: 1;
}

.checkIn_item.today {
	filter: none;
	opacity: 1;
	pointer-events: auto;
	/*box-shadow: 0 0 12px rgba(255, 215, 120, 0.8);*/
	transform: scale(1.05);
}

.checkIn_item.active {
	pointer-events: auto;
	opacity: 1;
	cursor: pointer;
}

.checkIn_item::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 100%;
	transform: translateY(-50%);
	width: 40px;
	height: 6px;
	background: url('../img/event_cny/check-in/checkIn_line.png');
	background-repeat: no-repeat;
	background-position: center;
	z-index: 2;
	pointer-events: none;
}

.checkIn_item:nth-child(5n)::before {
	display: none;
}

.checkIn_detailContainer {
	display: flex;
	flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 50%;
	bottom: 0;
    transform: translate(65%, -245%);
	z-index: 5;
}

.checkIn_detailContainer.en {
	display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(13%, -245%);
    z-index: 5;
}

.checkIn_tnc {
	font-family: "eventFonts", system-ui, sans-serif !important;
	color: #ffffff;
	cursor: pointer;
}

.checkIn_tnc.tcn {
	font-family: "Noto Sans TC", system-ui, sans-serif !important;
	color: #ffffff;
	cursor: pointer;
}

.checkIn_tnc:hover {
	text-decoration: underline;
}

.checkIn_Reward {
	font-family: "eventFonts", system-ui, sans-serif !important;
	color: #ffffff;
	cursor: pointer;
}

.checkIn_Reward.tcn {
	font-family: "Noto Sans TC", system-ui, sans-serif !important;
	color: #ffffff;
	cursor: pointer;
}

.checkIn_Reward:hover {
	text-decoration: underline;
}

.checkIn_back {
	font-family: "eventFonts", system-ui, sans-serif !important;
	color: #ffffff;
	font-size: 1.5rem;
	text-decoration: none;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
}

.checkIn_back:hover {
	transform: scale(0.8);
}

.checkInRewardModal {
	position: fixed;
	inset: 0;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	flex-direction: column;
	padding: 100px 0;
	z-index: 9999;
	background: rgba(0,0,0,0.6);
}

.checkInRewardModal.is-open {
	display: flex;
}

.checkInRewardModal .modal_bg {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
}

.checkInRewardModal .modal_content {
	position: relative;
	z-index: 2;
	animation: fadeIn 0.5s ease forwards;
}

.checkIn_fudai {
	width: 200px;
	cursor: pointer;
}

.sparkles {
	position: absolute;
	inset: 0;
	background: url("img/event_cny/check-in/checkIn_sparkles.png");
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	opacity: 0;
	animation: sparklesFade 1s forwards;
	animation-delay: 0.5s;
}

@keyframes fadeIn {
	from {
		transform: scale(0.5);
		opacity:(0);
	}
	
	to {
		transform: scale(1);
		opacity: 1;
	}
}

@keyframes fadeInReward {
	from {
		transform: translateY(-20px);
		opacity:(0);
	}
	
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

@keyframes sparklesFade {
	from {
		opacity:(0);
	}
	
	to {
		opacity: 1;
	}
}

.modal_checkInClose {
	background: url('../img/event_cny/check-in/checkIn_rewardClose.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	width: 40px;
	height: 40px;
	position: absolute;
	top: 10px;
	right: 10px;
	cursor: pointer;
	z-index: 5;
}

@media(max-width: 768px){
	.checkIn_detailContainer{
		bottom: 0;
		transform: translate(-40%, -20%);
	}
	
	.checkIn_detailContainer.en {
		transform: translate(-40%, -40%);
	}
}


/*---------------------------------------
   Event Part ( TNC Modal )
-----------------------------------------*/
.tncModal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99999;
	display: none;
	justify-content: center;
	align-items: center;
}

.tncModal.active {
	display: flex;
}

.tncModal_overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
}

.tncModal_content {
	position: relative;
	z-index: 1001;
	width: 90%;
	max-width: 1000px;
	max-height: 80vh;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow-y: auto;
}

.tncModal_bg {
	width: 100%;
	height: 100%;
	padding: 0;
	position: relative;
}

.tncBg_img {
	width: 100%;
	height: auto;
	object-fit: contain;
	display: block;
	margin: 0 auto;
}

.modal_tncClose {
	background: url('../img/event_cny/checkIn_tncCloseBg.png') no-repeat center center;
	background-size: contain;
	width: 252px;
    height: 208px;
	position: absolute;
	top: 0;
	right: 0;
	transform: translateX(0);
	z-index: 999;
	display: flex;
	justify-content: center;
	align-items: center;
}

.modal_tncCloseCross {
	font-family: "eventFonts", system-ui, sans-serif !important;
	color: #fcffab;
	font-size: 2.5rem;
	cursor: pointer;
	line-height: 1;
	position: absolute;
    bottom: 50%;
    transform: translateY(-25%);
	text-shadow: 0 0 4px rgba(255, 235, 171, 0.8), 0 0 8px rgba(255, 200, 80, 0.8), 0 0 17px #9d5a16;
}

@media (max-width: 1600px){
	.event_date {
		width: 20vw;
	}

}

@media (max-width: 768px) {
	.bg_dailyCheck-In {
		background: url("../img/event_cny/check-in/checkIn_mbg.png");
		background-repeat: no-repeat;
		background-position: center;
		background-size: cover;
		min-height: 100vh;
		position: relative;
		overflow: hidden;
	}
	
	.checkIn_b_deco {
		background-image: url('../img/event_cny/check-in/checkIn_b_mdeco.png');
		background-position: center;
		height: 210px;
		background-size: cover;
	}
	
	.checkIn_bg {
		background-image: url('../img/event_cny/check-in/checkIn_mFrame.png');
		background-position: center;
		width: 150vw;
		transform: translate(-50%, -50%) scale(1.05);
	}
	
	.checkIn_title {
		position: absolute;
		top: -20%;
		left: 50%;
		transform: translateX(-50%);
		width: 80vw;
		max-width: 689px;
		min-width: 280px;
		height: auto;
		z-index: 2;
		pointer-events: none;
	}
	
	.event_date {
		width: 50vw;
		top: 30%;
		transform: translateX(-50%);
		font-size: 0.65rem;
		letter-spacing: 1.5px;
	}
	
	.checkIn_container {
		bottom: 30%;
		transform: translateX(-50%);
		gap: 30px;
		width: 60%;
	}
	
	.checkIn_item {
		font-size: 0.55rem;
	}
	
	.checkIn_tnc,
	.checkIn_Reward {
		bottom: 10px;
		/*transform: translateX(-40%);*/
		font-size: 0.75rem;
	}
	
	.checkIn_tnc.en,
	.checkIn_Reward.en	{
		font-size: 0.65rem;
	}
	
	.checkIn_back {
		font-size: 1rem;
		gap: 0px;
	}
	
	.checkIn_back img {
		width: 60%;
	}
	
	.modal_tncClose {
		width: 184px;
		height: 154px;
	}
	
	.modal_tncCloseCross {
		font-size: 2rem;
	}
	
	.tncBg_img {
		height: 60vh;
		object-fit: cover;
	}
}

@media (max-width: 480px){
	.checkIn_bg {
		width: 140vw;
		transform: translate(-50%, -50%) scale(1);
	}
	
	.checkIn_back {
		font-size: 0.8rem;
	}
}


/*---------------------------------------
   Event Part ( Reward Modal )
-----------------------------------------*/
.rewardModal {
    position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99999;
	display: none;
	justify-content: center;
	align-items: center;
}

.rewardDetailModal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99999;
	display: none;
	justify-content: center;
	align-items: center;
}

.rewardDetailModal.active {
	display: flex;
}

.rewardDetailModal_overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.2);
}

.rewardDetailModal_content {
	position: relative;
	z-index: 1001;
	width: 90%;
	max-width: 1000px;
	max-height: 80vh;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow-y: auto;
}

.rewardDetailModal_bg {
	width: 100%;
	height: 100%;
	padding: 0;
	position: relative;
}

.rewardDetailBg_img {
	width: 100%;
	height: auto;
	object-fit: contain;
	display: block;
	margin: 0 auto;
}

.modal_rewardDetailClose {
	background: url('../img/event_cny/checkIn_tncCloseBg.png') no-repeat center center;
	background-size: contain;
	width: 252px;
    height: 208px;
	position: absolute;
	top: 0;
	right: 0;
	transform: translateX(0);
	z-index: 999;
	display: flex;
	justify-content: center;
	align-items: center;
}

.modal_rewardDetailCloseCross {
	font-family: "eventFonts", system-ui, sans-serif !important;
	color: #fcffab;
	font-size: 2.5rem;
	cursor: pointer;
	line-height: 1;
	position: absolute;
    bottom: 50%;
    transform: translateY(-25%);
	text-shadow: 0 0 4px rgba(255, 235, 171, 0.8), 0 0 8px rgba(255, 200, 80, 0.8), 0 0 17px #9d5a16;
}

@media (max-width: 768px) {
	.modal_rewardDetailClose {
		width: 184px;
		height: 154px;
	}
	
	.modal_rewardDetailCloseCross {
		font-size: 2rem;
	}
}


/*---------------------------------------------
   Event Part ( T&C Modal - DailyCheck-In )
-----------------------------------------------*/
.tncAngpao_info{
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	position: absolute;
	width: 65%;
	margin: 0 auto;
	inset: 0;
	transform: translateX(-5%);
	z-index: 5;
	padding: 50px 20px 120px 20px;
}

.tncCheckIn_info {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	position: absolute;
	width: 80%;
	margin: 0 auto;
	inset: 0;
	transform: translateX(-5%);
	z-index: 5;
	padding: 50px 20px 120px 20px;
}

.tncAngpao_title, 
.tncCheckIn_title {
	font-family: "eventFonts", system-ui, sans-serif !important;
	color: #794905;
	font-size: 1.3rem;
	text-align: center;
	letter-spacing: 5.8px;
	z-index: 5;  
}

.tncAngpao_title.en,
.tncCheckIn_title.en {
	font-size: 1.3;
	letter-spacing: 0;
}

.tncAngpao_title.tcn,
.tncCheckIn_title.tcn {
	font-family: "Noto Sans TC", system-ui, sans-serif !important;
}

.tncCheckIn_infoList.angpaoInfo {
	max-height: 38vh; 
}

.tncCheckIn_infoList {
	font-family: "eventFonts", system-ui, sans-serif !important;
	color: #794905;
	font-size: 1rem;
	z-index: 5;  
	max-height: 70vh;    
	overflow-y: auto;    
	overflow-x: hidden;  
	padding: 24px;       
	box-sizing: border-box;
}


.tncCheckIn_infoList.tcn {
	font-family: "Noto Sans TC", system-ui, sans-serif !important;
}

.tncCheckIn_infoList::-webkit-scrollbar {
  width: 6px;
}

.tncCheckIn_infoList::-webkit-scrollbar-track {
  background: transparent;
}

.tncCheckIn_infoList::-webkit-scrollbar-thumb {
	background-color: rgba(169, 46, 38, 0.25);
	border-radius: 10px;
}

.tncCheckIn_infoList::-webkit-scrollbar-thumb:hover {
	background-color: rgba(169, 46, 38, 0.8);
}

.tncCheckIn_infoList li {
	padding: 12px 0; 
	list-style-type: decimal;	
}

.tncCheckIn_infoList li:last-child {
	margin-bottom: 0;
}

.infoList span{
	display: block;
}

.infoNotes {
	font-family: "eventFonts", system-ui, sans-serif !important;
	color: #794905;
	font-size: 1rem;
	font-weight: 600;
}

.infoNotes.tcn {
	font-family: "Noto Sans TC", system-ui, sans-serif !important;
}

@media (max-width: 768px){
	.tncCheckIn_info {
		width: 100%;
		padding: 40px 20px 95px 20px;
	}
	
	.tncAngpao_info {
		width: 100%;
		transform: translateX(0%);
		padding: 50px 20px 82px 20px;
	}
}


/*---------------------------------------------
   Event Part ( Reward Modal - DailyCheck-In )
-----------------------------------------------*/
.rewardModal_info {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	position: absolute;
	width: 80%;
	margin: 0 auto;
	inset: 0;
	transform: translateX(-5%);
	z-index: 5;
	padding: 50px 20px 120px 20px;
}

.rewardModal_titleWrapper {
	font-family: "eventFonts", system-ui, sans-serif !important;
	color: #794905;
	font-size: 1.3rem;
	text-align: center;
	display: block;
	z-index: 5;  
}

.rewardModal_titleWrapper.tcn {
	font-family: "Noto Sans TC", system-ui, sans-serif !important;
}

.rewardModal_titDetail {
	letter-spacing: 5.8px;
}

.rewardModal_titDetail.en {
	letter-spacing: 0;
}

.rewardModal_subtitDetail {
	display: block;
	font-size: 0.85rem !important;
	margin-top: 10px;
	color: #FFFFFF;
	background-color: #794905;
	max-width: 150px;
	align-items: center;
	margin: 10px auto;
	padding: 5px;
	border-radius: 5px;
}

.rewardCheckIn_collapse {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-height: 70vh;    
	overflow-y: auto;    
	overflow-x: hidden;  
}

.rewardCheckIn_collapse::-webkit-scrollbar {
	width: 6px;
}

.rewardCheckIn_collapse::-webkit-scrollbar-track {
	background: transparent;
}

.rewardCheckIn_collapse::-webkit-scrollbar-thumb {
	background-color: rgba(169, 46, 38, 0.25);
	border-radius: 10px;
}

.rewardCheckIn_collapse::-webkit-scrollbar-thumb:hover {
	background-color: rgba(169, 46, 38, 0.8);
}

.collapse-header {
	width: auto;
    background: #b23013;
    border: none;
    padding: 5px 15px 5px 15px;
	font-family: "eventFonts", system-ui, sans-serif !important;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
	gap: 5px;
    cursor: pointer;
    color: #FFFFFF;
    border-radius: 50px;
}

.collapse-header .arrow {
	transition: transform 0.3s ease;
	font-size: 0.55rem;
}

.collapse-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding: 0 12px;
}

.collapse-item.active .collapse-content {
    max-height: 800px; 
    padding-bottom: 12px;
}

.collapse-item.active .arrow {
    transform: rotate(180deg);
	font-size: 0.55rem;
}

.rewardCheckIn-infoList {
	list-style: none;
	margin: 10px auto;
	padding: 0;
	border: 1px solid rgba(154, 116, 58, 0.3);
}

.infoList_measure{
	max-height: 500px;    
	overflow-y: auto;    
	padding-right: 6px;
}

.infoList_measure.angpao_measure {
	margin: 0 auto;
}

.infoList_measure::-webkit-scrollbar {
	width: 6px;
}

.infoList_measure::-webkit-scrollbar-track {
	background: transparent;
}

.infoList_measure::-webkit-scrollbar-thumb {
	background-color: rgba(169, 46, 38, 0.25);
	border-radius: 10px;
}

.infoList_measure::-webkit-scrollbar-thumb:hover {
	background-color: rgba(169, 46, 38, 0.8);
}

.rewardCheckIn-infoList .info-row {
	display: grid;
	grid-template-columns: 280px 1fr;
	align-items: stretch;
}

.rewardCheckIn-infoList .info-row + .info-row {
	border-top: 1px solid rgba(154, 116, 58, 0.3);
}

.rewardCheckIn-infoList .info-row.angpao_info {
	grid-template-columns: 250px 1fr;
}

.rewardCheckIn-infoList .label

.rewardCheckIn-infoList .info-row.angpao_info + .info-row.angpao_info {
	border-top: 1px solid rgba(154, 116, 58, 0.3);
}

.rewardCheckIn-infoList .label,
.rewardCheckIn-infoList .angpao_value {
	font-weight: bold;
	color: #794905;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 5px 10px;
	border-right: 1px solid rgba(154, 116, 58, 0.3);
}

.rewardCheckIn-infoList .label .value_content {
	font-family: "eventFonts", system-ui, sans-serif !important;
}

.rewardCheckIn-infoList .label .value_content.tcn {
	font-family: "Noto Sans TC", system-ui, sans-serif !important;
}

.rewardCheckIn-infoList .label,
.rewardCheckIn-infoList .value {
	padding: 5px 10px 5px 10px;
	display: flex;
	align-items: center;
}

.rewardCheckIn-infoList .value {
	display: flex;
	justify-content: flex-start;
	justify-items: center;
	align-items: center;
	gap: 30px;
}

.rewardCheckIn-infoList .value {
	justify-content: flex-start;
}

.rewardCheckIn-infoList .value.mat{
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
}

.rewardCheckIn-infoList .value.mat p {
	display: flex;
	gap: 30px;
	align-items: center;
}

.rewardCheckIn-infoList .value .value_content {
	/*margin: 0 auto;*/
	font-family: "eventFonts", system-ui, sans-serif !important;
	color: #794905;
}

.rewardCheckIn-infoList .value .value_content.tcn {
	font-family: "Noto Sans TC", system-ui, sans-serif !important;
}

.rewardCheckIn-infoList .value .value_content,
.value_amount {
	font-size: 0.85rem;
}

.rewardCheckIn-infoList .value .value_content.angpao_amount {
	margin: 0 auto;
}

.rewardCheckIn-infoList .game_logo {
	width: 80px;
	height: 80px;
	object-fit: contain;
	display: inline-block;
	vertical-align: middle;
}

.game_logoWish {
	width: 80px;
	height: 80px;
	object-fit: contain;
	display: inline-block;
	vertical-align: middle;
}

.rewardCheckIn-infoList .gameReward_img {
	width: 50px;
	height: 50px;
	object-fit: contain;
	display: inline-block;
	vertical-align: middle;
}

@media (max-width: 991px) {
	.rewardModal_info {
		width: 90%;
	}
	
	.collapse-item.active .collapse-content {
		max-height: 1000px; 
		padding-bottom: 12px;
	}
	
	.rewardCheckIn-infoList .value {
		flex-direction: column;
		gap: 5px;
	}
	
	.rewardCheckIn-infoList .value .value_content,
	.value_amount {
		font-size: 0.6rem;
		text-align: center;
	}
	
	.rewardCheckIn-infoList .label .value_content,
	.rewardCheckIn-infoList .label .value_content.tcn {
		font-size: 0.7rem;
	}
	
	.rewardCheckIn-infoList .info-row {
		grid-template-columns: 140px 1fr;
	}
	
	.rewardCheckIn-infoList .value.mat {
		align-items: center;
	}
	
	.rewardCheckIn-infoList .value.mat p{
		flex-direction: column;
		gap: 5px;
	}
	
	.infoList_measure.angpao_measure {
		margin: 0
	}
	
	.rewardCheckIn-infoList .info-row.angpao_info {
		grid-template-columns: 120px 1fr;
	}
}


/*---------------------------------------
   Event Part ( AngPao)
-----------------------------------------*/
.bg_angpaoRain {
	background: url('../img/event_cny/angpao-rain/angpao_bg.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	min-height: 100vh;
	position: relative;
	overflow: hidden;
}

.tncAngpaoModal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
	z-index: 1000;
}

.tncAngpaoModal_bg {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}

.tncAngpaoModal_content {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 0;
	transform: scale(0.95);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.tncAngpaoModal_content.show {
	opacity: 1;
	transform: scale(1);
	z-index: 5;
}

.tncAngpaoBg_img {
	max-width: 80%;   
	max-height: 80%;  
	position: relative;
	z-index: 2;
}

.tncAngpaoModal_overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(21, 2, 0, 0.5);
	z-index: 1;
}

.angpawReward_title {
	font-family: "eventFonts", system-ui, sans-serif !important;
	color: #FFFFFF;
	font-size: 1.2rem;
	text-align: center;
	letter-spacing: 5.8px;
	z-index: 5;
	position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-80%, -500%);
	cursor: pointer;
}

.angpawReward_title:hover {
	text-decoration: underline;
}

.angpawReward_title.tcn {
	font-family: "Noto Sans TC", system-ui, sans-serif !important;
}

.angpawReward_title.en {
	font-family: "eventFonts", system-ui, sans-serif !important;
	letter-spacing: 0;
}

.modal_angpaoEvent {
	background:  url('../img/event_cny/angpao-rain/btn_angpaoEvent.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	width: 200px;
	height: 50px;
	cursor: pointer;
	z-index: 5;
	font-family: "eventFonts", system-ui, sans-serif !important;
	color: #ffffff;
	font-size: 1.5rem;
	position: relative;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
}

.modal_angpaoEvent:hover {
	transform: scale(0.85);
}

.modal_angpaoEvent.tcn {
	font-family: "Noto Sans TC", system-ui, sans-serif !important;
}

@media (max-width: 1600px){
	.angpawReward_title {
		transform: translate(-80%, -200%);
	}
}

@media (max-width: 768px){	
	.tncAngpaoBg_img {
		width: 100%;
        height: 60vh;
        max-width: none;
        max-height: none;
        object-fit: cover;
	}
	
	.tncAngpao_title {
		font-size: 1.2rem;
	}
	
	.modal_angpaoEvent {
		width: 150px;
		font-size: 1rem;
	}
	
	.angpawReward_title {
		transform: translate(-50%, -300%);
		font-size: 0.85rem;
	}
}


/*---------------------------------------
   Event Part ( AngPao - Games)
-----------------------------------------*/
.angpaoGameModal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
	z-index: 2000;
}

.angpaoGameModal_content {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.angpaoGameModal_bg {
	background: url('../img/event_cny/angpao-rain/angpaoGame_bg.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	width: 80%;
	max-width: 1000px;
	aspect-ratio: 1000 / 1018;
	position: relative;
	z-index: 2;
}

.angpaoGameModal_bg.tcn {
	background: url('../img/event_cny/angpao-rain/angpaoGame_bg-tcn.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	left: 0;
    transform: translateX(5px);
	/*max-width: 1018px;*/
}

.angpaoGameModal_bg.en {
	background: url('../img/event_cny/angpao-rain/angpaoGame_bg-en.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	left: 0;
    transform: translateX(5px);
}

.angpaoGame_open {
	all: unset;
	background: url('../img/event_cny/angpao-rain/angpaoGame_open.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-80%, 50%);
	width: clamp(100px, 30%, 100px);
	aspect-ratio: 1/1;
	z-index: 2;
	cursor: pointer;
	box-shadow: 0 0 20px 10px rgba(255, 223, 0, 0.6);
	border-radius: 50%; /* 如果是圆形红包，加圆角 */
	transition: box-shadow 0.3s ease-in-out;
}

.angpaoGame_open::before {
	content: '';
	position: absolute;
	inset: 50%;
	transform: translate(-50%, -50%);
	width: 120%;
	height: 120%;
	background: radial-gradient(circle, rgba(255,223,0,0.6) 0%, rgba(255,223,0,0) 70%);
	border-radius: 50%;
	z-index: -1;
	filter: blur(10px);
	animation: pulse 1.5s infinite;
}

@keyframes pulse {
	0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
	50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.9; }
}

.angpaoRain {
	position: fixed;
	top: 0;
	left: 0;
	width: 1920px;
	height: 1080px;
	object-fit: cover;
	z-index: -1;
	background: url("img/event_cny/angpao-rain/angpao_rain.gif") center center / cover no-repeat;
}

.angpao {
	position: absolute;
	top: 0; 
	will-change: transform;
	animation-timing-function: linear;
}

@keyframes angpaoFall {
	from {
		transform: translateY(-200px);
	}
	to {
		transform: translateY(120vh);
	}
}

.angpaoGame_open {
	position: absolute;
	z-index: 3;
	cursor: pointer;
	animation: heartbeat 1s infinite;
	transform-origin: center center;
}

/* 心跳关键帧 */
@keyframes heartbeat {
	0% {
		transform: translate(-80%, 50%) scale(1);
	}
	50% {
		transform: translate(-80%, 50%) scale(1.2);
	}
	100% {
		transform: translate(-80%, 50%) scale(1);
	}
}

.angpaoGame_open.tcn,
.angpaoGame_open.en {
	/*animation: heartbeat2 1s infinite;*/
}

@keyframes heartbeat2 {
	0% {
		transform: translate(50%, 50%) scale(1);
	}
	50% {
		transform: translate(50%, 50%) scale(1.2);
	}
	100% {
		transform: translate(50%, 50%) scale(1);
	}
}

.angpaoGameModal_overlay {
	position: absolute;
	inset: 0;
	background: rgba(21, 2, 0, 0.5);
	z-index: 1;
}

.angpaoGameModal_overlay,
.angpaoGameResultModal_overlay {
	pointer-events: none;
}

@media (max-width: 768px){
	.angpaoGameModal_bg {
		width: 100%;
		max-width: 1000px;
		aspect-ratio: 1000 / 5000;
	}
	
	.angpaoGame_open {
		transform: translate(-75%, 27%);
		width: clamp(40px, 30%, 40px);
	}
}


/*---------------------------------------
   Event Part ( AngPao - Games Result)
-----------------------------------------*/
.angpaoGameResultModal {
	position: fixed;
	inset: 0;
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 3000;
}

.angpaoGameResultModal_content {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 2;
}

.angpaoGameResultModal_bg {
	position: relative;
	background: url('../img/event_cny/angpao-rain/angpaoGameResult_bg.png') center / contain no-repeat;
	width: 80%;
	max-width: 1000px;
	aspect-ratio: 1000 / 1018;
	z-index: 3;
}

.anpaoGameResultGlow_wrapper {
	position: absolute;
	inset: 0; /* 或者你想放到某个区域就设置 top/left/width/height */
	width: 800px;  /* 控制圆的大小 */
	height: 800px;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -35%);
	border-radius: 50%;  /* 圆形遮罩 */
	overflow: hidden;
	z-index: 2;
}

.angpaoGameResultGlow {
	position: absolute;
	inset: 0;
	background: url('../img/event_cny/angpao-rain/angpaoGameResult_reflection.png') center / contain no-repeat;
	animation: rotateGlow 4s linear infinite;
	pointer-events: none;
	width: 100%;
	height: 100%;
	display: block; 
	z-index: 1;
}

.angpaoGameResultGlow::after {
	content: "";
	position: absolute;
	inset: 0;
	display: block; 
	background: radial-gradient(circle, rgb(255 241 235 / 100%) 10%, transparent 50%);
	animation: pulseGlow 2s ease-in-out infinite alternate;
	border-radius: 50%;
	pointer-events: none;
	width: 100%;
	height: 100%;
	z-index: 2; 
}

@keyframes rotateGlow {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

@keyframes pulseGlow {
	from { transform: scale(0.9); opacity: 0.3; }
	to { transform: scale(1.1); opacity: 0.6; }
}

#angpaoGameResultText {
	position: relative;
	z-index: 4;
	font-size: 4rem;
	top: 50%;
	left: 50%;
	transform: translate(-324px, -299px) rotate(-3deg);
	background: linear-gradient(180deg, #fcf2bd 0%, #ffffff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	font-family: "sourceSansHan", system-ui, sans-serif !important;
	font-weight: 900;
	color: transparent;
}

#angpaoGameResultText.angpaoGameResultText.en {
	font-size: 3rem;
}

#angpaoGameResultClose {
	background: url('../img/event_cny/angpao-rain/angpaoGameResult_btnClose.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	width: 80%;
	max-width: 265px;
	aspect-ratio: 265 / 90;
	position: absolute;
	bottom: 15%;          /* 👈 距离底部 */
	left: 50%;
	transform: translateX(-50%);
	z-index: 5;
	cursor: pointer;
}

#angpaoGameResultClose .angpaoGameResultClose {
	display: flex;
	align-items: center;
	justify-content: center;
	transform: translateY(18px);
	text-align: center;
	font-family: "sourceSansHan", system-ui, sans-serif !important;
	font-size: 1.5rem;
	font-weight: 700;
	color: #650000;
	pointer-events: none;
}

#angpaoGameResultClose .angpaoGameResultClose.en {
	font-size: 1.05rem;
	transform: translateY(25px);
}

.angpaoGameResult_container {
	position: absolute;
	top: 50%;          /* 👈 距离底部 */
	left: 50%;
	transform: translateX(-50%);
	z-index: 5;
	padding: 0 50px;
}

.angpaoGameResult_symbol {
	font-size: 2rem;
}

.angpaoGameResult_Amount {
	font-size: 6.5rem;
}

.angpaoGameResult_Amount.win,
.angpaoGameResult_symbol.win {
	font-family: "sourceSansHan", system-ui, sans-serif !important;
	font-weight: 700;
	color: #ffffff;
}

.angpaoGameResult_Amount.lose,
.angpaoGameResult_symbol.lose {
	font-family: "eventFont2", system-ui, sans-serif !important;
	font-weight: 400;
	color: #ffffff;
	font-size: 4.5rem;
	text-align: center;
	display: flex;
	line-height: 1.5;
	text-shadow: 1px 1px 0 #ffffff, 2px 2px 0 #ffffff, -7px -2px 2px rgb(187 20 0 / 50%), -2px -2px 3px rgb(187 20 0 / 50%), 4px 4px 6px rgb(187 20 0 / 60%);
}

.angpaoGameResult_Amount.tcn.lose,
.angpaoGameResult_symbol.tcn.lose,
.angpaoGameResult_Amount.en.lose,
.angpaoGameResult_symbol.en.lose {
	font-family: "Noto Sans TC", system-ui, sans-serif !important;
	text-shadow: none;
}

.angpaoGameResult_Amount.en.lose,
.angpaoGameResult_symbol.en.lose {
	font-size: 1rem;
	text-shadow: none;
}

.angpaoGameResultModal_overlay {
	position: absolute;
	inset: 0;
	background: rgba(21, 2, 0, 0.5);
	z-index: 1;
}

@media (max-width: 1600px) {
	.angpaoGameResultModal_bg {
		aspect-ratio: 1252 / 1018;
	}
	
	.angpaoGameResult_container {
		padding: 0 80px;
		transform: translate(-50%, -30%);
	}
	.angpaoGameResult_Amount.win,
	.angpaoGameResult_symbol.win {
		transform: translateY(-50px);
	}
	
	.angpaoGameResult_Amount.lose,
	.angpaoGameResult_symbol.lose {
		font-size: 4rem;
		transform: translateY(-50px);
		text-shadow: none;
	}
}

@media (max-width: 768px) {
	.angpaoGameResultModal_bg {
		width: 100%;
		max-width: 2018px;
		aspect-ratio: 2020 / 7032;
	}
	
	#angpaoGameResultText {
		font-size: 2rem;
		transform: translate(-44%, -409%) rotate(-3deg);
	}
	
	.angpaoGameResult_container {
		padding: 0 15px;
	}
	
	.angpaoGameResult_symbol {
		font-size: 1rem;
	}
	
	.angpaoGameResult_Amount {
		font-size: 3.5rem;
	}
	
	.angpaoGameResult_Amount.lose,
	.angpaoGameResult_symbol.lose {
		font-size: 2.5rem;
		text-shadow: none;
		transform: translateY(-30px);
	}
	
	.anpaoGameResultGlow_wrapper {
		transform: translate(-35%, -35%);
	}
	
	.angpaoGameResultGlow {
		width: 80%;
		height: 80%;
	}
	
	#angpaoGameResultClose {
		max-width: 176px;
		bottom: 36%;
	}
	
	#angpaoGameResultClose .angpaoGameResultClose {
		font-size: 1rem;
		transform: translateY(7px);
	}
	
	#angpaoGameResultClose .angpaoGameResultClose.en {
		font-size: 0.85rem;
		transform: translateY(14px);
	}
}


/*---------------------------------------
   Event Part ( Best Wish )
-----------------------------------------*/
.bg_bestWish {
	background: url('../img/event_cny/best-wish/bestWish_bg.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	min-height: 100vh;
	position: relative;
	overflow: hidden;
}

.bestWish_char {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	pointer-events: none;
}

.bestWish_char img {
	width: 70%;
	max-width: 90vw;
	height: auto;
} 

.bg_bestWishDeco {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	z-index: 6;
	pointer-events: none;
}

.bestWish_title {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -70%);
	z-index: 6;
	pointer-events: none;
}

.bestWish_title.tcn {
	width: 100%;
	max-width: 600px;
}

.bestWish_chatBox {
	position: fixed;
	bottom: 80px;
	left: 50%;
	transform: translateX(-50%);
	width: calc(100% - 32px);
	max-width: 480px;
	display: flex;
	align-items: flex-end;
	gap: 10px;
	padding: 10px 12px;
	z-index: 20;
}

.bestWish_chatBox textarea {
	flex: 1;
	border: none;
	outline: none;
	resize: none;
	font-size: 15px;
	line-height: 1.4;
	max-height: 100px;
	padding: 8px 10px;
	border-radius: 50px;
	background: #f2f2f2;
	opacity: 0.8;
}

.bestWish_send {
	background: #FF8D9D;
	border-radius: 50px;
	width: 100px;
	font-family: "eventFont2", system-ui, sans-serif !important;
	font-size: 18px;
	letter-spacing: 5.5px;
	color: #ffffff;
	line-height: 1.4;
	max-height: 100px;
	padding: 5px 10px;
}

.bestWish_send.tcn {
	font-family: "Noto Sans TC", system-ui, sans-serif !important;
}

.bestWish_send.en {
	letter-spacing: 0;
}

.bestWish_sky {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 8;
	overflow: hidden;
}

/* 烟花效果样式 */
.wish_text {
	position: absolute;
	padding: 10px 18px;
	font-size: 16px;
	color: #ffebb5;
	font-weight: 600;
	white-space: nowrap;
	opacity: 0;
	animation: textFadeIn 600ms ease forwards, textStay 10s linear forwards;
	z-index: 9999;
	border-radius: 20px;
	text-shadow: 0 0 10px currentColor;
	transform: translate(-50%, -100%);
	top: 10px;
	pointer-events: none;
	max-width: 250px;
	text-align: center;
	background: rgba(0, 0, 0, 0.2);
	backdrop-filter: blur(3px);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.wish_text_top {
	position: fixed;
	top: 10%;
	left: 50%;
	transform: translateX(-50%);
	z-index: 9999;
}

@keyframes textFadeIn {
	to {
		opacity: 1;
	}
}

@keyframes textStay {
		0% {}
		90% { opacity: 1; }
		100% { opacity: 0; }
}

.wish_text.rising {
	animation: textRise 8s ease-in-out forwards;
}

.wish-texts-container {
	position: fixed;
	top: 10px;
	left: 0;
	right: 0;
	z-index: 9999;
	pointer-events: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 0 20px;
}

@keyframes textRise {
    0% {
        opacity: 0;
        transform: translate(-50%, 30px);
    }
    15% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    85% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -30px);
    }
}

.wish_text.system-wish {
	color: #FFD700 !important;
}

.wish_text.user-wish.color-1 {
    color: #FF6B6B !important; /* 红色 */
}
.wish_text.user-wish.color-2 {
    color: #4ECDC4 !important; /* 青色 */
}
.wish_text.user-wish.color-3 {
    color: #FFD166 !important; /* 黄色 */
}
.wish_text.user-wish.color-4 {
    color: #06D6A0 !important; /* 绿色 */
}
.wish_text.user-wish.color-5 {
    color: #118AB2 !important; /* 蓝色 */
}
.wish_text.user-wish.color-6 {
    color: #9D4EDD !important; /* 紫色 */
}
.wish_text.user-wish.color-7 {
    color: #FF9E6D !important; /* 橙色 */
}
.wish_text.user-wish.color-8 {
    color: #F15BB5 !important; /* 粉色 */
}

.wish_text.user-wish {
	box-shadow: 0 0 15px currentColor;
	animation: textFadeIn 600ms ease forwards, 
			   textStay 10s linear forwards,
			   colorGlow 2s ease-in-out infinite alternate;
}

@keyframes colorGlow {
	from {
        box-shadow: 0 0 10px currentColor;
        text-shadow: 0 0 10px currentColor, 0 0 20px rgba(255, 255, 255, 0.3);
    }
    to {
        box-shadow: 0 0 20px currentColor;
        text-shadow: 0 0 15px currentColor, 0 0 30px rgba(255, 255, 255, 0.5);
    }
}

/* 如果有表情符号，调整一下 */
.wish_text::before {
	content: '';
	font-size: 1.2em;
}

.wish_text.system-wish::before {
	content: '✨ ';
}

.firework {
	position: absolute;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: gold;
	box-shadow: 0 0 10px currentColor;
	animation: fireworkExplode 1000ms ease-out forwards;
	z-index: 10;
}

@keyframes fireworkExplode {
	0% {
		transform: translate(0, 0) scale(1);
		opacity: 1;
	}
	100% {
		transform: translate(var(--x), var(--y)) scale(0);
		opacity: 0;
	}
}

.firework_rocket {
	position: absolute;
	width: 6px;
	height: 18px;
	background: linear-gradient(to top, #ffeb3b, #ff5722);
	border-radius: 3px;
	box-shadow: 0 0 15px rgba(255, 200, 0, 0.9), 0 0 30px rgba(255, 100, 0, 0.6);
	animation: rocketFly 1200ms cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
	z-index: 9;
	transform-origin: center bottom;
}

@keyframes rocketFly {
	0% {
		transform: translateY(0) scale(1) rotate(0deg);
		opacity: 1;
		filter: brightness(1) blur(0);
	}
	30% {
		transform: translateY(calc(var(--flyY) * 0.3)) scale(1.1) rotate(0deg);
		filter: brightness(1.5) blur(0);
	}
	100% {
		transform: translateY(var(--flyY)) scale(0.8) rotate(5deg);
		opacity: 0;
		filter: brightness(0.5) blur(1px);
	}
}

@media (max-width: 480px) {
    .wish_text_top {
        font-size: 13px !important;
        padding: 5px 8px !important;
        max-width: 160px !important;
        border-radius: 15px !important;
        margin: 3px !important;
        line-height: 1.3 !important;
    }
}

@media (max-width: 768px) and (min-width: 481px) {
    .wish_text_top {     
        font-size: 14px !important;
        padding: 6px 10px !important;
        max-width: 180px !important;
        border-radius: 18px !important;
        margin: 4px !important;
        line-height: 1.4 !important;
    }
	
	@keyframes textRise {
		0% {
			opacity: 0;
			transform: translateY(20px);
		}
		15% {
			opacity: 1;
			transform: translateY(0);
		}
		85% {
			opacity: 1;
			transform: translateY(0);
		}
		100% {
			opacity: 0;
			transform: translateY(-20px);
		}
	}
}

/* 超小屏幕特殊处理 */
@media (max-width: 360px) {
    .wish_text_top {
        font-size: 12px !important;
        padding: 4px 6px !important;
        max-width: 140px !important;
        border-radius: 12px !important;
        margin: 2px !important;
    }
}

/* ========== GIF孔明灯样式 ========== */
.lantern_gif_container {
	position: absolute;
    pointer-events: none;
    will-change: transform, opacity;
    transform-origin: center center;
}

/* 确保动画正常工作 */
@keyframes lanternGifFloat {
	 0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.8;
    }
    100% {
        transform: translate(var(--drift-x, 0), var(--drift-y, -500px)) rotate(5deg);
        opacity: 0;
    }
}

@keyframes lanternGifSwing {
	0% {
		transform: translate(var(--drift-x, 0), var(--drift-y, -500px)) rotate(-8deg);
	}
	100% {
		transform: translate(var(--drift-x, 0), var(--drift-y, -500px)) rotate(8deg);
	}
}

.lantern_gif {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
	animation: gifFloat 4s ease-in-out infinite alternate;
	background-color: transparent;
}

@keyframes gifFloat {
	0% {
		transform: translateY(0) rotate(-3deg) scale(1);
	}
	50% {
		transform: translateY(-15px) rotate(0deg) scale(1.05);
	}
	100% {
		transform: translateY(0) rotate(3deg) scale(1);
	}
}

/* 备用样式：如果GIF加载失败，显示这个 */
.lantern_gif:not([src]), 
.lantern_gif[src=""],
.lantern_gif[src*="undefined"] {
	background: radial-gradient(circle, 
		rgba(255, 255, 200, 0.9) 0%,
		rgba(255, 250, 180, 0.7) 30%,
		rgba(255, 245, 160, 0.4) 70%,
		transparent 100%);
	border-radius: 50%;
	box-shadow: 
		inset 0 0 20px rgba(255, 250, 200, 0.8),
		0 0 30px rgba(255, 250, 200, 0.6);
}

/* CSS替代孔明灯样式 */
.css_lantern_body {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: radial-gradient(ellipse at center, 
		rgba(255, 245, 230, 0.95) 0%,
		rgba(255, 240, 210, 0.85) 50%,
		rgba(255, 235, 190, 0.7) 100%);
	border-radius: 50% 50% 40% 40%;
	box-shadow: 
		inset 0 0 40px rgba(255, 245, 230, 0.9),
		0 0 35px rgba(255, 245, 230, 0.7);
}

.css_lantern_light {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 20%;
	left: 20%;
	background: radial-gradient(circle, 
		rgba(255, 255, 200, 0.9) 0%,
		rgba(255, 250, 180, 0.6) 40%,
		rgba(255, 245, 160, 0.3) 70%,
		transparent 100%);
	border-radius: 50%;
	box-shadow: 
		inset 0 0 30px rgba(255, 250, 200, 0.8),
		0 0 40px rgba(255, 250, 200, 0.6);
	animation: lightPulse 2s ease-in-out infinite alternate;
}

.css_lantern_bottom {
	position: absolute;
	width: 40%;
	height: 100%;
	bottom: 0;
	left: 30%;
	background: linear-gradient(to right, 
		#8b4513 0%,
		#a0522d 50%,
		#8b4513 100%);
	border-radius: 8px;
	box-shadow: 0 3px 15px rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
}

.css_lantern_flame {
	width: 12px;
	height: 25px;
	background: radial-gradient(ellipse at center,
		#ffff00 0%,
		#ffa500 30%,
		#ff4500 70%,
		transparent 100%);
	border-radius: 50% 50% 20% 20%;
	box-shadow: 
		0 0 20px #ffa500,
		0 0 30px rgba(255, 165, 0, 0.7);
	animation: flameFlicker 0.6s ease-in-out infinite alternate;
}

@keyframes lightPulse {
	from { opacity: 0.7; transform: scale(0.95); }
	to { opacity: 1; transform: scale(1.05); }
}

@keyframes flameFlicker {
	from { opacity: 0.7; transform: scaleY(0.8) scaleX(1.1); }
	to { opacity: 1; transform: scaleY(1.2) scaleX(0.9); }
}

.lantern_wish_tag {
	position: absolute;
	top: -45px;
	left: 50%;
	transform: translateX(-50%);
	color: #ffcc00;
	font-size: 16px;
	font-weight: bold;
	white-space: nowrap;
	text-shadow: 
		0 0 8px #ff6600,
		0 0 15px #ff9900,
		0 0 25px #ffcc00;
	background: rgba(0, 0, 0, 0.5);
	padding: 8px 20px;
	border-radius: 25px;
	backdrop-filter: blur(4px);
	border: 2px solid rgba(255, 204, 0, 0.5);
	animation: wishTagGlow 1.5s ease-in-out infinite alternate;
	z-index: 8;
	font-family: "楷体", "STKaiti", serif;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

@keyframes wishTagGlow {
	from {
		text-shadow: 0 0 8px #ff9900, 0 0 15px #ff9900;
		box-shadow: 0 0 15px rgba(255, 153, 0, 0.6),
					0 6px 20px rgba(0, 0, 0, 0.4);
		border-color: rgba(255, 153, 0, 0.5);
	}
	to {
		text-shadow: 0 0 15px #ffcc00, 0 0 25px #ffcc00, 0 0 40px #ff9900;
		box-shadow: 0 0 25px rgba(255, 204, 0, 0.8),
					0 6px 20px rgba(0, 0, 0, 0.4);
		border-color: rgba(255, 204, 0, 0.8);
	}
}

/* 其他已有样式（保持原样） */
@keyframes shake {
	0%, 100% { transform: translateX(0); }
	10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
	20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.rocket-trail {
	position: absolute;
	width: 3px;
	height: 30px;
	background: linear-gradient(to top, 
					rgba(255, 235, 59, 0) 0%,
					rgba(255, 235, 59, 0.8) 30%,
					rgba(255, 87, 34, 0.6) 70%,
					rgba(255, 87, 34, 0) 100%);
	border-radius: 50%;
	animation: trailFade 300ms ease-out forwards;
	z-index: 8;
}

@keyframes trailFade {
	from {
		opacity: 0.8;
		transform: translateY(0) scaleY(1);
	}
	to {
		opacity: 0;
		transform: translateY(30px) scaleY(0.3);
	}
}

/* 如果需要保留原来的CSS孔明灯样式，可以保留这些 */
.kongming_lantern {
	position: absolute;
	pointer-events: none;
	z-index: 7;
	transform-origin: center bottom;
}

@keyframes lanternFloatUp {
	0% {
		transform: translate(0, 0) scale(0.8);
		opacity: 0.8;
	}
	10% {
		transform: translate(0, -50px) scale(0.9);
		opacity: 1;
	}
	100% {
		transform: translate(var(--drift-x), var(--drift-y)) scale(1);
		opacity: 0;
	}
}

.lantern_body {
	position: relative;
	width: 100%;
	height: 70%;
	background-color: #fff5e6;
	border-radius: 50% 50% 40% 40%;
	box-shadow: 
		inset 0 0 30px rgba(255, 245, 230, 0.9),
		0 0 20px rgba(255, 245, 230, 0.7);
	overflow: hidden;
}

.lantern_light {
	position: absolute;
	width: 70%;
	height: 70%;
	top: 15%;
	left: 15%;
	border-radius: 50%;
	background: radial-gradient(circle, 
			rgba(255, 255, 220, 0.9) 0%,
			rgba(255, 250, 205, 0.7) 30%,
			rgba(255, 245, 200, 0.4) 70%,
			transparent 100%);
	box-shadow: inset 0 0 30px rgba(255, 250, 205, 0.8), 0 0 40px rgba(255, 250, 205, 0.6);
	opacity: 0.7;
}

.lantern_top {
	position: absolute;
	width: 110%;
	height: 8%;
	top: -4%;
	left: -5%;
	background: linear-gradient(to right, 
		#d2691e 0%,
		#8b4513 50%,
		#d2691e 100%);
	border-radius: 50%;
	box-shadow: 0 2px 10px rgba(139, 69, 19, 0.5);
}

.lantern_bottom {
	position: absolute;
	width: 60%;
	height: 8%;
	bottom: 0;
	left: 20%;
	background: linear-gradient(to right, 
		#8b4513 0%,
		#a0522d 50%,
		#8b4513 100%);
	border-radius: 10px 10px 5px 5px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
	display: flex;
	justify-content: center;
	align-items: center;
}

.lantern_flame {
	width: 15px;
	height: 25px;
	background: radial-gradient(ellipse at center,
		#ffff00 0%,
		#ffa500 30%,
		#ff4500 70%,
		transparent 100%);
	border-radius: 50% 50% 20% 20%;
	box-shadow: 
		0 0 20px #ffa500,
		0 0 30px rgba(255, 165, 0, 0.6);
	transform-origin: center bottom;
	transition: all 0.3s ease;
}

.lantern_wish {
	font-family: "楷体", "STKaiti", serif;
	text-shadow: 0 0 10px #ff9900;
	animation: wishGlow 2s ease-in-out infinite alternate;
}

@keyframes wishGlow {
	from {
		text-shadow: 0 0 5px #ff9900, 0 0 10px #ff9900;
	}
	to {
		text-shadow: 0 0 10px #ffcc00, 0 0 20px #ffcc00, 0 0 30px #ff9900;
	}
}

@keyframes lanternSwing {
	0% {
		transform: rotate(calc(-1 * var(--swing-amount)));
	}
	100% {
		transform: rotate(var(--swing-amount));
	}
}

.bestWish_detailContainer {
	display: flex;
	flex-direction: row;
    justify-content: space-around;
    align-items: center;
	gap: 20px;
    position: absolute;
    left: 50%;
	bottom: 0;
    transform: translate(-50%, -150%);
	z-index: 99;
}

.tncBestWish_title,
.rewardBestWish_title {
	font-family: "eventFonts", system-ui, sans-serif !important;
	color: #FFFFFF;
	font-size: 1.2rem;
	text-align: center;
	cursor: pointer;
}

.tncBestWish_title:hover,
.rewardBestWish_title:hover {
	text-decoration: underline;
	transform: scale(1.2);
}

.tncBestWish_title.tcn,
.rewardBestWish_title.tcn {
	font-family: "Noto Sans TC", system-ui, sans-serif !important;
	color: #FFFFFF;
	font-size: 1.2rem;
	text-align: center;
	cursor: pointer;
}

.tncBestWish_title.en,
.rewardBestWish_title.en {
	font-size: 1rem;
}

@media (max-width: 1200px) {
	.bestWish_title {
		transform: translate(-50%, -50%);
	}
}

@media (max-width: 768px) {
	.lantern_gif_container {
		width: 50px !important;
		height: 50px !important;
	}
	
	.lantern_wish_tag {
		font-size: 12px;
		padding: 4px 10px;
		top: -35px;
	}
	
	.bestWish_detailContainer {
		flex-direction: column;
		gap: 0;
		transform: translate(-50%, -180%)
	}
	
	.tncBestWish_title,	.rewardBestWish_title,
	.tncBestWish_title.tcn, .rewardBestWish_title.tcn,
	.tncBestWish_title.en, .rewardBestWish_title.en{
		font-size: 0.85rem;
	}
}

/* ========== Emoji ========== */
.chatbox-wrapper {
	display: flex;
	align-items: flex-end;
	gap: 10px;
	width: 100%;
}

.input-wrapper {
	flex: 1;
	position: relative;
	display: flex;
	align-items: flex-end;
}

.emoji-btn {
	background: #f2f2f2;
	border: none;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	font-size: 20px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-left: 8px;
	transition: all 0.2s;
}

.emoji-btn:hover {
	background: #e0e0e0;
	transform: scale(1.1);
}

.emoji-btn:active {
	transform: scale(0.95);
}

/* Emoji选择器容器 */
.emoji-picker {
	position: absolute;
	bottom: 100%;
	left: 0;
	width: 320px;
	height: 280px;
	background: white;
	border-radius: 12px;
	box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
	z-index: 100;
	display: none;
	flex-direction: column;
	overflow: hidden;
	margin-bottom: 10px;
	border: 1px solid #e0e0e0;
}

.emoji-picker.show {
	display: flex;
	animation: emojiSlideUp 0.2s ease-out;
}

@keyframes emojiSlideUp {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Emoji分类标签 */
.emoji-categories {
	display: flex;
	padding: 8px;
	background: #f8f9fa;
	border-bottom: 1px solid #e0e0e0;
}

.emoji-category {
	flex: 1;
	background: none;
	border: none;
	font-size: 20px;
	padding: 8px 0;
	cursor: pointer;
	border-radius: 6px;
	transition: background 0.2s;
}

.emoji-category:hover {
	background: #e9ecef;
}

.emoji-category.active {
	background: #dee2e6;
}

/* Emoji网格 */
.emoji-grid {
	flex: 1;
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	gap: 4px;
	padding: 12px;
	overflow-y: auto;
}

.emoji-item {
	font-size: 24px;
	background: none;
	border: none;
	padding: 8px;
	cursor: pointer;
	border-radius: 6px;
	transition: all 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
}

.emoji-item:hover {
	background: #f1f3f4;
	transform: scale(1.2);
}

.emoji-item:active {
	transform: scale(0.9);
}

/* 滚动条样式 */
.emoji-grid::-webkit-scrollbar {
	width: 6px;
}

.emoji-grid::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 3px;
}

.emoji-grid::-webkit-scrollbar-thumb {
	background: #c1c1c1;
	border-radius: 3px;
}

.emoji-grid::-webkit-scrollbar-thumb:hover {
	background: #a8a8a8;
}

/* 响应式调整 */
@media (max-width: 768px) {
	.emoji-picker {
		width: 280px;
		height: 240px;
		left: 50%;
		transform: translateX(-50%);
	}
	
	.emoji-grid {
		grid-template-columns: repeat(7, 1fr);
		gap: 3px;
		padding: 8px;
	}
	
	.emoji-item {
		font-size: 20px;
		padding: 6px;
	}
}

@media (max-width: 480px) {
	.emoji-picker {
		width: 260px;
		height: 220px;
	}
	
	.emoji-grid {
		grid-template-columns: repeat(6, 1fr);
	}
}