/* =============================================================================
   莲芯 H5 — 兼容修正层   h5-98lj-fix.css
   建立日期: 2026-10-05
   -----------------------------------------------------------------------------
   为什么需要这一层
     public/assets/h5-98lj.css 是针对 2026-09-30 版 DOM 编写的 H5 视觉重制层。
     views/lianxin-page.php 于 2026-10-04 重构后 DOM 结构发生变化, 造成两类失配:

       A. 选择器不再命中
          例: 金刚区快捷入口 h5 按 <a><span><svg/></span>文字</a> 编写,
              当前 DOM 是 <a><svg/><span>文字</span></a>。
              结果 h5 的「图标底座」样式全部落到文字标签上 —— 文字被塞进
              44x44 的色块里折成两行, 而真正的图标反而没有底色。

       B. 桌面属性未被覆盖
          例: .lx-hero-art 在 lianxin.css 里是
              position:absolute; width:43%; transform:rotate(-7deg) + lx-float 动画;
              h5 只覆盖了 position 与 background, 于是蓝色插画面板被压成 77px
              窄条、右侧留白, 莲花图还带着 -7° 倾斜与浮动动画。

   本层的约束
     · 不修改 h5-98lj.css 原文, 不修改任何 PHP 模板, 不动 data-* 钩子与业务 DOM
     · 全部选择器带 body.lx-app 作用域, 且本文件在 h5-98lj.css 之后加载,
       同权重时后加载者胜出
     · 仅在 h5.x0z1.com 加载(layout 中由 $isH5 控制), PC 端不受影响
   撤销方式: 删掉本文件 + 移除 layout 里对应的 <link> 即可, 无残留。
   ============================================================================= */

/* ---------- 1. 金刚区快捷入口: 还原「图标底座 + 文字标签」的角色 ---------- */
body.lx-app .lx-mobile-shortcuts{
  display:flex;justify-content:space-around;align-items:flex-start;gap:0;
  grid-template-columns:none;
}
body.lx-app .lx-mobile-shortcuts > a{flex:1 1 0;min-width:0;}
/* 文字标签 —— 去掉被误套上去的图标底座。
   注意: h5-98lj.css 用的是 .lx-mobile-shortcuts a:nth-child(N) span,
   其中 :nth-child() 会多算一级权重, 所以这里必须补 :nth-child(n) 才能同权胜出。 */
body.lx-app .lx-mobile-shortcuts > a:nth-child(n) > span{
  display:block;width:auto;height:auto;background:none;border-radius:0;
  color:var(--lj-ink,#1f2329);font-size:11.5px;font-weight:500;
  line-height:1.25;white-space:nowrap;
}
/* SVG 图标 —— 补上应有的圆角底色 */
body.lx-app .lx-mobile-shortcuts > a > svg{
  width:44px;height:44px;padding:11px;box-sizing:border-box;flex:none;
  border-radius:14px;background:var(--lj-primary-soft,#eef1fe);color:var(--lj-primary,#5a72fa);
}
body.lx-app .lx-mobile-shortcuts > a:nth-child(1) > svg{background:#eef1fe;color:#5a72fa;}
body.lx-app .lx-mobile-shortcuts > a:nth-child(2) > svg{background:#fff3e8;color:#ff9f2e;}
body.lx-app .lx-mobile-shortcuts > a:nth-child(3) > svg{background:#ffefef;color:#f53f3f;}
body.lx-app .lx-mobile-shortcuts > a:nth-child(4) > svg{background:#e9f9f1;color:#12b76a;}
body.lx-app .lx-mobile-shortcuts > a:nth-child(5) > svg{background:#eef1fe;color:#5a72fa;}

/* ---------- 2. Hero 主卡 ---------- */
/* 2.1 右列蓝色插画面板要被撑满, 且清掉 lianxin.css 的绝对定位/43%宽/位移 */
body.lx-app .lx-hero{grid-template-columns:1.28fr 1fr;align-items:stretch;min-height:0;}
body.lx-app .lx-hero-art{
  position:relative;top:auto;right:auto;bottom:auto;left:auto;
  width:100%;max-width:none;min-width:0;
}
/* 2.2 莲花图要固定 110px 居中, 去掉 -7° 旋转与 lx-float 浮动动画 */
body.lx-app .lx-hero-art > img{
  position:static;top:auto;right:auto;bottom:auto;left:auto;
  width:110px;height:110px;max-width:110px;max-height:110px;padding:0;
  transform:none;animation:none;object-fit:contain;
  filter:drop-shadow(0 6px 16px #10173133);
}
body.lx-app .lx-lotus-glow{left:50%;top:50%;transform:translate(-50%,-50%);}

/* 2.3 左列文案: lianxin.css 给 h2 的 color 是近白色(#f7f8f9),
       在白卡上等于看不见 —— 必须改成墨色, 品牌色只留给 span */
body.lx-app .lx-hero-copy{max-width:none;padding:16px 12px 14px 16px;}
body.lx-app .lx-hero-copy h2{
  margin:0;color:var(--lj-ink,#1f2329);font-size:19px;font-weight:800;line-height:1.35;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;
}
body.lx-app .lx-hero-copy h2 > span{
  background:none;-webkit-background-clip:border-box;background-clip:border-box;
  color:var(--lj-primary,#5a72fa);-webkit-text-fill-color:currentColor;
}
body.lx-app .lx-hero-copy p{
  margin:0;font-size:12px;color:var(--lj-muted,#8a8f99);line-height:1.6;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;
}
body.lx-app .lx-hero-actions{margin-top:0;gap:10px;}
body.lx-app .lx-hero-tag{
  font-size:10.5px;padding:3px 9px;white-space:nowrap;align-self:flex-start;
}
body.lx-app .lx-hero-guide{color:var(--lj-muted,#8a8f99) !important;}
body.lx-app .lx-hero-footnote{font-size:10.5px;color:#b3b8c2;margin-top:2px;}

/* ---------- 3. 社区横幅: lianxin.css 的 h2 是深墨绿(#637267), 压在蓝色渐变上
              对比度极低, 看起来像重影 ---------- */
body.lx-app .lx-community-banner h2{
  color:#fff;font-size:17px;font-weight:800;line-height:1.45;margin:2px 0 0;
}
body.lx-app .lx-community-banner .lx-kicker{color:#dbe3ff;}
body.lx-app .lx-community-banner p{color:#e8ecff;font-size:12px;margin-top:5px;}
body.lx-app .lx-community-banner > .lx-button{
  background:#fff;color:var(--lj-primary,#5a72fa) !important;font-weight:700;
}

/* ---------- 4. 按钮文字: lianxin.css 用 color:#354139!important 锁定深色,
              在 H5 的蓝色渐变底上对比度不足 ---------- */
body.lx-app .lx-button-pearl{color:#fff !important;}
body.lx-app .lx-button-dark{color:#fff !important;}

/* ---------- 5. 品相角标: base.css 的 grade 配色是为深色语境设计的
              (深底 + 浅字), 放在白色商品卡上是一片橄榄绿, 换成 H5 浅色语境配色 ---------- */
body.lx-app .lx-product-image > .grade,
body.lx-app .lx-product .grade,
body.lx-app .lx-wall-person .grade{
  border:none !important;border-radius:999px !important;
  padding:4px 9px !important;font-size:11px !important;font-weight:800 !important;
  letter-spacing:0 !important;line-height:1.15 !important;
  animation:none !important;text-shadow:none !important;
}
body.lx-app .lx-product .grade-SSS,
body.lx-app .lx-wall-person .grade-SSS{background:#f3e8ff !important;color:#7c3aed !important;}
body.lx-app .lx-product .grade-SS,
body.lx-app .lx-wall-person .grade-SS{background:#ede8ff !important;color:#5b45c9 !important;}
body.lx-app .lx-product .grade-S,
body.lx-app .lx-wall-person .grade-S{background:#fff3e8 !important;color:#b45309 !important;}
body.lx-app .lx-product .grade-A,
body.lx-app .lx-wall-person .grade-A{background:#eef1fe !important;color:#3a4fd0 !important;}
body.lx-app .lx-product .grade-B,
body.lx-app .lx-wall-person .grade-B{background:#e9f9f1 !important;color:#0a7a45 !important;}
body.lx-app .lx-product .grade-C,
body.lx-app .lx-wall-person .grade-C{background:#f1f2f5 !important;color:#6b7280 !important;}

/* 5b. 相遇时刻(wall)卡片: .lx-wall-person 里有两个直接子 span ——
        一个是头像 <span>收</span>, 另一个是角标 <span class="grade">C赏</span>,
        而 lianxin.css 写了通用规则
            .lx-wall-person>span{width:30px;height:30px;display:grid}
            @media(max-width:760px){.lx-wall-person>span{width:24px;height:24px}}
        两个 span 一起命中 —— 角标被压成 24x24 的固定盒子, 叠加 base.css 的
        overflow:hidden 后, 文字「C赏」被裁成一条细缝(实测 scrollWidth 30 vs clientWidth 24)。
        这里把角标的盒子从「固定尺寸」拉回「随内容自适应」, 头像不受影响。 */
body.lx-app .lx-wall-person > .grade{
  width:auto !important;height:auto !important;
  min-width:0 !important;min-height:0 !important;
  display:inline-flex !important;flex:0 0 auto !important;
  margin-left:auto !important;
}
/* 角标变大后用户名区会被挤压, 给中间那列留出可收缩空间并做优雅省略 */
body.lx-app .lx-wall-person > div{flex:1 1 auto;min-width:0;}
body.lx-app .lx-wall-person > div > b,
body.lx-app .lx-wall-person > div > small{
  display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}

/* 5c. 相遇时刻卡片的文字配色: lianxin.css 把用户名写成暗绿 #8b9c90
        (实测对比度 2.9, 低于 4.5 的可读线), 且与全站墨色体系不一致。
        统一回标准文本层级色。 */
body.lx-app .lx-wall-person b{color:var(--lj-ink,#1f2329);font-weight:600;}
body.lx-app .lx-wall-person small{color:var(--lj-muted,#8a8f99);font-weight:500;}

/* ---------- 6. 市场区频道栏: 右侧「按浏览热度」是纯装饰的 span(不可点),
              却占掉 81px, 把第 4 个频道「即将满额」挤出可视区、只剩半个胶囊。
              h5-98lj.css 里本来就先写了 display:none, 后来又改回 inline-flex,
              这里按 4 个频道能完整放下的目标隐藏它 —— 不损失任何可交互功能。 ---------- */
body.lx-app .lx-filter-bar > .lx-subtle-label{display:none;}
body.lx-app .lx-filter-bar > .lx-channel-tabs{flex:1 1 auto;min-width:0;}

/* ---------- 7. 彩色渐变面板里的标题: h5 只给容器设了 color:#fff,
              但子标题自己在 lianxin.css 里有独立的深色, 于是继承被盖掉 ——
              深墨绿文字压在蓝色渐变上, 看起来像重影/看不清。 ---------- */
/* 成交墙顶部横幅 */
body.lx-app .lx-wall-intro h2{color:#fff;}
body.lx-app .lx-wall-intro img{
  background:#ffffff30;border-radius:50%;padding:10px;box-sizing:border-box;
}
/* 「我的」页欢迎卡 */
body.lx-app .lx-dashboard-welcome h2{color:#fff;}

/* ---------- 8. 底部导航非选中项标签: 原色 #9aa0ab 在白底上对比度仅 2.63,
              明显低于 4.5 的可读线, 页脚同样偏浅。整体抬一档, 保持层级差
              (选中项仍是品牌蓝), 不改变任何交互。 ---------- */
body.lx-app .lx-bottom-nav > a > b{color:#7a8090;}
body.lx-app .lx-bottom-nav > a.is-active > b{color:var(--lj-primary,#5a72fa);}
body.lx-app .lx-footer a,
body.lx-app .lx-footer nav a,
body.lx-app .lx-footer nav button,
body.lx-app .lx-footer small{color:#6f7583;}

/* ---------- 9. 字号下限: 页脚「莲芯 LIANXIN」的英文副标只有 7px,
              是全站唯一低于可读下限的文本(其余最小 9-10px 属设计内的标签字号)。
              只抬这一处, 不动其余设计内的字号层级。 ---------- */
body.lx-app .lx-footer-brand small{font-size:9px !important;letter-spacing:.14em;}

/* ---------- 10. 审美拉满 (视觉层次与质感细化, 不改 DOM 与业务钩子) ---------- */

/* 10.1 Hero 主卡: 莲花图后面加一圈柔光晕, 让蓝面板的中心更有呼吸感 */
body.lx-app .lx-hero-art{isolation:isolate;}
body.lx-app .lx-hero-art::before{
  content:"";position:absolute;left:50%;top:52%;
  width:170px;height:170px;border-radius:50%;
  background:radial-gradient(circle, #ffffff52 0%, #ffffff24 38%, transparent 70%);
  transform:translate(-50%,-50%);pointer-events:none;z-index:0;
}
body.lx-app .lx-hero-art > img{position:relative;z-index:1;}

/* 10.2 社区横幅: 莲花徽标加圆形柔底 + 投影, 原本直接放在蓝色背景里几乎看不见 */
body.lx-app .lx-community-banner{display:flex;align-items:center;gap:14px;}
body.lx-app .lx-community-flower{
  width:72px;height:72px;border-radius:50%;flex:none;
  background:#ffffff26;
  box-shadow:0 8px 22px #1a237e40, inset 0 0 0 1px #ffffff30;
  display:grid;place-items:center;overflow:hidden;
}
body.lx-app .lx-community-flower img{
  width:46px;height:46px;
  filter:drop-shadow(0 2px 6px #1a237e5e) brightness(1.05);
}
body.lx-app .lx-community-banner > div{flex:1 1 auto;min-width:0;}

/* 10.3 商品卡: 图片区从纯白升级为浅冷渐变 + 内嵌高光, 让图有"漂浮在卡上"的层次 */
body.lx-app .lx-product{
  border:1px solid #eef0f4;
  box-shadow:0 1px 0 #ffffff inset, 0 6px 14px -10px #1f293733;
  transition:transform .25s ease, box-shadow .25s ease;
}
body.lx-app .lx-product:hover{
  transform:translateY(-2px);
  box-shadow:0 1px 0 #ffffff inset, 0 14px 26px -14px #1f29374d;
}
body.lx-app .lx-product-image{
  background:
    radial-gradient(120% 80% at 50% 0%, #ffffff 0%, transparent 60%),
    linear-gradient(160deg, #f7f8fc 0%, #eef1fe 100%);
  overflow:hidden;
}
body.lx-app .lx-product-image img{transition:transform .4s ease;}
body.lx-app .lx-product:hover .lx-product-image img{transform:scale(1.04);}

/* 10.4 相遇时刻卡片: 同样的图片区浅冷渐变 + 圆角与极淡投影 */
body.lx-app .lx-wall-card{
  border:1px solid #eef0f4;
  box-shadow:0 6px 14px -10px #1f293733;
}
body.lx-app .lx-wall-image{
  background:
    radial-gradient(120% 80% at 50% 0%, #ffffff 0%, transparent 60%),
    linear-gradient(160deg, #f7f8fc 0%, #eef1fe 100%);
  border-radius:14px;
  box-shadow:inset 0 0 0 1px #ffffff80;
}

/* 10.5 频道 tabs: 选中态从灰底升级为主色淡底 + 主色字 + 加粗, 层级更清晰 */
body.lx-app .lx-channel-tabs a.is-active{
  background:var(--lj-primary-soft,#eef1fe);
  color:var(--lj-primary,#5a72fa);
  font-weight:700;
  box-shadow:inset 0 0 0 1px #5a72fa26;
}

/* 10.6 底部 TabBar 中央发布按钮: 加一圈柔光晕, 强化主操作焦点 */
body.lx-app .lx-bottom-nav .lx-bottom-publish{position:relative;isolation:isolate;}
body.lx-app .lx-bottom-nav .lx-bottom-publish::before{
  content:"";position:absolute;left:50%;top:50%;
  width:62px;height:62px;border-radius:50%;
  background:radial-gradient(circle, #5a72fa52 0%, transparent 65%);
  transform:translate(-50%,-50%);z-index:-1;pointer-events:none;
}

/* 10.7 顶栏品牌徽标: 从纯暗色升级为品牌色淡渐变, 让头部更有记忆点 */
body.lx-app .lx-topbar .lx-mobile-brand > span{
  background:linear-gradient(140deg, #5a72fa 0%, #7d8ffb 100%) !important;
  box-shadow:0 4px 12px #5a72fa4d;
}
body.lx-app .lx-topbar .lx-mobile-brand img{filter:brightness(0) invert(1);}

/* 10.8 顶栏搜索提交按钮: 从纯白升级为品牌色, 与中央发布钮呼应 */
body.lx-app .lx-topbar .lx-global-search button[type=submit]{
  background:linear-gradient(140deg, #5a72fa, #7d8ffb) !important;
  color:#fff !important;
  box-shadow:0 4px 10px #5a72fa38;
}

/* 10.9 公告条 / 浮动卡片: 给可点击的小卡一个柔和投影, 提升层次 */
body.lx-app .lx-home-notice,
body.lx-app .lx-feature-card,
body.lx-app .lx-feature > a,
body.lx-app .lx-carousel-track{
  box-shadow:0 6px 16px -10px #1f29374d;
}


/* ===== 邀请活动页样式 (lx-invite-*) ===== */
/* ============================================================
   邀请活动页样式 (lx-invite-*)
   仅作用于 body.lx-app 内的邀请页 (H5+PC 通用)
   ============================================================ */
body.lx-app /* ========== 邀请活动 V2 精致化样式 ========== */
body.lx-app .lx-invite-hero{background:linear-gradient(135deg,#0e1626 0%,#1d2740 60%,#2d3958 100%);border-radius:24px;margin:24px 0;overflow:hidden;box-shadow:0 12px 40px -16px rgba(15,20,40,.45);}
body.lx-app .lx-invite-hero-art{position:relative;width:100%;padding:0;}
body.lx-app .lx-invite-hero-art img{width:100%;height:auto;display:block;border-radius:0;}
body.lx-app .lx-invite-hero-bar{display:grid;grid-template-columns:1.1fr .9fr;gap:24px;align-items:center;padding:24px 28px;background:linear-gradient(135deg,rgba(255,255,255,.06) 0%,rgba(255,255,255,.02) 100%);color:#fff;}
body.lx-app .lx-invite-hero-title h1{font-size:24px;font-weight:800;line-height:1.3;margin:0 0 6px;letter-spacing:.02em;}
body.lx-app .lx-invite-hero-title p{font-size:13px;color:rgba(255,255,255,.7);margin:0;line-height:1.6;}
body.lx-app .lx-invite-hero-code{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:14px 16px;}
body.lx-app .lx-invite-codebox-label{font-size:10.5px;color:rgba(255,255,255,.55);letter-spacing:.16em;margin-bottom:8px;text-transform:uppercase;}
body.lx-app .lx-invite-codebox-row{display:flex;align-items:center;gap:10px;}
body.lx-app .lx-invite-codebox-row code{font-family:Menlo,Consolas,monospace;font-size:22px;font-weight:800;letter-spacing:.18em;color:#fff;background:rgba(0,0,0,.25);padding:8px 14px;border-radius:10px;flex:1 1 auto;border:1px solid rgba(255,255,255,.1);}
body.lx-app .lx-invite-codebox-row .lx-button-primary{background:linear-gradient(135deg,#ffd479 0%,#ffb547 100%);color:#1f2329;border:none;font-weight:700;padding:8px 18px;}
body.lx-app .lx-invite-codebox-row .lx-button-primary:hover{transform:translateY(-1px);box-shadow:0 6px 18px -8px rgba(255,180,71,.6);}

body.lx-app .lx-invite-meta{list-style:none;margin:0;padding:16px 28px 22px;display:grid;grid-template-columns:repeat(4,1fr);gap:10px;background:linear-gradient(180deg,rgba(0,0,0,.18) 0%,transparent 100%);}
body.lx-app .lx-invite-meta li{display:flex;flex-direction:column;gap:2px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:10px 14px;}
body.lx-app .lx-invite-meta-k{font-size:10.5px;color:rgba(255,255,255,.5);letter-spacing:.14em;text-transform:uppercase;}
body.lx-app .lx-invite-meta-v{font-size:15px;color:#fff;font-weight:700;}
body.lx-app .lx-invite-meta-v b{color:#ffd479;font-weight:800;font-size:18px;}
body.lx-app .lx-invite-meta-v.ok{color:#5cf2a3;}
body.lx-app .lx-invite-meta-v.warn{color:#ffb547;}

/* 倒计时胶囊 */
body.lx-app .lx-invite-deadline{display:flex;flex-direction:column;align-items:center;gap:6px;background:linear-gradient(135deg,#1f2329 0%,#3a3f54 100%);color:#fff;border-radius:18px;padding:20px;margin:0 0 22px;}
body.lx-app .lx-invite-deadline .lx-kicker{color:#ffd479;letter-spacing:.18em;font-size:10.5px;}
body.lx-app .lx-invite-deadline-clock{display:flex;gap:8px;align-items:center;}
body.lx-app .lx-invite-deadline-unit{display:flex;flex-direction:column;align-items:center;gap:2px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:10px;padding:8px 14px;min-width:54px;}
body.lx-app .lx-invite-deadline-unit b{font-size:22px;font-weight:800;color:#ffd479;letter-spacing:.04em;line-height:1;}
body.lx-app .lx-invite-deadline-unit small{font-size:10px;color:rgba(255,255,255,.5);text-transform:uppercase;letter-spacing:.12em;}
body.lx-app .lx-invite-deadline-tip{font-size:11px;color:#d0d3dc;text-align:center;margin-top:6px;}

/* 奖品卡 */
body.lx-app .lx-invite-prizes{margin:0 0 24px;background:#fff;border:1px solid #ececef;border-radius:20px;padding:22px 24px;}
body.lx-app .lx-invite-section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;}
body.lx-app .lx-invite-section-meta{font-size:11.5px;color:#8b8e98;}
body.lx-app .lx-invite-prize-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;}
body.lx-app .lx-invite-prize{position:relative;background:#fafafa;border:1px solid #ececef;border-radius:16px;padding:14px 12px;text-align:center;display:flex;flex-direction:column;gap:4px;align-items:center;transition:transform .25s ease, box-shadow .25s ease;}
body.lx-app .lx-invite-prize:hover{transform:translateY(-3px);box-shadow:0 14px 30px -16px rgba(0,0,0,.18);}
body.lx-app .lx-invite-prize-img{width:100%;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#fff 0%,#fafafa 100%);border-radius:12px;overflow:hidden;margin-bottom:6px;}
body.lx-app .lx-invite-prize-img img{width:100%;height:100%;object-fit:contain;}
body.lx-app .lx-invite-prize-cash{font-size:26px;font-weight:800;letter-spacing:.02em;background:linear-gradient(135deg,#ffd479,#ff7a3d);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;}
body.lx-app .lx-invite-prize-name{font-size:14px;color:#1f2329;font-weight:700;}
body.lx-app .lx-invite-prize-sub{font-size:11px;color:#5f6473;}
body.lx-app .lx-invite-prize-value{display:inline-block;background:#fff5e0;color:#e07a00;border-radius:999px;padding:3px 10px;font-size:11px;font-weight:700;margin-top:2px;}
body.lx-app .lx-invite-prize-rank{position:absolute;top:-10px;left:50%;transform:translateX(-50%);background:#1f2329;color:#fff;font-size:10.5px;font-weight:800;padding:4px 12px;border-radius:999px;letter-spacing:.06em;white-space:nowrap;box-shadow:0 4px 12px -4px rgba(0,0,0,.3);}
body.lx-app .lx-invite-prize.rank-1{border-color:#f3c34a;background:linear-gradient(180deg,#fff8e0 0%,#fffef8 60%);}
body.lx-app .lx-invite-prize.rank-1 .lx-invite-prize-rank{background:linear-gradient(135deg,#f3c34a,#e07a00);}
body.lx-app .lx-invite-prize.rank-2{border-color:#bfc6d4;background:linear-gradient(180deg,#f5f6fa 0%,#fff 60%);}
body.lx-app .lx-invite-prize.rank-2 .lx-invite-prize-rank{background:linear-gradient(135deg,#7d8aa3,#5a6878);}
body.lx-app .lx-invite-prize.rank-3{border-color:#c7966b;background:linear-gradient(180deg,#f6ecdd 0%,#fff 60%);}
body.lx-app .lx-invite-prize.rank-3 .lx-invite-prize-rank{background:linear-gradient(135deg,#c7966b,#8d5a30);}
body.lx-app .lx-invite-prize.rank-cash{border-color:#ffd479;}
body.lx-app .lx-invite-prize.rank-cash .lx-invite-prize-rank{background:linear-gradient(135deg,#ffd479,#ff7a3d);}

/* 活动规则 */
body.lx-app .lx-invite-rules{margin:0 0 24px;background:#fff;border:1px solid #ececef;border-radius:20px;padding:22px 26px;}
body.lx-app .lx-invite-rule-list{margin:0;padding:0;list-style:none;counter-reset:rule;}
body.lx-app .lx-invite-rule-list li{display:flex;gap:12px;font-size:13px;color:#3a3f4d;line-height:1.75;padding:10px 0;border-bottom:1px dashed #f0f0f3;}
body.lx-app .lx-invite-rule-list li:last-child{border-bottom:none;}
body.lx-app .lx-invite-rule-list li b{color:#1f2329;font-weight:700;background:linear-gradient(180deg,transparent 60%,rgba(255,212,121,.4) 60%);padding:0 2px;}
body.lx-app .lx-invite-rule-icon{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;background:linear-gradient(135deg,#5a72fa,#7e3df5);color:#fff;font-weight:800;font-size:13px;font-family:Menlo,Consolas,monospace;}

/* 分享 */
body.lx-app .lx-invite-share{margin:0 0 24px;}
body.lx-app .lx-invite-share-grid{display:grid;grid-template-columns:240px 1fr;gap:24px;align-items:center;background:linear-gradient(135deg,#fff8e0 0%,#fff 60%);border:1px solid #f0e6d8;border-radius:20px;padding:20px;}
body.lx-app .lx-invite-share-img{position:relative;overflow:hidden;border-radius:14px;box-shadow:0 12px 28px -12px rgba(193,158,72,.35);}
body.lx-app .lx-invite-share-img img{width:100%;display:block;}
body.lx-app .lx-invite-share-copy h3{font-size:18px;font-weight:800;margin:0 0 8px;color:#1f2329;}
body.lx-app .lx-invite-share-copy p{font-size:13px;color:#3a3f4d;line-height:1.7;margin:0 0 14px;}
body.lx-app .lx-invite-share-link{display:flex;align-items:center;gap:8px;margin:0 0 14px;}
body.lx-app .lx-invite-share-link span{font-size:11px;color:#8b8e98;letter-spacing:.14em;text-transform:uppercase;flex:0 0 auto;}
body.lx-app .lx-invite-share-link input{flex:1 1 auto;font-size:12px;color:#3a3f4d;border:1px solid #ececef;background:#fff;border-radius:8px;padding:7px 10px;font-family:Menlo,Consolas,monospace;}
body.lx-app .lx-invite-share-copy .lx-button-primary{background:linear-gradient(135deg,#ffd479 0%,#ffb547 100%);color:#1f2329;border:none;font-weight:700;padding:10px 22px;border-radius:999px;font-size:13px;}
body.lx-app .lx-invite-share-copy .lx-button-primary:hover{transform:translateY(-1px);box-shadow:0 6px 18px -8px rgba(255,180,71,.6);}

/* 我的邀请列表 */
body.lx-app .lx-invite-invitees{margin:0 0 24px;background:#fff;border:1px solid #ececef;border-radius:20px;padding:22px 26px;}
body.lx-app .lx-invite-empty{font-size:13px;color:#8b8e98;text-align:center;padding:24px 14px;margin:0;background:#fafafa;border-radius:12px;border:1px dashed #ececef;}
body.lx-app .lx-invite-invitee-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px;}
body.lx-app .lx-invite-invitee-list li{display:grid;grid-template-columns:1fr 130px 110px 130px;gap:10px;align-items:center;background:#fafafa;border-radius:12px;padding:10px 14px;font-size:12.5px;}
body.lx-app .lx-invite-invitee-name{font-weight:600;color:#1f2329;}
body.lx-app .lx-invite-invitee-phone{color:#8b8e98;font-family:Menlo,Consolas,monospace;font-size:11.5px;}
body.lx-app .lx-invite-invitee-status{font-size:11px;font-weight:700;padding:3px 8px;border-radius:999px;text-align:center;}
body.lx-app .lx-invite-invitee-status.ok{background:#e9f9f1;color:#0e9f5b;}
body.lx-app .lx-invite-invitee-status.pending{background:#fff3e8;color:#e07a00;}
body.lx-app .lx-invite-invitee-time{font-size:11px;color:#8b8e98;}

/* 排行榜 */
body.lx-app .lx-invite-leaderboard{margin:0 0 24px;background:linear-gradient(135deg,#fff8ed 0%,#fff 50%,#f7f0ff 100%);border:1px solid #f0e6d8;border-radius:20px;padding:22px 26px;box-shadow:0 8px 28px -16px rgba(193,158,72,.30);}
body.lx-app .lx-invite-board-toggle{display:flex;gap:8px;margin-bottom:16px;background:#fafafa;padding:6px;border-radius:14px;border:1px solid #ececef;width:fit-content;}
body.lx-app .lx-invite-tab{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border-radius:10px;border:none;background:transparent;color:#5f6473;font-weight:600;font-size:13px;cursor:pointer;transition:all .2s ease;}
body.lx-app .lx-invite-tab:hover{color:#1f2329;}
body.lx-app .lx-invite-tab.is-active{background:#fff;color:#1f2329;box-shadow:0 4px 14px -6px rgba(0,0,0,.18);}
body.lx-app .lx-invite-tab-num{font-size:14px;}
body.lx-app .lx-invite-rank-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px;}
body.lx-app .lx-invite-rank-row{display:grid;grid-template-columns:56px 1fr 120px;gap:14px;align-items:center;background:#fff;border:1px solid #ececef;border-radius:14px;padding:12px 16px;transition:transform .2s ease, box-shadow .2s ease;}
body.lx-app .lx-invite-rank-row:hover{transform:translateX(2px);box-shadow:0 6px 18px -10px rgba(0,0,0,.15);}
body.lx-app .lx-invite-rank-medal{position:relative;display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;font-weight:800;font-size:14px;color:#fff;background:linear-gradient(135deg,#bfc6d4,#7d8aa3);font-family:Menlo,Consolas,monospace;}
body.lx-app .lx-invite-rank-medal[data-medal="1"]{background:radial-gradient(circle at 30% 30%,#fde6a4 0%,#f3c34a 40%,#c7901f 100%);color:#7a4f00;box-shadow:0 4px 12px -4px rgba(243,195,74,.6),inset 0 -2px 4px rgba(0,0,0,.15);}
body.lx-app .lx-invite-rank-medal[data-medal="2"]{background:radial-gradient(circle at 30% 30%,#e8ebf3 0%,#bfc6d4 40%,#7d8aa3 100%);color:#3a4555;box-shadow:0 4px 12px -4px rgba(125,138,163,.6),inset 0 -2px 4px rgba(0,0,0,.15);}
body.lx-app .lx-invite-rank-medal[data-medal="3"]{background:radial-gradient(circle at 30% 30%,#f1dec5 0%,#c7966b 40%,#8d5a30 100%);color:#fff;box-shadow:0 4px 12px -4px rgba(199,150,107,.6),inset 0 -2px 4px rgba(0,0,0,.15);}
body.lx-app .lx-invite-rank-medal svg{position:absolute;top:-4px;right:-4px;width:18px;height:18px;color:rgba(255,255,255,.85);filter:drop-shadow(0 1px 2px rgba(0,0,0,.2));}
body.lx-app .lx-invite-rank-medal[data-medal="1"] svg{color:#f3c34a;}
body.lx-app .lx-invite-rank-medal[data-medal="2"] svg{color:#fff;}
body.lx-app .lx-invite-rank-medal[data-medal="3"] svg{color:#fff;}
body.lx-app .lx-invite-rank-medal b{font-size:18px;line-height:1;}
body.lx-app .lx-invite-rank-name{display:flex;flex-direction:column;gap:2px;min-width:0;}
body.lx-app .lx-invite-rank-name b{font-weight:700;color:#1f2329;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
body.lx-app .lx-invite-rank-name small{font-family:Menlo,Consolas,monospace;color:#8b8e98;font-size:11.5px;}
body.lx-app .lx-invite-rank-score{display:flex;flex-direction:column;align-items:flex-end;gap:0;}
body.lx-app .lx-invite-rank-score b{font-size:18px;font-weight:800;color:#5a72fa;line-height:1.1;}
body.lx-app .lx-invite-rank-score small{font-size:10.5px;color:#8b8e98;letter-spacing:.08em;}
body.lx-app .lx-invite-rank-row.top.rank-1{background:linear-gradient(135deg,#fff8e0 0%,#fffef8 60%);border-color:#f3c34a;}
body.lx-app .lx-invite-rank-row.top.rank-2{background:linear-gradient(135deg,#f5f6fa 0%,#fff 60%);border-color:#bfc6d4;}
body.lx-app .lx-invite-rank-row.top.rank-3{background:linear-gradient(135deg,#f6ecdd 0%,#fff 60%);border-color:#c7966b;}
body.lx-app .lx-invite-board-foot{margin-top:14px;font-size:11px;color:#8b8e98;text-align:center;padding-top:10px;border-top:1px dashed #ececef;}

/* H5 单列适配 */
@media (max-width:680px){
  body.lx-app .lx-invite-hero-bar{grid-template-columns:1fr;padding:18px 20px;gap:14px;}
  body.lx-app .lx-invite-meta{grid-template-columns:repeat(2,1fr);}
  body.lx-app .lx-invite-prize-grid{grid-template-columns:repeat(2,1fr);gap:10px;}
  body.lx-app .lx-invite-share-grid{grid-template-columns:1fr;}
  body.lx-app .lx-invite-invitee-list li{grid-template-columns:1fr;gap:4px;}
  body.lx-app .lx-invite-rank-row{grid-template-columns:44px 1fr 90px;gap:10px;padding:10px 12px;}
  body.lx-app .lx-invite-rank-medal{width:38px;height:38px;}
  body.lx-app .lx-invite-rank-medal svg{width:14px;height:14px;}
  body.lx-app .lx-invite-rank-medal b{font-size:14px;}
  body.lx-app .lx-invite-rule-list li{flex-direction:column;gap:6px;}
  body.lx-app .lx-invite-rule-icon{width:28px;height:28px;font-size:12px;}
}

/* PC 双端容器 */
@media (min-width:980px){
  body.lx-app .lx-invite-hero,
  body.lx-app .lx-invite-deadline,
  body.lx-app .lx-invite-prizes,
  body.lx-app .lx-invite-rules,
  body.lx-app .lx-invite-share,
  body.lx-app .lx-invite-invitees,
  body.lx-app .lx-invite-leaderboard{max-width:980px;margin-left:auto;margin-right:auto;}
  body.lx-app .lx-invite-hero-bar{grid-template-columns:1.2fr .8fr;padding:28px 32px;}
  body.lx-app .lx-invite-hero-title h1{font-size:30px;}
  body.lx-app .lx-invite-meta{grid-template-columns:repeat(4,1fr);padding:18px 32px 24px;}
  body.lx-app .lx-invite-prize-grid{grid-template-columns:repeat(5,1fr);gap:18px;}
  body.lx-app .lx-invite-share-grid{grid-template-columns:280px 1fr;gap:32px;padding:28px;}
  body.lx-app .lx-invite-rank-row{grid-template-columns:64px 1fr 140px;gap:18px;padding:14px 20px;}
  body.lx-app .lx-invite-rank-medal{width:56px;height:56px;}
  body.lx-app .lx-invite-rank-medal b{font-size:20px;}
}


/* ===== 邀请活动 · 游客态 / 交互补齐 (lx9.10) ===== */
.lx-invite-strip-btn{border:none;font-family:inherit;cursor:pointer;line-height:1.2;}
.lx-invite-codebox-row .lx-invite-login-cta{flex:1 1 auto;justify-content:center;text-align:center;padding:14px 18px;font-size:15px;border-radius:12px;}
.lx-invite-meta-guest{grid-template-columns:repeat(3,1fr);}
.lx-invite-share-link{gap:10px;}
.lx-invite-share-link .lx-button{flex:0 0 auto;white-space:nowrap;padding:9px 14px;font-size:13px;border-radius:8px;}
.lx-invite-share-guest{margin:0 0 14px;padding:12px 14px;border-radius:12px;background:rgba(120,110,255,.08);color:#4a4f60;font-size:13px;line-height:1.65;}
@keyframes lxFadeUp{from{opacity:0;transform:translateY(8px);}to{opacity:1;transform:none;}}
@media(max-width:560px){
  .lx-invite-share-link{flex-wrap:wrap;}
  .lx-invite-share-link input{flex:1 1 100%;}
  .lx-invite-share-link .lx-button{flex:1 1 100%;justify-content:center;}
}
