/* 模板中心 */
.lx-th {
	--th-cyan: #22d3ee;
	--th-violet: #a78bfa;
	--th-pink: #f472b6;
	--th-green: #4ade80;
	--th-text: #e2e8f0;
	--th-muted: #94a3b8;
	--th-panel: rgba(12, 18, 36, 0.94);
	--th-line: rgba(34, 211, 238, 0.22);
	max-width: 1180px;
	margin: 0 auto;
	padding: 12px 12px 40px;
	color: var(--th-text);
	font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.lx-th__hero {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 16px;
	padding: 20px;
	border-radius: 16px;
	border: 1px solid var(--th-line);
	background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 27, 75, 0.55));
	margin-bottom: 12px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.lx-th__kicker { margin: 0 0 4px; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; color: #c4b5fd; }
.lx-th__title {
	margin: 0 0 8px; font-size: 22px; font-weight: 900;
	background: linear-gradient(90deg, #67e8f9, #e9d5ff, #f9a8d4);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.lx-th__lead { margin: 0 0 14px; color: var(--th-muted); font-size: 14px; line-height: 1.6; }
.lx-th__search { display: flex; gap: 8px; max-width: 480px; }
.lx-th__search input {
	flex: 1; padding: 10px 12px; border-radius: 10px;
	border: 1px solid rgba(34, 211, 238, 0.3); background: rgba(15, 23, 42, 0.9); color: var(--th-text); font: inherit;
}
.lx-th__hero-side { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.lx-th__pill {
	padding: 8px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
	border: 1px solid rgba(167, 139, 250, 0.35); background: rgba(167, 139, 250, 0.1); color: #ddd6fe;
}
.lx-th__banner {
	padding: 10px 14px; margin-bottom: 12px; border-radius: 10px; font-size: 13px; line-height: 1.5;
	border: 1px solid rgba(251, 191, 36, 0.35); background: rgba(251, 191, 36, 0.08); color: #fde68a;
}
.lx-th__toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.lx-th__cats { display: flex; flex-wrap: wrap; gap: 6px; }
.lx-th__cat {
	padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(148, 163, 184, 0.25);
	background: rgba(15, 23, 42, 0.6); color: var(--th-muted); font-size: 12.5px; cursor: pointer;
}
.lx-th__cat.is-on, .lx-th__cat:hover { border-color: rgba(34, 211, 238, 0.45); color: #a5f3fc; background: rgba(34, 211, 238, 0.1); }
.lx-th__check { font-size: 12.5px; color: var(--th-muted); display: inline-flex; gap: 4px; align-items: center; }

.lx-th-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	padding: 8px 14px; border-radius: 10px; font-size: 13px; font-weight: 700;
	border: 1px solid transparent; cursor: pointer; text-decoration: none !important; color: var(--th-text);
	background: rgba(30, 41, 59, 0.85);
}
.lx-th-btn--primary { background: linear-gradient(135deg, rgba(34, 211, 238, 0.3), rgba(99, 102, 241, 0.4)); border-color: rgba(34, 211, 238, 0.45); color: #a5f3fc; }
.lx-th-btn--cta { background: linear-gradient(135deg, #0369a1 0%, #1d4ed8 52%, #6d28d9 100%); color: #ffffff !important; -webkit-text-fill-color: #ffffff !important; border: none; font-weight: 800; text-shadow: 0 1px 2px rgba(0,0,0,.35); box-shadow: 0 4px 16px rgba(29,78,216,.42); }
.lx-th-btn--ghost { background: transparent; border-color: rgba(148, 163, 184, 0.3); color: var(--th-muted); }
.lx-th-btn--sm { padding: 5px 10px; font-size: 12px; }

.lx-th__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
	gap: 12px;
	margin-bottom: 28px;
}
.lx-th-card {
	display: flex; flex-direction: column; padding: 14px; border-radius: 14px;
	border: 1px solid var(--th-line); background: var(--th-panel); min-height: 220px;
	transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.lx-th-card:hover {
	transform: translateY(-2px); border-color: rgba(34, 211, 238, 0.5);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}
.lx-th-card__top { display: flex; gap: 10px; margin-bottom: 8px; }
.lx-th-card__icon {
	width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 22px;
	background: linear-gradient(145deg, rgba(34, 211, 238, 0.15), rgba(167, 139, 250, 0.2));
	border: 1px solid rgba(34, 211, 238, 0.25); flex-shrink: 0;
}
.lx-th-card__name { font-weight: 800; font-size: 14.5px; }
.lx-th-card__scene { font-size: 11.5px; color: var(--th-muted); margin-top: 2px; }
.lx-th-card__desc { font-size: 12.5px; color: var(--th-muted); line-height: 1.5; flex: 1; margin: 0 0 8px; }
.lx-th-roi {
	font-size: 12px; font-weight: 700; color: #86efac; margin-bottom: 8px;
	padding: 6px 8px; border-radius: 8px; background: rgba(74, 222, 128, 0.08); border: 1px solid rgba(74, 222, 128, 0.25);
}
.lx-th-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; font-size: 11px; color: #64748b; }
.lx-th-meta span {
	padding: 2px 7px; border-radius: 999px; border: 1px solid rgba(148, 163, 184, 0.25);
}
.lx-th-card__acts { display: flex; gap: 6px; margin-top: auto; }
.lx-th-card__acts .lx-th-btn { flex: 1; }
.lx-th__empty { text-align: center; color: var(--th-muted); padding: 32px; }

.lx-th__custom {
	padding: 18px 16px; border-radius: 16px; border: 1px solid rgba(244, 114, 182, 0.25);
	background: radial-gradient(ellipse 50% 60% at 100% 0%, rgba(244, 114, 182, 0.08), transparent 55%), var(--th-panel);
}
.lx-th__sec-h h2 { margin: 0 0 6px; font-size: 20px; }
.lx-th__sub { margin: 0 0 14px; color: var(--th-muted); font-size: 13.5px; line-height: 1.55; }
.lx-th__packages { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-bottom: 16px; }
.lx-th-pkg {
	padding: 12px; border-radius: 12px; border: 1px solid rgba(167, 139, 250, 0.3); background: rgba(8, 12, 24, 0.55);
}
.lx-th-pkg strong { display: block; margin-bottom: 4px; }
.lx-th-pkg span { font-size: 12.5px; color: var(--th-muted); line-height: 1.45; display: block; }
.lx-th-pkg em { color: #f0abfc; font-style: normal; font-weight: 800; font-size: 14px; }

.lx-th__order-form { display: grid; gap: 10px; max-width: 640px; }
.lx-th-field label { display: block; font-size: 12px; color: var(--th-muted); margin-bottom: 4px; }
.lx-th-field input, .lx-th-field select, .lx-th-field textarea {
	width: 100%; padding: 9px 12px; border-radius: 10px;
	border: 1px solid rgba(34, 211, 238, 0.25); background: rgba(15, 23, 42, 0.9); color: var(--th-text); font: inherit; font-size: 13.5px;
}
.lx-th-field-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.lx-th-note { font-size: 12.5px; color: var(--th-muted); margin: 6px 0 0; }
.lx-th__orders { margin-top: 16px; }
.lx-th-order {
	padding: 10px 0; border-bottom: 1px solid rgba(148, 163, 184, 0.12); font-size: 13px;
}
.lx-th-order strong { margin-right: 8px; }

/* Drawer */
.lx-th__drawer { position: fixed; inset: 0; z-index: 100030; }
.lx-th__drawer[hidden] { display: none !important; }
.lx-th__drawer-bd { position: absolute; inset: 0; background: rgba(2, 6, 23, 0.7); }
.lx-th__drawer-panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 96vw);
	background: linear-gradient(180deg, #0f172a, #111827); border-left: 1px solid rgba(34, 211, 238, 0.3);
	overflow: auto; padding: 20px 16px 32px; box-shadow: -12px 0 48px rgba(0, 0, 0, 0.5);
}
.lx-th__drawer-x { position: absolute; top: 10px; right: 12px; background: none; border: none; color: var(--th-muted); font-size: 22px; cursor: pointer; }
.lx-th__toast {
	position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 100031;
	padding: 10px 18px; border-radius: 999px; background: rgba(15, 23, 42, 0.95);
	border: 1px solid rgba(34, 211, 238, 0.4); color: #a5f3fc; font-size: 13px;
}

@media (max-width: 800px) {
	.lx-th__hero { grid-template-columns: 1fr; }
	.lx-th-field-row { grid-template-columns: 1fr; }
}
