/**
 * 靓号商城 - 前台样式
 * 移动端优先，自动适配子比主题的明暗模式。
 */

.lhm-app {
	--lhm-primary: #ff7a2f;
	--lhm-primary-soft: #fff2e8;
	--lhm-bg: #f4f5f7;
	--lhm-panel: #ffffff;
	--lhm-card: #f6f6f7;
	--lhm-text: #17181a;
	--lhm-muted: #9aa0a6;
	--lhm-line: rgba(17, 18, 20, 0.065);
	--lhm-btn: #ffffff;
	--lhm-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
	--lhm-num-font: "DIN Alternate", "Bahnschrift", "HarmonyOS Sans SC", "Segoe UI", Arial, sans-serif;
	--lhm-cols-md: 3;
	--lhm-cols-lg: 4;

	position: relative;
	max-width: 960px;
	margin: 0 auto;
	overflow: hidden;
	border-radius: 18px;
	background: var(--lhm-bg);
	color: var(--lhm-text);
	font-family: var(--lhm-font);
	font-size: 14px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	text-align: left;
}

.lhm-app *,
.lhm-app *::before,
.lhm-app *::after {
	box-sizing: border-box;
}

.lhm-app [hidden] {
	display: none !important;
}

.lhm-app :where(button) {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	box-shadow: none;
	text-transform: none;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.lhm-app a {
	text-decoration: none;
}

.lhm-app p,
.lhm-app h1,
.lhm-app h3 {
	margin: 0;
}

.lhm-app img {
	display: block;
	max-width: 100%;
}

.lhm-app input[type="search"] {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	height: auto;
}

.lhm-page {
	padding: 22px 16px 46px;
	background: transparent;
}

/* ---------- Hero ---------- */

.lhm-hero {
	position: relative;
	overflow: hidden;
	padding: 26px 22px 32px;
	color: #fff;
	background: linear-gradient(155deg, #3f2719 0%, #2b1a12 48%, #1a110c 100%);
}

.lhm-hero-glow {
	position: absolute;
	top: -150px;
	right: -110px;
	width: 330px;
	height: 330px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 146, 68, 0.42), rgba(255, 146, 68, 0) 68%);
	pointer-events: none;
}

.lhm-hero-dots {
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
	background-size: 20px 20px;
	opacity: 0.32;
	-webkit-mask-image: linear-gradient(to bottom, #000, transparent 82%);
	mask-image: linear-gradient(to bottom, #000, transparent 82%);
	pointer-events: none;
}

.lhm-hero-inner {
	position: relative;
	z-index: 1;
}

.lhm-hero-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
}

.lhm-hero-kicker {
	display: block;
	margin-bottom: 6px;
	color: rgba(255, 190, 140, 0.62);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.18em;
}

.lhm-hero-title {
	font-size: 27px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.5px;
	color: #fff;
}

.lhm-hero-sub {
	margin-top: 7px;
	color: rgba(255, 255, 255, 0.55);
	font-size: 12.5px;
	line-height: 1.5;
}

.lhm-hero-mark {
	flex: none;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 13px;
	background: linear-gradient(135deg, #ffcf87, #ff8a2a);
	box-shadow: 0 8px 18px rgba(255, 120, 30, 0.35);
	color: #3a1c00;
	font-size: 20px;
	font-weight: 800;
	transform: rotate(6deg);
}

/* 我的靓号 */

.lhm-me {
	margin-top: 20px;
}

.lhm-me-head {
	display: flex;
	align-items: center;
	gap: 11px;
}

a.lhm-me-head {
	display: flex;
	color: #fff;
}

.lhm-avatar {
	display: grid;
	flex: none;
	place-items: center;
	width: 44px;
	height: 44px;
	overflow: hidden;
	border: 1.5px solid rgba(255, 255, 255, 0.34);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
	color: rgba(255, 255, 255, 0.6);
}

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

.lhm-avatar svg {
	width: 70%;
	height: 70%;
}

.lhm-me-info {
	min-width: 0;
}

.lhm-me-line {
	display: flex;
	align-items: center;
	gap: 7px;
}

.lhm-me-name {
	overflow: hidden;
	max-width: 180px;
	color: #fff;
	font-size: 15.5px;
	font-weight: 700;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.lhm-vip {
	padding: 4px 6px;
	border-radius: 5px;
	background: linear-gradient(135deg, #ffe3a3, #ffb547);
	box-shadow: 0 2px 6px rgba(255, 155, 30, 0.3);
	color: #4a2800;
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.4px;
}

.lhm-vip--ghost {
	background: rgba(255, 255, 255, 0.14);
	box-shadow: none;
	color: #ffd9b3;
	font-weight: 600;
}

.lhm-me-tip {
	margin-top: 4px;
	color: rgba(255, 255, 255, 0.48);
	font-size: 11.5px;
}

.lhm-me-arrow {
	margin-left: auto;
	color: rgba(255, 255, 255, 0.45);
	font-size: 24px;
	line-height: 1;
}

.lhm-plate {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 14px;
	padding: 11px 13px;
	border: 1px solid rgba(255, 186, 120, 0.2);
	border-radius: 12px;
	background: linear-gradient(100deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.lhm-plate-label {
	color: rgba(255, 255, 255, 0.62);
	font-size: 12.5px;
	letter-spacing: 0.2px;
}

.lhm-plate-value {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #ffcf9b;
	font-family: var(--lhm-num-font);
	font-size: 21px;
	font-weight: 800;
	letter-spacing: 0.6px;
	line-height: 1;
}

.lhm-plate-value--empty {
	color: rgba(255, 255, 255, 0.45);
	font-family: var(--lhm-font);
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: 0;
}

.lhm-plate-badge {
	padding: 3px 4px;
	border-radius: 5px;
	background: linear-gradient(135deg, #ffd79a, #ff9c3f);
	color: #3a1c00;
	font-family: var(--lhm-font);
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
}

/* ---------- Body ---------- */

.lhm-body {
	position: relative;
	z-index: 2;
	margin-top: -16px;
	padding: 0 14px 44px;
	border-radius: 18px 18px 0 0;
	background: var(--lhm-panel);
}

.lhm-panel {
	padding-top: 16px;
}

.lhm-search {
	display: flex;
	align-items: center;
	gap: 9px;
	height: 46px;
	padding: 0 13px;
	border: 1.5px solid #ffd7bd;
	border-color: color-mix(in srgb, var(--lhm-primary) 38%, #fff);
	border-radius: 11px;
	background: var(--lhm-panel);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lhm-search:focus-within {
	border-color: var(--lhm-primary);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--lhm-primary) 12%, transparent);
}

.lhm-search-icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 19px;
	height: 19px;
	color: var(--lhm-muted);
}

.lhm-search-icon svg {
	width: 100%;
	height: 100%;
}

.lhm-search input {
	flex: 1;
	min-width: 0;
	height: 100%;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--lhm-text);
	font-family: inherit;
	font-size: 13.5px;
}

.lhm-search input::placeholder {
	color: #b3b7bd;
}

.lhm-search-clear {
	display: grid;
	flex: none;
	place-items: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #eceef1;
	color: #8a9096;
	font-size: 16px;
	line-height: 1;
}

/* Tabs */

.lhm-tabs {
	display: flex;
	gap: 24px;
	margin-top: 15px;
	overflow-x: auto;
	border-bottom: 1px solid var(--lhm-line);
	scrollbar-width: none;
}

.lhm-tabs::-webkit-scrollbar {
	display: none;
}

.lhm-tab {
	position: relative;
	flex: none;
	padding: 2px 1px 11px;
	color: #6b7076;
	font-size: 15.5px;
	font-weight: 500;
	transition: color 0.2s ease;
}

.lhm-tab:hover {
	color: var(--lhm-text);
}

.lhm-tab.is-active {
	color: var(--lhm-text);
	font-size: 16.5px;
	font-weight: 800;
}

.lhm-tab.is-active::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 26px;
	height: 3px;
	border-radius: 3px;
	background: var(--lhm-primary);
	transform: translateX(-50%);
}

/* Chips */

.lhm-chips {
	display: flex;
	gap: 8px;
	padding: 13px 0 1px;
	overflow-x: auto;
	scrollbar-width: none;
}

.lhm-chips::-webkit-scrollbar {
	display: none;
}

.lhm-chip {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 5px;
	padding: 7px 14px;
	border-radius: 8px;
	background: #f2f3f5;
	color: #64696f;
	font-size: 13px;
	font-weight: 500;
	transition: background 0.2s ease, color 0.2s ease;
}

.lhm-chip:hover {
	color: var(--lhm-primary);
}

.lhm-chip.is-active {
	background: #ffe9d9;
	background: color-mix(in srgb, var(--lhm-primary) 14%, #fff);
	color: var(--lhm-primary);
	font-weight: 700;
}

.lhm-chip-ico {
	width: 14px;
	height: 14px;
	flex: none;
	opacity: 0.8;
}

/* ---------- 活动横幅 ---------- */

.lhm-banner {
	position: relative;
	display: grid;
	grid-template-columns: 108px minmax(0, 1fr);
	align-items: center;
	gap: 6px;
	margin-top: 14px;
	padding: 12px 14px 12px 6px;
	overflow: hidden;
	border-radius: 13px;
	background: linear-gradient(105deg, #f1e6ff 0%, #f7f0ff 52%, #ede0ff 100%);
}

.lhm-banner::after {
	content: "";
	position: absolute;
	top: -42px;
	right: -40px;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	pointer-events: none;
}

.lhm-banner-art {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 108px;
}

.lhm-banner-art svg {
	width: 100%;
	height: 100%;
}

.lhm-banner-art img {
	width: auto;
	max-height: 104px;
	border-radius: 10px;
	object-fit: contain;
}

.lhm-banner-copy {
	position: relative;
	z-index: 1;
	min-width: 0;
}

.lhm-banner-title {
	color: #6d28d9;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: 0.2px;
}

.lhm-banner-sub {
	margin-top: 4px;
	color: #8b5cf6;
	font-size: 11.5px;
	letter-spacing: 0.3px;
}

.lhm-banner-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 9px;
	padding: 7px 18px;
	border-radius: 999px;
	background: linear-gradient(100deg, #8b5cf6, #6d28d9);
	box-shadow: 0 6px 14px rgba(109, 40, 217, 0.25);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.lhm-banner-btn:hover {
	transform: translateY(-1px);
}

/* ---------- 号码卡片 ---------- */

.lhm-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 11px;
	margin-top: 14px;
	transition: opacity 0.2s ease;
}

.lhm-grid.is-loading {
	opacity: 0.5;
	pointer-events: none;
}

@media (min-width: 640px) {
	.lhm-grid {
		grid-template-columns: repeat(var(--lhm-cols-md, 3), minmax(0, 1fr));
	}
}

@media (min-width: 960px) {
	.lhm-grid {
		grid-template-columns: repeat(var(--lhm-cols-lg, 4), minmax(0, 1fr));
	}
}

.lhm-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 122px;
	padding: 26px 14px 14px;
	overflow: hidden;
	border: 1px solid transparent;
	border-radius: 11px;
	background: var(--lhm-card);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.lhm-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(23, 24, 26, 0.07);
}

.lhm-tag {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 5px 7px 6px;
	border-radius: 0 10px 0 9px;
	background: linear-gradient(135deg, #ffb03a, #ff7a1f);
	color: #fff;
	font-size: 10.5px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.2px;
}

.lhm-card--birthday .lhm-tag {
	background: linear-gradient(135deg, #ff9b3d, #ff6a00);
}

.lhm-tag-ico {
	width: 11px;
	height: 11px;
	flex: none;
}

.lhm-card .lhm-watermark {
	position: absolute;
	right: -8px;
	bottom: -10px;
	z-index: 0;
	color: var(--lhm-primary);
	opacity: 0.07;
	pointer-events: none;
	transform: rotate(-10deg);
}

.lhm-card .lhm-watermark-ico {
	width: 68px;
	height: 68px;
}

.lhm-card > .lhm-num,
.lhm-card > .lhm-foot {
	position: relative;
	z-index: 1;
}

/* 10 种靓号图标样式 */
.lhm-icon {
	box-sizing: border-box;
}

.lhm-icon--solid {
	fill: currentColor;
	fill-opacity: 0.22;
}

.lhm-icon--soft {
	padding: 2px;
	border-radius: 5px;
	background: rgba(255, 122, 47, 0.14);
	background: color-mix(in srgb, var(--lhm-primary) 15%, transparent);
}

.lhm-icon--badge {
	padding: 2px;
	border-radius: 5px;
	color: #fff;
	background: var(--lhm-primary);
}

.lhm-icon--circle {
	padding: 2px;
	border-radius: 50%;
	color: #fff;
	background: var(--lhm-primary);
}

.lhm-icon--gradient {
	padding: 2px;
	border-radius: 5px;
	color: #fff;
	background: linear-gradient(135deg, #ffb03a, var(--lhm-primary));
}

.lhm-icon--outline {
	padding: 2px;
	border-radius: 5px;
	border: 1px solid currentColor;
}

.lhm-icon--thin {
	stroke-width: 1.1;
}

.lhm-icon--bold {
	stroke-width: 2.6;
}

.lhm-icon--glow {
	filter: drop-shadow(0 0 3px currentColor);
}

.lhm-tag .lhm-icon,
.lhm-modal-tag .lhm-icon {
	padding: 1px;
	border-radius: 4px;
}

.lhm-tag .lhm-icon--badge,
.lhm-tag .lhm-icon--circle,
.lhm-tag .lhm-icon--gradient,
.lhm-modal-tag .lhm-icon--badge,
.lhm-modal-tag .lhm-icon--circle,
.lhm-modal-tag .lhm-icon--gradient {
	color: var(--lhm-primary);
	background: rgba(255, 255, 255, 0.92);
}

.lhm-tag .lhm-icon--soft,
.lhm-modal-tag .lhm-icon--soft {
	background: rgba(255, 255, 255, 0.22);
}

.lhm-card .lhm-watermark .lhm-icon {
	padding: 0;
	border: 0;
	border-radius: 0;
	color: var(--lhm-primary);
	background: none;
	box-shadow: none;
	fill: none;
	fill-opacity: 1;
	stroke: currentColor;
	filter: none;
}

.lhm-num {
	padding-top: 2px;
	color: var(--lhm-text);
	font-family: var(--lhm-num-font);
	font-size: clamp(28px, 8vw, 36px);
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.4px;
	line-height: 1.05;
	word-break: break-all;
}

.lhm-card--birthday .lhm-num {
	color: #ff6a00;
}

.lhm-len-7 .lhm-num {
	font-size: clamp(23px, 6.7vw, 31px);
	letter-spacing: 0;
}

.lhm-len-8 .lhm-num {
	font-size: clamp(21px, 6.1vw, 28px);
	letter-spacing: 0;
}

.lhm-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: auto;
	padding-top: 14px;
}

.lhm-price {
	color: var(--lhm-text);
	font-family: var(--lhm-num-font);
	font-size: 18px;
	font-weight: 800;
	letter-spacing: 0.2px;
}

.lhm-price small {
	margin-right: 1px;
	font-size: 11.5px;
	font-weight: 700;
}

.lhm-price--free {
	color: var(--lhm-primary);
	font-size: 15px;
}

.lhm-claim {
	flex: none;
	min-width: 82px;
	padding: 8px 15px;
	border: 1px solid rgba(17, 18, 20, 0.055);
	border-radius: 999px;
	background: var(--lhm-btn);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
	color: #202124;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	transition: color 0.18s ease, border-color 0.18s ease;
}

.lhm-claim:hover {
	border-color: #ffd2b5;
	border-color: color-mix(in srgb, var(--lhm-primary) 40%, #fff);
	color: var(--lhm-primary);
}

.lhm-claim:disabled {
	border-color: transparent;
	background: #eff0f2;
	box-shadow: none;
	color: #a9adb2;
	cursor: default;
}

.lhm-card.is-sold {
	opacity: 0.55;
}

/* 空状态 / 加载更多 */

.lhm-empty {
	padding: 52px 0 30px;
	color: #b0b5bb;
	text-align: center;
}

.lhm-empty svg {
	width: 52px;
	height: 52px;
	margin: 0 auto 10px;
	color: #d3d7db;
}

.lhm-empty p {
	font-size: 13px;
}

.lhm-more {
	display: block;
	width: 100%;
	margin: 16px 0 4px;
	padding: 11px;
	border: 1px solid var(--lhm-line);
	border-radius: 11px;
	background: var(--lhm-panel);
	color: #7b8087;
	font-size: 13.5px;
	font-weight: 500;
}

.lhm-more:hover {
	border-color: #ffd7bd;
	color: var(--lhm-primary);
}

.lhm-more:disabled {
	opacity: 0.6;
	cursor: wait;
}

/* ---------- 弹窗 ---------- */

.lhm-modal {
	position: fixed;
	inset: 0;
	z-index: 99990;
	display: none;
}

.lhm-modal.is-open {
	display: block;
}

.lhm-modal-mask {
	position: absolute;
	inset: 0;
	background: rgba(12, 10, 8, 0.5);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	animation: lhmFade 0.2s ease;
}

.lhm-modal-box {
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 100%;
	max-width: 460px;
	padding: 24px 22px calc(20px + env(safe-area-inset-bottom));
	border-radius: 20px 20px 0 0;
	background: var(--lhm-panel);
	box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.18);
	color: var(--lhm-text);
	font-family: var(--lhm-font);
	line-height: 1.5;
	transform: translateX(-50%);
	animation: lhmUp 0.28s cubic-bezier(0.22, 0.8, 0.3, 1);
}

@media (min-width: 560px) {
	.lhm-modal-box {
		top: 50%;
		bottom: auto;
		padding: 26px;
		border-radius: 18px;
		transform: translate(-50%, -50%);
		animation: lhmPop 0.2s ease;
	}
}

.lhm-modal-x {
	position: absolute;
	top: 12px;
	right: 14px;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #f3f4f6;
	color: #9aa0a6;
	font-size: 20px;
	line-height: 1;
}

.lhm-modal-kicker {
	color: var(--lhm-muted);
	font-size: 12px;
	letter-spacing: 0.1em;
}

.lhm-modal-title {
	margin-top: 6px;
	font-family: var(--lhm-num-font);
	font-size: 40px;
	font-weight: 800;
	letter-spacing: 0.5px;
	line-height: 1.1;
	word-break: break-all;
}

.lhm-modal-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 10px;
}

.lhm-modal-tag {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 8px;
	border-radius: 5px;
	background: #fff0e3;
	color: #c25900;
	font-size: 11px;
	font-weight: 600;
}

.lhm-modal-price {
	font-family: var(--lhm-num-font);
	font-size: 18px;
	font-weight: 800;
}

.lhm-modal-hint {
	margin-top: 10px;
	color: var(--lhm-muted);
	font-size: 13px;
}

.lhm-modal-hint strong {
	color: var(--lhm-primary);
}

.lhm-modal-note {
	margin-top: 12px;
	padding: 10px 12px;
	border-radius: 9px;
	background: #f7f8f9;
	color: var(--lhm-muted);
	font-size: 12.5px;
	line-height: 1.65;
}

.lhm-modal-error {
	margin-top: 10px;
	padding: 8px 10px;
	border-radius: 8px;
	background: #fff0f0;
	color: #e5484d;
	font-size: 12.5px;
}

.lhm-modal-actions {
	display: flex;
	gap: 10px;
	margin-top: 18px;
}

.lhm-btn-ghost,
.lhm-btn-primary {
	display: inline-flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	height: 44px;
	border-radius: 12px;
	font-size: 14.5px;
	font-weight: 600;
	transition: opacity 0.18s ease, transform 0.18s ease;
}

.lhm-btn-ghost {
	background: #f3f4f6;
	color: #5f6368;
}

.lhm-btn-primary {
	background: linear-gradient(100deg, var(--lhm-primary), color-mix(in srgb, var(--lhm-primary) 76%, #ffb36b));
	box-shadow: 0 8px 18px color-mix(in srgb, var(--lhm-primary) 28%, transparent);
	color: #fff;
}

.lhm-btn-primary:hover {
	transform: translateY(-1px);
}

.lhm-btn-primary:disabled {
	cursor: wait;
	opacity: 0.65;
	transform: none;
}

.lhm-success-icon {
	width: 56px;
	height: 56px;
	margin: 4px auto 0;
	color: #22a06b;
}

.lhm-success-icon svg {
	width: 100%;
	height: 100%;
}

.lhm-success-title {
	margin-top: 10px;
	font-size: 19px;
	font-weight: 800;
	text-align: center;
}

.lhm-success-sub {
	margin-top: 6px;
	padding: 0 10px;
	color: var(--lhm-muted);
	font-size: 12.5px;
	line-height: 1.6;
	text-align: center;
}

.lhm-success-number {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 16px auto 0;
	padding: 14px;
	border-radius: 12px;
	background: #fff5ec;
	background: color-mix(in srgb, var(--lhm-primary) 9%, #fff);
	color: var(--lhm-primary);
}

.lhm-success-number strong {
	font-family: var(--lhm-num-font);
	font-size: 30px;
	letter-spacing: 0.5px;
	line-height: 1;
	word-break: break-all;
}

.lhm-success-note {
	margin-top: 12px;
	color: var(--lhm-muted);
	font-size: 12.5px;
	line-height: 1.6;
	text-align: center;
}

/* Toast */

.lhm-toast {
	position: fixed;
	top: 24px;
	left: 50%;
	z-index: 99999;
	max-width: 86vw;
	padding: 9px 16px;
	border-radius: 999px;
	background: rgba(20, 20, 22, 0.88);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
	color: #fff;
	font-family: var(--lhm-font);
	font-size: 13px;
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, -8px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.lhm-toast.is-show {
	opacity: 1;
	transform: translate(-50%, 0);
}

/* ---------- 深色模式 ---------- */

.lhm-app.lhm-dark,
body.dark .lhm-app.lhm-theme,
body.dark-theme .lhm-app.lhm-theme,
body.dark-mode .lhm-app.lhm-theme,
html[data-theme="dark"] .lhm-app.lhm-theme {
	--lhm-bg: #0e0f11;
	--lhm-panel: #151619;
	--lhm-card: #1d1f23;
	--lhm-text: #f2f3f5;
	--lhm-muted: #8e949b;
	--lhm-line: rgba(255, 255, 255, 0.08);
	--lhm-btn: #26282d;
	--lhm-primary-soft: #3a2417;
}

.lhm-dark .lhm-tab,
body.dark .lhm-app.lhm-theme .lhm-tab,
body.dark-theme .lhm-app.lhm-theme .lhm-tab,
html[data-theme="dark"] .lhm-app.lhm-theme .lhm-tab {
	color: #979da4;
}

.lhm-dark .lhm-tab.is-active,
body.dark .lhm-app.lhm-theme .lhm-tab.is-active,
body.dark-theme .lhm-app.lhm-theme .lhm-tab.is-active,
html[data-theme="dark"] .lhm-app.lhm-theme .lhm-tab.is-active {
	color: var(--lhm-text);
}

.lhm-dark .lhm-chip,
body.dark .lhm-app.lhm-theme .lhm-chip,
body.dark-theme .lhm-app.lhm-theme .lhm-chip,
html[data-theme="dark"] .lhm-app.lhm-theme .lhm-chip {
	background: #222428;
	color: #a8adb4;
}

.lhm-dark .lhm-chip.is-active,
body.dark .lhm-app.lhm-theme .lhm-chip.is-active,
body.dark-theme .lhm-app.lhm-theme .lhm-chip.is-active,
html[data-theme="dark"] .lhm-app.lhm-theme .lhm-chip.is-active {
	background: #3a2718;
	color: #ffa25e;
}

.lhm-dark .lhm-claim,
body.dark .lhm-app.lhm-theme .lhm-claim,
body.dark-theme .lhm-app.lhm-theme .lhm-claim,
html[data-theme="dark"] .lhm-app.lhm-theme .lhm-claim {
	border-color: rgba(255, 255, 255, 0.07);
	background: #26282d;
	color: #e8eaed;
}

.lhm-dark .lhm-claim:disabled,
body.dark .lhm-app.lhm-theme .lhm-claim:disabled,
body.dark-theme .lhm-app.lhm-theme .lhm-claim:disabled,
html[data-theme="dark"] .lhm-app.lhm-theme .lhm-claim:disabled {
	background: #1a1c1f;
	color: #5f646a;
}

.lhm-dark .lhm-search-clear,
body.dark .lhm-app.lhm-theme .lhm-search-clear,
body.dark-theme .lhm-app.lhm-theme .lhm-search-clear,
html[data-theme="dark"] .lhm-app.lhm-theme .lhm-search-clear {
	background: #2a2d32;
	color: #9aa0a6;
}

.lhm-dark .lhm-modal-note,
body.dark .lhm-app.lhm-theme .lhm-modal-note,
body.dark-theme .lhm-app.lhm-theme .lhm-modal-note,
html[data-theme="dark"] .lhm-app.lhm-theme .lhm-modal-note,
.lhm-dark .lhm-btn-ghost,
body.dark .lhm-app.lhm-theme .lhm-btn-ghost,
body.dark-theme .lhm-app.lhm-theme .lhm-btn-ghost,
html[data-theme="dark"] .lhm-app.lhm-theme .lhm-btn-ghost {
	background: #222428;
	color: #c6cbd1;
}

.lhm-dark .lhm-modal-x,
body.dark .lhm-app.lhm-theme .lhm-modal-x,
body.dark-theme .lhm-app.lhm-theme .lhm-modal-x,
html[data-theme="dark"] .lhm-app.lhm-theme .lhm-modal-x {
	background: #26282d;
	color: #9aa0a6;
}

.lhm-dark .lhm-banner,
body.dark .lhm-app.lhm-theme .lhm-banner,
body.dark-theme .lhm-app.lhm-theme .lhm-banner,
html[data-theme="dark"] .lhm-app.lhm-theme .lhm-banner {
	background: linear-gradient(105deg, #2a1f3d 0%, #241b33 52%, #2d1f42 100%);
}

.lhm-dark .lhm-banner-title,
body.dark .lhm-app.lhm-theme .lhm-banner-title,
body.dark-theme .lhm-app.lhm-theme .lhm-banner-title,
html[data-theme="dark"] .lhm-app.lhm-theme .lhm-banner-title {
	color: #c4b5fd;
}

/* ---------- 子比主题细节修正 ---------- */

.lhm-zibll-app .lhm-search input,
.lhm-zibll-app .lhm-search input:focus {
	border: 0 !important;
	outline: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.lhm-zibll-app .lhm-claim,
.lhm-zibll-app .lhm-more,
.lhm-zibll-app .lhm-banner-btn,
.lhm-zibll-app .lhm-btn-primary,
.lhm-zibll-app .lhm-btn-ghost {
	text-shadow: none;
}

.lhm-zibll-app .lhm-num,
.lhm-zibll-app .lhm-price,
.lhm-zibll-app .lhm-modal-title {
	line-height: 1.05;
}

/* ---------- 小屏 ---------- */

@media (max-width: 639px) {
	.lhm-page {
		padding: 0 0 40px;
	}

	.lhm-app {
		border-radius: 0;
	}

	.lhm-hero {
		padding: 22px 16px 30px;
	}

	.lhm-body {
		padding-right: 12px;
		padding-left: 12px;
	}

	.lhm-banner {
		grid-template-columns: 104px minmax(0, 1fr);
		padding: 14px 12px 14px 4px;
	}

	.lhm-banner-art {
		height: 106px;
	}

	.lhm-banner-title {
		font-size: 17px;
	}

	.lhm-banner-sub {
		font-size: 11px;
	}

	.lhm-banner-btn {
		padding: 6px 14px;
		font-size: 12px;
	}
}

@media (max-width: 359px) {
	.lhm-hero-title {
		font-size: 24px;
	}

	.lhm-card {
		padding-right: 10px;
		padding-left: 10px;
	}

	.lhm-claim {
		min-width: 68px;
		padding: 7px 10px;
	}
}

@keyframes lhmFade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes lhmUp {
	from {
		transform: translate(-50%, 100%);
	}
	to {
		transform: translate(-50%, 0);
	}
}

@keyframes lhmPop {
	from {
		opacity: 0;
		transform: translate(-50%, -48%) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	.lhm-app *,
	.lhm-app *::before,
	.lhm-app *::after {
		animation-duration: 0.001ms !important;
		transition-duration: 0.001ms !important;
	}
}
