/* =============================================================
   电竞俱乐部服务平台 · 全局样式
   视觉规范 1:1 对齐第一套 H5「烟雨智游」(uni-app)
   —— 底 #f7f7f7 / 主渐变 #3c9cff→#5cadff / 选中蓝 #3c9cff→#2b85e4
   —— 悬浮胶囊毛玻璃 Tab(bottom 20px · h 60px · r 30px · blur 20px)
   —— 选中态琥珀 #f9ae3d / 价格 ￥ #f56c6c + 数字 #2b85e4
   ============================================================= */

:root {
  /* —— 品牌色 —— */
  --primary: #3c9cff;              /* 主色（对齐第一套 uView 蓝） */
  --primary-2: #5cadff;            /* 主色亮部（uView primary-light） */
  --primary-deep: #2b85e4;         /* 主色暗部（uView primary-dark） */
  --primary-disabled: #a0cfff;     /* 主色禁用态 */
  --grad-main: linear-gradient(135deg, #5cadff, #3c9cff);
  --grad-modern: linear-gradient(135deg, #3c9cff, #2b85e4);
  --grad-warm: linear-gradient(135deg, #f97316, #ef4444);

  /* —— 文字 —— */
  --text: #303133;
  --text-strong: #303133;
  --text-2: #303133;
  --text-3: #606266;
  --text-4: #909399;
  --text-5: #c0c4cc;
  --text-blue: #3c9cff;
  --text-blue-deep: #2b85e4;

  /* —— 价格 —— */
  --price-sym: #f56c6c;            /* ￥ 符号 */
  --price-num: #3c9cff;            /* 价格数字 */
  --red: #f56c6c;                  /* uView error */

  /* —— 容器 —— */
  --bg: #f7f7f7;                   /* page 底色（uView） */
  --card: #ffffff;
  --divider: rgba(0, 0, 0, .08);
  --divider-soft: #f2f3f5;
  --blue-soft: rgba(60, 156, 255, .06);
  --blue-soft-2: rgba(60, 156, 255, .10);

  /* —— 毛玻璃三种 —— */
  --glass-45: rgba(255, 255, 255, .45);
  --glass-55: rgba(255, 255, 255, .55);
  --glass-tab: rgba(240, 240, 240, .75);
  --glass-border: 1px solid rgba(255, 255, 255, .6);
  --glass-border-strong: 1px solid rgba(255, 255, 255, .7);
  --glass-shadow: 0 1px 10px rgba(0, 0, 0, .04), inset 0 .5px rgba(255, 255, 255, .8);
  --glass-shadow-strong: 0 1px 10px rgba(0, 0, 0, .04), inset 0 .5px rgba(255, 255, 255, .9);

  /* —— 圆角（24rpx=12px 为主） —— */
  --r-s: 8px;
  --r-m: 12px;
  --r-l: 16px;
  --r-pill: 999px;

  /* —— 阴影 —— */
  --shadow-card: 0 1px 8px rgba(0, 0, 0, .04);
  --shadow-raise: 0 2px 8px rgba(0, 0, 0, .2);
  --shadow-blue: 0 2px 6px rgba(60, 156, 255, .3);
  --tab-on: #f9ae3d;               /* 底部 Tab 选中（uView warning） */

  /* ---------- 语义色（对齐第一套 uView） ---------- */
  --ok: #5ac725;                   /* 成功 */
  --warn: #f9ae3d;                 /* 警告 */
  --danger: #f56c6c;               /* 错误 */
  --accent: #f9ae3d;
  --info: #909399;
}

/* ---------- 基础 ---------- */
html { scrollbar-gutter: stable; overflow-x: hidden; }
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { width: 100%; max-width: 100%; }

body {
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
input, textarea, select, button { font-family: inherit; }

.wrap { max-width: 1080px; margin: 0 auto; overflow-x: hidden; }
.wrap-pad { padding: 0 12px; }
.plain-content { padding: 12px; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.wrap { animation: fadeUp .28s ease-out; }

/* =============================================================
   顶栏 A：首页（只保留公告跑马灯胶囊）
   ============================================================= */
.home-topbar {
  position: sticky; top: 0; z-index: 25;
  background: transparent;
  padding: calc(8px + env(safe-area-inset-top)) 12px 4px;
}
.home-topbar-inner { display: flex; align-items: center; gap: 8px; }

/* =============================================================
   顶栏 B：普通页（仅居中标题，不再有返回/首页胶囊）
   ============================================================= */
.sub-topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(245, 246, 250, .82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding-top: env(safe-area-inset-top);
}
.sub-topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 50px; padding: 0 12px;
}
.sub-back {
  width: 40px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #dadbde; border-radius: 100px;
  background: rgba(255, 255, 255, .9);
  color: #606266;
}
.sub-back svg { width: 20px; height: 20px; }
.sub-left { width: 66px; }
.sub-title { font-size: 17px; font-weight: 600; color: var(--text-strong); }
.sub-right { width: 66px; display: flex; justify-content: flex-end; }

/* =============================================================
   顶栏 C：工作台（后台 / 打手端）
   ============================================================= */
.wb-topbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  padding-top: env(safe-area-inset-top);
}
.wb-topbar-in {
  max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center; gap: 14px;
  height: 52px; padding: 0 14px;
}
.wb-brand {
  display: flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 700; color: var(--text-strong);
  white-space: nowrap; letter-spacing: .2px; flex-shrink: 0;
}
.wb-brand-ico { width: 20px; height: 20px; color: var(--primary); }
.wb-nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.wb-nav::-webkit-scrollbar { display: none; }
.wb-nav-a {
  padding: 6px 14px; border-radius: var(--r-pill);
  font-size: 13px; color: var(--text-3); white-space: nowrap;
  transition: background .15s, color .15s, box-shadow .15s;
}
.wb-nav-a:hover { color: var(--primary); background: var(--blue-soft-2); }
.wb-nav-a.on { color: #fff; font-weight: 600; background: var(--grad-modern); box-shadow: var(--shadow-blue); }
.wb-nav-a-brief { font-size: 12.5px; color: var(--text-4); white-space: nowrap; }
.wb-nav-blink { flex: 1; }
.wb-exit { font-size: 12.5px; color: var(--text-4); white-space: nowrap; flex-shrink: 0; }
.wb-exit:hover { color: var(--red); }
.wb-search { position: relative; flex-shrink: 0; display: flex; align-items: center; }
.wb-search-ico { position: absolute; left: 10px; width: 14px; height: 14px; color: var(--text-4); pointer-events: none; }
.wb-search-in {
  width: 150px; background: #fff; border: 1px solid var(--divider);
  color: var(--text); font-size: 12.5px; padding: 7px 12px 7px 30px;
  border-radius: var(--r-pill); outline: none; transition: all .2s;
}
.wb-search-in::placeholder { color: var(--text-5); }
.wb-search-in:focus { border-color: var(--primary); width: 190px; }
.wb-topbar-booster { background: rgba(255, 255, 255, .78); }
.wb-page { padding: 14px 14px 40px; }
@media (max-width: 760px) { .wb-search-in { width: 110px; } .wb-search-in:focus { width: 120px; } }
@media (max-width: 560px) { .wb-nav-a-brief { display: none; } }

/* =============================================================
   登录 / 注册（auth-page 无壳）
   ============================================================= */
.auth-page { background: var(--bg); min-height: 100vh; }
.auth-wrap {
  max-width: 420px; margin: 0 auto;
  padding: calc(48px + env(safe-area-inset-top)) 24px 40px;
}
.auth-brand-logo {
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; color: var(--primary);
}
.auth-brand-logo svg, .auth-brand-logo img { width: 60px; height: 60px; border-radius: 16px; }
.auth-title { font-size: 26px; font-weight: 700; color: var(--text-strong); text-align: center; }
.auth-sub { font-size: 13px; color: var(--text-4); text-align: center; margin-top: 6px; }
.auth-foot { font-size: 12px; color: var(--text-5); text-align: center; margin-top: 22px; line-height: 1.7; }
.auth-page .card { margin-top: 20px; }

/* ---------- 提示条 ---------- */
.flash {
  margin: 12px; padding: 11px 14px;
  border-radius: var(--r-m);
  font-size: 13px;
  background: var(--blue-soft-2); color: var(--text-blue-deep);
  border: 1px solid rgba(60, 156, 255, .18);
}
.flash-error { background: rgba(250, 85, 72, .08); color: var(--red); border-color: rgba(250, 85, 72, .2); }
.flash-success { background: rgba(31, 157, 99, .10); color: #1f9d63; border-color: rgba(31, 157, 99, .22); }
.flash-warn { background: rgba(245, 166, 35, .12); color: #a15c00; border-color: rgba(245, 166, 35, .28); }

/* =============================================================
   公告
   ============================================================= */
.notice-bar {
  margin: 10px 10px 0;
  background: var(--glass-45);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 8px;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; overflow: hidden;
}
/* 公告喇叭图标：纯蓝色（取代原来的「公告」文字胶囊） */
.notice-horn { flex-shrink: 0; display: flex; align-items: center; color: var(--primary); }
.notice-horn svg { width: 17px; height: 17px; }
/* 首页顶栏玻璃胶囊版公告条（放在原「搜索你喜欢的单子」的位置，尺寸收紧） */
.notice-bar-glass {
  flex: 1; min-width: 0;
  height: 36px; margin: 0; padding: 0 13px; border-radius: 18px;
  background: var(--glass-45);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
}
.notice-bar-glass .notice-horn svg { width: 15px; height: 15px; }
.notice-bar-glass .notice-bar-txt { font-size: 12px; }
/* 内容区里的普通公告条（打手端「我的订单」页等），与卡片左右对齐 */
.notice-bar-flat { margin: 0 0 12px; }
.notice-bar-scroll { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; }
/* 公告跑马灯：文字从右侧进入、向左滚动播完再重新进入（横向循环播放） */
.notice-bar-txt {
  display: inline-block; padding-left: 100%;
  font-size: 12.5px; color: var(--text-3); white-space: nowrap;
  animation: notice-marquee 18s linear infinite;
}
.notice-bar-scroll:hover .notice-bar-txt { animation-play-state: paused; }
@keyframes notice-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

.notice-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 12px 8px;
}
.notice-head-title { font-size: 17px; font-weight: 600; color: var(--text-strong); }
.notice-tag {
  font-size: 11px; color: var(--primary); background: var(--blue-soft-2);
  border-radius: var(--r-pill); padding: 2px 9px;
}
.notify-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px 12px;
  background: #fff; border-radius: var(--r-m);
  margin-bottom: 10px;
  box-shadow: var(--shadow-card);
}
.notify-item .tg { flex: 1; min-width: 0; }
.notify-dot {
  flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%;
  background: var(--red); margin-top: 6px;
}

/* 消息页·联系客服入口（链接由后台系统设置→客服通道配置） */
.msg-service {
  display: flex; align-items: center; gap: 12px;
  margin: 10px 12px 0; padding: 14px;
  border-radius: var(--r-m);
  background: #fff; box-shadow: var(--shadow-card);
  border: 1px solid var(--blue-soft-2);
}
.msg-service-ico {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-soft-2); color: var(--primary);
}
.msg-service-ico svg { width: 20px; height: 20px; }
.msg-service-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.msg-service-txt b { font-size: 14px; color: var(--text-strong); }
.msg-service-txt i { font-style: normal; font-size: 12px; color: var(--text-3); }
.msg-service-arrow { flex-shrink: 0; font-size: 20px; color: var(--text-5); }

/* =============================================================
   首页轮播
   ============================================================= */
.home-banner { padding: 10px 10px 0; }
.home-banner-inner {
  position: relative; overflow: hidden;
  border-radius: 5px;
  background: #e9eef5;
}
.home-banner-track { display: flex; transition: transform .45s ease; }
.home-banner-slide {
  flex: 0 0 100%; width: 100%;
  position: relative; padding-bottom: 51%;
  background: #e9eef5;
}
.home-banner-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-banner-link { position: absolute; inset: 0; z-index: 2; }
.home-banner-dots {
  position: absolute; left: 0; right: 0; bottom: 8px;
  display: flex; justify-content: center; gap: 5px; z-index: 3;
}
.home-banner-dots i {
  width: 6px; height: 6px; border-radius: 100px;
  background: rgba(255, 255, 255, .35); transition: background .25s ease;
}
.home-banner-dots i.on { background: #fff; }

/* =============================================================
   通用卡片 / 页头
   ============================================================= */
.card {
  background: #fff;
  border-radius: var(--r-l);
  box-shadow: var(--shadow-card);
  margin: 0 12px 12px;
  padding: 14px 12px;
}
.card-pad { padding: 16px; }
.card-title { font-size: 15px; font-weight: 700; color: var(--text-strong); margin-bottom: 12px; }
.page-head { padding: 14px 12px 6px; }
.page-title { font-size: 17px; font-weight: 600; color: var(--text-strong); }

/* =============================================================
   游戏一级分类 / 二级标签 / 筛选（浅蓝胶囊）
   ============================================================= */
.cat-tabs { padding: 12px 10px 0; }
.cat-scroll { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 5px 0; }
.cat-scroll::-webkit-scrollbar { display: none; }
.cat-tab {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  height: 36px; min-width: 62px;
  padding: 0 14px;
  border-radius: 100px;
  background: var(--blue-soft);
  border: 1px solid rgba(60, 156, 255, .1);
  color: #7a8a9a;
  font-size: 12px;
  white-space: nowrap;
  transition: all .3s ease;
}
.cat-tab.on {
  background: var(--grad-modern);
  color: #fff; font-weight: 700;
  border-color: transparent;
  transform: scale(1.02);
  box-shadow: 0 2px 7px rgba(43, 133, 228, .35);
}

.filters, .cat-scroll.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 10px 12px 4px; }
.filters::-webkit-scrollbar { display: none; }
/* 筛选条容器（.clf-filter / .st-filter）：横向滚动，胶囊样式由子项 .clf-chip / .st-chip 提供 */
.clf-filter, .st-filter {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  padding: 8px 0 10px;
}
.clf-filter::-webkit-scrollbar, .st-filter::-webkit-scrollbar { display: none; }
.clf-filter > *, .st-filter > * { flex-shrink: 0; }
.clf-chip, .st-chip, .sort-pill {
  display: inline-flex; align-items: center; flex-shrink: 0;
  padding: 6px 15px; border-radius: var(--r-pill);
  font-size: 12.5px; color: #7a8a9a;
  background: var(--blue-soft); border: 1px solid rgba(60, 156, 255, .1);
  transition: all .25s ease;
}
.clf-chip.on, .st-chip.on, .sort-pill.on {
  background: var(--grad-modern); color: #fff; font-weight: 700;
  border-color: transparent; box-shadow: 0 2px 7px rgba(43, 133, 228, .35);
}
/* 筛选胶囊里的数量角标（如「进行中 3」） */
.clf-chip em, .st-chip em, .sort-pill em {
  font-style: normal; font-weight: 600; font-size: 11px;
  margin-left: 4px; opacity: .7;
}

/* =============================================================
   商品瀑布流卡片（第一套首页卡片）
   ============================================================= */
.goods-section { display: flex; align-items: center; gap: 8px; padding: 12px 14px 8px; }
.goods-section-title-text { font-size: 16px; font-weight: 700; color: var(--text-strong); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.goods-section-count { font-size: 12px; color: var(--text-4); flex-shrink: 0; }
.goods-section-right { margin-left: auto; display: flex; gap: 6px; flex-shrink: 0; }

.goods-list {
  padding: 0 8px 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  align-items: start;
}
.goods-card {
  display: flex; flex-direction: column;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: -2px -2px 3px rgba(0, 0, 0, .1), 2px -2px 3px rgba(0, 0, 0, .1),
              -2px 2px 3px rgba(0, 0, 0, .1), 2px 2px 3px rgba(0, 0, 0, .1);
  transition: transform .2s ease;
}
.goods-card:active { transform: scale(.985); }
.goods-img-wrap { position: relative; width: 100%; padding-bottom: 100%; background: #f0f2f5; overflow: hidden; }
.goods-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.goods-badge {
  position: absolute; left: 0; top: 0;
  padding: 3px 9px;
  background: rgba(0, 0, 0, .62); color: #fff;
  font-size: 11px; font-weight: 500;
  border-radius: 0 0 8px 0;
}
.goods-badge-sale { background: var(--grad-warm); }
.sold-out {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .45);
  color: #fff; font-size: 13px; font-weight: 600;
}

.goods-info { padding: 10px; background: #f8f9fc; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.goods-title {
  position: relative;
  padding-left: 10px;
  font-size: 15px; font-weight: 800; color: #000;
  line-height: 1.35;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.goods-title::before {
  content: ""; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3.5px; height: 15px; background: #000;
}
.goods-sub { font-size: 12px; color: #1a1a1a; margin-top: 4px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.goods-foot { display: flex; align-items: baseline; flex-wrap: wrap; margin-top: auto; padding-top: 10px; overflow: hidden; }
.goods-price { color: var(--price-num); font-weight: 800; font-size: 15px; line-height: 1; flex-shrink: 0; }
.goods-price-unit { font-size: 13px; color: var(--price-sym); font-weight: 800; flex-shrink: 0; }
.goods-price-gulp { color: var(--text-4); text-decoration: line-through; font-size: 11px; margin-left: 4px; }
.goods-foot-limit { color: var(--text-4); font-size: 11px; margin-left: auto; white-space: nowrap; flex-shrink: 0; }
.goods-tag {
  padding: 2px 8px; border-radius: 6px;
  background: var(--blue-soft-2); color: var(--primary);
  font-size: 11px; font-weight: 600;
}
.price { color: var(--price-num); font-weight: 800; }
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag {
  display: inline-flex; align-items: center;
  padding: 3px 9px; border-radius: var(--r-pill);
  font-size: 11px; color: var(--primary);
  background: var(--blue-soft-2); border: 1px solid rgba(60, 156, 255, .14);
}
.tag-game { background: rgba(245, 166, 35, .12); color: #a15c00; border-color: rgba(245, 166, 35, .25); }
.tag-pick { background: var(--grad-modern); color: #fff; border-color: transparent; }

/* =============================================================
   分类页（左栏 + 右栏）
   ============================================================= */
.classify-layout { display: flex; gap: 10px; padding: 10px 10px 28px; align-items: flex-start; }
.classify-side {
  flex-shrink: 0; width: 92px;
  display: flex; flex-direction: column; gap: 4px;
  background: var(--glass-55);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: var(--glass-border-strong);
  border-radius: var(--r-m);
  padding: 6px;
}
.classify-side-item {
  padding: 11px 4px; text-align: center;
  font-size: 13px; color: var(--text-3);
  border-radius: var(--r-s);
  transition: all .2s;
}
.classify-side-item.on {
  background: var(--grad-modern); color: #fff; font-weight: 700;
  box-shadow: var(--shadow-blue);
}
.classify-main { flex: 1; min-width: 0; }
.classify-card {
  display: flex; gap: 10px;
  background: var(--glass-55);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: var(--glass-border-strong);
  border-radius: var(--r-m);
  box-shadow: var(--glass-shadow-strong);
  padding: 10px;
  margin-bottom: 10px;
}
.classify-card-img { width: 78px; height: 78px; border-radius: var(--r-m); overflow: hidden; flex-shrink: 0; background: #f0f2f5; }
.classify-card-img img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.classify-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.classify-card-title { font-size: 14px; font-weight: 700; color: var(--text-strong); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.classify-card-meta { font-size: 12px; color: var(--text-4); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.classify-card-price { margin-top: auto; font-size: 15px; font-weight: 800; color: var(--price-num); }
.clf-price { font-size: 15px; font-weight: 800; color: var(--price-num); }
.clf-price-in { font-size: 12px; font-weight: 800; color: var(--price-sym); }

/* =============================================================
   陪玩大厅 / 打手卡 / 排行榜
   ============================================================= */
.hall-card, .player-card {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--glass-55);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: var(--glass-border-strong);
  border-radius: var(--r-m);
  box-shadow: var(--glass-shadow-strong);
  padding: 12px; margin: 0 10px 10px;
}
.grab-heat { font-size: 11px; color: var(--text-4); }
.player-main { flex: 1; min-width: 0; }
.player-name { font-size: 15px; font-weight: 700; color: var(--text-strong); }
.player-meta { font-size: 12px; color: var(--text-4); margin-top: 3px; }
.player-tag { display: inline-flex; padding: 2px 8px; border-radius: var(--r-pill); font-size: 11px; background: var(--blue-soft-2); color: var(--primary); }
.player-games { font-size: 12px; color: var(--text-3); margin-top: 6px; line-height: 1.5; }
/* =============================================================
   执行进度：竖向时间轴（圆点 + 连接线 + 截图缩略图）
   ============================================================= */
.timeline { padding: 6px 0 2px; }
.tl-item { display: flex; gap: 12px; }
.tl-item + .tl-item { margin-top: 0; }
.tl-node { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; width: 12px; }
.tl-dot {
  width: 12px; height: 12px; margin-top: 5px; border-radius: 50%; flex-shrink: 0;
  background: #d9e2ee; box-shadow: 0 0 0 3px rgba(60, 156, 255, .10);
}
.tl-item:first-child .tl-dot { background: var(--grad-modern); box-shadow: 0 0 0 4px rgba(60, 156, 255, .16); }
.tl-line { flex: 1; width: 2px; margin-top: 4px; border-radius: 2px; background: #eef1f6; }
.tl-item:last-child .tl-line { display: none; }
.tl-body { flex: 1; min-width: 0; padding-bottom: 16px; }
.tl-item:last-child .tl-body { padding-bottom: 0; }
.tl-time { font-size: 11.5px; color: var(--text-4); }
.tl-text { margin-top: 3px; font-size: 13.5px; line-height: 1.6; color: var(--text-2); word-break: break-word; }
.tl-item:first-child .tl-text { color: var(--text-strong); font-weight: 600; }
.tl-imgs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tl-thumb {
  display: block; width: 78px; height: 78px; overflow: hidden;
  border-radius: 10px; background: #eef1f6;
  border: 1px solid rgba(0, 0, 0, .05); box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
}
.tl-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* 旧版单图渲染（商家端仍直接使用 <img class="tl-img">） */
.tl-img { width: 56px; height: 56px; border-radius: var(--r-s); object-fit: cover; flex-shrink: 0; background: #f0f2f5; }

.podium { display: flex; align-items: flex-end; justify-content: center; gap: 10px; padding: 18px 12px 4px; }
.podium-col { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; }
.podium-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; background: #f0f2f5; }
.podium-badge { width: 24px; height: 24px; }
.podium-name { font-size: 12px; color: var(--text-2); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.podium-games, .podium-grade { font-size: 11px; color: var(--text-4); }
.podium-meta { font-size: 11px; color: var(--primary); font-weight: 700; }
.stars, .stars-sm { display: inline-flex; gap: 1px; color: var(--tab-on); font-size: 12px; }
.stars-sm { font-size: 11px; }
.star, .rating-star { width: 12px; height: 12px; color: var(--tab-on); }
.fav-btn, .fav-tiny, .fav-lg { color: var(--red); }
.fav-row { display: flex; align-items: center; gap: 8px; }
.follow-mini { font-size: 12px; color: var(--primary); }

/* =============================================================
   我的（第一套「我的」页）
   ============================================================= */
.mine-page { min-height: 100vh; }
.mine-content { padding-bottom: 12px; }
.mine-hero { padding: 8px 12px 0; }
.mine-profile { display: flex; align-items: center; gap: 12px; }
.mine-avatar {
  width: 60px; height: 60px; border-radius: 18px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 600; color: #fff;
  background: linear-gradient(135deg, #9aa8bf, #7688a5);
  object-fit: cover; flex-shrink: 0;
  border: 2px solid #fff;
}
.mine-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.mine-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.mine-name { font-size: 18px; font-weight: 600; color: var(--text-strong); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mine-id { font-size: 11px; color: #7b7b7a; }
/* 我的页·头像旁「老板/打手」切换按钮（对齐第一套） */
.identity-btn {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 5px;
  height: 34px; padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 25px;
  background: var(--glass-45);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 1px 6px rgba(0, 0, 0, .06);
  font-size: 12px; font-weight: 600; color: #000;
  cursor: pointer;
}
.identity-btn-ico { width: 16px; height: 16px; }

/* 切换身份弹窗 */
.identity-mask {
  position: fixed; inset: 0; z-index: 1300;
  display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(0, 0, 0, .5);
  animation: mask-in .2s ease;
}
.identity-popup {
  width: 100%; max-width: 340px;
  background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .25);
}
.identity-popup-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px 10px;
}
.identity-popup-title { font-size: 16px; font-weight: 700; color: var(--text-strong); }
.identity-popup-close {
  border: none; background: none; padding: 0 4px;
  font-size: 24px; line-height: 1; color: var(--text-3); cursor: pointer;
}
.identity-option {
  display: flex; align-items: center; gap: 12px;
  margin: 0 12px 12px; padding: 14px;
  border-radius: 14px; text-decoration: none;
  background: #f7f9fc; border: 1px solid rgba(0, 0, 0, .05);
}
.identity-option.on { background: rgba(60, 156, 255, .08); border-color: rgba(60, 156, 255, .35); }
.identity-radio {
  width: 20px; height: 20px; flex-shrink: 0;
  border-radius: 50%; border: 2px solid #c7d2e0;
}
.identity-option.on .identity-radio {
  border-color: var(--primary);
  background: radial-gradient(circle, var(--primary) 0 40%, transparent 44%);
}
.identity-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.identity-text b { font-size: 14px; color: var(--text-strong); }
.identity-text i { font-style: normal; font-size: 12px; color: var(--text-3); }
.mine-card {
  background: #fff;
  border-radius: var(--r-l);
  box-shadow: var(--shadow-card);
  margin: 0 12px 12px;
  padding: 16px 12px;
}
.mine-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mine-card-title { font-size: 15px; font-weight: 700; color: var(--text-strong); }
.mine-card-link { font-size: 11px; color: #000; display: flex; align-items: center; gap: 3px; }
.mine-order-grid { display: flex; justify-content: space-between; }
.mine-order-item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.mine-order-icon {
  position: relative;
  width: 40px; height: 40px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-soft); color: var(--primary);
  transition: transform .18s ease;
}
.mine-order-icon svg { width: 22px; height: 22px; }
.mine-order-item:active .mine-order-icon { transform: scale(.94); }
/* 状态配色：待付款(琥珀) / 待匹配(紫) / 服务中(青) / 待收货(深蓝) / 已完成(绿) */
.mine-order-icon.is-pay     { background: rgba(249, 174, 61, .16); color: #d98600; }
.mine-order-icon.is-match   { background: rgba(139, 92, 246, .13); color: #7546e8; }
.mine-order-icon.is-serving { background: rgba(15, 181, 165, .14); color: #0a9a8b; }
.mine-order-icon.is-verify  { background: rgba(43, 133, 228, .12); color: var(--primary-deep); }
.mine-order-icon.is-done    { background: rgba(90, 199, 37, .15); color: #46a018; }
.mine-order-label { font-size: 12px; color: var(--text-2); }
.mine-order-dot {
  position: absolute; top: -2px; right: 2px;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 8px; background: var(--red); color: #fff;
  font-size: 10px; font-weight: 700; line-height: 16px; text-align: center;
}
.mine-balance {
  margin-top: 14px;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; padding: 7px 15px;
  border-radius: var(--r-l);
  background: var(--grad-modern);
  box-shadow: var(--shadow-raise);
}
.mine-balance-left { display: flex; flex-direction: column; gap: 6px; }
.mine-balance-label { font-size: 10px; color: rgba(255, 255, 255, .8); }
.mine-balance-num { font-size: 20px; font-weight: 700; color: #bfdbfe; }
.mine-balance-unit { font-size: 12px; color: rgba(255, 255, 255, .8); }
.mine-menu-grid { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.mine-menu-item { position: relative; width: 60px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 4px 0; }
.mine-menu-icon { width: 18px; height: 18px; object-fit: contain; }
.mine-menu-label { font-size: 12px; color: var(--text-3); text-align: center; }
.mine-menu-dot {
  position: absolute; top: 0; right: 6px;
  min-width: 15px; height: 15px; padding: 0 4px;
  border-radius: 8px; background: var(--red); color: #fff;
  font-size: 10px; font-weight: 700; line-height: 15px; text-align: center;
}
.mine-menu-count { font-size: 11px; color: var(--text-5); }

/* =============================================================
   订单
   ============================================================= */
.order-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.order-no { font-size: 12px; color: var(--text-4); }
.order-dot {
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 8px; background: var(--red); color: #fff;
  font-size: 10px; font-weight: 700; line-height: 16px; text-align: center;
}
.o-chip {
  display: inline-flex; align-items: center;
  padding: 2px 9px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 600;
  background: var(--blue-soft-2); color: var(--primary);
}
.o-chip.ok, .st-chip.ok, .st-ok { background: rgba(31, 157, 99, .12); color: #1f9d63; }
.o-chip.warn, .st-chip.warn, .st-warn { background: rgba(245, 166, 35, .14); color: #a15c00; }
.o-chip.st-danger, .st-chip.st-danger, .st-danger { background: rgba(250, 85, 72, .12); color: var(--red); }
.o-summary { display: flex; flex-direction: column; gap: 6px; }
.o-no-wrap { white-space: nowrap; }

.st-steps { display: flex; flex-direction: column; gap: 0; padding: 4px 0; }
.st-step { display: flex; gap: 12px; align-items: flex-start; }
.st-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--primary); flex-shrink: 0; margin-top: 5px; }
.st-line { width: 2px; flex: 1; min-height: 22px; background: var(--divider); margin-left: 4px; }
.st-steps-off .st-dot { background: var(--divider); }
.st-steps-off .st-name, .st-steps-off .st-time { color: var(--text-5); }
.st-name { font-size: 13px; font-weight: 600; color: var(--text-strong); }
.st-time { font-size: 11px; color: var(--text-4); }
.st-muted { color: var(--text-4); font-size: 12px; }

/* =============================================================
   聊天
   ============================================================= */
.chat-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: #f0f2f5; }
.chat-bubble {
  max-width: 72%;
  padding: 9px 13px;
  border-radius: var(--r-m);
  background: #fff;
  font-size: 13px; color: var(--text);
  box-shadow: var(--shadow-card);
  word-break: break-word;
}

/* =============================================================
   收银台 / 充值（统一蓝色体系）
   —— 金额主视觉整块通栏，不再嵌在白色卡片里互相套娃；
   —— 订单信息用「标签 + 右对齐值」的平铺行，不再用内层白卡；
   —— 支付方式做成整块可点的大卡片，主推项淡蓝底 + 蓝色胶囊按钮。
   ============================================================= */
.pay-topbar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 12px 10px;
}
.pay-back {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 5px 11px 5px 7px;
  border-radius: var(--r-pill);
  background: var(--blue-soft);
  color: var(--text-3);
  font-size: 13px;
  transition: background .18s, color .18s;
}
.pay-back:hover { background: var(--blue-soft-2); color: var(--primary-deep); }
.pay-back svg { width: 14px; height: 14px; }
.pay-title { font-size: 16px; font-weight: 700; color: var(--text-strong); }

/* 金额主视觉：通栏蓝色块，与 .card 保持同一外边距，左右对齐 */
.pay-hero {
  position: relative;
  overflow: hidden;
  margin: 0 12px 12px;
  padding: 22px 18px 18px;
  border-radius: var(--r-l);
  background: var(--grad-modern);
  box-shadow: var(--shadow-blue);
  color: #fff;
}
/* 右上角柔光装饰，避免整块纯色显得单薄 */
.pay-hero::after {
  content: "";
  position: absolute; top: -46px; right: -34px;
  width: 132px; height: 132px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .13);
  pointer-events: none;
}
.pay-hero-label { position: relative; font-size: 12px; color: rgba(255, 255, 255, .82); }
.pay-hero-val {
  position: relative;
  margin-top: 4px;
  font-size: 34px; font-weight: 800; line-height: 1.15;
  letter-spacing: -.5px;
  font-variant-numeric: tabular-nums;
}
.pay-hero-val small { font-size: 17px; font-weight: 700; margin-right: 2px; }
.pay-hero-meta {
  position: relative;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: 12px; padding-top: 11px;
  border-top: 1px solid rgba(255, 255, 255, .22);
  font-size: 12px; color: rgba(255, 255, 255, .88);
}
.pay-hero-meta b { font-weight: 600; font-variant-numeric: tabular-nums; }
.pay-hero-chip {
  padding: 2px 9px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .2);
  font-size: 11px;
}

/* 标签 + 右对齐值的平铺信息行 */
.pay-rows { display: flex; flex-direction: column; }
.pay-row {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--divider-soft);
  font-size: 13px;
}
.pay-row:last-child { border-bottom: 0; padding-bottom: 0; }
.pay-row > i {
  flex-shrink: 0; width: 80px; padding-top: 1px;
  font-style: normal; font-size: 12px; color: var(--text-4);
}
.pay-row > span {
  flex: 1; min-width: 0;
  text-align: right;
  color: var(--text); font-weight: 600;
  word-break: break-all;
}
.pay-row > span.is-primary { color: var(--primary-deep); font-weight: 700; }

/* 支付方式 */
.pay-methods { display: flex; flex-direction: column; gap: 10px; }
.pay-method {
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--r-m);
  text-align: left;
  cursor: pointer;
  transition: border-color .18s, background .18s;
}
.pay-method:hover:not(:disabled) { border-color: var(--primary); background: var(--blue-soft); }
.pay-method-ico {
  flex-shrink: 0;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 13px;
  background: var(--blue-soft-2);
  color: var(--primary-deep);
}
.pay-method-ico svg { width: 22px; height: 22px; }
.pay-method-main { flex: 1; min-width: 0; }
.pay-method-title { display: block; font-size: 14px; font-weight: 600; color: var(--text-strong); }
.pay-method-title small { margin-left: 4px; font-size: 11px; font-weight: 500; color: var(--text-4); }
.pay-method-sub { display: block; margin-top: 3px; font-size: 11px; color: var(--text-4); }
.pay-method-go {
  flex-shrink: 0;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  background: var(--blue-soft-2);
  color: var(--primary-deep);
  font-size: 12px; font-weight: 600;
}
/* 主推的云支付：淡蓝底 + 蓝色描边，图标与按钮用主渐变 */
.pay-method-primary {
  border-color: rgba(60, 156, 255, .32);
  background: linear-gradient(135deg, rgba(92, 173, 255, .10), rgba(60, 156, 255, .16));
}
.pay-method-primary:hover:not(:disabled) { border-color: var(--primary); background: linear-gradient(135deg, rgba(92, 173, 255, .16), rgba(60, 156, 255, .22)); }
.pay-method-primary .pay-method-ico { background: var(--grad-main); color: #fff; }
.pay-method-primary .pay-method-go { background: var(--grad-main); color: #fff; box-shadow: var(--shadow-blue); }
.pay-method:disabled { opacity: .6; cursor: not-allowed; background: #fafafa; }
.pay-method:disabled .pay-method-go { background: #eef0f3; color: var(--text-5); box-shadow: none; }

/* 提示条（余额不足 / 未开启云支付等） */
.pay-note {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--r-m);
  background: rgba(249, 174, 61, .1);
  color: #a8630a;
  font-size: 12px; line-height: 1.65;
}
.pay-note a { color: var(--primary-deep); font-weight: 600; }

/* 充值页：金额快选 */
.pay-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.pay-quick-item {
  padding: 10px 4px;
  border: 1px solid var(--divider);
  border-radius: var(--r-m);
  background: #fff;
  color: var(--text-3);
  font-size: 14px; font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: border-color .18s, background .18s, color .18s;
}
.pay-quick-item:hover { border-color: var(--primary); color: var(--primary-deep); background: var(--blue-soft); }
.pay-quick-item.on {
  border-color: transparent;
  background: var(--grad-main);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

/* 支付成功 */
.pay-success-card { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 34px 16px 26px; }
.pay-success-check { width: 60px; height: 60px; color: var(--ok); }
.pay-success-title { font-size: 18px; font-weight: 700; color: var(--text-strong); }
.pay-success-sub { font-size: 13px; color: var(--text-4); }
.pay-success-btn {
  display: block; text-align: center;
  margin-top: 12px; padding: 13px 32px;
  border-radius: var(--r-pill);
  background: var(--grad-main); color: #fff;
  font-size: 15px; font-weight: 600;
  box-shadow: var(--shadow-blue);
}
.wd-paycode { display: flex; align-items: center; gap: 8px; }
.wd-paycode-ico { width: 20px; height: 20px; }

/* =============================================================
   打手端工作台
   ============================================================= */
.work-bal {
  display: flex; align-items: center; gap: 12px;
  padding: 16px;
  border-radius: var(--r-l);
  background: var(--grad-modern);
  box-shadow: var(--shadow-raise);
  margin-bottom: 12px;
}
.work-bal-ico { width: 30px; height: 30px; flex-shrink: 0; }
.work-bal-label { font-size: 11px; color: rgba(255, 255, 255, .8); }
.work-bal-val { font-size: 22px; font-weight: 800; color: #fff; }
.work-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.work-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.earn-kpi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.earn-kpi-item { background: #fff; border-radius: var(--r-m); padding: 12px 10px; text-align: center; box-shadow: var(--shadow-card); }
.earn-kpi-val { font-size: 18px; font-weight: 800; color: var(--price-num); }
.earn-kpi-label { font-size: 11px; color: var(--text-4); margin-top: 3px; }

.bst-order {
  background: #fff; border-radius: var(--r-m);
  box-shadow: var(--shadow-card);
  padding: 12px; margin-bottom: 10px;
}
.bst-order-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bst-order-no { font-size: 11px; color: var(--text-5); }
.bst-order-mid { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.bst-order-name { font-size: 14px; font-weight: 700; color: var(--text-strong); }
.bst-order-gain { font-size: 15px; font-weight: 800; color: var(--price-num); }
.bst-order-meta { font-size: 11px; color: var(--text-4); margin-top: 4px; }
.bst-order-bottom { display: flex; gap: 8px; margin-top: 10px; }
.bst-order-action {
  flex: 1; text-align: center;
  padding: 9px 0; border-radius: 10px;
  font-size: 13px; font-weight: 600;
  background: var(--grad-modern); color: #fff;
  box-shadow: var(--shadow-blue);
}
.bst-order-list { display: flex; flex-direction: column; }

.lvl-bar { display: flex; align-items: center; gap: 8px; }
.lvl-track, .bar-track, .hbar-track { flex: 1; height: 8px; border-radius: 4px; background: var(--divider-soft); overflow: hidden; }
.lvl-fill, .bar-fill, .hbar-fill { height: 100%; border-radius: 4px; background: var(--grad-modern); }
.lvl-bar-label, .bar-label, .hbar-label { font-size: 11px; color: var(--text-4); }
.hbar-row { display: flex; align-items: center; gap: 8px; }
.hbar-num, .bar-val { font-size: 12px; font-weight: 700; color: var(--primary); }
.bar-chart { display: flex; align-items: flex-end; gap: 6px; height: 110px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; }
.bar-col .bar-fill { width: 100%; max-width: 22px; }

/* =============================================================
   表单 / 输入 / 按钮
   ============================================================= */
.form-group { margin-bottom: 14px; }
.label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 6px; font-weight: 500; }
.input, .textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: var(--r-m);
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.input::placeholder, .textarea::placeholder { color: var(--text-5); }
.input:focus, .textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(60, 156, 255, .12); }
.textarea { min-height: 88px; resize: vertical; }
.form-hint { font-size: 11px; color: var(--text-4); margin-top: 5px; }
.form-inline { display: flex; gap: 8px; align-items: center; }
.form-inline .input { flex: 1; }
.remember-row { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-3); }
.captcha-row { display: flex; gap: 8px; align-items: center; }
.captcha-box { flex-shrink: 0; height: 44px; border-radius: var(--r-m); overflow: hidden; }
.req { color: var(--red); }
.hint, .hint-inline { font-size: 11px; color: var(--text-4); }
.warn { color: #a15c00; }
.av-upload { display: flex; align-items: center; gap: 12px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: #f0f2f5; }
.chk-all, .chk-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); }
.num { font-variant-numeric: tabular-nums; }
.actions { display: flex; gap: 10px; margin-top: 16px; }
.cell-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px;
  padding: 12px 18px;
  font-size: 14px; font-weight: 600;
  border: none; border-radius: 10px;
  background: #f2f3f6; color: var(--text-2);
  cursor: pointer;
  transition: transform .15s, opacity .15s;
}
.btn:active { transform: scale(.98); }
.btn-block { display: flex; width: 100%; }
.btn-sm { padding: 7px 13px; font-size: 12px; border-radius: var(--r-s); }
.btn-primary { background: var(--grad-main); color: #fff; box-shadow: var(--shadow-blue); }
.btn-gold { background: var(--grad-modern); color: #fff; box-shadow: var(--shadow-blue); }
.btn-ok { background: rgba(31, 157, 99, .12); color: #1f9d63; }
.btn-danger { background: rgba(250, 85, 72, .12); color: var(--red); }
.btn-ghost-dark { background: transparent; color: var(--text-3); border: 1px solid var(--divider); }

.select {
  display: flex; align-items: center; justify-content: center;
  height: 28px; padding: 0 12px;
  border-radius: 6px;
  font-size: 12px; color: #fff;
  background: var(--grad-main);
  box-shadow: var(--shadow-blue);
}
.sel-count { font-size: 12px; color: var(--text-4); }
.search-bar {
  display: flex; align-items: center; gap: 6px;
  height: 44px; padding: 0 16px;
  border-radius: 22px;
  background: var(--glass-45);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
}
.search-bar input { flex: 1; min-width: 0; background: transparent; border: none; outline: none; font-size: 13px; color: var(--text); }
.search-mini {
  display: flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 14px;
  border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--divider);
  font-size: 12.5px; color: var(--text-4);
}
.k { color: var(--text-4); font-size: 12px; }
.v { color: var(--text); font-size: 13px; font-weight: 600; }
.kv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.kv-item { background: #fff; border-radius: var(--r-m); padding: 12px; box-shadow: var(--shadow-card); }
/* 打手订单详情：账号信息分组与底部操作 */
.order-sub {
  margin: 16px 0 10px; padding-top: 14px;
  border-top: 1px dashed var(--divider-soft);
  font-size: 12px; font-weight: 700; letter-spacing: .4px; color: var(--text-3);
}
.order-mini-actions {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--divider-soft);
}
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.stat-card { background: #fff; border-radius: var(--r-m); padding: 14px 12px; box-shadow: var(--shadow-card); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.cur { font-size: 13px; color: var(--primary); font-weight: 600; }
.badge {
  display: inline-flex; align-items: center;
  padding: 2px 8px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 600;
  background: var(--blue-soft-2); color: var(--primary);
}
/* 状态胶囊配色（st-ok / st-warn / st-danger / st-info / st-muted） */
.badge.st-ok     { background: rgba(31, 157, 99, .12); color: #1f9d63; }
.badge.st-warn   { background: rgba(245, 166, 35, .16); color: #a15c00; }
.badge.st-danger { background: rgba(250, 85, 72, .12); color: var(--red); }
.badge.st-info   { background: var(--blue-soft-2); color: var(--primary); }
.badge.st-muted  { background: var(--divider-soft); color: var(--text-3); }

/* =============================================================
   后台表格
   ============================================================= */
.table-wrap {
  background: #fff; border-radius: var(--r-m);
  box-shadow: var(--shadow-card);
  overflow-x: auto;
  margin-bottom: 12px;
}
.table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 560px; }
.table th {
  text-align: left; font-weight: 600; color: var(--text-2);
  background: #fafbfc;
  padding: 11px 12px;
  border-bottom: 1px solid var(--divider-soft);
  white-space: nowrap;
}
.table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--divider-soft);
  color: var(--text);
  vertical-align: middle;
}
.table tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: #fafbfd; }

/* =============================================================
   成为打手 / 入驻
   ============================================================= */
.become-perks { display: flex; flex-direction: column; gap: 10px; }
.become-perk { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-2); }
.become-divider { height: 1px; background: var(--divider); margin: 14px 0; }
.become-switch-title { font-size: 14px; font-weight: 600; color: var(--text-strong); }
.become-switch-desc { font-size: 12px; color: var(--text-4); margin-top: 3px; }
.become-switch-note { font-size: 11px; color: var(--text-5); margin-top: 2px; }
.auth-sub .req { color: var(--red); }

/* =============================================================
   打手详情（选人主页）
   ============================================================= */
/* 整页铺开：蓝色渐变由页面本身承载（含顶部返回区），不再用卡片框；同时纵向撑满首屏 */
.pd-page {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #e7f2ff 0%, #edf6ff 46%, #ffffff 100%);
  min-height: calc(100vh - 72px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
}
.pd-page > .page-head { position: relative; z-index: 1; padding: 10px 12px 5px; }
.pd-page > .pd-card { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; }
/* 三块都不再拉伸：不制造顶部/底部大片留白，多余高度统一交给下面的「玩家评价」区 */
.pd-page .pd-hero { flex: 0 0 auto; }
.pd-card { position: relative; margin: 0; padding: 0; }
/* 顶部深一点的浅蓝，向下渐隐到近白 */
.pd-page::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0; height: 220px;
  background: linear-gradient(168deg, #cfe3ff 0%, #e0eeff 40%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}
/* 右上角蓝色光晕，让浅蓝渐变更通透 */
.pd-page::after {
  content: '';
  position: absolute; right: -44px; top: -54px;
  width: 176px; height: 176px; border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 173, 255, .42), rgba(92, 173, 255, 0) 70%);
  pointer-events: none;
}
/* 板块一：头像 · 名字 · ID ＋ 三列统计（整幅铺开，用细分隔线与下一板块分开） */
.pd-top {
  position: relative; z-index: 1;
  flex: 0 0 auto; display: flex; flex-direction: column;
  margin: 0;
  border-bottom: 1px solid var(--divider-soft);
}
.pd-top .pd-hero { padding: 16px 16px 14px; }
.pd-hero {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 14px;
  padding: 22px 16px 16px;
}
.pd-avatar-wrap { position: relative; flex-shrink: 0; }
.pd-avatar {
  width: 64px; height: 64px; border-radius: 21px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #8ec2ff, #3c9cff 62%, #2b85e4);
  border: 3px solid #fff;
  box-shadow: 0 12px 24px -10px rgba(43, 133, 228, .75);
}
.pd-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pd-avatar i { font-style: normal; }
.pd-dot {
  position: absolute; right: 1px; bottom: 1px;
  width: 15px; height: 15px; border-radius: 50%;
  border: 2.5px solid #fff;
}
.pd-dot.on { background: #38c172; box-shadow: 0 0 0 3px rgba(56, 193, 114, .18); }
.pd-dot.off { background: #c0c4cc; }
.pd-hero-main { flex: 1; min-width: 0; }
.pd-name {
  display: flex; align-items: center; gap: 8px;
  font-size: 19px; font-weight: 800; color: var(--text-strong);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pd-role-chip {
  flex-shrink: 0;
  display: inline-flex; padding: 3px 9px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 600; background: var(--grad-modern); color: #fff;
}
.pd-hero-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 9px; }
.pd-hero-hint { font-size: 12px; color: var(--text-3); }
/* ID 行：点击复制（对齐第一套打手主页的 ID + 复制） */
.pd-id {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 8px; padding: 4px 10px;
  border: 1px solid rgba(60, 156, 255, .2); border-radius: var(--r-pill);
  background: rgba(60, 156, 255, .08);
  font-size: 11.5px; font-weight: 600; color: var(--primary-deep);
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.pd-id svg { width: 13px; height: 13px; flex-shrink: 0; }
.pd-id:active { background: rgba(60, 156, 255, .16); }
/* 接单状态胶囊 */
.pd-state {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px 3px 8px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 600;
}
.pd-state i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pd-state.on { background: rgba(90, 199, 37, .14); color: #3f9c1c; }
.pd-state.on i { box-shadow: 0 0 0 3px rgba(90, 199, 37, .18); }
.pd-state.off { background: rgba(144, 147, 153, .14); color: var(--text-4); }
.pd-hero-sub .player-tag { background: rgba(60, 156, 255, .12); color: var(--primary-deep); }
.pd-stats {
  position: relative; z-index: 1;
  flex: 0 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 12px 4px;
  border-top: 1px solid rgba(60, 156, 255, .14);
}
/* 两列 / 三列统计（三列对齐第一套的「评分 · 已完成 · 评价数」） */
.pd-stats-2 { grid-template-columns: repeat(2, 1fr); }
.pd-stats-3 { grid-template-columns: repeat(3, 1fr); }
.pd-stat { position: relative; min-width: 0; text-align: center; }
.pd-stat + .pd-stat::before {
  content: ''; position: absolute; left: 0; top: 22%; bottom: 22%;
  width: 1px; background: rgba(60, 156, 255, .18);
}
.pd-stat b {
  display: block; font-size: 21px; font-weight: 800; line-height: 1.1;
  color: var(--primary-deep);
  background: linear-gradient(135deg, #5cadff, #2b85e4);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.pd-stat span { display: block; margin-top: 4px; font-size: 11px; color: var(--text-4); white-space: nowrap; }
.pd-bio {
  position: relative; z-index: 1;
  flex: 0 0 auto;
  margin: 0; padding: 13px 16px 14px;
  border-bottom: 1px solid var(--divider-soft);
}
.pd-bio-label { display: flex; align-items: center; gap: 5px; margin-bottom: 5px; font-size: 11px; font-weight: 700; letter-spacing: .6px; color: var(--primary-deep); }
.pd-bio-label svg { width: 13px; height: 13px; flex-shrink: 0; }
.pd-bio-text {
  font-size: 13px; line-height: 1.72; color: var(--text-3); word-break: break-word;
  /* 最多 4 行：超长简介不会把下面的「玩家评价」顶到第二屏 */
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden;
}
.pd-bio-text.is-empty { color: var(--text-5); }
/* 语音介绍：打手在「我的资料」录音后展示在选人主页（点击胶囊播放，不使用原生播放器） */
.pd-voice {
  position: relative; z-index: 1;
  flex: 0 0 auto;
  margin: 0; padding: 13px 16px 14px;
  border-bottom: 1px solid var(--divider-soft);
}
.pd-voice .pd-bio-label { margin-bottom: 7px; }
.pd-voice-play {
  display: inline-flex; align-items: center; gap: 9px;
  max-width: 100%; min-height: 42px; padding: 6px 14px 6px 7px;
  border: 0; border-radius: 999px;
  background: linear-gradient(135deg, rgba(92, 173, 255, .16), rgba(60, 156, 255, .08));
  box-shadow: inset 0 0 0 1px rgba(60, 156, 255, .2), 0 6px 16px -10px rgba(43, 133, 228, .45);
  color: var(--primary-deep); font-family: inherit; font-size: 12.5px; font-weight: 600;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background .18s ease, box-shadow .18s ease, transform .12s ease;
}
.pd-voice-play:active { transform: scale(.985); }
.pd-voice-play.is-playing {
  background: linear-gradient(135deg, rgba(92, 173, 255, .26), rgba(60, 156, 255, .12));
  box-shadow: inset 0 0 0 1px rgba(60, 156, 255, .3), 0 8px 20px -10px rgba(43, 133, 228, .6);
}
.pd-voice-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; flex-shrink: 0;
  border-radius: 50%; background: var(--grad-main); color: #fff;
  box-shadow: 0 4px 10px -4px rgba(43, 133, 228, .65);
}
.pd-voice-ico svg { width: 13px; height: 13px; }
.pd-voice-i-pause { display: none; }
.pd-voice-play.is-playing .pd-voice-i-play { display: none; }
.pd-voice-play.is-playing .pd-voice-i-pause { display: block; }
.pd-voice-txt { white-space: nowrap; }
.pd-voice-bars { display: inline-flex; align-items: flex-end; gap: 2px; width: 24px; height: 13px; flex-shrink: 0; }
.pd-voice-bars i { display: block; width: 2.5px; height: 5px; border-radius: 2px; background: var(--primary); opacity: .38; transform-origin: bottom; }
.pd-voice-bars i:nth-child(1) { height: 5px; }
.pd-voice-bars i:nth-child(2) { height: 10px; }
.pd-voice-bars i:nth-child(3) { height: 13px; }
.pd-voice-bars i:nth-child(4) { height: 8px; }
.pd-voice-play.is-playing .pd-voice-bars i { opacity: 1; animation: pdVoiceBar .9s ease-in-out infinite; }
.pd-voice-play.is-playing .pd-voice-bars i:nth-child(2) { animation-delay: .12s; }
.pd-voice-play.is-playing .pd-voice-bars i:nth-child(3) { animation-delay: .24s; }
.pd-voice-play.is-playing .pd-voice-bars i:nth-child(4) { animation-delay: .36s; }
.pd-voice-time { flex-shrink: 0; font-size: 11.5px; font-weight: 600; color: var(--primary-deep); opacity: .72; font-variant-numeric: tabular-nums; }
@keyframes pdVoiceBar {
  0%, 100% { transform: scaleY(.45); }
  50% { transform: scaleY(1); }
}
/* 玩家评价：吃掉页面剩余高度（不产生留白）；内容超出时只在评价区内部滚动，页面不滚 */
.pd-rev {
  position: relative; z-index: 1;
  flex: 1 1 auto; min-height: 0;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  margin: 0; padding: 13px 16px 15px;
}
.pd-rev-head { display: flex; align-items: center; gap: 6px; margin-bottom: 9px; }
.pd-rev-ico { display: inline-flex; width: 14px; height: 14px; color: var(--primary-2); }
.pd-rev-ico svg { width: 14px; height: 14px; }
.pd-rev-label { font-size: 11px; font-weight: 700; letter-spacing: .6px; color: var(--primary-deep); }
.pd-rev-sum { margin-left: auto; font-size: 11px; color: var(--text-4); }
.pd-rev-item { padding-top: 9px; margin-top: 9px; border-top: 1px solid rgba(60, 156, 255, .12); }
.pd-rev-head + .pd-rev-item { padding-top: 0; margin-top: 0; border-top: 0; }
.pd-rev-top { display: flex; align-items: center; gap: 8px; }
.pd-rev-score { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; color: #f0a020; }
.pd-rev-score svg { width: 13px; height: 13px; }
.pd-rev-date { font-size: 11px; color: var(--text-4); }
.pd-rev-text {
  margin: 5px 0 0; font-size: 13px; line-height: 1.66; color: var(--text-3); word-break: break-word;
  /* 最多 2 行：长评价不会把「玩家评价」下面的内容顶下去，保证首屏三块都在 */
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.pd-rev-text.is-empty { color: var(--text-5); }
.pd-rev-none { font-size: 12.5px; color: var(--text-4); }
/* 最底部操作栏：完全对齐商品详情页底部下单栏（钉在屏幕底部 + 半透明白底 + 顶部细线） */
.pd-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--divider-soft);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, .06);   /* 与商品详情页底部栏一致的浮起感 */
}
.pd-bar .pdp-icon-btn, .pd-bar .pdp-order-btn { text-decoration: none; }
.pd-fav {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  width: 100%; padding: 12px 4px; border: 1px solid rgba(60, 156, 255, .28); border-radius: 12px;
  font-size: 13.5px; font-weight: 600; cursor: pointer; white-space: nowrap;
  background: linear-gradient(160deg, rgba(92, 173, 255, .16), rgba(60, 156, 255, .1));
  color: var(--primary-deep);
  transition: transform .15s, background .18s, color .18s;
}
.pd-fav svg { width: 15px; height: 15px; flex-shrink: 0; }
.pd-fav.on { background: linear-gradient(135deg, #5cadff, #2b85e4); color: #fff; border-color: transparent; box-shadow: 0 10px 20px -10px rgba(43, 133, 228, .9); }
.pd-fav:active { transform: scale(.97); }

/* =============================================================
   工作台按钮
   ============================================================= */
.wbtn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 16px; border-radius: 10px;
  font-size: 13px; font-weight: 600;
  background: #fff; color: var(--text-2);
  border: 1px solid var(--divider);
  cursor: pointer;
}
.wbtn-primary { background: var(--grad-main); color: #fff; border-color: transparent; box-shadow: var(--shadow-blue); }

/* ---------- 小工具类 ---------- */
.value { color: var(--text); }
.tg { flex: 1; min-width: 0; }
.empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 48px 16px; color: var(--text-4); font-size: 13px;
}

/* =============================================================
   空状态
   ============================================================= */
.clf-empty { display: flex; flex-direction: column; align-items: center; padding: 52px 0; }
.clf-empty-img {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--divider-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: var(--text-5);
}
.clf-empty-img::before { content: "\2205"; }
.clf-empty-text { font-size: 13px; color: var(--text-4); margin-top: 12px; }

/* =============================================================
   确认弹窗
   ============================================================= */
.confirm-mask {
  position: fixed; inset: 0; z-index: 1200;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .5);
  animation: mask-in .2s ease;
}
@keyframes mask-in { from { opacity: 0; } to { opacity: 1; } }
.confirm-dialog {
  width: 76%; max-width: 300px;
  background: #fff;
  border-radius: var(--r-l);
  padding: 22px 18px 16px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .18);
  animation: pop-in .22s ease;
}
@keyframes pop-in { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.confirm-icon { display: flex; justify-content: center; color: var(--primary); margin-bottom: 10px; }
.confirm-icon svg { width: 34px; height: 34px; }
.confirm-text { font-size: 14px; color: var(--text-2); line-height: 1.6; margin-bottom: 18px; }
.confirm-btns { display: flex; gap: 10px; }
.confirm-btn {
  flex: 1; padding: 11px 0;
  border: none; border-radius: 10px;
  font-size: 14px; font-weight: 600; cursor: pointer;
}
.confirm-cancel { background: #f2f3f6; color: var(--text-3); }
.confirm-ok { background: var(--grad-main); color: #fff; box-shadow: var(--shadow-blue); }

/* =============================================================
   页面跳转加载动画
   ============================================================= */
.page-loading {
  position: fixed; inset: 0; z-index: 1300;
  display: flex; align-items: center; justify-content: center;
  background: rgba(245, 246, 250, .55);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
}
.page-loading-spinner {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid rgba(60, 156, 255, .18);
  border-top-color: var(--primary);
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =============================================================
   底部 Tab —— 第一套「悬浮胶囊毛玻璃」
   固定 · 距底 20px · 高 60px · 圆角 30px · blur 20px
   常态灰 #666 / 选中琥珀 #f9ae3d 加粗
   ============================================================= */
.tabbar-spacer { height: calc(100px + env(safe-area-inset-bottom)); }

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 999;
  padding: 0 20px calc(20px + env(safe-area-inset-bottom));
  background: transparent;
  pointer-events: none;
}
.tabbar-inner {
  pointer-events: auto;
  max-width: 640px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-around;
  height: 60px;
  background: var(--glass-tab);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
}
.tab {
  position: relative;
  flex: 1; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #666666;
  transition: color .18s;
}
.tab-icon {
  width: 24px; height: 24px;
  margin-bottom: 3px;
  object-fit: contain;
  filter: grayscale(1) opacity(.72);
  transition: filter .18s;
}
.tab-icon-svg { width: 24px; height: 24px; margin-bottom: 3px; }
.tab-text { font-size: 11px; line-height: 1; }
.tab.on { color: var(--tab-on); font-weight: 700; }
.tab.on .tab-icon { filter: none; }
.tab.on .tab-text { font-weight: 700; }
.tab-reddot {
  position: absolute; top: 8px; left: 50%; margin-left: 6px;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 8px; background: var(--red); color: #fff;
  font-size: 10px; font-weight: 700; line-height: 16px; text-align: center;
}

/* =============================================================
   响应式
   ============================================================= */
@media (min-width: 640px) {
  .goods-list { grid-template-columns: repeat(3, 1fr); }
  .wb-page, .wrap-pad { padding-left: 16px; padding-right: 16px; }
}
@media (min-width: 1000px) {
  .goods-list { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 360px) {
  .cat-tab { padding: 0 10px; min-width: 52px; font-size: 11px; }
  .goods-title { font-size: 14px; }
  .mine-balance-num { font-size: 18px; }
}

/* =============================================================
   选人页 · 打手专区（对齐第一套 pages/player/index）
   ============================================================= */
.plz-search {
  display: flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 14px; margin: 0 0 12px;
  background: #fff; border-radius: var(--r-pill);
  border: 1px solid var(--divider-soft); box-shadow: var(--shadow-card);
}
.plz-search-ico { flex-shrink: 0; width: 18px; height: 18px; color: var(--text-4); }
.plz-search-ico svg { width: 18px; height: 18px; }
.plz-search-in {
  flex: 1; min-width: 0; height: 100%;
  border: 0; outline: none; background: transparent;
  font-size: 14px; color: var(--text);
}
.plz-search-in::placeholder { color: var(--text-5); }
.plz-search-clear {
  flex-shrink: 0; width: 20px; height: 20px; line-height: 18px;
  text-align: center; border-radius: 50%;
  background: var(--divider-soft); color: var(--text-4); font-size: 14px;
}

.plz-tabs { display: flex; align-items: center; gap: 20px; padding: 0 6px 14px; }
.plz-tab { position: relative; font-size: 15px; color: var(--text-4); padding-bottom: 7px; }
.plz-tab.on { font-size: 16px; font-weight: 700; color: var(--text-strong); }
.plz-tab.on::after {
  content: ''; position: absolute; left: 50%; bottom: 0;
  width: 28px; height: 4px; margin-left: -14px;
  border-radius: 3px; background: var(--grad-main);
}

.plz-card {
  display: flex; gap: 12px; padding: 12px; margin-bottom: 10px;
  background: #fff; border-radius: var(--r-m); box-shadow: var(--shadow-card);
}
.plz-avatar {
  flex-shrink: 0; width: 100px; height: 100px; border-radius: var(--r-m);
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  background: var(--blue-soft); color: var(--primary); font-size: 32px; font-weight: 700;
}
.plz-avatar img { width: 100%; height: 100%; object-fit: cover; }
.plz-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.plz-line1 { display: flex; align-items: center; gap: 8px; }
.plz-name {
  flex: 1; min-width: 0; font-size: 16px; font-weight: 700; color: var(--text-strong);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.plz-status { flex-shrink: 0; display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--ok); }
.plz-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.plz-status.off { color: var(--text-5); }
.plz-grade { align-self: flex-start; padding: 2px 8px; border-radius: var(--r-pill); font-size: 11px; color: #fff; }
.plz-bio {
  font-size: 12px; color: var(--text-4); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.plz-line2 {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; font-size: 12px; color: var(--text-4);
}
.plz-score { color: var(--warn); }
.plz-done { color: var(--text-3); }

/* 打手评级渐变标签（选人卡片与打手主页共用） */
.g-gold   { background: linear-gradient(270deg, #ffc93c 0%, #f59e0b 100%); }
.g-silver { background: linear-gradient(270deg, #a2c3ff 0%, #6780ff 100%); }
.g-info   { background: linear-gradient(270deg, #67d6ff 0%, #3e8fff 100%); }
.g-ghost  { background: linear-gradient(270deg, #c8cdd6 0%, #9aa3b0 100%); }
.grade-badge {
  display: inline-block; margin-left: 6px; padding: 1px 7px;
  border-radius: var(--r-pill); font-size: 11px; color: #fff; vertical-align: middle;
}

/* =============================================================
   下单页 · 提交订单（对齐第一套 pagesA/index/order）
   ============================================================= */
.ck-page { display: block; padding: 12px 12px 0; }
.ck-card {
  padding: 14px; margin-bottom: 12px;
  background: #fff; border-radius: var(--r-l); box-shadow: var(--shadow-card);
}
.ck-count { font-size: 12px; color: var(--text-4); margin-bottom: 10px; }
.ck-prod { display: flex; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--divider-soft); }
.ck-thumb {
  flex-shrink: 0; width: 80px; height: 80px; border-radius: var(--r-m);
  object-fit: cover; background: var(--blue-soft);
}
.ck-prod-info { flex: 1; min-width: 0; }
.ck-prod-name {
  font-size: 15px; font-weight: 700; color: var(--text-strong); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ck-prod-prow { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; }
.ck-unit { font-size: 16px; font-weight: 700; color: var(--red); }
.ck-unit i { font-style: normal; font-size: 13px; margin-right: 1px; }
.ck-unitqty {
  font-size: 12px; color: var(--text-3);
  background: var(--divider-soft); padding: 2px 8px; border-radius: var(--r-s);
}
.ck-prod-desc {
  margin-top: 2px; font-size: 12px; color: var(--text-4); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ck-row { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; font-size: 13px; }
.ck-label { color: var(--text-4); }
.ck-value { color: var(--text-strong); font-weight: 500; }
.ck-row-total { padding-top: 12px; margin-top: 12px; border-top: 1px solid var(--divider-soft); }
.ck-row-total .ck-label { color: var(--text-strong); font-weight: 600; }
.ck-total { color: var(--red); font-weight: 700; font-size: 15px; }
.ck-total i { font-style: normal; font-size: 12px; margin-right: 1px; }
.ck-total b { font-size: 18px; }

.ck-form { padding: 4px 14px; }
.ck-field { padding: 12px 0; border-bottom: 1px solid var(--divider-soft); }
.ck-field-last { border-bottom: 0; }
.ck-field-flex { display: flex; align-items: center; justify-content: space-between; }
.ck-field-flex .ck-flabel { margin-bottom: 0; }
.ck-flabel { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--text-strong); }
.ck-input {
  width: 100%; height: 42px; padding: 0 12px;
  background: var(--bg); border: 1px solid var(--divider-soft); border-radius: var(--r-m);
  font-size: 14px; color: var(--text); outline: none;
}
.ck-input::placeholder { color: var(--text-5); }
.ck-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.ck-opt {
  padding: 8px 18px; font-size: 13px; color: var(--text-4);
  background: var(--bg); border: 1px solid var(--divider-soft); border-radius: var(--r-m);
  transition: all .2s;
}
.ck-opt.on {
  background: var(--grad-modern); color: #fff;
  border-color: transparent; box-shadow: var(--shadow-blue);
}
.ck-qtybox { display: flex; align-items: center; gap: 14px; }
.ck-qbtn {
  width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
  background: var(--bg); border: 1px solid var(--divider-soft); border-radius: var(--r-m);
  font-size: 17px; color: var(--text-2);
}
.ck-qnum { min-width: 24px; text-align: center; font-size: 15px; font-weight: 600; }
.ck-notice {
  padding: 12px 14px; margin-bottom: 12px;
  background: var(--blue-soft); border: 1px solid var(--blue-soft-2); border-radius: var(--r-m);
  font-size: 12px; color: var(--text-3); line-height: 1.8;
}
.ck-page-spacer { height: 74px; }
.ck-footer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--divider-soft); box-shadow: 0 -2px 12px rgba(0, 0, 0, .06);
}
.ck-foot-left { display: flex; align-items: baseline; gap: 4px; }
.ck-foot-label { font-size: 14px; color: var(--text-2); }
.ck-submit {
  flex: 0 0 auto; min-width: 150px; height: 44px; padding: 0 32px;
  border: 0; border-radius: var(--r-pill);
  background: var(--grad-modern); color: #fff;
  font-size: 15px; font-weight: 600; letter-spacing: 1px; box-shadow: var(--shadow-blue);
}

/* 选择打手弹窗 */
.ck-mask {
  position: fixed; inset: 0; z-index: 40; display: none;
  align-items: center; justify-content: center; padding: 0 24px;
  background: rgba(0, 0, 0, .45);
}
.ck-mask.on { display: flex; }
.ck-pop { width: 100%; max-width: 340px; padding: 18px 16px 14px; background: #fff; border-radius: var(--r-l); }
.ck-pop-title { margin-bottom: 12px; text-align: center; font-size: 16px; font-weight: 700; color: var(--text-strong); }
.ck-pop-list { max-height: 280px; overflow-y: auto; }
.ck-pop-empty { padding: 28px 0; text-align: center; font-size: 13px; color: var(--text-4); }
.ck-thug { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: var(--r-m); }
.ck-thug.on { background: var(--blue-soft); }
.ck-radio { flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--text-5); }
.ck-thug.on .ck-radio { border-color: var(--primary); background: var(--primary); box-shadow: inset 0 0 0 3px #fff; }
.ck-thug-av {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-soft); color: var(--primary); font-weight: 700;
}
.ck-thug-av img { width: 100%; height: 100%; object-fit: cover; }
.ck-thug-name { font-size: 14px; color: var(--text-strong); }
.ck-pop-btn {
  margin-top: 14px; height: 42px; line-height: 42px; text-align: center;
  border-radius: var(--r-pill); background: var(--grad-modern); color: #fff;
  font-size: 15px; font-weight: 600; box-shadow: var(--shadow-blue);
}

/* =============================================================
   弹窗公告（首页/前台进入时弹出）
   ============================================================= */
.popup-ann-mask {
  position: fixed; inset: 0; z-index: 1400;
  display: flex; align-items: center; justify-content: center; padding: 0 24px;
  background: rgba(0, 0, 0, .55);
  animation: mask-in .2s ease;
}
.popup-ann {
  position: relative; width: 100%; max-width: 320px; max-height: 84vh; overflow-y: auto;
  background: #fff; border-radius: var(--r-l); padding: 18px 16px 16px;
  box-shadow: 0 10px 36px rgba(0, 0, 0, .22);
  animation: pop-in .22s ease;
}
.popup-ann-x {
  position: absolute; top: 8px; right: 12px; border: none; background: transparent;
  font-size: 24px; line-height: 1; color: var(--text-4, #b7bdc6); cursor: pointer;
}
.popup-ann-img { margin: 2px 0 12px; border-radius: 12px; overflow: hidden; }
.popup-ann-img img { display: block; width: 100%; height: auto; }
.popup-ann-title { text-align: center; font-size: 17px; font-weight: 700; color: var(--text-strong); margin-bottom: 8px; }
.popup-ann-intro { font-size: 13.5px; line-height: 1.7; color: var(--text-3); word-break: break-word; }
.popup-ann-nomore {
  display: flex; align-items: center; gap: 7px; margin: 14px 0 10px;
  font-size: 12.5px; color: var(--text-3); cursor: pointer;
}
.popup-ann-nomore input { width: 15px; height: 15px; }
.popup-ann-btn {
  display: block; width: 100%; height: 42px; line-height: 42px; text-align: center;
  border: none; border-radius: var(--r-pill); background: var(--grad-modern); color: #fff;
  font-size: 15px; font-weight: 600; cursor: pointer; box-shadow: var(--shadow-blue);
}

/* =============================================================
   订单详情（老板端 / 打手端共用）· 蓝色主题
   ============================================================= */
body.od-body {
  background:
    radial-gradient(120% 60% at 50% 0%, #e8f3ff 0%, rgba(232, 243, 255, 0) 60%),
    #f4f7fb;
  min-height: 100vh;
}
body.od-body .wrap { max-width: 720px; }
body.od-body .wrap-pad,
body.od-body .wb-page { padding: 0; }
body.od-body .flash { margin: 10px 14px 0; }
/* 详情页隐藏底部 Tab，避免与固定操作栏叠加 */
body.od-body .tabbar,
body.od-body .tabbar-spacer { display: none !important; }

/* 普通页顶栏：白底 + 蓝色标题 / 返回 */
body.od-body .sub-topbar {
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(60, 156, 255, .08);
  box-shadow: 0 2px 10px rgba(31, 86, 153, .04);
}
body.od-body .sub-title { color: var(--primary-deep); }
body.od-body .sub-back {
  border-color: rgba(60, 156, 255, .22);
  background: #f2f8ff;
  color: var(--primary-deep);
}
/* 打手端顶栏：整条蓝色渐变 */
body.od-body .wb-topbar {
  background: linear-gradient(135deg, #5cadff, #3c9cff 55%, #2b85e4);
  border-bottom: 0;
  box-shadow: 0 6px 18px rgba(43, 133, 228, .18);
}
body.od-body .wb-brand,
body.od-body .wb-brand-ico { color: #fff; }
body.od-body .wb-nav-a-brief { color: rgba(255, 255, 255, .82); }
body.od-body .wb-exit { color: rgba(255, 255, 255, .9); }

.od-page { padding: 12px 14px 30px; }
.od-page.od-has-bar { padding-bottom: 104px; }

/* ---------- 顶部状态卡 ---------- */
.od-hero {
  position: relative; overflow: hidden;
  padding: 18px 18px 15px;
  border-radius: 20px;
  background: linear-gradient(135deg, #5cadff 0%, #3c9cff 52%, #2b85e4 100%);
  color: #fff;
  box-shadow: 0 12px 26px rgba(60, 156, 255, .28);
}
.od-hero::before,
.od-hero::after {
  content: ""; position: absolute; border-radius: 50%;
  background: rgba(255, 255, 255, .12); pointer-events: none;
}
.od-hero::before { width: 150px; height: 150px; right: -48px; top: -70px; }
.od-hero::after { width: 86px; height: 86px; right: 34px; bottom: -54px; background: rgba(255, 255, 255, .08); }
.od-hero-success { background: linear-gradient(135deg, #63b5ff 0%, #3c9cff 48%, #2b85e4 100%); }
.od-hero-muted { background: linear-gradient(135deg, #a8bacb, #879cb0); box-shadow: 0 12px 26px rgba(70, 92, 115, .18); }
.od-hero-top { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; }
.od-hero-pill {
  display: inline-flex; align-items: center; height: 24px; padding: 0 11px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .28);
  font-size: 11.5px; font-weight: 600; letter-spacing: .2px;
}
.od-hero-pill-light { background: rgba(255, 255, 255, .95); border-color: transparent; color: var(--primary-deep); }
.od-hero-mark {
  position: relative; z-index: 1;
  width: 54px; height: 54px; margin: 14px 0 10px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  border: 1px solid rgba(255, 255, 255, .36);
}
.od-hero-mark svg { width: 30px; height: 30px; }
.od-hero-title {
  position: relative; z-index: 1;
  margin-top: 12px;
  font-size: 23px; font-weight: 800; letter-spacing: .3px; line-height: 1.25;
  text-shadow: 0 1px 2px rgba(27, 90, 160, .16);
}
.od-hero-mark + .od-hero-title { margin-top: 0; }
.od-hero-sub {
  position: relative; z-index: 1;
  margin-top: 6px; max-width: 92%;
  font-size: 12.5px; line-height: 1.65; color: rgba(255, 255, 255, .86);
}
.od-hero-foot {
  position: relative; z-index: 1;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  margin-top: 15px; padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .2);
}
.od-hero-amount { display: flex; flex-direction: column; gap: 1px; }
.od-hero-amount span { font-size: 11px; color: rgba(255, 255, 255, .78); }
.od-hero-amount strong { font-size: 22px; font-weight: 800; line-height: 1.2; letter-spacing: .3px; }
.od-hero-time { font-size: 11.5px; color: rgba(255, 255, 255, .78); text-align: right; }

/* ---------- 内容卡片 ---------- */
.od-body-cards { margin-top: 12px; }
.od-card {
  margin-bottom: 12px; padding: 15px 14px;
  background: #fff;
  border: 1px solid rgba(60, 156, 255, .08);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(31, 86, 153, .06);
}
.od-card:last-child { margin-bottom: 0; }
.od-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.od-card-title { font-size: 15px; font-weight: 700; color: #1f3350; letter-spacing: .2px; }
.od-card-note { font-size: 11.5px; color: #8a9bb0; }
.od-card-sub { margin-top: 5px; font-size: 12px; line-height: 1.65; color: #7d8da3; }
.od-copy {
  flex-shrink: 0; height: 26px; padding: 0 11px;
  border: 0; border-radius: var(--r-pill);
  background: rgba(60, 156, 255, .1);
  color: var(--primary-deep);
  font-size: 11.5px; font-weight: 600; cursor: pointer;
}
.od-copy:active { opacity: .7; }

/* 商品 */
.od-product { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.od-product-img {
  flex: 0 0 auto; width: 66px; height: 66px;
  border-radius: 13px; overflow: hidden;
  background: #eef5ff;
}
.od-product-img img { width: 100%; height: 100%; object-fit: cover; }
.od-product-main { flex: 1; min-width: 0; }
.od-product-title {
  font-size: 14px; font-weight: 700; color: #25364a; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.od-product-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.od-tag {
  display: inline-flex; align-items: center; height: 20px; padding: 0 8px;
  border-radius: var(--r-pill);
  background: rgba(60, 156, 255, .08);
  color: var(--primary-deep);
  font-size: 10.5px; white-space: nowrap;
}
.od-product-price { margin-top: 7px; font-size: 17px; font-weight: 800; color: var(--primary-deep); }
.od-product-qty { margin-left: 6px; font-size: 11.5px; font-weight: 500; color: #9aa9bb; }

/* 键值行 */
.od-rows { margin-top: 6px; }
.od-row {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f4fa;
}
.od-row:last-child { border-bottom: 0; padding-bottom: 2px; }
.od-row-k { flex: 0 0 auto; font-size: 12.5px; color: #7d8da3; }
.od-row-v { flex: 1; min-width: 0; font-size: 12.5px; color: #25364a; text-align: right; word-break: break-word; }
.od-row-v.od-strong { font-size: 13.5px; font-weight: 800; color: var(--primary-deep); }
.od-row-v.od-muted { color: #9aa9bb; }
.od-status {
  display: inline-flex; align-items: center; height: 22px; padding: 0 9px;
  border-radius: var(--r-pill);
  background: rgba(60, 156, 255, .1);
  color: var(--primary-deep);
  font-size: 11.5px; font-weight: 600;
}

/* 沟通卡 */
.od-contact {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: linear-gradient(135deg, #f4f9ff, #eaf4ff);
  border-color: rgba(60, 156, 255, .16);
}

/* 折叠区 */
.od-card.od-details { padding: 0; overflow: hidden; }
.od-details summary {
  display: flex; align-items: center; gap: 8px;
  padding: 15px 14px; cursor: pointer; list-style: none;
}
.od-details summary::-webkit-details-marker { display: none; }
.od-details-arrow { width: 18px; height: 18px; margin-left: auto; color: #9aa9bb; transition: transform .2s ease; }
.od-details[open] .od-details-arrow { transform: rotate(180deg); }
.od-details-body { padding: 0 14px 14px; }

/* 评价 */
.od-review-form { margin-top: 12px; padding-top: 12px; border-top: 1px dashed #e6eef9; }
.od-review-form .form-group { margin-bottom: 10px; }
.od-review-form .form-group > label { display: block; margin-bottom: 6px; font-size: 12.5px; color: #7d8da3; }
.od-review-form .rating-star { display: inline-flex; }
.od-review-form .rating-star .star { width: 27px; height: 27px; color: #d7e3f1; transition: color .15s, transform .15s; }
.od-review-form .rating-star.sel .star { color: var(--tab-on); fill: var(--tab-on); }
.od-review-form .textarea { width: 100%; min-height: 68px; padding: 9px 11px; border: 1px solid #e3ebf5; border-radius: 10px; font-size: 13px; color: #25364a; outline: none; resize: vertical; }
.od-review-form .textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(60, 156, 255, .1); }

/* 上传完成 */
.od-upload form { margin-top: 10px; }
.od-upload .form-group { margin-bottom: 10px; }
.od-upload .form-group > label { display: block; margin-bottom: 6px; font-size: 12.5px; color: #7d8da3; }
.od-upload input[type="file"] {
  width: 100%; padding: 11px;
  border: 1px dashed rgba(60, 156, 255, .38);
  border-radius: 12px;
  background: #f7fbff;
  color: #606266; font-size: 12px;
}
.od-upload .form-hint { margin-top: 6px; font-size: 11px; color: #9aa9bb; }

/* 空态 */
.od-empty { padding: 18px 0; text-align: center; font-size: 12.5px; color: #9aa9bb; }

/* ---------- 按钮 ---------- */
.od-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 20px;
  border: 0; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 600; white-space: nowrap;
  cursor: pointer; transition: transform .12s ease, opacity .12s ease;
}
.od-btn:active { transform: translateY(1px); }
.od-btn-primary {
  background: linear-gradient(135deg, #5cadff, #3c9cff 55%, #2b85e4);
  color: #fff;
  box-shadow: 0 6px 15px rgba(60, 156, 255, .32);
}
.od-btn-ghost {
  background: #fff;
  color: var(--primary-deep);
  border: 1px solid rgba(60, 156, 255, .28);
}
.od-btn-soft { background: rgba(60, 156, 255, .1); color: var(--primary-deep); }
.od-btn-disabled { background: #e8f1fb; color: #8aa4c0; box-shadow: none; cursor: default; }
.od-btn-danger { background: rgba(245, 108, 108, .1); color: #e55353; border: 1px solid rgba(245, 108, 108, .24); }
.od-btn-sm { height: 34px; padding: 0 14px; font-size: 12.5px; }

/* 更多操作 */
.od-more-list { display: flex; flex-direction: column; gap: 8px; }
.od-more-list form { margin: 0; display: flex; }
.od-more-list .od-btn { width: 100%; }

/* ---------- 底部固定操作栏 ---------- */
.od-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  padding: 8px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(60, 156, 255, .1);
  box-shadow: 0 -6px 20px rgba(31, 86, 153, .08);
}
.od-bar-inner { max-width: 720px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.od-bar-total { flex: 0 0 auto; display: flex; flex-direction: column; gap: 1px; }
.od-bar-total span { font-size: 11px; color: #8a9bb0; }
.od-bar-total strong { font-size: 18px; font-weight: 800; color: var(--primary-deep); line-height: 1.2; }
.od-bar-actions { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.od-bar-actions form { margin: 0; display: flex; }
.od-bar .od-btn { height: 42px; padding: 0 18px; }
.od-bar .od-btn-ghost { background: transparent; }

@media (max-width: 420px) {
  .od-page { padding-left: 12px; padding-right: 12px; }
  .od-hero { padding: 16px 15px 14px; border-radius: 18px; }
  .od-hero-title { font-size: 21px; }
  .od-hero-amount strong { font-size: 20px; }
  .od-card { padding: 14px 13px; }
  .od-bar { padding-left: 12px; padding-right: 12px; }
  .od-bar-total strong { font-size: 16px; }
  .od-bar .od-btn { height: 40px; padding: 0 14px; font-size: 13px; }
  .od-row { gap: 10px; }
}

/* 收银台「下单成功」提示条 */
.pay-success-strip {
  display: flex; align-items: center; gap: 10px;
  margin: 0 12px 12px; padding: 11px 13px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f1f8ff, #e6f2ff);
  border: 1px solid rgba(60, 156, 255, .18);
}
.pay-success-mark {
  flex: 0 0 auto; width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #5cadff, #2b85e4);
  color: #fff;
  box-shadow: 0 4px 10px rgba(60, 156, 255, .28);
}
.pay-success-mark svg { width: 19px; height: 19px; }
.pay-success-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pay-success-txt b { font-size: 14px; font-weight: 700; color: #1f3350; }
.pay-success-txt i { font-style: normal; font-size: 11.5px; line-height: 1.5; color: #6e8199; }

@media (min-width: 721px) {
  body.od-body .sub-topbar-inner,
  body.od-body .wb-topbar-in { max-width: 720px; }
}



