:root {
	font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
	color: #231f20;
	background: #fff4e8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
	min-width: 320px;
	min-height: 100%;
	margin: 0;
	overflow-x: clip;
	overflow-y: visible;
}
body { position: relative; }
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }

.page-background {
	position: fixed;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	pointer-events: none;
}

.site-shell {
	width: min(100% - 40px, 1272px);
	min-height: 100svh;
	margin: 0 auto;
	padding: 24px 0 34px;
}

.site-header {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	height: 70px;
	padding: 0 18px 0 34px;
	border: 1px solid rgba(255, 255, 255, .82);
	border-radius: 38px;
	background: rgba(255, 250, 245, .72);
	box-shadow: 0 12px 35px rgba(180, 83, 42, .06);
	backdrop-filter: blur(14px);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	justify-self: start;
	font-size: 21px;
	font-weight: 800;
	white-space: nowrap;
}

.brand-mark { display: block; width: 52px; height: 52px; overflow: hidden; }
.brand-mark img { width: 64px; height: 64px; margin: -4px 0 0 -6px; object-fit: contain; }

.main-nav { display: flex; align-items: center; gap: 54px; font-size: 15px; font-weight: 500; }
.main-nav a { position: relative; padding: 24px 0; white-space: nowrap; }
.main-nav a:hover, .main-nav a.active { color: #ff3a24; }
.main-nav a.active::after {
	position: absolute;
	right: 0;
	bottom: 13px;
	left: 0;
	height: 2px;
	border-radius: 2px;
	background: #ff3a24;
	content: "";
}

.nav-download {
	justify-self: end;
	width: 184px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}
.nav-download img { display: block; width: 100%; height: auto; }

.hero-section {
	display: grid;
	grid-template-columns: 44% 56%;
	align-items: center;
	min-height: 524px;
	padding: 12px 6px 0;
}
.hero-copy { position: relative; z-index: 2; padding: 22px 0 0; }
.hero-copy h1, .hero-copy h2, .hero-copy p { margin: 0; }
.hero-copy h1 {
	font-size: clamp(62px, 5.25vw, 82px);
	font-weight: 900;
	line-height: 1.08;
	letter-spacing: -.06em;
	white-space: nowrap;
}
.hero-copy h1 span { margin-right: .18em; color: #f23823; }
.hero-copy h2 {
	margin-top: 14px;
	color: #f04a24;
	font-size: clamp(38px, 3.3vw, 52px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: .02em;
	white-space: nowrap;
}
.hero-copy > p { margin-top: 17px; color: #f05b32; font-size: 20px; letter-spacing: .04em; }

.download-image-group { position: relative; width: 100%; max-width: 490px; }
.hero-downloads { margin-top: 24px; }
.download-image-pair { position: relative; }
.download-image-pair > img { display: block; width: 100%; height: auto; }
.download-hit {
	position: absolute;
	top: 11%;
	bottom: 12%;
	width: 47%;
	padding: 0;
	border: 0;
	border-radius: 18px;
	background: transparent;
	cursor: pointer;
}
.download-hit.android-hit { left: 1%; }
.download-hit.ios-hit { right: 1%; }
.download-hit span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.hero-visual { position: relative; z-index: 1; align-self: stretch; min-width: 0; }
.hero-visual img {
	position: absolute;
	top: -10px;
	right: -92px;
	width: 780px;
	max-width: none;
	height: auto;
	pointer-events: none;
}

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; z-index: 2; }
.feature-card {
	display: grid;
	grid-template-columns: 150px 1fr;
	align-items: center;
	min-height: 166px;
	padding: 8px 20px 8px 6px;
	border: 1px solid rgba(255, 255, 255, .92);
	border-radius: 21px;
	background: rgba(255, 253, 249, .72);
	box-shadow: 0 18px 42px rgba(143, 64, 27, .07);
	backdrop-filter: blur(12px);
}
.feature-icon { display: block; width: 148px; height: 148px; object-fit: contain; }
.feature-card h3, .feature-card p { margin: 0; }
.feature-card h3 { font-size: 27px; line-height: 1.2; }
.feature-card p { margin-top: 14px; color: #73635d; font-size: 16px; line-height: 1.55; }
.promo-banner {
	display: grid;
	grid-template-columns: 276px 1fr 470px;
	align-items: center;
	min-height: 158px;
	margin-top: 34px;
	padding: 0 34px 0 0;
	border: 1px solid rgba(255, 255, 255, .94);
	border-radius: 22px;
	background: rgba(255, 253, 249, .84);
	box-shadow: 0 18px 42px rgba(143, 64, 27, .08);
	backdrop-filter: blur(12px);
}
.promo-mascot { width: 276px; height: 156px; object-fit: contain; }
.promo-copy h2, .promo-copy p { margin: 0; }
.promo-copy h2 { color: #f04a24; font-size: 36px; line-height: 1.15; }
.promo-copy p { margin-top: 16px; color: #74645e; font-size: 17px; }
.promo-downloads { max-width: 470px; justify-self: end; }

button:focus-visible, a:focus-visible { outline: 3px solid #168bff; outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
@media (max-width: 1100px) {
	.main-nav { gap: 28px; }
	.hero-visual img { right: -120px; width: 700px; }
	.feature-card { grid-template-columns: 112px 1fr; }
	.feature-icon { width: 110px; height: 110px; }
	.feature-card h3 { font-size: 23px; }
	.promo-banner { grid-template-columns: 220px 1fr 390px; }
	.promo-mascot { width: 220px; }
}

@media (max-width: 820px) {
	.site-shell { width: min(100% - 28px, 680px); padding-top: 14px; }
	.site-header { grid-template-columns: 1fr auto; height: 64px; padding: 0 8px 0 16px; }
	.brand { font-size: 18px; }
	.brand-mark { width: 44px; height: 44px; }
	.brand-mark img { width: 54px; height: 54px; }
	.main-nav { display: none; }
	.nav-download { width: 150px; }
	.hero-section { display: flex; min-height: 0; padding-top: 42px; flex-direction: column; }
	.hero-copy { width: 100%; padding: 0; text-align: center; }
	.hero-copy h1 { font-size: clamp(48px, 13vw, 72px); white-space: normal; }
	.hero-copy h2 { font-size: clamp(31px, 8vw, 45px); white-space: normal; }
	.hero-copy > p { font-size: 16px; }
	.hero-downloads { width: min(100%, 500px); margin-right: auto; margin-left: auto; }
	.hero-visual {
		width: 100vw;
		min-height: 490px;
		margin: -12px calc((100% - 100vw) / 2) 0;
		overflow: hidden;
		flex: none;
	}
	.hero-visual img { top: 0; right: 50%; width: min(760px, 126vw); transform: translateX(50%); }
	.feature-grid { grid-template-columns: 1fr; gap: 14px; }
	.feature-card { grid-template-columns: 126px 1fr; min-height: 150px; }
	.feature-icon { width: 122px; height: 122px; }
	.promo-banner { grid-template-columns: 1fr; gap: 8px; padding: 20px; text-align: center; }
	.promo-mascot { width: 240px; height: 160px; margin: -8px auto -12px; }
	.promo-copy h2 { font-size: 31px; }
	.promo-copy p { margin-top: 10px; font-size: 15px; }
	.promo-downloads { width: min(100%, 470px); margin: 8px auto 0; justify-self: center; }
}

@media (max-width: 480px) {
	.site-shell { width: calc(100% - 20px); }
	.site-header { height: 58px; }
	.brand { gap: 4px; font-size: 16px; }
	.brand-mark { width: 38px; height: 38px; }
	.brand-mark img { width: 48px; height: 48px; }
	.nav-download { width: 122px; }
	.hero-section { padding-top: 34px; }
	.hero-copy h1 { font-size: 46px; }
	.hero-copy h2 { margin-top: 8px; font-size: 29px; }
	.hero-copy > p { margin-top: 12px; font-size: 14px; letter-spacing: 0; }
	.hero-downloads { margin-top: 18px; }
	.hero-visual { min-height: 360px; }
	.hero-visual img { width: 132vw; }
	.feature-card { grid-template-columns: 104px 1fr; padding-right: 12px; }
	.feature-icon { width: 100px; height: 100px; }
	.feature-card h3 { font-size: 22px; }
	.feature-card p { margin-top: 8px; font-size: 14px; }
	.promo-banner { margin-top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}


/* 鸿蒙沿用原图片按钮的圆角、高光和厚度，图标文字使用真实元素。 */
.harmony-download { display: flex; align-items: center; justify-content: center; gap: 10px; width: 48%; aspect-ratio: 2.1; margin: -24px auto 10px; padding: 10px 12px 14px; border: 0; background: url("./assets/harmony-download-button.png") center / 100% 100% no-repeat; color: #fff; text-align: left; cursor: pointer; }
.harmony-icon { flex: none; width: 28px; height: 28px; object-fit: contain; filter: brightness(0) invert(1); }
.harmony-label { display: flex; flex-direction: column; gap: 4px; }
.harmony-label strong { font-size: 16px; font-weight: 600; line-height: 1.15; }
.harmony-label small { font-size: 12px; line-height: 1.2; }
@media (max-width: 480px) { .harmony-download { gap: 7px; padding: 8px 8px 11px; } .harmony-icon { width: 23px; height: 23px; } .harmony-label strong { font-size: 13px; } .harmony-label small { font-size: 11px; } }
:root { --ink: #231f20; --brand: #c9361d; --muted: #73635d; }
/* 引导素材按蓝湖比例展示，透明区域保留，右上角箭头指向网页外的菜单。 */
.browser-guide { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; overflow-y: auto; overscroll-behavior: contain; }
.browser-guide::backdrop { background: rgba(22, 18, 16, .76); }
body:has(.browser-guide[open]) { overflow: hidden; }
.browser-guide-content { width: min(calc(100% - 32px), 560px); margin: 12px auto 32px; }
.browser-guide-art { position: relative; margin: 0; }
.browser-guide-art > img { display: block; width: 100%; height: auto; }
.guide-dismiss { position: absolute; left: 38%; bottom: 0; width: 24%; height: 14%; min-height: 44px; padding: 0; border: 0; border-radius: 40px; background: transparent; }
.browser-guide-copy { margin: 24px 12px 0; padding: 20px; border-radius: 16px; background: #fff; text-align: center; }
.browser-guide-copy > p { font-size: 15px; line-height: 1.7; }
#website-link { display: block; width: 100%; min-height: 44px; margin: 16px 0 12px; padding: 10px; border: 0; border-radius: 8px; color: var(--ink); background: #f6f3f0; font-size: 16px; text-align: center; }
#copy-website { width: 100%; min-height: 46px; padding: 10px; border: 0; border-radius: 24px; color: #fff; background: var(--brand); font-weight: 600; }
#copy-status:empty { display: none; }
#copy-status { margin-top: 12px; font-size: 13px; color: var(--muted); }



@media (max-width: 540px) { .browser-guide-content { width: calc(100% - 24px); margin-top: 8px; } .browser-guide-copy { margin: 24px 6px 0; padding: 18px 14px; } }
