/* ============================================================
 * pages.css —— 各业务页面专属样式
 * ============================================================ */

/* ==================== welcome（对齐小程序 welcome.wxml / welcome.wxss） ==================== */
.welcome-page {
  height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.welcome-bg-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  object-fit: cover;
}
.welcome-bg {
  position: relative;
  z-index: 1;
  height: 100vh;
  background: linear-gradient(180deg, #1a1a2e 0%, #0a0a0a 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 30px;
  box-sizing: border-box;
}
.welcome-bg.has-bgimg { background: transparent; }
.welcome-content { padding-top: 120px; }
.welcome-title {
  display: block;
  font-size: 36px;
  font-weight: bold;
  color: #fff;
  line-height: 1.4;
}
.welcome-bottom { padding-bottom: 40px; margin-top: auto; }
.welcome-tips { margin-bottom: 20px; }
.welcome-tip-item {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
}
.welcome-link-text {
  color: #ffcc00;
  text-decoration: underline;
}
.welcome-agree-row {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  cursor: pointer;
  user-select: none;
}
.welcome-checkbox {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  margin-right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent;
  transition: all 0.2s;
}
.welcome-checkbox.checked {
  background: #fff;
  border-color: #fff;
}
.welcome-checkbox.checked::after {
  content: '✓';
  color: #1a1a2e;
  font-size: 12px;
  font-weight: bold;
}
.welcome-agree-text {
  font-size: 12px;
  color: rgba(255,255,255,0.9);
}
.welcome-start-btn {
  width: 100%;
  height: 48px;
  line-height: 48px;
  background: #fff;
  color: #1a1a2e;
  font-size: 17px;
  font-weight: bold;
  border-radius: 24px;
  border: none;
  text-align: center;
  display: block;
  cursor: pointer;
}
.welcome-start-btn:active { opacity: 0.85; }

/* ==================== sms-login（H5 老板手机号短信登录） ==================== */
.sms-login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #4a8eff 0%, #1890ff 100%);
  padding: 40px 20px;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.sms-login-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  padding: 32px 24px 24px;
  box-sizing: border-box;
}
.sms-login-header { text-align: center; margin-bottom: 32px; }
.sms-login-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #e8f4ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.sms-login-title {
  font-size: 22px;
  font-weight: 600;
  color: #222;
  margin: 0 0 8px;
}
.sms-login-subtitle {
  font-size: 13px;
  color: #888;
  line-height: 1.6;
  margin: 0;
}
.sms-login-form { display: flex; flex-direction: column; gap: 14px; }
.sms-login-input-row {
  display: flex;
  align-items: center;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fafafa;
  padding: 0 12px;
  height: 48px;
  transition: border-color .2s, background .2s;
}
.sms-login-input-row:focus-within {
  border-color: #1890ff;
  background: #fff;
}
.sms-login-prefix {
  color: #555;
  font-size: 15px;
  margin-right: 8px;
  padding-right: 8px;
  border-right: 1px solid #ddd;
  font-weight: 500;
}
.sms-login-input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 15px;
  color: #222;
  height: 100%;
  padding: 0;
  -webkit-appearance: none;
}
.sms-login-input::placeholder { color: #aaa; }
.sms-login-code-btn {
  flex-shrink: 0;
  height: 36px;
  padding: 0 14px;
  border: 0;
  background: #1890ff;
  color: #fff;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .2s;
}
.sms-login-code-btn:active { opacity: .8; }
.sms-login-code-btn.disabled,
.sms-login-code-btn[disabled] {
  background: #ccc;
  cursor: not-allowed;
}
.sms-login-submit {
  width: 100%;
  height: 48px;
  border: 0;
  background: linear-gradient(135deg, #4a8eff 0%, #1890ff 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 4px 12px rgba(24,144,255,.3);
  transition: opacity .2s, transform .1s;
}
.sms-login-submit:active { transform: translateY(1px); opacity: .9; }
.sms-login-submit[disabled] {
  background: #ccc;
  box-shadow: none;
  cursor: not-allowed;
}
.sms-login-tips {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 16px;
  padding: 12px;
  background: #fafafa;
  border-radius: 6px;
}
.sms-login-tips span {
  font-size: 12px;
  color: #999;
  line-height: 1.6;
}

/* ==================== home（对齐小程序 home.wxml / home.wxss） ==================== */
.home-page { padding-bottom: 10px; background: #f5f5f5; }

/* Banner 360rpx = 180px */
.home-banner { width: 100%; overflow: hidden; position: relative; }
.home-banner-swiper {
  width: 100%;
  height: 180px;
  position: relative;
  overflow: hidden;
}
.home-banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s;
}
.home-banner-slide.is-active { opacity: 1; }
.home-banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-banner-dots {
  position: absolute;
  bottom: 10px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.home-banner-dots .dot {
  width: 14px; height: 4px;
  background: rgba(255,255,255,0.4);
  border-radius: 2px;
  transition: background .3s;
}
.home-banner-dots .dot.is-active { background: #fff; }

.home-banner-fallback {
  background: linear-gradient(135deg, #0a1628 0%, #1a3a6e 50%, #0d2240 100%);
  height: 180px;
  color: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}
.home-banner-fallback .sub {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.home-banner-fallback .title-row {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.home-banner-fallback .title {
  font-size: 28px;
  font-weight: bold;
}
.home-banner-fallback .title-lightning {
  width: 24px;
  height: 24px;
  margin: 0 4px;
}
.home-banner-fallback .tag {
  display: inline-flex;
  background: rgba(255,255,255,0.15);
  border-radius: 15px;
  padding: 4px 12px;
  font-size: 13px;
  align-items: center;
  align-self: flex-start;
  color: #fff;
}
.home-banner-fallback .tag .svg-icon { margin-right: 4px; }

/* 公告：card 风格 */
.home-notice {
  margin: 10px;
  padding: 10px 12px;
  background: #fff;
  border-radius: 8px;
  font-size: 13px;
  color: #666;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

/* 游戏分类：横向滑动（对齐小程序 category-scroll，首屏露出 4 个 + 半个暗示可滑） */
.home-category-grid {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 10px;
  background: transparent;
}
.home-category-grid::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.home-category-item {
  flex: 0 0 76px;
  width: 76px;
  box-sizing: border-box;
  padding: 0 3px;
  margin: 0 3px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.home-category-box {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  background: linear-gradient(135deg, #e8f0fe, #d4e4ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}
.home-category-box img { width: 100%; height: 100%; object-fit: cover; }
.home-category-name {
  font-size: 12px;
  color: #333;
  margin-top: 6px;
  text-align: center;
  font-weight: 500;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 提示文字条 */
.home-tip {
  margin: 0 10px 10px;
  padding: 10px 12px;
  background: #fff;
  border-radius: 8px;
  font-size: 12px;
  color: #1a6eff;
  font-weight: 600;
  line-height: 1.6;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

/* 分类分组商品 */
.home-products {
  padding: 0 10px;
  margin-bottom: 10px;
}
.home-products .section-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.home-products .section-header .section-title { flex: 1; }
.home-products .section-more { font-size: 13px; color: #1a6eff; }

.home-product-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -3px;
}
.home-product-cell {
  width: 33.33%;
  padding: 0 3px;
  box-sizing: border-box;
  margin-bottom: 6px;
}
.home-product-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
/* 热门商品图：200rpx=100px */
.home-product-img {
  width: 100%;
  height: 100px;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-product-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-product-info { padding: 6px 7px 8px; }
.home-product-name {
  font-size: 12px;
  color: #333;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  min-height: 34px;
}
.home-product-price {
  font-size: 15px;
  color: #ff3333;
  font-weight: bold;
  margin-top: 4px;
}

/* ==================== store（装备商城，与 home 的 section 同构） ==================== */
.store-page { padding-bottom: 10px; background: #f5f5f5; }
.store-empty {
  text-align: center;
  padding: 50px 0;
  color: #999;
  font-size: 13px;
}
/* 复用 .home-products / .home-product-* */

/* ==================== players（选人页） ==================== */
.players-page { padding-bottom: 10px; background: #f5f5f5; }

/* 性别筛选栏 */
.players-filter-bar {
  display: flex;
  justify-content: center;
  padding: 10px;
  background: #fff;
  gap: 15px;
}
.players-filter-item {
  padding: 6px 24px;
  border-radius: 20px;
  border: 1px solid #ddd;
  font-size: 14px;
  color: #666;
  background: #fff;
}
.players-filter-item.is-active {
  background: #1a6eff;
  color: #fff;
  border-color: #1a6eff;
}

/* 搜索栏 */
.players-search-bar {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  background: #fff;
}
.players-search-bar .search-input {
  flex: 1;
  height: 36px;
  background: #f5f5f5;
  border-radius: 18px;
  padding: 0 15px;
  font-size: 13px;
  color: #333;
  outline: none;
  border: none;
}
.players-search-bar .search-btn {
  margin-left: 8px;
  padding: 0 16px;
  height: 36px;
  line-height: 36px;
  background: #1a6eff;
  color: #fff;
  border-radius: 18px;
  font-size: 14px;
  cursor: pointer;
}

/* 热搜标签 */
.players-hot-tags {
  display: flex;
  flex-wrap: wrap;
  padding: 6px 10px;
  background: #fff;
  gap: 6px;
}
.players-hot-tag {
  padding: 4px 12px;
  background: #f0f5ff;
  border-radius: 12px;
  font-size: 12px;
  color: #1a6eff;
}

/* 伙伴网格 3 列 */
.players-grid {
  display: flex;
  flex-wrap: wrap;
  padding: 10px;
  gap: 8px;
}
.player-card {
  width: calc(33.33% - 6px);
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
/* 头像 220rpx=110px */
.player-card-avatar {
  width: 100%;
  height: 110px;
  position: relative;
  overflow: hidden;
}
.player-card-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.player-card-avatar .avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 26px;
  font-weight: bold;
  border-radius: 0;
}
.player-card-hot {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 18px;
  height: 18px;
}
.player-card-name {
  display: block;
  text-align: center;
  padding: 6px 6px 4px;
  font-size: 13px;
  color: #333;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.player-card-score {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 0;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
}
.player-card-score .svg-icon {
  width: 12px;
  height: 12px;
  margin-left: 4px;
  margin-right: 0;
  /* 把剪贴板图标变白：使用 filter hack */
  filter: brightness(0) invert(1);
}

/* ==================== mine（我的，三块分组） ==================== */
.mine-page { padding-bottom: 12px; background: #f5f5f5; }

.mine-user-header {
  display: flex;
  align-items: center;
  padding: 20px 15px;
  background: #fff;
  margin-bottom: 10px;
}
.mine-avatar-wrap {
  margin-right: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mine-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
}
.mine-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mine-avatar-hint {
  font-size: 10px;
  color: #999;
  margin-top: 2px;
}
.mine-user-info { flex: 1; }
.mine-user-id {
  font-size: 12px;
  color: #999;
  margin-top: 5px;
}
.mine-nickname-input {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  padding: 4px 0;
  border-bottom: 1px solid #eee;
  width: 100%;
  max-width: 200px;
}
.mine-phone-tag {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  padding: 4px 10px;
  background: #e8f4ff;
  color: #1890ff;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

/* 区块标题 */
.mine-section-title {
  font-size: 15px;
  font-weight: bold;
  color: #333;
  padding: 10px 15px 0;
  margin-bottom: 8px;
}

/* 服务网格（4 列） */
.mine-service-grid {
  margin: 0 10px 10px;
  display: flex;
  flex-wrap: wrap;
  padding: 8px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}
.mine-service-item {
  width: 25%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
  box-sizing: border-box;
  color: #333;
  font-size: 12px;
  cursor: pointer;
  text-decoration: none;
}
.mine-service-item .svg-icon {
  width: 28px;
  height: 28px;
  margin: 0 0 5px;
}
.mine-service-item .label {
  font-size: 12px;
  color: #333;
}

/* 我的页底部品牌卡 */
.mine-brand-card {
  margin: 2px 10px 0;
  padding: 14px 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  text-align: center;
}
.mine-brand-card:active { opacity: .85; }
.mine-brand-logo {
  width: 62px;
  height: 74px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 6px rgba(90, 50, 180, 0.14));
}
.mine-brand-name {
  font-size: 17px;
  font-weight: 800;
  color: #2c2140;
  letter-spacing: 2px;
  line-height: 1.2;
}
.mine-brand-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-top: 4px;
  padding: 7px 18px;
  border-radius: 20px;
  border: 1px solid transparent;
  background: linear-gradient(90deg, #7c4dff 0%, #9b6bff 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  box-shadow: 0 3px 10px rgba(124, 77, 255, 0.22);
}
.mine-brand-arrow {
  font-size: 15px;
  margin-left: 1px;
  color: #fff;
  font-weight: 700;
}

/* ==================== category-detail（对齐小程序 pages/category-detail） ==================== */
.cat-detail-page {
  min-height: 100vh;
  background: #f5f5f5;
  padding: 10px 10px 30px;
}
.cat-detail-header {
  display: flex;
  align-items: center;
  padding: 10px 10px 15px 46px;
}
.cat-detail-bar {
  width: 4px;
  height: 18px;
  background: #ff3333;
  border-radius: 2px;
  margin-right: 5px;
}
.cat-detail-title {
  flex: 1;
  font-size: 16px;
  font-weight: bold;
  color: #333;
}
.cat-detail-count {
  font-size: 12px;
  color: #999;
}
.cat-detail-page .home-product-grid {
  padding: 0 5px;
}
.cat-empty {
  text-align: center;
  padding: 80px 0;
}
.cat-empty-text {
  font-size: 14px;
  color: #999;
  margin-top: 10px;
}
.cat-empty-sub {
  font-size: 12px;
  color: #bbb;
  margin-top: 6px;
  padding: 0 30px;
}

/* ==================== product-detail（对齐小程序 pages/product-detail） ==================== */
.pd-page {
  min-height: 100vh;
  background: #f5f5f5;
  padding-bottom: 70px;
  position: relative;
}
/* 浮动返回按钮：叠在商品大图左上角，无边框透明箭头 */
.pd-float-back {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 12px);
  left: 12px;
  z-index: 50;
  width: 36px;
  height: 36px;
  border-radius: 0;
  border: 0;
  padding: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.55));
}
.pd-float-back:active {
  opacity: 0.72;
}
.pd-banner {
  width: 100%;
  background: #fff;
  overflow: hidden;
}
.pd-banner-img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.pd-banner-placeholder {
  width: 100%;
  height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8f0fe, #d4e4ff);
}
.pd-placeholder-text {
  margin-top: 6px;
  font-size: 14px;
  color: #666;
}
.pd-buy-notice {
  margin: 10px 10px 0;
  background: #fff7e6;
  color: #d46b08;
  border-left: 4px solid #fa8c16;
  font-size: 12px;
  line-height: 1.6;
  padding: 8px 12px;
  border-radius: 6px;
}
.pd-info-card {
  margin: 10px;
  background: #fff;
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}
.pd-title {
  display: block;
  font-size: 16px;
  font-weight: bold;
  color: #222;
  line-height: 1.4;
}
.pd-price-row {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pd-price {
  font-size: 22px;
  color: #ff3333;
  font-weight: bold;
}
.pd-game-tag {
  display: inline-block;
  background: #e8f0fe;
  color: #1a6eff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
}
.pd-section-card {
  margin: 10px;
  background: #fff;
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}
.pd-section-header { margin-bottom: 10px; }
.pd-section-title {
  font-size: 15px;
  font-weight: bold;
  color: #333;
}
.pd-spec-item {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  color: #555;
  font-size: 13px;
}
.pd-spec-item.pd-spec-active {
  border-color: #1a6eff;
  background: #e8f0fe;
  color: #1a6eff;
}
.pd-qty-box {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pd-qty-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 6px;
  font-size: 18px;
  color: #333;
  line-height: 1;
  cursor: pointer;
}
.pd-qty-btn.pd-qty-disabled {
  color: #ccc;
  cursor: not-allowed;
}
.pd-qty-num {
  font-size: 16px;
  min-width: 30px;
  text-align: center;
  color: #333;
  font-weight: bold;
}
.pd-desc-content {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
  white-space: pre-line;
}
.pd-bottom-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  background: #fff;
  padding: 10px 14px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -1px 6px rgba(0,0,0,0.06);
  gap: 12px;
  z-index: 40;
}
.pd-bottom-price-box {
  flex: 1;
  display: flex;
  align-items: baseline;
}
.pd-bottom-price-label { font-size: 13px; color: #666; }
.pd-bottom-price { font-size: 18px; color: #ff3333; font-weight: bold; }
.pd-buy-btn {
  height: 40px;
  padding: 0 24px;
  border-radius: 20px;
  background: linear-gradient(90deg, #ff6a00, #ff3333);
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  border: none;
  cursor: pointer;
}
.pd-buy-btn:active { opacity: 0.85; }

/* ==================== order (下单，严格对齐小程序 pages/order/order.wxss) ==================== */
/* 小程序 750rpx=375px，1rpx=0.5px */
.order-page {
  padding-bottom: 110px;
  background: #f5f5f5;
  min-height: 100vh;
}

/* 通用白卡：margin 10px（对应 20rpx），圆角 8rpx=4px，但小程序里 form-item 之间的 margin-bottom 是 2rpx 约等于 1px */
.order-card {
  background: #fff;
  margin: 0 10px 1px;
  padding: 0;
}

/* 1. 服务信息（margin:20rpx = 10px，含圆角） */
.service-info {
  margin: 10px;
  padding: 12px;
  border-radius: 8px;
}
.service-row {
  display: flex;
  align-items: center;
}
.service-img-small {
  width: 60px;       /* 120rpx */
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  margin-right: 10px;
  flex-shrink: 0;
}
.service-img-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon-text {
  color: #fff;
  font-size: 22px;   /* 44rpx */
  font-weight: bold;
}
.service-detail {
  flex: 1;
  overflow: hidden;
}
.service-title {
  font-size: 15px;   /* 30rpx */
  font-weight: bold;
  color: #333;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.service-desc {
  font-size: 12px;   /* 24rpx */
  color: #999;
  margin-bottom: 4px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.service-price {
  font-size: 15px;
  color: #ff3333;
  font-weight: bold;
}
.service-count {
  font-size: 14px;   /* 28rpx */
  color: #999;
  flex-shrink: 0;
  margin-left: 8px;
  align-self: flex-start;
}

/* 2. form-item：每行独立白卡，padding 14px（28rpx+24rpx 组合），圆角首末项带 */
.form-item {
  display: flex;
  align-items: center;
  padding: 14px 12px;
  margin: 0 10px 1px;
  background: #fff;
  border-radius: 0;
}
/* 首个 form-item 顶部圆角 */
.service-info + .form-item,
.order-page > .form-item:first-of-type {
  border-radius: 8px 8px 0 0;
  margin-top: 10px;
}
/* 最后一个 form-item（优惠券行）底部圆角 */
.order-page > .form-item:last-of-type {
  border-radius: 0 0 8px 8px;
  margin-bottom: 10px;
}

.form-item.form-item-column {
  display: block;
}
.form-item.form-item-column .form-item-main {
  display: flex;
  align-items: center;
  width: 100%;
}
.form-item.form-item-column .form-main-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.form-label {
  font-size: 14px;
  color: #333;
  flex-shrink: 0;
  min-width: 90px;   /* 180rpx */
}
.form-label.required::before {
  content: '*';
  color: #ff3333;
  margin-right: 2px;
}
.form-label.text-primary {
  color: #1a6eff;
}

.form-input {
  flex: 1;
  text-align: right;
  font-size: 14px;
  color: #333;
  background: transparent;
  border: none;
  outline: none;
  padding: 0;
}
.form-input::placeholder {
  color: #ccc;
}

.form-value {
  flex: 1;
  text-align: right;
  font-size: 14px;
  color: #333;
}
.form-value.placeholder {
  color: #ccc;
}

.form-value-box {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
}
.coupon-state { font-size: 14px; }
.coupon-state.placeholder { color: #ccc; }
.coupon-state.orange { color: #ff6600; }
.coupon-state.red { color: #e74c3c; font-weight: bold; }

.form-arrow {
  margin-left: 4px;
  color: #ccc;
  font-size: 14px;
}

/* 2.1 自绘 switch（小程序 switch 样式，蓝色 #1a6eff） */
.form-switch {
  width: 44px;
  height: 24px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
}
.form-switch .sw-track {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 12px;
  transition: background .2s;
}
.form-switch .sw-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  transition: transform .2s;
}
.form-switch.is-on .sw-track { background: #1a6eff; }
.form-switch.is-on .sw-thumb { transform: translateX(20px); }

/* 支付方式：微信支付 */
.pay-method {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}
.wx-pay-badge {
  display: inline-flex;
  width: 16px;
  height: 16px;
  background: #07c160;
  color: #fff;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
  line-height: 1;
}
.pay-text {
  font-size: 14px;
  color: #333;
}

/* 支付方式列表（多选项：微信支付 / 支付宝） */
.pay-method-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pay-method-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fafafa;
  cursor: pointer;
  transition: all 0.15s;
}
.pay-method-item:active { background: #f0f0f0; }
.pay-method-item.is-active {
  border-color: #1a6eff;
  background: #f0f5ff;
}
.pay-method-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}
.pay-method-name {
  flex: 1;
  font-size: 15px;
  color: #333;
}
.pay-method-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #d0d0d0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pay-method-check .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.15s;
}
.pay-method-item.is-active .pay-method-check {
  border-color: #1a6eff;
}
.pay-method-item.is-active .pay-method-check .dot {
  background: #1a6eff;
}

/* 指定伙伴：已选 / 搜索结果 / 无结果 */
.assign-selected-row {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.assign-selected-text {
  font-size: 14px;
  color: #27ae60;
  font-weight: 500;
}
.assign-clear-btn {
  font-size: 14px;
  color: #999;
  padding: 2px 6px;
  cursor: pointer;
}

.search-results {
  margin-top: 8px;
  background: #fafafa;
  border-radius: 4px;
  border: 1px solid #eee;
}
.search-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 8px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
}
.search-item:last-child { border-bottom: none; }
.search-name { font-size: 14px; color: #333; }
.search-select {
  font-size: 12px;
  color: #1a6eff;
  padding: 2px 8px;
  background: #e8f0fe;
  border-radius: 3px;
}

.no-result-hint {
  margin-top: 6px;
  padding: 6px 8px;
  background: #fff5f5;
  border-radius: 4px;
}
.no-result-text {
  font-size: 12px;
  color: #e74c3c;
}

/* 底部提交栏（严格对齐小程序 submit-bar） */
.submit-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid #eee;
  padding: 8px 15px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom));
  z-index: 100;
}
.submit-tip {
  text-align: center;
  padding: 4px 0;
  border-bottom: 1px solid #f5f5f5;
  margin-bottom: 6px;
}
.submit-tip .text-small { font-size: 12px; }
.submit-tip .text-red { color: #ff3333; }

.submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.submit-price {
  display: flex;
  align-items: baseline;
}
.price-symbol {
  font-size: 14px;
  color: #ff3333;
  font-weight: bold;
}
.price-value {
  font-size: 22px;  /* 44rpx */
  color: #ff3333;
  font-weight: bold;
  margin-left: 1px;
}
.submit-btn {
  background: linear-gradient(135deg, #ff6600, #ff9933);
  color: #fff;
  border: none;
  border-radius: 22px;  /* 44rpx */
  padding: 0 30px;
  height: 40px;         /* 80rpx */
  line-height: 40px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  font-family: inherit;
  pointer-events: auto;
  touch-action: manipulation;
}
.submit-btn:active { opacity: .85; transform: scale(0.98); }

/* ==================== order-list ==================== */
.order-card {
  background: #fff;
  margin: 10px;
  border-radius: 10px;
  padding: 14px;
}
.order-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #999;
}
.order-card-head .status {
  color: #1a6eff;
  font-weight: bold;
}
.order-card-head .status.status-paid { color: #52c41a; }
.order-card-head .status.status-cancel { color: #999; }
.order-card-head .status.status-completed { color: #52c41a; }
.order-card-head .status.status-unpaid { color: #ff6600; }
.order-card-head .status.status-pending_review { color: #fa8c16; }

.order-card-body {
  display: flex;
  margin-top: 10px;
}
.order-card-img {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  background: #f0f0f0;
  object-fit: cover;
  margin-right: 10px;
}
.order-card-info { flex: 1; min-width: 0; }
.order-card-name {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.order-card-sub {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}
.order-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #f0f0f0;
}
.order-card-foot .price { font-size: 16px; }
.order-card-foot .btns { display: flex; gap: 8px; }
.order-card-foot .btns .btn { padding: 0 12px; height: 30px; line-height: 30px; font-size: 12px; border-radius: 15px; }

/* ==================== order-tracking（对齐小程序美团风格） ==================== */
.tracking-page {
  min-height: 100vh;
  background: #f5f5f5;
  padding-bottom: 70px;
}
/* 顶部状态区 */
.status-hero {
  padding: 30px 20px 25px;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #1a6eff 0%, #4d8eff 100%);
}
.status-hero.accepted {
  background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%);
}
.status-hero.in_progress {
  background: linear-gradient(135deg, #fa8c16 0%, #ffa940 100%);
}
.status-hero.completed {
  background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%);
}
.status-icon-wrap { margin-bottom: 8px; font-size: 40px; line-height: 1; }
.status-title {
  display: block;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 4px;
}
.status-desc {
  display: block;
  font-size: 13px;
  opacity: 0.85;
}
/* 步骤卡 */
.steps-card {
  margin: -15px 12px 10px;
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.step-item { display: flex; min-height: 40px; }
.step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 20px;
  margin-right: 10px;
}
.step-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: #fff;
  flex-shrink: 0;
}
.step-dot.active {
  background: #1a6eff;
  box-shadow: 0 0 0 3px rgba(26,110,255,0.2);
}
.step-dot.done { background: #52c41a; }
.step-line {
  width: 2px;
  flex: 1;
  background: #e0e0e0;
  margin: 2px 0;
}
.step-line.active { background: #52c41a; }
.step-right { flex: 1; padding-bottom: 12px; }
.step-title {
  font-size: 14px;
  color: #999;
  display: block;
}
.step-title.active { color: #1a6eff; font-weight: bold; }
.step-title.done { color: #333; font-weight: normal; }
.step-time {
  font-size: 11px;
  color: #bbb;
  display: block;
  margin-top: 2px;
}
/* 伙伴卡片 */
.tracking-player-card {
  margin: 0 12px 10px;
  background: #fff;
  border-radius: 8px;
  padding: 12px 15px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tracking-player-label { font-size: 14px; color: #666; }
.tracking-player-name { font-size: 15px; color: #1a6eff; font-weight: bold; }

.tracking-refund-card {
  margin: 0 12px 10px;
  padding: 12px 15px;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
  border-left: 4px solid #fa8c16;
  background: #fff7e6;
}
.tracking-refund-card.requesting { background: #fff7e6; border-left-color: #fa8c16; }
.tracking-refund-card.approved { background: #e6f7ff; border-left-color: #1a6eff; }
.tracking-refund-card.rejected { background: #fff1f0; border-left-color: #ff4d4f; }
.tracking-refund-card.refunded { background: #f6ffed; border-left-color: #52c41a; }
.tracking-refund-title { font-size: 15px; font-weight: bold; color: #333; margin-bottom: 4px; }
.tracking-refund-desc { font-size: 13px; color: #666; line-height: 1.5; margin-bottom: 4px; word-break: break-all; }
.tracking-refund-reason { font-size: 13px; color: #333; word-break: break-all; }
.tracking-refund-card.hidden { display: none; }

/* 订单信息卡 */
.tracking-order-card {
  margin: 0 12px 10px;
  background: #fff;
  border-radius: 8px;
  padding: 0 15px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}
.tracking-order-card-header {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 15px;
  font-weight: bold;
  color: #333;
}
.tracking-detail-item {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid #fafafa;
  align-items: center;
}
.tracking-detail-item:last-child { border-bottom: none; }
.tracking-detail-label { font-size: 13px; color: #999; flex: 0 0 auto; }
.tracking-detail-value {
  font-size: 13px;
  color: #333;
  text-align: right;
  word-break: break-all;
  max-width: 70%;
}
.tracking-detail-value.price { color: #ff3333; font-weight: bold; }
/* 底部按钮 */
.tracking-bottom-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: 10px 20px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  background: #fff;
  box-shadow: 0 -1px 5px rgba(0,0,0,0.05);
  display: flex;
  gap: 10px;
  z-index: 20;
}
.tracking-bottom-bar .btn { flex: 1; height: 44px; line-height: 44px; border-radius: 22px; }

/* ==================== player-detail ==================== */
.pld-top {
  background: linear-gradient(135deg, #1a6eff, #0052d9);
  color: #fff;
  padding: 24px 16px 30px;
  display: flex;
  align-items: center;
}
.pld-avatar {
  width: 74px;
  height: 74px;
  border-radius: 37px;
  background: rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-right: 14px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.4);
}
.pld-avatar img { width:100%;height:100%;object-fit:cover; }
.pld-name { font-size: 20px; font-weight: bold; }
.pld-level { margin-top: 4px; font-size: 12px; color: rgba(255,255,255,0.7); }
.pld-stats {
  background: #fff;
  margin: -16px 10px 10px;
  border-radius: 10px;
  padding: 14px 0;
  display: flex;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.pld-stat {
  flex: 1;
  text-align: center;
  border-right: 1px solid #f0f0f0;
}
.pld-stat:last-child { border-right: none; }
.pld-stat-num { font-size: 18px; color: #1a6eff; font-weight: bold; }
.pld-stat-label { font-size: 12px; color: #999; margin-top: 2px; }
.pld-bio {
  margin: 10px;
  background: #fff;
  padding: 14px;
  border-radius: 10px;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}
.pld-tags {
  margin: 10px;
  background: #fff;
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pld-tag {
  padding: 4px 10px;
  background: #e8f0fe;
  color: #1a6eff;
  border-radius: 10px;
  font-size: 12px;
}

/* ==================== review ==================== */
.review-rating {
  display: flex;
  gap: 6px;
  padding: 14px 0;
}
.review-rating .svg-icon { font-size: 30px; }
.star-btn { padding: 4px; }
.review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 0;
}
.review-tag-chip {
  padding: 6px 12px;
  background: #f2f2f2;
  border-radius: 14px;
  font-size: 12px;
  color: #666;
}
.review-tag-chip.is-active {
  background: #1a6eff;
  color: #fff;
}

/* ==================== appeal ==================== */
.upload-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.upload-item {
  width: 88px;
  height: 88px;
  background: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.upload-item img { width:100%; height:100%; object-fit: cover; }
.upload-item .del {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
}
.upload-add {
  width: 88px;
  height: 88px;
  background: #f5f5f5;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #bbb;
}

/* ==================== withdraw ==================== */
.wd-balance {
  background: linear-gradient(135deg, #1a6eff, #0052d9);
  color: #fff;
  padding: 24px 16px;
  text-align: center;
}
.wd-balance .label { font-size: 12px; opacity: 0.8; }
.wd-balance .num { font-size: 32px; font-weight: bold; margin-top: 4px; }

/* ==================== lottery ==================== */
.lot-wheel {
  width: 280px;
  height: 280px;
  margin: 20px auto;
  position: relative;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  background: conic-gradient(#ff6b6b 0 45deg, #4ecdc4 45deg 90deg, #45b7d1 90deg 135deg, #96ceb4 135deg 180deg, #ffeead 180deg 225deg, #ff6b6b 225deg 270deg, #4ecdc4 270deg 315deg, #45b7d1 315deg 360deg);
  transition: transform 4s cubic-bezier(.15, .8, .2, 1);
}
.lot-pointer {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 24px solid #ff3333;
  z-index: 2;
}

/* ==================== ranking ==================== */
.rank-top3 {
  display: flex;
  justify-content: space-around;
  padding: 20px 0;
  background: linear-gradient(180deg, #fff4d1, transparent);
}
.rank-top3 .rank-item {
  text-align: center;
}
.rank-top3 .avatar {
  width: 60px; height: 60px;
  border-radius: 30px;
  background: #eee;
  margin: 0 auto 6px;
  overflow: hidden;
}
.rank-top3 .avatar img { width: 100%; height: 100%; object-fit: cover; }
.rank-top3 .crown { font-size: 22px; }
.rank-list-item {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 10px 14px;
  border-bottom: 1px solid #f5f5f5;
}
.rank-list-item .rk {
  width: 28px;
  text-align: center;
  color: #999;
  font-weight: bold;
}
.rank-list-item .avatar {
  width: 36px; height: 36px;
  border-radius: 18px;
  margin: 0 10px;
  overflow: hidden;
  background: #eee;
}
.rank-list-item .name { flex: 1; font-size: 14px; }

/* ==================== coupon ==================== */
.coupon-list { padding: 10px; }
.coupon-item {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 10px;
  display: flex;
  overflow: hidden;
  position: relative;
}
.coupon-left {
  width: 100px;
  background: linear-gradient(135deg, #ff6600, #ff9933);
  color: #fff;
  padding: 14px 10px;
  text-align: center;
}
.coupon-left .amt {
  font-size: 26px;
  font-weight: bold;
}
.coupon-left .amt::before { content: '¥'; font-size: 14px; vertical-align: top; }
.coupon-left .rule {
  font-size: 10px;
  opacity: 0.9;
  margin-top: 2px;
}
.coupon-right { flex: 1; padding: 14px; }
.coupon-right .ti { font-size: 14px; color: #333; font-weight: 500; }
.coupon-right .ts { font-size: 11px; color: #999; margin-top: 4px; }

/* ==================== violation ==================== */
.violation-card {
  background: #fff;
  margin: 10px;
  padding: 14px;
  border-radius: 10px;
  border-left: 4px solid #ff4d4f;
}
.violation-card.paid { border-left-color: #52c41a; }
.violation-card .title {
  font-size: 14px;
  color: #333;
  font-weight: bold;
}
.violation-card .amt {
  font-size: 20px;
  color: #ff4d4f;
  margin-top: 8px;
}
.violation-card .amt::before { content: '¥'; font-size: 12px; }
.violation-card .note {
  color: #999;
  font-size: 12px;
  margin-top: 4px;
}

/* ==================== commission ==================== */
.com-card {
  background: #fff;
  margin: 10px;
  border-radius: 10px;
  padding: 16px;
}
.com-card .row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
}
.com-card .row .label { color: #999; }

/* ==================== agreement / privacy ==================== */
.doc-wrap {
  padding: 16px;
  background: #fff;
  margin: 10px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  white-space: pre-line;
}
.doc-wrap h3 {
  font-size: 16px;
  margin: 16px 0 6px;
  color: #222;
}

/* ==================== tabs (通用) ==================== */
.tabs {
  display: flex;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}
.tabs .tab-item {
  flex: 1;
  text-align: center;
  padding: 12px 6px;
  font-size: 14px;
  color: #666;
  position: relative;
  cursor: pointer;
}
.tabs .tab-item.is-active {
  color: #1a6eff;
  font-weight: 500;
}
.tabs .tab-item.is-active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 32px;
  height: 3px;
  background: #1a6eff;
  border-radius: 2px;
}

.badge { display: inline-block; min-width: 16px; height: 16px; line-height: 16px; font-size: 10px; text-align: center; border-radius: 8px; padding: 0 4px; background: #ccc; color: #fff; }
.badge-orange { background: #ff6600; }
.badge-primary { background: #1a6eff; }
.badge-green { background: #52c41a; }
.badge-red { background: #ff4d4f; }
.ml-5 { margin-left: 5px; }

/* ==================== grab-order ==================== */
.grab-page .order-card .order-card-head { margin-bottom: 8px; }
.order-card-foot .btn { padding: 0 14px; height: 30px; line-height: 30px; font-size: 12px; border-radius: 15px; }
.btn-red { background: #ff4d4f; color: #fff; border: none; }
.btn-green { background: #52c41a; color: #fff; border: none; }

/* ==================== order-list（对齐小程序 pages/order-list） ==================== */
.ol-page {
  min-height: 100vh;
  background: #f5f5f5;
  padding-bottom: 20px;
}
.ol-filter-tabs {
  display: flex;
  padding-left: 42px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  position: sticky;
  top: 0;
  z-index: 10;
}
.ol-filter-tab {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  font-size: 13px;
  color: #666;
  cursor: pointer;
  position: relative;
}
.ol-filter-tab.active {
  color: #1a6eff;
  font-weight: bold;
}
.ol-filter-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: #1a6eff;
  border-radius: 1px;
}
.ol-empty {
  text-align: center;
  padding: 80px 20px;
}
.ol-empty-text { font-size: 13px; color: #999; margin-top: 10px; }
.ol-list { padding: 10px; }
.ol-order-item {
  background: #fff;
  border-radius: 10px;
  padding: 12px 15px;
  margin-bottom: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  cursor: pointer;
}
.ol-order-top {
  display: flex;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 10px;
  gap: 6px;
}
.ol-order-service-name {
  flex: 1;
  font-size: 14px;
  font-weight: bold;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ol-order-qty {
  font-size: 11px;
  color: #666;
  background: #f3f3f3;
  padding: 2px 7px;
  border-radius: 6px;
}
.ol-order-status {
  font-size: 12px;
  font-weight: bold;
}
.ol-order-body {
  display: flex;
  gap: 8px;
  padding-bottom: 8px;
}
.ol-order-img {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  flex-shrink: 0;
  object-fit: cover;
}
.ol-order-info { flex: 1; }
.ol-detail-row {
  display: flex;
  font-size: 12px;
  line-height: 1.8;
  color: #333;
}
.ol-label { color: #999; flex-shrink: 0; }
.ol-value { flex: 1; word-break: break-all; color: #333; }
.ol-value-primary { color: #1a6eff; font-weight: bold; }
.ol-refund-banner {
  margin: 8px 0 0;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.5;
  word-break: break-all;
}
.ol-refund-banner.ol-refund-requesting { background: #fff7e6; color: #fa8c16; border: 1px solid #ffe7ba; }
.ol-refund-banner.ol-refund-approved { background: #e6f7ff; color: #1a6eff; border: 1px solid #bae7ff; }
.ol-refund-banner.ol-refund-rejected { background: #fff1f0; color: #ff4d4f; border: 1px solid #ffccc7; }
.ol-refund-banner.ol-refund-refunded { background: #f6ffed; color: #52c41a; border: 1px solid #d9f7be; }
.ol-order-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
}
.ol-order-total-price {
  font-size: 18px;
  font-weight: bold;
  color: #ff3333;
}
.ol-order-actions {
  display: flex;
  gap: 6px;
}
.ol-btn {
  padding: 5px 14px;
  border-radius: 15px;
  border: 1px solid #ddd;
  background: #fff;
  color: #666;
  font-size: 12px;
  cursor: pointer;
}
.ol-btn.ol-btn-orange {
  background: #fa8c16;
  color: #fff;
  border-color: #fa8c16;
}
.ol-btn.ol-btn-primary {
  background: #1a6eff;
  color: #fff;
  border-color: #1a6eff;
}
.ol-btn.ol-btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ==================== player-detail（对齐小程序 pages/player-detail） ==================== */
.detail-page {
  min-height: 100vh;
  background: #f5f5f5;
  padding-bottom: 70px;
}
/* 顶部伙伴头部 */
.pd-player-header {
  display: flex;
  align-items: center;
  padding: 48px 15px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}
.pd-player-avatar-large {
  width: 80px;
  height: 80px;
  border-radius: 40px;
  overflow: hidden;
  margin-right: 15px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pd-player-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pd-player-avatar-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 32px;
  font-weight: bold;
}
.pd-player-base-info { flex: 1; }
.pd-player-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pd-player-name {
  font-size: 20px;
  font-weight: bold;
}
.pd-gender-icon {
  font-size: 16px;
}
.pd-gender-icon.pd-gender-male { color: #40a9ff; }
.pd-gender-icon.pd-gender-female { color: #ff85c0; }
.pd-player-level {
  display: inline-block;
  margin-top: 6px;
  background: rgba(255,255,255,0.22);
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 10px;
}
.pd-player-tags {
  margin-top: 8px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.pd-player-tag {
  padding: 2px 8px;
  background: rgba(255,255,255,0.25);
  border-radius: 10px;
  font-size: 10px;
}
/* 统计信息卡 */
.pd-score-section {
  display: flex;
  background: #fff;
  border-radius: 10px;
  margin: -20px 10px 10px;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  position: relative;
  z-index: 1;
}
.pd-score-item {
  flex: 1;
  text-align: center;
}
.pd-score-value {
  display: block;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 4px;
}
.pd-score-value.text-orange { color: #ff6600; }
.pd-score-value.text-primary { color: #1a6eff; }
.pd-score-value.text-red { color: #ff3333; }
.pd-score-label {
  font-size: 11px;
  color: #999;
}
.pd-score-divider {
  width: 1px;
  background: #f0f0f0;
  height: auto;
}
/* 简介 */
.pd-desc-section {
  margin: 0 10px 10px;
  background: #fff;
  border-radius: 10px;
  padding: 12px 15px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.pd-desc-title {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
}
.pd-desc-content {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  white-space: pre-line;
}
/* Tabs */
.pd-detail-tabs {
  display: flex;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  margin: 0 0 10px;
}
.pd-detail-tab {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  position: relative;
}
.pd-detail-tab.active {
  color: #1a6eff;
  font-weight: bold;
}
.pd-detail-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: #1a6eff;
  border-radius: 1px;
}
.pd-tab-content { padding: 0 0 10px; }
/* 服务列表（按分类水平滚动） */
.pd-service-group { margin: 10px 0; }
.pd-service-group-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  padding: 0 10px;
  margin-bottom: 8px;
}
.pd-service-scroll {
  display: flex;
  overflow-x: auto;
  padding: 0 10px 4px;
  gap: 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.pd-service-scroll::-webkit-scrollbar { display: none; }
.pd-service-card {
  flex: 0 0 120px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  cursor: pointer;
  scroll-snap-align: start;
  transition: box-shadow 0.15s;
}
.pd-service-card.is-selected {
  box-shadow: 0 0 0 2px #1a6eff;
}
.pd-svc-img {
  width: 120px;
  height: 90px;
  display: block;
  object-fit: cover;
  background: #f5f5f5;
}
.pd-svc-img-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 12px;
}
.pd-svc-info { padding: 6px 8px; }
.pd-svc-name {
  font-size: 12px;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pd-svc-price {
  font-size: 14px;
  color: #ff4444;
  font-weight: bold;
  margin-top: 2px;
}
/* 评价 */
.pd-review-header {
  padding: 10px 15px;
  background: #fff;
  margin: 0 0 1px;
}
.pd-review-good-rate {
  font-size: 13px;
  color: #fa8c16;
  font-weight: bold;
}
.pd-review-filter-bar {
  display: flex;
  gap: 6px;
  padding: 10px 15px;
  background: #fff;
  flex-wrap: wrap;
}
.pd-review-filter-item {
  padding: 4px 12px;
  background: #f2f2f2;
  border-radius: 12px;
  font-size: 12px;
  color: #666;
  cursor: pointer;
}
.pd-review-filter-item.active {
  background: #1a6eff;
  color: #fff;
}
.pd-no-review {
  text-align: center;
  padding: 60px 0;
  color: #999;
  font-size: 13px;
}
.pd-review-list { padding: 0 10px; }
.pd-review-item {
  background: #fff;
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 8px;
}
.pd-review-user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.pd-review-user-info {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pd-rv-avatar {
  width: 28px;
  height: 28px;
  border-radius: 14px;
  object-fit: cover;
}
.pd-rv-avatar-default {
  width: 28px;
  height: 28px;
  border-radius: 14px;
  background: #ddd;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.pd-review-user-name {
  font-size: 13px;
  color: #333;
}
.pd-review-stars {
  color: #ff6600;
  font-size: 13px;
}
.pd-review-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin: 6px 0;
}
.pd-review-tag {
  font-size: 11px;
  color: #1a6eff;
  background: #e8f0fe;
  padding: 1px 8px;
  border-radius: 8px;
}
.pd-review-content {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 6px;
  word-break: break-all;
}
.pd-review-images {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.pd-review-img {
  width: 70px;
  height: 70px;
  border-radius: 4px;
  object-fit: cover;
  cursor: pointer;
}
.pd-review-time {
  font-size: 11px;
  color: #bbb;
}
.pd-review-replies {
  margin-top: 8px;
  padding: 8px;
  background: #f8f8f8;
  border-radius: 4px;
}
.pd-reply-item {
  font-size: 12px;
  color: #555;
  line-height: 1.5;
}
.pd-reply-label {
  color: #1a6eff;
  font-weight: bold;
}
.pd-appeal-entry {
  text-align: right;
  margin-top: 8px;
}
.pd-appeal-btn {
  font-size: 11px;
  padding: 3px 12px;
  background: #fff;
  color: #ff4444;
  border: 1px solid #ff4444;
  border-radius: 10px;
  cursor: pointer;
}
/* 底部下单按钮 */
.player-bottom-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  padding: 10px 15px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -1px 6px rgba(0,0,0,0.06);
  z-index: 40;
}
.player-order-btn {
  width: 100%;
  height: 44px;
  line-height: 44px;
  background: linear-gradient(90deg, #ff6a00, #ff3333);
  color: #fff;
  border-radius: 22px;
  font-size: 15px;
  font-weight: bold;
  border: none;
  cursor: pointer;
}
.player-order-btn:active { opacity: 0.85; }

/* ==================== apply（对齐小程序 pages/apply） ==================== */
.ap-root { min-height: 100vh; background: #f5f5f5; padding-bottom: 30px; }
.ap-loading { text-align: center; padding: 80px 20px; color: #999; font-size: 14px; }
.ap-pending-box {
  padding: 60px 30px;
  text-align: center;
}
.ap-pending-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-top: 15px;
}
.ap-pending-tip {
  font-size: 13px;
  color: #666;
  margin-top: 10px;
}
.ap-pending-tip2 {
  font-size: 12px;
  color: #999;
  margin-top: 6px;
}
.ap-refresh-btn {
  margin-top: 30px;
  padding: 10px 36px;
  background: #fff;
  color: #1a6eff;
  border: 1px solid #1a6eff;
  border-radius: 22px;
  font-size: 14px;
  cursor: pointer;
}
.ap-refresh-btn:active { opacity: 0.85; }

.ap-tip-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  background: #fff8e1;
  color: #fa8c16;
  font-size: 12px;
  margin: 10px 10px 0;
  border-radius: 8px;
}

.ap-form-card {
  background: #fff;
  margin: 10px;
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
}
.ap-form-row {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #f5f5f5;
}
.ap-form-row:last-child { border-bottom: none; }
.ap-form-label {
  width: 100px;
  font-size: 14px;
  color: #333;
  flex-shrink: 0;
}
.ap-form-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  color: #333;
  text-align: right;
  background: transparent;
}
.ap-form-input::placeholder { color: #bbb; }

.ap-gender-group {
  flex: 1;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.ap-gender-opt {
  padding: 6px 22px;
  border-radius: 15px;
  border: 1px solid #e5e5e5;
  color: #666;
  font-size: 13px;
  cursor: pointer;
}
.ap-gender-opt.active {
  background: #1a6eff;
  color: #fff;
  border-color: #1a6eff;
}

.ap-form-item {
  padding: 14px 16px;
  border-bottom: 1px solid #f5f5f5;
}
.ap-form-item:last-child { border-bottom: none; }
.ap-form-item-label {
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
}
.ap-required { color: #ff4d4f; }

.ap-upload-box {
  width: 100%;
  height: 160px;
  background: #fafafa;
  border: 1px dashed #d9d9d9;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #bbb;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}
.ap-upload-box .svg-icon { width: 32px; height: 32px; }
.ap-upload-text {
  font-size: 12px;
  color: #999;
  margin-top: 8px;
}
.ap-upload-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ap-upload-change {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 11px;
  text-align: center;
  padding: 4px 0;
}

.ap-submit-btn {
  display: block;
  width: calc(100% - 20px);
  margin: 18px 10px 8px;
  padding: 12px 0;
  background: linear-gradient(135deg, #1a6eff, #0052d9);
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  border: none;
  border-radius: 22px;
  cursor: pointer;
}
.ap-submit-btn:disabled,
.ap-submit-btn.is-disabled { opacity: 0.6; cursor: not-allowed; }
.ap-submit-btn:active:not(:disabled) { opacity: 0.85; }
.ap-notice {
  text-align: center;
  font-size: 12px;
  color: #999;
  margin-top: 6px;
}

/* ===== profile ===== */
.ap-profile { padding-bottom: 20px; }
.ap-profile-header {
  position: relative;
  text-align: center;
  padding: 40px 20px 20px;
  background: #fff;
  color: #222;
  overflow: hidden;
}
.ap-profile-bg { display: none; }
.ap-profile-avatar-wrap {
  position: relative;
  display: inline-block;
  cursor: pointer;
}
.ap-profile-avatar,
.ap-profile-avatar-default {
  width: 80px;
  height: 80px;
  border-radius: 40px;
  object-fit: cover;
  border: 3px solid #f5f5f5;
  background: #1a6eff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  font-weight: bold;
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.ap-avatar-change-tip {
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 1px 8px;
  border-radius: 10px;
  white-space: nowrap;
}
.ap-profile-name {
  margin-top: 12px;
  font-size: 20px;
  font-weight: bold;
  color: #222;
}
.ap-profile-uid {
  margin-top: 4px;
  font-size: 12px;
  color: #999;
}
.ap-profile-desc {
  margin-top: 10px;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

.ap-profile-stats {
  display: flex;
  background: #fff;
  margin: 0 10px;
  margin-top: -20px;
  border-radius: 10px;
  padding: 18px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 2;
}
.ap-stat-item { flex: 1; text-align: center; }
.ap-stat-num { font-size: 22px; font-weight: bold; color: #1a6eff; }
.ap-stat-label { font-size: 12px; color: #999; margin-top: 4px; }

.ap-info-card {
  background: #fff;
  margin: 10px;
  border-radius: 10px;
  padding: 14px 16px;
}
.ap-info-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f5f5f5;
}
.ap-info-title {
  font-size: 15px;
  font-weight: bold;
  color: #333;
}
.ap-info-edit {
  font-size: 13px;
  color: #1a6eff;
  cursor: pointer;
}

.ap-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 13px;
  border-bottom: 1px solid #f5f5f5;
}
.ap-info-row:last-child { border-bottom: none; }
.ap-info-row-col { flex-direction: column; align-items: stretch; gap: 8px; }
.ap-info-label { color: #999; flex-shrink: 0; }
.ap-info-value { color: #333; text-align: right; }
.ap-info-value.ap-status-approved { color: #52c41a; font-weight: bold; }
.ap-edit-input {
  flex: 1;
  max-width: 60%;
  padding: 6px 10px;
  font-size: 13px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  background: #fafafa;
  color: #333;
  text-align: right;
  outline: none;
}
.ap-edit-input:focus { background: #fff; border-color: #1a6eff; }
.ap-edit-textarea {
  width: 100%;
  min-height: 80px;
  padding: 8px 10px;
  font-size: 13px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  background: #fafafa;
  color: #333;
  resize: vertical;
  outline: none;
  box-sizing: border-box;
}
.ap-edit-textarea:focus { background: #fff; border-color: #1a6eff; }
.ap-save-btn {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 10px 0;
  background: linear-gradient(135deg, #1a6eff, #0052d9);
  color: #fff;
  font-size: 14px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}
.ap-save-btn:active { opacity: 0.85; }

/* ==================== my-products（对齐小程序 pages/my-products） ==================== */
.mp-page {
  min-height: 100vh;
  background: #f5f5f5;
  padding-bottom: 20px;
}
.mp-loading {
  text-align: center;
  padding: 60px 20px;
  color: #999;
  font-size: 13px;
}
.mp-empty {
  text-align: center;
  padding: 100px 20px;
}
.mp-empty .svg-icon {
  color: #ddd;
}
.mp-empty-text {
  font-size: 14px;
  color: #666;
  margin-top: 12px;
  font-weight: 500;
}
.mp-empty-hint {
  font-size: 12px;
  color: #999;
  margin-top: 6px;
}

.mp-summary-bar {
  background: #fff;
  padding: 14px 15px 14px 46px;
  font-size: 14px;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
  font-weight: 500;
}

.mp-category-section {
  margin-bottom: 10px;
  background: #fff;
  padding: 14px 15px;
}
.mp-category-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f5f5f5;
}
.mp-category-dot {
  width: 4px;
  height: 14px;
  background: #1a6eff;
  border-radius: 2px;
}
.mp-category-name {
  font-size: 14px;
  color: #333;
  font-weight: bold;
  flex: 1;
}
.mp-category-count {
  font-size: 11px;
  color: #999;
}

.mp-product-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mp-product-card {
  display: flex;
  gap: 12px;
  padding: 10px;
  background: #fafafa;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
.mp-product-card:active { background: #f0f0f0; }
.mp-product-img {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  object-fit: cover;
  background: #f0f0f0;
  flex-shrink: 0;
}
.mp-product-img.mp-img-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8f0fe, #d4e4ff);
  color: #999;
}
.mp-product-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mp-product-name {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.mp-product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 5px;
}
.mp-tag {
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 10px;
  line-height: 1.4;
}
.mp-game-tag {
  background: #e6f4ff;
  color: #1a6eff;
}
.mp-cat-tag {
  background: #fff7e6;
  color: #fa8c16;
}
.mp-product-price {
  font-size: 16px;
  color: #ff4d4f;
  font-weight: bold;
  margin-top: 5px;
}

/* ==================== commission（对齐小程序 pages/commission） ==================== */
.commission-page {
  min-height: 100vh;
  background: #f5f5f5;
  padding-bottom: 20px;
}
.cm-loading { text-align: center; padding: 80px 20px; color: #999; font-size: 14px; }
.cm-empty {
  text-align: center;
  padding: 100px 20px;
  background: #fff;
  margin: 10px;
  border-radius: 10px;
}
.cm-empty-text { font-size: 14px; color: #999; margin-top: 10px; }
.cm-empty-tip { font-size: 12px; color: #bbb; margin-top: 6px; }

.cm-balance-card {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  padding: 20px 20px 22px;
  margin: 10px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(118, 75, 162, 0.2);
}
.cm-balance-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  display: block;
  margin-bottom: 8px;
}
.cm-balance-amount {
  display: flex;
  align-items: flex-end;
  gap: 2px;
}
.cm-currency { font-size: 20px; font-weight: bold; padding-bottom: 6px; }
.cm-amount { font-size: 40px; font-weight: bold; line-height: 1; }
.cm-balance-detail-row {
  display: flex;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.cm-balance-detail-item { flex: 1; }
.cm-balance-detail-label { font-size: 12px; color: rgba(255, 255, 255, 0.8); }
.cm-balance-detail-value { font-size: 16px; font-weight: bold; margin-top: 3px; }
.cm-balance-detail-value.orange { color: #ffc107; }
.cm-withdraw-row { margin-top: 14px; text-align: center; }
.cm-withdraw-btn {
  display: inline-block;
  padding: 9px 34px;
  background: #fff;
  color: #667eea;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.cm-withdraw-btn:active { opacity: 0.85; }

.cm-deposit-card {
  background: #fff;
  border-radius: 10px;
  padding: 14px;
  margin: 10px;
  border-left: 3px solid #52c41a;
}
.cm-deposit-card.is-insufficient { border-left-color: #ff4d4f; }
.cm-deposit-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cm-deposit-title {
  display: flex;
  align-items: center;
  gap: 4px;
}
.cm-deposit-title .svg-icon { width: 16px; height: 16px; }
.cm-deposit-label { font-size: 14px; font-weight: bold; color: #333; }
.cm-deposit-btn {
  padding: 6px 14px;
  background: linear-gradient(135deg, #ff6b6b, #ff4d4f);
  color: #fff;
  border-radius: 15px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
}
.cm-deposit-btn:active { opacity: 0.85; }
.cm-deposit-badge {
  padding: 5px 14px;
  border-radius: 15px;
  font-size: 13px;
  font-weight: bold;
}
.cm-deposit-badge.badge-green {
  background: #f6ffed;
  color: #52c41a;
}
.cm-deposit-info {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  font-size: 12px;
  color: #666;
}
.cm-deposit-warn {
  margin-top: 6px;
  font-size: 11px;
  color: #ff4d4f;
}

.cm-stats-row {
  background: #fff;
  margin: 10px;
  border-radius: 10px;
  padding: 18px 10px;
  display: flex;
}
.cm-stat-item { flex: 1; text-align: center; }
.cm-stat-num { font-size: 22px; font-weight: bold; color: #1a6eff; }
.cm-stat-label { font-size: 12px; color: #999; margin-top: 4px; }

.cm-income-section {
  background: #fff;
  margin: 10px;
  border-radius: 10px;
  padding: 14px 20px;
}
.cm-income-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f5f5f5;
}
.cm-income-row:last-child { border-bottom: none; }
.cm-income-label { font-size: 13px; color: #666; }
.cm-income-value { font-size: 17px; font-weight: bold; }
.cm-income-value.green { color: #52c41a; }
.cm-income-value.orange { color: #ff6600; }

.cm-payment-section,
.cm-order-section {
  background: #fff;
  margin: 10px;
  border-radius: 10px;
  padding: 14px;
}
.cm-section-title {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin-bottom: 12px;
}
.cm-pay-info { padding: 6px 0; }
.cm-pay-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 13px;
  color: #333;
}
.cm-pay-lbl { color: #666; flex-shrink: 0; }
.cm-pay-val { color: #333; }
.cm-pay-qr { margin: 10px 0; }
.cm-pay-qr img { width: 100px; height: 100px; border-radius: 6px; object-fit: cover; }
.cm-pay-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}
.cm-pay-edit-count { font-size: 11px; color: #999; }
.cm-pay-edit-btn {
  padding: 5px 15px;
  background: #ff6600;
  color: #fff;
  border-radius: 15px;
  font-size: 12px;
  cursor: pointer;
}
.cm-pay-edit-done { font-size: 11px; color: #ff3333; }

.cm-pay-form { padding: 6px 0; }
.cm-form-group { margin-bottom: 12px; }
.cm-form-label {
  display: block;
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
}
.cm-form-input {
  width: 100%;
  background: #f5f5f5;
  padding: 10px 12px;
  border-radius: 6px;
  border: none;
  font-size: 14px;
  color: #333;
  box-sizing: border-box;
  outline: none;
}
.cm-form-input:focus { background: #fff; box-shadow: 0 0 0 1px #1a6eff inset; }
.cm-pay-type-row {
  display: flex;
  gap: 8px;
}
.cm-pay-type-opt {
  flex: 1;
  text-align: center;
  padding: 9px 0;
  border-radius: 15px;
  background: #f5f5f5;
  color: #666;
  font-size: 13px;
  cursor: pointer;
}
.cm-pay-type-opt.active-alipay {
  background: #1a6eff;
  color: #fff;
}
.cm-pay-type-opt.active-wechat {
  background: #52c41a;
  color: #fff;
}
.cm-qr-upload {
  width: 100px;
  height: 100px;
  background: #f5f5f5;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #999;
  overflow: hidden;
  cursor: pointer;
}
.cm-qr-upload img { width: 100%; height: 100%; object-fit: cover; }
.cm-save-btn {
  width: 100%;
  background: #1a6eff;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 11px 0;
  font-size: 14px;
  margin-top: 10px;
  cursor: pointer;
}
.cm-save-btn:active { opacity: 0.85; }

.cm-no-order {
  text-align: center;
  padding: 30px 0;
  color: #999;
  font-size: 13px;
}
.cm-recent-item {
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f5;
}
.cm-recent-item:last-child { border-bottom: none; }
.cm-recent-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}
.cm-recent-name {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cm-recent-price {
  font-size: 15px;
  color: #ff3333;
  font-weight: bold;
  margin-left: 10px;
}
.cm-recent-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #999;
}
.cm-recent-status { color: #999; }
.cm-recent-status.status-completed { color: #52c41a; }

/* ==================== withdraw（对齐小程序 pages/withdraw） ==================== */
.wd-page {
  min-height: 100vh;
  background: #f5f5f5;
  padding-bottom: 20px;
}
.wd-loading {
  text-align: center;
  padding: 80px 20px;
  color: #999;
  font-size: 14px;
}
.wd-balance-card {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  padding: 25px 20px;
  margin: 10px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(118, 75, 162, 0.2);
}
.wd-balance-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  display: block;
  margin-bottom: 6px;
}
.wd-balance-amount {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  margin: 6px 0;
}
.wd-currency { font-size: 20px; font-weight: bold; padding-bottom: 6px; }
.wd-amount-big { font-size: 44px; font-weight: bold; line-height: 1; }
.wd-balance-detail {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 8px;
}

.wd-form-card {
  background: #fff;
  padding: 15px 18px;
  margin: 10px;
  border-radius: 10px;
}
.wd-form-title {
  font-size: 15px;
  font-weight: bold;
  color: #333;
  margin-bottom: 12px;
}
.wd-amount-input-wrap {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}
.wd-amount-prefix {
  font-size: 24px;
  color: #333;
  font-weight: bold;
  margin-right: 8px;
}
.wd-amount-input {
  flex: 1;
  font-size: 22px;
  color: #333;
  border: none;
  outline: none;
  background: transparent;
  font-weight: bold;
  padding: 0;
}
.wd-fill-all-row {
  text-align: right;
  margin: 8px 0 14px;
}
.wd-fill-all-btn {
  display: inline-block;
  font-size: 13px;
  color: #1a6eff;
  cursor: pointer;
}
.wd-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #1a6eff, #0052d9);
  color: #fff;
  font-size: 15px;
  border: none;
  border-radius: 22px;
  padding: 12px 0;
  margin-top: 8px;
  font-weight: bold;
  cursor: pointer;
}
.wd-submit-btn:disabled { opacity: 0.6; }
.wd-submit-btn:active:not(:disabled) { opacity: 0.85; }

.wd-history-section {
  background: #fff;
  padding: 15px 18px;
  margin: 10px;
  border-radius: 10px;
}
.wd-section-title {
  font-size: 15px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}
.wd-empty-tip {
  text-align: center;
  padding: 30px 0;
  color: #999;
  font-size: 13px;
}
.wd-record-item {
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f5;
}
.wd-record-item:last-child { border-bottom: none; }
.wd-record-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.wd-record-amount {
  font-size: 16px;
  color: #333;
  font-weight: bold;
}
.wd-record-status { font-size: 12px; font-weight: bold; }
.wd-record-status.wd-status-pending { color: #fa8c16; }
.wd-record-status.wd-status-paid { color: #52c41a; }
.wd-record-status.wd-status-rejected { color: #ff4d4f; }
.wd-record-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: #999;
}
.wd-record-actual { color: #52c41a; }
.wd-record-remark { color: #ff4d4f; }

/* ==================== review（对齐小程序 pages/review） ==================== */
.rv-page {
  min-height: 100vh;
  background: #f5f5f5;
  padding-bottom: 30px;
}
.rv-loading { text-align: center; padding: 80px 20px; color: #999; font-size: 14px; }
.rv-card {
  background: #fff;
  margin: 10px;
  padding: 18px 16px;
  border-radius: 12px;
}
.rv-title {
  font-size: 17px;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin-bottom: 6px;
}
.rv-order-info {
  font-size: 12px;
  color: #999;
  text-align: center;
  margin-bottom: 18px;
}
.rv-section { margin-bottom: 20px; }
.rv-section-label {
  font-size: 14px;
  color: #333;
  margin-bottom: 12px;
  font-weight: 500;
}
.rv-stars-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 6px 0;
}
.rv-star {
  font-size: 36px;
  color: #ddd;
  cursor: pointer;
  user-select: none;
  transition: all 0.1s;
}
.rv-star.active { color: #fa8c16; }
.rv-star:active { transform: scale(0.9); }
.rv-rating-text {
  text-align: center;
  font-size: 13px;
  color: #fa8c16;
  margin-top: 8px;
}
.rv-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.rv-tag-item {
  padding: 6px 16px;
  background: #f5f5f5;
  color: #666;
  font-size: 13px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.15s;
}
.rv-tag-item.active {
  background: #1a6eff;
  color: #fff;
}
.rv-textarea {
  width: 100%;
  min-height: 100px;
  padding: 12px;
  border: 1px solid #eee;
  border-radius: 8px;
  font-size: 14px;
  background: #fafafa;
  color: #333;
  resize: vertical;
  box-sizing: border-box;
  outline: none;
}
.rv-textarea:focus { background: #fff; border-color: #1a6eff; }

.rv-image-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.rv-image-item,
.rv-image-add {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
}
.rv-image-item {
  position: relative;
}
.rv-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rv-remove-img {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
}
.rv-image-add {
  background: #fafafa;
  border: 1px dashed #ddd;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #999;
}
.rv-add-icon { font-size: 28px; font-weight: 300; }
.rv-add-text { font-size: 11px; margin-top: 2px; }

.rv-anonymous-section {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0 4px;
  cursor: pointer;
  user-select: none;
}
.rv-checkbox {
  width: 18px;
  height: 18px;
  border: 1px solid #ddd;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rv-checkbox.checked {
  background: #1a6eff;
  border-color: #1a6eff;
  color: #fff;
  font-size: 12px;
}
.rv-anonymous-text { font-size: 13px; color: #666; }

.rv-submit-btn {
  display: block;
  width: calc(100% - 20px);
  margin: 20px 10px 0;
  padding: 13px 0;
  background: linear-gradient(135deg, #1a6eff, #0052d9);
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  border: none;
  border-radius: 25px;
  cursor: pointer;
}
.rv-submit-btn:active:not(:disabled) { opacity: 0.85; }
.rv-submit-btn:disabled,
.rv-submit-btn.is-disabled { opacity: 0.6; cursor: not-allowed; }

/* ==================== appeal（对齐小程序 pages/appeal） ==================== */
.appeal-root {
  min-height: 100vh;
  background: #f5f5f5;
  padding-bottom: 80px;
}
.appeal-loading { text-align: center; padding: 80px 20px; color: #999; font-size: 14px; }
.appeal-card {
  background: #fff;
  margin: 10px;
  padding: 18px;
  border-radius: 12px;
  text-align: center;
}
.appeal-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}
.appeal-tip {
  font-size: 12px;
  color: #ff4d4f;
  margin-top: 6px;
}

.appeal-section {
  background: #fff;
  margin: 10px;
  padding: 14px 16px;
  border-radius: 10px;
}
.appeal-sec-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.appeal-sec-header .svg-icon { width: 16px; height: 16px; }
.appeal-sec-title {
  font-size: 14px;
  font-weight: bold;
  color: #333;
}
.appeal-review-meta {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
}
.appeal-review-meta > div { word-break: break-all; }
.appeal-star-row {
  display: flex;
  align-items: center;
  gap: 2px;
}
.appeal-star {
  font-size: 16px;
  color: #ddd;
}
.appeal-star.active { color: #fa8c16; }

.appeal-textarea {
  width: 100%;
  min-height: 100px;
  padding: 10px 12px;
  border: 1px solid #eee;
  border-radius: 6px;
  font-size: 14px;
  background: #fafafa;
  color: #333;
  resize: vertical;
  box-sizing: border-box;
  outline: none;
}
.appeal-textarea:focus { background: #fff; border-color: #1a6eff; }
.appeal-word-count {
  text-align: right;
  font-size: 11px;
  color: #999;
  margin-top: 4px;
}

.appeal-image-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.appeal-img-item,
.appeal-add-img {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
}
.appeal-img-item {
  position: relative;
}
.appeal-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.appeal-remove-btn {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border-radius: 9px;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  cursor: pointer;
}
.appeal-add-img {
  background: #fafafa;
  border: 1px dashed #ddd;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #999;
  cursor: pointer;
}
.appeal-add-icon { font-size: 24px; font-weight: 300; }
.appeal-add-text { font-size: 10px; margin-top: 2px; }

.appeal-choose-video-btn {
  width: 100%;
  padding: 20px 0;
  background: #fafafa;
  border: 1px dashed #ddd;
  border-radius: 6px;
  font-size: 13px;
  color: #999;
  cursor: pointer;
}
.appeal-video-preview {
  position: relative;
}
.appeal-preview-video {
  width: 100%;
  max-height: 240px;
  border-radius: 8px;
  background: #000;
}
.appeal-remove-video {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 8px 0;
  background: #ff4d4f;
  color: #fff;
  font-size: 13px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.appeal-submit-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  background: #fff;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.05);
  z-index: 100;
}
.appeal-submit-btn {
  width: 100%;
  padding: 12px 0;
  background: linear-gradient(135deg, #ff4d4f, #ff7875);
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  border: none;
  border-radius: 22px;
  cursor: pointer;
}
.appeal-submit-btn:active:not(:disabled) { opacity: 0.85; }
.appeal-submit-btn:disabled,
.appeal-submit-btn.is-disabled { opacity: 0.6; cursor: not-allowed; }

/* ==================== appeal-list（对齐小程序 pages/appeal-list） ==================== */
.al-page {
  min-height: 100vh;
  background: #f5f5f5;
  padding-bottom: 20px;
}
.al-loading {
  text-align: center;
  padding: 60px 20px;
  color: #999;
  font-size: 14px;
}
.al-header-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px;
  padding: 15px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  border-radius: 10px;
  border: none;
  box-shadow: 0 4px 12px rgba(238, 90, 36, 0.3);
}
.al-header-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  object-fit: contain;
  filter: brightness(10);
}
.al-header-info { flex: 1; }
.al-header-title {
  font-size: 17px;
  font-weight: bold;
  color: #fff;
}
.al-header-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 4px;
}

.al-review-list { padding: 0 10px; }
.al-review-card {
  position: relative;
  background: #fff;
  padding: 14px;
  margin-bottom: 10px;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.al-status-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: bold;
}
.al-status-tag.none { background: #f0f6ff; color: #1a6eff; }
.al-status-tag.pending { background: #fff7e6; color: #fa8c16; }
.al-status-tag.approved { background: #f6ffed; color: #52c41a; }
.al-status-tag.rejected { background: #fff1f0; color: #ff4d4f; }

.al-review-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 55px;
  margin-bottom: 8px;
}
.al-reviewer-avatar,
.al-reviewer-avatar-ph {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  flex-shrink: 0;
  object-fit: cover;
}
.al-reviewer-avatar-ph {
  background: linear-gradient(135deg, #1a6eff, #667eea);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
}
.al-reviewer-info { flex: 1; min-width: 0; }
.al-reviewer-name {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}
.al-star-row {
  margin-top: 2px;
  display: flex;
  gap: 1px;
}
.al-star {
  font-size: 13px;
  color: #ddd;
}
.al-star.active { color: #fa8c16; }
.al-review-time {
  font-size: 11px;
  color: #bbb;
  flex-shrink: 0;
}

.al-review-content {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 8px;
  word-break: break-all;
}
.al-review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 8px;
}
.al-tag {
  padding: 2px 10px;
  background: #f5f5f5;
  color: #999;
  font-size: 11px;
  border-radius: 10px;
}
.al-review-images {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.al-review-img {
  width: 76px;
  height: 76px;
  border-radius: 6px;
  object-fit: cover;
  cursor: pointer;
}

.al-reject-reason {
  background: #fff1f0;
  color: #ff4d4f;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 12px;
  margin-bottom: 8px;
}
.al-reject-label { font-weight: bold; }

.al-action-bar {
  text-align: right;
  padding-top: 8px;
  border-top: 1px solid #f5f5f5;
}
.al-appeal-btn {
  padding: 7px 22px;
  background: linear-gradient(135deg, #ff4d4f, #ff7875);
  color: #fff;
  border: none;
  border-radius: 16px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
}
.al-appeal-btn:active { opacity: 0.85; }

.al-empty {
  text-align: center;
  padding: 80px 20px;
}
.al-empty-icon {
  display: block;
  width: 80px;
  height: 80px;
  opacity: 0.3;
  margin: 0 auto 15px;
}
.al-empty-text {
  font-size: 16px;
  color: #333;
  margin-top: 0;
  font-weight: 500;
}
.al-empty-sub {
  font-size: 13px;
  color: #999;
  margin-top: 5px;
}

/* ==================== violation（对齐小程序 pages/violation） ==================== */
.vi-page {
  min-height: 100vh;
  background: #f5f5f5;
  padding-bottom: 20px;
}
.vi-loading { text-align: center; padding: 40px 20px; color: #999; font-size: 13px; }

.vi-summary-card {
  margin: 10px;
  padding: 18px 16px;
  background: linear-gradient(135deg, #fa8c16, #ffa940);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(250, 140, 22, 0.2);
}
.vi-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.vi-summary-label {
  font-size: 13px;
  opacity: 0.9;
}
.vi-summary-value {
  font-size: 26px;
  font-weight: bold;
}
.vi-summary-hint {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.vi-summary-hint .svg-icon { width: 14px; height: 14px; }
.vi-summary-hint.ok { opacity: 0.95; }

.vi-balance-card {
  margin: 0 10px 10px;
  padding: 14px 16px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.vi-balance-label {
  font-size: 13px;
  color: #666;
}
.vi-balance-value {
  font-size: 20px;
  color: #1a6eff;
  font-weight: bold;
}

.vi-section-title {
  padding: 10px 15px 8px;
  font-size: 13px;
  color: #999;
  font-weight: 500;
}
.vi-empty-text {
  text-align: center;
  padding: 60px 20px;
  color: #999;
  font-size: 13px;
}
.vi-empty-text .svg-icon { color: #52c41a; }

.vi-record-list {
  padding: 0 10px;
}
.vi-record-item {
  background: #fff;
  padding: 14px;
  margin-bottom: 10px;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.vi-record-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.vi-record-type {
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: bold;
}
.vi-record-type.warning { background: #fff7e6; color: #fa8c16; }
.vi-record-type.fine { background: #fff1f0; color: #ff4d4f; }
.vi-record-type.suspension { background: #f0f0f0; color: #666; }
.vi-record-status {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 10px;
  background: #fff1f0;
  color: #ff4d4f;
}
.vi-record-status.revoked {
  background: #f5f5f5;
  color: #999;
  text-decoration: line-through;
}
.vi-record-status.paid {
  background: #f6ffed;
  color: #52c41a;
}
.vi-record-reason {
  font-size: 14px;
  color: #333;
  line-height: 1.55;
  margin-bottom: 8px;
  word-break: break-all;
}
.vi-record-footer {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #999;
  padding-bottom: 8px;
  border-bottom: 1px solid #f5f5f5;
}
.vi-record-amount {
  color: #ff4d4f;
  font-weight: bold;
}
.vi-record-time { color: #999; }

.vi-pay-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.vi-pay-btn {
  flex: 1;
  height: 34px;
  border: none;
  border-radius: 17px;
  font-size: 13px;
  color: #fff;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}
.vi-pay-btn .svg-icon { width: 14px; height: 14px; }
.vi-balance-btn { background: linear-gradient(135deg, #1a6eff, #4d8eff); }
.vi-wechat-btn { background: linear-gradient(135deg, #07c160, #52c41a); }
.vi-pay-btn:active { opacity: 0.85; }

.vi-paid-info {
  margin-top: 10px;
  padding: 8px 10px;
  background: #f6ffed;
  color: #52c41a;
  border-radius: 6px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.vi-paid-info .svg-icon { width: 14px; height: 14px; }

/* ==================== contact（对齐小程序 pages/contact） ==================== */
.chat-page {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 50px);
  background: #f5f5f5;
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 10px 10px 0;
}
.chat-tip {
  text-align: center;
  font-size: 11px;
  color: #bbb;
  background: #eee;
  margin: 0 auto 12px;
  padding: 4px 12px;
  border-radius: 10px;
  display: inline-block;
  position: sticky;
  left: 50%;
  transform: translateX(-50%);
}
.chat-list-body { display: flex; flex-direction: column; }
.msg-row { display: flex; margin-bottom: 12px; max-width: 85%; align-items: flex-start; }
.msg-row.right { margin-left: auto; flex-direction: row-reverse; }
.msg-row.left { margin-right: auto; }
.msg-avatar {
  width: 36px;
  height: 36px;
  border-radius: 18px;
  background: #1a6eff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-right: 8px;
  flex-shrink: 0;
}
.msg-bubble {
  max-width: 70vw;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  word-break: break-all;
}
.msg-bubble.boss {
  background: #1a6eff;
  color: #fff;
}
.msg-bubble.admin {
  background: #fff;
  color: #333;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.msg-text { display: block; }
.msg-time {
  display: block;
  font-size: 10px;
  margin-top: 4px;
  opacity: 0.7;
}
.msg-bubble.boss .msg-time { color: rgba(255,255,255,0.9); }
.msg-bubble.admin .msg-time { color: #bbb; }
.chat-input-bar {
  padding: 10px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  background: #fff;
  display: flex;
  gap: 8px;
  border-top: 1px solid #f0f0f0;
  align-items: center;
}
.chat-input {
  flex: 1;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #eee;
  background: #fafafa;
  border-radius: 18px;
  font-size: 14px;
  color: #333;
  outline: none;
}
.chat-input:focus { background: #fff; border-color: #1a6eff; }
.chat-send-btn {
  height: 36px;
  padding: 0 18px;
  background: #1a6eff;
  color: #fff;
  border: none;
  border-radius: 18px;
  font-size: 14px;
  cursor: pointer;
}
.chat-send-btn:active { opacity: 0.85; }

/* ==================== ranking（对齐小程序 pages/ranking） ==================== */
.rk-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #fffbe6 0%, #fff 300px);
  padding-bottom: 20px;
}
.rk-loading {
  text-align: center;
  padding: 60px 20px;
  color: #999;
  font-size: 13px;
}
.rk-empty-tip {
  text-align: center;
  padding: 60px 20px;
  color: #999;
  font-size: 13px;
}

.rk-type-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #fff;
  padding: 14px 16px;
  position: relative;
}
.rk-type-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 14px;
  color: #999;
  border-radius: 18px;
  cursor: pointer;
  transition: all 0.2s;
  background: #f5f5f5;
}
.rk-type-tab.active {
  color: #fff;
  background: linear-gradient(135deg, #fa8c16, #fadb14);
  font-weight: bold;
}
.rk-type-tab .svg-icon { width: 14px; height: 14px; }
.rk-refresh-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 16px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.rk-refresh-btn:active { background: #e8e8e8; }

.rk-period-tabs {
  display: flex;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}
.rk-period-tab {
  flex: 1;
  text-align: center;
  padding: 12px 6px;
  font-size: 13px;
  color: #999;
  cursor: pointer;
  position: relative;
}
.rk-period-tab.active {
  color: #fa8c16;
  font-weight: bold;
}
.rk-period-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: #fa8c16;
  border-radius: 1px;
}

.rk-date-range {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}
.rk-date-input {
  flex: 1;
  padding: 6px 10px;
  border: 1px solid #eee;
  border-radius: 6px;
  font-size: 12px;
  color: #333;
  background: #fafafa;
  outline: none;
}
.rk-date-sep { color: #999; font-size: 12px; }
.rk-date-search-btn {
  padding: 6px 16px;
  background: linear-gradient(135deg, #fa8c16, #fadb14);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
}

.rk-podium {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  padding: 30px 20px 20px;
}
.rk-podium-simple {
  display: flex;
  justify-content: center;
  padding: 30px 20px 20px;
  gap: 12px;
}
.rk-podium-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  max-width: 120px;
}
.rk-first { order: 2; }
.rk-second { order: 1; }
.rk-third { order: 3; }

.rk-podium-label {
  font-size: 12px;
  color: #666;
  margin-bottom: 8px;
  padding: 2px 10px;
  border-radius: 10px;
  background: #f5f5f5;
}
.rk-gold-label {
  color: #fff;
  background: linear-gradient(135deg, #faad14, #fadb14);
  font-weight: bold;
}
.rk-podium-avatar-wrap {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  position: relative;
}
.rk-first .rk-podium-avatar-wrap { width: 85px; height: 85px; }
.rk-gold { background: linear-gradient(135deg, #faad14, #fadb14); padding: 4px; box-shadow: 0 2px 8px rgba(250, 173, 20, 0.3); }
.rk-silver { background: linear-gradient(135deg, #bfbfbf, #d9d9d9); padding: 3px; box-shadow: 0 2px 8px rgba(191, 191, 191, 0.25); }
.rk-bronze { background: linear-gradient(135deg, #cd7f32, #d09a5b); padding: 3px; box-shadow: 0 2px 8px rgba(205, 127, 50, 0.25); }

.rk-podium-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}
.rk-avatar-ph {
  background: linear-gradient(135deg, #e8f0fe, #d4e4ff);
  color: #1a6eff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
}
.rk-podium-name {
  font-size: 13px;
  color: #333;
  font-weight: 500;
  margin-bottom: 4px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rk-podium-value {
  font-size: 12px;
  color: #fa8c16;
  font-weight: bold;
}

.rk-divider {
  height: 8px;
  background: #f5f5f5;
  margin: 10px 0 0;
}

.rk-list {
  background: #fff;
  padding: 0 12px;
}
.rk-item {
  display: flex;
  align-items: center;
  padding: 12px 4px;
  border-bottom: 1px solid #f5f5f5;
  gap: 12px;
}
.rk-item:last-child { border-bottom: none; }
.rk-number {
  width: 28px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  color: #999;
}
.rk-avatar {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  object-fit: cover;
  background: #f0f0f0;
}
.rk-name {
  flex: 1;
  font-size: 14px;
  color: #333;
  font-weight: 500;
}
.rk-value {
  font-size: 12px;
  color: #999;
}

/* ==================== lottery（对齐小程序 pages/lottery） ==================== */
.lot-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
  padding: 20px 14px 40px;
  text-align: center;
}
.lot-title {
  font-size: 26px;
  font-weight: 800;
  color: #ffd700;
  margin-bottom: 6px;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(255,215,0,0.4);
}
.lot-subtitle {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}
.lot-board {
  max-width: 360px;
  margin: 0 auto;
  padding: 14px;
  background: linear-gradient(135deg, #e8232a 0%, #c0392b 50%, #e8232a 100%);
  border-radius: 18px;
  box-shadow: 0 6px 30px rgba(0,0,0,0.4);
  border: 3px solid #ffd700;
  position: relative;
}
.lot-board::before {
  content: '';
  position: absolute;
  top: 4px; left: 4px; right: 4px; bottom: 4px;
  border-radius: 14px;
  border: 2px dashed rgba(255,215,0,0.5);
  pointer-events: none;
}
.lot-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.lot-grid-cell {
  background: linear-gradient(180deg, #fff 0%, #f8f8f8 100%);
  border-radius: 10px;
  padding: 10px 6px 8px;
  border: 2px solid rgba(255,215,0,0.3);
  transition: all 0.12s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  min-height: 100px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  overflow: hidden;
}
.lot-grid-cell.active {
  background: linear-gradient(180deg, #fff9e6 0%, #fff3cd 100%);
  border-color: #ffd700;
  transform: scale(1.04);
  box-shadow: 0 0 18px rgba(255,215,0,0.8), inset 0 0 8px rgba(255,215,0,0.2);
}
.lot-placeholder-cell {
  background: linear-gradient(180deg, #f5f5f5 0%, #ececec 100%) !important;
  border-color: rgba(200,200,200,0.4) !important;
}
.lot-prize-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}
.lot-prize-placeholder {
  font-size: 32px;
  line-height: 1;
}
.lot-prize-name {
  font-size: 11px;
  color: #333;
  font-weight: 600;
  margin-top: 6px;
  line-height: 1.3;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  max-height: 2.6em;
}
.lot-placeholder-cell .lot-prize-name {
  color: #999;
  font-weight: 400;
}

.lot-center-btn {
  background: linear-gradient(135deg, #ffd700 0%, #ffb700 50%, #ffa500 100%) !important;
  border: 2px solid #e6a800 !important;
  padding: 0 !important;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255,165,0,0.5);
  animation: lot-pulse 1.8s infinite;
}
.lot-center-btn.drawing { animation: none; opacity: 0.7; }
.lot-center-btn:active { transform: scale(0.96); }
.lot-draw-btn {
  width: 100%;
  height: 100%;
  background: transparent;
  color: #c0392b;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.lot-draw-text {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 2px;
  text-shadow: 0 1px 2px rgba(255,255,255,0.4);
}
.lot-draw-sub {
  font-size: 10px;
  margin-top: 4px;
  opacity: 0.7;
  font-weight: 500;
}
@keyframes lot-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(255,165,0,0.5); }
  50% { box-shadow: 0 4px 24px rgba(255,165,0,0.8); }
}

.lot-result-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lot-fade 0.25s ease;
}
@keyframes lot-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lot-result-popup {
  width: 300px;
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  border-radius: 16px;
  padding: 28px 22px 22px;
  text-align: center;
  border: 2px solid #ffd700;
  animation: lot-pop-in 0.35s cubic-bezier(0.17, 0.67, 0.55, 1.28);
}
@keyframes lot-pop-in {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.lot-result-title {
  font-size: 24px;
  font-weight: 800;
  color: #e8232a;
  margin-bottom: 16px;
}
.lot-result-img {
  width: 110px;
  height: 110px;
  border-radius: 10px;
  margin: 0 auto 12px;
  object-fit: cover;
  border: 2px solid #f0f0f0;
}
.lot-result-placeholder {
  font-size: 60px;
  line-height: 1;
  margin-bottom: 12px;
}
.lot-result-name {
  font-size: 18px;
  color: #333;
  font-weight: 700;
  margin-bottom: 8px;
}
.lot-result-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 18px;
}
.lot-result-btn {
  width: 100%;
  padding: 11px 0;
  background: linear-gradient(135deg, #e8232a 0%, #c0392b 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 22px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(232,35,42,0.3);
}
.lot-result-btn:active { opacity: 0.85; }

/* ==================== redeem（对齐小程序 pages/redeem） ==================== */
.redeem-page-v2 {
  min-height: 100vh;
  background: #f5f5f5;
  padding: 20px 12px;
}
.rd-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.rd-title {
  font-size: 18px;
  color: #333;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
}
.rd-desc {
  font-size: 12px;
  color: #999;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.6;
}
.rd-input-wrap {
  margin-bottom: 20px;
}
.rd-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #eee;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
  background: #fafafa;
  outline: none;
  box-sizing: border-box;
  letter-spacing: 1px;
  text-align: center;
}
.rd-input:focus {
  background: #fff;
  border-color: #1a6eff;
}
.rd-btn-wrap {
  text-align: center;
}
.rd-btn {
  min-width: 200px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #fa8c16, #ffc069);
  color: #fff;
  border: none;
  border-radius: 22px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(250, 140, 22, 0.25);
}
.rd-btn:active:not(:disabled) { opacity: 0.85; }
.rd-btn:disabled,
.rd-btn.is-disabled { opacity: 0.6; cursor: not-allowed; }

.rd-result-card {
  margin-top: 20px;
  padding: 26px 20px;
  background: #fff;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.rd-result-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  color: #fff;
}
.rd-result-icon.success { background: linear-gradient(135deg, #52c41a, #95de64); }
.rd-result-icon.fail { background: linear-gradient(135deg, #ff4d4f, #ff7875); }
.rd-result-text {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  word-break: break-all;
}

/* ==================== coupon（对齐小程序 pages/coupon） ==================== */
.cp-page {
  min-height: 100vh;
  background: #f5f5f5;
  padding-bottom: 20px;
}
.cp-loading,
.cp-empty-tip {
  text-align: center;
  padding: 60px 20px;
  color: #999;
  font-size: 13px;
}
.cp-tabs {
  display: flex;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  position: sticky;
  top: 0;
  z-index: 10;
}
.cp-tab {
  flex: 1;
  text-align: center;
  padding: 14px 0;
  font-size: 14px;
  color: #999;
  cursor: pointer;
  position: relative;
}
.cp-tab.active {
  color: #fa541c;
  font-weight: bold;
}
.cp-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 2px;
  background: #fa541c;
  border-radius: 1px;
}

.cp-list {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cp-card {
  display: flex;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  min-height: 100px;
  position: relative;
}
.cp-card.disabled { opacity: 0.55; filter: grayscale(50%); }
.cp-card .cp-left {
  width: 125px;
  background: linear-gradient(135deg, #fa541c, #fa8c16);
  color: #fff;
  padding: 14px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.cp-card .cp-left::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: #f5f5f5;
  border-radius: 50%;
}
.cp-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  line-height: 1;
}
.cp-symbol {
  font-size: 16px;
  font-weight: bold;
}
.cp-num {
  font-size: 34px;
  font-weight: bold;
  margin: 0 2px;
}
.cp-condition {
  font-size: 11px;
  margin-top: 8px;
  opacity: 0.92;
}

.cp-card .cp-right {
  flex: 1;
  padding: 14px 14px 14px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}
.cp-name {
  font-size: 15px;
  color: #333;
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cp-expire {
  font-size: 12px;
  color: #999;
}
.cp-claim-btn {
  align-self: flex-start;
  margin-top: 6px;
  padding: 5px 18px;
  background: linear-gradient(135deg, #fa541c, #fa8c16);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
}
.cp-claim-btn:active { opacity: 0.85; }

.cp-status {
  align-self: flex-start;
  margin-top: 6px;
  padding: 3px 12px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 500;
}
.cp-status.unused { background: #e6f7ff; color: #1a6eff; }
.cp-status.used { background: #f5f5f5; color: #999; }
.cp-status.expired { background: #fff1f0; color: #ff4d4f; }

/* ==================== tech-support ==================== */
.tech-page { padding: 20px 16px 40px; background: linear-gradient(180deg, #0a1628, #0d2240); color: #fff; min-height: 100%; }
.tech-header { text-align: center; padding: 20px 0; }
.tech-logo { font-size: 38px; font-weight: bold; letter-spacing: 4px; color: #fff; }
.tech-slogan { font-size: 12px; opacity: 0.7; margin-top: 6px; letter-spacing: 2px; }
.tech-card {
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 16px;
  margin-top: 14px;
  border: 1px solid rgba(255,255,255,0.1);
}
.tech-card .card-title { font-size: 15px; font-weight: bold; margin-bottom: 8px; color: #fff; }
.tech-card .card-content { font-size: 13px; line-height: 1.8; color: rgba(255,255,255,0.85); }
.tech-contact .contact-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; }
.tech-contact .contact-label { color: rgba(255,255,255,0.7); }
.tech-footer { text-align: center; padding: 20px 0 0; color: rgba(255,255,255,0.6); font-size: 12px; }
.footer-sub { opacity: 0.6; margin-top: 2px; }

/* ==================== doc (agreement / privacy) ==================== */
.doc-page { padding: 20px; background: #fff; min-height: 100vh; }
.doc-title { font-size: 20px; font-weight: bold; color: #222; text-align: center; }
.doc-date { font-size: 12px; color: #999; text-align: center; margin: 8px 0 16px; }
.doc-content { font-size: 14px; color: #555; line-height: 2; }

/* ==================== 通用按钮扩展 ==================== */
.btn-orange { background: #ff6600; color: #fff; border: none; }
.btn-lg { padding: 0 20px; height: 44px; line-height: 44px; font-size: 16px; border-radius: 22px; }
.btn-block { display: block; width: 100%; }
.text-primary { color: #1a6eff; }
.text-gray { color: #999; }
.text-red { color: #ff4d4f; }
.text-green { color: #52c41a; }
.text-small { font-size: 12px; }

/* 空状态 */
.empty {
  padding: 40px 20px;
  text-align: center;
  color: #999;
  font-size: 13px;
}
.empty .empty-text { margin-top: 8px; font-size: 14px; }

/* 图标尺寸 */
.svg-icon.lg { font-size: 24px; }
.svg-icon.xl { font-size: 32px; }
.svg-icon.xxl { font-size: 48px; color: #ddd; }

/* ==================== grab-order（对齐小程序 pages/grab-order） ==================== */
.go-page { padding-bottom: 60px; background: #f5f5f5; min-height: 100vh; }

/* 顶部 Tab */
.go-status-bar { display: flex; background: #fff; border-bottom: 1px solid #eee; }
.go-status-item { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 0; padding: 12px 0; font-size: 12px; white-space: nowrap; color: #666; position: relative; cursor: pointer; }
.go-status-item.is-active { color: #1a6eff; font-weight: 600; }
.go-status-item.is-active::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 30px; height: 3px; background: #1a6eff; border-radius: 2px; }
.go-badge { position: absolute; top: 4px; right: 4px; display: inline-flex; align-items: center; justify-content: center; min-width: 16px; height: 16px; padding: 0 5px; background: #ff3333; color: #fff; font-size: 10px; font-weight: 600; border-radius: 8px; line-height: 1; }

/* 空状态 */
.go-empty { display: flex; flex-direction: column; align-items: center; padding: 80px 0; }
.go-empty-text { font-size: 14px; color: #999; margin-top: 12px; }
.go-empty-sub { font-size: 12px; color: #ccc; margin-top: 6px; }

/* 订单卡片 */
.go-card { margin: 10px; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 8px rgba(0,0,0,0.06); }

/* 卡片头部 */
.go-card-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid #f5f5f5; }
.go-tag { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 4px; font-weight: 600; }
.go-tag-pending { background: #fff3e0; color: #ff6600; }
.go-tag-designated { background: #f3e5f5; color: #9c27b0; }
.go-tag-accepted { background: #e3f2fd; color: #1a6eff; }
.go-tag-progress { background: #e8f5e9; color: #4caf50; }
.go-tag-done { background: #f5f5f5; color: #999; }
.go-tag-rejected { background: #ffebee; color: #ff4d4f; }

.go-transfer-link { font-size: 12px; color: #fa8c16; padding: 2px 8px; border: 1px solid #fa8c16; border-radius: 4px; cursor: pointer; }

/* 卡片主体 */
.go-card-body { display: flex; padding: 12px; gap: 8px; }
.go-card-img { width: 40px; height: 40px; border-radius: 4px; flex-shrink: 0; object-fit: cover; }
.go-card-img-empty { background: #f5f5f5; display: flex; align-items: center; justify-content: center; }
.go-card-img-empty .svg-icon { font-size: 20px; color: #ccc; }
.go-info-col { flex: 1; min-width: 0; }
.go-info-row { display: flex; align-items: flex-start; padding: 3px 0; font-size: 13px; }
.go-info-label { flex-shrink: 0; width: 80px; color: #999; }
.go-info-value { flex: 1; color: #333; word-break: break-all; }
.go-info-value.go-text-bold { font-weight: 600; }
.go-info-value.go-text-primary { color: #1a6eff; }
.go-info-row.go-text-red, .go-info-row.go-text-red .go-info-value { color: #ff4d4f; }
.go-info-qty { color: #ff6600; font-weight: 600; margin-left: 6px; font-size: 12px; }
.go-copyable { color: #1a6eff; text-decoration: underline; cursor: pointer; }

/* 结单照片 */
.go-proof-grid { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 10px; }
.go-proof-img { width: 60px; height: 60px; border-radius: 4px; object-fit: cover; cursor: pointer; }

/* 卡片底部（价格 + 按钮） */
.go-card-foot { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-top: 1px solid #f5f5f5; }
.go-price-box { display: flex; align-items: baseline; }
.go-price-label { font-size: 13px; color: #999; }
.go-price { font-size: 18px; color: #ff3333; font-weight: 700; }
.go-btn-row { display: flex; gap: 8px; }
.go-btn { border: none; border-radius: 20px; padding: 0 18px; height: 32px; line-height: 32px; font-size: 13px; font-weight: 600; cursor: pointer; }
.go-btn-grab { background: linear-gradient(135deg, #ff3333, #ff6633); color: #fff; animation: go-pulse 2s infinite; }
.go-btn-designated { background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%); color: #fff; }
.go-btn-action { background: #1a6eff; color: #fff; }
.go-btn-done { background: #52c41a; color: #fff; }
.go-btn-red { background: #ff4d4f; color: #fff; }
@keyframes go-pulse { 0% { transform: scale(1); } 50% { transform: scale(1.04); } 100% { transform: scale(1); } }

/* ============================================================
 * 2026-07 与小程序同步新增：
 * 统一收银台 / 提现规则入口 / 未成年确认 / 大区居中弹窗 /
 * 订单抽奖入口 / 技术支持同款名片 / 协议文档排版
 * ============================================================ */

/* ---- 统一收银台 ---- */
.cashier-page { min-height: 100vh; background: #f5f5f5; padding: 20px 15px 120px; box-sizing: border-box; }
.cashier-amount-wrap { text-align: center; padding: 15px 0 30px; }
.cashier-amount { color: #f5222d; font-weight: bold; line-height: 1; }
.cashier-amount-symbol { font-size: 22px; vertical-align: middle; margin-right: 2px; }
.cashier-amount-num { font-size: 40px; vertical-align: middle; }
.cashier-countdown { margin-top: 10px; font-size: 13px; color: #999; }
.cashier-countdown.is-expired { color: #ff4d4f; }
.cashier-pay-item { display: flex; align-items: center; justify-content: space-between; background: #fff; border-radius: 8px; padding: 15px; margin-bottom: 10px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03); cursor: pointer; border: 1.5px solid transparent; }
.cashier-pay-item.is-active { border-color: #07c160; }
.cashier-pay-info { display: flex; align-items: center; flex: 1; }
.cashier-pay-icon { width: 30px; height: 30px; margin-right: 12px; border-radius: 6px; object-fit: contain; }
.cashier-pay-title { font-size: 15px; color: #222; }
.cashier-pay-desc { margin-top: 2px; font-size: 11px; color: #999; }
.cashier-pay-check { width: 20px; height: 20px; border-radius: 50%; border: 1px solid #dcdcdc; box-sizing: border-box; position: relative; flex-shrink: 0; }
.cashier-pay-check.is-checked { border-color: #07c160; background: #07c160; }
.cashier-pay-check.is-checked::after { content: ''; position: absolute; left: 5px; top: 2px; width: 5px; height: 10px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.cashier-empty { text-align: center; color: #999; font-size: 13px; padding: 30px 0; }
.cashier-pay-bar { position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 15px calc(10px + env(safe-area-inset-bottom)); background: transparent; z-index: 100; }
.cashier-pay-btn { width: 100%; background: #fdd835; color: #222; height: 48px; border-radius: 24px; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 600; box-shadow: 0 3px 8px rgba(253, 216, 53, 0.35); border: none; }
.cashier-pay-btn.is-disabled { background: #e5e5e5; color: #999; box-shadow: none; }

/* ---- 提现规则入口 / 未缴罚款提醒 ---- */
.wd-rule-entry { margin: 0 12px 10px; background: #fff; border-radius: 8px; padding: 12px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04); cursor: pointer; }
.wd-rule-entry-left { display: flex; align-items: center; flex: 1; min-width: 0; }
.wd-rule-entry-bar { width: 3px; height: 14px; background: #1a6eff; border-radius: 2px; margin-right: 8px; flex-shrink: 0; }
.wd-rule-entry-text { font-size: 14px; color: #1a6eff; font-weight: 600; flex-shrink: 0; }
.wd-rule-entry-tip { font-size: 11px; color: #999; margin-left: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wd-rule-entry-arrow { font-size: 18px; color: #ccc; margin-left: 6px; }
.wd-fine-tip { margin: 0 12px 10px; padding: 12px 14px; background: #fff3f3; border-radius: 8px; border-left: 3px solid #ff4d4f; display: flex; align-items: center; justify-content: space-between; }
.wd-fine-tip-title { font-size: 14px; font-weight: bold; color: #ff4d4f; }
.wd-fine-tip-desc { font-size: 12px; color: #999; margin-top: 2px; }
.wd-fine-tip-btn { padding: 6px 14px; background: #ff4d4f; color: #fff; border-radius: 15px; font-size: 12px; flex-shrink: 0; cursor: pointer; }

/* ---- 下单页：未成年确认 / 大区居中小弹窗 ---- */
.minor-mask { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55); z-index: 9300; display: flex; align-items: center; justify-content: center; }
.minor-popup { width: 300px; max-width: 82vw; background: #fff; border-radius: 14px; padding: 24px 20px 18px; text-align: center; animation: modalIn .2s ease; }
.minor-title { font-size: 17px; font-weight: bold; color: #222; }
.minor-desc { margin-top: 10px; font-size: 13px; color: #666; line-height: 1.6; }
.minor-btns { display: flex; gap: 10px; margin-top: 20px; }
.minor-btn { flex: 1; height: 40px; border-radius: 20px; font-size: 14px; border: none; }
.minor-btn-cancel { background: #f2f2f2; color: #666; }
.minor-btn-confirm { background: linear-gradient(135deg, #1a6eff, #4d8eff); color: #fff; font-weight: bold; }
.region-mask { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); z-index: 9300; display: flex; align-items: center; justify-content: center; }
.region-popup { width: 200px; background: #fff; border-radius: 12px; overflow: hidden; animation: modalIn .2s ease; }
.region-item { padding: 15px 0; text-align: center; font-size: 15px; color: #333; border-bottom: 1px solid #f2f2f2; cursor: pointer; }
.region-item:last-child { border-bottom: none; }
.region-item:active { background: #f5f8ff; }

/* ---- 指定伙伴头像 ---- */
.assign-selected-avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.assign-selected-avatar-default { background: #1a6eff; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: bold; }
.search-avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.search-avatar-default { background: #1a6eff; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: bold; }
.search-item { justify-content: flex-start; gap: 8px; }
.search-item .search-name { flex: 1; }

/* ---- 订单列表：去抽奖按钮 ---- */
.ol-btn-lottery { background: linear-gradient(135deg, #fa8c16, #ffb024); color: #fff; }

/* ---- 订单追踪：转盘提示 / 立即支付 ---- */
.tracking-lottery { margin: 0 12px 10px; background: #fff; border-radius: 8px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04); border-left: 3px solid #fa8c16; cursor: pointer; }
.tracking-lottery.hidden { display: none; }
.tracking-lottery.is-drawn { border-left-color: #52c41a; cursor: default; }
.tracking-lottery-left { display: flex; align-items: center; min-width: 0; }
.tracking-lottery-icon { font-size: 24px; margin-right: 10px; }
.tracking-lottery-title { font-size: 14px; font-weight: bold; color: #333; }
.tracking-lottery-desc { font-size: 12px; color: #999; margin-top: 2px; }
.tracking-lottery-arrow { font-size: 13px; color: #fa8c16; flex-shrink: 0; }
.tracking-lottery-drawn { display: flex; align-items: center; font-size: 13px; color: #52c41a; }
.tracking-lottery-drawn-icon { margin-right: 6px; font-weight: bold; }

/* ---- 技术支持：搭建同款小程序名片 ---- */
.founder-card-img { width: 100%; max-width: 260px; margin: 0 auto; border-radius: 8px; display: block; cursor: pointer; }

/* 搭建同款俱乐部独立页 */
.build-club-page { padding-top: 16px; }
.build-club-hero {
  text-align: center;
  padding: 20px 0 22px;
}
.build-club-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}
.build-club-sub {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  letter-spacing: .5px;
}
.build-club-tip {
  margin: 14px 0 24px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
/* ---- 文档排版（隐私政策 / 用户协议 / 提现规则） ---- */
.doc-h { font-size: 15px; font-weight: bold; color: #222; margin: 18px 0 8px; }
.doc-p { font-size: 14px; color: #555; line-height: 1.9; margin-bottom: 4px; }
.doc-warn { color: #e53935; font-weight: 600; }
.doc-note { margin-top: 24px; font-size: 12px; color: #999; line-height: 1.7; }

/* ---- 下单前登录弹窗（微信 / 手机号） ---- */
.order-login-mask {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.order-login-card {
  width: 100%;
  max-width: 480px;
  max-height: 92vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 18px 18px 0 0;
  padding: 22px 20px calc(14px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.14);
}
.order-login-title {
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
}
.order-login-sub {
  font-size: 12px;
  color: #999;
  text-align: center;
  margin: 6px 0 16px;
}
.order-login-tabs {
  display: flex;
  background: #f5f6f8;
  border-radius: 8px;
  padding: 3px;
  margin-bottom: 16px;
}
.order-login-tab {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 9px 0;
  font-size: 14px;
  color: #666;
  border-radius: 6px;
  cursor: pointer;
}
.order-login-tab.active {
  background: #fff;
  color: #1a6eff;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.order-login-pane {
  flex-direction: column;
  gap: 12px;
}
.order-login-note {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  text-align: center;
  padding: 4px 0 2px;
}
.order-login-primary {
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 8px;
  background: #1a6eff;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.order-login-primary:active { opacity: 0.9; }
.order-login-primary[disabled] { opacity: 0.6; }
.order-login-cancel {
  width: 100%;
  height: 40px;
  border: 0;
  background: transparent;
  color: #999;
  font-size: 13px;
  margin-top: 6px;
  cursor: pointer;
}

/* ---- 下单：游戏大区 微信/QQ 分段选择 ---- */
.region-segment {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.region-seg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 76px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  background: #f7f7f7;
  color: #999;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  outline: none;
}
.region-seg.is-active {
  border-color: #ffb300;
  background: #fff8e1;
  color: #ff9800;
  font-weight: 600;
}
.region-seg-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  object-fit: contain;
}
.region-seg:not(.is-active) .region-seg-icon { opacity: .35; }

.ap-realname-card {
  background: #f8fbff;
  border: 1px solid #dcecff;
}
.ap-realname-desc {
  font-size: 12px;
  color: #888;
  line-height: 1.6;
  margin: 6px 0 12px;
}
.ap-realname-btn {
  width: 100%;
  height: 42px;
  border: 1px solid #1a6eff;
  border-radius: 8px;
  background: #1a6eff;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.ap-realname-btn.is-done {
  background: #fff;
  color: #1a6eff;
}
.ap-realname-passed {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #2e7d32;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}
.ap-realname-photo {
  display: block;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
  border: 1px solid #e8e8e8;
}



/* 收益查询：账单 */
.cm-bill-card {
  margin: 10px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}
.cm-bill-summary {
  padding: 14px 16px;
  border-bottom: 1px solid #f0f2f5;
}
.cm-bill-month {
  font-size: 14px;
  color: #333;
  font-weight: 600;
}
.cm-bill-month span {
  display: inline-block;
  margin-left: 6px;
  padding: 3px 8px;
  border-radius: 5px;
  background: #eef1f5;
  color: #667085;
  font-size: 12px;
  font-weight: 500;
}
.cm-bill-total {
  display: flex;
  gap: 18px;
  margin-top: 10px;
  color: #667085;
  font-size: 12px;
}
.cm-bill-total b { color: #172033; font-size: 14px; margin-left: 3px; }
.cm-bill-list { padding: 0 14px 4px; }
.cm-bill-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 4px;
  border-bottom: 1px solid #f2f4f7;
}
.cm-bill-item:last-child { border-bottom: none; }
.cm-bill-date { font-size: 14px; color: #333; font-weight: 600; }
.cm-bill-right { text-align: right; }
.cm-bill-amount { font-size: 14px; color: #172033; font-weight: 700; }
.cm-bill-orders { margin-top: 3px; font-size: 12px; color: #98a2b3; }
.cm-bill-empty { padding: 44px 0; text-align: center; color: #98a2b3; font-size: 13px; }

/* 提现页：统计 / 收款信息 */
.wd-stats-row {
  display: flex;
  background: #fff;
  border-radius: 10px;
  margin: 10px;
  padding: 14px 0;
}
.wd-stat-item { flex: 1; text-align: center; display: flex; flex-direction: column; gap: 3px; }
.wd-stat-item b { font-size: 19px; color: #172033; }
.wd-stat-item span { font-size: 11px; color: #98a2b3; }
.wd-income-section { background: #fff; border-radius: 10px; margin: 10px; padding: 4px 14px; }
.wd-income-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #f2f4f7; font-size: 13px; color: #667085; }
.wd-income-row:last-child { border-bottom: none; }
.wd-income-row b.green { color: #16a34a; }
.wd-income-row b.orange { color: #f59e0b; }
.wd-payment-section { background: #fff; border-radius: 10px; margin: 10px; padding: 14px; }
.wd-payment-head { display: flex; justify-content: space-between; font-size: 15px; font-weight: 700; color: #172033; margin-bottom: 8px; }
.wd-payment-head em { font-style: normal; font-size: 12px; color: #1a6eff; font-weight: 500; cursor: pointer; }
.wd-pay-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 13px; color: #8a96a8; }
.wd-pay-row b { color: #333; font-weight: 500; }
.wd-pay-types { display: flex; gap: 8px; margin: 8px 0 10px; }
.wd-pay-type { flex: 1; text-align: center; padding: 8px 0; border-radius: 6px; background: #f5f7fa; color: #667085; font-size: 13px; }
.wd-pay-type.active { background: #eef4ff; color: #1a6eff; font-weight: 600; }
.wd-pay-input { display: block; width: 100%; box-sizing: border-box; height: 36px; background: #f7f9fc; border-radius: 6px; padding: 0 10px; margin-bottom: 8px; font-size: 13px; border: 0; }
.wd-pay-save { display: block; width: 100%; height: 38px; border: 0; border-radius: 6px; background: #1a6eff; color: #fff; font-size: 13px; font-weight: 600; margin-top: 4px; }

.wd-balance-detail-row {
  display: flex;
  margin-top: 14px;
  padding-top: 11px;
  border-top: 1px solid rgba(255,255,255,.22);
}
.wd-balance-detail-row > div { flex: 1; text-align: left; }
.wd-balance-detail-row span { display: block; font-size: 11px; color: rgba(255,255,255,.78); margin-bottom: 3px; }
.wd-balance-detail-row b { font-size: 15px; color: #fff; }

.wd-qr-upload {
  width: 88px;
  height: 88px;
  border: 1px dashed #cfd9e8;
  border-radius: 8px;
  background: #fafbfd;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 4px 0 10px;
  font-size: 11px;
  color: #8a96a8;
  cursor: pointer;
}
.wd-qr-upload img { width: 100%; height: 100%; object-fit: contain; }
.wd-qr-display { margin-top: 8px; }
.wd-qr-display img { width: 76px; height: 76px; object-fit: contain; border-radius: 6px; }

.cm-bill-month-input {
  margin-left: 6px;
  padding: 4px 8px;
  border: 0;
  border-radius: 5px;
  background: #eef1f5;
  color: #667085;
  font-size: 12px;
  outline: none;
}

.mine-service-item .mine-service-img {
  width: 28px;
  height: 28px;
  margin: 0 0 5px;
  object-fit: contain;
}

/* 首页：进行中订单小方框 */
.home-active-order {
  margin: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #eef4ff, #f8fbff);
  border: 1px solid #dbe7ff;
  border-radius: 10px;
  cursor: pointer;
}
.home-active-order-icon {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #1a6eff; color: #fff; font-size: 18px; font-weight: 700; flex: none;
}
.home-active-order-info { flex: 1; min-width: 0; }
.home-active-order-kicker { font-size: 10px; color: #6b7a90; }
.home-active-order-name { font-size: 13px; color: #172033; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-active-order-status { font-size: 11px; color: #1a6eff; margin-top: 2px; }
.home-active-order-link { font-size: 11px; color: #1a6eff; flex: none; }

.tk-section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 15px 5px;
  font-size: 14px;
  font-weight: 700;
  color: #172033;
}
.tk-section-label em { font-style: normal; font-size: 11px; color: #98a2b3; font-weight: 400; }

/* 订单追踪：美团式状态卡 */
.tk-mt-card {
  margin: 10px;
  padding: 16px 14px 14px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(23,32,51,.05);
}
.tk-mt-head { display: flex; align-items: flex-start; gap: 8px; }
.tk-mt-bar { width: 5px; height: 30px; border-radius: 3px; background: #1a6eff; flex: none; margin-top: 2px; }
.tk-mt-card.completed .tk-mt-bar { background: #16a34a; }
.tk-mt-card.accepted .tk-mt-bar { background: #f59e0b; }
.tk-mt-title { font-size: 19px; font-weight: 800; color: #172033; line-height: 1.3; }
.tk-mt-desc { margin-top: 4px; font-size: 12px; color: #7b8798; line-height: 1.5; }
.tk-mt-progress { position: relative; display: flex; justify-content: space-between; margin-top: 18px; }
.tk-mt-progress::before {
  content: ''; position: absolute; left: 18px; right: 18px; top: 16px; height: 2px; background: #e7edf5;
}
.tk-mt-step { position: relative; z-index: 1; width: 20%; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.tk-mt-icon-wrap {
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: #fff; opacity: .38;
}
.tk-mt-icon-wrap.done,
.tk-mt-icon-wrap.active { opacity: 1; }
.tk-mt-icon-wrap.active { box-shadow: 0 0 0 3px rgba(26,110,255,.14); }
.tk-mt-icon { width: 30px; height: 30px; object-fit: contain; display: block; }
.tk-mt-dot {
  width: 17px; height: 17px; border-radius: 50%; background: #e7edf5; color: #fff;
  font-size: 10px; display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}
.tk-mt-dot.done { background: #1a6eff; }
.tk-mt-dot.active { background: #fff; border-color: #1a6eff; box-shadow: 0 0 0 2px rgba(26,110,255,.12); }
.tk-mt-label { font-size: 10px; color: #98a2b3; white-space: nowrap; }
.tk-mt-label.done { color: #1a6eff; font-weight: 600; }
.tk-mt-label.active { color: #172033; font-weight: 600; }

.tk-pull-tip {
  position: fixed;
  top: 6px;
  left: 50%;
  transform: translate(-50%, -60px);
  z-index: 50;
  padding: 7px 16px;
  border-radius: 16px;
  background: rgba(23,32,51,.86);
  color: #fff;
  font-size: 12px;
  opacity: 0;
  transition: all .2s;
  pointer-events: none;
}
.tk-pull-tip.show { transform: translate(-50%, 0); opacity: 1; }

.home-active-order-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  background: #eef4ff;
}

.tracking-player-profile { display: flex; align-items: center; gap: 8px; }
.tracking-player-avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; }
.tracking-player-avatar-fallback {
  display: flex; align-items: center; justify-content: center;
  background: #1a6eff; color: #fff; font-size: 13px; font-weight: 600;
}

/* 订单追踪：商品地图框 */
.tk-product-map {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 10px 10px;
  padding: 13px;
  border: 1px solid #e1ebff;
  border-radius: 12px;
  background:
    radial-gradient(circle at 12% 20%, rgba(26,110,255,.08), transparent 32%),
    radial-gradient(circle at 88% 80%, rgba(26,110,255,.07), transparent 34%),
    #f7faff;
  overflow: hidden;
}
.tk-map-line { position: absolute; left: 42px; right: 42px; top: 50%; border-top: 1px dashed #b9d2ff; }
.tk-map-pin { position: absolute; right: 52px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: #1a6eff; box-shadow: 0 0 0 4px rgba(26,110,255,.12); }
.tk-product-thumb { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 8px; overflow: hidden; flex: none; background: #eef4ff; }
.tk-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tk-product-thumb span { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #1a6eff; font-size: 20px; font-weight: 700; }
.tk-product-info { position: relative; z-index: 1; flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.tk-product-tag { font-size: 10px; color: #7b8798; }
.tk-product-name { font-size: 14px; color: #172033; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-product-qty { font-size: 11px; color: #98a2b3; }
.tk-product-route { position: relative; z-index: 1; padding: 3px 8px; border-radius: 12px; background: #e8f1ff; color: #1a6eff; font-size: 10px; flex: none; }

.go-inline-back {
  width: 34px;
  flex: none;
  border: 0;
  background: transparent;
  color: #172033;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.go-inline-back:active { opacity: .6; }

.tk-inline-back {
  width: 30px;
  height: 30px;
  margin-left: -4px;
  flex: none;
  border: 0;
  background: transparent;
  color: #172033;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.tk-inline-back:active { opacity: .6; }

.al-inline-back {
  width: 34px;
  height: 34px;
  flex: none;
  margin-right: 4px;
  border: 0;
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.2));
}
.al-inline-back:active { opacity: .65; }
