/* ============================================================
   灵栖俱乐部 · 点单模板 主样式 v2.0.0
   银白色调：浅灰底 + 白卡 + 银灰蓝强调 + 精致阴影
   ============================================================ */

:root {
  /* ===== 品牌色：银灰蓝（50–900 色阶） ===== */
  --lx-brand-50:  #f3f6fa;
  --lx-brand-100: #e6ecf4;
  --lx-brand-200: #c9d4e4;
  --lx-brand-300: #9fb0c9;
  --lx-brand-400: #7287a5;
  --lx-brand-500: #4a5c7a;
  --lx-brand-600: #3d4d68;
  --lx-brand-700: #344358;
  --lx-brand-800: #283548;
  --lx-brand-900: #1c2636;

  --lx-primary: #4a5c7a;        /* 银灰蓝主色 */
  --lx-primary-2: #5d7296;
  --lx-primary-deep: #344358;

  /* ===== 点缀金（评分/会员） ===== */
  --lx-gold: #b89968;           /* 香槟金点缀 */
  --lx-gold-soft: #d4c4a0;
  --lx-gold-deep: #92742e;

  /* ===== 中性色阶 ===== */
  --lx-gray-50:  #f7f8fa;
  --lx-gray-100: #f0f2f5;
  --lx-gray-200: #e4e8ed;
  --lx-gray-300: #d3d9e1;
  --lx-gray-400: #aab2c0;
  --lx-gray-500: #828d9d;
  --lx-gray-600: #6b7280;
  --lx-gray-700: #4a5568;
  --lx-gray-800: #2a3451;
  --lx-gray-900: #1f2937;

  --lx-bg: #f0f2f5;             /* 浅银灰底 */
  --lx-bg-2: #e4e8ed;
  --lx-card: #ffffff;           /* 白卡 */
  --lx-card-hover: #f7f9fc;
  --lx-border: #e2e6ec;
  --lx-fg: #1f2937;             /* 深灰黑文字 */
  --lx-fg-2: #6b7280;          /* 中灰文字 */

  /* ===== 语义色 ===== */
  --lx-success: #2f9e5e;
  --lx-success-bg: #e6f6ed;
  --lx-warning: #c99a3a;
  --lx-warning-bg: #faf2e0;
  --lx-danger: #dc2626;
  --lx-danger-2: #e05555;
  --lx-danger-bg: #fdecec;
  --lx-info: #3a86b8;
  --lx-info-bg: #e8f3fa;

  /* ===== 圆角 ===== */
  --lx-radius-xs: 6px;
  --lx-radius-s: 10px;
  --lx-radius: 14px;
  --lx-radius-l: 16px;
  --lx-radius-pill: 999px;

  /* ===== 阴影（主色投影，通透） ===== */
  --lx-shadow: 0 4px 20px rgba(36, 52, 78, 0.10);
  --lx-shadow-sm: 0 2px 8px rgba(36, 52, 78, 0.06);
  --lx-shadow-lg: 0 12px 36px rgba(36, 52, 78, 0.16);
  --lx-shadow-primary: 0 6px 18px rgba(74, 92, 122, 0.28);

  /* ===== 间距 ===== */
  --lx-sp-1: 4px; --lx-sp-2: 8px; --lx-sp-3: 12px;
  --lx-sp-4: 16px; --lx-sp-5: 20px; --lx-sp-6: 24px;

  /* ===== 字号尺度 ===== */
  --lx-fs-xs: 12px; --lx-fs-sm: 13px; --lx-fs-md: 14px;
  --lx-fs-lg: 15px; --lx-fs-xl: 16px; --lx-fs-2xl: 18px;
  --lx-fs-3xl: 20px; --lx-fs-4xl: 24px;

  /* ===== 动效 ===== */
  --lx-t-fast: .15s; --lx-t-base: .25s; --lx-t-slow: .35s;
  --lx-ease: cubic-bezier(.3, .7, .4, 1);
  --lx-spring: cubic-bezier(.22, .9, .32, 1.15);

  /* ===== 毛玻璃令牌（浅色 UI 适配） ===== */
  --lx-glass-bg: rgba(255, 255, 255, 0.72);
  --lx-glass-bg-strong: rgba(255, 255, 255, 0.88);
  --lx-glass-bg-hover: rgba(255, 255, 255, 0.85);
  --lx-glass-border: rgba(255, 255, 255, 0.65);
  --lx-glass-blur: 14px;
  --lx-glass-ring: rgba(74, 92, 122, 0.10);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: linear-gradient(180deg, var(--lx-bg) 0%, var(--lx-bg-2) 100%);
  color: var(--lx-fg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

/* ---------- 顶部店头 ---------- */
.lx-top {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--lx-border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.lx-top__brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.lx-top__logo {
  width: 38px; height: 38px; border-radius: 10px; object-fit: cover;
  border: 1px solid var(--lx-border);
  box-shadow: var(--lx-shadow-sm);
}
.lx-top__name { font-size: 16px; font-weight: 800; letter-spacing: 0.3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-top__name b { color: var(--lx-primary); font-weight: 800; }
.lx-top__spacer { flex: 1; }
.lx-top__search {
  display: flex; align-items: center; gap: 6px;
  background: var(--lx-card-hover); border: 1px solid var(--lx-border);
  border-radius: 999px; padding: 8px 14px; width: min(260px, 38vw);
  transition: border-color .2s, box-shadow .2s;
}
.lx-top__search:focus-within { border-color: var(--lx-primary-2); box-shadow: 0 0 0 3px rgba(74,92,122,0.1); }
.lx-top__search input {
  background: transparent; border: 0; outline: 0; color: var(--lx-fg);
  width: 100%; font-size: 13px;
}
.lx-top__search input::placeholder { color: var(--lx-fg-2); }
.lx-top__link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; color: var(--lx-fg-2); padding: 8px 10px; border-radius: 999px;
  border: 1px solid transparent; transition: all .2s;
}
.lx-top__link:hover { color: var(--lx-fg); background: var(--lx-card-hover); }
.lx-top__user { display: flex; align-items: center; gap: 8px; }
.lx-top__avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 1px solid var(--lx-border); }
.lx-top__btn {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--lx-border); background: var(--lx-card); color: var(--lx-fg);
  transition: all .2s;
}
.lx-top__btn:hover { background: var(--lx-card-hover); box-shadow: var(--lx-shadow-sm); }
.lx-top__btn--primary {
  background: linear-gradient(135deg, var(--lx-primary), var(--lx-primary-2));
  border-color: transparent; color: #fff;
}
.lx-top__btn--primary:hover { filter: brightness(1.08); box-shadow: 0 4px 12px rgba(74,92,122,0.3); }
/* 顶部栏右侧用户区（昵称+头像，头像最右）：非首页页面统一使用 2026-09-30 */
.lx-top__me { display: flex; align-items: center; gap: 8px; min-width: 0; }
.lx-top__nick { font-size: 13px; color: var(--lx-fg); max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 公告横幅 ---------- */
.lx-notice {
  margin: 14px 14px 0;
  padding: 11px 16px;
  border: 1px solid rgba(184, 153, 104, 0.3);
  background: linear-gradient(90deg, rgba(184,153,104,0.08), rgba(184,153,104,0.02));
  border-radius: var(--lx-radius-s);
  font-size: 13px; color: #8a7340;
  display: flex; gap: 8px; align-items: center;
  box-shadow: var(--lx-shadow-sm);
}
.lx-notice__ico { flex-shrink: 0; }

/* ---------- 点单主体：左右分栏 ---------- */
.lx-order {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px; max-width: 1200px; margin: 0 auto;
}

/* 左：分类栏 */
.lx-cat {
  position: sticky; top: 74px; z-index: 20;
  flex: 0 0 110px; max-height: calc(100vh - 150px);
  overflow-y: auto; border-radius: var(--lx-radius);
  background: var(--lx-card);
  border: 1px solid var(--lx-border);
  padding: 8px;
  box-shadow: var(--lx-shadow-sm);
}
.lx-cat::-webkit-scrollbar { width: 0; }
.lx-cat__item {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 10px; margin-bottom: 4px;
  border-radius: var(--lx-radius-s); font-size: 13px;
  color: var(--lx-fg-2); cursor: pointer; transition: all .2s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lx-cat__item .lx-cat__dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--lx-border); flex-shrink: 0;
}
.lx-cat__item:hover { color: var(--lx-fg); background: var(--lx-card-hover); }
.lx-cat__item.is-active {
  background: linear-gradient(135deg, var(--lx-primary), var(--lx-primary-2));
  color: #fff; font-weight: 700;
  box-shadow: 0 3px 10px rgba(74,92,122,0.25);
}
.lx-cat__item.is-active .lx-cat__dot { background: #fff; }

/* 右：商品菜单 */
.lx-menu { flex: 1; min-width: 0; }
.lx-menu__head {
  display: flex; align-items: baseline; gap: 8px;
  padding: 4px 4px 12px; font-size: 13px; color: var(--lx-fg-2);
}
.lx-menu__head b { color: var(--lx-primary); font-size: 16px; font-weight: 800; }

.lx-item {
  display: flex; gap: 14px;
  background: var(--lx-card);
  border: 1px solid var(--lx-border);
  border-radius: var(--lx-radius);
  padding: 14px; margin-bottom: 12px;
  transition: all .2s;
  position: relative; overflow: hidden;
  box-shadow: var(--lx-shadow-sm);
}
.lx-item:hover { background: var(--lx-card-hover); box-shadow: var(--lx-shadow); transform: translateY(-1px); }
.lx-item.is-soldout { opacity: 0.6; }
.lx-item__thumb {
  width: 78px; height: 78px; flex-shrink: 0;
  border-radius: 12px; object-fit: cover;
  border: 1px solid var(--lx-border);
  background: var(--lx-card-hover);
}
.lx-item__main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lx-item__name { font-size: 15px; font-weight: 700; line-height: 1.35; }
.lx-item__desc { font-size: 12px; color: var(--lx-fg-2); margin-top: 4px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; }
.lx-item__meta { font-size: 11px; color: var(--lx-fg-2); margin-top: 6px; display: flex; gap: 8px; flex-wrap: wrap; }
.lx-badge {
  display: inline-flex; align-items: center; font-size: 11px;
  padding: 2px 8px; border-radius: 999px; line-height: 1.5;
  background: var(--lx-card-hover); color: var(--lx-fg-2);
  border: 1px solid var(--lx-border);
}
.lx-badge--auto { color: var(--lx-primary); background: rgba(74,92,122,0.08); border-color: rgba(74,92,122,0.2); }
.lx-badge--sold { color: #92742e; background: rgba(184,153,104,0.1); border-color: rgba(184,153,104,0.25); }
.lx-badge--hot { color: #c24141; background: rgba(220,38,38,0.06); border-color: rgba(220,38,38,0.15); }
.lx-item__foot { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; padding-top: 10px; }
.lx-price { display: flex; align-items: baseline; gap: 2px; }
.lx-price .cur { font-size: 12px; color: var(--lx-gold); }
.lx-price .num { font-size: 20px; font-weight: 900; color: var(--lx-gold); }
.lx-price .stock { font-size: 11px; color: var(--lx-fg-2); margin-left: 6px; }
.lx-buy-btn {
  height: 34px; padding: 0 16px; border-radius: 17px;
  border: 0; color: #fff; font-size: 13px; font-weight: 700; line-height: 1;
  background: linear-gradient(135deg, var(--lx-primary), var(--lx-primary-2));
  box-shadow: 0 4px 12px rgba(74,92,122,0.3);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .15s, box-shadow .2s;
  cursor: pointer;
}
.lx-buy-btn:hover { box-shadow: 0 6px 16px rgba(74,92,122,0.4); transform: scale(1.05); }
.lx-buy-btn:active { transform: scale(0.95); }
.lx-qty { display: inline-flex; align-items: center; gap: 0; }
.lx-qty__btn {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--lx-border); background: var(--lx-card); color: var(--lx-fg);
  font-size: 14px; line-height: 1; display: inline-flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.lx-qty__btn:hover { border-color: var(--lx-primary); color: var(--lx-primary); }
.lx-qty__num { min-width: 32px; text-align: center; font-size: 14px; font-weight: 700; }
.lx-soldout-tag {
  position: absolute; top: 12px; right: 12px;
  background: rgba(0,0,0,0.7); color: #fbbf24; font-size: 11px;
  padding: 3px 10px; border-radius: 999px;
}

/* 空态/加载 */
.lx-state { text-align: center; padding: 60px 20px; color: var(--lx-fg-2); font-size: 14px; }
.lx-state__ico { font-size: 40px; margin-bottom: 12px; opacity: 0.5; }
.lx-loading span {
  display: inline-block; width: 8px; height: 8px; margin: 0 3px; border-radius: 50%;
  background: var(--lx-primary-2); animation: lx-blink 1s infinite alternate;
}
.lx-loading span:nth-child(2) { animation-delay: .2s; }
.lx-loading span:nth-child(3) { animation-delay: .4s; }
@keyframes lx-blink { from { opacity: .2; } to { opacity: 1; } }

/* ---------- 底部购物车栏 ---------- */
.lx-cartbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-top: 1px solid var(--lx-border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.lx-cartbar__icon {
  position: relative; width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 50%; border: 0;
  background: linear-gradient(135deg, var(--lx-primary), var(--lx-primary-2));
  color: #fff; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(74,92,122,0.35);
  transition: transform .2s;
}
.lx-cartbar__icon:active { transform: scale(0.94); }
.lx-cartbar__count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px;
  border-radius: 999px; background: var(--lx-gold); color: #fff;
  font-size: 12px; font-weight: 800; line-height: 20px; text-align: center; padding: 0 5px;
  display: none;
  box-shadow: 0 2px 6px rgba(184,153,104,0.4);
}
.lx-cartbar__count.is-show { display: block; }
.lx-cartbar__info { flex: 1; min-width: 0; }
.lx-cartbar__total { font-size: 18px; font-weight: 900; color: var(--lx-gold); }
.lx-cartbar__total .cur { font-size: 12px; }
.lx-cartbar__sub { font-size: 11px; color: var(--lx-fg-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-cartbar__checkout {
  flex-shrink: 0; border: 0; border-radius: 999px;
  padding: 13px 28px; font-size: 15px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--lx-primary), var(--lx-primary-2));
  box-shadow: 0 6px 18px rgba(74,92,122,0.35);
  transition: all .2s;
}
.lx-cartbar__checkout:hover { filter: brightness(1.08); box-shadow: 0 8px 22px rgba(74,92,122,0.45); }
.lx-cartbar__checkout:active { transform: scale(0.97); }
.lx-cartbar__checkout:disabled { filter: grayscale(0.6); opacity: 0.5; cursor: not-allowed; box-shadow: none; }

/* 底部占位 */
.lx-cartbar-spacer { height: 88px; }

/* ---------- 购物车弹层 ---------- */
.lx-mask {
  position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,0.45);
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.lx-mask.is-show { opacity: 1; pointer-events: auto; }
.lx-cart-pop {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  max-height: 62vh; overflow-y: auto;
  background: #fff;
  border-radius: 20px 20px 0 0;
  border-top: 1px solid var(--lx-border);
  box-shadow: 0 -8px 40px rgba(0,0,0,0.15);
  transform: translateY(100%); transition: transform .28s cubic-bezier(.22,.8,.35,1);
  padding-bottom: env(safe-area-inset-bottom);
}
.lx-cart-pop.is-show { transform: translateY(0); }
.lx-cart-pop__head {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px 12px;
  background: #fff;
  border-bottom: 1px solid var(--lx-border);
}
.lx-cart-pop__title { font-size: 16px; font-weight: 800; }
.lx-cart-pop__clear { font-size: 12px; color: var(--lx-danger); border: 0; background: none; }
.lx-cart-pop__row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px; border-bottom: 1px solid var(--lx-border);
}
.lx-cart-pop__name { flex: 1; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-cart-pop__price { color: var(--lx-gold); font-weight: 800; font-size: 14px; }
.lx-cart-pop__buy { flex-shrink: 0; }
.lx-cart-pop__empty { text-align: center; padding: 40px; color: var(--lx-fg-2); font-size: 13px; }
.lx-cart-pop__foot {
  position: sticky; bottom: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid var(--lx-border);
}
.lx-cart-pop__total { font-size: 13px; color: var(--lx-fg-2); }
.lx-cart-pop__total .cur { color: var(--lx-gold); font-weight: 700; }
.lx-cart-pop__total .num { color: var(--lx-gold); font-size: 20px; font-weight: 900; margin-left: 2px; }
.lx-cart-pop__checkout {
  flex-shrink: 0; border: 0; border-radius: 999px; padding: 11px 28px;
  color: #fff; font-size: 14px; font-weight: 800;
  background: linear-gradient(135deg, var(--lx-primary), var(--lx-primary-2));
  box-shadow: 0 4px 14px rgba(74,92,122,0.3);
}
.lx-cart-pop__checkout:disabled { opacity: .4; box-shadow: none; }

/* ---------- 商品详情页 ---------- */
.lx-detail { max-width: 760px; margin: 0 auto; padding: 14px 14px 100px; }
.lx-detail__hero {
  display: flex; gap: 16px;
  background: var(--lx-card); border: 1px solid var(--lx-border);
  border-radius: var(--lx-radius); padding: 18px;
  box-shadow: var(--lx-shadow-sm);
}
.lx-detail__cover {
  width: 120px; height: 120px; flex-shrink: 0; border-radius: 14px; object-fit: cover;
  border: 1px solid var(--lx-border);
}
.lx-detail__info { flex: 1; min-width: 0; }
.lx-detail__name { font-size: 19px; font-weight: 800; line-height: 1.4; }
.lx-detail__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.lx-detail__price-row { margin-top: 10px; }
.lx-detail__card {
  background: var(--lx-card); border: 1px solid var(--lx-border);
  border-radius: var(--lx-radius); padding: 18px; margin-top: 14px;
  box-shadow: var(--lx-shadow-sm);
}
.lx-detail__label { font-size: 13px; font-weight: 700; margin-bottom: 10px; color: var(--lx-fg-2); letter-spacing: .3px; }
.lx-sku-list { display: flex; flex-wrap: wrap; gap: 8px; }
.lx-sku {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--lx-border); background: var(--lx-card-hover);
  color: var(--lx-fg); font-size: 13px; transition: all .2s;
}
.lx-sku:hover { border-color: var(--lx-primary-2); }
.lx-sku.is-primary {
  border-color: var(--lx-primary-2);
  background: linear-gradient(135deg, var(--lx-primary), var(--lx-primary-2));
  color: #fff; font-weight: 700;
}
.lx-sku__add { color: var(--lx-gold); font-size: 12px; font-weight: 700; }
/* 购买数量控件：胶囊式 stepper（银灰白风格） */
.lx-qty-lg {
  display: inline-flex; align-items: center; gap: 0;
  border: 1px solid var(--lx-border);
  border-radius: 14px;
  background: var(--lx-card-hover);
  padding: 4px;
  box-shadow: var(--lx-shadow-sm);
}
.lx-qty-lg .lx-qty__btn {
  width: 36px; height: 36px; border-radius: 10px;
  border: 0; background: transparent;
  color: var(--lx-fg-2); font-size: 20px; font-weight: 600; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .18s, color .18s, transform .1s, box-shadow .18s;
}
.lx-qty-lg .lx-qty__btn:hover {
  background: linear-gradient(135deg, var(--lx-primary), var(--lx-primary-2));
  color: #fff; box-shadow: 0 2px 6px rgba(74,92,122,0.35);
}
.lx-qty-lg .lx-qty__btn:active { transform: scale(0.88); }
.lx-qty-lg .lx-qty__num {
  min-width: 48px; height: 36px; line-height: 36px;
  font-size: 18px; font-weight: 800; color: var(--lx-fg);
  -moz-appearance: textfield; appearance: textfield;
}
.lx-qty-lg .lx-qty__num::-webkit-outer-spin-button,
.lx-qty-lg .lx-qty__num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.lx-detail__field {
  width: 100%; padding: 12px 14px; margin-top: 6px;
  border-radius: var(--lx-radius-s); border: 1px solid var(--lx-border);
  background: var(--lx-card-hover); color: var(--lx-fg); font-size: 14px; outline: 0;
  transition: border-color .2s, box-shadow .2s;
}
.lx-detail__field:focus { border-color: var(--lx-primary-2); box-shadow: 0 0 0 3px rgba(74,92,122,0.1); }
.lx-detail__field::placeholder { color: var(--lx-fg-2); }
.lx-detail__desc { font-size: 14px; line-height: 1.8; color: var(--lx-fg-2); word-break: break-word; }
.lx-detail__desc img { border-radius: 8px; }
.lx-detail__buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.95); backdrop-filter: blur(18px);
  border-top: 1px solid var(--lx-border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.lx-detail__pay { flex: 1; min-width: 0; font-size: 12px; color: var(--lx-fg-2); }
.lx-detail__pay .pay-list { display: flex; gap: 6px; margin-top: 6px; overflow-x: auto; padding-bottom: 2px; }
.lx-detail__pay .pay {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 12px; border-radius: 999px; white-space: nowrap;
  border: 1px solid var(--lx-border); background: var(--lx-card-hover);
  color: var(--lx-fg); font-size: 12px; transition: all .2s;
}
.lx-detail__pay .pay:hover, .lx-detail__pay .pay.is-active { border-color: var(--lx-primary-2); color: var(--lx-primary); background: rgba(74,92,122,0.06); }
.lx-detail__pay .pay img { width: 18px; height: 18px; border-radius: 4px; }

/* ---------- 订单查询页 ---------- */
.lx-query { max-width: 640px; margin: 0 auto; padding: 14px; }
.lx-query__card {
  background: var(--lx-card); border: 1px solid var(--lx-border);
  border-radius: var(--lx-radius); padding: 20px; margin-top: 14px;
  box-shadow: var(--lx-shadow-sm);
}
.lx-query__form { display: flex; gap: 10px; }
.lx-query__form input {
  flex: 1; padding: 12px 14px; border-radius: var(--lx-radius-s);
  border: 1px solid var(--lx-border); background: var(--lx-card-hover);
  color: var(--lx-fg); font-size: 14px; outline: 0;
  transition: border-color .2s, box-shadow .2s;
}
.lx-query__form input:focus { border-color: var(--lx-primary-2); box-shadow: 0 0 0 3px rgba(74,92,122,0.1); }
.lx-query__btn {
  border: 0; border-radius: var(--lx-radius-s); padding: 0 24px;
  color: #fff; font-weight: 800;
  background: linear-gradient(135deg, var(--lx-primary), var(--lx-primary-2));
  box-shadow: 0 4px 12px rgba(74,92,122,0.25);
  transition: all .2s;
}
.lx-query__btn:hover { box-shadow: 0 6px 16px rgba(74,92,122,0.35); }
.lx-query__item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 4px; border-bottom: 1px solid var(--lx-border);
  font-size: 14px;
}
.lx-query__item:last-child { border-bottom: 0; }
.lx-query__state {
  display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 999px;
  background: var(--lx-card-hover); border: 1px solid var(--lx-border);
}

/* ---------- 维护页 ---------- */
.lx-closed {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 24px;
}
.lx-closed__box { max-width: 520px; }
.lx-closed__ico { font-size: 64px; margin-bottom: 16px; }
.lx-closed__title { font-size: 28px; font-weight: 900; letter-spacing: 1px; }
.lx-closed__title b { color: var(--lx-gold); }
.lx-closed__sub { color: var(--lx-fg-2); margin-top: 10px; line-height: 1.7; }

/* ---------- 通用 ---------- */
.lx-foot { text-align: center; color: var(--lx-fg-2); font-size: 12px; padding: 18px 12px 100px; }
@container lxframe (min-width: 720px) {
  .lx-cart-pop { left: 50%; right: auto; transform: translate(-50%, 100%); width: 420px; border-radius: 20px; }
  .lx-cart-pop.is-show { transform: translate(-50%, 0); }
}

/* ---------- 第三方组件兼容 ---------- */
.layui-layer { max-height: 86vh !important; display: flex !important; flex-direction: column; }
.layui-layer-content { overflow-y: auto !important; flex: 1; max-height: calc(86vh - 44px) !important; }
.layui-layer-setwin { z-index: 10; }
#toast-container { z-index: 999999 !important; }
.lx-detail__field.captcha-img {
  border: 2px solid var(--lx-primary-2) !important;
  background: #fff !important;
  cursor: pointer !important;
  transition: transform .15s, box-shadow .15s;
}
.lx-detail__field.captcha-img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 14px rgba(74,92,122,0.2);
}
.image-code {
  width: 110px !important; height: 44px !important; object-fit: cover !important;
  border: 2px solid var(--lx-primary-2) !important; border-radius: 10px !important;
  cursor: pointer !important; background: #fff !important;
}

/* ---------- 登录/注册页 · 静谧银蓝（与商店同款浅色风格；所有规则仅作用于 .lx-auth，不影响站点其他页面） ---------- */
.lx-auth {
  position: relative;
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 32px 16px; overflow: hidden;
  /* 浅底透出 .lx-frame 的银灰渐变，与商店页一致 */
  background: transparent;
  font-family: ui-sans-serif, system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
/* 背景柔光光斑：银灰蓝 + 香槟金低透明度，呼应品牌色不喧宾夺主 */
.lx-auth__glow {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(90px); z-index: 0;
}
/* 工具类：用于渐进式显示验证码等按需出现的字段 */
.lx-auth .is-hidden { display: none !important; }

/* 密码显隐切换按钮 */
.lx-auth__field--pwd { position: relative; }
.lx-auth__field--pwd input { padding-right: 40px; }
.lx-auth__eye {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border: none; background: transparent;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--lx-gray-400); border-radius: 8px; padding: 0;
  transition: background .15s, color .15s;
}
.lx-auth__eye svg { width: 18px; height: 18px; display: block; }
.lx-auth__eye svg[hidden] { display: none; }
.lx-auth__eye:hover { background: var(--lx-gray-100); color: var(--lx-primary); }

/* 密码强度条 */
.lx-auth__strength {
  display: flex; align-items: center; gap: 8px;
  margin: -6px 0 4px; padding: 0 4px; height: 18px;
}
.lx-auth__strength-bar { flex: 1; display: flex; gap: 4px; height: 5px; }
.lx-auth__strength-bar i {
  flex: 1; background: var(--lx-gray-200); border-radius: 3px; transition: background .2s;
}
/* data-level 由 auth.js 写在外层 #pwdStrength(.lx-auth__strength) 上 */
.lx-auth__strength[data-level="1"] .lx-auth__strength-bar i:nth-child(-n+1) { background: var(--lx-danger); }
.lx-auth__strength[data-level="2"] .lx-auth__strength-bar i:nth-child(-n+2) { background: var(--lx-warning); }
.lx-auth__strength[data-level="3"] .lx-auth__strength-bar i:nth-child(-n+3) { background: var(--lx-info); }
.lx-auth__strength[data-level="4"] .lx-auth__strength-bar i { background: var(--lx-success); }
.lx-auth__strength-text { font-size: 12px; color: var(--lx-fg-2); min-width: 32px; }

/* 确认密码匹配提示 */
.lx-auth__match { font-size: 12px; margin: -4px 0 4px; padding: 0 4px; min-height: 16px; }
.lx-auth__match.is-ok { color: var(--lx-success); }
.lx-auth__match.is-err { color: var(--lx-danger); }
.lx-auth__glow--a { width: 460px; height: 460px; left: -150px; top: -130px; background: rgba(74,92,122,.14); }
.lx-auth__glow--b { width: 480px; height: 480px; right: -170px; bottom: -170px; background: rgba(184,153,104,.12); }

.lx-auth__card {
  position: relative; z-index: 1;
  width: 100%; max-width: 420px;
  background: var(--lx-card);
  border: 1px solid var(--lx-border);
  border-radius: 20px; padding: 34px 30px 30px;
  box-shadow: var(--lx-shadow-lg);
  animation: lxAuthIn .5s cubic-bezier(.22,.8,.36,1) both;
}
.lx-auth__card--redirect { text-align: center; }
@keyframes lxAuthIn {
  from { opacity: 0; transform: translateY(18px) scale(.99); }
  to { opacity: 1; transform: none; }
}

.lx-auth__brand { text-align: center; margin-bottom: 22px; }
.lx-auth__logo {
  width: 60px; height: 60px; border-radius: 16px; object-fit: cover;
  background: #fff;
  border: 1px solid var(--lx-border);
  box-shadow: var(--lx-shadow-sm);
}
.lx-auth__name { font-size: 20px; font-weight: 800; margin-top: 14px; letter-spacing: .5px; color: var(--lx-fg); }
.lx-auth__name b { color: var(--lx-primary); }
.lx-auth__sub { font-size: 13px; color: var(--lx-fg-2); margin-top: 6px; min-height: 18px; letter-spacing: .3px; }
.lx-auth__sub [data-sub] { display: none; }
.lx-auth__sub [data-sub].is-active { display: inline; }

/* 顶部登录/注册切换 Tab */
.lx-auth__tabs {
  position: relative; display: flex;
  background: var(--lx-gray-100); border: 1px solid var(--lx-border);
  border-radius: 999px; padding: 5px; margin-bottom: 20px;
}
.lx-auth__tab {
  flex: 1; position: relative; z-index: 1;
  border: 0; background: transparent; outline: 0;
  padding: 9px 0; font-size: 14px; font-weight: 700; color: var(--lx-fg-2);
  border-radius: 999px; transition: color .25s;
  -webkit-tap-highlight-color: transparent;
}
.lx-auth__tab.is-active { color: #fff; }
.lx-auth__tabs-bar {
  position: absolute; z-index: 0; top: 5px; left: 5px;
  width: calc(50% - 5px); height: calc(100% - 10px);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--lx-primary) 0%, var(--lx-primary-2) 100%);
  box-shadow: var(--lx-shadow-primary);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.lx-auth__tabs.is-reg .lx-auth__tabs-bar { transform: translateX(100%); }

/* 面板 */
.lx-auth__panel { display: none; flex-direction: column; }
.lx-auth__panel.is-active { display: flex; animation: lxPanelIn .3s ease both; }
@keyframes lxPanelIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.lx-auth__form { display: flex; flex-direction: column; gap: 14px; }
.lx-auth__field {
  display: flex; align-items: center; gap: 10px;
  background: var(--lx-gray-50); border: 1px solid var(--lx-border);
  border-radius: 12px; padding: 0 14px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.lx-auth__field:hover { border-color: var(--lx-gray-300); }
.lx-auth__field:focus-within {
  border-color: var(--lx-primary);
  box-shadow: 0 0 0 3px rgba(74,92,122,.12);
  background: #fff;
}
.lx-auth__ico { display: flex; align-items: center; color: var(--lx-gray-400); flex-shrink: 0; transition: color .2s; }
.lx-auth__ico svg { width: 18px; height: 18px; display: block; }
.lx-auth__field:focus-within .lx-auth__ico { color: var(--lx-primary); }
.lx-auth__field input {
  flex: 1; min-width: 0; border: 0; background: transparent;
  color: var(--lx-fg); font-size: 15px; padding: 13px 0; outline: 0;
}
.lx-auth__field input::placeholder { color: var(--lx-gray-400); }
/* 自动填充保持浅底，不出现黄色闪块 */
.lx-auth__field input:-webkit-autofill,
.lx-auth__field input:-webkit-autofill:hover,
.lx-auth__field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--lx-fg);
  -webkit-box-shadow: 0 0 0 100px #fff inset;
  caret-color: var(--lx-fg);
  transition: background-color 9999s ease-in-out 0s;
}
.lx-auth__field--cap input { flex: 1; }
.lx-auth__capimg {
  width: 100px; height: 38px; object-fit: cover; border-radius: 8px;
  border: 1px solid var(--lx-border); cursor: pointer; flex-shrink: 0; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.lx-auth__capimg:hover { border-color: var(--lx-primary); box-shadow: 0 0 0 3px rgba(74,92,122,.12); }
.lx-auth__codebtn {
  flex-shrink: 0; border: 1px solid rgba(74,92,122,.35); background: rgba(74,92,122,.08);
  color: var(--lx-primary); font-size: 12px; font-weight: 600;
  padding: 8px 13px; border-radius: 8px;
  cursor: pointer; white-space: nowrap; transition: all .2s;
}
.lx-auth__codebtn:hover { background: var(--lx-primary); border-color: var(--lx-primary); color: #fff; }
.lx-auth__codebtn:disabled { opacity: .45; cursor: not-allowed; }
.lx-auth__row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; margin-top: -2px;
}
.lx-auth__check { display: flex; align-items: center; gap: 6px; cursor: pointer; color: var(--lx-fg-2); }
.lx-auth__check input { accent-color: var(--lx-primary); width: 14px; height: 14px; cursor: pointer; }
.lx-auth__link { color: var(--lx-primary-2); font-size: 13px; font-weight: 600; transition: color .15s; }
.lx-auth__link:hover { color: var(--lx-primary); }
.lx-auth__btn {
  position: relative; overflow: hidden;
  display: block; width: 100%; border: 0; border-radius: 12px; padding: 14px;
  color: #fff; font-size: 16px; font-weight: 800; letter-spacing: 2px; cursor: pointer;
  background: linear-gradient(135deg, var(--lx-primary) 0%, var(--lx-primary-2) 100%);
  box-shadow: var(--lx-shadow-primary);
  transition: transform .2s, box-shadow .2s, filter .2s;
  text-align: center;
}
.lx-auth__btn::after {
  content: ''; position: absolute; top: 0; left: -65%;
  width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.22), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.lx-auth__btn:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 10px 26px rgba(74,92,122,.38); }
.lx-auth__btn:hover::after { left: 130%; }
.lx-auth__btn:active { transform: translateY(0); filter: none; box-shadow: var(--lx-shadow-primary); }
.lx-auth__btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.lx-auth__btn--link { box-sizing: border-box; text-decoration: none; }
.lx-auth__divider {
  display: flex; align-items: center; gap: 12px; margin: 18px 0 12px;
  font-size: 12px; color: var(--lx-gray-400); letter-spacing: 1px;
}
.lx-auth__divider::before, .lx-auth__divider::after {
  content: ''; flex: 1; height: 1px; background: var(--lx-border);
}
.lx-auth__foot { text-align: center; font-size: 13px; color: var(--lx-fg-2); margin: 18px 0 0; }

@container lxframe (max-width: 480px) {
  .lx-auth { padding: 20px 12px; }
  .lx-auth__card { padding: 28px 20px 24px; border-radius: 18px; }
  .lx-auth__glow--a { width: 320px; height: 320px; }
  .lx-auth__glow--b { width: 340px; height: 340px; }
}

@media (prefers-reduced-motion: reduce) {
  .lx-auth__card, .lx-auth__panel.is-active { animation: none; }
  .lx-auth__btn::after, .lx-auth__tabs-bar { transition: none; }
}

/* ---------- 会员中心 · 银白色调精致版 ---------- */
.lx-uc-top {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; gap: 14px;
  padding: 12px 22px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(226,230,236,0.8);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.lx-uc-top__brand { display: flex; align-items: center; gap: 10px; }
.lx-uc-top__logo { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; border: 1px solid var(--lx-border); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.lx-uc-top__name { font-size: 15px; font-weight: 800; letter-spacing: 0.2px; }
.lx-uc-top__name b { color: var(--lx-primary); }
.lx-uc-top__spacer { flex: 1; }
.lx-uc-top__link { font-size: 13px; color: var(--lx-fg-2); padding: 6px 12px; border-radius: 8px; transition: all .15s; display: inline-flex; align-items: center; gap: 4px; }
.lx-uc-top__link:hover { color: var(--lx-primary); background: var(--lx-card-hover); }
.lx-uc-top__user { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 4px 12px 4px 4px; background: var(--lx-card-hover); border-radius: 999px; border: 1px solid var(--lx-border); }
.lx-uc-top__avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 1px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.1); }
.lx-uc-top__logout { font-size: 13px; color: var(--lx-danger); padding: 6px 12px; border-radius: 8px; transition: all .15s; display: inline-flex; align-items: center; gap: 4px; }
.lx-uc-top__logout:hover { background: rgba(220,38,38,0.08); }

.lx-uc-top__menu {
  display: none; align-items: center; justify-content: center;
  width: 38px; height: 38px; border: none; border-radius: 10px;
  background: var(--lx-card); color: var(--lx-fg); cursor: pointer;
  transition: all .2s; flex-shrink: 0;
  position: relative; z-index: 1; pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}
.lx-uc-top__menu:active { background: var(--lx-primary); color: #fff; transform: scale(0.95); }
.lx-uc-top__menu .material-icons-outlined { font-size: 22px; pointer-events: none; }
.lx-uc-side-mask {
  position: fixed; inset: 0; z-index: 998;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: all .3s;
}
.lx-uc-side-mask.is-open { opacity: 1; visibility: visible; }

.lx-uc-layout { display: flex; min-height: calc(100vh - 61px); }
.lx-uc-side {
  width: 210px; flex-shrink: 0; padding: 18px 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  border-right: 1px solid var(--lx-border);
  position: sticky; top: 61px; max-height: calc(100vh - 61px); overflow-y: auto;
}
.lx-uc-side::-webkit-scrollbar { width: 4px; }
.lx-uc-side::-webkit-scrollbar-thumb { background: var(--lx-border); border-radius: 2px; }
.lx-uc-side__group { margin-bottom: 20px; }
.lx-uc-side__title { font-size: 10px; color: var(--lx-fg-2); text-transform: uppercase; letter-spacing: 1.5px; padding: 0 12px 8px; font-weight: 700; opacity: 0.7; }
.lx-uc-side__item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px; font-size: 13px; color: var(--lx-fg-2);
  transition: all .18s; position: relative; margin-bottom: 2px;
  border: 1px solid transparent;
}
.lx-uc-side__item:hover { background: var(--lx-card); color: var(--lx-fg); border-color: var(--lx-border); transform: translateX(2px); }
.lx-uc-side__item.active { background: linear-gradient(135deg, var(--lx-primary), var(--lx-primary-2)); color: #fff; box-shadow: 0 4px 12px rgba(74,92,122,0.25); border-color: transparent; }
.lx-uc-side__item.active::before { content: ''; position: absolute; left: -12px; top: 50%; transform: translateY(-50%); width: 3px; height: 24px; background: var(--lx-gold); border-radius: 0 3px 3px 0; }
/* 侧边栏红点（待接单提醒） */
.lx-uc-side__dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-left: auto;
  background: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.2);
  animation: lx-dot-pulse 1.6s ease infinite;
}
@keyframes lx-dot-pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.lx-uc-main { flex: 1; min-width: 0; padding: 24px; max-width: none; background: transparent; }

.lx-uc-page__title { font-size: 22px; font-weight: 900; margin: 0 0 20px; display: flex; align-items: center; gap: 10px; }
.lx-uc-page__title::before { content: ''; width: 4px; height: 24px; background: linear-gradient(180deg, var(--lx-primary), var(--lx-gold)); border-radius: 2px; }
.lx-uc-subhead { font-size: 13px; font-weight: 700; color: var(--lx-fg-2); margin: 24px 0 12px; text-transform: uppercase; letter-spacing: 0.5px; display: flex; align-items: center; gap: 8px; }
.lx-uc-subhead::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--lx-border), transparent); }

.lx-uc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.lx-uc-stat {
  background: linear-gradient(135deg, #ffffff 0%, #f7f9fc 100%);
  border: 1px solid var(--lx-border);
  border-radius: 14px; padding: 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: all .25s; position: relative; overflow: hidden;
}
.lx-uc-stat::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--lx-primary), var(--lx-gold)); opacity: 0; transition: opacity .25s; }
.lx-uc-stat:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-2px); border-color: rgba(74,92,122,0.2); }
.lx-uc-stat:hover::before { opacity: 1; }
.lx-uc-stat__label { font-size: 12px; color: var(--lx-fg-2); margin-bottom: 10px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.lx-uc-stat__value { font-size: 26px; font-weight: 900; letter-spacing: -0.5px; }
.lx-uc-stat__value .cur { font-size: 15px; color: var(--lx-gold); font-weight: 700; margin-right: 2px; }
.lx-uc-stat--primary { background: linear-gradient(135deg, #4a5c7a 0%, #5d7296 100%); border-color: transparent; }
.lx-uc-stat--primary .lx-uc-stat__label, .lx-uc-stat--primary .lx-uc-stat__value { color: #fff; }
.lx-uc-stat--primary .lx-uc-stat__value .cur { color: var(--lx-gold-soft); }
.lx-uc-stat--primary::before { background: linear-gradient(90deg, #fff, var(--lx-gold)); opacity: 0.3; }
.lx-uc-stat--coin .lx-uc-stat__value { color: var(--lx-gold); }
.lx-uc-stat--info .lx-uc-stat__value { color: #4a90b8; }
.lx-uc-stat--success .lx-uc-stat__value { color: #4a9d5e; }
.lx-uc-stat--warning .lx-uc-stat__value { color: #c99a3a; }
.lx-uc-stat__unit { font-size: 12px; color: var(--lx-fg-2); font-weight: 400; margin-left: 4px; }

.lx-uc-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 16px; }
.lx-uc-strip__item {
  display: flex; align-items: center; gap: 10px;
  background: var(--lx-card); border: 1px solid var(--lx-border);
  border-radius: 12px; padding: 14px 16px; font-size: 13px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03); transition: all .2s;
}
.lx-uc-strip__item:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.06); transform: translateY(-1px); border-color: rgba(74,92,122,0.2); }
.lx-uc-strip__k { color: var(--lx-fg-2); font-weight: 500; }
.lx-uc-strip__v { margin-left: auto; font-weight: 800; font-size: 18px; color: var(--lx-primary); }

.lx-uc-card {
  background: var(--lx-card); border: 1px solid var(--lx-border);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: box-shadow .25s;
  margin-bottom: 20px;
}
.lx-uc-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.06); }
.lx-uc-card__head {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 20px; border-bottom: 1px solid var(--lx-border);
  font-size: 15px; font-weight: 700; background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
  position: relative;
}
.lx-uc-card__head .material-icons-outlined { color: var(--lx-primary); font-size: 20px; }
.lx-uc-card__head::after { content: ''; position: absolute; bottom: -1px; left: 20px; width: 40px; height: 2px; background: var(--lx-primary); border-radius: 1px; }
.lx-uc-card__body { padding: 20px; }
.lx-uc-card__title { font-size: 15px; font-weight: 700; }
.lx-uc-card__sub { font-size: 12px; color: var(--lx-fg-2); font-weight: 400; margin-top: 2px; display: block; }

.lx-uc-subtab {
  display: flex; gap: 4px; margin-bottom: 20px; flex-wrap: wrap;
  border-bottom: 2px solid var(--lx-border); padding-bottom: 0;
}
.lx-uc-subtab a {
  padding: 10px 18px; font-size: 13px; color: var(--lx-fg-2);
  border-radius: 10px 10px 0 0; transition: all .15s; font-weight: 600;
  position: relative; margin-bottom: -2px;
}
.lx-uc-subtab a:hover { color: var(--lx-primary); background: var(--lx-card-hover); }
.lx-uc-subtab a.active { color: var(--lx-primary); background: var(--lx-card); border: 2px solid var(--lx-border); border-bottom: 2px solid var(--lx-card); font-weight: 700; }

/* 会员中心：表格精致适配 */
.lx-uc-main .bootstrap-table, .lx-uc-main table { color: var(--lx-fg); width: 100% !important; }
.lx-uc-main .fixed-table-container { background: transparent; border-radius: 10px; min-height: 200px; border: 1px solid var(--lx-border); overflow: hidden; }
.lx-uc-main .fixed-table-body { min-height: 150px; overflow-x: auto; overflow-y: auto; }
.lx-uc-main .table { color: var(--lx-fg); background: transparent; width: 100% !important; margin-bottom: 0; }
.lx-uc-main .table > thead > tr > th {
  background: linear-gradient(180deg, #f7f9fc 0%, #eef1f5 100%);
  border-color: var(--lx-border); color: var(--lx-fg-2); font-weight: 700;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px;
  padding: 12px 14px; border-bottom: 2px solid var(--lx-border);
}
.lx-uc-main .table > tbody > tr > td { border-color: #f0f2f5; vertical-align: middle; padding: 12px 14px; font-size: 13px; }
.lx-uc-main .table-hover > tbody > tr:hover { background: linear-gradient(90deg, rgba(74,92,122,0.04), rgba(184,153,104,0.03)); }
.lx-uc-main .table > tbody > tr:nth-child(even) { background: #fafbfc; }
.lx-uc-main .table > tbody > tr:nth-child(even):hover { background: linear-gradient(90deg, rgba(74,92,122,0.04), rgba(184,153,104,0.03)); }
.lx-uc-main .fixed-table-pagination { color: var(--lx-fg-2); padding: 12px 16px; background: var(--lx-card-hover); border-top: 1px solid var(--lx-border); }
.lx-uc-main .pagination > li > a, .lx-uc-main .pagination > li > span {
  background: var(--lx-card); border-color: var(--lx-border); color: var(--lx-fg);
  border-radius: 8px !important; margin: 0 3px; padding: 6px 12px; font-size: 12px;
  transition: all .15s;
}
.lx-uc-main .pagination > li > a:hover { background: var(--lx-primary); border-color: var(--lx-primary); color: #fff; }
.lx-uc-main .pagination > .active > a, .lx-uc-main .pagination > .active > span {
  background: linear-gradient(135deg, var(--lx-primary), var(--lx-primary-2));
  border-color: var(--lx-primary); color: #fff; box-shadow: 0 2px 8px rgba(74,92,122,0.25);
}
.lx-uc-main .fixed-table-toolbar { width: 100%; padding: 12px 0; }
.lx-uc-main .fixed-table-toolbar .search, .lx-uc-main .fixed-table-toolbar .form-group { display: inline-block; margin-right: 10px; margin-bottom: 8px; }
.lx-uc-main .fixed-table-toolbar select, .lx-uc-main .fixed-table-toolbar input {
  min-width: 120px; padding: 8px 12px; border: 1px solid var(--lx-border);
  border-radius: 8px; background: #fff; color: var(--lx-fg); font-size: 13px;
  transition: all .15s;
}
.lx-uc-main .fixed-table-toolbar select:focus, .lx-uc-main .fixed-table-toolbar input:focus {
  border-color: var(--lx-primary); box-shadow: 0 0 0 3px rgba(74,92,122,0.1); outline: none;
}
.lx-uc-main .table-switch-state { margin-bottom: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.lx-uc-main .table-switch-state button {
  padding: 7px 16px; border: 1px solid var(--lx-border); background: var(--lx-card);
  color: var(--lx-fg-2); border-radius: 8px; font-size: 12px; font-weight: 600;
  cursor: pointer; transition: all .15s;
}
.lx-uc-main .table-switch-state button:hover { border-color: var(--lx-primary); color: var(--lx-primary); }
.lx-uc-main .table-switch-state button.active {
  background: linear-gradient(135deg, var(--lx-primary), var(--lx-primary-2));
  border-color: var(--lx-primary); color: #fff; box-shadow: 0 2px 8px rgba(74,92,122,0.2);
}

/* select2 下拉框适配 */
.select2-container { width: 100% !important; }
.select2-container--default .select2-selection--single { background: #fff !important; border: 1px solid var(--lx-border) !important; border-radius: 8px !important; height: 40px !important; }
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--lx-fg) !important; line-height: 38px !important; padding-left: 12px !important; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 38px !important; right: 8px !important; }
.select2-container--default .select2-dropdown { background: #ffffff !important; border: 1px solid var(--lx-border) !important; border-radius: 8px !important; box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important; z-index: 9999 !important; }
.select2-container--default .select2-search--dropdown { background: #fff !important; padding: 8px !important; border-bottom: 1px solid var(--lx-border) !important; }
.select2-container--default .select2-search__field { color: var(--lx-fg) !important; background: #fff !important; border: 1px solid var(--lx-border) !important; border-radius: 6px !important; padding: 6px 10px !important; width: 100% !important; }
.select2-container--default .select2-results { background: #fff !important; }
.select2-container--default .select2-results__option { color: var(--lx-fg) !important; background: #fff !important; padding: 10px 12px !important; border-bottom: 1px solid #f0f2f5 !important; }
.select2-container--default .select2-results__option:last-child { border-bottom: none !important; }
.select2-container--default .select2-results__option:hover,
.select2-container--default .select2-results__option--highlighted { background: #f0f2f5 !important; color: var(--lx-fg) !important; }
.select2-container--default .select2-results__option[aria-selected="true"] { background: var(--lx-primary) !important; color: #fff !important; }
.select2-container--default .select2-results__option .select2-results__option { padding-left: 20px !important; }
.select2-container--default .select2-results__message { color: var(--lx-fg-2) !important; padding: 12px !important; text-align: center !important; }
.select2-container--default.select2-container--focus .select2-selection--single { border-color: var(--lx-primary) !important; box-shadow: 0 0 0 3px rgba(74,92,122,0.15) !important; }

/* 会员中心：表单精致适配 */
.lx-uc-main .layui-form-item { margin-bottom: 18px; }
.lx-uc-main .layui-form-label { color: var(--lx-fg-2); font-weight: 600; font-size: 13px; padding: 9px 12px 9px 0; }
.lx-uc-main .layui-input, .lx-uc-main .layui-textarea, .lx-uc-main .layui-select {
  background: var(--lx-card); border-color: var(--lx-border); color: var(--lx-fg);
  border-radius: 10px; padding: 9px 14px; font-size: 13px; transition: all .15s;
  border-width: 1px;
}
.lx-uc-main .layui-input:focus, .lx-uc-main .layui-textarea:focus {
  border-color: var(--lx-primary); box-shadow: 0 0 0 3px rgba(74,92,122,0.1); outline: none;
  background: #fff;
}
.lx-uc-main .layui-input:hover, .lx-uc-main .layui-textarea:hover { border-color: rgba(74,92,122,0.4); }
.lx-uc-main .layui-btn {
  background: linear-gradient(135deg, var(--lx-primary), var(--lx-primary-2));
  border-radius: 10px; font-weight: 600; font-size: 13px; padding: 0 20px;
  height: 38px; line-height: 38px; border: none; transition: all .15s;
  box-shadow: 0 2px 8px rgba(74,92,122,0.2);
}
.lx-uc-main .layui-btn:hover { filter: brightness(1.1); box-shadow: 0 4px 14px rgba(74,92,122,0.3); transform: translateY(-1px); }
.lx-uc-main .layui-btn-primary {
  background: var(--lx-card); border: 1px solid var(--lx-border); color: var(--lx-fg);
  box-shadow: none;
}
.lx-uc-main .layui-btn-primary:hover { background: var(--lx-card-hover); border-color: var(--lx-primary); color: var(--lx-primary); box-shadow: none; transform: none; filter: none; }
.lx-uc-main .layui-btn-danger { background: linear-gradient(135deg, #dc2626, #ef4444); box-shadow: 0 2px 8px rgba(220,38,38,0.2); }
.lx-uc-main .layui-form-checkbox, .lx-uc-main .layui-form-radio { color: var(--lx-fg-2); font-size: 13px; }
.lx-uc-main .form-block { margin-bottom: 18px; }
.lx-uc-main .form-header { font-size: 13px; color: var(--lx-fg-2); margin-bottom: 8px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.lx-uc-main .form-header::before { content: ''; width: 3px; height: 14px; background: var(--lx-primary); border-radius: 1px; }
.lx-uc-main .form-body { margin-bottom: 14px; }
.lx-uc-main .avatar-img, .lx-uc-main .uc-avatar-edit {
  width: 84px; height: 84px; border-radius: 14px; object-fit: cover;
  border: 2px solid var(--lx-border); cursor: pointer; transition: all .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.lx-uc-main .avatar-img:hover, .lx-uc-main .uc-avatar-edit:hover { border-color: var(--lx-primary); box-shadow: 0 4px 14px rgba(74,92,122,0.15); transform: scale(1.02); }
.lx-uc-main .wx_qrcode, .lx-uc-main .wx_qrcode_temp {
  width: 120px; height: 120px; border-radius: 12px; object-fit: cover;
  border: 2px dashed var(--lx-border); display: inline-flex; align-items: center;
  justify-content: center; font-size: 40px; color: var(--lx-fg-2); cursor: pointer;
  background: var(--lx-card-hover); transition: all .2s;
}
.lx-uc-main .wx_qrcode:hover, .lx-uc-main .wx_qrcode_temp:hover { border-color: var(--lx-primary); color: var(--lx-primary); background: rgba(74,92,122,0.04); }

/* 会员中心：信息展示区 */
.lx-uc-main .uc-info { background: var(--lx-card-hover); border: 1px solid var(--lx-border); border-radius: 12px; padding: 16px 20px; }
.lx-uc-main .uc-info__row { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid #f0f2f5; }
.lx-uc-main .uc-info__row:last-child { border-bottom: none; }
.lx-uc-main .uc-info__k { width: 120px; font-size: 13px; color: var(--lx-fg-2); font-weight: 600; flex-shrink: 0; }
.lx-uc-main .uc-info__v { flex: 1; font-size: 13px; color: var(--lx-fg); }
.lx-uc-main .uc-chip {
  display: inline-block; padding: 4px 10px; background: var(--lx-card);
  border: 1px solid var(--lx-border); border-radius: 6px; font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--lx-fg);
}
.lx-uc-main .uc-minibtn {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px;
  background: var(--lx-card); border: 1px solid var(--lx-border); border-radius: 6px;
  font-size: 12px; color: var(--lx-fg-2); cursor: pointer; transition: all .15s;
  margin-left: 8px;
}
.lx-uc-main .uc-minibtn:hover { border-color: var(--lx-primary); color: var(--lx-primary); background: rgba(74,92,122,0.04); }
.lx-uc-main .uc-cta {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px;
  background: linear-gradient(135deg, var(--lx-primary), var(--lx-primary-2));
  color: #fff; border: none; border-radius: 10px; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .15s; box-shadow: 0 2px 8px rgba(74,92,122,0.2);
}
.lx-uc-main .uc-cta:hover { filter: brightness(1.1); box-shadow: 0 4px 14px rgba(74,92,122,0.3); transform: translateY(-1px); }
.lx-uc-main .uc-cta .material-icons-outlined { font-size: 18px; }
/* 工单订单预览图片限制 */
.uc-ticket-order-picked { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--lx-card-hover); border: 1px solid var(--lx-border); border-radius: 10px; margin-top: 10px; }
.uc-ticket-order-picked img { width: 56px !important; height: 56px !important; max-width: 56px !important; max-height: 56px !important; object-fit: cover; border-radius: 8px; border: 1px solid var(--lx-border); flex-shrink: 0; }
.uc-ticket-order-picked span { flex: 1; min-width: 0; }
.uc-ticket-order-picked small { display: block; font-size: 11px; color: var(--lx-fg-2); margin-bottom: 2px; }
.uc-ticket-order-picked strong { display: block; font-size: 13px; color: var(--lx-fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uc-ticket-order-picked em { display: block; font-size: 11px; color: var(--lx-fg-2); font-style: normal; margin-top: 2px; }
/* select2 下拉框里的工单订单/商品选项 */
.select2-results__option .uc-ticket-option { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.select2-results__option .uc-ticket-option img { width: 44px !important; height: 44px !important; max-width: 44px !important; max-height: 44px !important; object-fit: cover; border-radius: 8px; border: 1px solid var(--lx-border); flex-shrink: 0; }
.select2-results__option .uc-ticket-option span { flex: 1; min-width: 0; }
.select2-results__option .uc-ticket-option strong { display: block; font-size: 13px; color: var(--lx-fg); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.select2-results__option .uc-ticket-option em { display: block; font-size: 11px; color: var(--lx-fg-2); font-style: normal; margin-top: 2px; }
/* select2 选中后显示的文字 */
.select2-selection__rendered .uc-ticket-option { display: flex; align-items: center; gap: 8px; }
.select2-selection__rendered .uc-ticket-option img { width: 28px !important; height: 28px !important; max-width: 28px !important; max-height: 28px !important; object-fit: cover; border-radius: 6px; }

/* 会员中心通用图片尺寸限制 */
.lx-uc-main img { max-width: 100%; height: auto; }
.lx-uc-main .uc-info img, .lx-uc-main .uc-chip img { width: auto; height: auto; max-width: none; }
/* 支付方式图标 */
.pay-list { display: flex; flex-wrap: wrap; gap: 10px; }
.pay-list .btn-pay { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--lx-border); border-radius: 10px; background: var(--lx-card); cursor: pointer; transition: all .15s; font-size: 13px; color: var(--lx-fg) !important; line-height: 1.4 !important; }
.pay-list .btn-pay:hover { border-color: var(--lx-primary-2); background: var(--lx-card-hover); }
.pay-list .btn-pay.checked { border-color: var(--lx-primary); background: rgba(74,92,122,0.06); box-shadow: 0 0 0 2px rgba(74,92,122,0.15); }
.pay-icon { width: 24px !important; height: 24px !important; max-width: 24px !important; max-height: 24px !important; object-fit: contain; flex-shrink: 0; }
/* 会员等级图标 */
.uc-topup-progress__level img { width: 20px !important; height: 20px !important; max-width: 20px !important; max-height: 20px !important; object-fit: contain; display: inline-block; vertical-align: middle; margin-right: 4px; }
.uc-topup-level__mark img { width: 32px !important; height: 32px !important; max-width: 32px !important; max-height: 32px !important; object-fit: contain; }
/* 商品订单/卡密等列表图片 */
.lx-uc-main .fixed-table-body img { max-width: 40px !important; max-height: 40px !important; object-fit: cover; border-radius: 6px; }
/* 消息中心：消息列表和详情弹窗图片限制 */
.uc-message-cell img, .uc-message-mobile-card img, .layui-layer-content img, .message-preview img, .preview-message img { max-width: 100% !important; max-height: 300px !important; height: auto !important; object-fit: contain; border-radius: 8px; }
/* 全局弹窗内图片限制 */
.layui-layer img { max-width: 100% !important; height: auto !important; }
/* 消息详情内容区 */
.uc-message-detail, .message-detail-content { line-height: 1.8; font-size: 14px; color: var(--lx-fg); }
.uc-message-detail img, .message-detail-content img { max-width: 100% !important; max-height: 400px !important; height: auto !important; object-fit: contain; border-radius: 8px; margin: 8px 0; }

/* ---------- 消息详情弹窗美化（银白色调） ---------- */
.layui-layer-md-message-layer { border-radius: 16px !important; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.18), 0 0 0 1px rgba(255,255,255,0.6) !important; }
.layui-layer-md-message-layer .layui-layer-content { padding: 0 !important; background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%) !important; }
.md-message-preview { font-family: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
.md-message-preview__header { display: flex; align-items: flex-start; gap: 14px; padding: 22px 24px 18px; background: linear-gradient(135deg, #f0f2f5 0%, #e4e8ed 100%); border-bottom: 1px solid #e2e6ec; position: relative; }
.md-message-preview__header::after { content: ''; position: absolute; bottom: -1px; left: 24px; right: 24px; height: 2px; background: linear-gradient(90deg, transparent, #b89968, transparent); opacity: 0.5; }
.md-message-preview__icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, #4a5c7a, #5d7296); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(74,92,122,0.3); }
.md-message-preview__icon .material-icons-outlined { color: #fff; font-size: 24px; }
.md-message-preview__heading { flex: 1; min-width: 0; }
.md-message-preview__heading span { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: 2px; color: #b89968; text-transform: uppercase; margin-bottom: 4px; padding: 2px 8px; background: rgba(184,153,104,0.1); border-radius: 4px; }
.md-message-preview__heading h2 { margin: 0; font-size: 18px; font-weight: 700; color: #1f2937; line-height: 1.4; word-break: break-word; }
.md-message-preview__heading time { display: block; font-size: 12px; color: #6b7280; margin-top: 6px; display: flex; align-items: center; gap: 4px; }
.md-message-preview__heading time::before { content: 'schedule'; font-family: 'Material Icons Outlined'; font-size: 14px; }
.md-message-preview__close { flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; border: 1px solid #e2e6ec; background: #fff; color: #6b7280; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .15s; padding: 0; }
.md-message-preview__close:hover { background: #f0f2f5; color: #1f2937; border-color: #4a5c7a; transform: rotate(90deg); }
.md-message-preview__close .material-icons-outlined { font-size: 20px; }
.md-message-preview__content { padding: 24px; font-size: 14px; line-height: 1.85; color: #374151; min-height: 80px; }
.md-message-preview__content p { margin: 0 0 12px; }
.md-message-preview__content p:last-child { margin-bottom: 0; }
.md-message-preview__content img { border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.md-message-preview__content a { color: #4a5c7a; text-decoration: underline; text-underline-offset: 2px; }
.md-message-preview__content a:hover { color: #344358; }
.md-message-preview__content h1, .md-message-preview__content h2, .md-message-preview__content h3 { color: #1f2937; font-weight: 700; margin: 16px 0 8px; }
.md-message-preview__content ul, .md-message-preview__content ol { padding-left: 20px; margin: 8px 0; }
.md-message-preview__content li { margin-bottom: 4px; }
.md-message-preview__content blockquote { border-left: 3px solid #b89968; padding-left: 14px; margin: 12px 0; color: #6b7280; background: rgba(184,153,104,0.04); padding-top: 8px; padding-bottom: 8px; border-radius: 0 8px 8px 0; }
.md-message-preview__content code { background: #f0f2f5; padding: 2px 6px; border-radius: 4px; font-size: 13px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.md-message-preview__content pre { background: #1f2937; color: #e5e7eb; padding: 14px 16px; border-radius: 10px; overflow-x: auto; margin: 12px 0; }
.md-message-preview__content pre code { background: transparent; padding: 0; color: inherit; }
.layui-layer-md-message-layer .layui-layer-btn { padding: 14px 24px 20px; border-top: 1px solid #e2e6ec; background: #f7f9fc; text-align: right; }
.layui-layer-md-message-layer .layui-layer-btn a { height: 38px; line-height: 38px; padding: 0 20px; border-radius: 10px; font-size: 13px; font-weight: 600; border: 1px solid #4a5c7a; background: linear-gradient(135deg, #4a5c7a, #5d7296); color: #fff; }
.layui-layer-md-message-layer .layui-layer-btn a:hover { filter: brightness(1.1); box-shadow: 0 4px 12px rgba(74,92,122,0.3); }
.layui-layer-md-message-layer .layui-layer-btn .layui-layer-btn1 { background: #fff; color: #4a5c7a; border-color: #e2e6ec; }
.layui-layer-md-message-layer .layui-layer-btn .layui-layer-btn1:hover { background: #f0f2f5; border-color: #4a5c7a; box-shadow: none; }

/* 会员中心响应式 */
@container lxframe (max-width: 1024px) {
  .lx-uc-side { width: 180px; }
  .lx-uc-main { padding: 18px; }
  .lx-uc-stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}
@container lxframe (max-width: 768px) {
  .lx-uc-top__menu { display: flex; }
  .lx-uc-side {
    position: fixed; left: 0; top: 0; bottom: 0; z-index: 999;
    width: 260px; max-height: 100vh; padding-top: 70px;
    transform: translateX(-100%); transition: transform .3s ease;
    box-shadow: 4px 0 20px rgba(0,0,0,0.15);
  }
  .lx-uc-side.is-open { transform: translateX(0); }
  .lx-uc-main { padding: 14px; max-width: 100%; }
  .lx-uc-top { padding: 10px 14px; gap: 8px; }
  .lx-uc-top__name { display: none; }
  .lx-uc-top__link { padding: 6px 8px; font-size: 12px; }
  .lx-uc-top__user { padding: 3px 10px 3px 3px; }
  .lx-uc-page__title { font-size: 18px; }
  .lx-uc-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .lx-uc-stat { padding: 14px; }
  .lx-uc-stat__value { font-size: 20px; }
  .lx-uc-card__head { padding: 14px 16px; }
  .lx-uc-card__body { padding: 16px; }
  .lx-uc-main .table > thead > tr > th, .lx-uc-main .table > tbody > tr > td { padding: 10px 8px; font-size: 12px; }
  .lx-uc-main .uc-info__k { width: 90px; font-size: 12px; }
  .lx-uc-main .uc-info__v { font-size: 12px; }
  /* 手机端：表格工具栏/筛选区紧凑不堆叠 */
  .lx-uc-main .fixed-table-toolbar .search, .lx-uc-main .fixed-table-toolbar .form-group { display: block; width: 100%; margin-right: 0; margin-bottom: 8px; }
  .lx-uc-main .fixed-table-toolbar .form-control, .lx-uc-main .fixed-table-toolbar select, .lx-uc-main .fixed-table-toolbar input { width: 100% !important; max-width: 100% !important; }
  .lx-uc-main .fixed-table-toolbar .btn-group, .lx-uc-main .fixed-table-toolbar .btn { width: 100%; }
  .lx-uc-main .fixed-table-pagination .pagination { flex-wrap: wrap; justify-content: center; }
  .lx-uc-main .fixed-table-pagination .page-size { display: block; width: 100%; margin-bottom: 6px; }
  /* 手机端：卡片内边距收敛 */
  .lx-uc-main .lx-uc-card__body { padding: 12px; }
}
@container lxframe (max-width: 480px) {
  .lx-uc-stats { grid-template-columns: 1fr; }
  .lx-uc-strip { grid-template-columns: 1fr; }
  .lx-uc-top__link span { display: none; }
  .lx-uc-main .layui-form-label { width: 100%; text-align: left; padding-bottom: 6px; }
  .lx-uc-main .layui-input-block { margin-left: 0; }
}

/* ---------- 自定义购买成功弹窗 ---------- */
.lx-tr-mask {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.lx-tr {
  position: relative; width: 100%; max-width: 440px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px solid var(--lx-border); border-radius: 18px;
  padding: 28px 24px 24px; box-shadow: 0 24px 60px rgba(0,0,0,0.15);
  animation: lx-tr-in .25s ease;
}
@keyframes lx-tr-in { from { opacity: 0; transform: translateY(20px) scale(.96); } to { opacity: 1; transform: none; } }
.lx-tr__close {
  position: absolute; top: 12px; right: 14px;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--lx-border); background: var(--lx-card-hover);
  color: var(--lx-fg-2); font-size: 20px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.lx-tr__close:hover { background: var(--lx-danger); color: #fff; border-color: var(--lx-danger); transform: rotate(90deg); }
.lx-tr__title { font-size: 22px; font-weight: 900; text-align: center; margin-bottom: 6px; }
.lx-tr__trade { font-size: 12px; color: var(--lx-fg-2); text-align: center; margin-bottom: 16px; word-break: break-all; }
.lx-tr__contact {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 0 auto 14px; padding: 8px 14px; width: fit-content; max-width: 100%;
  font-size: 13px; border-radius: 10px;
  background: var(--lx-card-hover); border: 1px solid var(--lx-border);
  box-sizing: border-box;
}
.lx-tr__contact-label { color: var(--lx-fg-2); font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.lx-tr__contact-value { color: var(--lx-primary); font-weight: 700; word-break: break-all; }
.lx-tr__code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px; line-height: 1.75; white-space: pre-wrap; word-break: break-all;
  padding: 14px 16px; border-radius: 10px;
  background: var(--lx-card-hover); border: 1px solid var(--lx-border);
  max-height: 200px; overflow-y: auto; user-select: text; -webkit-user-select: text;
}
.lx-tr__dispatching {
  margin: 4px auto 14px; padding: 10px 14px; width: fit-content; max-width: 100%;
  font-size: 13px; font-weight: 600; color: var(--lx-primary); text-align: center;
  border-radius: 10px; background: var(--lx-card-hover); border: 1px solid var(--lx-border);
  box-sizing: border-box;
}
.lx-tr__bar { display: flex; gap: 10px; margin-top: 14px; }
.lx-tr__btn {
  flex: 1; border: 1px solid var(--lx-border); background: var(--lx-card-hover);
  color: var(--lx-fg); font-size: 13px; font-weight: 600; padding: 10px;
  border-radius: 10px; cursor: pointer; transition: all .15s;
}
.lx-tr__btn:hover { background: var(--lx-primary); border-color: var(--lx-primary); color: #fff; }
.lx-tr__note {
  margin-top: 14px; padding: 12px 14px; border-radius: 10px;
  background: rgba(184,153,104,0.06); border-left: 3px solid var(--lx-gold);
}
.lx-tr__note-title { font-size: 12px; color: var(--lx-gold); font-weight: 700; margin-bottom: 6px; }
.lx-tr__note-body { font-size: 13px; line-height: 1.7; color: var(--lx-fg-2); word-break: break-word; max-height: 120px; overflow-y: auto; }
/* 商品服务模式：按钮关联图片 + 主按钮 */
.lx-tr__img {
  margin: 0 auto 14px; width: fit-content; max-width: 100%; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--lx-border); background: var(--lx-card-hover);
}
.lx-tr__img img { display: block; max-width: 100%; max-height: 260px; object-fit: contain; }
.lx-tr__primary {
  border: none; background: var(--lx-primary); color: #fff; font-size: 14px; padding: 11px;
}
.lx-tr__primary:hover { background: var(--lx-primary); color: #fff; opacity: .9; }

/* ---------- 验证码上下遮挡修复 ---------- */
.lx-detail__field--cap {
  flex-wrap: wrap; row-gap: 8px; padding-top: 10px; padding-bottom: 10px;
}
.lx-detail__field--cap input { flex: 1; min-width: 120px; padding: 10px 0; }
.lx-detail__field.captcha-img, .lx-auth__capimg {
  margin-top: 2px; margin-bottom: 2px;
}

/* ============================================================
   充值中心 · 银白色调精致美化
   ============================================================ */
.uc-topup { max-width: 1200px; margin: 0 auto; }
.uc-topup-overview { position: relative; overflow: hidden; background: linear-gradient(135deg, #4a5c7a 0%, #5d7296 50%, #6b82a8 100%) !important; border: none !important; color: #fff; }
.uc-topup-overview::before { content: ''; position: absolute; top: -50%; right: -10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(184,153,104,0.25) 0%, transparent 70%); border-radius: 50%; }
.uc-topup-overview::after { content: ''; position: absolute; bottom: -30%; left: -5%; width: 300px; height: 300px; background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%); border-radius: 50%; }
.uc-topup-overview .lx-uc-card__body { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 22px; }
.uc-topup-balance { flex: 1; min-width: 260px; display: flex; align-items: center; gap: 16px; }
.uc-topup-balance__copy { flex: 1; display: grid; grid-template-columns: auto auto 1fr; align-items: baseline; column-gap: 10px; row-gap: 3px; min-width: 0; }
.uc-topup-balance__icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,0.16); backdrop-filter: blur(10px); flex: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18); }
.uc-topup-balance__icon .material-icons-outlined { color: #fff; font-size: 24px; }
.uc-topup-balance__eyebrow { display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,0.75); font-weight: 600; letter-spacing: 0.5px; grid-column: 1 / span 2; }
.uc-topup-balance__label { grid-column: 1; grid-row: 2; font-size: 13px; color: rgba(255,255,255,0.75); }
.uc-topup-balance__value { grid-column: 2; grid-row: 2; font-size: 30px; font-weight: 900; color: #fff; letter-spacing: -1px; line-height: 1; }
.uc-topup-balance__value small { font-size: 17px; color: var(--lx-gold-soft); font-weight: 700; margin-right: 4px; }
.uc-topup-balance__hint { grid-column: 3; grid-row: 1 / span 2; align-self: center; justify-self: end; max-width: 300px; text-align: right; font-size: 12px; line-height: 1.5; color: rgba(255,255,255,0.65); }
.uc-topup-progress { flex: 1; min-width: 280px; background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border-radius: 14px; padding: 18px 20px; border: 1px solid rgba(255,255,255,0.15); }
.uc-topup-progress__head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; }
.uc-topup-progress__label { font-size: 13px; color: rgba(255,255,255,0.8); font-weight: 600; display: block; margin-bottom: 4px; }
.uc-topup-progress__level { font-size: 15px; color: #fff; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.uc-topup-progress__level img { width: 22px !important; height: 22px !important; max-width: 22px !important; max-height: 22px !important; border-radius: 50%; }
.uc-topup-progress__head strong { font-size: 24px; color: var(--lx-gold-soft); font-weight: 900; }
.uc-topup-progress__head strong small { font-size: 12px; color: rgba(255,255,255,0.6); font-weight: 400; margin-left: 2px; }
.uc-topup-progress__track { height: 8px; background: rgba(255,255,255,0.15); border-radius: 4px; overflow: hidden; margin-bottom: 12px; }
.uc-topup-progress__track span { display: block; height: 100%; background: linear-gradient(90deg, var(--lx-gold), var(--lx-gold-soft)); border-radius: 4px; transition: width .5s ease; box-shadow: 0 0 8px rgba(184,153,104,0.5); }
.uc-topup-progress__foot { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.7); }
.uc-topup-progress__foot b { color: #fff; font-weight: 700; }
.uc-topup-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 20px; }
.uc-topup-form .lx-uc-card__body { padding: 24px; }
.uc-topup-cardtitle { display: flex; flex-direction: column; gap: 2px; }
.uc-topup-section { margin-bottom: 28px; }
.uc-topup-section:last-child { margin-bottom: 0; }
.uc-topup-section__head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.uc-topup-section__head strong { font-size: 15px; font-weight: 700; color: var(--lx-fg); display: block; }
.uc-topup-section__head span { font-size: 12px; color: var(--lx-fg-2); display: block; margin-top: 2px; }
.uc-topup-section__step { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--lx-primary), var(--lx-primary-2)); color: #fff; font-size: 13px; font-weight: 800; flex-shrink: 0; box-shadow: 0 2px 6px rgba(74,92,122,0.25); }
.uc-topup-presets { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.uc-topup-preset { padding: 12px 20px; border: 1.5px solid var(--lx-border); background: var(--lx-card); border-radius: 10px; font-size: 14px; font-weight: 700; color: var(--lx-fg); cursor: pointer; transition: all .18s; display: flex; align-items: baseline; gap: 2px; }
.uc-topup-preset small { font-size: 11px; color: var(--lx-fg-2); font-weight: 500; }
.uc-topup-preset:hover { border-color: var(--lx-primary); color: var(--lx-primary); transform: translateY(-1px); box-shadow: 0 4px 10px rgba(74,92,122,0.1); }
.uc-topup-preset.active { border-color: var(--lx-primary); background: linear-gradient(135deg, rgba(74,92,122,0.08), rgba(74,92,122,0.04)); color: var(--lx-primary); box-shadow: 0 0 0 3px rgba(74,92,122,0.1); }
.uc-topup-amount { display: flex; align-items: center; gap: 0; border: 1.5px solid var(--lx-border); border-radius: 10px; overflow: hidden; transition: all .15s; background: var(--lx-card); }
.uc-topup-amount:focus-within { border-color: var(--lx-primary); box-shadow: 0 0 0 3px rgba(74,92,122,0.1); }
.uc-topup-amount__cur { padding: 0 14px; font-size: 18px; font-weight: 700; color: var(--lx-gold); background: var(--lx-card-hover); height: 44px; display: flex; align-items: center; border-right: 1px solid var(--lx-border); }
.uc-topup-amount input { flex: 1; border: none !important; background: transparent !important; height: 44px !important; padding: 0 14px !important; font-size: 18px !important; font-weight: 700 !important; border-radius: 0 !important; box-shadow: none !important; color: var(--lx-fg) !important; -webkit-text-fill-color: var(--lx-fg) !important; caret-color: var(--lx-fg) !important; }
.uc-topup-amount__unit { padding: 0 14px; font-size: 12px; color: var(--lx-fg-2); background: var(--lx-card-hover); height: 44px; display: flex; align-items: center; border-left: 1px solid var(--lx-border); }
.uc-topup-limit { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--lx-fg-2); margin-top: 10px; }
.uc-topup-limit .material-icons-outlined { font-size: 14px; color: var(--lx-gold); }
.uc-topup-limit b { color: var(--lx-fg); font-weight: 700; }
.uc-topup-bonuses { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.uc-topup-bonus { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; background: linear-gradient(135deg, rgba(184,153,104,0.1), rgba(184,153,104,0.05)); border: 1px solid rgba(184,153,104,0.3); border-radius: 8px; font-size: 12px; color: #8a7340; font-weight: 600; }
.uc-topup-bonus .material-icons-outlined { font-size: 14px; }
.uc-topup-bonus b { color: var(--lx-gold); font-weight: 800; }
.uc-topup-methods { display: flex; flex-wrap: wrap; gap: 10px; }
.uc-topup-submit { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--lx-border); }
.uc-topup-submit > span { font-size: 12px; color: var(--lx-fg-2); display: flex; align-items: center; gap: 6px; }
.uc-topup-submit > span .material-icons-outlined { font-size: 16px; color: var(--lx-gold); }
.uc-topup-submit .payButton { display: inline-flex; flex: 1; justify-content: center; align-items: center; gap: 8px; padding: 12px 32px; background: linear-gradient(135deg, var(--lx-primary), var(--lx-primary-2)); color: #fff; border: none; border-radius: 10px; font-size: 14px; font-weight: 700; cursor: pointer; transition: all .18s; box-shadow: 0 4px 14px rgba(74,92,122,0.3); }
.uc-topup-submit .payButton:hover:not(:disabled) { filter: brightness(1.1); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(74,92,122,0.4); }
.uc-topup-submit .payButton:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; }
.uc-topup-submit__label { font-weight: 700; }
.uc-topup-settle { display: flex; align-items: center; justify-content: flex-end; gap: 16px; flex-wrap: wrap; margin-top: 18px; padding: 12px 16px; background: var(--lx-card-hover); border: 1px solid var(--lx-border); border-radius: 10px; font-size: 13px; color: var(--lx-fg-2); }
.uc-topup-settle b { color: var(--lx-fg); font-weight: 800; font-size: 15px; }
.uc-topup-settle__gift b { color: var(--lx-gold); }
.uc-topup-settle__total b { color: var(--lx-primary); }
.uc-topup-settle__total b .uc-topup-total { font-variant-numeric: tabular-nums; }
.uc-topup-summary .lx-uc-card__body { padding: 24px; }
.uc-topup-summary__hero { text-align: center; padding: 20px 0 24px; border-bottom: 1px solid var(--lx-border); margin-bottom: 20px; }
.uc-topup-summary__hero span { font-size: 12px; color: var(--lx-fg-2); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.uc-topup-summary__hero strong { display: block; font-size: 36px; font-weight: 900; color: var(--lx-primary); margin: 8px 0 4px; letter-spacing: -1px; }
.uc-topup-summary__hero strong small { font-size: 16px; color: var(--lx-gold); font-weight: 700; margin-right: 2px; }
.uc-topup-summary__hero em { font-size: 12px; color: var(--lx-fg-2); font-style: normal; }
.uc-topup-summary__rows { margin-bottom: 20px; }
.uc-topup-summary__rows > div { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #f0f2f5; font-size: 13px; }
.uc-topup-summary__rows > div:last-child { border-bottom: none; }
.uc-topup-summary__rows > div span { color: var(--lx-fg-2); }
.uc-topup-summary__rows > div strong { color: var(--lx-fg); font-weight: 700; }
.uc-topup-summary__status { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 10px; margin-bottom: 16px; font-size: 13px; font-weight: 600; }
.uc-topup-summary__status.is-waiting { background: rgba(184,153,104,0.08); border: 1px solid rgba(184,153,104,0.25); color: #8a7340; }
.uc-topup-summary__status.is-ready { background: rgba(74,157,94,0.08); border: 1px solid rgba(74,157,94,0.25); color: #3a7d4a; }
.uc-topup-summary__status .material-icons-outlined { font-size: 20px; }
.uc-topup-summary__note { display: flex; gap: 10px; padding: 14px 16px; background: var(--lx-card-hover); border-radius: 10px; margin-bottom: 12px; font-size: 12px; }
.uc-topup-summary__note .material-icons-outlined { font-size: 18px; color: var(--lx-gold); flex-shrink: 0; }
.uc-topup-summary__note strong { display: block; color: var(--lx-fg); font-weight: 700; margin-bottom: 2px; }
.uc-topup-summary__note span { color: var(--lx-fg-2); line-height: 1.5; }
.uc-topup-summary__safe { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--lx-fg-2); padding-top: 12px; border-top: 1px solid var(--lx-border); }
.uc-topup-summary__safe .material-icons-outlined { font-size: 16px; color: #4a9d5e; }
.uc-topup-growth .lx-uc-card__head { position: relative; }
.uc-topup-growth__current { font-size: 12px; color: var(--lx-gold); font-weight: 700; padding: 4px 10px; background: rgba(184,153,104,0.1); border-radius: 6px; margin-left: auto; }
.uc-topup-growth__swipe { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--lx-fg-2); margin-left: 10px; }
.uc-topup-levels { display: flex; gap: 12px; overflow-x: auto; padding: 8px 4px 12px; scrollbar-width: thin; }
.uc-topup-levels::-webkit-scrollbar { height: 4px; }
.uc-topup-levels::-webkit-scrollbar-thumb { background: var(--lx-border); border-radius: 2px; }
.uc-topup-level { flex: 0 0 140px; text-align: center; padding: 18px 14px; border: 1.5px solid var(--lx-border); border-radius: 12px; background: var(--lx-card); transition: all .2s; position: relative; }
.uc-topup-level.is-unlocked { border-color: rgba(74,92,122,0.3); background: linear-gradient(180deg, rgba(74,92,122,0.04), transparent); }
.uc-topup-level.is-current { border-color: var(--lx-primary); background: linear-gradient(180deg, rgba(74,92,122,0.08), rgba(74,92,122,0.02)); box-shadow: 0 4px 14px rgba(74,92,122,0.15); transform: translateY(-2px); }
.uc-topup-level__mark { position: relative; width: 48px; height: 48px; margin: 0 auto 10px; border-radius: 50%; background: var(--lx-card-hover); display: flex; align-items: center; justify-content: center; }
.uc-topup-level.is-unlocked .uc-topup-level__mark { background: linear-gradient(135deg, rgba(74,92,122,0.15), rgba(184,153,104,0.1)); }
.uc-topup-level.is-current .uc-topup-level__mark { background: linear-gradient(135deg, var(--lx-primary), var(--lx-primary-2)); box-shadow: 0 4px 10px rgba(74,92,122,0.3); }
.uc-topup-level__mark img { width: 28px !important; height: 28px !important; max-width: 28px !important; max-height: 28px !important; border-radius: 50%; }
.uc-topup-level__mark .material-icons-outlined { position: absolute; bottom: -2px; right: -2px; width: 18px; height: 18px; background: #4a9d5e; color: #fff; border-radius: 50%; font-size: 12px; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.uc-topup-level strong { display: block; font-size: 13px; font-weight: 700; color: var(--lx-fg); margin-bottom: 4px; }
.uc-topup-level small { font-size: 11px; color: var(--lx-fg-2); }
.uc-topup-level em { position: absolute; top: 8px; right: 8px; font-size: 10px; font-style: normal; padding: 2px 8px; background: var(--lx-primary); color: #fff; border-radius: 4px; font-weight: 700; }

/* ============================================================
   工单中心 · 银白色调精致美化
   ============================================================ */
.uc-ticket-page { max-width: 1100px; margin: 0 auto; }
.uc-ticket-hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 32px; background: linear-gradient(135deg, #4a5c7a 0%, #5d7296 100%); border-radius: 16px; margin-bottom: 20px; position: relative; overflow: hidden; }
.uc-ticket-hero::before { content: ''; position: absolute; top: -40%; right: -5%; width: 300px; height: 300px; background: radial-gradient(circle, rgba(184,153,104,0.2) 0%, transparent 70%); border-radius: 50%; }
.uc-ticket-hero__eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--lx-gold-soft); font-weight: 700; letter-spacing: 0.5px; margin-bottom: 8px; }
.uc-ticket-hero h1 { font-size: 28px; font-weight: 900; color: #fff; margin: 0 0 6px; letter-spacing: -0.5px; }
.uc-ticket-hero p { font-size: 13px; color: rgba(255,255,255,0.7); margin: 0; max-width: 420px; line-height: 1.6; }
.uc-ticket-hero__art { width: 64px; height: 64px; border-radius: 18px; background: rgba(255,255,255,0.12); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.uc-ticket-hero__art .material-icons-outlined { font-size: 32px; color: #fff; }
.uc-ticket-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 20px; }
.uc-ticket-stat { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--lx-card); border: 1px solid var(--lx-border); border-radius: 12px; cursor: pointer; transition: all .2s; position: relative; overflow: hidden; }
.uc-ticket-stat::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--lx-border); transition: background .2s; }
.uc-ticket-stat:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.08); border-color: rgba(74,92,122,0.2); }
.uc-ticket-stat.is-active { border-color: var(--lx-primary); background: linear-gradient(135deg, rgba(74,92,122,0.06), rgba(74,92,122,0.02)); box-shadow: 0 4px 14px rgba(74,92,122,0.12); }
.uc-ticket-stat.is-active::before { background: var(--lx-primary); }
.uc-ticket-stat__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--lx-card-hover); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.uc-ticket-stat__icon .material-icons-outlined { font-size: 20px; color: var(--lx-fg-2); }
.uc-ticket-stat__icon--waiting { background: rgba(201,154,58,0.1); }
.uc-ticket-stat__icon--waiting .material-icons-outlined { color: #c99a3a; }
.uc-ticket-stat__icon--reply { background: rgba(74,144,184,0.1); }
.uc-ticket-stat__icon--reply .material-icons-outlined { color: #4a90b8; }
.uc-ticket-stat__icon--done { background: rgba(74,157,94,0.1); }
.uc-ticket-stat__icon--done .material-icons-outlined { color: #4a9d5e; }
.uc-ticket-stat__icon--closed { background: rgba(107,114,128,0.1); }
.uc-ticket-stat__icon--closed .material-icons-outlined { color: #6b7280; }
.uc-ticket-stat__copy small { display: block; font-size: 11px; color: var(--lx-fg-2); margin-bottom: 2px; }
.uc-ticket-stat__copy strong { font-size: 20px; font-weight: 900; color: var(--lx-fg); }
.uc-ticket-board { margin-bottom: 0; }
.uc-ticket-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.uc-ticket-toolbar__title { display: flex; align-items: center; gap: 10px; }
.uc-ticket-toolbar__title .material-icons-outlined { color: var(--lx-primary); font-size: 22px; }
.uc-ticket-toolbar__title strong { font-size: 15px; font-weight: 700; color: var(--lx-fg); }
.uc-ticket-toolbar__title small { display: block; font-size: 11px; color: var(--lx-fg-2); margin-top: 1px; }
.uc-ticket-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.uc-ticket-search { display: flex; align-items: center; gap: 6px; padding: 8px 14px; background: var(--lx-card-hover); border: 1px solid var(--lx-border); border-radius: 10px; transition: all .15s; }
.uc-ticket-search:focus-within { border-color: var(--lx-primary); background: #fff; box-shadow: 0 0 0 3px rgba(74,92,122,0.1); }
.uc-ticket-search .material-icons-outlined { font-size: 18px; color: var(--lx-fg-2); }
.uc-ticket-search input { border: none; background: transparent; outline: none; font-size: 13px; color: var(--lx-fg); width: 180px; }
.uc-ticket-search input::placeholder { color: var(--lx-fg-2); }
.uc-ticket-search__clear { display: none; border: none; background: transparent; cursor: pointer; padding: 0; color: var(--lx-fg-2); }
.uc-ticket-search__clear .material-icons-outlined { font-size: 16px; }
.uc-ticket-select { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: var(--lx-card-hover); border: 1px solid var(--lx-border); border-radius: 10px; cursor: pointer; transition: all .15s; }
.uc-ticket-select:hover { border-color: var(--lx-primary); }
.uc-ticket-select__label { font-size: 12px; color: var(--lx-fg-2); }
.uc-ticket-select select { border: none; background: transparent; outline: none; font-size: 13px; color: var(--lx-fg); cursor: pointer; }
.uc-ticket-select .material-icons-outlined { font-size: 18px; color: var(--lx-fg-2); }
.uc-ticket-loading { padding: 40px 20px; text-align: center; }
.uc-ticket-skeleton { height: 72px; background: linear-gradient(90deg, var(--lx-card-hover) 25%, #f0f2f5 50%, var(--lx-card-hover) 75%); background-size: 200% 100%; animation: uc-ticket-shimmer 1.5s infinite; border-radius: 10px; margin-bottom: 10px; }
@keyframes uc-ticket-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.uc-ticket-list { display: flex; flex-direction: column; gap: 12px; }

/* 工单卡片 */
.uc-ticket-row {
  display: flex; align-items: stretch; gap: 0;
  background: var(--lx-card);
  border: 1px solid var(--lx-border);
  border-radius: 14px;
  overflow: hidden;
  transition: all .2s;
  position: relative;
  text-decoration: none;
  color: inherit;
}
.uc-ticket-row:hover {
  border-color: rgba(74,92,122,0.3);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.uc-ticket-row__rail {
  width: 4px; flex-shrink: 0;
  background: var(--lx-border);
  transition: background .2s;
}
.uc-ticket-row__rail.is-waiting { background: linear-gradient(180deg, #f59e0b, #d97706); }
.uc-ticket-row__rail.is-reply { background: linear-gradient(180deg, #3b82f6, #2563eb); }
.uc-ticket-row__rail.is-resolved { background: linear-gradient(180deg, #10b981, #059669); }
.uc-ticket-row__rail.is-closed { background: linear-gradient(180deg, #6b7280, #4b5563); }
.uc-ticket-row__icon {
  width: 52px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--lx-card-hover);
  border-right: 1px solid var(--lx-border);
}
.uc-ticket-row__icon .material-icons-outlined { font-size: 24px; color: var(--lx-fg-2); }
.uc-ticket-row__icon.is-presale { background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(59,130,246,0.03)); }
.uc-ticket-row__icon.is-presale .material-icons-outlined { color: #3b82f6; }
.uc-ticket-row__icon.is-aftersale { background: linear-gradient(135deg, rgba(245,158,11,0.08), rgba(245,158,11,0.03)); }
.uc-ticket-row__icon.is-aftersale .material-icons-outlined { color: #d97706; }
.uc-ticket-row__main {
  flex: 1; min-width: 0;
  padding: 16px 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.uc-ticket-row__top {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.uc-ticket-row__number {
  font-size: 12px; font-weight: 700; color: var(--lx-fg-2);
  font-family: ui-monospace, monospace; letter-spacing: 0.3px;
}
.uc-ticket-pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 6px;
  font-size: 11px; font-weight: 600;
  background: var(--lx-card-hover); color: var(--lx-fg-2);
  border: 1px solid var(--lx-border);
}
.uc-ticket-pill .material-icons-outlined { font-size: 14px; }
.uc-ticket-pill.is-presale { background: rgba(59,130,246,0.08); color: #2563eb; border-color: rgba(59,130,246,0.2); }
.uc-ticket-pill.is-aftersale { background: rgba(245,158,11,0.08); color: #d97706; border-color: rgba(245,158,11,0.2); }
.uc-ticket-pill.is-low { background: rgba(16,185,129,0.08); color: #059669; border-color: rgba(16,185,129,0.2); }
.uc-ticket-pill.is-medium { background: rgba(245,158,11,0.08); color: #d97706; border-color: rgba(245,158,11,0.2); }
.uc-ticket-pill.is-high { background: rgba(239,68,68,0.08); color: #dc2626; border-color: rgba(239,68,68,0.2); }
.uc-ticket-pill.is-waiting { background: rgba(245,158,11,0.08); color: #d97706; border-color: rgba(245,158,11,0.2); }
.uc-ticket-pill.is-reply { background: rgba(59,130,246,0.08); color: #2563eb; border-color: rgba(59,130,246,0.2); }
.uc-ticket-pill.is-resolved { background: rgba(16,185,129,0.08); color: #059669; border-color: rgba(16,185,129,0.2); }
.uc-ticket-pill.is-closed { background: rgba(107,114,128,0.08); color: #4b5563; border-color: rgba(107,114,128,0.2); }
.uc-ticket-row__unread {
  margin-left: auto;
  padding: 3px 10px; border-radius: 20px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff; font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 4px;
  box-shadow: 0 2px 8px rgba(239,68,68,0.3);
}
.uc-ticket-row__title {
  font-size: 15px; font-weight: 700; color: var(--lx-fg);
  margin: 0; line-height: 1.4;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.uc-ticket-row.has-unread .uc-ticket-row__title { color: var(--lx-primary); }
.uc-ticket-row__excerpt {
  font-size: 13px; color: var(--lx-fg-2); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 1; line-clamp: 1; -webkit-box-orient: vertical;
  overflow: hidden;
}
.uc-ticket-row__excerpt b { color: var(--lx-fg); font-weight: 600; }
.uc-ticket-row__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 2px;
}
.uc-ticket-row__context {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--lx-fg-2);
  background: var(--lx-card-hover);
  padding: 4px 10px; border-radius: 6px;
  max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.uc-ticket-row__context .material-icons-outlined { font-size: 14px; flex-shrink: 0; }
.uc-ticket-row__context.is-empty { opacity: 0.6; }
.uc-ticket-row__context em { font-style: normal; color: var(--lx-primary); font-weight: 600; }
.uc-ticket-row__time {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; color: var(--lx-fg-2); flex-shrink: 0;
}
.uc-ticket-row__time .material-icons-outlined { font-size: 14px; }
.uc-ticket-row__go {
  width: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--lx-fg-2);
  transition: all .2s;
  border-left: 1px solid var(--lx-border);
  background: var(--lx-card-hover);
}
.uc-ticket-row:hover .uc-ticket-row__go {
  background: linear-gradient(135deg, var(--lx-primary), var(--lx-primary-2));
  color: #fff;
}
.uc-ticket-row__go .material-icons-outlined { font-size: 20px; transition: transform .2s; }
.uc-ticket-row:hover .uc-ticket-row__go .material-icons-outlined { transform: translateX(3px); }
.uc-ticket-empty { text-align: center; padding: 60px 20px; }
.uc-ticket-empty[hidden], .uc-ticket-error[hidden], .uc-ticket-loading[hidden], .uc-ticket-list[hidden], .uc-ticket-pagination[hidden] { display: none !important; }
.uc-ticket-empty__art { width: 72px; height: 72px; border-radius: 50%; background: var(--lx-card-hover); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.uc-ticket-empty__art .material-icons-outlined { font-size: 36px; color: var(--lx-fg-2); }
.uc-ticket-empty strong { display: block; font-size: 16px; font-weight: 700; color: var(--lx-fg); margin-bottom: 6px; }
.uc-ticket-empty p { font-size: 13px; color: var(--lx-fg-2); margin: 0 0 16px; }
.uc-ticket-empty a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; background: linear-gradient(135deg, var(--lx-primary), var(--lx-primary-2)); color: #fff; border-radius: 10px; font-size: 13px; font-weight: 600; }
.uc-ticket-error { display: flex; align-items: center; gap: 12px; padding: 20px; background: rgba(220,38,38,0.05); border: 1px solid rgba(220,38,38,0.2); border-radius: 10px; }
.uc-ticket-error .material-icons-outlined { font-size: 28px; color: var(--lx-danger); flex-shrink: 0; }
.uc-ticket-error strong { display: block; font-size: 14px; font-weight: 700; color: var(--lx-fg); }
.uc-ticket-error small { font-size: 12px; color: var(--lx-fg-2); }
.uc-ticket-error button { margin-left: auto; padding: 8px 16px; background: var(--lx-card); border: 1px solid var(--lx-border); border-radius: 8px; font-size: 12px; color: var(--lx-fg); cursor: pointer; font-weight: 600; }
.uc-ticket-pagination { display: flex; align-items: center; justify-content: center; gap: 12px; padding-top: 20px; margin-top: 20px; border-top: 1px solid var(--lx-border); }
.uc-ticket-pagination button { display: inline-flex; align-items: center; gap: 4px; padding: 8px 16px; background: var(--lx-card); border: 1px solid var(--lx-border); border-radius: 8px; font-size: 12px; color: var(--lx-fg); cursor: pointer; font-weight: 600; transition: all .15s; }
.uc-ticket-pagination button:hover:not(:disabled) { border-color: var(--lx-primary); color: var(--lx-primary); }
.uc-ticket-pagination button:disabled { opacity: 0.4; cursor: not-allowed; }
.uc-ticket-pagination__meta { font-size: 12px; color: var(--lx-fg-2); }

/* 工单创建页 */
.uc-ticket-create-page { max-width: 100%; margin: 0; }
.uc-ticket-create-layout { display: flex; flex-direction: column; gap: 24px; }
.uc-ticket-form { margin-bottom: 0; width: 100%; }
.uc-ticket-create-aside { width: 100%; }
.uc-ticket-form .lx-uc-card__body { padding: 36px 40px; }
.uc-ticket-form__section { margin-bottom: 36px; padding-bottom: 32px; border-bottom: 1px solid var(--lx-border); }
.uc-ticket-form__section:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.uc-ticket-form__heading { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.uc-ticket-step { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(135deg, var(--lx-primary), var(--lx-primary-2)); color: #fff; font-size: 14px; font-weight: 800; flex-shrink: 0; box-shadow: 0 3px 8px rgba(74,92,122,0.25); }
.uc-ticket-form__heading strong { font-size: 16px; font-weight: 700; color: var(--lx-fg); display: block; }
.uc-ticket-form__heading small { font-size: 12px; color: var(--lx-fg-2); display: block; margin-top: 2px; }
.uc-ticket-type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.uc-ticket-type { display: flex; align-items: center; gap: 14px; padding: 20px; border: 2px solid var(--lx-border); background: var(--lx-card); border-radius: 14px; cursor: pointer; transition: all .2s; text-align: left; position: relative; }
.uc-ticket-type:hover { border-color: rgba(74,92,122,0.4); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.06); }
.uc-ticket-type.is-active { border-color: var(--lx-primary); background: linear-gradient(135deg, rgba(74,92,122,0.06), rgba(74,92,122,0.02)); box-shadow: 0 4px 14px rgba(74,92,122,0.12); }
.uc-ticket-type__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--lx-card-hover); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.uc-ticket-type__icon .material-icons-outlined { font-size: 24px; color: var(--lx-fg-2); }
.uc-ticket-type.is-active .uc-ticket-type__icon { background: linear-gradient(135deg, var(--lx-primary), var(--lx-primary-2)); }
.uc-ticket-type.is-active .uc-ticket-type__icon .material-icons-outlined { color: #fff; }
.uc-ticket-type__copy strong { display: block; font-size: 14px; font-weight: 700; color: var(--lx-fg); margin-bottom: 2px; }
.uc-ticket-type__copy small { font-size: 12px; color: var(--lx-fg-2); line-height: 1.4; }
.uc-ticket-choice { position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; border-radius: 50%; background: var(--lx-card-hover); display: flex; align-items: center; justify-content: center; opacity: 0; transition: all .2s; }
.uc-ticket-choice .material-icons-outlined { font-size: 16px; color: #fff; }
.uc-ticket-type.is-active .uc-ticket-choice { opacity: 1; background: var(--lx-primary); }
.uc-ticket-relation { margin-top: 16px; }
.uc-ticket-field-label { display: block; font-size: 13px; font-weight: 600; color: var(--lx-fg); margin-bottom: 8px; }
.uc-ticket-field-label em { font-style: normal; font-size: 11px; color: var(--lx-fg-2); font-weight: 400; margin-left: 4px; }
.uc-ticket-field-label b { color: var(--lx-danger); margin-left: 2px; }
.uc-ticket-field-help { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--lx-fg-2); margin-top: 8px; }
.uc-ticket-field-help .material-icons-outlined { font-size: 14px; }
.uc-ticket-mode-switch { display: flex; gap: 8px; margin-bottom: 16px; padding: 4px; background: var(--lx-card-hover); border-radius: 10px; }
.uc-ticket-mode-switch button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; border: none; background: transparent; border-radius: 8px; font-size: 12px; font-weight: 600; color: var(--lx-fg-2); cursor: pointer; transition: all .15s; }
.uc-ticket-mode-switch button.is-active { background: var(--lx-card); color: var(--lx-primary); box-shadow: 0 2px 6px rgba(0,0,0,0.06); }
.uc-ticket-order-panel { margin-bottom: 16px; }
.uc-ticket-float-field { position: relative; display: block; margin-bottom: 16px; }
.uc-ticket-float-field input { width: 100%; padding: 20px 16px 8px; border: 1.5px solid var(--lx-border); border-radius: 10px; font-size: 14px; color: var(--lx-fg); background: var(--lx-card); transition: all .15s; outline: none; }
.uc-ticket-float-field input:focus { border-color: var(--lx-primary); box-shadow: 0 0 0 3px rgba(74,92,122,0.1); }
.uc-ticket-float-field span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 14px; color: var(--lx-fg-2); pointer-events: none; transition: all .15s; }
.uc-ticket-float-field input:focus + span,
.uc-ticket-float-field input:not(:placeholder-shown) + span,
.uc-ticket-float-field input.has-value + span { top: 8px; transform: none; font-size: 10px; color: var(--lx-primary); font-weight: 600; }
.uc-ticket-char-count { position: absolute; right: 12px; top: 10px; font-size: 11px; color: var(--lx-fg-2); }
.uc-ticket-char-count i { font-style: normal; font-weight: 700; }
.uc-ticket-priority-block { margin-bottom: 20px; }
.uc-ticket-priorities { display: flex; gap: 10px; }
.uc-ticket-priorities button { flex: 1; display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1.5px solid var(--lx-border); background: var(--lx-card); border-radius: 10px; cursor: pointer; transition: all .15s; text-align: left; }
.uc-ticket-priorities button:hover { border-color: rgba(74,92,122,0.4); }
.uc-ticket-priorities button.is-active { border-color: var(--lx-primary); background: linear-gradient(135deg, rgba(74,92,122,0.06), rgba(74,92,122,0.02)); }
.uc-ticket-priority-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.uc-ticket-priority-dot--low { background: #4a9d5e; }
.uc-ticket-priority-dot--medium { background: #c99a3a; }
.uc-ticket-priority-dot--high { background: #dc2626; }
.uc-ticket-priorities strong { display: block; font-size: 13px; font-weight: 700; color: var(--lx-fg); }
.uc-ticket-priorities small { font-size: 11px; color: var(--lx-fg-2); }
.uc-ticket-editor-field { margin-bottom: 0; }
.uc-ticket-editor-field #ticket-content-editor { min-height: 280px; border: 1.5px solid var(--lx-border); border-radius: 10px; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.uc-ticket-editor-field #ticket-content-editor:focus-within { border-color: var(--lx-primary); box-shadow: 0 0 0 3px rgba(74,92,122,0.1); }
.uc-ticket-editor-field .CodeMirror { height: 280px; font-size: 13px; line-height: 1.7; background: #fff; color: var(--lx-fg); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.uc-ticket-editor-field .CodeMirror-gutters { background: var(--lx-card-hover); border-right: 1px solid var(--lx-border); }
.uc-ticket-editor-field .CodeMirror-linenumber { color: var(--lx-fg-2); }
.uc-ticket-editor-field .editor-toolbar { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px 12px; background: var(--lx-card-hover); border-bottom: 1px solid var(--lx-border); border-radius: 10px 10px 0 0; }
.uc-ticket-editor-field .editor-toolbar button { padding: 6px 10px; border: 1px solid transparent; background: transparent; border-radius: 6px; font-size: 12px; color: var(--lx-fg-2); cursor: pointer; transition: all .15s; }
.uc-ticket-editor-field .editor-toolbar button:hover { background: var(--lx-card); border-color: var(--lx-border); color: var(--lx-fg); }
.uc-ticket-create-aside { width: 100%; position: static; }
.uc-ticket-summary {
  background: var(--lx-card); border: 1px solid var(--lx-border);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  margin-bottom: 0;
}
.uc-ticket-summary__head { display: flex; align-items: center; gap: 8px; padding: 14px 20px; border-bottom: 1px solid var(--lx-border); background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%); }
.uc-ticket-summary__head .material-icons-outlined { color: var(--lx-primary); font-size: 18px; }
.uc-ticket-summary__head strong { font-size: 14px; font-weight: 700; color: var(--lx-fg); }
.uc-ticket-summary__live { margin-left: auto; display: flex; align-items: center; gap: 4px; font-size: 11px; color: #4a9d5e; font-weight: 600; }
.uc-ticket-summary__live i { width: 6px; height: 6px; border-radius: 50%; background: #4a9d5e; animation: uc-ticket-pulse 2s infinite; }
@keyframes uc-ticket-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.uc-ticket-summary__rows { padding: 8px 22px 18px; display: block; }
.uc-ticket-summary__rows > div { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #f0f2f5; font-size: 13px; flex-direction: row; }
.uc-ticket-summary__rows > div:last-child { border-bottom: none; }
.uc-ticket-summary__rows > div span { color: var(--lx-fg-2); font-size: 13px; }
.uc-ticket-summary__rows > div strong { color: var(--lx-fg); font-weight: 700; font-size: 13px; text-align: right; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uc-ticket-summary__type { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #f0f2f5; font-size: 13px; flex-direction: row; }
.uc-ticket-summary__type span { color: var(--lx-fg-2); font-size: 13px; }
.uc-ticket-summary__type > div { display: flex; align-items: center; gap: 6px; }
.uc-ticket-summary__type > div .material-icons-outlined { font-size: 16px; color: var(--lx-primary); }
.uc-ticket-summary__type > div strong { color: var(--lx-fg); font-weight: 700; }
.uc-ticket-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--lx-border); }
.uc-ticket-submit-row > span { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--lx-fg-2); }
.uc-ticket-submit-row > span .material-icons-outlined { font-size: 18px; color: #4a9d5e; }
.uc-ticket-submit { display: inline-flex; align-items: center; gap: 8px; padding: 14px 36px; background: linear-gradient(135deg, var(--lx-primary), var(--lx-primary-2)); color: #fff; border: none; border-radius: 12px; font-size: 15px; font-weight: 700; cursor: pointer; transition: all .18s; box-shadow: 0 4px 14px rgba(74,92,122,0.3); }
.uc-ticket-submit:hover { filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(74,92,122,0.4); }
.uc-ticket-submit .material-icons-outlined { font-size: 20px; }

/* ============================================================
   消息中心 · 银白色调精致美化
   ============================================================ */
.uc-message-page { max-width: 1100px; margin: 0 auto; }
.uc-message-hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 32px; background: linear-gradient(135deg, #5d7296 0%, #6b82a8 100%); border-radius: 16px; margin-bottom: 20px; position: relative; overflow: hidden; }
.uc-message-hero::before { content: ''; position: absolute; top: -40%; right: -5%; width: 280px; height: 280px; background: radial-gradient(circle, rgba(184,153,104,0.22) 0%, transparent 70%); border-radius: 50%; }
.uc-message-hero__eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--lx-gold-soft); font-weight: 700; letter-spacing: 0.5px; margin-bottom: 8px; }
.uc-message-hero h1 { font-size: 28px; font-weight: 900; color: #fff; margin: 0 0 6px; letter-spacing: -0.5px; }
.uc-message-hero p { font-size: 13px; color: rgba(255,255,255,0.7); margin: 0; max-width: 400px; line-height: 1.6; }
.uc-message-hero__art { width: 64px; height: 64px; border-radius: 18px; background: rgba(255,255,255,0.12); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; }
.uc-message-hero__art .material-icons-outlined { font-size: 32px; color: #fff; }
.uc-message-hero__art::after { content: ''; position: absolute; top: 10px; right: 10px; width: 10px; height: 10px; background: #ef4444; border-radius: 50%; border: 2px solid rgba(255,255,255,0.3); animation: uc-message-bell 2s infinite; }
@keyframes uc-message-bell { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }
.uc-message-board { margin-bottom: 0; }
.uc-message-board .lx-uc-card__head { flex-wrap: wrap; gap: 12px; }
.uc-message-board__heading { display: flex; flex-direction: column; gap: 2px; }
.uc-message-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.uc-message-action { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--lx-border); background: var(--lx-card); border-radius: 8px; font-size: 12px; font-weight: 600; color: var(--lx-fg-2); cursor: pointer; transition: all .15s; }
.uc-message-action:hover { border-color: var(--lx-primary); color: var(--lx-primary); background: rgba(74,92,122,0.04); }
.uc-message-action .material-icons-outlined { font-size: 16px; }
.uc-message-action--delete:hover { border-color: var(--lx-danger); color: var(--lx-danger); background: rgba(220,38,38,0.04); }
.uc-message-action--clear:hover { border-color: var(--lx-danger); color: var(--lx-danger); background: rgba(220,38,38,0.04); }
.uc-message-mobile { display: none; }
.uc-message-mobile-search { display: flex; gap: 8px; margin-bottom: 14px; }
.uc-message-mobile-search__field { flex: 1; display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--lx-card-hover); border: 1px solid var(--lx-border); border-radius: 10px; transition: all .15s; }
.uc-message-mobile-search__field:focus-within { border-color: var(--lx-primary); background: #fff; }
.uc-message-mobile-search__field .material-icons-outlined { font-size: 18px; color: var(--lx-fg-2); }
.uc-message-mobile-search__field input { flex: 1; border: none; background: transparent; outline: none; font-size: 13px; color: var(--lx-fg); }
.uc-message-mobile-search__clear { display: none; border: none; background: transparent; cursor: pointer; padding: 0; color: var(--lx-fg-2); }
.uc-message-mobile-search__submit { padding: 10px 20px; background: linear-gradient(135deg, var(--lx-primary), var(--lx-primary-2)); color: #fff; border: none; border-radius: 10px; font-size: 13px; font-weight: 600; cursor: pointer; }
.uc-message-mobile-filters { display: flex; gap: 6px; margin-bottom: 14px; padding: 4px; background: var(--lx-card-hover); border-radius: 10px; }
.uc-message-mobile-filters button { flex: 1; padding: 8px; border: none; background: transparent; border-radius: 8px; font-size: 12px; font-weight: 600; color: var(--lx-fg-2); cursor: pointer; transition: all .15s; }
.uc-message-mobile-filters button.is-active { background: var(--lx-card); color: var(--lx-primary); box-shadow: 0 2px 6px rgba(0,0,0,0.06); }
.uc-message-mobile-meta { font-size: 12px; color: var(--lx-fg-2); margin-bottom: 12px; display: flex; justify-content: space-between; }
.uc-message-mobile-list { display: flex; flex-direction: column; gap: 8px; }
.uc-message-mobile-card { display: flex; align-items: flex-start; gap: 12px; padding: 16px; background: var(--lx-card); border: 1px solid var(--lx-border); border-radius: 12px; cursor: pointer; transition: all .18s; position: relative; }
.uc-message-mobile-card:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,0.06); border-color: rgba(74,92,122,0.2); }
.uc-message-mobile-card::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; background: var(--lx-border); border-radius: 0 2px 2px 0; transition: background .18s; }
.uc-message-mobile-card.is-unread::before { background: var(--lx-primary); }
.uc-message-mobile-card.is-unread { background: linear-gradient(135deg, rgba(74,92,122,0.04), transparent); }
.uc-message-mobile-card__select { display: none; width: 20px; height: 20px; border: 2px solid var(--lx-border); border-radius: 50%; flex-shrink: 0; margin-top: 2px; cursor: pointer; align-items: center; justify-content: center; }
.uc-message-mobile-card.is-selected .uc-message-mobile-card__select { background: var(--lx-primary); border-color: var(--lx-primary); display: flex; }
.uc-message-mobile-card.is-selected .uc-message-mobile-card__select::after { content: 'check'; font-family: 'Material Icons Outlined'; font-size: 12px; color: #fff; }
.uc-message-mobile-card .material-icons-outlined { font-size: 20px; color: var(--lx-fg-2); flex-shrink: 0; margin-top: 1px; }
.uc-message-mobile-card.is-unread .material-icons-outlined { color: var(--lx-primary); }
.uc-message-mobile-card > div { flex: 1; min-width: 0; }
.uc-message-mobile-card strong { display: block; font-size: 14px; font-weight: 700; color: var(--lx-fg); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uc-message-mobile-card.is-unread strong { color: var(--lx-primary); }
.uc-message-mobile-card small { display: block; font-size: 12px; color: var(--lx-fg-2); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.uc-message-mobile-card time { display: block; font-size: 11px; color: var(--lx-fg-2); margin-top: 6px; opacity: 0.7; }
.uc-message-mobile-pagination { display: flex; align-items: center; justify-content: center; gap: 12px; padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--lx-border); }
.uc-message-mobile-pagination button { display: inline-flex; align-items: center; gap: 4px; padding: 8px 16px; background: var(--lx-card); border: 1px solid var(--lx-border); border-radius: 8px; font-size: 12px; color: var(--lx-fg); cursor: pointer; font-weight: 600; }

/* ============================================================
   工单详情页 · 银白色调精致美化
   ============================================================ */
.uc-ticket-detail-page { max-width: none; }
.uc-ticket-detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }

/* 加载状态 */
.uc-ticket-detail-loading { text-align: center; padding: 80px 20px; }
.uc-ticket-detail-loading__orb { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--lx-primary), var(--lx-primary-2)); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; animation: uc-ticket-orb-pulse 2s ease-in-out infinite; }
.uc-ticket-detail-loading__orb .material-icons-outlined { font-size: 32px; color: #fff; }
@keyframes uc-ticket-orb-pulse { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(74,92,122,0.4); } 50% { transform: scale(1.05); box-shadow: 0 0 0 16px rgba(74,92,122,0); } }
.uc-ticket-detail-loading strong { display: block; font-size: 18px; font-weight: 700; color: var(--lx-fg); margin-bottom: 6px; }
.uc-ticket-detail-loading small { font-size: 13px; color: var(--lx-fg-2); }

/* 错误状态 */
.uc-ticket-detail-error { text-align: center; padding: 60px 20px; background: var(--lx-card); border: 1px solid var(--lx-border); border-radius: 14px; }
.uc-ticket-detail-error .material-icons-outlined { font-size: 48px; color: var(--lx-fg-2); margin-bottom: 16px; }
.uc-ticket-detail-error strong { display: block; font-size: 18px; font-weight: 700; color: var(--lx-fg); margin-bottom: 8px; }
.uc-ticket-detail-error p { font-size: 13px; color: var(--lx-fg-2); margin: 0; }

/* 工单头部 */
.uc-ticket-detail-head { padding: 28px 32px 24px; border-bottom: 1px solid var(--lx-border); background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%); }
.uc-ticket-detail-head__top { margin-bottom: 16px; }
.uc-ticket-detail-head__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.uc-ticket-detail-number { font-size: 13px; font-weight: 700; color: var(--lx-fg-2); font-family: ui-monospace, monospace; letter-spacing: 0.3px; }
.uc-ticket-detail-head__body { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.uc-ticket-detail-title { font-size: 24px; font-weight: 800; color: var(--lx-fg); margin: 0; line-height: 1.3; letter-spacing: -0.3px; }
.uc-ticket-detail-state { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: linear-gradient(135deg, rgba(74,92,122,0.06), rgba(74,92,122,0.02)); border: 1px solid rgba(74,92,122,0.15); border-radius: 12px; flex-shrink: 0; max-width: 280px; }
.uc-ticket-detail-state__icon { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--lx-primary), var(--lx-primary-2)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.uc-ticket-detail-state__icon .material-icons-outlined { font-size: 20px; color: #fff; }
.uc-ticket-detail-state__copy { display: flex; flex-direction: column; gap: 2px; }
.uc-ticket-detail-state__copy small { font-size: 11px; color: var(--lx-fg-2); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.uc-ticket-detail-state__copy strong { font-size: 15px; font-weight: 700; color: var(--lx-fg); }
.uc-ticket-detail-state__hint { font-size: 11px; color: var(--lx-fg-2); margin-top: 2px; }

/* 沟通记录头部 */
.uc-ticket-thread__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 32px; border-bottom: 1px solid var(--lx-border); }
.uc-ticket-thread__head > div:first-child { display: flex; align-items: center; gap: 10px; }
.uc-ticket-thread__head .material-icons-outlined { font-size: 20px; color: var(--lx-primary); }
.uc-ticket-thread__head strong { font-size: 15px; font-weight: 700; color: var(--lx-fg); display: block; }
.uc-ticket-thread__head small { font-size: 12px; color: var(--lx-fg-2); }
.uc-ticket-live { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #4a9d5e; font-weight: 600; }
.uc-ticket-live i { width: 6px; height: 6px; border-radius: 50%; background: #4a9d5e; animation: uc-ticket-pulse 2s infinite; }

/* 消息列表 */
.uc-ticket-thread__body { padding: 24px 32px 20px; min-height: 300px; }
.uc-ticket-history-more, .uc-ticket-new-messages { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 10px 16px; background: var(--lx-card-hover); border: 1px solid var(--lx-border); border-radius: 10px; font-size: 12px; color: var(--lx-fg-2); cursor: pointer; margin-bottom: 16px; font-weight: 600; transition: all .15s; }
.uc-ticket-history-more:hover, .uc-ticket-new-messages:hover { background: var(--lx-card); border-color: var(--lx-primary); color: var(--lx-primary); }
.uc-ticket-new-messages {
  background: linear-gradient(135deg, rgba(7,193,96,0.08), rgba(7,193,96,0.03));
  border-color: rgba(7,193,96,0.2);
  color: #06ad56;
  animation: uc-ticket-new-bounce 0.5s ease-out;
}
.uc-ticket-new-messages:hover {
  background: linear-gradient(135deg, rgba(7,193,96,0.12), rgba(7,193,96,0.06));
  border-color: rgba(7,193,96,0.35);
  color: #059669;
}
.uc-ticket-new-messages .material-icons-outlined { font-size: 18px; }
@keyframes uc-ticket-new-bounce {
  0% { transform: translateY(-20px); opacity: 0; }
  60% { transform: translateY(4px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.uc-ticket-messages { display: block; }
.uc-ticket-messages::after { content: ''; display: block; clear: both; }

/* 消息气泡 - 微信风格 */
.uc-ticket-messages .uc-ticket-message { display: flex; gap: 10px; max-width: 80%; margin-bottom: 16px; width: fit-content; clear: both; }
.uc-ticket-messages .uc-ticket-message.is-user { flex-direction: row-reverse !important; float: right !important; margin-left: auto !important; margin-right: 0 !important; text-align: right; }
.uc-ticket-messages .uc-ticket-message.is-admin { float: left; margin-right: auto; margin-left: 0; text-align: left; }
.uc-ticket-messages .uc-ticket-message__avatar {
  width: 38px; height: 38px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; background: #e5e7eb; color: #6b7280;
}
.uc-ticket-messages .uc-ticket-message.is-user .uc-ticket-message__avatar { background: linear-gradient(135deg, var(--lx-primary), var(--lx-primary-2)); color: #fff; }
.uc-ticket-messages .uc-ticket-message.is-admin .uc-ticket-message__avatar { background: linear-gradient(135deg, #10b981, #059669); color: #fff; }
.uc-ticket-messages .uc-ticket-message__avatar .material-icons-outlined { font-size: 20px; }
.uc-ticket-messages .uc-ticket-message__main { flex: 1; min-width: 0; max-width: 100%; }
.uc-ticket-messages .uc-ticket-message__meta { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.uc-ticket-messages .uc-ticket-message.is-user .uc-ticket-message__meta { flex-direction: row-reverse; }
.uc-ticket-messages .uc-ticket-message__meta strong { font-size: 12px; font-weight: 600; color: #6b7280; }
.uc-ticket-messages .uc-ticket-message__meta span { font-size: 11px; color: #9ca3af; background: #f3f4f6; padding: 1px 6px; border-radius: 4px; }
.uc-ticket-messages .uc-ticket-message__meta time { font-size: 11px; color: #9ca3af; }
.uc-ticket-messages .uc-ticket-message__bubble {
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #1f2937;
  word-break: break-word;
  position: relative;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  display: inline-block;
  max-width: 100%;
}
.uc-ticket-messages .uc-ticket-message.is-user .uc-ticket-message__bubble {
  background: #95ec69;
  border-color: #95ec69;
  color: #1f2937;
}
.uc-ticket-messages .uc-ticket-message__bubble::before {
  content: '';
  position: absolute;
  top: 12px;
  left: -6px;
  width: 10px;
  height: 10px;
  background: #fff;
  border-left: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  transform: rotate(45deg);
}
.uc-ticket-messages .uc-ticket-message.is-user .uc-ticket-message__bubble::before {
  left: auto;
  right: -6px;
  background: #95ec69;
  border-left: none;
  border-bottom: none;
  border-right: 1px solid #95ec69;
  border-top: 1px solid #95ec69;
}
.uc-ticket-messages .uc-ticket-message__bubble .uc-ticket-markdown img { max-width: 100%; border-radius: 6px; margin: 6px 0; }
.uc-ticket-messages .uc-ticket-message__bubble .uc-ticket-markdown pre {
  background: #f3f4f6;
  padding: 10px 12px;
  border-radius: 6px;
  overflow-x: auto;
  font-size: 12px;
  margin: 6px 0;
}
.uc-ticket-messages .uc-ticket-message.is-user .uc-ticket-message__bubble .uc-ticket-markdown pre { background: rgba(255,255,255,0.5); }
.uc-ticket-messages .uc-ticket-message__bubble .uc-ticket-markdown code {
  background: #f3f4f6;
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 12px;
  font-family: ui-monospace, monospace;
}
.uc-ticket-messages .uc-ticket-message.is-user .uc-ticket-message__bubble .uc-ticket-markdown code { background: rgba(255,255,255,0.5); }
.uc-ticket-messages .uc-ticket-message__bubble .uc-ticket-markdown pre code { background: transparent; padding: 0; }

/* 系统消息 */
.uc-ticket-event {
  display: flex; align-items: flex-start; gap: 10px;
  max-width: 80%; margin: 0 auto 16px;
  padding: 10px 16px;
  background: #f3f4f6;
  border-radius: 10px;
  font-size: 13px;
  color: #6b7280;
}
.uc-ticket-event .material-icons-outlined { font-size: 18px; color: #9ca3af; flex-shrink: 0; margin-top: 1px; }
.uc-ticket-event strong { font-size: 12px; font-weight: 600; color: #6b7280; display: block; margin-bottom: 2px; }
.uc-ticket-event time { font-size: 11px; color: #9ca3af; display: block; margin-top: 4px; }
.uc-ticket-event.is-closed { background: rgba(107,114,128,0.1); }
.uc-ticket-final {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border-radius: 4px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff; font-size: 10px; font-weight: 700;
}
.uc-ticket-final .material-icons-outlined { font-size: 12px; }

/* 回复区域 - 微信风格聊天框 */
.uc-ticket-thread { position: relative; }
.uc-ticket-reply {
  padding: 10px 12px 12px;
  border-top: 1px solid #e5e7eb;
  background: #f7f8fa;
  position: sticky;
  bottom: 0;
  z-index: 10;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.04);
}
.uc-ticket-reply__head { display: none; }
#ticket-reply-editor { margin-bottom: 0; }
#ticket-reply-editor .ev2-editor {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
  display: flex;
  flex-direction: column;
}
#ticket-reply-editor .ev2-editor:focus-within {
  border-color: #07c160;
  box-shadow: 0 0 0 3px rgba(7,193,96,0.1);
}
/* 工具栏 - 改成微信风格小工具 */
#ticket-reply-editor .ev2-bar {
  padding: 6px 8px;
  background: #f7f8fa;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 2px;
  order: 2;
}
#ticket-reply-editor .ev2-bar .ev2-tools { display: flex; align-items: center; gap: 2px; }
/* 隐藏预览开关 */
#ticket-reply-editor .ev2-bar .ev2-actions,
#ticket-content-editor .ev2-bar .ev2-actions { display: none !important; }
/* 隐藏所有非图片按钮 */
#ticket-reply-editor .ev2-bar .ev2-tools button,
#ticket-content-editor .ev2-bar .ev2-tools button { display: none !important; }
/* 只显示图片按钮 */
#ticket-reply-editor .ev2-bar .ev2-tools button[data-cmd="image"],
#ticket-content-editor .ev2-bar .ev2-tools button[data-cmd="image"] { display: inline-flex !important; }
/* 工具栏移回左上角，只保留图片按钮 */
#ticket-reply-editor .ev2-bar,
#ticket-content-editor .ev2-bar {
  position: relative !important;
  right: auto !important;
  bottom: auto !important;
  background: #f7f8fa !important;
  border-bottom: 1px solid #e5e7eb !important;
  padding: 6px 8px !important;
  z-index: 1 !important;
  order: 2 !important;
  width: 100% !important;
}
#ticket-reply-editor .ev2-bar .ev2-tools,
#ticket-content-editor .ev2-bar .ev2-tools { display: flex !important; gap: 2px !important; }
/* 确保编辑器 body 正常 */
#ticket-reply-editor .ev2-body,
#ticket-content-editor .ev2-body { position: relative !important; padding-bottom: 0 !important; }
/* 图片按钮样式 */
#ticket-reply-editor .ev2-bar .ev2-tools button[data-cmd="image"],
#ticket-content-editor .ev2-bar .ev2-tools button[data-cmd="image"] {
  padding: 6px 10px !important;
  font-size: 16px !important;
  border-radius: 6px !important;
  color: #6b7280 !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  transition: all .15s !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  margin-left: 4px !important;
}
#ticket-reply-editor .ev2-bar .ev2-tools button[data-cmd="image"]:hover,
#ticket-content-editor .ev2-bar .ev2-tools button[data-cmd="image"]:hover {
  background: #fff !important;
  border-color: #e5e7eb !important;
  color: #07c160 !important;
}
/* 隐藏预览区，只保留编辑区 */
#ticket-reply-editor .ev2-preview,
#ticket-content-editor .ev2-preview { display: none !important; }
#ticket-reply-editor .ev2-editor[data-preview="on"] .ev2-preview,
#ticket-content-editor .ev2-editor[data-preview="on"] .ev2-preview { display: none !important; }
#ticket-reply-editor .ev2-editor .ev2-cm,
#ticket-content-editor .ev2-editor .ev2-cm { display: block !important; }
/* 占位文字 — 确保输入后隐藏 */
#ticket-reply-editor .ev2-ph,
#ticket-content-editor .ev2-ph {
  position: absolute;
  left: 12px;
  top: 10px;
  color: #9ca3af;
  font-size: 14px;
  pointer-events: none;
  z-index: 1;
  display: block;
}
#ticket-reply-editor .ev2-editor.has-value .ev2-ph,
#ticket-content-editor .ev2-editor.has-value .ev2-ph { display: none !important; }
#ticket-reply-editor .ev2-bar .ev2-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
#ticket-reply-editor .ev2-bar .ev2-preview-toggle {
  padding: 5px 10px;
  font-size: 11px;
  color: #9ca3af;
  background: transparent;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}
#ticket-reply-editor .ev2-bar .ev2-preview-toggle.active {
  background: #07c160;
  color: #fff;
  border-color: #07c160;
}
#ticket-reply-editor .ev2-bar .ev2-mode-toggle { display: none; }
/* 输入框区域 */
#ticket-reply-editor .ev2-body,
#ticket-content-editor .ev2-body { position: relative; order: 1; padding-bottom: 32px; }
/* 字数统计 */
.uc-ticket-char-count {
  position: absolute;
  right: 10px;
  bottom: 6px;
  font-size: 11px;
  color: #9ca3af;
  background: rgba(255,255,255,0.9);
  padding: 2px 8px;
  border-radius: 10px;
  z-index: 5;
  pointer-events: none;
  font-family: ui-monospace, monospace;
}
.uc-ticket-char-count__current { font-weight: 600; }
.uc-ticket-char-count.is-over { color: #ef4444; background: rgba(239,68,68,0.08); }
.uc-ticket-char-count.is-over .uc-ticket-char-count__current { font-weight: 700; }
#ticket-reply-editor .ev2-cm { position: relative; }
#ticket-reply-editor .CodeMirror {
  height: 60px !important;
  font-size: 14px;
  line-height: 1.5;
  padding: 2px 0;
  min-height: 60px !important;
  max-height: 120px !important;
  background: #fff;
}
#ticket-reply-editor .CodeMirror-scroll { min-height: 60px !important; max-height: 120px !important; overflow-y: auto !important; }
#ticket-reply-editor .ev2-ph {
  position: absolute;
  left: 12px;
  top: 8px;
  color: #9ca3af;
  font-size: 14px;
  pointer-events: none;
  z-index: 1;
}
#ticket-reply-editor .ev2-preview {
  min-height: 60px;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.5;
  background: #fff;
}
/* 底部操作栏 - 发送按钮 */
.uc-ticket-reply__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}
.uc-ticket-reply__actions > span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #9ca3af;
}
.uc-ticket-reply__actions > span .material-icons-outlined { font-size: 14px; color: #10b981; }
.uc-ticket-reply__submit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 24px;
  background: linear-gradient(135deg, #07c160, #06ad56);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s;
  box-shadow: 0 2px 8px rgba(7,193,96,0.25);
  flex-shrink: 0;
}
.uc-ticket-reply__submit:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(7,193,96,0.35);
}
.uc-ticket-reply__submit:active { transform: translateY(0); }
.uc-ticket-reply__submit .material-icons-outlined { font-size: 16px; }
.uc-ticket-reply__submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.uc-ticket-reply__submit.is-loading { opacity: 0.7; pointer-events: none; }

/* 只读状态 */
.uc-ticket-readonly { display: flex; align-items: flex-start; gap: 14px; padding: 24px 32px; background: linear-gradient(135deg, rgba(107,114,128,0.06), rgba(107,114,128,0.02)); border-top: 1px solid var(--lx-border); }
.uc-ticket-readonly__icon { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, #6b7280, #9ca3af); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.uc-ticket-readonly__icon .material-icons-outlined { font-size: 22px; color: #fff; }
.uc-ticket-readonly > div { flex: 1; }
.uc-ticket-readonly strong { display: block; font-size: 15px; font-weight: 700; color: var(--lx-fg); margin-bottom: 4px; }
.uc-ticket-readonly p { font-size: 13px; color: var(--lx-fg-2); margin: 0 0 12px; line-height: 1.6; }
.uc-ticket-readonly a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; background: linear-gradient(135deg, var(--lx-primary), var(--lx-primary-2)); color: #fff; border-radius: 10px; font-size: 13px; font-weight: 600; }

/* 右侧边栏 */
.uc-ticket-context { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 90px; }
.uc-ticket-context-card { margin-bottom: 0; }
.uc-ticket-context-card__head { display: flex; align-items: center; gap: 8px; padding: 16px 20px; border-bottom: 1px solid var(--lx-border); background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%); }
.uc-ticket-context-card__head .material-icons-outlined { font-size: 18px; color: var(--lx-primary); }
.uc-ticket-context-card__head strong { font-size: 14px; font-weight: 700; color: var(--lx-fg); }
.uc-ticket-context-rows { padding: 8px 20px 16px; }
.uc-ticket-context-rows > div { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #f0f2f5; font-size: 13px; }
.uc-ticket-context-rows > div:last-child { border-bottom: none; }
.uc-ticket-context-rows > div span { color: var(--lx-fg-2); }
.uc-ticket-context-rows > div strong { color: var(--lx-fg); font-weight: 700; text-align: right; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 关联内容 */
.uc-ticket-related { padding: 16px 20px; }
.uc-ticket-related__item { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--lx-card-hover); border-radius: 10px; border: 1px solid var(--lx-border); }
.uc-ticket-related__item img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.uc-ticket-related__item > div { flex: 1; min-width: 0; }
.uc-ticket-related__item strong { display: block; font-size: 13px; font-weight: 700; color: var(--lx-fg); margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uc-ticket-related__item small { font-size: 11px; color: var(--lx-fg-2); }

/* 购买凭证 */
.uc-ticket-proof-view { display: block; width: 100%; padding: 16px 20px; background: transparent; border: none; cursor: pointer; text-align: left; }
.uc-ticket-proof-view img { width: 100%; border-radius: 10px; margin-bottom: 10px; border: 1px solid var(--lx-border); }
.uc-ticket-proof-view span { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--lx-primary); font-weight: 600; }
.uc-ticket-proof-view span .material-icons-outlined { font-size: 16px; }

/* 隐私提醒 */
.uc-ticket-safe-note { display: flex; align-items: flex-start; gap: 12px; padding: 18px 20px; background: linear-gradient(135deg, rgba(74,157,94,0.06), rgba(74,157,94,0.02)); border: 1px solid rgba(74,157,94,0.15); border-radius: 12px; }
.uc-ticket-safe-note .material-icons-outlined { font-size: 22px; color: #4a9d5e; flex-shrink: 0; margin-top: 1px; }
.uc-ticket-safe-note strong { display: block; font-size: 13px; font-weight: 700; color: var(--lx-fg); margin-bottom: 4px; }
.uc-ticket-safe-note p { font-size: 12px; color: var(--lx-fg-2); margin: 0; line-height: 1.6; }

/* 响应式 */
@container lxframe (max-width: 1024px) {
  .uc-ticket-detail-layout { grid-template-columns: 1fr; }
  .uc-ticket-context { position: static; }
}
@container lxframe (max-width: 768px) {
  .uc-ticket-detail-head { padding: 20px 18px; }
  .uc-ticket-detail-head__body { flex-direction: column; }
  .uc-ticket-detail-state { max-width: 100%; width: 100%; }
  .uc-ticket-detail-title { font-size: 20px; }
  .uc-ticket-thread__head { padding: 14px 18px; }
  .uc-ticket-thread__body { padding: 18px; }
  .uc-ticket-msg { max-width: 95%; }
  .uc-ticket-reply { padding: 18px; }
  .uc-ticket-reply__actions { flex-direction: column; align-items: stretch; }
  .uc-ticket-reply__submit { justify-content: center; }
  .uc-ticket-readonly { padding: 18px; flex-direction: column; }
}
.uc-message-mobile-pagination button:disabled { opacity: 0.4; cursor: not-allowed; }
.uc-message-selection-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: linear-gradient(135deg, var(--lx-primary), var(--lx-primary-2)); border-radius: 10px; margin-bottom: 14px; }
.uc-message-selection-bar__cancel { padding: 6px 14px; background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.3); border-radius: 6px; font-size: 12px; cursor: pointer; }
.uc-message-selection-bar span { flex: 1; font-size: 13px; color: #fff; font-weight: 600; }
.uc-message-selection-bar button[data-message-selection-all] { padding: 6px 14px; background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.3); border-radius: 6px; font-size: 12px; cursor: pointer; }
.uc-message-selection-bar__delete { display: inline-flex; align-items: center; gap: 4px; padding: 6px 14px; background: #ef4444; color: #fff; border: none; border-radius: 6px; font-size: 12px; cursor: pointer; font-weight: 600; }
.uc-message-selection-bar__delete:disabled { opacity: 0.5; cursor: not-allowed; }
/* 表格内消息单元格 */
.uc-message-cell { display: flex; align-items: flex-start; gap: 10px; }
.uc-message-cell__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lx-border); flex-shrink: 0; margin-top: 6px; }
.uc-message-cell.is-unread .uc-message-cell__dot { background: var(--lx-primary); box-shadow: 0 0 0 3px rgba(74,92,122,0.15); }
.uc-message-cell__copy { flex: 1; min-width: 0; }
.uc-message-cell__copy strong { display: block; font-size: 13px; font-weight: 700; color: var(--lx-fg); margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uc-message-cell.is-unread .uc-message-cell__copy strong { color: var(--lx-primary); }
.uc-message-cell__copy small { font-size: 12px; color: var(--lx-fg-2); display: -webkit-box; -webkit-line-clamp: 1; line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.uc-message-status { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 600; }
.uc-message-status.is-read { background: rgba(107,114,128,0.1); color: #6b7280; }
.uc-message-status.is-unread { background: rgba(74,92,122,0.1); color: var(--lx-primary); }
.uc-message-status .material-icons-outlined { font-size: 14px; }

/* 消息中心响应式 */
@container lxframe (max-width: 768px) {
  .uc-message-hero { padding: 20px; }
  .uc-message-hero h1 { font-size: 22px; }
  .uc-message-hero__art { display: none; }
  .uc-message-mobile { display: block; }
  .uc-message-board .lx-uc-card__body > #message-table { display: none; }
  .uc-ticket-stats { grid-template-columns: repeat(2, 1fr); }
  .uc-ticket-type-grid { grid-template-columns: 1fr; }
  .uc-ticket-create-layout { grid-template-columns: 1fr; }
  .uc-ticket-create-aside { position: static; }
  .uc-ticket-priorities { flex-direction: column; }
  .uc-topup-grid { grid-template-columns: 1fr; }
  .uc-topup-overview .lx-uc-card__body { flex-direction: column; align-items: stretch; }
  .uc-topup-balance__hint { display: none; }
  .uc-topup-balance__value { font-size: 24px; }
}

/* ===== 个人主页 · 欢迎语 ===== */
.lx-uc-welcome {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #f2f5fa 100%);
  border: 1px solid var(--lx-border);
  border-radius: 14px; padding: 18px 22px; margin-bottom: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  position: relative; overflow: hidden;
}
.lx-uc-welcome::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--lx-primary), var(--lx-gold));
  opacity: .8;
}
.lx-uc-welcome__emoji {
  font-size: 30px; line-height: 1; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
}
.lx-uc-welcome__text {
  font-size: 15px; color: var(--lx-fg-2); font-weight: 500;
}
.lx-uc-welcome__greet {
  font-size: 18px; font-weight: 800; color: var(--lx-primary);
}
.lx-uc-welcome__sub {
  font-size: 14px; color: var(--lx-fg-3, #8a93a6);
}

/* ===== 个人主页 · 快捷入口 ===== */
.lx-uc-strip__item {
  position: relative;
}
.lx-uc-strip__ico {
  font-size: 22px; line-height: 1; filter: drop-shadow(0 1px 3px rgba(0,0,0,0.06));
}
.lx-uc-strip__go {
  margin-left: auto; color: var(--lx-fg-3, #8a93a6); font-size: 18px; font-weight: 700;
  transition: transform .2s, color .2s;
}
.lx-uc-strip__item:hover .lx-uc-strip__go {
  transform: translateX(3px); color: var(--lx-primary);
}

/* ===== 个人主页 · 最近购买 ===== */
.lx-uc-subhead__more {
  margin-left: auto; font-size: 12px; font-weight: 600;
  color: var(--lx-primary); text-decoration: none;
  display: inline-flex; align-items: center; gap: 2px;
  text-transform: none; letter-spacing: 0;
}
.lx-uc-subhead__more:hover { opacity: .8; }
.lx-uc-card__body--flush { padding: 0; }
#recent-buy-table { width: 100%; }
#recent-buy-table .bootstrap-table { border-radius: 14px; }
#recent-buy-table .fixed-table-container { border: none !important; border-radius: 14px; }
#recent-buy-table .fixed-table-header th {
  background: linear-gradient(180deg, #fafbfc 0%, #f4f6fa 100%) !important;
  color: var(--lx-fg-2) !important; font-size: 12px; font-weight: 700;
  border-bottom: 1px solid var(--lx-border) !important; padding: 12px 14px !important;
}
#recent-buy-table .fixed-table-body { border-radius: 0 0 14px 14px; }
#recent-buy-table td {
  border-bottom: 1px solid var(--lx-border) !important; padding: 12px 14px !important;
  font-size: 13px; color: var(--lx-fg-1); vertical-align: middle;
}
#recent-buy-table .table-item { display: flex; align-items: center; gap: 8px; }
#recent-buy-table .table-item-icon {
  width: 30px; height: 30px; border-radius: 8px; object-fit: cover;
  border: 1px solid var(--lx-border);
}
#recent-buy-table .table-item-name { font-weight: 600; }
#recent-buy-table .pay-item { display: inline-flex; align-items: center; gap: 6px; }
#recent-buy-table .pay-item .item-icon { width: 16px; height: 16px; }
#recent-buy-table .pagination { justify-content: flex-end; }
#recent-buy-table .page-list { margin-left: auto; }
#recent-buy-table .btn-secondary {
  background: var(--lx-card) !important; color: var(--lx-fg-1) !important;
  border: 1px solid var(--lx-border) !important;
}
#recent-buy-table .btn-secondary:hover { border-color: var(--lx-primary) !important; color: var(--lx-primary) !important; }


/* ===== 商品页 · 试听按钮 ===== */
.lx-detail__card--audio { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lx-listen-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #f2f5fa 100%);
  border: 1px solid var(--lx-border); border-radius: 999px;
  padding: 10px 20px; cursor: pointer; font-size: 14px; font-weight: 700;
  color: var(--lx-primary); box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all .2s; user-select: none;
}
.lx-listen-btn:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.08); transform: translateY(-1px); border-color: var(--lx-primary); }
.lx-listen-btn:active { transform: translateY(0); }
.lx-listen-btn.is-playing {
  background: linear-gradient(135deg, var(--lx-primary) 0%, #2f54d0 100%);
  color: #fff; border-color: transparent;
}
.lx-listen-btn__icon { font-size: 16px; line-height: 1; }

/* ============================================================
   灵栖移动端 UI 修复（2026-09-04 批量治理）
   以下规则仅作用于移动端断点，桌面端不受影响
   ============================================================ */

/* [修复#6] 首页顶部搜索框过窄：移动端压缩品牌区，搜索框占满剩余宽度 */
@container lxframe (max-width: 768px) {
  .lx-top { gap: 6px; padding: 10px 12px; }
  .lx-top__brand { max-width: 172px; flex-shrink: 1; }
  .lx-top__name { max-width: 120px; font-size: 13px; }
  .lx-top__spacer { display: none; }
  .lx-top__search { width: auto; flex: 0 1 42%; max-width: 42%; min-width: 0; padding: 7px 12px; margin-left: auto; }
}

/* [修复#4] 首页分类栏：移动端全宽展示 + 条目高度加高（大点击区），点击分类跳转分类页 */
@container lxframe (max-width: 768px) {
  .lx-order { flex-direction: column; align-items: stretch; }
  .lx-cat {
    position: static; flex: none; width: 100%;
    max-height: none; display: flex; flex-wrap: wrap; gap: 8px;
    padding: 10px; overflow: visible;
  }
  .lx-cat__item {
    flex: 1 1 auto; justify-content: center;
    padding: 14px 12px; margin-bottom: 0; min-width: 104px;
    font-size: 14px;
  }
  .lx-menu { width: 100%; }
}

/* [修复#5] 商品详情页时长/规格卡片：移动端 2 列网格、字号加大 */
@container lxframe (max-width: 480px) {
  .lx-sku-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .lx-sku { justify-content: center; padding: 12px 10px; font-size: 14px; }
}

/* [修复#2/#7] 用户中心顶部栏：移动端按钮不换行、用户名省略号截断 */
@container lxframe (max-width: 480px) {
  .lx-uc-top { gap: 5px; padding: 10px 8px; }
  .lx-uc-top__link, .lx-uc-top__logout { white-space: nowrap; flex-shrink: 0; }
  .lx-uc-top__link { padding: 6px 8px; font-size: 12px; }
  .lx-uc-top__logout { padding: 6px 8px; font-size: 12px; }
  .lx-uc-top__user { flex-shrink: 0; min-width: 0; }
  .lx-uc-top__user span { max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
}

/* [修复#3] 用户中心最近购买表格：移动端隐藏次要列（订单号/类别SKU/数量/支付方式/发货状态），
   保留 商品·金额·付款状态·操作 四列，商品名截断、操作按钮压缩 */
@container lxframe (max-width: 768px) {
  .lx-uc-card__body--flush table thead th:nth-child(1),
  .lx-uc-card__body--flush table thead th:nth-child(3),
  .lx-uc-card__body--flush table thead th:nth-child(4),
  .lx-uc-card__body--flush table thead th:nth-child(6),
  .lx-uc-card__body--flush table thead th:nth-child(8),
  .lx-uc-card__body--flush table tbody td:nth-child(1),
  .lx-uc-card__body--flush table tbody td:nth-child(3),
  .lx-uc-card__body--flush table tbody td:nth-child(4),
  .lx-uc-card__body--flush table tbody td:nth-child(6),
  .lx-uc-card__body--flush table tbody td:nth-child(8) { display: none; }
  .lx-uc-card__body--flush table tbody td:nth-child(2) { max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .lx-uc-card__body--flush table tbody td:last-child .btn,
  .lx-uc-card__body--flush table tbody td:last-child .a-badge-glass { padding: 3px 8px; font-size: 12px; white-space: nowrap; }
}

/* ============================================================
   分类卡片式导航（移动端两级页面）2026-09-04
   首页=分类卡片网格；分类页=商品列表+返回键；桌面端不受影响
   ============================================================ */
.lx-cat-cards {
  display: none;
  /* 分类卡片一行仅展示一个：单列网格，320~768px 均自适应整行 */
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 14px;
  max-width: 1200px; margin: 0 auto;
}
.lx-cat-card {
  /* 上图下文结构：图片满宽铺于卡片上部，名称独占底部信息栏 */
  display: flex; flex-direction: column;
  overflow: hidden;
  border-radius: var(--lx-radius);
  background: var(--lx-card);
  border: 1px solid var(--lx-border);
  box-shadow: var(--lx-shadow-sm);
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  -webkit-tap-highlight-color: transparent;
}
.lx-cat-card:hover { border-color: var(--lx-primary-2); box-shadow: 0 10px 26px rgba(74,92,122,.16); transform: translateY(-3px); }
.lx-cat-card:active { transform: scale(.985); }
.lx-cat-card__icon {
  display: block;
  width: 100%;
  /* 竖向约束：高度锁定为受限横向 banner，不再随宽度 1:1 撑高；
     小屏160px / 常规~190px / 大屏封顶220px，保证一屏可见约两个分类 */
  height: clamp(160px, 45vw, 220px);
  object-fit: cover;
  object-position: center 35%;
  border-radius: 0;
  transition: transform .4s ease;
}
.lx-cat-card:hover .lx-cat-card__icon { transform: scale(1.045); }
.lx-cat-card__name {
  display: flex; align-items: center; justify-content: center;
  min-height: 58px;
  padding: 16px 14px;
  border-top: 1px solid var(--lx-border);
  background: var(--lx-card);
  font-size: 16px; font-weight: 700; letter-spacing: .3px; line-height: 1.3;
  color: var(--lx-fg); text-align: center;
  transition: color .2s ease, background .2s ease;
}
.lx-cat-card:hover .lx-cat-card__name { color: var(--lx-primary); background: var(--lx-card-hover); }

/* 返回键：轻量胶囊，与页面风格统一、不突兀 */
.lx-cat-back {
  display: none; align-items: center; gap: 4px;
  width: fit-content;
  margin-bottom: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--lx-card-hover);
  border: 1px solid var(--lx-border);
  color: var(--lx-fg-2);
  font-size: 13px; font-weight: 600;
  text-decoration: none;
  transition: all .15s;
}
.lx-cat-back:hover { color: var(--lx-primary); background: var(--lx-card); }

/* 移动端：两级页面显隐 */
@container lxframe (max-width: 768px) {
  .lx-cat { display: none; }
  .lx-cat-cards { display: grid; }
  body.lx-cat-page .lx-cat-cards { display: none; }
  body.lx-cat-page .lx-cat-back { display: inline-flex; }
  body.lx-home-page .lx-menu { display: none; }
}

/* ============================================================
   移动端底部导航栏（5 Tab：首页/推荐/订单/工单/我的）2026-09-05
   仅手机端显示，固定吸底悬浮胶囊；桌面端不渲染
   ============================================================ */
.lx-tabbar { display: none; }
@container lxframe (max-width: 768px) {
  .lx-tabbar {
    display: flex;
    position: fixed;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 420px;
    height: 56px;
    box-sizing: border-box;
    padding: 6px 8px;
    align-items: center;
    justify-content: space-around;
    background: rgba(18, 20, 28, .82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .38);
    z-index: 999;
  }
  .lx-tabbar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 50px;
    height: 100%;
    color: rgba(255, 255, 255, .55);
    text-decoration: none;
    border-radius: 12px;
    transition: color .15s ease, transform .15s ease;
  }
  .lx-tabbar__item:active { transform: scale(.94); }
  .lx-tabbar__item.is-active { color: var(--lx-primary, #ffd479); }
  .lx-tabbar__ico { font-size: 20px; line-height: 1; }
  .lx-tabbar__txt { font-size: 11px; line-height: 1.2; }

  /* 底部栏常驻：内容区底部留白防遮挡 */
  body.lx-home-page .lx-cat-cards,
  body.lx-cat-page .lx-order,
  body.lx-rec-page .lx-order { padding-bottom: 84px; }

  /* 推荐页：纯商品列表，隐藏分类卡片/左栏/返回键 */
  body.lx-rec-page .lx-cat,
  body.lx-rec-page .lx-cat-cards,
  body.lx-rec-page .lx-cat-back { display: none; }
  body.lx-rec-page .lx-menu { display: block; }

  /* 用户中心底部栏常驻：内容区底部留白防遮挡（仅手机端） */
  .lx-uc-main { padding-bottom: 84px; }
}

/* ============================================================
   用户中心改造（无侧边栏 + 我的主页聚合）2026-09-05
   侧边栏取消、顶部栏精简、返回主页键、个人信息卡、功能网格、退出登录
   ============================================================ */
/* 顶部栏：返回主页键（轻量胶囊，主页隐藏子页面显示） */
.lx-uc-back {
  display: none; align-items: center; gap: 4px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--lx-card-hover);
  border: 1px solid var(--lx-border);
  color: var(--lx-fg-2);
  font-size: 13px; font-weight: 600;
  text-decoration: none;
  transition: all .15s;
  white-space: nowrap;
}
.lx-uc-back:hover { color: var(--lx-primary); background: var(--lx-card); }

/* 我的主页：个人信息卡（顶部） */
.lx-uc-me {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 18px;
  border-radius: var(--lx-radius);
  background: linear-gradient(135deg, var(--lx-card), var(--lx-card-hover));
  border: 1px solid var(--lx-border);
  box-shadow: var(--lx-shadow-sm);
  margin-bottom: 20px;
}
.lx-uc-me__avatar {
  width: 56px; height: 56px; border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--lx-primary-2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
  flex-shrink: 0;
}
.lx-uc-me__name { font-size: 18px; font-weight: 900; color: var(--lx-fg); display: block; }
.lx-uc-me__sub { font-size: 12px; color: var(--lx-fg-2); }

/* 我的主页：功能入口网格（2 列） */
.lx-uc-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  margin-bottom: 24px;
}
.lx-uc-grid__item {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 14px;
  border-radius: var(--lx-radius);
  background: var(--lx-card);
  border: 1px solid var(--lx-border);
  box-shadow: var(--lx-shadow-sm);
  color: var(--lx-fg);
  font-size: 14px; font-weight: 600;
  text-decoration: none;
  transition: all .2s;
}
.lx-uc-grid__item:hover { border-color: var(--lx-primary-2); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(74, 92, 122, .12); }
.lx-uc-grid__ico { font-size: 20px; }

/* 我的主页：退出登录（底部） */
.lx-uc-logout {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 24px;
  padding: 14px;
  border-radius: var(--lx-radius);
  background: rgba(220, 38, 38, .06);
  border: 1px solid rgba(220, 38, 38, .25);
  color: var(--lx-danger);
  font-size: 14px; font-weight: 700;
  text-decoration: none;
  transition: all .15s;
}
.lx-uc-logout:hover { background: rgba(220, 38, 38, .12); }

/* 移动端：顶部栏精简适配 */
@container lxframe (max-width: 768px) {
  .lx-uc-back { padding: 5px 10px; font-size: 12px; }
  .lx-uc-top__name { font-size: 13px; }
  .lx-uc-top__link { font-size: 12px; padding: 5px 8px; }
  .lx-uc-me { padding: 16px 14px; }
  .lx-uc-me__avatar { width: 48px; height: 48px; }
  .lx-uc-grid { gap: 10px; }
  .lx-uc-grid__item { padding: 13px 12px; font-size: 13px; }
}

/* 手机端顶部栏精简：仅首页/推荐隐藏头像与订单查询（其他页面显示昵称+头像）2026-09-30 */
@container lxframe (max-width: 768px) {
  body.lx-top-home .lx-top__user,
  body.lx-top-home .lx-top__link { display: none !important; }
  /* 非首页页面 spacer 隐藏后，用户区靠 margin-left:auto 靠右 */
  .lx-top__me { margin-left: auto; }
  .lx-top__nick { max-width: 72px; font-size: 12px; }
}

/* 手机端：店名取消点击跳转 2026-09-05 */
@container lxframe (max-width: 768px) {
  /* 首页/推荐（前台顶部栏）：店名不可点击 */
  .lx-top__brand { pointer-events: none; cursor: default; }
}

/* ============================================================
   商品页自定义控件（widget_render 输出）卡片化 2026-09-12
   仅在 .lx-detail__form 作用域内美化，不改 helper 输出结构，
   与 .lx-detail__card / .lx-detail__label / .lx-detail__field 同款视觉
   ============================================================ */
.lx-detail__form > div:not(.lx-detail__card) {
  background: var(--lx-card);
  border: 1px solid var(--lx-border);
  border-radius: var(--lx-radius);
  padding: 18px;
  margin-top: 14px;
  box-shadow: var(--lx-shadow-sm);
}
.lx-detail__form > div:not(.lx-detail__card) > .form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--lx-fg-2);
  letter-spacing: .3px;
}
.lx-detail__form .form-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--lx-radius-s);
  border: 1px solid var(--lx-border);
  background: var(--lx-card-hover);
  color: var(--lx-fg);
  font-size: 14px;
  line-height: 1.5;
  outline: 0;
  box-shadow: none;
  box-sizing: border-box;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.lx-detail__form .form-control:focus {
  border-color: var(--lx-primary-2);
  background: var(--lx-card);
  box-shadow: 0 0 0 3px rgba(74, 92, 122, .1);
}
.lx-detail__form .form-control::placeholder { color: var(--lx-fg-2); }
.lx-detail__form textarea.form-control { min-height: 84px; resize: vertical; }
.lx-detail__form select.form-control {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: var(--lx-card-hover);
}
.lx-detail__form select.form-control:focus { background-color: var(--lx-card); }
/* 单选/多选：胶囊选项 */
.lx-detail__form > div:not(.lx-detail__card) > div { display: flex; flex-wrap: wrap; gap: 8px; }
.lx-detail__form .form-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 9px 15px;
  border: 1px solid var(--lx-border);
  border-radius: 999px;
  background: var(--lx-card-hover);
  cursor: pointer;
  user-select: none;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.lx-detail__form .form-check:hover { border-color: var(--lx-primary-2); }
.lx-detail__form .form-check-input {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--lx-primary);
  cursor: pointer;
}
.lx-detail__form .form-check-label {
  font-size: 13px;
  color: var(--lx-fg);
  cursor: pointer;
  margin: 0;
}
.lx-detail__form .form-check:has(input:checked) {
  border-color: var(--lx-primary-2);
  background: rgba(74, 92, 122, .08);
  box-shadow: 0 2px 8px rgba(74, 92, 122, .12);
}
.lx-detail__form .form-check:has(input:checked) .form-check-label {
  color: var(--lx-primary-deep);
  font-weight: 700;
}
/* 自定义组件容器（如插件注入的验证组件）只补间距 */
.lx-detail__form > .acg-widget-custom { margin-top: 14px; }

/* ============================================================
   我的主页改版 2026-09-20
   ============================================================ */
.lx-uc-me--panel { align-items: center; }
.lx-uc-me--panel .lx-uc-me__info { flex: 1; min-width: 0; }
.lx-uc-me__edit {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--lx-primary-2);
  background: var(--lx-card);
  color: var(--lx-primary);
  font-size: 13px; font-weight: 700;
  text-decoration: none;
  transition: all .18s;
  white-space: nowrap;
}
.lx-uc-me__edit:hover {
  background: var(--lx-primary);
  border-color: var(--lx-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(74, 92, 122, .28);
}
.lx-uc-assets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}
.lx-uc-stat__cta {
  display: inline-block;
  margin-top: 12px;
  padding: 5px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  font-size: 12px; font-weight: 700;
  text-decoration: none;
  transition: background .15s;
}
.lx-uc-stat__cta:hover { background: rgba(255, 255, 255, .3); }
.lx-menu {
  background: var(--lx-card);
  border: 1px solid var(--lx-border);
  border-radius: var(--lx-radius);
  box-shadow: var(--lx-shadow-sm);
  overflow: hidden;
  margin-bottom: 20px;
}
.lx-menu__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  color: var(--lx-fg);
  text-decoration: none;
  border-bottom: 1px solid var(--lx-border);
  transition: background .15s;
}
.lx-menu__item:last-child { border-bottom: none; }
.lx-menu__item:hover { background: var(--lx-card-hover); }
.lx-menu__ico {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--lx-primary), var(--lx-primary-2));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.lx-menu__ico .material-icons-outlined { font-size: 21px; }
.lx-menu__label { flex: 1; font-size: 15px; font-weight: 600; }
.lx-menu__arrow { color: var(--lx-fg-2); font-size: 22px; flex-shrink: 0; }
.lx-guest { text-align: center; padding: 80px 20px; }
.lx-guest__icon {
  width: 76px; height: 76px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lx-card), var(--lx-card-hover));
  border: 1px solid var(--lx-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--lx-fg-2);
}
.lx-guest__icon .material-icons-outlined { font-size: 38px; }
.lx-guest__title { font-size: 18px; font-weight: 800; color: var(--lx-fg); }
.lx-guest__sub { font-size: 13px; color: var(--lx-fg-2); margin-top: 6px; }
.lx-guest__btn {
  display: inline-block;
  margin-top: 26px;
  padding: 12px 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--lx-primary), var(--lx-primary-2));
  color: #fff;
  font-size: 14px; font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(74, 92, 122, .3);
  transition: transform .15s, box-shadow .15s;
}
.lx-guest__btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(74, 92, 122, .38); }
@container lxframe (max-width: 768px) {
  .lx-uc-assets { gap: 10px; }
  .lx-menu__item { padding: 14px 14px; gap: 12px; }
  .lx-menu__ico { width: 36px; height: 36px; }
  .lx-menu__label { font-size: 14px; }
}

/* 手机端：余额和总充值并排两列，合并在一个资产卡片区 2026-09-20 */
@container lxframe (max-width: 768px) {
  .lx-uc-assets { grid-template-columns: 1fr 1fr; gap: 10px; }
  .lx-uc-stat { padding: 14px 16px; }
  .lx-uc-stat__value { font-size: 22px; }
}

/* 手机端：新设置/编辑资料页底部留白，避免保存按钮被tabbar挡住 2026-09-20 */
@container lxframe (max-width: 768px) {
  .lx-uc-page { padding-bottom: 90px; }
}

/* 手机端：个人资料展示页改上下排，避免三列挤压 2026-09-20 */
@container lxframe (max-width: 768px) {
  .uc-info__row { display: block !important; padding: 12px 0; border-bottom: 1px solid var(--lx-border); }
  .uc-info__row:last-child { border-bottom: none; }
  .uc-info__row > div { width: auto !important; flex: none !important; display: block !important; text-align: left !important; }
  .uc-info__k { font-size: 12px; color: var(--lx-fg-2); margin-bottom: 4px; }
  .uc-info__v { font-size: 14px; color: var(--lx-fg) !important; }
}

/* 修复手机端头像椭圆问题：flex容器内强制正方形 2026-09-20 */
.lx-uc-me__avatar {
  width: 56px !important;
  height: 56px !important;
  flex-shrink: 0 !important;
  align-self: center;
}
@container lxframe (max-width: 768px) {
  .lx-uc-me__avatar {
    width: 52px !important;
    height: 52px !important;
  }
}
