/* ============ 起量系统 · 共享样式 ============ */
:root {
  /* 深空蓝背景渐变 */
  --bg-start: #08122E;   /* r0.03 g0.07 b0.18 */
  --bg-end: #0D2154;     /* r0.05 g0.13 b0.33 */
  /* 电光蓝主色 */
  --blue: #3B82FF;
  --blue-soft: #7FB4FF;
  --blue-faint: #7FA8E8;
  /* 增长绿强调色 */
  --green: #2CE08A;
  --green-soft: #1AD978;
  /* 文字 */
  --text-hi: #FFFFFF;
  --text-mid: #A8C0E8;
  --text-dim: #6E87B8;
  /* 玻璃拟态 */
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-bg-strong: rgba(255, 255, 255, 0.09);
  --glass-stroke: rgba(255, 255, 255, 0.10);
  --radius: 16px;
  --radius-lg: 20px;
  --radius-sm: 12px;
  --shadow-blue: 0 8px 32px rgba(59, 130, 255, 0.18);
  --shadow-green: 0 8px 32px rgba(44, 224, 138, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }

html, body { height: 100%; }

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, sans-serif;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(59,130,255,0.16), transparent 60%),
              radial-gradient(900px 500px at -10% 100%, rgba(44,224,138,0.10), transparent 60%),
              linear-gradient(180deg, var(--bg-start) 0%, var(--bg-end) 100%);
  color: var(--text-hi);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

/* 手机壳容器 */
.phone {
  position: relative;
  width: 375px;
  max-width: 100%;
  min-height: 812px;
  border-radius: 40px;
  overflow: hidden;
  background: linear-gradient(180deg, #08122E 0%, #0D2154 100%);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), var(--shadow-blue);
}

/* 页面内光晕 */
.glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(10px);
}
.glow-blue {
  background: radial-gradient(circle, rgba(59,130,255,0.30) 0%, rgba(59,130,255,0) 70%);
}
.glow-green {
  background: radial-gradient(circle, rgba(44,224,138,0.20) 0%, rgba(44,224,138,0) 70%);
}

/* 状态栏 */
.statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.statusbar .time { font-weight: 700; letter-spacing: 0.5px; }
.statusbar .icons { display: flex; gap: 6px; align-items: center; }
.statusbar .icons svg { display: block; }

/* 页面内容 */
.page-content {
  position: relative;
  z-index: 2;
  padding: 4px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 页头 */
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.page-title { font-size: 18px; font-weight: 700; color: var(--text-hi); }

/* 图标圆钮 */
.icon-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  display: flex; align-items: center; justify-content: center;
}

/* 玻璃卡片 */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-stroke);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(59,130,255,0.10);
}

/* 底部 TabBar */
.tabbar {
  position: absolute;
  left: 20px; right: 20px; bottom: 16px;
  height: 64px;
  border-radius: 20px;
  background: rgba(13, 33, 84, 0.65);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 10;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.tab-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 11px; color: var(--text-dim);
  transition: color .2s;
}
.tab-item svg { display: block; }
.tab-item.active { color: var(--blue-soft); }
.tab-item.active svg { filter: drop-shadow(0 0 6px rgba(59,130,255,0.7)); }

/* 主按钮 */
.btn-primary {
  display: flex; align-items: center; justify-content: center;
  height: 52px; border-radius: var(--radius);
  background: linear-gradient(135deg, #3B82FF 0%, #2563EB 100%);
  color: #fff; font-size: 17px; font-weight: 700;
  box-shadow: var(--shadow-blue);
  border: none; cursor: pointer;
}
.btn-green {
  background: linear-gradient(135deg, #2CE08A 0%, #17B86A 100%);
  box-shadow: var(--shadow-green);
}

/* 金额 */
.amount { font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.amount-green { color: var(--green); }
.amount-blue { color: var(--blue-soft); }

/* 通用 */
.text-dim { color: var(--text-dim); }
.text-mid { color: var(--text-mid); }
.text-hi { color: var(--text-hi); }

/* ============ 响应式：移动端全屏 H5 / 桌面端 Web 布局 ============ */
/* 移动端（<768px）：全屏 H5，去掉手机壳 */
@media (max-width: 767px) {
  body { padding: 0; display: block; align-items: stretch; }
  .phone { width: 100%; max-width: 100%; min-height: 100vh; border-radius: 0; box-shadow: none; }
  .tabbar { position: fixed; left: 12px; right: 12px; bottom: 12px; }
}

/* 桌面端（>=768px）：Web 布局，隐藏手机壳/假状态栏，TabBar 变顶部导航 */
@media (min-width: 768px) {
  body { padding: 0; display: block; align-items: stretch; }
  .phone { width: 100%; max-width: 100%; min-height: 100vh; border-radius: 0; box-shadow: none; background: transparent; }
  .statusbar { display: none; }
  .page-content { max-width: 1080px; margin: 0 auto; padding: 92px 40px 60px; gap: 20px; }
  .page-title { font-size: 22px; }
  .login-body { max-width: 480px; margin: 0 auto; padding: 40px 24px; }
  .tabbar {
    position: fixed; top: 0; left: 0; right: 0; bottom: auto;
    height: 64px; border-radius: 0; gap: 8px;
    background: rgba(8, 18, 46, 0.88);
    justify-content: center;
  }
  .tab-item { flex-direction: row; gap: 8px; font-size: 14px; padding: 0 18px; }
  .tab-item img { width: 20px; height: 20px; }
  .ql-mask { align-items: center; }
  .ql-sheet { width: 480px; border-radius: 24px; }
}

/* 交互元素可点击 */
.tab-item, .quick-item, .menu-item, .get-code, .chip, .all, .detail-btn, .more, .icon-btn { cursor: pointer; }
.tab-item { text-decoration: none; }

/* 通用列表 / 空态 / 加载 */
.ql-loading, .ql-empty { padding: 32px 0; text-align: center; color: var(--text-dim); font-size: 13px; }
.ql-section-title { font-size: 15px; font-weight: 700; color: var(--text-hi); margin-bottom: 12px; }

/* 轻提示 */
.ql-toast {
  position: fixed; left: 50%; bottom: 120px; transform: translateX(-50%);
  max-width: 80vw; padding: 12px 20px; border-radius: 14px; z-index: 999;
  background: rgba(13,33,84,0.92); border: 1px solid var(--glass-stroke);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  color: #fff; font-size: 14px; box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  opacity: 0; transition: opacity .25s; pointer-events: none;
}
.ql-toast.show { opacity: 1; }
.ql-toast.ok { border-color: rgba(44,224,138,0.4); }
.ql-toast.err { border-color: rgba(255,90,90,0.45); }

/* 弹层（实名认证 / 提现方式 / 邀请） */
.ql-mask { position: fixed; inset: 0; background: rgba(4,10,26,0.6); z-index: 900; display: flex; align-items: flex-end; justify-content: center; }
.ql-sheet { width: 375px; max-width: 100%; background: linear-gradient(180deg,#0D2154,#08122E); border-radius: 24px 24px 0 0; padding: 22px 20px 28px; border: 1px solid var(--glass-stroke); }
.ql-sheet h3 { font-size: 17px; margin-bottom: 18px; color: #fff; }
.ql-field { margin-bottom: 14px; }
.ql-field label { display: block; font-size: 13px; color: var(--text-dim); margin-bottom: 8px; }
.ql-field input, .ql-field select {
  width: 100%; height: 48px; padding: 0 14px; border-radius: var(--radius-sm);
  background: var(--glass-bg); border: 1px solid var(--glass-stroke); color: var(--text-hi);
  outline: none; font-size: 15px;
}
.ql-row-btns { display: flex; gap: 12px; margin-top: 8px; }
.ql-btn-ghost { flex: 1; height: 48px; border-radius: var(--radius-sm); background: var(--glass-bg); border: 1px solid var(--glass-stroke); color: var(--text-mid); font-size: 15px; cursor: pointer; }

/* 身份/状态徽标 */
.ql-badge { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.ql-badge.boss { background: rgba(59,130,255,0.18); color: var(--blue-soft); }
.ql-badge.agent { background: rgba(44,224,138,0.16); color: var(--green); }
.ql-badge.guest { background: rgba(255,255,255,0.08); color: var(--text-dim); }

/* 邀请码分享 */
.ql-invite { text-align: center; }
.ql-invite .code { font-size: 30px; font-weight: 800; color: var(--blue-soft); letter-spacing: 2px; margin: 6px 0 12px; }
.ql-invite .qr-box { display: flex; justify-content: center; margin: 4px 0 8px; }
.ql-invite .qr-box img { width: 180px; height: 180px; padding: 8px; background: #fff; border-radius: var(--radius-sm); }
.ql-invite .link { font-size: 12px; color: var(--text-dim); word-break: break-all; background: var(--glass-bg); padding: 10px; border-radius: var(--radius-sm); border: 1px solid var(--glass-stroke); }

/* ============ 全局通用列表组件（团队/提现/首页/管理共用） ============ */
.feed { display: flex; flex-direction: column; gap: 12px; }
.feed-item, .list .item {
  display: flex; align-items: center; gap: 12px; padding: 14px;
  border-radius: var(--radius); background: var(--glass-bg);
  border: 1px solid var(--glass-stroke); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.list { display: flex; flex-direction: column; gap: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; color: #fff; }
.av-blue { background: linear-gradient(135deg,#3B82FF,#2563EB); }
.av-green { background: linear-gradient(135deg,#2CE08A,#17B86A); }
.feed-item .mid, .list .item .mid { flex: 1; min-width: 0; }
.feed-item .name, .list .item .t { font-size: 13px; color: var(--text-hi); }
.feed-item .time, .list .item .d { font-size: 11px; color: var(--text-dim); margin-top: 3px; }
.feed-item .amt, .list .item .amt { font-size: 13px; font-weight: 700; color: var(--green); white-space: nowrap; }
.list .item .ico { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.i-blue { background: rgba(59,130,255,0.18); }
.i-green { background: rgba(44,224,138,0.16); }
.i-orange { background: rgba(242,153,74,0.18); }
.i-purple { background: rgba(168,130,255,0.18); }
.i-cyan { background: rgba(56,189,248,0.18); }

/* 筛选胶囊 */
.tabs, .bn-filter, .mg-tab { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.tab-pill { flex-shrink: 0; padding: 7px 16px; border-radius: 20px; font-size: 13px; color: var(--text-mid); background: var(--glass-bg); border: 1px solid var(--glass-stroke); cursor: pointer; white-space: nowrap; }
.tab-pill.active { color: #fff; background: rgba(59,130,255,0.22); border-color: rgba(59,130,255,0.4); }

/* 订单卡片 */
.order-list { display: flex; flex-direction: column; gap: 12px; }
.order-card { border-radius: var(--radius); background: var(--glass-bg); border: 1px solid var(--glass-stroke); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); overflow: hidden; }
.order-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.order-no { font-size: 12px; color: var(--text-dim); }
.status-tag { font-size: 11px; padding: 2px 10px; border-radius: 20px; }
.st-pending { background: rgba(242,153,74,0.18); color: #F2994A; }
.st-done { background: rgba(44,224,138,0.16); color: var(--green); }
.st-refund { background: rgba(255,255,255,0.08); color: var(--text-dim); }
.order-body { display: flex; gap: 12px; padding: 14px; }
.prod-thumb { width: 56px; height: 56px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; background: rgba(59,130,255,0.14); flex-shrink: 0; }
.order-body .info { flex: 1; min-width: 0; }
.order-body .pname { font-size: 14px; color: var(--text-hi); }
.order-body .pspec { font-size: 12px; color: var(--text-dim); margin-top: 4px; }
.order-body .price { font-size: 16px; font-weight: 700; color: var(--blue-soft); margin-top: 6px; }
.order-foot { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-top: 1px solid rgba(255,255,255,0.06); }
.order-time { font-size: 11px; color: var(--text-dim); }

/* 标签卡片 */
.tag-list { display: flex; flex-direction: column; gap: 12px; }
.tag-card { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--radius); background: var(--glass-bg); border: 1px solid var(--glass-stroke); }
.tag-card .tag-ico { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; background: rgba(59,130,255,0.16); flex-shrink: 0; }
.tag-card .mid { flex: 1; min-width: 0; }
.tag-card .tname { font-size: 14px; color: var(--text-hi); font-weight: 600; }
.tag-card .tdesc { font-size: 12px; color: var(--text-dim); margin-top: 4px; }

/* ============ 2026-10-13 迭代：焦点/会员卡片/产品中心/入单 ============ */
/* 底部菜单焦点：当前页高亮（图标同步着色） */
.tab-item.active img { filter: sepia(1) hue-rotate(185deg) saturate(5) brightness(1.15) drop-shadow(0 0 6px rgba(59,130,255,0.7)); }

/* 个人中心会员信息条（用户ID/邀请码/团队名） */
.id-strip { display:flex; flex-wrap:wrap; gap:8px 18px; margin-top:14px; padding-top:14px;
  border-top:1px solid rgba(255,255,255,0.08); font-size:12px; color:var(--text-dim); }
.id-strip b { color:var(--blue-soft); font-weight:700; letter-spacing:1px; margin-left:4px; }

/* 产品中心 */
.prod-list { display:flex; flex-direction:column; gap:14px; }
.prod-card { display:flex; gap:14px; padding:16px; border-radius:var(--radius);
  background:var(--glass-bg); border:1px solid var(--glass-stroke);
  backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px); }
.prod-card .thumb { width:72px; height:72px; border-radius:14px; flex-shrink:0; overflow:hidden;
  display:flex; align-items:center; justify-content:center; font-size:26px;
  background:linear-gradient(135deg,rgba(59,130,255,0.25),rgba(37,99,235,0.1)); }
.prod-card .thumb img { width:100%; height:100%; object-fit:cover; }
.prod-card .info { flex:1; min-width:0; }
.prod-card .pname { font-size:15px; font-weight:700; color:var(--text-hi); }
.prod-card .pdesc { font-size:12px; color:var(--text-dim); margin-top:6px; line-height:1.6; }
.prod-card .prow { display:flex; align-items:center; justify-content:space-between; margin-top:10px; }
.prod-card .price { font-size:17px; font-weight:800; color:var(--blue-soft); }
.prod-card .ptip { font-size:11px; color:var(--text-dim); background:rgba(255,255,255,0.06); padding:3px 10px; border-radius:10px; }

/* 入单弹层：产品选择/付款截图 */
.apply-prods { display:flex; flex-direction:column; gap:10px; margin-bottom:14px; }
.apply-prod { display:flex; align-items:center; gap:12px; padding:12px 14px; border-radius:var(--radius-sm);
  background:var(--glass-bg); border:1px solid var(--glass-stroke); cursor:pointer; }
.apply-prod.on { border-color:var(--blue-soft); background:rgba(59,130,255,0.14); }
.apply-prod .nm { flex:1; font-size:14px; color:var(--text-hi); font-weight:600; }
.apply-prod .pr { font-size:14px; font-weight:700; color:var(--blue-soft); }
.ql-field input[type="file"] { height:auto; padding:12px 14px; font-size:13px; color:var(--text-mid); }
.apply-proof { display:flex; align-items:center; gap:10px; margin-top:8px; }
.apply-proof img { width:56px; height:56px; border-radius:8px; object-fit:cover; border:1px solid var(--glass-stroke); }
.apply-proof .rm { font-size:12px; color:#FF8080; cursor:pointer; }
