/* ================================================================
 * dashboard-hub.css — Lumenizer 个人中心 · Tesla-Dark 暗色主题
 * 版本：2.0  仅在 is_account_page() 时加载，不污染主题其他页面
 * ================================================================ */

/* ── 基础变量 ── */
.lmz-hub {
  --hub-bg:       #080b14;
  --hub-surface:  rgba(255,255,255,.05);
  --hub-border:   rgba(255,255,255,.09);
  --hub-fg:       #ffffff;
  --hub-fg-mute:  #e5e7eb;
  --hub-fg-dim:   #94a3b8;
  --hub-purple:   #7c3aed;
  --hub-purple-l: #a78bfa;
  --hub-gold:     #e8c97a;
  --hub-green:    #4ade80;
  --hub-red:      #f87171;
  --hub-warn:     #fbbf24;
  --hub-success:  #4ade80;
  --hub-danger:   #f87171;
  font-family: -apple-system, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background:#f3f3fb !important;
  min-height: 100vh;
  box-sizing: border-box;
}

/* ── 外层布局容器（最大宽度 + 居中） ── */
.lmz-hub-layout {
  display: flex;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  min-height: 100vh;
  gap: 0;
  color:#17244c;
  overflow-x: hidden;
}

/* ================================================================
 * 侧边栏（桌面端固定 220px）
 * ================================================================ */
.lmz-hub-sidebar {
  width: 220px;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 32px 0 24px;
  box-sizing: border-box;
  border-right: 1px solid rgba(255,255,255,.07);
}

/* 用户信息块 */
.lmz-hub-sidebar__user {
  padding: 0 20px 28px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  margin-bottom: 12px;
}
/* 昵称可编辑区域 */
.lmz-hub-user-name {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.lmz-nickname-text {
  font-size: 16px;
  font-weight: 600;
  color:#17244c;
  letter-spacing: -0.01em;
}
.lmz-nickname-edit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:none;
  border:none;
  padding: 4px 5px;
  cursor: pointer;
  color:#5e6985;
  opacity: 0.35;
  transition: opacity .15s, color .15s;
  line-height: 1;
  flex-shrink: 0;
}
.lmz-hub-user-name:hover .lmz-nickname-edit-btn,
.lmz-nickname-edit-btn:focus {
  opacity: 1;
}
.lmz-nickname-edit-btn:hover {
  color:var(--hub-purple, #7b61aa);
  opacity: 1;
}
.lmz-nickname-edit {
  margin-bottom: 4px;
}
.lmz-nickname-edit input {
  width: 100%;
  background:rgba(255,255,255,.06);
  border:1px solid #e1e2ed;
  border-radius: 6px;
  color:#17244c;
  font-size: 14px;
  padding: 5px 10px;
  outline: none;
  box-sizing: border-box;
  transition: border-color .15s;
}
.lmz-nickname-edit input:focus {
  border-color:var(--hub-purple, #d6d3e7);
}
.lmz-nickname-edit__actions {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}
.lmz-nickname-save-btn,
.lmz-nickname-cancel-btn {
  flex: 1;
  border:none;
  border-radius: 5px;
  font-size: 12px;
  padding: 4px 0;
  cursor: pointer;
  transition: opacity .15s;
}
.lmz-nickname-save-btn {
  background:var(--hub-purple, #eeebfa);
  color:#17244c;
  font-weight: 600;
}
.lmz-nickname-cancel-btn {
  background:rgba(255,255,255,.08);
  color:#5e6985;
}
.lmz-nickname-save-btn:disabled {
  opacity: .55;
  cursor: not-allowed;
}
/* 保留原 name 类兼容其他引用 */
.lmz-hub-sidebar__name {
  font-size: 16px;
  font-weight: 600;
  color:#17244c;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.lmz-hub-sidebar__phone {
  font-size: 12px;
  color:#5e6985;
  margin-bottom: 10px;
}
.lmz-hub-sidebar__badge {
  display: inline-flex;
  align-items: center;
  background:linear-gradient(135deg, #eeebfa, #eeebfa);
  color:#17244c !important;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}

/* 侧边导航 */
.lmz-hub-sidebar__nav {
  flex: 1;
  overflow-y: auto;
  padding: 0 12px;
  scrollbar-width: none;
}
.lmz-hub-sidebar__nav::-webkit-scrollbar { display: none; }

/* 侧边 Tab 按钮（复用 .lmz-hub__tab） */
.lmz-hub-sidebar__nav .lmz-hub__tab {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 11px 12px;
  background:none;
  border:none;
  border-left: 3px solid transparent;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  color:#5e6985 !important;
  text-align: left;
  transition: color .15s, border-color .15s, background .15s;
  box-sizing: border-box;
  letter-spacing: 0;
  margin-bottom: 2px;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
}
.lmz-hub-sidebar__nav .lmz-hub__tab::before,
.lmz-hub-sidebar__nav .lmz-hub__tab::after { display: none !important; }
.lmz-hub-sidebar__nav .lmz-hub__tab:hover {
  color:#17244c !important;
  background:rgba(255,255,255,.04);
  border-left-color: rgba(124,58,237,.4);
}
.lmz-hub-sidebar__nav .lmz-hub__tab.is-active {
  color:#17244c !important;
  font-weight: 600;
  background:#eeebfa;
  border-left-color: #7c3aed;
}

/* 侧边栏链接（收货地址等非 tab） */
.lmz-hub-sidebar__link {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 11px 12px;
  background:none;
  border-left: 3px solid transparent;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  font-weight: 400;
  color:#5e6985 !important;
  text-decoration: none;
  transition: color .15s, border-color .15s, background .15s;
  box-sizing: border-box;
  margin-bottom: 2px;
  white-space: nowrap;
}
.lmz-hub-sidebar__link:hover {
  color:#17244c !important;
  background:rgba(255,255,255,.04);
  border-left-color: rgba(124,58,237,.4);
  text-decoration: none;
}

/* 徽章数字 / 小圆点 */
.lmz-hub-sidebar__meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:rgba(255,255,255,.12);
  color:#5e6985 !important;
  font-size: 11px;
  font-weight: 500;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  margin-left: auto;
  font-style: normal;
}
.lmz-hub-sidebar__badge-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background:#f87171;
  margin-left: auto;
  flex-shrink: 0;
}

/* 退出登录 */
.lmz-hub-sidebar__footer {
  padding: 16px 12px 0;
  border-top: 1px solid rgba(255,255,255,.07);
  margin-top: 8px;
}
.lmz-hub-sidebar__logout {
  display: block;
  padding: 10px 12px;
  font-size: 13px;
  color:#f87171 !important;
  text-decoration: none;
  transition: color .15s;
  border-radius: 6px;
}
.lmz-hub-sidebar__logout:hover {
  color:#fca5a5 !important;
  background:rgba(248,113,113,.08);
}

/* ================================================================
 * 手机端顶部横向 Tab 栏（桌面隐藏）
 * ================================================================ */
.lmz-hub-mobile-tabs {
  display: none; /* 桌面端隐藏 */
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  background:rgba(255,255,255,.03);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 0 4px;
  scrollbar-width: none;
  gap: 0;
  -webkit-overflow-scrolling: touch;
}
.lmz-hub-mobile-tabs::-webkit-scrollbar { display: none; }

.lmz-hub-mobile-tabs .lmz-hub__tab {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 12px 14px;
  background:none;
  border:none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  color:#5e6985 !important;
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color .15s, border-color .15s;
  box-sizing: border-box;
  text-decoration: none;
}
.lmz-hub-mobile-tabs .lmz-hub__tab:hover {
  color:#17244c !important;
}
.lmz-hub-mobile-tabs .lmz-hub__tab.is-active {
  color:#17244c !important;
  font-weight: 600;
  border-bottom-color: #7c3aed;
}
.lmz-hub-mobile-tabs__dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background:#f87171;
  flex-shrink: 0;
  vertical-align: middle;
}

/* ================================================================
 * 内容区（右侧 flex:1）
 * ================================================================ */
.lmz-hub-content {
  flex: 1;
  min-width: 0;
  padding: 32px 0 48px 36px;
  box-sizing: border-box;
}

/* Tab 面板：隐藏/显示 */
.lmz-hub__panel {
  display: none;
}
.lmz-hub__panel.is-active {
  display: block;
}

/* 面板标题（section-title 已隐藏，保留结构） */
.lmz-hub__section-title {
  display: none !important;
}

/* 返回按钮（手机端用，桌面端隐藏） */
.lmz-back-btn {
  display: none;
  align-items: center;
  gap: 6px;
  background:none;
  border:none;
  color:#7b61aa;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 0 0 16px 0;
  font-family: inherit;
}
.lmz-back-btn:hover { color:#7b61aa; }

/* ================================================================
 * 我的主页面板
 * ================================================================ */

/* ① 三格数据条 */
.lmz-dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border:1px solid #e1e2ed;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 28px;
}
.lmz-dash-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 12px 18px;
  gap: 6px;
  position: relative;
}
.lmz-dash-stat + .lmz-dash-stat::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background:rgba(255,255,255,.09);
}
.lmz-dash-stat__value {
  font-size: 28px;
  font-weight: 700;
  color:#17244c !important;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.lmz-dash-stat__value--green { color:#7b61aa !important; }
.lmz-dash-stat__value--gold  { color:#7b61aa !important; }
.lmz-dash-stat__label {
  font-size: 11px;
  color:#5e6985 !important;
  letter-spacing: .04em;
  white-space: nowrap;
}

/* Section 包装 */
.lmz-dash-section {
  margin-bottom: 28px;
}

/* ② 漂流瓶 / 专属邀请 */
.lmz-dash-referral {
  background:rgba(255,255,255,.03);
  border:1px solid #e1e2ed;
  border-radius: 12px;
  padding: 20px 20px 16px;
}
.lmz-dash-referral__title {
  font-size: 11px;
  font-weight: 600;
  color:#7b61aa !important;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.lmz-dash-referral__row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.lmz-dash-referral__row--link { margin-bottom: 12px; }
.lmz-dash-referral__code {
  font-family: "SF Mono", Consolas, monospace;
  font-size: 20px;
  font-weight: 700;
  color:#17244c !important;
  letter-spacing: .08em;
  flex: 1;
}
.lmz-dash-referral__label {
  font-size: 11px;
  color:#7b61aa !important;
  letter-spacing: .1em;
  margin: 0 0 5px;
  line-height: 1;
}
.lmz-dash-referral__link {
  font-size: 15px;
  color:#17244c !important;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lmz-dash-copy-btn {
  flex-shrink: 0;
  background:transparent;
  border:1px solid #e1e2ed;
  color:#7b61aa !important;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, border-color .15s;
  font-family: inherit;
}
.lmz-dash-copy-btn:hover {
  background:#eeebfa;
  border-color:#e1e2ed;
}
.lmz-dash-referral__hint {
  font-size: 12px;
  color:#475569 !important;
  margin: 0;
  line-height: 1.5;
}

/* ── 推荐码 / 专属链接 说明折叠 ── */
.lmz-dash-info-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
}
.lmz-dash-info-row .lmz-dash-referral__label {
  margin-bottom: 0;
  flex: 1;
}
.lmz-dash-qmark {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border:1px solid #e1e2ed;
  background:transparent;
  color:#7b61aa !important;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, border-color .15s;
  padding: 0;
  font-family: inherit;
  letter-spacing: 0;
}
.lmz-dash-qmark:hover,
.lmz-dash-qmark[aria-expanded="true"] {
  background:#eeebfa;
  border-color:#e1e2ed;
}
.lmz-dash-info-tip {
  display: none;
  font-size: 12px;
  color:#5e6985 !important;
  line-height: 1.7;
  background:#eeebfa;
  border:1px solid #e1e2ed;
  border-radius: 8px;
  padding: 10px 13px;
  margin: 0 0 10px;
}
.lmz-dash-info-tip.is-open {
  display: block;
}

.lmz-dash-referral__locked {
  font-size: 13px;
  color:#475569 !important;
  line-height: 1.6;
  margin: 6px 0 0;
  padding: 10px 0 2px;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* 推荐码锁定信息块 */
.lmz-dash-referral__lock-info {
  margin: 10px 0 4px;
  padding: 10px 12px;
  background:#eeebfa;
  border:1px solid #e1e2ed;
  border-radius: 8px;
}
.lmz-dash-referral__lock-title {
  font-size: 13px;
  font-weight: 600;
  color:#5e6985 !important;
  margin: 0 0 4px;
}
.lmz-dash-referral__lock-sub {
  font-size: 12px;
  color:#5e6985 !important;
  margin: 0 0 6px;
}
.lmz-dash-referral__lock-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lmz-dash-referral__lock-list li {
  font-size: 12px;
  color:#7b61aa !important;
  line-height: 1.5;
}

/* 推荐码修改成功 toast */
.lmz-rename-toast {
  display: inline-block;
  margin-left: 8px;
  font-size: 12px;
  font-weight: 600;
  color:#7b61aa;
  vertical-align: middle;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.lmz-rename-toast.is-visible { opacity: 1; }

/* 修改推荐码行内区域 */
.lmz-dash-referral__rule-link {
  display: inline-block;
  margin-top: 8px;
  margin-bottom: 2px;
  font-size: 12px;
  color:#7b61aa;
  text-decoration: none;
  opacity: .85;
  transition: opacity .15s;
}
.lmz-dash-referral__rule-link:hover { opacity: 1; text-decoration: underline; }
.lmz-dash-rename-wrap {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.lmz-dash-rename__toggle {
  background:none;
  border:none;
  padding: 0;
  font-size: 12px;
  color:#7b61aa !important;
  cursor: pointer;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.lmz-dash-rename__toggle:hover { color:#7b61aa !important; }
.lmz-dash-rename__locked {
  font-size: 12px;
  color:#475569 !important;
}
.lmz-dash-rename__form { margin-top: 10px; }
.lmz-dash-rename__input-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.lmz-dash-rename__prefix {
  font-size: 14px;
  font-weight: 600;
  color:#5e6985 !important;
  white-space: nowrap;
  font-family: "SF Mono", Consolas, monospace;
  letter-spacing: .04em;
}
.lmz-dash-rename__input {
  flex: 1;
  min-width: 100px;
  max-width: 200px;
  padding: 7px 10px;
  border-radius: 8px;
  border:1px solid #e1e2ed;
  background:rgba(255,255,255,.05);
  color:#17244c !important;
  font-size: 14px;
  font-family: "SF Mono", Consolas, monospace;
  letter-spacing: .04em;
  outline: none;
  text-transform: uppercase;
}
.lmz-dash-rename__input:focus { border-color:#e1e2ed; }
.lmz-dash-rename__submit {
  padding: 7px 14px;
  border-radius: 8px;
  border:none;
  background:#eae9f6;
  color:#17244c !important;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}
.lmz-dash-rename__submit:hover { background:#eeebfa; }
.lmz-dash-rename__submit:disabled { opacity: .5; cursor: not-allowed; }
.lmz-dash-rename__rule {
  font-size: 11px;
  color:#475569 !important;
  margin: 6px 0 0;
  line-height: 1.4;
}

/* ③ 快速入口（2列列表） */
.lmz-dash-quicklinks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background:rgba(255,255,255,.07);
  border:1px solid #e1e2ed;
  border-radius: 12px;
  overflow: hidden;
}
.lmz-dash-quicklink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background:#f3f3fb;
  border:none;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
  text-align: left;
  text-decoration: none;
  gap: 8px;
}
.lmz-dash-quicklink:hover {
  background:rgba(255,255,255,.04);
}
.lmz-dash-quicklink__name {
  font-size: 14px;
  font-weight: 400;
  color:#17244c !important;
}
.lmz-dash-quicklink__arrow {
  font-size: 16px;
  color:#475569 !important;
  flex-shrink: 0;
}

/* ================================================================
 * 通用面板内容样式（暗色主题）
 * ================================================================ */
.lmz-hub__panel {
  color:#17244c !important;
}
.lmz-hub__panel * {
  color:inherit;
}
.lmz-hub__panel h2,
.lmz-hub__panel h3,
.lmz-hub__panel h4 {
  color:#17244c !important;
}
.lmz-hub__panel p:not(.lmz-empty) {
  color:#17244c;
}
.lmz-hub__panel label {
  color:#5e6985 !important;
}
.lmz-hub__panel small {
  color:#5e6985 !important;
}

/* Panel 内 subsection 标题 */
.lmz-hub__panel .lmz-subsection-title {
  font-size: 11px;
  font-weight: 600;
  color:#5e6985 !important;
  margin: 24px 0 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── 卡片 ── */
.lmz-card {
  background:rgba(255,255,255,.04) !important;
  border:1px solid #e1e2ed !important;
  border-radius: 12px !important;
  padding: 20px !important;
  margin-bottom: 16px !important;
  color:#17244c !important;
  box-shadow: none !important;
}
.lmz-card__title {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 16px;
  color:#17244c !important;
}

/* ── Lux 钱包卡 ── */
.lmz-card--lux {
  border-top: 3px solid #e8c97a !important;
}
.lmz-card--lux .lmz-card__title { color:#5e6985 !important; font-size: 13px !important; font-weight: 500 !important; }
.lmz-card--lux .lmz-wallet-hero__num  { color:#7b61aa !important; }
.lmz-card--lux .lmz-wallet-hero__unit { color:#7b61aa !important; }

/* ── WBJ 积分卡 ── */
.lmz-card--wbj {
  border-top: 3px solid #9BAAB8 !important;
}
.lmz-card--wbj .lmz-card__title { color:#5e6985 !important; font-size: 13px !important; font-weight: 500 !important; }
.lmz-card--wbj .lmz-wallet-hero__num--wbj { color:#17244c !important; }
.lmz-card--wbj .lmz-wallet-hero__unit { color:#5e6985 !important; }

/* ── 钱包余额区块 ── */
.lmz-wallet-hero {
  margin-bottom: 20px;
}
.lmz-wallet-hero__balance {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}
.lmz-wallet-hero__num {
  font-size: 40px;
  font-weight: 700;
  color:#7b61aa !important;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.lmz-wallet-hero__num--wbj {
  color:#17244c !important;
}
.lmz-wallet-hero__unit {
  font-size: 16px;
  font-weight: 500;
  color:#5e6985 !important;
}
.lmz-wallet-hero__cny,
.lmz-wallet-hero__hint {
  font-size: 13px;
  color:#5e6985 !important;
  margin: 0;
}
.lmz-wallet-hero__pending {
  font-size: 12px;
  color:#7b61aa !important;
  margin-top: 4px;
}

/* ── 表格 ── */
.lmz-table-wrap { overflow-x: auto; }
.lmz-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.lmz-table th,
.lmz-table td {
  padding: 9px 12px;
  text-align: left;
  border-bottom: 1px solid #1e293b;
}
.lmz-table th {
  font-size: 11px;
  font-weight: 500;
  color:#5e6985 !important;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-bottom-color: #1e293b !important;
}
.lmz-table td {
  color:#17244c !important;
}
.lmz-table tr:last-child td {
  border-bottom: 0;
}
.lmz-empty-cell {
  text-align: center;
  padding: 24px;
  color:#5e6985 !important;
}

/* ── 状态徽章 ── */
.lmz-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  color:#17244c !important;
}
.lmz-badge--approved,
.lmz-badge--available,
.lmz-badge--completed {
  background:#edf4f6;
  color:#7b61aa !important;
  border:1px solid #d6d3e7;
}
.lmz-badge--pending,
.lmz-badge--wc-pending,
.lmz-badge--wc-on-hold {
  background:#edf4f6;
  color:#7b61aa !important;
  border:1px solid #d6d3e7;
}
.lmz-badge--rejected,
.lmz-badge--wc-cancelled,
.lmz-badge--wc-refunded,
.lmz-badge--wc-failed {
  background:rgba(248,113,113,.15);
  color:#f87171 !important;
  border:1px solid rgba(248,113,113,.3);
}
.lmz-badge--withdrawn,
.lmz-badge--processing,
.lmz-badge--wc-processing {
  background:#eeebfa;
  color:#7b61aa !important;
  border:1px solid #d6d3e7;
}
.lmz-badge--wc-completed {
  background:#edf4f6;
  color:#7b61aa !important;
  border:1px solid #d6d3e7;
}
.lmz-badge--voided,
.lmz-badge--reversed {
  background:rgba(148,163,184,.12);
  color:#5e6985 !important;
  border:1px solid #d6d3e7;
}

/* 状态徽章（其他样式） */
.lmz-status-badge {
  display: inline-block;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
  color:#17244c !important;
}
.lmz-status-orange { background:#edf4f6;   color:#7b61aa !important; }
.lmz-status-blue   { background:#eeebfa;  color:#7b61aa !important; }
.lmz-status-purple { background:#eeebfa;  color:#7b61aa !important; }
.lmz-status-red    { background:rgba(248,113,113,.15); color:#f87171 !important; }
.lmz-status-green  { background:#edf4f6;   color:#7b61aa !important; }
.lmz-status-gray   { background:rgba(148,163,184,.12); color:#5e6985 !important; }

/* ── 金额颜色 ── */
.lmz-amount { font-weight: 600; font-variant-numeric: tabular-nums; }
.lmz-amount--up   { color:#7b61aa !important; }
.lmz-amount--down { color:#f87171 !important; }
.lmz-muted  { color:#5e6985 !important; }
.lmz-mono   { font-family: "SF Mono", Consolas, monospace; font-size: 12px; }
.lmz-empty  { color:#5e6985 !important; font-size: 13px; padding: 16px 0; }

/* ── 按钮 ── */
.lmz-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border:1px solid transparent;
  transition: opacity .15s, transform .1s;
  text-decoration: none;
  line-height: 1.4;
  font-family: inherit;
}
.lmz-btn:hover    { opacity: .88; transform: translateY(-1px); }
.lmz-btn:active   { transform: translateY(0); }
.lmz-btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.lmz-btn--primary  { background:#eeebfa; color:#17244c !important; border-color:#e1e2ed; }
.lmz-btn--outline  {
  background:transparent;
  color:#7b61aa !important;
  border-color:#e1e2ed;
}
.lmz-btn--outline:hover { background:#eeebfa !important; }
.lmz-btn--ghost {
  background:transparent;
  color:#7b61aa !important;
  border-color:#e1e2ed;
}
.lmz-btn--ghost:hover { background:#eeebfa !important; }
.lmz-btn--sm   { padding: 5px 12px; font-size: 12px; }
.lmz-btn--violet { background:#eeebfa; color:#17244c !important; border-color:#e1e2ed; }

/* ── 进度条 ── */
.lmz-progress-bar {
  height: 8px;
  background:rgba(255,255,255,.1) !important;
  border-radius: 999px;
  overflow: hidden;
}
.lmz-progress-bar__fill {
  height: 100%;
  background:linear-gradient(90deg, #eeebfa, #eeebfa, #eeebfa);
  border-radius: 999px;
  transition: width .4s ease;
}

/* ── 分页 / 展开按钮 ── */
.lmz-pagination { margin-top: 12px; text-align: center; }
.lmz-ledger-toggle-wrap { margin-top: 12px; text-align: center; }
.lmz-ledger-toggle {
  background:transparent;
  border:1px solid #e1e2ed;
  border-radius: 6px;
  color:#5e6985 !important;
  font-size: 13px;
  padding: 6px 18px;
  cursor: pointer;
  transition: border-color .15s, color .15s;
  width: 100%;
  font-family: inherit;
}
.lmz-ledger-toggle:hover { border-color:#e1e2ed; color:#7b61aa !important; }
.lmz-ledger-toggle.is-expanded { color:#7b61aa !important; border-color:#e1e2ed; }
.lmz-ledger-extra { display: none; }

/* ── 输入框 ── */
.lmz-hub__panel input,
.lmz-hub__panel select,
.lmz-hub__panel textarea {
  background:rgba(255,255,255,.06) !important;
  border:1px solid #e1e2ed !important;
  border-radius: 6px;
  color:#17244c !important;
  font-size: 14px;
  padding: 9px 12px;
  outline: none;
  transition: border-color .15s;
  box-sizing: border-box;
}
.lmz-hub__panel input:focus,
.lmz-hub__panel select:focus,
.lmz-hub__panel textarea:focus {
  border-color:#e1e2ed !important;
  box-shadow: 0 0 0 3px rgba(124,58,237,.2);
}
.lmz-hub__panel input::placeholder,
.lmz-hub__panel textarea::placeholder {
  color:#475569 !important;
}
.lmz-hub__panel select option {
  background:#f3f3fb;
  color:#17244c;
}

/* ── 表单 ── */
.lmz-form-label {
  display: block !important;
  font-size: 13px;
  font-weight: 600;
  color:#5e6985 !important;
}
.lmz-form-label > input,
.lmz-form-label > select,
.lmz-form-label > textarea {
  display: block !important;
  margin-top: 6px !important;
  width: 100%;
}
.lmz-form-label > .required,
.lmz-form-label span.required {
  display: inline !important;
  color:#f87171 !important;
  margin-left: 2px !important;
}
.lmz-form-hint { font-size: 11.5px; color:#5e6985 !important; margin-top: 4px; font-weight: 400; }
.lmz-form-msg  { padding: 8px 12px; border-radius: 6px; font-size: 13px; display: none; }
.lmz-form-msg.is-ok  { display: block; background:#edf4f6; color:#7b61aa !important; border:1px solid #d6d3e7; }
.lmz-form-msg.is-err { display: block; background:rgba(248,113,113,.12); color:#f87171 !important; border:1px solid rgba(248,113,113,.3); }

/* ── Tab 内消息数字徽章 ── */
.lmz-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  margin-left: 5px;
  background:#e34c4c;
  color:#17244c !important;
  font-size: 10px;
  font-weight: 700;
  border-radius: 999px;
  line-height: 1;
}

/* ── 弹窗 ── */
.lmz-modal {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0;
  background:#f3f3fb;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  backdrop-filter: blur(4px);
}
.lmz-modal[hidden] { display: none; }
.lmz-modal__box {
  background:#f3f3fb;
  border:1px solid #e1e2ed;
  border-radius: 12px;
  padding: 28px 30px;
  width: 480px;
  max-width: 92vw;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 8px 40px rgba(0,0,0,.7);
}
.lmz-modal__title { font-size: 17px; font-weight: 700; margin: 0 0 6px; color:#17244c !important; }
.lmz-modal__hint  { font-size: 13px; color:#5e6985 !important; margin: 0 0 18px; }
.lmz-modal__form  { display: flex; flex-direction: column; gap: 14px; }
.lmz-modal__actions { display: flex; gap: 10px; padding-top: 4px; }
/* 弹窗内输入框 */
.lmz-modal__box input,
.lmz-modal__box select,
.lmz-modal__box textarea {
  background:rgba(255,255,255,.06) !important;
  border:1px solid #e1e2ed !important;
  color:#17244c !important;
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 13px;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  transition: border-color .15s;
  font-family: inherit;
}
.lmz-modal__box input:focus,
.lmz-modal__box select:focus,
.lmz-modal__box textarea:focus {
  border-color:#e1e2ed !important;
}
.lmz-modal__box input::placeholder,
.lmz-modal__box textarea::placeholder {
  color:#475569 !important;
}
.lmz-modal__box label { color:#5e6985 !important; }
.lmz-modal__box p     { color:#5e6985 !important; }

/* ── 设备卡片网格 ── */
.lmz-devices-header { margin-bottom: 20px; }
.lmz-device-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 16px;
}
.lmz-device-card {
  background:rgba(255,255,255,.04) !important;
  border:1px solid #e1e2ed !important;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, box-shadow .2s;
}
.lmz-device-card:hover {
  border-color:#e1e2ed !important;
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
}
.lmz-device-card__img-wrap {
  position: relative;
  background:#eeebfa;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
}
.lmz-device-card__img { max-height: 130px; max-width: 90%; object-fit: contain; }
.lmz-device-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.lmz-device-placeholder span {
  font-size: 48px; font-weight: 800;
  color:#17244c !important;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.lmz-device-placeholder--omni { background:linear-gradient(135deg,#eeebfa,#eeebfa); }
.lmz-device-placeholder--beam { background:linear-gradient(135deg,#eae9f6,#eeebfa); }
.lmz-device-placeholder--lite { background:linear-gradient(135deg,#eae9f6,#eae9f6); }
.lmz-device-placeholder--pro  { background:linear-gradient(135deg,#b45309,#f59e0b); }
.lmz-device-badge { position: absolute; top: 10px; right: 10px; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.lmz-device-badge--pending  { background:#edf4f6;  color:#7b61aa !important; border:1px solid #d6d3e7;  }
.lmz-device-badge--approved { background:#edf4f6; color:#7b61aa !important; border:1px solid #d6d3e7;  }
.lmz-device-badge--rejected { background:rgba(248,113,113,.18);color:#f87171 !important; border:1px solid rgba(248,113,113,.4); }
.lmz-device-card__body   { padding: 14px 16px; flex: 1; }
.lmz-device-card__model  { font-size: 15px; font-weight: 700; color:#17244c !important; margin-bottom: 10px; }
.lmz-device-card__row    { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: 13px; }
.lmz-device-card__label  { color:#5e6985 !important; }
.lmz-device-card__value  { color:#17244c !important; font-weight: 500; }
.lmz-device-card__footer {
  padding: 12px 16px;
  border-top: 1px solid rgba(255,255,255,.07) !important;
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}

/* 设备详情表 */
.lmz-detail-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 8px; }
.lmz-detail-table th,
.lmz-detail-table td { padding: 9px 12px; text-align: left; border-bottom: 1px solid rgba(255,255,255,.07); }
.lmz-detail-table th { width: 80px; color:#5e6985 !important; font-weight: 500; white-space: nowrap; }
.lmz-detail-table td { color:#17244c !important; }
.lmz-detail-table tr:last-child th,
.lmz-detail-table tr:last-child td { border-bottom: none; }

/* ── 站内信通知 ── */
.lmz-notice {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 16px; border-radius: 8px; margin-bottom: 14px;
  font-size: 13px; line-height: 1.5;
}
.lmz-notice-approved { background:#edf4f6; border:1px solid #d6d3e7; color:#7b61aa !important; }
.lmz-notice-rejected { background:rgba(248,113,113,.08); border:1px solid rgba(248,113,113,.25); color:#f87171 !important; }
.lmz-notice-icon { flex-shrink: 0; font-size: 18px; line-height: 1.2; }
.lmz-notice-body { flex: 1; color:#17244c !important; }
.lmz-notice-time { display: block; font-size: 11px; margin-top: 3px; color:#5e6985 !important; }
/* 驳回提示框单独修正：浅色背景上用深色文字以保证可读性 */
.lmz-notice-rejected .lmz-notice-body { color:#1a1a1a !important; }
.lmz-notice-rejected .lmz-notice-time { color:#555555 !important; }

/* ── 等级面板（重设计） ── */

/* 主卡片 */
.lmz-lv-hero {
  background:linear-gradient(135deg, #f3f3fb 0%, #f3f3fb 50%, #f3f3fb 100%);
  border:1px solid #e1e2ed;
  border-radius: 20px;
  padding: 32px 24px 28px;
  text-align: center;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}
.lmz-lv-hero::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 280px; height: 280px;
  background:radial-gradient(circle, #eeebfa 0%, transparent 70%);
  pointer-events: none;
}
.lmz-lv-hero__icon {
  font-size: 52px; line-height: 1; margin-bottom: 14px;
  filter: drop-shadow(0 0 16px rgba(168,85,247,0.5));
  position: relative;
}
.lmz-lv-hero__name {
  font-size: 28px; font-weight: 800;
  color:#17244c !important;
  letter-spacing: -.5px; margin-bottom: 8px;
  position: relative;
}
.lmz-lv-hero__tagline {
  font-size: 14px;
  color:#17244c !important;
  margin-bottom: 24px;
  font-style: italic;
  position: relative;
}
.lmz-lv-hero__progress { text-align: left; position: relative; }
.lmz-lv-hero__progress-meta {
  display: flex; justify-content: space-between;
  font-size: 12px;
  color:#17244c !important;
  margin-bottom: 10px;
}
.lmz-lv-hero__progress-meta span { color:#17244c !important; }
.lmz-lv-hero__bar {
  height: 6px;
  background:rgba(255,255,255,0.1);
  border-radius: 99px;
  overflow: hidden;
}
.lmz-lv-hero__bar-fill {
  height: 100%;
  background:linear-gradient(to right, #eae9f6, #eeebfa, #edf4f6);
  border-radius: 99px;
  transition: width .5s ease;
}

/* 权益卡片 */
.lmz-lv-benefit-card { margin-bottom: 12px !important; padding: 16px 20px !important; }
.lmz-lv-benefit-card__label {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  color:#17244c !important;
  margin-bottom: 6px;
}
.lmz-lv-benefit-card__text { font-size: 14px; color:#17244c !important; }

/* 横排等级卡片组 */
.lmz-lv-tiers-grid-card { margin-bottom: 12px !important; padding: 18px 20px !important; }
.lmz-lv-tiers-grid-card__label {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  color:#17244c !important;
  margin-bottom: 14px;
}
.lmz-lv-tiers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.lmz-lv-tier-chip {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 6px 10px;
  border-radius: 12px;
  border:1px solid #e1e2ed;
  background:rgba(255,255,255,0.03);
  transition: border-color .2s;
}
.lmz-lv-tier-chip--active {
  border-color:#e1e2ed !important;
  background:#eae9f6 !important;
}
.lmz-lv-tier-chip__icon   { font-size: 22px; line-height: 1; }
.lmz-lv-tier-chip__name   {
  font-size: 12px; font-weight: 600;
  color:#17244c !important;
  text-align: center;
}
.lmz-lv-tier-chip--active .lmz-lv-tier-chip__name { color:#17244c !important; }
.lmz-lv-tier-chip__threshold {
  font-size: 10px;
  color:#17244c !important;
  text-align: center; line-height: 1.3;
}
.lmz-lv-tier-chip__cur-dot {
  position: absolute; top: 6px; right: 6px;
  width: 6px; height: 6px;
  background:#eeebfa;
  border-radius: 50%;
}

/* 成长值明细 */
.lmz-level-ledger-card__title { font-size: 13px; font-weight: 500; color:#17244c !important; margin-bottom: 16px; }
.lmz-level-ledger-table th  { color:#17244c !important; font-size: 12px; }
.lmz-level-ledger-table td  { color:#17244c !important; }
.lmz-level-ledger-table td.lmz-muted      { color:#17244c !important; }
.lmz-level-ledger-table td.lmz-amount--up { color:#7b61aa !important; font-weight: 700; }

/* 响应式：手机端 3 列 */
@media (max-width: 480px) {
  .lmz-lv-tiers-grid { grid-template-columns: repeat(3, 1fr); }
  .lmz-lv-hero__name { font-size: 22px; }
}

/* ── 推荐中心 ── */
.lmz-ref-hero {
  background:linear-gradient(135deg,#eeebfa,#eeebfa);
  border:1px solid #e1e2ed;
  border-radius: 12px;
  padding: 28px 24px;
  margin-bottom: 20px;
  text-align: center;
}
.lmz-ref-hero__title { font-size: 22px; font-weight: 800; color:#17244c !important; margin-bottom: 10px; }
.lmz-ref-hero__sub   { font-size: 13px; color:#5e6985 !important; line-height: 1.7; }
.lmz-ref-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 12px; margin-top: 4px;
}
.lmz-ref-benefit-item {
  background:#eeebfa;
  border:1px solid #e1e2ed;
  border-radius: 8px;
  padding: 14px 10px;
  text-align: center;
  display: flex; flex-direction: column; gap: 6px;
}
.lmz-ref-benefit-item__name   { font-size: 12px; color:#5e6985 !important; font-weight: 600; letter-spacing: .04em; }
.lmz-ref-benefit-item__amount { font-size: 22px; font-weight: 800; color:#7b61aa !important; }
.lmz-ref-lux-tip {
  background:#eeebfa;
  border:1px solid #e1e2ed;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.lmz-ref-lux-tip__text p { margin: 0 0 4px; font-size: 13px; color:#5e6985 !important; line-height: 1.6; }
.lmz-ref-lux-tip__text p:last-child { margin: 0; }
.lmz-ref-footer-hint { font-size: 12px; color:#5e6985 !important; text-align: center; line-height: 1.8; margin: 8px 0 24px; }
.lmz-referral-stats { display: flex; gap: 24px; margin: 12px 0 20px; flex-wrap: wrap; }
.lmz-stat { text-align: center; min-width: 90px; }
.lmz-stat__num   { display: block; font-size: 28px; font-weight: 700; color:#7b61aa !important; }
.lmz-stat__label { font-size: 12px; color:#5e6985 !important; }
.lmz-referral-code-wrap { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.lmz-referral-code {
  font-family: "SF Mono",Consolas,monospace;
  font-size: 28px; font-weight: 700; color:#7b61aa !important;
  letter-spacing: .06em;
  background:#eeebfa !important;
  padding: 10px 18px;
  border:1px solid #e1e2ed;
  border-radius: 8px;
}
.lmz-referral-link-row { display: flex; gap: 10px; flex-wrap: wrap; }
.lmz-relay-input {
  flex: 1 1 260px; min-width: 0;
  background:rgba(255,255,255,.06) !important;
  border:1px solid #e1e2ed !important;
  color:#17244c !important;
  font-family: "SF Mono",Consolas,monospace;
  font-size: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  outline: none;
}
.lmz-rename-row { display: flex; align-items: center; gap: 8px; }
.lmz-rename-prefix {
  font-family: "SF Mono",Consolas,monospace;
  font-size: 15px; font-weight: 600; color:#7b61aa !important;
  background:#eeebfa !important;
  padding: 8px 12px;
  border:1px solid #e1e2ed !important;
  border-radius: 6px; white-space: nowrap;
}
.lmz-ref-link-hint { font-size: 12px; color:#5e6985 !important; margin: 10px 0 0; line-height: 1.6; }

/* ── 推荐码顶部卡片（旧，隐藏） ── */
.lmz-referral-top-card { display: none !important; }

/* ── 换芯券 ── */
.lmz-coupon-list { display: flex; flex-direction: column; gap: 12px; }
.lmz-coupon-card {
  display: flex; justify-content: space-between; align-items: center;
  background:rgba(255,255,255,.04);
  border:1px solid #e1e2ed;
  border-radius: 10px;
  padding: 14px 16px; gap: 12px; flex-wrap: wrap;
}
.lmz-coupon-card__left  { flex: 1; min-width: 0; }
.lmz-coupon-card__no    { font-family: "SF Mono",Consolas,monospace; font-size: 16px; font-weight: 700; color:#7b61aa !important; letter-spacing: .04em; }
.lmz-coupon-card__meta  { display: flex; gap: 8px; align-items: center; margin-top: 4px; flex-wrap: wrap; }
.lmz-coupon-card__right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lmz-coupon-status       { font-size: 12px; padding: 2px 8px; border-radius: 999px; font-weight: 600; color:#17244c !important; }
.lmz-coupon-status--green  { background:#edf4f6;  color:#7b61aa !important; }
.lmz-coupon-status--orange { background:#edf4f6;  color:#7b61aa !important; }
.lmz-coupon-status--gray   { background:rgba(148,163,184,.15);color:#5e6985 !important; }

/* ── 售后维修 ── */
.lmz-repair-order-list { display: flex; flex-direction: column; gap: 10px; }
.lmz-repair-order-item {
  background:rgba(255,255,255,.04);
  border:1px solid #e1e2ed;
  border-radius: 8px;
  padding: 12px 14px;
  color:#17244c !important;
}
#lmz-tab-repair select,
#lmz-tab-repair .lmz-select {
  background:rgba(255,255,255,.06) !important;
  color:#17244c !important;
  border:1px solid #e1e2ed !important;
  border-radius: 8px !important;
}
#lmz-tab-repair select option { background:#f3f3fb; color:#17244c; }

/* ── 售后维修 Info 卡（Tesla 极简风） ── */
.lmz-repair-info-card__title {
  color:#17244c !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  letter-spacing: 0 !important;
  margin-bottom: 14px !important;
}
.lmz-repair-info-card__sub {
  font-size: 12px;
  font-weight: 400;
  color:#475569;
  margin-left: 8px;
}
.lmz-repair-info-card__note {
  font-size: 13px;
  color:#5e6985;
  margin: 10px 0 0;
  line-height: 1.6;
}
.lmz-repair-info-card__note strong {
  color:#5e6985;
  font-weight: 500;
}

/* 流程步骤横排 */
.lmz-repair-steps {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 2px;
  line-height: 1;
}
.lmz-repair-step {
  font-size: 13px;
  color:#5e6985;
  font-weight: 400;
}
.lmz-repair-step-arrow {
  font-size: 12px;
  color:#334155;
  padding: 0 4px;
}

/* 费用列表 */
.lmz-repair-fee-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.lmz-repair-fee-list li {
  font-size: 13px;
  color:#5e6985;
  line-height: 1.7;
  padding: 10px 0 10px 14px;
  border-left: 2px solid rgba(255,255,255,.1);
  margin-left: 2px;
}
.lmz-repair-fee-list li + li {
  margin-top: 8px;
}
.lmz-repair-fee-list li strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color:#17244c;
  margin-bottom: 2px;
}

/* 寄件地址文字 */
.lmz-repair-addr-line {
  font-size: 14px;
  color:#5e6985;
  margin: 0 0 8px;
  line-height: 1.6;
}
.lmz-repair-addr-line strong {
  color:#17244c;
  font-weight: 500;
}

/* 上传按钮 */
.lmz-repair-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 8px 16px;
  background:transparent;
  border:1px solid #e1e2ed;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  color:#5e6985;
  transition: border-color .15s, color .15s;
}
.lmz-repair-upload-btn:hover {
  border-color:#e1e2ed;
  color:#17244c;
}

/* ── 报价确认弹窗 ── */
#lmz-quote-modal {
  display: none;
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background:#f3f3fb; z-index: 99999;
  align-items: center; justify-content: center;
  padding: 16px; box-sizing: border-box;
}
#lmz-quote-modal.lmz-qm-open { display: flex; }
.lmz-qm-inner {
  background:#f3f3fb;
  border:1px solid #e1e2ed;
  border-radius: 14px;
  padding: 28px 28px 24px;
  max-width: 540px; width: 100%; max-height: 90vh; overflow-y: auto;
  position: relative; box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lmz-qm-close { position: absolute; top: 14px; right: 16px; background:none; border:none; font-size: 20px; cursor: pointer; color:#5e6985 !important; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.lmz-qm-close:hover { background:rgba(255,255,255,.08); color:#17244c !important; }
.lmz-qm-title { font-size: 18px; font-weight: 700; color:#17244c !important; margin: 0 0 16px; }
.lmz-qm-info  { background:rgba(255,255,255,.04); border:1px solid #e1e2ed; border-radius: 8px; padding: 14px 16px; margin-bottom: 18px; }
.lmz-qm-info-row   { display: flex; gap: 12px; padding: 4px 0; font-size: 14px; color:#17244c !important; }
.lmz-qm-info-label { color:#5e6985 !important; min-width: 76px; flex-shrink: 0; font-weight: 500; }
.lmz-qm-info-amount{ font-size: 20px; font-weight: 700; color:#f87171 !important; }
.lmz-qm-section-title { font-size: 14px; font-weight: 600; color:#17244c !important; margin: 0 0 10px; }
.lmz-qm-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.lmz-qm-option {
  display: block; padding: 14px 16px;
  border:2px solid #e1e2ed;
  border-radius: 10px;
  cursor: pointer; font-size: 14px; transition: border-color .15s; user-select: none;
  color:#17244c !important;
}
.lmz-qm-option:hover:not(.lmz-qm-opt-disabled) { border-color:#e1e2ed; }
.lmz-qm-option.lmz-qm-opt-disabled { opacity: .55; cursor: not-allowed; }
.lmz-qm-opt-title { font-weight: 600; color:#17244c !important; margin-left: 6px; }
.lmz-qm-opt-note  { display: block; font-size: 12px; color:#5e6985 !important; margin-top: 4px; padding-left: 22px; }
.lmz-qm-opt-extra { margin-top: 10px; padding-left: 22px; }
.lmz-qm-wbj-result{ font-size: 13px; color:#17244c !important; margin-top: 6px; }
.lmz-qm-option input[type=radio] { accent-color: #7c3aed; width: 15px; height: 15px; vertical-align: middle; margin-right: 2px; }
.lmz-btn-quote { display: inline-block; padding: 8px 16px; background:#f59e0b; color:#17244c !important; border:none; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .15s; }
.lmz-btn-quote:hover { background:#d97706; }
.lmz-quote-action-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.lmz-quote-summary { font-size: 13px; color:#5e6985 !important; }
.lmz-quote-summary span { margin-right: 10px; }
.lmz-confirmed-info { font-size: 13px; color:#7b61aa !important; background:#edf4f6; border:1px solid #d6d3e7; border-radius: 6px; padding: 6px 12px; margin-top: 8px; }

/* ── UGC 买家秀 ── */
.lmz-ugc-dropzone {
  border:2px dashed #e1e2ed;
  border-radius: 10px; padding: 20px; cursor: pointer;
  transition: border-color .2s, background .2s;
  min-height: 100px;
  display: flex; align-items: center; justify-content: center; margin-top: 6px;
}
.lmz-ugc-dropzone:hover,
.lmz-ugc-dropzone.over { border-color:#e1e2ed; background:#eeebfa; }
.lmz-ugc-drop-hint { text-align: center; pointer-events: none; color:#5e6985 !important; }
.lmz-ugc-history-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.lmz-ugc-card {
  background:rgba(255,255,255,.04);
  border:1px solid #e1e2ed;
  border-radius: 10px; overflow: hidden;
}
.lmz-ugc-card__img { width: 100%; aspect-ratio: 1; overflow: hidden; background:#f3f3fb; }
.lmz-ugc-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lmz-ugc-card__body { padding: 10px 12px; color:#17244c !important; }
.lmz-ugc-cta-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 14px 20px;
  background:linear-gradient(to top,#f3f3fb 70%,transparent);
  border-radius: 0 0 10px 10px;
  display: flex; justify-content: center;
}
.lmz-ugc-modal { position: fixed; top: 0; right: 0; bottom: 0; left: 0; inset: 0; background:#f3f3fb; display: flex; align-items: center; justify-content: center; z-index: 99999; backdrop-filter: blur(4px); }
.lmz-ugc-modal[hidden] { display: none; }
.lmz-ugc-modal__box { background:#f3f3fb; border:1px solid #e1e2ed; border-radius: 14px; padding: 32px 28px; max-width: 340px; width: 92vw; text-align: center; }
.lmz-ugc-modal__icon  { font-size: 48px; margin-bottom: 12px; }
.lmz-ugc-modal__title { font-size: 17px; font-weight: 700; color:#17244c !important; margin: 0 0 10px; }
.lmz-ugc-modal__body  { font-size: 14px; color:#5e6985 !important; line-height: 1.7; margin: 0 0 20px; }
.lmz-ugc-modal__close { display: inline-block; padding: 8px 28px; border-radius: 6px; background:#edf4f6; color:#000 !important; border:none; cursor: pointer; font-size: 14px; font-weight: 600; }

/* ── 上传区 ── */
.lmz-upzone { border:2px dashed #e1e2ed; border-radius: 8px; padding: 14px 16px; cursor: pointer; transition: border-color .2s; margin-top: 6px; }
.lmz-upzone:hover,
.lmz-upzone.lmz-upzone--over { border-color:#e1e2ed; background:#eeebfa; }
.lmz-upzone-trigger { text-align: center; pointer-events: none; padding: 6px 0; }
.lmz-upzone-trigger span { display: block; font-size: 13px; color:#17244c !important; margin-bottom: 3px; }
.lmz-upzone-trigger small { font-size: 11px; color:#5e6985 !important; }
.lmz-upzone-trigger.is-hidden { display: none; }
.lmz-upzone-previews { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.lmz-upzone-preview { position: relative; width: 72px; height: 72px; flex-shrink: 0; }
.lmz-upzone-preview img { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; border:1px solid #e1e2ed; display: block; }
.lmz-upzone-remove { position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; border-radius: 50%; background:#ef4444; color:#17244c !important; border:none; cursor: pointer; font-size: 10px; line-height: 18px; text-align: center; padding: 0; z-index: 1; }
.lmz-upzone-loading { width: 72px; height: 72px; border-radius: 6px; background:rgba(255,255,255,.04); display: flex; align-items: center; justify-content: center; font-size: 10px; color:#5e6985 !important; border:1px dashed #e1e2ed; }

/* ── 消息通知 ── */
.lmz-notif-item {
  display: flex; gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  border:1px solid #e1e2ed;
  background:rgba(255,255,255,.03);
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  position: relative;
}
.lmz-notif-item:hover { border-color:#e1e2ed; background:#eeebfa; }
.lmz-notif-item.is-unread { border-left: 3px solid #7c3aed; }
.lmz-notif-item__icon    { font-size: 22px; flex-shrink: 0; width: 28px; text-align: center; margin-top: 2px; }
.lmz-notif-item__body    { flex: 1; min-width: 0; }
.lmz-notif-item__title   { font-size: 14px; font-weight: 400; color:#5e6985 !important; margin: 0 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lmz-notif-item.is-unread .lmz-notif-item__title { font-weight: 700; color:#17244c !important; }
.lmz-notif-item__content { font-size: 13px; color:#5e6985 !important; margin: 0 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lmz-notif-item__time    { font-size: 11px; color:#475569 !important; }

/* ── Lux 转维保积分卡 ── */
.lmz-convert-card { border-color:#e1e2ed !important; }
.lmz-convert-card .lmz-card__title { color:#17244c !important; }
.lmz-convert-desc { font-size: 13px; color:#5e6985 !important; margin: 0 0 16px; }
.lmz-convert-balances { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.lmz-convert-bal { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.lmz-convert-bal__num        { font-size: 28px; font-weight: 700; color:#7b61aa !important; }
.lmz-convert-bal__num--wbj   { color:#5e6985 !important; }
.lmz-convert-bal__unit       { font-size: 11px; color:#5e6985 !important; }
.lmz-convert-arrow           { font-size: 22px; color:#475569 !important; flex-shrink: 0; }
.lmz-convert-row             { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.lmz-convert-input {
  flex: 1; min-width: 140px; max-width: 220px;
  padding: 9px 12px;
  background:rgba(255,255,255,.06) !important;
  border:1px solid #e1e2ed !important;
  border-radius: 6px;
  color:#17244c !important;
  font-size: 14px; outline: none; transition: border-color .15s;
}
.lmz-convert-input:focus { border-color:#e1e2ed !important; box-shadow: 0 0 0 3px rgba(124,58,237,.2) !important; }
.lmz-convert-preview { font-size: 13px; color:#5e6985 !important; }
.lmz-convert-preview strong { color:#7b61aa !important; }
.lmz-convert-msg     { font-size: 13px; margin: 10px 0 0; min-height: 20px; }
.lmz-convert-msg.is-ok  { color:#7b61aa !important; }
.lmz-convert-msg.is-err { color:#f87171 !important; }
#lmz-cvt-btn, .lmz-convert-card .lmz-btn { background:#eeebfa !important; color:#17244c !important; border:none !important; }

/* ── 星友身份 Tab ── */
.lmz-profile-hero__sub  { font-size: 14px; color:#5e6985 !important; margin: -14px 0 22px; line-height: 1.6; }
.lmz-profile-info-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lmz-profile-info-item  { display: flex; flex-direction: column; gap: 6px; }
.lmz-profile-info-item__label { font-size: 11px; color:#5e6985 !important; text-transform: uppercase; letter-spacing: .06em; }
.lmz-profile-info-item__value { font-size: 20px; font-weight: 700; color:#17244c !important; }
.lmz-profile-tip-card   { background:#eeebfa !important; border-color:#e1e2ed !important; }
.lmz-profile-tip-list   { display: flex; flex-direction: column; gap: 10px; margin: 0 0 14px; }
.lmz-profile-tip-item   { font-size: 14px; color:#17244c !important; padding: 10px 14px; background:rgba(255,255,255,.04); border-radius: 7px; border-left: 3px solid #7c3aed; line-height: 1.6; }
.lmz-profile-tip-note   { font-size: 12px; color:#5e6985 !important; margin: 0; line-height: 1.7; }
.lmz-profile-settings-toggle { display: flex; align-items: center; justify-content: space-between; }

/* ── 订单列表 ── */
.lmz-orders-wrap { min-height: 80px; }
#lmz-tab-orders td,
#lmz-tab-legacy_orders td { color:#17244c !important; }
#lmz-tab-orders th,
#lmz-tab-legacy_orders th { color:#5e6985 !important; }
#lmz-tab-orders a,
#lmz-tab-legacy_orders a  { color:#7b61aa !important; }
.lmz-orders-wrap .lmz-table { color:#17244c !important; }
.lmz-orders-wrap .lmz-muted { color:#5e6985 !important; }

/* ── 提现按钮/弹窗（隐藏，原来就隐藏的） ── */
#lmz-wd-open, #lmz-modal-wd { /* 显示 - 现在可见 */ }

/* ── 打印样式 ── */
@media print {
  .lmz-hub-sidebar,
  .lmz-hub-mobile-tabs,
  .lmz-modal,
  .lmz-btn,
  .lmz-back-btn { display: none !important; }
  body { font-family: sans-serif; font-size: 13px; color:#000; }
  .lmz-hub, .lmz-card { max-width: 100%; border:none; background:#fff; color:#000 !important; }
}

/* ================================================================
 * 响应式断点
 * ================================================================ */

/* 平板中等 */
@media (max-width: 900px) {
  .lmz-hub-layout {
    padding: 0 16px;
  }
  .lmz-hub-sidebar {
    width: 180px;
  }
  .lmz-hub-content {
    padding: 24px 0 40px 24px;
  }
}

/* 手机端（≤ 768px）：切换为顶部 Tab 模式 */
@media (max-width: 768px) {
  .lmz-hub-layout {
    flex-direction: column;
    padding: 0;
    gap: 0;
  }

  /* 侧边栏隐藏 */
  .lmz-hub-sidebar {
    display: none;
  }

  /* 显示顶部 Tab 栏 */
  .lmz-hub-mobile-tabs {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
    background:#f3f3fb;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .lmz-hub-mobile-tabs::-webkit-scrollbar {
    display: none;
  }

  /* 强制每个 Tab 保持自然宽度，不随容器拉伸 */
  .lmz-hub-mobile-tabs .lmz-hub__tab {
    display: inline-flex !important;
    width: auto !important;
    min-width: max-content !important;
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }

  /* 主页 Tab 默认激活态（紫色下划线） */
  .lmz-hub-mobile-tabs .lmz-hub__tab.is-active {
    color:#17244c !important;
    font-weight: 600 !important;
    border-bottom: 2px solid #7c3aed !important;
  }

  /* 内容区全宽，紧凑内边距 */
  .lmz-hub-content {
    padding: 16px 16px 40px;
    width: 100%;
    box-sizing: border-box;
  }

  /* 面板内显示返回按钮 */
  .lmz-back-btn {
    display: inline-flex;
  }

  /* 三格数据 */
  .lmz-dash-stat__value { font-size: 22px; }

  /* 快速入口 */
  .lmz-dash-quicklinks { grid-template-columns: repeat(2,1fr); }

  /* 设备网格 */
  .lmz-device-grid { grid-template-columns: 1fr; }

  /* 等级福利格 */
  .lmz-ref-benefit-grid { grid-template-columns: repeat(2,1fr); }

  /* UGC 格 */
  .lmz-ugc-history-grid { grid-template-columns: 1fr; }

  /* 星友 grid */
  .lmz-profile-info-grid { grid-template-columns: 1fr; }

  /* 钱包余额字 */
  .lmz-wallet-hero__num { font-size: 32px; }

  /* 弹窗 */
  .lmz-modal__box { padding: 20px 18px; }
}

/* 极小屏 */
@media (max-width: 390px) {
  .lmz-hub-content { padding: 12px 12px 32px; }
  .lmz-dash-stats  { gap: 0; }
  .lmz-dash-stat__value { font-size: 18px; }
  .lmz-dash-stat__label { font-size: 10px; }
  .lmz-dash-copy-btn { padding: 4px 10px; font-size: 11px; }
}

/* ================================================================
 * 探索 Tab（任务中心）专属样式
 * 全部沿用 --hub-* 变量体系，无新增颜色变量
 * ================================================================ */

/* ── Lux 汇总卡片 ── */
.lmz-explore-hero-card {
  background:linear-gradient(135deg, #eeebfa, #edf4f6);
  border:1px solid #d6d3e7;
  border-radius: 14px;
  padding: 22px 20px 20px;
  margin-bottom: 20px;
}
.lmz-explore-hero-card__row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.lmz-explore-hero-card__lux {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
}
.lmz-explore-hero-card__lux-num {
  font-size: 40px;
  font-weight: 700;
  color:#7b61aa !important;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.lmz-explore-hero-card__lux-unit {
  font-size: 12px;
  color:#5e6985 !important;
  margin-top: 4px;
}
.lmz-explore-hero-card__progress-wrap {
  flex: 1;
  min-width: 120px;
}
.lmz-explore-hero-card__progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color:#5e6985 !important;
  margin-bottom: 8px;
}
.lmz-explore-hero-card__bar {
  height: 8px;
  background:rgba(255,255,255,.1);
  border-radius: 99px;
  overflow: hidden;
}
.lmz-explore-hero-card__bar-fill {
  height: 100%;
  background:linear-gradient(90deg, #eeebfa, #eeebfa, #eeebfa);
  border-radius: 99px;
  transition: width .4s ease;
  min-width: 4px;
}

/* ── 任务列表 ── */
.lmz-task-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.lmz-task-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  gap: 12px;
  transition: opacity .2s;
}
.lmz-task-item:last-child {
  border-bottom: none;
  padding-bottom: 2px;
}
.lmz-task-item--done {
  opacity: .55;
}
.lmz-task-item__left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.lmz-task-item__status {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lmz-task-item__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:#edf4f6;
  color:#7b61aa !important;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.lmz-task-item__circle {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border:2px solid #e1e2ed;
  flex-shrink: 0;
}
.lmz-task-item__info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.lmz-task-item__name {
  font-size: 14px;
  font-weight: 500;
  color:#17244c !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lmz-task-item__reward {
  font-size: 12px;
  color:#7b61aa !important;
  font-weight: 600;
}
.lmz-task-item--done .lmz-task-item__name {
  text-decoration: line-through;
  color:#5e6985 !important;
}
.lmz-task-item--done .lmz-task-item__reward {
  color:#475569 !important;
}
/* 锁定状态（edit_referral 未解锁） */
.lmz-task-item--locked {
  opacity: .5;
}
.lmz-task-item__lock {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 14px;
  flex-shrink: 0;
}
.lmz-task-item__reward--lock {
  color:#5e6985 !important;
  font-weight: 400;
  font-style: italic;
}
.lmz-task-item__right {
  flex-shrink: 0;
}
.lmz-task-item__done-badge {
  font-size: 12px;
  color:#7b61aa !important;
  font-weight: 500;
}

/* 「去完成」按钮 */
.lmz-task-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background:rgba(255,255,255,.07);
  border:1px solid #e1e2ed;
  border-radius: 6px;
  color:#17244c !important;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, border-color .15s;
  white-space: nowrap;
  font-family: inherit;
}
.lmz-task-btn:hover:not(:disabled) {
  background:#eeebfa;
  border-color:#e1e2ed;
  color:#17244c !important;
}
.lmz-task-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}

/* ── 每日晒图区块 ── */
.lmz-explore-daily-done {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background:#edf4f6;
  border:1px solid #d6d3e7;
  border-radius: 8px;
}
.lmz-explore-daily-done__icon {
  font-size: 18px;
  color:#7b61aa !important;
  font-weight: 700;
  flex-shrink: 0;
}
.lmz-explore-daily-done__text {
  font-size: 14px;
  color:#7b61aa !important;
}
.lmz-explore-daily-hint {
  font-size: 13px;
  color:#5e6985 !important;
  margin: 0 0 14px;
  line-height: 1.6;
}

/* ── 即将开放区块 ── */
.lmz-explore-locked-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.lmz-explore-locked-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  opacity: .45;
  cursor: not-allowed;
}
.lmz-explore-locked-item:last-child {
  border-bottom: none;
  padding-bottom: 2px;
}
.lmz-explore-locked-item__icon {
  font-size: 18px;
  flex-shrink: 0;
}
.lmz-explore-locked-item__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.lmz-explore-locked-item__name {
  font-size: 14px;
  font-weight: 500;
  color:#5e6985 !important;
}
.lmz-explore-locked-item__desc {
  font-size: 12px;
  color:#475569 !important;
}
.lmz-explore-locked-item__tag {
  font-size: 11px;
  font-weight: 600;
  color:#5e6985 !important;
  background:rgba(255,255,255,.06);
  border:1px solid #e1e2ed;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── 响应式：极小屏探索 Tab ── */
@media (max-width: 390px) {
  .lmz-explore-hero-card__lux-num { font-size: 32px; }
  .lmz-explore-hero-card__row { gap: 16px; }
}

/* ════════════════════════════════════════════════
   流水卡片列表 (.lmz-li)  ——  WBJ + Lux 通用
   ════════════════════════════════════════════════ */
.lmz-ledger-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.lmz-ledger-empty {
  color:#5e6985;
  font-size: 13px;
  text-align: center;
  padding: 20px 0;
  margin: 0;
}
.lmz-li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.lmz-li:last-child { border-bottom: none; }

/* 圆形图标 */
.lmz-li__icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lmz-li__icon--lux { background:#edf4f6; color:#7b61aa; }
.lmz-li__icon--wbj { background:rgba(155,170,184,.14); color:#5e6985; }

/* 主体文字（来源 + 日期） */
.lmz-li__main {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lmz-li__label {
  font-size: 13px;
  color:#17244c;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lmz-li__date {
  font-size: 11px;
  color:#5e6985;
}

/* 右侧金额 + 余额 */
.lmz-li__right {
  flex: 0 0 auto;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-end;
}
.lmz-li__amt {
  font-size: 14px;
  font-weight: 700;
}
.lmz-li-amt--up   { color:#7b61aa !important; }
.lmz-li-amt--down { color:#f87171 !important; }
.lmz-li__bal {
  font-size: 11px;
  color:#5e6985;
}

/* 哨兵 + 底部提示 */
.lmz-ledger-sentinel { height: 1px; }
.lmz-ledger-footer {
  text-align: center;
  padding: 12px 0;
  font-size: 13px;
  color:#5e6985;
}

/* 浅色卡片内覆盖（WBJ/Lux 卡片本身是白色背景） */
.lmz-card--lux .lmz-li  { border-bottom-color: rgba(0,0,0,.06); }
.lmz-card--lux .lmz-li__label { color:#1a1a18; }
.lmz-card--lux .lmz-li__date,
.lmz-card--lux .lmz-li__bal  { color:#5e6985; }

.lmz-card--wbj .lmz-li  { border-bottom-color: rgba(0,0,0,.06); }
.lmz-card--wbj .lmz-li__label { color:#1a1a18; }
.lmz-card--wbj .lmz-li__date,
.lmz-card--wbj .lmz-li__bal  { color:#5e6985; }

/* ================================================================
 * 产品登记表单 · 微信小程序白色简洁风格重构
 * 作用域：.lmz-product-reg-wrap 及其子元素
 * 原则：只改视觉，不动 PHP 结构与逻辑
 * ================================================================ */

/* ── 1. 整体容器：浅灰背景，覆盖暗色继承 ── */
.lmz-product-reg-wrap {
  background:#F5F5F7 !important;
  color:#1a1a18 !important;
  padding: 0 0 48px !important;
}

/* 逐一覆盖 .lmz-hub__panel 的暗色颜色继承 */
.lmz-hub__panel .lmz-product-reg-wrap h2,
.lmz-hub__panel .lmz-product-reg-wrap h3,
.lmz-hub__panel .lmz-product-reg-wrap h4 {
  color:#1a1a18 !important;
}
.lmz-hub__panel .lmz-product-reg-wrap p:not(.lmz-empty) {
  color:#5e6985 !important;
}
.lmz-hub__panel .lmz-product-reg-wrap label {
  color:#333333 !important;
}
.lmz-hub__panel .lmz-product-reg-wrap small {
  color:#5e6985 !important;
}

/* ── 2. 渐变顶部横幅（复用 h2.lmz-section-title） ── */
/* 原文字「📦 产品登记」用 font-size:0 隐藏，::before/::after 注入品牌内容 */
.lmz-product-reg-wrap > h2.lmz-section-title {
  display:          flex !important;
  flex-direction:   column;
  align-items:      center;
  justify-content:  center;
  text-align:       center;
  gap:              10px;
  background:linear-gradient(135deg, #f3f3fb, #eae9f6) !important;
  min-height:       120px;
  /* 向左出血覆盖 .lmz-hub-content 的 36px left padding（桌面） */
  width:            calc(100% + 36px) !important;
  margin:           -32px 0 24px -36px !important;
  padding:          28px 24px !important;
  box-sizing:       border-box;
  font-size:        0 !important;
  color:transparent !important;
  border-radius:    0 !important;
  letter-spacing:   0;
}
.lmz-product-reg-wrap > h2.lmz-section-title::before {
  content:        'LUMENIZER';
  display:        block;
  font-size:      22px !important;
  font-weight:    700 !important;
  color:#17244c !important;
  letter-spacing: 0.16em;
  font-style:     normal;
  font-family:    -apple-system, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}
.lmz-product-reg-wrap > h2.lmz-section-title::after {
  content:        'Lumenizer 守护您的每一次呼吸';
  display:        block;
  font-size:      13px !important;
  font-weight:    400 !important;
  color:#17244c !important;
  letter-spacing: 0.06em;
  font-style:     normal;
}

/* ── 3. 副标题文字（h2 下方，表单卡片上方） ── */
.lmz-product-reg-wrap > p.lmz-desc {
  font-size:   14px !important;
  color:#5e6985 !important;
  line-height: 1.65 !important;
  margin:      0 0 20px !important;
}

/* ── 4. 白色表单卡片 ── */
.lmz-product-reg-form {
  background:#ffffff !important;
  border-radius: 16px !important;
  box-shadow:    0 2px 12px rgba(0, 0, 0, 0.08) !important;
  padding:       24px !important;
  max-width:     600px !important;
  margin:        0 0 32px !important;
  box-sizing:    border-box;
  position:      relative;
}

/* 表单内注入标题「激活您的 Lumenizer」 */
.lmz-product-reg-form::before {
  content:       '激活您的 Lumenizer';
  display:       block;
  font-size:     20px;
  font-weight:   700;
  color:#1a1a18;
  margin-bottom: 8px;
  line-height:   1.3;
}

/* ── 5. 字段标签 ── */
.lmz-product-reg-form .lmz-form-row > label,
.lmz-product-reg-form .lmz-form-row > label[id] {
  display:       block !important;
  font-size:     14px !important;
  color:#333333 !important;
  font-weight:   500 !important;
  margin-bottom: 8px !important;
}
.lmz-product-reg-form .lmz-form-row > label .required,
.lmz-product-reg-form .lmz-form-row > label > span.required {
  color:#e74c3c !important;
}
/* "（选填）"等次级说明文字 */
.lmz-product-reg-form .lmz-form-row label .lmz-txno-optional,
.lmz-product-reg-form .lmz-form-row label .lmz-receipt-optional {
  color:#5e6985 !important;
  font-size: 12px !important;
}

/* ── 6. 输入框 / 下拉框：覆盖暗色主题 ── */
.lmz-hub__panel .lmz-product-reg-form input[type="text"],
.lmz-hub__panel .lmz-product-reg-form input[type="date"],
.lmz-hub__panel .lmz-product-reg-form input[type="number"],
.lmz-hub__panel .lmz-product-reg-form select {
  background:#ffffff !important;
  border:1px solid #e1e2ed !important;
  border-radius:   10px !important;
  height:          52px !important;
  line-height:     52px !important;
  color:#1a1a18 !important;
  font-size:       15px !important;
  padding:         0 16px !important;
  box-shadow:      none !important;
  box-sizing:      border-box;
  -webkit-appearance: none;
  appearance:      none;
}
.lmz-hub__panel .lmz-product-reg-form input[type="text"]:focus,
.lmz-hub__panel .lmz-product-reg-form input[type="date"]:focus,
.lmz-hub__panel .lmz-product-reg-form input[type="number"]:focus,
.lmz-hub__panel .lmz-product-reg-form select:focus {
  border-color:#e1e2ed !important;
  box-shadow:   0 0 0 3px rgba(123, 63, 160, 0.1) !important;
  outline:      none !important;
}
.lmz-hub__panel .lmz-product-reg-form input::placeholder {
  color:#5e6985 !important;
}
.lmz-hub__panel .lmz-product-reg-form select option {
  background:#ffffff !important;
  color:#1a1a18 !important;
}
/* select 右侧箭头 */
.lmz-hub__panel .lmz-product-reg-form select {
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat:   no-repeat !important;
  background-position: right 14px center !important;
  padding-right:       40px !important;
}

/* ── 7. 图片上传区 ── */
.lmz-product-reg-form .lmz-upzone {
  background:#ffffff !important;
  border:1px dashed #d6d3e7 !important;
  border-radius: 12px !important;
  padding:       16px !important;
}
.lmz-product-reg-form .lmz-upzone:hover,
.lmz-product-reg-form .lmz-upzone.lmz-upzone--over {
  border-color:#e1e2ed !important;
  background:#eae9f6 !important;
}
.lmz-product-reg-form .lmz-upzone-trigger span {
  color:#444444 !important;
}
.lmz-product-reg-form .lmz-upzone-trigger small {
  color:#5e6985 !important;
}
.lmz-product-reg-form .lmz-upzone-preview img {
  border:1px solid #e1e2ed !important;
}

/* ── 8. 礼物复选框行 ── */
.lmz-product-reg-form .lmz-gift-row .lmz-checkbox-label {
  color:#333333 !important;
  font-size: 14px !important;
}
.lmz-product-reg-form .lmz-gift-row input[type="checkbox"] {
  width:       auto !important;
  height:      auto !important;
  line-height: normal !important;
  accent-color: #7B3FA0;
}
.lmz-product-reg-form .lmz-gift-hint {
  background:#f0f0ff !important;
  border-left:  3px solid #7B3FA0 !important;
  color:#7b61aa !important;
  border-radius: 0 4px 4px 0 !important;
}

/* ── 9. 字段提示文字 ── */
.lmz-product-reg-form .lmz-field-hint {
  color:#5e6985 !important;
  font-size: 12px !important;
}

/* ── 10. 提交按钮：胶囊形 + 替换文字 ── */
.lmz-product-reg-form .lmz-btn-primary {
  display:         flex !important;
  align-items:     center !important;
  justify-content: center !important;
  width:           100% !important;
  height:          52px !important;
  background:#eae9f6 !important;
  border:none !important;
  border-radius:   999px !important;
  font-size:       0 !important;   /* 隐藏原文字「提交登记申请」 */
  cursor:          pointer !important;
  margin-top:      24px !important;
  padding:         0 !important;
  transition:      opacity 0.2s, transform 0.1s !important;
}
.lmz-product-reg-form .lmz-btn-primary::before {
  content:     '立即激活权益';
  font-size:   16px;
  font-weight: 600;
  color:#17244c !important;
  line-height: 1;
  font-family: -apple-system, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}
.lmz-product-reg-form .lmz-btn-primary:hover:not(:disabled) {
  opacity:   0.88 !important;
  transform: none !important;
}
.lmz-product-reg-form .lmz-btn-primary:disabled {
  background:#BDBDBD !important;
  cursor:     not-allowed !important;
  opacity:    1 !important;
}

/* ── 11. 服务条款小字（注入在表单末尾） ── */
.lmz-product-reg-form::after {
  content:     '提交即代表您同意 Lumenizer 服务条款';
  display:     block;
  text-align:  center;
  font-size:   12px;
  color:#5e6985;
  margin-top:  14px;
  font-weight: 400;
  line-height: 1.5;
}

/* ── 12. 站内信通知（浅色主题修正） ── */
.lmz-product-reg-wrap .lmz-notice-approved {
  background:#e8faf0 !important;
  border:1px solid #d6d3e7 !important;
  color:#7b61aa !important;
}
.lmz-product-reg-wrap .lmz-notice-rejected {
  background:#fef2f2 !important;
  border:1px solid #fca5a5 !important;
}
.lmz-product-reg-wrap .lmz-notice-body {
  color:#1a1a18 !important;
}
.lmz-product-reg-wrap .lmz-notice-time {
  color:#5e6985 !important;
}

/* ── 13. 历史记录区域 ── */
.lmz-product-reg-wrap > h3.lmz-sub-title {
  font-size:   16px !important;
  color:#1a1a18 !important;
  font-weight: 600 !important;
  margin:      0 0 12px !important;
}
.lmz-product-reg-wrap .lmz-table {
  background:#ffffff;
  border-radius: 12px;
  overflow:      hidden;
  border:1px solid #e1e2ed;
  font-size:     13px;
}
.lmz-product-reg-wrap .lmz-table th {
  background:#F8F8F8 !important;
  color:#5e6985 !important;
  border-bottom: 1px solid #E8E8E8 !important;
  font-size:     11px !important;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.lmz-product-reg-wrap .lmz-table td {
  color:#1a1a18 !important;
  border-bottom: 1px solid #F5F5F7 !important;
}
.lmz-product-reg-wrap .lmz-table tr:last-child td {
  border-bottom: none !important;
}
.lmz-product-reg-wrap .lmz-empty {
  color:#5e6985 !important;
}
/* 登记状态徽章：浅色背景适配 */
.lmz-product-reg-wrap .lmz-status-pending  { background:#fff8e1 !important; color:#b45309 !important; }
.lmz-product-reg-wrap .lmz-status-approved { background:#e8f5e9 !important; color:#7b61aa !important; }
.lmz-product-reg-wrap .lmz-status-rejected { background:#fce4ec !important; color:#c62828 !important; }

/* ── 14. 响应式：平板 ── */
@media (max-width: 900px) and (min-width: 769px) {
  .lmz-product-reg-wrap > h2.lmz-section-title {
    width:       calc(100% + 24px) !important;
    margin-left: -24px !important;
  }
}

/* ── 15. 响应式：手机端 ── */
@media (max-width: 768px) {
  .lmz-product-reg-wrap > h2.lmz-section-title {
    width:       calc(100% + 32px) !important;
    margin-left: -16px !important;
    margin-top:  -16px !important;
  }
  .lmz-product-reg-form {
    border-radius: 12px !important;
    padding:       18px !important;
  }
  .lmz-product-reg-form::before {
    font-size: 18px;
  }
}

/* ================================================================
   个人中心 v2 — 头部
   （仅追加，不影响任何现有样式）
   ================================================================ */
.lmz-dashboard {
  max-width: 480px;
  margin: 0 auto;
  font-family: -apple-system, "PingFang SC", sans-serif;
}
.lmz-dash-header {
  background:radial-gradient(
    ellipse at 65% 0%,
    #eae9f6 0%, #f3f3fb 45%, #f3f3fb 100%
  );
  padding: 22px 20px 32px;
}
.lmz-dash-toprow {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}
.lmz-dash-user { display: flex; align-items: center; gap: 14px; }
.lmz-dash-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background:rgba(255,255,255,0.12);
  border:0.5px solid #e1e2ed;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 500;
  color:#17244c; flex-shrink: 0;
}
.lmz-dash-name  { font-size: 17px; font-weight: 500; color:#17244c; margin-bottom: 5px; }
.lmz-dash-phone { font-size: 12px; color:#17244c; }
.lmz-dash-invite {
  border:0.5px solid #e1e2ed;
  padding: 5px 13px; border-radius: 20px;
  text-align: center; flex-shrink: 0;
}
.lmz-dash-invite-label { font-size: 10px; color:#17244c; margin-bottom: 1px; }
.lmz-dash-invite-code  { font-size: 13px; font-weight: 500; color:#17244c; letter-spacing: 1px; }
.lmz-dash-level {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 7px;
}
.lmz-dash-growth      { font-size: 12px; color:#17244c; }
.lmz-dash-level-badge { font-size: 12px; color:#17244c; letter-spacing: 0.3px; }
.lmz-dash-level-link  { font-size: 11px; color:#17244c; text-decoration: none; }
.lmz-dash-progress-bar {
  background:rgba(255,255,255,0.12);
  border-radius: 3px; height: 3px;
  overflow: hidden; margin-bottom: 18px;
}
.lmz-dash-progress-fill {
  background:#eeebfa;
  height: 3px; border-radius: 3px;
}
.lmz-dash-wallets {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.lmz-dash-wallet { border-radius: 14px; padding: 14px 16px; }
.lmz-wallet-wbj {
  background:#eae9f6;
  border:0.5px solid #d6d3e7;
  border-top: 1.5px solid rgba(215,215,235,0.55);
}
.lmz-wallet-lux {
  background:#eae9f6;
  border:0.5px solid #d6d3e7;
  border-top: 1.5px solid rgba(210,160,255,0.6);
}
.lmz-wallet-label {
  font-size: 11px; color:#17244c;
  margin-bottom: 8px; letter-spacing: 0.5px;
}
.lmz-wallet-num {
  font-size: 26px; font-weight: 500; line-height: 1;
  letter-spacing: -0.5px; margin-bottom: 10px;
}
.lmz-wallet-wbj .lmz-wallet-num { color:#17244c; }
.lmz-wallet-lux .lmz-wallet-num { color:#17244c; }
.lmz-wallet-footer {
  display: flex; justify-content: space-between; align-items: center;
}
.lmz-wallet-footer span { font-size: 10px; color:#17244c; }
.lmz-wallet-footer a   { font-size: 11px; color:#17244c; text-decoration: none; }

/* ================================================================
   个人中心 v2 — 列表
   ================================================================ */
.lmz-dash-list {
  background:#FAFAF8;
  border-radius: 16px 16px 0 0;
  margin-top: -12px;
  position: relative; z-index: 1;
  padding-top: 14px; padding-bottom: 4px;
}
.lmz-dash-row {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border-bottom: 0.5px solid #EFEFED;
  text-decoration: none; color:inherit;
}
.lmz-dash-row:last-child { border-bottom: none; }
.lmz-row-has-sub { align-items: center; }
.lmz-row-title   { font-size: 15px; color:#111; }
.lmz-row-sub     { font-size: 11px; color:#17244c; margin-top: 3px; }
.lmz-row-right   {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; color:#5e6985;
  flex-shrink: 0; margin-left: 12px;
}
.lmz-row-right .ti { color:#17244c; font-size: 15px; }
.lmz-row-badge {
  font-size: 13px; color:#5e6985;
  background:#F0F0EE;
  padding: 2px 11px; border-radius: 20px;
}
.lmz-row-tag {
  font-size: 11px; color:#5e6985;
  background:#F0F0EE;
  padding: 2px 9px; border-radius: 20px;
  margin-left: 8px;
}
.lmz-row-action { color:#555; }

/* ================================================================
   个人中心 v2 — 桌面宽屏容器优化
   宽度 > 600px 时，卡片悬浮于浅灰背景上
   ================================================================ */
@media (min-width: 601px) {
  body.page-template-template-dashboard-v2 {
    background:#F0F0F0;
    min-height: 100vh;
  }
  .lmz-dashboard {
    margin: 40px auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
  }
}

/* 顶部账户内导航在小程序里保留（切钱包/设备/换芯券要用）
body.lmz-in-miniprogram .lmz-hub-mobile-tabs {
  display: none !important;
}
*/

/* 小程序 webview 环境：隐藏全站底部 TabBar */
body.lmz-in-miniprogram .lmz-tabbar {
  display: none !important;
}

/* ── 生成专属海报区域 ── */
.lmz-dash-poster-wrap {
  margin-top: 18px;
}
.lmz-dash-poster__btn {
  background:linear-gradient(135deg, #eeebfa 0%, #eae9f6 100%);
  color:#17244c;
  border:none;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s;
  letter-spacing: .03em;
}
.lmz-dash-poster__btn:hover { opacity: .88; }
.lmz-dash-poster__btn:disabled { opacity: .55; cursor: not-allowed; }
.lmz-dash-poster__preview {
  margin-top: 16px;
}
.lmz-dash-poster__img {
  display: block;
  max-width: 100%;
  width: 320px;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,.18);
  margin-bottom: 12px;
}
.lmz-dash-poster__dl {
  display: inline-block;
  background:#eeebfa;
  color:#7b61aa;
  border:1px solid #e1e2ed;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}
.lmz-dash-poster__dl:hover { background:#eeebfa; }

/* 手机端主页底部退出登录（桌面端隐藏，桌面用侧栏退出） */
.lmz-hub-mobile-logout { display: none; }
@media (max-width: 768px) {
  .lmz-hub-mobile-logout {
    display: block;
    text-align: center;
    margin: 32px 0 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .lmz-hub-mobile-logout a {
    color:#17244c;
    font-size: 13px;
    text-decoration: none;
    letter-spacing: 1px;
  }
  .lmz-hub-mobile-logout a:active {
    color:#17244c;
  }
}
