:root {
			--primary: #44c767;
			--bg: #f7f8fa;
			--text: #333;
			--gray: #9ea3ab;
			/* 定义基准字体大小 */
			font-size: 16px;
		}

		* {
			box-sizing: border-box;
			-webkit-tap-highlight-color: transparent;
		}

		body {
			margin: 0;
			background-color: var(--bg);
			font-family: -apple-system, "PingFang SC", sans-serif;
			color: var(--text);
			padding-bottom: 5rem;
			/* 80px */
		}

		#app {
			max-width: 31.25rem;
			/* 500px */
			margin: 0 auto;
			background: #fff;
			min-height: 100vh;
		}

		/* 顶部 & 搜索 */
		.header {
			padding: 0.75rem 0.9375rem;
			/* 12px 15px */
			background: #fff;
			position: sticky;
			top: 0;
			z-index: 100;
		}

		.logo-row {
			display: flex;
			justify-content: space-between;
			align-items: center;
			margin-bottom: 0.625rem;
			/* 10px */
		}

		.logo {
			font-size: 1.5rem;
			/* 24px */
			font-weight: 900;
			color: #ff9900;
		}

		.logo span {
			color: var(--primary);
			font-size: 1.25rem;
			/* 20px */
		}

		.login-btn {
			background: #e8f7ed;
			color: var(--primary);
			border: none;
			padding: 0.375rem 1.125rem;
			/* 6px 18px */
			border-radius: 1.25rem;
			/* 20px */
			font-size: 0.875rem;
			/* 14px */
		}

		.search-bar {
			background: #f1f2f4;
			border-radius: 1.25rem;
			/* 20px */
			padding: 0.5rem 0.9375rem;
			/* 8px 15px */
			display: flex;
			align-items: center;
			gap: 0.5rem;
			/* 8px */
		}

		.search-bar input {
			border: none;
			background: transparent;
			flex: 1;
			outline: none;
		}

		/* 导航 */
		.nav-scroll {
			display: flex;
			overflow-x: auto;
			padding: 0.625rem 0.9375rem;
			/* 10px 15px */
			gap: 1.375rem;
			/* 22px */
			background: #fff;
			border-bottom: 1px solid #f0f0f0;
		}

		.nav-scroll::-webkit-scrollbar {
			display: none;
		}

		.nav-item {
			font-size: 1rem;
			/* 16px */
			color: #666;
			white-space: nowrap;
			padding-bottom: 0.5rem;
			/* 8px */
		}

		.nav-item.active {
			color: var(--primary);
			font-weight: bold;
			border-bottom: 0.1875rem solid var(--primary);
			/* 3px */
		}

		/* 轮播图 */
		.banner-wrap {
			padding: 0.75rem 0.9375rem;
			/* 12px 15px */
			background: #fff;
		}

		.swiper {
			width: 100%;
			aspect-ratio: 2.3 / 1;
			border-radius: 1rem;
			/* 16px */
			overflow: hidden;
			position: relative;
			box-shadow: 0 0.3125rem 0.9375rem rgba(0, 0, 0, 0.08);
			/* 5px 15px */
		}

		.swiper img {
			width: 100%;
			height: 100%;
			object-fit: cover;
		}

		/* 金刚区 */
		.quick-nav {
			display: grid;
			grid-template-columns: repeat(5, 1fr);
			padding: 1.25rem 0.625rem;
			/* 20px 10px */
			text-align: center;
			border-bottom: 0.5rem solid var(--bg);
			/* 8px */
		}

		.quick-item img {
			width: 1.75rem;
			/* 28px */
			height: 1.75rem;
			object-fit: contain;
			display: block;
			margin: 0 auto 0.375rem;
			/* 6px */
		}

		.quick-item span {
			font-size: 0.75rem;
			/* 12px */
		}

		/* 板块标题 */
		.section {
			padding: 1.25rem 0.9375rem;
			/* 20px 15px */
			background: #fff;
			border-bottom: 0.5rem solid var(--bg);
			/* 8px */
		}

		.section-hd {
			display: flex;
			justify-content: space-between;
			align-items: center;
			margin-bottom: 0.9375rem;
			/* 15px */
		}

		.title {
			font-size: 1.125rem;
			/* 18px */
			font-weight: bold;
			padding-left: 0.625rem;
			/* 10px */
			border-left: 0.25rem solid var(--primary);
			/* 4px */
		}

		.more {
			color: var(--gray);
			font-size: 0.8125rem;
			/* 13px */
		}

		/* 游戏网格 */
		.game-grid {
			display: flex;
			flex-wrap: wrap;
			margin: 0 -0.375rem;
			/* -6px */
		}

		.game-card {
			flex: 0 0 20%;
			padding: 0 0.375rem;
			margin-bottom: 1.125rem;
			/* 18px */
			text-align: center;
			position: relative;
			min-width: 0;
		}

		.img-box {
			width: 100%;
			position: relative;
			padding-top: 100%;
			border-radius: 1.125rem;
			/* 18px */
			overflow: hidden;
			background-color: #f5f5f5;
			margin-bottom: 0.375rem;
			/* 6px */
			box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.05);
			/* 2px 6px */
		}

		.img-box img {
			position: absolute;
			top: 0;
			left: 0;
			width: 100% !important;
			height: 100% !important;
			object-fit: cover;
			display: block;
		}

		.name {
			font-size: 0.75rem;
			/* 12px */
			font-weight: 500;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
			display: block;
			color: #333;
		}

		.tag {
			font-size: 0.625rem;
			/* 10px */
			color: var(--gray);
			display: block;
			margin-top: 0.125rem;
			/* 2px */
		}

		.badge {
			position: absolute;
			top: -0.125rem;
			left: 0.25rem;
			background: #ff4d4f;
			color: #fff;
			font-size: 0.5625rem;
			/* 9px */
			padding: 0.0625rem 0.25rem;
			border-radius: 0.25rem 0 0.5rem 0;
			z-index: 10;
		}

		.play-btn {
			border: 1.2px solid var(--primary);
			color: var(--primary);
			background: #fff;
			border-radius: 0.75rem;
			/* 12px */
			font-size: 0.625rem;
			/* 10px */
			padding: 0.125rem 0;
			width: 85%;
			margin: 0.375rem auto 0;
			font-weight: bold;
			display: block;
		}

		/* 底部导航 */
		.tabbar {
			position: fixed;
			bottom: 0;
			left: 50%;
			transform: translateX(-50%);
			max-width: 31.25rem;
			/* 500px */
			width: 100%;
			background: #fff;
			display: flex;
			padding: 0.5rem 0;
			border-top: 1px solid #f0f0f0;
			z-index: 200;
			padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
		}

		.tab-btn {
			flex: 1;
			display: flex;
			flex-direction: column;
			align-items: center;
			justify-content: center;
			color: #8a8e99;
			font-size: 0.6875rem;
			/* 11px */
			text-decoration: none;
			gap: 0.25rem;
			/* 4px */
		}

		.tab-icon {
			width: 1.5rem;
			/* 24px */
			height: 1.5rem;
			display: block;
			object-fit: contain;
		}

		.tab-btn.active {
			color: var(--primary);
			font-weight: bold;
		}

		/* 底部容器 */
		.footer {
			padding: 1.25rem 0;
			/* 20px */
			background-color: #fff;
			border-top: 1px solid #f0f0f0;
			text-align: center;
		}

		.footer-wrap {
			max-width: 31.25rem;
			/* 500px */
			margin: 0 auto;
		}

		.word {
			display: flex;
			justify-content: center;
			align-items: center;
			gap: 0.75rem;
			/* 12px */
		}

		.word a {
			text-decoration: none;
			color: var(--gray);
			font-size: 0.8125rem;
			/* 13px */
			transition: color 0.2s;
		}

		.word a:active {
			color: var(--primary);
		}

		.split {
			color: #e0e0e0;
			font-size: 0.75rem;
			/* 12px */
			user-select: none;
		}

		.info {
			display: inline-block;
			padding: 0.25rem 0;
		}