/* =====================================================
 * 卿悦到家 · JoyKin
 * 大同市卿悦健康科技有限公司
 * Theme: Rose gold / Lavender pink
 * ===================================================== */

:root {
  --c-primary: #D4828F;
  --c-primary-dark: #B25F6F;
  --c-primary-soft: #F4C9D2;
  --c-rose: #E8A4B0;
  --c-rose-gold: linear-gradient(135deg, #F5C6CB 0%, #D4A5A5 50%, #B98C9A 100%);
  --c-rose-gold-solid: #B98C9A;
  --c-gold: #C9A87C;
  --c-lavender: #E8D5DC;
  --c-lavender-deep: #9985B0;

  --c-bg: linear-gradient(180deg, #FFE9EC 0%, #F5E0F0 50%, #E8D5DC 100%);
  --c-card: #FFFFFF;
  --c-card-soft: #FFFBFC;

  --c-text: #3D2E2E;
  --c-text-2: #6B5959;
  --c-text-3: #8B7575;
  --c-text-light: #B0A0A0;

  --c-border: #F0D9DD;
  --c-divider: #F8E8EB;

  --c-success: #6F9572;
  --c-warning: #C9A87C;
  --c-danger:  #C5707E;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(180, 130, 140, 0.08);
  --shadow-md: 0 4px 16px rgba(180, 130, 140, 0.12);
  --shadow-lg: 0 8px 32px rgba(180, 130, 140, 0.18);
  --shadow-rose: 0 8px 24px rgba(212, 130, 143, 0.32);

  --font-serif: 'STSong', '思源宋体', 'Songti SC', serif;
  --font-sans: -apple-system, 'PingFang SC', 'Helvetica Neue', 'Microsoft YaHei', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  height: 100%;
  font-family: var(--font-sans);
  color: var(--c-text);
  background: #F2E8E9;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

button { font: inherit; color: inherit; border: none; background: none; cursor: pointer; outline: none; }
a { color: inherit; text-decoration: none; }
input, textarea { font: inherit; }
img { display: block; max-width: 100%; }

/* =====================================================
 * 桌面预览外壳 - 手机壳框架
 * ===================================================== */
.shell {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, #3a2a2e 0%, #1f1416 100%);
  position: relative;
  overflow: hidden;
}

.shell::before {
  content: '卿悦到家 · 本页为手机端页面，建议使用手机打开';
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  letter-spacing: 4px;
  font-family: var(--font-serif);
}

.brand-bar {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 24px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  letter-spacing: 2px;
}
.brand-bar a {
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  transition: all 0.3s;
}
.brand-bar a:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.4); }

.phone {
  width: 390px;
  height: 820px;
  max-height: calc(100vh - 24px);
  background: #fff;
  border-radius: 44px;
  overflow: hidden;
  box-shadow:
    0 0 0 8px #1a1012,
    0 0 0 10px #2a1a1e,
    0 30px 80px rgba(0, 0, 0, 0.6);
  position: relative;
}

@media (max-width: 768px) {
  .shell {
    background: var(--c-card);
  }
  .shell::before, .brand-bar { display: none; }
  .phone {
    width: 100%;
    height: 100vh;
    border-radius: 0;
    box-shadow: none;
  }
}

/* =====================================================
 * 状态栏 + App 容器
 * ===================================================== */
.status-bar {
  height: 36px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  position: relative;
  z-index: 5;
}
.status-bar.light { color: #fff; }
.status-bar.dark  { color: var(--c-text); }

.status-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}
.status-icons svg { width: 14px; height: 14px; }

.app {
  height: calc(100% - 36px);
  display: flex;
  flex-direction: column;
  background: var(--c-bg);
  position: relative;
  overflow: hidden;
}

.app-header {
  height: 44px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  position: relative;
  z-index: 4;
}

.header-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  font-size: 18px;
  color: #fff;
  transition: background 0.2s;
}
.header-btn:active { background: rgba(255, 255, 255, 0.15); }

.brand-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 4px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.brand-title-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* =====================================================
 * View 切换
 * ===================================================== */
.views {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.view {
  position: absolute;
  inset: 0;
  padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--c-bg);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.view.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.view::-webkit-scrollbar { width: 0; }

/* =====================================================
 * 底部 Tab Bar
 * ===================================================== */
.tab-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 64px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-top: 1px solid var(--c-divider);
  z-index: 10;
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
}

.tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 0;
  color: var(--c-text-3);
  transition: color 0.2s;
  position: relative;
}
.tab .tab-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: transform 0.25s ease;
}
.tab .tab-label {
  font-size: 11px;
  letter-spacing: 1px;
}
.tab.active {
  color: var(--c-primary);
}
.tab.active .tab-icon {
  transform: translateY(-2px) scale(1.1);
}
.tab.active::before {
  content: '';
  position: absolute;
  top: 0;
  width: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--c-rose), var(--c-primary));
  border-radius: 0 0 3px 3px;
}

/* =====================================================
 * Hero Banner
 * ===================================================== */
.hero {
  position: relative;
  height: 320px;
  background: linear-gradient(135deg, #D4828F 0%, #B25F6F 50%, #6B3A48 100%);
  color: #fff;
  overflow: hidden;
  margin-bottom: 20px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.18) 0%, transparent 30%),
    radial-gradient(circle at 20% 80%, rgba(212, 164, 168, 0.4) 0%, transparent 40%);
}

.hero-deco {
  position: absolute;
  font-family: var(--font-serif);
  font-size: 240px;
  font-weight: 700;
  top: -30px;
  right: -20px;
  color: rgba(255, 255, 255, 0.04);
  letter-spacing: -10px;
  user-select: none;
  pointer-events: none;
}

.hero-tagline {
  position: relative;
  font-size: 11px;
  letter-spacing: 8px;
  color: rgba(255, 255, 255, 0.85);
  padding: 56px 24px 0;
  text-transform: uppercase;
}
.hero-tagline span {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
}

.hero-title {
  position: relative;
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 6px;
  margin: 18px 24px 14px;
  line-height: 1.15;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(90deg, #FFE6CB, #F5C6CB, #E8A4B0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  position: relative;
  font-size: 12px;
  line-height: 1.8;
  margin: 0 24px;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 2px;
  max-width: 320px;
}

/* =====================================================
 * Section
 * ===================================================== */
.section {
  padding: 0 16px;
  margin-bottom: 24px;
}

/* 首页 · 技师招募 banner */
.recruit-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin: 4px 16px 0; padding: 15px 16px;
  background: linear-gradient(135deg, rgba(212,130,143,.12), rgba(212,130,143,.04));
  border: 1px dashed rgba(212,130,143,.45);
  border-radius: var(--radius-md);
  text-decoration: none; box-shadow: var(--shadow-sm);
}
.recruit-text { min-width: 0; }
.recruit-title { font-size: 15px; font-weight: 700; color: var(--c-text); letter-spacing: .5px; }
.recruit-sub { font-size: 10.5px; color: var(--c-text-2); margin-top: 3px; }
.recruit-btn {
  flex-shrink: 0; padding: 7px 14px;
  background: var(--c-primary); color: #fff;
  border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap;
}
.recruit-banner:active .recruit-btn { opacity: .8; }

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 0 4px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--c-text);
  position: relative;
  padding-left: 12px;
}
.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: linear-gradient(180deg, var(--c-rose), var(--c-primary));
  border-radius: var(--radius-pill);
}

.section-action {
  font-size: 12px;
  color: var(--c-text-3);
  display: flex;
  align-items: center;
  gap: 2px;
}

/* =====================================================
 * Service Card
 * ===================================================== */
.service-list {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.service-card {
  display: flex;
  align-items: stretch;
  background: var(--c-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:active {
  transform: scale(0.985);
  box-shadow: var(--shadow-md);
}

.service-image {
  width: 132px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.service-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cover, linear-gradient(135deg, #FFE0E5, #F4C9D2));
}

.service-image .cover-label {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-pill);
  font-size: 10px;
  color: var(--c-primary-dark);
  font-weight: 600;
  letter-spacing: 1px;
}

.service-image .cover-emoji {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12));
}

.service-info {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.service-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.service-sales {
  font-size: 11px;
  color: var(--c-text-3);
  margin-bottom: 8px;
}

.service-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}
.price-now {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-danger);
}
.price-now::first-letter { font-size: 14px; }
.price-old {
  font-size: 12px;
  color: var(--c-text-light);
  text-decoration: line-through;
}

.service-duration {
  font-size: 11px;
  color: var(--c-text-3);
  display: flex;
  align-items: center;
  gap: 4px;
}
.service-duration::before {
  content: '🕒';
  font-size: 10px;
}

.btn-book {
  align-self: flex-end;
  margin: 0 12px 12px 0;
  padding: 8px 14px;
  background: linear-gradient(135deg, #D4828F 0%, #B25F6F 100%);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: var(--shadow-rose);
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-book:active {
  transform: scale(0.96);
  box-shadow: 0 4px 12px rgba(212, 130, 143, 0.4);
}

/* =====================================================
 * 通用按钮
 * ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, #D4828F 0%, #B25F6F 100%);
  color: #fff;
  box-shadow: var(--shadow-rose);
}
.btn-primary:active { transform: scale(0.97); }
.btn-outline {
  background: transparent;
  color: var(--c-primary);
  border: 1px solid var(--c-primary);
}
.btn-soft {
  background: var(--c-primary-soft);
  color: var(--c-primary-dark);
}
.btn-ghost {
  background: rgba(212, 130, 143, 0.08);
  color: var(--c-primary);
}
.btn-block { width: 100%; }
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* =====================================================
 * Tag / Chip
 * ===================================================== */
.chip-row {
  display: flex;
  gap: 8px;
  padding: 0 16px;
  margin-bottom: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.chip-row::-webkit-scrollbar { display: none; }

.chip {
  flex-shrink: 0;
  padding: 6px 14px;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  font-size: 12px;
  color: var(--c-text-2);
  white-space: nowrap;
  transition: all 0.2s;
}
.chip.active {
  background: linear-gradient(135deg, #D4828F 0%, #B25F6F 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-rose);
}

.tag {
  display: inline-block;
  padding: 2px 8px;
  background: var(--c-lavender);
  color: #6B3A48;
  font-size: 10px;
  border-radius: var(--radius-pill);
  margin-right: 4px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}

/* =====================================================
 * Therapist Card
 * ===================================================== */
.therapist-list {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.therapist-card {
  display: flex;
  background: var(--c-card);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}
.therapist-card:active { transform: scale(0.99); }

.therapist-avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 36px;
  color: #fff;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  position: relative;
  flex-shrink: 0;
  margin-right: 12px;
}
.therapist-avatar .level-badge {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 8px;
  background: var(--c-rose-gold);
  color: #fff;
  font-size: 9px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.therapist-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.therapist-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--c-text);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}
.therapist-name .gender-icon {
  font-size: 12px;
}
.therapist-name .gender-icon.f { color: var(--c-danger); }
.therapist-name .gender-icon.m { color: #5A7AA8; }

.therapist-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--c-text-3);
  margin-bottom: 6px;
}
.therapist-rating .star { color: var(--c-gold); }

.therapist-intro {
  font-size: 11px;
  color: var(--c-text-2);
  line-height: 1.5;
  margin-bottom: 6px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.therapist-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
.therapist-meta .price {
  font-size: 12px;
  color: var(--c-text-2);
}
.therapist-meta .price strong {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--c-danger);
}
.therapist-meta .price strong::first-letter { font-size: 12px; }

.btn-book-sm {
  padding: 6px 14px;
  background: linear-gradient(135deg, #D4828F 0%, #B25F6F 100%);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}
.btn-book-sm:active { transform: scale(0.95); }

/* =====================================================
 * Order Page
 * ===================================================== */
.order-tabs {
  display: flex;
  padding: 12px 16px;
  gap: 14px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--c-divider);
  position: sticky;
  top: 0;
  z-index: 5;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.order-tabs::-webkit-scrollbar { display: none; }

.order-tab {
  flex-shrink: 0;
  padding: 6px 0;
  font-size: 13px;
  color: var(--c-text-3);
  position: relative;
  letter-spacing: 1px;
  white-space: nowrap;
}
.order-tab.active {
  color: var(--c-primary-dark);
  font-weight: 600;
}
.order-tab.active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--c-rose), var(--c-primary));
  border-radius: var(--radius-pill);
}

.order-list {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-card {
  background: var(--c-card);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-sm);
}

.order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--c-divider);
  margin-bottom: 10px;
  font-size: 11px;
  color: var(--c-text-3);
}
.order-head .status-badge {
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 11px;
}

.order-body {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}
.order-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #FFE9EC, #F4C9D2);
  overflow: hidden;
}
.order-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.order-info {
  flex: 1;
  min-width: 0;
}
.order-info-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.order-info-meta {
  font-size: 11px;
  color: var(--c-text-3);
  line-height: 1.7;
}
.order-info-meta span {
  display: inline-block;
  margin-right: 10px;
}

/* 订单卡右侧价格列：固定不压缩，避免长金额被挤压换行 */
.order-price {
  flex-shrink: 0;
  align-self: center;
  text-align: right;
  min-width: 62px;
  max-width: 92px;
}
.order-price-amt {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--c-danger);
  font-size: 18px;
  line-height: 1.2;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}
.order-price-cut {
  font-size: 10px;
  color: var(--c-success);
  margin-top: 2px;
  white-space: nowrap;
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px dashed var(--c-divider);
}
.order-actions .btn {
  padding: 6px 12px;
  font-size: 12px;
  letter-spacing: 0;
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 64px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  color: var(--c-text-3);
  text-align: center;
}
.empty-state .emoji {
  font-size: 80px;
  opacity: 0.6;
  margin-bottom: 16px;
  filter: grayscale(0.3);
}
.empty-state .tip {
  font-size: 13px;
  color: var(--c-text-light);
}

/* =====================================================
 * Profile
 * ===================================================== */
.profile-head {
  margin: -16px -16px 16px;
  padding: 24px 16px 36px;
  background: linear-gradient(135deg, #D4828F 0%, #B25F6F 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.profile-head::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.18) 0%, transparent 50%);
}
.profile-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}
.profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F5C6CB 0%, #C9A87C 100%);
  border: 3px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 26px;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}
.profile-info { flex: 1; }
.profile-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: 2px;
}
.profile-level {
  font-size: 11px;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-right: 6px;
}
.profile-phone {
  font-size: 11px;
  opacity: 0.85;
  letter-spacing: 1px;
}

.profile-stats {
  position: relative;
  display: flex;
  justify-content: space-around;
  margin: 0 -16px -36px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(20px);
}
.stat-item {
  text-align: center;
  flex: 1;
}
.stat-num {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--c-primary-dark);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 11px;
  color: var(--c-text-3);
  letter-spacing: 1px;
}

.menu-list {
  margin: 0 16px 16px;
  background: var(--c-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.menu-row {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--c-divider);
  transition: background 0.2s;
}
.menu-row:last-child { border-bottom: none; }
.menu-row:active { background: var(--c-card-soft); }

.menu-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-right: 12px;
  flex-shrink: 0;
}

.menu-icon.icon-coupon  { background: rgba(212, 130, 143, 0.12); color: var(--c-primary); }
.menu-icon.icon-fav     { background: rgba(212, 100, 130, 0.12); color: var(--c-danger); }
.menu-icon.icon-addr    { background: rgba(201, 168, 124, 0.18); color: #b08346; }
.menu-icon.icon-order   { background: rgba(111, 149, 114, 0.16); color: var(--c-success); }
.menu-icon.icon-svc     { background: rgba(153, 133, 176, 0.18); color: var(--c-lavender-deep); }
.menu-icon.icon-help    { background: rgba(212, 130, 143, 0.12); color: var(--c-primary); }
.menu-icon.icon-about   { background: rgba(153, 133, 176, 0.18); color: var(--c-lavender-deep); }
.menu-icon.icon-logout  { background: rgba(176, 160, 160, 0.16); color: var(--c-text-3); }

.menu-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.menu-title {
  font-size: 14px;
  color: var(--c-text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.menu-tip {
  font-size: 11px;
  color: var(--c-text-3);
  margin-top: 2px;
}
.menu-arrow {
  color: var(--c-text-light);
  font-size: 16px;
}
.menu-extra {
  font-size: 11px;
  color: var(--c-text-3);
  margin-right: 8px;
}

/* =====================================================
 * Modal
 * ===================================================== */
.modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(40, 20, 24, 0.45);
  z-index: 50;
  display: none;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
}
.modal-mask.show {
  display: flex;
  opacity: 1;
}

.modal {
  position: relative;
  width: 100%;
  max-height: 80%;
  background: #fff;
  border-radius: 24px 24px 0 0;
  /* 弹层本体不滚动，滚动交给 .modal-scroll —— 这样 ✕ 永远在可视区顶部 */
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
/* 滚动容器：内容自然高，超过 max-height 才内部滚动 */
.modal-scroll {
  flex: 0 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: none;
  padding: 26px 20px 32px;
}
.modal-scroll::-webkit-scrollbar { width: 0; height: 0; display: none; }
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 6;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(60, 40, 42, 0.10);
  color: #4a2e32;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 4px rgba(60, 40, 42, 0.18);
  transition: transform .15s ease, background .15s ease;
}
.modal-close:active { background: rgba(60, 40, 42, 0.22); transform: scale(0.9); }
/* 注意：不要在 .modal 或其祖先上使用 transform —— 会破坏内部固定定位元素的参照系（历史坑） */

.modal-handle {
  width: 40px;
  height: 4px;
  background: var(--c-border);
  border-radius: var(--radius-pill);
  margin: 0 auto 16px;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--c-text);
  text-align: center;
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.modal-sub {
  font-size: 12px;
  color: var(--c-text-3);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.service-detail-image {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}
.service-detail-image .label {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-pill);
  font-size: 11px;
  color: var(--c-primary-dark);
  font-weight: 600;
  letter-spacing: 1px;
}

.modal-section {
  margin-bottom: 18px;
}

.modal-section-title {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 10px;
  letter-spacing: 2px;
  padding-left: 10px;
  border-left: 3px solid var(--c-primary);
}

.modal-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.toast {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  background: rgba(40, 20, 24, 0.88);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 13px;
  letter-spacing: 1px;
  z-index: 60;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =====================================================
 * Technician Portal
 * ===================================================== */
.tech-shell {
  background: linear-gradient(180deg, #1A1014 0%, #2A1A1E 100%);
}

.login-page {
  position: absolute;
  inset: 0;
  padding: 80px 32px 40px;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(212, 164, 168, 0.3) 0%, transparent 50%),
    linear-gradient(180deg, #D4828F 0%, #B25F6F 60%, #6B3A48 100%);
  color: #fff;
  z-index: 20;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.login-page::-webkit-scrollbar { width: 0; height: 0; display: none; }

.login-logo {
  position: relative;
  text-align: center;
  margin-bottom: 60px;
}
.login-logo .logo-mark {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 12px;
  background: linear-gradient(135deg, #FFE6CB 0%, #F5C6CB 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 4px 24px rgba(255, 200, 200, 0.3);
  margin-bottom: 8px;
}
.login-logo .logo-sub {
  font-size: 13px;
  letter-spacing: 8px;
  opacity: 0.85;
  margin-bottom: 4px;
}
.login-logo .logo-tag {
  font-size: 11px;
  letter-spacing: 4px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  display: inline-block;
  backdrop-filter: blur(8px);
}

.login-form {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  color: var(--c-text);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.login-form-title {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--c-text);
  margin-bottom: 8px;
}
.login-form-sub {
  text-align: center;
  font-size: 12px;
  color: var(--c-text-3);
  margin-bottom: 28px;
  letter-spacing: 1px;
}

.form-field {
  margin-bottom: 18px;
}
.form-label {
  font-size: 12px;
  color: var(--c-text-2);
  margin-bottom: 6px;
  display: block;
  letter-spacing: 1px;
}
.form-input {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 1.5px solid var(--c-border);
  background: transparent;
  font-size: 18px;
  color: var(--c-text);
  outline: none;
  letter-spacing: 2px;
  font-family: var(--font-serif);
  transition: border-color 0.2s;
}
.form-input:focus {
  border-bottom-color: var(--c-primary);
}
.form-input::placeholder {
  color: var(--c-text-light);
  font-size: 14px;
  letter-spacing: 1px;
  font-family: var(--font-sans);
}

.form-row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}
.form-row .form-field { flex: 1; margin-bottom: 0; }
.btn-code {
  padding: 12px 16px;
  background: var(--c-primary-soft);
  color: var(--c-primary-dark);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  margin-bottom: 0;
}

.login-btn {
  width: 100%;
  padding: 14px;
  margin-top: 28px;
  background: linear-gradient(135deg, #D4828F 0%, #B25F6F 100%);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 8px;
  box-shadow: var(--shadow-rose);
  transition: all 0.2s;
}
.login-btn:active { transform: scale(0.98); }

.login-footer {
  margin-top: 28px;
  text-align: center;
  font-size: 11.5px;
  color: var(--c-text-3);
  line-height: 2;
  position: relative;
  padding: 14px 8px 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.25);
}
.login-footer .link,
.login-footer .login-link {
  color: var(--c-primary);
  font-weight: 600;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(212, 130, 143, 0.08);
  transition: all 0.15s;
  display: inline-block;
}
.login-footer .login-link:hover {
  background: rgba(212, 130, 143, 0.18);
  text-decoration: underline;
}
.login-footer .login-link:active {
  transform: scale(0.97);
}

/* Technician Dashboard */
.tech-app-header {
  background: var(--c-card);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--c-divider);
  position: sticky;
  top: 0;
  z-index: 4;
}
.tech-greeting {
  flex: 1;
}
.tech-greeting .hello {
  font-size: 11px;
  color: var(--c-text-3);
  letter-spacing: 2px;
}
.tech-greeting .name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--c-text);
  letter-spacing: 2px;
  margin-top: 2px;
}
.tech-status-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(111, 149, 114, 0.12);
  color: var(--c-success);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
}
.tech-status-toggle.off {
  background: rgba(176, 160, 160, 0.16);
  color: var(--c-text-3);
}

.tech-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-success);
  position: relative;
  animation: pulse 2s infinite;
}
.tech-status-toggle.off .tech-status-dot {
  background: var(--c-text-light);
  animation: none;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(111, 149, 114, 0.4); }
  50%      { box-shadow: 0 0 0 6px rgba(111, 149, 114, 0); }
}

.tech-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px;
}
.tech-stat-card {
  background: var(--c-card);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.tech-stat-card .icon-bg {
  position: absolute;
  right: -10px;
  top: -10px;
  font-size: 60px;
  opacity: 0.08;
}
.tech-stat-card .label {
  font-size: 11px;
  color: var(--c-text-3);
  letter-spacing: 1px;
  position: relative;
}
.tech-stat-card .value {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.2;
  position: relative;
}
.tech-stat-card .delta {
  font-size: 10px;
  color: var(--c-text-3);
  position: relative;
}
.tech-stat-card .delta.up { color: var(--c-success); }
.tech-stat-card .delta.down { color: var(--c-danger); }

.tech-stat-card.earn .value { color: var(--c-danger); }
.tech-stat-card.order .value { color: var(--c-primary-dark); }
.tech-stat-card.rate  .value { color: var(--c-gold); }
.tech-stat-card.count .value { color: var(--c-lavender-deep); }

/* Tech Order List */
.tech-order-card {
  background: var(--c-card);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tech-order-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--c-text-3);
}
.tech-order-top .id { font-family: 'SF Mono', monospace; }
.tech-order-top .status-badge {
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  letter-spacing: 1px;
}

.tech-order-body {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tech-order-emoji {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
  overflow: hidden;
}
.tech-order-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tech-order-body .name {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 4px;
}
.tech-order-body .row {
  font-size: 11px;
  color: var(--c-text-3);
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.5;
}
.tech-order-body .row strong {
  color: var(--c-text-2);
  font-weight: 500;
}

.tech-order-body .right {
  margin-left: auto;
  text-align: right;
  font-family: var(--font-serif);
}
.tech-order-body .price {
  font-size: 22px;
  font-weight: 700;
  color: var(--c-danger);
  line-height: 1.2;
}
.tech-order-body .price::first-letter { font-size: 14px; }
.tech-order-body .duration {
  font-size: 10px;
  color: var(--c-text-3);
  letter-spacing: 1px;
}

.tech-order-note {
  font-size: 11px;
  color: var(--c-warning);
  background: rgba(201, 168, 124, 0.12);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--c-warning);
  line-height: 1.5;
}
.tech-order-note strong { font-weight: 600; }

.tech-order-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--c-divider);
}
.tech-order-actions.single { grid-template-columns: 1fr; }
.tech-order-actions .btn {
  padding: 10px;
  font-size: 13px;
  letter-spacing: 1px;
}

.tech-action {
  padding: 14px 16px;
  text-align: center;
  background: var(--c-card);
  border-radius: var(--radius-md);
  border: 1.5px dashed var(--c-border);
  color: var(--c-text-3);
  font-size: 13px;
  letter-spacing: 1px;
  margin: 0 16px 16px;
  transition: all 0.2s;
}
.tech-action:active {
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.tech-section {
  padding: 0 16px;
  margin-bottom: 18px;
}
.tech-section .title-bar {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 10px;
  color: var(--c-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tech-section .title-bar .more {
  font-size: 11px;
  color: var(--c-text-3);
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 1px;
}

.tech-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  background: var(--c-card);
  padding: 16px 8px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.tech-quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  font-size: 11px;
  color: var(--c-text-2);
  letter-spacing: 1px;
  transition: all 0.2s;
  cursor: pointer;
  border-radius: var(--radius-md);
}
.tech-quick-item:active {
  background: var(--c-lavender);
  transform: scale(0.96);
}
.tech-quick-item .ic {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  font-size: 22px;
  background: linear-gradient(135deg, #FFE9EC 0%, #F4C9D2 100%);
  box-shadow: 0 4px 10px rgba(212, 130, 143, 0.15);
}

/* Earnings Bar */
.earn-bar-wrap {
  padding: 16px;
}
.earn-card {
  background: linear-gradient(135deg, #D4828F 0%, #B25F6F 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-rose);
}
.earn-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.18) 0%, transparent 50%);
  /* 装饰性伪元素不响应点击 —— 否则会盖住卡片内的按钮（技师端「申请提现」点击无效的根因） */
  pointer-events: none;
}
.earn-card .label {
  font-size: 12px;
  letter-spacing: 2px;
  opacity: 0.85;
  position: relative;
}
.earn-card .total {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 8px 0 4px;
  position: relative;
}
.earn-card .total::first-letter { font-size: 24px; }
.earn-card .meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  opacity: 0.9;
  position: relative;
}
.earn-card .meta div .v {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

.earn-quick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
  position: relative;
}
.earn-quick .pill {
  background: rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 10px 6px;
  text-align: center;
}
.earn-quick .pill .v {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}
.earn-quick .pill .l {
  font-size: 10px;
  opacity: 0.85;
  letter-spacing: 1px;
}

/* Tech Profile */
.tech-profile-head {
  margin: -16px -16px 16px;
  padding: 32px 16px 60px;
  background: linear-gradient(135deg, #D4828F 0%, #B25F6F 100%);
  color: #fff;
  position: relative;
  text-align: center;
}
.tech-profile-head::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.18) 0%, transparent 50%);
}
.tech-avatar-lg {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 10px;
  background: linear-gradient(135deg, #F5C6CB 0%, #C9A87C 100%);
  border: 3px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 32px;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  position: relative;
}
.tech-avatar-lg .check {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 24px;
  height: 24px;
  background: var(--c-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #fff;
  border: 2px solid #fff;
}
.tech-profile-head .name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 3px;
  position: relative;
}
.tech-profile-head .title {
  font-size: 11px;
  letter-spacing: 2px;
  opacity: 0.85;
  margin-top: 4px;
  position: relative;
}
.tech-profile-head .badges {
  margin-top: 12px;
  display: flex;
  gap: 6px;
  justify-content: center;
  position: relative;
}
.tech-profile-head .badges span {
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  font-size: 10px;
  letter-spacing: 1px;
  backdrop-filter: blur(8px);
}

.tech-detail-card {
  background: var(--c-card);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  margin: 0 16px 16px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  position: relative;
  z-index: 2;
  margin-top: -36px;
}
.tech-detail-card .item .v {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--c-primary-dark);
  line-height: 1.2;
  display: block;
}
.tech-detail-card .item .l {
  font-size: 10px;
  color: var(--c-text-3);
  letter-spacing: 1px;
  margin-top: 2px;
}

/* =====================================================
 * Toast
 * ===================================================== */
.toast.tech {
  background: var(--c-primary);
  color: #fff;
}

/* Switch tab bar - tech */
.tech-tab-bar {
  border-top: 1px solid var(--c-divider);
  padding-top: 6px;
}

/* 通知/演示标记 */
.demo-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  font-size: 10px;
  letter-spacing: 1px;
  z-index: 6;
  backdrop-filter: blur(8px);
}

/* skeleton / loading */
.skeleton {
  background: linear-gradient(90deg, #f5eded 0%, #fbe9eb 50%, #f5eded 100%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* =====================================================
 * 首页重设计 (参考逸享上门)
 * ===================================================== */

/* 首页 Header */
.home-header {
  background: var(--c-card);
  border-bottom: 1px solid var(--c-divider);
  height: 58px;
  padding: 0 12px;
  justify-content: space-between;
  align-items: center;
}
.home-header .header-location {
  display: flex;
  align-items: center;
  gap: 2px;
  background: none;
  border: none;
  color: var(--c-text-2);
  font-size: 12px;
  padding: 4px;
  cursor: pointer;
  flex-shrink: 0;
}
.home-header .loc-pin { font-size: 14px; }
.home-header .loc-text { max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-header .loc-arrow { font-size: 9px; color: var(--c-text-light); margin-left: 2px; }

.home-header .brand-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.home-header .brand-block .brand-title {
  color: var(--c-text);
  text-shadow: none;
  font-size: 14px;
  letter-spacing: 0.5px;
  line-height: 1.2;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

/* 首页顶部 · 横版品牌区（双行文字 + 小 logo） */
.home-header .brand-block .brand-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  min-width: 0;
}
.home-header .brand-block .brand-text .brand-title {
  font-family: var(--font-serif, Georgia, "Songti SC", "STSong", serif);
  font-size: 13px;
  font-weight: 700;
  color: var(--c-primary-dark, #B25F6F);
  letter-spacing: 1px;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 100%;
}
.home-header .brand-block .brand-text .brand-sub {
  font-size: 9.5px;
  font-weight: 500;
  color: var(--c-text-3, #8a7b7e);
  letter-spacing: 0.6px;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 100%;
}
.home-header .brand-url {
  font-size: 9px;
  color: var(--c-text-light);
  letter-spacing: 0.5px;
  transform: scale(0.92);
}

/* 后端运营看板 */
.ops-bar {
  margin: 10px 14px 6px;
  padding: 8px 10px;
  background: var(--c-card);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-around;
  box-shadow: var(--shadow-sm);
  font-size: 11px;
  color: var(--c-text-3);
  position: relative;
  overflow: hidden;
}
.ops-bar::before { content: none; }
.ops-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.ops-item strong {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1;
}
.ops-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-text-light);
  margin-bottom: 1px;
}
.ops-dot.on {
  background: var(--c-success);
  box-shadow: 0 0 0 0 rgba(111, 149, 114, 0.4);
  animation: opsPulse 2s infinite;
}
@keyframes opsPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(111, 149, 114, 0.4); }
  50% { box-shadow: 0 0 0 5px rgba(111, 149, 114, 0); }
}
.ops-div { width: 1px; height: 20px; background: var(--c-divider); }


/* =====================================================
 * 首页 · 高端滚动图片轮播（自动 + 触摸暂停）
 * ===================================================== */
.banner-carousel {
  position: relative;
  margin: 10px 0 14px;
}
.banner-track {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 0 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.banner-track::-webkit-scrollbar { display: none; }
.banner-slide {
  flex: 0 0 calc(86vw - 14px);
  max-width: 380px;
  height: 176px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: 0 8px 22px rgba(60, 40, 42, 0.22);
  flex-shrink: 0;
}
.banner-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.banner-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(40,20,24,0) 0%, rgba(40,20,24,0) 40%, rgba(40,20,24,0.75) 100%);
  pointer-events: none;
}
.banner-text {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 18px 16px;
  color: #fff;
  z-index: 2;
}
.banner-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  font-size: 9px;
  letter-spacing: 2px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.banner-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-top: 6px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}
.banner-sub {
  font-size: 11px;
  line-height: 1.5;
  opacity: 0.92;
  letter-spacing: 0.5px;
  margin-top: 3px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.banner-dots {
  position: absolute;
  bottom: 10px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
  z-index: 3;
  pointer-events: none;
}
.banner-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: width .25s ease, background .25s ease;
}
.banner-dots span.active {
  background: #fff;
  width: 16px;
  border-radius: var(--radius-pill);
}

/* 筛选排序条 */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  margin-bottom: 10px;
}
.filter-btn {
  flex: 1;
  padding: 8px 0;
  background: none;
  border: none;
  font-size: 13px;
  color: var(--c-text-3);
  letter-spacing: 1px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: color 0.2s;
  cursor: pointer;
}
.filter-btn.active {
  color: var(--c-primary-dark);
  font-weight: 600;
}
.filter-btn .sort-arrow { font-size: 10px; opacity: 0.6; }

/* 分类横向滚动 */
.category-row {
  display: flex;
  gap: 10px;
  padding: 6px 14px 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 2px;
}
.category-row::-webkit-scrollbar { display: none; }
.category-card {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 8px 10px;
  background: var(--c-card);
  border-radius: var(--radius-md);
  min-width: 72px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.2s;
  border: 1.5px solid transparent;
}
.category-card:active { transform: scale(0.96); }
.category-card.active { border-color: var(--c-primary); background: var(--c-card-soft); }
.category-thumb {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.category-card span { font-size: 11px; color: var(--c-text-2); letter-spacing: 0.5px; }

/* 推荐理疗师横向滚动 */
.therapist-rec-row {
  display: flex;
  gap: 12px;
  padding: 4px 14px 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.therapist-rec-row::-webkit-scrollbar { display: none; }

.rec-card {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 72px;
  cursor: pointer;
  position: relative;
}
.rec-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 26px;
  color: #fff;
  font-weight: 700;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  border: 2px solid var(--c-card);
}
.rec-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.rec-name {
  font-size: 12px;
  color: var(--c-text);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 2px;
}
.rec-play {
  position: absolute;
  right: -2px;
  bottom: 22px;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #D4828F, #B25F6F);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 9px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  border: 1.5px solid #fff;
  z-index: 3;
  cursor: pointer;
}
.rec-card .rec-rating {
  font-size: 10px;
  color: var(--c-gold);
  margin-top: -4px;
}

/* 距离 / 打车费标签 */
.distance-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  color: var(--c-text-3);
  padding: 2px 6px;
  background: var(--c-lavender);
  border-radius: var(--radius-pill);
  margin-left: 6px;
}
.taxi-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  color: var(--c-success);
  padding: 2px 6px;
  background: rgba(111,149,114,0.12);
  border-radius: var(--radius-pill);
  margin-left: 6px;
  cursor: help;
}
.taxi-tag::before { content: '🚕'; }

/* 视频按钮 (技师卡内) */
.video-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D4828F, #B25F6F);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-left: 6px;
  box-shadow: 0 2px 6px rgba(180, 100, 110, 0.35);
  border: 1.5px solid #fff;
  cursor: pointer;
  flex-shrink: 0;
}
.video-btn:active { transform: scale(0.9); }

/* 简化版服务卡片 */
.service-card-clean {
  display: flex;
  align-items: stretch;
  background: var(--c-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin: 0 14px 12px;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.service-card-clean:active {
  transform: scale(0.985);
  box-shadow: var(--shadow-md);
}
.service-card-clean .svc-cover {
  width: 112px;
  height: 112px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.service-card-clean .svc-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}
.service-card-clean .svc-body {
  flex: 1;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}
.service-card-clean .svc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}
.service-card-clean .svc-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text);
  letter-spacing: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.service-card-clean .svc-sales {
  font-size: 10px;
  color: var(--c-text-light);
  white-space: nowrap;
  margin-left: 8px;
}
.service-card-clean .svc-desc {
  font-size: 12px;
  color: var(--c-text-2);
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  margin-bottom: 6px;
}
.service-card-clean .svc-meta {
  font-size: 11px;
  color: var(--c-text-3);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.service-card-clean .svc-meta span { display: inline-flex; align-items: center; gap: 2px; }
.service-card-clean .svc-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.service-card-clean .svc-price {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-danger);
  line-height: 1;
}
.service-card-clean .svc-price::first-letter { font-size: 14px; }
.service-card-clean .svc-old {
  font-size: 11px;
  color: var(--c-text-light);
  text-decoration: line-through;
  margin-left: 4px;
}
.service-card-clean .btn-order {
  padding: 7px 16px;
  background: linear-gradient(135deg, #C9A87C 0%, #A88A65 100%);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(201,168,124,0.32);
  cursor: pointer;
  transition: all 0.2s;
}
.service-card-clean .btn-order:active { transform: scale(0.95); }

/* 技师详情小卡 (理疗师 Tab 使用) */
.therapist-row-card {
  background: var(--c-card);
  border-radius: var(--radius-md);
  padding: 12px;
  margin: 0 14px 10px;
  display: flex;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.2s;
}
.therapist-row-card:active { transform: scale(0.99); }
.therapist-row-card .avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 28px;
  color: #fff;
  font-weight: 700;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.therapist-row-card .body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.therapist-row-card .name-line {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 4px;
}
.therapist-row-card .sub {
  font-size: 11px;
  color: var(--c-text-3);
  line-height: 1.5;
}
.therapist-row-card .tags {
  display: flex;
  gap: 4px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.therapist-row-card .tag-mini {
  font-size: 9px;
  color: var(--c-primary-dark);
  background: var(--c-primary-soft);
  padding: 2px 6px;
  border-radius: var(--radius-pill);
}
.therapist-row-card .right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  margin-left: auto;
  min-width: 70px;
}
.therapist-row-card .price {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--c-danger);
  line-height: 1;
  margin-bottom: 6px;
}
.therapist-row-card .price::first-letter { font-size: 13px; }

/* 视频弹窗 */
.video-modal .video-placeholder {
  width: 100%;
  aspect-ratio: 9/16;
  background: linear-gradient(135deg, #2a1a1e 0%, #4a2e32 100%);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}
.video-modal .video-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(212,130,143,0.25), transparent 60%);
}
.video-modal .video-placeholder .big-play {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  position: relative;
  border: 2px solid rgba(255,255,255,0.4);
}
.video-modal .video-placeholder .poster-name {
  margin-top: 14px;
  font-size: 18px;
  font-family: var(--font-serif);
  letter-spacing: 4px;
  position: relative;
}
.video-modal .video-placeholder .poster-tip {
  font-size: 11px;
  opacity: 0.7;
  margin-top: 6px;
  position: relative;
}

/* 定位提示 */
.location-toast {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  background: rgba(40, 20, 24, 0.88);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 11px;
  letter-spacing: 1px;
  z-index: 60;
  display: none;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.location-toast.show { display: flex; }
.location-toast .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-success);
  animation: opsPulse 1.5s infinite;
}


/* =====================================================
 * 第三轮 · 理疗师列表页 v2 (定位下拉 + 搜索 + 筛选 + 行卡)
 * ===================================================== */
.therapist-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 10px;
}
.loc-selector {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px 14px;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text);
}
.loc-selector .pin { font-size: 13px; }
.loc-selector .arrow { font-size: 9px; color: var(--c-text-light); margin-left: 2px; }
.view-toggle {
  display: flex;
  padding: 3px;
  background: rgba(212, 130, 143, 0.10);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
}
.view-toggle button {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  color: var(--c-text-2);
  transition: all 0.2s;
}
.view-toggle button.active {
  background: var(--c-card);
  color: var(--c-primary-dark);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 16px 12px;
  padding: 9px 14px;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
.search-bar .search-icon { font-size: 13px; opacity: 0.7; }
.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 13px;
  color: var(--c-text);
}
.search-bar input::placeholder { color: var(--c-text-light); }
.therapist-filter-row { margin-bottom: 12px; }

/* 技师行卡 v2 */
.therapist-list-v2 {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.therapist-card-v2 {
  display: flex;
  gap: 12px;
  padding: 14px;
  background: var(--c-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
  cursor: pointer;
}
.therapist-card-v2:active { transform: scale(0.99); }
.tc2-avatar {
  width: 78px;
  height: 78px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  position: relative;
  flex-shrink: 0;
}
.tc2-status {
  position: absolute;
  top: 6px;
  left: 6px;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  font-size: 9px;
  font-weight: 600;
  color: var(--c-success);
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-pill);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.tc2-status::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-success);
}
.tc2-status.busy { color: var(--c-warning); }
.tc2-status.busy::before { background: var(--c-warning); }
.tc2-video-btn {
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--c-card);
  border: 1px solid var(--c-primary-soft);
  color: var(--c-primary);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
}
.tc2-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tc2-name-line {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.tc2-name { font-size: 15px; font-weight: 700; color: var(--c-text); }
.tc2-badge {
  padding: 1px 7px;
  font-size: 9px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #D4828F, #B25F6F);
  border-radius: var(--radius-pill);
}
.tc2-badge.gold { background: linear-gradient(135deg, #E8C9A0, #C9A87C); }
.tc2-tagline { font-size: 11px; color: var(--c-text-3); margin-top: 3px; }
.tc2-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--c-text-2);
  margin-top: 5px;
}
.tc2-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 7px;
}
.tc2-spec {
  padding: 2px 7px;
  font-size: 9px;
  color: var(--c-primary-dark);
  background: var(--c-primary-soft);
  border-radius: var(--radius-pill);
}
.tc2-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--c-divider);
}
.tc2-dist {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: var(--c-text-2);
}
.tc2-taxi { color: var(--c-warning); font-weight: 600; }
.tc2-avail { color: var(--c-text); font-weight: 500; font-size: 11px; }
.tc2-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  flex-shrink: 0;
}
.tc2-price {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--c-danger);
  line-height: 1;
}
.tc2-price::first-letter { font-size: 11px; }
.tc2-book {
  margin-top: 8px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #D4828F, #B25F6F);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-rose);
}

/* =====================================================
 * 第三轮 · 技师详情页
 * ===================================================== */
.detail-header {
  position: sticky;
  top: 0;
  z-index: 5;
  height: 44px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 236, 240, 0.92);
  backdrop-filter: blur(8px);
}
.detail-header .header-btn {
  width: 32px;
  height: 32px;
  font-size: 16px;
  color: var(--c-text);
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
.detail-header .header-btn.fav { color: var(--c-primary); }

.detail-hero {
  position: relative;
  overflow: hidden;
  margin: 12px 16px;
  padding: 20px 18px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #E8A4B0 0%, #D4828F 45%, #B25F6F 100%);
  color: #fff;
}
.detail-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 12%, rgba(255, 255, 255, 0.28), transparent 45%);
}
.detail-hero-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
}
.detail-avatar {
  width: 74px;
  height: 74px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.55);
  position: relative;
  flex-shrink: 0;
}
.detail-name-block { flex: 1; min-width: 0; }
.detail-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 1px;
}
.detail-badges { display: flex; gap: 4px; margin-top: 6px; }
.detail-badge {
  padding: 2px 8px;
  font-size: 9px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
}
.detail-tagline { font-size: 11px; opacity: 0.92; margin-top: 6px; }
.detail-stats {
  position: relative;
  z-index: 1;
  display: flex;
  margin-top: 16px;
  padding: 11px 0 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}
.detail-stat { flex: 1; text-align: center; }
.detail-stat-num { font-size: 17px; font-weight: 700; }
.detail-stat-label { font-size: 10px; opacity: 0.85; margin-top: 2px; }

.detail-cta-row {
  display: flex;
  gap: 10px;
  margin: 0 16px 12px;
}
.detail-btn-video {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-primary-dark);
  background: var(--c-card);
  border: 1px solid var(--c-primary-soft);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
.detail-btn-book {
  flex: 2.2;
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #D4828F, #B25F6F);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-rose);
}

.detail-tabs {
  display: flex;
  margin: 0 16px 12px;
  padding: 4px;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
.detail-tab {
  flex: 1;
  padding: 8px 0;
  font-size: 13px;
  color: var(--c-text-2);
  border-radius: var(--radius-pill);
  transition: all 0.2s;
}
.detail-tab.active {
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #D4828F, #B25F6F);
  box-shadow: var(--shadow-rose);
}
.detail-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 16px 12px;
}
.detail-photo {
  aspect-ratio: 3/4;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.detail-photo .play {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}
.detail-video-box {
  position: relative;
  margin: 0 16px 12px;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #3a2327 0%, #5a3a40 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}
.detail-video-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(212, 130, 143, 0.3), transparent 60%);
}
.detail-video-box .big-play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  position: relative;
}
.detail-video-box .video-caption {
  position: relative;
  margin-top: 12px;
  font-size: 13px;
  font-family: var(--font-serif);
  letter-spacing: 2px;
}
.detail-video-box .video-tip {
  position: relative;
  margin-top: 5px;
  font-size: 10px;
  opacity: 0.7;
}

.detail-section {
  margin: 0 16px 12px;
  padding: 14px 16px;
  background: var(--c-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.detail-section-title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-text);
}
.detail-section-title::before {
  content: '';
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: linear-gradient(180deg, #D4828F, #B25F6F);
}
.cert-row { display: flex; flex-wrap: wrap; gap: 8px; }
.cert-item {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  font-size: 11px;
  color: var(--c-text-2);
  background: var(--c-card-soft);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
}
.cert-item .ok { font-size: 12px; color: var(--c-success); }
.cert-verified {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  font-size: 10px;
  color: var(--c-success);
}
.data-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  text-align: center;
}
.data-item-num { font-size: 15px; font-weight: 700; color: var(--c-primary-dark); }
.data-item-label { font-size: 10px; color: var(--c-text-3); margin-top: 2px; }
.dynamic-item {
  padding: 12px;
  margin-bottom: 8px;
  background: var(--c-card-soft);
  border: 1px solid var(--c-divider);
  border-radius: var(--radius-md);
}
.dynamic-item:last-child { margin-bottom: 0; }
.dynamic-time { font-size: 10px; color: var(--c-text-light); margin-bottom: 4px; }
.dynamic-text { font-size: 12px; color: var(--c-text-2); line-height: 1.6; }
.dynamic-like { margin-top: 6px; font-size: 10px; color: var(--c-text-3); }
.intro-text { font-size: 12.5px; color: var(--c-text-2); line-height: 1.8; }
.detail-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.detail-spec {
  padding: 5px 12px;
  font-size: 11px;
  color: var(--c-primary-dark);
  background: var(--c-primary-soft);
  border-radius: var(--radius-pill);
}
.detail-price-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px dashed var(--c-divider);
}
.detail-price-num {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-danger);
}
.detail-price-num::first-letter { font-size: 13px; }
.detail-price-per { font-size: 10px; color: var(--c-text-light); }
.detail-bottom-space { height: 24px; }

/* =====================================================
 * 第三轮 · 我的页面
 * ===================================================== */
.profile-banner {
  position: relative;
  overflow: hidden;
  height: 118px;
  padding: 16px 20px 12px;
  background: linear-gradient(135deg, #D4828F 0%, #B25F6F 55%, #8E5A68 100%);
  border-radius: 0 0 22px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1;
}
.profile-banner::before {
  content: '';
  position: absolute;
  top: -32px;
  right: -28px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.profile-banner::after {
  content: '';
  position: absolute;
  bottom: -34px;
  left: -30px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.09), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.profile-banner-user {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.profile-user-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: 2px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.profile-user-name { font-size: 17px; font-weight: 700; letter-spacing: 1px; }
.profile-user-phone { font-size: 11px; opacity: 0.85; margin-top: 3px; }
.profile-user-edit {
  margin-left: auto;
  padding: 6px 14px;
  font-size: 11px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-pill);
}
.profile-banner-inner {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 4px;
  opacity: 0.85;
}

.profile-asset-card {
  position: relative;
  z-index: 2;
  margin: -12px 16px 16px;
  padding: 16px;
  background: var(--c-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}
.profile-asset-row {
  display: flex;
  padding-bottom: 14px;
  margin-bottom: 12px;
  border-bottom: 1px dashed var(--c-divider);
}
.asset-item { flex: 1; text-align: center; cursor: pointer; }
.asset-num {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--c-text);
}
.asset-label { font-size: 11px; color: var(--c-text-3); margin-top: 3px; }
.profile-balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: linear-gradient(135deg, #FFF3F5, #FFE9EE);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
}
.balance-label { font-size: 11px; color: var(--c-text-2); }
.balance-num {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-text);
  margin-top: 2px;
}
.balance-tip { font-size: 10px; color: var(--c-text-light); }
.btn-recharge {
  padding: 9px 22px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #D4828F, #B25F6F);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-rose);
}

.profile-section { margin: 0 16px 16px; }
.profile-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-text);
}
.profile-section-title .more { font-size: 11px; font-weight: 400; color: var(--c-text-light); cursor: pointer; }
.profile-order-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 14px 6px;
  background: var(--c-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.profile-order-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--c-text-2);
  cursor: pointer;
}
.profile-order-item .order-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: var(--c-card-soft);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
}
.profile-menu {
  margin: 0 16px;
  background: var(--c-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.profile-menu-group {
  margin: 14px 0 0;
}
.profile-menu-group-title {
  padding: 6px 20px 8px;
  font-size: 11px;
  color: var(--c-text-3);
  letter-spacing: 1px;
  font-weight: 600;
}
.profile-menu-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  font-size: 13px;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-divider);
  cursor: pointer;
}
.profile-menu-row:last-child { border-bottom: none; }
.profile-menu-row .arrow { margin-left: auto; font-size: 16px; color: var(--c-text-light); }
.profile-menu-row .profile-menu-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.profile-menu-row .profile-menu-title {
  font-size: 14px;
  color: var(--c-text);
  font-weight: 500;
  line-height: 1.3;
}
.profile-menu-row .profile-menu-sub {
  font-size: 11px;
  color: var(--c-text-3);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

/* 我的页底部 · 品牌 + 客服 + 备案 */
.profile-footer {
  margin: 22px 16px 4px;
  background: linear-gradient(180deg, var(--c-card), #fff);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 20px 18px 16px;
  position: relative;
  overflow: hidden;
}
.profile-footer::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,130,143,0.10), transparent 65%);
  pointer-events: none;
}
.profile-footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; position: relative; }
.profile-footer-logo { width: 48px; height: 48px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.profile-footer-brand-text { display: flex; flex-direction: column; gap: 3px; }
.profile-footer-name { font-family: var(--font-serif); font-size: 15px; font-weight: 700; color: var(--c-primary-dark); letter-spacing: 1px; }
.profile-footer-slogan { font-size: 11px; color: var(--c-text-3); letter-spacing: 1px; }

/* 我的页底部 · 深色品牌卡片（与 profile-banner 同色系） */
.profile-footer-dark {
  background: linear-gradient(135deg, #D4828F 0%, #B25F6F 55%, #8E5A68 100%);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 22px 18px 16px;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.profile-footer-dark::before,
.profile-footer-dark::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 65%);
}
.profile-footer-dark::before { top: -50px; right: -40px; width: 160px; height: 160px; }
.profile-footer-dark::after { bottom: -40px; left: -30px; width: 120px; height: 120px; background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 65%); }
.profile-footer-dark .profile-footer-brand-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
}
.profile-footer-dark .profile-footer-logo-ring {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-shadow: 0 4px 14px rgba(60, 40, 42, 0.22);
}
.profile-footer-dark .profile-footer-logo-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}
.profile-footer-dark .profile-footer-tagline {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 3px;
  opacity: 0.96;
  text-shadow: 0 1px 2px rgba(60, 40, 42, 0.25);
}
.profile-footer-dark .profile-footer-url {
  font-size: 11px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
}
.profile-footer-dark .profile-footer-legal {
  border-top: 1px dashed rgba(255, 255, 255, 0.35);
  padding-top: 12px;
  text-align: center;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.5px;
  line-height: 1.8;
  position: relative;
}
.profile-footer-dark .profile-footer-legal-row { display: inline; }
.profile-footer-dark .profile-footer-dot { margin: 0 4px; color: rgba(255, 255, 255, 0.5); }
.profile-footer-dark .profile-footer-build { margin-top: 4px; font-size: 9px; color: rgba(255, 255, 255, 0.55); letter-spacing: 1px; }

.profile-footer-legal { border-top: 1px dashed var(--c-divider); padding-top: 12px; text-align: center; font-size: 10px; color: var(--c-text-3); letter-spacing: 0.5px; line-height: 1.8; position: relative; }
.profile-footer-legal-row { display: inline; }
.profile-footer-dot { margin: 0 4px; color: var(--c-border); }
.profile-footer-build { margin-top: 4px; font-size: 9px; color: var(--c-text-3); opacity: 0.7; letter-spacing: 1px; }

/* 协议 / 关于 / 帮助 / 反馈 / 设置 / 邀请 共用的弹层内容样式 */
.agreement-body { padding: 4px 4px 16px; font-size: 12.5px; color: var(--c-text); line-height: 1.75; text-align: justify; }
.agreement-body h4 { font-size: 13px; font-weight: 600; color: var(--c-primary-dark); margin: 14px 0 6px; letter-spacing: 1px; }
.agreement-body p { margin: 0 0 8px; color: var(--c-text-2); }
.agreement-foot { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--c-border); font-size: 11px; color: var(--c-text-3); text-align: center; }

.about-block { text-align: center; padding: 8px 0 16px; }
.about-logo { font-family: var(--font-serif); font-size: 22px; font-weight: 700; letter-spacing: 4px; color: var(--c-primary-dark); }
.about-name { font-size: 12px; color: var(--c-text-3); margin-top: 4px; }
.about-meta { background: var(--c-card-2, #faf5f3); border-radius: 12px; padding: 4px 0; margin-bottom: 12px; }
.about-row { display: flex; justify-content: space-between; padding: 10px 14px; font-size: 13px; border-bottom: 1px solid var(--c-divider); }
.about-row:last-child { border-bottom: none; }
.about-row span { color: var(--c-text-3); }
.about-row b { color: var(--c-text); font-weight: 500; }
.about-zizhi { background: linear-gradient(180deg, #fff8f5, #fff); border: 1px solid var(--c-divider); border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; }
.about-zizhi-title { font-size: 12px; font-weight: 600; color: var(--c-primary-dark); letter-spacing: 1px; margin-bottom: 8px; }
.about-zizhi-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 12px; }
.about-zizhi-row span { color: var(--c-text-3); }
.about-zizhi-row b { color: var(--c-text); font-weight: 500; }

.fb-types { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0 12px; }
.fb-type { padding: 6px 14px; border: 1px solid var(--c-border); border-radius: 20px; font-size: 12px; color: var(--c-text-2); background: #fff; cursor: pointer; transition: all .15s; }
.fb-type.on { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.fb-textarea { width: 100%; box-sizing: border-box; min-height: 110px; padding: 10px 12px; font-size: 13px; border: 1px solid var(--c-border); border-radius: 12px; background: #fff; resize: none; font-family: inherit; color: var(--c-text); }
.fb-textarea:focus { outline: none; border-color: var(--c-primary); }
.fb-contact { margin: 12px 0 16px; }
.fb-input { width: 100%; box-sizing: border-box; padding: 10px 12px; font-size: 13px; border: 1px solid var(--c-border); border-radius: 12px; background: #fff; color: var(--c-text); }
.fb-input:focus { outline: none; border-color: var(--c-primary); }

/* 意见反馈弹层 · 历史入口 */
.fb-hist-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--c-card-2, #faf5f3);
  border: 1px solid var(--c-divider);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--c-primary-dark);
  cursor: pointer;
  margin-bottom: 14px;
}
.fb-hist-link:active { background: #f3e8e4; }
.fb-hist-arrow { font-size: 15px; color: var(--c-text-light); }

/* 反馈记录列表 */
.fbh-row {
  background: var(--c-card, #fff);
  border: 1px solid var(--c-divider);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 10px;
}
.fbh-row-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.fbh-tag {
  font-size: 11px;
  color: var(--c-primary-dark);
  background: rgba(197, 112, 126, 0.10);
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 600;
}
.fbh-status { font-size: 11px; font-weight: 600; padding: 2px 10px; border-radius: 20px; }
.st-pending { color: #B25F6F; background: #FCE9EA; }
.st-processing { color: #854F0B; background: #FAEEDA; }
.st-replied { color: #3B6D11; background: #EAF3DE; }
.fbh-text { font-size: 13px; color: var(--c-text); line-height: 1.6; margin-bottom: 6px; word-break: break-word; }
.fbh-meta { font-size: 10.5px; color: var(--c-text-3); }
.fbh-reply { margin-top: 8px; padding: 8px 10px; background: #F6F3F0; border-radius: 10px; font-size: 12px; color: var(--c-text-2); line-height: 1.6; }
.fbh-reply b { color: var(--c-primary-dark); font-weight: 600; margin-right: 6px; }

/* 打赏技师 */
.tip-amounts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.tip-chip {
  flex: 1;
  min-width: 70px;
  text-align: center;
  padding: 12px 0;
  border: 1.5px solid var(--c-border);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text);
  background: #fff;
  cursor: pointer;
  font-family: var(--font-serif, Georgia, serif);
  transition: all .15s;
}
.tip-chip.on { border-color: var(--c-primary); background: rgba(197, 112, 126, 0.08); color: var(--c-primary-dark); }
.tip-summary {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-primary-dark);
  background: var(--c-card-2, #faf5f3);
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 12px;
}

/* 发票管理 */
.inv-intro {
  background: var(--c-card-2, #faf5f3);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 12px;
  color: var(--c-text-2);
  line-height: 1.7;
  margin-bottom: 14px;
}
.inv-intro b { color: var(--c-primary-dark); }
.inv-row {
  background: var(--c-card, #fff);
  border: 1px solid var(--c-divider);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 10px;
}
.inv-row-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.inv-title { font-size: 13.5px; font-weight: 600; color: var(--c-text); }
.inv-meta { font-size: 11px; color: var(--c-text-3); }
.inv-section-title { font-size: 12px; font-weight: 600; color: var(--c-text-2); margin: 14px 0 8px; }
.inv-orders { display: flex; flex-direction: column; gap: 8px; }
.inv-order {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--c-card, #fff);
  border: 1px solid var(--c-divider);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}
.inv-order input { margin-top: 3px; accent-color: var(--c-primary); width: 16px; height: 16px; flex-shrink: 0; }
.inv-order-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.inv-order-name { font-size: 13px; font-weight: 500; color: var(--c-text); }
.inv-order-meta { font-size: 11px; color: var(--c-text-3); }
.inv-total {
  text-align: right;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-primary-dark);
  margin-top: 10px;
  font-family: var(--font-serif, Georgia, serif);
}
.inv-title-types { display: flex; gap: 8px; margin-bottom: 10px; }
.inv-title-type { flex: 1; text-align: center; padding: 8px 0; border: 1px solid var(--c-border); border-radius: 10px; font-size: 12.5px; color: var(--c-text-2); cursor: pointer; background: #fff; }
.inv-title-type.on { background: var(--c-primary); border-color: var(--c-primary); color: #fff; font-weight: 600; }
.inv-note { font-size: 10.5px; color: var(--c-text-3); margin-top: 10px; line-height: 1.6; text-align: center; }

.faq-list { padding: 4px 0 8px; }
.faq-item { border-bottom: 1px solid var(--c-divider); padding: 10px 0; }
.faq-item summary { font-size: 13.5px; color: var(--c-text); font-weight: 500; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 18px; color: var(--c-text-3); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-ans { margin-top: 8px; font-size: 12.5px; color: var(--c-text-2); line-height: 1.7; }

.settings-list { background: var(--c-card-2, #faf5f3); border-radius: 12px; padding: 0 14px; }
.settings-row { display: flex; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--c-divider); cursor: pointer; }
.settings-row:last-child { border-bottom: none; }
.settings-label { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.settings-label b { font-size: 14px; font-weight: 500; color: var(--c-text); }
.settings-label span { font-size: 11px; color: var(--c-text-3); }
.settings-row .arrow { color: var(--c-text-light); font-size: 14px; }
.settings-switch { position: relative; width: 38px; height: 22px; background: #ddd; border-radius: 11px; cursor: pointer; transition: background .2s; flex-shrink: 0; }
.settings-switch.on { background: var(--c-primary); }
.settings-switch i { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 2px rgba(0,0,0,0.2); }
.settings-switch.on i { transform: translateX(16px); }

.inv-card { background: linear-gradient(135deg, #fff5f0, #fdf3eb); border: 1px dashed var(--c-primary); border-radius: 14px; padding: 18px 14px; text-align: center; margin: 8px 0 14px; }
.inv-code-label { font-size: 11px; color: var(--c-text-3); letter-spacing: 1px; }
.inv-code { font-family: var(--font-serif); font-size: 26px; font-weight: 700; color: var(--c-primary-dark); letter-spacing: 4px; margin: 6px 0 10px; }
.inv-link { font-size: 11px; color: var(--c-text-3); word-break: break-all; background: rgba(255,255,255,0.6); padding: 6px 8px; border-radius: 8px; }
.inv-rule { background: var(--c-card-2, #faf5f3); border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; }
.inv-rule-row { display: flex; gap: 10px; padding: 6px 0; align-items: flex-start; font-size: 12px; }
.inv-rule-row b { color: var(--c-primary-dark); flex-shrink: 0; min-width: 110px; }
.inv-rule-row span { color: var(--c-text-2); line-height: 1.5; }
.profile-menu-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

/* =====================================================
 * 第三轮 · 订单空状态 v2
 * ===================================================== */
.empty-state-v2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 32px 40px;
  text-align: center;
}
.empty-state-v2 .empty-illust {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFE9EE, #F4C9D2);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  margin-bottom: 20px;
}
.empty-state-v2 .empty-illust::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1.5px dashed rgba(212, 130, 143, 0.35);
  animation: emptySpin 14s linear infinite;
}
@keyframes emptySpin { to { transform: rotate(360deg); } }
.empty-state-v2 .empty-title { font-size: 15px; font-weight: 700; color: var(--c-text); }
.empty-state-v2 .empty-sub { font-size: 12px; color: var(--c-text-3); margin-top: 6px; line-height: 1.7; }
.empty-state-v2 .empty-btn {
  margin-top: 20px;
  padding: 11px 36px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #D4828F, #B25F6F);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-rose);
}

/* =====================================================
 * 图标统一化：Logo + SVG 线性图标 + 白色底色
 * ===================================================== */
.brand-with-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand-logo-img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
/* 首页顶部 navbar 内 logo 缩为 28px 以容纳双行品牌文字 */
.home-header .brand-block .brand-logo-img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex-shrink: 0;
}
/* 品牌口号（紧贴 logo 右侧，以「卿悦」为主题） */
.brand-slogan {
  font-size: 11px;
  font-weight: 600;
  color: var(--c-primary-dark, #B25F6F);
  letter-spacing: 1.5px;
  white-space: nowrap;
  font-family: var(--font-serif, Georgia, serif);
}
}

.icon {
  width: 22px;
  height: 22px;
  display: block;
}
.icon use {
  fill: none;
  stroke: currentColor;
}

/* 底部 Tab 图标 */
.tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 22px;
}
.tab-icon .icon { color: var(--c-text-light); }
.tab.active .tab-icon .icon { color: var(--c-primary); }

/* 我的页订单入口图标 */
.order-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
}
.order-icon .icon {
  width: 18px;
  height: 18px;
  color: var(--c-primary);
}

/* 我的页功能菜单图标：强制白底 + 品牌色 */
.profile-menu-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff !important;
  color: var(--c-primary) !important;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
}
.profile-menu-icon .icon {
  width: 18px;
  height: 18px;
}

/* 顶部搜索/定位小图标 */
.search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.loc-selector .pin {
  display: flex;
  align-items: center;
  justify-content: center;
}
.view-toggle button span {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 技师端登录 Logo */
.login-logo-img {
  width: 86px;
  height: 86px;
  border-radius: 22px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  margin-bottom: 10px;
}

/* 技师端图标统一 */
.tech-stat-card .icon-bg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  color: var(--c-primary);
  font-size: 16px;
  box-shadow: var(--shadow-sm);
}
.tech-stat-card .icon-bg .icon { width: 20px; height: 20px; }

.tech-quick-item .ic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #fff;
  color: var(--c-primary);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
}
.tech-quick-item .ic .icon { width: 20px; height: 20px; }

.menu-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #fff;
  color: var(--c-primary);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
}
.menu-icon .icon { width: 18px; height: 18px; }

.tech-tab-bar .tab-icon .icon { color: var(--c-text-light); }
.tech-tab-bar .tab.active .tab-icon .icon { color: var(--c-primary); }

/* =====================================================
 * 第四轮 · 图标统一（白底 · 品牌色描边 · 简约线性）
 * ===================================================== */

/* 行内小图标与文字对齐 */
.icon { width: 22px; height: 22px; display: inline-block; vertical-align: -5px; flex-shrink: 0; }
.tc2-dist .icon,
.tc2-avail .icon,
.cert-verified .icon,
.dynamic-like .icon,
.detail-tagline .icon,
.svc-meta .icon,
.order-info-meta .icon,
.tech-order-card .row .icon { width: 13px; height: 13px; vertical-align: -2px; margin-right: 2px; }

/* 顶部栏 */
.home-header .loc-pin { display: inline-flex; align-items: center; }
.home-header .loc-pin .icon { width: 14px; height: 14px; vertical-align: 0; }
.header-btn { display: inline-flex; align-items: center; justify-content: center; }
.header-btn .icon { width: 20px; height: 20px; }

/* 首页分类宫格 · 白底圆形 */
.category-thumb {
  background: #fff;
  border: 1px solid var(--c-border);
  color: var(--c-text-light);
  font-size: 0;
  box-shadow: var(--shadow-sm);
}
.category-thumb .icon { width: 22px; height: 22px; }
.category-card.active .category-thumb { color: var(--c-primary); border-color: var(--c-primary); }

/* 精选服务卡封面 · 白底 */
.service-card-clean .svc-cover {
  background: #fff;
  border: 1px solid var(--c-border);
  color: var(--c-primary);
  font-size: 0;
  box-shadow: var(--shadow-sm);
}
.service-card-clean .svc-cover .icon { width: 44px; height: 44px; }

/* 服务详情弹窗大图 · 白底 */
.service-detail-image {
  background: #fff !important;
  border: 1px solid var(--c-border);
  color: var(--c-primary);
  font-size: 0;
}
.service-detail-image .icon { width: 64px; height: 64px; }

/* 订单缩略图 · 白底 */
.order-thumb {
  background: #fff;
  border: 1px solid var(--c-border);
  color: var(--c-primary);
  font-size: 0;
}
.order-thumb .icon { width: 26px; height: 26px; }

/* 空状态插图 · 品牌色线性图标 */
.empty-state-v2 .empty-illust { background: #fff; border: 1px solid var(--c-border); font-size: 0; }
.empty-state-v2 .empty-illust .icon { width: 40px; height: 40px; color: var(--c-primary); }
.empty-state .emoji { font-size: 0; color: var(--c-primary); opacity: 1; filter: none; }
.empty-state .emoji .icon { width: 56px; height: 56px; }

/* 我的页头像占位 */
.profile-user-avatar { font-size: 0; color: #fff; }
.profile-user-avatar .icon { width: 26px; height: 26px; }

/* 详情页生活照占位图标 */
.detail-photo .icon { width: 34px; height: 34px; }

/* 认证 / 动态小图标 */
.cert-verified { color: var(--c-primary); }
.dynamic-like .icon { color: var(--c-primary); }

/* 技师端订单缩略图 */
.tech-order-emoji { color: var(--c-primary); font-size: 0; }
.tech-order-emoji .icon { width: 22px; height: 22px; }

/* 技师端业绩公告条内图标 */
.tech-action .icon { width: 15px; height: 15px; }

/* ============ 结算引擎（收付款方案） ============ */
.settle-note {
  display: flex; align-items: center; gap: 6px;
  margin-top: 10px; padding: 7px 10px;
  font-size: 11px; color: #ffffff;
  background: rgba(255,255,255,.18); border-radius: 8px;
}
.settle-note .dot { width: 6px; height: 6px; border-radius: 50%; background: #ffffff; flex-shrink: 0; }

.tier-progress { margin-top: 12px; height: 6px; background: rgba(255,255,255,.35); border-radius: 3px; overflow: hidden; }
.tier-progress-bar { height: 100%; width: 0; border-radius: 3px; background: #fff; transition: width .6s ease; }
.tier-progress-label { margin-top: 6px; font-size: 10px; color: rgba(255,255,255,.85); }

.tier-table { background: var(--c-card); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.tier-row {
  display: grid; grid-template-columns: 1.3fr 1fr .7fr .8fr; align-items: center;
  padding: 10px 12px; font-size: 12px; color: var(--c-text);
  border-bottom: 1px solid var(--c-border-light, rgba(212,130,143,.12));
}
.tier-row:last-child { border-bottom: none; }
.tier-head { font-size: 10px; color: var(--c-text-3); background: rgba(212,130,143,.05); }
.tier-rate { font-family: var(--font-serif); font-weight: 700; color: var(--c-primary); }
.tier-cur { background: rgba(212,130,143,.10); }
.tier-badge {
  font-style: normal; font-size: 10px; color: #fff;
  background: var(--c-primary); padding: 2px 8px; border-radius: 10px;
}
.tier-row .tier-note { grid-column: 1 / -1; font-size: 10px; color: var(--c-text-3); margin-top: 2px; }

/* 入驻页（招聘方案） */
.join-wrap { max-width: 480px; margin: 0 auto; background: var(--c-bg); padding-bottom: 90px; flex: 1 1 0; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.join-wrap::-webkit-scrollbar { width: 0; height: 0; display: none; }
.join-hero {
  background: linear-gradient(135deg, #D4828F 0%, #E8B4BC 100%);
  padding: 34px 20px 26px; color: #fff; border-radius: 0 0 24px 24px;
}
.join-hero h1 { font-size: 22px; margin: 0 0 6px; }
.join-hero p { font-size: 12px; opacity: .9; margin: 0; }
.join-hero .join-stats { display: flex; gap: 8px; margin-top: 16px; }
.join-hero .join-stat {
  flex: 1; background: rgba(255,255,255,.16); backdrop-filter: blur(4px);
  border-radius: 10px; padding: 8px 6px; text-align: center;
}
.join-hero .join-stat b { display: block; font-size: 16px; font-family: var(--font-serif); }
.join-hero .join-stat span { font-size: 10px; opacity: .85; }

.join-section { padding: 16px 16px 0; }
.join-card { background: var(--c-card); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 16px; }
.join-card h3 { margin: 0 0 4px; font-size: 15px; color: var(--c-text); }
.join-card .sub { font-size: 11px; color: var(--c-text-3); margin-bottom: 14px; }

.join-field { margin-bottom: 12px; }

/* 内推推荐码提示卡 */
.join-referral-tip {
  margin: 4px 0 12px; padding: 10px 12px;
  background: linear-gradient(135deg, rgba(212,130,143,.08), rgba(212,130,143,.04));
  border: 1px dashed rgba(212,130,143,.35);
  border-radius: 10px;
  font-size: 10.5px; color: var(--c-text-2); line-height: 1.7;
}
.join-referral-tip strong { color: var(--c-primary); }
.join-referral-title { font-size: 12px; font-weight: 600; color: var(--c-primary); margin-bottom: 2px; }

/* 技师端 · 我的推荐码卡片 */
.referral-code-card {
  padding: 14px 14px 12px;
  background: linear-gradient(135deg, rgba(212,130,143,.10), rgba(212,130,143,.04));
  border: 1px dashed rgba(212,130,143,.4);
  border-radius: var(--radius-md);
}
.referral-code-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.referral-code-label { font-size: 10px; color: var(--c-text-3); letter-spacing: 1px; }
.referral-code-num {
  font-family: var(--font-serif); font-size: 26px; font-weight: 700;
  color: var(--c-text); letter-spacing: 1px; margin-top: 3px;
}
.referral-copy-btn {
  flex-shrink: 0; padding: 7px 16px;
  background: var(--c-primary); color: #fff;
  border: none; border-radius: 999px;
  font-size: 12px; font-weight: 600; cursor: pointer;
}
.referral-copy-btn:active { opacity: .8; }
.referral-code-tip {
  margin-top: 10px; padding-top: 10px;
  border-top: 1px dashed rgba(212,130,143,.3);
  font-size: 10.5px; color: var(--c-text-2); line-height: 1.7;
}
.referral-code-tip strong { color: var(--c-primary); }
.referral-share-btn {
  margin-top: 10px; width: 100%; padding: 9px 0;
  background: #fff; color: var(--c-primary);
  border: 1px solid rgba(212,130,143,.5); border-radius: 999px;
  font-size: 12px; font-weight: 600; cursor: pointer;
}
.referral-share-btn:active { background: rgba(212,130,143,.08); }
.join-field label { display: block; font-size: 12px; color: var(--c-text); margin-bottom: 5px; font-weight: 600; }
.join-field label em { color: var(--c-danger); font-style: normal; margin-left: 2px; }
.join-field input, .join-field select {
  width: 100%; box-sizing: border-box; padding: 10px 12px;
  border: 1px solid var(--c-border); border-radius: 10px;
  font-size: 14px; background: #fff; color: var(--c-text); outline: none;
}
.join-field input:focus, .join-field select:focus { border-color: var(--c-primary); }

.join-steps { display: flex; flex-direction: column; gap: 0; }
.join-step { display: flex; gap: 12px; }
.join-step .rail { display: flex; flex-direction: column; align-items: center; }
.join-step .ball {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: #fff; background: #E4D4D8;
}
.join-step .rail .line { width: 2px; flex: 1; background: #E4D4D8; min-height: 18px; }
.join-step.done .ball { background: var(--c-primary); }
.join-step.cur .ball { background: var(--c-primary); box-shadow: 0 0 0 4px rgba(212,130,143,.2); }
.join-step .body { flex: 1; padding-bottom: 16px; }
.join-step .body b { display: block; font-size: 13px; color: var(--c-text); }
.join-step .body span { display: block; font-size: 11px; color: var(--c-text-3); margin-top: 2px; }
.join-step .body .st { font-size: 10px; margin-top: 4px; color: var(--c-text-3); }
.join-step.done .body .st { color: var(--c-primary); }

.join-btn {
  display: block; width: calc(100% - 32px); margin: 20px 16px 0; padding: 14px;
  border: none; border-radius: 14px; background: linear-gradient(135deg, #D4828F, #E8B4BC);
  color: #fff; font-size: 16px; font-weight: 600; cursor: pointer;
}
.join-btn:active { opacity: .85; }

.join-policy-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 2px; border-bottom: 1px dashed rgba(212,130,143,.2); }
.join-policy-row:last-child { border-bottom: none; }
.join-policy-row b { font-size: 12px; color: var(--c-text); }
.join-policy-row span { font-size: 12px; color: var(--c-text-3); }
.join-policy-row em { font-style: normal; font-family: var(--font-serif); font-weight: 700; color: var(--c-danger); font-size: 14px; }

.tech-login-join {
  margin-top: 18px; text-align: center; font-size: 13px; color: var(--c-text-3);
}
.tech-login-join a { color: var(--c-primary); font-weight: 600; text-decoration: none; }

/* 用户端 · 微信支付模拟弹层 */
.pay-sheet-mask {
  position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 300;
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.pay-sheet-mask.show { opacity: 1; pointer-events: auto; }
.pay-sheet {
  width: 100%; max-width: 480px; background: #fff; border-radius: 18px 18px 0 0;
  padding: 20px 20px 26px; transform: translateY(100%); transition: transform .28s ease;
}
.pay-sheet-mask.show .pay-sheet { transform: translateY(0); }
.pay-sheet h4 { margin: 0 0 2px; font-size: 15px; color: #333; text-align: center; }
.pay-sheet .amt { text-align: center; font-family: var(--font-serif); font-size: 34px; font-weight: 700; color: #333; margin: 14px 0 4px; }
.pay-sheet .amt small { font-size: 16px; }
.pay-sheet .pay-note { text-align: center; font-size: 11px; color: #999; margin-bottom: 14px; }
.pay-sheet .pay-rows { border-top: 1px solid #f0f0f0; margin-bottom: 12px; }
.pay-sheet .pay-row { display: flex; justify-content: space-between; padding: 10px 2px; font-size: 13px; color: #555; border-bottom: 1px solid #f0f0f0; }
.pay-sheet .pay-row span:last-child { color: #333; font-weight: 600; }
.pay-sheet .pay-row .pay-free { color: var(--c-success) !important; font-size: 12px; }
.pay-sheet .pay-row.pay-total { border-top: 1px dashed #e5e5e5; }
.pay-sheet .pay-row.pay-total span:last-child { color: var(--c-danger); font-size: 15px; }
.pay-sheet .pay-rule {
  font-size: 10px; color: #aaa; line-height: 1.5; padding: 8px 10px;
  background: #fafafa; border-radius: 8px; margin-bottom: 14px;
}
.pay-sheet .pay-go {
  display: block; width: 100%; padding: 13px; border: none; border-radius: 12px;
  background: #07C160; color: #fff; font-size: 16px; font-weight: 600; cursor: pointer;
}
.pay-sheet .pay-cancel { display: block; width: 100%; margin-top: 8px; padding: 11px; border: none; background: none; color: #999; font-size: 13px; cursor: pointer; }

/* 用户端 · 客服联系弹层（复用 pay-sheet 骨架） */
.pay-sheet .cs-phone { text-align: center; font-family: var(--font-serif); font-size: 32px; font-weight: 700; color: #333; margin: 14px 0 2px; }
.pay-sheet .cs-phone a { color: inherit; text-decoration: none; }
.pay-sheet .cs-copy { cursor: pointer; }
.pay-sheet .cs-copy:active { background: #fafafa; }
.pay-sheet .cs-ticket {
  display: block; width: 100%; margin-top: 8px; padding: 12px;
  border: 1px solid var(--c-primary); border-radius: 12px;
  background: #fff; color: var(--c-primary); font-size: 14px; font-weight: 600; cursor: pointer;
}

/* 手机直访 / 窄窗口：手机壳全屏化，保证底部内容可见可滚 */
@media (max-width: 430px) {
  .shell { background: #fff; }
  .phone {
    width: 100vw;
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
    box-shadow: none;
  }
}

/* ===== 我的页 · 弹层列表样式 ===== */
.empty-tip { padding: 24px 12px; text-align: center; color: var(--c-text-3); font-size: 13px; }

.coupon-list { margin: 0 -20px 16px; max-height: 60vh; overflow-y: auto; }
.coupon-row {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 10px; padding: 12px 14px;
  background: linear-gradient(135deg, rgba(212,130,143,.08) 0%, rgba(212,130,143,.03) 100%);
  border: 1px dashed var(--c-primary); border-radius: 12px;
}
.coupon-amount { text-align: center; min-width: 70px; color: var(--c-primary); }
.coupon-amount b { font-size: 22px; font-weight: 600; display: block; }
.coupon-amount span { font-size: 10px; color: var(--c-text-3); }
.coupon-info { flex: 1; min-width: 0; }
.coupon-name { font-size: 13px; font-weight: 500; color: var(--c-text); }
.coupon-expire { font-size: 11px; color: var(--c-text-3); margin-top: 2px; }
.coupon-btn {
  padding: 6px 12px; border-radius: 999px;
  background: var(--c-primary); color: #fff;
  font-size: 12px; border: none; cursor: pointer;
}

.follow-list, .fav-list, .addr-list, .store-list, .partner-list, .feed-list { margin: 0 0 14px; max-height: 55vh; overflow-y: auto; }
.follow-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--c-divider); }
.follow-row:last-child { border-bottom: none; }
.follow-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #D4828F, #B25F6F); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 500; flex-shrink: 0;
}
.follow-info { flex: 1; min-width: 0; }
.follow-name { font-size: 14px; font-weight: 500; color: var(--c-text); }
.follow-tag { font-size: 10px; padding: 1px 6px; border-radius: 999px; background: var(--c-primary-soft); color: var(--c-primary); margin-left: 6px; font-weight: 400; }
.follow-meta { font-size: 11px; color: var(--c-text-3); margin-top: 3px; }

.fav-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--c-divider); cursor: pointer; }
.fav-row:last-child { border-bottom: none; }
.fav-emoji { font-size: 28px; width: 44px; height: 44px; background: var(--c-bg); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fav-info { flex: 1; min-width: 0; }
.fav-name { font-size: 14px; font-weight: 500; color: var(--c-text); }
.fav-meta { font-size: 11px; color: var(--c-text-3); margin-top: 3px; }

.recharge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.recharge-opt {
  padding: 14px 0; font-size: 14px; font-weight: 500;
  background: var(--c-bg); color: var(--c-text);
  border: 1.5px solid var(--c-border); border-radius: 12px; cursor: pointer;
  transition: all .15s; font-family: inherit;
}
.recharge-opt.active { background: var(--c-primary-soft); color: var(--c-primary); border-color: var(--c-primary); font-weight: 600; }

.addr-row { padding: 12px; border: 1px solid var(--c-border); border-radius: 12px; margin-bottom: 8px; background: #fff; }
.addr-row.active { border-color: var(--c-primary); background: rgba(212,130,143,.04); }
.addr-tags { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; flex-wrap: wrap; }
.addr-tag { font-size: 11px; padding: 2px 8px; background: var(--c-primary); color: #fff; border-radius: 4px; }
.addr-default { font-size: 10px; padding: 1px 6px; background: #C9A87C; color: #fff; border-radius: 4px; }
.addr-name { font-size: 13px; color: var(--c-text); font-weight: 500; }
.addr-detail { font-size: 12px; color: var(--c-text-2); line-height: 1.6; }

.store-card { padding: 12px; border: 1px solid var(--c-border); border-radius: 12px; margin-bottom: 10px; background: #fff; }
.store-name { font-size: 14px; font-weight: 600; color: var(--c-text); margin-bottom: 6px; }
.store-addr, .store-time, .store-phone { font-size: 12px; color: var(--c-text-2); margin-bottom: 3px; }

.partner-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border: 1px solid var(--c-border); border-radius: 10px; margin-bottom: 8px; background: #fff; }
.partner-row b { font-size: 13px; color: var(--c-text); }
.partner-row span { font-size: 12px; color: var(--c-text-2); }

.feed-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--c-divider); }
.feed-item:last-child { border-bottom: none; }
.feed-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-primary); margin-top: 6px; flex-shrink: 0; }
.feed-time { font-size: 11px; color: var(--c-text-3); }
.feed-title { font-size: 13px; font-weight: 500; color: var(--c-text); margin-top: 2px; }
.feed-desc { font-size: 12px; color: var(--c-text-2); margin-top: 4px; line-height: 1.6; }

/* =====================================================
 * 技师端 · 功能弹层（复用 pay-sheet 骨架 · tech 主题色）
 * ===================================================== */
.tech-sheet-mask {
  position: absolute;
  inset: 0;
  background: rgba(20, 10, 12, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.tech-sheet-mask.show { opacity: 1; pointer-events: auto; }
.tech-sheet {
  width: 100%;
  max-height: 92vh;
  background: #fff;
  border-radius: 20px 20px 0 0;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.25);
}
.tech-sheet-mask.show .tech-sheet { transform: translateY(0); }
.tech-sheet-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px 10px;
  border-bottom: 1px solid var(--c-border);
  flex-shrink: 0;
  position: relative;
}
.tech-sheet-bar::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 4px;
  border-radius: 2px;
  background: rgba(60, 40, 42, 0.18);
  pointer-events: none;
}
.tech-sheet-bar .title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--c-text);
  padding-top: 6px;
}
.tech-sheet-bar .close {
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(60, 40, 42, 0.10);
  color: #4a2e32;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(60, 40, 42, 0.18);
  flex-shrink: 0;
  padding-top: 6px;
}
.tech-sheet-bar .close:active {
  background: rgba(60, 40, 42, 0.22);
  transform: scale(0.92);
}
.tech-sheet-body {
  flex: 0 1 auto;
  max-height: calc(92vh - 56px);
  overflow-y: auto;
  padding: 14px 18px calc(24px + env(safe-area-inset-bottom, 0px));
  background: var(--c-bg);
  -webkit-overflow-scrolling: touch;
}
.tech-sheet-body::-webkit-scrollbar { width: 0; height: 0; display: none; }
.tech-sheet-body.scrollbar-thin::-webkit-scrollbar { width: 4px; }

/* 排班 · 7 天 × 4 时段：不限制 grid 自身高度，让 sheet-body 整体滚动 */
.sched-grid { /* 自然高度，靠 sheet-body 兜底滚动 */ }

/* 通用 · 描述段 */
.tech-desc { font-size: 12px; color: var(--c-text-2); line-height: 1.7; margin: 8px 0 16px; }
.tech-tip { font-size: 11px; color: var(--c-text-3); margin-top: 10px; padding: 10px 12px; background: #FFF7F2; border-radius: var(--radius-md); border-left: 3px solid var(--c-primary); }

/* 排班 · 7 天 × 4 时段 */
.sched-grid { display: grid; grid-template-columns: 64px repeat(4, 1fr); gap: 6px; align-items: center; }
.sched-grid .sched-h {
  font-size: 11px;
  color: var(--c-text-3);
  text-align: center;
  padding: 6px 0;
  font-weight: 500;
}
.sched-grid .sched-day {
  font-size: 12px;
  color: var(--c-text-2);
  text-align: center;
  padding: 8px 0;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}
.sched-cell {
  height: 38px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--c-text-3);
  cursor: pointer;
  user-select: none;
  transition: all 0.15s;
}
.sched-cell.on {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
  font-weight: 600;
}
.sched-stats {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.sched-stat {
  flex: 1;
  text-align: center;
  padding: 12px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.sched-stat .v {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--c-danger);
}
.sched-stat .l { font-size: 10px; color: var(--c-text-3); margin-top: 4px; }

/* 培训课程卡 */
.course-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 14px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
}
.course-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.course-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #F5E6E8 0%, #ECD3D6 100%);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.course-info { flex: 1; }
.course-info .name { font-size: 14px; font-weight: 600; color: var(--c-text); }
.course-info .meta { font-size: 11px; color: var(--c-text-3); margin-top: 3px; }
.course-info .meta strong { color: var(--c-text-2); font-weight: 600; }
.course-bar {
  height: 6px;
  background: #F2E8E9;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}
.course-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #D4828F 0%, #E8A6AF 100%);
  border-radius: 3px;
}
.course-foot { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--c-text-3); }
.course-btn {
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: var(--c-primary);
  color: #fff;
  border: none;
  font-size: 11px;
  cursor: pointer;
}
.course-btn.done { background: #F5ECEC; color: var(--c-primary); }

/* 材料领取 · 物料行 */
.supply-row {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 8px;
  box-shadow: var(--shadow-sm);
  gap: 12px;
}
.supply-emoji {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: #FFF7F2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.supply-info { flex: 1; min-width: 0; }
.supply-info .name { font-size: 13px; font-weight: 600; color: var(--c-text); }
.supply-info .stock { font-size: 11px; color: var(--c-text-3); margin-top: 2px; }
.supply-info .stock strong { color: var(--c-danger); font-weight: 600; }
.supply-btn {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--c-primary);
  color: #fff;
  border: none;
  font-size: 12px;
  cursor: pointer;
  flex-shrink: 0;
}

/* 健康打卡 · 月历 */
.checkin-hero {
  background: linear-gradient(135deg, #D4828F 0%, #B25F6F 100%);
  border-radius: var(--radius-lg);
  padding: 18px;
  color: #fff;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}
.checkin-hero::after {
  content: '';
  position: absolute;
  right: -20px;
  top: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}
.checkin-hero .done {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}
.checkin-hero .row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
  z-index: 1;
}
.checkin-hero .num {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}
.checkin-hero .lbl { font-size: 11px; opacity: 0.85; margin-top: 4px; }
.ci-stats {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.ci-stat {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.ci-stat .v { font-family: var(--font-serif); font-size: 20px; font-weight: 700; color: var(--c-danger); }
.ci-stat .l { font-size: 10px; color: var(--c-text-3); margin-top: 4px; }
.ci-cal { background: #fff; border-radius: var(--radius-md); padding: 14px; box-shadow: var(--shadow-sm); }
.ci-cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 13px; font-weight: 600; color: var(--c-text); }
.ci-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.ci-day-h { font-size: 10px; color: var(--c-text-3); text-align: center; padding: 4px 0; }
.ci-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--c-text-2);
  border-radius: 50%;
}
.ci-day.checked { background: var(--c-primary); color: #fff; font-weight: 600; }
.ci-day.today { border: 1.5px solid var(--c-primary); color: var(--c-primary); font-weight: 700; }

/* 客户回访 */
.follow-row {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 8px;
  box-shadow: var(--shadow-sm);
  gap: 12px;
}
.follow-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D4828F 0%, #B25F6F 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}
.follow-info { flex: 1; min-width: 0; }
.follow-info .name { font-size: 13px; font-weight: 600; color: var(--c-text); }
.follow-info .meta { font-size: 11px; color: var(--c-text-3); margin-top: 3px; }
.follow-info .meta strong { color: var(--c-primary); font-weight: 600; }
.follow-info .last { font-size: 11px; color: var(--c-text-2); margin-top: 2px; }
.follow-btn {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--c-primary);
  border: 1px solid var(--c-primary);
  font-size: 11px;
  cursor: pointer;
  flex-shrink: 0;
}

/* 技能认证 · 证书卡 */
.cert-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.cert-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(212, 130, 143, 0.06) 100%);
  pointer-events: none;
}
.cert-tag {
  display: inline-block;
  padding: 3px 10px;
  background: #E8F5E9;
  color: #4CAF50;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 8px;
}
.cert-name { font-size: 16px; font-weight: 600; color: var(--c-text); margin-bottom: 4px; font-family: var(--font-serif); }
.cert-meta { font-size: 11px; color: var(--c-text-3); }
.cert-meta strong { color: var(--c-text-2); }
.cert-qr {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--c-border);
}
.cert-qr-img {
  width: 56px;
  height: 56px;
  background:
    linear-gradient(45deg, #333 25%, transparent 25%) 0 0/8px 8px,
    linear-gradient(-45deg, #333 25%, transparent 25%) 0 0/8px 8px,
    linear-gradient(45deg, transparent 75%, #333 75%) 4px 4px/8px 8px,
    linear-gradient(-45deg, transparent 75%, #333 75%) 4px 4px/8px 8px,
    #fff;
  border: 1px solid var(--c-border);
  border-radius: 4px;
}
.cert-qr-info { font-size: 11px; color: var(--c-text-3); line-height: 1.6; }

/* 客户评价 · 摘要 + 列表 */
.rev-hero {
  background: linear-gradient(135deg, #FFF7F2 0%, #F5E6E8 100%);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.rev-score {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--c-danger);
  line-height: 1;
}
.rev-score-info { flex: 1; }
.rev-score-info .big { font-size: 13px; color: var(--c-text); font-weight: 600; }
.rev-score-info .meta { font-size: 11px; color: var(--c-text-3); margin-top: 4px; }
.rev-row {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 8px;
  box-shadow: var(--shadow-sm);
}
.rev-row-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.rev-row-name { font-size: 12px; font-weight: 600; color: var(--c-text); }
.rev-row-star { color: #F5C66E; font-size: 12px; letter-spacing: 1px; }
.rev-row-content { font-size: 12px; color: var(--c-text-2); line-height: 1.6; }
.rev-row-time { font-size: 10px; color: var(--c-text-3); margin-top: 6px; }

/* 在线客服 · 假聊天 */
.cs-room { display: flex; flex-direction: column; gap: 12px; }
.cs-bubble {
  max-width: 78%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
  word-break: break-word;
}
.cs-bubble.bot {
  background: #fff;
  color: var(--c-text);
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-sm);
  align-self: flex-start;
}
.cs-bubble.me {
  background: var(--c-primary);
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.cs-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.cs-quick button {
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--c-primary);
  background: #fff;
  color: var(--c-primary);
  font-size: 11px;
  cursor: pointer;
}
.cs-input {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  padding: 10px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.cs-input input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 13px;
  background: transparent;
  color: var(--c-text);
}
.cs-input button {
  padding: 6px 14px;
  background: var(--c-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 12px;
  cursor: pointer;
}

/* 设置 · 行项 */
.set-row {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 8px;
  box-shadow: var(--shadow-sm);
}
.set-row .label { flex: 1; font-size: 13px; color: var(--c-text); }
.set-row .desc { font-size: 11px; color: var(--c-text-3); margin-top: 2px; }
.set-switch {
  width: 40px;
  height: 22px;
  background: #DDD;
  border-radius: 11px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
.set-switch::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.2s;
}
.set-switch.on { background: var(--c-primary); }
.set-switch.on::after { left: 20px; }
.set-arrow { color: #BBB; font-size: 18px; margin-left: 8px; }

/* 技师端 · SOS 一键报警按钮 */
.tech-sos-btn {
  border: none;
  background: linear-gradient(135deg, #C4454F 0%, #A3323C 100%);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(196, 69, 79, 0.35);
  animation: sosPulse 2.4s infinite;
}
@keyframes sosPulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(196, 69, 79, 0.35); }
  50% { box-shadow: 0 4px 14px rgba(196, 69, 79, 0.65); }
}

/* 技师端 · 提现按钮条 */
.tech-withdraw-bar {
  display: flex;
  gap: 8px;
  margin: 12px 0 4px;
}
.tech-wd-btn {
  flex: 1;
  padding: 10px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}
.tech-wd-btn.main {
  background: #fff;
  color: var(--c-primary);
  border: 1.5px solid var(--c-primary);
}
.tech-wd-btn.ghost {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* 用户端 · 技师位置地图弹层 */
.eta-hero {
  background: linear-gradient(135deg, #D4828F 0%, #B25F6F 100%);
  border-radius: var(--radius-lg);
  padding: 18px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.eta-num {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}
.eta-lbl { font-size: 11px; opacity: 0.85; margin-top: 4px; }

/* 用户端 · 分销中心 */
.dist-center-hero {
  background: linear-gradient(135deg, #D4828F 0%, #6B3A48 100%);
  border-radius: var(--radius-lg);
  padding: 20px;
  color: #fff;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}
.dist-center-hero::after {
  content: '';
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.dist-lv {
  display: inline-block;
  font-size: 11px;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #F5C66E, #E8A6AF);
  color: #6B3A48;
  font-weight: 700;
  margin-bottom: 10px;
}
.dist-center-row {
  display: flex;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.dist-center-cell { flex: 1; }
.dist-center-cell .v {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
}
.dist-center-cell .l { font-size: 10px; opacity: 0.8; margin-top: 3px; }

/* 申诉端 · 通知记录 */
.notice-row {
  display: flex;
  gap: 12px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 8px;
  box-shadow: var(--shadow-sm);
}
.notice-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-primary);
  margin-top: 6px;
  flex-shrink: 0;
}
.notice-dot.read { background: #DDD; }

/* =====================================================
   用户端 · U-014 优惠券选用（支付弹层 + 选券弹层）
   ===================================================== */
.pay-sheet .pay-row.pay-coupon { cursor: pointer; }
.pay-sheet .pay-row.pay-coupon:active { background: #fafafa; }
.pay-sheet .pay-row.pay-coupon span:last-child::after {
  content: ' ›'; color: var(--c-text-3); font-weight: 400;
}
.cp-list {
  flex: 1; overflow-y: auto; margin: 0 -4px 4px;
  scrollbar-width: none;
}
.cp-list::-webkit-scrollbar { width: 0; height: 0; display: none; }
.cp-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: var(--radius-md, 12px);
  margin-bottom: 8px; cursor: pointer;
  transition: transform .12s ease;
}
.cp-item:active { transform: scale(.985); }
.cp-amt { text-align: center; min-width: 62px; flex-shrink: 0; }
.cp-amt b { display: block; font-family: var(--font-serif); font-size: 22px; font-weight: 700; line-height: 1.1; }
.cp-amt span { font-size: 10px; color: var(--c-text-3); }
.cp-mid { flex: 1; min-width: 0; }
.cp-name { font-size: 13px; font-weight: 600; color: var(--c-text-1); margin-bottom: 2px; }
.cp-sub { font-size: 11px; color: var(--c-text-3); }
.cp-check {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid var(--c-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: transparent; background: #fff;
}

/* =====================================================
   用户端 · U-009 多维度评价（表单 + 展示）
   ===================================================== */
.rv-form { margin-bottom: 14px; }
.rv-form-lbl { font-size: 12px; color: var(--c-text-2); font-weight: 600; margin: 16px 0 8px; }
.rv-stars-pick { display: flex; align-items: center; gap: 4px; }
.rv-star { font-size: 30px; color: #DDD; cursor: pointer; line-height: 1; transition: transform .1s ease; }
.rv-star.on { color: #F5A623; }
.rv-star:active { transform: scale(.88); }
.rv-star-tip { font-size: 12px; color: var(--c-text-3); margin-left: 8px; }
.rv-tag-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.rv-tag-btn {
  padding: 6px 12px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--c-border); font-size: 12px;
  color: var(--c-text-2); background: #fff; cursor: pointer;
}
.rv-tag-btn.on { background: var(--c-primary-soft); border-color: var(--c-primary); color: var(--c-primary-dark); font-weight: 600; }
.rv-textarea {
  width: 100%; min-height: 88px; padding: 12px;
  border: 1.5px solid var(--c-border); border-radius: var(--radius-md);
  font-size: 13px; color: var(--c-text-1); box-sizing: border-box;
  font-family: inherit; resize: vertical; background: #fff;
}
.rv-imgs { display: flex; flex-wrap: wrap; gap: 8px; }
.rv-img { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; position: relative; background: #F5F1EF; }
.rv-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv-img span {
  position: absolute; top: 0; right: 0; width: 18px; height: 18px;
  background: rgba(0,0,0,.55); color: #fff; font-size: 13px;
  line-height: 18px; text-align: center; border-radius: 0 8px 0 8px;
}
.rv-img.add {
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: var(--c-text-3);
  border: 1.5px dashed var(--c-border); background: #fff; cursor: pointer;
}
.rv-anon-row { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-size: 13px; color: var(--c-text-1); }
.rv-switch { width: 42px; height: 24px; border-radius: 12px; background: #DDD; position: relative; transition: background .2s; cursor: pointer; flex-shrink: 0; }
.rv-switch i { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; }
.rv-switch.on { background: var(--c-primary); }
.rv-switch.on i { transform: translateX(18px); }

.rv-summary { display: flex; gap: 16px; align-items: center; background: var(--c-card-soft); border-radius: var(--radius-md); padding: 14px; margin-bottom: 10px; }
.rv-sum-score { text-align: center; min-width: 76px; flex-shrink: 0; }
.rv-sum-score b { display: block; font-family: var(--font-serif); font-size: 30px; color: var(--c-danger); line-height: 1.1; }
.rv-sum-score span { font-size: 11px; color: var(--c-text-3); }
.rv-sum-bars { flex: 1; min-width: 0; }
.rv-bar-row { display: flex; align-items: center; gap: 6px; font-size: 10px; color: var(--c-text-3); margin-bottom: 3px; }
.rv-bar-lbl { width: 28px; flex-shrink: 0; }
.rv-bar { flex: 1; height: 5px; background: #EEE; border-radius: 3px; overflow: hidden; }
.rv-bar i { display: block; height: 100%; background: var(--c-primary); border-radius: 3px; }
.rv-bar-num { width: 14px; text-align: right; flex-shrink: 0; }
.rv-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.rv-tag { padding: 4px 10px; background: var(--c-primary-soft); color: var(--c-primary-dark); border-radius: var(--radius-pill); font-size: 11px; }
.rv-list { margin-top: 4px; }
.rv-item { padding: 12px 0; border-bottom: 1px dashed var(--c-divider); }
.rv-item:last-child { border-bottom: none; }
.rv-item-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.rv-avatar {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #FFE9EC, #F4C9D2);
  color: var(--c-primary-dark); font-size: 12px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.rv-who { flex: 1; min-width: 0; }
.rv-who b { display: block; font-size: 12px; color: var(--c-text-1); }
.rv-who span { font-size: 10px; color: var(--c-text-3); }
.rv-stars { color: #F5A623; font-size: 12px; letter-spacing: 1px; flex-shrink: 0; }
.rv-text { font-size: 12px; color: var(--c-text-2); line-height: 1.7; word-break: break-word; }
.rv-item-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.rv-item-tags span { padding: 3px 8px; background: #F7F3F2; color: var(--c-text-3); border-radius: var(--radius-sm); font-size: 10px; }
.rv-item-imgs { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.rv-item-imgs img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; cursor: pointer; }
.rv-reply { margin-top: 8px; padding: 8px 10px; background: #F7F3F2; border-radius: var(--radius-sm); font-size: 11px; color: var(--c-text-2); line-height: 1.6; }
.rv-reply b { display: block; color: var(--c-text-1); margin-bottom: 2px; font-size: 11px; }
.rv-more { display: block; width: 100%; padding: 10px; border: none; background: none; color: var(--c-primary); font-size: 12px; cursor: pointer; }

/* 技师端评价行：标签与商家回复 */
.rev-row-svc { font-size: 10px; color: var(--c-text-3); margin: 2px 0 4px; }
.tech-rv-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.tech-rv-tags span { padding: 2px 7px; background: var(--c-primary-soft); color: var(--c-primary-dark); border-radius: var(--radius-sm); font-size: 10px; }
.tech-rv-reply { margin-top: 6px; padding: 7px 9px; background: #F7F3F2; border-radius: var(--radius-sm); font-size: 11px; color: var(--c-text-2); line-height: 1.6; }
.tech-rv-reply b { display: block; color: var(--c-text-1); margin-bottom: 2px; font-size: 11px; }

/* =====================================================
   用户端 · U-002 多维度筛选条 + 筛选面板
   ===================================================== */
.mfilter-row {
  display: flex; gap: 8px; padding: 4px 16px 10px;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.mfilter-row::-webkit-scrollbar { width: 0; height: 0; display: none; }
.mchip {
  flex-shrink: 0; padding: 6px 12px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--c-border); background: #fff;
  font-size: 12px; color: var(--c-text-2); cursor: pointer;
  display: flex; align-items: center; gap: 3px; white-space: nowrap;
}
.mchip.active { background: var(--c-primary-soft); border-color: var(--c-primary); color: var(--c-primary-dark); font-weight: 600; }
.mchip-arrow { font-size: 9px; opacity: .7; }
.mchip.reset { display: none; border-style: dashed; color: var(--c-text-3); }
.mchip.reset.show { display: flex; }
.mfilter-count { padding: 0 16px 8px; font-size: 11px; color: var(--c-text-3); }
.mfilter-count b { color: var(--c-text-1); font-weight: 600; }
.mfilter-count span { color: var(--c-primary); cursor: pointer; }

.fpanel { margin: 6px 0 12px; }
.fpanel-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 2px; font-size: 14px; color: var(--c-text-1);
  border-bottom: 1px solid #F4F4F4; cursor: pointer;
}
.fpanel-row:last-child { border-bottom: none; }
.fpanel-row.on { color: var(--c-primary-dark); font-weight: 600; }
.fpanel-ok { color: var(--c-primary); font-size: 15px; }
.fpanel-group { padding: 10px 0 4px; border-bottom: 1px dashed var(--c-divider); }
.fpanel-group:last-child { border-bottom: none; }
.fpanel-gtitle { font-size: 12px; font-weight: 600; color: var(--c-text-1); margin-bottom: 10px; }
.fpanel-chips { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 8px; }
.fpanel-chip {
  padding: 7px 13px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--c-border); background: #fff;
  font-size: 12px; color: var(--c-text-2); cursor: pointer;
}
.fpanel-chip.on { background: var(--c-primary-soft); border-color: var(--c-primary); color: var(--c-primary-dark); font-weight: 600; }

/* =====================================================
 * 全局 · 装饰性伪元素不接收点击
 * 防止 absolute inset:0 的 ::before / ::after 盖住卡片内的按钮/链接
 * （技师端「申请提现」点击无效的根因修复 —— 2026-09-07）
 * ===================================================== */
.hero::before,
.earn-card::before,
.profile-head::before,
.tech-profile-head::before,
.detail-hero::after,
.profile-banner::before,
.profile-banner::after,
.dist-center-hero::after,
.checkin-hero::after { pointer-events: none; }
