html {
	margin: 0 auto;
	background: #ced3d9;
	font-size: 100PX;
}

* {
	max-width: 750px;
	margin: 0 auto;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, Segoe UI, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Helvetica Neue, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
	font-variant: tabular-nums;
	background: #fff;
	min-height: 100vh;
	margin: 0 auto;
}

img {
	width: 100%;
}

.hidden {
	width: 0;
}

.header {
	width: 100%;
	height: 1.26rem;
	background: #19232c;
	border-bottom: solid 1px #1e2730;
	box-sizing: border-box;
	margin: 0 auto;
	padding: .1rem .3rem;
	z-index: 99999;
	position: fixed;
    top: 0;
	display: flex;
	justify-content: space-around;
	align-items: center;
}

.header .logo {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 auto;
	box-sizing: border-box;
	padding: 0 2%;
}

.logo img {
	width: 38%;
	margin: 0;
}

.header .lbtn {
	height: auto;
	display: flex;
	align-items: center;
}

.header .rbtn {
	height: auto;
	display: flex;
	align-items: center;
}	

.lbtn img {
	width: .6rem;
	height: .6rem;
}

.rbtn img {
	width: .6rem;
	height: .6rem;
}

.logo a {
	display: flex;
	padding: .15rem .4rem;
	border-radius: 0.5rem;
	text-align: center;
	color: #fff;
	border: 1px solid #4a5b68;
	font-size: .38rem;
	margin: 0;
}

.logo #closetc {
	width: .4rem;
	height: .4rem;
	background: url(../img/icon_close.png) no-repeat top center;
	background-size: 100% auto;
	margin-right: .2rem;
	z-index: 999;
	display: none;
}

.part1 {
	width: 100%;
	box-sizing: border-box;
	padding: 0 .3rem;
	background-color: #fff;
	border-radius: .3rem .3rem 0 0;
	position: relative;
	top: -.26rem;
	z-index: 99;
}

.part_title {
	color: #19232c;
	font-size: .44rem;
	line-height: .58rem;
	width: 100%;
	text-align: center;
	font-weight: 700;
	padding: .34rem 0;
}

.randompart {
	background-color: #f0f3f7;
	border-radius: .3rem;
	padding: .18rem .2rem;
	display: flex;
	justify-content: space-around;
	margin-bottom: .2rem;
}

.rand1,
.rand2 {
	width: 50%;
	position: relative;
	margin: 0;
	display: flex;
	justify-content: space-evenly;
	align-items: center;
}

.r_left,
.r_right {
	margin: 0;
}

.randompart span.randnum {
	color: #44be4c;
	font-size: .48rem;
	font-weight: bold;
	margin: 0;
	margin-left: -0.06rem;
}

.randompart img {
	width: 18%;
	margin: 0;
}

.randompart span.rantitle {
	color: #6c7381;
	font-size: .36rem;
	margin: 0;
}

.randompart .r_right {
	display: flex;
	flex-direction: column;
}

/* 幻灯片相关 */
.swiper-container.banner {
	width: 100%;
	margin: 0 auto;
	position: relative;
	overflow: hidden;
	z-index: 1;
	background: #000;
	padding-top: 1.26rem;
}

.swiper-container.banner .swiper-slide {
	-webkit-flex-shrink: 0;
	-ms-flex: 0 0 auto;
	flex-shrink: 0;
	width: 100%;
	height: 100%;
	position: relative;
}

.swiper-container.banner .swiper-slide img {
	display: block;
	width: 100%;
}

.swiper-container.banner .swiper-slide video {
	display: block;
	width: 100%;
}

.swiper-container.banner .swiper-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
	z-index: 1;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-transition-property: -webkit-transform;
	-moz-transition-property: -moz-transform;
	-o-transition-property: -o-transform;
	-ms-transition-property: -ms-transform;
	transition-property: transform;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box
}

.swiper-container.banner .swiper-pagination {
	position: absolute;
	text-align: center;
	/* 	-webkit-transition: .3s;
	-moz-transition: .3s;
	-o-transition: .3s;
 	transition: .3s; */
	-webkit-transform: translate3d(0, 0, 0);
	-ms-transform: translate3d(0, 0, 0);
	-o-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	z-index: 10;
	bottom: 0.1rem;
	width: 100%
}


.tabmenu {
	width: 100%;
	display: flex;
	box-sizing: border-box;
	margin: 0 auto;
	background-color: #f2f2f2;
}

.tabmenu li {
	width: 100%;
	/* background-color: #999; */
	padding: .22rem;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.tabmenu li.current {
	/* background-color: #ccc; */

}

.tabmenu li img {
	height: .68rem;
	width: auto;
}

.tabmenu li p {
	font-size: .46rem;
	color: #999;
	text-align: center;
	font-weight: bold;
}

.tabmenu li.current p {
	color: #666;
}

.tip_container {
	width: 100%;
	box-sizing: border-box;
	padding: .5rem .3rem .5rem;
	background-color: #f0f3f7;
	margin: 0 auto;
	color: #19232c;
}

.tip_container h1 {
	text-align: center;
	font-size: .46rem;
	font-weight: bold;
	padding: 0 1.24rem .3rem;
}

.tip_container .links {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.26rem .3rem;
}

.tip_box {
	padding: .4rem .32rem;
	box-sizing: border-box;
	width: 100%;
	background-color: #fff;
	border-radius: .2rem;
	position: relative;
	margin-bottom: .2rem;
}

.tip_box .tiplogo {
	font-size: .5rem;
	width: 1rem;
	height: 1rem;
	background: url(../img/ribbon.png) no-repeat top center;
	background-size: contain;
	text-align: center;
	color: #fff;
	font-weight: bold;
	position: absolute;
	top: -.07rem;
}

.tip_box h1 {
	font-size: .38rem;
	font-weight: bold;
}

.tip_box p {
	color: #4a5b68;
	font-size: .34rem;
	text-align: justify;
	line-height: .54rem;
}

.tip_box p span {
	color: #44be4c;
	font-weight: bold;
}

.guide_video {
	width: 100%;
	box-sizing: border-box;
	padding: .2rem .3rem;
	background-color: #fff;
	margin: 0 auto;
	color: #19232c;
}

.guide_video .video_box {
	width: 100%;
	/* border-top: .02rem solid #d5dde3; */
	margin: 0 auto;
}

.video_box iframe {
	width: 100%;
	padding-bottom: .6rem;
	padding-top: .4rem;
	min-height: 4rem;
}

/* 音频控制按钮样式 */
.mute-control {
    position: absolute;
    bottom: .6rem;
    right: .6rem;
    width: .6rem;
    height: .6rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.mute-control img {
    width: .4rem;
    height: .4rem;
    position: absolute;
}

.banner .swiper-slide {
    position: relative;
}

.banner .swiper-slide {
    position: relative;
}

.guide_video h1 {
	font-weight: bold;
	font-size: .46rem;
	color: #19232c;
	text-align: center;
	padding: .3rem 0;
}

.guide_video p {
	padding: .1rem 0;
	font-size: .34rem;
	line-height: .54rem;
	font-weight: 400;
	color: #19232c;
}

.guide_video p span {
	color: #44be4c;
	font-weight: bold;
}

.tab_con {
	width: 100%;
	box-sizing: border-box;
	padding: .2rem .3rem 0;
	background-color: #f0f3f7;
	margin: 0 auto;
	color: #19232c;
}

.tab_con h1 {
	text-align: center;
	font-size: .46rem;
	font-weight: bold;
	padding: .3rem;
}

.item {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.weblist {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.weblist li {
	width: 100%;
	margin-bottom: .2rem;
	margin: 0 auto;
	position: relative;
	display: flex;
	justify-content: space-between;
	padding: .15rem 0;
	align-items: center;
}

.weblist li img {
	width: 16%;
	border-radius: .2rem;
	display: block;
	margin: 0 .2rem 0 .1rem;
}

.weblist .ranktitle {
	font-size: .42rem;
	font-weight: 700;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 1rem;
	height: 1rem;
	line-height: 1rem;
	margin: 0;
	padding: 0;
	font-family: Arial, Helvetica, sans-serif;
	color: #999;
}

.weblist li:nth-child(1) span.ranktitle {
	color: #ff280b;
}

.weblist li:nth-child(2) span.ranktitle {
	color: #22a300;
}

.weblist li:nth-child(3) span.ranktitle {
	color: #0097ff;
}

.weblist .gametitle {
	font-size: .46rem;
	line-height: .54rem;
	color: #19232c;
	font-weight: 600;
	margin: 0;
}

span.gamedetail {
	font-size: .34rem;
	color: #6c7381;
	margin: 0;
}

.weblist li p {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	align-content: flex-start;
	text-align: left;
	width: 60%;
}

.weblist a.weblink {
	display: block;
	border-radius: .14rem;
	background-color: #44be4c;
	padding: .16rem .24rem;
	color: #fff;
	text-align: center;
	font-size: .36rem;
	margin: 0;
	margin-left: .2rem;
}

.weblist a.weblink:hover {
	background-color: #b3b3b3;
}

.item-icon img {
	width: 100%;
	border-radius: .2rem;
}

.menulist {
	list-style: none;
}

.menulist li img {
	width: 100%;
	border-radius: .2rem;
	position: relative;

}

.menulist p {
	text-align: center;
	color: #fff;
	font-size: .3rem;
	background-color: rgba(0, 0, 0, .8);
	border-radius: 0 0 .2rem .2rem;
	line-height: .6rem;
	height: .68rem;
	position: absolute;
	bottom: 0;
	width: 100%;
}

.menulist {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
}

.menulist li {
	margin-right: .2rem;
	width: calc((100% - .2rem) / 2);
	margin-bottom: .2rem;
	position: relative;
}

.menulist li a {
	display: flex;
	flex-direction: column;
}

.menulist li:nth-child(2n) {
	margin-right: 0;
}

.menulist:after {
	content: "";
	flex: auto;
}

.jogo .menulist span {
	width: 60%;
	display: none;
	color: #000;
	background-color: rgba(45, 227, 112, 0.9);
	opacity: .9;
	height: .6rem;
	border-radius: .3rem;
	text-align: center;
	line-height: .54rem;
	position: absolute;
	top: 40%;
	left: 20%;
	font-size: .34rem;
}

.jogo .menulist li:hover span {
	display: block;
}

.jogo {

	justify-content: space-between
}

.service_part {
	width: 100%;
}

.service_part h1 {
	color: #19232c;
	font-size: .5rem;
	text-align: center;
	font-weight: bold;
	padding: .5rem 0 0;
}

.service_part p {
	font-size: .34rem;
	color: #585f64;
	width: 92%;
	text-align: justify;
	margin: .3rem auto;
}

.grid-container {
	display: grid;
	width: 90%;
	margin: 0 auto;
	grid-template-columns: repeat(2, 1fr);
	/* 创建两列，每列宽度相等 */
	grid-template-rows: repeat(2, 1fr);
	/* 创建两行，每行高度相等 */

}

.grid-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	border-right: 1px solid #d5dde3;
	border-top: 1px solid #d5dde3;

	&:nth-child(2n) {
		border-right: 0 none;
	}

	&:nth-child(-n + 2) {
		border-top: 0 none;
	}

}

.grid-item img {
	width: .51rem;
	height: auto;
	padding-top: .2rem;
}

.grid-item .digt {
	color: #5d5d5d;
	font-size: .4rem;
	font-weight: bold;
}

.grid-item .dest {
	color: #5d5d5d;
	font-size: .32rem;
	padding-bottom: .6rem;
}

.footer {
	text-align: center;
	overflow: hidden;
	z-index: 199;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	align-items: center;
	width: 100%;
	max-width: 750px;
	background-color: #19232c;
	padding: .5rem 0 1.8rem;
}

.footer .p1 {
	color: #c8d0d7;
	width: 92%;
}

.footer .footer_img {
	width: 90%;
	margin: .4rem auto;
	text-align: center;

}

.footer .footer_img img {
	width: 100%;
}

.p1 p {
	text-align: justify;
}

.footer .p2 {
	height: 1rem;
	text-align: center;
	font-size: .3rem;
	color: #808d96;
	border-top: solid 1px #4a5b68;
	width: 92%;
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
}

.footer p {
	font-size: .32rem;
	line-height: 1.5;
}

.footer a {
	display: flex;
	flex-direction: column;
	margin: 0 !important;
}

.footer .p1 span {
	color: #ffa70f;

}

.investment {
	margin: 0 auto;
	width: 100%;
	font-size: .34rem;
	line-height: .5rem;
	color: #999;
	font-weight: 500;
	padding: .2rem .2rem .4rem;
	border-bottom: solid 1px #ccc;
}

.investment p a {
	color: #fff;
	text-decoration: none;
	background: #23b0f9;
	border-radius: .08rem;
	padding: 0 .16rem;
}

.investment p a:hover {
	color: #ff0;
}

.investment p.instt {
	font-size: .36rem;
	font-weight: 700;
	color: #f00;
}

.bottom {
	padding: .45rem 0 0;
	width: 100%;
	text-align: center;
	box-sizing: border-box;
}

.bottom img {
	width: 92%;
}

p.ft {
	text-align: center;
	font-size: 0.26rem;
	color: #999;
	height: 1rem;
	line-height: 1rem;
}

.info_content {
	width: 100%;
	/* background-color: #262626; */
	margin: 0 auto;
	box-sizing: border-box;
	border-radius: 0px 0px 10px 10px;
}

.info_list h1 {
	width: 100%;
	height: 1rem;
	text-align: center;
	margin: 0 auto;
	background-color: #404040;
	color: #a4a4a4;
	font-size: .46rem;
	line-height: 1rem;
	border-radius: 10px 10px 0px 0px;
}

.info_title {
	width: 100%;
	font-size: .325rem;
	word-spacing: -0.02rem;
	font-weight: 600;
	border-radius: .1rem;
	padding: .26rem;
	box-sizing: border-box;
	background-color: #fff;
	display: flex;
	justify-content: space-between;
	text-decoration: none;
	align-items: center;
	position: relative;
	border: solid 1px #c6c9cc;
	border-radius: .1rem;
	z-index: 99;
}

.info_detail {
	color: #19232c;
	font-size: .28rem;
	line-height: .4rem;
	border: solid 1px #c6c9cc;
	border-radius: .1rem;
	padding: .45rem .3rem .3rem;
	box-sizing: border-box;
	background-color: #fff;
	text-align: justify;
	display: flex;
	justify-content: space-between;
	position: relative;
	top: -.15rem;
}

.info_detail p {
	padding: .1rem 0;
	font-size: .34rem;
	line-height: .5rem;
	font-weight: 400;
	color: #19232c;
}

.info_detail p span {
	color: #44be4c;
	font-weight: bold;
}

.black-button {
	display: inline-block;
	background: #a6a6a6;
	padding: .16rem .26rem;
	border-radius: .2rem;
	color: #fff;
	text-decoration: none;
	font-size: .4rem;
	line-height: .4rem;
	border: none;
	margin-bottom: .1rem;
}

.green-button {
	display: inline-block;
	background: #22a300;
	padding: .24rem .4rem;
	border-radius: .2rem;
	color: #fff;
	text-decoration: none;
	font-size: .4rem;
	line-height: .4rem;
	font-weight: bold;
	border: none;
	cursor: pointer;
	margin: .2rem 0;
}

.copy-text {
	cursor: pointer;
	border-bottom: 1px dashed #999;
	padding-bottom: 2px;
	position: relative;
	transition: color 0.2s;
}

.copy-text:hover {
	color: #398d02;
	border-bottom-color: #666;
}

.copy-tooltip {
	position: absolute;
	background: #e9ecf0;
	padding: 5px 10px;
	border-radius: 4px;
	font-size: 12px;
	white-space: nowrap;
	bottom: 125%;
	left: 50%;
	transform: translateX(-50%);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;
	z-index: 1000;
}

.copy-tooltip::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: #e9ecf0 transparent transparent transparent;
}

.copy-text:hover .copy-tooltip {
	opacity: 1;
	visibility: visible;
}

.floating-bottom-menu {	
	width: 100%;
	max-width: 576px;
	height: auto;
	background: #f0f3f7;
	border-top: solid 1px #f5f5f5; 
	/* background-image: linear-gradient(0deg, #006d38, #00a052); */
	box-shadow: 0px -2px 5px rgba(100, 100, 100, 0.1);
	position: fixed;
	bottom: 0;
	overflow: hidden;
	z-index: 9999;
}

.floating-bottom-menu img {
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

.floating-bottom-menu button {
	width: 2.64rem;
	height: .8rem;
	background: url(../img/bottomdown.gif) center no-repeat;
	background-size: 2.64rem .8rem;
	border: none;
	border-radius: .1rem;
	outline: 0;
	position: absolute;
	vertical-align: middle;
	right: .4rem;
	top: 50%;
	margin-top: -.4rem;
	-webkit-animation: myfirst 1s infinite;
	animation: myfirst 1s infinite;
}


#view_details {
	position: absolute;
	display: block;
	width: .32rem;
	height: .3rem !important;
	right: .4rem;
}

.info {
	margin-bottom: .2rem;
	width: 100%;
}

.info_list {
	margin: 0 auto;
	width: 100%;
	/* 	background: url(images/bg_bg.png) #0d0d0d; */
	padding-top: .2rem;
	padding-bottom: .2rem;
}

.goTop {
	width: .8rem;
	height: .8rem;
	position: fixed;
	bottom: 2.6rem;
	right: -4.75rem;
	margin-right: 50%;
	cursor: pointer;
	z-index: 999;
}

.goTop img {
	height: .8rem;
	width: .8rem;
}


@-webkit-keyframes myfirst {
	from {
		transform: scale(1)
	}

	50% {
		transform: scale(.9)
	}

	to {
		transform: scale(1)
	}
}

@keyframes myfirst {
	from {
		transform: scale(1)
	}

	50% {
		transform: scale(.9)
	}

	to {
		transform: scale(1)
	}
}


@media screen and (min-width:751px) {

	body,
	html,
	.header,
	.main,
	.footer,
	.myModal,
	.mymodal-content {
		max-width: 576PX !important;
	}

	.weblist li img {
		width: 18%;
		border-radius: .2rem;
		display: block;
		margin: 0 .2rem;
	}

	.goTop {
		bottom: 1.8rem;
		right: -5.1rem;
	}

}

/* ============================================================
   Mobile UI/UX polish — 只調整 layout / 手機體驗，不改設計風格
   （沿用原本白底卡片、深色 #19232c、綠色 #44be4c accent）
   ============================================================ */

/* 排行榜：前三名整寬 featured、第 4 名起 2 欄；
   間距一律用 margin ＋ space-between（完全不用 gap，iOS 全相容、不會黏） */
.weblist {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-between;
	align-items: stretch;
}

.weblist li {
	box-sizing: border-box;
	background: #fff;
	border: 1px solid #eef1f5;
	border-radius: .2rem;
	box-shadow: 0 .03rem .14rem rgba(25, 35, 44, .05);
	padding: .24rem .26rem;
	margin: 0 0 .34rem;
	align-items: center;
}

/* 前三名：整寬 featured 橫列 */
.weblist li:nth-child(-n+3) {
	width: 100%;
}

/* 第 4 名以後：2 欄直式卡片 */
.weblist li:nth-child(n+4) {
	width: calc(50% - .17rem);
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	text-align: center;
	padding: .52rem .2rem .28rem;
	position: relative;
}

.weblist li:nth-child(n+4) .ranktitle {
	position: absolute;
	top: .16rem;
	left: .22rem;
	width: auto;
	font-size: .4rem;
}

.weblist li:nth-child(n+4) img {
	width: 1.7rem;
	height: 1.7rem;
	margin: 0 0 .1rem;
}

.weblist li:nth-child(n+4) p {
	width: 100%;
	align-items: center;
	text-align: center;
}

.weblist li:nth-child(n+4) .gametitle {
	font-size: .42rem;
	margin-bottom: .06rem;
}

.weblist li:nth-child(n+4) .gamedetail {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: .28rem;
	line-height: 1.35;
	min-height: .76rem;
}

.weblist li:nth-child(n+4) a.weblink {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	margin: .14rem 0 0;
}

.weblist li:active {
	transform: scale(.99);
}

.weblist .ranktitle {
	width: .72rem;
	height: auto;
	line-height: 1;
	font-size: .48rem;
	flex: 0 0 auto;
}

.weblist li img {
	width: 1.5rem;
	height: 1.5rem;
	object-fit: cover;
	flex: 0 0 auto;
	margin: 0 .18rem 0 .12rem;
	border-radius: .2rem;
	box-shadow: 0 .03rem .12rem rgba(25, 35, 44, .14);
}

.weblist li p {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	justify-content: center;
}

.weblist .gametitle {
	font-size: .42rem;
	line-height: 1.2;
	margin-bottom: .04rem;
}

.weblist span.gamedetail {
	font-size: .3rem;
	line-height: 1.36;
	color: #6c7381;
}

/* JOGO 按鈕：純綠、加大點擊區 */
.weblist a.weblink {
	box-sizing: border-box;
	flex: 0 0 auto;
	margin-left: .16rem;
	min-width: 1.5rem;
	padding: .28rem .32rem;
	font-size: .34rem;
	font-weight: 700;
	line-height: 1.1;
	border-radius: .14rem;
}

.weblist a.weblink:active {
	background: #39a83f;
}

/* 前三名用金／銀／銅獎牌 icon（扁平純色，貼合整頁扁平風、不違和） */
.weblist li:nth-child(1) span.ranktitle,
.weblist li:nth-child(2) span.ranktitle,
.weblist li:nth-child(3) span.ranktitle {
	width: .8rem;
	height: .8rem;
	line-height: 1;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: .42rem;
	font-weight: 800;
}

.weblist li:nth-child(1) span.ranktitle {
	background: #f5a623;
}

.weblist li:nth-child(2) span.ranktitle {
	background: #aab4c0;
}

.weblist li:nth-child(3) span.ranktitle {
	background: #c88544;
}

/* FAQ 問題列：與排行榜卡片同一套卡片語言（柔和邊框＋圓角＋淡陰影） */
.info_title {
	border: 1px solid #eceff3;
	border-radius: .16rem;
	box-shadow: 0 .03rem .12rem rgba(25, 35, 44, .05);
}

.info_detail {
	border: 1px solid #eceff3;
	border-radius: .16rem;
}

/* ============================================================
   全站清爽升級 — 統一乾淨卡片系統，明顯有別於原版（不花不亂）
   ============================================================ */

/* Header：加一道細陰影，與 banner 有層次分隔 */
.header {
	box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}

/* Header 左右 icon 做成低調圓形 icon 按鈕（可點感、更精緻） */
.header .lbtn a,
.header .rbtn a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: .86rem;
	height: .86rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .14);
	box-sizing: border-box;
}

.header .lbtn a:active,
.header .rbtn a:active {
	background: rgba(255, 255, 255, .16);
}

/* 區塊標題：置中＋克制的綠色短底線 accent（單一色、不灑金） */
.part_title,
.tip_container h1,
.guide_video h1,
.tab_con h1,
.service_part h1 {
	position: relative;
}

.part_title::after,
.tip_container h1::after,
.guide_video h1::after,
.tab_con h1::after,
.service_part h1::after {
	content: "";
	display: block;
	width: .56rem;
	height: .06rem;
	margin: .18rem auto 0;
	border-radius: .06rem;
	background: #44be4c;
}

/* 頂部數據：灰底 pill 改乾淨白卡＋分隔線 */
.randompart {
	background: #fff;
	border: 1px solid #eef1f5;
	border-radius: .24rem;
	box-shadow: 0 .03rem .14rem rgba(25, 35, 44, .05);
}

.rand1 {
	border-right: 1px solid #eef1f5;
}

/* 平台簡介：段落收進乾淨淺卡（無彩色邊條） */
.guide_video .video_box p {
	background: #f7f9fb;
	border-radius: .2rem;
	padding: .34rem;
	margin-top: .1rem;
}

/* Contate-nos 圖卡：柔和陰影，質感一致 */
.tip_container .links a {
	display: block;
	border-radius: .2rem;
	box-shadow: 0 .03rem .14rem rgba(25, 35, 44, .06);
}

/* Serviços：整組收進白卡、分隔線柔化 */
.service_part .grid-container {
	background: #fff;
	border: 1px solid #eef1f5;
	border-radius: .24rem;
	box-shadow: 0 .03rem .14rem rgba(25, 35, 44, .05);
	overflow: hidden;
	padding: .1rem 0;
}

.grid-item {
	border-color: #eef1f5 !important;
}

/* ============================================================
   全站色彩微調（小幅，維持品牌綠 #44be4c / 深藍 #19232c / 金）
   ============================================================ */

/* JOGO hover 修正：原本 hover 會變灰，改深綠 */
.weblist a.weblink:hover {
	background: #3aa843;
}

/* 次要說明文字統一成乾淨的 slate 灰（可讀性略升） */
.weblist span.gamedetail,
.randompart span.rantitle,
.service_part .grid-item .dest {
	color: #64707e;
}

/* Serviços 數字更有份量（改深藍） */
.service_part .grid-item .digt {
	color: #19232c;
}

/* 排行榜名次數字（第 4 名起）：偏濁灰 #999 → 乾淨 slate（前三名為獎牌白字不受影響） */
.weblist .ranktitle {
	color: #8b96a1;
}

/* ============================================================
   5 版設計（配色＋版型個性都不同）— 由頂部 tab 切換 body class
   配色套用整頁：底色帶／卡片／標題線／數據／header 主題線
   Header/Footer 深藍與 金/銀/銅獎牌 五版皆保留當定錨
   ============================================================ */
body {
	--accent: #44be4c;
	--btn: #44be4c;
	--btn-d: #3aa843;
	--band: #f0f3f7;
	--card: #fff;
	--cardbd: #eef1f5;
	--radius: .2rem;
	--shadow: 0 .03rem .14rem rgba(25, 35, 44, .05);
}

/* 1. Emerald — 綠·柔和卡片 */
body.t-emerald {
	--accent: #17b26a;
	--btn: #17b26a;
	--btn-d: #0f9257;
	--band: #eef5f0;
	--card: #fff;
	--cardbd: #e4efe8;
	--radius: .2rem;
	--shadow: 0 .04rem .16rem rgba(16, 120, 80, .09);
}

/* 2. Ocean — 藍·扁平清爽（無陰影、方角） */
body.t-ocean {
	--accent: #0e93b3;
	--btn: #0ea1c2;
	--btn-d: #0b7f9a;
	--band: #ecf3f8;
	--card: #fff;
	--cardbd: #dce8f0;
	--radius: .14rem;
	--shadow: none;
}

/* 3. Royal — 深藍鈕＋金·奶油底 premium */
body.t-royal {
	--accent: #c9971a;
	--btn: #1f2b36;
	--btn-d: #2b3a47;
	--band: #f6f1e7;
	--card: #fffdf6;
	--cardbd: #ece1c8;
	--radius: .18rem;
	--shadow: 0 .04rem .16rem rgba(120, 90, 20, .12);
}

/* 4. Crimson — 紅·大膽 */
body.t-crimson {
	--accent: #e23744;
	--btn: #e23744;
	--btn-d: #c52d39;
	--band: #f8eeef;
	--card: #fff;
	--cardbd: #f1dede;
	--radius: .24rem;
	--shadow: 0 .04rem .16rem rgba(200, 45, 55, .1);
}

/* 5. Violet — 紫·大圓角現代 */
body.t-violet {
	--accent: #7c5cff;
	--btn: #7c5cff;
	--btn-d: #6a4be0;
	--band: #f1eefb;
	--card: #fff;
	--cardbd: #e5dff7;
	--radius: .3rem;
	--shadow: 0 .05rem .2rem rgba(95, 65, 220, .12);
}

/* ---- 主題變數套用到整頁 ---- */
.weblist a.weblink {
	background: var(--btn);
}

.weblist a.weblink:hover,
.weblist a.weblink:active {
	background: var(--btn-d);
}

/* 卡片外觀隨主題（圓角／陰影／底色／邊框＝版型個性） */
.weblist li,
.randompart,
.service_part .grid-container {
	background: var(--card);
	border: 1px solid var(--cardbd);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.info_title,
.info_detail {
	border: 1px solid var(--cardbd);
	border-radius: var(--radius);
}

/* accent：標題底線、內文重點、數據數字 */
.part_title::after,
.tip_container h1::after,
.guide_video h1::after,
.tab_con h1::after,
.service_part h1::after {
	background: var(--accent);
}

.randompart span.randnum {
	color: var(--accent);
}

.guide_video p span,
.info_detail p span,
.tip_box p span {
	color: var(--accent);
}

/* 區塊底色帶＋簡介卡跟著主題 */
.tip_container,
.tab_con {
	background: var(--band);
}

.guide_video .video_box p {
	background: var(--band);
}

/* header 底部加一條主題色線，讓整頁配色連貫 */
.header {
	box-shadow: 0 2px 0 var(--accent), 0 3px 10px rgba(0, 0, 0, .18);
}

/* ---- 各版版型小個性 ---- */
/* Royal：#1 奶油金底、前三名金色左條 */
body.t-royal .weblist li:nth-child(1) {
	background: linear-gradient(180deg, #fff7e4, #fffdf6);
}

/* Crimson：前三名加紅色左條 */
body.t-crimson .weblist li:nth-child(-n+3) {
	box-shadow: inset .12rem 0 0 var(--accent), var(--shadow);
}

/* Violet：卡片更大圓角、logo 也更圓 */
body.t-violet .weblist li img {
	border-radius: .26rem;
}

/* 設計切換 tab（審稿用，預設收合成右上角小鈕，不擋畫面；選定後可移除） */
#themeSwitch {
	position: fixed;
	top: 8px;
	right: 8px;
	left: auto;
	z-index: 100001;
	display: block;
	background: transparent;
	padding: 0;
	max-width: none;
}

#themeSwitch #tsToggle {
	display: block;
	margin-left: auto;
	background: rgba(12, 17, 23, .92);
	color: #fff;
	border: none;
	border-radius: 20px;
	padding: 8px 14px;
	font-size: 13px;
	line-height: 1;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .3);
	max-width: none;
	cursor: pointer;
}

#themeSwitch .ts-body {
	display: none;
	flex-direction: column;
	gap: 4px;
	margin-top: 6px;
	padding: 8px;
	border-radius: 12px;
	background: rgba(12, 17, 23, .94);
	box-shadow: 0 4px 16px rgba(0, 0, 0, .35);
	max-width: 92vw;
}

#themeSwitch.open .ts-body {
	display: flex;
}

#themeSwitch .ts-row {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 5px;
	max-width: none;
}

#themeSwitch .ts-lab {
	color: #9aa4b0;
	font-size: 10px;
	margin: 0 2px 0 0;
	max-width: none;
}

#themeSwitch button {
	font-size: 11px;
	line-height: 1;
	padding: 5px 9px;
	border: none;
	border-radius: 6px;
	background: #fff;
	color: #333;
	opacity: .6;
	cursor: pointer;
	max-width: none;
}

#themeSwitch button.on {
	opacity: 1;
	font-weight: 700;
	box-shadow: 0 0 0 2px #ffd257 inset;
}

/* Footer：品牌金色統一成站上一致的 #f5a623；版權字略提亮好讀 */
.footer .p1 span {
	color: #f5a623;
}

.footer .p2 {
	color: #8b96a1;
}

/* ============================================================
   版型變體（body.L-*）— 由「版型」tab 切換；可與任一配色組合
   L-list 為預設（前三名整寬＋4 名起 2 欄），以下為其他版型
   ============================================================ */

/* ---- L-wall 遊戲牆：全部 2 欄卡片（含前三名），名次獎牌做角標 ---- */
body.L-wall .weblist li:nth-child(-n+3) {
	width: calc(50% - .17rem);
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	text-align: center;
	padding: .52rem .2rem .28rem;
	position: relative;
}

body.L-wall .weblist li:nth-child(-n+3) .ranktitle {
	position: absolute;
	top: .14rem;
	left: .14rem;
}

body.L-wall .weblist li:nth-child(-n+3) img {
	width: 1.7rem;
	height: 1.7rem;
	margin: 0 0 .1rem;
}

body.L-wall .weblist li:nth-child(-n+3) p {
	width: 100%;
	align-items: center;
	text-align: center;
}

body.L-wall .weblist li:nth-child(-n+3) .gametitle {
	margin-bottom: .06rem;
}

body.L-wall .weblist li:nth-child(-n+3) .gamedetail {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: .76rem;
}

body.L-wall .weblist li:nth-child(-n+3) a.weblink {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	margin: .14rem 0 0;
}

/* ---- L-editorial 焦點＋清單：#1 大 hero、2–13 名細線清單 ---- */
body.L-editorial .weblist {
	display: block;
}

body.L-editorial .weblist li {
	width: 100%;
	margin: 0 0 .2rem;
}

body.L-editorial .weblist li:nth-child(1) {
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: .44rem .3rem;
}

body.L-editorial .weblist li:nth-child(1) img {
	width: 2.4rem;
	height: 2.4rem;
	margin: .1rem auto .18rem;
}

body.L-editorial .weblist li:nth-child(1) p {
	width: 100%;
	align-items: center;
	text-align: center;
}

body.L-editorial .weblist li:nth-child(1) a.weblink {
	box-sizing: border-box;
	width: 100%;
	margin: .2rem 0 0;
	padding: .32rem;
}

body.L-editorial .weblist li:nth-child(n+2) {
	flex-direction: row;
	align-items: center;
	text-align: left;
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--cardbd);
	border-radius: 0;
	box-shadow: none;
	padding: .2rem .06rem;
	margin: 0;
}

body.L-editorial .weblist li:nth-child(n+2) .ranktitle {
	position: static;
	width: .6rem;
	margin: 0;
}

body.L-editorial .weblist li:nth-child(n+2) img {
	width: 1rem;
	height: 1rem;
	margin: 0 .16rem;
}

body.L-editorial .weblist li:nth-child(n+2) p {
	flex: 1 1 auto;
	width: auto;
}

body.L-editorial .weblist li:nth-child(n+2) .gamedetail {
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 0;
}

body.L-editorial .weblist li:nth-child(n+2) a.weblink {
	width: auto;
	margin-left: auto;
	min-width: 1.5rem;
}

/* ---- L-podium 頒獎台：前三名三欄（#2 左 / #1 中放大 / #3 右），其餘 2 欄 ---- */
body.L-podium .weblist li:nth-child(-n+3) {
	width: calc(33.333% - .12rem);
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: .34rem .1rem .22rem;
	position: relative;
}

body.L-podium .weblist li:nth-child(2) {
	order: 1;
}

body.L-podium .weblist li:nth-child(1) {
	order: 2;
}

body.L-podium .weblist li:nth-child(3) {
	order: 3;
}

body.L-podium .weblist li:nth-child(n+4) {
	order: 4;
}

body.L-podium .weblist li:nth-child(-n+3) .ranktitle {
	position: static;
	margin: 0 auto .08rem;
}

/* 頒獎台：前三名用獎牌 icon（★）取代數字，金/銀/銅獎牌盤＋白星 */
body.L-podium .weblist li:nth-child(-n+3) .ranktitle {
	font-size: 0;
}

body.L-podium .weblist li:nth-child(-n+3) .ranktitle::before {
	content: '\2605';
	font-size: .46rem;
	line-height: 1;
	color: #fff;
}

body.L-podium .weblist li:nth-child(1) .ranktitle {
	width: .96rem;
	height: .96rem;
}

body.L-podium .weblist li:nth-child(1) .ranktitle::before {
	font-size: .54rem;
}

body.L-podium .weblist li:nth-child(-n+3) img {
	width: 1.1rem;
	height: 1.1rem;
	margin: 0 0 .08rem;
}

body.L-podium .weblist li:nth-child(1) img {
	width: 1.44rem;
	height: 1.44rem;
}

body.L-podium .weblist li:nth-child(-n+3) p {
	width: 100%;
	align-items: center;
	text-align: center;
}

body.L-podium .weblist li:nth-child(-n+3) .gametitle {
	font-size: .34rem;
	margin-bottom: 0;
}

body.L-podium .weblist li:nth-child(-n+3) .gamedetail {
	display: none;
}

body.L-podium .weblist li:nth-child(-n+3) a.weblink {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	margin: .1rem 0 0;
	padding: .18rem .06rem;
	font-size: .3rem;
}

/* ---- L-neon 深色霓虹：整頁深色底＋霓虹 accent＋發光按鈕 ---- */
body.L-neon {
	background: #0d1117;
}

body.L-neon .part1,
body.L-neon .guide_video,
body.L-neon .service_part {
	background: #0d1117;
}

body.L-neon .tip_container,
body.L-neon .tab_con {
	background: #11161d;
}

body.L-neon .weblist li,
body.L-neon .randompart,
body.L-neon .service_part .grid-container,
body.L-neon .info_title,
body.L-neon .info_detail,
body.L-neon .guide_video .video_box p {
	background: #161c26;
	border-color: #232c39;
	box-shadow: none;
}

body.L-neon .part_title,
body.L-neon .tip_container h1,
body.L-neon .tab_con h1,
body.L-neon .guide_video h1,
body.L-neon .service_part h1,
body.L-neon .weblist .gametitle,
body.L-neon .info_title,
body.L-neon .service_part .grid-item .digt {
	color: #eef2f7;
}

body.L-neon .weblist span.gamedetail,
body.L-neon .guide_video p,
body.L-neon .info_detail p,
body.L-neon .randompart span.rantitle,
body.L-neon .service_part .grid-item .dest {
	color: #9aa7b5;
}

body.L-neon .grid-item {
	border-color: #232c39 !important;
}

body.L-neon .weblist a.weblink {
	box-shadow: 0 0 12px var(--btn);
}

/* 霓虹版：底部浮動下載條與返回頂端鈕也改深色，避免淺色突兀 */
body.L-neon .floating-bottom-menu {
	background: #11161d;
	border-top: 1px solid #232c39;
}

body.L-neon .goTop img {
	filter: invert(1) brightness(1.4);
}

/* ============================================================
   追加配色（參考主流 app）
   ============================================================ */
body.t-mono {
	--accent: #475569;
	--btn: #334155;
	--btn-d: #1e293b;
	--band: #f1f3f6;
	--card: #fff;
	--cardbd: #e5e9ee;
	--radius: .16rem;
	--shadow: 0 .03rem .14rem rgba(30, 41, 59, .07);
}

body.t-sunset {
	--accent: #f97316;
	--btn: #f97316;
	--btn-d: #ea640c;
	--band: #fbf2ea;
	--card: #fff;
	--cardbd: #f2e2d2;
	--radius: .22rem;
	--shadow: 0 .04rem .16rem rgba(240, 120, 30, .1);
}

body.t-mint {
	--accent: #10b981;
	--btn: #10b981;
	--btn-d: #0d9c6e;
	--band: #ecf7f2;
	--card: #fff;
	--cardbd: #dbeee6;
	--radius: .2rem;
	--shadow: 0 .04rem .16rem rgba(16, 180, 120, .09);
}

/* ============================================================
   追加版型（參考主流 app）：fintech / store / compact
   三者皆為單欄，覆蓋預設 2 欄；按鈕改 auto 寬避免 100% 溢出
   ============================================================ */

/* ---- L-fintech 金融極簡：無卡片、細線分隔、pill 鈕 ---- */
body.L-fintech .weblist {
	display: block;
}

body.L-fintech .weblist li,
body.L-fintech .weblist li:nth-child(n+4) {
	width: 100%;
	margin: 0;
	flex-direction: row;
	align-items: center;
	text-align: left;
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--cardbd);
	border-radius: 0;
	box-shadow: none;
	padding: .26rem .1rem;
	position: static;
}

body.L-fintech .weblist li .ranktitle {
	position: static;
	width: .6rem;
	margin: 0;
}

body.L-fintech .weblist li img,
body.L-fintech .weblist li:nth-child(n+4) img {
	width: 1.1rem;
	height: 1.1rem;
	border-radius: .24rem;
	margin: 0 .18rem 0 .06rem;
}

body.L-fintech .weblist li p {
	flex: 1 1 auto;
	width: auto;
	text-align: left;
	align-items: flex-start;
}

body.L-fintech .weblist li .gamedetail {
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 0;
}

body.L-fintech .weblist li a.weblink {
	width: auto;
	min-width: 1.5rem;
	margin-left: auto;
	border-radius: 2rem;
}

/* ---- L-store App Store 風：大圓角 logo＋外框 pill 鈕 ---- */
body.L-store .weblist {
	display: block;
}

body.L-store .weblist li,
body.L-store .weblist li:nth-child(n+4) {
	width: 100%;
	margin: 0 0 .2rem;
	flex-direction: row;
	align-items: center;
	text-align: left;
	padding: .24rem .26rem;
	position: static;
}

body.L-store .weblist li .ranktitle {
	position: static;
	width: .6rem;
	margin: 0;
}

body.L-store .weblist li img,
body.L-store .weblist li:nth-child(n+4) img {
	width: 1.3rem;
	height: 1.3rem;
	border-radius: .3rem;
	margin: 0 .18rem 0 .06rem;
}

body.L-store .weblist li p {
	flex: 1 1 auto;
	width: auto;
	text-align: left;
	align-items: flex-start;
}

body.L-store .weblist li .gamedetail {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 0;
}

body.L-store .weblist li a.weblink {
	width: auto;
	min-width: 0;
	margin-left: .12rem;
	padding: .2rem .3rem;
	border-radius: 2rem;
	background: transparent;
	color: var(--btn);
	box-shadow: 0 0 0 2px var(--btn) inset;
	font-size: .32rem;
}

/* store 的 accent 若是深色（如金/石墨）鈕字也深，維持可讀 */

/* ---- L-compact 緊湊榜：密集小列、只留名稱 ---- */
body.L-compact .weblist {
	display: block;
}

body.L-compact .weblist li,
body.L-compact .weblist li:nth-child(n+4) {
	width: 100%;
	margin: 0 0 .12rem;
	flex-direction: row;
	align-items: center;
	text-align: left;
	padding: .16rem .2rem;
	border-radius: .14rem;
	position: static;
}

body.L-compact .weblist li .ranktitle {
	position: static;
	width: .5rem;
	margin: 0;
}

body.L-compact .weblist li img,
body.L-compact .weblist li:nth-child(n+4) img {
	width: .9rem;
	height: .9rem;
	margin: 0 .14rem;
}

body.L-compact .weblist li p {
	flex: 1 1 auto;
	width: auto;
	text-align: left;
	align-items: flex-start;
}

body.L-compact .weblist li .gamedetail {
	display: none;
}

body.L-compact .weblist li a.weblink {
	width: auto;
	min-width: 1.3rem;
	margin-left: auto;
	padding: .18rem .24rem;
	font-size: .3rem;
}

/* ============================================================
   版型的「整頁」調整 — 讓切換版型時所有區塊都跟著變，不只列表
   ============================================================ */

/* 版型也控制整頁卡片圓角/陰影 */
body.L-store {
	--radius: .3rem;
}

body.L-compact {
	--radius: .14rem;
	--shadow: none;
}

body.L-fintech {
	--shadow: none;
}

/* L-fintech：整頁扁平化（去卡片、改細線分隔） */
body.L-fintech .randompart,
body.L-fintech .service_part .grid-container {
	background: transparent;
	border: none;
	box-shadow: none;
	border-radius: 0;
}

body.L-fintech .randompart {
	border-bottom: 1px solid var(--cardbd);
	padding-bottom: .3rem;
}

body.L-fintech .info_title,
body.L-fintech .info_detail {
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--cardbd);
	border-radius: 0;
	box-shadow: none;
}

body.L-fintech .tip_container .links a {
	box-shadow: none;
	border: 1px solid var(--cardbd);
	border-radius: .18rem;
}

/* L-store：pill 按鈕感延伸到聯絡卡（大圓角） */
body.L-store .tip_container .links a {
	border-radius: .3rem;
}

/* L-compact：整頁間距收緊 */
body.L-compact .tip_container {
	padding-top: .28rem;
	padding-bottom: .28rem;
}

body.L-compact .service_part h1,
body.L-compact .tip_container h1,
body.L-compact .tab_con h1,
body.L-compact .guide_video h1 {
	padding-top: .22rem;
	padding-bottom: .22rem;
}

/* L-editorial：整頁標題靠左（雜誌感） */
body.L-editorial .part_title,
body.L-editorial .tip_container h1,
body.L-editorial .guide_video h1,
body.L-editorial .tab_con h1,
body.L-editorial .service_part h1 {
	text-align: left;
	padding-left: .12rem;
	padding-right: .12rem;
}

body.L-editorial .part_title::after,
body.L-editorial .tip_container h1::after,
body.L-editorial .guide_video h1::after,
body.L-editorial .tab_con h1::after,
body.L-editorial .service_part h1::after {
	margin-left: .12rem;
	margin-right: auto;
}

/* ============================================================
   追加主流 app 版式：Amazon / Booking / Carousel
   皆用 margin 排距、按鈕 auto 寬，避免 iOS 破版
   ============================================================ */

/* ---- L-amazon 亞馬遜：藍標題＋金星等＋黃色 CTA ---- */
body.L-amazon .weblist {
	display: block;
}

body.L-amazon .weblist li,
body.L-amazon .weblist li:nth-child(n+4) {
	width: 100%;
	margin: 0 0 .18rem;
	flex-direction: row;
	align-items: center;
	text-align: left;
	padding: .24rem .2rem;
	position: static;
}

body.L-amazon .weblist li .ranktitle {
	position: static;
	width: .56rem;
	margin: 0;
}

body.L-amazon .weblist li img,
body.L-amazon .weblist li:nth-child(n+4) img {
	width: 1.3rem;
	height: 1.3rem;
	border-radius: .12rem;
	margin: 0 .18rem 0 .06rem;
}

body.L-amazon .weblist li p {
	flex: 1 1 auto;
	width: auto;
	text-align: left;
	align-items: flex-start;
}

body.L-amazon .weblist li .gametitle {
	color: #0f5aa6;
}

body.L-amazon .weblist li .gamedetail {
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 0;
}

body.L-amazon .weblist li p::after {
	content: '\2605\2605\2605\2605\2605';
	color: #f5a623;
	font-size: .3rem;
	letter-spacing: 1px;
	display: block;
	margin-top: .04rem;
}

body.L-amazon .weblist li a.weblink {
	width: auto;
	min-width: 1.6rem;
	margin-left: auto;
	background: #febd69;
	color: #16130c;
	border-radius: 2rem;
}

/* ---- L-booking：縮圖角落分數徽章＋卡片 ---- */
body.L-booking .weblist {
	display: block;
}

body.L-booking .weblist li,
body.L-booking .weblist li:nth-child(n+4) {
	width: 100%;
	margin: 0 0 .18rem;
	flex-direction: row;
	align-items: center;
	text-align: left;
	padding: .24rem .24rem;
	position: relative;
}

body.L-booking .weblist li img,
body.L-booking .weblist li:nth-child(n+4) img {
	width: 1.4rem;
	height: 1.4rem;
	border-radius: .12rem;
	margin: 0 .18rem 0 .06rem;
}

body.L-booking .weblist li .ranktitle {
	position: absolute;
	top: .3rem;
	left: .3rem;
	z-index: 2;
	width: auto;
	min-width: .5rem;
	height: .5rem;
	padding: 0 .08rem;
	border-radius: .1rem .1rem .1rem 0;
	background: var(--accent);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: .3rem;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .28);
}

body.L-booking .weblist li p {
	flex: 1 1 auto;
	width: auto;
	text-align: left;
	align-items: flex-start;
}

body.L-booking .weblist li .gamedetail {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 0;
}

body.L-booking .weblist li a.weblink {
	width: auto;
	min-width: 1.5rem;
	margin-left: auto;
}

/* ---- L-carousel 橫向卡帶（App Store / Netflix 式水平滑動）---- */
body.L-carousel .weblist {
	display: flex;
	flex-wrap: nowrap;
	flex-direction: row;
	justify-content: flex-start;
	align-items: stretch;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	padding-bottom: .2rem;
}

body.L-carousel .weblist li,
body.L-carousel .weblist li:nth-child(n+4) {
	width: 3rem;
	flex: 0 0 3rem;
	margin: 0 .2rem 0 0;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: .44rem .16rem .24rem;
	position: relative;
}

body.L-carousel .weblist li .ranktitle {
	position: absolute;
	top: .14rem;
	left: .14rem;
}

body.L-carousel .weblist li img,
body.L-carousel .weblist li:nth-child(n+4) img {
	width: 2rem;
	height: 2rem;
	margin: 0 0 .1rem;
}

body.L-carousel .weblist li p {
	width: 100%;
	align-items: center;
	text-align: center;
}

body.L-carousel .weblist li .gamedetail {
	display: none;
}

body.L-carousel .weblist li a.weblink {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	margin: .1rem 0 0;
}

/* ---- L-appstore Apple App Store：2 欄置中卡片＋名次左上＋淺色 pill 鈕 ---- */
body.L-appstore .weblist li,
body.L-appstore .weblist li:nth-child(-n+3),
body.L-appstore .weblist li:nth-child(n+4) {
	width: calc(50% - .17rem);
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: .5rem .2rem .3rem;
	position: relative;
}

body.L-appstore .weblist li .ranktitle,
body.L-appstore .weblist li:nth-child(-n+3) .ranktitle {
	position: absolute;
	top: .16rem;
	left: .2rem;
	width: auto;
	height: auto;
	background: none;
	color: #8b96a1;
	border-radius: 0;
	box-shadow: none;
	font-size: .4rem;
}

body.L-appstore .weblist li img,
body.L-appstore .weblist li:nth-child(-n+3) img,
body.L-appstore .weblist li:nth-child(n+4) img {
	width: 1.6rem;
	height: 1.6rem;
	border-radius: .34rem;
	margin: 0 0 .12rem;
}

body.L-appstore .weblist li p {
	width: 100%;
	align-items: center;
	text-align: center;
}

body.L-appstore .weblist li .gametitle {
	margin-bottom: .04rem;
}

body.L-appstore .weblist li .gamedetail {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: .72rem;
}

body.L-appstore .weblist li a.weblink {
	box-sizing: border-box;
	width: auto;
	min-width: 1.9rem;
	margin: .12rem auto 0;
	padding: .18rem .5rem;
	border-radius: 2rem;
	background: #eef1f5;
	color: var(--btn);
	font-weight: 700;
}

/* ---- L-play Google Play Material：扁平清單＋圓角 icon＋副標＋文字鈕 ---- */
body.L-play .weblist {
	display: block;
}

body.L-play .weblist li,
body.L-play .weblist li:nth-child(n+4) {
	width: 100%;
	margin: 0;
	flex-direction: row;
	align-items: center;
	text-align: left;
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--cardbd);
	border-radius: 0;
	box-shadow: none;
	padding: .22rem .12rem;
	position: static;
}

body.L-play .weblist li .ranktitle {
	position: static;
	width: .5rem;
	margin: 0;
}

body.L-play .weblist li img,
body.L-play .weblist li:nth-child(n+4) img {
	width: 1.1rem;
	height: 1.1rem;
	border-radius: .24rem;
	margin: 0 .16rem;
}

body.L-play .weblist li p {
	flex: 1 1 auto;
	width: auto;
	text-align: left;
	align-items: flex-start;
}

body.L-play .weblist li .gamedetail {
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 0;
	font-size: .28rem;
}

body.L-play .weblist li a.weblink {
	width: auto;
	min-width: 0;
	margin-left: auto;
	background: transparent;
	color: var(--btn);
	box-shadow: none;
	padding: .2rem .18rem;
	font-weight: 700;
}

/* ============================================================
   修正：清單型版式的前三名獎牌保持正圓（先前只改寬未改高 → 橢圓/數字跑版）
   ============================================================ */
body.L-fintech .weblist li:nth-child(-n+3) .ranktitle,
body.L-store .weblist li:nth-child(-n+3) .ranktitle,
body.L-compact .weblist li:nth-child(-n+3) .ranktitle,
body.L-amazon .weblist li:nth-child(-n+3) .ranktitle,
body.L-play .weblist li:nth-child(-n+3) .ranktitle,
body.L-editorial .weblist li:nth-child(1) .ranktitle,
body.L-editorial .weblist li:nth-child(2) .ranktitle,
body.L-editorial .weblist li:nth-child(3) .ranktitle {
	width: .72rem;
	height: .72rem;
	flex: 0 0 auto;
	padding: 0;
}

/* ============================================================
   Header / Footer 也跟隨主題（整頁一致，不只中間內容）
   每個配色對應一個深色 header/footer 底色；品牌字用該主題 accent
   ============================================================ */
body {
	--headfoot: #19232c;
}

body.t-emerald {
	--headfoot: #0f2018;
}

body.t-ocean {
	--headfoot: #0b1b21;
}

body.t-royal {
	--headfoot: #211b0f;
}

body.t-crimson {
	--headfoot: #210f12;
}

body.t-violet {
	--headfoot: #171426;
}

body.t-mono {
	--headfoot: #1a1f26;
}

body.t-sunset {
	--headfoot: #22160e;
}

body.t-mint {
	--headfoot: #0f2019;
}

.header,
.footer {
	background: var(--headfoot);
}

.footer .p1 span {
	color: var(--accent);
}

/* 返回頂端鈕的底色也隨 header/footer 深色，避免亮白突兀 */
.footer .p2 {
	border-top-color: rgba(255, 255, 255, .12);
}



