@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Outfit:wght@500;700;800&display=swap');

:root {
  --lf-brand-50: #f2fbe9;
  --lf-brand-100: #e5f8d2;
  --lf-brand-300: #b9e775;
  --lf-brand-500: #43b23a;
  --lf-brand-600: #2f9a2c;
  --lf-brand-700: #0d8a3a;
  --lf-brand-accent: #99d73a;

  --lf-info: #00c2ff;
  --lf-violet: #7b2fff;
  --lf-warning: #ffb800;
  --lf-danger: #ff6b6b;

  --lf-bg: #f6fff5;
  --lf-surface: #ffffff;
  --lf-surface-soft: #e8f5e9;
  --lf-text: #0f172a;
  --lf-text-secondary: #475569;
  --lf-border: #cfe8d0;

  --lf-shadow-sm: 0 6px 18px rgba(67, 178, 58, 0.1);
  --lf-shadow-md: 0 10px 26px rgba(67, 178, 58, 0.16);
  --lf-shadow-lg: 0 18px 40px rgba(67, 178, 58, 0.2);
  --lf-transition: 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --lf-safe-top: env(safe-area-inset-top, 0px);
  --lf-safe-bottom: env(safe-area-inset-bottom, 0px);
  --lf-dock-height: 62px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at 20% 0%, #f0fde4 0%, var(--lf-bg) 60%);
  color: var(--lf-text);
  font-family: 'DM Sans Local', 'DM Sans', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overscroll-behavior-y: none;
}

/*
 * 横向裁剪只加在 body：若 html 与 body 同时 overflow-x:hidden，部分浏览器/WebView 下
 * 垂直滚轮会异常；仍可防止整页横向溢出。
 */
body {
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -30;
}

body::before {
  background:
    radial-gradient(circle at 15% 10%, rgba(67, 178, 58, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(0, 194, 255, 0.10) 0%, transparent 45%),
    radial-gradient(circle at 60% 90%, rgba(153, 215, 58, 0.10) 0%, transparent 50%);
}

body::after {
  opacity: 0.55;
  background-image: radial-gradient(circle, rgba(67, 178, 58, 0.18) 1px, transparent 1px);
  background-size: 34px 34px;
  background-position: 0 0;
}

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

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

.lf-container {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
}

.lf-app {
  min-height: 100vh;
  position: relative;
  z-index: 0;
}

.lf-main-shell {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 260ms ease, transform 260ms ease;
}

body.lf-ready .lf-main-shell {
  opacity: 1;
  transform: translateY(0);
}

.lf-bg {
  position: fixed;
  inset: 0;
  z-index: -20;
  pointer-events: none;
}

.lf-bg-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0.85;
  pointer-events: none;
}

.lf-deco,
.lf-deco-slot {
  position: absolute;
  pointer-events: none;
}

.lf-deco-icon {
  position: absolute;
  width: 46px;
  height: 46px;
  opacity: 0.35;
  color: rgba(13, 138, 58, 0.55);
  filter: drop-shadow(0 12px 22px rgba(67, 178, 58, 0.18));
  animation: lf-wiggle 7.2s ease-in-out infinite;
}

.lf-deco-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 2.1px;
}

.lf-deco-icon-1 {
  top: 10%;
  left: 18%;
  transform: rotate(-10deg);
}

.lf-deco-icon-2 {
  top: 48%;
  left: 6%;
  width: 54px;
  height: 54px;
  color: rgba(0, 194, 255, 0.55);
  animation-duration: 8.6s;
}

.lf-deco-icon-3 {
  top: 78%;
  right: 16%;
  width: 50px;
  height: 50px;
  color: rgba(255, 184, 0, 0.6);
  animation-duration: 9.2s;
}

.lf-deco {
  width: 88px;
  height: 88px;
  opacity: 0.22;
  filter: drop-shadow(0 12px 26px rgba(67, 178, 58, 0.18));
  animation: lf-float 8s ease-in-out infinite;
}

.lf-deco-leaf {
  top: 16%;
  left: 3%;
  background: radial-gradient(circle at 30% 30%, rgba(153, 215, 58, 0.6), rgba(67, 178, 58, 0.25));
  border-radius: 28px 60px 28px 60px;
  transform: rotate(-12deg);
}

.lf-deco-coin {
  top: 62%;
  right: 4%;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 184, 0, 0.55), rgba(67, 178, 58, 0.22));
  animation-duration: 10s;
}

.lf-deco-bolt {
  top: 34%;
  right: 10%;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: radial-gradient(circle at 30% 30%, rgba(0, 194, 255, 0.55), rgba(123, 47, 255, 0.18));
  transform: rotate(18deg);
  animation-duration: 9s;
}

.lf-deco-slot {
  width: 140px;
  height: 140px;
  border-radius: 22px;
  border: 1px dashed rgba(67, 178, 58, 0.35);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(240, 251, 255, 0.45)),
    radial-gradient(circle at 30% 30%, rgba(0, 194, 255, 0.08), transparent 55%);
  opacity: 0.85;
  backdrop-filter: blur(6px);
}

.lf-deco-slot--link {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 14px;
  text-decoration: none;
  color: #0f5132;
  border-style: solid;
  border-color: rgba(67, 178, 58, 0.4);
  box-shadow: 0 10px 28px rgba(67, 178, 58, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lf-deco-slot--link strong {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.lf-deco-slot--link span {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(23, 74, 43, 0.86);
}

.lf-deco-slot--link:hover {
  transform: translateY(-2px);
  border-color: rgba(67, 178, 58, 0.7);
  box-shadow: 0 14px 30px rgba(13, 138, 58, 0.2);
}

.lf-deco-slot-1 {
  top: 18%;
  right: 2%;
}

.lf-deco-slot-2 {
  top: 112%;
  left: -22px;
  transform: rotate(-6deg);
}

.lf-deco-slot-3 {
  top: 218%;
  right: -18px;
  transform: rotate(7deg);
}

/* 手机端隐藏背景层「快捷卡片」链接（易挡内容、壳内 WebView 点击区也易误触） */
@media (max-width: 900px) {
  .lf-deco-slot--link {
    display: none !important;
  }
}

@keyframes lf-float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-14px) rotate(var(--r, 0deg)); }
}

@keyframes lf-wiggle {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-10px) rotate(3deg); }
}

.lf-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--lf-border);
  padding-top: var(--lf-safe-top);
}

.lf-header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lf-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.lf-brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.lf-brand h1 {
  margin: 0;
  font-family: 'Outfit Local', 'Outfit', 'PingFang SC', sans-serif;
  font-size: 1.125rem;
  line-height: 1.2;
  white-space: nowrap;
}

.lf-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.lf-nav a {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.92rem;
  color: var(--lf-text-secondary);
  transition: all var(--lf-transition);
  white-space: nowrap;
}

.lf-nav a:hover {
  color: var(--lf-brand-700);
  background: var(--lf-brand-100);
}

.lf-hero {
  padding: 3rem 0 2rem;
}

.lf-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
}

.lf-card {
  background: var(--lf-surface);
  border: 1px solid var(--lf-border);
  border-radius: 16px;
  box-shadow: var(--lf-shadow-sm);
  transition: transform var(--lf-transition), box-shadow var(--lf-transition), border-color var(--lf-transition);
}

.lf-card.padded {
  padding: 1.25rem;
}

.lf-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--lf-shadow-md);
}

.lf-gradient {
  background: linear-gradient(135deg, var(--lf-brand-500), var(--lf-brand-accent));
  color: #ffffff;
}

.lf-kicker {
  display: inline-block;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  background: var(--lf-brand-100);
  color: var(--lf-brand-700);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.lf-title {
  margin: 0 0 0.85rem;
  font-family: 'Outfit Local', 'Outfit', 'PingFang SC', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.15;
}

.lf-subtitle {
  margin: 0;
  color: var(--lf-text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.lf-actions {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.lf-btn {
  border: 0;
  border-radius: 999px;
  min-height: 44px;
  padding: 0.65rem 1.1rem;
  font-weight: 700;
  font-size: 0.93rem;
  cursor: pointer;
  transition: transform var(--lf-transition), box-shadow var(--lf-transition), background var(--lf-transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.lf-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke-width: 2.1px;
}

.lf-btn-compact {
  min-height: 32px;
  padding: 0.28rem 0.7rem;
  font-size: 0.86rem;
}

.lf-btn-compact svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.05px;
}

.lf-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--lf-brand-500), var(--lf-brand-700));
  box-shadow: var(--lf-shadow-md);
}

.lf-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--lf-shadow-lg);
}

.lf-btn:active {
  transform: scale(0.98);
}

.lf-btn-secondary {
  background: #fff;
  border: 1px solid var(--lf-brand-500);
  color: var(--lf-brand-700);
}

.lf-btn-secondary:hover {
  transform: translateY(-2px);
  background: var(--lf-brand-100);
}

.lf-btn-outline {
  background: transparent;
  border: 1px solid rgba(15, 23, 42, 0.16);
  color: var(--lf-text);
  box-shadow: none;
}

.lf-btn-outline:hover {
  transform: translateY(-2px);
  border-color: var(--lf-brand-500);
  color: var(--lf-brand-700);
  background: rgba(67, 178, 58, 0.06);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.lf-stat-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.lf-stat {
  padding: 0.95rem;
  border-radius: 14px;
  border: 1px solid var(--lf-border);
  background: #fff;
}

.lf-stat .label {
  color: var(--lf-text-secondary);
  font-size: 0.78rem;
}

.lf-stat .value {
  margin-top: 0.45rem;
  font-weight: 700;
  font-size: 1.2rem;
}

.lf-section {
  padding: 0.5rem 0 2rem;
}

.lf-section-title {
  margin: 0 0 1rem;
  font-family: 'Outfit Local', 'Outfit', 'PingFang SC', sans-serif;
  font-size: 1.55rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  box-sizing: border-box;
}

.lf-section-title svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  stroke-width: 2.1px;
  color: rgba(13, 138, 58, 0.85);
}

.lf-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.lf-product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.lf-product-card .body {
  padding: 1rem;
}

.lf-tag {
  display: inline-block;
  border-radius: 999px;
  padding: 0.18rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.lf-tag.green {
  background: var(--lf-brand-100);
  color: var(--lf-brand-700);
}

.lf-tag.blue {
  background: rgba(0, 194, 255, 0.14);
  color: #007ab3;
}

.lf-table-wrap {
  overflow-x: auto;
}

.lf-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.lf-table th,
.lf-table td {
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid var(--lf-border);
  text-align: left;
}

.lf-table th {
  background: var(--lf-brand-50);
  color: var(--lf-brand-700);
  font-weight: 700;
}

.lf-table tr:hover td {
  background: #f8fff7;
}

.lf-input,
.lf-select,
.lf-textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--lf-border);
  background: #fff;
  padding: 0.66rem 0.85rem;
  font-size: 1rem;
  color: var(--lf-text);
  transition: box-shadow var(--lf-transition), border-color var(--lf-transition);
}

.lf-input:focus,
.lf-select:focus,
.lf-textarea:focus {
  outline: none;
  border-color: var(--lf-brand-500);
  box-shadow: 0 0 0 4px rgba(67, 178, 58, 0.15);
}

.lf-form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.lf-footer {
  padding: 2rem 0 2.8rem;
  color: var(--lf-text-secondary);
  font-size: 0.87rem;
}

.lf-mobile-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: none;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.25rem;
  align-items: center;
  padding: 0.35rem 0.45rem calc(0.4rem + var(--lf-safe-bottom));
  min-height: calc(var(--lf-dock-height) + var(--lf-safe-bottom));
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid rgba(148, 163, 184, 0.28);
  backdrop-filter: blur(10px);
  transform: translateY(0);
  transition: transform 180ms ease;
}

.lf-mobile-dock a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.14rem;
  min-height: 44px;
  border-radius: 12px;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.lf-mobile-dock a svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.1px;
}

.lf-mobile-dock a.active {
  color: var(--lf-brand-700);
  background: var(--lf-brand-100);
}

.lf-mobile-dock.is-keyboard-open {
  transform: translateY(120%);
}

.lf-sheet-mask {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(15, 23, 42, 0.38);
  opacity: 0;
  transition: opacity 180ms ease;
  /* 未打开时不可点、不挡滚轮（opacity:0 仍会命中部分引擎） */
  pointer-events: none;
}

.lf-sheet-mask.open {
  opacity: 1;
  pointer-events: auto;
}

.lf-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 130;
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -16px 44px rgba(15, 23, 42, 0.22);
  padding: 10px 14px calc(14px + var(--lf-safe-bottom));
  transform: translateY(105%);
  transition: transform 180ms ease;
  pointer-events: none;
}

.lf-sheet.open {
  transform: translateY(0);
  pointer-events: auto;
}

.lf-sheet-handle {
  width: 36px;
  height: 4px;
  border-radius: 999px;
  margin: 2px auto 10px;
  background: rgba(100, 116, 139, 0.35);
}

.lf-sheet h4 {
  margin: 0;
  font-size: 16px;
}

.lf-sheet p {
  margin: 6px 0 0;
  color: var(--lf-text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.lf-sheet-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.lf-route-loading {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(246, 255, 245, 0.9);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 180ms ease;
  /* 未打开时不拦截滚轮/点击（否则 opacity:0 仍可能挡住整页） */
  pointer-events: none;
}

.lf-route-loading.open {
  opacity: 1;
  pointer-events: auto;
}

.lf-route-loading[hidden],
.lf-sheet-mask[hidden],
.lf-sheet[hidden] {
  display: none !important;
  pointer-events: none !important;
}

/* 个人主页 · 积分抵扣：不锁 body 滚动；遮罩与容器不拦截指针，仅白卡片可点 */
.pf-redeem-modal[hidden] {
  display: none !important;
}

.pf-redeem-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) 16px max(20px, env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  pointer-events: none;
}

.pf-redeem-modal__backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: rgba(15, 40, 22, 0.5);
  pointer-events: none;
}

.pf-redeem-modal__panel {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 100%;
  max-width: 420px;
  max-height: min(86vh, 560px);
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--lf-shadow-md);
  pointer-events: auto;
}

.lf-route-loading-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 42%;
  background: linear-gradient(90deg, var(--lf-brand-500), var(--lf-info));
  border-radius: 0 999px 999px 0;
  animation: lf-route-progress 1s ease-in-out infinite;
}

.lf-route-loading-sheet {
  width: min(860px, calc(100% - 24px));
  margin: max(16vh, 84px) auto 0;
  background: #fff;
  border: 1px solid var(--lf-border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--lf-shadow-md);
}

.lf-skeleton {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #eaf4e7;
}

.lf-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  animation: lf-skeleton-shimmer 1.1s infinite;
}

.lf-skeleton-title {
  height: 22px;
  width: 46%;
}

.lf-skeleton-line {
  margin-top: 12px;
  height: 14px;
  width: 100%;
}

.lf-skeleton-line.short {
  width: 72%;
}

.lf-skeleton-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.lf-skeleton-card {
  height: 128px;
}

@keyframes lf-skeleton-shimmer {
  100% {
    transform: translateX(100%);
  }
}

@keyframes lf-route-progress {
  0% {
    left: -42%;
  }
  100% {
    left: 100%;
  }
}

.lf-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.lf-kpi-strip {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.lf-kpi {
  border: 1px dashed #b9e775;
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  background: linear-gradient(180deg, #f9fff3, #ffffff);
}

.lf-kpi .kpi-label {
  font-size: 0.78rem;
  color: var(--lf-text-secondary);
}

.lf-kpi .kpi-value {
  margin-top: 0.4rem;
  font-size: 1.18rem;
  font-weight: 700;
}

.lf-chart {
  width: 100%;
  min-height: 280px;
}

.lf-panel-title {
  margin: 0 0 0.7rem;
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  box-sizing: border-box;
}

.lf-panel-title svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke-width: 2.1px;
  color: rgba(0, 112, 192, 0.75);
}

.lf-split {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.2fr 0.8fr;
}

.lf-step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.lf-step-item {
  border: 1px solid var(--lf-border);
  border-radius: 14px;
  background: #fff;
  padding: 0.9rem;
}

.lf-step-item .num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--lf-brand-500);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.lf-step-item h4 {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
}

.lf-step-item p {
  margin: 0;
  color: var(--lf-text-secondary);
  font-size: 0.85rem;
  line-height: 1.55;
}

.lf-mini-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lf-mini-list li {
  padding: 0.52rem 0;
  border-bottom: 1px dashed var(--lf-border);
  font-size: 0.88rem;
}

.lf-mini-list li:last-child {
  border-bottom: 0;
}

.lf-points-rules {
  display: grid;
  gap: 0.55rem;
}

.lf-points-rules li {
  padding: 0.62rem 0.7rem;
  border: 1px solid #d7f0c9;
  border-left: 4px solid #43b23a;
  border-radius: 10px;
  background: linear-gradient(145deg, #fbfff7, #f2fbff);
  font-size: 0.9rem;
  font-weight: 700;
  color: #245b2f;
  box-shadow: 0 8px 20px rgba(67, 178, 58, 0.08);
}

.lf-hero-soft {
  background: linear-gradient(145deg, #efffe5 0%, #ffffff 55%, #f0fbff 100%);
  border: 1px solid #c8ebc9;
}

.lf-hero-stage {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ecffe9 0%, #f8fff6 50%, #f0f9ff 100%);
}

.lf-particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.lf-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
}

.lf-carousel {
  background: rgba(255, 255, 255, 0.92);
}

.lf-carousel-track {
  position: relative;
  min-height: 220px;
}

.lf-carousel-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 300ms ease, transform 300ms ease;
}

.lf-carousel-item.active {
  opacity: 1;
  transform: translateY(0);
}

.lf-carousel-item--has-bg {
  padding: 0.75rem 0.8rem;
  border-radius: 12px;
  overflow: hidden;
}

.lf-carousel-item--has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image:
    linear-gradient(180deg, rgba(15, 23, 42, 0.58), rgba(15, 23, 42, 0.34)),
    var(--lf-carousel-bg);
  background-size: cover;
  background-position: center;
}

.lf-carousel-item--has-bg > * {
  position: relative;
  z-index: 1;
}

.lf-carousel-item--has-bg h3 {
  color: #ffffff;
}

.lf-carousel-item h3 {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
}

.lf-carousel-item p {
  margin: 0.35rem 0;
  color: var(--lf-text-secondary);
}

.lf-carousel-item--has-bg p {
  color: rgba(255, 255, 255, 0.9);
}

.lf-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.8rem;
}

.lf-carousel-dots button {
  border: 0;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #b6d8b8;
  cursor: pointer;
}

.lf-carousel-dots button.active {
  width: 26px;
  background: var(--lf-brand-500);
}

/* —— 首页「高端家电站」式布局（绿分期业务文案） —— */
.lf-home-premium {
  --lf-premium-heading: #0f2744;
  --lf-premium-muted: #5b6b7d;
  --lf-premium-line: rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 28%, rgba(246, 255, 245, 0.65) 100%);
}

.lf-home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4.25rem) 0 clamp(2.75rem, 5vw, 4.5rem);
}

/*
 * 首屏突破 <main class="lf-container">（width: min(1200px, calc(100% - 2rem))）左右各 1rem 内边距。
 * 宠 e 付（chongefu）等壳内正常项目未使用 100vw + calc(50% - 50vw)；该写法在部分 WebView 上 vw 与 % 参考宽度不一致会导致整页左偏、右侧留白，故一律不用 vw。
 */
.lf-home-hero--fullbleed {
  width: calc(100% + 2rem);
  max-width: none;
  margin-left: -1rem;
  margin-right: -1rem;
}

.lf-home-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 70% at 18% 0%, rgba(67, 178, 58, 0.14), transparent 52%),
    radial-gradient(ellipse 80% 55% at 88% 10%, rgba(0, 194, 255, 0.12), transparent 48%),
    linear-gradient(165deg, #ffffff 0%, #f0f7ff 42%, #eef6f0 100%);
  pointer-events: none;
}

.lf-home-hero-bg--has-photo {
  background:
    radial-gradient(ellipse 100% 70% at 18% 0%, rgba(67, 178, 58, 0.1), transparent 52%),
    radial-gradient(ellipse 80% 55% at 88% 10%, rgba(0, 194, 255, 0.08), transparent 48%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.88) 0%, rgba(240, 247, 255, 0.75) 42%, rgba(238, 246, 240, 0.72) 100%);
}

.lf-home-hero-bg--has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--lf-hero-photo, none);
  background-size: cover;
  background-position: var(--lf-hero-photo-pos, center center);
  background-repeat: no-repeat;
}

@media (max-width: 640px) {
  .lf-home-hero-bg--has-photo::before {
    background-image: var(--lf-hero-photo-mobile, var(--lf-hero-photo, none));
    background-position: var(--lf-hero-photo-mobile-pos, var(--lf-hero-photo-pos, center center));
  }
}

.lf-home-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.35;
  background-image: radial-gradient(circle at 1px 1px, rgba(15, 39, 68, 0.06) 1px, transparent 0);
  background-size: 28px 28px;
}

.lf-home-hero-bg--has-photo::after {
  opacity: 1;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.04) 1px, transparent 0),
    linear-gradient(
      180deg,
      rgba(15, 23, 42, calc(0.18 + var(--lf-hero-shade, 0.42) * 0.45)) 0%,
      rgba(15, 23, 42, calc(0.1 + var(--lf-hero-shade, 0.42) * 0.35)) 42%,
      rgba(15, 23, 42, calc(0.22 + var(--lf-hero-shade, 0.42) * 0.55)) 100%
    );
  background-size: 28px 28px, auto;
}

@media (max-width: 640px) {
  .lf-home-hero-bg--has-photo::after {
    background-image:
      radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.04) 1px, transparent 0),
      linear-gradient(
        180deg,
        rgba(15, 23, 42, calc(0.18 + var(--lf-hero-shade-mobile, var(--lf-hero-shade, 0.42)) * 0.45)) 0%,
        rgba(15, 23, 42, calc(0.1 + var(--lf-hero-shade-mobile, var(--lf-hero-shade, 0.42)) * 0.35)) 42%,
        rgba(15, 23, 42, calc(0.22 + var(--lf-hero-shade-mobile, var(--lf-hero-shade, 0.42)) * 0.55)) 100%
      );
  }
}

.lf-home-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 46rem;
}

.lf-home-hero-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lf-brand-700);
}

.lf-home-hero-title {
  margin: 0 0 1rem;
  font-family: 'Outfit Local', 'Outfit', 'PingFang SC', sans-serif;
  font-size: clamp(1.65rem, 3.6vw, 2.45rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--lf-premium-heading);
  letter-spacing: -0.02em;
}

.lf-home-hero-lead {
  margin: 0 0 1.5rem;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.65;
  color: var(--lf-premium-muted);
  max-width: 40rem;
}

.lf-home-hero-feats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.65rem;
}

.lf-home-hero-feat {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e3a4f;
}

.lf-home-hero-feat-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(145deg, var(--lf-brand-500), var(--lf-brand-700));
  color: #fff;
  box-shadow: 0 4px 14px rgba(67, 178, 58, 0.35);
}

.lf-home-hero-feat-ico svg {
  width: 1rem;
  height: 1rem;
  stroke-width: 2.2px;
  color: #fff;
  stroke: #fff;
}

/* 有背景图：无衬底灰框，靠浅色字 + 深色描边保证可读 */
.lf-home-hero--has-photo .lf-home-hero-title {
  color: #f8fafc;
  text-shadow:
    0 0 2px rgba(0, 0, 0, 0.9),
    0 1px 3px rgba(0, 0, 0, 0.85),
    0 4px 20px rgba(0, 0, 0, 0.55);
}

.lf-home-hero--has-photo .lf-home-hero-lead {
  color: rgba(248, 250, 252, 0.98);
  text-shadow:
    0 0 2px rgba(0, 0, 0, 0.88),
    0 1px 3px rgba(0, 0, 0, 0.75),
    0 3px 14px rgba(0, 0, 0, 0.45);
}

.lf-home-hero--has-photo .lf-home-hero-eyebrow {
  color: #d1fae5;
  text-shadow:
    0 0 2px rgba(0, 0, 0, 0.85),
    0 1px 3px rgba(0, 0, 0, 0.7);
}

.lf-home-hero--has-photo .lf-home-hero-feat {
  color: rgba(248, 250, 252, 0.98);
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.65);
}

.lf-home-hero--has-photo .lf-home-hero-feat-ico {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.28), 0 2px 10px rgba(67, 178, 58, 0.3);
}

.lf-home-hero--has-photo .lf-home-hero-btn.lf-btn-outline {
  border-color: rgba(255, 255, 255, 0.65);
  color: #f8fafc;
  background: transparent;
}

.lf-home-hero--has-photo .lf-home-hero-btn.lf-btn-outline:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.lf-home-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.lf-home-hero-btn {
  min-height: 46px;
  padding-inline: 1.25rem;
}

.lf-home-split-section {
  padding: clamp(2rem, 4vw, 3rem) 0;
  background: #fff;
  border-block: 1px solid var(--lf-premium-line);
}

.lf-home-split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: center;
}

.lf-home-split-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #3d6a9e;
}

.lf-home-split-title {
  margin: 0 0 0.85rem;
  font-family: 'Outfit Local', 'Outfit', 'PingFang SC', sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--lf-premium-heading);
}

.lf-home-split-desc {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--lf-premium-muted);
}

.lf-home-split-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
}

.lf-home-carousel-shell {
  border-radius: 18px;
  border-color: #e2e8f0;
  box-shadow: 0 16px 40px rgba(15, 39, 68, 0.08);
}

.lf-home-carousel-shell.lf-carousel {
  background: linear-gradient(160deg, #fbfcfe 0%, #f4faf6 100%);
}

.lf-home-carousel-shell .lf-carousel-track {
  min-height: 240px;
}

.lf-home-metrics {
  padding: clamp(1.35rem, 2.5vw, 1.85rem) 0;
  background: #eceff3;
  border-bottom: 1px solid var(--lf-premium-line);
}

.lf-home-metrics-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  text-align: center;
  gap: 0;
}

.lf-home-metric {
  position: relative;
  padding: 0.65rem 0.85rem;
}

.lf-home-metric:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: rgba(15, 23, 42, 0.1);
}

.lf-home-metric strong {
  display: block;
  font-family: 'Outfit Local', 'Outfit', 'PingFang SC', sans-serif;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 800;
  color: var(--lf-premium-heading);
  letter-spacing: -0.02em;
}

.lf-home-metric span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--lf-premium-muted);
  line-height: 1.35;
}

.lf-home-quick {
  padding-top: 1.25rem;
  padding-bottom: 0.5rem;
}

.lf-atom-nav--premium .lf-atom-btn {
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #1e3a4f;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.lf-atom-nav--premium .lf-atom-btn::before,
.lf-atom-nav--premium .lf-atom-btn::after {
  display: none;
}

.lf-atom-nav--premium .lf-atom-btn:hover {
  border-color: rgba(67, 178, 58, 0.45);
  color: var(--lf-brand-700);
  background: linear-gradient(145deg, #f8fffc, #f5fbff);
}

.lf-home-cats {
  padding: 0.25rem 0 1.75rem;
}

.lf-home-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.lf-home-cat {
  position: relative;
  min-height: 200px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.15rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 32px rgba(15, 39, 68, 0.12);
  transition: transform var(--lf-transition), box-shadow var(--lf-transition);
  isolation: isolate;
}

.lf-home-cat::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lf-home-cat::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 35%, rgba(15, 23, 42, 0.72) 100%);
}

.lf-home-cat:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(15, 39, 68, 0.18);
}

.lf-home-cat:hover::before {
  transform: scale(1.04);
}

.lf-home-cat--dae::before {
  background-image:
    linear-gradient(135deg, rgba(56, 120, 168, 0.55) 0%, rgba(30, 60, 90, 0.2) 100%),
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.35), transparent 55%),
    linear-gradient(160deg, #c8e6f5 0%, #7eb8d8 45%, #3d6a8a 100%);
}

.lf-home-cat--kitchen::before {
  background-image:
    linear-gradient(135deg, rgba(200, 140, 80, 0.45) 0%, rgba(90, 50, 30, 0.35) 100%),
    radial-gradient(circle at 20% 80%, rgba(255, 240, 220, 0.5), transparent 50%),
    linear-gradient(165deg, #ffe8d4 0%, #e8a87c 40%, #8b5a3c 100%);
}

.lf-home-cat--life::before {
  background-image:
    linear-gradient(135deg, rgba(67, 178, 58, 0.4) 0%, rgba(20, 60, 50, 0.45) 100%),
    radial-gradient(circle at 80% 70%, rgba(180, 255, 200, 0.25), transparent 45%),
    linear-gradient(155deg, #d4f5e0 0%, #6bc49a 42%, #2d6b52 100%);
}

.lf-home-cat--energy::before {
  background-image:
    linear-gradient(135deg, rgba(0, 180, 220, 0.5) 0%, rgba(20, 50, 80, 0.5) 100%),
    radial-gradient(circle at 40% 20%, rgba(255, 255, 200, 0.35), transparent 40%),
    linear-gradient(170deg, #b8f0ff 0%, #4ab8d8 38%, #1a5f78 100%);
}

.lf-home-cat--photo::before {
  background-image:
    linear-gradient(145deg, rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.15)),
    var(--lf-home-cat-photo);
}

.lf-home-cat-title {
  position: relative;
  z-index: 1;
  font-family: 'Outfit Local', 'Outfit', 'PingFang SC', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.lf-home-cat-sub {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.4;
}

.lf-home-premium-body .lf-card {
  border-color: #e2e8f0;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.lf-about-benefit {
  position: relative;
  overflow: hidden;
}

.lf-about-benefit-ico {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--lf-brand-500), var(--lf-brand-700));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 6px 16px rgba(67, 178, 58, 0.32);
}

.lf-about-benefit-ico svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.2px;
}

.lf-drop-num {
  color: #00a66b;
  animation: lf-drop-pulse 1400ms ease-in-out infinite;
}

@keyframes lf-drop-pulse {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(-3px); opacity: 0.75; }
}

.lf-quote-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(2, 1fr);
}

.lf-quote-item {
  padding: 0.55rem 0.7rem;
  border: 1px dashed #b9e775;
  border-radius: 999px;
  background: #fcfff8;
  color: #2f6d2c;
  font-size: 0.86rem;
  font-weight: 700;
}

.lf-atom-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.lf-atom-btn {
  position: relative;
  text-align: center;
  padding: 0.85rem 0.7rem;
  border-radius: 14px;
  border: 1px solid var(--lf-border);
  background: linear-gradient(145deg, #f5fff2, #f3fbff);
  color: #0d8a3a;
  font-weight: 700;
  transition: all var(--lf-transition);
}

.lf-atom-btn::before,
.lf-atom-btn::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid #9ddf99;
}

.lf-atom-btn::before {
  width: 10px;
  height: 10px;
  top: 7px;
  left: 12px;
}

.lf-atom-btn::after {
  width: 8px;
  height: 8px;
  right: 12px;
  bottom: 8px;
}

.lf-atom-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--lf-shadow-md);
}

.lf-flowline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-top: 1rem;
}

.lf-about-deco-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.lf-about-deco-item {
  margin: 0;
  padding: 0.55rem;
  border-radius: 14px;
  border: 1px dashed #b9e775;
  background: linear-gradient(145deg, #fbfff5, #f3fbff);
}

.lf-about-deco-media {
  border-radius: 10px;
  min-height: 136px;
  background-image:
    linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.02)),
    var(--lf-about-deco, radial-gradient(circle at 30% 30%, rgba(67, 178, 58, 0.22), rgba(0, 194, 255, 0.16)));
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.2);
}

.lf-about-deco-item figcaption {
  margin-top: 0.5rem;
  font-size: 0.76rem;
  line-height: 1.45;
  color: #4b5563;
}

.lf-flowline div {
  position: relative;
  padding: 0.8rem 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--lf-border);
  background: #fff;
  font-weight: 700;
  font-size: 0.88rem;
}

.lf-flowline div:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -0.72rem;
  top: 50%;
  transform: translateY(-50%);
  color: #7db670;
  font-weight: 700;
}

.lf-chip-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.lf-chip {
  border: 1px solid #b9e775;
  border-radius: 999px;
  background: #fff;
  color: #2f6d2c;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all var(--lf-transition);
}

.lf-chip.active,
.lf-chip:hover {
  background: #e8f8d9;
  border-color: #7ec367;
}

.lf-profile-head {
  border-color: #b9e775;
}

.lf-profile-subnav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.85rem;
}

.lf-profile-subnav .lf-chip {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
}

.lf-profile-subnav .lf-chip svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  stroke-width: 2.1px;
}

.lf-profile-mobile-logout {
  display: none;
}

.lf-profile-anchor {
  scroll-margin-top: 96px;
}

.lf-progress-wrap {
  margin-top: 1rem;
}

.lf-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--lf-text-secondary);
  margin-bottom: 0.35rem;
}

.lf-progress {
  height: 10px;
  border-radius: 999px;
  background: #e8f3e6;
  overflow: hidden;
}

.lf-progress > div {
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #43b23a, #00c2ff);
  transition: width 380ms ease;
}

.lf-result-num {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0d8a3a;
}

.lf-filter-bar {
  padding: 0.75rem 0 0;
}

.lf-filter-bar label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--lf-text-secondary);
  margin-bottom: 0.28rem;
}

.lf-share-card {
  margin-top: 14px;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px dashed var(--lf-brand-300);
  background: linear-gradient(135deg, #f9fff3, #f0fbff);
}

.lf-share-card .lf-textarea {
  margin-bottom: 0.65rem;
  font-size: 0.92rem;
  line-height: 1.55;
}

.lf-inline-actions {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}

.lf-animate-pop {
  animation: lf-pop-in 420ms ease-out;
}

.lf-product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 1rem;
}

.lf-pd-gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--lf-border);
  background: #f6fff5;
}

.lf-pd-gallery-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lf-pd-gallery-strip {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.lf-pd-gallery-strip img {
  border-radius: 10px;
  border: 1px solid var(--lf-border);
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  display: block;
}

.lf-pd-price-row {
  margin-top: 0.7rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #eefcec, #f1f8ff);
  border: 1px solid #d8eedd;
}

.lf-pd-price-row strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1.1;
  color: #0d8a3a;
}

.lf-pd-price-row span {
  display: block;
  margin-top: 0.3rem;
  color: var(--lf-text-secondary);
  font-size: 0.88rem;
}

.lf-pd-badges {
  margin-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.lf-pd-buy-form {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px dashed #d8eedd;
}

.lf-pd-review-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.lf-pd-review {
  background: linear-gradient(145deg, #ffffff, #f8fff4);
}

.lf-pd-review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.lf-pd-review-head span {
  color: #f5a524;
  letter-spacing: 1px;
  font-weight: 700;
}

.lf-pd-review-meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--lf-text-secondary);
}

@keyframes lf-pop-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 992px) {
  .lf-hero-grid,
  .lf-hero-layout,
  .lf-split,
  .lf-grid-3,
  .lf-product-detail-layout,
  .lf-form-row,
  .lf-stat-grid,
  .lf-kpi-strip,
  .lf-step-grid,
  .lf-flowline,
  .lf-atom-nav,
  .lf-quote-grid,
  .lf-home-split,
  .lf-home-metrics-inner,
  .lf-home-cat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lf-home-metric:not(:first-child)::before {
    display: none;
  }

  .lf-about-deco-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lf-pd-review-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .lf-header-inner {
    min-height: 64px;
  }

  .lf-nav {
    display: none;
  }

  .lf-actions[style*="margin-top:0"] {
    display: none;
  }

  .lf-brand h1 {
    font-size: 1rem;
  }

  .lf-home-admin-entry {
    display: none;
  }

  .lf-mobile-dock {
    display: grid;
  }

  .lf-sheet {
    display: block;
  }

  .lf-route-loading-sheet {
    margin-top: max(12vh, 78px);
    padding: 12px;
  }

  .lf-skeleton-grid {
    grid-template-columns: 1fr;
  }

  .lf-skeleton-card {
    height: 84px;
  }

  .lf-app {
    padding-bottom: calc(var(--lf-dock-height) + var(--lf-safe-bottom) + 10px);
  }

  .lf-footer {
    padding-bottom: calc(1.6rem + var(--lf-dock-height) + var(--lf-safe-bottom));
  }

  .lf-hero-grid,
  .lf-hero-layout,
  .lf-split,
  .lf-grid-3,
  .lf-product-detail-layout,
  .lf-form-row,
  .lf-stat-grid,
  .lf-kpi-strip,
  .lf-step-grid,
  .lf-flowline,
  .lf-atom-nav,
  .lf-quote-grid,
  .lf-home-split,
  .lf-home-metrics-inner,
  .lf-home-cat-grid {
    grid-template-columns: 1fr;
  }

  .lf-home-metrics {
    padding: 1rem 0;
  }

  .lf-home-metrics-inner {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
    align-items: stretch;
  }

  .lf-home-metric {
    min-width: 0;
    padding: 0.55rem 0.35rem;
    min-height: 78px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .lf-home-metric strong {
    font-size: 0.96rem;
    line-height: 1.15;
    white-space: nowrap;
  }

  .lf-home-metric span {
    margin-top: 0.2rem;
    font-size: 0.66rem;
    line-height: 1.25;
  }

  /* 节能试算结果卡：手机端紧凑两列展示 */
  .lf-calc-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .lf-calc-kpi-grid .lf-card.padded {
    padding: 0.7rem 0.6rem;
  }

  .lf-calc-kpi-grid h4 {
    margin: 0 0 0.25rem;
    font-size: 0.82rem;
  }

  .lf-calc-kpi-grid .lf-result-num {
    font-size: 1.05rem;
    line-height: 1.2;
  }

  .lf-about-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .lf-about-benefit-grid .lf-card.padded {
    padding: 0.75rem 0.65rem;
  }

  .lf-about-benefit-grid .lf-about-benefit h4 {
    margin: 0 0 0.25rem;
    font-size: 0.86rem;
    line-height: 1.25;
  }

  .lf-about-benefit-grid .lf-about-benefit .lf-subtitle {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .lf-about-benefit-grid .lf-about-benefit-ico {
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
  }

  .lf-about-benefit-grid .lf-about-benefit-ico svg {
    width: 12px;
    height: 12px;
  }

  .lf-home-metric:not(:first-child)::before {
    display: none;
  }

  .lf-about-deco-grid {
    grid-template-columns: 1fr;
  }

  .lf-profile-mobile-logout {
    display: inline-flex;
  }

  .lf-home-cat {
    min-height: 168px;
  }

  .lf-hero {
    padding-top: 1.6rem;
  }

  .lf-table-wrap {
    overflow-x: hidden;
  }

  .lf-cart-table,
  .lf-cart-table tbody,
  .lf-cart-table tr,
  .lf-cart-table td {
    display: block;
    width: 100%;
  }

  .lf-cart-table thead {
    display: none;
  }

  .lf-cart-table tr {
    border: 1px solid var(--lf-border);
    border-radius: 12px;
    background: #fff;
    padding: 10px;
    margin-bottom: 10px;
  }

  .lf-cart-table td {
    border-bottom: 0;
    padding: 6px 0;
  }

  .lf-cart-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 2px;
  }

  .lf-cart-table td[data-label="商品"]::before {
    margin-bottom: 6px;
  }

  .lf-cart-table td[data-label="选择"] {
    padding-top: 0;
  }

  .lf-cart-table td[data-label="选择"]::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 150ms !important;
  }
}
