/* ============================================================
 * 璟桐电竞 Web 版样式 —— 由小程序 wxss 一比一移植（rpx÷2 → px）
 * 请勿手工微调像素；如需改样式请改 delta-order-mini 源 wxss 后重跑 build-css.js
 * ============================================================ */

/* ---------- 全局 app.wxss ---------- */
/* ==================== 全局样式 - 璟桐电竞 ==================== */

body {
  --bg-primary: #f0f0f5;
  --bg-card: #ffffff;
  --bg-hover: #f8f8f8;
  --text-primary: #1f1f1f;
  --text-secondary: #666666;
  --text-muted: #999999;
  --accent-red: #E94560;
  --accent-red-dark: #C9334C;
  --accent-red-light: #FF6B85;
  --accent-orange: #ff9500;
  --accent-green: #4caf50;
  --accent-blue: #2196f3;
  --border-color: #eeeeee;
  --gradient-red: linear-gradient(135deg, #E94560 0%, #FF6B85 100%);
  --gradient-blue: linear-gradient(180deg, #2196f3 0%, #1976d2 100%);
  --gradient-fire: linear-gradient(135deg, #E94560 0%, #FF6B85 50%, #ff9500 100%);
  --gradient-fire-soft: linear-gradient(135deg, #FFD9DF 0%, #FFE5D9 100%);

  /* 层次感阴影系统 */
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 8px 24px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-red: 0 4px 12px rgba(233, 69, 96, 0.25), 0 2px 6px rgba(233, 69, 96, 0.15);
  --shadow-gold: 0 6px 20px rgba(180, 134, 20, 0.2), 0 2px 8px rgba(0, 0, 0, 0.15);
  --inset-cover: inset 0 -30px 40px rgba(0, 0, 0, 0.25), inset 0 10px 20px rgba(255, 255, 255, 0.06);

  background: linear-gradient(180deg, #ececf0 0%, #f0f0f5 20%, #f5f5f7 100%);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', sans-serif;
  font-size: 14px;
  min-height: 100vh;
}

/* 通用容器 */
.container {
  padding: 12px;
  box-sizing: border-box;
}

/* 按钮基础样式 */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  border: none;
}

.btn::after { border: none; }

.btn-primary {
  background: var(--gradient-red);
  color: #fff;
}

.btn-secondary {
  background: var(--bg-hover);
  color: var(--text-secondary);
}

.btn-outline {
  background: transparent;
  color: var(--accent-red);
  border: 1px solid var(--accent-red);
}

.btn-sm {
  height: 34px;
  border-radius: 17px;
  font-size: 13px;
  padding: 0 16px;
}

/* 价格样式 */
.price {
  color: var(--accent-red);
  font-weight: 700;
}

.price-symbol { font-size: 12px; }

.price-integer { font-size: 16px; }

.price-original {
  color: var(--text-muted);
  font-size: 11px;
  text-decoration: line-through;
  margin-left: 6px;
  font-weight: 400;
}

/* 分割线 */
.divider {
  height: 0.5px;
  background: var(--border-color);
  margin: 12px 0;
}

/* 空状态 */
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}

.empty-text {
  color: var(--text-muted);
  font-size: 14px;
}

/* 文本溢出 */
.text-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-ellipsis-2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.text-ellipsis-3 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* ---------- 首页 index ---------- */
/* pages/index/index.wxss - 增强层次感 + 圆圈带字 */
.page {
  min-height: 100vh;
  padding-bottom: 20px;
  background: linear-gradient(180deg, #ececf0 0%, #f0f0f5 15%, #f5f5f7 40%, #f5f5f7 100%);
}

/* 状态栏占位 */
.status-bar { height: 0; }

/* ===== 搜索栏 - 玻璃质感 ===== */
.search-wrap {
  padding: 10px 16px 18px;
  background: linear-gradient(180deg, #e8e8ee 0%, #f0f0f5 60%, #f5f5f7 100%);
}

.search-box {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.06),
    0 0.5px 2px rgba(0, 0, 0, 0.04),
    inset 0 0.5px 1px rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.search-icon { font-size: 18px; color: #bbb; margin-right: 8px; }
.search-placeholder { flex: 1; color: #aaa; font-size: 14px; }

/* ===== 大Banner - 图片+光晕 ===== */
.banner {
  position: relative;
  height: 160px;
  margin: 0 12px 16px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1810 50%, #1a1a1a 100%);
  box-shadow:
    0 10px 24px rgba(20, 10, 0, 0.35),
    0 4px 10px rgba(0, 0, 0, 0.15),
    inset 0 0.5px 1px rgba(255, 215, 0, 0.2);
}

.banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1810 50%, #1a1a1a 100%);
}

/* 加载占位（图片加载成功后被覆盖） */
.banner-placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1810 50%, #1a1a1a 100%);
}
.banner-placeholder-text {
  font-size: 12px;
  color: rgba(255, 215, 0, 0.4);
  letter-spacing: 2px;
}

/* 右上角三角锥浮标 */
.banner-corner {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  z-index: 2;
  pointer-events: none;
}

.corner-tri {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 16px solid #f1c870;
  filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.8));
}

.tri-lg { top: 0; right: 0; }
.tri-md { top: 15px; right: -10px; transform: scale(0.6); opacity: 0.7; }
.tri-sm { top: -5px; right: 25px; transform: scale(0.4); opacity: 0.5; }

/* 底部高光 - 体现立体感 */
.banner-shine {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 215, 0, 0.05) 100%);
  z-index: 1;
  pointer-events: none;
}

/* ===== 圆形入口 - 浮起卡片 ===== */
.entries {
  display: flex;
  flex-wrap: wrap;
  padding: 18px 12px 14px;
  margin: 0 12px 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  border-radius: 14px;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.06),
    0 2px 6px rgba(0, 0, 0, 0.03),
    inset 0 0.5px 1px rgba(255, 255, 255, 0.9);
}

.entry {
  width: 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}

.entry-circle {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  overflow: hidden;
}

/* 高亮样式：客服/急用 - 橙红色 */
.entry-highlight {
  background: linear-gradient(135deg, #FFB84D 0%, #FF8C00 60%, #E66A00 100%);
  box-shadow:
    0 4px 10px rgba(255, 140, 0, 0.45),
    0 2px 5px rgba(255, 140, 0, 0.25),
    inset 0 1px 2px rgba(255, 255, 255, 0.4),
    inset 0 -1.5px 3px rgba(180, 80, 0, 0.3);
}

.hi-glow {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 200, 100, 0.6) 0%, transparent 60%);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 0.3; }
}

.hi-text {
  position: relative;
  z-index: 2;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0.5px 1.5px rgba(180, 80, 0, 0.6), 0 0 6px rgba(255, 200, 100, 0.6);
  letter-spacing: 0.5px;
}

/* 普通样式：黑色三角锥+文字 */
.entry-tri {
  background: linear-gradient(135deg, #2a2a2a 0%, #0a0a0a 100%);
  border: 1.5px solid rgba(255, 215, 0, 0.5);
  box-shadow:
    0 3px 8px rgba(0, 0, 0, 0.35),
    0 1.5px 4px rgba(0, 0, 0, 0.2),
    inset 0 0 8px rgba(255, 215, 0, 0.1);
  flex-direction: column;
}

.tri-icon {
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 11px solid #d4a93c;
  filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.6));
  margin-top: 2px;
}

.tri-text {
  font-size: 9px;
  color: #f1c870;
  font-weight: 600;
  margin-top: 1px;
  text-shadow: 0 0 2px rgba(255, 215, 0, 0.4);
  letter-spacing: 0.5px;
}

.entry-label {
  font-size: 11px;
  color: #555;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 2px;
}

/* ===== 推荐服务 - 深度卡片 ===== */
.section { padding: 0 12px; }

.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 18px 0 12px;
}

.section-title-line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ccc);
}

.section-title-line:last-child {
  background: linear-gradient(90deg, #ccc, transparent);
}

.section-title {
  margin: 0 12px;
  font-size: 16px;
  font-weight: 800;
  color: #1f1f1f;
  letter-spacing: 2px;
  text-shadow: 0 0.5px 1px rgba(0, 0, 0, 0.04);
}

.goods-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.goods-card {
  width: 170px;
  margin-bottom: 12px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.06),
    0 2px 6px rgba(0, 0, 0, 0.03),
    inset 0 0.5px 1px rgba(255, 255, 255, 0.9);
  transition: transform 0.2s, box-shadow 0.2s;
}

.goods-card:active {
  transform: scale(0.98);
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.04);
}

.goods-cover {
  position: relative;
  width: 100%;
  height: 170px;
  overflow: hidden;
}

.cover-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* 后台上传的真实封面图（有则覆盖渐变背景） */
.cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.cover-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 4px, rgba(255, 255, 255, 0.04) 4px, rgba(255, 255, 255, 0.04) 8px);
}

.cover-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.2) 100%);
  pointer-events: none;
}

.cover-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 10px;
}

.cover-tri {
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-top: 70px solid rgba(255, 215, 0, 0.85);
  filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.6));
}

.goods-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 8px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 10px;
  border-radius: 4px;
  font-weight: 600;
  z-index: 2;
  backdrop-filter: blur(4px);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.goods-info {
  padding: 10px 10px 12px;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

/* 标题 + 价签 同行：标题靠左占满，价签靠右不换行 */
.goods-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}
.goods-title-row .goods-price-row {
  flex-shrink: 0;
  margin-top: 1px;
}

.goods-title {
  font-size: 13px;
  color: #1f1f1f;
  font-weight: 600;
  line-height: 1.4;
  height: 36px;
}

.goods-stats {
  display: flex;
  margin-top: 7px;
  margin-bottom: 8px;
  padding: 4px 6px;
  background: #f5f5f7;
  border-radius: 4px;
}

.stat-item {
  flex: 1;
  font-size: 10px;
  color: #999;
}

.stat-label { margin-right: 3px; }
.stat-value { color: #666; font-weight: 500; }

.goods-price-row {
  display: flex;
  align-items: baseline;
}

.goods-price {
  display: flex;
  align-items: baseline;
  color: var(--accent-red);
  text-shadow: 0 0.5px 1px rgba(233, 69, 96, 0.1);
}

/* ===== 底部提示 - 渐变淡出 ===== */
.footer-tip {
  text-align: center;
  color: #ccc;
  font-size: 12px;
  padding: 20px 0 30px;
  position: relative;
}

.footer-tip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ddd, transparent);
}

/* ====== 客服二维码弹窗 ====== */
.qr-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-popup {
  width: 80%;
  max-width: 270px;
  background: #fff;
  border-radius: 12px;
  padding: 16px 16px 18px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.qr-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.qr-title {
  font-size: 16px;
  font-weight: 700;
  color: #1f1f1f;
}
.qr-close {
  width: 28px;
  height: 28px;
  font-size: 24px;
  color: #999;
  text-align: center;
  line-height: 24px;
  font-weight: 300;
}

.qr-img {
  width: 180px;
  height: 180px;
  background: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 12px;
}

.qr-tip {
  font-size: 12px;
  color: #888;
  line-height: 1.6;
  margin-bottom: 12px;
  white-space: pre-line;
}

.qr-wechat-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  background: linear-gradient(135deg, #fff5f5 0%, #ffe8ec 100%);
  border-radius: 6px;
}

.qr-wechat-label {
  font-size: 12px;
  color: #888;
}
.qr-wechat-val {
  font-size: 14px;
  color: #E94560;
  font-weight: 700;
}

.qr-copy-btn {
  margin-left: auto;
  padding: 3px 9px;
  background: linear-gradient(135deg, #E94560 0%, #FF6B85 100%);
  color: #fff;
  font-size: 11px;
  border-radius: 9px;
}

/* ---------- 专区 zone ---------- */
/* pages/zone/zone.wxss - 增强层次感版 */
.page {
  height: 100vh;
  background: #f0f0f5;
}

.zone-wrap {
  display: flex;
  height: calc(100vh - 0px);
}

/* ===== 左侧分类 - 渐变背景 ===== */
.cat-list {
  width: 90px;
  background: linear-gradient(180deg, #f0f0f5 0%, #eaeaef 100%);
  height: 100%;
  box-sizing: border-box;
  box-shadow: 1px 0 6px rgba(0, 0, 0, 0.03);
}

.cat-item {
  position: relative;
  padding: 16px 6px;
  text-align: center;
  background: transparent;
}

.cat-text {
  display: block;
  font-size: 13px;
  color: #666;
  line-height: 1.4;
}

.cat-active {
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}

.cat-active .cat-text {
  color: #E94560;
  font-weight: 700;
}

.cat-active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  bottom: 15px;
  width: 3px;
  background: linear-gradient(180deg, #FF6B85, #E94560);
  border-radius: 0 2px 2px 0;
  box-shadow: 1px 0 4px rgba(233, 69, 96, 0.3);
}

/* ===== 右侧服务区 - 微渐变 ===== */
.svc-list {
  flex: 1;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  height: 100%;
  box-sizing: border-box;
}

.svc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 14px 10px;
}

.svc-header-name {
  font-size: 16px;
  font-weight: 800;
  color: #1f1f1f;
  text-shadow: 0 0.5px 1px rgba(0, 0, 0, 0.03);
}

.svc-more {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #999;
}

.svc-more-arrow {
  margin-left: 3px;
  font-size: 14px;
  line-height: 1;
}

/* 搜索栏 - 玻璃质感 */
.search-mini {
  margin: 0 12px 10px;
  height: 34px;
  background: rgba(245, 245, 247, 0.8);
  border-radius: 17px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.search-mini-icon {
  font-size: 16px;
  color: #aaa;
  margin-right: 6px;
}

.search-mini-input {
  flex: 1;
  height: 34px;
  font-size: 13px;
  color: #1f1f1f;
}

.search-mini-clear {
  width: 18px;
  height: 18px;
  background: #ccc;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 16px;
  font-size: 14px;
}

/* ===== 服务卡片 - 多层阴影 ===== */
.svc-card {
  display: flex;
  margin: 0 12px 10px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.05),
    0 1px 3px rgba(0, 0, 0, 0.03),
    inset 0 0.5px 1px rgba(255, 255, 255, 0.9);
  border: none;
}

.svc-card:active {
  background: #fafafa;
  box-shadow:
    0 1px 4px rgba(0, 0, 0, 0.06),
    0 0.5px 2px rgba(0, 0, 0, 0.03);
}

.svc-thumb {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* 后台上传的真实封面图（有则覆盖渐变背景） */
.svc-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.svc-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 3px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.04) 6px);
}

/* 缩略图底部渐变阴影 */
.svc-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.2) 100%);
  pointer-events: none;
}

.svc-thumb-icon {
  position: relative;
  z-index: 1;
}

.thumb-tri {
  width: 0;
  height: 0;
  border-left: 19px solid transparent;
  border-right: 19px solid transparent;
  border-top: 34px solid rgba(255, 215, 0, 0.8);
  filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.5));
}

.svc-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 9px 10px;
  min-width: 0;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.svc-title {
  font-size: 13px;
  color: #1f1f1f;
  font-weight: 500;
  line-height: 1.4;
}

.svc-stats {
  margin-top: 3px;
  font-size: 11px;
  color: #999;
  padding: 2px 4px;
  background: #f5f5f7;
  border-radius: 3px;
  align-self: flex-start;
}

.svc-bottom {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 4px;
}

.svc-price {
  display: flex;
  align-items: baseline;
  color: #E94560;
  text-shadow: 0 0.5px 1px rgba(233, 69, 96, 0.1);
}

.price-symbol { font-size: 11px; }

.price-big { font-size: 18px; font-weight: 800; }

.svc-price-orig {
  color: #999;
  font-size: 11px;
  text-decoration: line-through;
}

.empty-svc {
  text-align: center;
  padding: 60px 0;
  color: #aaa;
  font-size: 13px;
}

/* ---------- 挑人 picker ---------- */
/* pages/picker/picker.wxss - 增强层次感版 */
.page {
  min-height: 100vh;
  background: linear-gradient(180deg, #ececf0 0%, #f0f0f5 15%, #f5f5f7 40%, #f5f5f7 100%);
  padding-bottom: 20px;
}

/* ===== Tab栏 - 玻璃质感 ===== */
.tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.95);
  padding: 0 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(10px);
  position: relative;
}

.tabs::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0.5px;
  background: linear-gradient(90deg, transparent, #eee, transparent);
}

.tab {
  flex: 1;
  position: relative;
  padding: 15px 0 14px;
  text-align: center;
}

.tab text {
  font-size: 15px;
  color: #666;
  font-weight: 500;
}

.tab-active text {
  color: #E94560;
  font-weight: 800;
  font-size: 18px;
  text-shadow: 0 0.5px 2px rgba(233, 69, 96, 0.15);
}

.tab-underline {
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background: linear-gradient(90deg, #FF6B85, #E94560);
  border-radius: 1.5px;
  box-shadow: 0 1px 4px rgba(233, 69, 96, 0.4);
}

/* ===== 搜索栏 - 浮起 ===== */
.search-box {
  margin: 12px;
  height: 42px;
  background: #fff;
  border-radius: 21px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  box-shadow:
    0 3px 10px rgba(0, 0, 0, 0.06),
    0 1px 4px rgba(0, 0, 0, 0.03),
    inset 0 0.5px 1px rgba(255, 255, 255, 0.8);
}

.search-icon {
  font-size: 19px;
  color: #aaa;
  margin-right: 8px;
}

.search-input {
  flex: 1;
  height: 42px;
  font-size: 14px;
  color: #1f1f1f;
}

.search-clear {
  width: 20px;
  height: 20px;
  background: #ccc;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 18px;
  font-size: 15px;
  font-weight: 300;
}

/* ===== 陪玩师列表 - 深度卡片 ===== */
.boss-list {
  padding: 0 12px;
}

.boss-card {
  display: flex;
  align-items: stretch;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  border-radius: 10px;
  padding: 14px 12px;
  margin-bottom: 12px;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.06),
    0 2px 6px rgba(0, 0, 0, 0.03),
    inset 0 0.5px 1px rgba(255, 255, 255, 0.9);
  position: relative;
}

.boss-card:active {
  transform: scale(0.99);
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.04);
}

/* 头像 - 光晕 */
.boss-avatar-wrap {
  position: relative;
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  margin-right: 10px;
}

.boss-avatar {
  width: 70px;
  height: 70px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  text-align: center;
  overflow: hidden;
  position: relative;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 3px, rgba(255, 255, 255, 0.08) 3px, rgba(255, 255, 255, 0.08) 6px);
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.15),
    inset 0 1px 2px rgba(255, 255, 255, 0.2),
    inset 0 -2px 6px rgba(0, 0, 0, 0.15);
}

.boss-avatar-text {
  display: block;
  padding: 0 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  word-break: break-all;
  line-height: 1.2;
  text-shadow: 0 0.5px 1.5px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

/* 后台上传的真实头像（有则覆盖色块） */
.boss-avatar-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.boss-online-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 11px;
  height: 11px;
  background: #4CAF50;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(76, 175, 80, 0.5);
}

.boss-level {
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 7px;
  background: linear-gradient(135deg, #1a1a1a 0%, #3a3a3a 100%);
  color: #FFD700;
  font-size: 10px;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.5);
  white-space: nowrap;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* 信息 */
.boss-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: 2px 0;
}

.boss-nick {
  font-size: 15px;
  font-weight: 700;
  color: #1f1f1f;
  margin-bottom: 3px;
}

.boss-meta {
  margin-bottom: 4px;
}

.boss-meta-text {
  font-size: 11px;
  color: #888;
}

.boss-tags {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 3px;
}

.boss-tag-item {
  display: inline-block;
  padding: 1.5px 6px;
  margin-right: 4px;
  margin-bottom: 2px;
  background: linear-gradient(135deg, #fff5f5 0%, #ffe8ec 100%);
  color: #E94560;
  font-size: 10px;
  border-radius: 3px;
  border: 0.5px solid #ffd9e0;
  box-shadow: 0 0.5px 1.5px rgba(233, 69, 96, 0.08);
}

.boss-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.boss-stat {
  font-size: 10px;
  color: #999;
}

.boss-stat-label { margin-right: 2px; }
.boss-stat-val {
  color: #1f1f1f;
  font-weight: 700;
  font-size: 11px;
}

.boss-signature {
  flex: 1;
  font-size: 10px;
  color: #888;
  font-style: italic;
  margin-left: 4px;
}

/* ===== 价格行 - 红色高亮 ===== */
.boss-price-row {
  display: flex;
  align-items: baseline;
  margin-top: 4px;
  padding-top: 4px;
  border-top: 0.5px dashed #f0f0f0;
}

.boss-price-symbol {
  font-size: 11px;
  color: #E94560;
  font-weight: 700;
}

.boss-price-num {
  font-size: 18px;
  color: #E94560;
  font-weight: 800;
  margin-left: 1px;
  line-height: 1;
}

.boss-price-unit {
  font-size: 10px;
  color: #999;
  margin-left: 3px;
}

.boss-spec-hint {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-left: auto;
  align-self: center;
}

.boss-spec-tag {
  font-size: 9px;
  color: #888;
  background: #f5f5f5;
  padding: 1px 4px;
  border-radius: 3px;
}

.boss-spec-tag.spec-first {
  color: #E94560;
  background: linear-gradient(135deg, #FFE5E8 0%, #FFD9DF 100%);
}

/* 操作按钮 - 红色光晕 */
.boss-action {
  display: flex;
  align-items: flex-start;
  padding-top: 2px;
}

.boss-order-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  background: linear-gradient(135deg, #E94560 0%, #FF6B85 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 16px;
  white-space: nowrap;
  box-shadow:
    0 4px 10px rgba(233, 69, 96, 0.3),
    0 2px 5px rgba(233, 69, 96, 0.15),
    inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.boss-order-btn:active {
  transform: scale(0.96);
  box-shadow:
    0 2px 6px rgba(233, 69, 96, 0.3),
    0 1px 3px rgba(233, 69, 96, 0.15);
}

.empty-boss {
  text-align: center;
  padding: 60px 0;
  color: #aaa;
  font-size: 13px;
}

/* ---------- 服务详情 service-detail ---------- */
/* 服务详情页样式 */
.page {
  min-height: 100vh;
  background: var(--bg-primary);
}

/* 导航栏 */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  background: var(--bg-primary);
  border-bottom: 0.5px solid rgba(51, 65, 85, 0.5);
}

.nav-back {
  width: 40px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-arrow {
  font-size: 24px;
  color: var(--text-primary);
  font-weight: 300;
}

.nav-title {
  flex: 1;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.content {
  height: calc(100vh - 44px);
}

/* 封面区 */
.cover-area {
  height: 160px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  overflow: hidden;
}

/* 后台上传的真实封面图（有则覆盖渐变背景） */
.cover-area-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.cover-deco {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.cover-area .deco-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}

.cover-area .deco-1 { width: 100px; height: 100px; right: -20px; top: 10px; }
.cover-area .deco-2 { width: 70px; height: 70px; right: 60px; top: 40px; }
.cover-area .deco-3 { width: 50px; height: 50px; right: 30px; top: 80px; }

.cover-info {
  z-index: 2;
  width: 100%;
}

.cover-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* 封面标签 - 金/红主题 */
.tag {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 12px;
  color: #fff;
  letter-spacing: 0.5px;
  text-shadow: 0 0.5px 1px rgba(0, 0, 0, 0.25);
}

.tag-hot {
  background: linear-gradient(135deg, #ff4d4f 0%, #ff7a45 100%);
  box-shadow: 0 2px 6px rgba(255, 77, 79, 0.35);
}

.tag-new {
  background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%);
  box-shadow: 0 2px 6px rgba(82, 196, 26, 0.35);
}

.tag-vip {
  background: linear-gradient(135deg, #faad14 0%, #ffc53d 100%);
  color: #5a2a00;
  text-shadow: none;
  box-shadow: 0 2px 6px rgba(250, 173, 20, 0.4);
}

/* 价格区 */
.price-section {
  background: var(--bg-card);
  padding: 16px 14px;
  border-bottom: 0.5px solid rgba(51, 65, 85, 0.3);
}

.price-main {
  display: flex;
  align-items: baseline;
  margin-bottom: 8px;
}

.price-symbol {
  font-size: 14px;
  color: var(--accent-orange);
  font-weight: 700;
}

.price-big {
  font-size: 28px;
  color: var(--accent-orange);
  font-weight: 800;
  line-height: 1;
  margin-right: 6px;
}

.price-original {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-discount {
  font-size: 11px;
  color: var(--accent-orange);
  background: rgba(245, 158, 11, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}

.service-name-detail {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 8px;
}

.service-stats {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-item {
  font-size: 12px;
  color: var(--text-secondary);
}

.stat-divider {
  color: var(--text-muted);
  font-size: 12px;
}

/* 信息卡片 */
.info-card {
  margin: 12px;
  background: var(--bg-card);
  border-radius: 10px;
  padding: 14px;
  border: 0.5px solid rgba(51, 65, 85, 0.3);
}

.info-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 0.5px solid rgba(51, 65, 85, 0.3);
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
}

.info-label {
  font-size: 13px;
  color: var(--text-muted);
}

.info-value {
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 500;
}

/* 描述区 */
.desc-card {
  margin: 0 12px 12px;
  background: var(--bg-card);
  border-radius: 10px;
  padding: 14px;
  border: 0.5px solid rgba(51, 65, 85, 0.3);
}

.desc-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.desc-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(245, 158, 11, 0.08);
  padding: 6px 10px;
  border-radius: 6px;
}

.feature-icon {
  font-size: 14px;
}

.feature-text {
  font-size: 12px;
  color: var(--accent-orange);
}

/* 保障说明 */
.guarantee-item {
  display: flex;
  align-items: flex-start;
  padding: 10px 0;
}

.guarantee-item:not(:last-child) {
  border-bottom: 0.5px solid rgba(51, 65, 85, 0.2);
}

.guarantee-icon {
  font-size: 18px;
  margin-right: 10px;
  flex-shrink: 0;
}

.guarantee-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.guarantee-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.guarantee-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 底部预约栏 */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg-card);
  border-top: 0.5px solid rgba(51, 65, 85, 0.5);
  display: flex;
  align-items: center;
  padding: 0 14px;
  /* 降低层级：低于 sku-popup 遮罩(999)，弹窗弹出时本栏被遮罩盖住，
     避免「立即预约」与弹窗内「确定」按钮重叠/错位（即审核截图按钮显示异常的根因） */
  z-index: 50;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.bottom-price {
  flex: 1;
  display: flex;
  align-items: baseline;
}

.bp-symbol {
  font-size: 14px;
  color: var(--accent-orange, #ff9500);
  font-weight: 700;
}

.bp-amount {
  font-size: 24px;
  color: var(--accent-orange, #ff9500);
  font-weight: 800;
}

.bottom-btn {
  background: var(--gradient-fire, linear-gradient(135deg, #E94560 0%, #FF6B85 50%, #ff9500 100%));
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 0 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-red, 0 4px 12px rgba(233, 69, 96, 0.35));
}

.bottom-btn-full {
  flex: 1;
  width: 100%;
  padding: 0;
}

.bottom-btn text {
  color: #fff;
  font-weight: 700;
}

/* ---------- 提交订单 submit-order ---------- */
/* 提交订单页样式 */
.page {
  min-height: 100vh;
  background: var(--bg-primary);
}

.content {
  height: calc(100vh - 60px);
}

.loading {
  padding-top: 12px;
}

/* 服务摘要 */
.service-summary {
  display: flex;
  margin: 12px;
  background: var(--bg-card);
  border-radius: 10px;
  padding: 12px;
  border: 0.5px solid rgba(51, 65, 85, 0.5);
}

.ss-cover {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  flex-shrink: 0;
}

.ss-cover-img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #1a0a05 0%, #3a1a08 100%);
}

.ss-info {
  flex: 1;
  margin-left: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ss-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
}

.ss-meta {
  display: flex;
  align-items: center;
}

.ss-duration {
  font-size: 12px;
  color: var(--text-muted);
  margin-right: 6px;
}

.ss-sku {
  font-size: 11px;
  color: #E94560;
  background: linear-gradient(135deg, #FFE5E8 0%, #FFD9DF 100%);
  padding: 1px 5px;
  border-radius: 3px;
  margin-right: 4px;
}

.ss-qty {
  font-size: 12px;
  color: #E94560;
  font-weight: 700;
}

.ss-price {
  display: flex;
  align-items: baseline;
}

/* 表单卡片 */
.form-card {
  margin: 12px;
  background: var(--bg-card);
  border-radius: 10px;
  padding: 14px;
  border: 0.5px solid rgba(51, 65, 85, 0.5);
}

.form-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 0.5px solid rgba(51, 65, 85, 0.3);
}

.form-item {
  padding: 10px 0;
  border-bottom: 0.5px solid rgba(51, 65, 85, 0.2);
}

.form-item:last-child {
  border-bottom: none;
}

.form-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: block;
}

.required {
  color: var(--accent-red);
}

.form-input {
  width: 100%;
  height: 36px;
  background: var(--bg-primary);
  border-radius: 6px;
  padding: 0 12px;
  font-size: 14px;
  color: var(--text-primary);
  box-sizing: border-box;
  border: 0.5px solid rgba(51, 65, 85, 0.3);
}

.form-textarea {
  width: 100%;
  min-height: 60px;
  background: var(--bg-primary);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--text-primary);
  box-sizing: border-box;
  border: 0.5px solid rgba(51, 65, 85, 0.3);
}

/* 客户端选择器 */
.form-picker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  background: var(--bg-primary);
  border-radius: 6px;
  padding: 0 12px;
  border: 0.5px solid rgba(51, 65, 85, 0.3);
}

.picker-text {
  font-size: 14px;
  color: var(--text-primary);
}

.picker-text.placeholder {
  color: var(--text-muted);
}

.picker-arrow {
  font-size: 12px;
  color: var(--text-muted);
}

.picker-options {
  margin-top: 6px;
  background: var(--bg-primary);
  border-radius: 6px;
  border: 0.5px solid rgba(51, 65, 85, 0.3);
  overflow: hidden;
}

.picker-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  font-size: 14px;
  color: var(--text-primary);
  border-bottom: 0.5px solid rgba(51, 65, 85, 0.15);
}

.picker-option:last-child {
  border-bottom: none;
}

.picker-option:active {
  background: var(--bg-hover);
}

.check {
  color: var(--accent-orange);
  font-weight: 700;
}

/* 费用明细 */
.fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.fee-label {
  font-size: 14px;
  color: var(--text-secondary);
}

.fee-value {
  font-size: 14px;
  color: var(--text-primary);
}

.fee-discount {
  font-size: 14px;
  color: var(--accent-green);
}

.fee-divider {
  height: 0.5px;
  background: rgba(51, 65, 85, 0.3);
  margin: 8px 0;
}

.fee-total {
  padding-top: 4px;
}

.fee-total-value {
  display: flex;
  align-items: baseline;
}

/* 底部提交栏 */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg-card);
  border-top: 0.5px solid rgba(51, 65, 85, 0.5);
  display: flex;
  align-items: center;
  padding: 0 14px;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.bb-price {
  flex: 1;
  display: flex;
  align-items: baseline;
}

.bb-symbol {
  font-size: 14px;
  color: var(--accent-orange);
  font-weight: 700;
}

.bb-amount {
  font-size: 24px;
  color: var(--accent-orange);
  font-weight: 800;
}

.bb-btn {
  background: var(--gradient-fire);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 0 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bb-btn-disabled {
  opacity: 0.5;
}

/* ---------- 我的 mine ---------- */
/* pages/mine/mine.wxss - 增强层次感版 */
.page {
  min-height: 100vh;
  background: linear-gradient(180deg, #f0f0f5 0%, #f5f5f7 30%, #f5f5f7 100%);
  padding-bottom: 30px;
}

/* ===== 顶部蓝色科技感背景 - 多层光晕 ===== */
.header {
  position: relative;
  height: 190px;
  overflow: hidden;
}

.header-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(255, 255, 255, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 0%, rgba(100, 180, 255, 0.35) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 0%, rgba(180, 100, 255, 0.25) 0%, transparent 50%),
    linear-gradient(180deg, #1976d2 0%, #1565c0 60%, #0d47a1 100%);
}

.header-bg-mask {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(255, 255, 255, 0.05) 40px, rgba(255, 255, 255, 0.05) 40.5px),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255, 255, 255, 0.05) 40px, rgba(255, 255, 255, 0.05) 40.5px);
}

.header-deco {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent);
  pointer-events: none;
}

.header-deco-1 {
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 100px;
  background: radial-gradient(ellipse, rgba(100, 200, 255, 0.6) 0%, transparent 70%);
  filter: blur(30px);
}

.header-deco-2 {
  top: 20px;
  right: -50px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(180, 100, 255, 0.4) 0%, transparent 70%);
  filter: blur(20px);
}

.header-deco-3 {
  bottom: -50px;
  left: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(100, 200, 255, 0.4) 0%, transparent 70%);
  filter: blur(20px);
}

/* 底部渐变过渡 - 蓝色到灰色 */
.header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: linear-gradient(180deg, transparent, #f0f0f5);
  z-index: 1;
}

.header-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 30px;
}

/* 头像 - 多层光环 */
.avatar-wrap {
  margin-bottom: 12px;
  position: relative;
}

.avatar-wrap::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent 70%);
  filter: blur(5px);
}

.avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.25),
    0 2px 8px rgba(0, 0, 0, 0.15),
    inset 0 1px 2px rgba(255, 255, 255, 0.5);
  border: 3px solid rgba(255, 255, 255, 0.4);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.avatar-img {
  width: 100%;
  height: 100%;
}

.avatar-default {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
  color: #ccc;
  font-size: 40px;
}

/* 登录按钮 - 红色光晕 */
.login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 30px;
  background: linear-gradient(135deg, #E94560 0%, #FF6B85 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 16px;
  box-shadow:
    0 4px 12px rgba(233, 69, 96, 0.4),
    0 2px 6px rgba(233, 69, 96, 0.2),
    inset 0 1px 2px rgba(255, 255, 255, 0.25);
}

.login-btn:active {
  transform: scale(0.96);
  box-shadow:
    0 2px 6px rgba(233, 69, 96, 0.4),
    0 1px 3px rgba(233, 69, 96, 0.2);
}

/* 已登录信息 */
.user-info-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.user-info {
  display: flex;
  align-items: center;
  margin-bottom: 9px;
}

.user-nick {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-right: 6px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.user-vip {
  padding: 2px 7px;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #5a3000;
  font-size: 10px;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(255, 165, 0, 0.4);
}

.user-stat {
  display: flex;
  width: 80%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 8px 0;
  backdrop-filter: blur(5px);
  box-shadow: inset 0 0.5px 1px rgba(255, 255, 255, 0.2);
}

.stat-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  position: relative;
}

.stat-block:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 6px;
  bottom: 6px;
  width: 0.5px;
  background: rgba(255, 255, 255, 0.2);
}

.stat-num {
  font-size: 16px;
  font-weight: 700;
  text-shadow: 0 0.5px 2px rgba(0, 0, 0, 0.2);
}

.stat-text {
  font-size: 11px;
  opacity: 0.8;
  margin-top: 2px;
}

/* ===== 订单卡片 - 上浮 + 深阴影 ===== */
.order-card {
  margin: -30px 12px 0;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  border-radius: 14px;
  padding: 16px 12px 18px;
  position: relative;
  z-index: 3;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 0.5px 1px rgba(255, 255, 255, 0.9);
}

.order-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 0.5px solid #f0f0f0;
}

.order-title {
  font-size: 16px;
  font-weight: 800;
  color: #1f1f1f;
}

.order-all {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #999;
}

.arrow {
  margin-left: 2px;
  font-size: 13px;
}

.order-status-row {
  display: flex;
}

.order-status {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.order-status-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  position: relative;
}

.order-status-pending {
  background: linear-gradient(135deg, #FFA726 0%, #FF7043 100%);
  box-shadow:
    0 4px 10px rgba(255, 112, 67, 0.35),
    0 2px 5px rgba(255, 112, 67, 0.2),
    inset 0 1px 2px rgba(255, 255, 255, 0.25);
}

.order-status-waiting {
  background: linear-gradient(135deg, #42A5F5 0%, #1E88E5 100%);
  box-shadow:
    0 4px 10px rgba(30, 136, 229, 0.35),
    0 2px 5px rgba(30, 136, 229, 0.2),
    inset 0 1px 2px rgba(255, 255, 255, 0.25);
}

.order-status-accepted {
  background: linear-gradient(135deg, #66BB6A 0%, #43A047 100%);
  box-shadow:
    0 4px 10px rgba(67, 160, 71, 0.35),
    0 2px 5px rgba(67, 160, 71, 0.2),
    inset 0 1px 2px rgba(255, 255, 255, 0.25);
}

.order-status-comment {
  background: linear-gradient(135deg, #FFCA28 0%, #FFA000 100%);
  box-shadow:
    0 4px 10px rgba(255, 160, 0, 0.35),
    0 2px 5px rgba(255, 160, 0, 0.2),
    inset 0 1px 2px rgba(255, 255, 255, 0.25);
}

/* 状态图标内部形状 */
.status-icon-shape {
  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 3px;
  position: relative;
}

.status-icon-shape::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 4px;
  width: 10px;
  height: 2px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 1px;
  box-shadow:
    0 -3px 0 rgba(0, 0, 0, 0.5),
    0 3px 0 rgba(0, 0, 0, 0.5);
}

.order-status-label {
  font-size: 12px;
  color: #444;
}

.badge {
  position: absolute;
  top: -3px;
  right: 9px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: linear-gradient(135deg, #E94560 0%, #FF6B85 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(233, 69, 96, 0.3);
}

/* ===== 功能菜单 - 深度卡片 ===== */
.menu-card {
  margin: 12px 12px 0;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  border-radius: 12px;
  padding: 18px 12px;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.05),
    0 2px 6px rgba(0, 0, 0, 0.03),
    inset 0 0.5px 1px rgba(255, 255, 255, 0.9);
}

.menu-row {
  display: flex;
}

.menu-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.menu-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  margin-bottom: 6px;
  position: relative;
  background-image:
    repeating-linear-gradient(135deg, transparent, transparent 4px, rgba(255, 255, 255, 0.15) 4px, rgba(255, 255, 255, 0.15) 8px);
  box-shadow:
    0 3px 8px rgba(0, 0, 0, 0.12),
    0 1.5px 4px rgba(0, 0, 0, 0.06),
    inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.menu-icon-shop {
  background-color: #1976d2;
  background: linear-gradient(135deg, #2196F3 0%, #1565C0 100%);
}

.menu-icon-shop::after {
  content: '🏪';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.menu-icon-fav {
  background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
}

.menu-icon-fav::after {
  content: '★';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.menu-icon-notify {
  background: linear-gradient(135deg, #66BB6A 0%, #43A047 100%);
}

.menu-icon-notify::after {
  content: '🔔';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.menu-icon-about {
  background: linear-gradient(135deg, #AB47BC 0%, #7B1FA2 100%);
}

.menu-icon-about::after {
  content: 'ⓘ';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  font-weight: 700;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.menu-item text {
  font-size: 12px;
  color: #444;
}

/* ===== 联系客服 ===== */
.contact-card {
  margin: 12px 12px 0;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  border-radius: 12px;
  padding: 16px 14px;
  display: flex;
  align-items: center;
  box-shadow:
    0 3px 10px rgba(0, 0, 0, 0.05),
    0 1.5px 5px rgba(0, 0, 0, 0.03);
}

.contact-icon {
  font-size: 19px;
  margin-right: 8px;
}

.contact-label {
  flex: 1;
  font-size: 14px;
  color: #1f1f1f;
  font-weight: 500;
}

.contact-time {
  font-size: 11px;
  color: #999;
}

/* ===== 版本栏 ===== */
.version-bar {
  margin-top: 25px;
  text-align: center;
  font-size: 11px;
  color: #ccc;
  position: relative;
}

.version-bar::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ddd, transparent);
}

/* ====== 客服二维码弹窗 ====== */
.qr-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-popup {
  width: 80%;
  max-width: 270px;
  background: #fff;
  border-radius: 12px;
  padding: 16px 16px 18px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.qr-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.qr-title { font-size: 16px; font-weight: 700; color: #1f1f1f; }
.qr-close {
  width: 28px;
  height: 28px;
  font-size: 24px;
  color: #999;
  text-align: center;
  line-height: 24px;
  font-weight: 300;
}
.qr-img {
  width: 180px;
  height: 180px;
  background: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 12px;
}
.qr-tip {
  font-size: 12px;
  color: #888;
  line-height: 1.6;
  margin-bottom: 12px;
  white-space: pre-line;
}
.qr-wechat-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  background: linear-gradient(135deg, #fff5f5 0%, #ffe8ec 100%);
  border-radius: 6px;
}
.qr-wechat-label { font-size: 12px; color: #888; }
.qr-wechat-val { font-size: 14px; color: #E94560; font-weight: 700; }
.qr-copy-btn {
  margin-left: auto;
  padding: 3px 9px;
  background: linear-gradient(135deg, #E94560 0%, #FF6B85 100%);
  color: #fff;
  font-size: 11px;
  border-radius: 9px;
}

/* ---------- 订单列表 order-list ---------- */
/* 订单列表页样式 */
.page {
  min-height: 100vh;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
}

/* 标签栏 */
.tab-bar {
  background: var(--bg-primary);
  border-bottom: 0.5px solid rgba(51, 65, 85, 0.3);
  position: sticky;
  top: 0;
  z-index: 10;
}

.tab-scroll {
  white-space: nowrap;
  padding: 0 6px;
}

.tab-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 14px;
  position: relative;
}

.tab-text {
  font-size: 14px;
  color: var(--text-secondary);
}

.tab-active .tab-text {
  color: var(--accent-orange);
  font-weight: 700;
}

.tab-indicator {
  position: absolute;
  bottom: 4px;
  width: 24px;
  height: 3px;
  background: var(--accent-orange);
  border-radius: 2px;
}

/* 订单滚动区 */
.order-scroll {
  flex: 1;
  padding: 12px;
  box-sizing: border-box;
}

/* 骨架屏 */
.skeleton-order {
  background: var(--bg-card);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 12px;
}

/* 订单卡片 */
.order-card {
  background: var(--bg-card);
  border-radius: 10px;
  margin-bottom: 12px;
  border: 0.5px solid rgba(51, 65, 85, 0.5);
  overflow: hidden;
  transition: transform 0.2s;
}

.order-card:active {
  transform: scale(0.99);
}

.oc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 0.5px solid rgba(51, 65, 85, 0.2);
}

.oc-id {
  font-size: 12px;
  color: var(--text-muted);
}

.oc-status {
  display: flex;
  align-items: center;
}

.oc-status-text {
  font-size: 13px;
  font-weight: 600;
}

.oc-body {
  display: flex;
  padding: 12px 14px;
}

.oc-info {
  flex: 1;
}

.oc-service-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 6px;
}

.oc-detail {
  display: flex;
  gap: 12px;
  margin-bottom: 4px;
}

.oc-contact, .oc-game {
  font-size: 12px;
  color: var(--text-muted);
}

.oc-escort {
  font-size: 12px;
  color: var(--accent-teal);
  margin-top: 4px;
}

.oc-price {
  display: flex;
  align-items: baseline;
  flex-shrink: 0;
  margin-left: 10px;
}

/* 卡片底部 */
.oc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-top: 0.5px solid rgba(51, 65, 85, 0.2);
}

.oc-time {
  font-size: 11px;
  color: var(--text-muted);
}

.oc-actions {
  display: flex;
  gap: 8px;
}

.oc-btn {
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 12px;
  font-weight: 500;
}

.oc-btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 0.5px solid rgba(100, 116, 139, 0.4);
}

.oc-btn-primary {
  background: var(--gradient-fire);
  color: #fff;
}

/* 空状态 */
.empty-btn {
  margin-top: 12px;
  background: var(--gradient-fire);
  color: #fff;
  font-size: 13px;
  padding: 8px 24px;
  border-radius: 15px;
}

/* ---------- 订单详情 order-detail ---------- */
/* 订单详情页样式 */
.page {
  min-height: 100vh;
  background: var(--bg-primary);
}

.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  background: var(--bg-primary);
  border-bottom: 0.5px solid rgba(51, 65, 85, 0.5);
}

.nav-back {
  width: 40px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-arrow {
  font-size: 24px;
  color: var(--text-primary);
  font-weight: 300;
}

.nav-title {
  flex: 1;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.content {
  height: calc(100vh - 44px);
}

/* 状态横幅 */
.status-banner {
  display: flex;
  align-items: center;
  padding: 20px 16px;
  margin: 12px;
  border-radius: 10px;
}

.sb-icon {
  font-size: 28px;
  margin-right: 12px;
}

.sb-text {
  display: flex;
  flex-direction: column;
}

.sb-status {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.sb-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

/* 卡片 */
.card {
  margin: 0 12px 12px;
  background: var(--bg-card);
  border-radius: 10px;
  padding: 14px;
  border: 0.5px solid rgba(51, 65, 85, 0.5);
}

.card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 0.5px solid rgba(51, 65, 85, 0.3);
}

/* 信息行 */
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 8px 0;
}

.ir-label {
  font-size: 13px;
  color: var(--text-muted);
  flex-shrink: 0;
  width: 80px;
}

.ir-value {
  font-size: 13px;
  color: var(--text-primary);
  text-align: right;
  flex: 1;
  word-break: break-all;
}

.ir-remark {
  color: var(--text-secondary);
  line-height: 1.5;
}

/* 陪玩师信息 */
.ir-escort {
  display: flex;
  align-items: center;
  gap: 6px;
}

.escort-name {
  font-size: 13px;
  color: var(--accent-teal);
  font-weight: 600;
}

.escort-rating {
  font-size: 11px;
  color: var(--accent-orange);
}

.escort-contact {
  background: rgba(20, 184, 166, 0.15);
  color: var(--accent-teal);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
}

/* 时间线 */
.timeline {
  padding-left: 4px;
}

.tl-item {
  display: flex;
  align-items: center;
  position: relative;
  padding: 8px 0;
}

.tl-line {
  position: absolute;
  left: 11.5px;
  top: 0;
  bottom: -8px;
  width: 1px;
  background: var(--border-color);
}

.tl-line-first {
  display: none;
}

.tl-line-done {
  background: var(--accent-teal);
}

.tl-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  z-index: 2;
  flex-shrink: 0;
}

.tl-icon {
  font-size: 14px;
}

.tl-icon-muted {
  font-size: 14px;
  color: var(--text-muted);
}

.tl-content {
  margin-left: 8px;
}

.tl-label {
  font-size: 13px;
  color: var(--text-muted);
}

.tl-label-active {
  color: var(--text-primary);
  font-weight: 600;
}

/* 费用行 */
.fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.fee-label {
  font-size: 13px;
  color: var(--text-secondary);
}

.fee-value {
  font-size: 13px;
  color: var(--text-primary);
}

.fee-divider {
  height: 0.5px;
  background: rgba(51, 65, 85, 0.3);
  margin: 8px 0;
}

.fee-total {
  padding-top: 4px;
}

.fee-total-value {
  display: flex;
  align-items: baseline;
}

/* 底部操作栏 */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg-card);
  border-top: 0.5px solid rgba(51, 65, 85, 0.5);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 14px;
  gap: 12px;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.bb-actions {
  display: flex;
  gap: 12px;
}

.bb-btn-outline {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 0 20px;
  height: 36px;
  line-height: 36px;
  border-radius: 18px;
  border: 0.5px solid rgba(100, 116, 139, 0.4);
}

.bb-btn-primary {
  background: var(--gradient-fire);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 0 24px;
  height: 36px;
  line-height: 36px;
  border-radius: 18px;
}

/* ====== 评价弹窗 ====== */
.rate-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rate-popup {
  width: 88%;
  max-width: 300px;
  background: #fff;
  border-radius: 12px;
  padding: 16px 16px 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.rate-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.rate-title {
  font-size: 16px;
  font-weight: 700;
  color: #1f1f1f;
}
.rate-close {
  width: 28px;
  height: 28px;
  font-size: 24px;
  color: #999;
  text-align: center;
  line-height: 24px;
  font-weight: 300;
}

.rate-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
}

.rate-star {
  font-size: 30px;
  color: #e5e5e5;
  transition: all 0.2s;
}
.rate-star:active { transform: scale(0.9); }
.rate-star.star-on {
  color: #faad14;
  text-shadow: 0 1px 4px rgba(250, 173, 20, 0.4);
}

.rate-text {
  margin-left: 8px;
  font-size: 13px;
  color: #faad14;
  font-weight: 600;
}

.rate-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.rate-tag {
  font-size: 12px;
  padding: 5px 11px;
  background: #f5f5f5;
  color: #666;
  border-radius: 12px;
  border: 1px solid transparent;
}
.rate-tag-active {
  background: linear-gradient(135deg, #FFE5E8 0%, #FFD9DF 100%);
  color: #E94560;
  border-color: #E94560;
  font-weight: 600;
}

.rate-textarea {
  width: 100%;
  height: 70px;
  padding: 8px 10px;
  background: #f8f8f8;
  border-radius: 8px;
  font-size: 13px;
  color: #333;
  box-sizing: border-box;
  margin-bottom: 12px;
}

.rate-buttons {
  display: flex;
  gap: 8px;
}

.rate-cancel, .rate-submit {
  flex: 1;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  border-radius: 20px;
}

.rate-cancel {
  background: #f5f5f5;
  color: #666;
}
.rate-submit {
  background: linear-gradient(135deg, #E94560 0%, #FF6B85 100%);
  color: #fff;
  box-shadow: 0 3px 9px rgba(233, 69, 96, 0.3);
}

/* ====== 客服二维码弹窗 ====== */
.qr-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-popup {
  width: 80%;
  max-width: 270px;
  background: #fff;
  border-radius: 12px;
  padding: 16px 16px 18px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.qr-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.qr-title {
  font-size: 16px;
  font-weight: 700;
  color: #1f1f1f;
}
.qr-close {
  width: 28px;
  height: 28px;
  font-size: 24px;
  color: #999;
  text-align: center;
  line-height: 24px;
  font-weight: 300;
}

.qr-img {
  width: 180px;
  height: 180px;
  background: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 12px;
}

.qr-tip {
  font-size: 12px;
  color: #888;
  line-height: 1.6;
  margin-bottom: 12px;
  white-space: pre-line;
}

.qr-wechat-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  background: linear-gradient(135deg, #fff5f5 0%, #ffe8ec 100%);
  border-radius: 6px;
}

.qr-wechat-label {
  font-size: 12px;
  color: #888;
}
.qr-wechat-val {
  font-size: 14px;
  color: #E94560;
  font-weight: 700;
}

.qr-copy-btn {
  margin-left: auto;
  padding: 3px 9px;
  background: linear-gradient(135deg, #E94560 0%, #FF6B85 100%);
  color: #fff;
  font-size: 11px;
  border-radius: 9px;
}

/* ---------- SKU 弹窗 sku-popup ---------- */
/* components/sku-popup/sku-popup.wxss */

/* 遮罩 */
.mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.mask-show { opacity: 1; }

/* 弹窗主体 */
.popup {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  border-radius: 12px 12px 0 0;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
  max-height: 80vh;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
}
.popup-show { transform: translateY(0); }

/* 顶部服务信息 */
.popup-header {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 14px 16px 12px;
  border-bottom: 0.5px solid #f0f0f0;
  background: #fafafa;
}

.thumb-wrap {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-top: -25px;  /* 让缩略图突出 */
  border: 2px solid #ffffff;
}
.thumb {
  width: 100%;
  height: 100%;
}

.header-info {
  flex: 1;
  margin-left: 12px;
  padding-top: 4px;
}

.header-price {
  display: flex;
  align-items: baseline;
  margin-bottom: 4px;
}
.price-symbol {
  font-size: 13px;
  color: #E94560;
  font-weight: 700;
}
.price-num {
  font-size: 22px;
  color: #E94560;
  font-weight: 800;
  margin-left: 2px;
}

.header-stock {
  font-size: 11px;
  color: #999;
  margin-bottom: 3px;
}

.header-selected {
  font-size: 13px;
  color: #333;
  font-weight: 500;
}

.close-btn {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 28px;
  height: 28px;
  font-size: 24px;
  color: #999;
  text-align: center;
  line-height: 28px;
  font-weight: 300;
}

/* 规格区滚动 */
.sku-scroll {
  flex: 1;
  padding: 12px 16px;
  overflow-y: auto;
}

.sku-group {
  margin-bottom: 16px;
}

.group-title {
  font-size: 14px;
  color: #333;
  font-weight: 600;
  margin-bottom: 8px;
}

.spec-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: #f5f5f5;
  border-radius: 16px;
  border: 1px solid transparent;
  transition: all 0.2s;
}
.spec-item:active {
  transform: scale(0.96);
}

.spec-name {
  font-size: 13px;
  color: #333;
}

.spec-price {
  font-size: 12px;
  color: #666;
}

.spec-active {
  background: linear-gradient(135deg, #FFE5E8 0%, #FFD9DF 100%);
  border-color: #E94560;
  box-shadow: 0 2px 6px rgba(233, 69, 96, 0.2);
}
.spec-active .spec-name {
  color: #E94560;
  font-weight: 600;
}
.spec-active .spec-price {
  color: #E94560;
  font-weight: 600;
}

/* 数量 */
.qty-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0 4px;
  border-top: 0.5px solid #f0f0f0;
}
.qty-label {
  font-size: 14px;
  color: #333;
  font-weight: 600;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  background: #f5f5f5;
  border-radius: 16px;
  overflow: hidden;
}

.qty-btn {
  width: 32px;
  height: 28px;
  text-align: center;
  line-height: 28px;
  font-size: 16px;
  color: #E94560;
  font-weight: 700;
}

.qty-btn-disabled {
  color: #ccc;
}

.qty-num {
  min-width: 32px;
  text-align: center;
  font-size: 14px;
  color: #333;
  font-weight: 600;
}

/* 底部按钮 */
.popup-footer {
  padding: 10px 16px 16px;
  background: #ffffff;
  border-top: 0.5px solid #f0f0f0;
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
}

.btn-confirm {
  height: 44px;
  line-height: 44px;
  text-align: center;
  background: linear-gradient(135deg, #E94560 0%, #FF6B85 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 22px;
  box-shadow: 0 3px 10px rgba(233, 69, 96, 0.3);
}


/* ============================================================
 * Web 专属（小程序无对应 wxss）：手机壳 / 底部 tabBar / 滚动适配
 * ============================================================ */

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

/* 小程序运行时语义对齐：view/image/scroll-view 在真机为块级，
   但浏览器对未知标签默认 inline，必须显式置 block，否则布局塌陷 */
view, scroll-view, image { display: block; }
text { display: inline; }

html, body {
  margin: 0;
  padding: 0;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', sans-serif;
}

/* 桌面预览时，把内容收进一个 420px 的手机壳居中显示；移动端自动铺满 */
.phone {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(180deg, #ececf0 0%, #f0f0f5 20%, #f5f5f7 100%);
  box-shadow: 0 0 40px rgba(0,0,0,0.12);
}

/* 可滚动内容区（tabBar 之上） */
.page-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  position: relative;
}
.page-scroll::-webkit-scrollbar { width: 0; height: 0; }

/* 隐藏滚动条但保留滚动 */
.page-scroll { scrollbar-width: none; }

/* 各页面根容器：留出底部 tabBar 高度（约 56px） */
.page {
  min-height: 100%;
  padding-bottom: 76px !important;
}

/* 专区页：用 flex 撑满剩余高度，左右各自滚动 */
.page-zone { height: 100%; min-height: 0; padding-bottom: 0 !important; }
.zone-wrap { height: 100% !important; }
.cat-list, .svc-list { height: 100% !important; }

/* ============ 底部 tabBar（对应小程序 tabBar） ============ */
.tabbar {
  flex: none;
  height: 56px;
  display: flex;
  background: #fff;
  border-top: 1px solid #eee;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.05);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.tabbar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 11px;
  text-decoration: none;
  gap: 2px;
  user-select: none;
}
.tabbar-item img {
  width: 24px;
  height: 24px;
  display: block;
  margin-bottom: 2px;
}
.tabbar-item.active { color: #E94560; }

/* 通用返回按钮（服务详情/订单详情自定义导航用） */
.nav-back {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 30;
  backdrop-filter: blur(6px);
  cursor: pointer;
}

/* 让 fixed 弹窗/抽屉在手机壳内正确定位（否则会溢出到整个浏览器视口） */
.phone .qr-mask,
.phone .sku-mask,
.phone .rate-mask,
.phone .boss-sheet-mask,
.phone .mask,
.phone .popup,
.phone .boss-sheet {
  position: absolute;
}
.phone .popup {
  left: 0;
  right: 0;
  /* 兼容 iPhone home indicator：底部避开安全区，避免按钮被系统条盖住 */
  bottom: max(0px, env(safe-area-inset-bottom, 0px));
}

/* Web 专属微调：小程序源 wxss 未显式定义的小元素（补全可见性） */
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px;
}
.empty-icon { font-size: 44px; display: block; margin-bottom: 10px; }

/* 修复：qr-mask 缺少初始隐藏态，导致 mask-show 切换无效（弹窗一直显示、× 关不掉）
  这里与 .mask（sku 弹窗用）保持一致：基础 opacity:0 + pointer-events:none，.mask-show 时显示
  注意选择器要带 .phone 前缀以匹敌 .phone .qr-mask 的优先级，否则不会生效 */
.phone .qr-mask,
.qr-mask { opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
.qr-mask.mask-show { opacity: 1; pointer-events: auto; }

/* ====== 收款码弹窗（下单后弹出商家收款码）====== */
.pay-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pay-popup {
  width: 82%;
  max-width: 280px;
  background: #fff;
  border-radius: 14px;
  padding: 18px 16px 16px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.pay-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.pay-title { font-size: 16px; font-weight: 700; color: #1f1f1f; }
.pay-close { width: 28px; height: 28px; font-size: 24px; color: #999; text-align: center; line-height: 24px; font-weight: 300; }
.pay-amount { font-size: 26px; font-weight: 800; color: #E94560; margin: 4px 0 12px; }
.pay-qr-wrap { display: flex; justify-content: center; }
.pay-qr-img { width: 180px; height: 180px; background: #f8f8f8; border-radius: 8px; }
.pay-tip { font-size: 12px; color: #888; line-height: 1.6; margin: 10px 0; white-space: pre-line; }
.pay-order { font-size: 12px; color: #666; margin-bottom: 12px; }
.pay-btns { display: flex; gap: 10px; }
.pay-btn-later, .pay-btn-paid { flex: 1; height: 42px; border: none; border-radius: 21px; font-size: 15px; font-weight: 600; cursor: pointer; }
.pay-btn-later { background: #f2f2f2; color: #666; }
.pay-btn-paid { background: #E94560; color: #fff; }
.pay-btn-paid:disabled { opacity: 0.6; }

.phone .pay-mask,
.pay-mask { opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
.pay-mask.mask-show { opacity: 1; pointer-events: auto; }
.phone .pay-mask { position: absolute; }

/* 修复：sku 弹窗遮罩类名是 .sku-mask，但隐藏/背景规则写在 .mask 上，类名不匹配
  导致遮罩无背景、无法隐藏、点遮罩外关闭失效；这里补齐隐藏态与背景（与 .mask 一致）
  选择器同样带 .phone 前缀以匹敌 .phone .sku-mask 的优先级 */
.phone .sku-mask,
.sku-mask {
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.5);
  transition: opacity 0.25s ease;
  z-index: 999;
}
.sku-mask.mask-show { opacity: 1; pointer-events: auto; }

/* 修复：rate 评价弹窗遮罩（.rate-mask）缺少初始隐藏态，导致一直显示、关不掉
  选择器同样带 .phone 前缀以匹敌 .phone .rate-mask 的优先级 */
.phone .rate-mask,
.rate-mask { opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
.rate-mask.mask-show { opacity: 1; pointer-events: auto; }

/* ===== 提交订单页：选择陪玩师卡片 ===== */
.boss-picker-row {
  display: flex;
  align-items: center;
  background: var(--bg-primary);
  border-radius: 8px;
  padding: 10px 12px;
  border: 0.5px solid rgba(51, 65, 85, 0.3);
  cursor: pointer;
  min-height: 56px;
  box-sizing: border-box;
  position: relative;
}
.boss-picker-row:active { background: rgba(0,0,0,0.04); }

.boss-picker-row .boss-avatar { width: 44px; height: 44px; border-radius: 6px; flex-shrink: 0; margin-right: 10px; }
.boss-picker-row .boss-avatar-text { font-size: 10px; }
.boss-picker-row .bpr-info { flex: 1; min-width: 0; }
.boss-picker-row .bpr-nick { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 2px; display: flex; align-items: center; gap: 6px; }
.boss-picker-row .bpr-nick .bpr-level { font-size: 10px; padding: 1px 5px; background: linear-gradient(135deg, #1a1a1a, #3a3a3a); color: #FFD700; border-radius: 6px; font-weight: 600; }
.boss-picker-row .bpr-meta { font-size: 11px; color: var(--text-secondary); }
.boss-picker-row .bpr-tags { display: flex; gap: 4px; margin-top: 4px; flex-wrap: wrap; }
.boss-picker-row .bpr-tags text { font-size: 10px; padding: 1px 5px; border-radius: 4px; background: rgba(233, 69, 96, 0.1); color: var(--accent-red); }
.boss-picker-row .bpr-arrow { font-size: 14px; color: var(--text-muted); flex-shrink: 0; margin-left: 8px; }
.boss-picker-row .bpr-clear { font-size: 18px; color: var(--text-muted); width: 22px; height: 22px; line-height: 20px; text-align: center; border-radius: 50%; background: rgba(0,0,0,0.06); flex-shrink: 0; margin-left: 6px; }

.boss-picker-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--bg-primary);
  border-radius: 8px;
  padding: 16px;
  border: 0.5px dashed rgba(233, 69, 96, 0.45);
  color: var(--accent-red);
  font-size: 14px;
  cursor: pointer;
}
.boss-picker-empty:active { background: rgba(233, 69, 96, 0.06); }
.boss-picker-empty .bpr-plus { width: 18px; height: 18px; border-radius: 50%; background: var(--accent-red); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; line-height: 1; }

/* 多选陪玩师：已选列表容器 + 添加按钮 */
.boss-picker-rows { display: flex; flex-direction: column; gap: 8px; }
.boss-picker-add {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  border: 0.5px dashed rgba(233, 69, 96, 0.45); border-radius: 8px;
  padding: 12px; color: var(--accent-red); font-size: 14px; cursor: pointer;
  background: var(--bg-primary); box-sizing: border-box;
}
.boss-picker-add:active { background: rgba(233, 69, 96, 0.06); }
/* 表单副标题提示 */
.form-sub { font-size: 11px; font-weight: 400; color: var(--text-secondary); margin-left: 4px; }

.bpr-online { width: 6px; height: 6px; background: #4CAF50; border-radius: 50%; display: inline-block; }

/* ===== 陪玩师选择底部抽屉（boss-sheet） ===== */
.phone .boss-sheet-mask,
.boss-sheet-mask {
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.5);
  transition: opacity 0.25s ease;
  z-index: 998;
}
.boss-sheet-mask.mask-show { opacity: 1; pointer-events: auto; }

.phone .boss-sheet,
.boss-sheet {
  left: 0;
  right: 0;
  bottom: 0;
  height: 70%;
  background: var(--bg-card);
  border-radius: 16px 16px 0 0;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  z-index: 999;
}
.boss-sheet.sheet-show { transform: translateY(0); }
.phone .boss-sheet {
  bottom: max(0px, env(safe-area-inset-bottom, 0px));
}

.boss-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
  border-bottom: 0.5px solid rgba(51, 65, 85, 0.2);
  flex-shrink: 0;
}
.boss-sheet-title { font-size: 16px; font-weight: 700; color: var(--text-primary); }
.boss-sheet-close { width: 28px; height: 28px; border-radius: 50%; background: rgba(0,0,0,0.06); display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--text-secondary); cursor: pointer; }

.boss-sheet-tabs {
  display: flex;
  gap: 16px;
  padding: 8px 16px;
  border-bottom: 0.5px solid rgba(51, 65, 85, 0.15);
  flex-shrink: 0;
}
.boss-sheet-tabs .bst-tab {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 4px 0;
  position: relative;
  cursor: pointer;
}
.boss-sheet-tabs .bst-tab.active { color: var(--accent-red); font-weight: 700; }
.boss-sheet-tabs .bst-tab.active::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -4px;
  transform: translateX(-50%);
  width: 18px; height: 2px;
  background: var(--accent-red);
  border-radius: 1px;
}

.boss-sheet-search {
  padding: 8px 16px;
  flex-shrink: 0;
}
.boss-sheet-search input {
  width: 100%; height: 32px; border-radius: 16px;
  background: var(--bg-primary);
  border: 0.5px solid rgba(51, 65, 85, 0.2);
  padding: 0 14px; font-size: 13px; color: var(--text-primary);
  box-sizing: border-box;
}

.boss-sheet-list {
  flex: 1;
  overflow-y: auto;
  padding: 6px 12px 16px;
  -webkit-overflow-scrolling: touch;
}
.boss-sheet-list .empty-tip { padding: 32px 0; text-align: center; color: var(--text-muted); font-size: 13px; }

.bsi-item {
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  background: var(--bg-primary);
  margin-bottom: 8px;
  cursor: pointer;
  border: 0.5px solid rgba(51, 65, 85, 0.15);
}
.bsi-item:active { background: rgba(0,0,0,0.04); }
.bsi-item.selected { border-color: var(--accent-red); background: rgba(233, 69, 96, 0.06); }
.bsi-item .bsi-avatar-wrap { position: relative; width: 44px; height: 44px; flex-shrink: 0; margin-right: 10px; }
.bsi-item .bsi-avatar { width: 44px; height: 44px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 11px; text-align: center; }
.bsi-item .bsi-online { position: absolute; top: -2px; right: -2px; width: 9px; height: 9px; background: #4CAF50; border: 2px solid #fff; border-radius: 50%; }
.bsi-item .bsi-info { flex: 1; min-width: 0; }
.bsi-item .bsi-nick { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 2px; display: flex; align-items: center; gap: 5px; }
.bsi-item .bsi-nick .bsi-level { font-size: 10px; padding: 1px 5px; background: linear-gradient(135deg, #1a1a1a, #3a3a3a); color: #FFD700; border-radius: 6px; font-weight: 600; }
.bsi-item .bsi-tags { display: flex; gap: 4px; flex-wrap: wrap; }
.bsi-item .bsi-tags text { font-size: 10px; padding: 1px 5px; border-radius: 4px; background: rgba(233, 69, 96, 0.1); color: var(--accent-red); }
.bsi-item .bsi-check { width: 22px; height: 22px; border-radius: 50%; background: var(--accent-red); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; margin-left: 6px; }
.bsi-item:not(.selected) .bsi-check { display: none; }
.bsi-item .bsi-meta { font-size: 11px; color: var(--text-secondary); margin-top: 2px; }
