/* ========== 全局样式重置 ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', 'Microsoft YaHei', sans-serif;
  font-size: 14px;
  color: #333;
  background: #f5f6f8;
  -webkit-font-smoothing: antialiased;
}

/* 微信兼容 */
body {
  padding-top: env(safe-area-inset-top);
  padding-bottom: calc(60px + env(safe-area-inset-bottom));
}

a { text-decoration: none; color: inherit; }
button { border: none; outline: none; background: none; cursor: pointer; font-family: inherit; }
img { display: block; max-width: 100%; }
ul, li { list-style: none; }

input, textarea { outline: none; border: none; font-family: inherit; }

/* ========== 主题色 ========== */
:root {
  --primary: #ff4d6a;
  --primary-light: #ff6b84;
  --primary-dark: #e6415c;
  --secondary: #ff8a80;
  --text-primary: #222;
  --text-secondary: #666;
  --text-gray: #999;
  --text-light: #bbb;
  --bg: #f5f6f8;
  --white: #fff;
  --border: #eee;
  --success: #52c41a;
  --warning: #faad14;
  --danger: #ff4d4f;
  --star: #ffa940;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* ========== 通用工具类 ========== */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }

.text-primary { color: var(--primary); }
.text-star { color: var(--star); }
.text-gray { color: var(--text-gray); }
.text-secondary { color: var(--text-secondary); }

.font-bold { font-weight: 600; }
.font-12 { font-size: 12px; }
.font-13 { font-size: 13px; }
.font-14 { font-size: 14px; }
.font-16 { font-size: 16px; }
.font-18 { font-size: 18px; }
.font-20 { font-size: 20px; }
.font-24 { font-size: 24px; }

.mt-5 { margin-top: 5px; }
.mt-8 { margin-top: 8px; }
.mt-10 { margin-top: 10px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }

.mr-5 { margin-right: 5px; }
.mr-8 { margin-right: 8px; }
.mr-10 { margin-right: 10px; }

.ml-5 { margin-left: 5px; }
.ml-8 { margin-left: 8px; }

.mb-10 { margin-bottom: 10px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }

/* ========== 顶部定位栏 ========== */
.location-bar {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  min-height: 48px;
}
.location-bar .icon {
  margin-right: 8px;
  font-size: 20px;
  flex-shrink: 0;
}
#current-location-text {
  flex: 1;
  white-space: normal;
  line-height: 1.3;
  word-break: break-all;
}
.location-bar .arrow {
  margin-left: 6px;
  font-size: 14px;
  opacity: 0.9;
  flex-shrink: 0;
}

/* ========== 搜索框 ========== */
.search-wrap {
  padding: 10px 16px 14px;
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg) 100%);
}
.search-box {
  background: #fff;
  border-radius: 25px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow);
}
.search-box .icon {
  color: var(--text-gray);
  margin-right: 8px;
  font-size: 16px;
}
.search-box input {
  flex: 1;
  font-size: 15px;
  color: var(--text-primary);
  background: transparent;
}
.search-box input::placeholder {
  color: var(--text-light);
}

/* ========== Banner轮播 ========== */
.banner-wrap {
  padding: 12px 16px 0;
}
.banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 180px;
  background: linear-gradient(135deg, #ff4d6a 0%, #ff7889 50%, #ff9aa7 100%);
}
.banner::after {
  content: '';
  position: absolute;
  right: -40px;
  top: -30px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
}
.banner::before {
  content: '';
  position: absolute;
  right: 20px;
  bottom: -20px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
}
.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  padding: 28px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.banner-deco {
  font-size: 72px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
  animation: float 3s ease-in-out infinite;
  z-index: 1;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.banner-slide.active { opacity: 1; }
.banner-text { flex: 1; padding-top: 8px; }
.banner-title {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.banner-subtitle {
  display: inline-block;
  background: rgba(255,255,255,0.95);
  color: var(--primary);
  padding: 7px 20px;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.banner-img {
  width: 150px;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.banner-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.banner-dot {
  width: 18px;
  height: 4px;
  background: rgba(255,255,255,0.5);
  border-radius: 2px;
}
.banner-dot.active {
  width: 22px;
  background: #fff;
}

/* ========== 标签栏 ========== */
.tag-tabs {
  background: #fff;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.tab-wrap {
  display: flex;
  margin: 0 16px;
  padding: 4px;
  background: #f5f6f8;
  border-radius: 24px;
  gap: 0;
  flex: 1;
}
.tab-item {
  flex: 1;
  padding: 8px 0;
  font-size: 14px;
  color: #666;
  border-radius: 20px;
  white-space: nowrap;
  font-weight: 500;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.tab-item.active {
  color: var(--primary);
  background: #fff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.tab-item.active::after {
  display: none;
}
.tab-item .arrow {
  font-size: 10px;
  color: #bbb;
  margin-left: 2px;
  transition: all 0.2s;
}
.tab-item.active .arrow {
  color: var(--primary);
  font-weight: bold;
}

/* 技师页的filter按钮 */
.filter-bar {
  padding: 10px 16px 6px;
  display: flex;
  gap: 10px;
}
.filter-btn {
  background: #fff;
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 15px;
  color: var(--text-primary);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.filter-btn.primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ========== 服务卡片 ========== */
.service-list {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  gap: 14px;
  box-shadow: var(--shadow);
}
.service-img-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  flex-shrink: 0;
}
.service-img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  background: #f5f5f5;
  display: block;
}
.service-img-tag {
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, #ff4d6a 0%, #ff758c 100%);
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px 0 10px 0;
  font-weight: 600;
  z-index: 1;
}
.service-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}
.service-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.service-tags {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.service-tags::-webkit-scrollbar {
  display: none;
}
.service-tag {
  background: linear-gradient(90deg, #fff0f3 0%, #ffe6ea 100%);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.service-tag .clock {
  font-size: 14px;
}
.service-tag.hot {
  background: linear-gradient(90deg, #fff7e6 0%, #ffe7ba 100%);
  color: #d48806;
}
.service-tag.highlight {
  background: linear-gradient(90deg, #fff1f0 0%, #ffccc7 100%);
  color: #cf1322;
}
.service-desc {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 8px;
}
.service-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}
.service-price {
  color: var(--primary);
  font-size: 24px;
  font-weight: 800;
}
.service-price::before {
  content: '¥';
  font-size: 16px;
  margin-right: 1px;
}

/* 按钮 */
.btn {
  border-radius: 10px;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255,77,106,0.25);
}
.btn-primary:active {
  transform: scale(0.96);
  background: var(--primary-dark);
}
.btn-outline {
  border: 1px solid #ccc;
  color: #666;
  background: #fff;
}
.btn-outline:active {
  transform: scale(0.96);
  background: #f8f8f8;
}
.btn-block {
  width: 100%;
  padding: 13px;
  font-size: 16px;
  border-radius: 25px;
}

/* ========== 技师卡片优化 ========== */
.tech-list {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tech-card {
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  display: flex;
  gap: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  position: relative;
  transition: transform 0.2s;
}
.tech-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.tech-avatar {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  object-fit: cover;
  background: #f8f9fa;
  border: 1px solid #f0f0f0;
}
.tech-available-tag {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: #07c160;
  color: #fff;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(7,193,96,0.3);
}
.tech-busy-tag {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: #3875ff;
  color: #fff;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(56,117,255,0.3);
}
.tech-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tech-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tech-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tech-name {
  font-size: 17px;
  font-weight: 700;
  color: #333;
}
.tech-rating-mini {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #ff9d00;
  font-size: 13px;
  font-weight: 700;
}
.tech-rating-mini .star {
  font-size: 12px;
}
.tech-earliest-mini {
  font-size: 11px;
  background: #fff6f7;
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}
.tech-earliest-mini .time {
  margin-left: 2px;
}
.tech-mid {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tech-service-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #999;
}
.tech-distance-mini {
  color: #999;
}
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tech-tag {
  background: #f5f6f8;
  color: #7d8b99;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
}
.tech-intro {
  font-size: 12px;
  color: #666;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.tech-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid #f8f9fa;
}
.tech-actions-left {
  display: flex;
  gap: 12px;
  align-items: center;
}
.action-item {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.action-item .icon {
  font-size: 15px;
  color: #666;
}
.action-item .label {
  font-size: 12px;
  color: #999;
}
.action-item.favorite-btn.active .icon,
.action-item.favorite-btn.active .label {
  color: var(--primary);
}
.tech-book-btn {
  background: linear-gradient(135deg, #ff4d6a 0%, #ff758c 100%);
  color: #fff;
  border: none;
  padding: 6px 16px;
  border-radius: 18px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(255,77,106,0.2);
}
.tech-book-btn:active {
  transform: scale(0.95);
  opacity: 0.9;
}

/* ========== 订单空状态 ========== */
.empty-wrap {
  padding: 80px 24px;
  text-align: center;
}
.empty-img {
  width: 220px;
  margin: 0 auto 20px;
}
.empty-text {
  color: var(--text-gray);
  font-size: 16px;
}

/* ========== 我的页面 ========== */
.my-header {
  background: linear-gradient(135deg, #b8f2e6 0%, #c8f7dc 30%, #fef3c7 100%);
  padding: 40px 20px 70px;
  position: relative;
  overflow: hidden;
}
.my-header::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
}
.my-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 2;
  padding: 6px 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.my-profile:active { opacity: .8; }
.arrow-icon {
  display: none;
  font-size: 26px;
  color: #888;
  margin-left: auto;
  font-weight: 300;
  opacity: .7;
}
.my-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.5);
  object-fit: cover;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.my-info .name {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
}
.role-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #fff 0%, #fff0f3 100%);
  color: var(--primary);
  padding: 3px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 6px;
  box-shadow: 0 2px 8px rgba(255,77,106,0.15);
}
.role-tag .crown {
  font-size: 14px;
}
.settings-btn {
  position: absolute;
  top: 40px;
  right: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.settings-btn .icon {
  font-size: 26px;
  color: var(--primary);
}
.my-stats {
  display: flex;
  justify-content: space-around;
  margin-top: 30px;
  position: relative;
  z-index: 2;
}
.my-stat {
  text-align: center;
}
.my-stat .num {
  font-size: 28px;
  font-weight: 800;
  color: #222;
}
.my-stat .label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* 余额卡片 */
.balance-card {
  background: linear-gradient(135deg, #ffe6d5 0%, #ffd4b8 100%);
  margin: -50px 16px 0;
  border-radius: 18px;
  padding: 22px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 8px 24px rgba(255,170,120,0.2);
  position: relative;
  z-index: 5;
}
.balance-label {
  font-size: 17px;
  color: #8b5a2b;
  font-weight: 500;
}
.balance-amount {
  font-size: 34px;
  font-weight: 800;
  color: #6b3410;
  margin-top: 6px;
}
.balance-amount::after {
  content: '元';
  font-size: 16px;
  margin-left: 4px;
  font-weight: 500;
}
.recharge-btn {
  background: linear-gradient(135deg, #fff 0%, #fff6ed 100%);
  color: #e67e22;
  padding: 10px 24px;
  border-radius: 22px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(255,255,255,0.4);
}

/* 通用卡片 */
.section-card {
  background: #fff;
  margin: 16px;
  border-radius: var(--radius);
  padding: 18px 14px;
  box-shadow: var(--shadow);
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px 14px;
}
.section-title .t {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}
.section-title .more {
  font-size: 14px;
  color: var(--text-gray);
  display: flex;
  align-items: center;
}
.section-title .more .arr {
  margin-left: 2px;
  font-size: 16px;
}

/* 图标功能网格 */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px 6px;
}
.icon-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 4px;
  border-radius: 10px;
  transition: background 0.15s;
}
.icon-item:active {
  background: #f9f9f9;
}
.icon-item .i-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  background: #f0f5ff;
}
.icon-item .i-wrap.yellow { background: linear-gradient(135deg, #fff7e6, #ffe7ba); }
.icon-item .i-wrap.purple { background: linear-gradient(135deg, #f9f0ff, #efdbff); }
.icon-item .i-wrap.blue   { background: linear-gradient(135deg, #e6f7ff, #bae7ff); }
.icon-item .i-wrap.pink   { background: linear-gradient(135deg, #fff0f6, #ffd6e7); }
.icon-item .i-wrap.green  { background: linear-gradient(135deg, #f6ffed, #d9f7be); }
.icon-item .i-wrap.orange { background: linear-gradient(135deg, #fff7e6, #ffd591); }
.icon-item .i-wrap.teal   { background: linear-gradient(135deg, #e6fffb, #87e8de); }
.icon-item .i {
  font-size: 28px;
}
.icon-item .label {
  font-size: 13px;
  color: var(--text-primary);
  text-align: center;
}

/* ========== 弹窗组件 ========== */
.confirm-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
}
.confirm-mask.active {
  opacity: 1;
  visibility: visible;
}
.confirm-dialog {
  width: 100%;
  max-width: 300px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  transform: scale(0.9);
  transition: all 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}
.confirm-mask.active .confirm-dialog {
  transform: scale(1);
}
.confirm-body {
  padding: 24px 20px;
  text-align: center;
}
.confirm-title {
  font-size: 17px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}
.confirm-text {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}
.confirm-footer {
  display: flex;
  border-top: 1px solid #f0f0f0;
}
.confirm-btn {
  flex: 1;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  transition: background 0.2s;
}
.confirm-btn:active {
  background: #f9f9f9;
}
.confirm-btn.cancel {
  color: #999;
  border-right: 1px solid #f0f0f0;
}
.confirm-btn.confirm {
  color: var(--primary);
}

/* ========== 评价弹窗 ========== */
.review-mask {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  opacity: 0; visibility: hidden;
  transition: all 0.3s;
  display: flex; align-items: flex-end;
}
.review-mask.active { opacity: 1; visibility: visible; }
.review-sheet {
  width: 100%;
  background: #fff;
  border-radius: 20px 20px 0 0;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
  padding: 20px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
}
.review-mask.active .review-sheet { transform: translateY(0); }
.review-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
}
.review-title { font-size: 18px; font-weight: 700; color: #333; }
.review-close { font-size: 24px; color: #999; line-height: 1; }
.review-stars {
  display: flex; justify-content: center; gap: 12px;
  margin-bottom: 20px;
}
.star-icon {
  font-size: 32px; color: #ddd;
  transition: color 0.2s;
}
.star-icon.active { color: #ffb800; }
.review-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 20px;
}
.review-tag {
  padding: 6px 14px;
  background: #f5f5f5;
  color: #666;
  font-size: 13px;
  border-radius: 16px;
  transition: all 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
}
.review-tag.active {
  background: #fff0f2;
  color: var(--primary);
  border-color: var(--primary);
}
.review-content {
  width: 100%;
  height: 120px;
  background: #f7f8fa;
  border: none;
  border-radius: 12px;
  padding: 12px;
  font-size: 14px;
  margin-bottom: 20px;
  resize: none;
  outline: none;
}
.review-submit {
  width: 100%;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(255,77,106,0.3);
}
.review-submit:active { transform: scale(0.98); opacity: 0.9; }

/* ========== 底部导航栏 ========== */
.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(60px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: #fff;
  display: flex;
  border-top: 1px solid var(--border);
  z-index: 100;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.04);
}
.tabbar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  font-size: 12px;
  gap: 2px;
  cursor: pointer;
  transition: all 0.2s;
}
.tabbar-item .icon {
  width: 28px;
  height: 28px;
  display: block;
  line-height: 1;
  color: var(--text-gray);
}
/* 选中态描边可见（技师/订单/我的用tab-stroke-only） */
.tabbar-item .tab-stroke-only { display: inline; }
/* 首页图标：未选中显示描边tab-stroke */
.tabbar-item .tab-stroke { display: inline; }
/* 首页图标：未选中隐藏填充tab-fill-only */
.tabbar-item .tab-fill-only { display: none; }

.tabbar-item.active {
  color: var(--primary);
  font-weight: 600;
}
.tabbar-item.active .icon {
  color: var(--primary);
  transform: scale(1.05);
}
/* 首页选中：隐藏描边，显示填充 */
.tabbar-item.active .tab-stroke { display: none; }
.tabbar-item.active .tab-fill-only { display: inline; }

/* ========== 页面容器 ========== */
.page { display: none; }
.page.active { display: block; }

/* 加载中 */
.loading {
  padding: 30px;
  text-align: center;
  color: var(--text-gray);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
}

.loading::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid var(--primary);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

#tech-load-more.loading {
  padding: 20px;
  background: transparent;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-end {
  padding: 20px 0 30px;
  text-align: center;
  color: var(--text-light);
  font-size: 13px;
  letter-spacing: 1px;
}

/* ========== 订单卡片 V2 ========== */
.order-card-v2 {
  background: #fff;
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px dashed #f0f0f0;
}
.order-no {
  font-size: 12px;
  color: var(--text-gray);
  letter-spacing: 0.2px;
}
.order-status-tag {
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: #f5f5f5;
  color: #8c8c8c;
  border: 1px solid #d9d9d9;
}
.order-status-tag.pending { color: #faad14; background: #fffbe6; border-color: #ffe58f; }
.order-status-tag.paid, .order-status-tag.accepted, .order-status-tag.serving { color: #1890ff; background: #e6f7ff; border-color: #91d5ff; }
.order-status-tag.completed { color: #52c41a; background: #f6ffed; border-color: #b7eb8f; }
.order-status-tag.cancelled { color: #bfbfbf; background: #f5f5f5; border-color: #d9d9d9; }
.order-status-tag.refund, .order-status-tag.refund_pending, .order-status-tag.refund_approved, .order-status-tag.refund_rejected, .order-status-tag.refunding, .order-status-tag.refund_failed { color: #ff4d4f; background: #fff1f0; border-color: #ffccc7; }

.order-card-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.order-service-title {
  background: #f9f9f9;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}
.order-service-title .service-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}
.order-service-title .tech-name-inline {
  font-size: 12px;
  color: var(--primary);
  font-weight: 500;
}
.order-service-title .appointment-time-inline {
  font-size: 11px;
  color: #888;
}
/* 确认弹窗样式 */
.confirm-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.confirm-mask.active {
  opacity: 1;
  visibility: visible;
}
.confirm-dialog {
  background: #fff;
  width: 80%;
  max-width: 300px;
  border-radius: 12px;
  overflow: hidden;
  transform: scale(0.9);
  transition: all 0.3s;
}
.confirm-mask.active .confirm-dialog {
  transform: scale(1);
}
.confirm-body {
  padding: 24px 20px;
  text-align: center;
}
.confirm-title {
  font-size: 17px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}
.confirm-text {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}
.confirm-footer {
  display: flex;
  border-top: 1px solid #eee;
}
.confirm-btn {
  flex: 1;
  height: 48px;
  border: none;
  background: none;
  font-size: 16px;
  outline: none;
}
.confirm-btn:active {
  background: #f9f9f9;
}
.confirm-btn.cancel {
  color: #666;
  border-right: 1px solid #eee;
}
.confirm-btn.confirm {
  color: #07c160;
  font-weight: 600;
}
.confirm-btn.confirm:active {
  background: rgba(7,193,96,0.05);
}

.order-time-group {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  row-gap: 8px;
}
.order-time-item {
  display: flex;
  align-items: center;
  font-size: 11px;
  color: #888;
  line-height: 1.5;
  width: 50%;
  padding-right: 4px;
  box-sizing: border-box;
}
.order-time-item span:first-child {
  width: 50px;
  flex-shrink: 0;
}
.order-time-item span:last-child {
  color: #555;
  flex: 1;
  font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  font-variant-numeric: tabular-nums;
}

.order-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px dashed #f0f0f0;
}
.order-price-row {
  display: flex;
  align-items: baseline;
  color: var(--primary);
}
.refund-amount-label {
  font-size: 12px;
  color: #ff4d4f;
  margin-left: 8px;
  font-weight: 500;
  background: #fff1f0;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #ffccc7;
  display: inline-flex;
  align-items: center;
}
.refund-amount-label.editable {
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dashed;
}
.refund-voucher-preview {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: #fafafa;
  border-radius: 8px;
  border: 1px solid #f0f0f0;
}
.voucher-thumb {
  width: 60px;
  height: 45px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #ddd;
}
.voucher-label {
  font-size: 12px;
  color: #8c8c8c;
}
.voucher-time-group {
  margin-left: auto;
  text-align: right;
  display: flex;
  align-items: center;
  gap: 4px;
}
.voucher-time-value {
  font-size: 12px;
  color: #555;
  font-weight: 500;
}
.price-unit {
  font-size: 14px;
  font-weight: 700;
  margin-right: 1px;
}
.price-value {
  font-size: 22px;
  font-weight: 800;
}
.order-btns {
  display: flex;
  gap: 8px;
}
.btn-order-primary, .btn-order-outline {
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-order-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 8px rgba(255,77,106,0.2);
}
.btn-order-outline {
  background: #fff;
  color: var(--text-secondary);
  border: 1px solid #d9d9d9;
}
.btn-order-primary:active, .btn-order-outline:active {
  transform: scale(0.95);
}

/* ========== 下拉刷新适配主题 ========== */
.pull-to-refresh .refresh-icon {
  border-color: var(--primary);
  border-top-color: transparent;
}


/* Toast */
.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.toast.show { opacity: 1; }

/* ========== 服务详情页 ========== */
#page-detail {
  background: #f5f6f8;
}

/* 顶部Hero区域 */
.detail-hero {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
}
.detail-top-notice {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 6;
  padding: 10px 16px;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  color: #ff4d6a;
  letter-spacing: 1px;
  background: linear-gradient(180deg, rgba(255,230,234,0.9) 0%, rgba(255,230,234,0) 100%);
}
.detail-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  background: #ffe6ea;
}
.detail-hero-mask {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(255,230,234,0.3) 0%, rgba(255,255,255,0.1) 40%, rgba(245,246,248,1) 98%);
}
.detail-back-btn {
  position: absolute;
  top: calc(env(safe-area-inset-top, 0px) + 8px);
  left: 12px;
  z-index: 10;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.detail-tag-badge {
  position: absolute;
  top: calc(env(safe-area-inset-top, 0px) + 8px);
  left: 12px;
  z-index: 10;
  background: linear-gradient(135deg, #ff4d6a 0%, #ff758c 100%);
  color: #fff;
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(255,77,106,0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.detail-hero-titles {
  position: absolute;
  left: 20px;
  bottom: 80px;
  z-index: 5;
  max-width: 68%;
}
.detail-hero-name {
  font-size: 40px;
  font-weight: 900;
  color: #ff4d6a;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(255,255,255,0.6);
}
.detail-hero-sub {
  font-size: 22px;
  color: #555;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(255,255,255,0.8);
}
.detail-duration-capsule {
  position: absolute;
  top: calc(env(safe-area-inset-top, 0px) + 60px);
  right: 16px;
  z-index: 8;
  background: linear-gradient(90deg, rgba(255,230,234,0.9) 0%, rgba(255,240,243,0.95) 100%);
  color: #ff4d6a;
  padding: 10px 18px;
  border-radius: 22px;
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 14px rgba(255,77,106,0.15);
  backdrop-filter: blur(6px);
}
.detail-duration-capsule .c-icon {
  color: #ff4d6a;
  margin-right: 2px;
}

/* 价格卡片（悬浮效果 白卡+渐变边） */
.detail-price-card {
  margin: -38px 16px 14px;
  background: #fff;
  border-radius: 18px;
  padding: 22px 22px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  position: relative;
  z-index: 10;
  overflow: hidden;
}
.detail-price-card::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(184,242,230,0.6), rgba(255,255,255,0.3), rgba(255,230,234,0.5));
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
}
.detail-name {
  font-size: 26px;
  font-weight: 800;
  color: #222;
}
.detail-sales {
  font-size: 16px;
  color: #666;
  font-weight: 500;
}
.detail-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.detail-price-symbol {
  font-size: 22px;
  color: #ff4d6a;
  font-weight: 700;
}
.detail-price-value {
  font-size: 40px;
  color: #ff4d6a;
  font-weight: 900;
  line-height: 1;
}
.detail-duration-tag {
  display: inline-block;
  margin-left: 8px;
  background: #333;
  color: #fff;
  padding: 4px 14px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 500;
}

/* 详情Tab */
.detail-tabs {
  background: #fff;
  margin: 14px 16px 0;
  border-radius: 16px 16px 0 0;
  padding: 16px 0 0;
  display: flex;
  justify-content: space-around;
  border-bottom: 1px solid #eee;
}
.detail-tab {
  padding: 10px 20px 14px;
  font-size: 19px;
  color: #333;
  font-weight: 500;
  position: relative;
  cursor: pointer;
}
.detail-tab.active {
  color: #222;
  font-weight: 700;
  font-size: 21px;
  background: linear-gradient(135deg, rgba(220,248,238,0.5), rgba(240,255,248,0.8));
  border-radius: 12px 12px 0 0;
}

/* Tab内容 */
.detail-tab-content {
  background: #fff;
  margin: 0 16px 16px;
  border-radius: 0 0 16px 16px;
  padding: 20px 18px 24px;
  min-height: 400px;
}
.detail-panel-section {
  border-left: 4px solid #e9fbf5;
  padding-left: 14px;
  margin-bottom: 28px;
}
.detail-panel-section + .detail-panel-section { margin-top: 8px; }
.detail-panel-title {
  font-size: 22px;
  font-weight: 700;
  color: #222;
  margin-bottom: 16px;
}
.detail-info-table {
  background: #fff;
  border-radius: 12px;
  padding: 6px 4px;
}
.info-row {
  display: flex;
  padding: 12px 10px;
  border-bottom: 1px solid #f2f6f4;
  font-size: 16px;
}
.info-row:last-child { border-bottom: none; }
.info-label {
  width: 96px;
  color: #666;
  flex-shrink: 0;
}
.info-value {
  color: #222;
  font-weight: 500;
}

/* 项目亮点装饰条 */
.highlights-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 14px;
  background: linear-gradient(135deg, #fff0f3 0%, #ffe6ea 50%, #fff7e6 100%);
  border-radius: 14px 14px 0 0;
  margin-top: 8px;
}
.hl-svg {
  flex: 1;
  max-width: 35%;
  height: 40px;
  display: block;
}
.hl-text {
  color: #ff4d6a;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 2px;
  flex-shrink: 0;
}
.highlight-list {
  background: #fff;
  padding: 22px 20px;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.highlight-list li {
  padding: 12px 0 12px 30px;
  font-size: 16px;
  color: #333;
  position: relative;
  line-height: 1.5;
  border-bottom: 1px dashed #f0f0f0;
}
.highlight-list li:last-child { border-bottom: none; }
.highlight-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 12px;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #b8f2e6, #74e2c7);
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-big-img {
  width: 100%;
  border-radius: 14px;
  margin-top: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  background: #ffe6ea;
  min-height: 160px;
}

/* 禁忌说明/下单须知 */
.bulletin-list {
  background: #fff;
  padding: 10px 6px;
}
.bulletin-list li {
  position: relative;
  padding: 12px 0 12px 30px;
  font-size: 16px;
  color: #444;
  line-height: 1.6;
  border-bottom: 1px dashed #f0f0f0;
}
.bulletin-list li:last-child { border-bottom: none; }
.bulletin-list li::before {
  content: '•';
  position: absolute;
  left: 12px;
  top: 6px;
  font-size: 26px;
  color: #ff4d6a;
  line-height: 1;
}

/* 固定底部选择技师按钮 */
.detail-fixed-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid #eee;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.05);
  z-index: 100;
}
.detail-fixed-bar .btn-block {
  max-width: 600px;
  margin: 0 auto;
  height: 56px;
  font-size: 20px;
  font-weight: 700;
  border-radius: 28px;
  background: linear-gradient(90deg, #ff4d6a 0%, #ff6b84 100%);
  box-shadow: 0 6px 18px rgba(255,77,106,0.3);
}

/* ========== 登录页样式 ========== */
#page-login {
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.login-page-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(env(safe-area-inset-top, 0px) + 80px) 32px 40px;
}
.login-page-logo {
  margin-bottom: 28px;
}
.login-page-brand-name {
  font-size: 34px;
  font-weight: 800;
  color: #333;
  letter-spacing: 4px;
  margin-bottom: 8px;
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
.login-page-brand-en {
  font-size: 14px;
  color: #aaa;
  letter-spacing: 6px;
  margin-bottom: 120px;
}
.wechat-login-btn-large {
  width: 100%;
  max-width: 520px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 32px;
  border: none;
  background: linear-gradient(90deg, #ff4d6a 0%, #ff6b84 100%);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 3px;
  box-shadow: 0 10px 30px rgba(255,77,106,0.35);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .15s ease, box-shadow .15s ease;
}
.wechat-login-btn-large:active {
  transform: scale(0.985);
  box-shadow: 0 6px 16px rgba(255,77,106,0.25);
}
.wechat-login-btn-large svg { display: block; flex-shrink: 0; }
.login-page-agree {
  margin-top: 32px;
  font-size: 13px;
  color: #999;
  text-align: center;
  line-height: 1.6;
  max-width: 320px;
}
.login-page-agree .agree-link {
  color: #ff4d6a;
  text-decoration: none;
}

/* ========== 设置页样式 ========== */
#page-settings {
  background: #fff;
  min-height: 100vh;
  padding-bottom: 100px;
}

/* ========== 技师服务选择弹窗 (Sheet) ========== */
.tech-sheet-mask {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(2px);
}
.tech-sheet-mask.active {
  opacity: 1;
  visibility: visible;
}
.tech-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-radius: 20px 20px 0 0;
  z-index: 201;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}
.tech-sheet.active {
  transform: translateY(0);
}
.tech-sheet-header {
  padding: 20px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #f5f5f5;
  position: relative;
}
.tech-sheet-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  background: #f5f5f5;
}
.tech-sheet-info {
  flex: 1;
}
.tech-sheet-name-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.tech-sheet-name {
  font-size: 19px;
  font-weight: 700;
  color: #222;
}
.tech-sheet-exp {
  font-size: 13px;
  color: #999;
}
.tech-sheet-tags {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.tech-sheet-tag {
  font-size: 12px;
  color: #ff4d6a;
  display: flex;
  align-items: center;
  gap: 2px;
}
.tech-sheet-more {
  font-size: 14px;
  color: #999;
  cursor: pointer;
}
.tech-sheet-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 16px;
  -webkit-overflow-scrolling: touch;
}
.tech-sheet-item {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #f8f8f8;
}
.tech-sheet-item:last-child {
  border-bottom: none;
}
.tech-sheet-item-img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  background: #f5f5f5;
}
.tech-sheet-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.tech-sheet-item-name {
  font-size: 16px;
  font-weight: 700;
  color: #333;
}
.tech-sheet-item-stats {
  font-size: 12px;
  color: #bbb;
  margin-top: 2px;
}
.tech-sheet-item-duration {
  font-size: 13px;
  color: #999;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}
.tech-sheet-item-price-row {
  display: flex;
  align-items: baseline;
  gap: 2px;
  color: #ff4d6a;
  margin-top: 4px;
}
.tech-sheet-item-price {
  font-size: 19px;
  font-weight: 700;
}
.tech-sheet-item-ctrl {
  display: flex;
  align-items: center;
  align-self: flex-end;
}
.tech-sheet-btn-add {
  width: 24px;
  height: 24px;
  background: #ff4d6a;
  color: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.tech-sheet-qty-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tech-sheet-btn-minus {
  width: 24px;
  height: 24px;
  border: 1px solid #eee;
  color: #999;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.tech-sheet-qty {
  font-size: 16px;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}
.tech-sheet-footer {
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tech-sheet-total {
  font-size: 15px;
  color: #333;
}
.tech-sheet-total span {
  font-size: 22px;
  color: #ff4d6a;
  font-weight: 800;
  margin-left: 4px;
}
.tech-sheet-submit {
  background: #ff4d6a;
  color: #fff;
  padding: 12px 28px;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(255,77,106,0.25);
}

/* 头像区 */
.settings-avatar-section {
  padding: calc(env(safe-area-inset-top, 0px) + 30px) 0 36px;
  display: flex;
  justify-content: center;
}
.settings-avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  background: #f0f0f0;
}

/* 扁平列表容器 */
.settings-list {
  background: #fff;
  padding: 0 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}
.settings-list--wide {
  margin-top: 18px;
}

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 22px;
  border-bottom: 1px solid #f2f2f2;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .15s;
  gap: 10px;
}
.settings-row:last-child { border-bottom: none; }
.settings-row:active { background: #fafafa; }

.settings-label {
  font-size: 18px;
  color: #333;
  font-weight: 400;
  flex-shrink: 0;
  max-width: 70%;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 4px;
}

.settings-tip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e8e8e8;
  color: #999;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}

.settings-value {
  font-size: 18px;
  color: #999;
  font-weight: 400;
  flex-shrink: 0;
}
.settings-value-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.value-text {
  font-size: 18px;
  color: #999;
}
.link-text {
  font-size: 18px;
  color: #ff4d6a;
  font-weight: 400;
  cursor: pointer;
}
.link-text:active { opacity: .7; }
.link-text.danger {
  color: #ff4d4f;
}
.link-text.muted {
  color: #999;
}

.phone-unbind-link {
  font-size: 14px;
  color: #999;
  cursor: pointer;
  margin-top: 4px;
  text-align: right;
}
.phone-unbind-link:active { opacity: .6; }

.settings-value-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}
.settings-value-col .value-text {
  font-size: 18px;
  color: #666;
}
.settings-value-col .link-text {
  font-size: 16px;
  color: #ff4d6a;
}
.settings-value-col .unbind-text {
  font-size: 14px;
  color: #999;
  cursor: pointer;
}
.settings-value-col .unbind-text:active { opacity: .6; }

.settings-arrow {
  font-size: 24px;
  color: #c8c8c8;
  font-weight: 300;
  flex-shrink: 0;
}

/* 底部按钮 */
.settings-bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 20px calc(18px + env(safe-area-inset-bottom));
  background: #fff;
  display: flex;
  gap: 14px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
  z-index: 100;
}
.settings-bottom button {
  flex: 1;
  height: 54px;
  border: none;
  border-radius: 28px;
  font-size: 19px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 1px;
  -webkit-tap-highlight-color: transparent;
  transition: transform .15s;
}
.settings-bottom button:active { transform: scale(0.98); }
.settings-btn-danger {
  background: #fff;
  color: #ff4d6a;
  border: 1.5px solid #ffd0d8 !important;
}
.settings-btn-logout {
  background: linear-gradient(90deg, #ff4d6a 0%, #ff6b84 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255,77,106,0.28);
}
