/* TOWER BUILD official site */
:root {
	--nav-h: 64px;
	--brick: #c43232;
	--brick-deep: #1a0b18;
	--clay: #ff6b57;
	--sky: #7ee8ff;
	--cream: #fff4ea;
	--mist: #fff8f3;
	--ink: #241018;
	--ink-soft: #4d3040;
	--amber: #ffc107;
	--amber-deep: #8a4a14;
	--gold: #ffe07a;
	--pink: #ff6ad5;
	--paper: #fff7f0;
	--paper-alt: #fde8d8;
}

html, body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	background: var(--brick-deep);
	-webkit-tap-highlight-color: transparent;
	overscroll-behavior: none;
	scroll-behavior: smooth;
}

body.is-landing {
	touch-action: manipulation;
	overflow: hidden;
	height: 100%;
}

#landing {
	position: fixed;
	inset: 0;
	z-index: 20;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	background:
		radial-gradient(1100px 640px at -8% 8%, rgba(255, 106, 213, 0.42), transparent 52%),
		radial-gradient(900px 560px at 108% 0%, rgba(126, 232, 255, 0.38), transparent 48%),
		radial-gradient(820px 520px at 92% 78%, rgba(255, 224, 122, 0.45), transparent 52%),
		radial-gradient(720px 480px at 4% 92%, rgba(255, 107, 87, 0.28), transparent 50%),
		linear-gradient(165deg, #ffd6ea 0%, #ffb59a 18%, #ffd56a 42%, #9bebff 68%, #ffd0b8 100%);
	color: var(--ink);
	font-family: 'Figtree', "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

.site-nav {
	position: sticky;
	top: 0;
	z-index: 40;
	height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: env(safe-area-inset-top, 0px) max(14px, env(safe-area-inset-right, 0px)) 0 max(14px, env(safe-area-inset-left, 0px));
	background: rgba(26, 11, 24, 0.72);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-brand {
	font-family: 'Syne', sans-serif;
	font-weight: 800;
	font-size: 1.05rem;
	letter-spacing: 0.08em;
	color: #fff;
	text-decoration: none;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.nav-mark {
	width: 30px;
	height: 30px;
	flex: 0 0 30px;
}
.nav-mark svg { width: 100%; height: 100%; display: block; }
.nav-brand span { color: var(--amber); }
.nav-links {
	display: flex;
	align-items: center;
	gap: clamp(10px, 1.6vw, 22px);
}
.nav-links a {
	font-size: 0.92rem;
	font-weight: 700;
	color: rgba(255,255,255,0.78);
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.15s ease;
}
.nav-links a:hover { color: #fff; }
.nav-end {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}
.lang-switch {
	display: none !important;
}
.lang-switch button {
	appearance: none;
	border: 0;
	background: transparent;
	color: rgba(255,255,255,0.7);
	font: 700 0.78rem/1 'Syne', "PingFang SC", "Microsoft YaHei", sans-serif;
	padding: 0.38rem 0.62rem;
	border-radius: 999px;
	cursor: pointer;
}
.lang-switch button.is-on {
	background: #fff;
	color: #2a1020;
}
body.is-policy .lang-switch {
	border-color: rgba(42,16,32,0.18);
	background: rgba(255,255,255,0.7);
}
body.is-policy .lang-switch button { color: var(--ink-soft); }
body.is-policy .lang-switch button.is-on {
	background: var(--ink);
	color: #fff;
}
html[data-lang="zh"] .nav-play,
html[data-lang="zh"] .hero-play,
html[data-lang="zh"] .mobile-play a {
	letter-spacing: 0.06em;
}
.policy-legal-note {
	margin: 0 0 1.1rem;
	padding: 0.7rem 0.9rem;
	border-radius: 12px;
	background: rgba(229,154,58,0.16);
	border: 1px solid rgba(229,154,58,0.4);
	font-size: 0.92rem;
	line-height: 1.5;
	color: var(--ink);
}

.nav-play {
	appearance: none;
	border: none;
	cursor: pointer;
	font-family: 'Syne', sans-serif;
	font-weight: 800;
	font-size: 0.86rem;
	letter-spacing: 0.12em;
	padding: 0.55rem 1.15rem;
	border-radius: 999px;
	color: #2a1808;
	background: linear-gradient(180deg, #ffe07a 0%, var(--amber) 55%, #ff8a1a 100%);
	box-shadow: 0 0 0 3px rgba(255,193,7,0.18), 0 8px 18px rgba(255,138,26,0.35);
	text-decoration: none;
	display: inline-block;
	animation: pulseGlow 2.2s ease-in-out infinite;
}
.nav-play:hover { filter: brightness(1.06); }
.nav-link-play { display: none; }
.nav-toggle {
	display: none;
	appearance: none;
	border: 1px solid rgba(255,255,255,0.2);
	background: rgba(255,255,255,0.08);
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border-radius: 12px;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	flex-shrink: 0;
	-webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
	display: block;
	width: 18px;
	height: 2px;
	background: #fff;
	border-radius: 1px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.site-nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
	.nav-end { margin-left: auto; }
	.nav-play { display: none; }
	.nav-toggle { display: flex; }
	.nav-link-play { display: block; }
	.nav-links {
		display: none;
		position: absolute;
		top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		max-height: min(70vh, calc(100dvh - var(--nav-h) - env(safe-area-inset-top, 0px)));
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		padding: 8px 0 max(16px, env(safe-area-inset-bottom, 0px));
		background: rgba(26, 11, 24, 0.97);
		border-bottom: 1px solid rgba(255,255,255,0.08);
		box-shadow: 0 16px 32px rgba(0,0,0,0.28);
	}
	.site-nav.is-open .nav-links { display: flex; }
	.nav-links a {
		padding: 14px 20px;
		font-size: 1.02rem;
		min-height: 44px;
		display: flex;
		align-items: center;
		border-bottom: 1px solid rgba(255,255,255,0.06);
	}
	.nav-links a.nav-link-play {
		margin: 10px 16px 4px;
		justify-content: center;
		border: 0;
		border-radius: 999px;
		color: #2a1808;
		background: linear-gradient(180deg, #ffe07a 0%, var(--amber) 55%, #ff8a1a 100%);
	}
}

@media (max-width: 420px) {
	.nav-brand {
		font-size: 0.88rem;
		letter-spacing: 0.05em;
		gap: 6px;
		min-width: 0;
	}
	.nav-mark { width: 26px; height: 26px; flex-basis: 26px; }
	.lang-switch button { padding: 0.34rem 0.5rem; }
}

.landing-glow {
	position: sticky;
	top: 0;
	height: 0;
	z-index: 0;
	pointer-events: none;
}
.landing-glow .blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(28px);
	opacity: 0.7;
	animation: blobDrift 16s ease-in-out infinite alternate;
}
.blob-a {
	width: 280px;
	height: 280px;
	left: -60px;
	top: 120px;
	background: radial-gradient(circle, #ff6ad5 0%, transparent 70%);
}
.blob-b {
	width: 240px;
	height: 240px;
	right: -40px;
	top: 280px;
	background: radial-gradient(circle, #7ee8ff 0%, transparent 70%);
	animation-duration: 18s;
	animation-delay: -4s;
}
.blob-c {
	width: 320px;
	height: 320px;
	left: 22%;
	top: 62vh;
	background: radial-gradient(circle, #ffe07a 0%, transparent 70%);
	animation-duration: 20s;
	animation-delay: -8s;
}
.blob-d {
	width: 220px;
	height: 220px;
	right: 12%;
	top: 88vh;
	background: radial-gradient(circle, #ff6b57 0%, transparent 72%);
	animation-duration: 14s;
	animation-delay: -2s;
}
@keyframes blobDrift {
	from { transform: translate(0, 0) scale(1); }
	to { transform: translate(28px, -36px) scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
	.landing-glow .blob { animation: none; }
}

.hero {
	position: relative;
	z-index: 1;
	min-height: calc(100vh - var(--nav-h));
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 48px 20px 96px;
	overflow: hidden;
}
.hero-sky {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
	background:
		linear-gradient(180deg, rgba(255, 106, 213, 0.18), rgba(18, 6, 16, 0.28)),
		#ff6b57 url('assets/main-bg.png') center / cover no-repeat;
}
.hero-sky::after {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 18% 22%, rgba(255, 106, 213, 0.38), transparent 32%),
		radial-gradient(circle at 84% 16%, rgba(126, 232, 255, 0.34), transparent 30%),
		radial-gradient(circle at 50% 88%, rgba(255, 224, 122, 0.28), transparent 38%),
		linear-gradient(180deg, rgba(18, 6, 16, 0.12) 0%, rgba(42, 16, 32, 0.42) 100%);
}
.float-layer {
	position: absolute;
	inset: 0;
	z-index: 1;
	overflow: hidden;
	pointer-events: none;
}
.float-block {
	position: absolute;
	width: 54px;
	height: 38px;
	border-radius: 8px;
	background: linear-gradient(180deg, #ff8a73, #e23d3d);
	box-shadow: inset 0 -6px 0 rgba(0,0,0,0.15), 0 10px 18px rgba(0,0,0,0.2);
	animation: floaty 7s ease-in-out infinite;
	opacity: 0.85;
}
.float-block:nth-child(1) { left: 8%; top: 18%; animation-duration: 6.5s; }
.float-block:nth-child(2) { right: 10%; top: 28%; width: 40px; height: 28px; animation-duration: 8s; animation-delay: -2s; }
.float-block:nth-child(3) { left: 16%; bottom: 18%; width: 32px; height: 22px; animation-duration: 7.4s; animation-delay: -1s; }
.float-block:nth-child(4) { right: 14%; bottom: 22%; width: 46px; height: 32px; background: linear-gradient(180deg, #ffe07a, #ffb020); animation-duration: 7.8s; animation-delay: -3s; }
.float-block:nth-child(5) { left: 42%; top: 14%; width: 28px; height: 20px; background: linear-gradient(180deg, #ff9adf, #ff6ad5); animation-duration: 9s; animation-delay: -1.6s; }
.float-block:nth-child(6) { right: 28%; bottom: 16%; width: 36px; height: 24px; background: linear-gradient(180deg, #b8f4ff, #5ad8f0); animation-duration: 8.4s; animation-delay: -3.4s; }
.spark {
	position: absolute;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #fff5a8;
	box-shadow: 0 0 12px #ffe07a;
	animation: twinkle 2.8s ease-in-out infinite;
}
.spark:nth-child(7) { left: 22%; top: 22%; }
.spark:nth-child(8) { right: 24%; top: 16%; animation-delay: -0.8s; }
.spark:nth-child(9) { right: 18%; bottom: 28%; animation-delay: -1.4s; }

.hero-inner {
	position: relative;
	z-index: 2;
	width: min(920px, 94vw);
}
.hero-logo {
	width: min(300px, 56vw);
	height: auto;
	margin: 0 auto 0.2rem;
	filter: drop-shadow(0 10px 22px rgba(0,0,0,0.32));
	transform-origin: top center;
	animation: swing 3.2s ease-in-out infinite, rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-brand {
	margin: 0;
	font-family: 'Syne', sans-serif;
	font-weight: 800;
	font-size: clamp(2.4rem, 8vw, 5rem);
	line-height: 0.95;
	color: #fff;
	text-shadow: 0 3px 0 #ff4d6d, 0 12px 28px rgba(0,0,0,0.35);
	animation: rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}
.hero-tag {
	margin: 1rem auto 0;
	max-width: 24em;
	font-size: clamp(1.05rem, 2.4vw, 1.32rem);
	line-height: 1.4;
	color: #fff;
	font-weight: 600;
	text-shadow: 0 2px 14px rgba(18, 6, 16, 0.55);
	animation: rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both;
}
.hero-play {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 1.8rem;
	border: none;
	cursor: pointer;
	font-family: 'Syne', sans-serif;
	font-weight: 800;
	font-size: clamp(1.05rem, 2.6vw, 1.35rem);
	letter-spacing: 0.14em;
	padding: 1rem 2.4rem;
	border-radius: 999px;
	color: #2a1808;
	text-decoration: none;
	background: linear-gradient(180deg, #ffe07a 0%, var(--amber) 55%, #ff8a1a 100%);
	box-shadow: 0 1px 0 rgba(255,255,255,0.45) inset, 0 10px 28px rgba(255,138,26,0.4);
	transition: transform 0.15s ease, filter 0.15s ease;
	animation: rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both, pulseGlow 2.2s ease-in-out infinite 1s;
}
.hero-play svg {
	width: 1.05em;
	height: 1.05em;
	flex: 0 0 auto;
}
.hero-play:hover { filter: brightness(1.06); transform: translateY(-3px) scale(1.02); }
.hero-play:active { transform: translateY(1px); }
.hero-chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 1.15rem auto 0;
	max-width: 36rem;
	animation: rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}
.hero-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 4px 12px 4px 4px;
	border-radius: 999px;
	background: rgba(18, 6, 16, 0.55);
	border: 1px solid rgba(255,255,255,0.35);
	color: #fff;
	font-size: 0.82rem;
	font-weight: 700;
	backdrop-filter: blur(8px);
	text-shadow: 0 1px 4px rgba(18, 6, 16, 0.35);
}
.hero-chip .gicon {
	width: 28px;
	height: 28px;
	border-radius: 9px;
	box-shadow: none;
}

.gi-sprite {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}
.gicon {
	width: 56px;
	height: 56px;
	border-radius: 16px;
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	border: 2px solid #fff;
	box-shadow: inset 0 -4px 0 rgba(122, 62, 18, 0.12), 0 8px 14px rgba(42, 16, 32, 0.12);
	background: linear-gradient(180deg, #fff8ee, #ffe07a);
}
.gicon svg {
	width: 68%;
	height: 68%;
	display: block;
	pointer-events: none;
}
.gicon--star,
.gicon--hook,
.gicon--coin { background: linear-gradient(180deg, #fff8ee, #ffe07a); }
.gicon--brick,
.gicon--shop { background: linear-gradient(180deg, #fff8ee, #ffd8c4); }
.gicon--heart { background: linear-gradient(180deg, #fff8ee, #ffd0cc); }
.gicon--tower { background: linear-gradient(180deg, #fff8ee, #ffb8a8); }
.gicon--tap { background: linear-gradient(180deg, #eefbff, #bfefff); }
.gicon--save { background: linear-gradient(180deg, #f3fff0, #b8f0c0); }
.gicon--revive { background: linear-gradient(180deg, #e9fbea, #57d387); }
.gicon--mail,
.gicon--phone,
.gicon--pin { background: linear-gradient(180deg, #fff8ee, #ffd4c0); }
.gicon--swing svg {
	transform-origin: 50% 8%;
	animation: iconSwing 1.8s ease-in-out infinite alternate;
}
.gicon--beat svg { animation: iconBeat 1.2s ease-in-out infinite; }
@keyframes iconSwing {
	from { transform: rotate(-12deg); }
	to { transform: rotate(12deg); }
}
@keyframes iconBeat {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
	.gicon--swing svg,
	.gicon--beat svg { animation: none; }
}

.helper-grid {
	margin-top: 1.6rem;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}
.helper-card {
	margin: 0;
	padding: 18px 12px 16px;
	text-align: center;
	border-radius: 18px;
	background: #fffefb;
	border: 1px solid rgba(42, 16, 32, 0.1);
	box-shadow: 0 10px 24px rgba(42, 16, 32, 0.07);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.helper-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 32px rgba(42,16,32,0.12);
}
.helper-card .gicon {
	width: 72px;
	height: 72px;
	border-radius: 22px;
	margin: 0 auto 10px;
}
.helper-card strong {
	display: block;
	font-family: 'Syne', sans-serif;
	font-size: 1.02rem;
	color: var(--ink);
	margin-bottom: 0.2rem;
}
.helper-card p {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.4;
	color: var(--ink-soft);
}
@media (max-width: 760px) {
	.helper-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@keyframes rise {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: translateY(0); }
}
@keyframes swing {
	0%, 100% { transform: rotate(3deg); }
	50% { transform: rotate(-3deg); }
}
@keyframes floaty {
	0%, 100% { transform: translateY(0) rotate(-6deg); }
	50% { transform: translateY(-18px) rotate(8deg); }
}
@keyframes twinkle {
	0%, 100% { opacity: 0.25; transform: scale(0.7); }
	50% { opacity: 1; transform: scale(1.15); }
}
@keyframes pulseGlow {
	0%, 100% { box-shadow: 0 0 0 3px rgba(255,193,7,0.14), 0 8px 18px rgba(255,138,26,0.32); }
	50% { box-shadow: 0 0 0 7px rgba(255,193,7,0.08), 0 12px 28px rgba(255,138,26,0.5); }
}

.section {
	position: relative;
	z-index: 1;
	padding: clamp(56px, 8vw, 96px) clamp(18px, 4vw, 48px);
	background: linear-gradient(165deg, rgba(255, 247, 240, 0.62), rgba(255, 214, 196, 0.38) 55%, rgba(255, 236, 210, 0.5));
}
.section-inner {
	width: min(980px, 100%);
	margin: 0 auto;
}
.section-kicker {
	margin: 0 0 0.35rem;
	font-family: 'Syne', sans-serif;
	font-size: 0.78rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #9b1c1c;
	font-weight: 800;
}
.section-title {
	margin: 0;
	font-family: 'Syne', sans-serif;
	font-weight: 800;
	font-size: clamp(1.7rem, 4vw, 2.5rem);
	color: var(--ink);
}
.section-lead {
	margin: 0.85rem 0 0;
	max-width: 34em;
	font-size: 1.05rem;
	line-height: 1.55;
	color: var(--ink-soft);
}
.section--alt {
	background: linear-gradient(165deg, rgba(255, 224, 122, 0.34), rgba(255, 106, 213, 0.16) 48%, rgba(126, 232, 255, 0.28));
}
#game-info {
	background: linear-gradient(160deg, rgba(255, 176, 150, 0.42), rgba(255, 247, 240, 0.7) 60%, rgba(255, 214, 232, 0.4));
}
#helpers {
	background: linear-gradient(160deg, rgba(126, 232, 255, 0.28), rgba(255, 247, 240, 0.65) 55%, rgba(255, 224, 122, 0.3));
}
#screenshots {
	background: linear-gradient(165deg, rgba(255, 214, 196, 0.5), rgba(255, 106, 213, 0.14) 50%, rgba(255, 247, 240, 0.7));
}
#about {
	background: linear-gradient(165deg, rgba(255, 224, 122, 0.32), rgba(255, 214, 232, 0.4) 50%, rgba(255, 247, 240, 0.72));
}

.reveal {
	opacity: 0;
	transform: translateY(18px);
	animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
	animation-play-state: paused;
}
.reveal.is-in { animation-play-state: running; }

.steps {
	margin: 2rem 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}
.steps li {
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: 12px;
	align-items: start;
	padding: 18px 16px;
	border-radius: 18px;
	background: #fffefb;
	border: 1px solid rgba(42, 16, 32, 0.1);
	box-shadow: 0 10px 24px rgba(42, 16, 32, 0.07);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.steps li:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 32px rgba(42,16,32,0.12);
}
.step-num {
	width: 56px;
	height: 56px;
	border-radius: 16px;
	display: grid;
	place-items: center;
	font-family: 'Syne', sans-serif;
	font-weight: 800;
	font-size: 1.05rem;
	color: #fff;
	background: linear-gradient(180deg, #ff7a6a, #e23d3d);
	box-shadow: 0 8px 16px rgba(226,61,61,0.28);
}
.steps li .gicon { margin: 0; }
.step-body strong {
	display: block;
	font-size: 1.08rem;
	color: var(--ink);
	margin-bottom: 0.25rem;
}
.step-body span {
	color: var(--ink-soft);
	line-height: 1.45;
	font-size: 0.95rem;
}
@media (max-width: 760px) {
	.steps { grid-template-columns: 1fr; }
}

.shot-grid {
	margin-top: 1.6rem;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}
.shot-card {
	margin: 0;
	padding: 0;
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid rgba(42, 16, 32, 0.1);
	background: #fffefb;
	box-shadow: 0 10px 24px rgba(42,16,32,0.1);
	cursor: zoom-in;
	transition: transform 0.2s ease;
}
.shot-card:hover { transform: translateY(-6px) rotate(-0.6deg); }
.shot-card img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 9 / 16;
	object-fit: cover;
	object-position: top center;
	background: #c43c32;
}
.shot-card figcaption {
	margin: 0;
	padding: 0.65rem 0.8rem 0.85rem;
	font-family: 'Syne', sans-serif;
	font-weight: 800;
	font-size: 0.88rem;
	color: var(--ink);
}
@media (max-width: 900px) {
	.shot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 80;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(18,6,16,0.82);
	padding: 24px;
	cursor: zoom-out;
}
.lightbox.is-open { display: flex; }
.lightbox img {
	max-width: min(420px, 90vw);
	max-height: 88vh;
	border-radius: 16px;
	box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.about-grid {
	margin-top: 1.8rem;
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 28px;
}
@media (max-width: 760px) {
	.about-grid { grid-template-columns: 1fr; }
}
.about-copy p {
	margin: 0 0 1rem;
	line-height: 1.6;
	color: var(--ink-soft);
}
.about-copy a {
	color: #9b1c1c;
	font-weight: 800;
	text-underline-offset: 3px;
}
.about-copy a:hover { color: #b42318; }
.stat-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 12px;
}
.stat-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 16px 16px;
	border-radius: 16px;
	background: #fffefb;
	border: 1px solid rgba(42, 16, 32, 0.1);
}
.stat-list strong {
	display: block;
	font-family: 'Syne', sans-serif;
	font-size: 1.2rem;
	color: var(--ink);
}
.stat-list span {
	font-size: 0.92rem;
	color: var(--ink-soft);
}

.site-footer {
	position: relative;
	z-index: 1;
	padding: 36px 20px 88px;
	text-align: center;
	border-top: 1px solid rgba(255, 244, 234, 0.08);
	background:
		radial-gradient(520px 180px at 18% 0%, rgba(255, 106, 213, 0.28), transparent 62%),
		radial-gradient(460px 160px at 92% 100%, rgba(255, 193, 7, 0.2), transparent 58%),
		radial-gradient(380px 140px at 70% 0%, rgba(126, 232, 255, 0.14), transparent 60%),
		#2a1020;
	color: rgba(255, 244, 234, 0.78);
}
.footer-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 18px;
	margin-bottom: 16px;
}
.footer-company {
	margin: 0 auto 18px;
	max-width: 36em;
	font-size: 0.9rem;
	line-height: 1.65;
	color: rgba(255, 244, 234, 0.72);
}
.footer-company-name {
	margin: 0 0 0.45rem;
	font-family: 'Syne', sans-serif;
	font-weight: 800;
	font-size: 1.05rem;
	color: #fff;
}
.footer-company p { margin: 0.15rem 0; }
.footer-company a,
.footer-links a {
	color: #ffe07a;
	font-weight: 700;
	text-underline-offset: 3px;
}
.footer-links a {
	font-size: 0.9rem;
	color: rgba(255, 244, 234, 0.82);
}
.footer-links a:hover,
.footer-company a:hover {
	color: #ffe07a;
}
.footer-copyright {
	margin: 0;
	font-family: 'Syne', sans-serif;
	font-weight: 700;
	font-size: 0.92rem;
	color: #fff;
}

.mobile-play {
	display: none;
	position: sticky;
	bottom: 12px;
	z-index: 35;
	margin: 0 16px 12px;
	text-align: center;
}
.mobile-play a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	font-family: 'Syne', sans-serif;
	font-weight: 800;
	letter-spacing: 0.12em;
	padding: 0.95rem 1rem;
	border-radius: 999px;
	color: #2a1808;
	text-decoration: none;
	background: linear-gradient(180deg, #ffe07a 0%, var(--amber) 55%, #ff8a1a 100%);
	box-shadow: 0 10px 24px rgba(255,138,26,0.4);
}
.mobile-play a svg {
	width: 1.1em;
	height: 1.1em;
	flex: 0 0 auto;
}
@media (max-width: 760px) {
	.mobile-play {
		display: block;
		bottom: max(12px, env(safe-area-inset-bottom, 0px));
		margin: 0 max(16px, env(safe-area-inset-left, 0px)) max(12px, env(safe-area-inset-bottom, 0px));
	}
	.site-footer { padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
	.hero { padding: 32px 16px 88px; }
	.hero-logo { width: min(220px, 58vw); }
	.hero-chips { gap: 6px; }
	.hero-chip { font-size: 0.75rem; padding: 3px 10px 3px 3px; }
	.section { padding: 48px 16px; }
}

body.is-policy {
	touch-action: manipulation;
	overflow: auto;
	height: auto;
	min-height: 100%;
	background: var(--mist);
	font-family: 'Figtree', "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
	color: var(--ink);
}
.policy-top {
	position: sticky;
	top: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px clamp(14px, 3vw, 36px);
	background: rgba(255, 244, 234, 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(74, 28, 18, 0.12);
}
.policy-back {
	display: inline-flex;
	align-items: center;
	border: 1px solid rgba(74, 28, 18, 0.25);
	background: rgba(255,255,255,0.65);
	color: var(--ink);
	font-weight: 700;
	font-size: 0.95rem;
	padding: 0.55rem 1rem;
	border-radius: 999px;
	text-decoration: none;
}
.policy-brand {
	font-family: 'Syne', sans-serif;
	font-weight: 800;
	color: var(--ink);
	text-decoration: none;
}
.policy-main {
	width: min(760px, 94vw);
	margin: 0 auto;
	padding: 36px 0 64px;
}
.policy-main h1 {
	margin: 0 0 0.5rem;
	font-family: 'Syne', sans-serif;
	font-size: clamp(1.7rem, 4vw, 2.3rem);
}
.policy-meta { margin: 0 0 1.5rem; font-size: 0.9rem; color: var(--ink-soft); }
.policy-main h2 {
	margin: 1.6rem 0 0.6rem;
	font-family: 'Syne', sans-serif;
	font-size: 1.15rem;
}
.policy-main h3 {
	margin: 1.1rem 0 0.45rem;
	font-family: 'Syne', sans-serif;
	font-size: 1.02rem;
}
.policy-main p, .policy-main li {
	font-size: 0.98rem;
	line-height: 1.65;
	color: var(--ink-soft);
}
.policy-main p { margin: 0 0 0.85rem; }
.policy-main ol, .policy-main ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.policy-main li { margin-bottom: 0.45rem; }
.policy-operator {
	margin-top: 2rem;
	padding: 16px 18px;
	border-left: 4px solid var(--brick);
	background: rgba(255,255,255,0.5);
	border-radius: 0 12px 12px 0;
}
.policy-operator h3 { margin: 0 0 0.5rem; font-family: 'Syne', sans-serif; }
.policy-operator p { margin: 0.2rem 0; font-size: 0.92rem; }
.policy-operator a { color: var(--ink); font-weight: 600; }

.feature-grid {
	margin-top: 1.6rem;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}
.feature-card {
	padding: 18px 16px;
	border-radius: 18px;
	background: #fffefb;
	border: 1px solid rgba(42, 16, 32, 0.1);
	box-shadow: 0 10px 24px rgba(42,16,32,0.08);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.feature-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 32px rgba(42,16,32,0.12);
}
.feature-card .gicon { margin-bottom: 10px; }
.feature-card strong {
	display: block;
	font-family: 'Syne', sans-serif;
	font-size: 1.08rem;
	margin-bottom: 0.35rem;
	color: var(--ink);
}
.feature-card p {
	margin: 0;
	color: var(--ink-soft);
	line-height: 1.45;
	font-size: 0.95rem;
}
@media (max-width: 760px) {
	.feature-grid { grid-template-columns: 1fr; }
}

.contact-grid {
	margin-top: 1.6rem;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}
.contact-card {
	padding: 18px 16px;
	border-radius: 18px;
	background: #fffefb;
	border: 1px solid rgba(42, 16, 32, 0.1);
}
.contact-card .gicon { margin-bottom: 10px; }
.contact-card strong {
	display: block;
	font-family: 'Syne', sans-serif;
	margin-bottom: 0.4rem;
	color: var(--ink);
}
.contact-card p, .contact-card a {
	margin: 0;
	color: var(--ink-soft);
	line-height: 1.55;
	font-weight: 700;
}
.contact-card a { color: #9b1c1c; }
@media (max-width: 760px) {
	.contact-grid { grid-template-columns: 1fr; }
}

body.is-recharge .recharge-page {
	width: min(1100px, 94vw);
	margin: 0 auto;
	padding: 28px 0 64px;
}
.recharge-hero h1 {
	margin: 0 0 0.55rem;
	font-family: 'Syne', sans-serif;
	font-size: clamp(1.7rem, 4vw, 2.35rem);
	color: var(--ink);
}
.recharge-lead {
	margin: 0 0 1.4rem;
	max-width: 42em;
	font-size: 1.02rem;
	line-height: 1.6;
	color: var(--ink-soft);
}
.recharge-panel {
	margin: 0 0 1.25rem;
	padding: 18px 18px 20px;
	border: 1px solid rgba(42, 16, 32, 0.12);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.55);
}
.recharge-panel h2 {
	margin: 0 0 0.65rem;
	font-family: 'Syne', sans-serif;
	font-size: 1.15rem;
	color: var(--ink);
}
.recharge-panel--usage ul {
	margin: 0;
	padding-left: 1.2rem;
	color: var(--ink-soft);
	line-height: 1.65;
}
.recharge-panel--usage li { margin-bottom: 0.45rem; }
.recharge-panel--usage a { color: var(--ink); font-weight: 700; }
.recharge-panel--paynote {
	border-color: rgba(229, 154, 58, 0.55);
	background: rgba(229, 154, 58, 0.14);
}
.recharge-panel--paynote p {
	margin: 0;
	line-height: 1.55;
	color: var(--ink);
	font-size: 0.98rem;
}
.recharge-cta-note {
	margin: 0.75rem 0 0;
	font-size: 0.88rem;
	line-height: 1.45;
	color: var(--ink-soft);
}
.gem-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(220px, 1fr));
	gap: 14px;
}
.gem-card {
	appearance: none;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 12px;
	min-width: 0;
	min-height: 118px;
	padding: 14px 14px 12px;
	border: 2px solid rgba(42, 16, 32, 0.2);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.78);
	text-align: left;
	cursor: pointer;
	font-family: 'Figtree', "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
	font-size: 16px;
	color: var(--ink);
}
.gem-card:hover { background: #fff; }
.gem-card--tagged { border-color: rgba(229, 154, 58, 0.75); }
.gem-card.is-selected {
	border-color: var(--amber);
	box-shadow: 0 0 0 3px rgba(229, 154, 58, 0.28);
	background: #fff;
}
.gem-card-top {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-right: 4.5em;
}
.gem-card-tag {
	position: absolute;
	top: 10px;
	right: 12px;
	font-size: 11px;
	font-weight: 700;
	color: var(--amber-deep);
}
.gem-card-icon {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: linear-gradient(180deg, #ffe07a, #f0b429);
	box-shadow: inset 0 -3px 0 rgba(0,0,0,0.12);
	flex: 0 0 auto;
}
.gem-card-body { min-width: 0; flex: 1; }
.gem-card-name, .gem-card-desc {
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.gem-card-name { font-weight: 700; font-size: 16px; }
.gem-card-desc { font-size: 12px; color: var(--ink-soft); }
.gem-card-price {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px 10px;
	border-radius: 999px;
	background: linear-gradient(180deg, #ffe07a 0%, var(--amber) 55%, #c47820 100%);
	color: #fff;
	font-weight: 700;
	font-size: 15px;
}
.recharge-form { display: grid; gap: 16px; }
.recharge-fields-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 16px;
}
.field { display: grid; gap: 6px; min-width: 0; }
.field-label { font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.field-label em { color: #b45309; font-style: normal; }
.field input[type="text"],
.field input[type="email"] {
	width: 100%;
	box-sizing: border-box;
	padding: 0.7rem 0.85rem;
	border: 1px solid rgba(42, 16, 32, 0.22);
	border-radius: 10px;
	background: #fff;
	font: inherit;
	font-size: 1rem;
	color: var(--ink);
}
.field--pay { margin: 0; padding: 0; border: 0; }
.pay-options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 12px;
	margin-top: 8px;
}
.pay-option {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 14px;
	border: 1px solid rgba(42, 16, 32, 0.16);
	border-radius: 12px;
	background: rgba(255,255,255,0.75);
	cursor: pointer;
}
.pay-option strong { display: block; color: var(--ink); }
.pay-option small { display: block; margin-top: 2px; color: var(--ink-soft); font-size: 0.85rem; }
.field--check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.92rem;
	line-height: 1.55;
	color: var(--ink-soft);
}
.field--check a { color: var(--ink); font-weight: 700; }
.recharge-submit {
	appearance: none;
	border: 0;
	border-radius: 999px;
	padding: 0.9rem 1.2rem;
	width: min(100%, 360px);
	justify-self: center;
	font-family: 'Syne', sans-serif;
	font-weight: 800;
	font-size: 1.05rem;
	color: #2a1808;
	background: linear-gradient(180deg, #ffe07a 0%, var(--amber) 55%, #c47820 100%);
	cursor: pointer;
}
.recharge-submit:disabled { opacity: 0.45; cursor: not-allowed; }
.recharge-result {
	margin-top: 1.1rem;
	padding: 16px 18px;
	border-radius: 12px;
	border: 1px solid rgba(226, 61, 61, 0.3);
	background: rgba(255, 255, 255, 0.7);
	color: var(--ink-soft);
	line-height: 1.55;
}
.recharge-result h3 { margin: 0 0 0.55rem; font-family: 'Syne', sans-serif; color: var(--ink); }
.recharge-result p { margin: 0.35rem 0; }
.recharge-result a { color: var(--ink); font-weight: 700; }
@media (max-width: 900px) {
	.gem-grid { grid-template-columns: repeat(3, minmax(180px, 1fr)); }
}
@media (max-width: 720px) {
	.recharge-fields-row, .pay-options { grid-template-columns: 1fr; }
	.recharge-submit { width: 100%; }
}
@media (max-width: 640px) {
	.gem-grid { grid-template-columns: repeat(2, minmax(140px, 1fr)); }
	.gem-card-top { padding-right: 0; }
	.gem-card--tagged .gem-card-top { padding-right: 4.2em; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation: none !important;
		transition: none !important;
	}
	.hero-logo { transform: none; }
}
