/* ========== 全局基础 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body {
  width: 100%; height: 100%;
  background: #0a0a16;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
body { background: linear-gradient(135deg, #1a1a3e 0%, #0d0d20 100%); }

/* ========== 手机外壳 ========== */
#phone {
  position: relative;
  width: 390px; height: 844px;
  max-height: 96vh; max-width: 96vw;
  background: #12122a;
  border-radius: 44px;
  box-shadow: 0 0 0 12px #1c1c2e, 0 30px 80px rgba(0,0,0,0.6);
  overflow: hidden;
  display: flex; flex-direction: column;
}

/* 视图容器 */
#screen { flex: 1; position: relative; overflow: hidden; }
.view {
  position: absolute; inset: 0;
  display: none; flex-direction: column;
  background: #12122a;
}
.view.active { display: flex; }

/* 顶部导航标题 */
.nav-title {
  height: 48px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 600; color: #fff;
  background: #12122a;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* 滚动区域 */
.scroll-area { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: 12px; }
.scroll-area::-webkit-scrollbar { width: 0; }

/* 隐藏数字输入框的 ▲/▼ 微调按钮 */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}

/* ========== 统计卡片 ========== */
.stats-section { padding: 0 16px; margin-bottom: 12px; }
.stats-row { display: flex; gap: 10px; }
.stat-card-main {
  flex: 1.3; background: linear-gradient(145deg, #2d1b69, #1e1347);
  border-radius: 12px; padding: 14px 12px; position: relative; overflow: hidden;
  border: 1px solid rgba(168,85,247,0.2); min-height: 96px;
}
.stat-label { font-size: 13px; color: #d0b0ff; margin-bottom: 4px; }
.stat-value { font-size: 20px; color: #fff; font-weight: 700; margin-bottom: 6px; }
.stat-deco-hearts { position: absolute; right: 6px; bottom: 4px; opacity: 0.5; }
.deco-heart { position: absolute; color: #f472b6; }
.deco-heart-1 { font-size: 28px; right: 30px; bottom: 6px; opacity: 0.9; }
.deco-heart-2 { font-size: 22px; right: 6px; bottom: 16px; opacity: 0.7; }
.deco-heart-3 { font-size: 12px; right: 46px; bottom: 26px; opacity: 0.4; }
.deco-heart-4 { font-size: 9px; right: 56px; bottom: 34px; opacity: 0.3; }
.stats-col-right { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.stat-card-small { flex: 1; border-radius: 10px; padding: 10px; position: relative; overflow: hidden; min-height: 43px; }
.stat-card-gold { background: linear-gradient(145deg, #4a3728, #3a2a1e); border: 1px solid rgba(250,204,21,0.2); }
.stat-card-dj { background: linear-gradient(145deg, #3d1f4a, #2d1535); border: 1px solid rgba(232,93,155,0.2); }
.stat-label-sm { font-size: 11px; color: #c0a0dd; margin-bottom: 2px; }
.stat-value-sm { font-size: 15px; color: #fff; font-weight: 700; }
.stat-deco-icon { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 22px; opacity: 0.7; }

/* ========== Banner ========== */
.banner-section { padding: 0 16px; margin-bottom: 12px; position: relative; }
.banner-swiper { width: 100%; height: 130px; border-radius: 12px; overflow: hidden; }
.banner-track { display: flex; height: 100%; transition: transform 0.4s ease; }
.banner-slide { min-width: 100%; height: 100%; }
.banner-slide img { width: 100%; height: 100%; object-fit: cover; }
.banner-dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; }
.banner-dots .dot { width: 6px; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.3); transition: all 0.3s; }
.banner-dots .dot.active { background: #e85ca0; width: 14px; }

/* ========== 筛选栏（质感升级） ========== */
.filter-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; margin-bottom: 8px; font-size: 13px; }
.filter-left { display: flex; align-items: center; gap: 6px; }
.filter-right { display: flex; align-items: center; }
.filter-cell {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px 7px 9px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(124,92,252,0.12), rgba(124,92,252,0.04));
  border: 1px solid rgba(124,92,252,0.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 2px 8px rgba(0,0,0,0.15);
  cursor: pointer; transition: all .25s ease;
  position: relative; overflow: hidden;
}
.filter-cell::before {
  content:''; position:absolute; top:0;left:-100%;width:50%;height:100%;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,0.06),transparent);
  transition:left .4s ease;
}
.filter-cell:active::before { left: 130%; }
.filter-cell:active { border-color: rgba(124,92,252,0.45); transform: scale(0.97); }

/* ---- 城市定位图标（光晕圆点+脉冲） ---- */
.filter-icon-wrap {
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative; flex-shrink: 0;
}
.city-icon {
  background: linear-gradient(135deg, #e85ca0, #d63384);
  box-shadow: 0 0 8px rgba(232,92,160,0.5), 0 0 16px rgba(232,92,160,0.2);
  animation: cityPulseH5 2s ease-in-out infinite;
}
@keyframes cityPulseH5 {
  0%,100% { box-shadow: 0 0 8px rgba(232,92,160,0.5), 0 0 16px rgba(232,92,160,0.2); }
  50% { box-shadow: 0 0 12px rgba(232,92,160,0.35), 0 0 24px rgba(232,92,160,0.08); }
}
.filter-icon-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 3px rgba(255,255,255,0.9);
}

/* ---- 区域图标（网格） ---- */
.area-icon {
  background: linear-gradient(135deg, #7c5cfc, #5b3fd4);
  box-shadow: 0 0 8px rgba(124,92,252,0.5);
}
.filter-icon-grid {
  width: 9px; height: 9px;
  background:
    linear-gradient(to bottom,
      transparent 0%, transparent 28%,
      #fff 28%, #fff 44%,
      transparent 44%, transparent 56%,
      #fff 56%, #fff 72%,
      transparent 72%, transparent 100%
    ),
    linear-gradient(to right,
      transparent 0%, transparent 28%,
      #fff 28%, #fff 44%,
      transparent 44%, transparent 56%,
      #fff 56%, #fff 72%,
      transparent 72%, transparent 100%
    );
  border-radius: 1px;
}

/* ---- 类型图标（三条线） ---- */
.type-icon {
  background: linear-gradient(135deg, #f5a623, #e8843a);
  box-shadow: 0 0 8px rgba(245,166,35,0.5);
}
.filter-icon-lines {
  width: 11px; height: 8px;
  background:
    linear-gradient(to bottom,
      transparent 0%, transparent 20%,
      #fff 20%, #fff 36%,
      transparent 36%, transparent 64%,
      #fff 64%, #fff 80%,
      transparent 80%, transparent 100%
    );
  border-radius: 1px;
}

.filter-text { color: #d0d0e8; font-weight: 500; white-space: nowrap; }
.filter-arrow { font-size: 11px; color: rgba(124,92,252,0.55); transform: rotate(-90deg); transition: transform .2s; }
.filter-cell:active .filter-arrow { transform: rotate(-90deg) scale(0.85); }
.filter-divider { color: rgba(124,92,252,0.25); margin: 0 4px; font-weight: 300; }

/* 城市搜索框 */
.city-search-input {
  width: 100%; height: 34px; border-radius: 10px;
  border: 1px solid rgba(124,92,252,0.3);
  background: rgba(30,24,55,0.8);
  color: #e0e0f0; font-size: 13px; padding: 0 12px;
  outline: none; box-sizing: border-box; margin-bottom: 10px;
  transition: border-color .2s;
}
.city-search-input:focus { border-color: rgba(124,92,252,0.6); }
.city-search-input::placeholder { color: #6a6a8a; }

/* ========== KTV列表 ========== */
.venue-list { padding: 0 16px; }
.venue-card {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, #25204a, #1e1940);
  border-radius: 14px; padding: 12px; margin-bottom: 12px;
  border: 1px solid rgba(124,92,252,0.12); position: relative; cursor: pointer;
}
.venue-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,92,160,0.3), transparent);
}
.venue-cover { width: 70px; height: 70px; border-radius: 50%; border: 2px solid rgba(168,85,247,0.3); object-fit: cover; flex-shrink: 0; }
.venue-info { flex: 1; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.venue-name-row { display: flex; align-items: center; gap: 6px; }
.venue-name { font-size: 15px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rebate-tag { background: linear-gradient(135deg, #7c5cfc, #a855f7); color: #fff; font-size: 10px; padding: 2px 8px; border-radius: 10px; white-space: nowrap; flex-shrink: 0; }
/* ===== 暂停营业：橙色警示标，卡片整体降调（不用 opacity，避免层叠上下文影响吸附/浮层） ===== */
.suspend-tag { background: rgba(251,191,36,0.16); color: #fbbf24; border: 1px solid rgba(251,191,36,0.4); font-size: 10px; padding: 1px 7px; border-radius: 10px; white-space: nowrap; flex-shrink: 0; }
.venue-suspended .venue-name, .venue-suspended .rank-name { color: #8a8aa8; }
.venue-suspended .venue-cover, .venue-suspended .rank-cover { filter: grayscale(0.75) brightness(0.8); }
.venue-suspended .price-tag, .venue-suspended .actor-price, .venue-suspended .rank-avg { color: #74748e; }
.activity-bar { display: flex; align-items: center; gap: 6px; padding: 2px 0 0; min-width: 0; }
.activity-bar-icon { font-size: 12px; flex-shrink: 0; }
.activity-bar-text { font-size: 11px; color: #f5a623; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.venue-price-row { display: flex; align-items: center; gap: 8px; }
.price-tag { font-size: 12px; color: #a0a0c0; background: rgba(255,255,255,0.06); padding: 2px 8px; border-radius: 4px; }
.actor-price { font-size: 12px; color: #c080ff; background: rgba(168,85,247,0.1); padding: 2px 8px; border-radius: 4px; }
.dist-tag { font-size: 11px; color: #6fd3a8; background: rgba(61,220,151,0.12); border: 1px solid rgba(61,220,151,0.3); padding: 2px 7px; border-radius: 4px; }
.venue-action { display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; margin-left: 4px; }
.view-count { display: flex; align-items: center; gap: 2px; font-size: 11px; color: #8888aa; }
/* ========== 详情页 ========== */
.detail-nav { height: 48px; flex-shrink: 0; display: flex; align-items: center; padding: 0 12px; background: #12122a; border-bottom: 1px solid rgba(255,255,255,0.04); }
.back-btn { width: 32px; height: 32px; font-size: 26px; color: #fff; background: none; border: none; cursor: pointer; line-height: 1; }
.detail-nav-title { font-size: 16px; font-weight: 600; margin-left: 8px; }
.detail-banner { width: 100%; height: 200px; overflow: hidden; }
.detail-banner img { width: 100%; height: 100%; object-fit: cover; }
/* 门店环境图轮播 */
.detail-gallery { position: relative; width: 100%; height: 230px; overflow: hidden; background: #1a1535; }
.gallery-track { display: flex; height: 100%; width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; width: 100%; height: 100%; scroll-snap-align: center; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.g-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.4); transition: all .25s; cursor: pointer; }
.g-dot.active { width: 18px; border-radius: 4px; background: #fff; }
.gallery-counter { position: absolute; top: 10px; right: 12px; background: rgba(0,0,0,0.45); color: #fff; font-size: 12px; padding: 2px 9px; border-radius: 12px; }
.detail-info { padding: 14px 16px 8px; }

/* 门店编辑 - 图片上传 */
.img-uploader { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 4px; }
.img-thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.img-thumb { position: relative; width: 76px; height: 76px; border-radius: 10px; overflow: hidden; border: 1px solid rgba(124,92,252,0.3); }
.img-thumb img { width: 100%; height: 100%; object-fit: cover; }
.img-thumb-del { position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; border-radius: 50%; background: rgba(0,0,0,0.6); color: #fff; font-size: 11px; line-height: 18px; text-align: center; cursor: pointer; }
.img-thumb-badge { position: absolute; bottom: 2px; left: 2px; background: linear-gradient(135deg, #e85ca0, #f472b6); color: #fff; font-size: 10px; padding: 1px 5px; border-radius: 6px; }
.img-add-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 76px; height: 76px; border-radius: 10px; border: 1px dashed rgba(124,92,252,0.5); color: #9a8ad6; font-size: 12px; cursor: pointer; background: rgba(124,92,252,0.06); }
.img-add-btn:hover { background: rgba(124,92,252,0.14); }
.img-add-plus { font-size: 22px; line-height: 1; }
.detail-name-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.detail-name-left { display: flex; align-items: center; gap: 8px; }
.detail-name-icon { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, #e85ca0, #f472b6); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.detail-name { font-size: 18px; font-weight: 700; }
.rebate-badge { background: linear-gradient(135deg, #e85ca0, #f472b6); color: #fff; font-size: 12px; padding: 4px 12px; border-radius: 14px; font-weight: 600; box-shadow: 0 4px 16px rgba(232,92,160,0.3); }
.detail-name-right { display: flex; align-items: center; gap: 8px; }
.detail-fav-btn { font-size: 22px; color: #555577; cursor: pointer; transition: all .2s; user-select: none; }
.detail-fav-btn.active { color: #e85ca0; }
.business-row { display: flex; align-items: center; gap: 4px; margin-bottom: 10px; font-size: 13px; color: #8888aa; cursor: pointer; }
.rule-link { color: #a855f7; margin-left: 2px; }
.price-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.pt-avg { background: rgba(168,85,247,0.15); color: #c080ff; border: 1px solid rgba(168,85,247,0.2); font-size: 13px; padding: 4px 12px; border-radius: 14px; }
.pt-actor { background: rgba(232,92,160,0.12); color: #e85ca0; border: 1px solid rgba(232,92,160,0.2); font-size: 13px; padding: 4px 12px; border-radius: 14px; }
.address-bar { margin: 12px 16px; display: flex; align-items: center; justify-content: space-between; background: linear-gradient(135deg, #2d1b69, #251a55); border-radius: 10px; padding: 12px 14px; border: 1px solid rgba(124,92,252,0.18); cursor: pointer; }
.address-text { font-size: 13px; color: #c0b0e0; flex: 1; line-height: 1.5; }
.address-icon { font-size: 16px; flex-shrink: 0; margin-left: 8px; }
.dist-tag-detail { margin-left: 8px; font-size: 12px; padding: 3px 9px; }
.activity-section { margin: 0 16px 14px; background: linear-gradient(135deg, #1e1940, #25204a); border-radius: 10px; padding: 12px 14px; border: 1px solid rgba(245,158,11,0.12); }
.activity-header { display: flex; align-items: center; gap: 6px; margin-bottom: 5px; }
.activity-title { font-size: 14px; font-weight: 600; color: #f59e0b; }
.activity-text { font-size: 13px; color: #c0b090; line-height: 1.5; }
.pkg-section { padding: 0 16px 14px; }
.pkg-section-title { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.pkg-title-icon { font-size: 15px; }
.pkg-title-text { font-size: 14px; font-weight: 600; color: #a78bfa; }
/* 人员套餐 - 角色卡片网格 */
.staff-grid { display: flex; flex-direction: column; gap: 12px; }
/* 纯展示：不可点击、不可选中、无长按菜单 */
.staff-card { display: flex; align-items: center; gap: 0; border-radius: 12px; padding: 12px 12px 12px 0; position: relative; overflow: hidden; pointer-events: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.staff-accent { width: 4px; height: 36px; border-radius: 2px; margin: 0 10px 0 14px; flex-shrink: 0; }
.staff-card.actor-bg { background: linear-gradient(135deg, #1a1428, #15101e); border: 1px solid rgba(168,85,247,0.15); }
.staff-card.actor-bg .staff-accent { background: linear-gradient(180deg, #a855f7, #7c3aed); }
.staff-card.princess-bg { background: linear-gradient(135deg, #1a1220, #150e18); border: 1px solid rgba(236,72,153,0.15); }
.staff-card.princess-bg .staff-accent { background: linear-gradient(180deg, #ec4899, #db2777); }
.staff-card.manager-bg { background: linear-gradient(135deg, #161624, #11111c); border: 1px solid rgba(99,102,241,0.15); }
.staff-card.manager-bg .staff-accent { background: linear-gradient(180deg, #6366f1, #4f46e5); }
.staff-card.youngmaster-bg { background: linear-gradient(135deg, #0e1a1a, #0a1414); border: 1px solid rgba(20,184,166,0.15); }
.staff-card.youngmaster-bg .staff-accent { background: linear-gradient(180deg, #14b8a6, #0d9488); }
.staff-card-head { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 52px; margin-bottom: 0; flex-shrink: 0; }
.staff-card-emoji { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; line-height: 1; }
.staff-card.actor-bg .staff-card-emoji { background: linear-gradient(135deg, #a855f7, #7c3aed); box-shadow: 0 0 14px rgba(168,85,247,0.35), 0 2px 8px rgba(0,0,0,0.3); }
.staff-card.princess-bg .staff-card-emoji { background: linear-gradient(135deg, #ec4899, #db2777); box-shadow: 0 0 14px rgba(236,72,153,0.35), 0 2px 8px rgba(0,0,0,0.3); }
.staff-card.manager-bg .staff-card-emoji { background: linear-gradient(135deg, #6366f1, #4f46e5); box-shadow: 0 0 14px rgba(99,102,241,0.35), 0 2px 8px rgba(0,0,0,0.3); }
.staff-card.youngmaster-bg .staff-card-emoji { background: linear-gradient(135deg, #14b8a6, #0d9488); border-radius: 12px; border: 1px dashed rgba(45,212,191,0.4); box-shadow: 0 0 14px rgba(20,184,166,0.35), 0 2px 8px rgba(0,0,0,0.3); }
.staff-card-name { display: block; font-size: 12px; text-align: center; line-height: 1.2; letter-spacing: 1px; margin-top: 4px; }
.staff-card.actor-bg .staff-card-name { color: #c4b5fd; }
.staff-card.princess-bg .staff-card-name { color: #f9a8d4; }
.staff-card.manager-bg .staff-card-name { color: #a5b4fc; }
.staff-card.youngmaster-bg .staff-card-name { color: #5eead4; }
.staff-divider { width: 1px; height: 32px; margin: 0 10px; flex-shrink: 0; }
.staff-card.actor-bg .staff-divider { background: rgba(168,85,247,0.12); }
.staff-card.princess-bg .staff-divider { background: rgba(236,72,153,0.12); }
.staff-card.manager-bg .staff-divider { background: rgba(99,102,241,0.12); }
.staff-card.youngmaster-bg .staff-divider { background: rgba(20,184,166,0.12); }
.staff-card-prices { display: flex; flex-wrap: wrap; gap: 10px; flex: 1; min-width: 0; }
/* 价格芯片：卡片式，价格为主角，备注为副信息 */
.price-chip {
  border-radius: 12px;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  position: relative;
  overflow: hidden;
}
/* 价格芯片背景：各类型对应渐变 + 内发光 */
.staff-card.actor-bg .price-chip {
  background: linear-gradient(145deg, #261b42, #1d1435);
  border: 1px solid rgba(168,85,247,0.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 4px 16px rgba(124,58,237,0.15);
}
.staff-card.princess-bg .price-chip {
  background: linear-gradient(145deg, #2e1828, #251220);
  border: 1px solid rgba(236,72,153,0.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 4px 16px rgba(219,39,119,0.15);
}
.staff-card.manager-bg .price-chip {
  background: linear-gradient(145deg, #222240, #1a1a32);
  border: 1px solid rgba(99,102,241,0.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 4px 16px rgba(79,70,229,0.15);
}
.staff-card.youngmaster-bg .price-chip {
  background: linear-gradient(145deg, #12282a, #0e2022);
  border: 1px solid rgba(20,184,166,0.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 4px 16px rgba(13,148,136,0.15);
}
/* 价格文字：大号、亮白、粗体 —— 视觉焦点 */
.chip-price {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.5px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
/* 备注行：价格下方的小标签区 */
.chip-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-top: 4px;
  padding-top: 5px;
  width: 100%;
  border-top: 1px dashed rgba(255,255,255,0.08);
}
/* 备注：档位说明已下线，备注是唯一的文字说明，字号适当放大便于阅读 */
.chip-note {
  font-size: 13px;
  font-weight: 600;
  color: #f0c987;
  line-height: 1.35;
  text-align: center;
  max-width: 190px;
  white-space: normal;
}
.room-section { padding: 0 16px 14px; }
.room-card { background: linear-gradient(135deg, #16133a, #1e1940); border-radius: 10px; padding: 12px 14px; margin-bottom: 8px; border: 1px solid rgba(124,92,252,0.08); }
.room-name { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 5px; }
.room-desc { font-size: 12px; color: #8888aa; line-height: 1.6; }
.room-note {
  margin: 0 16px 14px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 10px;
  padding: 10px 12px;
  color: #c9b687;
  font-size: 12px;
  line-height: 1.6;
}
.drink-section { padding: 0 16px 14px; }
.drink-grid { display: flex; flex-wrap: wrap; gap: 10px; }
/* 纯展示：不可点击、不可选中、无长按菜单 */
.drink-card { width: calc(50% - 5px); background: linear-gradient(135deg, #1e1940, #25204a); border-radius: 10px; padding: 10px; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(124,92,252,0.08); pointer-events: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.drink-icon-wrap { width: 38px; height: 38px; border-radius: 8px; background: linear-gradient(135deg, #a855f7, #7c3aed); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px; }
.drink-info { display: flex; flex-direction: column; gap: 3px; }
.drink-name { font-size: 13px; font-weight: 600; color: #fff; }
.drink-price { font-size: 12px; color: #c080ff; font-weight: 500; }

/* ========== 排行榜 ========== */
.rank-header { padding: 16px 16px 10px; display: flex; flex-direction: column; gap: 4px; }
.rank-title { font-size: 18px; font-weight: 700; }
.rank-subtitle { font-size: 12px; color: #6a6a8a; }
.rank-tabs { display: flex; padding: 0 16px; gap: 8px; margin-bottom: 12px; }
.rank-tab { padding: 6px 14px; border-radius: 14px; font-size: 13px; color: #8a8aaa; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); cursor: pointer; }
.rank-tab.active { background: linear-gradient(135deg, #7c5cfc, #a855f7); color: #fff; border-color: transparent; box-shadow: 0 4px 16px rgba(124,92,252,0.3); }
.rank-list { padding: 0 16px; }
.rank-item { display: flex; align-items: center; gap: 12px; background: linear-gradient(135deg, #25204a, #1e1940); border-radius: 14px; padding: 14px; margin-bottom: 12px; border: 1px solid rgba(124,92,252,0.1); cursor: pointer; }
.rank-badge { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; flex-shrink: 0; }
.rank-badge.top { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; }
.rank-badge.normal { background: rgba(255,255,255,0.06); color: #6a6a8a; }
.rank-cover { width: 60px; height: 60px; border-radius: 50%; border: 2px solid rgba(168,85,247,0.3); object-fit: cover; flex-shrink: 0; }
.rank-info { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rank-name-row { display: flex; align-items: center; gap: 6px; }
.rank-name { font-size: 14px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-rebate { font-size: 10px; color: #e85ca0; background: rgba(232,92,160,0.15); padding: 1px 6px; border-radius: 7px; white-space: nowrap; }
.rank-meta { display: flex; align-items: center; gap: 8px; }
.rank-stars { font-size: 11px; color: #a855f7; }
.rank-avg { font-size: 11px; color: #8888aa; }
.rank-stats-row { display: flex; align-items: center; gap: 5px; font-size: 11px; color: #6a6a8a; }

/* ========== 预约表单 ========== */
.form-section { margin: 12px 16px; background: linear-gradient(135deg, #1e1940, #25204a); border-radius: 14px; border: 1px solid rgba(124,92,252,0.12); overflow: hidden; }
.form-item { display: flex; align-items: center; justify-content: space-between; padding: 14px; border-bottom: 1px solid rgba(255,255,255,0.04); }
.form-item:last-child { border-bottom: none; }
.form-item-textarea { flex-direction: column; align-items: flex-start; gap: 8px; }
.form-label { font-size: 14px; color: #c0c0e0; flex-shrink: 0; min-width: 90px; }
.form-value-wrap { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: flex-end; }
.form-value { font-size: 14px; color: #fff; text-align: right; }
.form-value.placeholder { color: #5a5a7a; }
.form-arrow { font-size: 16px; color: #5a5a7a; }
.form-input { text-align: right; font-size: 14px; color: #fff; width: 100%; background: none; border: none; outline: none; }
.form-input::placeholder { color: #5a5a7a; }

/* 门店地址：纵向布局 + 按坐标校准 */
.form-item-block { flex-direction: column; align-items: stretch; gap: 8px; }
.form-item-block .form-label { min-width: 0; }
/* 门店地址（保留兼容） */
.addr-calib-row { display: flex; gap: 8px; align-items: center; }
.addr-calib-row .form-input { flex: 1; text-align: left; background: rgba(0,0,0,0.25); border: 1px solid rgba(168,85,247,0.25); border-radius: 10px; padding: 10px 12px; box-sizing: border-box; }
.btn-calib { flex-shrink: 0; background: linear-gradient(135deg,#a855f7,#7c3aed); color: #fff; border: none; border-radius: 10px; padding: 10px 12px; font-size: 13px; cursor: pointer; white-space: nowrap; }
.btn-calib:hover { filter: brightness(1.1); }
.btn-calib:disabled { opacity: 0.6; cursor: default; filter: none; }
.form-hint { font-size: 11px; color: #8a8ab0; line-height: 1.5; }

/* 门店定位选择器（对齐小程序 loc-picker） */
.loc-picker {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; box-sizing: border-box;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 10px;
  min-height: 44px; padding: 12px 14px;
  cursor: pointer; transition: border-color .2s;
}
.loc-picker:hover { border-color: rgba(168, 85, 247, 0.5); }
.loc-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.loc-coord { font-size: 14px; color: #a78bfa; font-weight: 600; }
.loc-placeholder { font-size: 14px; color: #6a6a8a; }
.loc-hint { font-size: 11px; color: #555570; }
.loc-arrow { font-size: 20px; color: #6a6a8a; flex-shrink: 0; margin-left: 10px; }
/* 定位方式选择浮层 */
.loc-method-sheet { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: flex-end; justify-content: center; }
.loc-method-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.45); }
.loc-method-box {
  position: relative; z-index: 1; width: 100%; max-width: 420px;
  background: linear-gradient(145deg, #221a48, #171233);
  border: 1px solid rgba(168,85,247,0.25);
  border-radius: 18px 18px 0 0;
  padding: 20px 20px 28px;
  margin-bottom: 0;
  animation: sheet-up .25s ease-out;
}
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: translateY(0); } }
.loc-method-title {
  text-align: center; font-size: 15px; font-weight: 700; color: #c4b5fd;
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.loc-method-btn {
  display: block; width: 100%; box-sizing: border-box;
  background: rgba(168,85,247,0.1); border: 1px solid rgba(168,85,247,0.3);
  border-radius: 12px; padding: 13px 16px; margin-bottom: 10px;
  font-size: 14px; color: #d0c8f8; cursor: pointer; text-align: left;
  transition: all .15s;
}
.loc-method-btn:hover { background: rgba(168,85,247,0.2); border-color: rgba(168,85,247,0.5); }
.loc-method-cancel {
  display: block; width: 100%; box-sizing: border-box;
  background: transparent; border: none; border-radius: 12px;
  padding: 12px; font-size: 14px; color: #6a6a8a; cursor: pointer;
  text-align: center;
}
.loc-method-cancel:hover { color: #9a9ac0; }
.region-preview { margin: 4px 0 6px; font-size: 13px; padding: 8px 10px; border-radius: 8px; background: rgba(255,255,255,0.04); color: #8a8ab0; min-height: 18px; }
.region-preview.ok { color: #6ee7b7; background: rgba(16,185,129,0.12); }
.region-preview.warn { color: #fca5a5; background: rgba(239,68,68,0.12); }
/* 腾讯地图搜索选点弹层（对齐小程序 wx.chooseLocation） */
#map-picker-modal { display: none; }
#map-picker-modal.show { display: flex; }
.txmap-card { width: 94%; max-width: 480px; background: #1a1a2e; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.5); display: flex; flex-direction: column; max-height: 88vh; }
.txmap-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; font-size: 15px; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.08); flex-shrink: 0; }
.txmap-close { background: none; border: none; color: #a1a1c0; font-size: 18px; cursor: pointer; padding: 4px 8px; }
/* 搜索栏 */
.txmap-search-wrap { padding: 10px 14px; background: #1e1e36; flex-shrink: 0; }
.txmap-search-box { display: flex; align-items: center; background: #12121f; border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 0 10px; height: 38px; }
.txmap-search-icon { font-size: 14px; margin-right: 8px; flex-shrink: 0; }
.txmap-search-input { flex: 1; background: none; border: none; color: #fff; font-size: 14px; outline: none; min-width: 0; }
.txmap-search-input::placeholder { color: #666; }
.txmap-search-clear { background: none; border: none; color: #666; font-size: 14px; cursor: pointer; padding: 4px; flex-shrink: 0; }
/* 地图 */
#map-picker-canvas { width: 100%; height: 280px; background: #0f0f1a; flex-shrink: 0; }
/* POI 列表 */
.txmap-poi-list { flex: 1; overflow-y: auto; min-height: 0; background: #15152a; }
.txmap-poi-item { padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.05); cursor: pointer; transition: background .15s; }
.txmap-poi-item:hover, .txmap-poi-item.active { background: rgba(168,85,247,0.12); }
.txmap-poi-name { font-size: 14px; color: #fff; font-weight: 500; line-height: 1.4; }
.txmap-poi-addr { font-size: 12px; color: #888; margin-top: 3px; line-height: 1.3; }
.txmap-poi-empty { padding: 30px 16px; text-align: center; color: #555; font-size: 13px; }
/* 底部栏 */
.txmap-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-top: 1px solid rgba(255,255,255,0.06); flex-shrink: 0; }
.txmap-coord { font-size: 12px; color: #c4b5fd; word-break: break-all; }


/* 价格高亮（人均价 / 果盘价 / 返利比例） */
.form-label-price { color: #ffd166 !important; font-weight: 700; font-size: 15px; }
/* 人均价说明文字 */
.auto-price-note {
  box-sizing: border-box;
  background: rgba(255, 209, 102, 0.08);
  border: 1px solid rgba(255, 209, 102, 0.3);
  border-radius: 10px;
  padding: 10px 12px;
  color: #d9c79a;
  font-size: 12px;
  line-height: 1.6;
}
/* C端详情页人均价说明 */
.avg-note {
  margin: 10px 0 0;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 10px;
  padding: 10px 12px;
  color: #c9b687;
  font-size: 12px;
  line-height: 1.6;
}
.price-highlight {
  text-align: right;
  font-size: 18px !important;
  color: #ffd166 !important;
  font-weight: 700 !important;
  background: rgba(255,209,102,0.06) !important;
  border-bottom: 2px solid rgba(255,209,102,0.4) !important;
  border-radius: 0;
  padding: 6px 0 !important;
}
.price-highlight::placeholder { color: rgba(255,209,102,0.35) !important; }

/* 弹窗内价格三列对称布局 */
.form-row { display: flex; gap: 10px; }
.form-row .form-item { flex: 1; min-width: 0; flex-direction: column; align-items: stretch; gap: 6px; padding: 10px 4px; border-bottom: 1px solid rgba(255,255,255,0.04); }
.form-row .form-label { min-width: 0; font-size: 12px; text-align: center; }
.form-row .form-input { text-align: center; }
.form-row .price-highlight { text-align: center; width: 100%; box-sizing: border-box; }
.form-textarea { width: 100%; background: rgba(255,255,255,0.03); border-radius: 6px; padding: 10px; font-size: 13px; color: #fff; min-height: 60px; border: 1px solid rgba(124,92,252,0.1); outline: none; resize: none; font-family: inherit; }
.form-textarea::placeholder { color: #5a5a7a; }
.rebate-tip { margin: 12px 16px; display: flex; align-items: center; gap: 5px; background: linear-gradient(135deg, rgba(245,158,11,0.1), rgba(217,119,6,0.05)); border: 1px solid rgba(245,158,11,0.2); border-radius: 8px; padding: 9px 12px; font-size: 12px; color: #b0a080; }
.tip-highlight { color: #f59e0b; font-weight: 600; }
.submit-btn { width: calc(100% - 32px); margin: 14px 16px; height: 46px; background: linear-gradient(135deg, #e85ca0, #f472b6); border: none; border-radius: 23px; color: #fff; font-size: 16px; font-weight: 600; letter-spacing: 2px; box-shadow: 0 8px 30px rgba(232,92,160,0.35); cursor: pointer; }
.history-section { margin-top: 16px; padding: 0 16px; }
.section-title { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 10px; padding-left: 6px; border-left: 3px solid #e85ca0; }
.store-filter-title { display: flex; align-items: center; justify-content: space-between; padding-right: 6px; }
.store-city-filter {
  font-size: 13px; color: #fff; background: linear-gradient(145deg, #2a2350, #211b40);
  border: 1px solid rgba(124,92,252,0.35); border-radius: 18px; padding: 6px 28px 6px 14px;
  outline: none; cursor: pointer; -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' stroke='%23c9a6ff' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: right 10px center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25); transition: border-color .18s, box-shadow .18s;
}
.store-city-filter:hover { border-color: rgba(168,85,247,0.6); }
.store-city-filter:focus { border-color: #a855f7; box-shadow: 0 0 0 3px rgba(168,85,247,0.18); }
.store-city-filter option { background: #1a1530; color: #fff; }
.history-card { background: linear-gradient(135deg, #1e1940, #25204a); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; border: 1px solid rgba(124,92,252,0.08); }
.history-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.history-venue { font-size: 14px; font-weight: 600; color: #fff; }
.history-status { font-size: 11px; padding: 2px 8px; border-radius: 8px; }
.status-completed { background: rgba(168,85,247,0.15); color: #a855f7; }
.status-confirmed { background: rgba(34,197,94,0.15); color: #22c55e; }
.history-info { font-size: 12px; color: #8888aa; margin-bottom: 4px; }
.history-rebate { font-size: 12px; color: #f59e0b; }
.history-fin { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; font-size: 12px; color: #8888aa; }
.history-fin span:nth-child(2) { color: #f59e0b; }
.history-fin span:nth-child(3) { color: #34d399; }

/* ========== 简约预约表单（暗紫风格） ========== */
#view-booking { background: #3d2e5c; }
.book-store-name {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  padding: 20px 20px 8px;
  letter-spacing: 1px;
}
.book-form {
  margin: 8px 16px 0;
}
.book-field {
  display: flex;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.field-label {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  width: 70px;
  flex-shrink: 0;
}
.field-input {
  flex: 1;
  font-size: 15px;
  color: #fff;
  background: none;
  border: none;
  outline: none;
  text-align: left;
}
.field-input::placeholder { color: rgba(255,255,255,0.35); }
.field-code-row {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}
.field-code-input { min-width: 0; }
.code-send-btn {
  flex-shrink: 0;
  font-size: 12px;
  color: #c9a0ff;
  padding: 5px 12px;
  border: 1px solid rgba(201,160,255,0.4);
  border-radius: 14px;
  white-space: nowrap;
  background: transparent;
  cursor: pointer;
  color: #c9a0ff;
  font-size: 12px;
}
.code-send-btn:disabled,
.code-send-btn[disabled] { color: rgba(255,255,255,0.35); border-color: rgba(255,255,255,0.15); cursor: not-allowed; }
.field-value-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}
.field-value { font-size: 15px; color: #fff; }
.field-value.ph { color: rgba(255,255,255,0.35); }
.field-cal-icon { font-size: 15px; }
/* 可预约时段面板 */
.slot-panel { margin: 4px 0 6px; display: flex; flex-wrap: wrap; gap: 8px; }
.slot-btn {
  background: rgba(124,92,252,0.12); color: #d6d0ff; border: 1px solid rgba(124,92,252,0.4);
  border-radius: 10px; padding: 8px 12px; font-size: 13px; cursor: pointer; min-width: 64px;
}
.slot-btn.sel { background: linear-gradient(135deg,#9a741f,#e9c25c); color: #241a05; font-weight: 700; border-color: #e9c25c; }
.slot-btn:hover { border-color: #e9c25c; }
.slot-empty { color: rgba(255,255,255,0.45); font-size: 13px; padding: 8px 2px; }
/* 渐变橙紫提交按钮 */
.book-submit-btn {
  width: calc(100% - 32px);
  margin: 30px 16px 14px;
  height: 48px;
  border-radius: 24px;
  background: linear-gradient(135deg, #f5a623, #e8843a 45%, #c65dbf 80%, #9b51e0);
  border: none;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 4px;
  box-shadow: 0 4px 16px rgba(155,81,224,0.35);
  cursor: pointer;
}

/* ========== 我的 ========== */
.user-header { display: flex; align-items: center; padding: 24px 16px; background: linear-gradient(180deg, #1e1940, #12122a); gap: 14px; }
.avatar { width: 60px; height: 60px; border-radius: 50%; border: 2px solid rgba(232,92,160,0.4); background: rgba(255,255,255,0.05); object-fit: cover; }
.user-info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.nickname { font-size: 18px; font-weight: 600; }
.nickname.login-cta {
  align-self: flex-start;
  color: #fff;
  background: linear-gradient(135deg, #e85ca0, #d63384);
  padding: 6px 18px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(232,92,160,0.4);
  transition: transform .15s, box-shadow .15s;
}
.nickname.login-cta:active { transform: scale(0.96); box-shadow: 0 1px 6px rgba(232,92,160,0.35); }
.login-hint { font-size: 12px; color: #e85ca0; cursor: pointer; }
.settings-btn { font-size: 20px; padding: 6px; }
.data-cards { display: flex; padding: 0 16px; gap: 10px; margin-bottom: 18px; }
.data-card { flex: 1; background: linear-gradient(145deg, #1e1940, #25204a); border-radius: 10px; padding: 14px 8px; display: flex; flex-direction: column; align-items: center; gap: 5px; border: 1px solid rgba(124,92,252,0.12); }
.data-value { font-size: 18px; font-weight: 700; color: #e85ca0; }
.data-label { font-size: 11px; color: #8888aa; }
.menu-section { margin: 0 16px; background: linear-gradient(135deg, #1e1940, #25204a); border-radius: 14px; overflow: hidden; border: 1px solid rgba(124,92,252,0.08); }
.menu-item { display: flex; justify-content: space-between; align-items: center; padding: 16px 14px; border-bottom: 1px solid rgba(255,255,255,0.03); cursor: pointer; }
.menu-item:last-child { border-bottom: none; }
.menu-left { display: flex; align-items: center; gap: 10px; }
.menu-icon { font-size: 18px; width: 24px; text-align: center; }
.menu-text { font-size: 15px; color: #d0d0ee; }
.menu-right { display: flex; align-items: center; gap: 5px; }
.menu-badge { background: #ef4444; color: #fff; font-size: 10px; min-width: 16px; height: 16px; line-height: 16px; text-align: center; border-radius: 8px; padding: 0 4px; }
.menu-tag { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; font-size: 10px; padding: 2px 7px; border-radius: 7px; }
.menu-arrow { font-size: 16px; color: #4a4a6a; }
.version-info { text-align: center; padding: 20px 0; color: #3a3a5a; font-size: 11px; }

/* ========== TabBar ========== */
.tabbar { height: 56px; flex-shrink: 0; display: flex; background: #0d0d1f; border-top: 1px solid rgba(255,255,255,0.06); z-index: 50; }
.tab-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; color: #6a6a8a; }
.tab-item.active { color: #e85ca0; }
.tab-ico { font-size: 20px; }
.tab-txt { font-size: 10px; }

/* ========== Toast ========== */
.toast { position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%); background: rgba(0,0,0,0.8); color: #fff; padding: 12px 24px; border-radius: 8px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity 0.3s; z-index: 999; white-space: pre-wrap; max-width: 80vw; word-break: break-all; text-align: center; }
.toast.show { opacity: 1; }

/* ========== 自定义确认弹窗 ========== */
#confirm-modal .modal-card { padding: 24px 20px 16px; background: linear-gradient(160deg, #1e1535, #1a1028); border: 1px solid rgba(168,85,247,0.3); }
#confirm-modal .confirm-icon { font-size: 32px; margin-bottom: 8px; }
#confirm-modal .confirm-msg { font-size: 15px; color: #e0e0f0; line-height: 1.5; margin-bottom: 18px; }
#confirm-modal .confirm-btns { display: flex; gap: 10px; }
#confirm-modal .confirm-btn { flex: 1; height: 38px; border: none; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .15s; }
#confirm-modal .confirm-btn.cancel { background: rgba(255,255,255,0.08); color: #9999bb; }
#confirm-modal .confirm-btn.cancel:active { background: rgba(255,255,255,0.14); }
#confirm-modal .confirm-btn.ok { background: linear-gradient(135deg, #e85ca0, #d63384); color: #fff; box-shadow: 0 3px 12px rgba(232,92,160,0.35); }
#confirm-modal .confirm-btn.ok:active { transform: scale(0.97); }

/* 响应式：小屏 */
@media (max-width: 420px) {
  #phone { width: 100vw; height: 100vh; max-height: 100vh; max-width: 100vw; border-radius: 0; box-shadow: none; }
}

/* ========== 管理后台（H5预览） ========== */
.view-admin { background: linear-gradient(160deg, #1a1a3e, #12122a); }
.login-logo { font-size: 64px; text-align: center; margin: 40px 0 10px; }
.login-title { font-size: 22px; font-weight: 800; color: #fff; text-align: center; }
.login-sub { font-size: 12px; color: #9a9ac0; text-align: center; margin: 6px 0 28px; }
.login-card { background: linear-gradient(145deg, #1e1940, #25204a); border: 1px solid rgba(124,92,252,0.15); border-radius: 16px; padding: 22px 20px; }
.login-card .form-item { margin-bottom: 16px; }
.login-btn { margin-top: 8px; width: 100%; background: linear-gradient(135deg, #e85ca0, #f472b6); color: #fff; font-size: 16px; font-weight: 700; border: none; border-radius: 10px; padding: 12px 0; cursor: pointer; }
.demo-title { font-size: 13px; color: #8a8ab0; text-align: center; margin: 28px 0 14px; }
.demo-list { display: flex; flex-direction: column; gap: 10px; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
.demo-card { position: relative; border-radius: 14px; padding: 14px 13px; cursor: pointer; overflow: hidden; border: 1px solid transparent; transition: transform .12s ease; }
.demo-card:active { transform: scale(0.97); }
.demo-avatar { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.demo-info { display: flex; flex-direction: column; }
.demo-name { font-size: 14px; font-weight: 700; color: #fff; }
.demo-scope { font-size: 11px; color: rgba(255,255,255,0.72); margin-top: 3px; }
.demo-phone { font-size: 11px; color: rgba(255,255,255,0.5); margin-top: 8px; letter-spacing: .3px; }
/* 四级专属配色（契合暗色霓虹主题） */
.demo-gold   { background: linear-gradient(150deg, #3a2a08, #221804); border-color: rgba(245,158,11,0.40); }
.demo-gold   .demo-avatar { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.demo-purple { background: linear-gradient(150deg, #241a4a, #16102e); border-color: rgba(124,92,252,0.40); }
.demo-purple .demo-avatar { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.demo-pink   { background: linear-gradient(150deg, #3a1733, #260f22); border-color: rgba(232,92,160,0.40); }
.demo-pink   .demo-avatar { background: linear-gradient(135deg, #e85ca0, #f472b6); }
.demo-cyan   { background: linear-gradient(150deg, #07303a, #04222a); border-color: rgba(34,211,238,0.40); }
.demo-cyan   .demo-avatar { background: linear-gradient(135deg, #22d3ee, #06b6d4); }
.quick-phone { display: flex; align-items: center; background: linear-gradient(135deg, #7c3aed, #a855f7); border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; cursor: pointer; box-shadow: 0 6px 20px rgba(124,92,252,0.35); }
.quick-phone-ico { font-size: 22px; margin-right: 12px; }
.quick-phone-text { flex: 1; display: flex; flex-direction: column; }
.quick-phone-main { font-size: 15px; font-weight: 700; color: #fff; }
.quick-phone-sub { font-size: 12px; color: rgba(255,255,255,0.85); margin-top: 2px; }
.quick-phone-arrow { font-size: 22px; color: #fff; }

/* 工作台 */
.role-card { background: linear-gradient(135deg, #2a1f5e, #3a2a7e); border: 1px solid rgba(168,85,247,0.3); border-radius: 16px; padding: 18px; margin-bottom: 14px; }
.role-top { display: flex; align-items: center; }
.role-avatar { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, #e85ca0, #f472b6); color: #fff; font-size: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-right: 14px; }
.role-info { flex: 1; }
.role-name { font-size: 18px; font-weight: 700; color: #fff; }
.role-tag { font-size: 12px; color: #d4b8ff; margin-top: 4px; }
.logout-btn { font-size: 13px; color: #fff; background: rgba(255,255,255,0.12); border-radius: 16px; padding: 6px 16px; cursor: pointer; }
.change-pwd-btn { margin-left: 8px; }
.stat-row { display: flex; gap: 12px; margin-bottom: 14px; }
.stat-box { flex: 1; background: linear-gradient(145deg, #1e1940, #25204a); border: 1px solid rgba(124,92,252,0.15); border-radius: 12px; padding: 16px; text-align: center; }
.stat-num { font-size: 26px; font-weight: 800; color: #f472b6; }
.stat-label { font-size: 12px; color: #9a9ac0; margin-top: 4px; }
.action-row { display: flex; gap: 12px; margin-bottom: 18px; }
.action-btn { flex: 1; text-align: center; padding: 14px 0; border-radius: 10px; font-size: 14px; font-weight: 600; color: #fff; cursor: pointer; }
.add-store { background: linear-gradient(135deg, #e85ca0, #f472b6); }
.manage-admin { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.manage-banner { background: linear-gradient(135deg, #f59e0b, #fbbf24); margin-bottom: 18px; display: flex; align-items: center; justify-content: center; }
.manage-demo { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; font-weight: 600; margin-bottom: 18px; display: flex; align-items: center; justify-content: center; }
.section-title { font-size: 14px; color: #c0c0e0; margin: 18px 0 10px; }
.store-list { display: flex; flex-direction: column; gap: 10px; }
.store-row { display: flex; align-items: center; background: linear-gradient(145deg, #1e1940, #25204a); border: 1px solid rgba(124,92,252,0.12); border-radius: 10px; padding: 14px; }
.store-main { flex: 1; }
.store-name { font-size: 15px; font-weight: 600; color: #fff; }
.store-region { font-size: 11px; color: #9a9ac0; margin-top: 4px; }
.store-meta { font-size: 11px; color: #c080ff; margin-top: 3px; }
.store-ops { display: flex; flex-direction: column; gap: 6px; }
.op-edit, .op-del { font-size: 12px; padding: 4px 14px; border-radius: 12px; text-align: center; cursor: pointer; }
.op-edit { background: rgba(124,92,252,0.2); color: #c4a8ff; }
.op-del { background: rgba(232,92,160,0.18); color: #f472b6; }
.op-preview { font-size: 12px; padding: 4px 14px; border-radius: 12px; text-align: center; cursor: pointer; background: rgba(56,189,248,0.18); color: #7dd3fc; }
.op-approve { font-size: 12px; padding: 4px 14px; border-radius: 12px; text-align: center; cursor: pointer; background: rgba(34,197,94,0.2); color: #4ade80; }
.op-reject { font-size: 12px; padding: 4px 14px; border-radius: 12px; text-align: center; cursor: pointer; background: rgba(239,68,68,0.18); color: #f87171; }
#adm-platform-stats-wrap .stat-row { gap: 8px; }
#adm-platform-stats-wrap .stat-box { padding: 12px 8px; }
#adm-platform-stats-wrap .stat-num { font-size: 20px; }

/* 统计卡片设置（后台） */
.stats-config-section { margin-top: 4px; }
.stats-config-row { margin-bottom: 10px; }
.stats-config-card {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(145deg, #1e1940, #25204a);
  border: 1px solid rgba(124,92,252,0.18);
  border-radius: 12px; padding: 14px;
}
.cfg-icon-wrap { width: 70px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cfg-icon { font-size: 18px; color: #f472b6; letter-spacing: 3px; }
.cfg-fields { flex: 1; display: flex; gap: 10px; }
.cfg-field { flex: 1; }
.cfg-label { display: block; font-size: 11px; color: #ffd166; font-weight: 600; margin-bottom: 5px; }
.cfg-input {
  width: 100%; height: 36px;
  background: rgba(0,0,0,0.3); border: 1px solid rgba(255,209,102,0.3);
  border-radius: 8px; padding: 0 10px;
  color: #fff; font-size: 13px; box-sizing: border-box;
}
.cfg-label-input { color: #ffd166; font-weight: 500; }
.cfg-value-input { color: #ffd166; font-weight: 700; font-size: 16px; text-align: center; }
.stats-save-btn {
  width: 100%; height: 42px; margin-top: 12px;
  background: linear-gradient(135deg, #e85ca0, #f472b6);
  border: none; border-radius: 10px;
  color: #fff; font-size: 15px; font-weight: 700; cursor: pointer;
}

/* 弹层 */
.modal-mask { position: fixed; inset: 0; background: rgba(0,0,0,0.7); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 16px; }
.modal-mask.show { display: flex; }
.modal-card { width: 100%; max-width: 340px; max-height: 86vh; overflow-y: auto; background: linear-gradient(160deg, #25204a, #1e1940); border: 1px solid rgba(124,92,252,0.2); border-radius: 16px; padding: 20px; }
.area-modal-wide { max-width: 420px; }

/* ===== 门店编辑全屏页面式布局 ===== */
.modal-fullscreen { padding: 0; align-items: stretch; justify-content: stretch; }
.modal-fullscreen .fs-card {
  max-width: none; width: 100%; height: 100%; max-height: none;
  border-radius: 0; border: none; padding: 0;
  display: flex; flex-direction: column;
  background: linear-gradient(160deg, #201b45, #17132f);
}
.fs-header {
  position: sticky; top: 0; z-index: 10; flex: 0 0 auto;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  background: rgba(24,19,50,0.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(124,92,252,0.25);
}
.fs-back-btn {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: 2px;
  border: 1px solid rgba(124,92,252,0.45); border-radius: 999px;
  background: rgba(124,92,252,0.18); color: #cabcff;
  font-size: 14px; font-weight: 600; padding: 6px 14px 6px 10px;
  cursor: pointer;
}
.fs-back-btn:active { background: rgba(124,92,252,0.35); }
.fs-back-arrow { font-size: 20px; line-height: 1; margin-top: -2px; }
.fs-title { flex: 1; text-align: center; margin-bottom: 0; font-size: 16px; }
.fs-body {
  flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 16px 16px 24px;
  max-width: 560px; width: 100%; margin: 0 auto; box-sizing: border-box;
}
.fs-foot {
  flex: 0 0 auto; margin-top: 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(24,19,50,0.95); border-top: 1px solid rgba(124,92,252,0.25);
  max-width: 560px; width: 100%; margin-left: auto; margin-right: auto; box-sizing: border-box;
}
.modal-title { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.modal-title .modal-back { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-right: 6px; border-radius: 50%; background: rgba(255,255,255,0.1); color: #c4a8ff; font-size: 20px; line-height: 1; cursor: pointer; }
.modal-title .modal-back:active { background: rgba(124,92,252,0.3); }
.sub-tip { display: none; font-size: 12px; line-height: 1.6; color: #f4c36b; background: rgba(244,195,107,0.1); border: 1px solid rgba(244,195,107,0.3); border-radius: 8px; padding: 8px 10px; margin-bottom: 14px; }
.modal-body { display: flex; flex-direction: column; gap: 14px; }
.modal-foot { display: flex; gap: 12px; margin-top: 18px; }
.modal-btn { flex: 1; border: none; border-radius: 10px; padding: 11px 0; font-size: 14px; font-weight: 600; cursor: pointer; }
.modal-btn.cancel { background: rgba(255,255,255,0.1); color: #c0c0e0; }
.modal-btn.confirm { background: linear-gradient(135deg, #e85ca0, #f472b6); color: #fff; }
.modal-btn.primary { background: linear-gradient(135deg,#9a741f,#e9c25c); color: #241a05; }
.modal-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; font-size: 13px; color: #d6d0f5; }
.modal-field span { color: #b9b3e6; }
.modal-sub { color: #a9a3d0; font-size: 12px; margin-bottom: 14px; }
.modal-msg { color: #ff9a9a; font-size: 12px; min-height: 16px; margin-top: 4px; }
.region-selects { display: flex; gap: 6px; }
.form-select { flex: 1; background: rgba(0,0,0,0.25); border: 1px solid rgba(124,92,252,0.25); border-radius: 10px; color: #fff; font-size: 13px; padding: 9px 6px; }
.form-select option { color: #111; }
.modal-subtitle { font-size: 13px; font-weight: 700; color: #fff; margin: 6px 0 2px; padding-left: 10px; border-left: 3px solid #a855f7; }
.modal-add { align-self: flex-start; margin: 4px 0 2px; background: rgba(124,92,252,0.15); color: #c4a8ff; border: none; border-radius: 16px; font-size: 12px; padding: 6px 14px; cursor: pointer; }
.staff-edit-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.staff-edit-ico { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.staff-edit-ico.actor-bg { background: linear-gradient(135deg,#a855f7,#7c3aed); }
.staff-edit-ico.princess-bg { background: linear-gradient(135deg,#ec4899,#db2777); }
.staff-edit-ico.manager-bg { background: linear-gradient(135deg,#8b5cf6,#6d28d9); }
.staff-edit-ico.youngmaster-bg { background: linear-gradient(135deg,#14b8a6,#0d9488); }
.staff-edit-block { background: rgba(0,0,0,0.18); border: 1px solid rgba(124,92,252,0.15); border-radius: 12px; padding: 12px; margin-bottom: 12px; }
.staff-edit-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.staff-edit-name { font-size: 13px; color: #dcdcef; }
.staff-price-block { margin-bottom: 10px; }
.staff-price-row { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.staff-edit-label { flex: 1; min-width: 0; box-sizing: border-box; background: rgba(0,0,0,0.25); border: 1px solid rgba(124,92,252,0.25); border-radius: 8px; color: #fff; font-size: 13px; padding: 8px 10px; }
.staff-edit-price { flex: 1; min-width: 0; box-sizing: border-box; background: rgba(0,0,0,0.25); border: 1px solid rgba(124,92,252,0.25); border-radius: 8px; color: #fff; font-size: 13px; padding: 8px 10px; }
.staff-price-del { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; background: rgba(232,92,160,0.18); color: #f472b6; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 13px; }
.staff-edit-note { width: 100%; background: rgba(0,0,0,0.2); border: 1px solid rgba(124,92,252,0.18); border-radius: 8px; color: #c0b0e0; font-size: 12px; padding: 7px 10px; }
.staff-price-add { font-size: 12px; color: #a855f7; cursor: pointer; margin-top: 2px; }

/* 包厢固定行（小/中/大，仅价格可改） */
.room-fixed-row { display: flex; align-items: center; justify-content: space-between; background: rgba(0,0,0,0.18); border: 1px solid rgba(124,92,252,0.15); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
.room-fixed-info { display: flex; flex-direction: column; gap: 3px; }
.room-fixed-name { font-size: 13px; color: #fff; font-weight: 600; }
.room-fixed-cap { font-size: 11px; color: #9999bb; }
.room-fixed-price { display: flex; align-items: center; gap: 5px; }
.room-price-prefix { font-size: 12px; color: #b9b9e0; }
.room-price-input { width: 84px; background: rgba(0,0,0,0.25); border: 1px solid rgba(124,92,252,0.25); border-radius: 8px; color: #ffd166; font-size: 13px; font-weight: 600; padding: 8px 10px; }
.sub-edit-row { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.sub-edit-name { flex: 1.4; background: rgba(0,0,0,0.25); border: 1px solid rgba(124,92,252,0.25); border-radius: 8px; color: #fff; font-size: 13px; padding: 8px 10px; min-width: 0; box-sizing: border-box; }
.sub-edit-desc { flex: 1.6; background: rgba(0,0,0,0.25); border: 1px solid rgba(124,92,252,0.25); border-radius: 8px; color: #fff; font-size: 13px; padding: 8px 10px; min-width: 0; }
.sub-edit-price { flex: 0.8; background: rgba(0,0,0,0.25); border: 1px solid rgba(124,92,252,0.25); border-radius: 8px; color: #fff; font-size: 13px; padding: 8px 10px; min-width: 0; box-sizing: border-box; }
.sub-edit-unit { flex: 0.8; background: rgba(0,0,0,0.25); border: 1px solid rgba(124,92,252,0.25); border-radius: 8px; color: #fff; font-size: 13px; padding: 8px 10px; min-width: 0; box-sizing: border-box; }
.sub-edit-del { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; background: rgba(232,92,160,0.18); color: #f472b6; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 13px; }
.sub-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.sub-row { display: flex; align-items: center; background: rgba(124,92,252,0.08); border-radius: 8px; padding: 10px 12px; min-height: 52px; }
.sub-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-right: 10px; }
.sub-main { flex: 1; }
.sub-name { font-size: 14px; color: #fff; }
.sub-region { font-size: 11px; color: #9a9ac0; margin-top: 2px; }
.sub-phone { font-size: 11px; color: #8a8aae; margin-top: 2px; }
.sub-ops { display: flex; gap: 6px; align-items: center; }
.sub-del { font-size: 12px; color: #f472b6; background: rgba(232,92,160,0.18); padding: 5px 12px; border-radius: 12px; cursor: pointer; }
.sub-add { border-top: 1px solid rgba(124,92,252,0.15); padding-top: 14px; }
/* 下级管理员按角色分组（L2/L3/L4） */
.region-cascade { display: flex; gap: 6px; }
.rc-select { flex: 1; min-width: 0; font-size: 13px; padding: 8px 6px !important; }
/* 添加级别分段选择器 */
.sub-level { display: flex; gap: 8px; flex-wrap: wrap; }
.sub-level-btn {
  flex: 1;
  min-width: 72px;
  padding: 9px 10px;
  font-size: 13px;
  color: #c9b8ff;
  background: rgba(124,92,252,0.10);
  border: 1px solid rgba(124,92,252,0.30);
  border-radius: 10px;
  cursor: pointer;
  transition: all .15s ease;
}
.sub-level-btn.active {
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  border-color: #a855f7;
  box-shadow: 0 4px 14px rgba(124,58,237,0.35);
}
.sub-level-item { align-items: flex-start; }
.sub-level-item .form-label { padding-top: 8px; }
.adm-group { margin-bottom: 10px; border-radius: 12px; background: rgba(124,92,252,0.06); border: 1px solid rgba(124,92,252,0.18); }
.adm-group-head { display: flex; align-items: center; justify-content: space-between; padding: 11px 12px; cursor: pointer; user-select: none; background: linear-gradient(135deg, rgba(124,58,237,0.28), rgba(168,85,247,0.18)); }
.adm-group-head:active { background: linear-gradient(135deg, rgba(124,58,237,0.42), rgba(168,85,247,0.3)); }
.adm-group-left { display: flex; align-items: center; gap: 8px; }
.adm-group-role { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.adm-group-title { font-size: 14px; font-weight: 700; color: #fff; }
.adm-group-right { display: flex; align-items: center; gap: 8px; }
.adm-group-count { font-size: 12px; color: #d8c9ff; background: rgba(0,0,0,0.28); border-radius: 999px; padding: 2px 9px; min-width: 22px; text-align: center; box-sizing: border-box; }
.adm-group-arrow { color: #cabcff; font-size: 13px; transition: transform .2s ease; }
.adm-group-body { padding: 8px 12px; display: flex !important; flex-direction: column; gap: 8px; min-height: 1px; }
.adm-group-empty { font-size: 12px; color: #8a8ab0; text-align: center; padding: 8px 0; }
.confirm-btn { margin-top: 6px; width: 100%; background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff; font-size: 15px; font-weight: 700; border: none; border-radius: 10px; padding: 11px 0; cursor: pointer; }

/* ========== 辖区区域管理（一眼看清版） ========== */
#adm-region-mgmt-wrap { margin-top: 12px; }
#adm-region-mgmt-wrap .region-overview {
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(145deg, #2a1f5e, #3a2a7e);
  border: 1px solid rgba(168,85,247,0.3);
  border-radius: 12px; padding: 12px 14px; margin-bottom: 8px;
}
#adm-region-mgmt-wrap .ov-item { display: flex; align-items: baseline; gap: 4px; }
#adm-region-mgmt-wrap .ov-num { font-size: 22px; font-weight: 800; color: #f472b6; line-height: 1; }
#adm-region-mgmt-wrap .ov-label { font-size: 11px; color: #d4b8ff; }
#adm-region-mgmt-wrap .ov-sep { font-size: 16px; color: #6a6a8a; }
#adm-region-mgmt-wrap .region-add-prov {
  margin-left: auto; font-size: 12px; color: #7dd3fc;
  padding: 5px 12px; background: rgba(56,189,248,0.15);
  border-radius: 14px; cursor: pointer; flex-shrink: 0;
}
#adm-region-mgmt-wrap .region-tip { font-size: 11px; color: #9a9ac0; line-height: 1.5; margin-bottom: 10px; }
/* 层级徽章 */
#adm-region-mgmt-wrap .lv-badge {
  font-size: 10px; font-weight: 700; color: #fff;
  padding: 2px 6px; border-radius: 5px; flex-shrink: 0; line-height: 1.4;
}
#adm-region-mgmt-wrap .lv-prov { background: linear-gradient(135deg, #e85ca0, #f472b6); }
#adm-region-mgmt-wrap .lv-city { background: linear-gradient(135deg, #7c3aed, #a855f7); }
#adm-region-mgmt-wrap .lv-dist { background: rgba(124,92,252,0.35); color: #d4b8ff; }
/* 省份卡片 */
#adm-region-mgmt-wrap .region-prov {
  background: linear-gradient(145deg, #1e1940, #25204a);
  border: 1px solid rgba(124,92,252,0.15);
  border-radius: 14px; padding: 14px; margin-bottom: 12px;
}
#adm-region-mgmt-wrap .region-prov-head { display: flex; align-items: center; gap: 8px; }
#adm-region-mgmt-wrap .region-prov-head .region-name-input {
  flex: 1; height: 34px; font-size: 15px; font-weight: 700; color: #fff;
  background: rgba(0,0,0,0.25); border-radius: 8px; padding: 0 10px; border: none; outline: none;
}
#adm-region-mgmt-wrap .region-count { font-size: 11px; color: #9a9ac0; flex-shrink: 0; }
#adm-region-mgmt-wrap .region-count-sm { font-size: 10px; }
#adm-region-mgmt-wrap .region-prov-ops { display: flex; gap: 10px; margin: 8px 0 2px; }
/* 城市块 */
#adm-region-mgmt-wrap .region-city {
  background: rgba(0,0,0,0.18); border-radius: 10px;
  padding: 10px; margin-top: 10px;
}
#adm-region-mgmt-wrap .region-city-head { display: flex; align-items: center; gap: 8px; }
#adm-region-mgmt-wrap .region-city-head .region-name-input {
  flex: 1; height: 30px; font-size: 13px; font-weight: 600; color: #fff;
  background: rgba(0,0,0,0.25); border-radius: 6px; padding: 0 8px; border: none; outline: none;
}
#adm-region-mgmt-wrap .region-city-ops { margin: 6px 0 2px; }
/* 区县 chips */
#adm-region-mgmt-wrap .region-dist-wrap { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
#adm-region-mgmt-wrap .region-dist-chip {
  display: flex; align-items: center; gap: 5px;
  background: rgba(124,92,252,0.12); border: 1px solid rgba(124,92,252,0.2);
  border-radius: 9px; padding: 5px 8px;
}
#adm-region-mgmt-wrap .region-dist-input {
  width: 72px; height: 22px; font-size: 12px; color: #c4a8ff;
  background: transparent; border: none; outline: none; min-width: 56px;
}
#adm-region-mgmt-wrap .region-dist-del { font-size: 12px; color: #f472b6; padding: 0 3px; cursor: pointer; }
#adm-region-mgmt-wrap .region-empty { font-size: 11px; color: #6a6a8a; padding: 4px 2px; }
#adm-region-mgmt-wrap .section-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.seed-btn { background: linear-gradient(135deg, #6a5cff, #e85ca0); color: #fff; border: none; border-radius: 8px; padding: 6px 12px; font-size: 12px; cursor: pointer; white-space: nowrap; }
.seed-btn:disabled { opacity: 0.6; cursor: default; }
/* 门店嵌入区县节点（对齐小程序后台：点开「N 家门店」查看） */
#adm-region-mgmt-wrap .region-dist-group { flex: 0 0 100%; }
#adm-region-mgmt-wrap .dist-store-toggle {
  font-size: 11px; color: #ffd479; cursor: pointer; user-select: none;
  margin-left: 4px; padding: 2px 6px; border-radius: 6px;
  background: rgba(255,212,121,0.1); white-space: nowrap;
}
#adm-region-mgmt-wrap .dist-store-toggle:hover { background: rgba(255,212,121,0.2); }
#adm-region-mgmt-wrap .dist-store-list { margin: 6px 0 2px; display: flex; flex-direction: column; gap: 6px; }
#adm-region-mgmt-wrap .dist-store-list .store-row { width: 100%; }
#adm-region-mgmt-wrap .region-dist-store-empty { font-size: 11px; color: #6a6a8a; padding: 4px 0 6px 2px; }
/* 操作按钮 */
#adm-region-mgmt-wrap .region-op-add {
  font-size: 11px; color: #7dd3fc; padding: 4px 10px;
  background: rgba(56,189,248,0.12); border-radius: 12px; cursor: pointer;
}
#adm-region-mgmt-wrap .region-op-del {
  font-size: 11px; color: #f472b6; padding: 4px 10px;
  background: rgba(232,92,160,0.12); border-radius: 12px; cursor: pointer;
}
#adm-region-mgmt-wrap .region-del-x { padding: 2px 8px; }

/* ========== 城市 / 区域 选择弹窗 ========== */
.area-col-list { max-height: 280px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; }
.area-opt { padding: 7px 10px; border-radius: 8px; font-size: 13px; color: #d0d0e8; background: rgba(255,255,255,0.04); border: 1px solid rgba(124,92,252,0.12); cursor: pointer; transition: all .2s; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.area-opt.active { background: linear-gradient(135deg, #e85ca0, #f472b6); color: #fff; font-weight: 700; border-color: transparent; box-shadow: 0 2px 10px rgba(232,92,160,0.4); }
.area-opt:active { background: rgba(124,92,252,0.22); }
.area-opt.disabled { color: #6a6a8a; cursor: default; }
/* 弹窗标题徽章：明显区分 城市选择器 / 区县选择器 */
.modal-badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: 20px; margin-right: 8px; vertical-align: middle; }
.modal-badge.district { background: linear-gradient(135deg, #e85ca0, #f472b6); color: #fff; }
.modal-badge.city { background: linear-gradient(135deg, #e85ca0, #d63384); color: #fff; }
.area-hint { font-size: 12px; color: #9a9ac0; text-align: center; margin-top: 6px; }

/* ========== 类型筛选弹窗 ========== */
.type-list { display: flex; flex-direction: column; gap: 10px; }
.type-opt {
  font-size: 14px; color: #d4d4ec; text-align: center;
  background: rgba(0,0,0,0.2); border: 1px solid rgba(124,92,252,0.15);
  border-radius: 10px; padding: 13px 6px; cursor: pointer;
}
.type-opt.active { background: linear-gradient(135deg, #e85ca0, #f472b6); color: #fff; font-weight: 700; border-color: transparent; }

/* ========== 返利明细 / 收藏 / 设置 弹窗内组件 ========== */
.rebate-item { background: rgba(255,255,255,0.04); border: 1px solid rgba(124,92,252,0.12); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; }
.rebate-item-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.rebate-store { font-size: 14px; font-weight: 600; color: #fff; }
.rebate-amount { font-size: 15px; font-weight: 700; color: #f59e0b; }
.rebate-item-meta { font-size: 12px; color: #8888aa; display: flex; gap: 10px; flex-wrap: wrap; }
.rebate-status { font-size: 11px; padding: 1px 8px; border-radius: 8px; }
.rebate-status.pending { background: rgba(245,158,11,0.15); color: #f59e0b; }
.rebate-status.settled { background: rgba(34,197,94,0.15); color: #22c55e; }
.rebate-user { background: rgba(124,92,252,0.14); color: #c4b5fd; padding: 1px 8px; border-radius: 8px; }
.rebate-settle-btn { margin-left: auto; background: linear-gradient(135deg,#9a741f,#e9c25c); color: #241a05; font-weight: 700; font-size: 12px; border: none; border-radius: 16px; padding: 4px 14px; cursor: pointer; }
.rebate-settle-btn:disabled { opacity: 0.6; cursor: default; }
.empty-tip { text-align: center; color: #6a6a8a; font-size: 13px; padding: 30px 0; }

.fav-card { display: flex; align-items: center; gap: 10px; background: linear-gradient(135deg, #25204a, #1e1940); border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; border: 1px solid rgba(124,92,252,0.12); }
.fav-cover { width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(168,85,247,0.3); object-fit: cover; flex-shrink: 0; }
.fav-info { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fav-name { font-size: 14px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fav-meta { font-size: 11px; color: #8888aa; }
.fav-del { font-size: 12px; color: #f472b6; background: rgba(232,92,160,0.18); padding: 5px 12px; border-radius: 12px; cursor: pointer; flex-shrink: 0; }

.settings-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.settings-label { font-size: 14px; color: #c0c0e0; }
.settings-val { font-size: 14px; color: #fff; font-weight: 500; }
.settings-about { font-size: 12px; color: #8888aa; line-height: 1.6; padding: 14px 0; }
/* 法律文书入口与全文样式 */
.legal-links { padding: 6px 0 12px; }
.legal-link { display: flex; align-items: center; justify-content: space-between; padding: 12px 4px; font-size: 14px; color: #d0d0e8; border-bottom: 1px solid rgba(255,255,255,0.04); cursor: pointer; }
.legal-link:active { background: rgba(255,255,255,0.04); }
.legal-arrow { color: #6a6a8a; font-size: 16px; }
.legal-doc { max-width: 560px; margin: 0 auto; padding: 4px 2px 30px; }
.legal-updated { font-size: 12px; color: #6a6a8a; margin-bottom: 18px; }
.legal-h { font-size: 15px; font-weight: 600; color: #c080ff; margin: 18px 0 8px; }
.legal-p { font-size: 13px; line-height: 1.85; color: rgba(255,255,255,0.75); margin: 0 0 8px; text-align: justify; }
.legal-foot { margin-top: 26px; font-size: 12px; color: #6a6a8a; text-align: center; }
.agree-tip { font-size: 12px; color: #8888aa; text-align: center; margin: 10px 0 4px; }
.agree-tip a { color: #c080ff; text-decoration: none; }

/* ========== 演示账号弹层 ========== */
.demo-card { width: 100%; max-width: 380px; max-height: 80vh; background: linear-gradient(160deg, #1a1530, #100b22); border: 1px solid rgba(168, 85, 247, 0.3); border-radius: 14px; display: flex; flex-direction: column; overflow: hidden; }
.demo-card .modal-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px 10px; border-bottom: 1px solid rgba(168, 85, 247, 0.18); }
.demo-card .modal-title { font-size: 16px; color: #f0d17a; font-weight: 600; }
.demo-card .modal-close { font-size: 20px; color: #6a6a8a; padding: 0 4px; cursor: pointer; }
.demo-tip { font-size: 12px; color: #8a7a55; padding: 10px 18px 0; }
.demo-list { padding: 10px 18px 18px; max-height: 60vh; overflow-y: auto; }
.demo-row { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; margin-bottom: 8px; background: rgba(168, 85, 247, 0.08); border: 1px solid rgba(168, 85, 247, 0.18); border-radius: 12px; cursor: pointer; user-select: none; }
.demo-row.user { background: rgba(96, 165, 250, 0.08); border-color: rgba(96, 165, 250, 0.25); }
.demo-role-tag { flex-shrink: 0; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 8px; color: #fff; }
.demo-card .tag-l1 { background: linear-gradient(135deg, #d4af37, #f0d17a); color: #241a05; }
.demo-card .tag-l2 { background: linear-gradient(135deg, #a855f7, #7c3aed); }
.demo-card .tag-l3 { background: linear-gradient(135deg, #ec4899, #db2777); }
.demo-card .tag-l4 { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.demo-card .tag-user { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.demo-info { flex: 1; min-width: 0; }
.demo-name { font-size: 14px; color: #fff; font-weight: 500; margin-bottom: 2px; }
.demo-phone { font-size: 13px; color: #c4a8ff; font-family: monospace; }
.demo-pwd { font-size: 12px; color: #8a7a55; margin-top: 2px; }
.demo-pwd-val { color: #e9c25c; font-family: monospace; }
.demo-region { font-size: 11px; color: #6fd3a8; margin-top: 2px; }
.demo-card .demo-del { flex-shrink: 0; font-size: 12px; color: #ff6b6b; padding: 4px 12px; border-radius: 14px; background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.3); align-self: center; cursor: pointer; }
.demo-card .demo-del:hover { background: rgba(239, 68, 68, 0.22); }
.demo-empty { text-align: center; padding: 30px 0; color: #6a6a8a; font-size: 13px; }


/* ============ v0.61 新增 ============ */
/* 预约记录页顶部引导（预约入口只在门店详情页） */
.book-entry-tip { display: flex; align-items: center; gap: 10px; margin: 12px 12px 4px; padding: 12px 14px;
  background: linear-gradient(135deg, rgba(233,194,92,0.14), rgba(154,116,31,0.10));
  border: 1px solid rgba(233,194,92,0.28); border-radius: 14px; }
.bet-ico { font-size: 24px; flex: none; }
.bet-txt { flex: 1; min-width: 0; }
.bet-t1 { font-size: 13px; font-weight: 700; color: #f2d98c; }
.bet-t2 { font-size: 11px; color: #b6a887; margin-top: 3px; }
.bet-btn { flex: none; border: none; border-radius: 16px; padding: 6px 14px; font-size: 12px; font-weight: 700;
  color: #241a05; background: linear-gradient(135deg, #9a741f, #e9c25c); cursor: pointer; }

/* 预约弹窗内的只读手机号 */
.field-lock-tag { font-size: 10px; color: #8a7a55; border: 1px solid rgba(233,194,92,0.3); border-radius: 8px; padding: 1px 6px; margin-left: 6px; }
.book-tip-line { text-align: center; font-size: 11px; color: #8a7a55; margin: 10px 0 24px; padding: 0 16px; line-height: 1.6; }
#booking-modal .fs-body { padding-bottom: 30px; }
#booking-modal .book-store-name { margin-top: 6px; }

/* 编辑资料弹窗 */
.pf-avatar-row { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.pf-avatar { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(233,194,92,0.4); background: #221c3c; }
.pf-avatar-ops { display: flex; flex-direction: column; gap: 6px; }
.pf-upload-btn { display: inline-block; font-size: 12px; font-weight: 700; color: #241a05; cursor: pointer;
  background: linear-gradient(135deg, #9a741f, #e9c25c); border-radius: 14px; padding: 6px 14px; }
.pf-avatar-tip { font-size: 10px; color: #8a7a55; }
.pf-msg { min-height: 16px; font-size: 12px; color: #f87171; margin-top: 6px; }

/* 返利明细：补充预约时间 / 单号 */
.rebate-item-sub { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; color: #8a7a55; margin: 4px 0 6px; }
.rebate-oid { max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rebate-item-meta { flex-wrap: wrap; row-gap: 6px; }
.rebate-user { color: #c9b98f; }

/* 小屏适配增强 */
@media (max-width: 360px) {
  .book-entry-tip { flex-wrap: wrap; }
  .bet-btn { width: 100%; margin-top: 6px; }
  .pf-avatar { width: 54px; height: 54px; }
  .data-cards .data-value { font-size: 18px; }
}

/* ===== 登录弹窗（强制手机号验证码） ===== */
.login-card { max-width: 360px; }
.login-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.login-title { font-size: 19px; font-weight: 700; color: #efe9ff; }
.login-close { font-size: 20px; color: #b9aee8; cursor: pointer; width: 32px; height: 32px; line-height: 32px; text-align: center; border-radius: 50%; }
.login-close:active { background: rgba(124,92,252,0.2); }
.login-body { display: flex; flex-direction: column; gap: 14px; }
.login-tip { font-size: 13px; color: #b9aee8; line-height: 1.5; }
.login-field { display: flex; align-items: center; gap: 10px; background: rgba(0,0,0,0.22); border: 1px solid rgba(124,92,252,0.22); border-radius: 12px; padding: 4px 12px; }
.login-label { flex: none; font-size: 14px; color: #c9bff0; width: 52px; }
.login-input { flex: 1; min-width: 0; height: 44px; border: none; background: transparent; color: #f0ecff; font-size: 15px; outline: none; }
.login-input::placeholder { color: #7d72a8; }
.login-code-field { padding-right: 6px; }
.login-code-btn { flex: none; height: 34px; padding: 0 12px; border-radius: 9px; border: none; background: linear-gradient(135deg,#a855f7,#7c3aed); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; }
.login-code-btn:disabled { opacity: 0.55; cursor: default; }
.login-msg { min-height: 18px; font-size: 13px; color: #ffb4b4; line-height: 1.4; }
.login-submit-btn { height: 48px; border: none; border-radius: 12px; background: linear-gradient(135deg,#d4af37,#f0d17a); color: #241a05; font-size: 16px; font-weight: 700; cursor: pointer; box-shadow: inset 0 1rpx 0 rgba(255,255,255,0.35); }
.login-submit-btn:active { filter: brightness(0.96); }
