/**
 * 灵涵速推合伙人商学院 H5 首页 UI 重构样式 v2
 * 精修版 - 移动端 App 感 · 蓝黑科技风
 * 修复移动端横向溢出
 */

/* 首页 Spotlight 标题：用系统衬线，禁止 Google Fonts（微信内极慢） */

/* ===== 基础防溢出规则 + 统一冷灰蓝背景 ===== */
html,
body,
html:has(body.lh-redesign),
body.lh-redesign,
body.lh-create-songyun.lh-redesign,
body.page-tab-create.lh-home-shelf.lh-create-songyun.lh-redesign {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  background: #F3F6FB !important;
  background-image: none !important;
  background-color: #F3F6FB !important;
}

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

/* ===== 色系变量 ===== */
:root {
  --lh-page-bg: #F5F5F7;
  --lh-content-bg: linear-gradient(180deg, #FFFFFF 0%, #F5F5F7 100%);
  --lh-primary-dark: #050B18;
  --lh-primary-mid: #07111F;
  --lh-primary-blue: #1A1A2E;
  --lh-primary-accent: #1A1A2E;
  --lh-primary-bright: #2A2A3A;
  --lh-text-title: #0f172a;
  --lh-text-body: #334155;
  --lh-text-muted: #64748b;
  --lh-text-ticker: #3A3A4A;
  --lh-card-bg: #FFFFFF;
  --lh-card-border: rgba(15, 23, 42, 0.06);
  --lh-gradient-icon: linear-gradient(135deg, #1A1A2E 0%, #2A2A3A 100%);
  --lh-gradient-hero: linear-gradient(135deg, #1A1A2E 0%, #2A2A3A 100%);
  --lh-gradient-tab: linear-gradient(135deg, #1A1A2E 0%, #2A2A3A 100%);
}

/* ===== 页面背景与容器（覆盖所有绿色背景） ===== */
body.lh-redesign,
body.lh-redesign.lh-create-songyun,
body.page-tab-create.lh-home-shelf.lh-redesign,
body.page-tab-create.lh-home-shelf.lh-create-songyun.lh-redesign {
  background: #F3F6FB !important;
  background-image: none !important;
  background-color: #F3F6FB !important;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body.lh-redesign .lh2-root,
body.lh-redesign.lh-create-songyun .lh2-root,
body.lh-redesign #app,
body.lh-redesign .uni-page,
body.lh-redesign .uni-page-body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  min-height: 100vh;
  background: #F3F6FB !important;
  background-image: none !important;
  background-color: #F3F6FB !important;
}

body.lh-redesign .lh2-page.lh-redesign-page,
body.lh-redesign.lh-create-songyun .lh2-page.lh-redesign-page {
  background: linear-gradient(180deg, #F8FAFF 0%, #F3F6FB 100%) !important;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow-x: hidden;
}

/* 创作首页：主内容区左右内边距归零，顶图用 width:100% 即可铺满（避免 100vw + overflow:visible 被裁或触发双滚动条） */
body.page-tab-create.lh-home-shelf.lh-redesign #mainContent.main-content {
  padding-left: max(0px, env(safe-area-inset-left, 0px)) !important;
  padding-right: max(0px, env(safe-area-inset-right, 0px)) !important;
}

.lh-new-home,
body.lh-redesign .lh-new-home,
body.lh-redesign.lh-create-songyun .lh-new-home {
  background: linear-gradient(180deg, #F8FAFF 0%, #F3F6FB 100%) !important;
  min-height: 0;
  padding-bottom: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* ===== 顶部主视觉（新的现代 App 首页结构） ===== */
body.lh-redesign .lh-hero-live,
body.lh-redesign .lh-live-ticker,
body.lh-redesign .lh-arc-rail,
body.lh-redesign .lh-shelf-tools-wrap {
  display: none !important;
}
.lh-modern-home {
  display: grid;
  gap: 12px;
  margin: 0 0 10px;
  padding: 12px 12px 18px;
}
.lh-modern-hero {
  padding: 16px;
  border-radius: 26px;
  background:
    radial-gradient(520px 220px at 12% 0%, rgba(47, 91, 255, 0.12), transparent 62%),
    radial-gradient(320px 180px at 90% 12%, rgba(124, 58, 237, 0.08), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}
.lh-modern-hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.lh-modern-hero__badge,
.lh-modern-hero__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.lh-modern-hero__badge {
  color: #334155;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.06);
}
.lh-modern-hero__status {
  color: #0f172a;
  background: rgba(59, 130, 246, 0.08);
}
.lh-modern-hero__copy {
  margin-bottom: 14px;
}
.lh-modern-hero__title {
  margin: 0;
  font-size: clamp(26px, 7.4vw, 34px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #0f172a;
}
.lh-modern-hero__sub {
  margin: 10px 0 0;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
  color: #334155;
}
.lh-modern-hero__desc {
  margin: 8px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #64748b;
}
.lh-modern-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 14px;
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.88);
}
.lh-modern-search__icon {
  flex: 0 0 auto;
  display: inline-flex;
  color: #64748b;
}
.lh-modern-search__icon svg,
.lh-modern-search__icon .lh-lucide {
  width: 18px;
  height: 18px;
}
.lh-modern-search__placeholder {
  flex: 1;
  min-width: 0;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 600;
}
.lh-modern-search__hint {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 10px;
  background: rgba(47, 91, 255, 0.08);
  color: #2A2A3A;
  font-size: 11px;
  font-weight: 800;
}
.lh-modern-chips {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.lh-modern-chips::-webkit-scrollbar { display: none; }
.lh-modern-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.lh-modern-chip:active { transform: scale(0.98); }
.lh-modern-chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2A2A3A 0%, #2A2A3A 100%);
  box-shadow: 0 0 0 4px rgba(47, 91, 255, 0.10);
}
.lh-modern-bento {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
}
.lh-modern-bento__primary,
.lh-modern-bento__mini {
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: 24px;
  text-decoration: none;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
}
.lh-modern-bento__primary { min-height: 240px; }
.lh-modern-bento__media,
.lh-modern-bento__mini-media {
  position: absolute;
  inset: 0;
}
.lh-modern-bento__media::before,
.lh-modern-bento__mini-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(15,23,42,0.44) 100%);
  z-index: 1;
}
.lh-modern-bento__media img,
.lh-modern-bento__mini-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lh-modern-bento__content,
.lh-modern-bento__mini-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  padding: 18px;
  color: #fff;
}
.lh-modern-bento__tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.lh-modern-bento__title {
  margin: 10px 0 0;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.lh-modern-bento__desc {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.84);
}
.lh-modern-bento__cta {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 800;
}
.lh-modern-bento__stack { display: grid; gap: 12px; }
.lh-modern-bento__mini { min-height: 114px; }
.lh-modern-bento__mini-content { padding: 14px; }
.lh-modern-bento__mini-title {
  margin: 0;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 900;
}
.lh-modern-bento__mini-desc {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255,255,255,0.82);
}
.lh-modern-section {
  display: grid;
  gap: 12px;
  margin-top: 2px;
}
.lh-modern-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}
.lh-modern-section__title {
  margin: 0;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #0f172a;
}
.lh-modern-section__sub {
  margin: 4px 0 0;
  font-size: 12px;
  color: #64748b;
}
.lh-modern-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.lh-modern-grid__card {
  overflow: hidden;
  border-radius: 22px;
  text-decoration: none;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}
.lh-modern-grid__cover {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #eef2ff;
}
.lh-modern-grid__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lh-modern-grid__body { padding: 12px 12px 14px; }
.lh-modern-grid__title {
  margin: 0;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 900;
  color: #0f172a;
}
.lh-modern-grid__sub {
  margin: 6px 0 0;
  font-size: 11.5px;
  line-height: 1.45;
  color: #64748b;
}

/* 第二个旧首页块是历史遗留内容，现代版只保留第一屏新结构 */
body.lh-redesign .lh-modern-home + .lh-new-home {
  display: none !important;
}

/* 让首屏更像成熟商业首页：减少海报感，改成更克制的入口卡 */
body.lh-redesign .lh-modern-home {
  gap: 10px !important;
  padding: 10px 12px 14px !important;
}
body.lh-redesign .lh-modern-hero {
  padding: 14px !important;
  border-radius: 24px !important;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06) !important;
}
body.lh-redesign .lh-modern-hero__copy {
  margin-bottom: 12px !important;
}
body.lh-redesign .lh-modern-hero__title {
  font-size: clamp(24px, 6.6vw, 32px) !important;
}
body.lh-redesign .lh-modern-hero__sub {
  font-size: 15px !important;
}
body.lh-redesign .lh-modern-search {
  min-height: 48px !important;
  border-radius: 16px !important;
}
body.lh-redesign .lh-modern-bento {
  gap: 10px !important;
}
body.lh-redesign .lh-modern-bento__primary,
body.lh-redesign .lh-modern-bento__mini {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 112px !important;
  align-items: stretch !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
}
body.lh-redesign .lh-modern-bento__primary {
  min-height: 176px !important;
}
body.lh-redesign .lh-modern-bento__mini {
  min-height: 108px !important;
}
body.lh-redesign .lh-modern-bento__media,
body.lh-redesign .lh-modern-bento__mini-media {
  position: relative !important;
  inset: auto !important;
  min-height: 100% !important;
}
body.lh-redesign .lh-modern-bento__media::before,
body.lh-redesign .lh-modern-bento__mini-media::before {
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(15,23,42,0.12) 100%) !important;
}
body.lh-redesign .lh-modern-bento__content,
body.lh-redesign .lh-modern-bento__mini-content {
  padding: 14px !important;
  color: #0f172a !important;
}
body.lh-redesign .lh-modern-bento__tag,
body.lh-redesign .lh-modern-bento__cta {
  background: rgba(47, 91, 255, 0.08) !important;
  border-color: transparent !important;
  color: #2A2A3A !important;
  backdrop-filter: none !important;
}
body.lh-redesign .lh-modern-bento__title {
  font-size: 20px !important;
  color: #0f172a !important;
}
body.lh-redesign .lh-modern-bento__desc,
body.lh-redesign .lh-modern-bento__mini-desc {
  color: #64748b !important;
}
body.lh-redesign .lh-modern-bento__mini-title {
  font-size: 15px !important;
  color: #0f172a !important;
}
body.lh-redesign .lh-modern-grid {
  gap: 10px !important;
}
body.lh-redesign .lh-modern-grid__card {
  border-radius: 18px !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05) !important;
}
body.lh-redesign .lh-modern-grid__cover {
  aspect-ratio: 16 / 10 !important;
}
body.lh-redesign .lh-modern-grid__body {
  padding: 10px 11px 12px !important;
}
@media (min-width: 420px) {
  .lh-modern-home { gap: 14px; }
  .lh-modern-bento__primary { min-height: 260px; }
  .lh-modern-bento__mini { min-height: 122px; }
  .lh-modern-grid { gap: 14px; }
}
@media (max-width: 390px) {
  .lh-modern-bento { grid-template-columns: 1fr; }
  .lh-modern-grid { grid-template-columns: 1fr; }
}

html[data-h5-appearance='dark'] .lh-hero-live {  letter-spacing: 0.03em;
  color: #94a3b8;
}
.lh-hero-live__cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
  align-items: end;
}
.lh-hero-live__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  color: #0f172a;
  transform: rotate(var(--tilt, 0deg));
  animation: lhHeroFloat 3.6s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
.lh-hero-live__card:active {
  transform: rotate(var(--tilt, 0deg)) scale(0.98);
}
.lh-hero-live__media {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.95);
  position: relative;
}
.lh-hero-live__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lh-hero-live__media--video::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.45);
  z-index: 1;
}
.lh-hero-live__media--video::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -6px 0 0 -4px;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent #fff;
  z-index: 2;
}
.lh-hero-live__name {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #1e293b;
  line-height: 1;
}

@keyframes lhHeroFloat {
  0%, 100% { transform: rotate(var(--tilt, 0deg)) translateY(0); }
  50% { transform: rotate(var(--tilt, 0deg)) translateY(-5px); }
}
@media (min-width: 420px) {
  .lh-hero-live {
    padding: 26px 18px 24px;
  }
  .lh-hero-live--focus {
    padding: 22px 18px 16px;
  }
  .lh-hero-live__cards {
    gap: 12px;
    margin-top: 22px;
  }
  .lh-hero-live__media {
    border-radius: 18px;
  }
  .lh-hero-live__name {
    font-size: 12px;
  }
}

/* 快捷入口 v2：高级横滑卡片 */
.lh-arc-rail {
  margin: 6px max(12px, env(safe-area-inset-left, 0px)) 12px max(12px, env(safe-area-inset-right, 0px));
  padding: 10px 12px 12px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 
    0 1px 3px rgba(15, 23, 42, 0.04),
    0 8px 24px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  user-select: none;
  -webkit-user-select: none;
}
.lh-arc-rail__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 8px;
  padding: 0 4px;
}
.lh-arc-rail__label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.lh-arc-rail__label::before {
  content: "";
  width: 4px;
  height: 15px;
  border-radius: 3px;
  background: linear-gradient(180deg, #2A2A3A 0%, #2A2A3A 100%);
}
.lh-arc-rail__hint {
  flex: 1;
  min-width: 0;
  font-size: 11.5px;
  font-weight: 500;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lh-arc-rail__mute {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #34343F;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all .2s ease;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.lh-arc-rail__mute:active { transform: scale(0.92); }
.lh-arc-rail__mute.is-muted { color: #94a3b8; background: rgba(241, 245, 249, 0.9); }
/* 折叠/展开：默认收起成一条细带，点头部展开（无加载抖动、更干净） */
.lh-arc-rail__toggle {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 2px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}
.lh-arc-rail__chevron {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}
.lh-arc-rail:not(.is-collapsed) .lh-arc-rail__chevron { transform: rotate(180deg); }
.lh-arc-rail__body {
  overflow: hidden;
  transition: max-height .34s cubic-bezier(.22, 1, .36, 1), opacity .26s ease;
}
.lh-arc-rail.is-collapsed .lh-arc-rail__body { max-height: 0; opacity: 0; }
.lh-arc-rail:not(.is-collapsed) .lh-arc-rail__body { max-height: 260px; opacity: 1; }
.lh-arc-rail.is-collapsed { padding-bottom: 9px; }
.lh-arc-rail.is-collapsed .lh-arc-rail__head { margin-bottom: 0; }
/* 折叠时仍保留「音」按钮，方便开声音 */
.lh-arc-rail__bowl {
  position: relative;
  height: 140px;
  margin: 0 auto;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  border-radius: 16px;
  background:
    radial-gradient(120% 78% at 50% 8%, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0) 62%),
    linear-gradient(180deg, #f6f8fc 0%, #edf1f7 100%);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.045);
}
.lh-arc-rail__bowl.is-dragging { cursor: grabbing; }
.lh-arc-rail__glow,
.lh-arc-rail__track {
  display: none;
}
.lh-arc-rail__veil {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 32px;
  z-index: 8;
  pointer-events: none;
}
.lh-arc-rail__veil--l {
  left: 0;
  background: linear-gradient(90deg, rgba(248, 250, 252, 0.95) 0%, transparent 100%);
}
.lh-arc-rail__veil--r {
  right: 0;
  background: linear-gradient(270deg, rgba(241, 245, 249, 0.95) 0%, transparent 100%);
}
.lh-arc-rail__wheel {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  z-index: 1;
}
.lh-arc-rail__item {
  position: absolute;
  left: 0;
  top: 0;
  width: 72px;
  height: 96px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translate(-50%, -50%);
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), opacity .22s ease, filter .22s ease;
  will-change: transform, opacity, filter;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
.lh-arc-rail__item.is-active {
  width: 160px;
  height: 108px;
  z-index: 100 !important;
}
.lh-arc-rail__bowl.is-dragging .lh-arc-rail__item { transition: none; }
.lh-arc-rail__media {
  position: absolute;
  left: 50%;
  top: 0;
  width: 68px;
  height: 68px;
  transform: translateX(-50%);
  border-radius: 14px;
  overflow: hidden;
  border: 2.5px solid #fff;
  box-shadow: 
    0 2px 8px rgba(15, 23, 42, 0.1),
    0 4px 16px rgba(15, 23, 42, 0.08);
  background: linear-gradient(145deg, #e2e8f0, #cbd5e1);
  transition: all .28s cubic-bezier(.22, 1, .36, 1);
}
.lh-arc-rail__item[data-tone="mint"] .lh-arc-rail__media { background: linear-gradient(145deg, #ccfbf1 0%, #5eead4 100%); }
.lh-arc-rail__item[data-tone="sky"] .lh-arc-rail__media { background: linear-gradient(145deg, #e0f2fe 0%, #7dd3fc 100%); }
.lh-arc-rail__item[data-tone="violet"] .lh-arc-rail__media { background: linear-gradient(145deg, #ede9fe 0%, #c4b5fd 100%); }
.lh-arc-rail__item[data-tone="amber"] .lh-arc-rail__media { background: linear-gradient(145deg, #fef3c7 0%, #fcd34d 100%); }
.lh-arc-rail__item[data-tone="rose"] .lh-arc-rail__media { background: linear-gradient(145deg, #ffe4e6 0%, #fda4af 100%); }
.lh-arc-rail__item[data-tone="slate"] .lh-arc-rail__media { background: linear-gradient(145deg, #e2e8f0 0%, #94a3b8 100%); }
.lh-arc-rail__item.is-active .lh-arc-rail__media {
  width: 156px;
  height: 104px;
  border-radius: 18px;
  border: 3px solid #fff;
  box-shadow:
    0 6px 16px rgba(15, 23, 42, 0.14),
    0 16px 40px rgba(15, 23, 42, 0.2),
    0 0 0 1px rgba(15, 23, 42, 0.04);
}
.lh-arc-rail__cover {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.lh-arc-rail__item.has-cover .lh-arc-rail__cover { display: block; }
.lh-arc-rail__item.is-active .lh-arc-rail__cover {
  object-fit: cover;
  object-position: center;
  filter: none;
  transform: none;
}
.lh-arc-rail__face {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #1e293b;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}
.lh-arc-rail__item.has-cover .lh-arc-rail__face { display: none; }
.lh-arc-rail__read {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 12px 10px;
  border-radius: 0 0 15px 15px;
  text-align: left;
  background: linear-gradient(180deg, 
    transparent 0%, 
    rgba(15, 23, 42, 0.4) 35%,
    rgba(15, 23, 42, 0.75) 70%,
    rgba(15, 23, 42, 0.88) 100%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.lh-arc-rail__item.is-active .lh-arc-rail__read { display: flex; }
.lh-arc-rail__read-kicker {
  display: none;
}
.lh-arc-rail__read-title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.01em;
}
.lh-arc-rail__read-sub {
  margin: 3px 0 0;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lh-arc-rail__tag {
  position: absolute;
  left: 50%;
  top: 72px;
  transform: translateX(-50%);
  max-width: 72px;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  color: #334155;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.1);
}
.lh-arc-rail__item.is-active .lh-arc-rail__tag { display: none; }
.lh-arc-rail__item.is-far .lh-arc-rail__tag { opacity: 0.6; }
.lh-arc-rail__meta {
  margin-top: 8px;
  padding: 0 4px;
  text-align: center;
}
.lh-arc-rail__caption {
  margin: 0;
  font-size: 15.5px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.lh-arc-rail__caption-sub {
  margin: 3px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
}
.lh-arc-rail__go[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  .lh-arc-rail__item { transition: none; }
}

/* 滑动引导动画：首次加载时轻微左移再弹回 */
@keyframes lh-swipe-hint {
  0% { transform: translateX(0); }
  30% { transform: translateX(-30px); }
  60% { transform: translateX(8px); }
  100% { transform: translateX(0); }
}
.lh-arc-rail__bowl.lh-swipe-hint .lh-arc-rail__wheel {
  animation: lh-swipe-hint 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
/* 提示文字闪烁 */
@keyframes lh-hint-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
.lh-arc-rail__hint.lh-hint-pulse {
  animation: lh-hint-pulse 1s ease-in-out 2;
}

/* ===== 顶部主视觉：默认卡片留白；--bleed 横向铺满（对齐同行顶图） ===== */
.lh-hero-poster {
  margin: 12px 0 8px;
  padding: 0 14px 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/**
 * 顶图横向铺满主内容区（主区 padding 已在上文归零）；勿再用 100vw 以免与 max-width 壳层叠加产生横向滚动。
 */
.lh-hero-poster--bleed {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 0 10px;
  padding: 0;
  box-sizing: border-box;
}

.lh-hero-poster__card {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  box-sizing: border-box;
  text-decoration: none !important;
  color: inherit;
}

.lh-hero-poster--bleed .lh-hero-poster__card {
  border-radius: 0 0 22px 22px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.lh-hero-poster__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* 顶图：宽度随容器 100%；高度自适应，避免 cover+固定高度把画面裁成「半张」 */
.lh-hero-poster--bleed .lh-hero-poster__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(78vh, 640px);
  min-height: 0;
  object-fit: contain;
  object-position: center top;
  vertical-align: top;
}
.lh-hero-poster--bleed .lh-hero-poster__card {
  background: #eef4ff;
}

/* ===== 电商商品图MAX：上线海报（主推位） ===== */
.lh-esop-launch {
  margin: 6px max(12px, env(safe-area-inset-left, 0px)) 12px max(12px, env(safe-area-inset-right, 0px));
  -webkit-tap-highlight-color: transparent;
}
.lh-esop-launch__card {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  text-decoration: none !important;
  color: inherit;
  background: #f7f4ef;
  border: 1px solid rgba(28, 25, 23, 0.08);
  box-shadow: 0 8px 20px rgba(28, 25, 23, 0.08);
}
.lh-esop-launch__card--live {
  background:
    radial-gradient(ellipse 55% 80% at 92% 18%, rgba(186, 214, 232, 0.45), transparent 55%),
    linear-gradient(180deg, #fbfaf7 0%, #f3efe8 100%);
}
.lh-esop-live {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr);
  gap: 10px;
  align-items: center;
  min-height: 118px;
  padding: 14px 14px 14px 16px;
}
.lh-esop-live__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
}
.lh-esop-live__badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: #7a4020;
  background: rgba(194, 120, 72, 0.16);
}
.lh-esop-live__title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #1c1917;
  line-height: 1.2;
}
.lh-esop-live__sub {
  font-style: normal;
  font-size: 12.5px;
  font-weight: 600;
  color: #44403c;
  line-height: 1.35;
}
.lh-esop-live__plats {
  font-size: 11px;
  font-weight: 700;
  color: #78716c;
}
.lh-esop-live__flow {
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 800;
  color: #b45309;
}
.lh-esop-live__visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-width: 0;
}
.lh-esop-live__fig {
  margin: 0;
  width: min(30%, 92px);
  flex: 0 0 auto;
}
.lh-esop-live__fig img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  background: #fff;
  border: 2px solid #fff;
  box-shadow: 0 6px 14px rgba(28, 25, 23, 0.12);
}
.lh-esop-live__fig figcaption {
  margin-top: 4px;
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  color: #57534e;
}
.lh-esop-live--hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  min-height: 132px;
  padding: 12px 12px 12px 16px;
}
.lh-esop-live__hero {
  min-width: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(28, 25, 23, 0.12);
  border: 2px solid #fff;
  background: #fff;
}
.lh-esop-live__hero img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 108px;
  max-height: 140px;
  object-fit: cover;
  object-position: center;
}
.lh-esop-launch__img--show {
  display: block !important;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 300;
  object-fit: cover;
}
.lh-esop-launch__card--has-img .lh-esop-launch__fallback {
  display: none;
}
@media (max-width: 380px) {
  .lh-esop-live--hero {
    grid-template-columns: 1fr;
  }
  .lh-esop-live__hero img {
    max-height: 120px;
  }
}
.lh-esop-launch__fallback {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  min-height: 88px;
  padding: 18px 20px;
  color: #1c1917;
}
.lh-esop-launch__fallback--inline {
  min-height: 0;
  padding: 8px 0;
}
.lh-esop-launch__fallback strong {
  font-size: 18px;
  font-weight: 800;
}
.lh-esop-launch__fallback em {
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  color: #78716c;
}
.lh-esop-launch__img {
  display: none;
}
@media (max-width: 380px) {
  .lh-esop-live {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }
  .lh-esop-live__visual {
    justify-content: flex-start;
  }
  .lh-esop-live__fig {
    width: 30%;
  }
}

/* ===== 热门入口：MAX 紧凑卡（旧版保留，兼容） ===== */
.lh-esop-promo {
  --esop-ink: #111827;
  --esop-mute: #4b5563;
  --esop-accent: #34343F;
  --esop-accent-deep: #0f766e;
  --esop-font: "PingFang SC", "SF Pro Text", "HarmonyOS Sans SC", "Microsoft YaHei UI", system-ui, sans-serif;
  position: relative;
  margin: 6px max(12px, env(safe-area-inset-left, 0px)) 10px max(12px, env(safe-area-inset-right, 0px));
  width: auto;
  max-width: none;
  -webkit-tap-highlight-color: transparent;
}
.lh-esop-promo--solo {
  margin-top: 4px;
  margin-bottom: 8px;
}
/* 首屏主推：更大、更醒目，作为默认动作 */
.lh-esop-promo--hero {
  margin-top: 0;
  margin-bottom: 12px;
}
.lh-esop-promo--hero .lh-esop-promo__compact {
  grid-template-columns: minmax(168px, 52%) minmax(0, 1fr);
  gap: 14px;
  padding: 12px 14px 12px 12px;
  border-radius: 18px;
  border-color: rgba(13, 148, 136, 0.18);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 28px rgba(13, 148, 136, 0.12),
    0 8px 20px rgba(15, 23, 42, 0.06);
}
.lh-esop-promo--hero .lh-esop-promo__compact-media {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
}
.lh-esop-promo--hero .lh-esop-promo__compact-title {
  font-size: clamp(18px, 5.2vw, 22px);
}
.lh-esop-promo--hero .lh-esop-promo__compact-sub {
  font-size: 13.5px;
  color: #475569 !important;
}
.lh-esop-promo--hero .lh-esop-promo__compact-ribbon {
  min-width: 52px;
  height: 22px;
  padding: 0 10px 0 12px;
  font-size: 11px;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #34343F 0%, #0f766e 100%);
  box-shadow: -1px 1px 4px rgba(15, 118, 110, 0.28);
}
.lh-esop-promo__compact-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-family: var(--compact-font);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff !important;
  background: linear-gradient(135deg, #34343F 0%, #0f766e 100%);
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.28);
}
.lh-esop-promo--compact:not(.lh-esop-promo--hero) .lh-esop-promo__compact-cta {
  display: none !important;
}
.lh-esop-promo--compact .lh-esop-promo__compact {
  --compact-font: "Noto Sans SC", "Source Han Sans SC", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei UI", sans-serif;
  position: relative;
  display: grid;
  grid-template-columns: minmax(156px, 48%) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 10px;
  border-radius: 16px;
  text-decoration: none !important;
  color: #0f172a;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 8px 20px rgba(15, 23, 42, 0.06);
  transition: transform .14s ease;
  overflow: hidden;
}
.lh-esop-promo--compact .lh-esop-promo__compact:active {
  transform: scale(0.985);
}
.lh-esop-promo__compact-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
}
.lh-esop-promo__compact-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* 角标：整卡右上角（白底文案区），不压左图模特脸 */
.lh-esop-promo__compact-ribbon {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 20px;
  padding: 0 9px 0 10px;
  border-radius: 0 16px 0 10px;
  font-family: var(--compact-font);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(135deg, #f97316 0%, #2A2A3A 100%);
  box-shadow: -1px 1px 4px rgba(234, 88, 12, 0.28);
  pointer-events: none;
}
.lh-esop-promo__compact-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  gap: 6px;
  padding: 6px 4px 0 0;
  font-family: var(--compact-font);
}
.lh-esop-promo__compact-title {
  margin: 0;
  font-family: var(--compact-font);
  font-size: clamp(17px, 4.8vw, 20px);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: #111827 !important;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  max-width: 100%;
}
.lh-esop-promo__compact-max {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff !important;
  background: #e11d48;
  vertical-align: middle;
}
.lh-esop-promo__compact-eye {
  display: none !important;
}
.lh-esop-promo__compact-sub {
  margin: 0;
  font-family: var(--compact-font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.4;
  color: #64748b !important;
  white-space: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  max-width: 100%;
}
.lh-esop-promo__compact-go {
  display: none !important;
}
.lh-esop-promo__scroller {
  display: flex;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-radius: 18px;
}
.lh-esop-promo__scroller::-webkit-scrollbar { display: none; }

.lh-esop-promo__slide {
  position: relative;
  box-sizing: border-box;
  flex: 0 0 100%;
  width: 100%;
  min-height: 196px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: stretch;
  overflow: hidden;
  text-decoration: none !important;
  color: var(--esop-ink);
  border-radius: 18px;
  isolation: isolate;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: #fff;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.06);
  transition: transform .16s ease;
}
.lh-esop-promo__slide:active { transform: scale(0.992); }
.lh-esop-promo__slide--clone {
  --esop-accent: #f97316;
  --esop-accent-deep: #2A2A3A;
}
.lh-esop-promo__slide--video {
  --esop-accent: #e11d48;
  --esop-accent-deep: #be123c;
}
/* 整卡海报：单入口，宽度随容器收窄 */
.lh-esop-promo__slide--poster {
  display: block;
  flex: none;
  width: 100%;
  grid-template-columns: none;
  min-height: 0;
  aspect-ratio: 1080 / 420;
  height: auto;
  border: none;
  background: transparent;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  border-radius: 16px;
}
.lh-esop-promo--solo .lh-esop-promo__slide--poster {
  border-radius: 16px;
}
.lh-esop-promo__poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.lh-esop-promo__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  padding: 18px 16px 18px 18px;
  background: #ffffff;
  border-right: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: none;
}

.lh-esop-promo__media {
  position: relative;
  z-index: 1;
  min-height: 196px;
  overflow: hidden;
  background: #f3f4f6;
  inset: auto;
}
.lh-esop-promo__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  filter: saturate(1.04) contrast(1.02);
  animation: none;
  transform: none;
}
.lh-esop-promo__bg--clone { object-position: center 42%; }
.lh-esop-promo__fg,
.lh-esop-promo__shade,
.lh-esop-promo__shade--clone,
.lh-esop-promo__tag,
.lh-esop-promo__brand,
.lh-esop-promo__line,
.lh-esop-promo__go { display: none !important; }

.lh-esop-promo__eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 10px;
  padding: 4px 9px;
  border-radius: 6px;
  font-family: var(--esop-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
  color: var(--esop-accent-deep) !important;
  -webkit-text-fill-color: var(--esop-accent-deep) !important;
  background: rgba(13, 148, 136, 0.12);
}
.lh-esop-promo__eyebrow--hot {
  color: #c2410c !important;
  -webkit-text-fill-color: #c2410c !important;
  background: rgba(249, 115, 22, 0.12);
}
.lh-esop-promo__eyebrow--vid {
  color: #be123c !important;
  -webkit-text-fill-color: #be123c !important;
  background: rgba(225, 29, 72, 0.12);
}

.lh-esop-promo__title {
  margin: 0;
  font-family: var(--esop-font);
  font-size: clamp(21px, 5.6vw, 25px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
}
.lh-esop-promo__title span {
  display: block;
  margin-top: 3px;
  color: var(--esop-accent-deep) !important;
  -webkit-text-fill-color: var(--esop-accent-deep) !important;
}

.lh-esop-promo__result {
  margin: 10px 0 0;
  max-width: 17em;
  font-family: var(--esop-font);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.4;
  color: #374151 !important;
  -webkit-text-fill-color: #374151 !important;
}

.lh-esop-promo__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 11px 18px;
  border-radius: 999px;
  font-family: var(--esop-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: var(--esop-accent-deep);
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.28);
}
.lh-esop-promo__cta span {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.lh-esop-promo__cta--clone {
  background: #2A2A3A;
  box-shadow: 0 8px 18px rgba(234, 88, 12, 0.28);
}
.lh-esop-promo__cta--video {
  background: #be123c;
  box-shadow: 0 8px 18px rgba(190, 18, 60, 0.28);
}
.lh-esop-promo__bg--video { object-position: 70% 40%; }
html body.page-tab-create.lh-home-shelf .lh2-root a.lh-esop-promo__slide--video.create-dash-tap .lh-esop-promo__title span,
html body.page-tab-agent.h5-shelf-mirror .lh2-root a.lh-esop-promo__slide--video.create-dash-tap .lh-esop-promo__title span {
  color: #be123c !important;
  -webkit-text-fill-color: #be123c !important;
}

html body.page-tab-create.lh-home-shelf .lh2-root a.lh-esop-promo__slide.create-dash-tap .lh-esop-promo__cta,
html body.page-tab-create.lh-home-shelf .lh2-root a.lh-esop-promo__slide.create-dash-tap .lh-esop-promo__cta span,
html body.page-tab-agent.h5-shelf-mirror .lh2-root a.lh-esop-promo__slide.create-dash-tap .lh-esop-promo__cta,
html body.page-tab-agent.h5-shelf-mirror .lh2-root a.lh-esop-promo__slide.create-dash-tap .lh-esop-promo__cta span {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
html body.page-tab-create.lh-home-shelf .lh2-root a.lh-esop-promo__slide.create-dash-tap .lh-esop-promo__title,
html body.page-tab-agent.h5-shelf-mirror .lh2-root a.lh-esop-promo__slide.create-dash-tap .lh-esop-promo__title {
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
}
html body.page-tab-create.lh-home-shelf .lh2-root a.lh-esop-promo__slide.create-dash-tap .lh-esop-promo__title span,
html body.page-tab-agent.h5-shelf-mirror .lh2-root a.lh-esop-promo__slide.create-dash-tap .lh-esop-promo__title span {
  color: var(--esop-accent-deep, #0f766e) !important;
  -webkit-text-fill-color: var(--esop-accent-deep, #0f766e) !important;
}
html body.page-tab-create.lh-home-shelf .lh2-root a.lh-esop-promo__slide--clone.create-dash-tap .lh-esop-promo__title span,
html body.page-tab-agent.h5-shelf-mirror .lh2-root a.lh-esop-promo__slide--clone.create-dash-tap .lh-esop-promo__title span {
  color: #2A2A3A !important;
  -webkit-text-fill-color: #2A2A3A !important;
}
html body.page-tab-create.lh-home-shelf .lh2-root a.lh-esop-promo__slide.create-dash-tap .lh-esop-promo__result,
html body.page-tab-agent.h5-shelf-mirror .lh2-root a.lh-esop-promo__slide.create-dash-tap .lh-esop-promo__result {
  color: #374151 !important;
  -webkit-text-fill-color: #374151 !important;
}
html body.page-tab-create.lh-home-shelf .lh2-root a.lh-esop-promo__slide.create-dash-tap .lh-esop-promo__eyebrow,
html body.page-tab-agent.h5-shelf-mirror .lh2-root a.lh-esop-promo__slide.create-dash-tap .lh-esop-promo__eyebrow {
  color: var(--esop-accent-deep, #0f766e) !important;
  -webkit-text-fill-color: var(--esop-accent-deep, #0f766e) !important;
}
html body.page-tab-create.lh-home-shelf .lh2-root a.lh-esop-promo__slide.create-dash-tap .lh-esop-promo__eyebrow--hot,
html body.page-tab-agent.h5-shelf-mirror .lh2-root a.lh-esop-promo__slide.create-dash-tap .lh-esop-promo__eyebrow--hot {
  color: #c2410c !important;
  -webkit-text-fill-color: #c2410c !important;
}

.lh-esop-promo__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}
.lh-esop-promo__dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.16);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.lh-esop-promo__dot.is-on {
  width: 18px;
  background: #0f766e;
}

@keyframes lhEsopKen { from { transform: none; } to { transform: none; } }
@keyframes lhEsopFgIn { from { opacity: 1; } to { opacity: 1; } }
@keyframes lhEsopRise { from { opacity: 1; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .lh-esop-promo__slide { transition: none; }
}
@media (min-width: 560px) {
  .lh-esop-promo__slide,
  .lh-esop-promo__media { min-height: 200px; }
  .lh-esop-promo__body { padding: 24px 22px 24px 26px; }
  .lh-esop-promo__title { font-size: 28px; }
  .lh-esop-promo__result { font-size: 14px; margin-top: 12px; }
  .lh-esop-promo__cta { margin-top: 18px; padding: 11px 18px; font-size: 14px; }
}

/* ===== 爆款图复刻 横幅入口（旧版保留，首页已切换） ===== */
.lh-clone-promo-banner {
  display: none;
}

/* ===== 爆款图复刻 横幅入口（旧版CSS保留兼容） ===== */
.lh-clone-promo {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 14px 10px;
  padding: 18px 14px 18px 18px;
  border-radius: 20px;
  text-decoration: none;
  overflow: visible;
  background: 
    linear-gradient(110deg, #1a1816 0%, #2d2824 30%, #3a332c 60%, #2a2520 100%) padding-box,
    linear-gradient(135deg, #d4af6e 0%, #c9a45c 20%, #a6824c 40%, #8b6914 50%, #a6824c 60%, #c4a46a 80%, #d4af6e 100%) border-box;
  border: 2.5px solid transparent;
  box-shadow:
    0 0 20px rgba(201, 164, 92, 0.4),
    0 0 40px rgba(201, 164, 92, 0.15),
    0 12px 32px rgba(0, 0, 0, 0.5);
  -webkit-tap-highlight-color: transparent;
}
.lh-clone-promo:active {
  transform: scale(0.992);
}
.lh-clone-promo__text {
  flex: 1 1 auto;
  min-width: 0;
}
.lh-clone-promo__title {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.1;
  background: linear-gradient(135deg, #f5e6c8 0%, #d4af6e 40%, #c9a45c 70%, #e8d5a8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  white-space: nowrap;
}
.lh-clone-promo__pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 6px 0 4px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #d4af6e;
  background: rgba(212, 175, 110, 0.1);
  border: 1px solid rgba(212, 175, 110, 0.35);
  border-radius: 100px;
  white-space: nowrap;
}
.lh-clone-promo__pill::before {
  content: ">>>";
  font-size: 10px;
  letter-spacing: -1px;
  color: #c9a45c;
}
.lh-clone-promo__sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}
.lh-clone-promo__pair {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: -8px;
  margin-right: 8px;
}
.lh-clone-promo__shot {
  position: relative;
  width: 88px;
  height: 115px;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(160deg, #e8dcc8 0%, #d4c4a8 100%);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.35),
    0 0 0 2px rgba(196, 164, 106, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.lh-clone-promo__shot--ref {
  transform: rotate(-6deg);
  z-index: 1;
}
.lh-clone-promo__shot--out {
  transform: rotate(6deg);
  background: linear-gradient(160deg, #d9c9a8 0%, #c4b498 100%);
  z-index: 2;
  margin-left: -20px;
}
.lh-clone-promo__shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lh-clone-promo__shot figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 6px 4px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  line-height: 1.1;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 100%);
}
.lh-clone-promo__arrow {
  position: relative;
  z-index: 5;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin: 0 -14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #0f172a;
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  box-shadow: 0 3px 10px rgba(34, 197, 94, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.2);
}
.lh-clone-promo__arrow .lh-lucide {
  width: 14px;
  height: 14px;
}
.lh-clone-promo__cta {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  color: #0f172a;
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  box-shadow: 0 5px 14px rgba(34, 197, 94, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 400px) {
  .lh-clone-promo {
    padding: 12px 10px 12px 14px;
    gap: 8px;
  }
  .lh-clone-promo__shot {
    width: 64px;
    height: 84px;
  }
  .lh-clone-promo__shot--out {
    margin-left: -12px;
  }
  .lh-clone-promo__title {
    font-size: 20px;
  }
  .lh-clone-promo__cta {
    width: 44px;
    height: 44px;
    font-size: 11px;
  }
}

/* ===== 创作动态条（左固定占位 + 右侧跑马灯；标签不压滚动区、不露出残字） ===== */
.lh-live-ticker {
  position: relative;
  margin: 4px max(12px, env(safe-area-inset-left, 0px)) 0 max(12px, env(safe-area-inset-right, 0px));
  width: calc(100% - 24px);
  max-width: 100%;
  min-height: 36px;
  height: auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid color-mix(in srgb, var(--as-blue, #2A2A3A) 10%, transparent);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  display: flex;
  align-items: stretch;
  padding: 0 12px 0 0;
  overflow: hidden;
  column-gap: 8px;
}
/* 动态条：人名+工具，略提存在感 */
.lh-live-ticker--soft {
  margin: 10px max(12px, env(safe-area-inset-left, 0px)) 12px max(12px, env(safe-area-inset-right, 0px));
  min-height: 34px;
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(148, 163, 184, 0.28);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  opacity: 1;
}
.lh-live-ticker--soft .lh-live-ticker__label {
  font-size: 11px;
  color: #64748b;
  font-weight: 700;
}
.lh-live-ticker--soft .lh-live-ticker__item {
  font-size: 12px;
  color: #64748b;
  font-weight: 560;
}

.lh-live-ticker__label {
  position: relative;
  z-index: 2;
  flex: 0 0 64px;
  width: 64px;
  min-width: 64px;
  max-width: 64px;
  box-sizing: border-box;
  padding-left: 12px;
  padding-right: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--lh-text-ticker);
  white-space: nowrap;
  background: #ffffff;
}

.lh-live-ticker__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lh-primary-accent);
  animation: lh-breath 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes lh-breath {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.lh-live-ticker__track {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  overflow-x: clip;
  position: relative;
  z-index: 1;
  padding-left: 0;
  display: flex;
  align-items: center;
}

.lh-live-ticker__inner {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 36px;
  white-space: nowrap;
  animation: lh-ticker-scroll 48s linear infinite;
  padding-right: 36px;
}
@media (prefers-reduced-motion: reduce) {
  .lh-live-ticker__inner {
    animation: none;
  }
}
/* 导航跳转中停动画，减少手机端 GPU 抢占 */
html.h5-nav-pending .lh-live-ticker__inner {
  animation: none !important;
}

.lh-live-ticker__inner > span {
  flex-shrink: 0;
  display: inline-block;
  white-space: nowrap;
}

@keyframes lh-ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.lh-live-ticker__item {
  display: inline-block;
  font-size: 13px;
  color: #64748B;
  letter-spacing: 0.01em;
}

/* ===== Tab 分段控件 ===== */
.lh-tabs {
  margin: 12px 14px 0;
  width: calc(100% - 28px);
  height: 48px;
  background: #EEF3FA;
  border-radius: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 4px;
  overflow: hidden;
}

.lh-tabs__item {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--lh-text-body);
  background: transparent;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lh-tabs__item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: rgba(15, 23, 42, 0.06);
  transition: opacity 0.2s;
}

.lh-tabs__item:last-child::after {
  display: none;
}

.lh-tabs__item.is-active {
  background: var(--lh-gradient-tab);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(26, 26, 46, 0.2);
}

.lh-tabs__item.is-active::after,
.lh-tabs__item.is-active + .lh-tabs__item::after {
  opacity: 0;
}

.lh-tabs__item:focus {
  outline: none;
}

.lh-tabs__item:focus-visible {
  outline: 2px solid var(--lh-primary-accent);
  outline-offset: 2px;
}

/* ===== 价值标题区（副文案收口，星光减弱） ===== */
.lh-value-header {
  padding: 12px 14px 6px;
  width: 100%;
}
.lh-value-header--brand {
  padding: 14px 16px 8px;
}
.lh-value-header__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #1A1A2E;
}
.lh-value-header--brand .lh-value-header__title {
  font-size: clamp(24px, 6.4vw, 28px);
}
.lh-value-header--brand .lh-value-header__sub {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}

/* ===== 出图 / 出视频 双主入口 ===== */
.lh-dual-lanes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 8px 14px 12px;
}
.lh-dual-lanes__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 128px;
  padding: 14px 14px 12px;
  border-radius: 18px;
  text-decoration: none !important;
  overflow: hidden;
  border: 1px solid transparent;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transition: transform .15s ease;
}
.lh-dual-lanes__card:active { transform: scale(0.985); }
.lh-dual-lanes__card--img {
  background: linear-gradient(145deg, #0b2a66 0%, #1A1A2E 72%);
  color: #fff !important;
}
.lh-dual-lanes__card--vid {
  background: linear-gradient(145deg, #1A1A2E 0%, #2A2A3A 72%);
  color: #fff !important;
}
.lh-dual-lanes__kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.82;
}
.lh-dual-lanes__name {
  margin-top: 6px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.lh-dual-lanes__desc {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  opacity: 0.92;
}
.lh-dual-lanes__go {
  margin-top: auto;
  padding-top: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.lh-value-header__title {
  font-family: "PingFang SC", "SF Pro Display", "HarmonyOS Sans SC", "Microsoft YaHei UI", system-ui, sans-serif;
  font-size: clamp(26px, 7vw, 30px);
  font-weight: 800;
  color: #111827;
  margin: 0;
  line-height: 1.22;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 6px;
  -webkit-font-smoothing: antialiased;
}

.lh-value-header__star {
  color: var(--lh-primary-accent);
  font-size: 14px;
  opacity: 0.35;
  flex-shrink: 0;
  animation: none;
}

@keyframes lh-star-twinkle {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.lh-value-header__sub {
  font-family: "PingFang SC", "SF Pro Text", "HarmonyOS Sans SC", "Microsoft YaHei UI", system-ui, sans-serif;
  font-size: 15px;
  color: #374151;
  margin: 10px 0 0;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ===== 核心推荐区：主卡 + 双辅（仅三卡，蓝白极简） ===== */
.lh-core-cards {
  padding: 8px 14px 0;
  width: 100%;
}

/* 推荐能力组：主卡 + 连体辅助列表（统一轻容器） */
.lh-core-cards .recommend-group {
  margin: 10px 0 16px;
  padding: 8px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.045);
}

.lh-core-cards .hero-product-card.lh-hero-card--spotlight {
  min-height: 152px;
  border-radius: 20px;
  margin-bottom: 8px;
  padding: 14px 16px 16px;
}

.lh-core-cards .hero-product-card.lh-hero-card--spotlight .lh-hero-card__body {
  min-height: 92px;
  gap: 8px 10px;
  align-items: center;
}

.lh-core-cards .hero-product-card.lh-hero-card--spotlight .lh-hero-card__title {
  font-size: 22px;
  margin: 0 0 6px;
}

.lh-core-cards .hero-product-card.lh-hero-card--spotlight .lh-hero-card__desc {
  font-size: 12px;
  line-height: 1.45;
  margin: 0 0 10px;
}

.lh-core-cards .hero-product-card.lh-hero-card--spotlight .lh-hero-card__action {
  min-width: 100px;
  height: 32px;
  padding: 0 16px;
  font-size: 13px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.lh-core-cards .hero-product-card.lh-hero-card--spotlight .lh-hero-card__art {
  height: 100px;
  max-width: 124px;
  min-width: 86px;
  opacity: 0.72;
}

.lh-core-cards .hero-product-card .lh-core-glyph--note .lh-core-glyph__halo {
  width: 86px;
  height: 64px;
  right: -4px;
  bottom: -2px;
}

.lh-core-cards .hero-product-card .lh-core-glyph--note .lh-core-glyph__panel {
  max-width: 106px;
  height: 88px;
  border-radius: 12px;
}

.lh-core-cards .hero-product-card .lh-core-glyph--note .lh-core-glyph__chrome {
  height: 18px;
  padding: 0 8px;
}

.lh-core-cards .hero-product-card .lh-core-glyph--note .lh-core-glyph__body {
  padding: 8px 8px 6px;
  gap: 6px;
}

.lh-core-cards .hero-product-card .lh-core-glyph--note .lh-core-glyph__thumb {
  width: 28px;
  height: 36px;
  border-radius: 6px;
}

.lh-core-cards .hero-product-card .lh-core-glyph--note .lh-core-glyph__lines {
  gap: 4px;
}

.lh-core-cards .hero-product-card .lh-core-glyph--note .lh-core-glyph__tag {
  left: 6px;
  bottom: 6px;
  padding: 2px 6px;
  font-size: 8px;
}

.lh-core-cards .recommend-group .assist-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 0;
  margin-bottom: 0;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.lh-core-cards .recommend-group .assist-card {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: auto;
  min-height: 100px;
  border-radius: 0;
  box-shadow: none;
  border: none;
  margin: 0;
  padding: 10px 8px 10px;
}

.lh-core-cards .recommend-group .assist-card + .assist-card {
  border-top: none;
  border-left: 1px solid rgba(15, 23, 42, 0.06);
}

.lh-core-cards .recommend-group .lh-assist-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 11px;
}

.lh-core-cards .recommend-group .lh-assist-icon .lh-lucide {
  width: 18px;
  height: 18px;
}

.lh-core-cards .recommend-group .lh-assist-content {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  margin-left: 0;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.lh-core-cards .recommend-group .lh-assist-title {
  font-size: 14px;
  font-weight: 700;
  white-space: normal;
  line-height: 1.25;
  text-align: center;
  width: 100%;
}

.lh-core-cards .recommend-group .lh-assist-desc {
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.35;
  white-space: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-align: center;
  width: 100%;
}

.lh-core-cards .recommend-group .lh-assist-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  margin-left: auto;
  margin-right: auto;
  align-self: center;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  padding: 5px 14px 6px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--lh-primary-accent);
  text-decoration: none;
  background: linear-gradient(155deg, #ffffff 0%, #f5f8ff 50%, #eef3ff 100%);
  background-size: 100% 100%;
  border: 1px solid rgba(26, 26, 46, 0.16);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 2px 8px rgba(26, 26, 46, 0.1);
  transform: translateZ(0);
  transition:
    transform 0.22s cubic-bezier(0.34, 1.25, 0.64, 1),
    box-shadow 0.22s ease,
    filter 0.22s ease;
  animation: none;
  -webkit-tap-highlight-color: transparent;
}

@keyframes lh-rec-cta-bg {
  0%,
  100% {
    background-position: 0% 50%;
    filter: saturate(1);
  }
  50% {
    background-position: 100% 50%;
    filter: saturate(1.08);
  }
}

.lh-core-cards .recommend-group .assist-card:active .lh-assist-cta {
  transform: translateY(2px) scale(0.97);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 1px 0 rgba(26, 26, 46, 0.12),
    0 3px 10px rgba(26, 26, 46, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .lh-core-cards .recommend-group .lh-assist-cta {
    animation: none;
    background-size: 100% 100%;
  }
}

.lh-assist-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-bottom: 22px;
}

.lh-assist-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 82px;
  padding: 0 18px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  text-decoration: none;
  color: inherit;
  overflow: visible;
  transition: transform 0.12s ease, box-shadow 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.lh-assist-card:active {
  transform: scale(0.99);
}

.lh-assist-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--as-blue, #2A2A3A) 8%, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--as-blue, #1A1A2E);
}

.lh-assist-icon .lh-lucide {
  width: 22px;
  height: 22px;
  color: var(--as-blue, #1A1A2E) !important;
  stroke: var(--as-blue, #1A1A2E);
}

.lh-assist-content {
  flex: 1 1 auto;
  min-width: 0;
  margin-left: 14px;
}

.lh-assist-title {
  display: block;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  letter-spacing: -0.02em;
}

.lh-assist-desc {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lh-assist-cta {
  flex: 0 0 auto;
  margin-left: 12px;
  font-size: 14px;
  font-weight: 800;
  color: var(--as-blue, #1A1A2E);
  white-space: nowrap;
}
.lh-hero-card.lh-hero-card--spotlight {
  display: block;
  position: relative;
  width: 100%;
  min-height: 158px;
  height: auto;
  padding: 18px 22px 22px;
  margin-bottom: 16px;
  background: var(--lh-gradient-hero);
  border-radius: 22px;
  text-decoration: none;
  overflow: hidden;
}

.lh-hero-card.lh-hero-card--spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 95% 90% at 100% 100%, rgba(255, 255, 255, 0.06) 0%, transparent 55%),
    linear-gradient(180deg, transparent 52%, rgba(7, 17, 31, 0.42) 100%);
  pointer-events: none;
}

.lh-hero-card__pill {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--lh-primary-accent);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.lh-hero-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 14px;
  min-height: 108px;
}

.lh-hero-card__copy {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 56%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
}

.lh-hero-card--spotlight .lh-hero-card__title {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.lh-hero-card--spotlight .lh-hero-card__desc {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.lh-hero-card__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  height: 36px;
  padding: 0 20px;
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--lh-primary-accent);
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.lh-hero-card__art {
  flex: 0 0 auto;
  width: 42%;
  max-width: 150px;
  min-width: 100px;
  height: 114px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
  opacity: 0.78;
}

.lh-hero-card__art .lh-core-glyph--note .lh-core-glyph__halo {
  opacity: 0.62;
}

.lh-hero-card__art .lh-core-glyph--note .lh-core-glyph__panel {
  opacity: 0.92;
}

/* ---------- 轻图形：主卡右侧（note） ---------- */
.lh-core-glyph {
  position: relative;
  width: 100%;
  height: 100%;
}

.lh-core-glyph--note .lh-core-glyph__halo {
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 100px;
  height: 76px;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.38) 0%, transparent 70%);
  filter: blur(16px);
  opacity: 0.85;
}

.lh-core-glyph--note .lh-core-glyph__panel {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 122px;
  height: 102px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.07) 100%);
  box-shadow: 0 12px 32px rgba(5, 11, 24, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}

.lh-core-glyph--note .lh-core-glyph__chrome {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
}

.lh-core-glyph--note .lh-core-glyph__chrome span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.lh-core-glyph--note .lh-core-glyph__body {
  display: flex;
  gap: 8px;
  padding: 10px 10px 8px;
  align-items: flex-start;
}

.lh-core-glyph--note .lh-core-glyph__thumb {
  flex-shrink: 0;
  width: 34px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(26, 26, 46, 0.55) 0%, rgba(7, 17, 31, 0.68) 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.lh-core-glyph--note .lh-core-glyph__lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 2px;
  min-width: 0;
}

.lh-core-glyph--note .lh-core-glyph__lines span {
  display: block;
  height: 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.24);
}

.lh-core-glyph--note .lh-core-glyph__lines span:nth-child(2) {
  width: 88%;
}

.lh-core-glyph--note .lh-core-glyph__lines span:nth-child(3) {
  width: 62%;
}

.lh-core-glyph--note .lh-core-glyph__tag {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 3px 7px;
  font-size: 9px;
  font-weight: 600;
  color: rgba(26, 26, 46, 0.95);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 6px;
  line-height: 1.2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ===== 创作页：全部 / 图文 / 视频（分段 Tab：灰轨道 + 选中白 pill；横排小图标+标题；副文案读屏+ title） ===== */
.lh-shelf-tools-wrap {
  width: 100%;
  padding: 2px 0 4px;
  box-sizing: border-box;
}

.lh-shelf-cat-card {
  margin: 4px max(12px, env(safe-area-inset-left, 0px)) 0 max(12px, env(safe-area-inset-right, 0px));
  padding: 0;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 10px 32px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  box-sizing: border-box;
  overflow: hidden;
}

.lh-shelf-tools-panel {
  margin: 10px max(12px, env(safe-area-inset-left, 0px)) 2px max(12px, env(safe-area-inset-right, 0px));
  padding: 10px 10px 8px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 250, 252, 0.98) 100%);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow:
    0 10px 32px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  box-sizing: border-box;
}

.lh-shelf-cat-card .lh-shelf-tabbar {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 9px 10px 10px;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.lh-shelf-cat-card .lh-shelf-tabbar__inner {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: stretch;
  gap: 0;
  padding: 4px;
  border-radius: 16px;
  box-sizing: border-box;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.06);
}

.lh-shelf-cat-card .lh-shelf-tab {
  flex: 1;
  min-width: 0;
  max-width: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 6px;
  margin: 0;
  border: none;
  border-radius: 13px;
  background: transparent;
  cursor: pointer;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.12s ease;
}

.lh-shelf-cat-card .lh-shelf-tab.is-active {
  background: #fff;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.05),
    0 5px 14px rgba(15, 23, 42, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.lh-shelf-cat-card .lh-shelf-tab__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  min-width: 0;
  position: relative;
  text-align: left;
}

.lh-shelf-cat-card .lh-shelf-tab__hint {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lh-shelf-cat-card .lh-shelf-tab:focus {
  outline: none;
}

.lh-shelf-cat-card .lh-shelf-tab:focus-visible {
  outline: 2px solid rgba(26, 26, 46, 0.45);
  outline-offset: 2px;
}

.lh-shelf-cat-card .lh-shelf-tab:active {
  transform: scale(0.98);
}

.lh-shelf-cat-card .lh-shelf-tab__ico-wrap {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(15, 23, 42, 0.05);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
  color: #64748b;
}

.lh-shelf-cat-card .lh-shelf-tab__lucide {
  width: 14px !important;
  height: 14px !important;
}

.lh-shelf-cat-card .lh-shelf-tab__ico-wrap :is(svg, i.lh-lucide) {
  width: 14px;
  height: 14px;
  display: block;
}

.lh-shelf-cat-card .lh-shelf-tab__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #64748b;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.lh-shelf-cat-card .lh-shelf-tab--all:not(.is-active) .lh-shelf-tab__ico-wrap {
  color: #1A1A2E;
  background: rgba(241, 242, 245, 0.75);
  border-color: rgba(26, 26, 46, 0.08);
}

.lh-shelf-cat-card .lh-shelf-tab--tw:not(.is-active) .lh-shelf-tab__ico-wrap {
  color: #2A2A3A;
  background: rgba(245, 243, 255, 0.75);
  border-color: rgba(124, 58, 237, 0.12);
}

.lh-shelf-cat-card .lh-shelf-tab--vid:not(.is-active) .lh-shelf-tab__ico-wrap {
  color: #db2777;
  background: rgba(253, 242, 248, 0.75);
  border-color: rgba(219, 39, 119, 0.1);
}

.lh-shelf-cat-card .lh-shelf-tab--all.is-active .lh-shelf-tab__ico-wrap {
  background: linear-gradient(145deg, #1A1A2E 0%, #2d2d44 60%, #14142a 100%);
  border-color: transparent;
  color: #fff !important;
  box-shadow: 0 1px 4px rgba(26, 26, 46, 0.28);
}

.lh-shelf-cat-card .lh-shelf-tab--tw.is-active .lh-shelf-tab__ico-wrap {
  background: linear-gradient(145deg, #a78bfa 0%, #2A2A3A 55%, #6d28d9 100%);
  border-color: transparent;
  color: #fff !important;
  box-shadow: 0 1px 4px rgba(124, 58, 237, 0.26);
}

.lh-shelf-cat-card .lh-shelf-tab--vid.is-active .lh-shelf-tab__ico-wrap {
  background: linear-gradient(145deg, #fb7185 0%, #ec4899 50%, #db2777 100%);
  border-color: transparent;
  color: #fff !important;
  box-shadow: 0 1px 4px rgba(219, 39, 119, 0.24);
}

.lh-shelf-cat-card .lh-shelf-tab.is-active .lh-shelf-tab__lucide {
  color: #fff !important;
  stroke: #fff !important;
}

.lh-shelf-cat-card .lh-shelf-tab.is-active .lh-shelf-tab__label {
  color: #0f172a;
  font-weight: 800;
}

/* 创作能力 Tab：CSS 过滤，切换零 JS 重排 */
#lhShelfToolSection[data-lh-shelf-active="tw"] .lh-tool-card:not([data-lh-cats~="tw"]) {
  display: none !important;
}
#lhShelfToolSection[data-lh-shelf-active="vid"] .lh-tool-card:not([data-lh-cats~="vid"]) {
  display: none !important;
}

/* ===== 更多工具列表：一行三项（现代卡片、统一视觉） ===== */
.lh-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 10px;
  padding: 14px 16px 0;
  width: 100%;
}

.lh-tool-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  width: 100%;
  min-height: 0;
  padding: 12px 10px 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(250,252,255,.98) 100%);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 20px;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05), 0 1px 0 rgba(255,255,255,.85) inset;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
  overflow: hidden;
  text-align: center;
}

/* 创作 Tab：亮点条（保留功能，只做更现代的视觉） */
.lh-tool-card--full-row {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: 12px;
  padding: 14px 16px;
  border-color: rgba(232, 93, 63, 0.18);
  background: linear-gradient(135deg, rgba(255,255,255,.98) 0%, rgba(255,244,239,.98) 100%);
}
.lh-tool-card--full-row .lh-tool-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(232, 93, 63, 0.12), rgba(232, 93, 63, 0.22));
}
.lh-tool-card--full-row .lh-tool-card__body {
  flex: 1;
  min-width: 0;
}
.lh-tool-card--full-row .lh-tool-card__title {
  font-size: 16px;
}
.lh-tool-card__sub {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #64748b;
  margin-top: 4px;
  line-height: 1.4;
}

.lh-tool-card:active {
  transform: scale(0.97);
}

.lh-tool-card__icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #EEF4FF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.lh-tool-card__icon svg,
.lh-tool-card__icon i,
.lh-tool-card__icon .lh-lucide {
  width: 16px;
  height: 16px;
  color: #1A1A2E !important;
  stroke: #1A1A2E;
}

.lh-tool-card__body {
  flex: 1;
  min-width: 0;
  width: 100%;
  overflow: hidden;
}

.lh-tool-card__title {
  font-size: 12px;
  font-weight: 700;
  color: var(--lh-text-title);
  margin: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  word-break: break-word;
  hyphens: auto;
}

.lh-tool-card__arrow {
  display: none;
}

.lh-tool-card__arrow svg,
.lh-tool-card__arrow .lh-lucide {
  width: 12px;
  height: 12px;
}

/* ===== 创作 Tab 宫格：手机 3 列 · 效果图 + 标题 + 简介 ===== */
.lh-tool-grid.lh-tool-grid--shelf {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 10px;
  padding: 12px 0 10px;
  width: 100%;
}

.lh-tool-grid.lh-tool-grid--shots > .lh-tool-card--shot {
  align-items: stretch;
  justify-content: flex-start;
  gap: 8px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
  min-height: 0;
  opacity: 1;
}
.lh-tool-grid.lh-tool-grid--shots > .lh-tool-card--shot:active {
  transform: scale(0.985);
}
.lh-tool-grid.lh-tool-grid--shots > .lh-tool-card--shot.lh-tool-card--disabled {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

.lh-tool-card__shot {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background: #f3f4f6;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.05),
    0 6px 16px rgba(15, 23, 42, 0.08),
    0 12px 28px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.28s cubic-bezier(.22, 1, .36, 1), transform 0.28s cubic-bezier(.22, 1, .36, 1);
}
/* 高端质感：图片上覆盖极细高光描边，柔化边缘 */
.lh-tool-card__shot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28), inset 0 1px 2px rgba(255, 255, 255, 0.14);
}
.lh-tool-card__shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s cubic-bezier(.22, 1, .36, 1);
}
.lh-tool-grid.lh-tool-grid--shots > .lh-tool-card--shot:active .lh-tool-card__shot {
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.06),
    0 3px 8px rgba(15, 23, 42, 0.1);
}
.lh-tool-grid.lh-tool-grid--shots > .lh-tool-card--shot:active .lh-tool-card__shot img {
  transform: scale(1.04);
}
.lh-tool-card__shot-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #eef2ff 0%, #f8fafc 100%);
}
.lh-tool-card__shot-fallback svg,
.lh-tool-card__shot-fallback .lh-lucide,
.lh-tool-card__shot-fallback img {
  width: 28px;
  height: 28px;
  color: #334155 !important;
  stroke: #334155;
}

.lh-tool-grid.lh-tool-grid--shots > .lh-tool-card--shot .lh-tool-card__body {
  flex: 0 1 auto;
  width: 100%;
  padding: 0 2px;
  overflow: hidden;
}
.lh-tool-grid.lh-tool-grid--shots > .lh-tool-card--shot .lh-tool-card__title {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #0f172a;
  line-height: 1.3;
  -webkit-line-clamp: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: normal;
}
.lh-tool-grid.lh-tool-grid--shots > .lh-tool-card--shot .lh-tool-card__sub {
  display: -webkit-box;
  margin: 3px 0 0;
  padding: 0;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.005em;
  color: #7c8899;
  white-space: normal;
  overflow: hidden;
  text-overflow: unset;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.lh-tool-grid.lh-tool-grid--shots > .lh-tool-card--shot .lh-tool-card__icon,
.lh-tool-grid.lh-tool-grid--shots > .lh-tool-card--shot .lh-tool-card__arrow {
  display: none !important;
}

/* 旧图标卡兜底（非 shot） */
.lh-tool-grid.lh-tool-grid--shelf > .lh-tool-card:not(.lh-tool-card--full-row):not(.lh-tool-card--shot) {
  padding: 16px 6px 14px;
  gap: 11px;
  border-radius: 16px;
  border: none;
  background: #fff;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 4px 14px rgba(15, 23, 42, 0.06);
}
.lh-tool-grid.lh-tool-grid--shelf > .lh-tool-card:not(.lh-tool-card--full-row):not(.lh-tool-card--shot) .lh-tool-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f3f4f6;
  box-shadow: none;
}
.lh-tool-card__sub {
  margin: 3px 0 0;
  padding: 0;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: #94a3b8;
}


/* 创作首页：爆款图复刻 + 复刻整套电商详情图 — 同一行横向轮播（手滑 + 自动轮播） */

.lh-shelf-promo-wrap.lh-shelf-filter-row {
  margin: 0 0 10px;
  width: 100%;
  box-sizing: border-box;
}

.lh-shelf-promo-wrap .lh-shelf-promo-track {
  width: 100%;
  box-sizing: border-box;
}

/* 顶部分页条（参考图2） */
.lh-shelf-promo-progress {
  display: flex;
  justify-content: center;
  margin: 0 0 6px;
}

.lh-shelf-promo-progress__rail {
  position: relative;
  width: min(160px, 42vw);
  height: 4px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.35);
  overflow: hidden;
}

.lh-shelf-promo-progress__fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  border-radius: 999px;
  background: linear-gradient(90deg, #64748b 0%, #334155 100%);
  transition: left 0.35s ease, width 0.35s ease;
  will-change: left, width;
}

/* 横向滚动区：卡片尽量占满屏宽，仅保留刘海安全区内边距 */
.lh-shelf-promo-scroller {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: env(safe-area-inset-left, 0px);
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 env(safe-area-inset-left, 0px) 4px env(safe-area-inset-right, 0px);
}

.lh-shelf-promo-scroller::-webkit-scrollbar {
  display: none;
}

/* 轮播内第 1 屏：爆款图复刻 — 保持原「置顶 spotlight」视觉（仅选择器改为位于横向 scroller 内） */
.lh-shelf-promo-slideSnap {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-width: 0;
  box-sizing: border-box;
}

.lh-shelf-promo-slideSnap > .lh-tool-card--spotlight.lh-tool-card--full-row {
  margin: 0;
  width: 100%;
  max-width: 100%;
}

@keyframes lh-hotspot-sheen {
  0%,
  100% {
    transform: rotate(-10deg) translate3d(-36%, 0, 0);
    opacity: 0.38;
  }
  50% {
    transform: rotate(-10deg) translate3d(36%, 0, 0);
    opacity: 0.95;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row::before {
    animation: none !important;
    transform: rotate(-10deg) translate3d(0, 0, 0);
    opacity: 0.72;
  }
}

.lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row {
  position: relative;
  isolation: isolate;
  overflow: visible;
  box-sizing: border-box;
  align-items: stretch;
  padding: 14px 12px 14px 14px;
  gap: 0;
  border-radius: 18px;
  border: 1px solid rgba(251, 191, 36, 0.45);
  background:
    radial-gradient(100% 92% at 92% 100%, rgba(251, 146, 60, 0.45) 0%, transparent 56%),
    radial-gradient(60% 48% at 6% 4%, rgba(254, 243, 199, 0.14) 0%, transparent 52%),
    linear-gradient(168deg, #292524 0%, #44403c 38%, #57534e 68%, #9a3412 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 10px 32px rgba(180, 83, 9, 0.28),
    0 2px 12px rgba(15, 23, 42, 0.12);
  min-height: 172px;
}

.lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row::before {
  content: "";
  position: absolute;
  inset: -50%;
  left: -25%;
  background: linear-gradient(
    118deg,
    transparent 40%,
    rgba(255, 255, 255, 0.05) 47%,
    rgba(255, 252, 232, 0.26) 50%,
    rgba(255, 255, 255, 0.09) 53%,
    transparent 62%
  );
  transform: rotate(-10deg) translate3d(-36%, 0, 0);
  pointer-events: none;
  z-index: 0;
  animation: lh-hotspot-sheen 6.5s ease-in-out infinite;
}

.lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row > * {
  position: relative;
  z-index: 1;
}

.lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__body {
  overflow: visible;
}

.lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__title.lh-tool-card__title--spot-peer {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__title-hero--tight {
  overflow: visible;
}

.lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__spot-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 8px 12px;
}

.lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__spot-lead {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  flex: 0 1 36%;
  max-width: 42%;
  min-width: 0;
  position: relative;
  padding-left: 11px;
}

.lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__spot-lead::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 34px;
  max-height: 88%;
  border-radius: 2px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 251, 235, 0.92) 0%,
    rgba(253, 224, 71, 0.5) 45%,
    rgba(251, 146, 60, 0.28) 100%
  );
  box-shadow:
    0 0 16px rgba(251, 191, 36, 0.28),
    0 0 0 0.5px rgba(255, 255, 255, 0.22) inset;
  opacity: 0.88;
}

.lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__spot-lead .lh-tool-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
}

.lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__title.lh-tool-card__title--spot-peer {
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 800;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__title-hero--tight {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  letter-spacing: -0.04em;
  line-height: 1.08;
  position: relative;
  z-index: 2;
}

.lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__title-hero__blue {
  display: inline-block;
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 28px;
  font-family: "Songti SC", "STSong", "Noto Serif SC", "PingFang SC", serif;
  font-weight: 400;
  transform: skewX(-3deg);
  letter-spacing: -0.12em;
  margin-right: 0.2em;
  color: #fff3c4;
  -webkit-text-fill-color: #fff3c4;
  text-shadow:
    0 1px 0 rgba(120, 53, 15, 0.32),
    0 0 20px rgba(253, 224, 71, 0.55),
    0 2px 14px rgba(251, 146, 60, 0.42);
}

.lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__title-hero__ink {
  display: inline-block;
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 28px;
  font-family: "Songti SC", "STSong", "Noto Serif SC", "PingFang SC", serif;
  font-weight: 400;
  transform: skewX(-3deg);
  letter-spacing: -0.1em;
  margin-left: 0;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  text-shadow:
    0 1px 0 rgba(120, 53, 15, 0.22),
    0 0 16px rgba(255, 255, 255, 0.28),
    0 2px 10px rgba(0, 0, 0, 0.18);
}

.lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__title-hero__single {
  display: block;
  white-space: nowrap;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1.08;
  color: #fff8eb;
  -webkit-text-fill-color: #fff8eb;
  text-shadow:
    0 1px 0 rgba(120, 53, 15, 0.22),
    0 0 18px rgba(253, 224, 71, 0.35),
    0 2px 10px rgba(0, 0, 0, 0.18);
  font-family: "Songti SC", "STSong", "Noto Serif SC", "PingFang SC", serif;
  transform: skewX(-3deg);
  position: relative;
  z-index: 2;
}

.lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__title-step {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
  margin-top: 9px;
  padding: 5px 11px 5px 7px;
  background: rgba(15, 23, 42, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  max-width: 100%;
  white-space: nowrap;
}

.lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__title-step::before {
  content: "›››";
  margin-right: 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.12em;
  color: #fde68a;
  opacity: 0.95;
}

.lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__title-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: auto;
  height: auto;
  padding: 0 2px 0 0;
  border-radius: 0;
  background: none !important;
  box-shadow: none !important;
  font-size: 15px;
  font-weight: 400;
  font-family: "Songti SC", "STSong", "Noto Serif SC", "PingFang SC", serif;
  color: #fde68a;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  transform: skewX(-2deg);
  white-space: nowrap;
  flex-shrink: 0;
}

.lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__title-step-text {
  font-size: 15px;
  font-weight: 400;
  font-family: "Songti SC", "STSong", "Noto Serif SC", "PingFang SC", serif;
  color: rgba(255, 255, 255, 0.96);
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  transform: skewX(-2deg);
  white-space: nowrap;
  flex-shrink: 0;
}

.lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__spot-tagline {
  margin: 16px 0 0;
  padding: 0;
  max-width: 100%;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 400;
  font-family: "Songti SC", "STSong", "Noto Serif SC", "PingFang SC", serif;
  color: rgba(255, 251, 235, 0.94);
  letter-spacing: 0.03em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  position: relative;
  padding-bottom: 4px;
  transform: skewX(-1.5deg);
}

.lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__spot-tagline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 4.2em;
  max-width: 88%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(253, 224, 71, 0.95) 0%, rgba(251, 146, 60, 0.35) 100%);
  pointer-events: none;
}

.lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__sub .lh-tool-card__sub-nobreak {
  white-space: nowrap;
}

.lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__sub.lh-tool-card__sub--spot-foot {
  display: none;
}

.lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__spot-pair {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
  flex-shrink: 1;
  padding: 2px 0;
}

.lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__spot-frame {
  position: relative;
  width: 102px;
  height: 136px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  background: #525252;
}

.lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__spot-frame--ref {
  transform: rotate(-4deg);
  z-index: 1;
}

.lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__spot-frame--out {
  margin-left: -22px;
  transform: rotate(5deg);
  z-index: 2;
}

.lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__spot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

.lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__spot-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 7px 5px 5px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.98);
  text-align: center;
  line-height: 1.2;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.12) 55%, transparent 100%);
}

.lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__spot-vs {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  margin: 0 -11px;
  z-index: 4;
  border-radius: 50%;
  background: linear-gradient(145deg, #4ade80 0%, #16a34a 100%);
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__spot-vs::after {
  content: "→";
  font-size: 14px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__spot-cta {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ecfccb 0%, #bef264 42%, #84cc16 100%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.75) inset,
    0 6px 18px rgba(101, 163, 13, 0.42);
  pointer-events: none;
}

.lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__spot-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__spot-cta-line {
  font-size: 12px;
  font-weight: 800;
  color: #14532d;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__arrow {
  color: rgba(255, 255, 255, 0.88);
}

.lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row:hover {
  border-color: rgba(253, 224, 71, 0.55);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 14px 36px rgba(217, 119, 6, 0.32),
    0 4px 16px rgba(15, 23, 42, 0.12);
}

@media (max-width: 374px) {
  .lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row {
    padding: 12px 8px 12px 10px;
    border-radius: 16px;
  }

  .lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__spot-row {
    flex-wrap: wrap;
    gap: 8px;
  }

  .lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__spot-lead {
    order: 1;
    flex: 1 1 auto;
    max-width: none;
    min-width: 0;
  }

  .lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__spot-cta {
    order: 2;
  }

  .lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__spot-pair {
    order: 3;
    flex-basis: 100%;
    justify-content: center;
    margin-top: 4px;
  }

  .lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__spot-frame {
    width: 92px;
    height: 122px;
    border-radius: 12px;
  }

  .lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__spot-frame--out {
    margin-left: -18px;
  }

  .lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__spot-lead {
    padding-left: 11px;
  }

  .lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__spot-lead::before {
    height: 32px;
    width: 2px;
  }

  .lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__title-hero--tight {
    letter-spacing: -0.04em;
    white-space: nowrap;
  }

  .lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__title-hero__blue,
  .lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__title-hero__ink,
  .lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__title-hero__single {
    font-size: 24px;
    letter-spacing: -0.03em;
  }

  .lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__title-step {
    margin-top: 6px;
    padding: 3px 8px 3px 4px;
    gap: 3px;
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__title-step-num {
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__title-step-text {
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__spot-tagline {
    font-size: 11px;
    margin-top: 10px;
  }

  .lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__sub {
    font-size: 12px;
  }

  .lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__spot-cap {
    font-size: 9px;
    padding: 5px 3px 4px;
  }

  .lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__spot-cta {
    width: 48px;
    height: 48px;
  }

  .lh-shelf-tools-wrap .lh-shelf-promo-scroller .lh-tool-card--spotlight.lh-tool-card--full-row .lh-tool-card__spot-cta-line {
    font-size: 11px;
  }

}


.lh-shelf-promo-slide {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 20px;
  overflow: hidden;
  box-sizing: border-box;
  min-height: 118px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.55);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.lh-shelf-promo-slide:active {
  transform: scale(0.985);
}

/* —— 第 2 屏：复刻整套电商详情图（spotlight 变体，青绿色调） —— */
.lh-tool-card--spotlight-edc {
  background:
    radial-gradient(ellipse 130% 90% at 8% 95%, rgba(20, 184, 166, 0.22) 0%, transparent 55%),
    linear-gradient(135deg, #042f2e 0%, #134e4a 48%, #115e59 100%) !important;
  border-color: rgba(20, 184, 166, 0.45) !important;
}

.lh-tool-card--spotlight-edc::before {
  background:
    radial-gradient(circle 180px at 92% 20%, rgba(94, 234, 212, 0.25) 0%, transparent 60%),
    radial-gradient(circle 120px at 75% 85%, rgba(20, 184, 166, 0.15) 0%, transparent 50%) !important;
}

.lh-tool-card--spotlight-edc .lh-tool-card__title-hero__blue {
  font-size: 30px !important;
  color: #5eead4 !important;
  -webkit-text-fill-color: #5eead4 !important;
  text-shadow:
    0 2px 0 rgba(6, 78, 59, 0.4),
    0 0 24px rgba(94, 234, 212, 0.7),
    0 3px 16px rgba(45, 212, 191, 0.5) !important;
}

.lh-tool-card--spotlight-edc .lh-tool-card__title-hero__ink {
  font-size: 30px !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-shadow:
    0 2px 0 rgba(6, 78, 59, 0.3),
    0 0 20px rgba(255, 255, 255, 0.5),
    0 3px 12px rgba(0, 0, 0, 0.2) !important;
}

.lh-tool-card--spotlight-edc .lh-tool-card__title-step {
  background: rgba(6, 78, 59, 0.5) !important;
  border-color: rgba(94, 234, 212, 0.3) !important;
}

.lh-tool-card--spotlight-edc .lh-tool-card__title-step-num {
  color: #5eead4 !important;
  font-weight: 900 !important;
}

.lh-tool-card--spotlight-edc .lh-tool-card__title-step-text {
  color: #fff !important;
  font-weight: 700 !important;
}

.lh-tool-card--spotlight-edc .lh-tool-card__spot-tagline {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 13px !important;
}

.lh-tool-card--spotlight-edc .lh-tool-card__spot-cta {
  background: linear-gradient(145deg, #14b8a6 0%, #34343F 50%, #0f766e 100%) !important;
  box-shadow:
    0 4px 16px rgba(20, 184, 166, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

/* 第二屏：整张背景图模式 */
.lh-tool-card--edc-bg {
  position: relative;
  display: flex !important;
  align-items: stretch;
  padding: 0 !important;
  border-radius: 18px !important;
  overflow: hidden;
  background: transparent !important;
  border: none !important;
  min-height: 172px;
}

.lh-tool-card--edc-bg::before {
  display: none !important;
}

.lh-tool-card__edc-bg-img {
  display: block;
  width: 100%;
  min-height: 172px;
  background: url('../assets/images/ecom-detail-clone-card-bg.png') center 20%/cover no-repeat;
  border-radius: 18px;
}

.lh-tool-card--edc-bg:active .lh-tool-card__edc-bg-img {
  opacity: 0.92;
}

.lh-shelf-promo-slide--edc .lh-shelf-promo-slide__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 12px 12px 14px;
  min-height: 118px;
  box-sizing: border-box;
}

/* 带 inner--edcHero 时仍匹配上一段选择器，必须用更高权重把 flex 改回纵向，否则底栏与标题会横排、标题被压成「竖排字」 */
.lh-shelf-promo-slide--edc .lh-shelf-promo-slide__inner.lh-shelf-promo-slide__inner--edcHero {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  min-height: 148px;
  gap: 8px;
  padding: 8px 10px 10px 12px;
}

.lh-shelf-promo-slide--edc .lh-shelf-promo-slide__lead {
  flex: 1;
  min-width: 0;
  z-index: 2;
}

.lh-shelf-promo-slide--edc .lh-shelf-promo-slide__spark {
  color: #fb7185;
  font-size: 12px;
  letter-spacing: 0.2em;
  margin: 0 0 2px;
  font-weight: 800;
}

.lh-shelf-promo-slide--edc .lh-shelf-promo-slide__titleRow {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 6px;
  margin: 0;
  line-height: 1.15;
}

.lh-shelf-promo-slide--edc .lh-shelf-promo-slide__titleA {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.lh-shelf-promo-slide--edc .lh-shelf-promo-slide__titleB {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.lh-shelf-promo-slide--edc .lh-shelf-promo-slide__aiMark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 2px;
  padding: 1px 6px 2px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, #fb7185, #e11d48);
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.35);
  vertical-align: middle;
}

.lh-shelf-promo-slide--edc .lh-shelf-promo-slide__plusLine {
  margin: 2px 0 0;
  font-size: 14px;
  font-weight: 900;
  color: #0f172a;
}

.lh-shelf-promo-slide--edc .lh-shelf-promo-slide__sub {
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 700;
  color: #e11d48;
  letter-spacing: 0.04em;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lh-shelf-promo-slide--edc .lh-shelf-promo-slide__cta {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #fb7185 0%, #f43f5e 45%, #e11d48 100%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 6px 18px rgba(244, 63, 94, 0.35);
}

.lh-shelf-promo-slide--edc .lh-shelf-promo-slide__cta::after {
  content: "›";
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

/* 整套详情示意缩略图（尽量大，便于看清机内与条带） */
.lh-shelf-promo-slide--edc .lh-shelf-promo-slide__hero {
  flex-shrink: 0;
  width: 128px;
  height: 96px;
  position: relative;
  margin-right: 2px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(165deg, #faf7f2 0%, #efe8df 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.9),
    0 10px 22px rgba(15, 23, 42, 0.12),
    inset 0 0 0 1px rgba(15, 23, 42, 0.05);
}

.lh-shelf-promo-slide--edc .lh-shelf-promo-slide__heroImg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  /* 稿图为「手机 + 长条详情」，裁切时略偏左，保留机内首屏与右侧条带一角 */
  object-position: 32% 22%;
  transform: scale(1.03);
  transform-origin: 32% 24%;
}

/* 中间叠卡轮播感（纯 CSS 轻微动画） */
.lh-shelf-promo-slide--edc .lh-shelf-promo-slide__stack {
  flex-shrink: 0;
  width: 112px;
  height: 92px;
  position: relative;
  margin-right: 4px;
}

.lh-shelf-promo-slide--edc .lh-sp-stack-card {
  position: absolute;
  width: 64px;
  height: 82px;
  left: 50%;
  top: 50%;
  margin-left: -32px;
  margin-top: -41px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 8px 18px rgba(190, 24, 93, 0.18);
  overflow: hidden;
  background: linear-gradient(165deg, #fff 0%, #fce7f3 100%);
}

.lh-shelf-promo-slide--edc .lh-sp-stack-card--l {
  transform: translate(-18px, 4px) rotate(-12deg);
  z-index: 1;
  animation: lh-sp-stack-drift-l 4.2s ease-in-out infinite;
}

.lh-shelf-promo-slide--edc .lh-sp-stack-card--c {
  transform: translate(0, -2px) rotate(0deg);
  z-index: 3;
  width: 68px;
  height: 86px;
  margin-left: -34px;
  margin-top: -43px;
  animation: lh-sp-stack-drift-c 4.2s ease-in-out infinite;
}

.lh-shelf-promo-slide--edc .lh-sp-stack-card--r {
  transform: translate(18px, 4px) rotate(12deg);
  z-index: 2;
  animation: lh-sp-stack-drift-r 4.2s ease-in-out infinite;
}

.lh-shelf-promo-slide--edc .lh-sp-stack-card__ph {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(251, 207, 232, 0.65) 0%, transparent 38%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 0%, rgba(253, 242, 248, 0.2) 100%);
}

.lh-shelf-promo-slide--edc .lh-sp-stack-card__bar {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 22px;
  height: 5px;
  border-radius: 3px;
  background: rgba(15, 23, 42, 0.12);
  box-shadow: 0 10px 0 rgba(15, 23, 42, 0.08), 0 20px 0 rgba(15, 23, 42, 0.05);
}

@keyframes lh-sp-stack-drift-l {
  0%,
  100% {
    transform: translate(-18px, 4px) rotate(-12deg);
  }
  50% {
    transform: translate(-22px, 2px) rotate(-14deg);
  }
}

@keyframes lh-sp-stack-drift-c {
  0%,
  100% {
    transform: translate(0, -2px) rotate(0deg);
  }
  50% {
    transform: translate(0, -6px) rotate(0deg);
  }
}

@keyframes lh-sp-stack-drift-r {
  0%,
  100% {
    transform: translate(18px, 4px) rotate(12deg);
  }
  50% {
    transform: translate(22px, 2px) rotate(14deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lh-shelf-promo-slide--edc .lh-sp-stack-card--l,
  .lh-shelf-promo-slide--edc .lh-sp-stack-card--c,
  .lh-shelf-promo-slide--edc .lh-sp-stack-card--r {
    animation: none !important;
  }
}

@media (max-width: 374px) {
  .lh-shelf-promo-slide {
    min-height: 112px;
    border-radius: 18px;
  }

  .lh-shelf-promo-slide--edc.lh-shelf-promo-slide--edc--hero {
    min-height: 0;
  }

  .lh-shelf-promo-slide--edc .lh-shelf-promo-slide__titleA,
  .lh-shelf-promo-slide--edc .lh-shelf-promo-slide__titleB {
    font-size: 18px;
  }

  .lh-shelf-promo-slide--edc .lh-shelf-promo-slide__stack {
    width: 100px;
    height: 86px;
  }

  .lh-shelf-promo-slide__inner--edcHero .lh-shelf-promo-slide__titleA {
    font-size: 19px;
  }

  .lh-shelf-promo-slide__inner--edcHero .lh-shelf-promo-slide__plusLine {
    font-size: 15px;
  }
}

/* ===== 底部导航：贴底全宽，图标贴顶不悬空 ===== */
html body.page-tab-create.lh-home-shelf.lh-redesign .tab-bar,
html body.lh-redesign.page-tab-create .tab-bar,
html body.lh-redesign .tab-bar,
body.lh-redesign .tab-bar,
html body.page-tab-mine .tab-bar,
html body.page-tab-gzh-master .tab-bar,
html body.page-tab-xhs-master .tab-bar,
html body.page-tab-assistant .tab-bar,
html body.gzh-viral-page .tab-bar,
html body.xhs-viral-page .tab-bar {
  position: fixed !important;
  bottom: 0 !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  width: 100% !important;
  max-width: var(--h5-app-max-width, 430px) !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 8px 2px max(4px, env(safe-area-inset-bottom, 0px)) !important;
  margin: 0 !important;
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 0 !important;
  border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 0 !important;
  box-shadow: 0 -2px 10px rgba(15, 23, 42, 0.04) !important;
  z-index: 12000 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  flex: none !important;
  column-gap: 0 !important;
  gap: 0 !important;
  overflow: visible !important;
}

/* 白底向下延伸已改由贴底 padding + 实底实现，避免伪元素干扰 */
html body.page-tab-create.lh-home-shelf.lh-redesign .tab-bar::before,
html body.lh-redesign .tab-bar::before,
html body.page-tab-mine .tab-bar::before,
html body.page-tab-gzh-master .tab-bar::before,
html body.page-tab-xhs-master .tab-bar::before,
html body.gzh-viral-page .tab-bar::before,
html body.xhs-viral-page .tab-bar::before {
  display: none !important;
  content: none !important;
}

html body.page-tab-create.lh-home-shelf.lh-redesign .tab-bar::after,
html body.lh-redesign .tab-bar::after,
html body.page-tab-mine .tab-bar::after {
  display: none !important;
}

html body.page-tab-create.lh-home-shelf.lh-redesign .tab-bar > *,
html body.lh-redesign .tab-bar > *,
html body.page-tab-mine .tab-bar > * {
  position: relative !important;
  z-index: 1 !important;
}

html body.page-tab-create.lh-home-shelf.lh-redesign .tab-item,
html body.page-tab-create.lh-home-shelf.lh-redesign .tab-bar .tab-item,
html body.page-tab-create.lh-home-shelf.lh-redesign .tab-bar a.tab-item,
html body.lh-redesign .tab-bar .tab-item,
html body.lh-redesign .tab-bar a.tab-item,
body.lh-redesign .tab-bar .tab-item,
html body.page-tab-mine .tab-bar .tab-item,
html body.page-tab-mine .tab-bar a.tab-item {
  min-width: 0 !important;
  width: auto !important;
  flex: 1 1 0% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  color: #94a3b8 !important;
  transition: color 0.2s ease, background 0.2s ease !important;
  padding: 6px 2px !important;
  text-decoration: none !important;
  gap: 3px !important;
  border-radius: 12px !important;
}

html body.lh-redesign .tab-bar .tab-item.active,
html body.lh-redesign .tab-bar a.tab-item.active,
body.lh-redesign .tab-bar .tab-item.active,
html body.page-tab-mine .tab-bar .tab-item.active,
html body.page-tab-mine .tab-bar a.tab-item.active {
  color: #1A1A2E !important;
  position: relative !important;
  background: rgba(26, 26, 46, 0.08) !important;
  border-radius: 10px !important;
}

/* 去掉顶部指示条，避免底栏显得花哨/悬空 */
html body.lh-redesign .tab-bar .tab-item.active::before,
html body.lh-redesign .tab-bar a.tab-item.active::before,
body.lh-redesign .tab-bar .tab-item.active::before {
  display: none !important;
  content: none !important;
}

/* 创作首页底部导航高亮色强制为蓝（覆盖 h5-modern-unified.css 的橙红 accent） */
html body.page-tab-create.lh-home-shelf.lh-redesign .tab-bar .tab-item.active,
html body.page-tab-create.lh-home-shelf.lh-redesign .tab-bar a.tab-item.active,
html body.page-tab-create.lh-home-shelf.lh-redesign .tab-bar .tab-item.active .tab-label,
html body.page-tab-create.lh-home-shelf.lh-redesign .tab-bar a.tab-item.active .tab-label,
html body.page-tab-create.lh-home-shelf.lh-redesign .tab-bar .tab-item.active svg,
html body.page-tab-create.lh-home-shelf.lh-redesign .tab-bar a.tab-item.active svg,
html body.page-tab-create.lh-home-shelf.lh-redesign .tab-bar .tab-item.active svg.tab-icon *,
html body.page-tab-create.lh-home-shelf.lh-redesign .tab-bar a.tab-item.active svg.tab-icon * {
  color: #1A1A2E !important;
  stroke: #1A1A2E !important;
  -webkit-text-fill-color: #1A1A2E !important;
}
html body.page-tab-create.lh-home-shelf.lh-redesign .tab-bar .tab-item.active,
html body.page-tab-create.lh-home-shelf.lh-redesign .tab-bar a.tab-item.active {
  background: rgba(26, 26, 46, 0.08) !important;
}
html body.lh-redesign .tab-bar .tab-item svg,
body.lh-redesign .tab-bar .tab-item svg {
  transition: transform 0.24s cubic-bezier(.22, 1, .36, 1) !important;
}
html body.lh-redesign .tab-bar .tab-item.active svg,
html body.lh-redesign .tab-bar a.tab-item.active svg,
body.lh-redesign .tab-bar .tab-item.active svg {
  transform: none !important;
  filter: none !important;
}

html body.page-tab-create.lh-home-shelf.lh-redesign .tab-item svg,
html body.page-tab-create.lh-home-shelf.lh-redesign .tab-item svg.tab-icon,
html body.page-tab-create.lh-home-shelf.lh-redesign .tab-bar .tab-item svg,
html body.lh-redesign .tab-bar .tab-item svg,
html body.lh-redesign .tab-bar a.tab-item svg,
html body.lh-redesign .tab-bar .tab-item svg.tab-icon,
body.lh-redesign .tab-bar .tab-item svg {
  width: 22px !important;
  height: 22px !important;
  stroke-width: 1.75px !important;
  fill: none !important;
  flex-shrink: 0 !important;
  display: block !important;
}

html body.lh-redesign .tab-bar .tab-item.active svg,
html body.lh-redesign .tab-bar a.tab-item.active svg,
body.lh-redesign .tab-bar .tab-item.active svg {
  stroke-width: 1.95px !important;
}

/* 与 index-page 里对 path 的 stroke-width 收口对齐，避免「创作」特别粗、其余偏细 */
html body.page-tab-create.lh-home-shelf.lh-redesign .tab-bar a.tab-item svg.tab-icon path,
html body.page-tab-create.lh-home-shelf.lh-redesign .tab-bar a.tab-item svg.tab-icon circle,
html body.page-tab-create.lh-home-shelf.lh-redesign .tab-bar a.tab-item svg.tab-icon rect,
html body.page-tab-create.lh-home-shelf.lh-redesign .tab-bar a.tab-item svg.tab-icon line,
html body.page-tab-create.lh-home-shelf.lh-redesign .tab-bar a.tab-item svg.tab-icon polyline,
html body.lh-redesign .tab-bar a.tab-item svg.tab-icon path,
html body.lh-redesign .tab-bar a.tab-item svg.tab-icon circle,
html body.lh-redesign .tab-bar a.tab-item svg.tab-icon rect,
html body.lh-redesign .tab-bar a.tab-item svg.tab-icon line,
html body.lh-redesign .tab-bar a.tab-item svg.tab-icon polyline {
  stroke-width: 1.75 !important;
}

html body.page-tab-create.lh-home-shelf.lh-redesign .tab-bar a.tab-item.active svg.tab-icon path,
html body.page-tab-create.lh-home-shelf.lh-redesign .tab-bar a.tab-item.active svg.tab-icon circle,
html body.page-tab-create.lh-home-shelf.lh-redesign .tab-bar a.tab-item.active svg.tab-icon rect,
html body.page-tab-create.lh-home-shelf.lh-redesign .tab-bar a.tab-item.active svg.tab-icon line,
html body.page-tab-create.lh-home-shelf.lh-redesign .tab-bar a.tab-item.active svg.tab-icon polyline,
html body.lh-redesign .tab-bar a.tab-item.active svg.tab-icon path,
html body.lh-redesign .tab-bar a.tab-item.active svg.tab-icon circle,
html body.lh-redesign .tab-bar a.tab-item.active svg.tab-icon rect,
html body.lh-redesign .tab-bar a.tab-item.active svg.tab-icon line,
html body.lh-redesign .tab-bar a.tab-item.active svg.tab-icon polyline {
  stroke-width: 1.95 !important;
}

html body.page-tab-create.lh-home-shelf.lh-redesign .tab-item .tab-label,
html body.page-tab-create.lh-home-shelf.lh-redesign .tab-bar .tab-label,
html body.lh-redesign .tab-bar .tab-label,
body.lh-redesign .tab-bar .tab-label {
  font-size: 12px !important;
  font-weight: 600 !important;
  margin-top: 2px !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  letter-spacing: 0 !important;
  color: inherit !important;
}

/* ===== 底部安全区 ===== */
.lh-safe-bottom {
  height: 16px;
}

/* ===== 全站轻交互：点按回弹 · 让操作更有质感 ===== */
html body.lh-redesign .tab-bar .tab-item,
html body.lh-redesign .tab-bar a.tab-item {
  transition: color 0.2s ease, transform 0.18s cubic-bezier(.22, 1, .36, 1) !important;
}
html body.lh-redesign .tab-bar .tab-item:active,
html body.lh-redesign .tab-bar a.tab-item:active {
  transform: scale(0.9) !important;
}
.lh-esop-launch__card {
  transition: transform 0.22s cubic-bezier(.22, 1, .36, 1), box-shadow 0.22s ease;
}
.lh-esop-launch__card:active {
  transform: scale(0.985);
}
.lh-esop-launch {
  transition: box-shadow 0.22s ease;
}
/* 卡片/按钮统一按压回弹（首页范围内，避免影响工具内页表单） */
body.lh-redesign .lh-shelf-cat-card .lh-shelf-tab,
body.lh-redesign .lh-arc-rail__mute {
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.16s cubic-bezier(.22, 1, .36, 1);
}
body.lh-redesign .lh-arc-rail__mute:active {
  transform: scale(0.9);
}
@media (prefers-reduced-motion: reduce) {
  html body.lh-redesign .tab-bar .tab-item:active,
  .lh-esop-launch__card:active,
  body.lh-redesign .lh-arc-rail__mute:active {
    transform: none !important;
  }
}

/* ===== 响应式适配 ===== */
@media (max-width: 374px) {
  .lh-hero-card.lh-hero-card--spotlight {
    min-height: 144px;
    padding: 16px 16px 18px;
    margin-bottom: 16px;
    border-radius: 20px;
  }

  .lh-hero-card--spotlight .lh-hero-card__title {
    font-size: 23px;
  }

  .lh-hero-card--spotlight .lh-hero-card__desc {
    font-size: 12px;
  }

  .lh-hero-card__art {
    max-width: 128px;
    min-width: 86px;
    height: 100px;
  }

  .lh-assist-card {
    height: 80px;
    padding: 0 14px;
    border-radius: 18px;
  }

  .lh-assist-title {
    font-size: 16px;
    letter-spacing: -0.03em;
  }

  .lh-assist-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .lh-assist-icon .lh-lucide {
    width: 20px;
    height: 20px;
  }

  .lh-assist-content {
    margin-left: 10px;
  }

  .lh-assist-cta {
    margin-left: 8px;
    font-size: 13px;
  }

  .lh-core-cards .hero-product-card.lh-hero-card--spotlight {
    min-height: 138px;
    margin-bottom: 6px;
    border-radius: 18px;
    padding: 12px 14px 14px;
  }

  .lh-core-cards .hero-product-card.lh-hero-card--spotlight .lh-hero-card__title {
    font-size: 19px;
  }

  .lh-core-cards .hero-product-card.lh-hero-card--spotlight .lh-hero-card__desc {
    font-size: 11px;
  }

  .lh-core-cards .hero-product-card.lh-hero-card--spotlight .lh-hero-card__art {
    height: 92px;
    max-width: 112px;
    min-width: 78px;
  }

  .lh-core-cards .recommend-group .assist-card {
    min-height: 94px;
    padding: 8px 6px 8px;
  }

  .lh-core-cards .recommend-group .lh-assist-title {
    font-size: 13px;
  }

  .lh-core-cards .recommend-group .lh-assist-desc {
    font-size: 10px;
    -webkit-line-clamp: 2;
  }

  .lh-core-cards .recommend-group .lh-assist-cta {
    font-size: 11px;
    padding: 4px 12px 5px;
  }

  .lh-core-cards .recommend-group {
    padding: 6px;
    border-radius: 18px;
  }
  
  .lh-tool-card {
    padding: 8px 4px;
    gap: 5px;
  }
  
  .lh-tool-card__icon {
    width: 28px;
    height: 28px;
  }
  
  .lh-tool-card__icon svg,
  .lh-tool-card__icon i,
  .lh-tool-card__icon .lh-lucide {
    width: 14px;
    height: 14px;
  }
  
  .lh-tool-card__title {
    font-size: 11px;
    line-height: 1.25;
  }

  /* 创作宫格 3 列：略缩内边距与圆标，避免极窄屏挤字（不影响图文 shot 卡） */
  .lh-tool-grid.lh-tool-grid--shelf > .lh-tool-card:not(.lh-tool-card--full-row):not(.lh-tool-card--shot) {
    padding: 12px 4px 11px;
    gap: 9px;
    border-radius: 14px;
  }

  .lh-tool-grid.lh-tool-grid--shelf > .lh-tool-card:not(.lh-tool-card--full-row):not(.lh-tool-card--shot) .lh-tool-card__icon {
    width: 46px;
    height: 46px;
  }

  .lh-tool-grid.lh-tool-grid--shelf > .lh-tool-card:not(.lh-tool-card--full-row):not(.lh-tool-card--shot) .lh-tool-card__icon svg,
  .lh-tool-grid.lh-tool-grid--shelf > .lh-tool-card:not(.lh-tool-card--full-row):not(.lh-tool-card--shot) .lh-tool-card__icon i,
  .lh-tool-grid.lh-tool-grid--shelf > .lh-tool-card:not(.lh-tool-card--full-row):not(.lh-tool-card--shot) .lh-tool-card__icon .lh-lucide {
    width: 21px;
    height: 21px;
  }

  .lh-tool-grid.lh-tool-grid--shelf > .lh-tool-card:not(.lh-tool-card--full-row):not(.lh-tool-card--shot) .lh-tool-card__title {
    font-size: 12px;
  }

  .lh-tool-grid.lh-tool-grid--shots > .lh-tool-card--shot .lh-tool-card__title {
    font-size: 12px;
  }
  .lh-tool-grid.lh-tool-grid--shots > .lh-tool-card--shot .lh-tool-card__sub {
    font-size: 10px;
  }

  .lh-shelf-cat-card .lh-shelf-tabbar {
    padding: 8px 8px 9px;
  }

  .lh-shelf-cat-card .lh-shelf-tab {
    padding: 6px 3px;
    gap: 4px;
  }

  .lh-shelf-cat-card .lh-shelf-tab__label {
    font-size: 12px;
  }

  .lh-value-header__title {
    font-size: 24px;
  }
  
  .lh-value-header {
    padding-left: 12px;
    padding-right: 12px;
  }
  
  .lh-hero-poster:not(.lh-hero-poster--bleed),
  .lh-core-cards,
  .lh-tool-grid {
    padding-left: 12px;
    padding-right: 12px;
  }
  
  .lh-live-ticker,
  .lh-tabs {
    margin-left: 12px;
    margin-right: 12px;
    width: calc(100% - 24px);
  }
}

/* ===== 隐藏原有布局 ===== */
body.lh-redesign .lh-legacy-home {
  display: none !important;
}

body.lh-redesign .cd-hero-banner,
body.lh-redesign .cd-live-ticker:not(.lh-live-ticker),
body.lh-redesign .cd-workbench,
body.lh-redesign .cd-tier--coming,
body.lh-redesign .cd-recent-section,
body.lh-redesign #create-sec-tools {
  display: none !important;
}

/* ===== Lucide 图标样式 ===== */
.lh-new-home .lh-lucide {
  display: inline-block;
  vertical-align: middle;
}

/* ===== 动画效果 ===== */
.lh-hero-card {
  transition: transform 0.12s ease;
}

.lh-hero-card:active {
  transform: scale(0.985);
}

.lh-new-home {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* 全部可点击元素取消长按弹窗 */
.lh-new-home a,
.lh-new-home button {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

/* 滚动条隐藏 */
.lh-new-home::-webkit-scrollbar,
.lh-live-ticker__track::-webkit-scrollbar {
  display: none;
}

.lh-new-home,
.lh-live-ticker__track {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ===== 桌面端 hover ===== */
@media (hover: hover) and (pointer: fine) {
  .lh-hero-card:hover {
    transform: translateY(-2px);
  }
  
  .lh-assist-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  }

  .lh-core-cards .recommend-group .lh-assist-card:hover {
    transform: translateY(0);
    box-shadow: none;
    background: rgba(248, 250, 252, 0.95);
  }

  .lh-core-cards .recommend-group .lh-assist-card:hover .lh-assist-cta {
    transform: translateY(-4px) scale(1.03);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.95) inset,
      0 4px 0 rgba(26, 26, 46, 0.14),
      0 14px 26px rgba(26, 26, 46, 0.22);
    filter: brightness(1.03);
  }

  .lh-tool-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  }

  .lh-tool-grid.lh-tool-grid--shelf > .lh-tool-card:not(.lh-tool-card--full-row):hover {
    transform: translateY(-2px);
    box-shadow:
      0 2px 4px rgba(15, 23, 42, 0.05),
      0 10px 26px rgba(15, 23, 42, 0.09);
  }
}

/* ===== Tab 面板控制（图文/视频切换用） ===== */
.lh-tab-panel {
  display: none;
}

.lh-tab-panel.is-active {
  display: block;
}

/* ===== 图文/视频 Tab 的工具列表样式 ===== */
body.lh-redesign .lh-legacy-tools {
  display: block !important;
  padding: 0 14px;
  width: 100%;
}

body.lh-redesign .lh-legacy-tools .cd-workbench__shell {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
}

body.lh-redesign .lh-legacy-tools .cd-workbench__panels {
  padding: 0 !important;
}

body.lh-redesign .lh-legacy-tools .cd-func-list--bench {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px 12px !important;
}

body.lh-redesign .lh-legacy-tools .cd-func-item--bench {
  height: 66px !important;
  min-height: auto !important;
  min-width: 0 !important;
  background: var(--lh-card-bg) !important;
  border: 1px solid var(--lh-card-border) !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04) !important;
  padding: 10px !important;
  overflow: hidden !important;
}

/* ===== 覆盖所有绿色/青绿色背景（最高优先级） ===== */
html body.lh-redesign,
html body.lh-redesign.lh-create-songyun,
html body.page-tab-create.lh-home-shelf.lh-redesign,
html body.page-tab-create.lh-home-shelf.lh-create-songyun.lh-redesign,
html:has(body.lh-redesign),
html:has(body.lh-create-songyun.lh-redesign) {
  background: #F3F6FB !important;
  background-image: none !important;
  background-color: #F3F6FB !important;
}

html body.lh-redesign .page,
html body.lh-redesign .main-container,
html body.lh-redesign .home-page,
html body.lh-redesign #app,
html body.lh-redesign .uni-page,
html body.lh-redesign .uni-page-body,
html body.lh-redesign .lh2-root,
html body.lh-redesign .create-dash,
body.lh-redesign.lh-create-songyun .lh2-root,
body.lh-redesign.lh-create-songyun .lh2-page,
body.lh-redesign.lh-create-songyun .create-dash {
  background: #F3F6FB !important;
  background-image: none !important;
  background-color: #F3F6FB !important;
}

/* 覆盖 home-create-shelf.css 中的 songyun 绿色底栏背景 */
html body.page-tab-create.lh-home-shelf.lh-create-songyun.lh-redesign .tab-bar,
html body.lh-redesign.lh-create-songyun .tab-bar {
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

/* 覆盖内联样式中的绿色渐变背景 */
body.lh-redesign[style*="background"],
body.lh-redesign.lh-create-songyun[style*="background"] {
  background: #F3F6FB !important;
  background-image: none !important;
}

/* 底栏留白只算一份：与 home-create-shelf 主区 padding 对齐，避免再叠 .lh-new-home 大 padding */
html body.page-tab-create.lh-home-shelf.lh-redesign #mainContent.main-content,
html body.page-tab-create.lh-home-shelf.lh-redesign .main-content {
  padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important;
}

/* ===== 暗黑模式：覆盖本文件浅色硬编码 ===== */
html[data-h5-appearance='dark'] {
  --lh-page-bg: #000000;
  --lh-content-bg: #000000;
  --lh-text-title: #f5f5f7;
  --lh-text-body: rgba(235, 235, 245, 0.78);
  --lh-text-muted: rgba(235, 235, 245, 0.48);
  --lh-text-ticker: rgba(235, 235, 245, 0.72);
  --lh-card-bg: #1c1c1e;
  --lh-card-border: rgba(84, 84, 88, 0.45);
}

html[data-h5-appearance='dark'],
html[data-h5-appearance='dark']:has(body.lh-redesign),
html[data-h5-appearance='dark'] body.lh-redesign,
html[data-h5-appearance='dark'] body.lh-create-songyun.lh-redesign,
html[data-h5-appearance='dark'] body.page-tab-create.lh-home-shelf.lh-redesign,
html[data-h5-appearance='dark'] body.page-tab-create.lh-home-shelf.lh-create-songyun.lh-redesign,
html[data-h5-appearance='dark'] body.lh-redesign .lh2-root,
html[data-h5-appearance='dark'] body.lh-redesign #app,
html[data-h5-appearance='dark'] body.lh-redesign .uni-page,
html[data-h5-appearance='dark'] body.lh-redesign .uni-page-body,
html[data-h5-appearance='dark'] body.lh-redesign .lh2-page.lh-redesign-page,
html[data-h5-appearance='dark'] .lh-new-home,
html[data-h5-appearance='dark'] body.lh-redesign .lh-new-home,
html[data-h5-appearance='dark'] body.lh-redesign .page,
html[data-h5-appearance='dark'] body.lh-redesign .main-container,
html[data-h5-appearance='dark'] body.lh-redesign .home-page,
html[data-h5-appearance='dark'] body.lh-redesign .create-dash,
html[data-h5-appearance='dark'] body.lh-redesign.lh-create-songyun .lh2-root,
html[data-h5-appearance='dark'] body.lh-redesign.lh-create-songyun .lh2-page,
html[data-h5-appearance='dark'] body.lh-redesign.lh-create-songyun .create-dash,
html[data-h5-appearance='dark'] body.lh-redesign[style*="background"],
html[data-h5-appearance='dark'] body.lh-redesign.lh-create-songyun[style*="background"] {
  background: #000000 !important;
  background-image: none !important;
  background-color: #000000 !important;
}

html[data-h5-appearance='dark'] body.page-tab-create.lh-home-shelf.lh-create-songyun.lh-redesign .tab-bar,
html[data-h5-appearance='dark'] body.lh-redesign.lh-create-songyun .tab-bar {
  background: rgba(28, 28, 30, 0.94) !important;
}

/* ===== 新版移动端首页：现代 App 风格 ===== */
body.lh-redesign .lh-hero-live,
body.lh-redesign .lh-live-ticker,
body.lh-redesign .lh-arc-rail {
  display: none !important;
}
body.lh-redesign .lh-new-home {
  padding: 12px 12px 18px;
}
.lh-modern-home {
  display: grid;
  gap: 12px;
  margin: 0 0 10px;
}
.lh-modern-hero {
  padding: 16px;
  border-radius: 26px;
  background:
    radial-gradient(520px 220px at 12% 0%, rgba(47, 91, 255, 0.12), transparent 62%),
    radial-gradient(320px 180px at 90% 12%, rgba(124, 58, 237, 0.08), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}
.lh-modern-hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.lh-modern-hero__badge,
.lh-modern-hero__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.lh-modern-hero__badge {
  color: #334155;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.06);
}
.lh-modern-hero__status {
  color: #0f172a;
  background: rgba(59, 130, 246, 0.08);
}
.lh-modern-hero__copy {
  margin-bottom: 14px;
}
.lh-modern-hero__title {
  margin: 0;
  font-size: clamp(26px, 7.4vw, 34px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #0f172a;
}
.lh-modern-hero__sub {
  margin: 10px 0 0;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
  color: #334155;
}
.lh-modern-hero__desc {
  margin: 8px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #64748b;
}
.lh-modern-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 14px;
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.88);
}
.lh-modern-search__icon {
  flex: 0 0 auto;
  display: inline-flex;
  color: #64748b;
}
.lh-modern-search__icon svg,
.lh-modern-search__icon .lh-lucide {
  width: 18px;
  height: 18px;
}
.lh-modern-search__placeholder {
  flex: 1;
  min-width: 0;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 600;
}
.lh-modern-search__hint {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 10px;
  background: rgba(47, 91, 255, 0.08);
  color: #2A2A3A;
  font-size: 11px;
  font-weight: 800;
}
.lh-modern-chips {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.lh-modern-chips::-webkit-scrollbar { display: none; }
.lh-modern-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.lh-modern-chip:active { transform: scale(0.98); }
.lh-modern-chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2A2A3A 0%, #2A2A3A 100%);
  box-shadow: 0 0 0 4px rgba(47, 91, 255, 0.10);
}
.lh-modern-bento {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
}
.lh-modern-bento__primary,
.lh-modern-bento__mini {
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: 24px;
  text-decoration: none;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
}
.lh-modern-bento__primary {
  min-height: 240px;
}
.lh-modern-bento__media,
.lh-modern-bento__mini-media {
  position: absolute;
  inset: 0;
}
.lh-modern-bento__media::before,
.lh-modern-bento__mini-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(15,23,42,0.44) 100%);
  z-index: 1;
}
.lh-modern-bento__media img,
.lh-modern-bento__mini-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lh-modern-bento__content,
.lh-modern-bento__mini-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  padding: 18px;
  color: #fff;
}
.lh-modern-bento__tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.lh-modern-bento__title {
  margin: 10px 0 0;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.lh-modern-bento__desc {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.84);
}
.lh-modern-bento__cta {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 800;
}
.lh-modern-bento__stack {
  display: grid;
  gap: 12px;
}
.lh-modern-bento__mini {
  min-height: 114px;
}
.lh-modern-bento__mini-content {
  padding: 14px;
}
.lh-modern-bento__mini-title {
  margin: 0;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 900;
}
.lh-modern-bento__mini-desc {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255,255,255,0.82);
}
.lh-modern-section {
  display: grid;
  gap: 12px;
  margin-top: 2px;
}
.lh-modern-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}
.lh-modern-section__title {
  margin: 0;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #0f172a;
}
.lh-modern-section__sub {
  margin: 4px 0 0;
  font-size: 12px;
  color: #64748b;
}
.lh-modern-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.lh-modern-grid__card {
  overflow: hidden;
  border-radius: 22px;
  text-decoration: none;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}
.lh-modern-grid__cover {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #eef2ff;
}
.lh-modern-grid__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lh-modern-grid__body {
  padding: 12px 12px 14px;
}
.lh-modern-grid__title {
  margin: 0;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 900;
  color: #0f172a;
}
.lh-modern-grid__sub {
  margin: 6px 0 0;
  font-size: 11.5px;
  line-height: 1.45;
  color: #64748b;
}
@media (min-width: 420px) {
  .lh-modern-home { gap: 14px; }
  .lh-modern-bento__primary { min-height: 260px; }
  .lh-modern-bento__mini { min-height: 122px; }
  .lh-modern-grid { gap: 14px; }
}
@media (max-width: 390px) {
  .lh-modern-bento { grid-template-columns: 1fr; }
  .lh-modern-grid { grid-template-columns: 1fr; }
}

html[data-h5-appearance='dark'] .lh-modern-hero,
html[data-h5-appearance='dark'] .lh-modern-bento__primary,
html[data-h5-appearance='dark'] .lh-modern-bento__mini,
html[data-h5-appearance='dark'] .lh-modern-grid__card,
html[data-h5-appearance='dark'] .lh-modern-chip {
  background: linear-gradient(180deg, #1c1c1e 0%, #161618 100%) !important;
  border-color: rgba(84, 84, 88, 0.42) !important;
}
html[data-h5-appearance='dark'] .lh-modern-hero__badge,
html[data-h5-appearance='dark'] .lh-modern-search,
html[data-h5-appearance='dark'] .lh-modern-chip {
  color: rgba(235, 235, 245, 0.88) !important;
}
html[data-h5-appearance='dark'] .lh-modern-hero__title,
html[data-h5-appearance='dark'] .lh-modern-section__title,
html[data-h5-appearance='dark'] .lh-modern-grid__title,
html[data-h5-appearance='dark'] .lh-modern-bento__mini-title {
  color: #f5f5f7 !important;
}
html[data-h5-appearance='dark'] .lh-modern-hero__sub,
html[data-h5-appearance='dark'] .lh-modern-hero__desc,
html[data-h5-appearance='dark'] .lh-modern-section__sub,
html[data-h5-appearance='dark'] .lh-modern-grid__sub,
html[data-h5-appearance='dark'] .lh-modern-bento__mini-desc,
html[data-h5-appearance='dark'] .lh-modern-bento__desc,
html[data-h5-appearance='dark'] .lh-modern-search__placeholder {
  color: rgba(235, 235, 245, 0.68) !important;
}
html[data-h5-appearance='dark'] .lh-modern-search__hint {
  color: #a5b4fc !important;
  background: rgba(99, 102, 241, 0.14) !important;
}
html[data-h5-appearance='dark'] .lh-modern-grid__cover,
html[data-h5-appearance='dark'] .lh-modern-bento__media,
html[data-h5-appearance='dark'] .lh-modern-bento__mini-media {
  background: #222327 !important;
}

/* ========== 场景快捷入口 ========== */
.lh-scene-shortcuts {
  display: flex;
  gap: 10px;
  padding: 0 0 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.lh-scene-shortcuts::-webkit-scrollbar {
  display: none;
}
.lh-scene-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 18px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.lh-scene-btn:active {
  transform: scale(0.97);
}
.lh-scene-btn__icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  border-radius: 9px;
  background: rgba(15, 23, 42, 0.04);
}
.lh-scene-btn__text {
  font-size: 13px;
  font-weight: 700;
  color: #1a1d26;
}

/* Dark mode */
html[data-h5-appearance='dark'] .lh-scene-btn {
  background: linear-gradient(180deg, #2a2a2e 0%, #1c1c1e 100%);
  border-color: rgba(84, 84, 88, 0.4);
}
html[data-h5-appearance='dark'] .lh-scene-btn__text {
  color: rgba(235, 235, 245, 0.88);
}

/* ========== 身份切换条 ========== */
.lh-role-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0 auto 12px;
  padding: 4px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 12px;
  position: relative;
  width: fit-content;
}
.lh-role-toggle__btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: transparent;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: color 0.2s;
  position: relative;
  z-index: 1;
}
.lh-role-toggle__btn svg {
  width: 16px;
  height: 16px;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.lh-role-toggle__btn[aria-selected="true"] {
  color: #111;
}
.lh-role-toggle__btn[aria-selected="true"] svg {
  opacity: 1;
}
.lh-role-toggle__indicator {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  width: calc(50% - 6px);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}
.lh-role-toggle[data-active="ecom"] .lh-role-toggle__indicator {
  transform: translateX(calc(100% + 4px));
}

/* Dark mode */
html[data-h5-appearance='dark'] .lh-role-toggle {
  background: rgba(255, 255, 255, 0.08);
}
html[data-h5-appearance='dark'] .lh-role-toggle__btn {
  color: rgba(235, 235, 245, 0.6);
}
html[data-h5-appearance='dark'] .lh-role-toggle__btn[aria-selected="true"] {
  color: #f5f5f7;
}
html[data-h5-appearance='dark'] .lh-role-toggle__indicator {
  background: rgba(255, 255, 255, 0.12);
}

/* ========== 商品套图MAX 核心案例 v2（带 Before→After 对比 + CTA） ========== */
.lh-esop-launch--v2 {
  margin: 0;
  padding: 0;
}
.lh-esop-v2 {
  background: linear-gradient(145deg, #fafbfc 0%, #f5f7fa 100%);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.lh-esop-v2__head {
  text-align: center;
  margin-bottom: 16px;
}
.lh-esop-v2__badge {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, #f97316 0%, #2A2A3A 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.lh-esop-v2__title {
  font-size: 22px;
  font-weight: 800;
  color: #111;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.lh-esop-v2__sub {
  font-size: 14px;
  color: #555;
  margin: 0 0 4px;
  font-weight: 500;
}
.lh-esop-v2__plats {
  font-size: 12px;
  color: #888;
  margin: 0;
  font-weight: 600;
}
.lh-esop-v2__flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 16px 12px;
  background: #fff;
  border-radius: 14px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04);
}
.lh-esop-v2__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.lh-esop-v2__step-num {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #111 0%, #333 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 50%;
}
.lh-esop-v2__step-text {
  font-size: 12px;
  font-weight: 600;
  color: #555;
  white-space: nowrap;
}
.lh-esop-v2__step-arrow {
  color: #9ca3af;
  font-size: 16px;
  font-weight: 600;
  margin-top: -12px;
}
.lh-esop-v2__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #111 0%, #333 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 12px;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.lh-esop-v2__cta:active {
  transform: scale(0.98);
}
.lh-esop-v2__cta svg {
  transition: transform 0.2s;
}
.lh-esop-v2__cta:hover svg {
  transform: translateX(3px);
}

/* Dark mode */
html[data-h5-appearance='dark'] .lh-esop-v2 {
  background: linear-gradient(145deg, #1c1c1e 0%, #2c2c2e 100%);
  border-color: rgba(84, 84, 88, 0.4);
}
html[data-h5-appearance='dark'] .lh-esop-v2__title {
  color: #f5f5f7;
}
html[data-h5-appearance='dark'] .lh-esop-v2__sub {
  color: rgba(235, 235, 245, 0.7);
}
html[data-h5-appearance='dark'] .lh-esop-v2__plats {
  color: rgba(235, 235, 245, 0.5);
}
html[data-h5-appearance='dark'] .lh-esop-v2__flow {
  background: rgba(0, 0, 0, 0.3);
}
html[data-h5-appearance='dark'] .lh-esop-v2__step-num {
  background: linear-gradient(135deg, #fff 0%, #e5e5ea 100%);
  color: #111;
}
html[data-h5-appearance='dark'] .lh-esop-v2__step-text {
  color: rgba(235, 235, 245, 0.7);
}
html[data-h5-appearance='dark'] .lh-esop-v2__step-arrow {
  color: rgba(235, 235, 245, 0.4);
}
html[data-h5-appearance='dark'] .lh-esop-v2__cta {
  background: linear-gradient(135deg, #fff 0%, #e5e5ea 100%);
  color: #111;
}

/* ===== 创作首页 v2 场景化布局 ===== */
body.lh-redesign #lhNewHome {
  display: none !important;
}
.lh-home-v2 {
  width: 100%;
  display: block;
  padding: 0 12px;
  box-sizing: border-box;
}
.lh-v2-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  padding: 24px 16px 16px;
  position: relative;
}
.lh-v2-header__intro { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 5px; min-width: 0; max-width: 100%; }
.lh-v2-header__slogan {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: #667085;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
  max-width: 92vw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: rgba(26, 26, 46, 0.02);
  border: 1px solid rgba(26, 26, 46, 0.045);
}
.lh-v2-bell {
  position: absolute;
  top: 16px;
  right: 16px;
  transform: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(26, 26, 46, .08);
  font-size: 18px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.lh-v2-header__title {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  color: #1a1a2e;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: calc(100vw - 104px);
}
@media (min-width: 768px) {
  .lh-v2-header {
    gap: 8px;
    padding: 34px 24px 24px;
    max-width: 720px;
    margin: 0 auto;
  }
  .lh-v2-header__intro { gap: 8px; max-width: 520px; }
  .lh-v2-header__slogan {
    font-size: 13px;
    padding: 4px 12px;
    max-width: 100%;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.25;
  }
  .lh-v2-bell {
    top: 22px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 16px;
  }
  .lh-v2-header__title {
    font-size: 28px;
    line-height: 1.12;
    max-width: 560px;
  }
}
/* 首页隐藏「灵涵桌宠」浮窗：与底栏智能体入口重复，且破坏墨黑高级克制感（仅首页样式，其它页保留） */
#lhAiFloat { display: none !important; }

/* 顶部快速入口：给页面一个视觉落点（对标美图顶部 AI 对话入口） */
.lh-v2-quick {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 16px 12px;
  padding: 12px 14px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(26, 26, 46, .06);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.lh-v2-quick__icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #1a1a2e;
  color: #fff;
  font-size: 16px;
  line-height: 1;
}
.lh-v2-quick__text {
  flex: 1;
  min-width: 0;
  font-size: 13.5px;
  color: #1a1a2e;
  font-weight: 600;
  line-height: 1.35;
}
.lh-v2-quick__arrow {
  flex: 0 0 auto;
  color: #1a1a2e;
  font-size: 20px;
  opacity: .45;
}
.lh-v2-search {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  margin: 0 0 12px;
  padding: 14px 14px 12px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  border-radius: 20px;
  border: 1.5px solid rgba(67, 97, 238, .10);
  box-shadow: 0 10px 30px rgba(15, 23, 42, .07), 0 1px 3px rgba(15, 23, 42, .04);
  transition: border-color .2s ease, box-shadow .2s ease, transform .15s ease;
}
.lh-v2-search::before {
  content: '';
  position: absolute;
  top: -1.5px;
  left: 18px;
  right: 18px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #2f6bff, #7c5cff, #ec4899);
  opacity: .18;
  pointer-events: none;
}
.lh-v2-search:focus-within {
  border-color: rgba(67, 97, 238, .35);
  box-shadow: 0 14px 40px rgba(67, 97, 238, .15), 0 2px 8px rgba(67, 97, 238, .08);
  transform: translateY(-1px);
}
.lh-v2-search__input {
  width: 100%;
  min-height: 56px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 15px;
  line-height: 1.55;
  color: #1a1d26;
  font-weight: 500;
  resize: none;
  -webkit-appearance: none;
  appearance: none;
}
.lh-v2-search__input::placeholder { color: #9aa0a8; }
.lh-v2-search__fields {
  display: flex;
  gap: 8px;
  padding: 10px 12px 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
  padding-right: 6px;
}
.lh-v2-search__fields::-webkit-scrollbar { display: none; }
.lh-v2-search__fields[hidden] { display: none; }
.lh-v2-search__field {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #e7eaf1;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff, #f6f8fb);
  color: #8a93a2;
  font: inherit;
  font-size: 12px;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  transition: border-color .15s ease, box-shadow .15s ease, transform .12s ease;
}
.lh-v2-search__field:hover { border-color: #c9d6ff; box-shadow: 0 2px 8px rgba(67, 97, 238, .10); }
.lh-v2-search__field.is-primary {
  background: linear-gradient(180deg, #eef4ff, #e7efff);
  border-color: #d3e0ff;
  color: #6b7a99;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6);
}
.lh-v2-search__field-label { color: #8a93a2; }
.lh-v2-search__field.is-primary .lh-v2-search__field-label { color: #6b7a99; }
.lh-v2-search__field-value {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #2b3444;
  font-size: 12px;
  font-weight: 650;
}
.lh-v2-search__field.is-primary .lh-v2-search__field-value {
  background: transparent;
  color: #7d8795;
  font-weight: 400;
}
.lh-v2-search__field-arrow::after {
  content: '▾';
  color: #a6afbd;
  font-size: 11px;
  line-height: 1;
  margin-left: 1px;
}
.lh-v2-search__field-input {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 96px;
  padding: 4px 8px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: #1a1d26;
  font-size: 12px;
  font-weight: 500;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lh-v2-search__field-input::placeholder { color: #a3acb9; font-weight: 400; }
.lh-v2-search__field-input:focus {
  border-color: #9db8ff;
  box-shadow: 0 0 0 3px rgba(67, 97, 238, .12);
}
/* ===== 参数下拉面板 ===== */
.lh-v2-search__select {
  position: absolute;
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: 200px;
  padding: 10px;
  border: 1px solid #e9edf3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .14);
  animation: lhSelectIn .16s ease;
}
.lh-v2-search__select[hidden] { display: none; }
.lh-v2-search__select-opt {
  flex: 0 0 auto;
  padding: 7px 12px;
  border: 1px solid #edf0f5;
  border-radius: 999px;
  background: #f7f8fa;
  color: #3d4654;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.lh-v2-search__select-opt:active { background: #eceef2; transform: scale(.97); }
.lh-v2-search__select-opt.is-current {
  border-color: #c9d6ff;
  background: #eef2ff;
  color: #3b54e8;
}
@keyframes lhSelectIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.lh-v2-search__preview {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0 2px;
}
.lh-v2-search__preview img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(26,26,46,0.08);
  background: #f3f4f6;
}
.lh-v2-search__preview-close {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(26,26,46,0.08);
  color: #4b5563;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.lh-v2-search__preview-close:active { background: rgba(26,26,46,0.14); }
.lh-v2-search__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.lh-v2-search__tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lh-v2-search__tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  background: #fff;
  color: #6b7280;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.lh-v2-search__tool svg {
  width: 18px;
  height: 18px;
  display: block;
}
.lh-v2-search__tool:active { background: #f3f4f6; }
.lh-v2-search__model {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, #eef2ff, #f5f3ff);
  border: 1px solid #e2e8ff;
  color: #3b4bd8;
  font-size: 12px;
  font-weight: 700;
}
.lh-v2-search__model svg {
  width: 12px;
  height: 12px;
  display: block;
}
.lh-v2-search__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 55%, #16295c 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(37, 99, 235, .38), inset 0 1px 0 rgba(255, 255, 255, .2);
  -webkit-tap-highlight-color: transparent;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.lh-v2-search__btn:hover { box-shadow: 0 8px 22px rgba(37, 99, 235, .5), inset 0 1px 0 rgba(255,255,255,.2); filter: brightness(1.06); transform: translateY(-1px); }
.lh-v2-search__btn:active { transform: scale(.96); box-shadow: 0 2px 6px rgba(29, 78, 216, .3); }
.lh-v2-search__btn svg {
  width: 15px;
  height: 15px;
  display: block;
}
.lh-v2-search__btn:active { transform: scale(.96); }
.lh-v2-search__tool--add {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 11px;
  border: 1px solid #e2e6ec;
  border-radius: 999px;
  background: #fff;
  color: #4b5160;
  font-size: 12px;
  font-weight: 600;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.lh-v2-search__tool--add svg { width: 13px; height: 13px; }
.lh-v2-search__tool--add.is-added {
  border-color: #c9e6d0;
  background: #ecf8ef;
  color: #1f8a4c;
}
/* ===== 顶部 AI 团队徽章（对标成熟工作台首页） ===== */
.lh-v2-header__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #fff;
  background: linear-gradient(135deg, #1A1A2E 0%, #2d2d44 100%);
  box-shadow: 0 4px 10px rgba(26, 26, 46, 0.22);
  margin-bottom: 2px;
}
.lh-v2-header__badge svg {
  width: 13px;
  height: 13px;
  display: block;
}
/* ===== 推荐工具：Agent 主卡 + 能力网格 ===== */
.lh-v2-prompts {
  display: flex;
  gap: 8px;
  margin: 0 0 10px;
  padding: 0 16px 0 2px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.lh-v2-prompts::-webkit-scrollbar { display: none; }
.lh-v2-prompt {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 9px;
  width: 174px;
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid #e8ebf0;
  border-radius: 14px;
  background: #fff;
  color: #263044;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 3px 10px rgba(15, 23, 42, .04);
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, transform .12s ease;
}
.lh-v2-prompt:hover { border-color: #cbd5e1; box-shadow: 0 6px 16px rgba(15, 23, 42, .07); }
.lh-v2-prompt:active { background: #f7f8fa; transform: scale(.98); }
.lh-v2-prompt__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #f1f4ff;
  color: #4f46e5;
  font-size: 10px;
  font-weight: 800;
}
.lh-v2-prompt__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 3px;
}
.lh-v2-prompt__title {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13px;
  line-height: 1.25;
  color: #1f2937;
}
.lh-v2-prompt__desc {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 10.5px;
  line-height: 1.2;
  color: #9aa3b2;
}
.lh-v2-prompt__ico { color: #b9bec7; font-size: 13px; line-height: 1; }

/* ===== 选中状态 pill（DesignKit 式：输入框下方小标签） ===== */
.lh-v2-search__selected-slot {
  min-height: 0;
}
.lh-v2-search__selected-slot:empty { display: none; }
.lh-v2-selected {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: center;
  margin: 0;
  padding: 5px 8px 5px 6px;
  border: 1px solid #ffd3da;
  border-radius: 999px;
  background: #ffecef;
  box-shadow: 0 2px 8px rgba(220, 38, 38, .08);
  animation: lhSelectedIn .2s ease;
}
.lh-v2-selected[data-scene='media'] { background: #e8f3ff; border-color: #cfe3ff; box-shadow: 0 2px 8px rgba(37, 99, 235, .08); }
.lh-v2-selected[data-scene='brand'] { background: #f5ecff; border-color: #e6d4ff; box-shadow: 0 2px 8px rgba(147, 51, 234, .08); }
.lh-v2-selected[data-scene='poster'] { background: #e6faf3; border-color: #c8f2e3; box-shadow: 0 2px 8px rgba(5, 150, 105, .08); }
.lh-v2-selected[data-scene='office'] { background: #fff4e6; border-color: #ffe2bd; box-shadow: 0 2px 8px rgba(217, 119, 6, .08); }
.lh-v2-selected[data-scene='toolbox'] { background: #f6ecff; border-color: #e9d5ff; box-shadow: 0 2px 8px rgba(147, 51, 234, .08); }
.lh-v2-selected[hidden] { display: none; }
.lh-v2-selected__icon,
.lh-v2-prompt__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ff8a5c, #ff4d6d);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: -.04em;
}
.lh-v2-selected__icon { width: 18px; height: 18px; border-radius: 5px; }
.lh-v2-selected__icon svg { width: 11px; height: 11px; }
.lh-v2-selected[data-scene='media'] .lh-v2-selected__icon { background: linear-gradient(135deg, #4cc9f0, #4361ee); }
.lh-v2-selected[data-scene='brand'] .lh-v2-selected__icon { background: linear-gradient(135deg, #f093fb, #f5576c); }
.lh-v2-selected[data-scene='poster'] .lh-v2-selected__icon { background: linear-gradient(135deg, #43e97b, #38f9d7); }
.lh-v2-selected[data-scene='office'] .lh-v2-selected__icon { background: linear-gradient(135deg, #fa709a, #fee140); }
.lh-v2-selected[data-scene='toolbox'] .lh-v2-selected__icon { background: linear-gradient(135deg, #a18cd1, #fbc2eb); }
.lh-v2-selected__label {
  font-size: 13px;
  font-weight: 600;
  color: #dc2626;
  line-height: 1.2;
}
.lh-v2-selected[data-scene='media'] .lh-v2-selected__label { color: #2563eb; }
.lh-v2-selected[data-scene='brand'] .lh-v2-selected__label { color: #9333ea; }
.lh-v2-selected[data-scene='poster'] .lh-v2-selected__label { color: #059669; }
.lh-v2-selected[data-scene='office'] .lh-v2-selected__label { color: #d97706; }
.lh-v2-selected[data-scene='toolbox'] .lh-v2-selected__label { color: #9333ea; }
.lh-v2-selected__close {
  border: 0;
  background: transparent;
  color: #8b8fa3;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 4px;
  margin-left: 2px;
  border-radius: 999px;
}
.lh-v2-selected__close:active { color: #3730a3; }
@keyframes lhSelectedIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.lh-v2-scenes {
  margin: 12px 0 12px;
}
.lh-v2-scenes[hidden] { display: none; }
.lh-v2-scenes__tabs {
  display: flex;
  gap: 10px;
  padding: 0 2px 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.lh-v2-scenes__tabs::-webkit-scrollbar { display: none; }
.lh-v2-scenes__tabs[hidden] { display: none; }
.lh-v2-scenes__rail { animation: lhRailIn .22s ease; }
@keyframes lhRailIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.lh-v2-scene-tab {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 112px;
  min-height: 84px;
  padding: 12px 13px;
  border: 1px solid #e8ebf1;
  border-radius: 16px;
  background: #fff;
  color: #263044;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .04);
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .12s ease, box-shadow .16s ease;
}
.lh-v2-scene-tab:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, .08);
}
.lh-v2-scene-tab__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 2px;
  border-radius: 9px;
  background: linear-gradient(135deg, #ff8a5c, #ff4d6d);
  color: #fff;
}
.lh-v2-scene-tab__ico svg { width: 17px; height: 17px; }
.lh-v2-scene-tab[data-scene='media'] .lh-v2-scene-tab__ico { background: linear-gradient(135deg, #4cc9f0, #4361ee); }
.lh-v2-scene-tab[data-scene='brand'] .lh-v2-scene-tab__ico { background: linear-gradient(135deg, #f093fb, #f5576c); }
.lh-v2-scene-tab[data-scene='poster'] .lh-v2-scene-tab__ico { background: linear-gradient(135deg, #43e97b, #38f9d7); }
.lh-v2-scene-tab[data-scene='office'] .lh-v2-scene-tab__ico { background: linear-gradient(135deg, #fa709a, #fee140); }
.lh-v2-scene-tab[data-scene='toolbox'] .lh-v2-scene-tab__ico { background: linear-gradient(135deg, #a18cd1, #fbc2eb); }
.lh-v2-scene-tab[data-scene='video'] .lh-v2-scene-tab__ico { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.lh-v2-scene-tab[data-scene='video'].is-active { border-color: #a855f7; box-shadow: 0 8px 22px rgba(168, 85, 247, .16); }
.lh-v2-prompt--vc .lh-v2-prompt__preview--video { position: relative; display: flex; align-items: center; justify-content: center; }
.lh-v2-prompt__fan { position: relative; display: flex; height: 68px; align-items: flex-end; justify-content: center; }
.lh-v2-prompt__fan-thumb { width: 54px; height: 68px; object-fit: cover; border-radius: 9px; border: 2px solid #fff; box-shadow: 0 5px 12px rgba(15,23,42,.18); }
.lh-v2-prompt__fan-thumb:nth-child(1) { transform: translateX(13px) rotate(-5deg); z-index: 1; }
.lh-v2-prompt__fan-thumb:nth-child(2) { transform: translateX(0) scale(1.03); z-index: 2; box-shadow: 0 6px 16px rgba(15,23,42,.24); }
.lh-v2-prompt__fan-thumb:nth-child(3) { transform: translateX(-13px) rotate(5deg); z-index: 1; }
.lh-v2-prompt__play {
  position: absolute;
  z-index: 3;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(15,23,42,.68);
  box-shadow: 0 0 0 4px rgba(255,255,255,.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .14s ease, background .14s ease;
}
.lh-v2-prompt--vc:hover .lh-v2-prompt__play { transform: scale(1.08); background: rgba(37,99,235,.9); }
.lh-v2-prompt__play svg { width: 14px; height: 14px; margin-left: 1px; }
.lh-v2-scene-tab__name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}
.lh-v2-scene-tab__sub {
  font-size: 10.5px;
  color: #98a0af;
  line-height: 1.1;
}
.lh-v2-scene-tab.is-active {
  background: linear-gradient(180deg, #ffffff, #fdfefe);
  border-color: #ff8a5c;
  color: #0f172a;
  box-shadow: 0 8px 24px rgba(255, 77, 109, .18), inset 0 0 0 1px rgba(255,255,255,.7);
  transform: translateY(-2px);
}
.lh-v2-scene-tab[data-scene='media'].is-active { border-color: #4cc9f0; box-shadow: 0 8px 22px rgba(67, 97, 238, .16); }
.lh-v2-scene-tab[data-scene='brand'].is-active { border-color: #f093fb; box-shadow: 0 8px 22px rgba(245, 87, 108, .16); }
.lh-v2-scene-tab[data-scene='poster'].is-active { border-color: #43e97b; box-shadow: 0 8px 22px rgba(38, 231, 172, .16); }
.lh-v2-scene-tab[data-scene='office'].is-active { border-color: #fa709a; box-shadow: 0 8px 22px rgba(255, 179, 71, .18); }
.lh-v2-scene-tab[data-scene='toolbox'].is-active { border-color: #a18cd1; box-shadow: 0 8px 22px rgba(160, 130, 240, .18); }
.lh-v2-scene-tab.is-active .lh-v2-scene-tab__sub { color: #6b7280; }
.lh-v2-scenes__rail[hidden] { display: none; }
.lh-v2-prompt--vc {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 0 0 auto;
  width: 150px;
  height: 132px;
  padding: 6px;
  border: 0;
  overflow: visible;
  align-items: stretch;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(15, 23, 42, .06), 0 0 0 1px rgba(15, 23, 42, .03);
  transition: transform .14s ease, box-shadow .14s ease;
}
.lh-v2-prompt--vc:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(15, 23, 42, .12), 0 0 0 1px rgba(67, 97, 238, .12); }
.lh-v2-prompt--vc:active { transform: scale(.97); box-shadow: 0 4px 12px rgba(15, 23, 42, .08); }
.lh-v2-prompt__badge {
  position: absolute;
  top: 42px;
  right: 14px;
  z-index: 3;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(26, 26, 46, .58);
  color: #fff;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .02em;
  backdrop-filter: blur(2px);
}
.lh-v2-prompt--vc { position: relative; }
.lh-v2-prompt--vc .lh-v2-prompt__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 8px 6px 5px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: #2c3446;
}
.lh-v2-prompt--vc .lh-v2-prompt__preview {
  position: relative;
  flex: 1;
  margin: 0 0 0;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(160deg, #e9edf3, #d8dee8);
}
.lh-v2-prompt--vc .lh-v2-prompt__preview::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(15,23,42,0) 62%, rgba(15,23,42,.12) 100%);
  pointer-events: none;
}
.lh-v2-prompt--vc .lh-v2-prompt__preview::before {
  content: '';
  position: absolute;
  inset: 7px -4px -4px 7px;
  z-index: 0;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .08);
}
.lh-v2-prompt--vc .lh-v2-prompt__preview img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lh-v2-prompt--vc .lh-v2-prompt__preview.is-placeholder {
  background: #fff;
}
.lh-v2-prompt--vc .lh-v2-prompt__preview.is-placeholder::before { display: none; }
.lh-v2-prompt--vc .lh-v2-prompt__preview.is-placeholder::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  z-index: 1;
  background: linear-gradient(180deg, #ff8a5c, #ff4d6d);
}
.lh-v2-scenes__rail[data-scene='media'] .lh-v2-prompt--vc .lh-v2-prompt__preview.is-placeholder::after { background: linear-gradient(180deg, #4cc9f0, #4361ee); }
.lh-v2-scenes__rail[data-scene='brand'] .lh-v2-prompt--vc .lh-v2-prompt__preview.is-placeholder::after { background: linear-gradient(180deg, #f093fb, #f5576c); }
.lh-v2-scenes__rail[data-scene='poster'] .lh-v2-prompt--vc .lh-v2-prompt__preview.is-placeholder::after { background: linear-gradient(180deg, #43e97b, #38f9d7); }
.lh-v2-scenes__rail[data-scene='office'] .lh-v2-prompt--vc .lh-v2-prompt__preview.is-placeholder::after { background: linear-gradient(180deg, #fa709a, #fee140); }
.lh-v2-scenes__rail[data-scene='toolbox'] .lh-v2-prompt--vc .lh-v2-prompt__preview.is-placeholder::after { background: linear-gradient(180deg, #a18cd1, #fbc2eb); }
.lh-v2-prompt--vc .lh-v2-prompt__preview.is-placeholder .lh-v2-prompt__preview-ico { color: #c3c8d1; }
.lh-v2-prompt--vc .lh-v2-prompt__preview.is-placeholder .lh-v2-prompt__preview-ico svg { filter: none; }
.lh-v2-prompt__preview-ico {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .92);
}
.lh-v2-prompt__preview-ico svg {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 2px 4px rgba(15, 23, 42, .18));
}
.lh-v2-scenes__rail {
  display: flex;
  gap: 10px;
  padding: 0 16px 2px 2px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.lh-v2-scenes__rail::-webkit-scrollbar { display: none; }
.lh-v2-cats {
  display: flex;
  gap: 10px;
  padding: 2px 10px 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.lh-v2-cats::-webkit-scrollbar { display: none; }
.lh-v2-cat-tab {
  flex: 0 0 auto;
  border: 0;
  background: #fff;
  color: #4b5160;
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(26, 26, 46, .06);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: all .14s ease;
  white-space: nowrap;
}
.lh-v2-cat-tab.is-on {
  background: linear-gradient(135deg, #1A1A2E, #2d2d44);
  color: #fff;
  box-shadow: 0 6px 16px rgba(26, 26, 46, .28);
}

.lh-v2-sec {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 10px;
}
.lh-v2-sec__text {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lh-v2-sec__title {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: #1a1d26;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
}
.lh-v2-sec__title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 16px;
  border-radius: 3px;
  background: linear-gradient(180deg, #1A1A2E 0%, #2d2d44 100%);
  margin-right: 8px;
}
.lh-v2-sec__badge {
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #1A1A2E 0%, #2d2d44 100%);
  padding: 3px 7px;
  border-radius: 999px;
  line-height: 1;
  letter-spacing: 0.3px;
}
.lh-v2-sec__more {
  font-size: 12px;
  color: #9aa0a8;
  font-weight: 600;
  text-decoration: none;
}
.lh-v2-sec__count {
  font-size: 12px;
  color: #9aa0a8;
  font-weight: 600;
}
.lh-v2-empty {
  text-align: center;
  color: #94a3b8;
  font-size: 13px;
  padding: 38px 24px 56px;
  margin: 4px 16px 12px;
  border: 1px dashed rgba(26, 26, 46, 0.20);
  border-radius: 16px;
  background: rgba(26, 26, 46, 0.03);
}
.lh-v2-empty::before {
  content: "";
  display: block;
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #4b4b63 0%, #1A1A2E 70%);
  box-shadow: 0 8px 18px rgba(26, 26, 46, 0.28);
  opacity: .9;
}

.lh-v2-feat {
  display: flex;
  gap: 12px;
  padding: 0 10px 14px;
}
.lh-v2-feat__big {
  flex: 1.15;
  background: #fff;
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 6px 18px rgba(20, 24, 38, .06);
  text-decoration: none;
  color: inherit;
  transition: transform .12s ease;
}
.lh-v2-feat__thumbs {
  display: flex;
  gap: 6px;
}
.lh-v2-feat__thumb {
  flex: 1;
  height: 62px;
  border-radius: 10px;
  display: block;
}
.lh-v2-feat__name {
  margin: 10px 0 0;
  font-size: 15px;
  font-weight: 800;
  color: #1a1d26;
}
.lh-v2-feat__desc {
  margin: 2px 0 0;
  font-size: 12px;
  color: #9aa0a8;
}
.lh-v2-feat__cta {
  display: block;
  margin-top: 10px;
  background: #1A1A2E;
  color: #fff;
  font-weight: 800;
  font-size: 13.5px;
  text-align: center;
  padding: 10px;
  border-radius: 12px;
}
.lh-v2-feat__small {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lh-v2-scard {
  background: #fff;
  border-radius: 16px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 18px rgba(20, 24, 38, .06);
  text-decoration: none;
  color: inherit;
  transition: transform .12s ease;
}
.lh-v2-scard__thumb {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  flex: 0 0 auto;
}
.lh-v2-scard__name {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  color: #1a1d26;
}
.lh-v2-scard__desc {
  margin: 2px 0 0;
  font-size: 11px;
  color: #9aa0a8;
}

.lh-v2-section {
  width: 100%;
}
.lh-v2-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 10px;
  padding: 0 0 16px;
}
.lh-v2-grid__card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(20, 24, 38, .05);
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.lh-v2-grid__cover {
  position: relative;
  aspect-ratio: 1 / 1;
  height: auto;
  overflow: hidden;
  background: #f1f3f5;
  background-image: linear-gradient(110deg, #f1f3f5 8%, #e6e9ee 24%, #f1f3f5 40%);
  background-size: 200% 100%;
  animation: lhCoverShimmer 1.6s linear infinite;
}
/* 加载占位图标：缺图/未加载时显示，图片加载后由 img 覆盖（彻底消除黑底闪烁） */
.lh-v2-grid__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b6bcc6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.6'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 42px 42px;
}
.lh-v2-grid__cover img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .35s ease, transform .35s ease;
}
.lh-v2-grid__cover img.is-cover-loaded { opacity: 1; }
@keyframes lhCoverShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.lh-v2-grid__body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 2px;
  min-height: 66px;
  padding: 10px 11px 12px;
}
.lh-v2-grid__title {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  color: #1a1d26;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.lh-v2-grid__sub {
  margin: 0;
  font-size: 11px;
  color: #9aa0a8;
  line-height: 1.35;
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lh-v2-grid__chip {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 4px;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  color: #1A1A2E;
  background: rgba(26, 26, 46, 0.07);
  letter-spacing: .02em;
  min-height: 16px;
}
html[data-h5-appearance='dark'] .lh-v2-grid__chip {
  color: rgba(245, 245, 247, 0.95);
  background: rgba(245, 245, 247, 0.12);
}
.lh-v2-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 4;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  padding: 3px 7px;
  border-radius: 999px;
  color: #fff;
  letter-spacing: .3px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18);
  pointer-events: none;
}
.lh-v2-tag--hot { background: #1A1A2E; color: #fff; }
/* NEW 用墨黑描边、HOT 用墨黑实色，两者一眼区分，仍守墨黑不引入彩色 */
.lh-v2-tag--new { background: transparent; color: #1A1A2E; border: 1px solid #1A1A2E; box-shadow: none; padding: 2px 6px; }
/* 会员全部免费，free 标签不再输出；保留选择器防止旧缓存误显示 */
.lh-v2-tag--free { display: none; }
/* 暗色模式：宫格卡片协调，避免黑底上白卡割裂 + 封面隐身 */
html[data-h5-appearance='dark'] .lh-grid-dark-card,
html[data-h5-appearance='dark'] .lh-v2-grid__card {
  background: #1c1c1e;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}
html[data-h5-appearance='dark'] .lh-v2-grid__cover { background: #2a2a2e; animation: none; }
html[data-h5-appearance='dark'] .lh-v2-grid__cover::after { background-image: none; }
html[data-h5-appearance='dark'] .lh-v2-grid__title { color: #f5f5f7; }
html[data-h5-appearance='dark'] .lh-v2-grid__sub { color: rgba(235, 235, 245, 0.5); }
html[data-h5-appearance='dark'] .lh-v2-tag--new { color: #f5f5f7; border-color: rgba(245, 245, 247, 0.55); }

.lh-v2-cat:active,
.lh-v2-feat__big:active,
.lh-v2-scard:active,
.lh-v2-grid__card:active {
  transform: scale(0.98);
  opacity: 0.94;
}
@media (hover: hover) {
  .lh-v2-grid__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(26, 26, 46, 0.14);
  }
}

/* ===== v2 图标分类导航（横向滑动，一屏 4 个） ===== */
.lh-v2-cat-icons {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px 6px;
  padding: 6px 0 12px;
  overflow: visible;
  -webkit-overflow-scrolling: auto;
  scroll-snap-type: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.lh-v2-cat-icons::-webkit-scrollbar { display: none; }
/* 两组导航直接展示，不带标签 */
.lh-v2-nav { padding: 2px 0 4px; }
.lh-v2-nav__group { margin-top: 2px; }
.lh-v2-nav .lh-v2-cat-icons { padding: 2px 0 4px; }
.lh-v2-cat-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  min-width: 0;
  max-width: none;
  width: 100%;
  scroll-snap-align: none;
}
.lh-v2-cat-icon__bubble {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #1A1A2E;
  background: #F4F5F7;
  border: none;
  box-shadow: none;
  transition: all .2s ease;
}
/* 分类图标统一浅灰圆形（无描边无阴影，同行参照），取消彩色 tone 渐变 */
.lh-v2-cat-icon[data-tone] .lh-v2-cat-icon__bubble {
  color: #1A1A2E;
  background: #F4F5F7;
  border-color: transparent;
}
.lh-v2-cat-icon__bubble svg {
  width: 26px;
  height: 26px;
  display: block;
}
.lh-v2-cat-icon__name {
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
  transition: color .2s ease;
}
.lh-v2-cat-icon.is-on .lh-v2-cat-icon__bubble {
  transform: scale(1.06);
  color: #ffffff;
  background: linear-gradient(135deg, #1A1A2E 0%, #2d2d44 100%);
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(26, 26, 46, 0.22);
}
/* 选中态实色填充（统一炭黑） */
.lh-v2-cat-icon.is-on[data-tone] .lh-v2-cat-icon__bubble {
  color: #fff;
  background: linear-gradient(135deg, #1A1A2E, #2d2d44);
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(26, 26, 46, 0.22);
}
.lh-v2-cat-icon.is-on .lh-v2-cat-icon__name {
  color: #1A1A2E;
  font-weight: 700;
}
@media (hover: hover) {
  .lh-v2-cat-icon:not(.is-on):hover .lh-v2-cat__bubble,
  .lh-v2-cat-icon:not(.is-on):hover .lh-v2-cat-icon__bubble {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(26, 26, 46, 0.08);
  }
  .lh-v2-cat-icon:not(.is-on):hover .lh-v2-cat-icon__name {
    color: #1A1A2E;
  }
}

/* 分类图标统一深蓝科技风，取消糖果色 tone 渐变 */

/* ===== v2 场景卡 ===== */
.lh-v2-scenes { margin-top: 2px; }
.lh-v2-scene-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.lh-v2-scene-card {
  position: relative;
  overflow: hidden;
  display: flex;
  border-radius: 18px;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
  min-height: 96px;
}
.lh-v2-scene-card--big {
  grid-column: span 2;
  min-height: 132px;
}
.lh-v2-scene-card__cover {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.lh-v2-scene-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lh-v2-scene-card__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.05) 0%, rgba(15,23,42,0.55) 100%);
}
.lh-v2-scene-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  padding: 12px;
  color: #fff;
}
.lh-v2-scene-card__tag {
  width: fit-content;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(4px);
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 6px;
}
.lh-v2-scene-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
}
.lh-v2-scene-card--big .lh-v2-scene-card__title { font-size: 18px; }
.lh-v2-scene-card__sub {
  margin: 4px 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(255,255,255,0.85);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== v2 推荐卡：左大右小 ===== */
.lh-v2-reco {
  display: flex;
  gap: 10px;
  padding: 2px 0 14px;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
/* 修复 grid blowout：.lh-home-v2 是首页 CSS Grid(.lh-new-home.lh-modern-home) 的网格项，
   其默认 min-width:auto 会按内容最小宽度(约782px)撑开列，导致 AI绘画 推荐区溢出被裁。
   置 0 后网格列收回视口宽度，右栏三个工具恢复完整可见。仅增不改。 */
.lh-home-v2 { min-width: 0; }
.lh-v2-reco__main { flex: 1 1 56%; min-width: 0; }
.lh-v2-reco__list {
  flex: 1 1 44%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* 左侧推荐大卡：白底模板预览卡（小红书封面同行版式） */
.lh-v2-reco__big {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 230px;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  transition: transform .25s ease, box-shadow .25s ease;
  padding: 10px 10px 8px;
}
.lh-v2-reco__big-cover { display: none; }
.lh-v2-reco__big::before { display: none; }
.lh-v2-reco__big-head {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  margin-bottom: 6px;
}
.lh-v2-reco__tag {
  display: inline-block;
  margin-bottom: 7px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #1A1A2E;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  box-shadow: 0 2px 6px rgba(26,26,46,0.18);
}
.lh-v2-reco__big-title {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.2;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lh-v2-reco__big-sub {
  margin: 4px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lh-v2-reco__big-preview {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  margin: 2px 0 10px;
  perspective: 600px;
}
.lh-v2-reco__preview-item {
  position: absolute;
  width: 86px;
  height: 116px;
  border-radius: 10px;
  overflow: hidden;
  background: #f1f5f9;
  box-shadow: 0 6px 18px rgba(15,23,42,0.14);
  border: 1px solid rgba(255,255,255,0.8);
  transition: transform .35s ease, opacity .25s ease;
}
.lh-v2-reco__preview-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lh-v2-reco__preview-item[data-index="1"],
.lh-v2-reco__preview-item[data-index="3"] {
  opacity: 0;
  pointer-events: none;
}
.lh-v2-reco__preview-item[data-index="2"] {
  position: relative;
  transform: none;
  width: 90%;
  height: auto;
  aspect-ratio: 4 / 3;
  max-height: 78%;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(15,23,42,0.12);
  z-index: 1;
}
.lh-v2-reco__cta {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #1A1A2E 0%, #2d2d44 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(26,26,46,0.28);
  letter-spacing: 0.5px;
}
/* 右侧小推荐卡：与大卡同款作品墙预览，横向紧凑版 */
.lh-v2-reco__mini {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-height: 0;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 5px 15px rgba(15, 23, 42, 0.05);
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.lh-v2-reco__mini-preview {
  position: relative;
  width: 44px;
  height: 60px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 300px;
}
.lh-v2-reco__mini-preview-item {
  position: absolute;
  width: 32px;
  height: 44px;
  border-radius: 6px;
  overflow: hidden;
  background: #f1f5f9;
  box-shadow: 0 3px 8px rgba(15,23,42,0.12);
  border: 1px solid rgba(255,255,255,0.8);
  transition: transform .35s ease;
}
.lh-v2-reco__mini-preview-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lh-v2-reco__mini-preview-item[data-index="1"] { transform: translateX(-4px) rotate(-8deg) scale(0.9); z-index: 1; }
.lh-v2-reco__mini-preview-item[data-index="2"] { transform: translateY(-2px) scale(1); z-index: 3; }
.lh-v2-reco__mini-preview-item[data-index="3"] { transform: translateX(4px) rotate(8deg) scale(0.9); z-index: 2; }
.lh-v2-reco__mini-body { flex: 1; min-width: 0; }
.lh-v2-reco__mini-title { margin: 0; font-size: 12px; font-weight: 800; color: #1a1d26; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lh-v2-reco__mini-sub {
  margin: 2px 0 0;
  font-size: 10px;
  color: #9aa0a8;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lh-v2-reco__mini-arrow { display: none; }
@media (hover: hover) {
  .lh-v2-reco__big:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18);
  }
  .lh-v2-reco__big:hover .lh-v2-reco__preview-item[data-index="2"] { transform: scale(1.03); }
  .lh-v2-reco__mini:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.1);
    border-color: rgba(26, 26, 46, 0.35);
  }
  .lh-v2-reco__mini:hover .lh-v2-reco__mini-preview-item[data-index="1"] { transform: translateX(-6px) rotate(-10deg) scale(0.92); }
  .lh-v2-reco__mini:hover .lh-v2-reco__mini-preview-item[data-index="2"] { transform: translateY(-4px) scale(1.04); }
  .lh-v2-reco__mini:hover .lh-v2-reco__mini-preview-item[data-index="3"] { transform: translateX(6px) rotate(10deg) scale(0.92); }
  .lh-v2-reco__mini:hover .lh-v2-reco__mini-arrow { color: #1A1A2E; }
}

/* ===== v2 热门 Tab ===== */
/* .lh-v2-tabs 已随 UI 重构移除：分类筛选统一由顶部图标导航承载，避免双筛选器冲突 */
