/* ============================================================
   俱乐部系统 · 前台 H5 样式（浅蓝主题 · 参考站 1:1 复刻）
   主题：浅蓝 --theme-* 体系（品牌主色 #1796f0）
   ============================================================ */

/* ---------- 1. 主题变量（与参考站一致） ---------- */
:root {
  --theme-bg: #f8fbff;
  --theme-bg-solid: #f8fbff;
  --theme-page-bg: #f8fbff;
  --theme-card-bg: #ffffff;
  --theme-card-bg-alt: #f2f7ff;
  --theme-card-border: #dbeafe;
  --theme-card-border-hover: #5dbbff;
  --theme-card-border-light: rgba(219, 234, 254, .84);
  --theme-card-bg-light: rgba(255, 255, 255, .96);
  --theme-panel-border: rgba(219, 234, 254, .95);
  --theme-glass-bg: rgba(255, 255, 255, .56);
  --theme-glass-bg-strong: rgba(255, 255, 255, .86);
  --theme-glass-border: rgba(255, 255, 255, .86);
  --theme-brand-primary: #1796f0;
  --theme-brand-primary-dark: #0b7ed8;
  --theme-brand-primary-light: #5dbbff;
  --theme-brand-primary-soft: #f2f7ff;
  --theme-brand-accent: #35a8f5;
  --theme-tabbar-active: #1796f0;
  --theme-tabbar-bg: #ffffff;
  --theme-tabbar-inactive: #8291a8;
  --theme-btn-primary: #1796f0;
  --theme-btn-primary-gradient: linear-gradient(180deg, #5dbbff, #1796f0);
  --theme-btn-bg-light: #f2f7ff;
  --theme-btn-bg-dark: #0b7ed8;
  --theme-btn-secondary: #f2f7ff;
  --theme-btn-secondary-text: #0b7ed8;
  --theme-btn-secondary-border: #dbeafe;
  --theme-tag-bg: #f2f7ff;
  --theme-tag-text: #0b7ed8;
  --theme-text-primary: #10213a;
  --theme-text-secondary: #576b95;
  --theme-text-muted: #8291a8;
  --theme-text-dark: #10213a;
  --theme-text-light: #8291a8;
  --theme-text-inverse: #ffffff;
  --theme-input-bg: #f2f7ff;
  --theme-input-border: #dbeafe;
  --theme-input-placeholder: #8291a8;
  --theme-input-text: #10213a;
  --theme-input-focus-border: #1796f0;
  --theme-gray-bg: #f2f7ff;
  --theme-status-info: #576b95;
  --theme-status-success-soft: rgba(52, 211, 153, .14);
  --theme-status-warning-soft: rgba(255, 149, 0, .14);
  --theme-status-error-soft: rgba(224, 64, 64, .12);
  --theme-status-info-soft: rgba(87, 107, 149, .12);
  --theme-shadow-accent: rgba(23, 150, 240, .2);
  --theme-shadow-card-soft: rgba(16, 33, 58, .08);
  --theme-shadow-elevated: rgba(16, 33, 58, .16);
  --theme-status-error-shadow: rgba(224, 64, 64, .22);
  --theme-mask-bg: rgba(0, 0, 0, .48);
  --theme-overlay-text: #ffffff;
  --theme-image-scrim: linear-gradient(180deg, transparent, rgba(0, 0, 0, .76));
  --lc-accent-color: #1796f0;
  --lc-accent-soft-color: #f2f7ff;
  --lc-accent-border-color: rgba(23, 150, 240, .34);
  --lc-accent-glow-color: rgba(23, 150, 240, .24);
  --lc-accent-contrast-color: #ffffff;
  --lc-background-color: #ffffff;
  --lc-text-color: #10213a;

  /* 组件级可主题化变量（供 data-theme 覆盖） */
  --theme-grad-brand-135: linear-gradient(135deg, #5dbbff, #1796f0);
  --theme-grad-brand-150: linear-gradient(150deg, #5dbbff, #1796f0);
  --theme-head-grad: linear-gradient(135deg, #35a8f5, #0b7ed8 55%, #0963b4);
  --theme-head-grad-60: linear-gradient(135deg, #35a8f5, #0b7ed8 60%, #0963b4);
  --theme-cover-grad: linear-gradient(150deg, #eef6ff, #dbeafe 60%, #cfe6ff);
  --theme-card-grad: linear-gradient(#fff 55%, #f2f7ff);
  --theme-ico-soft-a: rgba(23, 150, 240, .14);
  --theme-ico-soft-b: rgba(23, 150, 240, .10);
  --theme-addcart-active: rgba(23, 150, 240, .24);
  --theme-toast-bg: rgba(16, 33, 58, .86);
  --theme-shadow-tight: 0 3px 8px rgba(16, 33, 58, .12);
  --theme-shadow-mid: 0 6px 16px rgba(16, 33, 58, .14);
  --theme-avatar-bg: #ffffff;

  /* 圆角 / 阴影 / 字号 */
  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 16px;
  --radius-xl: 24px;
  --shadow-card: 0 7px 13px -3px rgba(15, 23, 42, .18), 0 2px 5px rgba(15, 23, 42, .07);
  --shadow-card-soft: 0 4px 14px rgba(16, 33, 58, .06);
  --font-base: 15px;

  --m-topbar-h: 52px;
  --tabbar-h: 56px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ---------- 2. 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
html, body {
  background: var(--theme-bg);
  color: var(--theme-text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-size: var(--font-base);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { border: none; background: none; cursor: pointer; font-family: inherit; font-size: inherit; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; outline: none; border: none; background: none; }
ul, ol { list-style: none; }

/* ---------- 3. 页面骨架（参考站 app-page 体系） ---------- */
.app-page {
  position: relative;
  min-height: 100vh;
  max-width: 480px;
  margin: 0 auto;
  background: var(--theme-bg);
  padding-bottom: calc(var(--tabbar-h) + var(--safe-bottom) + 12px);
}
.app-page--no-tab { padding-bottom: 24px; }

/* 专题背景图蒙层（分类/选人/消息页共用） */
.app-page-background { position: fixed; inset: 0; z-index: 0; max-width: 480px; margin: 0 auto; overflow: hidden; pointer-events: none; }
.app-page-background__image { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .9; }
.app-page-background__scrim { position: absolute; inset: 0; background: var(--theme-bg); opacity: .92; }
.app-page-background__image + .app-page-background__scrim { opacity: .78; }

.miniapp-layout-renderer { position: relative; z-index: 1; min-height: 100vh; }

/* SPA 局部切换过渡动效 */
.miniapp-layout-renderer.spa-out { opacity: 0; transform: translateX(-6px); transition: opacity .15s ease, transform .15s ease; }
.miniapp-layout-renderer.spa-in { animation: spaSlide .3s cubic-bezier(.22, .8, .32, 1); }
@keyframes spaSlide {
  from { opacity: 0; transform: translateX(14px); filter: blur(2px); }
  to { opacity: 1; transform: none; filter: none; }
}

/* 页面容器 */
.m-content { position: relative; z-index: 1; padding: 12px; }

/* ---------- 4. 子页返回栏 ---------- */
.subbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center;
  height: var(--m-topbar-h);
  padding: 0 12px;
  background: var(--theme-card-bg-light);
  border-bottom: 1px solid var(--theme-panel-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.subbar .back {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; margin-left: -6px;
  font-size: 24px; font-weight: 500; color: var(--theme-text-primary);
}
.subbar .back:active { opacity: .6; }
.subbar .tt {
  flex: 1; text-align: center;
  font-size: 17px; font-weight: 600; color: var(--theme-text-primary);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.subbar .rt { min-width: 60px; text-align: right; font-size: 13px; color: var(--theme-brand-primary); }
.subbar .rt a { color: var(--theme-brand-primary); }

/* ---------- 4.1 自定义顶部栏（首页/我的：logo + 标题 + 刷新） ---------- */
.appbar {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; gap: 8px;
  height: var(--m-topbar-h);
  padding: 0 14px;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .5);
}
.appbar .ab-logo,
.appbar .ab-ico {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; flex-shrink: 0;
  color: var(--theme-text-primary);
}
.appbar .ab-logo svg { width: 24px; height: 24px; }
.appbar .ab-ico { border-radius: 999px; }
.appbar .ab-ico svg { width: 21px; height: 21px; }
.appbar .ab-ico:active { background: rgba(0, 0, 0, .06); }
.appbar .ab-title { font-size: 17px; font-weight: 700; color: var(--theme-text-primary); }
.appbar .ab-sub { font-size: 11px; color: var(--theme-text-muted); }
.appbar .ab-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.appbar--center .ab-title { flex: 1; text-align: center; }

/* ---------- 4.2 星空紫渐变页背景（首页 / 我的） ---------- */
.app-page--starry {
  background:
    radial-gradient(circle at 72% 5%, rgba(255, 255, 255, .95) 0 1.3px, transparent 2.6px),
    radial-gradient(circle at 24% 14%, rgba(255, 255, 255, .8) 0 1px, transparent 2px),
    radial-gradient(circle at 88% 26%, rgba(255, 255, 255, .65) 0 1px, transparent 2px),
    radial-gradient(circle at 14% 38%, rgba(255, 255, 255, .75) 0 1.2px, transparent 2.4px),
    radial-gradient(circle at 60% 52%, rgba(255, 255, 255, .6) 0 1px, transparent 2px),
    radial-gradient(circle at 38% 68%, rgba(255, 255, 255, .75) 0 1.1px, transparent 2.2px),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, .6) 0 1px, transparent 2px),
    radial-gradient(ellipse 130% 55% at 76% 92%, rgba(255, 224, 240, .6), transparent 62%),
    linear-gradient(165deg, #241a52 0%, #3d2570 15%, #5f3488 30%, #8d4f9e 46%, #b86fa8 62%, #dc9cbb 77%, #f2cadb 89%, #f8ecf3 100%);
  background-attachment: fixed;
}
.app-page--starry .app-page-background { display: none; }
.app-page--starry .m-content { padding: 12px 12px 4px; }

/* ---------- 5. 玻璃液态 TabBar（悬浮胶囊 + 液态滑动指示器 + 光晕） ---------- */
.m-tabbar {
  position: fixed;
  left: 0; right: 0;
  margin: 0 auto;
  bottom: calc(12px + var(--safe-bottom));
  z-index: 100;
  width: calc(100% - 32px); max-width: 460px;
  height: var(--tabbar-h);
  display: flex; align-items: center;
  padding: 5px;
  background: var(--theme-glass-bg-strong); /* 回退：不支持 color-mix 的浏览器 */
  background:
    linear-gradient(175deg, color-mix(in srgb, var(--theme-glass-bg) 82%, transparent) 0%,
      color-mix(in srgb, var(--theme-glass-bg-strong) 55%, transparent) 55%,
      color-mix(in srgb, var(--theme-glass-bg) 78%, transparent) 100%);
  border: 1px solid var(--theme-glass-border);
  border-radius: 999px;
  box-shadow:
    0 2px 4px rgba(15, 23, 42, .06),
    0 14px 34px -10px var(--theme-shadow-elevated),
    inset 0 1px 0 rgba(255, 255, 255, .6),
    inset 0 -8px 16px -12px rgba(15, 23, 42, .28);
  backdrop-filter: blur(30px) saturate(2);
  -webkit-backdrop-filter: blur(30px) saturate(2);
}
.m-tabbar::before { /* 液态高光动效 */
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(120% 120% at 20% 0%, rgba(255, 255, 255, .5), transparent 46%),
              radial-gradient(90% 120% at 85% 100%, color-mix(in srgb, var(--theme-brand-primary) 20%, transparent), transparent 55%);
  opacity: .65;
}
.m-tabbar a {
  position: relative; flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px; height: 100%;
  font-size: 10.5px; color: var(--theme-tabbar-inactive);
  border-radius: 999px;
  z-index: 1;
  transition: color .22s ease;
}
.m-tabbar a .ico {
  display: flex; align-items: center; justify-content: center; height: 22px;
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1);
}
.m-tabbar a .ico svg { width: 20px; height: 20px; display: block; transition: color .22s ease, transform .25s ease; }
.m-tabbar a:active .ico { transform: scale(.8); }
.m-tabbar a.active {
  color: var(--theme-tabbar-active);
  font-weight: 600;
}
.m-tabbar a.active .ico svg { color: #fff; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .3)); transform: translateY(-1px); }
.m-tabbar a.active .ico { transform: translateY(-1px); }
.m-tabbar .tabbar-indicator { /* 液态渐变滑动指示器 */
  position: absolute;
  top: 5px; bottom: 5px;
  height: 34px;
  background: var(--theme-btn-primary-gradient);
  border-radius: 999px;
  box-shadow: 0 4px 14px var(--theme-shadow-accent), inset 0 1px 0 rgba(255, 255, 255, .5);
  opacity: 0;
  transition: left .32s cubic-bezier(.34, 1.3, .5, 1), width .32s cubic-bezier(.34, 1.3, .5, 1), opacity .2s ease;
  will-change: left, width;
}
.m-tabbar a .tab-badge {
  position: absolute; top: 3px; right: calc(50% - 21px);
  min-width: 15px; height: 15px; padding: 0 4px;
  display: flex; align-items: center; justify-content: center;
  background: #e04040; color: #fff;
  font-size: 9.5px; line-height: 1; font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(224, 64, 64, .4);
  z-index: 2;
}
.m-tabbar a.active .tab-badge { background: var(--theme-brand-primary); box-shadow: 0 2px 6px var(--theme-shadow-accent); }

/* 客服悬浮钮（液态玻璃渐变） */
.m-kefu {
  position: fixed; right: 16px; bottom: calc(var(--tabbar-h) + 20px + var(--safe-bottom));
  z-index: 99;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--theme-btn-primary-gradient);
  color: #fff; font-size: 20px;
  border-radius: 999px;
  box-shadow: 0 6px 16px var(--theme-shadow-accent), 0 10px 24px -8px var(--theme-shadow-accent), inset 0 1px 0 rgba(255, 255, 255, .45);
  transition: transform .18s ease;
}
.m-kefu:active { transform: scale(.94); }
.m-kefu svg { width: 22px; height: 22px; color: #fff; }

/* ============================================================
   首页（参考站 #/pages/index/index 区块序）
   搜索行 → 轮播 → 跑马灯 → 15 宫格分类 → 双列商品网格
   ============================================================ */

/* 5.1 搜索 pill 行 */
.home-product-search-row--pillTabs {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 12px;
}
.home-product-search-row--pillTabs .pill-search {
  flex: 1; height: 44px;
  display: flex; align-items: center; gap: 8px;
  padding: 0 14px;
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border);
  border-radius: 999px;
  box-shadow: var(--shadow-card-soft);
}
.home-product-search-row--pillTabs .pill-search svg { width: 18px; height: 18px; color: var(--theme-text-muted); flex-shrink: 0; }
.home-product-search-row--pillTabs .pill-search input {
  flex: 1; font-size: 14px; color: var(--theme-input-text);
}
.home-product-search-row--pillTabs .pill-search input::placeholder { color: var(--theme-input-placeholder); }
.home-product-search-row--pillTabs .pill-search input:focus + svg { color: var(--theme-brand-primary); }
.home-product-search-row--pillTabs .pill-service {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border);
  border-radius: 999px;
  box-shadow: var(--shadow-card-soft);
}
.home-product-search-row--pillTabs .pill-service svg { width: 20px; height: 20px; color: var(--theme-brand-primary); }
.home-product-search-row--pillTabs .pill-service:active { background: var(--theme-brand-primary-soft); }

/* 5.2 轮播 */
.lc-block { margin-bottom: 14px; }
.lc-block--banner { padding: 0; }
.lc-block--banner .swiper {
  position: relative;
  height: 150px;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-card-soft);
  background: var(--theme-card-bg-alt);
}
.lc-block--banner .slides { height: 100%; display: flex; transition: transform .35s ease; }
.lc-block--banner .slide { min-width: 100%; height: 100%; position: relative; }
.lc-block--banner .slide img { width: 100%; height: 100%; object-fit: cover; }
.lc-block--banner .slide .ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 600; color: var(--theme-text-secondary);
  background: var(--theme-grad-brand-135);
  color: #fff;
}
.lc-block--banner .dots {
  position: absolute; left: 0; right: 0; bottom: 10px;
  display: flex; justify-content: center; gap: 5px;
}
.lc-block--banner .dots i {
  width: 6px; height: 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  transition: all .25s ease;
}
.lc-block--banner .dots i.on { width: 16px; background: #fff; }

/* 5.3 跑马灯公告 */
.lc-block--notice {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px;
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border);
  border-radius: var(--radius-m);
}
.lc-block--notice .notice-lab {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 600; color: var(--theme-brand-primary);
}
.lc-block--notice .notice-lab svg { width: 14px; height: 14px; }
.lc-block--notice .notice-track {
  flex: 1; overflow: hidden; position: relative;
  font-size: 13px; color: var(--theme-text-secondary);
  white-space: nowrap;
}
.lc-block--notice .notice-track .txt { display: inline-block; padding-left: 100%; animation: marquee 14s linear infinite; }
.lc-block--notice .notice-track .txt:hover { animation-play-state: paused; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* 5.4 15 宫格分类条 */
.lc-block--sectionNav {
  padding: 14px 12px;
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card-soft);
}
.lc-block--sectionNav .sec-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px 6px;
}
.sec-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  cursor: pointer;
}
.sec-item:active { opacity: .7; }
.sec-item .ico {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--theme-brand-primary-soft);
  color: var(--theme-brand-primary);
  font-size: 22px;
}
.sec-item .nm {
  font-size: 12px; color: var(--theme-text-primary);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%;
}
.sec-item:nth-child(2n) .ico { background: var(--theme-ico-soft-a); }
.sec-item:nth-child(3n) .ico { background: var(--theme-ico-soft-b); }

/* 5.5 双列商品网格 */
.lc-block--productGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.product {
  display: block;
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border-light);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-card-soft);
  transition: transform .15s ease, box-shadow .15s ease;
}
.product:active { transform: scale(.985); box-shadow: var(--shadow-card); }
.product-media { position: relative; aspect-ratio: 1 / .92; overflow: hidden; background: var(--theme-card-bg-alt); }
.product-media .product-img { width: 100%; height: 100%; object-fit: cover; }
.product-media .ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; color: #fff;
  background: var(--theme-grad-brand-150);
}
.product-media .tag-hot {
  position: absolute; top: 8px; left: 8px;
  padding: 2px 8px;
  font-size: 11px; color: #fff; font-weight: 600;
  background: linear-gradient(90deg, #ff5f4e, #e04040);
  border-radius: 999px;
}
.product-body { padding: 10px 12px 12px; }
.product-title {
  font-size: 14px; font-weight: 600; color: var(--theme-text-primary);
  line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 38px;
}
.product-desc {
  margin-top: 3px;
  font-size: 12px; color: var(--theme-text-muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.product-footer {
  margin-top: 8px;
  display: flex; align-items: baseline; gap: 6px;
}
.product-price {
  color: #e04040; font-weight: 700; font-size: 16px;
  display: flex; align-items: baseline; gap: 2px;
}
.product-price .price-currency { font-size: 11px; font-weight: 600; }
.product-price .price-origin {
  margin-left: 2px;
  font-size: 11px; font-weight: 400; color: var(--theme-text-muted);
  text-decoration: line-through;
}
.product-sales { margin-left: auto; font-size: 11px; color: var(--theme-text-muted); }

/* 区块通用头 */
.sec { margin-bottom: 14px; }
.sec-head {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 10px;
}
.sec-head .t {
  position: relative;
  padding-left: 10px;
  font-size: 17px; font-weight: 700; color: var(--theme-text-primary);
}
.sec-head .t::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 16px;
  background: var(--theme-btn-primary-gradient);
  border-radius: 999px;
}
.sec-head .more {
  margin-left: auto;
  display: flex; align-items: center; gap: 2px;
  font-size: 13px; color: var(--theme-text-muted);
}
.sec-head .more svg { width: 14px; height: 14px; }
.sec-head .more:active { color: var(--theme-brand-primary); }

/* 分类区块标题图标（图库图片 / 文本图标） */
.sec-cat-ico {
  width: 18px; height: 18px; border-radius: 5px;
  object-fit: cover; vertical-align: -4px; margin-right: 2px;
}
.sec-cat-emoji { font-size: 15px; margin-right: 2px; }

/* 幸运大转盘：图标图片适配 */
.lw-ico-img { width: 26px; height: 26px; object-fit: cover; border-radius: 6px; }
.lr-ico-img { width: 22px; height: 22px; object-fit: cover; border-radius: 6px; }
.lp-ico img { width: 40px; height: 40px; object-fit: cover; border-radius: 12px; }

/* 活动 banner（金色/暗色 promo 卡 + 圆形 GO） */
.lc-block--promo { display: flex; flex-direction: column; gap: 12px; }
.promo-card {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  min-height: 84px;
  padding: 16px;
  border-radius: var(--radius-l);
  background: linear-gradient(120deg, #3a2a12, #1c1408 60%, #2a1e0c);
  box-shadow: var(--shadow-card-soft);
  overflow: hidden;
  color: #f6d9a2;
}
.promo-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .05));
  pointer-events: none;
}
.promo-card::after {
  content: ""; position: absolute; right: -30px; top: -40px;
  width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 190, 90, .35), transparent 65%);
  pointer-events: none;
}
.promo-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo-card__copy { position: relative; z-index: 1; flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.promo-card__title { font-size: 17px; font-weight: 800; letter-spacing: .5px; }
.promo-card__sub { font-size: 12px; color: rgba(246, 217, 162, .82); }
.promo-card__go {
  position: relative; z-index: 1;
  width: 42px; height: 42px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: #3a2a12;
  background: linear-gradient(180deg, #ffe6a8, #e6b45c);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(230, 180, 92, .45);
}
.promo-card:active { transform: scale(.99); }

/* 下单公告条（蓝色方块标签 + 无缝滚动跑马灯） */
.home-notice-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  margin-bottom: 14px;
  background: #fff;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-card-soft);
}
.home-notice-bar .tag {
  flex-shrink: 0;
  padding: 3px 9px;
  font-size: 12px; font-weight: 700; color: #fff;
  background: var(--theme-btn-primary-gradient);
  border-radius: 8px;
  box-shadow: 0 3px 8px var(--theme-shadow-accent);
}
.home-notice-bar .marquee { flex: 1; min-width: 0; overflow: hidden; }
.home-notice-bar .marquee__track {
  display: inline-flex; align-items: center;
  white-space: nowrap;
  will-change: transform;
}
.home-notice-bar .marquee--run .marquee__track {
  animation: marqueeScroll var(--marquee-dur, 24s) linear infinite;
}
.home-notice-bar .marquee.marquee--pause .marquee__track { animation-play-state: paused; }
.home-notice-bar .marquee__item {
  display: inline-flex; align-items: center;
  font-size: 13px; color: var(--theme-text-secondary);
  padding-right: 26px;
}
.home-notice-bar .marquee__item::before {
  content: ''; flex-shrink: 0;
  width: 5px; height: 5px;
  background: var(--theme-brand-primary-light);
  border-radius: 50%;
  margin-right: 8px;
}
.home-notice-bar .arrow { flex-shrink: 0; color: var(--theme-text-muted); font-size: 14px; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* 2×2 功能宫格（金刚区竖排高质感卡片） */
.home-menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 14px; }
.home-menu-card {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
  padding: 9px 10px 8px;
  background: var(--theme-card-grad);
  border: 1px solid var(--theme-card-border);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card-soft);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.home-menu-card::after {
  content: ''; position: absolute; right: -26px; top: -26px;
  width: 74px; height: 74px; border-radius: 50%;
  background: radial-gradient(circle, var(--theme-ico-soft-a), transparent 70%);
  pointer-events: none;
}
.home-menu-card:active { transform: scale(.98); box-shadow: none; border-color: var(--theme-card-border-hover); }
.home-menu-card .m-ico {
  position: relative;
  width: 34px; height: 34px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(120% 120% at 30% 12%, rgba(255, 255, 255, .9), transparent 52%),
    linear-gradient(150deg, #fff, var(--theme-brand-primary-soft));
  border: 1px solid var(--theme-card-border-light);
  border-radius: 11px;
  font-size: 18px;
  line-height: 1;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .08);
  box-shadow: 0 6px 14px var(--theme-shadow-accent), inset 0 1px 0 rgba(255, 255, 255, .9);
  overflow: hidden;
}
.home-menu-card .m-ico::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, .65), transparent 52%);
  pointer-events: none;
}
.home-menu-card .m-ico--img { background: #fff; overflow: hidden; }
.home-menu-card .m-ico--img img { width: 100%; height: 100%; object-fit: cover; }
/* 参考站金刚区：主题渐变底 + 白色线性图标 */
.home-menu-card .m-ico--svg {
  background: var(--theme-btn-primary-gradient);
  border: none;
  color: #fff;
  box-shadow: 0 8px 18px var(--theme-shadow-accent), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.home-menu-card .m-ico--svg svg {
  width: 17px; height: 17px;
  color: #fff;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .18));
}
.home-menu-card .m-ico--svg::before { background: linear-gradient(160deg, rgba(255, 255, 255, .4), transparent 55%); }
.home-menu-card .m-name {
  font-size: 12.5px; font-weight: 700; color: var(--theme-text-primary);
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.home-menu-card .m-desc {
  font-size: 10px; line-height: 1.4; color: var(--theme-text-muted);
  max-width: 100%;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
  padding-right: 16px;
}
.home-menu-card .m-desc:empty { display: none; }
.home-menu-card .m-arrow {
  position: absolute; right: 8px; bottom: 8px;
  width: 15px; height: 15px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: var(--theme-brand-primary);
  background: var(--theme-brand-primary-soft);
  border-radius: 6px;
}

/* 分类图标行 */
.home-cat-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  padding: 14px 10px;
  margin-bottom: 14px;
  background: #fff;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card-soft);
}
.home-cat-item { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.home-cat-item:active { opacity: .65; }
.home-cat-item .ico {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  background: var(--theme-brand-primary-soft);
  border-radius: 14px;
}
.home-cat-item .ico--img { background: transparent; overflow: hidden; }
.home-cat-item .ico--img img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.home-cat-item .nm { font-size: 12px; color: var(--theme-text-primary); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 搜索行右侧蓝色圆钮 */
.home-product-search-row--pillTabs .pill-service {
  background: var(--theme-btn-primary-gradient);
  border-color: transparent;
  box-shadow: 0 6px 14px var(--theme-shadow-accent);
}
.home-product-search-row--pillTabs .pill-service svg { color: #fff; }

/* 商品卡品牌水印 */
.product-media .tag-brand {
  position: absolute; right: 8px; bottom: 8px;
  padding: 1px 7px;
  font-size: 10px; color: rgba(255, 255, 255, .9);
  background: rgba(0, 0, 0, .28);
  border-radius: 999px;
}

/* ============================================================
   分类页（参考站 #/pages/type/index）
   搜索 pill + 左侧分类侧栏 + 右侧商品行
   ============================================================ */

/* 6.1 搜索 pill（占位：请输入套餐或游戏信息） */
.miniapp-search-bar--pillTabs {
  margin-bottom: 12px;
}
.miniapp-search-bar--pillTabs .pill-search {
  display: flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 14px;
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border);
  border-radius: 999px;
  box-shadow: var(--shadow-card-soft);
}
.miniapp-search-bar--pillTabs .pill-search svg { width: 18px; height: 18px; color: var(--theme-text-muted); flex-shrink: 0; }
.miniapp-search-bar--pillTabs .pill-search input { flex: 1; font-size: 14px; color: var(--theme-input-text); }
.miniapp-search-bar--pillTabs .pill-search input::placeholder { color: var(--theme-input-placeholder); }
.miniapp-search-bar--pillTabs .pill-search .pill-search__btn {
  font-size: 13px; font-weight: 600; color: var(--theme-brand-primary);
}

/* 6.2 侧栏 + 内容双栏（玻璃液态） */
.miniapp-category-list--sideTabs {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.category-sidebar {
  width: 88px; flex-shrink: 0;
  background: var(--theme-glass-bg);
  border: 1px solid var(--theme-glass-border);
  border-radius: var(--radius-l);
  padding: 8px 6px;
  position: sticky; top: calc(var(--m-topbar-h) + 10px);
  box-shadow: var(--shadow-card-soft), inset 0 1px 0 rgba(255, 255, 255, .5);
  backdrop-filter: blur(14px) saturate(1.5);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
}
.category-sidebar .category-item {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 8px;
  font-size: 13px; color: var(--theme-text-secondary);
  border-radius: 12px;
  cursor: pointer;
  transition: all .2s ease;
}
.category-sidebar .category-item:active { opacity: .75; transform: scale(.97); }
.category-sidebar .category-item::before {
  content: attr(data-index);
  font-size: 10px; color: var(--theme-text-muted);
  opacity: 0; transition: opacity .2s ease;
}
.category-sidebar .category-item.on {
  background: var(--theme-btn-primary-gradient);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 6px 16px -4px var(--theme-shadow-accent), inset 0 1px 0 rgba(255, 255, 255, .4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .18);
}
.category-sidebar .category-item.on::before {
  opacity: 1;
  color: rgba(255, 255, 255, .85);
  font-weight: 700;
}
.category-sidebar .category-item__bar {
  position: absolute; left: -8px; top: 50%; transform: translateY(-50%);
  width: 4px; height: 20px;
  background: var(--theme-btn-primary-gradient);
  border-radius: 999px;
  opacity: 0;
  box-shadow: 0 2px 8px var(--theme-shadow-accent);
  transition: opacity .2s ease;
}
.category-sidebar .category-item.on .category-item__bar { opacity: 1; }
.category-sidebar .category-item__img { width: 16px; height: 16px; border-radius: 5px; object-fit: cover; flex: none; }
.category-sidebar .category-item__emoji { font-size: 14px; line-height: 1; flex: none; }
.category-sidebar .category-item.on .category-item__img { box-shadow: 0 0 0 2px rgba(255, 255, 255, .35); }

/* 6.3 右侧商品行（玻璃卡片） */
.product-scroll__body { flex: 1; min-width: 0; }
.product-scroll__body .product-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px;
  margin-bottom: 10px;
  background: var(--theme-glass-bg);
  border: 1px solid var(--theme-glass-border);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card-soft), inset 0 1px 0 rgba(255, 255, 255, .5);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  transition: transform .18s ease, box-shadow .18s ease;
}
.product-scroll__body .product-item:active {
  transform: scale(.985);
  box-shadow: var(--shadow-card), 0 8px 20px -6px var(--theme-shadow-accent);
}
.product-item .product-img {
  width: 64px; height: 64px; flex-shrink: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--theme-card-bg-alt);
  box-shadow: inset 0 0 0 1px var(--theme-card-border-light);
}
.product-item .product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.product-item:active .product-img img { transform: scale(1.06); }
.product-item .product-img .ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; color: #fff;
  background: var(--theme-grad-brand-150);
}
.product-item__copy { flex: 1; min-width: 0; }
.product-item__copy .product-item__title {
  font-size: 14px; font-weight: 600; color: var(--theme-text-primary);
  line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-item__copy .product-item__desc {
  margin-top: 2px;
  font-size: 12px; color: var(--theme-text-muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.product-item__copy .product-item__price {
  margin-top: 6px;
  font-size: 15px; font-weight: 700;
  color: #e04040;
  display: flex; align-items: baseline; gap: 2px;
}
.product-item__copy .product-item__price .price-currency { font-size: 11px; }
.product-item__copy .product-item__price .price-origin {
  margin-left: 4px;
  font-size: 11px; font-weight: 400; color: var(--theme-text-muted);
  text-decoration: line-through;
}
.product-cart {
  width: 34px; height: 34px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: var(--theme-btn-primary-gradient);
  color: #fff;
  box-shadow: 0 4px 10px -2px var(--theme-shadow-accent), inset 0 1px 0 rgba(255, 255, 255, .4);
  transition: transform .18s ease;
}
.product-cart svg { width: 19px; height: 19px; }
.product-cart:active { transform: scale(.88); background: var(--theme-addcart-active); }

/* 列表底部提示 */
.list-end {
  padding: 18px 0 6px;
  text-align: center;
  font-size: 12px; color: var(--theme-text-muted);
}

/* ============================================================
   选人页（参考站 #/pages/player-select/index）
   搜索 pill + 筛选 chips + 打手卡片
   ============================================================ */

/* 7.1 筛选 chips */
.player-status-filter { margin-bottom: 12px; }
.filter-header__filters {
  display: flex; gap: 8px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
.filter-header__filters::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 4px;
  padding: 8px 14px;
  font-size: 13px; color: var(--theme-text-secondary);
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border);
  border-radius: 999px;
  cursor: pointer;
  transition: all .18s ease;
}
.chip svg { width: 12px; height: 12px; color: var(--theme-text-muted); }
.chip:active { opacity: .75; }
.chip.on {
  background: var(--theme-brand-primary-soft);
  border-color: var(--theme-brand-primary);
  color: var(--theme-brand-primary);
  font-weight: 600;
}
.chip.on svg { color: var(--theme-brand-primary); }

/* 7.2 打手卡（hall-card） */
.player-list--profileCards .hall-card { margin-bottom: 12px; }
.hall-card {
  display: flex; gap: 12px;
  padding: 14px;
  background: var(--theme-card-grad);
  border: 1px solid var(--theme-card-border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card-soft);
}
.hall-card:active { box-shadow: var(--shadow-card); }
.hall-card__avatar-wrap {
  position: relative;
  width: 92px; height: 92px; flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: var(--shadow-card-soft);
}
.hall-card__avatar-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hall-card__avatar-wrap .ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 34px; font-weight: 700; color: #fff;
  background: var(--theme-grad-brand-150);
}
.hall-card__avatar-wrap--male::after {
  content: "♂";
  position: absolute; right: 0; bottom: 0;
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  background: var(--theme-brand-primary);
  color: #fff; font-size: 12px; font-weight: 700;
  border-radius: 8px 0 0 0;
}
.hall-card__avatar-wrap--female::after {
  content: "♀";
  position: absolute; right: 0; bottom: 0;
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  background: #e91e8c;
  color: #fff; font-size: 12px; font-weight: 700;
  border-radius: 8px 0 0 0;
}
.hall-card__content { flex: 1; min-width: 0; }
.hall-card__name-row {
  display: flex; align-items: center; gap: 8px;
}
.hall-card__name {
  font-size: 15px; font-weight: 700; color: var(--theme-text-primary);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hall-card__level {
  flex-shrink: 0;
  padding: 1px 6px;
  font-size: 11px; color: var(--theme-tag-text);
  background: var(--theme-tag-bg);
  border-radius: 999px;
}
.hall-card__info-row {
  margin-top: 5px;
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--theme-text-secondary);
}
.hall-card__score-row { display: flex; align-items: center; gap: 3px; font-weight: 600; color: var(--theme-text-primary); }
.hall-card__score-row svg { width: 12px; height: 12px; color: #ffb400; }
.hall-card__state {
  padding: 1px 6px;
  font-size: 11px;
  background: var(--theme-card-bg-alt);
  color: var(--theme-brand-primary);
  border-radius: 6px;
}
.hall-card__state--offline { color: var(--theme-text-muted); }
.hall-card__state--on { color: #059669; background: var(--theme-status-success-soft); }
.hall-card__done { display: inline-flex; align-items: center; gap: 3px; font-weight: 600; color: var(--theme-text-secondary); }
.hall-card__done svg { width: 11px; height: 11px; color: #059669; }
/* 在线呼吸灯（头像右上角） */
.hall-card__dot {
  position: absolute; top: 6px; right: 6px;
  width: 11px; height: 11px; border-radius: 50%;
  background: #22c55e;
  border: 2px solid #fff;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .55);
  animation: hallPulse 1.8s ease-out infinite;
}
@keyframes hallPulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); }
  70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.hall-card--offline { opacity: .88; }
.hall-card__game {
  margin-top: 5px;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px;
  font-size: 11px; font-weight: 600; color: var(--theme-brand-primary);
  background: var(--theme-card-bg-alt);
  border-radius: 6px;
}
.hall-card__game svg { width: 11px; height: 11px; }
.hall-card__tags { margin-top: 5px; display: flex; flex-wrap: wrap; gap: 4px; }
.hall-card__tag {
  padding: 2px 8px;
  font-size: 11px;
  color: var(--theme-tag-text);
  background: var(--theme-tag-bg);
  border-radius: 999px;
}
.hall-card__intro {
  margin-top: 6px;
  font-size: 11px; color: var(--theme-text-secondary);
  line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hall-card__footer { margin-top: 8px; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.hall-card__actions { display: flex; gap: 8px; }
.hall-card__action {
  height: 29px; padding: 0 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600;
  border-radius: 999px;
  transition: transform .12s ease;
}
.hall-card__action:active { transform: scale(.96); }
.hall-card__action--gift {
  color: var(--theme-brand-primary);
  border: 1.5px solid var(--theme-brand-primary);
  background: var(--theme-card-bg);
}
.hall-card__action--order {
  color: #fff;
  background: var(--theme-btn-primary-gradient);
  box-shadow: 0 4px 10px var(--theme-shadow-accent);
}

/* ============================================================
   消息页（参考站 #/pages/message/index）
   客服卡片 + 空状态
   ============================================================ */

.message-list-preview--serviceDesk {
  margin-bottom: 12px;
  display: flex; flex-direction: column; gap: 10px;
}
.msg-dot {
  display: inline-block; min-width: 18px; height: 18px; line-height: 18px;
  margin-left: 6px; padding: 0 6px;
  font-size: 11px; font-style: normal; text-align: center;
  color: #fff; background: #e04040; border-radius: 999px;
  vertical-align: 2px;
}
.message-card--support {
  display: flex; align-items: center; gap: 12px;
  padding: 14px;
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border-light);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card-soft);
}
.message-card--support:active { box-shadow: var(--shadow-card); }
.message-card__icon-wrap {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--theme-brand-primary-soft);
  color: var(--theme-brand-primary);
  border-radius: 12px;
}
.message-card__icon-wrap svg { width: 24px; height: 24px; }
.message-card__body { flex: 1; min-width: 0; }
.message-card__title { font-size: 15px; font-weight: 600; color: var(--theme-text-primary); }
.message-card__preview {
  margin-top: 2px;
  font-size: 12px; color: var(--theme-text-muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.message-card__arrow { color: var(--theme-text-muted); font-size: 16px; }

.message-empty {
  padding: 48px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center;
}
.message-empty .message-empty__icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: var(--theme-card-bg-alt);
  color: var(--theme-text-muted);
  border-radius: 999px;
}
.message-empty .message-empty__icon svg { width: 30px; height: 30px; }
.message-empty__title { font-size: 14px; font-weight: 600; color: var(--theme-text-secondary); }
.message-empty__desc { font-size: 12px; color: var(--theme-text-muted); line-height: 1.6; }

/* ============================================================
   我的页（参考站 #/pages/mine/index）
   玻璃资料卡 → 我的订单 → 并排双卡 → 更多服务 → 水印
   ============================================================ */

/* 8.1 资料卡（玻璃紫 + 星点） */
.profile-panel--memberCard {
  position: relative;
  padding: 16px;
  margin-bottom: 12px;
  border-radius: var(--radius-l);
  background: linear-gradient(135deg, rgba(178, 146, 226, .48), rgba(120, 96, 190, .34));
  border: 1px solid rgba(255, 255, 255, .45);
  box-shadow: 0 8px 22px rgba(60, 30, 110, .22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  overflow: hidden;
}
.profile-panel--memberCard::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 84% 16%, rgba(255, 255, 255, .6) 0 1.5px, transparent 2.8px),
    radial-gradient(circle at 66% 68%, rgba(255, 255, 255, .45) 0 1px, transparent 2px),
    radial-gradient(circle at 18% 82%, rgba(255, 255, 255, .45) 0 1px, transparent 2px);
}
.profile-panel__row { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; }
.profile-panel__avatar {
  width: 56px; height: 56px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border-radius: 999px;
  overflow: hidden;
  color: var(--theme-brand-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}
.profile-panel__avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-panel__avatar svg { width: 30px; height: 30px; }
.profile-panel__copy { flex: 1; min-width: 0; }
.profile-panel__name-row { display: flex; align-items: center; gap: 8px; }
.profile-panel__name {
  font-size: 18px; font-weight: 700; color: #fff;
  text-shadow: 0 1px 4px rgba(50, 20, 90, .35);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.profile-panel__badge {
  flex-shrink: 0; padding: 1px 8px;
  font-size: 11px; font-weight: 600; line-height: 1.5;
  color: #4a2f7a; background: rgba(255, 255, 255, .82);
  border-radius: 999px;
}
.profile-panel__sub { margin-top: 5px; font-size: 12px; color: rgba(255, 255, 255, .92); }
.profile-panel__uid { margin-top: 2px; font-size: 12px; color: rgba(255, 255, 255, .86); }
.profile-panel__btn {
  flex-shrink: 0;
  padding: 7px 16px;
  font-size: 13px; font-weight: 600; color: var(--theme-brand-primary);
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(60, 30, 110, .22);
}
.profile-panel__btn:active { transform: scale(.96); }

/* 8.2 我的订单（蓝色竖条标题 + 4 格线框图标） */
.order-overview-panel--statusGrid {
  padding: 14px 16px 16px;
  margin-bottom: 12px;
  background: #fff;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card-soft);
}
.order-overview__head { display: flex; align-items: center; margin-bottom: 14px; }
.order-overview__title {
  position: relative; padding-left: 10px;
  font-size: 15px; font-weight: 700; color: var(--theme-text-primary);
}
.order-overview__title::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 15px;
  border-radius: 999px;
  background: var(--theme-btn-primary-gradient);
}
.order-overview__more { margin-left: auto; font-size: 12px; color: var(--theme-text-muted); }
.uc-orders-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.uc-orders-grid a { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.uc-orders-grid a:active { opacity: .65; }
.uc-orders-grid .ico {
  position: relative;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  color: var(--theme-brand-primary);
}
.uc-orders-grid .ico svg { width: 28px; height: 28px; }
.uc-orders-grid .badge {
  position: absolute; top: -3px; right: -3px;
  min-width: 16px; height: 16px; padding: 0 4px;
  display: flex; align-items: center; justify-content: center;
  background: #e04040; color: #fff;
  font-size: 10px; font-weight: 600; line-height: 1;
  border-radius: 999px;
  border: 2px solid #fff;
}
.uc-orders-grid .nm { font-size: 12px; color: var(--theme-text-secondary); }

/* 8.3 并排双卡（我的收藏 / 联系客服） */
.mine-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}
.mine-quick-card {
  display: flex; align-items: center; gap: 8px;
  padding: 18px 14px;
  background: #fff;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card-soft);
  color: var(--theme-text-primary);
}
.mine-quick-card:active { transform: scale(.98); }
.mine-quick-card .nm { flex: 1; font-size: 15px; font-weight: 700; }
.mine-quick-card .ico {
  width: 38px; height: 38px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.mine-quick-card .ico svg { width: 34px; height: 34px; }
.mine-quick-card--favorite .ico svg { color: #f5455c; fill: #f5455c; stroke: #f5455c; }
.mine-quick-card--service .ico {
  border-radius: 999px;
  background: conic-gradient(#ff5f6d, #ffc371, #47e6b1, #4facfe, #a17fe0, #ff5f6d);
}
.mine-quick-card--service .ico svg { width: 20px; height: 20px; color: #fff; }

/* 8.4 更多服务（蓝色竖条标题 + 4×2 线框图标） */
.mine-more-card {
  padding: 14px 16px 12px;
  margin-bottom: 12px;
  background: #fff;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card-soft);
}
.mine-more-card__title {
  position: relative; padding-left: 10px;
  margin-bottom: 14px;
  font-size: 15px; font-weight: 700; color: var(--theme-text-primary);
}
.mine-more-card__title::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 15px;
  border-radius: 999px;
  background: var(--theme-btn-primary-gradient);
}
.mine-more-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 6px; }
.mine-more-grid a { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.mine-more-grid a:active { opacity: .65; }
.mine-more-grid .ico {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--theme-brand-primary);
}
.mine-more-grid .ico svg { width: 28px; height: 28px; }
.mine-more-grid .nm { font-size: 12px; color: var(--theme-text-secondary); }

/* 8.5 登录后信息 / 提现 / 绑定（次级卡片） */
.mine-auth-card {
  padding: 14px 16px;
  margin-bottom: 12px;
  background: #fff;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card-soft);
  font-size: 13px; color: var(--theme-text-secondary);
  line-height: 1.7;
}
.mine-auth-card .mine-auth-title { font-size: 14px; font-weight: 700; color: var(--theme-text-primary); margin-bottom: 4px; }
.mine-auth-card .mine-auth-actions { margin-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; }

/* 水印 + 页脚 */
.mine-watermark {
  padding: 44px 0 16px;
  text-align: center;
  font-size: 12px;
  color: rgba(120, 100, 160, .55);
}
.mine-footer {
  padding: 8px 0 12px;
  text-align: center;
  font-size: 12px; color: rgba(120, 100, 160, .55);
}

/* ============================================================
   登录页（参考站 #/pages/login/index）
   品牌区 + 欢迎回来 + 微信快捷登录单卡 + 协议勾选
   ============================================================ */

.login-page {
  position: relative;
  min-height: calc(100vh - 0px);
  margin: -12px;
  padding: 36px 16px 28px;
  display: flex; flex-direction: column; justify-content: center;
  background:
    radial-gradient(ellipse 80% 55% at 85% -5%, rgba(53, 168, 245, .18), transparent 60%),
    radial-gradient(ellipse 70% 45% at -10% 108%, rgba(23, 150, 240, .14), transparent 55%),
    radial-gradient(ellipse 45% 30% at 88% 92%, rgba(36, 219, 90, .10), transparent 50%),
    var(--theme-bg);
}
.login-page::before {
  content: "";
  position: absolute; left: 50%; top: 0;
  transform: translateX(-50%);
  width: 300px; height: 220px;
  border-radius: 0 0 50% 50%;
  background: linear-gradient(180deg, rgba(23, 150, 240, .10), transparent 80%);
  pointer-events: none;
}
.login-page > * { position: relative; }
.login-shell {
  position: relative;
  display: flex; flex-direction: column; gap: 18px;
  padding: 20px 16px 24px;
}
.login-shell::before {
  content: "";
  position: absolute; left: 50%; top: -60px;
  transform: translateX(-50%);
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 150, 240, .16), transparent 62%);
  pointer-events: none;
}
.login-shell::after {
  content: "";
  position: absolute; right: -44px; top: 96px;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36, 219, 90, .12), transparent 60%);
  pointer-events: none;
}
.login-brand { position: relative; display: flex; align-items: center; gap: 12px; }
.login-logo {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: #24db5a;
  border-radius: 14px;
  color: #fff;
  box-shadow: 0 8px 18px rgba(36, 219, 90, .35);
}
.login-logo svg { width: 30px; height: 30px; }
.login-brand-copy { display: flex; flex-direction: column; gap: 2px; }
.login-kicker {
  font-size: 13px; font-weight: 700; color: var(--theme-brand-primary);
}
.login-brand-name { font-size: 12px; font-weight: 600; color: var(--theme-text-secondary); }
.login-title {
  position: relative; z-index: 1;
  font-size: 24px; font-weight: 800; color: var(--theme-text-primary);
  line-height: 1.2;
}
.login-subtitle {
  position: relative; z-index: 1;
  margin-top: -12px;
  font-size: 13px; color: var(--theme-text-muted);
}
.login-card {
  position: relative; z-index: 1;
  padding: 18px 16px 16px;
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border);
  border-radius: var(--radius-s);
  box-shadow: 0 8px 20px rgba(23, 33, 43, .08);
}
.login-card-head { margin-bottom: 14px; }
.login-card-title { font-size: 15px; font-weight: 700; color: var(--theme-text-primary); }
.login-card-desc { margin-top: 4px; font-size: 12px; color: var(--theme-text-muted); }
.login-button {
  width: 100%; height: 46px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 700; color: #fff;
  background: var(--theme-btn-primary-gradient);
  border-radius: 999px;
  box-shadow: 0 6px 14px var(--theme-shadow-accent);
  transition: transform .12s ease;
}
.login-button--wechat {
  background: linear-gradient(135deg, #2adf63, #07c160);
  box-shadow: 0 8px 18px rgba(7, 193, 96, .35);
}
.login-button--qq {
  background: linear-gradient(135deg, #57b7ff, #1c9bff);
  box-shadow: 0 8px 18px rgba(28, 155, 255, .32);
}
.login-button--muted {
  background: linear-gradient(135deg, #94a3b8, #64748b);
  box-shadow: 0 8px 18px rgba(100, 116, 139, .28);
}
.login-button--wechat:active, .login-button--qq:active, .login-button--muted:active { transform: scale(.98); }
.login-button:active { transform: scale(.98); }
button.login-button { border: 0; font: inherit; cursor: pointer; }
.login-button svg { width: 20px; height: 20px; }
.agreement-row {
  position: relative; z-index: 1;
  margin-top: 12px;
  display: flex; align-items: flex-start; justify-content: center; gap: 6px;
  font-size: 12px; color: var(--theme-text-secondary);
  flex-wrap: wrap;
}
.agreement-check {
  position: relative;
  width: 16px; height: 16px; flex-shrink: 0;
  margin-top: 2px;
  border: 1.5px solid var(--theme-card-border);
  border-radius: 3px;
  cursor: pointer;
  transition: all .18s ease;
}
.agreement-check--active {
  border-color: var(--theme-brand-primary);
  background: var(--theme-brand-primary);
}
.agreement-check__mark {
  position: absolute; left: 4.5px; top: 1.5px;
  width: 6px; height: 3.5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  opacity: 0;
  transition: opacity .15s ease;
}
.agreement-check--active .agreement-check__mark { opacity: 1; }
.agreement-text { line-height: 1.6; }
.agreement-link { color: var(--theme-brand-primary); font-weight: 600; }
.login-sub-card {
  position: relative; z-index: 1;
  margin-top: -4px;
  padding: 14px 16px;
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border-light);
  border-radius: var(--radius-m);
  font-size: 13px; color: var(--theme-text-secondary);
  line-height: 1.7;
  box-shadow: var(--shadow-card-soft);
}
.login-sub-card a { color: var(--theme-brand-primary); font-weight: 600; }
.login-other {
  position: relative; z-index: 1;
  margin-top: -8px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 12px; color: var(--theme-text-muted);
}
.login-other .login-other__link { color: var(--theme-brand-primary); font-weight: 600; }

/* ============================================================
   注册页（浅蓝表单）
   ============================================================ */
.auth-shell { padding: 16px 0; }
.auth-shell .form-card {
  padding: 18px 16px;
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border-light);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card-soft);
}
.auth-shell .form-card__title { font-size: 17px; font-weight: 700; margin-bottom: 14px; }

/* ============================================================
   通用组件（浅蓝体系）
   ============================================================ */

/* ---------- 卡片 / 区块 ---------- */
.card {
  padding: 14px;
  margin-bottom: 12px;
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border-light);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card-soft);
}
.card .card-title { font-size: 15px; font-weight: 700; margin-bottom: 10px; color: var(--theme-text-primary); }

/* ---------- 表单 ---------- */
.form-item { margin-bottom: 14px; }
.form-item label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px; font-weight: 600; color: var(--theme-text-secondary);
}
.form-item input,
.form-item textarea,
.form-item select {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px; color: var(--theme-input-text);
  background: var(--theme-input-bg);
  border: 1px solid var(--theme-input-border);
  border-radius: 10px;
  transition: border-color .18s ease, box-shadow .18s ease;
  appearance: none;
  -webkit-appearance: none;
}
.form-item select {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238291a8' stroke-width='2.5' 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 12px center;
  padding-right: 34px;
}
.form-item input:focus,
.form-item textarea:focus,
.form-item select:focus {
  border-color: var(--theme-input-focus-border);
  background: var(--theme-card-bg);
  box-shadow: 0 0 0 3px var(--theme-shadow-accent);
}
.form-item input::placeholder,
.form-item textarea::placeholder { color: var(--theme-input-placeholder); }
.form-item textarea { min-height: 90px; resize: vertical; line-height: 1.6; }
.form-item .input-icon { position: relative; }
.form-item .input-icon .icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--theme-text-muted);
  pointer-events: none;
}
.form-item .input-icon input { padding-left: 40px; }
.form-item .input-suffix { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 13px; color: var(--theme-brand-primary); font-weight: 600; }
.form-item .form-item__hint { margin-top: 6px; font-size: 12px; color: var(--theme-text-muted); }
.form-divider { height: 1px; background: var(--theme-card-border); margin: 14px 0; }

/* ---------- 组件化表单（f-*，与后台统一风格） ---------- */
.f-sec { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--theme-text-primary); margin-bottom: 12px; }
.f-sec svg { width: 16px; height: 16px; color: var(--theme-brand-primary); flex: none; }
.f-sec .f-sec-line { flex: 1; height: 1px; background: var(--theme-card-border); }
.f-row { margin-bottom: 14px; }
.f-row label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--theme-text-secondary); }
.f-row label .req { color: #f43f5e; margin-left: 2px; font-style: normal; }
.f-row input, .f-row textarea, .f-row select {
  width: 100%; padding: 11px 14px; font-size: 14px; color: var(--theme-input-text);
  background: var(--theme-input-bg); border: 1px solid var(--theme-input-border); border-radius: 10px;
  outline: none; transition: border-color .18s ease, box-shadow .18s ease; appearance: none; -webkit-appearance: none;
  font-family: inherit;
}
.f-row textarea { min-height: 90px; resize: vertical; line-height: 1.6; }
.f-row input:focus, .f-row textarea:focus, .f-row select:focus { border-color: var(--theme-input-focus-border); background: var(--theme-card-bg); box-shadow: 0 0 0 3px var(--theme-shadow-accent); }
.f-row select { background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238291a8' stroke-width='2.5' 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 12px center; padding-right: 34px; }
.f-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 420px) { .f-grid2 { grid-template-columns: 1fr; } }
.f-input { position: relative; }
.f-input > svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--theme-text-muted); pointer-events: none; }
.f-input input { padding-left: 36px; }
.f-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.f-actions .btn.primary { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.f-actions .btn.primary svg { width: 15px; height: 15px; }
.f-actions .btn.block { flex: 1; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 20px;
  font-size: 14px; font-weight: 600;
  color: #fff;
  background: var(--theme-btn-primary-gradient);
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 10px var(--theme-shadow-accent);
  cursor: pointer;
  transition: transform .12s ease, opacity .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); opacity: .92; }
.btn svg { width: 16px; height: 16px; }
.btn.ghost {
  color: var(--theme-brand-primary);
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-brand-primary);
  box-shadow: none;
}
.btn.ghost:active { background: var(--theme-brand-primary-soft); }
.btn.danger {
  background: linear-gradient(180deg, #ff6b5e, #e04040);
  box-shadow: 0 4px 10px var(--theme-status-error-shadow);
}
.btn.cyan { background: linear-gradient(180deg, #22d3ee, #0891b2); box-shadow: 0 4px 10px rgba(8, 145, 178, .25); }
.btn.purple { background: linear-gradient(180deg, #a78bfa, #7c3aed); box-shadow: 0 4px 10px rgba(124, 58, 237, .25); }
.btn.sm { padding: 7px 14px; font-size: 13px; border-radius: 999px; box-shadow: none; }
.btn.lg { padding: 13px 26px; font-size: 16px; border-radius: 12px; }
.btn.block { display: flex; width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn-group { display: flex; gap: 10px; }
.btn-group .btn { flex: 1; }

/* ---------- 状态胶囊徽标（status_badge） ---------- */
.badge {
  display: inline-flex; align-items: center;
  padding: 3px 10px;
  font-size: 12px; font-weight: 600;
  border-radius: 999px;
  line-height: 1.4;
}
.badge.ok   { color: #059669; background: var(--theme-status-success-soft); }
.badge.warn { color: #d97706; background: var(--theme-status-warning-soft); }
.badge.bad  { color: #dc2626; background: var(--theme-status-error-soft); }
.badge.info { color: #1d4ed8; background: var(--theme-status-info-soft); }
.badge.gray { color: var(--theme-text-secondary); background: var(--theme-card-bg-alt); }
.badge.blue { color: var(--theme-brand-primary); background: var(--theme-brand-primary-soft); }

/* ---------- 标签（旧 .tag 系列） ---------- */
.tag {
  display: inline-flex; align-items: center;
  padding: 2px 8px;
  font-size: 12px;
  color: var(--theme-tag-text);
  background: var(--theme-tag-bg);
  border-radius: 999px;
}
.tag.pay  { color: #059669; background: var(--theme-status-success-soft); }
.tag.ok   { color: #059669; background: var(--theme-status-success-soft); }
.tag.bad  { color: #dc2626; background: var(--theme-status-error-soft); }
.tag.info { color: #1d4ed8; background: var(--theme-status-info-soft); }
.tag.warning { color: #d97706; background: var(--theme-status-warning-soft); }

/* ---------- 列表 ---------- */
.list { overflow: hidden; }
.list .item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px;
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border-light);
  border-radius: var(--radius-m);
  margin-bottom: 10px;
  box-shadow: var(--shadow-card-soft);
}
.list .item:active { box-shadow: var(--shadow-card); }
.list .item .ico {
  width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--theme-brand-primary-soft);
  color: var(--theme-brand-primary);
  border-radius: 12px;
  font-size: 18px;
}
.list .item .ico svg { width: 20px; height: 20px; }
.list .item .row { flex: 1; min-width: 0; }
.list .item .mt { font-size: 14px; font-weight: 600; color: var(--theme-text-primary); }
.list .item .md { margin-top: 2px; font-size: 12px; color: var(--theme-text-muted); }
.list .item .arr { color: var(--theme-text-muted); font-size: 16px; flex-shrink: 0; }

/* ---------- 订单卡片（订单列表） ---------- */
.order-card {
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border-light);
  border-radius: var(--radius-l);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card-soft);
}
.order-card .order-head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px;
  background: var(--theme-card-bg-alt);
  font-size: 12px; color: var(--theme-text-secondary);
}
.order-card .order-no { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order-card .order-body { display: flex; gap: 12px; padding: 14px; }
.order-card .order-cover {
  width: 72px; height: 72px; flex-shrink: 0;
  border-radius: 12px; overflow: hidden;
  background: var(--theme-card-bg-alt);
}
.order-card .order-cover img { width: 100%; height: 100%; object-fit: cover; }
.order-card .order-cover .ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; color: #fff;
  background: var(--theme-grad-brand-150);
}
.order-card .order-info { flex: 1; min-width: 0; }
.order-card .order-title { font-size: 14px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.order-card .order-desc { margin-top: 3px; font-size: 12px; color: var(--theme-text-muted); }
.order-card .order-foot {
  display: flex; align-items: center; gap: 8px;
  padding: 0 14px 14px;
}
.order-card .order-price { font-size: 16px; font-weight: 700; color: #e04040; display: flex; align-items: baseline; gap: 2px; }
.order-card .order-price .price-currency { font-size: 11px; font-weight: 600; }
.order-card .order-actions { margin-left: auto; display: flex; gap: 8px; }
.order-card .order-actions .btn { box-shadow: none; }
.order-card .order-actions .btn.ghost { border-width: 1px; }

/* ---------- 空状态 ---------- */
.empty {
  position: relative;
  padding: 60px 24px 54px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center;
  overflow: hidden;
}
.empty::before {
  content: "";
  position: absolute; top: 22px; left: 50%;
  transform: translateX(-50%);
  width: 44px; height: 8px;
  background-image: radial-gradient(circle, var(--theme-brand-primary) 2.2px, transparent 2.8px);
  background-size: 11px 8px;
  background-repeat: repeat-x;
  opacity: .4;
}
.empty .ico {
  position: relative;
  width: 84px; height: 84px;
  display: flex; align-items: center; justify-content: center;
  font-size: 34px;
  color: var(--theme-brand-primary);
  background: linear-gradient(150deg, var(--theme-brand-primary-soft), transparent);
  border: 1.5px dashed var(--theme-brand-primary);
  border-radius: 999px;
  box-shadow: 0 12px 26px var(--theme-shadow-accent);
  animation: emptyFloat 3.2s ease-in-out infinite;
}
.empty .ico::after {
  content: "";
  position: absolute; inset: -14px;
  border-radius: 999px;
  border: 1px dashed var(--theme-brand-primary);
  opacity: .22;
  animation: emptySpin 18s linear infinite;
}
.empty .ico svg { width: 34px; height: 34px; }
@keyframes emptyFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes emptySpin { to { transform: rotate(360deg); } }
.empty .empty-title { font-size: 15px; font-weight: 600; color: var(--theme-text-primary); }
.empty .empty-desc { font-size: 12px; color: var(--theme-text-muted); line-height: 1.6; }
.empty .btn { margin-top: 6px; }

/* ---------- 分页 ---------- */
.pager {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 0 8px;
  font-size: 13px; color: var(--theme-text-secondary);
}
.pager a {
  padding: 7px 14px;
  font-size: 13px; color: var(--theme-brand-primary);
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border);
  border-radius: 999px;
}
.pager a:active { background: var(--theme-brand-primary-soft); }
.pager .current { color: var(--theme-text-muted); }

/* ---------- 提示条 ---------- */
.alert {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  margin-bottom: 12px;
  font-size: 13px; line-height: 1.6;
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border-light);
  border-left: 3px solid var(--theme-brand-primary);
  border-radius: 10px;
  color: var(--theme-text-secondary);
}
.alert .ico { flex-shrink: 0; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; }
.alert svg { width: 18px; height: 18px; }
.alert.ok    { border-left-color: #059669; } .alert.ok svg { color: #059669; }
.alert.err   { border-left-color: #dc2626; } .alert.err svg { color: #dc2626; }
.alert.info  { border-left-color: var(--theme-brand-primary); } .alert.info svg { color: var(--theme-brand-primary); }
.alert.warning { border-left-color: #d97706; } .alert.warning svg { color: #d97706; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; top: 45%;
  transform: translate(-50%, -50%) scale(.92);
  z-index: 1000;
  max-width: 260px;
  padding: 12px 18px;
  font-size: 13px; color: #fff;
  background: var(--theme-toast-bg);
  border-radius: 10px;
  text-align: center;
  line-height: 1.5;
  opacity: 0; pointer-events: none;
  transition: all .22s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ---------- 统计宫格 ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 12px; }
.stat {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 16px 10px;
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border-light);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card-soft);
}
.stat:active { box-shadow: var(--shadow-card); }
.stat .n { font-size: 22px; font-weight: 800; color: var(--theme-brand-primary); }
.stat .l { font-size: 12px; color: var(--theme-text-secondary); }

/* ---------- 支付方式 ---------- */
.pay-way { display: flex; flex-direction: column; gap: 8px; }
.pay-way label {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border);
  border-radius: var(--radius-m);
  cursor: pointer;
  transition: all .18s ease;
}
.pay-way label:active { opacity: .8; }
.pay-way label.on {
  border-color: var(--theme-brand-primary);
  box-shadow: 0 0 0 3px var(--theme-shadow-accent);
}
.pay-way .ico {
  width: 30px; height: 30px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9px;
  font-size: 15px;
}
.pay-way .ico svg { width: 16px; height: 16px; }
.pay-way .ico.wechat { background: rgba(9, 187, 7, .12); color: #09bb07; }
.pay-way .ico.alipay { background: rgba(23, 150, 240, .12); color: var(--theme-brand-primary); }
.pay-way .ico.qqpay { background: rgba(18, 122, 255, .12); color: #127aff; }
.pay-way .ico.balance { background: rgba(240, 147, 43, .14); color: #f0932b; }
.pay-way .pay-info { flex: 1; min-width: 0; }
.pay-way .pay-name { font-size: 14px; font-weight: 600; color: var(--theme-text-primary); }
.pay-way .pay-desc { font-size: 12px; color: var(--theme-text-muted); }
.pay-way .radio {
  width: 18px; height: 18px; flex-shrink: 0;
  border: 2px solid var(--theme-card-border-hover);
  border-radius: 999px;
  position: relative;
  transition: all .18s ease;
}
.pay-way label.on .radio { border-color: var(--theme-brand-primary); }
.pay-way label.on .radio::after {
  content: "";
  position: absolute; inset: 3px;
  background: var(--theme-brand-primary);
  border-radius: 999px;
}

/* ---------- 商品详情页 ---------- */
.detail-cover {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--theme-card-bg-alt);
  border-radius: 0 0 var(--radius-l) var(--radius-l);
  overflow: hidden;
}
.detail-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-cover .ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: var(--theme-text-muted);
  background: var(--theme-cover-grad);
  font-size: 13px;
}
.detail-cover .ph .ph-ico { font-size: 40px; }
.detail-cover .back-btn {
  position: absolute; left: 12px; top: 12px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .85);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  color: var(--theme-text-primary);
  box-shadow: var(--shadow-card-soft);
}
.detail-main {
  position: relative;
  margin: -18px 12px 12px;
  padding: 16px;
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card-soft);
}
.detail-main .d-tag-hot {
  display: inline-block;
  padding: 2px 8px;
  margin-bottom: 8px;
  font-size: 11px;
  color: #fff;
  background: linear-gradient(135deg, #ff5b5b, #e04040);
  border-radius: 999px;
}
.detail-main .d-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--theme-text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.detail-main .d-row {
  display: flex; align-items: baseline; gap: 10px;
  margin-top: 10px;
}
.detail-main .d-price {
  font-size: 24px;
  font-weight: 800;
  color: #e04040;
  font-style: normal;
}
.detail-main .d-price .d-cny { font-size: 14px; font-weight: 700; margin-right: 1px; }
.detail-main .d-origin {
  font-size: 13px;
  color: var(--theme-text-muted);
  text-decoration: line-through;
}
.detail-main .d-sold { margin-left: auto; font-size: 12px; color: var(--theme-text-muted); }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.detail-body {
  margin: 0 12px 12px;
  padding: 16px;
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card-soft);
}
.detail-body h3 {
  display: flex; align-items: center; gap: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--theme-text-primary);
  margin-bottom: 12px;
}
.detail-body h3::before {
  content: "";
  width: 4px; height: 14px;
  background: var(--theme-brand-primary);
  border-radius: 999px;
}
.detail-body p, .detail-body .d-content {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--theme-text-secondary);
  white-space: pre-wrap;
  word-break: break-word;
}
.buy-bar {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px calc(12px + var(--safe-bottom));
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--theme-card-border);
}
.buy-bar .b-price { font-size: 22px; font-weight: 800; color: #e04040; }
.buy-bar .b-price .b-cny { font-size: 13px; font-weight: 700; }
.buy-bar .b-origin { display: block; font-size: 11px; color: var(--theme-text-muted); text-decoration: line-through; }
.buy-bar .b-btn {
  margin-left: auto;
  height: 44px; padding: 0 30px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: #fff;
  background: var(--theme-btn-primary-gradient);
  border-radius: 999px;
  box-shadow: 0 8px 16px var(--theme-shadow-accent);
}
.buy-bar .b-btn:active { transform: scale(.96); }

/* ---------- 个人中心 · 余额资产卡（仅登录展示，充值入口收敛到余额管理页） ---------- */
.balance-asset-card {
  position: relative;
  margin: 12px 12px 0;
  padding: 18px 16px;
  color: #fff;
  background: var(--theme-head-grad);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: 0 10px 22px var(--theme-shadow-accent);
}
.balance-asset-card::before, .balance-asset-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
}
.balance-asset-card::before { width: 120px; height: 120px; right: -28px; top: -44px; }
.balance-asset-card::after { width: 84px; height: 84px; right: 66px; bottom: -34px; }
.balance-asset-card .bac-head { display: flex; align-items: flex-start; justify-content: space-between; }
.balance-asset-card .bac-title { font-size: 13px; font-weight: 600; opacity: .95; }
.balance-asset-card .bac-sub { font-size: 11px; opacity: .72; margin-top: 3px; }
.balance-asset-card .bac-ico {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 12px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.balance-asset-card .bac-amount { font-size: 32px; font-weight: 800; margin: 10px 0 14px; letter-spacing: .5px; line-height: 1; }
.balance-asset-card .bac-amount small { font-size: 15px; font-weight: 700; margin-right: 2px; opacity: .85; }
.balance-asset-card .bac-actions { display: flex; gap: 8px; }
.balance-asset-card .bac-btn {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  height: 36px;
  font-size: 13px; font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px;
  transition: all .18s ease;
}
.balance-asset-card .bac-btn:active { transform: scale(.96); }
.balance-asset-card .bac-btn--primary {
  color: var(--theme-brand-primary);
  background: #fff;
  border-color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .16);
}

/* ---------- m11：流水记录列表 ---------- */
.bill-list { margin-top: 4px; }
.bill-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 2px;
  border-bottom: 1px dashed var(--theme-card-border, rgba(0, 0, 0, .07));
}
.bill-item:last-child { border-bottom: none; }
.bill-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bill-ico {
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--theme-brand-primary, #e04040);
  background: var(--theme-brand-primary-soft, rgba(224, 64, 64, .1));
  border-radius: 10px;
}
.bill-ico--recharge { color: #07c160; background: rgba(7, 193, 96, .1); }
.bill-ico--consume { color: #ff7a45; background: rgba(255, 122, 69, .1); }
.bill-ico--withdraw { color: #4d7cfe; background: rgba(77, 124, 254, .1); }
.bill-ico--refund { color: #07c160; background: rgba(7, 193, 96, .1); }
.bill-ico--commission { color: #f5a623; background: rgba(245, 166, 35, .1); }
.bill-copy { min-width: 0; }
.bill-name {
  display: flex; align-items: baseline; gap: 6px;
  font-size: 14px; font-weight: 600;
  color: var(--theme-text-primary, #222);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bill-remark {
  flex-shrink: 0; max-width: 45%;
  font-size: 11px; font-weight: 400;
  color: var(--theme-text-muted, #999);
  background: var(--theme-bg-secondary, #f5f6fa);
  padding: 1px 6px;
  border-radius: 999px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bill-meta {
  margin-top: 3px;
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; color: var(--theme-text-muted, #999);
}
.bill-sn {
  position: relative;
  color: var(--theme-text-muted, #999);
  cursor: pointer;
}
.bill-sn::after {
  content: "复制";
  margin-left: 4px;
  font-size: 10px;
  color: var(--theme-brand-primary, #e04040);
}
.bill-amount {
  flex-shrink: 0;
  font-size: 15px; font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.bill-amount--in { color: #07c160; }
.bill-amount--out { color: var(--theme-brand-primary, #e04040); }

/* ---------- 充值页 ---------- */
.recharge-balance {
  position: relative;
  margin: 12px;
  padding: 20px 18px;
  color: #fff;
  background: var(--theme-head-grad);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: 0 10px 22px var(--theme-shadow-accent);
}
.recharge-balance::before, .recharge-balance::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
}
.recharge-balance::before { width: 120px; height: 120px; right: -30px; top: -40px; }
.recharge-balance::after { width: 80px; height: 80px; right: 70px; bottom: -36px; }
.recharge-balance .rb-label { font-size: 12px; opacity: .85; }
.recharge-balance .rb-amount { font-size: 30px; font-weight: 800; margin-top: 6px; letter-spacing: .5px; }
.recharge-balance .rb-amount small { font-size: 15px; font-weight: 700; margin-right: 2px; }
.recharge-amounts {
  margin: 12px;
  padding: 16px 12px;
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card-soft);
}
.recharge-amounts .ra-title { font-size: 14px; font-weight: 700; color: var(--theme-text-primary); margin: 0 4px 12px; }
.recharge-amounts .ra-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.recharge-amounts .ra-chip {
  display: flex; align-items: center; justify-content: center;
  height: 44px;
  font-size: 15px; font-weight: 700;
  color: var(--theme-text-primary);
  background: var(--theme-card-bg-alt);
  border: 1px solid var(--theme-card-border);
  border-radius: var(--radius-m);
  transition: all .18s ease;
}
.recharge-amounts .ra-chip.on {
  color: var(--theme-brand-primary);
  border-color: var(--theme-brand-primary);
  background: var(--theme-brand-primary-soft);
  box-shadow: 0 0 0 3px var(--theme-shadow-accent);
}
.recharge-amounts .ra-chip--custom { color: var(--theme-text-secondary); font-weight: 500; font-size: 13px; }
.recharge-list { margin: 0 12px 12px; }
.recharge-list .rl-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 2px 10px; }
.recharge-list .rl-head h3 { font-size: 15px; font-weight: 700; color: var(--theme-text-primary); }
.recharge-list .rl-head span { font-size: 12px; color: var(--theme-text-muted); }
.recharge-list .rl-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px;
  margin-bottom: 10px;
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-card-soft);
}
.recharge-list .rl-ico {
  width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  background: var(--theme-brand-primary-soft);
  color: var(--theme-brand-primary);
  border-radius: 12px;
}
.recharge-list .rl-copy { flex: 1; min-width: 0; }
.recharge-list .rl-name { font-size: 14px; font-weight: 600; color: var(--theme-text-primary); }
.recharge-list .rl-time { font-size: 12px; color: var(--theme-text-muted); margin-top: 2px; }
.recharge-list .rl-money { font-size: 15px; font-weight: 700; color: #e04040; }
.recharge-list .rl-right { display: flex; align-items: flex-end; flex-direction: column; gap: 4px; }
.recharge-list .rl-item .tag.warn { color: var(--theme-brand-primary); background: var(--theme-brand-primary-soft); border-radius: 999px; font-size: 11px; }

/* ---------- m12：余额提示卡（提现说明） ---------- */
.balance-tip-card {
  display: flex; align-items: center; gap: 10px;
  margin: 10px 12px 0;
  padding: 12px 14px;
  background: var(--theme-card-bg-alt);
  border: 1px solid var(--theme-card-border, rgba(0,0,0,.07));
  border-radius: var(--radius-m);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.balance-tip-card .btc-ico {
  flex-shrink: 0;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--theme-brand-primary);
  background: var(--theme-brand-primary-soft);
  border-radius: 11px;
}
.balance-tip-card .btc-ico svg { width: 17px; height: 17px; }
.balance-tip-card .btc-copy { flex: 1; min-width: 0; }
.balance-tip-card .btc-title { font-size: 13px; font-weight: 700; color: var(--theme-text-primary); }
.balance-tip-card .btc-desc { font-size: 11px; color: var(--theme-text-muted); margin-top: 2px; line-height: 1.5; }
.balance-tip-card .btc-link {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 2px;
  font-size: 12px; font-weight: 600;
  color: var(--theme-brand-primary);
}
.balance-tip-card .btc-link svg { width: 13px; height: 13px; }

/* ---------- m12：申请提现页 ---------- */
.withdraw-hero {
  position: relative;
  margin: 12px 12px 0;
  padding: 20px 18px 16px;
  color: #fff;
  background: var(--theme-head-grad);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: 0 10px 22px var(--theme-shadow-accent);
}
.withdraw-hero .wh-glow {
  position: absolute; right: -30px; top: -40px;
  width: 150px; height: 150px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
}
.withdraw-hero .wh-label { font-size: 12px; font-weight: 600; opacity: .92; }
.withdraw-hero .wh-amount { font-size: 34px; font-weight: 800; margin: 8px 0 14px; line-height: 1; letter-spacing: .5px; }
.withdraw-hero .wh-amount small { font-size: 16px; font-weight: 700; margin-right: 2px; opacity: .85; }
.withdraw-hero .wh-stats { display: flex; gap: 26px; }
.withdraw-hero .wh-stat { display: flex; flex-direction: column; gap: 2px; }
.withdraw-hero .wh-stat b { font-size: 16px; font-weight: 800; }
.withdraw-hero .wh-stat { font-size: 11px; opacity: .85; }
.wd-card {
  margin: 12px 12px 0;
  padding: 16px;
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border, rgba(0,0,0,.07));
  border-radius: var(--radius-l);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.wd-sec + .wd-sec { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--theme-card-border, rgba(0,0,0,.08)); }
.wd-sec-title { font-size: 13px; font-weight: 700; color: var(--theme-text-primary); margin-bottom: 10px; }
.wd-amount-wrap {
  display: flex; align-items: baseline; gap: 6px;
  padding: 4px 2px 10px;
  border-bottom: 1px solid var(--theme-card-border, rgba(0,0,0,.1));
}
.wd-currency { font-size: 26px; font-weight: 800; color: var(--theme-brand-primary); }
.wd-amount-input {
  flex: 1;
  font-size: 38px; font-weight: 800;
  color: var(--theme-text-primary);
  background: transparent;
  border: none; outline: none;
  min-width: 0;
}
.wd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.wd-chip {
  padding: 7px 18px;
  font-size: 13px; font-weight: 600;
  color: var(--theme-text-primary);
  background: var(--theme-card-bg-alt);
  border: 1px solid var(--theme-card-border, rgba(0,0,0,.09));
  border-radius: 999px;
  cursor: pointer;
  transition: all .18s ease;
}
.wd-chip.on {
  color: #fff;
  background: var(--theme-brand-primary);
  border-color: var(--theme-brand-primary);
  box-shadow: 0 6px 14px var(--theme-shadow-accent);
}
.wd-chip:active { transform: scale(.95); }
.wd-tip { font-size: 11px; color: var(--theme-text-muted); margin-top: 10px; }
.wd-channels { display: flex; flex-direction: column; gap: 10px; }
.wd-channel {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: var(--theme-card-bg-alt);
  border: 1.5px solid var(--theme-card-border, rgba(0,0,0,.09));
  border-radius: var(--radius-m);
  cursor: pointer;
  transition: all .18s ease;
}
.wd-channel.on { border-color: var(--theme-brand-primary); background: var(--theme-brand-primary-soft); }
.wd-channel .wd-c-ico {
  width: 38px; height: 38px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--theme-brand-primary);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
}
.wd-channel .wd-c-ico svg { width: 20px; height: 20px; }
.wd-channel .wd-c-copy { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.wd-channel .wd-c-copy b { font-size: 14px; font-weight: 700; color: var(--theme-text-primary); }
.wd-channel .wd-c-copy i { font-size: 11px; font-style: normal; color: var(--theme-text-muted); }
.wd-channel .wd-c-radio {
  width: 18px; height: 18px;
  border-radius: 999px;
  border: 2px solid var(--theme-card-border, rgba(0,0,0,.2));
  position: relative;
  transition: all .18s ease;
}
.wd-channel.on .wd-c-radio { border-color: var(--theme-brand-primary); }
.wd-channel.on .wd-c-radio::after {
  content: "";
  position: absolute; inset: 3px;
  border-radius: 999px;
  background: var(--theme-brand-primary);
}
.wd-submit {
  width: 100%;
  margin-top: 20px;
  height: 46px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 700;
  color: #fff;
  background: var(--theme-head-grad);
  border: none;
  border-radius: 999px;
  box-shadow: 0 10px 20px var(--theme-shadow-accent);
  cursor: pointer;
  transition: all .18s ease;
}
.wd-submit:active { transform: scale(.97); }
.wd-submit:disabled { opacity: .6; transform: none; }
.wd-submit .wd-submit-ico svg { width: 17px; height: 17px; }
.wd-agree { text-align: center; font-size: 11px; color: var(--theme-text-muted); margin-top: 10px; }
.wd-submit .spin {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 999px;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- m12：充值记录页 ---------- */
.rc-summary {
  position: relative;
  margin: 12px 12px 0;
  padding: 20px 18px 16px;
  color: #fff;
  background: var(--theme-head-grad);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: 0 10px 22px var(--theme-shadow-accent);
}
.rc-summary .rcs-glow {
  position: absolute; right: -24px; top: -36px;
  width: 130px; height: 130px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
}
.rc-summary .rcs-label { font-size: 12px; font-weight: 600; opacity: .92; }
.rc-summary .rcs-amount { font-size: 32px; font-weight: 800; margin: 8px 0 14px; line-height: 1; letter-spacing: .5px; }
.rc-summary .rcs-amount small { font-size: 15px; font-weight: 700; margin-right: 2px; opacity: .85; }
.rc-summary .rcs-stats { display: flex; gap: 30px; }
.rc-summary .rcs-stat { display: flex; flex-direction: column; gap: 2px; font-size: 11px; opacity: .85; }
.rc-summary .rcs-stat b { font-size: 16px; font-weight: 800; }

/* ---------- m12.5：邀请码页 ---------- */
.invite-page { padding: 0 0 18px; }
.invite-hero {
  position: relative;
  margin: 12px;
  padding: 26px 20px 22px;
  text-align: center;
  color: #fff;
  background: var(--theme-head-grad);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: 0 12px 26px var(--theme-shadow-accent);
}
.invite-hero__deco {
  position: absolute;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
}
.invite-hero__deco--1 { width: 150px; height: 150px; right: -52px; top: -60px; }
.invite-hero__deco--2 { width: 90px; height: 90px; left: -30px; bottom: -40px; background: rgba(255,255,255,.1); }
.invite-hero__tag {
  display: inline-flex;
  padding: 5px 14px;
  font-size: 11px; font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.invite-hero__code {
  margin: 16px 0 8px;
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 6px;
  text-shadow: 0 4px 12px rgba(0,0,0,.18);
  font-family: 'SF Mono', Consolas, monospace;
}
.invite-hero__tip { font-size: 12px; opacity: .9; }
.invite-hero__actions { display: flex; gap: 10px; margin-top: 18px; }
.invite-btn {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  height: 44px;
  font-size: 14px; font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
}
.invite-btn svg { width: 16px; height: 16px; }
.invite-btn--primary { color: var(--theme-text-strong, #7b2bd6); background: #fff; box-shadow: 0 8px 18px rgba(0,0,0,.18); }
.invite-btn--ghost { color: #fff; border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.14); }
.invite-stats {
  display: flex;
  margin: 0 12px;
  padding: 16px 0;
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border);
  border-radius: var(--radius-m);
  backdrop-filter: blur(10px);
}
.invite-stat { flex: 1; text-align: center; }
.invite-stat + .invite-stat { border-left: 1px solid var(--theme-card-border); }
.invite-stat__num { display: block; font-size: 20px; font-weight: 800; color: var(--theme-text-primary); }
.invite-stat__num small { font-size: 12px; font-weight: 700; margin-right: 1px; }
.invite-stat__label { display: block; margin-top: 4px; font-size: 11px; color: var(--theme-text-muted); }
.invite-link-card {
  margin: 12px;
  padding: 14px 16px;
  background: var(--theme-card-bg-alt);
  border: 1px dashed var(--theme-card-border);
  border-radius: var(--radius-m);
}
.invite-link-card__head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; font-weight: 700;
  color: var(--theme-text-primary);
}
.invite-link-card__head svg { width: 15px; height: 15px; vertical-align: -2px; color: var(--theme-brand-primary); }
.invite-link-card__copy {
  padding: 4px 12px;
  font-size: 12px; font-weight: 700;
  color: var(--theme-brand-primary);
  background: var(--theme-brand-primary-soft);
  border-radius: 999px;
  cursor: pointer;
}
.invite-link-card__url {
  margin-top: 8px;
  padding: 10px 12px;
  font-size: 11px;
  color: var(--theme-text-secondary);
  background: var(--theme-input-bg);
  border-radius: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.invite-rules {
  margin: 0 12px 12px;
  padding: 14px 16px;
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border);
  border-radius: var(--radius-m);
}
.invite-rules__title {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 800;
  color: var(--theme-text-primary);
}
.invite-rules__title svg { width: 16px; height: 16px; color: var(--theme-brand-primary); }
.invite-rules__list { margin: 10px 0 0; padding-left: 0; list-style: none; }
.invite-rules__list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--theme-text-secondary);
}
.invite-rules__list li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--theme-brand-primary);
}
.invite-rules__list b { color: var(--theme-brand-primary); }
.invite-users { margin: 0 12px; }
.invite-users__title {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 10px;
  font-size: 14px; font-weight: 800;
  color: var(--theme-text-primary);
}
.invite-users__title svg { width: 16px; height: 16px; color: var(--theme-brand-primary); }
.invite-users__list {
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.invite-user {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
}
.invite-user + .invite-user { border-top: 1px solid var(--theme-card-border); }
.invite-user__avatar {
  width: 32px; height: 32px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  background: var(--theme-brand-primary-soft);
  color: var(--theme-brand-primary);
  border-radius: 999px;
}
.invite-user__name { flex: 1; font-size: 14px; font-weight: 600; color: var(--theme-text-primary); }
.invite-user__time { font-size: 11px; color: var(--theme-text-muted); }

/* ---------- 聊天 / 客服面板 ---------- */
.chat-box {
  display: flex; flex-direction: column;
  padding: 12px;
  gap: 12px;
}
.chat-box .c-date {
  align-self: center;
  padding: 3px 10px;
  font-size: 11px;
  color: var(--theme-text-muted);
  background: var(--theme-card-bg-alt);
  border-radius: 999px;
}
.chat-box .bubble { max-width: 76%; }
.chat-box .bubble .b-avatar {
  width: 36px; height: 36px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  background: var(--theme-brand-primary-soft);
  color: var(--theme-brand-primary);
  border-radius: 999px;
}
.chat-box .bubble--in, .chat-box .bubble--out { display: flex; align-items: flex-end; gap: 8px; }
.chat-box .bubble--out { justify-content: flex-end; }
.chat-box .bubble--in .b-avatar { order: -1; }
.chat-box .bubble .b-body {
  padding: 10px 13px;
  font-size: 14px;
  line-height: 1.6;
  border-radius: 14px;
  word-break: break-word;
}
.chat-box .bubble--in .b-body {
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border);
  border-top-left-radius: 4px;
  color: var(--theme-text-primary);
}
.chat-box .bubble--out .b-body {
  background: var(--theme-btn-primary-gradient);
  border-top-right-radius: 4px;
  color: #fff;
}
.chat-input-bar {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px calc(10px + var(--safe-bottom));
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--theme-card-border);
}
.chat-input-bar input {
  flex: 1; min-width: 0;
  height: 42px;
  padding: 0 16px;
  font-size: 14px;
  color: var(--theme-text-primary);
  background: var(--theme-input-bg);
  border: 1px solid var(--theme-input-border);
  border-radius: 999px;
  outline: none;
}
.chat-input-bar input:focus { border-color: var(--theme-brand-primary); }
.chat-input-bar .c-send {
  height: 42px; padding: 0 22px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff;
  background: var(--theme-btn-primary-gradient);
  border-radius: 999px;
  box-shadow: 0 6px 14px var(--theme-shadow-accent);
}

/* ---------- m12.6：前台内置聊天页 ---------- */
.chat-page-wrap { height: 100vh; overflow: hidden; }
.chat-page-wrap .m-content {
  display: flex;
  height: calc(100vh - var(--m-topbar-h));
  padding: 0;
}
.chat-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--theme-bg);
}
.chat-room {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 12px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.chat-room .c-date {
  flex-shrink: 0;
  align-self: center;
  padding: 3px 12px;
  font-size: 11px;
  color: var(--theme-text-muted);
  background: var(--theme-card-bg-alt);
  border: 1px solid var(--theme-card-border);
  border-radius: 999px;
}
.chat-room .bubble {
  flex-shrink: 0;
  max-width: 76%;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  animation: chat-in .22s ease both;
}
@keyframes chat-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.chat-room .bubble--out { align-self: flex-end; flex-direction: row-reverse; }
.chat-room .bubble .b-avatar {
  width: 32px; height: 32px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  background: var(--theme-brand-primary-soft);
  color: var(--theme-brand-primary);
  border-radius: 999px;
}
.chat-room .bubble--out .b-avatar {
  background: var(--theme-gradient-avatar, var(--theme-btn-primary-gradient));
  color: #fff;
}
.chat-room .bubble .b-body {
  min-width: 0;
  padding: 10px 13px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--theme-text-primary);
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border);
  border-radius: 14px 14px 14px 4px;
  box-shadow: var(--shadow-card-soft);
  word-break: break-word;
}
.chat-room .bubble--out .b-body {
  color: #fff;
  background: var(--theme-btn-primary-gradient);
  border: none;
  border-radius: 14px 14px 4px 14px;
  box-shadow: 0 6px 14px var(--theme-shadow-accent);
}
.chat-room .bubble .b-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 10px;
  color: var(--theme-text-muted);
}
.chat-room .bubble--out .b-meta { flex-direction: row-reverse; justify-content: flex-start; }
.chat-room .b-read {
  padding: 1px 6px;
  font-size: 9px;
  font-weight: 600;
  color: var(--theme-text-muted);
  background: var(--theme-card-bg-alt);
  border-radius: 999px;
  transition: all .2s;
}
.chat-room .b-read.on {
  color: var(--theme-brand-primary);
  background: var(--theme-brand-primary-soft);
}
/* 客服头部（m14-4） */
.chat-head {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: var(--theme-grad-brand-150);
  color: #fff;
}
.chat-head__avatar {
  width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.2);
  border-radius: 14px;
}
.chat-head__avatar svg { width: 22px; height: 22px; }
.chat-head__copy { flex: 1; min-width: 0; line-height: 1.3; }
.chat-head__copy b { display: block; font-size: 15px; font-weight: 700; }
.chat-head__copy i {
  display: flex; align-items: center; gap: 5px;
  font-style: normal; font-size: 11.5px; opacity: .92;
}
.chat-head__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #a7f3d0;
  box-shadow: 0 0 0 0 rgba(167, 243, 208, .6);
  animation: hallPulse 1.8s ease-out infinite;
}
.chat-head__faq {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 4px;
  padding: 6px 10px;
  font-size: 12px; font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,.18);
  border-radius: 999px;
}
.chat-head__faq svg { width: 13px; height: 13px; }
/* 快捷提问（m14-4） */
.chat-quick {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--theme-card-bg);
  border-top: 1px solid var(--theme-card-border);
}
.chat-quick::-webkit-scrollbar { display: none; }
.chat-quick__label { flex-shrink: 0; font-size: 11.5px; color: var(--theme-text-muted); }
.chat-quick button {
  flex-shrink: 0;
  padding: 5px 11px;
  font-size: 12px; color: var(--theme-brand-primary);
  background: var(--theme-brand-primary-soft);
  border: 1px solid transparent;
  border-radius: 999px;
  transition: all .15s;
}
.chat-quick button:active { opacity: .7; transform: scale(.96); }
.chat-sender {
  flex-shrink: 0;
  position: relative;
  z-index: 5;
  padding: 10px 12px calc(10px + var(--safe-bottom));
  background: var(--theme-card-bg);
  border-top: 1px solid var(--theme-card-border);
  backdrop-filter: blur(14px);
}
.chat-sender__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
  max-width: 560px;
}
.chat-sender__inner input {
  flex: 1; min-width: 0;
  height: 44px;
  padding: 0 16px;
  font-size: 14px;
  color: var(--theme-text-primary);
  background: var(--theme-input-bg);
  border: 1px solid var(--theme-input-border);
  border-radius: 999px;
  outline: none;
  transition: border-color .2s;
}
.chat-sender__inner input:focus { border-color: var(--theme-brand-primary); }
.chat-sender__inner .cs-send {
  flex-shrink: 0;
  height: 44px; padding: 0 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff;
  background: var(--theme-btn-primary-gradient);
  border-radius: 999px;
  box-shadow: 0 6px 14px var(--theme-shadow-accent);
  transition: transform .15s, opacity .15s;
}
.chat-sender__inner .cs-send:disabled { opacity: .6; }
.chat-sender__inner .cs-send:active { transform: scale(.96); }

/* ---------- 横向分类条 ---------- */
.cat-nav {
  display: flex; gap: 8px;
  padding: 10px 12px;
  overflow-x: auto;
  background: var(--theme-card-bg);
  border-bottom: 1px solid var(--theme-card-border);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav a, .cat-nav .cat-item {
  flex-shrink: 0;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--theme-text-secondary);
  background: var(--theme-card-bg-alt);
  border: 1px solid var(--theme-card-border);
  border-radius: 999px;
  transition: all .18s ease;
}
.cat-nav a.on, .cat-nav .cat-item.on {
  color: var(--theme-brand-primary);
  font-weight: 600;
  background: var(--theme-brand-primary-soft);
  border-color: var(--theme-brand-primary);
}

/* ---------- 登录后账号页（旧 uc-* 类浅蓝化） ---------- */
.uc-top {
  position: relative;
  margin: 12px;
  padding: 20px 16px;
  display: flex; align-items: center; gap: 14px;
  color: #fff;
  background: var(--theme-head-grad-60);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: 0 10px 22px var(--theme-shadow-accent);
}
.uc-top::after { content: ""; position: absolute; width: 110px; height: 110px; right: -26px; top: -34px; border-radius: 999px; background: rgba(255, 255, 255, .15); }
.uc-top .uc-avatar {
  width: 56px; height: 56px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  background: var(--theme-avatar-bg);
  color: var(--theme-brand-primary);
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .18);
}
.uc-top .uc-user { flex: 1; min-width: 0; }
.uc-top .uc-user .uc-name { font-size: 17px; font-weight: 700; }
.uc-top .uc-user .uc-role { font-size: 12px; opacity: .85; margin-top: 3px; }
.uc-balance {
  margin: 12px;
  padding: 16px;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card-soft);
}
.uc-balance .ub-label { font-size: 12px; color: var(--theme-text-muted); }
.uc-balance .ub-num { font-size: 22px; font-weight: 800; color: var(--theme-text-primary); margin-top: 4px; }
.uc-balance .ub-num small { font-size: 13px; font-weight: 700; margin-right: 1px; }
.uc-balance .ub-btn {
  padding: 8px 18px;
  font-size: 13px; font-weight: 600; color: #fff;
  background: var(--theme-btn-primary-gradient);
  border-radius: 999px;
  box-shadow: 0 6px 12px var(--theme-shadow-accent);
}
.uc-grid {
  margin: 12px;
  padding: 16px 10px 8px;
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card-soft);
}
.uc-grid .uc-grid-title { font-size: 14px; font-weight: 700; color: var(--theme-text-primary); padding: 0 6px 12px; }
.uc-grid .uc-grid-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.uc-grid .uc-g-item { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px 12px; border-radius: var(--radius-m); }
.uc-grid .uc-g-item:active { background: var(--theme-card-bg-alt); }
.uc-grid .uc-g-item .uico { position: relative; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; font-size: 19px; background: var(--theme-brand-primary-soft); color: var(--theme-brand-primary); border-radius: 14px; }
.uc-grid .uc-g-item .uico .badge {
  position: absolute; right: -4px; top: -4px;
  min-width: 16px; height: 16px; padding: 0 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: #fff;
  background: #e04040;
  border: 1.5px solid #fff;
  border-radius: 999px;
}
.uc-grid .uc-g-item .utxt { font-size: 12px; color: var(--theme-text-secondary); }
.uc-list { margin: 12px; padding: 4px 14px; background: var(--theme-card-bg); border: 1px solid var(--theme-card-border); border-radius: var(--radius-l); box-shadow: var(--shadow-card-soft); }
.uc-list .u-item { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--theme-card-border); }
.uc-list .u-item:last-child { border-bottom: none; }
.uc-list .u-item .uico { width: 34px; height: 34px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 16px; background: var(--theme-brand-primary-soft); color: var(--theme-brand-primary); border-radius: 10px; }
.uc-list .u-item .utxt { flex: 1; font-size: 14px; color: var(--theme-text-primary); }
.uc-list .u-item .u-arrow { width: 8px; height: 8px; border-top: 1.5px solid var(--theme-text-muted); border-right: 1.5px solid var(--theme-text-muted); transform: rotate(45deg); }

/* ---------- 公告 / 协议正文 ---------- */
.notice-content {
  margin: 12px;
  padding: 18px 16px;
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card-soft);
}
.notice-content .n-title { font-size: 18px; font-weight: 800; color: var(--theme-text-primary); text-align: center; }
.notice-content .n-meta { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 10px 0 16px; font-size: 12px; color: var(--theme-text-muted); }
.notice-content .n-body { font-size: 14px; line-height: 1.8; color: var(--theme-text-secondary); word-break: break-word; white-space: pre-wrap; }
.notice-content .n-body h1, .notice-content .n-body h2, .notice-content .n-body h3 { color: var(--theme-text-primary); margin: 14px 0 8px; }
.notice-content .n-body p { margin: 8px 0; }
.notice-content .n-body a { color: var(--theme-brand-primary); }

/* ---------- 加载 / 返回顶部 ---------- */
.loading { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 48px 0; }
.loading .spinner {
  width: 30px; height: 30px;
  border: 3px solid var(--theme-card-border);
  border-top-color: var(--theme-brand-primary);
  border-radius: 999px;
  animation: lc-spin .8s linear infinite;
}
@keyframes lc-spin { to { transform: rotate(360deg); } }
.loading .ltxt { font-size: 13px; color: var(--theme-text-muted); }
.backtop {
  position: fixed; right: 14px; bottom: calc(var(--tabbar-h) + 18px + var(--safe-bottom));
  z-index: 40;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--theme-brand-primary);
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--theme-card-border);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-card-soft);
  opacity: 0; pointer-events: none;
  transition: all .25s ease;
}
.backtop.show { opacity: 1; pointer-events: auto; }

/* ---------- 原首页区块兼容 ---------- */
.banner { position: relative; margin: 0 12px; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-card-soft); }
.banner .swiper { position: relative; }
.banner .swiper .slide { display: none; }
.banner .swiper .slide.active { display: block; }
.banner .swiper img { width: 100%; aspect-ratio: 4 / 1.7; object-fit: cover; display: block; }
.banner .dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 5px; }
.banner .dots i { width: 6px; height: 6px; background: rgba(255, 255, 255, .55); border-radius: 999px; transition: all .2s ease; }
.banner .dots i.on { width: 14px; background: #fff; }
.home-menu { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 12px; padding: 14px 8px; background: var(--theme-card-bg); border: 1px solid var(--theme-card-border); border-radius: var(--radius-l); box-shadow: var(--shadow-card-soft); }
.home-menu .hm-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.home-menu .hm-item .hm-ico { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 20px; background: var(--theme-brand-primary-soft); color: var(--theme-brand-primary); border-radius: 14px; }
.home-menu .hm-item .hm-txt { font-size: 12px; color: var(--theme-text-secondary); }

/* __APPEND__ */

/* ---------- 支付方式补充（隐藏原生 radio，保留 label 点击） ---------- */
.pay-way input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }

/* ---------- 下单页商品摘要 ---------- */
.order-summary {
  margin: 12px;
  padding: 16px;
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border-light);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card-soft);
}
.order-summary .os-row { display: flex; align-items: center; gap: 12px; }
.order-summary .os-cover { width: 64px; height: 64px; flex-shrink: 0; border-radius: 12px; overflow: hidden; background: var(--theme-card-bg-alt); }
.order-summary .os-cover img { width: 100%; height: 100%; object-fit: cover; }
.order-summary .os-cover .ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; color: #fff; background: var(--theme-grad-brand-150); }
.order-summary .os-copy { flex: 1; min-width: 0; }
.order-summary .os-title { font-size: 15px; font-weight: 700; color: var(--theme-text-primary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.order-summary .os-sub { margin-top: 4px; font-size: 12px; color: var(--theme-text-muted); }
.order-summary .os-price { margin-top: 12px; font-size: 20px; font-weight: 800; color: #e04040; display: flex; align-items: baseline; gap: 2px; }
.order-summary .os-price .price-currency { font-size: 12px; font-weight: 600; }

/* ---------- 内置收银台（1.11.0） ---------- */
.cashier-card {
  margin: 12px 14px 0;
  overflow: hidden;
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border-light);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
}
.cashier-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 16px;
  background: var(--theme-grad-brand);
  color: #fff;
}
.cashier-title { font-size: 15px; font-weight: 700; }
.cashier-tag {
  font-size: 11px; font-weight: 600;
  padding: 3px 10px;
  background: rgba(255,255,255,.2);
  border-radius: 999px;
}
.cashier-body { padding: 18px 16px 14px; }
.cashier-amount {
  display: flex; align-items: baseline; justify-content: center; gap: 4px;
  padding: 6px 0 16px;
}
.cashier-currency { font-size: 20px; font-weight: 700; color: #e04040; }
.cashier-num { font-size: 38px; font-weight: 800; color: #e04040; letter-spacing: .5px; }
.cashier-meta { border-top: 1px dashed var(--theme-card-border); padding-top: 8px; }
.cashier-meta-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 9px 0;
  font-size: 13px;
}
.cashier-meta-row span { color: var(--theme-text-muted); }
.cashier-meta-row b { font-weight: 600; color: var(--theme-text-primary); }
.cashier-meta-row b.sn { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--theme-brand-primary); }
.cashier-meta-row b.st { color: #f0932b; }
.btn-cashier {
  background: var(--theme-btn-primary-gradient);
  border-radius: 999px;
  height: 48px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 6px 16px var(--theme-shadow-accent);
}
.btn-ghost-cashier {
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border);
  color: var(--theme-text-secondary);
  border-radius: 999px;
  height: 44px;
  font-size: 13.5px;
}

/* ---------- 充值余额卡右上按钮 ---------- */
.recharge-balance { position: relative; }
.recharge-balance .rb-btn {
  position: absolute; right: 14px; bottom: 12px;
  font-size: 11px;
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.28);
  padding: 4px 10px;
  border-radius: 999px;
  text-decoration: none;
}

/* ---------- 充值金额 chips 交互 ---------- */
.recharge-amounts a.ra-chip { text-decoration: none; cursor: pointer; }
.recharge-amounts .ra-input { margin-top: 12px; }
.recharge-amounts .ra-input input { text-align: center; }

/* ---------- 订单详情信息行 ---------- */
.od-info { margin: 12px; padding: 6px 16px; background: var(--theme-card-bg); border: 1px solid var(--theme-card-border-light); border-radius: var(--radius-l); box-shadow: var(--shadow-card-soft); }
.od-info .od-row { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--theme-card-border); font-size: 13px; }
.od-info .od-row:last-child { border-bottom: none; }
.od-info .od-row .k { color: var(--theme-text-muted); flex-shrink: 0; }
.od-info .od-row .v { color: var(--theme-text-primary); text-align: right; word-break: break-all; max-width: 72%; }
.od-info .od-evidence { padding: 13px 0; border-top: 1px solid var(--theme-card-border); font-size: 13px; line-height: 1.7; }
.od-info .od-evidence .k { color: var(--theme-text-muted); margin-bottom: 4px; }
.od-actions { margin: 0 12px 12px; display: flex; flex-direction: column; gap: 10px; }
.od-actions .btn { display: flex; justify-content: center; }
.od-headcard { margin: 12px; padding: 16px; background: var(--theme-card-bg); border: 1px solid var(--theme-card-border-light); border-radius: var(--radius-l); box-shadow: var(--shadow-card-soft); }
.od-headcard .oh-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.od-headcard .oh-status { font-size: 16px; font-weight: 700; }
.od-headcard .oh-sn { font-size: 12px; color: var(--theme-text-muted); }
.od-headcard .oh-title { margin-top: 14px; font-size: 16px; font-weight: 700; color: var(--theme-text-primary); }
.od-headcard .oh-price { margin-top: 8px; font-size: 22px; font-weight: 800; color: #e04040; display: flex; align-items: baseline; gap: 2px; }
.od-headcard .oh-price .price-currency { font-size: 13px; font-weight: 600; }

/* ---------- 联系页信息行（浅蓝 uc-list 补充） ---------- */
.uc-list .u-item .uico svg { width: 18px; height: 18px; }
.uc-list .u-item .u-val { margin-left: auto; font-size: 13px; color: var(--theme-text-secondary); }

/* ---------- 公告列表 ---------- */
.n-list { margin: 12px; padding: 4px 14px; background: var(--theme-card-bg); border: 1px solid var(--theme-card-border); border-radius: var(--radius-l); box-shadow: var(--shadow-card-soft); }
.n-list .n-item { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--theme-card-border); }
.n-list .n-item:last-child { border-bottom: none; }
.n-list .n-item .n-ico { width: 40px; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--theme-brand-primary-soft); color: var(--theme-brand-primary); border-radius: 12px; }
.n-list .n-item .n-ico svg { width: 20px; height: 20px; }
.n-list .n-item .n-copy { flex: 1; min-width: 0; }
.n-list .n-item .n-name { font-size: 14px; font-weight: 600; color: var(--theme-text-primary); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.n-list .n-item .n-time { margin-top: 3px; font-size: 12px; color: var(--theme-text-muted); }
.n-list .n-item .n-arrow { width: 8px; height: 8px; border-top: 1.5px solid var(--theme-text-muted); border-right: 1.5px solid var(--theme-text-muted); transform: rotate(45deg); flex-shrink: 0; }

/* ---------- 关于页 ---------- */
.about-card { margin: 12px; padding: 18px 16px; background: var(--theme-card-bg); border: 1px solid var(--theme-card-border-light); border-radius: var(--radius-l); box-shadow: var(--shadow-card-soft); }
.about-card .ab-title { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: var(--theme-text-primary); margin-bottom: 12px; }
.about-card .ab-title svg { width: 18px; height: 18px; color: var(--theme-brand-primary); }
.about-card .ab-body { font-size: 13.5px; line-height: 1.9; color: var(--theme-text-secondary); }

/* ---------- 任务9 补充 ---------- */
.recharge-list .rl-ico svg { width: 18px; height: 18px; }
.order-card .order-desc { display: flex; align-items: center; gap: 6px; }
.order-card .order-desc svg { width: 14px; height: 14px; color: var(--theme-text-muted); }

/* ---------- 任务9 补充 2（链接卡片重置 + 操作区） ---------- */
a.order-card, a.n-item, a.u-item { display: block; text-decoration: none; color: inherit; }
.od-actions form { display: flex; flex-direction: column; gap: 10px; }
.od-actions form .btn { width: 100%; }
.od-actions form .btn.ghost { width: 100%; }
.recharge-form .pay-way { margin-top: 4px; }
.recharge-form .btn.block { margin-top: 14px; }

/* ---------- 任务10：uni 弹窗（参考站居中卡片） ---------- */
.uni-modal { position: fixed; inset: 0; z-index: 999; display: flex; align-items: center; justify-content: center; }
.uni-modal__mask { position: absolute; inset: 0; background: rgba(9, 17, 32, .55); opacity: 0; transition: opacity .22s ease; }
.uni-modal.show .uni-modal__mask { opacity: 1; }
.uni-modal__box {
  position: relative;
  width: 300px; max-width: calc(100vw - 48px);
  padding: 22px 20px 18px;
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border-light);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  text-align: center;
  transform: scale(.9); opacity: 0;
  transition: transform .22s cubic-bezier(.2, .8, .2, 1), opacity .22s ease;
}
.uni-modal.show .uni-modal__box { transform: scale(1); opacity: 1; }
.uni-modal.leave .uni-modal__box { transform: scale(.94); opacity: 0; }
.uni-modal__title { font-size: 16px; font-weight: 700; color: var(--theme-text-primary); }
.uni-modal__content { margin-top: 8px; font-size: 13px; line-height: 1.6; color: var(--theme-text-secondary); }
.uni-modal__btns { display: flex; gap: 10px; margin-top: 18px; }
.uni-modal__btns .btn { flex: 1; margin: 0; }
body.uni-modal-open { overflow: hidden; }
.backtop svg { width: 18px; height: 18px; }

/* ============================================================
   多主题切换（后台「UI设计」控制，<html data-theme="...">）
   default = 默认浅蓝玻璃 / snake = 暗夜电光深色科技 / monster = 活力橙粉元气暖色
   ============================================================ */
[data-theme="snake"] {
  --theme-bg: #0b1222;
  --theme-bg-solid: #0b1222;
  --theme-page-bg: #0b1222;
  --theme-card-bg: #121c30;
  --theme-card-bg-alt: #16233c;
  --theme-card-border: #23375a;
  --theme-card-border-hover: #22d3ee;
  --theme-card-border-light: rgba(34, 211, 238, .26);
  --theme-card-bg-light: rgba(18, 28, 48, .92);
  --theme-panel-border: rgba(34, 211, 238, .18);
  --theme-glass-bg: rgba(11, 18, 34, .62);
  --theme-glass-bg-strong: rgba(14, 22, 40, .9);
  --theme-glass-border: rgba(148, 163, 184, .24);
  --theme-brand-primary: #22d3ee;
  --theme-brand-primary-dark: #06b6d4;
  --theme-brand-primary-light: #67e8f9;
  --theme-brand-primary-soft: rgba(34, 211, 238, .12);
  --theme-brand-accent: #38bdf8;
  --theme-tabbar-active: #22d3ee;
  --theme-tabbar-bg: rgba(14, 22, 40, .92);
  --theme-tabbar-inactive: #64748b;
  --theme-btn-primary: #22d3ee;
  --theme-btn-primary-gradient: linear-gradient(180deg, #67e8f9, #0891b2);
  --theme-btn-bg-light: rgba(34, 211, 238, .14);
  --theme-btn-bg-dark: #06b6d4;
  --theme-btn-secondary: #16233c;
  --theme-btn-secondary-text: #67e8f9;
  --theme-btn-secondary-border: #23375a;
  --theme-tag-bg: rgba(34, 211, 238, .12);
  --theme-tag-text: #67e8f9;
  --theme-text-primary: #e2e8f0;
  --theme-text-secondary: #94a3b8;
  --theme-text-muted: #64748b;
  --theme-text-dark: #e2e8f0;
  --theme-text-light: #64748b;
  --theme-text-inverse: #0b1222;
  --theme-input-bg: #16233c;
  --theme-input-border: #23375a;
  --theme-input-placeholder: #64748b;
  --theme-input-text: #e2e8f0;
  --theme-input-focus-border: #22d3ee;
  --theme-gray-bg: #16233c;
  --theme-status-info: #94a3b8;
  --theme-status-info-soft: rgba(148, 163, 184, .12);
  --theme-shadow-accent: rgba(34, 211, 238, .18);
  --theme-shadow-card-soft: rgba(0, 0, 0, .4);
  --theme-shadow-elevated: rgba(0, 0, 0, .55);
  --theme-mask-bg: rgba(0, 0, 0, .6);
  --theme-overlay-text: #e2e8f0;
  --lc-accent-color: #22d3ee;
  --lc-accent-soft-color: rgba(34, 211, 238, .12);
  --lc-accent-border-color: rgba(34, 211, 238, .34);
  --lc-accent-glow-color: rgba(34, 211, 238, .22);
  --lc-accent-contrast-color: #0b1222;
  --lc-background-color: #121c30;
  --lc-text-color: #e2e8f0;
  --theme-grad-brand-135: linear-gradient(135deg, #67e8f9, #0891b2);
  --theme-grad-brand-150: linear-gradient(150deg, #67e8f9, #0891b2);
  --theme-head-grad: linear-gradient(135deg, #0e7490, #155e75 55%, #164e63);
  --theme-head-grad-60: linear-gradient(135deg, #0e7490, #155e75 60%, #164e63);
  --theme-cover-grad: linear-gradient(150deg, #16233c, #1a2a45 60%, #1f3355);
  --theme-card-grad: linear-gradient(#121c30 55%, #16233c);
  --theme-ico-soft-a: rgba(34, 211, 238, .14);
  --theme-ico-soft-b: rgba(34, 211, 238, .1);
  --theme-addcart-active: rgba(34, 211, 238, .28);
  --theme-toast-bg: rgba(2, 6, 12, .9);
  --theme-shadow-tight: 0 3px 8px rgba(0, 0, 0, .45);
  --theme-shadow-mid: 0 6px 16px rgba(0, 0, 0, .5);
  --theme-avatar-bg: #1b2b46;
}

[data-theme="monster"] {
  --theme-bg: #fff7f0;
  --theme-bg-solid: #fff7f0;
  --theme-page-bg: #fff7f0;
  --theme-card-bg: #ffffff;
  --theme-card-bg-alt: #fff1e6;
  --theme-card-border: #ffe0cd;
  --theme-card-border-hover: #ff8a5c;
  --theme-card-border-light: rgba(255, 183, 140, .55);
  --theme-card-bg-light: rgba(255, 255, 255, .96);
  --theme-panel-border: rgba(255, 183, 140, .6);
  --theme-glass-bg: rgba(255, 255, 255, .6);
  --theme-glass-bg-strong: rgba(255, 255, 255, .88);
  --theme-glass-border: rgba(255, 255, 255, .86);
  --theme-brand-primary: #ff7a29;
  --theme-brand-primary-dark: #f0621a;
  --theme-brand-primary-light: #ffa25e;
  --theme-brand-primary-soft: #fff1e6;
  --theme-brand-accent: #ff5e9c;
  --theme-tabbar-active: #ff7a29;
  --theme-tabbar-bg: #ffffff;
  --theme-tabbar-inactive: #b39a8a;
  --theme-btn-primary: #ff7a29;
  --theme-btn-primary-gradient: linear-gradient(180deg, #ffa25e, #ff5e9c);
  --theme-btn-bg-light: #fff1e6;
  --theme-btn-bg-dark: #f0621a;
  --theme-btn-secondary: #fff1e6;
  --theme-btn-secondary-text: #f0621a;
  --theme-btn-secondary-border: #ffe0cd;
  --theme-tag-bg: #fff1e6;
  --theme-tag-text: #f0621a;
  --theme-text-primary: #3d2b20;
  --theme-text-secondary: #8a6a58;
  --theme-text-muted: #b39a8a;
  --theme-text-dark: #3d2b20;
  --theme-text-light: #b39a8a;
  --theme-text-inverse: #ffffff;
  --theme-input-bg: #fff7f0;
  --theme-input-border: #ffe0cd;
  --theme-input-placeholder: #b39a8a;
  --theme-input-text: #3d2b20;
  --theme-input-focus-border: #ff7a29;
  --theme-gray-bg: #fff1e6;
  --theme-status-info: #8a6a58;
  --theme-shadow-accent: rgba(255, 122, 41, .18);
  --theme-shadow-card-soft: rgba(61, 43, 32, .08);
  --theme-shadow-elevated: rgba(61, 43, 32, .16);
  --lc-accent-color: #ff7a29;
  --lc-accent-soft-color: #fff1e6;
  --lc-accent-border-color: rgba(255, 122, 41, .3);
  --lc-accent-glow-color: rgba(255, 122, 41, .2);
  --lc-accent-contrast-color: #ffffff;
  --lc-background-color: #ffffff;
  --lc-text-color: #3d2b20;
  --theme-grad-brand-135: linear-gradient(135deg, #ffa25e, #ff5e9c);
  --theme-grad-brand-150: linear-gradient(150deg, #ffa25e, #ff5e9c);
  --theme-head-grad: linear-gradient(135deg, #ff7a29, #ff5e9c 55%, #e83e7e);
  --theme-head-grad-60: linear-gradient(135deg, #ff7a29, #ff5e9c 60%, #e83e7e);
  --theme-cover-grad: linear-gradient(150deg, #fff3e8, #ffe0cd 60%, #ffd6e2);
  --theme-card-grad: linear-gradient(#ffffff 55%, #fff1e6);
  --theme-ico-soft-a: rgba(255, 122, 41, .13);
  --theme-ico-soft-b: rgba(255, 94, 156, .1);
  --theme-addcart-active: rgba(255, 122, 41, .26);
  --theme-toast-bg: rgba(61, 43, 32, .88);
  --theme-shadow-tight: 0 3px 8px rgba(61, 43, 32, .12);
  --theme-shadow-mid: 0 6px 16px rgba(61, 43, 32, .14);
  --theme-avatar-bg: #ffffff;
}

/* ============================================================
   任务13：聚合登录（其他登录方式 / 社交按钮 / 验证码行 / 注册页签）
   ============================================================ */
/* 其他登录方式分隔区 */
.login-more { position: relative; z-index: 1; margin-top: 18px; }
.login-more__line { display: flex; align-items: center; gap: 10px; color: var(--theme-text-muted); font-size: 12px; }
.login-more__line::before,
.login-more__line::after { content: ''; flex: 1; height: 1px; background: var(--theme-card-border); }
.login-more__row { display: flex; gap: 10px; margin-top: 12px; }

/* 社交小按钮（QQ / 手机验证码 / 账号密码） */
.social-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px;
  height: 38px; border: 1px solid var(--theme-card-border); border-radius: 12px;
  background: var(--theme-card-bg); color: var(--theme-text-primary);
  font-size: 12.5px; font-weight: 600; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.social-btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.social-btn:active { transform: scale(.96); }
.social-btn:disabled { opacity: .55; cursor: not-allowed; }
.social-btn--qq { color: #3c8bff; background: rgba(60, 139, 255, .08); border-color: rgba(60, 139, 255, .28); }
.social-btn--phone { color: #00b8a9; background: rgba(0, 184, 169, .08); border-color: rgba(0, 184, 169, .28); }
.social-btn--pwd { color: var(--theme-text-secondary); background: var(--theme-card-bg-alt); }

/* 验证码行：输入框 + 获取按钮 */
.code-row { display: flex; gap: 10px; }
.code-row input { flex: 1; min-width: 0; }
.code-btn {
  flex-shrink: 0; padding: 0 14px; height: 42px; line-height: 42px;
  border: 1px solid var(--theme-brand-primary); border-radius: 12px;
  background: var(--theme-brand-primary-soft); color: var(--theme-brand-primary);
  font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: opacity .15s ease;
}
.code-btn:disabled { opacity: .5; cursor: not-allowed; }

/* 注册页双页签 */
.auth-tabs { display: flex; margin-bottom: 18px; border-bottom: 1px solid var(--theme-card-border); }
.auth-tab {
  flex: 1; padding: 10px 0; border: none; background: none; cursor: pointer;
  font-size: 14px; color: var(--theme-text-muted); font-weight: 600;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.auth-tab--active { color: var(--theme-brand-primary); border-bottom-color: var(--theme-brand-primary); }

/* ============================================================
   任务14：子端（商家 / 打手 / 客服 / 工作室）通用组件
   四端复用 mobile_layout + h5.css，补齐此前缺失的面板 / 提示 /
   订单卡 / 明细 / 资料头等组件类，使四端与前台风格统一
   ============================================================ */

/* ---------- 通用面板卡片 ---------- */
.panel {
  position: relative;
  padding: 16px;
  margin-bottom: 12px;
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border-light);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card-soft);
}
.panel > h3 {
  position: relative;
  margin: 0 0 14px;
  padding-left: 11px;
  font-size: 15px; font-weight: 700; color: var(--theme-text-primary);
}
.panel > h3::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 4px; height: 15px; margin-top: -7.5px;
  border-radius: 999px;
  background: var(--theme-btn-primary-gradient, var(--theme-brand-primary));
}

/* ---------- 面板内表单（label / input 裸放时自动美化） ---------- */
.panel label {
  display: block;
  margin: 14px 0 6px;
  font-size: 13px; font-weight: 600; color: var(--theme-text-secondary);
}
.panel label:first-of-type { margin-top: 0; }
.panel input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.panel select,
.panel textarea {
  width: 100%;
  padding: 11px 13px;
  font-size: 14px; line-height: 1.4;
  color: var(--theme-input-text, var(--theme-text-primary));
  background: var(--theme-input-bg);
  border: 1px solid var(--theme-input-border);
  border-radius: var(--radius-s);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.panel input:focus,
.panel select:focus,
.panel textarea:focus {
  border-color: var(--theme-input-focus-border, var(--theme-brand-primary));
  box-shadow: 0 0 0 3px var(--theme-shadow-accent);
}
.panel textarea { min-height: 90px; resize: vertical; line-height: 1.6; }
.panel input[type="file"] { width: 100%; font-size: 13px; color: var(--theme-text-secondary); }
.panel form > .btn { margin-top: 16px; }
.panel > h3 + .btn,
.panel > .profile-head + .btn { margin-top: 0; }
.panel > .btn { margin-top: 14px; }
.panel .btn.block + .btn.block { margin-top: 8px; }
.kv form > .btn { margin-top: 0; }

/* ---------- 提示条（ok / err / warn） ---------- */
.tips {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px;
  margin-bottom: 12px;
  font-size: 13px; line-height: 1.6;
  color: var(--theme-text-secondary);
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border-light);
  border-left: 3px solid var(--theme-brand-primary);
  border-radius: 10px;
}
.tips.ok, .tips.success {
  color: #059669; background: var(--theme-status-success-soft);
  border-color: transparent; border-left-color: #059669;
}
.tips.err, .tips.bad {
  color: #dc2626; background: var(--theme-status-error-soft);
  border-color: transparent; border-left-color: #dc2626;
}
.tips.warn, .tips.warning {
  color: #d97706; background: var(--theme-status-warning-soft);
  border-color: transparent; border-left-color: #d97706;
}
.tips:last-child { margin-bottom: 0; }

/* ---------- 辅助文字 ---------- */
.hint { font-size: 12px; color: var(--theme-text-muted); line-height: 1.6; }
.panel .hint img, .panel .thumb { border-radius: var(--radius-s); }

/* ---------- 点击上传图片组件（商家端/前台移动端） ---------- */
.up-field { margin-top: 6px; }
.up-wrap { display: block; position: relative; }
.up-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  padding: 13px;
  font-size: 14px; font-weight: 600;
  color: var(--theme-brand-primary);
  background: var(--theme-btn-soft-bg, color-mix(in srgb, var(--theme-brand-primary) 10%, transparent));
  border: 1.5px dashed color-mix(in srgb, var(--theme-brand-primary) 55%, transparent);
  border-radius: var(--radius-s);
  cursor: pointer;
  transition: all .18s ease;
  -webkit-user-select: none; user-select: none;
}
.up-btn:active { transform: scale(.98); opacity: .85; }
.up-btn.up-done {
  color: #059669;
  border-style: solid;
  border-color: color-mix(in srgb, #059669 45%, transparent);
  background: var(--theme-status-success-soft);
}
.up-btn.up-done::before { content: "✓ "; font-weight: 800; }
.up-btn svg { width: 18px; height: 18px; }
.up-field__file { display: none; }
.up-preview {
  display: none;
  width: 100%;
  max-height: 170px;
  object-fit: cover;
  border-radius: var(--radius-s);
  margin-top: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,.14);
}
.up-tip {
  display: none;
  margin-top: 8px;
  font-size: 12px; line-height: 1.6;
  color: var(--theme-text-muted);
  word-break: break-all;
}
.up-tip.show { display: block; }
.up-clear {
  display: none;
  margin-top: 8px;
  font-size: 12px; font-weight: 600;
  color: #dc2626;
  background: var(--theme-status-error-soft);
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
}
.up-wrap.chosen + .up-tip.show,
.up-wrap.chosen ~ .up-clear { display: inline-block; }
.up-clear:active { opacity: .75; }
.up-field__cur { margin-top: 8px; }
.up-field__cur img { max-width: 90px; border-radius: var(--radius-s); }

/* ---------- 明细行（收益 / 团队列表） ---------- */
.log-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--theme-card-border-light);
}
.log-row:last-child { border-bottom: 0; }
.log-row:first-child { padding-top: 0; }
.log-row > div { flex: 1; min-width: 0; }
.log-row b { font-size: 14px; font-weight: 600; color: var(--theme-text-primary); }
.log-row .hint { margin-top: 3px; }

/* ---------- 金额颜色 ---------- */
.amt-in   { font-size: 14px; font-weight: 700; color: #059669; }
.amt-out  { font-size: 14px; font-weight: 700; color: #dc2626; }
.amt-warn { font-size: 13px; font-weight: 600; color: #d97706; }

/* ---------- 统计数字兼容（.stat b / .stat span） ---------- */
.stat b, .stat .n { font-size: 22px; font-weight: 800; color: var(--theme-brand-primary); }
.stat span, .stat .l { font-size: 12px; color: var(--theme-text-secondary); }

/* ---------- 资料头 + 头像 ---------- */
.profile-head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--theme-card-border-light);
}
.profile-head b { font-size: 16px; font-weight: 700; color: var(--theme-text-primary); }
.profile-head .hint { margin-top: 3px; }
.avatar {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; color: #fff;
  background: var(--theme-btn-primary-gradient, var(--theme-brand-primary));
  border-radius: 14px;
  box-shadow: 0 6px 14px var(--theme-shadow-accent);
}
.avatar.lg { width: 56px; height: 56px; font-size: 22px; border-radius: 18px; }

/* ---------- 键值行 ---------- */
.kv {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--theme-card-border-light);
}
.kv:last-of-type { border-bottom: 0; }
.kv > span { font-size: 13px; color: var(--theme-text-secondary); }
.kv b { font-size: 14px; font-weight: 600; color: var(--theme-text-primary); text-align: right; }
.kv form { margin: 0; }

/* ---------- 分区小标题 ---------- */
.sec-title {
  position: relative;
  margin: 14px 0 10px;
  padding-left: 11px;
  font-size: 15px; font-weight: 700; color: var(--theme-text-primary);
}
.sec-title::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 4px; height: 15px; margin-top: -7.5px;
  border-radius: 999px;
  background: var(--theme-btn-primary-gradient, var(--theme-brand-primary));
}
.btn.block + .sec-title { margin-top: 16px; }

/* ---------- 四端简化订单卡（.oc-card + .oc-*） ---------- */
.order-card.oc-card { padding: 14px; }
.oc-card > .oc-top {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.oc-card > .oc-top b {
  flex: 1; min-width: 0;
  font-size: 14px; font-weight: 600; line-height: 1.4;
  color: var(--theme-text-primary);
}
.oc-card .price { font-size: 16px; font-weight: 700; color: #e04040; white-space: nowrap; }
.oc-card > .oc-meta {
  display: flex; flex-wrap: wrap; gap: 4px 14px;
  margin-top: 8px;
  font-size: 12px; color: var(--theme-text-muted); line-height: 1.6;
}
.oc-card > .oc-meta.amt-in { color: #059669; }
.oc-card > .oc-status { margin-top: 8px; }
.oc-card > .btn { margin-top: 12px; }
.oc-card .tips { margin-bottom: 0; }

/* ---------- 邀请码 ---------- */
.invite-code {
  margin: 14px 0;
  padding: 16px;
  text-align: center;
  font-size: 22px; font-weight: 800; letter-spacing: 4px;
  color: var(--theme-brand-primary);
  background: var(--theme-brand-primary-soft);
  border: 1px dashed var(--theme-card-border);
  border-radius: var(--radius-m);
}

/* ---------- 按钮 / 标签补充色 ---------- */
.btn.gold {
  color: #6b4a00;
  background: linear-gradient(180deg, #ffdf7a, #f7b733);
  box-shadow: 0 4px 10px rgba(247, 183, 51, .3);
}
.btn.ok {
  color: #fff;
  background: linear-gradient(180deg, #34d399, #059669);
  box-shadow: 0 4px 10px rgba(5, 150, 105, .25);
}
.tag.warn { color: #d97706; background: var(--theme-status-warning-soft); }

/* ============================================================
   m8：首页 Banner 轮播（promo-swiper）
   ============================================================ */
.promo-swiper {
  position: relative;
  margin: 12px 12px 6px;
  overflow: hidden;
  border-radius: var(--radius-m, 14px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .10);
  background: var(--theme-card-bg, #fff);
}
.promo-swiper__track {
  display: flex;
  transition: transform .45s cubic-bezier(.22, .8, .3, 1);
  will-change: transform;
}
.promo-slide {
  flex: 0 0 100%;
  position: relative;
  display: block;
  height: 132px;
  overflow: hidden;
  text-decoration: none;
}
.promo-slide__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.promo-slide__mask {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 12, 24, .72) 0%, rgba(10, 12, 24, .25) 60%, rgba(10, 12, 24, .05) 100%);
}
.promo-slide__copy {
  position: absolute; left: 18px; top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 6px;
  color: #fff;
}
.promo-slide__copy .promo-slide__title {
  font-size: 19px; font-weight: 800; letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}
.promo-slide__copy .promo-slide__sub {
  font-size: 12px; opacity: .92; letter-spacing: 2px;
}
/* 无图时的渐变主题卡 */
.promo-slide__inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 0 18px;
  color: #fff;
}
.promo-slide__inner--0 { background: linear-gradient(120deg, #667eea 0%, #764ba2 100%); }
.promo-slide__inner--1 { background: linear-gradient(120deg, #f093fb 0%, #f5576c 100%); }
.promo-slide__inner--2 { background: linear-gradient(120deg, #0ba360 0%, #3cba92 100%); }
.promo-slide__badge {
  align-self: flex-start;
  margin-bottom: 8px;
  padding: 2px 10px;
  font-size: 10px; letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 999px;
}
.promo-slide__title { font-size: 21px; font-weight: 800; letter-spacing: 1px; }
.promo-slide__sub { margin-top: 5px; font-size: 12px; letter-spacing: 2px; opacity: .9; }
.promo-slide__go {
  position: absolute; right: 16px; bottom: 16px;
  padding: 5px 12px;
  font-size: 12px; font-weight: 700;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  border: 1px solid rgba(255, 255, 255, .45);
}
/* 指示点 */
.promo-swiper__dots {
  position: absolute; left: 0; right: 0; bottom: 8px;
  display: flex; justify-content: center; gap: 5px;
}
.promo-swiper__dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .5);
  transition: all .3s ease;
  cursor: pointer;
}
.promo-swiper__dot.on {
  width: 16px;
  background: #fff;
}

/* ============================================================
   m8：商品详情页操作条（收藏 / 客服 / 分享）
   ============================================================ */
.detail-actions {
  display: flex; align-items: center; gap: 14px;
  margin: 10px 14px 0;
  padding: 8px 0 4px;
}
.detail-actions .da-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 11px; color: var(--theme-text-muted, #8a8f9c);
  cursor: pointer;
  user-select: none;
}
.detail-actions .da-item:active { opacity: .65; }
.detail-actions .da-item .da-ico {
  font-size: 20px; line-height: 1;
}
.fav-btn.on { color: var(--theme-brand-primary, #e04040); }
.fav-btn.on .da-ico { animation: favPop .4s ease; }
@keyframes favPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

/* ============================================================
   m8：个人中心 - 编辑资料页
   ============================================================ */
.profile-form { margin: 12px 0; }
.profile-form .pf-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: var(--theme-card-bg, #fff);
  border-bottom: 1px solid var(--theme-card-border, rgba(0,0,0,.05));
}
.profile-form .pf-item:first-child { border-radius: var(--radius-m, 14px) var(--radius-m, 14px) 0 0; }
.profile-form .pf-item:last-child { border-radius: 0 0 var(--radius-m, 14px) var(--radius-m, 14px); border-bottom: none; }
.profile-form .pf-label { width: 76px; font-size: 14px; color: var(--theme-text-primary, #222); }
.profile-form .pf-ctrl { flex: 1; min-width: 0; }
.profile-form input[type=text],
.profile-form input[type=password] {
  width: 100%;
  border: none; outline: none;
  font-size: 14px; color: var(--theme-text-primary, #222);
  background: transparent;
  text-align: right;
}
.profile-form .pf-avatar {
  display: flex; align-items: center; justify-content: flex-end; gap: 10px;
}
.profile-form .pf-avatar img {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--theme-card-border, rgba(0,0,0,.08));
  background: var(--theme-bg-secondary, #f5f6fa);
}
.profile-form .pf-hint { font-size: 11px; color: var(--theme-text-muted, #999); margin-top: 4px; text-align: right; }
.profile-form .pf-upload-btn {
  font-size: 12px; color: var(--theme-brand-primary, #e04040);
  border: 1px solid currentColor;
  padding: 4px 10px; border-radius: 999px;
  cursor: pointer;
}
.profile-form input[type=file] { display: none; }

/* ============================================================
   m8：我的收藏页
   ============================================================ */
.fav-page-tip {
  margin: 12px 14px 0;
  padding: 10px 14px;
  font-size: 12px; color: var(--theme-text-muted, #8a8f9c);
  background: var(--theme-bg-secondary, #f5f6fa);
  border-radius: 10px;
}

/* ============================================================
   m8：协议 / 隐私政策文档页（page.php）
   ============================================================ */
.page-doc {
  margin: 12px 14px;
  padding: 16px 18px 22px;
  background: var(--theme-card-bg, #fff);
  border-radius: var(--radius-m, 14px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
}
.page-doc__title {
  text-align: center;
  font-size: 18px; font-weight: 800;
  color: var(--theme-text-primary, #222);
  padding: 6px 0 14px;
  border-bottom: 1px dashed var(--theme-card-border, rgba(0,0,0,.08));
}
.page-doc__body {
  margin-top: 14px;
  font-size: 13px; line-height: 1.9;
  color: var(--theme-text-secondary, #555);
  word-break: break-word;
}
.page-doc__body h2,
.page-doc__body h3 {
  margin: 14px 0 6px;
  font-size: 14px; font-weight: 700;
  color: var(--theme-text-primary, #222);
}
.page-doc__body p { margin: 6px 0; }
.page-doc__body .pd-sec {
  margin-top: 10px;
  padding: 10px 12px;
  background: var(--theme-bg-secondary, #f5f6fa);
  border-radius: 10px;
  white-space: pre-wrap;
}
.page-doc__updated {
  margin-top: 16px;
  text-align: right;
  font-size: 11px; color: var(--theme-text-muted, #999);
}

/* ============================================================
   m11：个人中心会员卡 - 余额入口小条（点击进入余额管理页）
   ============================================================ */
.profile-panel__balance {
  position: relative;
  display: flex; align-items: center; gap: 8px;
  margin: 12px 2px 0;
  padding: 11px 12px;
  text-decoration: none;
  overflow: hidden;
  border-radius: 12px;
  background:
    linear-gradient(120deg, var(--theme-brand-primary, #e04040), var(--theme-brand-accent, #ff7a45));
  box-shadow: 0 6px 14px var(--theme-shadow-accent);
  transition: transform .15s ease, box-shadow .15s ease;
}
.profile-panel__balance::after {
  content: "";
  position: absolute;
  width: 72px; height: 72px;
  right: -18px; top: -30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
}
.profile-panel__balance:active { transform: scale(.97); box-shadow: 0 3px 8px var(--theme-shadow-accent); }
.profile-panel__balance .pb-label {
  flex-shrink: 0;
  font-size: 12px; font-weight: 600;
  color: rgba(255, 255, 255, .92);
  padding: 3px 8px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
}
.profile-panel__balance .pb-amount {
  flex: 1; min-width: 0;
  display: flex; align-items: baseline;
  font-size: 20px; font-weight: 800;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.profile-panel__balance .pb-amount small { font-size: 12px; font-weight: 700; margin-right: 2px; opacity: .9; }
.profile-panel__balance .pb-enter {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 2px;
  font-size: 12px; font-weight: 600;
  color: rgba(255, 255, 255, .95);
  padding: 6px 10px;
  background: rgba(255, 255, 255, .2);
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
}
.profile-panel__balance .pb-enter svg { width: 12px; height: 12px; }

/* ---------- 关于页 - 查看全文 ---------- */
.about-more {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--theme-card-border, rgba(0,0,0,.08));
  font-size: 12px; color: var(--theme-brand-primary, #e04040);
  text-decoration: none;
}
.about-more svg { width: 14px; height: 14px; }

/* ============================================================
   m12-11：帮助中心 FAQ（前台 faq.php）+ 联系页帮助中心入口
   ============================================================ */
.faq-hero {
  position: relative;
  margin: 12px 12px 4px;
  padding: 22px 18px;
  overflow: hidden;
  text-align: center;
  color: #fff;
  background: var(--theme-head-grad);
  border-radius: var(--radius-l);
  box-shadow: 0 8px 20px var(--theme-shadow-accent);
}
.faq-hero::before,
.faq-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
}
.faq-hero::before { width: 120px; height: 120px; right: -36px; top: -44px; }
.faq-hero::after { width: 72px; height: 72px; left: -20px; bottom: -30px; }
.faq-hero__icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 46px; height: 46px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, .2);
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
}
.faq-hero__icon svg { width: 24px; height: 24px; color: #fff; filter: drop-shadow(0 2px 4px rgba(0,0,0,.18)); }
.faq-hero__title { font-size: 19px; font-weight: 800; letter-spacing: 1px; }
.faq-hero__desc { margin-top: 5px; font-size: 12px; opacity: .88; }

.faq-list { margin: 10px 12px; }

/* ---------- 循环渐变动画（俱乐部横幅 / 会员横幅共用） ---------- */
@keyframes clubGrad {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .withdraw-hero, .faq-hero { animation: none !important; }
}
.faq-item {
  position: relative;
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border);
  border-radius: 14px;
  box-shadow: var(--shadow-card-soft);
  transition: border-color .2s ease;
}
.faq-item[data-open="1"] { border-color: var(--theme-card-border-hover); }
.faq-q {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 14px;
  cursor: pointer;
  user-select: none;
}
.faq-q__idx {
  flex-shrink: 0;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
  color: var(--theme-brand-primary);
  background: var(--theme-brand-primary-soft);
  border-radius: 10px;
}
.faq-q__txt {
  flex: 1; min-width: 0;
  font-size: 14px; font-weight: 600;
  color: var(--theme-text-primary);
  line-height: 1.45;
}
.faq-q__caret {
  flex-shrink: 0;
  display: flex;
  transition: transform .28s cubic-bezier(.2,.8,.2,1);
}
.faq-q__caret svg { width: 16px; height: 16px; color: var(--theme-text-muted); }
.faq-item[data-open="1"] .faq-q__caret { transform: rotate(180deg); }
.faq-item[data-open="1"] .faq-q__caret svg { color: var(--theme-brand-primary); }
.faq-a {
  display: none;
  padding: 0 14px 16px 56px;
  font-size: 13px; line-height: 1.85;
  color: var(--theme-text-secondary);
  word-break: break-word;
  animation: faqReveal .25s ease;
}
.faq-item[data-open="1"] .faq-a { display: block; }
@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.faq-footer {
  display: flex; align-items: center; gap: 12px;
  margin: 2px 12px 14px;
  padding: 14px;
  text-decoration: none;
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border);
  border-radius: 14px;
  box-shadow: var(--shadow-card-soft);
}
.faq-footer__icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  color: var(--theme-brand-primary);
  background: var(--theme-brand-primary-soft);
  border-radius: 13px;
}
.faq-footer__icon svg { width: 21px; height: 21px; }
.faq-footer__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.faq-footer__txt b { font-size: 14px; color: var(--theme-text-primary); }
.faq-footer__txt i { font-style: normal; font-size: 11.5px; color: var(--theme-text-muted); }
.faq-footer__arrow { flex-shrink: 0; display: flex; }
.faq-footer__arrow svg { width: 16px; height: 16px; color: var(--theme-text-muted); }

/* 联系页底部「帮助中心」入口 */
.contact-tip { margin: 4px 12px 14px; }
.ct-link {
  display: flex; align-items: center; gap: 12px;
  padding: 14px;
  text-decoration: none;
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border);
  border-radius: 14px;
  box-shadow: var(--shadow-card-soft);
}
.ct-link__icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  color: var(--theme-brand-primary);
  background: var(--theme-brand-primary-soft);
  border-radius: 13px;
}
.ct-link__icon svg { width: 21px; height: 21px; }
.ct-link__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ct-link__txt b { font-size: 14px; color: var(--theme-text-primary); }
.ct-link__txt i { font-style: normal; font-size: 11.5px; color: var(--theme-text-muted); }
.ct-link__arrow { flex-shrink: 0; display: flex; }
.ct-link__arrow svg { width: 16px; height: 16px; color: var(--theme-text-muted); }

/* ---------- 1.16.0 收银台：优惠券 / 积分抵现 ---------- */
.coupon-box { display: flex; gap: 8px; }
.coupon-box input { flex: 1; min-width: 0; }
.coupon-tip { margin-top: 6px; font-size: 12px; line-height: 1.5; min-height: 16px; }
.coupon-tip.ok { color: #059669; }
.coupon-tip.err { color: #dc2626; }
.pts-tip { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--theme-brand-primary); white-space: nowrap; padding: 0 4px; }
.pts-tip svg { width: 14px; height: 14px; }
.order-paybar { margin: 4px 0 14px; padding: 12px 14px; border: 1px dashed var(--theme-card-border-light, var(--theme-card-border)); border-radius: var(--radius-m, 12px); background: color-mix(in srgb, var(--theme-brand-primary) 5%, var(--theme-card-bg)); }
.paybar-lines { display: flex; flex-direction: column; gap: 6px; }
.paybar-line { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--theme-text-secondary); }
.paybar-line b.disc { color: #059669; }
.paybar-total { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--theme-card-border-light, var(--theme-card-border)); font-size: 13px; color: var(--theme-text-primary); }
.paybar-total b { font-size: 20px; font-weight: 800; color: var(--theme-text-primary); }

/* ---------- 1.16.0 订单详情：优惠明细 ---------- */
.oh-discs { margin: 2px 16px 0; padding: 8px 14px 10px; background: color-mix(in srgb, var(--theme-brand-primary) 4%, var(--theme-card-bg, #fff)); border: 1px dashed var(--theme-card-border-light, var(--theme-card-border)); border-radius: var(--radius-m, 12px); }
.oh-disc { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--theme-text-secondary); padding: 3px 0; }
.oh-disc .d { color: #059669; font-weight: 600; }
.oh-total { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; padding-top: 7px; border-top: 1px dashed var(--theme-card-border-light, var(--theme-card-border)); font-size: 12px; color: var(--theme-text-secondary); }
.oh-total b { font-size: 17px; font-weight: 800; color: var(--theme-text-primary); }

/* ===================== 1.28.0 前台全局音乐播放器 ===================== */
.m-player {
  position: fixed;
  z-index: 900;
  right: 14px;
  bottom: 88px; /* 默认在底部菜单栏上方，不遮挡导航 */
  display: flex;
  align-items: center;
  gap: 8px;
  -webkit-user-select: none;
  user-select: none;
  touch-action: none;
  cursor: grab;
}
.app-page--no-tab .m-player { bottom: 22px; }
.m-player:active { cursor: grabbing; }
.m-player__btn {
  width: 46px; height: 46px; border-radius: 50%;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--theme-brand-primary, #6a5cff), color-mix(in srgb, var(--theme-brand-primary, #6a5cff) 62%, #8f6bff));
  box-shadow: 0 6px 16px color-mix(in srgb, var(--theme-brand-primary, #6a5cff) 42%, transparent), inset 0 1px 0 rgba(255,255,255,.45);
  flex-shrink: 0;
  transition: transform .18s, box-shadow .18s;
}
.m-player__btn:active { transform: scale(.9); }
.m-player__btn svg { width: 22px; height: 22px; }
.m-player__bar {
  display: flex; align-items: center; gap: 7px;
  max-width: 152px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 999px;
  padding: 7px 12px;
  box-shadow: 0 6px 18px rgba(15,23,42,.14);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.m-player__eq { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.m-player__eq i {
  width: 3px; border-radius: 2px;
  background: var(--theme-brand-primary, #6a5cff);
  height: 5px;
}
.m-player.playing .m-player__eq i { animation: mPlayerEq 1s ease-in-out infinite; }
.m-player.playing .m-player__eq i:nth-child(2) { animation-delay: .15s; }
.m-player.playing .m-player__eq i:nth-child(3) { animation-delay: .3s; }
.m-player.playing .m-player__eq i:nth-child(4) { animation-delay: .45s; }
@keyframes mPlayerEq { 0%, 100% { height: 5px; } 50% { height: 14px; } }
.m-player__name {
  font-size: 12px; font-weight: 600; color: #333;
  max-width: 105px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
@media (max-width: 360px) {
  .m-player__bar { max-width: 116px; }
  .m-player__name { max-width: 72px; }
}


/* ============ 1.30.0 底部菜单切换动画（图标弹跳 + 文字淡入 + 波纹） ============ */
.m-tabbar a.active .ico { animation: tabIcoPop .5s cubic-bezier(.34,1.56,.64,1); }
.m-tabbar a.active > span:nth-child(2) { animation: tabLabelIn .32s ease; }
.m-tabbar a.active::after {
  content: ''; position: absolute; top: 50%; left: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px;
  border-radius: 50%; background: color-mix(in srgb, var(--theme-tabbar-active) 32%, transparent);
  animation: tabRipple .55s ease-out; pointer-events: none;
}
@keyframes tabIcoPop { 0% { transform: scale(.72) translateY(3px); } 60% { transform: scale(1.16) translateY(-2px); } 100% { transform: scale(1) translateY(-1px); } }
@keyframes tabLabelIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes tabRipple { from { opacity: .7; transform: scale(.4); } to { opacity: 0; transform: scale(2.3); } }
.m-tabbar a.pressed .ico { transform: scale(.86) !important; transition: transform .12s ease; }

/* ============ 1.33.0 大表情字号统一收缩（前台首页宫格/分类/转盘不再放大） ============ */
.home-menu-card .m-ico { font-size: 15px !important; }
.home-cat-item .ico, .sec-cat-emoji { font-size: 14px !important; }
