/* ==========================================================
   乱世商户助手 · 商户端 H5 — 设计系统（原版绿色主题）
   ========================================================== */
:root {
  /* 锁定浅色渲染：系统/浏览器深色模式不做强制反色 */
  color-scheme: light only;
  supported-color-schemes: light;
  --green: #B5E61D;          /* 原版图标绿 */
  --green-deep: #7CB305;     /* 深绿（文字/强调） */
  --green-light: #EAFFC8;    /* 浅绿背景 */
  --green-card: linear-gradient(105deg, #D4FF9B 0%, #A9F78C 55%, #93F2A4 100%);
  --bg: #F5F5F5;
  --card: #FFFFFF;
  --text: #1A1A1A;
  --text-2: #666666;
  --text-3: #999999;
  --text-4: #CCCCCC;
  --line: #F0F0F0;
  --grad-blue: linear-gradient(90deg, #B5E61D 0%, #7CB305 100%);
  --grad-login: linear-gradient(90deg,#B5E61D,#7CB305);
  --th-grad: linear-gradient(135deg, #FF9D45, #FF6A00);
  --dark: #18191B;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  display: block;
  min-height: 100%;
  margin: 0;
}
button { font-family: inherit; border: none; background: none; cursor: pointer; color: inherit; }
input { font-family: inherit; border: none; outline: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; }

/* ---------- 手机外壳 ---------- */
.phone {
  position: relative;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  background: var(--bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: none;
  padding-top: 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
/* 桌面预览：保留手机外框居中显示 */
@media (min-width: 768px) {
  body {
    background: #E8E9EB;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
  }
  .phone {
    max-width: 430px;
    height: 860px;
    max-height: 92vh;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    border-radius: 36px;
    padding-top: 0;
    padding-bottom: 0;
  }
}

/* ---------- PC 预览：「点击访问手机版」浮动按钮 ---------- */
.pc-mobile-tip {
  display: none;
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 1200;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--grad-login);
  color: #14360B;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(124, 179, 5, 0.45);
  white-space: nowrap;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  border: none;
  font-family: inherit;
}
.pc-mobile-tip svg { display: block; }
.pc-mobile-tip .pmt-back { display: none; }
@media (min-width: 768px) {
  .pc-mobile-tip { display: inline-flex; }
  /* 已切换为全宽手机版：桌面灰底/手机框取消，内容铺满；按钮变为右上角小返回 */
  html.pc-full body {
    display: block;
    background: var(--bg);
    min-height: 100vh;
  }
  html.pc-full .phone {
    max-width: none;
    width: 100%;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
    box-shadow: none;
  }
  html.pc-full .pc-mobile-tip {
    left: auto;
    right: 16px;
    bottom: 96px;
    transform: none;
    height: 32px;
    padding: 0 14px;
    background: rgba(24, 25, 27, 0.72);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    box-shadow: none;
    gap: 4px;
  }
  html.pc-full .pc-mobile-tip .pmt-main { display: none; }
  html.pc-full .pc-mobile-tip .pmt-back { display: inline; }
}

/* ---------- 状态栏 ---------- */
.statusbar {
  height: 34px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 0 24px;
  font-size: 13px;
  font-weight: 600;
  position: relative;
  z-index: 50;
}
.statusbar .sb-icons { display: flex; align-items: center; gap: 5px; }
.statusbar .sb-icons svg { display: block; }
.statusbar.on-dark { color: #fff; }
.statusbar.on-dark .sb-battery { border-color: rgba(255,255,255,.6); }
/* 真机系统状态栏已存在：移动端隐藏模拟状态栏，避免出现两条时间栏 */
@media (max-width: 767px) {
  .statusbar { display: none; }
}

/* ---------- 页面容器 ---------- */
.pages { flex: 1; position: relative; overflow: hidden; }
.page {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.32, 0.72, 0.35, 1);
  z-index: 2;
}
.page.active { transform: translateX(0); z-index: 3; }
.page.behind { transform: translateX(-22%); z-index: 1; pointer-events: none; }
.page.no-anim { transition: none; }
/* tab 切换淡入（1:1 参考站 animate__fadeIn 手感，更跟手） */
.page.tab-fadein { animation: tabFadeIn 0.28s cubic-bezier(0.32, 0.72, 0.35, 1); }
@keyframes tabFadeIn {
  from { opacity: 0; transform: translateX(16px) scale(0.985); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
.scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.scroll::-webkit-scrollbar { display: none; }

/* ---------- 导航栏 ---------- */
.navbar {
  flex: none;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 12px;
  background: var(--card);
  z-index: 10;
}
.navbar .nav-title { font-size: 17px; font-weight: 600; }
.navbar .nav-back, .navbar .nav-action {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: var(--text);
}
.navbar .nav-back { left: 12px; }
.navbar .nav-action { right: 12px; color: var(--text-2); font-size: 13px; }
.navbar.transparent { background: transparent; }

/* ---------- 底部 Tab 栏（原版绿色） ---------- */
.tabbar {
  flex: none;
  display: flex;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 6px 0 8px;
  position: relative;
  z-index: 40;
}.tabbar .tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 10px;
  color: var(--text-3);
}
.tabbar .tab img { width: 26px; height: 26px; }
/* 底部导航图标：用 mask 着色，选中态跟随主题色，未选中灰 */
.tabbar .tab .tabic { width: 26px; height: 26px; display: block; background: #9BA3AF;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.tabbar .tab.on .tabic { background: var(--th-grad, linear-gradient(135deg,#FF9D45,#FF6A00)); }
.tabbar .tab.on { color: var(--text); font-weight: 600; }
/* tab 按压反馈：点下去轻微回弹，松手淡入新页，跟手丝滑 */
.tabbar .tab { transition: transform 0.12s ease; -webkit-tap-highlight-color: transparent; }
.tabbar .tab:active { transform: scale(0.88); }
.tabbar.hidden { display: none; }

/* ---------- 通用组件 ---------- */
.card {
  background: var(--card);
  border-radius: var(--radius);
  margin: 12px 12px 0;
  padding: 14px;
  box-shadow: var(--shadow);
}
.card-title { font-size: 15px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; }
.card-title .more { font-size: 12px; color: var(--text-3); font-weight: 400; display: flex; align-items: center; gap: 2px; }
.muted { color: var(--text-3); }
.small { font-size: 12px; }

.fn-grid { display: grid; grid-template-columns: repeat(4, 1fr); row-gap: 18px; }
.fn-grid .fn { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 12px; color: var(--text); }
.fn-grid .fn img { width: 34px; height: 34px; }
.fn-grid .fn:active { opacity: 0.7; }

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  font-size: 14px;
}
.status-row + .status-row { border-top: 1px solid var(--line); }
.status-row .label { display: flex; align-items: center; gap: 8px; }
.status-row .value { color: var(--text-2); display: flex; align-items: center; gap: 4px; }
.help-dot {
  width: 14px; height: 14px; border-radius: 50%;
  border: 1px solid var(--text-4); color: var(--text-4);
  font-size: 10px; display: inline-flex; align-items: center; justify-content: center;
  line-height: 1;
}

/* 开关 */
.switch { position: relative; width: 44px; height: 26px; flex: none; }
.switch input { display: none; }
.switch .track {
  position: absolute; inset: 0; border-radius: 13px;
  background: #E5E5E5; transition: 0.25s;
}
.switch .track::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.2); transition: 0.25s;
}
.switch input:checked + .track { background: var(--green); }
.switch input:checked + .track::after { transform: translateX(18px); }

/* 分段胶囊（离线/上线） */
.pill-toggle {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 4px;
  position: relative;
}
.pill-toggle .pt {
  min-width: 74px;
  text-align: center;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  z-index: 1;
  transition: 0.25s;
}
.pill-toggle .pt.on { background: var(--green); color: #14360B; font-weight: 600; }

/* 主按钮 */
.btn-primary {
  display: block;
  width: calc(100% - 24px);
  margin: 18px 12px;
  padding: 13px 0;
  border-radius: 999px;
  background: var(--th-grad, linear-gradient(135deg,#FF9D45,#FF6A00));
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 6px 16px rgba(255,106,0,.28);
}
.btn-primary:active { opacity: 0.85; }
.btn-disabled {
  background: #E5E6EB;
  color: #999;
  box-shadow: none;
}
.btn-disabled:active { opacity: 1; }
.btn-dark {
  display: block;
  width: calc(100% - 24px);
  margin: 14px 12px;
  padding: 13px 0;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}
.btn-green {
  display: block;
  width: calc(100% - 24px);
  margin: 18px 12px;
  padding: 13px 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #A6E22E, #7CB305);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}
.btn[disabled] { opacity: 0.5; pointer-events: none; }

/* 空状态 */
.empty { padding: 40px 0 50px; display: flex; flex-direction: column; align-items: center; }
.empty img { width: 220px; max-width: 80%; height: auto; }
.empty .empty-text { margin-top: 6px; color: var(--text-3); font-size: 13px; letter-spacing: 1px; }

/* Toast */
.toast {
  position: absolute;
  left: 50%;
  bottom: 120px;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 999px;
  z-index: 999;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
.toast.show { opacity: 1; }

/* 弹窗蒙层 */
.mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.mask.show { opacity: 1; pointer-events: auto; }
/* 抽奖页深色弹窗（参考站「请先填写游戏信息」样式） */
.dialog.dlg-dark {
  background: #1E2233;
  background-image: linear-gradient(160deg, #262B40 0%, #1A1E2C 100%);
  color: #E8EAF2;
}
.dialog.dlg-dark .dlg-title { color: #F5D28E; }
.dialog.dlg-dark .dlg-body { color: #E8EAF2; }
.dialog.dlg-dark .dlg-head .close { color: #8C93A8; }
.dialog.dlg-dark [data-act] { transition: .15s; }
.dialog.dlg-dark [data-act]:active { opacity: .85; }
.dialog {
  width: 100%;
  background: #fff;
  background-image: linear-gradient(155deg, #E8ECFD 0%, #D8DEFB 24%, rgba(255, 255, 255, 0.55) 46%, #fff 64%);
  border-radius: 20px;
  overflow: hidden;
  transform: scale(0.9);
  transition: transform 0.25s;
}
.mask.show .dialog { transform: scale(1); }
.dialog .dlg-head {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 18px 16px 8px;
  font-size: 16px;
  font-weight: 600;
}
.dialog .dlg-title { text-align: center; }
.dialog .dlg-head .close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 16px; color: var(--text-3); padding: 6px; }
.dialog .dlg-body { padding: 8px 16px 20px; }

.role-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.72);
}
.role-item:last-child { margin-bottom: 0; }
.role-item img.avatar { width: 44px; height: 44px; border-radius: 50%; }
.role-item .ri-info { flex: 1; }
.role-item .ri-name { font-size: 15px; font-weight: 600; }
.role-item .ri-state { font-size: 12px; color: var(--green-deep); }
.role-item .ri-state.purple { color: #7CB305; }
.role-item .ri-enter {
  background: #222;
  color: #fff;
  font-size: 13px;
  padding: 7px 18px;
  border-radius: 999px;
}

/* ---------- 登录页 ---------- */
.page-login {
  background: #0A0D18;
  color: #fff;
}
.login-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(42% 26% at 12% 4%, rgba(64, 96, 255, 0.5), transparent 72%),
    radial-gradient(38% 24% at 92% 14%, rgba(52, 132, 255, 0.38), transparent 72%),
    radial-gradient(60% 30% at 50% 104%, rgba(120, 72, 255, 0.32), transparent 70%),
    radial-gradient(90% 60% at 50% 40%, rgba(20, 26, 48, 0.9), transparent 100%),
    #0A0D18;
}
.login-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 70px 32px 0;
}
.login-logo { width: 108px; height: 108px; border-radius: 26px; box-shadow: 0 12px 40px rgba(64, 90, 255, 0.45); }
.login-appname { margin-top: 22px; font-size: 30px; font-weight: 800; letter-spacing: 4px; color: #fff; }
.login-appsub { margin-top: 4px; font-size: 11px; letter-spacing: 3px; color: rgba(255,255,255,0.55); }
.login-tip { margin-top: 12px; font-size: 12px; color: rgba(255,255,255,0.45); }
.login-btns { width: 100%; margin-top: 46px; }
.login-btns .lb {
  display: block;
  width: 100%;
  padding: 14px 0;
  border-radius: 999px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}
.login-btns .lb-onekey { background: var(--grad-login); color: #14360B; box-shadow: 0 8px 24px rgba(124, 179, 5, 0.35); }
.login-btns .lb-other { background: #1D2026; color: #fff; margin-top: 16px; }
/* 表单内主按钮（账号密码登录 / 邮箱验证码登录）：与 .login-btns .lb-onekey 视觉一致 */
.pwd-form .lb {
  display: block;
  width: 100%;
  padding: 14px 0;
  border-radius: 999px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}
.pwd-form .lb-onekey { background: var(--grad-login); color: #14360B; box-shadow: 0 8px 24px rgba(124, 179, 5, 0.35); }
.pwd-form .lb-onekey:active { transform: scale(0.98); }
/* 邀请码页主按钮（.login-content 直属子级，不在 .login-btns/.pwd-form 作用域内，需单独补样式） */
.login-content > .lb {
  display: block;
  width: 100%;
  padding: 14px 0;
  border-radius: 999px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}
.login-content > .lb-onekey { background: var(--grad-login); color: #14360B; box-shadow: 0 8px 24px rgba(124, 179, 5, 0.35); }
.login-content > .lb-onekey:active { transform: scale(0.98); }
.login-agree {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}
.login-agree .chk {
  width: 16px; height: 16px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: transparent;
}
.login-agree .chk.on { background: var(--grad-login); border-color: transparent; color: #fff; }
.login-agree u { text-decoration: none; color: #8FA8FF; }
.login-version { margin-top: auto; margin-bottom: 26px; font-size: 11px; color: rgba(255,255,255,0.3); }

/* 账号密码登录表单 */
.pwd-form { width: 100%; margin-top: 40px; }
.pwd-form .field {
  display: flex;
  align-items: center;
  background: #1D2026;
  border-radius: 12px;
  padding: 0 14px;
  margin-bottom: 14px;
}
.pwd-form .field .f-label { font-size: 14px; color: rgba(255,255,255,0.65); margin-right: 10px; white-space: nowrap; }
.pwd-form .field input { flex: 1; height: 48px; font-size: 15px; color: #fff; }
.pwd-form .field input::placeholder { color: rgba(255,255,255,0.3); }

/* 邮箱登录：验证码行 + 发送按钮 */
.pwd-form .code-field { padding-right: 6px; }
.pwd-form .code-field .f-label { margin-right: 8px; }
.pwd-form .code-btn {
  flex: none; height: 34px; padding: 0 12px; border-radius: 999px;
  background: var(--grad-login); color: #14360B;
  font-size: 12px; font-weight: 600; white-space: nowrap;
}
.pwd-form .code-btn.disabled { opacity: 0.5; }
.email-login-tip { margin: 2px 0 12px; font-size: 11px; line-height: 1.6; color: rgba(255,255,255,0.4); }

/* ---------- 注册密钥页 ---------- */
.invite-input {
  background: #1D2026;
  border-radius: 12px;
  height: 50px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  margin-top: 8px;
}
.invite-input input { flex: 1; color: #fff; font-size: 15px; height: 100%; }
.invite-input input::placeholder { color: rgba(255,255,255,0.3); }

/* ---------- 首页 ---------- */
/* 顶部大背景：默认用通用 DS 图；有俱乐部 LOGO 时由 JS 注入内联 background-image 覆盖，
   叠加一层暗色渐变保证白色文字可读。 */
.home-hero {
  position: relative;
  background: #14161C url("../assets/img/home-header-bg.png") center/cover no-repeat;
  background-size: cover;
  background-position: center;
  padding: 4px 16px 0;
  color: #fff;
}
/* 俱乐部 LOGO 作背景时铺满裁切，圆形 LOGO 更居中 */
.home-hero[style*="background-image"] {
  background-size: cover;
  background-position: center 28%;
}
.home-topbar { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.home-topbar .ht-close { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; }
.home-topbar .ht-title { font-size: 17px; font-weight: 600; }
.home-topbar .ht-float { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; opacity: 0.9; }
.home-user { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.home-user .avatar-wrap { position: relative; }
.home-user .avatar-wrap img.avatar { width: 68px; height: 68px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.25); }
.home-user .avatar-wrap .gender {
  position: absolute; right: -2px; bottom: 0;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: #fff; border: 1.5px solid #14161C;
}
.home-user .avatar-wrap .gender.f { background: #FF5A8A; }
.home-user .avatar-wrap .gender.m { background: #3E9DFF; }
.home-user .hu-info { flex: 1; min-width: 0; }
.home-user .hu-name { font-size: 17px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.home-user .hu-name .club-tag {
  font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.14); padding: 2px 8px; border-radius: 6px;
  max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.home-user .hu-id { margin-top: 5px; font-size: 12px; color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 5px; }
.home-user .hu-id .id-chip {
  background: rgba(255,255,255,0.12); border-radius: 5px; padding: 1px 7px;
  font-size: 11px; display: inline-flex; align-items: center; gap: 4px;
}
.btn-switch-role {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff; font-size: 12px;
  padding: 7px 12px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 5px;
  white-space: nowrap;
}
.home-online-row { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.home-online-row .status-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.16);
  color: #fff; font-size: 13px; padding: 7px 14px; border-radius: 999px;
}
.home-online-row .status-chip .dot { width: 7px; height: 7px; border-radius: 50%; }
.earnings-card {
  background: var(--green-card);
  border-radius: 14px 14px 0 0;
  margin-top: 14px;
  padding: 14px 8px 16px;
  display: flex;
  color: #17310A;
}
.earnings-card .ec-item { flex: 1; text-align: center; }
.earnings-card .ec-item .ec-label { font-size: 12px; opacity: 0.75; }
.earnings-card .ec-item .ec-value { font-size: 21px; font-weight: 800; margin-top: 4px; font-family: "DIN Alternate", "Arial", sans-serif; }
.earnings-card .ec-item + .ec-item { border-left: 1px solid rgba(23, 49, 10, 0.12); }

.home-orders { margin: 0; background: #fff; border-radius: 0; box-shadow: none; overflow: hidden; padding-bottom: 12px; }
.home-orders .ho-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 4px; }
.home-orders .ho-head .ho-title { font-size: 16px; font-weight: 700; }
.home-orders .ho-head .ho-all { font-size: 12px; color: var(--text-3); display: flex; align-items: center; }
.home-banner { margin: 10px 12px 0; border-radius: var(--radius); overflow: hidden; }
.home-banner img { width: 100%; }

/* ---------- 接单池 ---------- */
/* 打手接单大厅：游戏分类 */
.hall-games { display: flex; gap: 10px; padding: 12px; overflow-x: auto; background: #fff; border-bottom: 1px solid #F2F3F5; }
.hall-games .hg { flex: none; padding: 8px 15px; border-radius: 999px; font-size: 13px; background: #F2F3F5; color: #666; white-space: nowrap; }
.hall-games .hg.on { background: linear-gradient(90deg, #B5E61D, #7CB305); color: #14360B; font-weight: 700; }
.hall-games::-webkit-scrollbar { display: none; }
.pool-tabs {
  display: flex;
  background: #fff;
  padding: 10px 0 0;
  position: sticky;
  top: 0;
  z-index: 5;
}
.pool-tabs .pt-item {
  flex: 1;
  text-align: center;
  font-size: 15px;
  color: var(--text-2);
  padding-bottom: 10px;
  position: relative;
}
.pool-tabs .pt-item.on { color: var(--text); font-weight: 700; }
.pool-tabs .pt-item.on::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg,#B5E61D,#7CB305);
}
.pool-loading { text-align: center; color: var(--text-3); font-size: 13px; padding: 22px 0 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.refresher-gif { width: 60px; height: 60px; object-fit: contain; display: block; }
.spinner {
  width: 16px; height: 16px;
  border: 2px solid var(--text-4);
  border-top-color: var(--green-deep);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* 抢单器悬浮按钮 */
.fab-grabber {
  position: absolute;
  right: 8px;
  bottom: 66px;
  z-index: 30;
  width: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 6px 14px rgba(124, 179, 5, 0.45));
  animation: fab-breath 2.4s ease-in-out infinite;
}
@keyframes fab-breath { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.fab-grabber .fg-img { width: 76px; height: auto; display: block; opacity: 0.95; }

/* ---------- 抢单器页 ---------- */
.grabber-hero {
  position: relative;
  background:
    radial-gradient(70% 55% at 50% 34%, #F2FFC4 0%, #DFF79A 42%, rgba(223, 247, 154, 0) 78%),
    linear-gradient(180deg, #FBFFEF 0%, #F5FBE8 100%);
  padding: 0 16px 26px;
  overflow: hidden;
}
.grabber-hero .gb-rays {
  position: absolute; left: 50%; top: 120px; width: 420px; height: 420px;
  transform: translateX(-50%);
  background: conic-gradient(from 0deg,
    rgba(124, 179, 5, 0.07) 0deg, transparent 12deg, rgba(124, 179, 5, 0.07) 24deg, transparent 36deg,
    rgba(124, 179, 5, 0.07) 48deg, transparent 60deg, rgba(124, 179, 5, 0.07) 72deg, transparent 84deg,
    rgba(124, 179, 5, 0.07) 96deg, transparent 108deg, rgba(124, 179, 5, 0.07) 120deg, transparent 132deg,
    rgba(124, 179, 5, 0.07) 144deg, transparent 156deg, rgba(124, 179, 5, 0.07) 168deg, transparent 180deg,
    rgba(124, 179, 5, 0.07) 192deg, transparent 204deg, rgba(124, 179, 5, 0.07) 216deg, transparent 228deg,
    rgba(124, 179, 5, 0.07) 240deg, transparent 252deg, rgba(124, 179, 5, 0.07) 264deg, transparent 276deg,
    rgba(124, 179, 5, 0.07) 288deg, transparent 300deg, rgba(124, 179, 5, 0.07) 312deg, transparent 324deg,
    rgba(124, 179, 5, 0.07) 336deg, transparent 348deg);
  border-radius: 50%;
  animation: spin 60s linear infinite;
  z-index: 0;
  pointer-events: none;
}
.gb-marquee {
  background: linear-gradient(90deg, #7CB305, #A5D63F);
  color: #fff; font-size: 12px; font-weight: 600;
  overflow: hidden; white-space: nowrap;
  padding: 6px 0; letter-spacing: 1px;
}
.gb-marquee span { display: inline-block; animation: marquee 14s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.grabber-hero::before, .grabber-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 2px dashed rgba(124, 179, 5, 0.35);
}
.grabber-hero::before { width: 300px; height: 300px; left: 50%; top: 40px; transform: translateX(-50%); animation: spin 26s linear infinite; }
.grabber-hero::after { width: 360px; height: 360px; left: 50%; top: 10px; transform: translateX(-50%); animation: spin 40s linear infinite reverse; }
.gb-top { display: flex; align-items: center; justify-content: space-between; height: 44px; position: relative; z-index: 2; }
.gb-top .gb-sub {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; color: var(--green-deep); font-weight: 600;
}
.gb-bolt { position: absolute; font-size: 22px; opacity: 0.8; z-index: 1; }
.gb-circle {
  position: relative;
  z-index: 2;
  width: 218px; height: 218px;
  margin: 18px auto 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 10px rgba(149, 226, 60, 0.16), 0 0 0 22px rgba(149, 226, 60, 0.08), 0 14px 34px rgba(90, 140, 20, 0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.gb-circle .play {
  width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(135deg, #A9E63F, #79B80B);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(124, 179, 5, 0.4);
  margin-bottom: 6px;
}
.gb-circle .gb-state { font-size: 24px; font-weight: 800; color: #1F2B0C; }
.gb-circle .gb-hint { font-size: 12px; color: var(--text-3); }
.gb-expire {
  position: relative; z-index: 2;
  margin: 18px auto 0;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(124, 179, 5, 0.25);
  border-radius: 999px;
  padding: 7px 18px;
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; color: #43511F;
}
.gb-expire .exp-label { display: inline-flex; align-items: center; gap: 5px; }
.gb-expire .exp-time { font-weight: 700; font-family: "DIN Alternate", Arial, sans-serif; letter-spacing: 1px; }
.gb-tabs {
  display: flex; gap: 10px;
  margin: 18px 12px 0;
  position: relative; z-index: 2;
}
.gb-tabs .gt {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  padding: 11px 0;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.gb-tabs .gt.on { color: #2E440E; background: linear-gradient(105deg, #EFFFBE, #D6F79E); }
.gb-tabs .gt img { width: 18px; height: 18px; }

.grabber-set-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
}
.grabber-set-item + .grabber-set-item { border-top: 1px solid var(--line); }
.grabber-set-item .gsi-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; flex: none;
}
.grabber-set-item .gsi-info { flex: 1; min-width: 0; }
.grabber-set-item .gsi-name { font-size: 14px; font-weight: 600; }
.grabber-set-item .gsi-desc { font-size: 11px; color: var(--text-3); margin-top: 2px; }
.grabber-set-item .gsi-btn {
  font-size: 12px; color: var(--text-2);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 13px; flex: none;
}

/* ---------- 消息页 ---------- */
.msg-search { margin: 8px 12px 0; background: #fff; border-radius: 999px; height: 34px; display: flex; align-items: center; padding: 0 13px; gap: 6px; color: var(--text-3); font-size: 12px; }
.msg-banner { margin: 8px 12px 0; border-radius: var(--radius); overflow: hidden; }
.msg-banner img { width: 100%; display: block; }
.msg-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 12px 0;
  background: #fff;
  border-radius: var(--radius);
  padding: 10px 12px;
  box-shadow: var(--shadow);
}
.msg-item img.mi-icon { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.msg-item .mi-info { flex: 1; min-width: 0; }
.msg-item .mi-name { font-size: 14px; font-weight: 600; }
.msg-item .mi-desc { font-size: 11px; color: var(--text-3); margin-top: 2px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.msg-item .mi-arrow { color: var(--text-4); flex: none; }

/* ---------- 我的页 ---------- */
.mine-hero {
  background: #14161C url("../assets/img/home-header-bg.png") center/cover no-repeat;
  padding: 0 16px 18px;
  color: #fff;
}
.mine-hero .home-topbar .ht-title { font-size: 17px; }
.mine-user { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.mine-user .avatar-wrap { position: relative; }
.mine-user .avatar-wrap img.avatar { width: 58px; height: 58px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.25); }
.mine-user .hu-name { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 7px; }
.mine-user .role-tag {
  font-size: 11px; color: #E9FFD0;
  background: rgba(124, 179, 5, 0.35);
  border: 1px solid rgba(181, 230, 29, 0.4);
  padding: 2px 8px; border-radius: 6px;
}
.mine-user .hu-id { margin-top: 5px; font-size: 12px; color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 5px; }
.mine-user .hu-id .id-chip {
  background: rgba(255,255,255,0.12); border-radius: 5px; padding: 1px 7px;
  font-size: 11px; display: inline-flex; align-items: center; gap: 4px;
}

.section-label { font-size: 15px; font-weight: 700; margin: 16px 12px 0; display: flex; align-items: center; justify-content: space-between; }
.section-label .more { font-size: 12px; color: var(--text-3); font-weight: 400; }

.order-status-row { display: grid; grid-template-columns: repeat(6, 1fr); padding: 14px 4px 6px; }
.order-status-row .os { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; color: var(--text-2); }
.order-status-row .os img { width: 30px; height: 30px; }

.club-row { display: flex; align-items: center; gap: 12px; }
.club-row img.cr-logo { width: 44px; height: 44px; border-radius: 10px; }
.club-row .cr-info { flex: 1; }
.club-row .cr-name { font-size: 15px; font-weight: 600; }
.club-row .cr-sub { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.club-row .cr-go { color: var(--text-3); font-size: 12px; display: flex; align-items: center; gap: 3px; }

.entry-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  font-size: 14px;
}
.entry-row + .entry-row { border-top: 1px solid var(--line); }
.entry-row .er-go { color: var(--text-3); font-size: 12px; display: flex; align-items: center; gap: 3px; }

.btn-logout {
  display: block;
  width: calc(100% - 24px);
  margin: 20px 12px 26px;
  padding: 13px 0;
  border-radius: 999px;
  background: #222;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

/* ---------- 缴费/保证金等子页 ---------- */
.sub-tabs { display: flex; margin: 12px; background: #fff; border-radius: 999px; padding: 4px; box-shadow: var(--shadow); }
.sub-tabs .st {
  flex: 1; text-align: center;
  font-size: 13px; color: var(--text-2);
  padding: 8px 0; border-radius: 999px;
  position: relative;
}
.sub-tabs .st.on { color: #14360B; font-weight: 600; background: linear-gradient(90deg,#B5E61D,#7CB305); }
.sub-tabs.plain .st.on { background: none; color: var(--text); font-weight: 700; }
.sub-tabs.plain .st.on::after {
  content: ""; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 3px; border-radius: 2px; background: linear-gradient(90deg,#B5E61D,#7CB305);
}
/* 多标签横向滚动（订单状态） */
.sub-tabs.scrollable { overflow-x: auto; flex-wrap: nowrap; }
.sub-tabs.scrollable .st { flex: none; padding: 8px 14px; }
.sub-tabs.scrollable::-webkit-scrollbar { display: none; }

.amount-card { text-align: center; padding: 22px 0 18px; }
.amount-card .ac-label { font-size: 13px; color: var(--text-2); display: flex; align-items: center; justify-content: center; gap: 6px; }
.amount-card .ac-value { font-size: 38px; font-weight: 800; margin-top: 6px; font-family: "DIN Alternate", Arial, sans-serif; }

.wallet-total { background: var(--green-card); border-radius: 14px; margin: 12px; padding: 20px 16px; color: #17310A; }
.wallet-total .wt-label { font-size: 12px; opacity: 0.75; }
.wallet-total .wt-value { font-size: 36px; font-weight: 800; margin-top: 4px; font-family: "DIN Alternate", Arial, sans-serif; }
.wallet-total .wt-row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; font-size: 12px; }

.pay-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; }
.pay-row + .pay-row { border-top: 1px solid var(--line); }
.pay-row img { width: 34px; height: 34px; }
.pay-row .pr-name { flex: 1; font-size: 15px; font-weight: 500; }
.pay-row .pr-auth { font-size: 12px; color: var(--text-3); margin-right: 8px; }
.radio { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--text-4); flex: none; display: flex; align-items: center; justify-content: center; }
.radio.on { border-color: var(--green-deep); }
.radio.on::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green-deep); }

/* 提现收款二维码 */
.wd-qr { width: 148px; height: 148px; margin: 0 auto; border-radius: 12px; border: 1px dashed #D7DAE0; background: #FAFBFC; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.wd-qr img { width: 100%; height: 100%; object-fit: contain; }
.wd-qr .wd-qr-ph { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 22px; color: #B7BCC6; }
.wd-qr .wd-qr-ph span { font-size: 11px; color: #9AA0AA; }
.wd-qr-tip { text-align: center; font-size: 11px; color: #9AA0AA; margin-top: 8px; }
.wd-qr-img { display: flex; justify-content: center; padding: 12px 0 4px; }
.wd-qr-img img { width: 168px; height: 168px; object-fit: contain; border-radius: 10px; border: 1px solid #EEF0F3; background: #fff; }
.epay-switch { display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 600; color: var(--text); }

.rules-text { font-size: 12px; color: var(--text-3); line-height: 1.9; }

/* ---------- 排行榜 ---------- */
.rank-tabs { display: flex; gap: 12px; padding: 12px 12px 0; position: relative; z-index: 2; }
.rank-tabs .rt {
  flex: 1; text-align: center; padding: 9px 0;
  font-size: 14px; font-weight: 600; color: var(--text-2);
  background: #fff; border-radius: 10px; box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.rank-tabs .rt.on { color: #2E440E; background: linear-gradient(105deg, #EFFFBE, #D6F79E); }
/* 皇家盾牌徽章 tab — 金色系（守护排行榜） */
.rank-tabs .rt.royal {
  position: relative; padding: 13px 0 15px; border-radius: 9px;
  background: linear-gradient(180deg, #C6F26A 0%, #9BD10A 55%, #7CB305 100%);
  color: #14360B; font-size: 15px; font-weight: 700; letter-spacing: 1px;
  box-shadow: 0 5px 16px rgba(124, 179, 5, 0.35), inset 0 0 0 1.5px rgba(255, 215, 130, 0.85);
}
.rank-tabs .rt.royal > b { font-weight: 700; position: relative; z-index: 1; }
.rank-tabs .rt.royal.on {
  background: linear-gradient(180deg, #FFF9E8 0%, #FFEDC4 55%, #FFE1A0 100%);
  color: #A8730A;
  box-shadow: 0 5px 16px rgba(217, 166, 65, 0.45), inset 0 0 0 1.5px rgba(217, 166, 65, 0.9);
}
.rt-ch { position: absolute; top: 50%; transform: translateY(-50%); width: 0; height: 0; border-style: solid; }
.rt-ch.l { left: -15px; border-width: 9px 13px 9px 0; border-color: transparent #E8C262 transparent transparent; filter: drop-shadow(0 0 2px rgba(232, 194, 98, 0.6)); }
.rt-ch.r { right: -15px; border-width: 9px 0 9px 13px; border-color: transparent transparent transparent #E8C262; filter: drop-shadow(0 0 2px rgba(232, 194, 98, 0.6)); }
.rt-gem { position: absolute; top: -7px; left: 50%; transform: translateX(-50%) rotate(45deg); width: 9px; height: 9px; background: linear-gradient(135deg, #FFE9B8, #E8C262); border-radius: 2px; box-shadow: 0 0 6px rgba(232, 194, 98, 0.8); }
.rt-div { position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%); width: 34px; height: 1px; background: currentColor; opacity: 0.35; border-radius: 1px; }
.rt-div::after { content: ""; position: absolute; top: -2px; left: 50%; transform: translateX(-50%) rotate(45deg); width: 4px; height: 4px; background: currentColor; border-radius: 1px; }
/* 绿色系（陪玩排行榜） */
.rank-tabs.royal-green .rt.royal {
  background: linear-gradient(180deg, #2E3A2E 0%, #26302A 100%);
  color: rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 0 0 1.5px rgba(157, 218, 141, 0.35);
}
.rank-tabs.royal-green .rt.royal.on {
  background: linear-gradient(180deg, #3E5238 0%, #33462F 100%);
  color: #fff;
  box-shadow: 0 0 18px rgba(157, 218, 141, 0.45), inset 0 0 0 1.5px rgba(157, 218, 141, 0.9);
}
.rank-tabs.royal-green .rt-ch, .rank-tabs.royal-green .rt-gem { display: none; }
.rt-crown { width: 13px; height: 11px; color: #E8C262; flex: none; opacity: 0.9; }
.rt-crown.r { transform: scaleX(-1); }
.rank-tabs.royal-green .rt.royal:not(.on) .rt-crown { opacity: 0.45; }
.rank-tabs.royal-green .rt-div { opacity: 0.25; }
/* 用户排行榜 hero 背景 */
.rank-hero-user-page { position: relative; background: radial-gradient(90% 55% at 50% 0%, #3D2E1C 0%, #241B12 45%, #17110D 100%); }
.rank-hero-user-page::before {
  content: ""; position: absolute; top: 118px; left: 0; right: 0; height: 130px; pointer-events: none;
  background: radial-gradient(62% 100% at 50% 0%, rgba(222, 174, 92, 0.32) 0%, rgba(120, 88, 44, 0.12) 55%, transparent 78%);
}
.rank-hero-img { position: absolute; top: 0; left: 0; width: 100%; height: auto; }
.rank-hero-user-page .rank-sub { margin-top: 40px; }
.rank-hero-user-page .podium { padding-top: 14px; }
.rank-hero-user-page .rank-empty-card { background: #171310; border: 1px solid rgba(217, 166, 65, 0.28); box-shadow: none; margin-top: 40px; }
.rank-sub { display: flex; gap: 18px; padding: 16px 16px 4px; font-size: 13px; color: var(--text-2); position: relative; z-index: 2; }
.rank-hero-dark .rank-sub { color: rgba(255, 255, 255, 0.55); }
.rank-hero-user-page .rank-sub { color: rgba(255, 255, 255, 0.55); }
.rank-sub .rs { position: relative; padding-bottom: 9px; }
.rank-sub .rs.on { color: var(--text); font-weight: 700; }
.rank-hero-dark .rank-sub .rs.on { color: #fff; }
.rank-hero-user-page .rank-sub .rs.on { color: #fff; }
.rank-sub .rs.on::after {
  content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 18px; height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='8'%3E%3Cpolyline points='1,6 5,2 9,6 13,2 17,6' stroke='%233ED598' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
}
.podium { display: flex; align-items: flex-end; justify-content: center; gap: 10px; padding: 22px 8px 8px; position: relative; z-index: 2; }
.podium .pd { display: flex; flex-direction: column; align-items: center; width: 110px; }
.podium .pd .pd-crown { width: 64px; height: auto; margin-bottom: -6px; z-index: 3; position: relative; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.45)); }
.podium .pd .pd-crown-img { display: block; margin-bottom: -3px; z-index: 3; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5)); }
.podium .pd-1 .pd-crown-img { width: 122px; }
.podium .pd-2 .pd-crown-img { width: 92px; }
.podium .pd-3 .pd-crown-img { width: 84px; }
.podium .pd .pd-badge {
  width: 104px;
  clip-path: polygon(0 0, 100% 0, 100% 74%, 50% 100%, 0 74%);
  padding: 14px 0 24px;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  position: relative;
}
.podium .pd .pd-rank { font-size: 13px; font-weight: 800; letter-spacing: 1px; }
.podium .pd-1 .pd-rank { color: #4A3008; text-shadow: 0 1px 0 rgba(255, 246, 214, 0.55); }
.podium .pd-2 .pd-rank { color: rgba(255, 255, 255, 0.92); }
.podium .pd-3 .pd-rank { color: rgba(255, 255, 255, 0.88); }
.pd-spk { position: absolute; font-size: 9px; font-style: normal; opacity: 0.85; }
.pd-spk.s1 { top: 40px; left: 4px; }
.pd-spk.s2 { top: 34px; right: 4px; }
.pd-spk.s3 { top: 62px; right: 8px; }
.podium .pd-1 .pd-spk { color: #FFF3D6; }
.podium .pd-2 .pd-spk { color: #C9D4E8; }
.podium .pd-3 .pd-spk { color: #F0D2B0; }
.podium .pd .pd-avatar {
  width: 62px; height: 62px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.65);
}
.podium .pd .pd-avatar img { width: 42px; height: 42px; opacity: 0.9; }
.podium .pd-2 .pd-avatar { width: 46px; height: 46px; }
.podium .pd-2 .pd-avatar img { width: 31px; height: 31px; }
.podium .pd-3 .pd-avatar { width: 44px; height: 44px; }
.podium .pd-3 .pd-avatar img { width: 30px; height: 30px; }
.rank-empty-card .empty { padding: 22px 0 26px; }
.rank-empty-card .empty img { width: 168px; }
.podium .pd .pd-name { font-size: 12px; color: #fff; font-weight: 600; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); }
.podium .pd .pd-val { font-size: 10px; color: rgba(255, 255, 255, 0.75); }
.podium .pd-1 .pd-badge { background: linear-gradient(180deg, #F7DE9C 0%, #E3B856 45%, #C9932F 100%); height: 180px; }
.podium .pd-2 .pd-badge { background: linear-gradient(180deg, #5B6489 0%, #464E6E 45%, #363C55 100%); height: 132px; padding: 12px 0 10px; gap: 4px; }
.podium .pd-3 .pd-badge { background: linear-gradient(180deg, #8A6248 0%, #6E4B34 45%, #57392A 100%); height: 124px; padding: 12px 0 8px; gap: 4px; }
.podium .pd-2 { order: 1; }
.podium .pd-1 { order: 2; }
.podium .pd-3 { order: 3; }
/* 陪玩排行榜绿色系领奖台 */
.podium-green .pd-1 .pd-badge { background: linear-gradient(180deg, #B5DE9E 0%, #6FA85E 45%, #4C8440 100%); }
.podium-green .pd-1 .pd-rank { color: #2E4A26; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35); }
.podium-green .pd-1 .pd-spk { color: #EAF6DF; }
.podium-green .pd-2 .pd-badge { background: linear-gradient(180deg, #4A5670 0%, #37415A 45%, #2A3145 100%); }
.podium-green .pd-3 .pd-badge { background: linear-gradient(180deg, #7A6248 0%, #5E4A34 45%, #48371F 100%); }
.rank-refresh {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 15px;
}
.rank-hero-dark { background: radial-gradient(80% 60% at 50% 0%, #3A2F6E 0%, #241E48 45%, #191533 100%); color: #fff; }
.rank-hero-player { background: radial-gradient(85% 55% at 50% 0%, #243324 0%, #151D15 50%, #0B0D0B 100%); color: #fff; }
.rank-hero-player .navbar, .rank-hero-player .navbar .nav-back { color: #fff; }
.rank-hero-player .navbar { background: transparent; }
.rank-hero-player .navbar::after { display: none; }
.rank-hero-player .empty .empty-text { color: rgba(255, 255, 255, 0.55); }
.rank-hero-player .rank-sub { color: rgba(255, 255, 255, 0.5); }
.rank-hero-player .rank-sub .rs.on { color: #fff; }
.rank-hero-green { background: radial-gradient(80% 60% at 50% 0%, #3E5B2A 0%, #2A4222 45%, #1B2E17 100%); color: #fff; }
.rank-hero-dark .navbar { background: transparent; color: #fff; }
.rank-hero-dark .navbar .nav-back { color: #fff; }
.rank-hero-dark .navbar::after { display: none; }
.rank-hero-dark .empty .empty-text { color: rgba(255, 255, 255, 0.6); }
.rank-empty-card { background: rgba(255, 255, 255, 0.05); box-shadow: none; margin-top: 0; border-radius: 16px; }

/* ---------- 平台消息 ---------- */
.notice-time { text-align: center; font-size: 11px; color: var(--text-3); margin: 14px 0 10px; }
.notice-card { margin: 0 12px 14px; background: #fff; border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.notice-card .nc-title { font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; }
.notice-card .nc-dot { width: 7px; height: 7px; border-radius: 50%; background: #FF4D4F; flex: none; }
.notice-card .nc-body { font-size: 12px; color: var(--text-2); line-height: 1.7; margin-top: 8px; }
.notice-card .nc-link { font-size: 12px; color: var(--text-3); margin-top: 8px; display: flex; align-items: center; gap: 3px; }
.notice-end { text-align: center; font-size: 11px; color: var(--text-4); padding: 6px 0 24px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.notice-end::before, .notice-end::after { content: ""; width: 36px; height: 1px; background: var(--line); }

/* ---------- 联系客服 ---------- */
.service-warn {
  margin: 12px; background: #FFF1F0; border: 1px solid #FFCCC7;
  border-radius: 10px; padding: 10px 12px;
  display: flex; gap: 8px; align-items: flex-start;
  font-size: 12px; color: #F5222D; line-height: 1.7;
}
.chat-area { flex: 1; overflow-y: auto; padding: 10px 12px; display: flex; flex-direction: column; gap: 12px; }
.chat-sys { text-align: center; font-size: 12px; color: var(--text-3); }
.chat-bar {
  flex: none;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 0 0 calc(9px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}
.chat-bar .cb-quick { display: flex; gap: 6px; background: #F7F8FA; padding: 9px 10px; }
.chat-bar .cb-quick .cbq {
  font-size: 11px; color: var(--text-2);
  background: #fff; border-radius: 999px; padding: 6px 10px;
  display: flex; align-items: center; gap: 4px; white-space: nowrap;
}
.chat-bar .cb-row { display: flex; align-items: center; gap: 8px; padding: 9px 10px 0; }
.chat-bar .cb-mic {
  width: 38px; height: 38px; border-radius: 50%; background: #1A1A1A;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.chat-bar .cb-input {
  flex: 1; height: 38px; background: #F5F5F6; border: none; border-radius: 999px;
  padding: 0 14px; font-size: 13px; color: var(--text);
  outline: none;
}
.chat-bar .cb-input::placeholder { color: var(--text-3); }
.chat-bar .cb-send {
  background: linear-gradient(90deg,#B5E61D,#7CB305);
  color: #fff; font-size: 13px; font-weight: 600;
  padding: 10px 18px; border-radius: 999px; flex: none;
}

/* ---------- 协议文本页 ---------- */
.doc-page { background: #fff; }
.doc-page .scroll { padding: 16px 18px 40px; }
.doc-page h1 { font-size: 19px; font-weight: 700; text-align: center; margin: 10px 0 16px; }
.doc-page h2 { font-size: 15px; font-weight: 700; margin: 18px 0 8px; }
.doc-page p { font-size: 13px; color: var(--text-2); line-height: 1.9; margin-bottom: 8px; text-align: justify; }
.doc-page .doc-meta { text-align: center; font-size: 12px; color: var(--text-3); line-height: 2; margin-bottom: 12px; }

/* ---------- 后台管理页 ---------- */
.admin-body { background: #F0F2F5; display: block; padding: 0; min-height: 100vh; }
.admin-wrap { max-width: 1080px; margin: 0 auto; padding: 20px; }
.admin-header {
  background: linear-gradient(120deg, #1D2433 0%, #14161C 60%, #0A0D18 100%);
  color: #fff;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0 0 18px 18px;
  position: relative;
  overflow: hidden;
}
.admin-header::after {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(181,230,29,0.25), transparent 70%);
}
.admin-header .ah-title { font-size: 20px; font-weight: 800; display: flex; align-items: center; gap: 12px; }
.admin-header .ah-title img { width: 38px; height: 38px; border-radius: 10px; }
.admin-header .ah-sub { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 4px; }
.admin-header .ah-link {
  background: rgba(181,230,29,0.15);
  border: 1px solid rgba(181,230,29,0.45);
  color: var(--green); font-size: 13px;
  padding: 9px 18px; border-radius: 999px; z-index: 1;
}
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 20px 0; }
.admin-stat { background: #fff; border-radius: 14px; padding: 18px; box-shadow: 0 2px 10px rgba(0,0,0,0.04); }
.admin-stat .as-label { font-size: 12px; color: var(--text-3); }
.admin-stat .as-value { font-size: 28px; font-weight: 800; margin-top: 6px; }
.admin-stat .as-value.green { color: var(--green-deep); }
.admin-panel { background: #fff; border-radius: 14px; box-shadow: 0 2px 10px rgba(0,0,0,0.04); margin-bottom: 20px; overflow: hidden; }
.admin-panel .ap-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
}
.admin-panel .ap-title { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.admin-panel .ap-body { padding: 16px 20px; }
.admin-btn {
  font-size: 13px; padding: 8px 16px; border-radius: 8px;
  background: var(--green); color: #1F3A08; font-weight: 600;
}
.admin-btn.ghost { background: #F0F2F5; color: var(--text-2); font-weight: 500; }
.admin-btn.danger { background: #FFF1F0; color: #CF1322; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { text-align: left; padding: 12px 14px; font-size: 13px; border-bottom: 1px solid var(--line); }
.admin-table th { color: var(--text-3); font-weight: 500; background: #FAFBFC; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.admin-tag.on { background: #F6FFE9; color: var(--green-deep); }
.admin-tag.off { background: #F5F5F5; color: var(--text-3); }
.admin-tag.red { background: #FFF1F0; color: #CF1322; }
.admin-code { font-family: "DIN Alternate", monospace; font-weight: 700; letter-spacing: 1px; color: #7CB305; }
.admin-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; align-items: end; }
.admin-form .af-item { display: flex; flex-direction: column; gap: 6px; }
.admin-form label { font-size: 12px; color: var(--text-2); }
.admin-form input, .admin-form select {
  height: 40px; border: 1px solid var(--line); border-radius: 8px;
  padding: 0 12px; font-size: 14px; background: #fff;
}
.admin-form input:focus { border-color: var(--green-deep); outline: none; }
.admin-club-logo {
  width: 34px; height: 34px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; color: #fff; font-size: 14px; flex: none;
}
.admin-empty { text-align: center; color: var(--text-3); font-size: 13px; padding: 34px 0; }
.admin-note { font-size: 12px; color: var(--text-3); line-height: 1.8; background: #FFFDF2; border: 1px solid #F5E9B8; border-radius: 10px; padding: 12px 14px; margin-top: 14px; }

/* ---------- 后台登录闸门 ---------- */
.admin-gate {
  position: fixed; inset: 0; z-index: 999;
  background: linear-gradient(160deg, #14161C 0%, #0A0D18 100%);
  display: flex; align-items: center; justify-content: center;
}
.admin-gate .ag-box {
  width: 340px; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 18px; padding: 36px 30px 30px;
  display: flex; flex-direction: column; align-items: center;
  backdrop-filter: blur(8px);
}
.admin-gate .ag-logo { width: 72px; height: 72px; border-radius: 16px; }
.admin-gate .ag-title { font-size: 17px; font-weight: 700; color: #fff; margin-top: 16px; }
.admin-gate .ag-sub { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 6px; }
.admin-gate .ag-field {
  width: 100%; margin-top: 26px;
  display: flex; flex-direction: column; gap: 8px;
}
.admin-gate .ag-field span { font-size: 12px; color: rgba(255,255,255,0.6); }
.admin-gate .ag-field input {
  height: 42px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06); color: #fff; padding: 0 14px; font-size: 14px;
}
.admin-gate .ag-field input:focus { border-color: var(--green); outline: none; }
.admin-gate .ag-btn {
  width: 100%; height: 42px; margin-top: 18px;
  background: linear-gradient(90deg, var(--green), var(--green-deep));
  color: #1F3A08; font-size: 15px; font-weight: 700; border-radius: 10px;
}
.admin-gate .ag-tip { font-size: 11px; color: rgba(255,255,255,0.35); margin-top: 16px; }

/* ---------- 抢单器（简洁版） ---------- */
.gr-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.gr-title { font-size: 16px; font-weight: 700; }
.gr-sub { font-size: 12px; color: #86909C; margin-top: 5px; line-height: 1.5; }
.gr-badge { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: #F2F3F5; color: #86909C; flex: none; }
.gr-badge.on { background: #E8FFEA; color: #009A29; }
.gr-meta { display: flex; justify-content: space-between; margin-top: 16px; font-size: 13px; color: #86909C; }
.gr-meta b { color: #1D2129; font-weight: 600; }
.gr-buy { width: 100%; margin-top: 14px; height: 44px; border-radius: 999px; background: linear-gradient(90deg, #A8DC12, #7CB305); color: #14360B; font-weight: 700; font-size: 15px; }
.gr-buy.disabled { background: #EDEFF2; color: #A9AEB8; }
.gr-tabs { display: flex; background: #fff; margin: 12px 12px 0; border-radius: 10px; padding: 4px; border: 1px solid #EDEFF2; }
.grt { flex: 1; text-align: center; padding: 9px 0; font-size: 13px; color: #86909C; border-radius: 8px; }
.grt.on { background: #F3FBDF; color: #5F8A00; font-weight: 600; }
.gr-empty { text-align: center; color: #A9AEB8; font-size: 13px; padding: 26px 0 18px; }
.gr-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid #F2F3F5; }
.gr-row:first-of-type { border-top: none; }
.gr-row-info { flex: 1; min-width: 0; }
.gr-row-name { font-size: 14px; font-weight: 500; }
.gr-row-desc { font-size: 11px; color: #86909C; margin-top: 3px; line-height: 1.5; }
.gr-row-link { font-size: 12px; color: #5F8A00; border: 1px solid #D9EFB0; background: #F7FDEC; padding: 5px 13px; border-radius: 999px; flex: none; }
.gr-plan-btn { font-size: 13px; font-weight: 600; color: #14360B; background: #F3FBDF; border: 1px solid #D9EFB0; padding: 7px 14px; border-radius: 999px; flex: none; }

/* ---------- 移动端防横向溢出（避免浏览器自动缩放） ---------- */
@media (max-width: 767px) {
  html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
  .phone { max-width: 100vw; }
}

/* ---------- 个人设置 ---------- */
.pf-avatar { display: flex; flex-direction: column; align-items: center; padding: 26px 0 20px; background: #fff; }
.pf-avatar img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.pf-avatar-tip { font-size: 12px; color: #86909C; margin-top: 12px; }
.pf-list { background: #fff; margin-top: 10px; }
.pf-row { display: flex; align-items: center; justify-content: space-between; padding: 15px 16px; border-bottom: 1px solid #F2F3F5; }
.pf-row:last-child { border-bottom: none; }
.pf-label { font-size: 14px; color: #4E5969; flex: none; }
.pf-input { flex: 1; text-align: right; border: none; outline: none; background: transparent; font-size: 14px; color: #1D2129; min-width: 0; }
.pf-value { font-size: 14px; color: #86909C; }
.pf-save { width: 100%; height: 48px; border-radius: 999px; background: #1D2129; color: #fff; font-weight: 600; font-size: 15px; }

/* ---------- 我的页（原版白底标题） ---------- */
.mine-top { position: relative; height: 52px; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 600; background: #fff;
  border-bottom: 1px solid #F2F3F5;
}

/* 首页右上在线状态胶囊 */
.home-status {
  margin-left: auto; align-self: flex-start;
  background: linear-gradient(90deg,#B5E61D,#7CB305);
  color: #14360B; font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px; white-space: nowrap;
}
.home-status.off { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.65); }

/* 我的页用户信息卡 */
.mine-user-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px 16px; background: #fff; }
.muc-avatar { position: relative; width: 56px; height: 56px; flex: none; }
.muc-avatar img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.muc-audit { position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%); background: rgba(0,0,0,0.55); color: #fff; font-size: 9px; padding: 1px 7px; border-radius: 999px; white-space: nowrap; }
.muc-info { flex: 1; min-width: 0; }
.muc-name { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.muc-role { font-size: 10px; font-weight: 500; background: #F2F3F5; color: #86909C; padding: 1px 6px; border-radius: 4px; }
.muc-id { font-size: 12px; color: #86909C; margin-top: 4px; }
.muc-switch { background: #1D2129; color: #fff; font-size: 12px; padding: 7px 13px; border-radius: 999px; white-space: nowrap; flex: none; }
.muc-level { position: absolute; top: -7px; left: -6px; background: linear-gradient(135deg,#8B5CF6,#D946EF); color: #fff; font-size: 9px; line-height: 1.7; padding: 0 7px; border-radius: 999px; white-space: nowrap; box-shadow: 0 3px 8px rgba(139,92,246,.35); }
.muc-role.kf { background: #1D2129; color: #fff; }
.mt-title { font-size: 17px; font-weight: 600; }

/* 客服工作台：上班 / 下班 */
.work-bar { background: #fff; padding: 2px 0 18px; display: flex; justify-content: center; margin-bottom: 10px; }
.work-toggle { display: inline-flex; gap: 10px; }
.wt-seg { min-width: 104px; text-align: center; padding: 10px 22px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #fff; opacity: .32; transition: .2s; }
.wt-seg[data-work="下班"] { background: #1D2129; }
.wt-seg[data-work="上班"] { background: #3B5BFF; }
.wt-seg.active { opacity: 1; box-shadow: 0 4px 12px rgba(29,33,41,.18); }

/* 状态选择弹窗 */
.pick-list { padding: 2px 0 6px; }
.pick-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid #F2F3F5; font-size: 15px; color: #1D2129; }
.pick-row:last-child { border-bottom: none; }
.pick-row.on { color: #5F8A00; font-weight: 600; }
.pick-ok { color: #7CB305; font-weight: 700; }

/* 切换身份加载遮罩 */
.switch-mask { position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,0.35); display: flex; align-items: center; justify-content: center; }
.switch-box { width: 120px; height: 120px; border-radius: 12px; background: rgba(28,28,30,0.86); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #fff; font-size: 13px; }
.switch-box img { width: 46px; height: 46px; object-fit: contain; }

/* 员工信息审核 */
.audit-tip { font-size: 12px; color: #86909C; padding: 14px 16px 4px; }
.audit-top { display: flex; align-items: center; justify-content: space-between; font-size: 15px; }
.audit-sub { font-size: 12px; color: #86909C; margin-top: 6px; }
.audit-tag { font-size: 11px; padding: 2px 8px; border-radius: 999px; }
.audit-tag.ok { background: #E8FFEA; color: #009A29; }
.audit-tag.warn { background: #FFF3E8; color: #D25F00; }
.audit-tag.off { background: #F2F3F5; color: #86909C; }
.audit-ops { display: flex; gap: 10px; margin-top: 12px; }
.audit-btn { flex: 1; height: 38px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.audit-btn.ok { background: linear-gradient(90deg,#B5E61D,#7CB305); color: #14360B; }
.audit-btn.no { background: #F2F3F5; color: #86909C; }

/* 功能图标统一绿色（黄色素材调成品牌绿） */
.mt-back { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 22px; color: #1D2129; padding: 4px 8px; }
.fn-grid .fn img.tint-green { filter: hue-rotate(45deg) saturate(1.7) brightness(0.96); }

/* ---------- 俱乐部大厅（可折叠） ---------- */
.club-hall-head { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.club-hall-head .more { display: inline-flex; align-items: center; gap: 4px; }
.club-hall-head .ch-arrow { transition: transform .22s ease; }
.club-hall-head .ch-arrow.on { transform: rotate(180deg); }
.club-hall-more { margin-top: 4px; padding-top: 4px; border-top: 1px solid #F2F3F5; }
.club-hall-more .club-row { padding-top: 12px; padding-bottom: 4px; }

/* ---------- 陪玩管理（邀请码 / 分成） ---------- */
.pm-code {
  text-align: center; font-size: 30px; font-weight: 800; letter-spacing: 5px;
  color: #14360B; padding: 18px 0 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.pm-code-tip { text-align: center; font-size: 12px; color: #86909C; margin-bottom: 16px; }
.pm-code-ops { display: flex; gap: 10px; }
.pm-btn {
  flex: 1; height: 42px; border-radius: 999px; font-size: 14px; font-weight: 700;
  background: linear-gradient(90deg, #B5E61D, #7CB305); color: #14360B;
}
.pm-btn.ghost { background: #F2F3F5; color: #1D2129; }
.pm-code-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pm-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: #F4FBE4; border: 1px solid #DCEEBC; color: #3F5A0E;
  font-size: 12px; font-weight: 700; letter-spacing: .5px;
  padding: 6px 10px; border-radius: 8px;
}
.pm-chip i { font-style: normal; font-size: 10px; color: #7C9A3E; font-weight: 500; }
.pm-chip.empty { background: #F7F8FA; border-color: #EDEFF2; color: #A6ADBB; font-weight: 500; }
.pm-tip { font-size: 12px; color: #86909C; padding: 0 0 6px; }
.pm-item { border-top: 1px solid #F5F6F8; padding: 12px 0; }
.pm-item:first-of-type { border-top: none; }
.pm-row { display: flex; align-items: center; gap: 10px; }
.pm-av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #F2F3F5; }
.pm-info { flex: 1; min-width: 0; }
.pm-name { font-size: 15px; font-weight: 600; color: #1D2129; display: flex; align-items: center; gap: 6px; }
.pm-tag { font-size: 10px; font-weight: 600; color: #3F5A0E; background: #F4FBE4; border-radius: 4px; padding: 1px 6px; }
.pm-sub { font-size: 12px; color: #86909C; margin-top: 3px; }
.pm-set { font-size: 13px; color: #86909C; flex: none; }
.pm-edit { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding-left: 50px; font-size: 13px; color: #4E5969; }
.pm-edit input {
  flex: 1; min-width: 0; height: 38px; border-radius: 8px; border: 1px solid #E5E6EB;
  padding: 0 10px; font-size: 14px; color: #1D2129; background: #fff;
}
.pm-edit .pm-btn { flex: none; width: 78px; height: 38px; border-radius: 8px; }

/* ---------- 审核角标（已认证） ---------- */
.muc-audit.ok { background: #E8F7D2; color: #3F5A0E; }

/* ---------- 接单池订单卡片 ---------- */
.pool-list { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.pool-card { background: #fff; border-radius: 12px; padding: 14px; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.pc-top { display: flex; align-items: center; justify-content: space-between; }
.pc-game { font-size: 12px; font-weight: 700; color: #3F5A0E; background: #F4FBE4; border-radius: 6px; padding: 2px 8px; }
.pc-price { font-size: 18px; font-weight: 800; color: #E24C3E; }
.pc-title { font-size: 15px; font-weight: 600; color: #1D2129; margin: 10px 0 12px; }
.pc-foot { display: flex; align-items: center; justify-content: space-between; }
.pc-meta { font-size: 12px; color: #86909C; }
.pc-take { height: 34px; padding: 0 18px; border-radius: 999px; background: linear-gradient(90deg,#B5E61D,#7CB305); color: #14360B; font-size: 13px; font-weight: 700; }

/* ---------- 我的订单卡片 ---------- */
.od-card { margin: 12px; }
.od-top { display: flex; align-items: center; justify-content: space-between; }
.od-top b { font-size: 14px; color: #1D2129; }
.od-price { font-size: 16px; font-weight: 800; color: #E24C3E; }
.od-title { font-size: 14px; color: #1D2129; margin: 8px 0 10px; }
.od-foot { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: #86909C; }
.od-state { color: #3F5A0E; background: #F4FBE4; border-radius: 999px; padding: 2px 10px; font-weight: 600; }

/* ---------- 抢单器订单行 ---------- */
.gr-order { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid #F2F3F5; }
.gr-order:first-of-type { border-top: none; }
.gro-main { flex: 1; min-width: 0; }
.gro-title { font-size: 14px; font-weight: 600; color: #1D2129; }
.gro-sub { font-size: 12px; color: #86909C; margin-top: 3px; }
.gro-price { font-size: 15px; font-weight: 800; color: #E24C3E; }
.gr-take { width: 100%; height: 46px; margin-top: 14px; border-radius: 999px; background: linear-gradient(90deg,#B5E61D,#7CB305); color: #14360B; font-size: 15px; font-weight: 800; }
.gr-take.disabled { background: #F2F3F5; color: #A6ADBB; }

/* ---------- 空团队提示 ---------- */
.pm-empty { text-align: center; color: #86909C; font-size: 13px; padding: 22px 0 14px; line-height: 1.9; }
.pm-empty span { font-size: 12px; color: #A6ADBB; }

/* ---------- 原版订单 / 审核卡片 ---------- */
.oc-card { background: #fff; border-radius: 10px; margin: 0 12px 10px; padding: 12px 12px 14px; }
.oc-head { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: #86909C; padding-bottom: 10px; }
/* 抽奖奖品订单（接单大厅） */
.oc-card.oc-lot { border-color: rgba(245,210,142,.55); background: linear-gradient(180deg, rgba(245,210,142,.08), rgba(255,255,255,.02)); }
.oc-card.oc-lot .oc-tag { background: linear-gradient(90deg,#F5D28E,#E0AE4E); color: #4A3410; }
.oc-tag { font-size: 11px; color: #E6A23C; background: #FFF8EC; border: 1px solid #FFE2B8; border-radius: 4px; padding: 1px 7px; font-weight: 600; }
.oc-body { background: #F7F8FA; border: 1px dashed #E5E6EB; border-radius: 6px; padding: 10px 12px; }
.oc-row { display: flex; font-size: 12px; line-height: 1.95; }
.oc-row .k { color: #86909C; flex: none; }
.oc-row .v { flex: 1; color: #1D2129; word-break: break-all; }
.oc-btn {
  width: 100%; height: 44px; margin-top: 12px; border-radius: 6px;
  background: #1D2129; color: #C7F464; font-size: 15px; font-weight: 700; letter-spacing: 2px;
}
.oc-btn.ghost { background: #F2F3F5; color: #4E5969; letter-spacing: 1px; }
.oc-actions { display: flex; gap: 10px; }
.oc-actions .oc-btn { margin-top: 12px; }

/* 审核页提示 */
.audit-hint { margin: 12px 12px 10px; font-size: 12px; color: #86909C; line-height: 1.7; }

/* ---------- 订单管理（客服端） ---------- */
.om-search { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: #fff; }
.om-search input {
  flex: 1; height: 38px; border-radius: 999px; background: #F5F6F8;
  padding: 0 14px; font-size: 13px; color: #1D2129; border: none; outline: none;
}
.om-search button { font-size: 14px; font-weight: 600; color: #5B6BFF; flex: none; }
.om-games { display: flex; gap: 8px; overflow-x: auto; padding: 4px 12px 10px; background: #fff; }
.om-games::-webkit-scrollbar { display: none; }
.om-game {
  flex: none; height: 34px; padding: 0 14px; border-radius: 8px; background: #F5F6F8;
  display: flex; align-items: center; font-size: 13px; color: #4E5969; white-space: nowrap;
}
.om-game.on { background: linear-gradient(90deg,#E8EBFF,#DDE3FF); color: #4B5BE8; font-weight: 600; }
.om-card { background: #fff; border-radius: 10px; margin: 10px 12px; padding: 12px; }
.om-main { display: flex; gap: 10px; padding: 4px 0 12px; }
.om-thumb { width: 64px; height: 64px; border-radius: 6px; object-fit: cover; background: #F2F3F5; flex: none; }
.om-title { flex: 1; font-size: 15px; font-weight: 600; color: #1D2129; line-height: 1.5; }
.om-sub { font-size: 12px; color: #86909C; margin-top: 6px; }
.om-ops { display: flex; gap: 8px; }
.om-ops button {
  flex: 1; height: 38px; border-radius: 6px; font-size: 13px; font-weight: 600;
  background: #F1F2FF; color: #5B6BFF;
}
.om-ops button.danger { background: #FFF0F0; color: #F53F3F; }
.om-ops button.warn { background: #FFF7E8; color: #D25F00; }
.om-ops button.ok { background: #E8FFEA; color: #009A29; }

/* ---------- 系统缴费 ---------- */
.sf-tabs { display: flex; background: #fff; }
.sf-tabs .sft { flex: 1; text-align: center; padding: 14px 0; font-size: 15px; color: #4E5969; position: relative; }
.sf-tabs .sft.on { font-weight: 700; color: #1D2129; }
.sf-tabs .sft.on::after {
  content: ""; position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%);
  width: 26px; height: 3px; border-radius: 2px; background: #5B6BFF;
}
.sf-card { background: #fff; border-radius: 10px; margin: 10px 12px; padding: 14px; position: relative; overflow: hidden; }
.sf-row { font-size: 14px; line-height: 2.1; color: #1D2129; display: flex; }
.sf-row .k { color: #86909C; flex: none; }
.sf-row .v { flex: 1; }
.sf-amount { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.sf-amount .amt { font-size: 15px; font-weight: 700; color: #1D2129; }
.sf-ops { display: flex; gap: 10px; }
.sf-ops button {
  min-width: 72px; height: 34px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: #fff; background: linear-gradient(90deg,#8B5CF6,#3B82F6);
}
.sf-stamp {
  position: absolute; right: 16px; top: 88px; width: 74px; height: 74px; border-radius: 50%;
  border: 2px solid rgba(245,63,63,.55); color: rgba(245,63,63,.75);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800;
  transform: rotate(-18deg); letter-spacing: 1px;
  box-shadow: inset 0 0 0 4px rgba(245,63,63,.12);
}
.sf-end { text-align: center; color: #C0C4CC; font-size: 13px; padding: 16px 0 26px; }

/* ---------- 发佣金 / 转入佣金钱包 ---------- */
.cm-acts { display: flex; gap: 10px; padding: 12px; }
.cm-act { flex: 1; background: #fff; border-radius: 10px; padding: 14px 6px; text-align: center; }
.cm-act .ica {
  width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 8px;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; font-weight: 700;
  background: linear-gradient(135deg,#8B5CF6,#3B82F6);
}
.cm-act .lbl { font-size: 13px; color: #1D2129; font-weight: 600; }
.cm-count { text-align: center; font-size: 12px; color: #86909C; padding: 6px 0 2px; }
.cm-table { background: #fff; margin: 8px 12px; border-radius: 10px; overflow: hidden; }
.cm-tr { display: flex; align-items: center; padding: 14px 12px; border-bottom: 1px solid #F5F6F8; font-size: 13px; }
.cm-tr.head { color: #86909C; font-size: 12px; padding: 10px 12px; }
.cm-tr .c1 { flex: 1; color: #1D2129; }
.cm-tr .c2 { width: 90px; text-align: center; color: #1D2129; }
.cm-tr .c3 { width: 64px; text-align: right; }
.cm-tr .c3 button { font-size: 12px; color: #5B6BFF; background: #F1F2FF; border-radius: 4px; padding: 4px 10px; }
.tf-tip { display: flex; align-items: flex-start; gap: 6px; margin: 10px 12px; padding: 10px 12px; background: #FFF1F0; border-radius: 8px; font-size: 12px; color: #F53F3F; line-height: 1.6; }
.tf-card { background: #fff; border-radius: 10px; margin: 0 12px; padding: 14px; }
.tf-row { display: flex; align-items: center; justify-content: space-between; font-size: 15px; }
.tf-pay { display: flex; gap: 26px; align-items: center; }
.tf-pay label { display: flex; align-items: center; gap: 7px; font-size: 15px; color: #1D2129; }
.tf-pay .rd { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #D0D3D9; }
.tf-pay .rd.on { border-color: #6D52FF; background: #6D52FF; box-shadow: inset 0 0 0 4px #fff; }
.tf-btn {
  width: 100%; height: 50px; margin-top: 16px; border-radius: 999px;
  background: linear-gradient(90deg,#8B5CF6,#3B82F6); color: #fff; font-size: 17px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.tf-table { margin: 14px 0 0; }
.tf-tr { display: flex; align-items: center; padding: 12px 0; border-top: 1px solid #F5F6F8; font-size: 12px; color: #4E5969; }
.tf-tr.head { color: #86909C; font-size: 11px; border-top: none; }
.tf-tr .t1 { width: 34px; flex: none; }
.tf-tr .t2 { flex: 1; }
.tf-tr .t3 { width: 62px; text-align: center; }
.tf-tr .t4 { width: 66px; text-align: right; }
.tf-tr .t5 { width: 92px; text-align: right; line-height: 1.5; }
.tf-pager { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 24px; background: #fff; font-size: 15px; color: #1D2129; }
.tf-pager button { font-size: 15px; color: #C0C4CC; }
.tf-pager button:not([disabled]) { color: #1D2129; }

/* ---------- 保证金 ---------- */
.dp-hero { margin: 14px 12px; background: #fff; border-radius: 12px; padding: 18px 16px; text-align: center; }
.dp-hero .lbl { font-size: 15px; color: #4E5969; display: flex; align-items: center; justify-content: center; gap: 10px; }
.dp-hero .val { font-size: 34px; font-weight: 800; color: #1D2129; margin: 12px 0 4px; }
.dp-btn {
  width: 100%; height: 46px; margin-top: 14px; border-radius: 999px;
  background: linear-gradient(90deg,#8B5CF6,#3B82F6); color: #fff; font-size: 16px; font-weight: 700;
}
.dp-modal-mask { position: absolute; inset: 0; background: rgba(0,0,0,.45); z-index: 200; display: flex; align-items: center; justify-content: center; }
.dp-modal { width: 300px; background: #fff; border-radius: 14px; padding: 18px 18px 22px; }
.dp-modal .dm-head { position: relative; text-align: center; font-size: 17px; font-weight: 700; margin-bottom: 16px; }
.dp-modal .dm-close { position: absolute; right: 0; top: 0; font-size: 20px; color: #86909C; }
.dp-modal .dm-input { height: 48px; border: 1px solid #E5E6EB; border-radius: 8px; text-align: center; font-size: 18px; width: 100%; }
.dp-modal .dm-pay { display: flex; align-items: center; justify-content: space-between; padding: 14px 2px; font-size: 15px; }
.dp-modal .dm-pay .left { display: flex; align-items: center; gap: 8px; }
.dp-modal .dm-pay .rd { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #D0D3D9; }
.dp-modal .dm-pay .rd.on { border-color: #6D52FF; background: #6D52FF; box-shadow: inset 0 0 0 4px #fff; }
.dp-modal .dm-ok { width: 100%; height: 46px; border-radius: 999px; background: linear-gradient(90deg,#8B5CF6,#3B82F6); color: #fff; font-size: 16px; font-weight: 700; margin-top: 8px; }
.fn-grid .fn svg { width: 34px; height: 34px; display: block; }

/* ---------- 订单卡片（图5样式） ---------- */
.od2-card { background: #fff; border-radius: 10px; margin: 10px 12px; padding: 12px; }
.od2-head { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: #86909C; padding-bottom: 8px; border-bottom: 1px dashed #EEF0F3; }
.od2-tag { font-size: 11px; font-weight: 600; border-radius: 4px; padding: 2px 8px; }
.od2-tag.done { color: #009A29; background: #E8FFEA; }
.od2-tag.ing { color: #2F6BFF; background: #EAF0FF; }
.od2-tag.wait { color: #D25F00; background: #FFF7E8; }
.od2-tag.dead { color: #86909C; background: #F2F3F5; }
.od2-row { display: flex; align-items: center; font-size: 12px; color: #4E5969; padding: 8px 0 2px; }
.od2-row .k { color: #86909C; flex: none; }
.od2-row .v { flex: 1; }
.od2-row .share { color: #1D2129; font-weight: 600; }
.od2-line { display: flex; align-items: center; font-size: 12px; color: #4E5969; padding: 5px 0; }
/* 首页服务中订单：添加陪护 / 查看详情 */
.od2-ops { display: flex; gap: 8px; justify-content: flex-end; margin-top: 9px; }
.od2-btn { font-size: 12px; font-weight: 600; border-radius: 999px; padding: 6px 14px; background: linear-gradient(90deg,#B5E61D,#7CB305); color: #14360B; }
.od2-btn.ghost { background: #fff; color: #4E5969; border: 1px solid #E5E6EB; font-weight: 400; }
.co-tag { display: inline-block; margin-left: 6px; font-size: 9px; font-style: normal; color: #7C4DFF; background: #F1EBFF; border-radius: 4px; padding: 1px 5px; vertical-align: 1px; }
.od2-line .k { color: #86909C; flex: none; }
.od2-line .v { flex: 1; color: #1D2129; word-break: break-all; }
.od2-cp { flex: none; font-size: 11px; color: #4E5969; border: 1px solid #E5E6EB; border-radius: 4px; padding: 2px 8px; background: #fff; }
.od2-box { background: #F7F8FA; border-radius: 6px; padding: 10px 12px; margin: 8px 0; }
.od2-box div { font-size: 12px; color: #4E5969; line-height: 1.95; }
.od2-box div b { color: #86909C; font-weight: 400; }
.od2-foot { display: flex; justify-content: flex-end; margin-top: 10px; }
.od2-foot button { height: 36px; padding: 0 18px; border-radius: 999px; background: linear-gradient(90deg,#B5E61D,#7CB305); color: #14360B; font-size: 13px; font-weight: 700; }
.od2-proof { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.od2-proof img { width: 64px; height: 64px; border-radius: 6px; object-fit: cover; background: #F2F3F5; }

/* 客服订单详情 */
.odt-imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.odt-imgs img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; background: #F2F3F5; }
.odt-tip { font-size: 11px; color: #9AA0AA; margin-top: 8px; }
.odt-empty { background: #F7F8FA; border-radius: 8px; padding: 20px 0; text-align: center; font-size: 13px; color: #9AA0AA; }
.odt-credit { margin-top: 10px; background: #F0FBEF; border: 1px solid #D6F0CF; color: #2F7A22; font-size: 12px; border-radius: 8px; padding: 10px 12px; }
.odt-bar { position: fixed; left: 0; right: 0; bottom: 0; display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: #fff; box-shadow: 0 -2px 12px rgba(0,0,0,.06); z-index: 20; max-width: 480px; margin: 0 auto; }
.odt-bar button { flex: 1; height: 44px; border-radius: 999px; font-size: 15px; font-weight: 600; }
.odt-bar .ghost { background: #F2F3F5; color: #4E5969; }
.odt-bar .ok { background: linear-gradient(90deg,#B5E61D,#7CB305); color: #14360B; }
.om-proof-hint { margin-top: 6px; font-size: 11px; color: #D25F00; background: #FFF7E8; border-radius: 4px; display: inline-block; padding: 2px 7px; }
.wl-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #F5F6F8; }
.wl-row:last-child { border-bottom: none; }
.wl-t { font-size: 13px; color: #1D2129; }
.wl-s { font-size: 11px; color: #9AA0AA; margin-top: 3px; }
.wl-a { font-size: 15px; font-weight: 700; }
.wl-a.in { color: #009A29; }
.wl-a.out { color: #1D2129; }
.fn-pay-btn { flex: none; height: 30px; padding: 0 14px; border: none; border-radius: 999px; background: linear-gradient(90deg,#B5E61D,#7CB305); color: #14360B; font-size: 12px; font-weight: 700; }

/* ---------- 罚款缴纳弹窗 ---------- */
.fp-box { text-align: left; }
.fp-info { display: flex; justify-content: space-between; font-size: 13px; padding: 7px 0; border-bottom: 1px solid #F5F6F8; }
.fp-info span { color: var(--text-3); }
.fp-info b { color: #1D2129; font-weight: 600; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fp-methods { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.fp-m { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; }
.fp-m.on { border-color: #7CB305; background: #F8FCEB; }
.fpm-ic { width: 32px; height: 32px; border-radius: 8px; background: #F2F3F5; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; color: #4E5969; }
.fpm-ic.wx { background: #2AAE67; color: #fff; }
.fpm-ic.zfb { background: #1677FF; color: #fff; }
.fp-m.on .fpm-ic { background: #E9F5C8; color: #4E7A00; }
.fp-m.on .fpm-ic.wx { background: #2AAE67; color: #fff; }
.fp-m.on .fpm-ic.zfb { background: #1677FF; color: #fff; }
.fpm-info { flex: 1; min-width: 0; }
.fpm-info b { display: block; font-size: 14px; color: #1D2129; }
.fpm-info span { display: block; font-size: 11px; color: var(--text-3); margin-top: 2px; }
.fp-ob { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #4E5969; margin-top: 12px; cursor: pointer; }
.fp-input { width: 100%; height: 40px; margin-top: 8px; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; font-size: 13px; outline: none; background: #fff; }
.fp-input:focus { border-color: #7CB305; }

/* 罚款单状态徽标 */
.fn-st { display: inline-block; font-style: normal; font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 999px; }
.fn-st.ok { color: #009A29; background: #E8F7EC; }
.fn-st.wait { color: #D25F00; background: #FFF7E8; }
.fn-st.off { color: #86909C; background: #F2F3F5; }

/* 提交完成弹窗 */
.sub-mask { position: absolute; inset: 0; background: rgba(0,0,0,.45); z-index: 210; display: flex; align-items: center; justify-content: center; }
.sub-modal { width: 320px; background: #fff; border-radius: 14px; padding: 18px; }
.sub-modal h3 { font-size: 16px; font-weight: 700; text-align: center; margin-bottom: 14px; }
.sub-modal textarea { width: 100%; height: 84px; border: 1px solid #E5E6EB; border-radius: 8px; padding: 10px; font-size: 13px; resize: none; outline: none; }
.sub-imgs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.sub-imgs .thumb { width: 64px; height: 64px; border-radius: 6px; object-fit: cover; }
.sub-imgs .add {
  width: 64px; height: 64px; border-radius: 6px; border: 1px dashed #D0D3D9; color: #C0C4CC;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.sub-ops { display: flex; gap: 10px; margin-top: 16px; }
.sub-ops button { flex: 1; height: 42px; border-radius: 999px; font-size: 15px; font-weight: 700; }
.sub-ops .ghost { background: #F2F3F5; color: #4E5969; }
.sub-ops .ok { background: linear-gradient(90deg,#B5E61D,#7CB305); color: #14360B; }

/* ---------- 陪护管理 ---------- */
.es-search { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #fff; }
.es-search .box { flex: 1; height: 38px; border-radius: 999px; background: #F5F6F8; display: flex; align-items: center; padding: 0 14px; }
.es-search input { flex: 1; border: none; outline: none; background: transparent; font-size: 13px; }
.es-search .go { font-size: 14px; font-weight: 600; color: #1D2129; }
.es-stats { display: flex; gap: 8px; padding: 10px 12px; background: #F5F6F8; }
.es-stat { flex: 1; background: #fff; border-radius: 8px; padding: 10px 10px 12px; }
.es-stat .lbl { font-size: 11px; color: #4E5969; display: flex; align-items: center; gap: 4px; }
.es-stat .lbl i { width: 14px; height: 14px; border-radius: 3px; background: #E8F0FF; color: #5B6BFF; font-style: normal; font-size: 10px; display: inline-flex; align-items: center; justify-content: center; }
.es-stat .val { font-size: 19px; font-weight: 800; color: #1D2129; margin-top: 8px; }
.es-team-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 14px 10px; background: #F5F6F8; }
.es-team-head .t { font-size: 16px; font-weight: 700; color: #1D2129; position: relative; padding-bottom: 6px; }
.es-team-head .t::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 3px; border-radius: 2px; background: #5B6BFF; }
.es-team-head .add { display: flex; align-items: center; gap: 4px; font-size: 13px; color: #5B6BFF; font-weight: 600; }
.es-filter { display: flex; align-items: center; justify-content: space-between; padding: 4px 12px 10px; background: #F5F6F8; }
.es-filter .left { font-size: 13px; color: #4E5969; }
.es-filter .right { display: flex; gap: 8px; }
.es-filter .chip { height: 30px; padding: 0 16px; border-radius: 999px; background: #fff; font-size: 13px; color: #4E5969; display: flex; align-items: center; }
.es-filter .chip.on { background: linear-gradient(90deg,#8B5CF6,#3B82F6); color: #fff; font-weight: 600; }
.es-card { background: #fff; border-radius: 10px; margin: 0 12px 10px; padding: 12px; }
.es-top { display: flex; align-items: center; gap: 10px; }
.es-av { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: #F2F3F5; }
.es-name { flex: 1; font-size: 16px; font-weight: 700; color: #1D2129; }
.es-state { font-size: 11px; border-radius: 999px; padding: 3px 10px; display: inline-flex; align-items: center; gap: 4px; }
.es-state.off { color: #F53F3F; background: #FFF0F0; }
.es-state.on { color: #009A29; background: #E8FFEA; }
.es-state.leave { color: #86909C; background: #F2F3F5; }
.es-metrics { display: flex; background: #F7F8FA; border-radius: 8px; margin: 10px 0; padding: 10px 0; }
.es-metric { flex: 1; text-align: center; position: relative; }
.es-metric + .es-metric::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: #E9EBEF; }
.es-metric .l { font-size: 11px; color: #86909C; }
.es-metric .v { font-size: 16px; font-weight: 700; color: #1D2129; margin-top: 4px; }
.es-ops { display: flex; gap: 8px; flex-wrap: wrap; }
.es-ops button { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid #E5E6EB; background: #fff; font-size: 12px; color: #1D2129; }
.es-ops button.danger { color: #F53F3F; border-color: #FFD6D6; }
.es-ops button.warn { color: #D25F00; border-color: #FFE2B8; }

/* ---------- 添加陪护表单 ---------- */
.fm-card { background: #fff; border-radius: 10px; margin: 10px 12px; padding: 4px 14px; }
.fm-row { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid #F5F6F8; }
.fm-row:last-child { border-bottom: none; }
.fm-row .k { width: 96px; flex: none; font-size: 14px; color: #1D2129; }
.fm-row .k em { color: #F53F3F; font-style: normal; margin-right: 2px; }
.fm-row input { flex: 1; border: none; outline: none; font-size: 14px; text-align: right; color: #1D2129; background: transparent; }
.fm-row .sex { flex: 1; display: flex; justify-content: flex-end; gap: 22px; }
.fm-row .sex label { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #1D2129; }
.fm-row .sex .rd { width: 19px; height: 19px; border-radius: 50%; border: 1.5px solid #D0D3D9; }
.fm-row .sex .rd.on { border-color: #6D52FF; background: #6D52FF; box-shadow: inset 0 0 0 4px #fff; }
.fm-tip { font-size: 12px; color: #F53F3F; padding: 8px 0 10px; }
.fm-block { padding: 14px 0; border-bottom: 1px solid #F5F6F8; }
.fm-block:last-child { border-bottom: none; }
.fm-block .k { font-size: 14px; color: #1D2129; margin-bottom: 10px; }
.fm-block .k em { color: #F53F3F; font-style: normal; }
.up-box {
  width: 88px; height: 88px; border-radius: 8px; background: #F7F8FA; color: #C0C4CC;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 12px;
  overflow: hidden;
}
.up-box img { width: 100%; height: 100%; object-fit: cover; }
.up-id { display: flex; gap: 12px; }
.up-id .item { flex: 1; }
.up-id .frame {
  height: 96px; border-radius: 8px; background: #F7F8FA; border: 1px solid #EEF0F3;
  display: flex; align-items: center; justify-content: center; color: #C0C4CC; overflow: hidden;
}
.up-id .frame img { width: 100%; height: 100%; object-fit: cover; }
.up-id .cap { text-align: center; font-size: 12px; color: #4E5969; margin-top: 8px; }
.fm-submit { width: calc(100% - 24px); margin: 8px 12px 30px; height: 50px; border-radius: 999px; background: linear-gradient(90deg,#8B5CF6,#3B82F6); color: #fff; font-size: 17px; font-weight: 700; }
.fn-cir { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(99,102,241,.22); }
.fn-cir svg { width: 23px; height: 23px; display: block; }

/* ================= 全局瘦身：收紧留白与控件尺寸 ================= */
.navbar { height: 46px; }
.navbar .nav-title { font-size: 16px; }
.mine-top { height: 48px; }
.card { margin: 9px 12px 0; padding: 12px; }
.card-title { font-size: 14px; }
.fn-grid { row-gap: 13px; }
.fn-grid .fn { gap: 5px; }
.fn-grid .fn img { width: 28px; height: 28px; }
.status-row { padding: 11px 0; font-size: 13px; }
.entry-row { padding: 12px 0; font-size: 13px; }
.btn-logout { padding: 11px 0; margin: 16px 12px 22px; font-size: 14px; }
.btn-primary { padding: 11px 0; margin: 14px 12px; font-size: 15px; }
.sub-tabs { margin: 10px 12px; }
.sub-tabs.scrollable .st { padding: 7px 13px; }
.om-card { margin: 9px 12px; padding: 10px; }
.om-main { padding: 2px 0 10px; gap: 8px; }
.om-thumb { width: 52px; height: 52px; }
.om-title { font-size: 14px; }
.om-sub { margin-top: 4px; }
.om-ops { gap: 6px; }
.om-ops button { height: 32px; font-size: 12px; }
.oc-head { padding-bottom: 8px; }
.oc-card { padding: 10px 10px 12px; margin: 0 10px 9px; }
.oc-btn { height: 40px; margin-top: 10px; font-size: 14px; letter-spacing: 1px; }
.oc-actions .oc-btn { margin-top: 10px; }
.order-status-row { padding: 12px 4px 4px; }
.order-status-row .os { gap: 5px; }
.order-status-row .os img { width: 26px; height: 26px; }
.mine-user-card { padding: 12px 14px 14px; }
.muc-avatar, .muc-avatar img { width: 50px; height: 50px; }
.muc-name { font-size: 15px; }
.muc-id { margin-top: 3px; }
.work-bar { padding: 0 0 12px; }
.wt-seg { min-width: 96px; padding: 9px 20px; font-size: 13px; }
.tabbar { padding: 5px 0 6px; }
.tabbar .tab img { width: 24px; height: 24px; }
.gr-take { height: 42px; margin-top: 12px; font-size: 14px; }
.gro-title { font-size: 13px; }
.gro-sub { font-size: 11px; margin-top: 2px; }
.home-orders .ho-head { padding: 12px 14px 4px; }
.home-orders .ho-head .ho-title { font-size: 15px; }
.audit-hint { margin: 10px 12px 8px; }
.od2-card { margin: 8px 10px; padding: 10px; }
.od2-foot button { height: 34px; font-size: 12px; padding: 0 16px; }
.odt-bar { padding: 8px 14px calc(8px + env(safe-area-inset-bottom, 0px)); }
.odt-bar button { height: 40px; font-size: 14px; }

/* 首页 / 接单池 瘦身 */
.home-topbar { height: 38px; }
.home-user { margin-top: 10px; gap: 10px; }
.home-user .avatar-wrap img.avatar { width: 56px; height: 56px; }
.home-user .hu-name { font-size: 16px; }
.home-user .hu-id { margin-top: 4px; }
.home-online-row { margin-top: 10px; }
.home-online-row .status-chip { font-size: 12px; padding: 6px 12px; }
.earnings-card { margin-top: 12px; padding: 11px 8px 13px; }
.earnings-card .ec-item .ec-value { font-size: 19px; margin-top: 3px; }
.earnings-card .ec-item .ec-label { font-size: 11px; }
.hall-games { padding: 10px 12px; gap: 8px; }
.hall-games .hg { padding: 7px 13px; font-size: 12px; }
.pool-tabs .pt-item { font-size: 14px; padding-bottom: 8px; }
.gr-order { padding: 10px 12px; }

/* ===== 俱乐部管理面板 ===== */
.ca-clubbar { display:flex; align-items:center; gap:10px; padding:10px 14px; background:#fff; border-bottom:1px solid var(--line) }
.ca-dot { width:10px; height:10px; border-radius:50%; flex:none }
.ca-info { flex:1; min-width:0; display:flex; flex-direction:column }
.ca-info b { font-size:14px; color:var(--text-1) }
.ca-info span { font-size:11px; color:var(--text-3); overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
.ca-logout { flex:none; border:1px solid var(--line); background:#fff; color:var(--text-2); font-size:12px; padding:5px 12px; border-radius:14px }
.ca-badge { display:inline-block; min-width:16px; height:16px; line-height:16px; padding:0 4px; border-radius:8px; background:#F53F3F; color:#fff; font-size:10px; font-style:normal; text-align:center; vertical-align:top }
.ca-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; padding:12px 12px 0 }
.ca-stat { background:#fff; border-radius:10px; padding:12px 4px 10px; text-align:center; box-shadow:0 1px 4px rgba(15,31,26,.04) }
.ca-stat .cs-ic { display:block; font-size:15px; color:var(--brand); margin-bottom:4px }
.ca-stat .cs-v { font-size:19px; font-weight:800; color:var(--text-1); line-height:1.1 }
.ca-stat .cs-l { font-size:11px; color:var(--text-3); margin-top:3px }
.ca-kv { display:flex; justify-content:space-between; gap:12px; padding:9px 0; border-bottom:1px dashed var(--line); font-size:13px }
.ca-kv:last-child { border-bottom:none }
.ca-kv span { color:var(--text-3); flex:none }
.ca-kv b { color:var(--text-1); text-align:right; word-break:break-all }
.ca-kv b.ca-url { font-family:Menlo,Consolas,monospace; font-size:11px; font-weight:600; color:var(--brand) }
.ca-seg { display:flex; background:#F2F3F5; border-radius:10px; padding:3px }
.ca-seg span { flex:1; text-align:center; font-size:13px; color:var(--text-2); padding:8px 0; border-radius:8px }
.ca-seg span.on { background:#fff; color:var(--text-1); font-weight:600; box-shadow:0 1px 4px rgba(15,31,26,.06) }
.ca-tip { font-size:11px; color:var(--text-3); line-height:1.6; margin-top:10px }
.ca-acc-row { display:flex; align-items:center; gap:10px; padding:12px 14px; border-bottom:1px solid var(--line) }
.ca-acc-row:last-child { border-bottom:none }
.ca-acc-main { flex:1; min-width:0 }
.ca-acc-main b { display:block; font-size:14px; color:var(--text-1) }
.ca-acc-main span { font-size:11px; color:var(--text-3) }
.ca-acc-pwd { display:flex; align-items:center; gap:6px; flex:none }
.ca-acc-pwd code { font-family:Menlo,Consolas,monospace; font-size:11px; background:#F2F3F5; color:var(--text-1); padding:4px 7px; border-radius:6px }
.ca-copy { border:none; background:var(--brand); color:#fff; font-size:11px; padding:5px 9px; border-radius:6px }
.ca-empty { padding:26px 14px; text-align:center; font-size:12px; color:var(--text-3) }
/* ---------- 客服工作台 · 待结单醒目卡 ---------- */
.kf-alert { margin:12px 12px 0; background:linear-gradient(135deg,#FFF7E8,#FFFDF7); border:1px solid #FFE0B2; border-radius:12px; padding:14px }
.kf-alert .ka-head { display:flex; align-items:center; gap:8px; font-size:15px; color:#D25F00 }
.kf-alert .ka-ic { width:22px; height:22px; border-radius:50%; background:#FF7D00; color:#fff; font-size:14px; font-weight:800; display:flex; align-items:center; justify-content:center; flex:none }
.kf-alert .ka-sub { font-size:11px; color:#B26A00; line-height:1.6; margin-top:6px }
.kf-alert .ka-row { display:flex; align-items:center; gap:10px; background:#fff; border-radius:10px; padding:10px 12px; margin-top:10px }
.kf-alert .ka-info { flex:1; min-width:0 }
.kf-alert .ka-info b { display:block; font-size:13px; color:var(--text-1); overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
.kf-alert .ka-info span { font-size:10px; color:var(--text-3) }
.kf-alert .ka-ops { display:flex; gap:6px; flex:none }
.kf-alert .ka-detail { border:1px solid var(--line); background:#fff; color:var(--text-2); font-size:12px; padding:6px 10px; border-radius:14px }
.kf-alert .ka-ok { border:none; background:#FF7D00; color:#fff; font-size:12px; font-weight:600; padding:7px 12px; border-radius:14px }
.kf-alert .ka-more { text-align:center; font-size:12px; color:#D25F00; font-weight:600; padding-top:10px }
.kf-clear { margin:12px 12px 0; background:#F0FAD2; border:1px solid #D8F0A8; border-radius:12px; padding:14px; display:flex; align-items:center; gap:8px; flex-wrap:wrap }
.kf-clear .kc-ic { width:22px; height:22px; border-radius:50%; background:#7CB305; color:#fff; font-size:13px; font-weight:800; display:flex; align-items:center; justify-content:center; flex:none }
.kf-clear b { font-size:14px; color:#4D7C0F }
.kf-clear span:last-child { font-size:11px; color:#7A9A4D; width:100% }
.ca-audit-row { display:flex; align-items:center; gap:10px; padding:12px 14px; border-bottom:1px solid var(--line) }
.ca-audit-row:last-child { border-bottom:none }
.ca-audit-main { flex:1; min-width:0 }
.ca-audit-main b { display:block; font-size:14px; color:var(--text-1) }
.ca-audit-main span { font-size:11px; color:var(--text-3) }
.ca-audit-ops { display:flex; gap:12px; flex:none }
.ca-sc-ic { width:44px; height:44px; border-radius:10px; overflow:hidden; background:#F2F3F5; flex:none; display:flex; align-items:center; justify-content:center; position:relative; cursor:pointer }
.ca-sc-ic img { width:100%; height:100%; object-fit:cover }
.ca-sc-ic-tip { position:absolute; left:0; right:0; bottom:0; font-style:normal; font-size:9px; line-height:14px; text-align:center; color:#fff; background:rgba(0,0,0,.45); display:none }
.ca-sc-ic:hover .ca-sc-ic-tip, .ca-sc-ic:active .ca-sc-ic-tip { display:block }
.ca-sc-row { cursor:pointer }
.ca-sc-row:active { background:#FAFBFC }
.ca-sc-ic::after { content:''; position:absolute; inset:0; border-radius:10px; box-shadow:inset 0 0 0 1px rgba(0,0,0,.04) }
.ca-sc-ic img { width:100%; height:100%; object-fit:cover }
.sc-edit { text-align:left }
.sc-edit-ic { display:flex; align-items:center; gap:14px; margin-bottom:14px }
.sc-edit-ic img { width:64px; height:64px; border-radius:12px; object-fit:cover; background:#F2F3F5; border:1px solid var(--line) }
.sc-edit-ic .btn { flex:1; height:40px; font-size:13px }
/* ---- 首页装修 · 实时预览手机框 ---- */
.ca-preview { display:flex; justify-content:center; padding:6px 0 2px }
.ca-phone { width:272px; border-radius:26px; background:#1D2129; padding:8px; box-shadow:0 8px 24px rgba(0,0,0,.18) }
.ca-phone-bar { display:flex; align-items:center; gap:6px; padding:2px 8px 8px; color:#fff; font-size:10px }
.ca-phone-bar i { width:6px; height:6px; border-radius:50%; background:#4CD964; flex:none }
.ca-phone-bar span { flex:1; text-align:center; font-weight:600 }
.ca-phone-bar b { font-size:11px; letter-spacing:1px; opacity:.7 }
.ca-phone-screen { width:256px; height:460px; border-radius:20px; overflow:hidden; overflow-y:auto; background:#F6F7F9; position:relative;
  transform:scale(1); transform-origin:top center; -webkit-overflow-scrolling:touch }
.ca-phone-screen .page { position:static }
.ca-phone-screen .rh { min-height:100% }
.ca-phone-screen::-webkit-scrollbar { display:none }
/* 预览底栏（导航键换色效果） */
.ca-pv-tabbar { position:sticky; bottom:0; display:flex; background:#fff; border-top:1px solid rgba(0,0,0,.05); padding:5px 0 7px }
.ca-pv-tabbar span { flex:1; display:flex; flex-direction:column; align-items:center; gap:2px; font-size:8.5px; font-weight:700; color:#5F4330 }
.ca-pv-tabbar span.on { color:var(--th-text, #D97800) }
.ca-pv-tabbar .tabic { width:20px; height:20px; display:block; background:#9BA3AF;
  -webkit-mask-position:center; mask-position:center; -webkit-mask-size:contain; mask-size:contain;
  -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat }
.ca-pv-tabbar span.on .tabic { background:var(--th-grad, linear-gradient(135deg,#FF9D45,#FF6A00)) }
/* ---- 主题色配置 ---- */
.ca-theme-row { display:flex; align-items:center; gap:10px; flex-wrap:wrap }
.ca-theme-dot { width:30px; height:30px; border-radius:50%; border:2px solid #fff; box-shadow:0 0 0 1px var(--line); cursor:pointer; flex:none; padding:0 }
.ca-theme-dot.on { box-shadow:0 0 0 2px #1D2129 }
.ca-theme-dot:active { transform:scale(.9) }
.ca-theme-pick { width:30px; height:30px; border-radius:50%; overflow:hidden; box-shadow:0 0 0 1px var(--line); cursor:pointer; flex:none; position:relative; display:inline-block }
.ca-theme-pick input { position:absolute; inset:-6px; width:44px; height:44px; border:none; padding:0; background:none; cursor:pointer }
/* ---- 自绘 HSV 调色盘 ---- */
.ca-picker { margin-top:12px; border:1px solid var(--line); border-radius:12px; padding:12px; background:#fff }
.ca-picker-head { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px; flex-wrap:wrap; font-size:13px; font-weight:700; color:var(--text-1) }
.ca-now { display:inline-flex; align-items:center; gap:6px; font-weight:400; font-size:12px; color:var(--text-3) }
.ca-now i { width:18px; height:18px; border-radius:50%; display:inline-block; background:#FF8C1A; box-shadow:inset 0 0 0 1px rgba(0,0,0,.12) }
.ca-now b { font-family:ui-monospace, Menlo, Consolas, monospace; color:var(--text-1) }
.ca-picker-body { display:flex; gap:12px; align-items:stretch }
.ca-sv { position:relative; width:210px; height:150px; border-radius:10px; cursor:crosshair; touch-action:none; flex:none; box-shadow:inset 0 0 0 1px rgba(0,0,0,.08) }
.ca-sv-dot { position:absolute; width:16px; height:16px; margin:-8px 0 0 -8px; border-radius:50%; border:2px solid #fff; box-shadow:0 0 0 1px rgba(0,0,0,.45), 0 2px 6px rgba(0,0,0,.3); pointer-events:none }
.ca-picker-side { flex:1; min-width:0; display:flex; flex-direction:column; gap:7px }
.ca-hue { position:relative; height:18px; border-radius:999px; cursor:pointer; touch-action:none; box-shadow:inset 0 0 0 1px rgba(0,0,0,.08);
  background:linear-gradient(to right,#FF0000,#FFFF00,#00FF00,#00FFFF,#0000FF,#FF00FF,#FF0000) }
.ca-hue-dot { position:absolute; top:50%; width:18px; height:18px; margin:-9px 0 0 -9px; border-radius:50%; background:#fff; border:3px solid #1D2129; box-shadow:0 2px 6px rgba(0,0,0,.35); pointer-events:none }
.ca-field { display:flex; align-items:center; gap:8px }
.ca-field label { font-size:12px; color:var(--text-3); width:42px; flex:none }
.ca-field input { flex:1; min-width:0; height:30px; padding:0 8px; border:1px solid var(--line); border-radius:6px; font-size:13px; font-family:ui-monospace, Menlo, Consolas, monospace }
.ca-field input:focus { outline:none; border-color:#FF8B00 }
.ca-picker-foot { display:flex; gap:10px; justify-content:flex-end; margin-top:10px }
.ca-goods-row { display:flex; align-items:flex-start; gap:10px; padding:12px 14px; border-bottom:1px solid var(--line) }
.ca-goods-row:last-child { border-bottom:none }
.ca-goods-main { flex:1; min-width:0 }
.ca-goods-main b { display:block; font-size:14px; color:var(--text-1) }
.ca-goods-main span { font-size:11px; color:var(--text-3) }
.ca-goods-ops { display:flex; align-items:center; gap:10px; flex:none }
.ca-goods-ops .badge { font-size:10px; padding:2px 7px; border-radius:5px }
.ca-gen-box { padding:4px 0 }
.ca-gen-row { display:flex; justify-content:space-between; padding:9px 0; border-bottom:1px dashed var(--line); font-size:14px }
.ca-gen-row b { font-family:Menlo,Consolas,monospace; color:var(--brand) }
.ca-gen-tip { font-size:11px; color:var(--text-3); line-height:1.6; margin-top:10px }
.ca-tag { display:inline-block; font-size:11px; padding:2px 8px; border-radius:6px; background:#F2F3F5; color:#4E5969; margin-right:6px }
.ca-tag.ok { background:#E8FFEA; color:#009A29 }
.ca-tag.off { background:#F2F3F5; color:#86909C }

/* ---------- 聊天气泡（真实客服会话） ---------- */
.chat-msg { display: flex; flex-direction: column; max-width: 76%; }
.chat-msg.me { align-self: flex-end; align-items: flex-end; }
.chat-msg.other { align-self: flex-start; align-items: flex-start; }
.chat-msg .cm-name { font-size: 11px; color: var(--text-3); margin-bottom: 4px; }
.chat-msg .cm-bubble {
  padding: 9px 12px; border-radius: 12px; font-size: 14px; line-height: 1.6;
  word-break: break-word; white-space: pre-wrap;
}
.chat-msg.me .cm-bubble {
  background: linear-gradient(135deg,#B5E61D,#95C211); color: #14360B;
  border-top-right-radius: 4px;
}
.chat-msg.other .cm-bubble { background: #fff; color: var(--text); border-top-left-radius: 4px; box-shadow: var(--shadow); }
.chat-msg .cm-time { font-size: 10px; color: var(--text-4); margin-top: 4px; }

/* ---------- 商品表单（新版） ---------- */
.gf-label { font-size: 13px; font-weight: 600; color: var(--text-2); margin: 14px 0 7px; display: flex; align-items: baseline; gap: 6px; }
.gf-label:first-child { margin-top: 0; }
.gf-label-tip { font-size: 10px; font-weight: 400; color: var(--text-4); }
.gf-field { margin-bottom: 12px; }
.gf-field:last-child { margin-bottom: 0; }
.gf-field > label { display: block; font-size: 12px; color: var(--text-3); margin-bottom: 6px; }
.mini-input {
  width: 72px; height: 30px; box-sizing: border-box; text-align: center;
  background: #F7F8FA; border: 1px solid transparent; border-radius: 8px;
  padding: 0 8px; font-size: 13px; color: var(--text); outline: none;
}
.mini-input:focus { border-color: #B5E61D; background: #fff; }
.gf-input {
  width: 100%; height: 42px; box-sizing: border-box;
  background: #F7F8FA; border: 1px solid transparent; border-radius: 10px;
  padding: 0 12px; font-size: 14px; color: var(--text); outline: none;
  transition: border-color .15s;
}
.gf-input:focus { border-color: #B5E61D; background: #fff; }
textarea.gf-input { height: auto; padding: 10px 12px; line-height: 1.6; resize: none; }
select.gf-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2386909C' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 30px; }
.gf-row { display: flex; gap: 10px; }
.gf-row .gf-col { flex: 1; min-width: 0; }
.gf-btns { display: flex; gap: 10px; margin-top: 18px; }
.gf-upload { position: relative; width: 96px; height: 96px; border-radius: 10px; overflow: hidden; cursor: pointer; }
.gf-upload-add { width: 100%; height: 100%; border: 1.5px dashed #C9CDD4; border-radius: 10px; background: #F7F8FA; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 11px; color: #86909C; }
.gf-upload-add .gf-plus { font-size: 24px; color: #C9CDD4; line-height: 1; }
.gf-upload-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gf-upload-tip { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.45); color: #fff; font-size: 10px; text-align: center; padding: 3px 0; }

/* ---------- 启动页（浅色渐变 + LOGO 卡 + 加载进度） ---------- */
#splashWhite {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #e8edf9 0%, #f2f5fc 38%, #fdfdfe 72%, #ffffff 100%);
  opacity: 1; transition: opacity .45s ease;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
}
#splashWhite.out { opacity: 0; pointer-events: none; }
#splashWhite .sw-inner {
  width: 100%; max-width: 420px; padding: 0 24px;
  display: flex; flex-direction: column; align-items: center;
  transform: translateY(-24px);
}
/* LOGO 白卡 */
#splashWhite .sw-logocard {
  width: 148px; height: 148px; border-radius: 26px; background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 34px rgba(31, 45, 92, .10), 0 2px 6px rgba(31, 45, 92, .05);
  overflow: hidden;
}
#splashWhite .sw-logocard img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: 26px;
}
/* 俱乐部名 + 副标题 */
#splashWhite .sw-title {
  margin-top: 26px; font-size: 23px; font-weight: 700; color: #1b1f2a;
  letter-spacing: 1px; text-align: center; line-height: 1.3;
  max-width: 100%; word-break: break-all;
}
#splashWhite .sw-sub { margin-top: 9px; font-size: 13px; color: #8a92a6; letter-spacing: 2px; }
/* 进度卡 */
#splashWhite .sw-progress {
  width: 100%; margin-top: 46px; background: #fff; border-radius: 16px;
  padding: 16px 16px 13px; text-align: left;
  box-shadow: 0 8px 26px rgba(31, 45, 92, .07);
}
#splashWhite .sw-pg-top { display: flex; align-items: flex-start; justify-content: space-between; }
#splashWhite .sw-pg-left b { display: block; font-size: 14px; font-weight: 700; color: #1b1f2a; letter-spacing: .5px; }
#splashWhite .sw-pg-left span { display: block; margin-top: 3px; font-size: 11px; color: #9aa2b6; }
#splashWhite .sw-pg-pct { font-size: 26px; font-weight: 800; color: #1b1f2a; line-height: 1; letter-spacing: .5px; }
#splashWhite .sw-bar { margin-top: 12px; height: 6px; border-radius: 99px; background: #eef0f6; overflow: hidden; }
#splashWhite .sw-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: #1b1f2a; transition: width .3s ease; }
#splashWhite .sw-pg-bottom { margin-top: 11px; display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: #9aa2b6; }
#splashWhite .sw-ok { color: #4a9d6e; display: inline-flex; align-items: center; gap: 5px; }
#splashWhite .sw-ok::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #35b06a; display: inline-block; }
#splashWhite .sw-foot {
  position: absolute; left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom, 0px) + 34px);
  text-align: center; font-size: 12px; color: #9aa2b6;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
#splashWhite .sw-foot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #35b06a; display: inline-block; }
#splashSkip { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 18px); right: 18px; background: rgba(255,255,255,.1); color: #fff; font-size: 13px; border: 1px solid rgba(255,255,255,.35); border-radius: 16px; padding: 5px 16px; }
.sb-spinner { width: 44px; height: 44px; border-radius: 50%; border: 4px solid rgba(124,179,5,.22); border-top-color: #7CB305; animation: sbSpin .9s linear infinite; }
@keyframes sbSpin { to { transform: rotate(360deg); } }
.gf-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.gd-cat {
  position: relative; font-size: 12px; color: var(--text-2);
  background: #F2F3F5; border-radius: 999px; padding: 7px 14px;
  border: 1px solid transparent; cursor: pointer; user-select: none;
}
.gd-cat.on { background: #F0FAD2; border-color: #B5E61D; color: #4D7C0F; font-weight: 600; }
.gd-cat.add { background: #fff; border: 1px dashed #C9CDD4; color: var(--text-3); }
.gd-cat i {
  font-style: normal; display: inline-flex; align-items: center; justify-content: center;
  width: 15px; height: 15px; border-radius: 50%; background: rgba(0,0,0,.12);
  font-size: 11px; line-height: 1; margin-left: 2px; vertical-align: -1px;
}
.gd-cat i:hover { background: #F53F3F; color: #fff; }

/* ---------- 俱乐部管理端 · 分类管理（图标上传行） ---------- */
.ca-catrows { display: flex; flex-direction: column; gap: 8px; }
.ca-catrow {
  display: flex; align-items: center; gap: 10px;
  background: #F7F8FA; border-radius: 10px; padding: 8px 10px;
}
.ca-catrow-ic {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: #EDEFF2; border: 1px dashed #C9CDD4;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform .12s ease;
}
.ca-catrow-ic:active { transform: scale(0.92); }
.ca-catrow-ic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ca-catrow-ic i { font-style: normal; font-size: 18px; color: #B6BAC2; line-height: 1; }
.ca-catrow b { flex: 1; min-width: 0; font-size: 13.5px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca-catrow-n { font-size: 11.5px; color: var(--text-3); flex: none; }

/* ---------- 点单端底部导航（含中间选人按钮） ---------- */
.tabbar .tab .tab-badge {
  position: absolute; top: -2px; right: -8px;
  min-width: 15px; height: 15px; padding: 0 3px;
  background: #F53F3F; color: #fff; border-radius: 999px;
  font-size: 9px; font-style: normal; line-height: 15px; text-align: center;
}
.tabbar .tab { position: relative; }

/* ---------- 徽标（订单/商品状态） ---------- */
.badge { display: inline-block; font-size: 10px; padding: 2px 8px; border-radius: 5px; background: #F2F3F5; color: #86909C; flex: none; }
.badge.ok { background: #E8FFEA; color: #009A29; }
.badge.warn { background: #FFF7E8; color: #D25F00; }
.badge.wait { background: #FFF1F0; color: #F53F3F; }
.badge.ing { background: #E8F3FF; color: #0E42D2; }
.badge.done { background: #E8FFEA; color: #009A29; }
.badge.dead { background: #F2F3F5; color: #86909C; text-decoration: line-through; }

/* ============================================================
   点单端（顾客端）— LS 橙色主题
   ============================================================ */

/* ---------- 首页顶栏（白底 + 黑 logo + 搜索框） ---------- */
.sh-top { flex: none; display: flex; align-items: center; gap: 10px; background: #fff; padding: 9px 12px 10px; }
.sh-logo { width: 38px; height: 38px; border-radius: 10px; background: #1D2129; overflow: hidden; flex: none; display: flex; align-items: center; justify-content: center; }
.sh-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sh-search { flex: 1; min-width: 0; height: 34px; border-radius: 999px; background: #F2F3F5; display: flex; align-items: center; gap: 6px; padding: 0 6px 0 12px; color: #9BA3AF; }
.sh-search svg { flex: none; }
.sh-search input { flex: 1; min-width: 0; background: none; border: none; outline: none; font-size: 12.5px; color: var(--text); }
.sh-search input::placeholder { color: #9BA3AF; }

/* ---------- 轮播 / 下单攻略跑马灯 ---------- */
.sh-banner { margin: 10px 12px 0; border-radius: 12px; overflow: hidden; }
.sh-banner img { width: 100%; display: block; }
.sh-gl { margin: 10px 12px 0; display: flex; align-items: stretch; gap: 8px; }
.sh-gl-tag { flex: none; align-self: center; background: linear-gradient(135deg,var(--th-light,#FF9D45),var(--th-deep,#FF6A00)); color: #fff; font-size: 12px; font-weight: 700; border-radius: 9px; padding: 7px 9px; line-height: 1.25; text-align: center; box-shadow: 0 3px 8px rgba(255,106,0,.30); }
.sh-gl-tag i { display: block; font-size: 9px; font-weight: 400; font-style: normal; opacity: .9; }
.sh-marquee { flex: 1; min-width: 0; height: 34px; border-radius: 9px; background: linear-gradient(90deg,var(--th-light,#FF9D45),var(--th-deep,#FF6A00)); overflow: hidden; position: relative; display: flex; align-items: center; }
.sh-mq-track { display: inline-flex; gap: 44px; white-space: nowrap; animation: sh-mq 24s linear infinite; padding-left: 12px; font-size: 11px; color: #fff; }
@keyframes sh-mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 金刚区（钱包/公告/客服/招募） ---------- */
.sh-quick { display: flex; background: #fff; border-radius: 12px; margin: 10px 12px 0; padding: 14px 4px; box-shadow: 0 1px 8px rgba(0,0,0,.04); }
.sh-quick .sq-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; color: var(--text-2); }
.sh-quick .sq-item img { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; }

/* ---------- 圆形分类行 ---------- */
.sh-cats { display: flex; gap: 14px; overflow-x: auto; padding: 14px 12px 4px; -webkit-overflow-scrolling: touch; }
.sh-cats::-webkit-scrollbar { display: none; }
.sh-cat { flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 54px; }
.sh-cat-ic { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; color: #fff; border: 2px solid #fff; box-shadow: 0 3px 9px rgba(0,0,0,.14); }
.sh-cat-tx { font-size: 10.5px; color: var(--text-2); max-width: 54px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-cat.on .sh-cat-tx { color: var(--th-deep, #FF6A00); font-weight: 700; }
.sh-cat.on .sh-cat-ic { box-shadow: 0 0 0 2px var(--th-deep, #FF6A00), 0 3px 9px rgba(255,106,0,.35); }

/* ---------- 二级 chips ---------- */
.sh-chips { display: flex; gap: 8px; overflow-x: auto; padding: 10px 12px 2px; -webkit-overflow-scrolling: touch; }
.sh-chips::-webkit-scrollbar { display: none; }
.sh-chip { flex: none; font-size: 12px; color: var(--text-2); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }
.sh-chip.on { background: linear-gradient(135deg,var(--th-light,#FF9D45),var(--th-deep,#FF6A00)); color: #fff; font-weight: 700; border-color: transparent; box-shadow: 0 2px 8px rgba(255,106,0,.28); }

/* ---------- 分区标题 ---------- */
.sh-sec { display: flex; align-items: center; gap: 7px; padding: 14px 14px 0; }
.sh-sec i { width: 4px; height: 14px; border-radius: 2px; background: linear-gradient(180deg,var(--th-light,#FF9D45),var(--th-deep,#FF6A00)); flex: none; }
.sh-sec b { font-size: 14px; font-weight: 800; color: var(--text); }
.sh-sec span { font-size: 10px; color: var(--text-4); }

/* ---------- 商品网格（3 列 / 2 列） ---------- */
.sh-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; padding: 10px 12px 0; }
.sh-grid.two { grid-template-columns: repeat(2,1fr); }
.sh-grid.two .sg-img { height: 104px; }
.sh-grid.two .sg-name { font-size: 12px; min-height: 32px; }
.sh-grid.two .sh-price { font-size: 15px; }
.sh-card { background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid rgba(17,17,17,.06); box-shadow: 0 1px 8px rgba(0,0,0,.04); }
.sh-card .sg-img { height: 96px; position: relative; }
.sh-card .sg-img span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; color: rgba(0,0,0,.32); letter-spacing: 1px; }
.sh-card .sg-body { display: flex; flex-direction: column; padding: 6px 8px 8px; min-width: 0; }
.sh-card .sg-name { font-size: 11px; line-height: 1.35; color: #1a1a1a; min-height: 30px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sh-card .sg-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.sh-price { color: #C92E15; font-size: 14px; font-weight: 800; }
.sh-price::before { content: '¥'; font-size: 9px; font-weight: 700; margin-right: 1px; }
.sh-buy { flex: none; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg,var(--th-light,#FF9D45),var(--th-deep,#FF6A00)); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 8px rgba(255,106,0,.35); }
.sh-buy:active { transform: scale(.92); }

/* ---------- 分类页 ---------- */
.sh-catsearch { flex: none; display: flex; align-items: center; gap: 8px; background: #fff; padding: 9px 12px; }
.sh-cs-btn { flex: none; height: 30px; border-radius: 999px; background: linear-gradient(135deg,var(--th-light,#FF9D45),var(--th-deep,#FF6A00)); color: #fff; font-size: 12px; font-weight: 700; padding: 0 16px; box-shadow: 0 2px 8px rgba(255,106,0,.3); }
.sh-catwrap { flex: 1; display: flex; min-height: 0; }
.sc-side { width: 86px; flex: none; background: #F6F7F9; overflow-y: auto; }
.scs { display: block; font-size: 12.5px; color: var(--text-2); padding: 14px 8px; position: relative; text-align: center; }
.scs.on { background: #fff; color: var(--th-deep, #FF6A00); font-weight: 700; }
.scs.on::before { content: ''; position: absolute; left: 0; top: 20%; bottom: 20%; width: 3px; border-radius: 2px; background: linear-gradient(180deg,var(--th-light,#FF9D45),var(--th-deep,#FF6A00)); }

/* ---------- 选人页 ---------- */
.sp-top { flex: none; background: #fff; padding: 10px 12px; display: flex; align-items: center; gap: 8px; }
.sp-list { padding-bottom: 70px; }
.sp-card2 { display: flex; align-items: center; gap: 11px; background: #fff; border-radius: 12px; margin: 10px 12px 0; padding: 12px; box-shadow: 0 1px 8px rgba(0,0,0,.05); }
.spc2-avatar { position: relative; flex: none; }
.spc2-avatar img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; background: #F2F3F5; display: block; }
.spc2-avatar .dot { position: absolute; right: -2px; bottom: -2px; width: 12px; height: 12px; border-radius: 50%; background: #C9CDD4; border: 2px solid #fff; }
.spc2-avatar .dot.on { background: #00B42A; }
.spc2-info { flex: 1; min-width: 0; }
.spc2-info b { display: flex; align-items: center; gap: 4px; font-size: 14.5px; font-weight: 700; }
.spc2-info b i { font-style: normal; font-size: 12px; }
.spc2-info b i.m { color: #3C8CFF; }
.spc2-info b i.f { color: #FF6A9E; }
.spc2-sub { display: block; font-size: 11px; color: var(--text-3); margin-top: 3px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.spc2-tags { display: flex; gap: 5px; margin-top: 6px; flex-wrap: wrap; }
.spc2-tags span { font-size: 9.5px; color: #B33D00; background: #FFF1E2; border-radius: 5px; padding: 2.5px 7px; }
.spc2-right { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.spc2-on { font-size: 10px; color: #00B42A; display: flex; align-items: center; gap: 3px; }
.spc2-on.off { color: #C9CDD4; }
.spc2-btn { font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(135deg,var(--th-light,#FF9D45),var(--th-deep,#FF6A00)); border-radius: 999px; padding: 7px 15px; box-shadow: 0 3px 9px rgba(255,106,0,.35); }
/* 选人下单弹窗内的商品列表 */
.sp-goods { max-height: 320px; overflow-y: auto; }
.spg-tip { font-size: 12px; color: var(--text-3); padding: 2px 4px 10px; }
.spg-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 4px; border-bottom: 1px dashed var(--line); font-size: 14px; }
.spg-main { flex: 1; min-width: 0; }
.spg-main b { display: block; font-size: 14px; color: #1D2129; }
.spg-sub { display: block; font-size: 11px; color: var(--text-3); margin-top: 3px; }
.spg-desc { display: block; font-size: 11px; color: var(--text-4); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
.spg-price { color: #FF5000; font-weight: 800; font-size: 16px; margin-left: 10px; flex: none; }

/* ---------- 消息页 ---------- */
.sh-pagetitle { flex: none; background: #fff; padding: 13px 16px; font-size: 16px; font-weight: 800; text-align: center; }
.smsg-list { padding: 10px 0 70px; }
.smsg-row { display: flex; align-items: center; gap: 12px; background: #fff; margin: 0 12px 10px; padding: 14px; border-radius: 12px; box-shadow: 0 1px 8px rgba(0,0,0,.04); }
.smsg-ic { width: 44px; height: 44px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; }
.smsg-ic.orange { background: linear-gradient(135deg,var(--th-light,#FFB067),var(--th,#FF7A1A)); box-shadow: 0 3px 9px rgba(255,122,26,.35); }
.smsg-ic.green { background: linear-gradient(135deg,#5FD98A,#00B42A); box-shadow: 0 3px 9px rgba(0,180,42,.30); }
.smsg-ic.blue { background: linear-gradient(135deg,#7FB2FF,#3C8CFF); box-shadow: 0 3px 9px rgba(60,140,255,.30); }
.smsg-info { flex: 1; min-width: 0; }
.smsg-info b { display: flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 700; }
.smsg-info b i { font-style: normal; min-width: 16px; height: 16px; padding: 0 4px; background: #F53F3F; color: #fff; border-radius: 999px; font-size: 9.5px; line-height: 16px; text-align: center; }
.smsg-info span { display: block; font-size: 11px; color: var(--text-3); margin-top: 3px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.smsg-time { flex: none; font-size: 10px; color: var(--text-4); align-self: flex-start; padding-top: 2px; }

/* ---------- 我的页 ---------- */
/* 「我的」页：页面顶部整体垂直渐变（上深下浅渐隐，1:1 参考站），hero 透明浮在上面 */
.page[data-page="shopMine"] { background: linear-gradient(180deg, var(--th,#FF7A1A) 0%, var(--th-light,#FFA14D) 80px, var(--th-soft2,#FFD08A) 140px, #F6F7F9 200px); }
.sh-mine-hero { flex: none; background: none; padding: 20px 16px 22px; color: #fff; display: flex; align-items: center; gap: 13px; }
.sh-mine-hero .sm-avatar { width: 56px; height: 56px; border-radius: 50%; border: 2px solid rgba(255,255,255,.45); flex: none; }
.sh-mine-hero .sm-info { flex: 1; min-width: 0; }
.sh-mine-hero .sm-info b { display: flex; align-items: center; gap: 4px; font-size: 18px; font-weight: 800; }
.sh-mine-hero .sm-info span { display: block; font-size: 11px; color: rgba(255,255,255,.75); margin-top: 4px; }
.sh-mine-hero .sm-club { font-size: 11px; background: rgba(255,255,255,.2); border-radius: 999px; padding: 5px 11px; flex: none; }
.sh-minor { display: flex; align-items: center; gap: 6px; margin: 10px 12px 0; background: #FFF7E8; border: 1px solid #FFE1B0; border-radius: 9px; padding: 8px 11px; font-size: 11px; color: #B33D00; line-height: 1.5; }
.sh-minor svg { flex: none; }

/* 点单端 · 登录提示条 / 聚合登录弹窗 */
.sh-loginbar { display: flex; align-items: center; gap: 7px; margin: 10px 12px 0; background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px; font-size: 11px; color: var(--text-3); }
.sh-loginbar svg { flex: none; color: var(--th, #FF7A1A); }
.sh-loginbar span { flex: 1; min-width: 0; }
.sh-loginbar b { flex: none; font-size: 12px; font-weight: 700; color: var(--th, #FF7A1A); }
.so-tip { font-size: 12px; color: var(--text-3); line-height: 1.6; padding: 2px 2px 12px; }
.so-list { display: flex; flex-direction: column; gap: 10px; }
.so-btn { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 12px; font-size: 15px; font-weight: 600; color: #fff; }
.so-btn i { font-style: normal; font-size: 20px; width: 26px; text-align: center; }
.so-btn.wx { background: #07C160; }
.so-btn.qq { background: #12B7F5; }
.so-btn.apple { background: #1D1D1F; }
.so-btn.off { background: #E5E6EB; color: #9BA3AF; }
.so-guest { text-align: center; font-size: 12px; color: var(--text-4); padding: 14px 0 2px; }

.sh-block { background: #fff; border-radius: 12px; margin: 10px 12px 0; padding: 14px 6px 12px; box-shadow: 0 1px 8px rgba(0,0,0,.04); }
.sh-block-head { display: flex; align-items: center; justify-content: space-between; padding: 0 10px 4px; }
.sh-block-head b { font-size: 14.5px; font-weight: 800; }
.sh-block-head span { font-size: 11px; color: var(--text-3); display: flex; align-items: center; gap: 2px; }
.sh-ogrid { display: flex; padding-top: 8px; }
.sh-og { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; color: var(--text-2); position: relative; }
.sh-og svg { color: var(--th, #FF7A1A); }
.sh-og i { position: absolute; top: -4px; right: calc(50% - 27px); font-style: normal; min-width: 15px; height: 15px; padding: 0 3px; background: #F53F3F; color: #fff; border-radius: 999px; font-size: 9px; line-height: 15px; text-align: center; }
.sh-fgrid { display: flex; flex-wrap: wrap; padding-top: 6px; }
.sh-fg { width: 33.33%; display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 11px; color: var(--text-2); padding: 10px 0; }
.sh-fg svg { color: var(--th, #FF7A1A); }
.sh-copy { text-align: center; padding: 24px 0 30px; color: var(--text-4); font-size: 10.5px; line-height: 1.8; }
.sh-copy img { width: 44px; height: 44px; object-fit: contain; opacity: .55; display: block; margin: 0 auto 6px; }
.sh-logout { display: block; width: calc(100% - 24px); margin: 14px 12px 0; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 0; font-size: 13px; color: var(--text-3); }

/* ---------- tabbar 选人凸起钮（1:1 还原参考站：灰色圆图，无底色） ---------- */
.shop-pick-slot { width: 90px; flex: none; display: flex; flex-direction: column; align-items: center; }
.shop-pick-btn {
  margin-top: -17px;
  width: 62px; height: 62px; padding: 0;
  background: transparent; border: none;
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.18));
}
.shop-pick-btn .shop-pick-img { width: 62px; height: 62px; display: block; }
.shop-pick-btn { transition: transform 0.12s ease; }
.shop-pick-btn:active { transform: scale(0.9); }
.shop-pick-label { display: none; }
.tabbar .tab .tab-badge {
  position: absolute; top: -2px; right: -8px;
  min-width: 15px; height: 15px; padding: 0 3px;
  background: #F53F3F; color: #fff; border-radius: 999px;
  font-size: 9px; font-style: normal; line-height: 15px; text-align: center;
}
.tabbar .tab { position: relative; }

/* ---------- 商品详情 / 订单 / 钱包 / 支付（橙化） ---------- */
.sgd-now { color: #FF5000; }
.sg-buybar { flex: none; display: flex; gap: 10px; padding: 9px 12px calc(9px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
.sgb-kf, .sgb-buy { flex: 1; height: 42px; border-radius: 999px; font-size: 15px; font-weight: 700; }
.sgb-kf { background: #F2F3F5; color: var(--text-2); }
.sgb-buy { background: linear-gradient(90deg,var(--th-light,#FF9D45),var(--th-deep,#FF6A00)); color: #fff; box-shadow: 0 3px 10px rgba(255,106,0,.30); }
.sw-balance { background: linear-gradient(160deg,var(--th-light,#FFA14D),var(--th-deep,#F96B00)); border-radius: var(--radius); margin: 12px; padding: 20px; color: #fff; box-shadow: var(--shadow); }
.sw-balance span { display: block; font-size: 12px; color: rgba(255,255,255,.75); }
.sw-balance b { display: block; font-size: 32px; font-weight: 800; margin-top: 6px; }
.sw-recharge { margin-top: 14px; background: rgba(255,255,255,.92); color: var(--th-deep, #F96B00); font-size: 14px; font-weight: 700; border-radius: 999px; padding: 9px 26px; }
.sp-amount { text-align: center; font-size: 13px; color: var(--text-3); padding: 4px 0 14px; }
.sp-amount b { display: block; font-size: 28px; color: #FF5000; font-weight: 800; margin-top: 4px; }
.sp-amount b::before { content: '¥'; font-size: 14px; margin-right: 1px; }
.sp-methods { display: flex; flex-direction: column; gap: 10px; }
.sp-method { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.sp-method:active { border-color: var(--th-light, #FF9D45); background: #FFF7EE; }
.spm-ic { width: 38px; height: 38px; border-radius: 10px; background: #FFF1E2; color: var(--th-deep, #FF6A00); display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 800; flex: none; }
.spm-ic.wx { background: #2AAE67; color: #fff; }
.spm-ic.zfb { background: #1677FF; color: #fff; }
.spm-ic.bal { background: linear-gradient(135deg,#FFAA44,#FF8A00); color: #fff; }
.spm-info { flex: 1; }
.spm-info b { display: block; font-size: 14px; }
.spm-info span { display: block; font-size: 11px; color: var(--text-3); margin-top: 2px; }
.sp-notice { font-size: 13px; color: var(--text-2); line-height: 1.9; max-height: 300px; overflow-y: auto; white-space: pre-wrap; }
/* 公告弹窗顶部俱乐部 LOGO */
.sp-notice-logo { text-align: center; padding: 2px 0 10px; }
.sp-notice-logo img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
/* 下单公告页页首俱乐部 LOGO */
.sn-logo { text-align: center; padding: 18px 0 6px; }
.sn-logo img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; box-shadow: 0 2px 12px rgba(0,0,0,.12); }

/* ---------- 点单端内通用组件橙化（不影响主端） ---------- */
.page[data-page^="shop"] .btn.primary { background: linear-gradient(90deg,var(--th-light,#FF9D45),var(--th-deep,#FF6A00)); color: #fff; }
.page[data-page^="shop"] .sub-tabs.plain .st.on { color: var(--th-deep, #FF6A00); }
.page[data-page^="shop"] .sub-tabs.plain .st.on::after { background: linear-gradient(90deg,var(--th-light,#FF9D45),var(--th-deep,#FF6A00)); }
.page[data-page^="shop"] .oc-btn { background: linear-gradient(90deg,var(--th-light,#FF9D45),var(--th-deep,#FF6A00)); color: #fff; }
.page[data-page^="shop"] .so-head .badge.wait { background: #FFF1E2; color: #B33D00; }
.page[data-page^="shop"] .empty { padding-top: 60px; }


/* 商户端链接行：纵向排列，URL 完整显示 */
.ca-kv.ca-kv-url { flex-direction:column; align-items:stretch; gap:6px }
.ca-kv.ca-kv-url span { flex:none }
.ca-kv.ca-kv-url b.ca-url { text-align:left; word-break:break-all; line-height:1.5 }
.ca-kv.ca-kv-url .ca-copy { align-self:flex-start; margin-top:2px }

/* ============================================================
   商户端首页 1:1 复刻（参考站 vibrant-orange 主题）
   --c-primary #FFAA44 / gradient #FFAA44→#FFC043 / price #C92E15
   ============================================================ */
.rh {
  min-height: 100%;
  background: linear-gradient(180deg, var(--th,#FF7A1A) 0%, var(--th-light,#FFA14D) 80px, var(--th-soft2,#FFD08A) 140px, #F6F7F9 200px);
  overflow-y: auto;
  padding-bottom: 8px;
}
.rh-top { display: flex; align-items: center; gap: 10px; padding: 10px 12px 8px; }
.rh-logo { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; flex: none; box-shadow: 0 2px 8px rgba(74,35,7,.25); }
/* 下单攻略气泡：跑马灯行左侧头像位置（点击弹出攻略） */
.rh-notice-guide { height: 34px; width: auto; flex: none; cursor: pointer; border-radius: 8px; }
.rh-search {
  flex: 1; min-width: 0; height: 36px; border-radius: 999px;
  background: #FFF9F3; display: flex; align-items: center; gap: 8px;
  padding: 0 14px; color: #767676; font-size: 13px;
}
.rh-search svg { flex: none; }
/* 首页右上角头像 = 俱乐部 LOGO（总后台上传联动），点击进「我的」 */
.rh-top-avatar {
  width: 32px; height: 32px; border-radius: 50%; flex: none; object-fit: cover;
  border: 1.5px solid rgba(255,255,255,.85); box-shadow: 0 2px 8px rgba(74,35,7,.22);
  cursor: pointer; background: #FFF9F3;
}
/* Banner 轮播 */
.rh-banner { margin: 2px 12px 0; border-radius: 14px; overflow: hidden; position: relative; box-shadow: 0 4px 14px rgba(217,120,0,.18); }
.rh-banner-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rh-banner-track::-webkit-scrollbar { display: none; }
.rh-banner-track img { width: 100%; flex: none; scroll-snap-align: center; aspect-ratio: 1107/556; object-fit: cover; }
.rh-banner-dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.rh-banner-dots i { width: 6px; height: 6px; border-radius: 999px; background: rgba(255,255,255,.55); transition: all .25s; }
/* 购买动态飘窗（参考站 1:1：banner 左下浮动「用户xx 购买了 xx单」） */
.rh-buyfloat { position: absolute; left: 10px; bottom: 24px; z-index: 3; display: flex; align-items: center; gap: 6px; max-width: 72%; background: rgba(255,255,255,.92); border-radius: 999px; padding: 4px 12px 4px 5px; box-shadow: 0 2px 10px rgba(0,0,0,.18); font-size: 11px; color: #333; opacity: 1; transition: opacity .4s; pointer-events: none; }
.rh-buyfloat img { width: 22px; height: 22px; border-radius: 50%; flex: none; }
.rh-buyfloat span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rh-buyfloat b { color: var(--th, #FF7A1A); font-weight: 600; }
.rh-buyfloat.out { opacity: 0; }
/* 下单攻略：左侧浮动入口 */
.rh-guide { position: fixed; right: 10px; bottom: 92px; z-index: 30; width: 44px; padding: 11px 0; background: linear-gradient(180deg, var(--th-light, #FFA14D), var(--th, #FF7A1A)); color: #fff; font-size: 12px; font-weight: 600; line-height: 1.35; text-align: center; border-radius: 10px; box-shadow: 0 3px 10px rgba(0,0,0,.22); cursor: pointer; }
.rh-guide span { display: inline-block; }
.rh-banner-dots i.on { background: #fff; width: 14px; }
/* 下单动态跑马灯 */
.rh-notice {
  margin: 10px 12px 0; height: 40px; background: #fff; border-radius: 999px;
  display: flex; align-items: center; gap: 8px; padding: 0 10px;
  box-shadow: 0 2px 8px rgba(217,120,0,.10); overflow: hidden;
}
.rh-notice-avatar { width: 26px; height: 26px; border-radius: 999px; flex: none; }
.rh-notice-icon { height: 24px; flex: none; }
.rh-mq { flex: 1; min-width: 0; overflow: hidden; height: 100%; display: flex; align-items: center; }
.rh-mq-inner { display: inline-flex; white-space: nowrap; animation: rhMq 20s linear infinite; }
.rh-mq-item { font-size: 12.5px; color: #1A1A1A; margin-right: 38px; }
.rh-mq-item b { color: #C92E15; font-weight: 600; }
@keyframes rhMq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* 白色圆角内容区 */
.rh-sheet { background: linear-gradient(180deg, #FFFFFF 0px, #FFFFFF 236px, #F5F5F5 236px); border-radius: 20px 20px 0 0; margin-top: 12px; padding: 14px 12px 24px; min-height: 60vh; }
/* 接单状态行 */
.rh-status { display: flex; align-items: center; gap: 10px; padding: 2px 2px 12px; }
.rh-status-label { font-size: 13px; font-weight: 600; color: #1A1A1A; }
.rh-pill { display: inline-flex; background: #F3E5D3; border-radius: 999px; padding: 3px; }
.rh-pill .rp { font-size: 12px; padding: 4px 14px; border-radius: 999px; color: #5F4330; }
.rh-pill .rp.on { background: var(--th-grad, linear-gradient(135deg,#FF9D45,#FF6A00)); color: #4A2307; font-weight: 700; }
.rh-state { margin-left: auto; font-size: 12px; }
.rh-state.on { color: #1DB974; }
.rh-state.off { color: #999; }
/* 宫格 4 */
.rh-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 6px; padding: 4px 0 6px; }
.rh-grid-item { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.rh-grid-item img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; }
.rh-grid-item span { font-size: 12px; color: #1A1A1A; font-weight: 500; }
/* 瓷贴 3 */
.rh-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 6px 0 4px; }
.rh-tile { border-radius: 12px; background: #F7F7F7; display: flex; flex-direction: column; align-items: center; padding: 10px 0; gap: 6px; }
.rh-tile img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.rh-tile span { font-size: 12.5px; font-weight: 600; color: #1A1A1A; }
.rh-tile.glow { background: linear-gradient(180deg, var(--th-soft, #FFE7C4), var(--th-soft2, #FFD08A)); box-shadow: inset 0 0 0 2px var(--th-mid, #FFAA44), 0 4px 12px rgba(255,140,26,.35); }
/* 分类 tabs（下划线变体） */
.rh-tabs { display: flex; gap: 22px; overflow-x: auto; padding: 12px 2px 0; scrollbar-width: none; }
.rh-tabs::-webkit-scrollbar { display: none; }
.rh-tab { flex: none; font-size: 13px; color: #5F4330; position: relative; padding: 6px 0; }
.rh-tab.on { color: var(--th-text, #D97800); font-weight: 700; }
.rh-tab.on::after { content: ''; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: 18px; height: 3px; border-radius: 3px; background: var(--th-grad, linear-gradient(135deg,#FF9D45,#FF6A00)); }
.rh-sec-title { font-size: 15.5px; font-weight: 700; color: #333; padding: 12px 2px 10px; }
/* 商品网格 3 列 */
.rh-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rh-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 0 8px rgba(17,17,17,.05); }
.rh-card-cover { aspect-ratio: 1/1; background: #F5F5F5; }
.rh-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.rh-card-name { font-size: 12.5px; color: #1A1A1A; padding: 7px 8px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rh-card-foot { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 9px; }
.rh-price { color: #C92E15; font-weight: 600; font-size: 15px; }
.rh-price i { font-style: normal; font-size: 12px; }
.rh-buy { width: 20px; height: 20px; border-radius: 999px; background: #F3E5D3; display: flex; align-items: center; justify-content: center; }
.rh-empty { padding: 44px 0; color: #999; text-align: center; font-size: 13px; }

/* ---------- 商户端底部导航（参考站样式：棕字/橙图标/中心凸起） ---------- */
.tabbar { background: #fff; }
.tabbar .tab { font-size: 9.5px; font-weight: 700; color: #5F4330; gap: 3px; }
.tabbar .tab.on { color: var(--th-text, #D97800); }
.tabbar .tab img { width: 24px; height: 24px; }
/* tab 图标 mask 着色：选中态颜色随主题（点单端 --th / 打手端品牌绿） */
.tabbar .tab .tabic { width: 24px; height: 24px; display: block; background: #9BA3AF;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
body.shop-mode .tabbar .tab.on .tabic { background: var(--th-grad, linear-gradient(135deg,#FF9D45,#FF6A00)); }
body:not(.shop-mode) .tabbar .tab.on .tabic { background: linear-gradient(135deg,var(--green,#B5E61D),var(--green-deep,#7CB305)); }
.tab-pick-slot { width: 64px; flex: none; display: flex; align-items: flex-start; justify-content: center; }
.tab-pick-btn {
  margin-top: -18px; width: 52px; height: 52px; border-radius: 999px;
  background: linear-gradient(180deg, var(--th-light, #FFC043), var(--th, #FF8C1A)); color: #4A2307;
  font-size: 12.5px; font-weight: 800; border: 3px solid #fff;
  box-shadow: 0 6px 16px rgba(255,140,26,.45);
}

/* ---------- 抢单图形验证码弹窗 ---------- */
#gcOverlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.55);
  display: flex; align-items: center; justify-content: center;
}
.gc-box {
  width: 300px; background: #fff; border-radius: 16px;
  padding: 20px 18px 16px; box-shadow: 0 12px 40px rgba(0,0,0,.25);
}
.gc-title { font-size: 17px; font-weight: 700; color: #1D2129; text-align: center; }
.gc-sub { font-size: 12px; color: #86909C; text-align: center; margin: 6px 0 14px; }
.gc-crow { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.gc-cap { border-radius: 8px; border: 1px solid #E5E6EB; }
.gc-refresh { display: flex; align-items: center; gap: 4px; font-size: 12px; color: #165DFF; cursor: pointer; }
.gc-input {
  width: 100%; height: 42px; border: 1px solid #E5E6EB; border-radius: 10px;
  padding: 0 12px; font-size: 15px; letter-spacing: 3px; box-sizing: border-box; outline: none;
}
.gc-input:focus { border-color: #165DFF; }
.gc-btns { display: flex; gap: 10px; margin-top: 14px; }
.gc-btns span {
  flex: 1; height: 40px; border-radius: 10px; display: flex;
  align-items: center; justify-content: center; font-size: 14px; cursor: pointer;
}
.gc-cancel { background: #F2F3F5; color: #4E5969; }
.gc-ok { background: linear-gradient(135deg,#B5E61D,#8FC31F); color: #1A2E05; font-weight: 700; }

/* ---------- 订单详情：服务成员卡 + 底部三按钮（图4） ---------- */
.svc-card { position: relative; overflow: hidden; }
.svc-banner {
  margin: -2px -2px 10px; padding: 9px 14px;
  background: linear-gradient(135deg, #7B5CF0, #9B7CFF);
  color: #fff; font-size: 14px; font-weight: 700;
  border-radius: 10px 10px 0 0; text-align: center; letter-spacing: 2px;
}
.svc-row { display: flex; align-items: center; gap: 10px; padding: 8px 2px; }
.svc-ava { width: 34px; height: 34px; border-radius: 999px; object-fit: cover; flex: none; }
.svc-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.svc-info b { font-size: 14px; color: #1D2129; }
.svc-info span { font-size: 11px; color: #7B5CF0; background: #F1EDFF; border-radius: 4px; padding: 1px 6px; width: fit-content; }
.svc-share { font-size: 13px; font-weight: 700; color: #7B5CF0; }
.svc-share.svc-edit { text-decoration: underline dotted; }
.svc-del { width: 22px; height: 22px; border-radius: 999px; background: #F2F3F5; color: #86909C; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.svc-invite {
  margin-top: 8px; border: 1.5px dashed #C6B8FF; border-radius: 10px;
  padding: 12px 0; display: flex; align-items: center; justify-content: center; gap: 6px;
  color: #7B5CF0; font-size: 13px; font-weight: 600; background: #FAF8FF;
}
.svc-invite .svi-plus { font-size: 16px; font-weight: 700; }
#gmOverlay { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.55); display: flex; align-items: center; justify-content: center; }
.gm-list { max-height: 300px; overflow-y: auto; margin: 12px 0; }
.gm-item { display: flex; align-items: center; gap: 10px; padding: 9px 2px; border-bottom: 1px solid #F2F3F5; }
.gm-go { margin-left: auto; font-size: 12px; color: #165DFF; background: #EAF1FF; border-radius: 6px; padding: 4px 10px; }
.odt-act3 {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: #fff; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  display: flex; gap: 10px; box-shadow: 0 -4px 16px rgba(0,0,0,.06);
}
.odt-act3 .a3 {
  flex: 1; height: 42px; border-radius: 999px; display: flex;
  align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; background: #F2F3F5; color: #4E5969;
}
.odt-act3 .a3.primary { background: linear-gradient(135deg,#B5E61D,#8FC31F); color: #1A2E05; }

/* ---------- 结单报备页（图2） ---------- */
.sr-hero { text-align: center; padding: 22px 16px 6px; }
.sr-hero img { width: 132px; opacity: .95; }
.sr-hero b { display: block; font-size: 16px; color: #1D2129; margin-top: 4px; }
.sr-hero span { display: block; font-size: 12px; color: #86909C; margin-top: 4px; }
.sr-ups { display: flex; gap: 10px; flex-wrap: wrap; }
.sr-up {
  width: 108px; height: 108px; border-radius: 10px; border: 1.5px dashed #C9CDD4;
  background: #F7F8FA; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; position: relative; overflow: hidden; flex: none;
}
.sr-up.has { border-style: solid; padding: 0; }
.sr-up img { width: 100%; height: 100%; object-fit: cover; }
.sr-up-plus { font-size: 26px; color: #C9CDD4; line-height: 1; }
.sr-up-label { font-size: 11px; color: #86909C; }
.sr-x {
  position: absolute; top: 4px; right: 4px; width: 20px; height: 20px;
  border-radius: 999px; background: rgba(0,0,0,.55); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.sr-count { font-size: 12px; color: #86909C; font-weight: 400; }
.sr-time { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.sr-time span { font-size: 13px; color: #4E5969; flex: none; width: 62px; }
.sr-time input {
  flex: 1; height: 38px; border: 1px solid #E5E6EB; border-radius: 8px;
  padding: 0 10px; font-size: 13px; color: #1D2129; background: #fff;
}
.sr-text {
  width: 100%; min-height: 72px; border: 1px solid #E5E6EB; border-radius: 10px;
  padding: 10px; font-size: 13px; box-sizing: border-box; resize: none; outline: none;
}
.sr-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: #fff; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 16px rgba(0,0,0,.06);
}
.sr-bar .ok {
  width: 100%; height: 44px; border-radius: 999px; border: none;
  background: linear-gradient(135deg,#B5E61D,#8FC31F); color: #1A2E05;
  font-size: 15px; font-weight: 700;
}
.od2-foot { display: flex; gap: 10px; margin-top: 10px; }
.od2-foot button { flex: 1; }

/* ---------- 钱包提现（图：蓝白钱包风） ---------- */
.wallet-total.wt2 { padding-bottom: 0; }
.wt2-strip {
  margin-top: 12px; background: #EAF1FF; border-radius: 10px 10px 0 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; margin-left: -16px; margin-right: -16px; margin-bottom: -16px;
  font-size: 13px; color: #165DFF;
}
.wt2-strip .wt2-link { display: flex; align-items: center; gap: 2px; font-weight: 600; }
.wt-radio {
  width: 20px; height: 20px; border-radius: 999px; border: 1.5px solid #C9CDD4; flex: none;
  position: relative; box-sizing: border-box;
}
.wt-radio.on { border-color: #165DFF; }
.wt-radio.on::after {
  content: ''; position: absolute; inset: 3px; border-radius: 999px; background: #165DFF;
}
.wd2-inst { display: flex; align-items: center; gap: 10px; padding: 14px 16px; }
.wd2-ch { display: flex; align-items: center; gap: 12px; padding: 13px 0; }
.wd2-ic {
  width: 28px; height: 28px; border-radius: 7px; color: #fff; flex: none;
  display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700;
}
.wd2-ic.wx { background: #2AAE67; }
.wd2-ic.zfb { background: #1677FF; }
.wd2-inp {
  width: 100%; height: 42px; background: #F7F8FA; border: none; border-radius: 8px;
  padding: 0 12px; font-size: 14px; color: #1D2129; box-sizing: border-box; outline: none; margin-bottom: 10px;
}
.wd2-inp::placeholder { color: #C0C4CC; }

/* ============================================================
   参考站 theme-3 1:1 还原（20261023d）
   ============================================================ */
/* ---------- 我的页 ---------- */
.sh-mine-hero.sm2-hero { padding: 16px 14px 18px; }
.sh-mine-hero.sm2-hero .sm-avatar { width: 46px; height: 46px; }
.sh-mine-hero.sm2-hero .sm-info b { font-size: 17px; }
.sm2-arrow { font-style: normal; font-size: 12px; opacity: .85; font-weight: 400; }
.sm2-warn { display: flex; align-items: center; gap: 8px; margin: 10px 12px 0; background: #fff; border-radius: 10px; padding: 10px 12px; font-size: 13px; color: #1A1A1A; box-shadow: 0 4px 10px rgba(17,17,17,.04); }
.sm2-warn img { width: 44px; height: 18px; flex: none; }
.sm2-card { margin: 10px 12px 0; border-radius: 12px; background: #fff; box-shadow: 0 4px 10px rgba(17,17,17,.04); }
.sm2-ogrid { display: flex; justify-content: space-between; padding: 8px 6px 14px; }
.sm2-og { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 11px; color: #333; }
.sm2-ogic { position: relative; width: 30px; height: 30px; }
.sm2-ogic img { width: 30px; height: 30px; display: block; }
.sm2-ogic i { position: absolute; top: -6px; right: -12px; min-width: 14px; height: 14px; padding: 0 3px; background: #FC4032; color: #fff; border-radius: 999px; font-size: 9px; font-style: normal; line-height: 14px; text-align: center; }
.sm2-fgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 0; padding: 12px 6px 16px; }
.sm2-fg { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 11px; color: #333; }
.sm2-fg img { width: 25px; height: 25px; display: block; object-fit: contain; }
/* 更多功能：线性描边图标（assets/icons 下的 fn-*.png 为黑色描边，视觉比彩色图标轻，需加深） */
.sm2-fgrid-more .sm2-fg img { width: 27px; height: 27px; opacity: 1; filter: brightness(.55); }
.sh-helpimg { margin: 26px auto 0; text-align: center; }
.sh-helpimg img { width: 180px; display: inline-block; opacity: .95; }

/* ---------- 点单端 · 排行榜 ---------- */
.srk-tabs {
  display: flex; gap: 8px; padding: 12px 12px 4px;
}
.srk-tab {
  flex: 1; text-align: center; font-size: 13px; color: #6B7280;
  background: #fff; border-radius: 999px; padding: 8px 0;
  box-shadow: 0 2px 8px rgba(17,17,17,.04);
  transition: all .2s;
}
.srk-tab.on { background: var(--th, #FF8C1A); color: #fff; font-weight: 700; box-shadow: none; }
.srk-card { margin: 10px 12px 0; border-radius: 12px; background: #fff; padding: 6px 12px; box-shadow: 0 4px 10px rgba(17,17,17,.04); }
.srk-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid rgba(17,17,17,.05); }
.srk-row:last-child { border-bottom: 0; }
.srk-no { width: 22px; text-align: center; font-size: 14px; color: #9AA2B6; font-weight: 800; flex: none; }
.srk-no.n1 { color: #FFB020; }
.srk-no.n2 { color: #9FB0C9; }
.srk-no.n3 { color: #D08A5B; }
.srk-ava { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; flex: none; background: #F2F3F5; display: flex; align-items: center; justify-content: center; }
.srk-ava img { width: 100%; height: 100%; object-fit: cover; }
.srk-avag { font-size: 14px; color: #8A92A6; font-weight: 700; }
.srk-name { font-size: 13.5px; color: #1D2129; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.srk-val { font-size: 13px; color: #1D2129; font-weight: 700; text-align: right; flex: none; }
.srk-val i { display: block; font-size: 10.5px; color: #9AA2B6; font-style: normal; font-weight: 400; margin-top: 2px; }

/* ---------- 消息页 ---------- */
.sm2-msgbody { background: #F6F7F9; padding: 8px 0 10px; }
.sm2-msgrow { display: flex; align-items: center; gap: 12px; padding: 16px 14px; background: #fff; border-bottom: 1px solid rgba(17,17,17,.05); }
.sm2-msgic { width: 46px; height: 46px; border-radius: 50%; background: #FFF3E5; display: flex; align-items: center; justify-content: center; flex: none; }
.sm2-msgic img { width: 27px; height: 27px; }
.sm2-msgic.green { background: #E6F9F0; }
.sm2-msgright { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.sm2-time { font-size: 11px; color: #999; }
.sm2-badge { min-width: 16px; height: 16px; padding: 0 4px; background: #FC4032; color: #fff; border-radius: 999px; font-size: 10px; font-style: normal; line-height: 16px; text-align: center; }

/* ---------- 分类 / 选人：顶部胶囊图标行 ---------- */
.sc2-pillrow { display: flex; gap: 10px; padding: 10px 12px 6px; overflow-x: auto; background: #F6F7F9; flex: none; }
.sc2-pillrow::-webkit-scrollbar { display: none; }
.sc2-pill { position: relative; flex: none; width: 78px; height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 12px; overflow: hidden; }
.sc2-pillbg { position: absolute; inset: 0; }
.sc2-pillbg img { width: 100%; height: 100%; display: block; }
.sc2-pillic { width: 26px; height: 26px; border-radius: 50%; position: relative; z-index: 1; object-fit: cover; }
.sc2-pill b { position: relative; z-index: 1; font-size: 10px; color: #5F4330; margin-top: 2px; max-width: 70px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc2-pill.on b { color: #4A2307; font-weight: 700; }

/* ---------- 选人页（player-list 1:1） ---------- */
.sp2-body { background: #F6F7F9; }
.sp2-banners { display: flex; gap: 8px; padding: 10px 12px 2px; }
.sp2-banners img { flex: 1; min-width: 0; width: calc(50% - 4px); border-radius: 10px; display: block; }
/* 技术 / 娱乐 分类 banner（可点击筛选，丝滑切换） */
.sp2-banner { flex: 1; min-width: 0; width: calc(50% - 4px); padding: 0; border: none; background: none; border-radius: 10px; overflow: hidden; display: block; transition: transform .15s ease, box-shadow .15s ease; -webkit-tap-highlight-color: transparent; }
.sp2-banner img { width: 100%; }
.sp2-banner.on { box-shadow: 0 0 0 2px var(--th, #FF8C1A); transform: translateY(-1px); }
.sp2-banner:active { transform: scale(0.95); }
.sp2-card { position: relative; margin: 10px 12px 0; border-radius: 14px; overflow: hidden; }
.sp2-cardbg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sp2-main { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 12px; }
.sp2-avatar { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; flex: none; background: #EEE; }
.sp2-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp2-info { flex: 1; min-width: 0; }
.sp2-namerow { display: flex; align-items: center; gap: 5px; font-size: 15px; }
.sp2-namerow b { color: #1A1A1A; }
.sp2-namerow i { font-style: normal; font-size: 13px; font-weight: 700; }
.sp2-namerow i.f { color: #FF6EA0; }
.sp2-namerow i.m { color: #3E9DFF; }
.sp2-online { margin-left: 6px; font-size: 11px; color: #1DB974; display: inline-flex; align-items: center; gap: 4px; }
.sp2-online i { width: 6px; height: 6px; border-radius: 50%; background: #1DB974; }
.sp2-online.off { color: #999; }
.sp2-online.off i { background: #C9C9C9; }
.sp2-sub { font-size: 12px; color: #999; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp2-tags { display: flex; gap: 6px; margin-top: 6px; align-items: center; flex-wrap: wrap; }
.sp2-level { position: relative; display: inline-flex; align-items: center; gap: 3px; height: 19px; padding: 0 9px 0 5px; font-size: 10px; color: #5A3A00; }
.sp2-level .lv-bg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 0; }
.sp2-level .lv-ic { width: 12px; height: 12px; position: relative; z-index: 1; }
.sp2-level em { position: relative; z-index: 1; font-style: normal; font-weight: 600; }
.sp2-tag { font-size: 10px; padding: 1px 7px; border-radius: 999px; border: 1px solid #ECECEC; color: #777; background: #fff; }
.sp2-tag.is-female { color: #FF6EA0; border-color: #FFD3E2; }
.sp2-tag.is-male { color: #3E9DFF; border-color: #C9E3FF; }
.sp2-btn { flex: none; width: 64px; height: 30px; padding: 0; background: none; border: none; }
.sp2-btn img { width: 100%; height: 100%; display: block; }
.sp2-fab { position: fixed; right: 14px; bottom: 120px; width: 44px; height: 44px; border-radius: 50%; background: #FF9D2B; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(255,140,26,.45); z-index: 30; cursor: pointer; }

/* ---------- 登录页 1:1（参考站 theme-3） ---------- */
.lg2-wrap { position: absolute; inset: 0; display: flex; flex-direction: column; background: linear-gradient(180deg, #F6C63F 0%, #F8D96E 26%, #FBEBC0 48%, #FDF8EC 68%, #FFFFFF 100%); overflow: hidden; }
.lg2-banner { flex: none; padding-top: 108px; display: flex; flex-direction: column; align-items: center; }
.lg2-logo-box { width: 96px; height: 96px; border-radius: 24px; overflow: hidden; background: #111; box-shadow: 0 8px 20px rgba(120,84,0,.18); }
.lg2-logo-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lg2-name { margin-top: 16px; font-size: 22px; font-weight: 700; color: #1A1A1A; }
.lg2-body { flex: 1; display: flex; flex-direction: column; align-items: center; padding-top: 88px; }
.lg2-btns { width: 86%; max-width: 340px; display: flex; gap: 12px; }
.lg2-btn { flex: 1; width: 100%; height: 48px; border: none; border-radius: 24px; background: rgba(255,255,255,.72); box-shadow: 0 2px 10px rgba(140,100,0,.06); }
.lg2-btn-text { font-size: 17px; color: #4A4A4A; font-weight: 600; }
.lg2-btn-wx { background: #07C160; box-shadow: 0 4px 14px rgba(7,193,96,.35); }
.lg2-btn-wx .lg2-btn-text { color: #fff; }
.lg2-btn-qq { background: #12B7F5; box-shadow: 0 4px 14px rgba(18,183,245,.35); }
.lg2-btn-qq .lg2-btn-text { color: #fff; }
.lg2-agree { margin-top: 14px; display: flex; align-items: center; gap: 6px; font-size: 12px; color: #8A8A8A; }
.lg2-radio { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #B9B9B9; background: transparent; flex: none; position: relative; }
.lg2-radio.on { border-color: #E0A63A; background: #F6C63F; }
.lg2-radio.on::after { content: ''; position: absolute; left: 4px; top: 1px; width: 3px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.lg2-agree-text u { color: #4A4A4A; }
.lg2-alt { margin-top: 14px; font-size: 12px; color: #9A9A9A; display: flex; gap: 10px; align-items: center; }
.lg2-alt span { cursor: pointer; }
.lg2-alt i { color: #D5D5D5; font-style: normal; }
.lg2-footer { flex: none; padding-bottom: 26px; text-align: center; }
.lg2-footer img { height: 80px; width: auto; display: inline-block; }
.lg2-body .pwd-form { width: 86%; max-width: 340px; background: rgba(255,255,255,.85); border-radius: 14px; padding: 14px; margin-top: 14px; }
.lg2-body .pwd-form .field { background: #fff; border: 1px solid #EFEFEF; }
/* 登录表单在白色卡片上：文字改深色，修复白字白底看不见的问题 */
.lg2-body .pwd-form .field .f-label { color: #4E5969; }
.lg2-body .pwd-form .field input { color: #1A1A1A; }
.lg2-body .pwd-form .field input::placeholder { color: #A8AEBB; }
.lg2-body .email-login-tip { color: #86909C; }

/* ============================================================
   点单端进入页（年龄门）+ 微信聚合登录页 1:1（20261023f）
   ============================================================ */
.sg2-wrap, .swx2-wrap {
  min-height: 100%; display: flex; flex-direction: column; align-items: center;
  background: linear-gradient(180deg, #FFE3AE 0%, #FFDFA6 46%, #FFE7C0 100%);
  padding: 56px 20px 24px; box-sizing: border-box;
}
.sg2-logo, .swx2-logo { width: 96px; height: 96px; border-radius: 22px; overflow: hidden; box-shadow: 0 6px 18px rgba(120,72,10,.20); background: #1D2129; }
.sg2-logo img, .swx2-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sg2-name, .swx2-name { margin-top: 16px; font-size: 21px; font-weight: 800; color: #3A2A0E; letter-spacing: 1px; }
.sg2-card {
  width: 100%; margin-top: 30px; background: #FFFDF6; border-radius: 16px;
  padding: 22px 18px 20px; box-shadow: 0 8px 26px rgba(150,96,10,.10);
}
.sg2-title { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 17px; font-weight: 800; color: #3A2A0E; }
.sg2-title i { font-style: normal; font-size: 18px; }
.sg2-desc { margin-top: 10px; font-size: 12px; line-height: 1.8; color: #8A7444; text-align: center; }
.sg2-row { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; padding: 12px 0 4px; border-top: 1px solid #F1E7D2; cursor: pointer; }
.sg2-chk {
  flex: none; width: 19px; height: 19px; border-radius: 50%; margin-top: 1px;
  border: 1.5px solid #D9C69A; background: #fff; position: relative;
}
.sg2-chk.on { border-color: #FF9A2E; background: #FF9A2E; }
.sg2-chk.on::after {
  content: ''; position: absolute; left: 5px; top: 2.5px; width: 5px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.sg2-copy { display: flex; flex-direction: column; gap: 3px; }
.sg2-copy b { font-size: 13px; color: #3A2A0E; font-weight: 600; }
.sg2-copy i { font-style: normal; font-size: 11px; color: #A4916A; line-height: 1.6; }
.sg2-copy u { color: #FF8A1E; text-decoration: none; }
.sg2-btn {
  width: 100%; margin-top: 20px; border: none; border-radius: 999px; padding: 13px 0;
  background: linear-gradient(90deg, #FFA93D, #FF8A1E); color: #fff;
  font-size: 16px; font-weight: 700; box-shadow: 0 6px 16px rgba(255,138,30,.35);
}
.sg2-btn:disabled { background: #FFC98F; box-shadow: none; }
.sg2-foot { margin-top: 22px; font-size: 11px; color: #B39C6B; }

.swx2-btns { width: 100%; margin-top: 64px; display: flex; gap: 12px; }
.swx2-btn {
  flex: 1; border: none; border-radius: 999px; padding: 14px 0;
  background: #EDEDED; color: #333; font-size: 16px; font-weight: 600;
}
.swx2-btn-wx { background: #07C160; color: #fff; }
.swx2-btn-qq { background: #12B7F5; color: #fff; }
.swx2-btn:active { background: #E2E2E2; }
.swx2-agree { display: flex; align-items: center; gap: 7px; margin-top: 16px; font-size: 11.5px; color: #7A6A45; }
.swx2-agree u { color: #FF8A1E; text-decoration: none; }
.swx2-chk { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid #C9B384; background: #fff; flex: none; position: relative; }
.swx2-chk.on { border-color: #FF9A2E; background: #FF9A2E; }
.swx2-chk.on::after { content: ''; position: absolute; left: 4px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.swx2-copy { margin-top: auto; padding-top: 40px; }
.swx2-copy img { width: 130px; display: block; margin: 0 auto; }

/* 首页分类胶囊行（复用 sc2-pill，首页版加宽） */
.rh-pillrow { display: flex; gap: 10px; padding: 10px 2px 4px; overflow-x: auto; scrollbar-width: none; }
.rh-pillrow::-webkit-scrollbar { display: none; }
.rh-pillrow .sc2-pill { width: 85px; height: 60px; border-radius: 14px; }
.rh-pillrow .sc2-pillic { width: 30px; height: 30px; }
.rh-pillrow .sc2-pill b { font-size: 11px; margin-top: 4px; }

/* 商品分区标题（左侧橙色竖条，1:1 参考站） */
.rh-sec { display: flex; align-items: center; gap: 7px; padding: 16px 2px 10px; }
.rh-sec i { width: 4px; height: 14px; border-radius: 2px; background: var(--th-grad, linear-gradient(135deg,#FF9D45,#FF6A00)); }
.rh-sec b { font-size: 15px; font-weight: 700; color: #1A1A1A; }

/* 公告弹窗：俱乐部名红底高亮（1:1 参考站） */
.sp-ntc-hl { font-style: normal; background: #FFE3DC; color: #E0341F; border-radius: 4px; padding: 0 4px; font-weight: 600; }

/* 管理端轮播图列表 */
.ca-bans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ca-ban { position: relative; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 2/1; }
.ca-ban img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ca-ban-del { position: absolute; right: 4px; top: 4px; border: none; background: rgba(0,0,0,.55); color: #fff; font-size: 10px; border-radius: 999px; padding: 3px 8px; }
.ca-ban-empty { grid-column: 1 / -1; font-size: 12px; color: var(--text-3); padding: 12px 0; text-align: center; }

/* 登录页：验证码登录 / 密码登录 分段切换（20261023f） */
.lg2-seg { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 14px; font-size: 13px; color: var(--text-3); }
.lg2-seg span { padding: 4px 2px; cursor: pointer; }
.lg2-seg span.on { color: var(--text); font-weight: 700; border-bottom: 2px solid #7CB305; }
.lg2-seg i { font-style: normal; color: var(--line); }

/* ============ 子后台 · 顾客余额管理 ============ */
.cust-list { padding: 4px 0; }
.cust-row { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid #F2F3F5; }
.cust-row:last-child { border-bottom: none; }
.cust-ava { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--th-light, #FFA14D), var(--th, #FF7A1A)); color: #fff; font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.cust-info { flex: 1; min-width: 0; }
.cust-info b { display: block; font-size: 14.5px; color: #1D2129; }
.cust-info span { display: block; font-size: 11.5px; color: #86909C; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cust-bal { font-size: 15px; font-weight: 700; color: #1D2129; margin-right: 4px; flex: none; }
.cust-ops { display: flex; flex-direction: column; gap: 6px; flex: none; }
.cust-ops .btn-sm { margin: 0; }
.login-version { display: block; }

/* 自定义导航键图标（后台「底部导航自定义」上传的彩色图） */
.tabbar .tab .tabic-cus { width: 26px; height: 26px; display: block; object-fit: contain; margin: 0 auto 2px; }

/* ================= 抽奖（首页横幅 + 抽奖页盲盒） ================= */
.rh-lottery { margin: 10px 12px 4px; border-radius: 12px; overflow: hidden; cursor: pointer; }
.rh-lottery img { width: 100%; display: block; object-fit: cover; }
.lt-page { background: linear-gradient(180deg, #23273A 0%, #171A26 40%, #12141D 100%); min-height: 100%; padding-bottom: 30px; }
.lt-closed { text-align: center; color: #8A90A5; padding: 120px 0; font-size: 15px; }
.lt-banner { width: calc(100% - 24px); margin: 12px; border-radius: 12px; display: block; }
.lt-boxwrap { text-align: center; padding: 18px 0 6px; }
.lt-box { width: 220px; display: inline-block; filter: drop-shadow(0 14px 30px rgba(0,0,0,.45)); }
.lt-box.lt-shake { animation: ltShake .38s linear infinite; }
@keyframes ltShake {
  0%, 100% { transform: rotate(0) translateY(0); }
  25% { transform: rotate(-4deg) translateY(-6px); }
  50% { transform: rotate(0) translateY(-12px); }
  75% { transform: rotate(4deg) translateY(-6px); }
}
.lt-go {
  display: block; margin: 10px auto 0; padding: 13px 52px; border: 0; border-radius: 999px;
  background: linear-gradient(180deg, #FFD86B, #F0A72E); color: #5A3A00; font-size: 18px; font-weight: 700;
  box-shadow: 0 8px 22px rgba(240, 167, 46, .35); cursor: pointer;
}
.lt-go i { font-style: normal; font-size: 15px; }
.lt-go:active { transform: scale(.97); }
.lt-side { position: absolute; right: 8px; top: 300px; display: flex; flex-direction: column; gap: 8px; }
.lt-side-btn {
  width: 44px; padding: 8px 0; text-align: center; font-size: 12px; line-height: 1.25;
  color: #C9CEDD; background: rgba(255,255,255,.08); border-radius: 10px 0 0 10px; cursor: pointer;
}
.lt-side-btn2 { font-size: 12px; }
.lt-sectitle { color: #F5D28E; font-size: 17px; font-weight: 700; text-align: center; margin: 26px 0 12px; position: relative; }
.lt-pool { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 14px; }
.lt-prize { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); border-radius: 12px; padding: 10px 6px; text-align: center; }
.lt-prize img { width: 64px; height: 64px; object-fit: contain; }
.lt-prize b { display: block; color: #E8EAF2; font-size: 12px; font-weight: 500; margin-top: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lt-recs { padding: 0 14px; display: flex; flex-direction: column; gap: 8px; }
.lt-rec { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.05); border-radius: 10px; padding: 9px 12px; font-size: 12px; }
.lt-rec-user { color: #F5D28E; font-weight: 600; flex: none; max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lt-rec-prize { color: #C9CEDD; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lt-rec i { font-style: normal; color: #6B7186; flex: none; font-size: 11px; }
.lt-empty { text-align: center; color: #6B7186; font-size: 13px; padding: 16px 0; }
.lt-win { text-align: center; padding: 10px 0 4px; }
.lt-win img { width: 110px; height: 110px; object-fit: contain; }
.lt-win b { display: block; font-size: 18px; margin: 10px 0 6px; }
.lt-win span { font-size: 12px; color: var(--text-4, #86909C); }
/* ---- 抽奖页：参加抽奖的商品（参考站顶部区域） ---- */
.lt-goods { padding: 14px 14px 4px; }
.lt-gtitle { color: #F5D28E; font-size: 15px; font-weight: 700; text-align: center; margin-bottom: 10px; }
.lt-glist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.lt-gitem { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: 12px; padding: 8px; display: flex; align-items: center; gap: 8px; }
.lt-gitem img { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; flex: none; background: rgba(255,255,255,.06); }
.lt-gmain { min-width: 0; }
.lt-gmain b { display: block; color: #E8EAF2; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lt-gmain span { display: block; color: #7C839A; font-size: 11px; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* ---- 抽奖页：游戏信息填写表单 ---- */
.lt-gi { padding: 2px 0; }
.lt-gi-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.lt-gi-row:last-child { border-bottom: 0; }
.lt-gi-row .k { color: #E8EAF2; font-size: 14px; flex: none; }
.lt-gi-row .k::before { content: '*'; color: #E24C3E; margin-right: 4px; }
.lt-gi-row .v { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.lt-gi-row input { flex: 1; max-width: 200px; text-align: right; background: transparent; border: 0; color: #E8EAF2; font-size: 14px; outline: none; }
.lt-gi-row input::placeholder { color: #6B7186; }
.lt-radio { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; color: #9AA0B5; padding: 3px 4px; }
.lt-radio::before { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #5A6076; }
.lt-radio.on { color: #F5D28E; }
.lt-radio.on::before { border-color: #F5D28E; background: radial-gradient(circle, #F5D28E 42%, transparent 46%); }
/* ---- 首页抽奖入口图标：呼吸光晕（参考站图标带光效） ---- */
.rh-lottery { position: relative; animation: ltGlow 2.4s ease-in-out infinite; }
.rh-lottery::after {
  content: ''; position: absolute; inset: 0; border-radius: 12px; pointer-events: none;
  box-shadow: 0 0 0 1px rgba(245,210,142,.45), 0 0 18px rgba(245,210,142,.38) inset, 0 0 14px rgba(245,210,142,.30);
}
@keyframes ltGlow {
  0%, 100% { filter: brightness(1) drop-shadow(0 0 4px rgba(245,210,142,.35)); }
  50% { filter: brightness(1.12) drop-shadow(0 0 12px rgba(245,210,142,.70)); }
}
/* ---- 抽奖页盲盒：悬浮光晕 ---- */
.lt-boxwrap { position: relative; }
.lt-boxwrap::before {
  content: ''; position: absolute; left: 50%; top: 26px; width: 190px; height: 190px; margin-left: -95px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(245,210,142,.30) 0%, rgba(245,210,142,.10) 42%, transparent 68%);
  animation: ltHalo 2.6s ease-in-out infinite;
}
@keyframes ltHalo { 0%,100% { opacity: .65; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.06); } }

/* ---------- 抽奖页优化（v20261025q） ---------- */
/* 游戏信息状态条 */
.lt-status {
  margin: 0 14px 4px; padding: 8px 12px; border-radius: 10px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 12px; color: #9AA0B5;
}
.lt-status .lt-ok { color: #7BE38A; }
.lt-status .lt-warn { color: #F5D28E; }
.lt-mini {
  flex: none; border: 1px solid rgba(245,210,142,.4); background: rgba(245,210,142,.12);
  color: #F5D28E; font-size: 12px; padding: 4px 10px; border-radius: 999px; cursor: pointer;
}
.lt-mini:active { opacity: .75; }
/* 剩余可抽统计 */
.lt-count { text-align: center; color: #8A90A5; font-size: 12px; margin-top: 2px; }
/* 开奖动画：爆开 */
.lt-box.lt-burst { animation: ltBurst .85s ease-out forwards; }
.lt-box.lt-burst::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 220px; height: 220px; margin: -110px 0 0 -110px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,236,180,.85) 0%, rgba(245,210,142,.35) 40%, transparent 70%);
  animation: ltBurstWave .9s ease-out forwards;
}
@keyframes ltBurst { 0% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(245,210,142,0)); } 45% { transform: scale(1.16); filter: drop-shadow(0 0 26px rgba(245,210,142,.9)); } 100% { transform: scale(1); } }
@keyframes ltBurstWave { 0% { opacity: .95; transform: scale(.55); } 100% { opacity: 0; transform: scale(1.5); } }
.lt-boxwrap { position: relative; }
/* 开盒按钮禁用态 */
.lt-go.disabled, .lt-go[disabled] { opacity: .5; pointer-events: none; }
/* 奖品概率 / 库存 */
.lt-prize { position: relative; }
.lt-prize.out { opacity: .42; }
.lt-prize.out::after {
  content: '已抽完'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(10,10,14,.66); border-radius: 12px; color: #F5D28E; font-size: 13px; font-weight: 700;
}
.lt-pp { display: block; color: #F5D28E; font-size: 11px; margin-top: 3px; }
.lt-st { display: block; color: #7C839A; font-size: 10px; margin-top: 2px; }
/* ---- 抽奖页：订单内抽奖（横幅隐藏模式）顶部订单信息 ---- */
.lt-order { margin: 14px 14px 0; padding: 12px 14px; border-radius: 12px; background: rgba(245,210,142,.10); border: 1px solid rgba(245,210,142,.28); }
.lt-order b { display: block; color: #F5D28E; font-size: 15px; font-weight: 700; }
.lt-order span { display: block; color: #C9CEDD; font-size: 12px; margin-top: 5px; }
.lt-order .lt-order-tip { color: #8A90A5; font-size: 11px; margin-top: 4px; }
/* 订单内抽奖：已开奖提示 */
.lt-order-done { margin: 14px auto 0; padding: 12px 18px; max-width: 84%; text-align: center; border-radius: 999px;
  background: rgba(245,210,142,.14); border: 1px solid rgba(245,210,142,.4); color: #F5D28E; font-size: 14px; }
.lt-order-done b { color: #FFE9B0; }
/* 中奖记录「查看更多」 */
.lt-more {
  text-align: center; color: #F5D28E; font-size: 13px; padding: 12px 0 2px; cursor: pointer;
}
.lt-more:active { opacity: .7; }
.lt-recs-all { max-height: 56vh; overflow-y: auto; }
/* 中奖弹窗光效 */
.lt-win { position: relative; }
.lt-win-glow {
  position: absolute; left: 50%; top: 46px; width: 150px; height: 150px; margin: -75px 0 0 -75px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,236,180,.8) 0%, rgba(245,210,142,.28) 42%, transparent 70%);
  animation: ltBurstWave 1.1s ease-out forwards;
}

/* 接单池：禁止抢单倒计时细条（卡片顶部薄薄一层） */
.pool-ban {
  position: relative; height: 16px; margin: -12px -12px 10px; border-radius: 10px 10px 0 0;
  background: #FFF7E8; overflow: hidden; border-bottom: 1px solid #FFE4BA;
}
.pool-ban i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, #FFD591, #FFC069); transition: width .6s linear; }
.pool-ban span { position: relative; z-index: 1; display: block; text-align: center; font-size: 11px; line-height: 16px; color: #B25A00; font-weight: 600; letter-spacing: .5px; }
.oc-btn.disabled, .oc-btn[disabled] { background: #E5E6EB !important; color: #A9AEB8 !important; cursor: not-allowed; box-shadow: none !important; }

/* ================= 点单端 · 确认订单（仿参考站） ================= */
/* 底部预留结算栏高度（58px）+ 安全区，避免「指定陪玩」等末行被遮挡 */
.cf-scroll { background: #F5F6F8; padding: 10px 10px calc(72px + env(safe-area-inset-bottom, 0px)); }
.cf-tip {
  display: flex; align-items: center; gap: 6px;
  background: #FFF1F0; color: #FF4D4F; font-size: 12px;
  padding: 8px 10px; border-radius: 8px; margin-bottom: 10px;
}
.cf-tip i { font-style: normal; font-weight: 700; }
.cf-card { background: #fff; border-radius: 12px; padding: 4px 14px; margin-bottom: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.03); }
.cf-goods { display: flex; gap: 12px; align-items: center; padding: 12px 0; }
.cf-gimg, .cf-goods .sg-img {
  width: 72px; height: 72px; border-radius: 10px; object-fit: cover; flex: 0 0 72px;
  display: flex; align-items: center; justify-content: center; font-size: 20px; color: #fff; font-weight: 700;
}
.cf-ginfo { min-width: 0; flex: 1; }
.cf-gname { font-size: 15px; font-weight: 700; color: #222; line-height: 1.4; }
.cf-gsub { font-size: 12px; color: #999; margin-top: 5px; }
.cf-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 14px 0; border-top: 1px solid #F2F3F5; min-height: 50px;
}
.cf-row:first-child { border-top: none; }
.cf-row-col { flex-direction: column; align-items: stretch; gap: 10px; }
.cf-k { font-size: 14px; color: #333; flex: 0 0 auto; }
.cf-k.cf-req::before { content: '*'; color: #FF4D4F; margin-right: 3px; }
.cf-hint { font-size: 11px; color: #bbb; margin-left: 8px; font-weight: 400; }
.cf-v { font-size: 13px; color: #666; text-align: right; display: flex; align-items: center; gap: 10px; }
.cf-link { color: #333; }
.cf-qty { gap: 12px; }
.cf-qty b { font-size: 16px; color: #222; min-width: 22px; text-align: center; }
.cf-qbtn {
  width: 28px; height: 28px; border-radius: 50%; border: none; background: #F2F3F5;
  color: #555; font-size: 17px; line-height: 1; cursor: pointer;
}
.cf-qbtn:active { background: #E6E8EB; }
.cf-zones { gap: 10px; }
.cf-zone {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid #E5E6EB; border-radius: 8px; padding: 8px 14px;
  font-size: 13px; color: #555; cursor: pointer; background: #fff;
}
.cf-zone i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid #DCDEE0; display: inline-block; }
.cf-zone.on { border-color: #FF8B00; color: #FF8B00; background: #FFF7EE; }
.cf-zone.on i { border-color: #FF8B00; background: #FF8B00; box-shadow: inset 0 0 0 3px #fff; }
.cf-inp {
  flex: 1; min-width: 0; text-align: right; border: none; outline: none;
  font-size: 13px; color: #333; background: transparent; padding: 4px 0;
}
.cf-inp::placeholder { color: #C0C4CC; }
.cf-levels { display: flex; gap: 12px; flex-wrap: wrap; }
.cf-lv {
  position: relative; flex: 1 1 0; min-width: 110px;
  border: 1px solid #E5E6EB; border-radius: 12px; padding: 12px 10px 14px; cursor: pointer; background: #fff;
}
.cf-lvname { font-size: 14px; color: #333; font-weight: 600; }
.cf-lvadd { font-size: 12px; color: #999; margin-top: 5px; }
.cf-lv.on { border-color: #FF8B00; background: #FFF9F2; }
.cf-lv.on .cf-lvname { color: #FF8B00; }
.cf-lv.on .cf-lvadd { color: #FF8B00; }
.cf-lvck {
  position: absolute; right: -1px; bottom: -1px; width: 20px; height: 20px;
  border-radius: 14px 0 12px 0; background: #E5E6EB; color: #fff;
  font-size: 11px; display: none; align-items: center; justify-content: center;
}
.cf-lv.on .cf-lvck { display: flex; background: #FF8B00; }
.cf-assign { gap: 12px; flex-wrap: wrap; }
.cf-radio { display: inline-flex; align-items: center; gap: 5px; color: #666; cursor: pointer; font-size: 13px; }
.cf-radio::before {
  content: ''; width: 16px; height: 16px; border-radius: 50%;
  border: 1px solid #DCDEE0; display: inline-block;
}
.cf-radio.on { color: #FF8B00; }
.cf-radio.on::before { border-color: #FF8B00; background: #FF8B00; box-shadow: inset 0 0 0 3px #fff; }
.cf-picked {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #333;
  background: #FFF7EE; border-radius: 20px; padding: 4px 6px 4px 4px;
}
.cf-picked img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.cf-pickclear { border: none; background: none; color: #bbb; font-size: 12px; cursor: pointer; padding: 0 2px; }
/* ---- 指定陪玩：已选陪玩卡片（独立一行，不被底栏遮挡）---- */
.cf-row-assign-picked { padding: 10px 0 12px; }
.cf-apick { display: flex; align-items: center; gap: 10px; width: 100%; }
.cf-apickava { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: none; }
.cf-apickinfo { flex: 1; min-width: 0; }
.cf-apickinfo b { display: block; font-size: 14px; color: #222; font-weight: 700; }
.cf-apickinfo span { display: block; font-size: 11px; color: #999; margin-top: 2px; }
.cf-apickops { flex: none; display: flex; gap: 8px; }
.cf-apickbtn {
  border: 1px solid #FF8B00; background: #FFF7EE; color: #FF8B00;
  font-size: 12px; padding: 5px 11px; border-radius: 16px; cursor: pointer;
}
.cf-apickbtn.danger { border-color: #E5E6EB; background: #F7F8FA; color: #86909C; }
/* ---- 选人下单：所选打手卡片 + 套餐切换 ---- */
.cf-card-col { padding: 12px 14px; }
.cf-ctitle { font-size: 13px; font-weight: 700; color: #333; margin-bottom: 8px; }
.cf-escrow { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.cf-escava { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.cf-escinfo { flex: 1; min-width: 0; }
.cf-escname { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #333; }
.cf-escname b { font-weight: 700; }
.cf-escname i { font-style: normal; font-size: 11px; }
.cf-escname i.f { color: #FF6B9D; }
.cf-escname i.m { color: #4A9EFF; }
.cf-escon { font-size: 11px; color: #2BD009; }
.cf-escon.off { color: #BBB; }
.cf-escsub { font-size: 12px; color: #999; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cf-esctag { flex: none; font-size: 11px; color: #FF8B00; background: #FFF7EE; border-radius: 20px; padding: 3px 9px; }
.cf-gpick {
  display: flex; align-items: center; gap: 10px; padding: 10px 10px; margin-bottom: 8px;
  border: 1px solid #EBEDF0; border-radius: 10px; cursor: pointer; background: #fff;
  transition: border-color .15s ease, background .15s ease;
}
.cf-gpick:last-child { margin-bottom: 0; }
.cf-gpick.on { border-color: #FF8B00; background: #FFF9F2; }
.cf-gpmain { flex: 1; min-width: 0; }
.cf-gpmain b { display: block; font-size: 13px; color: #333; font-weight: 600; }
.cf-gpmain span { display: block; font-size: 11px; color: #999; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cf-gpprice { flex: none; font-size: 15px; font-weight: 800; color: #FF4D4F; display: flex; align-items: center; gap: 6px; }
.cf-gpck {
  width: 18px; height: 18px; border-radius: 50%; border: 1px solid #DCDEE0; background: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 11px; color: #fff; font-style: normal;
}
.cf-gpick.on .cf-gpck { background: #FF8B00; border-color: #FF8B00; }
.cf-bar {
  position: fixed; left: 0; right: 0; bottom: 0; height: 58px; background: #fff;
  border-top: 1px solid #EBEDF0; display: flex; align-items: center; justify-content: space-between;
  padding: 0 14px; z-index: 40;
}
.cf-total { font-size: 13px; color: #333; }
.cf-total b { color: #FF4D4F; font-size: 19px; font-weight: 800; }
.cf-submit {
  height: 40px; padding: 0 34px; border: none; border-radius: 22px;
  background: #FF8B00; color: #fff; font-size: 15px; font-weight: 700; cursor: pointer;
}
.cf-submit:active { opacity: .85; }
.cf-epick {
  display: flex; align-items: center; gap: 12px; padding: 12px 4px;
  border-bottom: 1px solid #F2F3F5; cursor: relative;
}
.cf-eava { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: 0 0 44px; }
.cf-einfo { flex: 1; min-width: 0; }
.cf-ename { font-size: 14px; color: #222; display: flex; align-items: center; gap: 6px; }
.cf-ename i { font-style: normal; font-size: 12px; color: #FF6B9D; }
.cf-ename i.m { color: #5AA9FF; }
.cf-eon { font-size: 11px; color: #4CAF50; font-weight: 400; }
.cf-eon.off { color: #bbb; }
.cf-esub { font-size: 12px; color: #999; margin-top: 4px; }
.cf-echk {
  width: 20px; height: 20px; border-radius: 50%; border: 1px solid #DCDEE0;
  color: transparent; font-size: 12px; display: flex; align-items: center; justify-content: center;
}
.cf-epick:active .cf-echk { border-color: #FF8B00; color: #FF8B00; }

/* =========================================================
 * 点单端整页背景（参考站同款渐变）
 * 由 shopCfg.bgColor = {c1, c2, mode} 驱动，app.js 注入
 *   --bg-c1 / --bg-c2 / --bg-grad
 * ========================================================= */
/* 参考站同款：body 承载「顶部径向光晕 + 4段线性渐变」，颜色集中在上半屏
   注意：--bg-grad 本身已是完整的 linear-gradient(...)，此处不能再嵌套一层，
   否则违反 CSS 规范（gradient 不可嵌套）导致整条声明作废。 */
body.has-shop-bg {
  background:
    radial-gradient(circle at 22% 4%, var(--bg-halo, rgba(255,110,0,.28)) 0%, transparent 42%),
    var(--bg-grad, linear-gradient(180deg, #fff5ed 0%, #ffeee0 32%, #fff9f5 55%, #ffffff 68%));
  background-attachment: fixed;
}
/* .phone 外壳默认铺 --bg 不透明底色，会盖住 body 渐变，需透明化 */
body.has-shop-bg .phone,
body.has-shop-bg .app,
body.has-shop-bg .app-body { background: transparent; }

/* 各内容容器自身带不透明底色，需改为透明才能透出整页背景。
   注意：容器内的卡片（.sh-card / .rh-card 等）保持半透明白，通透感不变。 */
body.has-shop-bg .page[data-page^="shop"],
body.has-shop-bg .page[data-page^="shop"] > *,
body.has-shop-bg .rh,
body.has-shop-bg .rh-sheet,
body.has-shop-bg .sh-scroll,
body.has-shop-bg .shop-body { background-color: transparent; }
body.has-shop-bg .rh-sheet {
  background-image: none;
}
/* 首页头部保留主题色渐变（品牌区），下方内容区透出整页背景 */
body.has-shop-bg .rh {
  background-image: linear-gradient(180deg, var(--th,#FF7A1A) 0%, var(--th-light,#FFA14D) 80px, var(--th-soft2,#FFD08A) 140px, transparent 200px);
}
body.has-shop-bg .page[data-page^="shop"] {
  background: transparent;
}
body.has-shop-bg .page[data-page="shopMine"] {
  background: linear-gradient(180deg, var(--th,#FF7A1A) 0%, var(--th-light,#FFA14D) 80px, var(--th-soft2,#FFD08A) 140px, var(--bg-c1,#F6F7F9) 200px, var(--bg-c2,#FFFFFF) 100%);
  background-attachment: scroll;
}
/* 顶栏与悬浮卡片跟随渐变（半透明白，保持通透感） */
body.has-shop-bg .page[data-page^="shop"] .sh-top,
body.has-shop-bg .page[data-page^="shop"] .rh-card,
body.has-shop-bg .page[data-page^="shop"] .sh-card {
  background: rgba(255,255,255,.92);
}
