body {
	background: #fff;
	font-family: Arial, Helvetica, sans-serif;
	max-width: 500px;
	margin: 0 auto;
	background-color: #F7F7F7;
}

@keyframes breath {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.1);
	}

	100% {
		transform: scale(1);
	}
}

.carousel-wrap {
	max-width: 500px;
	background-image: url('../images/main_bj.png');
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.logo {
	width: 70%;
	margin-bottom: 10px;
}

.timg {
	width: 50%;
	animation: breath 1.5s ease-in-out infinite;
	margin-bottom: 3px;
}

.downimg {
	width: 40%;
	animation: breath 1.5s ease-in-out infinite;
}

.home {
	width: 100%;
	height: 100%;
}

.score {
	margin-top: 20px;
	width: 92%;
	height: 100%;
	margin-bottom: 160px;
}

.rz {
	margin-top: 10px;
	width: 95%;
	height: 95%;
}

.centerbox {
	display: flex;
	justify-content: center;
	align-items: center;
}

.icons {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	gap: 2%;
	/* 使用百分比间距 */
	padding: 0 10px;
	/* 左右内边距，防止贴边 */
	box-sizing: border-box;
	margin-top: 10px;
}

.icons .icon {
	width: calc((100% - 2% * 5) / 6);
	/* 总宽度减去5个间隙，再除以6 */
	aspect-ratio: 1/1;
	/* 保证正方形 */
	background-image: url('../images/border.png');
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	transition: transform 0.3s ease;
	flex-shrink: 0;
	/* 防止缩小 */
	padding-bottom: 1%;
}

.icons .icon .imgicon {
	width: 50%;
	margin-left: 25%;
	margin-top: 10px;
}

.icons .icon .i2 {
	width: 80%;
	margin-left: 10%;
	margin-top: 10px;
}

.icons .icon .text {
	text-align: center;
	color: #4b5171;
	animation: upDown 1s ease-in-out infinite;
	margin-top: 4px;
	font-size: 14px;
}

@keyframes upDown {
	0% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-3px);
	}

	100% {
		transform: translateY(0);
	}
}

.rm {
	margin-top: 15px;
	margin-bottom: 10px;
	width: 75%;
}

.carousel {
	width: 100%;
	overflow: hidden;
	padding: 0 20px 20px;
	box-sizing: border-box;
}

.carousel-track {
	display: flex;
	gap: 20px;
	width: max-content;
	will-change: transform;
	backface-visibility: hidden;
}

.square {
	flex-shrink: 0;
	width: 140px;
	height: 180px;
	border-radius: 16px;
	transition: transform 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 48px;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.95);
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	margin-top: 15px;
}

.btns {
	position: fixed;
	width: 100%;
	bottom: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 18px 0  max(12px, env(safe-area-inset-bottom));
	/* 苹果风格磨砂玻璃 */
	background: rgba(255, 255, 255, 0.25);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	backdrop-filter: saturate(180%) blur(20px);
	border-top: 1px solid rgba(255, 255, 255, 0.4);
	cursor: pointer;
}

.btn {
	position: relative;
	animation: breath 1.5s ease-in-out infinite;
}

.msg {
	position: absolute;
	width: 60%;
	top: -100%;
	left: 20%;
}

/* PC 端：内容区有宽度限制时，btns 同样限制宽度并居中，始终固定在可视区底部 */
@media (min-width: 501px) {
	.btns {
		width: 100%;
		max-width: 500px;
		left: 50%;
		transform: translateX(-50%);
	}
}

.btnimg {
	width: 90%;
}

.square:active {
	transform: scale(0.98);
}

.square.c1 {
	background-image: url('../images/m-1.png');
}

.square.c2 {
	background-image: url('../images/m-2.png');
}

.square.c3 {
	background-image: url('../images/m-3.png');
}

.square.c4 {
	background-image: url('../images/m-4.png');
}

.square.c5 {
	background-image: url('../images/m-5.png');
}

.square.c6 {
	background-image: url('../images/m-6.png');
}

.square.c7 {
	background-image: url('../images/m-7.png');
}

.square.c8 {
	background-image: url('../images/m-8.png');
}

.square.c9 {
	background-image: url('../images/m-9.png');
}

.square.c10 {
	background-image: url('../images/m-10.png');
}