:root {
	--page-width: 380px;
	--qq-blue: #2072e2;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html,
body {
	width: 100%;
	min-height: 100%;
	font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	overflow-x: hidden;
}

a {
	color: inherit;
	text-decoration: none;
}

/* 全屏背景（二维码区 + 播放器同一层） */
.page-bg {
	position: fixed;
	inset: 0;
	z-index: 0;
	background-color: var(--qq-blue);
	background-image: url(../img/bg-lite.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}

.page-shell {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	min-height: 100vh;
	min-height: 100dvh;
	padding: 20px 16px max(14px, env(safe-area-inset-bottom));
}

.page-content {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 8px 0 16px;
}

.qr-card {
	width: min(94vw, var(--page-width));
	padding: 22px 22px 20px;
	text-align: center;
	background: #fff;
	border: 1px solid rgba(255, 255, 255, 0.65);
	border-radius: 14px;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.6) inset,
		0 24px 48px rgba(0, 0, 0, 0.22);
}

.qr-card-title {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	color: #111;
}

.qr-card-sub {
	margin-top: 10px;
	font-size: 12px;
	line-height: 1.55;
	color: rgba(0, 0, 0, 0.52);
}

.qr-box {
	display: inline-block;
	margin: 18px auto 10px;
	padding: 10px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 10px;
	background: #fff;
	line-height: 0;
}

.qr-image {
	display: block;
	width: 180px;
	height: 180px;
	object-fit: contain;
}

.qr-domain {
	margin-bottom: 4px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.qr-domain a {
	color: var(--qq-blue);
}

.qr-domain a:hover {
	text-decoration: underline;
}

.qr-scan-tip {
	font-size: 13px;
	line-height: 1.4;
	color: rgba(0, 0, 0, 0.55);
}

.qr-mobile-btn {
	display: inline-block;
	margin-top: 12px;
	padding: 8px 16px;
	border-radius: 999px;
	font-size: 12px;
	color: var(--qq-blue);
	background: rgba(32, 114, 226, 0.08);
	border: 1px solid rgba(32, 114, 226, 0.22);
}

.qr-mobile-btn:hover {
	background: rgba(32, 114, 226, 0.14);
	border-color: rgba(32, 114, 226, 0.35);
}

/* 底部播放器：与背景同层，不再单独一块渐变 */
.bottom-dock {
	flex-shrink: 0;
	width: min(94vw, var(--page-width));
	text-align: center;
}

.player-dock-label {
	margin-bottom: 8px;
	font-size: 11px;
	letter-spacing: 0.28em;
	padding-left: 0.28em;
	color: rgba(255, 255, 255, 0.72);
	font-weight: 300;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.player-dock-frame {
	width: 100%;
	height: 168px;
	border-radius: 20px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(255, 255, 255, 0.55);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.mochi-player {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	background: transparent;
}

.site-footer {
	margin-top: 10px;
	font-size: 11px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.82);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.site-footer a {
	color: #fff;
}

.site-footer a:hover {
	text-decoration: underline;
}

@media screen and (max-width: 640px) {
	.qr-card {
		padding: 18px 16px 16px;
	}

	.qr-image {
		width: 160px;
		height: 160px;
	}
}

@media screen and (max-height: 700px) {
	.page-content {
		padding: 4px 0 10px;
	}

	.qr-image {
		width: 140px;
		height: 140px;
	}

	.qr-box {
		margin: 12px auto 8px;
		padding: 8px;
	}
}
