/* ==========================================================================
   陪陪树洞 H5 - 全局样式
   ========================================================================== */

/* ==========================================================================
   主题令牌
   --------------------------------------------------------------------------
   两套皮肤只换变量，不动任何一条组件规则：
     night  深夜氛围（默认）—— 深紫黑底 + 暖橘光
     rose   暖玫清新        —— 暖白底 + 玫瑰粉
   切换方式：<html data-theme="rose">，由后台「系统设置 → 界面主题」下发，
   首屏在 index.html 里先读 localStorage 落一次，避免闪一下深色。
   ========================================================================== */

:root,
html[data-theme="night"] {
  color-scheme: dark;

  /* ---- 强调色 ---- */
  --pink: #ff8a65;
  --pink-deep: #ff7250;
  --pink-light: rgba(255, 138, 101, .16);
  --pink-grad: linear-gradient(135deg, #ffa279 0%, #ff7250 100%);
  --pink-text: #ff9d7a;
  --accent-rgb: 255, 138, 101;
  --accent-deep-rgb: 255, 114, 80;
  --accent-soft: #ffb59e;
  --blue: #a78bfa;
  --blue-light: rgba(167, 139, 250, .16);
  --purple: #a78bfa;

  /* ---- 文字层级 ---- */
  --text: #f4eff9;
  --text-2: #bdb2cc;
  --text-3: #8f85a3;
  --text-on-accent: #1a1118;

  /* ---- 表面层级：越靠上层越亮 ---- */
  --bg: #14101a;
  --bg-deep: #0d0a12;
  --card: #1e1826;
  --surface: #1e1826;
  --surface-2: #272032;
  --surface-3: #332a40;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .15);

  /* ---- 三组「基色」，供散落在样式里的半透明叠层使用 ----
     hl    高光 / 描边基色，浅色主题下翻转成暖棕
     frost 磨砂玻璃底（底部导航、固定操作栏）
     scrim 图片上的暗蒙层（浅色主题下也得暗，白字才压得住） */
  --hl: 255, 255, 255;
  --frost: 24, 19, 32;
  --scrim: 18, 13, 24;

  /* ---- 品牌卡渐变：钱包、工作台、邀请横幅 ---- */
  --brand-1: #4b2836;
  --brand-2: #2b1a23;

  /* 普通卡片的呼吸渐变（社区动态、心动墙卡片） */
  --card-grad: linear-gradient(150deg, #251e30 0%, #1f1929 46%, #1a1424 100%);
  /* 聊天气泡：我方 */
  --bubble-me: linear-gradient(135deg, #9c4630 0%, #7e3524 100%);
  --bubble-me-fg: #ffe7df;
  /* 心动墙整页底 + 三个入口卡 */
  --hw-bg: linear-gradient(180deg, #2e2138 0%, #251c30 26%, #1a1424 52%, #14101a 100%);
  --hw-entry-1: linear-gradient(150deg, #3d2f5c 0%, #2e2447 100%);
  --hw-entry-2: linear-gradient(150deg, #4d2c28 0%, #38201e 100%);
  --hw-entry-3: linear-gradient(150deg, #25384a 0%, #1c2b38 100%);
  /* 带顶部渐隐的页面（动态广场、心动墙） */
  --page-top: #2b2035;
  /* 危险操作（退出登录、解绑） */
  --danger-bg: rgba(248, 113, 113, .12);
  --danger-fg: #f8a5a5;
  --danger-line: rgba(248, 113, 113, .20);

  /* 店员详情页头部（没设置封面图时的兜底）+ 头部磨砂按钮 */
  --hero-bg: linear-gradient(160deg, #2b2337 0%, #1c1725 100%);
  --hero-glass: rgba(18, 13, 24, .55);

  /* 礼物卡片的压色蒙层：深色主题压暗，浅色主题提亮，都是为了让后端下发的
     粉彩色不跟页面抢戏 */
  --glaze: 18, 13, 24;

  /* ---- 品牌卡内部控件（卡片本身是高饱和色块，里面的字和按钮要自成一套）----
     深色主题：卡片深酒红，主按钮用橘色，正文一律白色系
     浅色主题：卡片玫瑰粉，主按钮反过来用白色实底，不然和卡底糊在一起 */
  --on-brand-btn-bg: linear-gradient(135deg, #ffa279 0%, #ff7250 100%);
  --on-brand-btn-fg: #1a1118;
  --on-brand-ghost-bg: rgba(255, 255, 255, .10);
  --on-brand-ghost-fg: #ffffff;
  --on-brand-chip-bg: rgba(255, 255, 255, .08);
  --on-brand-chip-fg: rgba(255, 255, 255, .72);
  --on-brand-chip-on-bg: rgba(255, 138, 101, .16);
  --on-brand-chip-on-fg: #ffb59e;

  /* ---- 状态色 ---- */
  --ok: #4ade80;
  --warn: #fbbf24;
  --err: #f87171;

  /* ---- 投影：卡片一层软阴影 + 1px 内描边 ---- */
  --shadow: inset 0 1px 0 rgba(255, 255, 255, .035), 0 4px 16px rgba(0, 0, 0, .30);
  --hair: inset 0 0 0 1px rgba(255, 255, 255, .06);
  --glow: 0 0 20px rgba(255, 138, 101, .16);
  --app-shadow: 0 0 30px rgba(0, 0, 0, .06);
}

html[data-theme="rose"] {
  color-scheme: light;

  /* ---- 强调色：暖玫 ---- */
  --pink: #e2607c;
  --pink-deep: #d14866;
  --pink-light: rgba(226, 96, 124, .10);
  --pink-grad: linear-gradient(135deg, #f2909f 0%, #e2607c 100%);
  --pink-text: #c9455f;
  --accent-rgb: 226, 96, 124;
  --accent-deep-rgb: 209, 72, 102;
  --accent-soft: #b03a55;
  --blue: #7c6cf0;
  --blue-light: rgba(124, 108, 240, .10);
  --purple: #8b6fd6;

  /* ---- 文字层级：暖黑，不用纯黑 ---- */
  --text: #2a2026;
  --text-2: #6d5b64;
  --text-3: #9c8a93;
  --text-on-accent: #ffffff;

  /* ---- 表面层级：暖白底，卡片纯白 ---- */
  --bg: #fdf8f7;
  --bg-deep: #f4eae9;
  --card: #ffffff;
  --surface: #ffffff;
  --surface-2: #faf1f0;
  --surface-3: #f3e6e4;
  --line: rgba(90, 50, 62, .10);
  --line-2: rgba(90, 50, 62, .18);

  /* ---- 基色翻转 ---- */
  --hl: 110, 70, 82;
  --frost: 255, 255, 255;
  --scrim: 40, 20, 28;

  /* ---- 品牌卡：玫瑰实底，白字依然压得住 ---- */
  --brand-1: #f0899b;
  --brand-2: #d5587a;

  --card-grad: linear-gradient(150deg, #ffffff 0%, #fffbfc 46%, #fdf3f5 100%);
  --bubble-me: linear-gradient(135deg, #f0919f 0%, #e2607c 100%);
  --bubble-me-fg: #ffffff;
  --hw-bg: linear-gradient(180deg, #fbe7ec 0%, #fdf1f3 26%, #fdf8f7 52%, #fdf8f7 100%);
  --hw-entry-1: linear-gradient(150deg, #f3edfe 0%, #eae2fc 100%);
  --hw-entry-2: linear-gradient(150deg, #fdeef1 0%, #fbe2e8 100%);
  --hw-entry-3: linear-gradient(150deg, #eef5fc 0%, #e5eff9 100%);
  --page-top: #fbe9ee;
  --danger-bg: rgba(206, 66, 72, .07);
  --danger-fg: #bf3b41;
  --danger-line: rgba(206, 66, 72, .18);
  --hero-bg: linear-gradient(160deg, #fdeef2 0%, #f8e4e9 100%);
  --hero-glass: rgba(255, 255, 255, .78);
  --glaze: 255, 255, 255;

  --on-brand-btn-bg: #ffffff;
  --on-brand-btn-fg: #c9455f;
  --on-brand-ghost-bg: rgba(255, 255, 255, .20);
  --on-brand-ghost-fg: #ffffff;
  --on-brand-chip-bg: rgba(255, 255, 255, .16);
  --on-brand-chip-fg: #ffffff;
  --on-brand-chip-on-bg: #ffffff;
  --on-brand-chip-on-fg: #c9455f;

  /* ---- 状态色：浅底上要压深，不然太飘 ---- */
  --ok: #2f9e63;
  --warn: #c0862b;
  --err: #d2484e;

  /* ---- 投影：浅色靠阴影分层，不靠描边 ---- */
  --shadow: 0 2px 10px rgba(150, 90, 108, .07);
  --hair: inset 0 0 0 1px rgba(150, 90, 108, .09);
  --glow: 0 6px 20px rgba(226, 96, 124, .16);
  --app-shadow: 0 0 40px rgba(150, 90, 108, .10);
}

/* 两套皮肤共用的尺寸令牌 */
:root {
  --radius: 18px;
  --radius-sm: 12px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-deep);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

input, textarea, button, select { font-family: inherit; outline: none; color: inherit; }
input::placeholder, textarea::placeholder { color: var(--text-3); }
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0 1000px var(--surface-2) inset;
  caret-color: var(--text);
  transition: background-color 9999s ease-in-out 0s;
}
a { text-decoration: none; color: inherit; }
img { display: block; }

#app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  overflow-x: hidden;
  box-shadow: var(--app-shadow);
}

/* ---------- 页面容器 ---------- */
.page {
  min-height: 100vh;
  padding-bottom: calc(64px + var(--safe-b));
  background: var(--bg);
}
.page--plain { background: var(--surface); }
.page-pad { padding: 0 12px; }

/* ---------- 顶部导航 ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 90;
  height: 46px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.navbar__back {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 4px;
  cursor: pointer;
}
.navbar__title {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}
.navbar__right {
  min-width: 32px;
  text-align: right;
  font-size: 13px;
  color: var(--text-3);
}

/* ---------- 搜索栏 ---------- */
.searchbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--surface);
}
.searchbar__input {
  flex: 1;
  height: 38px;
  background: var(--surface-2);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 6px;
}
.searchbar__input input {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 13px;
  color: var(--text);
}
.searchbar__input input::placeholder { color: var(--text-2); }
.searchbar__btn {
  height: 38px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--pink-grad);
  color: var(--text-on-accent);
  font-size: 13px;
  font-weight: 600;
}

/* ---------- 通用卡片 ---------- */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow), var(--hair);
  padding: 16px;
  margin-bottom: 12px;
}
.card__title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
}

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 5px;
  border-radius: 4px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
}
.tag--pink, .tag--live { background: var(--pink-light); color: var(--pink-deep); }
.tag--gray { background: var(--surface-2); color: var(--text-2); }
.tag--hot { background: linear-gradient(135deg, #ff9a7a, #ff6b8a); color: var(--text-on-accent); }

.dot-live {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ok);
  margin-right: 3px;
  vertical-align: middle;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  background: var(--pink-grad);
  color: var(--text-on-accent);
  cursor: pointer;
}
.btn:active { opacity: .85; }
.btn--block { display: flex; width: 100%; }
.btn--ghost { background: var(--surface); color: var(--pink-deep); border: 1px solid var(--pink-light); }
.btn--gray { background: var(--surface-2); color: var(--text-2); }
.btn--danger { background: var(--danger-bg); color: var(--danger-fg); box-shadow: inset 0 0 0 1px var(--danger-line); }
.btn--sm { height: 30px; padding: 0 14px; font-size: 12px; }
.btn[disabled] { opacity: .5; }

/* ---------- 底部 tabbar ---------- */
.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  background: rgba(var(--frost), .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding-bottom: var(--safe-b);
  height: calc(56px + var(--safe-b));
  align-items: center;
}
.tabbar__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-3);
  font-size: 11px;
  height: 100%;
  cursor: pointer;
  transition: color .15s;
}
.tabbar__item svg { width: 24px; height: 24px; }
.tabbar__item.is-active { color: var(--pink); font-weight: 600; }
.tabbar__item.is-active svg { filter: drop-shadow(0 0 10px rgba(var(--accent-rgb), .45)); }

/* ---------- 头像 ---------- */
.avatar {
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-2);
  flex: 0 0 auto;
}

/* 带渐变光环的头像（店员列表用） */
.avatar-ring {
  position: relative;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(150deg, #ff9e77, #a78bfa);
  flex: 0 0 auto;
}
.avatar-ring > .avatar { width: 100%; height: 100%; border: 1.5px solid rgba(var(--hl), .14); }
.avatar-ring::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(246, 179, 194, .45);
}

/* ---------- 弹窗 ---------- */
.mask {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fade .2s ease;
}
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes pop { from { transform: scale(.92); opacity: 0 } to { transform: scale(1); opacity: 1 } }

.modal {
  width: 100%;
  max-width: 340px;
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  animation: pop .22s cubic-bezier(.2, .9, .3, 1.1);
}
.modal__body { padding: 18px 16px; max-height: 62vh; overflow-y: auto; }
.modal__close {
  text-align: center;
  padding: 12px;
  color: var(--text-3);
  font-size: 13px;
  border-top: 1px solid var(--line);
}

/* 公告弹窗（首页那个蓝色框） */
.notice-modal { width: 100%; max-width: 340px; }
.notice-modal__card {
  background: var(--surface);
  border-radius: 14px;
  padding: 6px;
  position: relative;
}
.notice-modal__head {
  text-align: center;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 3px;
  padding: 8px 0 10px;
  color: var(--blue);
  
}
.notice-modal__inner {
  background: rgba(167, 139, 250, .13);
  border-radius: 10px;
  padding: 12px;
  font-size: 12px;
  line-height: 1.75;
  color: var(--blue);
}
.notice-modal__inner p { margin: 0 0 8px; }
.notice-modal__inner p:last-child { margin-bottom: 0; }

/* ---------- 空态 / 加载 ---------- */
.empty {
  padding: 60px 0;
  text-align: center;
  color: var(--text-3);
  font-size: 13px;
}
.loading-more {
  padding: 16px;
  text-align: center;
  color: var(--text-3);
  font-size: 12px;
}

/* ---------- 表单 ---------- */
.field {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 0 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.field:last-child { border-bottom: 0; }
.field__label { width: 88px; font-size: 14px; color: var(--text); flex: 0 0 auto; }
.field input {
  flex: 1;
  border: 0;
  font-size: 14px;
  background: transparent;
  min-width: 0;
}
.field input::placeholder { color: var(--text-3); }
.field__unit { color: var(--text-3); font-size: 13px; }

/* 单元格 */
.cell-group { background: var(--surface); border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; }
.cell {
  display: flex;
  align-items: center;
  padding: 15px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  gap: 10px;
  cursor: pointer;
}
.cell:last-child { border-bottom: 0; }
.cell__icon { width: 22px; display: flex; justify-content: center; color: var(--pink); }
.cell__label { flex: 1; }
.cell__value { color: var(--text-3); font-size: 13px; }
.cell__arrow { color: var(--text-3); font-size: 14px; }

/* 滚动条隐藏 */
.hscroll {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hscroll::-webkit-scrollbar { display: none; }

/* ==========================================================================
   首页 · 心动墙
   ========================================================================== */
.home { background: var(--surface); padding-bottom: calc(64px + var(--safe-b)); }

.home__banner {
  margin: 6px 12px 0;
  height: 132px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--pink) 0%, #ec5f36 45%, #c44823 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.home__banner::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -40px;
  top: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .22), rgba(var(--accent-rgb), 0) 70%);
}
.home__banner-sub { font-size: 11px; letter-spacing: 4px; opacity: .85; margin-bottom: 8px; }
.home__banner-title { font-size: 25px; font-weight: 800; letter-spacing: 3px; text-shadow: 0 2px 10px rgba(190, 90, 120, .35); }
.home__banner-tag {
  margin-top: 12px;
  padding: 3px 12px;
  border-radius: 999px;
  border: 1px solid rgba(var(--hl), .55);
  font-size: 10px;
  letter-spacing: 2px;
}

/* 榜单 */
.rank { padding: 14px 0 4px; background: var(--surface); }
.rank__tabs {
  display: flex;
  justify-content: center;
  gap: 26px;
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 12px;
  position: relative;
}
.rank__tab { position: relative; padding-bottom: 6px; cursor: pointer; }
.rank__tab.is-active { color: var(--text); font-weight: 700; font-size: 15px; }
.rank__tab.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  border-radius: 2px;
  background: var(--pink);
}
.rank__list {
  display: flex;
  gap: 14px;
  padding: 0 14px 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.rank__list::-webkit-scrollbar { display: none; }
.rank__item {
  flex: 0 0 auto;
  width: 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.rank__avatar { position: relative; width: 60px; height: 60px; }
.rank__avatar .avatar { width: 100%; height: 100%; border: 1px solid rgba(var(--hl), .08); }
.rank__live {
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ok);
  border: 2px solid rgba(var(--hl), .16);
}
.rank__name {
  font-size: 11px;
  color: var(--text);
  max-width: 68px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 人气店员 */
.hot { margin: 8px 12px 0; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.hot__head {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 16px 0 10px;
  border-radius: 0 0 22px 0;
  background: linear-gradient(90deg, #a78bfa, #7c5cff);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.hot__list { display: flex; gap: 10px; padding: 10px; overflow-x: auto; scrollbar-width: none; }
.hot__list::-webkit-scrollbar { display: none; }
.hot__item {
  flex: 0 0 auto;
  width: 96px;
  height: 116px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: var(--surface-2);
  cursor: pointer;
}
.hot__item img { width: 100%; height: 100%; object-fit: cover; }
.hot__item-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 6px 5px;
  background: linear-gradient(transparent, rgba(8, 4, 14, .82));
  color: #fff;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 全部店员 */
.clerk-head {
  display: flex;
  align-items: center;
  padding: 16px 12px 10px;
  background: var(--surface);
}
.clerk-head__title { font-size: 15px; font-weight: 800; display: flex; align-items: center; gap: 4px; }
.clerk-head__filter {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--pink-deep);
  font-size: 13px;
}
.clerk-list { padding: 0 12px 12px; background: var(--surface); }

.clerk-card {
  display: flex;
  gap: 12px;
  padding: 12px 10px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 1px 8px rgba(31, 31, 31, .05);
  margin-bottom: 10px;
  position: relative;
}
.clerk-card__left { position: relative; width: 86px; flex: 0 0 auto; }
.clerk-card__badge {
  position: absolute;
  left: -2px;
  top: -2px;
  z-index: 2;
  height: 17px;
  padding: 0 6px;
  border-radius: 9px 9px 9px 0;
  background: linear-gradient(135deg, var(--pink-text), #e85a30);
  color: #fff;
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 2px;
  box-shadow: 0 1px 4px rgba(232, 96, 127, .4);
}
.clerk-card__avatar {
  width: 86px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
.clerk-card__avatar .avatar-ring { width: 82px; height: 82px; }
.clerk-card__voice {
  position: absolute;
  left: 4px;
  bottom: 4px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(var(--scrim), .78);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1px rgba(var(--hl), .10);
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  color: var(--text-2);
  max-width: 78px;
}
.clerk-card__voice svg { flex: 0 0 auto; }
.clerk-card__voice-bar { display: flex; align-items: flex-end; gap: 1px; height: 8px; }
.clerk-card__voice-bar i { width: 1.5px; background: var(--pink); border-radius: 1px; }

.clerk-card__main { flex: 1; min-width: 0; }
.clerk-card__top { display: flex; align-items: center; gap: 6px; }
.clerk-card__name {
  font-size: 15px;
  font-weight: 700;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.clerk-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 17px;
  padding: 0 6px;
  border-radius: 9px;
  background: var(--pink-light);
  color: var(--pink-deep);
  font-size: 11px;
}
.clerk-card__like { margin-left: auto; color: var(--text-3); }
.clerk-card__tags { display: flex; flex-wrap: nowrap; gap: 4px; margin-top: 6px; overflow: hidden; }
.clerk-card__bio {
  margin-top: 6px;
  font-size: 11.5px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 3px;
  overflow: hidden;
}
.clerk-card__bio span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clerk-card__area { margin-top: 4px; font-size: 11px; color: #a0a0a0; display: flex; align-items: center; gap: 3px; }

/* ==========================================================================
   店员详情
   ========================================================================== */
.detail-hero {
  position: relative;
  padding: 18px 14px 44px;
  background: var(--hero-bg);
  border-radius: 0 0 22px 22px;
  display: flex;
  gap: 14px;
}
.detail-hero .avatar-ring { width: 92px; height: 92px; }
.detail-hero__info { flex: 1; min-width: 0; padding-top: 4px; }
.detail-hero__name { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 6px; }
.detail-hero__tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.detail-hero__bio { font-size: 12px; color: var(--text-2); margin-top: 8px; line-height: 1.5; }

.detail-stats {
  display: flex;
  margin: -32px 12px 12px;
  background: var(--surface);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 12px 0;
  position: relative;
  z-index: 2;
}
.detail-stats__item { flex: 1; text-align: center; }
.detail-stats__num { font-size: 16px; font-weight: 700; color: var(--pink-deep); }
.detail-stats__label { font-size: 11px; color: var(--text-3); margin-top: 2px; }

.goods-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  gap: 10px;
}
.goods-item:last-child { border-bottom: 0; }
.goods-item__thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink-deep);
  flex: 0 0 auto;
}
.goods-item__main { flex: 1; min-width: 0; }
.goods-item__name { font-size: 14px; font-weight: 600; }
.goods-item__desc { font-size: 11px; color: var(--text-3); margin-top: 3px; }
.goods-item__price { color: var(--pink-deep); font-weight: 700; font-size: 15px; }
.goods-item__price small { font-size: 11px; font-weight: 400; }

.detail-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 480px;
  margin: 0 auto;
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 8px 12px calc(8px + var(--safe-b));
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 90;
}
.detail-bar__icon {
  width: 46px;
  flex: 0 0 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 10px;
  color: var(--text-3);
  white-space: nowrap;
}

/* ==========================================================================
   盲盒
   ========================================================================== */
.blindbox { min-height: 100vh; background: linear-gradient(180deg, var(--page-top) 0%, var(--bg) 30%); padding: 10px 0 calc(72px + var(--safe-b)); }
.bb-group { margin: 0 12px 14px; }
.bb-group__label { font-size: 15px; font-weight: 800; margin: 6px 0 12px; }
.bb-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.bb-chip {
  height: 38px;
  min-width: 84px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 14px;
  border: 1px solid transparent;
  transition: all .18s;
  cursor: pointer;
}
.bb-chip.is-active {
  background: var(--pink-grad);
  color: var(--text-on-accent);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(var(--accent-deep-rgb), .28);
}
.bb-chip--icon { min-width: 108px; }

.bb-stepper { display: flex; align-items: center; gap: 12px; }
.bb-stepper button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--pink);
  border-radius: 6px;
  background: var(--surface);
  color: var(--pink);
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bb-stepper span { min-width: 18px; text-align: center; font-size: 15px; }

.bb-row { display: flex; align-items: center; gap: 10px; margin: 0 12px 14px; }
.bb-row__label { font-size: 15px; font-weight: 800; }
.bb-row__control { margin-left: auto; }

.bb-check { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-2); }
.bb-check__box {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(var(--hl), .08);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.bb-check__box.is-on { background: var(--text); border-color: var(--text); }

.bb-textarea {
  width: 100%;
  min-height: 88px;
  border: 0;
  border-radius: 10px;
  background: var(--surface-2);
  padding: 12px;
  font-size: 13px;
  color: var(--text);
  resize: none;
}
.bb-textarea::placeholder { color: var(--text-3); }

.bb-input-line { display: flex; align-items: center; gap: 12px; }
.bb-input-line .bb-input {
  flex: 1;
  height: 40px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 0;
  padding: 0 14px;
  font-size: 13px;
}
.bb-tip { font-size: 11px; color: var(--text-2); margin: 8px 12px 0; display: flex; gap: 4px; align-items: flex-start; }

.bb-paybar {
  margin: 16px 12px 0;
  display: flex;
  align-items: center;
  padding: 4px 0;
}
.bb-paybar__label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.bb-paybar__amount { margin-left: auto; color: var(--pink); font-size: 24px; font-weight: 800; }
.bb-submit { margin: 14px 12px 0; }

/* ==========================================================================
   动态广场
   ========================================================================== */
.community { min-height: 100vh; background: linear-gradient(180deg, var(--page-top) 0%, var(--bg) 22%); }
.cm-tabs { display: flex; gap: 26px; padding: 14px 18px 10px; }
.cm-tab { font-size: 17px; color: var(--text-3); cursor: pointer; position: relative; font-weight: 500; }
.cm-tab.is-active { color: var(--text); font-weight: 600; }
.cm-tab.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--pink-grad);
}

.post-card {
  margin: 0 12px 10px;
  padding: 15px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow), var(--hair);
}
.post-card__head { display: flex; align-items: flex-start; gap: 10px; }
.post-card__avatar { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex: 0 0 auto; }
.post-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { flex: 1; min-width: 0; }
.post-card__name { font-size: 15px; font-weight: 600; }
.post-card__time { font-size: 11.5px; color: var(--text-3); margin-top: 4px; }
.post-card__follow {
  height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--pink-grad);
  color: var(--text-on-accent);
  font-size: 12px;
  border: 0;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.post-card__follow.is-done { background: var(--surface-2); color: var(--text-2); }
.post-card__text { font-size: 14.5px; line-height: 1.65; margin: 11px 0 0; color: var(--text); }
.post-card__imgs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.post-card__imgs img { width: 118px; height: 118px; border-radius: 10px; object-fit: cover; }
.post-card__foot {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  margin-top: 12px;
  color: var(--text-2);
  font-size: 13px;
}
.post-card__act { display: flex; align-items: center; gap: 4px; cursor: pointer; }
.post-card__act.is-on { color: var(--pink-deep); }

.fab {
  position: fixed;
  /* 390 宽时 50%-240px 是负数，会把按钮推出屏幕，取 16px 兜底 */
  right: max(16px, calc(50% - 240px + 16px));
  bottom: calc(72px + var(--safe-b));
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--pink-grad);
  color: var(--text-on-accent);
  box-shadow: 0 6px 20px rgba(var(--accent-deep-rgb), .35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 6px 16px rgba(239, 140, 161, .45);
  z-index: 95;
  border: 0;
}
@media (max-width: 480px) {
  .fab { right: 16px; }
}

/* ==========================================================================
   个人中心
   ========================================================================== */
.user-page { min-height: 100vh; background: var(--bg); padding-bottom: calc(64px + var(--safe-b)); }
.user-head {
  padding: 26px 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg);
}
.user-head__avatar {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(var(--hl), .16);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .07);
  background: var(--surface-2);
}
.user-head__avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-head__edit { margin-top: 10px; color: var(--text); }
.user-head__name { margin-top: 6px; font-size: 15px; font-weight: 600; }
.user-head__id { font-size: 11px; color: var(--text-3); margin-top: 3px; }

.wallet-card {
  margin: 10px 12px 14px;
  border-radius: var(--radius);
  padding: 18px 18px 20px;
  background: linear-gradient(120deg, var(--brand-1) 0%, var(--brand-2) 100%);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow), var(--hair);
}
.wallet-card::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 34px;
  width: 120px;
  height: 120px;
  border: 2px solid rgba(var(--accent-rgb), .28);
  border-radius: 50%;
}
.wallet-card__top { display: flex; align-items: center; gap: 8px; position: relative; z-index: 1; }
.wallet-card__title { font-size: 14px; font-weight: 500; color: var(--text-2); letter-spacing: .3px; }
.wallet-card__btn {
  margin-left: auto;
  height: 30px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--on-brand-ghost-bg);
  color: var(--on-brand-ghost-fg);
  font-size: 13px;
  border: 0;
  position: relative;
  z-index: 2;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}
.wallet-card__amount { margin-top: 10px; font-size: 30px; font-weight: 700; color: #fff; letter-spacing: -.5px; line-height: 1.1; position: relative; z-index: 1; }
.wallet-card__amount small { font-size: 12px; font-weight: 400; color: var(--text-3); margin-left: 7px; letter-spacing: 0; }
.wallet-card__sub { font-size: 11px; color: var(--text-2); margin-top: 4px; }

.order-grid { display: flex; }
.order-grid__item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; cursor: pointer; }
.order-grid__item + .order-grid__item { border-left: 1px solid var(--line); }
.order-grid__item:first-child { border-left: 0; }
.order-grid__label { font-size: 12px; color: var(--text); }

.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 0; }
.tool-grid__item { display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; }
.tool-grid__label { font-size: 12px; color: var(--text); }

/* ==========================================================================
   登录
   ========================================================================== */
.login { min-height: 100vh; background: var(--surface); padding: 0 26px; }
.login__logo { padding-top: 56px; text-align: center; }
.login__logo-box {
  width: 74px;
  height: 74px;
  margin: 0 auto;
  border-radius: 20px;
  background: var(--pink-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-accent);
  box-shadow: 0 8px 20px rgba(239, 140, 161, .35);
}
.login__title { font-size: 21px; font-weight: 800; margin-top: 16px; }
.login__sub { font-size: 12px; color: var(--text-3); margin-top: 6px; }
.login__form { margin-top: 34px; }
.login__input {
  height: 50px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
}
.login__input input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  line-height: 1.4;
}
.login__input input::placeholder { color: var(--text-3); }
.login__code-btn {
  border: 0;
  background: transparent;
  color: var(--pink-deep);
  font-size: 13px;
  padding: 0 4px;
}
.login__code-btn[disabled] { color: var(--text-3); }
.login__submit { margin-top: 30px; }
.login__tip { margin-top: 16px; text-align: center; font-size: 11px; color: var(--text-3); line-height: 1.6; }
.login__switch { margin-top: 18px; text-align: center; font-size: 13px; color: var(--pink-deep); }

/* ==========================================================================
   聊天
   ========================================================================== */
.chat-page { min-height: 100vh; background: var(--bg); display: flex; flex-direction: column; padding-bottom: 0; }
.chat-nav {
  position: sticky;
  top: 0;
  z-index: 90;
  height: 48px;
  background: var(--surface);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}
.chat-nav__name { font-size: 16px; font-weight: 600; }
.chat-nav__status { font-size: 11px; color: var(--ok); margin-left: 4px; }
.chat-body { flex: 1; padding: 14px 12px 12px; overflow-y: auto; }
.chat-time { text-align: center; font-size: 11px; color: var(--text-3); margin: 10px 0; }
.msg { display: flex; gap: 8px; margin-bottom: 14px; }
.msg__avatar { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; flex: 0 0 auto; }
.msg__avatar img { width: 100%; height: 100%; object-fit: cover; }
.msg__bubble {
  max-width: 68%;
  padding: 10px 13px;
  border-radius: 14px;
  background: var(--surface-2);
  font-size: 14px;
  line-height: 1.55;
  word-break: break-word;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
}
.msg--me { flex-direction: row-reverse; }
.msg--me .msg__bubble {
  background: var(--bubble-me);
  color: var(--bubble-me-fg);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .26), inset 0 0 0 1px rgba(var(--accent-rgb), .16);
}
.chat-input {
  position: sticky;
  bottom: 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 8px 12px calc(8px + var(--safe-b));
  display: flex;
  align-items: center;
  gap: 8px;
}
.chat-input input {
  flex: 1;
  height: 38px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 0;
  padding: 0 14px;
  font-size: 14px;
}
.chat-input button {
  height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  border: 0;
  background: var(--pink-grad);
  color: var(--text-on-accent);
  font-size: 13px;
}

/* ==========================================================================
   钱包 / 订单 / 列表通用
   ========================================================================== */
.section-title {
  padding: 14px 14px 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.wallet-hero {
  margin: 12px;
  padding: 20px;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(var(--accent-rgb), .20), transparent 62%),
    linear-gradient(140deg, var(--brand-1) 0%, var(--brand-2) 100%);
  color: var(--text);
  box-shadow: var(--shadow), var(--hair);
}
.wallet-hero__label { font-size: 12px; color: rgba(255, 255, 255, .72); }
.wallet-hero__amount { font-size: 32px; font-weight: 800; margin-top: 6px; letter-spacing: .5px; color: #fff; }
.wallet-hero__row { display: flex; margin-top: 16px; gap: 30px; }
.wallet-hero__cell { font-size: 11px; color: rgba(255, 255, 255, .72); }
.wallet-hero__cell b { display: block; font-size: 15px; margin-bottom: 2px; color: #fff; font-weight: 700; }
.wallet-hero__actions { display: flex; gap: 10px; margin-top: 18px; }
.wallet-hero__actions .btn {
  flex: 1; height: 38px; font-size: 13px; font-weight: 600;
  background: var(--on-brand-ghost-bg); color: var(--on-brand-ghost-fg); border: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
}
.wallet-hero__actions .btn:first-child {
  background: var(--on-brand-btn-bg); color: var(--on-brand-btn-fg);
  box-shadow: 0 6px 16px rgba(var(--accent-deep-rgb), .26);
}

.log-item {
  display: flex;
  align-items: center;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  gap: 10px;
  background: var(--surface);
}
.log-item:last-child { border-bottom: 0; }
.log-item__main { flex: 1; min-width: 0; }
.log-item__title { font-size: 14px; }
.log-item__time { font-size: 11px; color: var(--text-3); margin-top: 4px; }
.log-item__amount { font-size: 15px; font-weight: 700; }
.log-item__amount--in { color: var(--pink-deep); }
.log-item__amount--out { color: var(--text-2); }

.order-tabs { display: flex; background: var(--surface); border-bottom: 1px solid var(--line); }
.order-tabs__item {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  font-size: 13px;
  color: var(--text-2);
  position: relative;
  cursor: pointer;
}
.order-tabs__item.is-active { color: var(--pink-deep); font-weight: 600; }
.order-tabs__item.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--pink-grad);
  border-radius: 2px;
}

.order-card { background: var(--surface); border-radius: 16px; margin: 0 12px 10px; padding: 14px; box-shadow: var(--shadow), var(--hair); }
.order-card__head { display: flex; align-items: center; font-size: 12px; color: var(--text-3); }
.order-card__status { margin-left: auto; color: var(--pink-deep); font-weight: 600; }
.order-card__body { display: flex; gap: 10px; margin-top: 10px; align-items: center; }
.order-card__thumb { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--surface-2); }
.order-card__name { font-size: 14px; font-weight: 600; }
.order-card__desc { font-size: 11.5px; color: var(--text-3); margin-top: 4px; }
.order-card__price { margin-left: auto; font-size: 15px; font-weight: 700; color: var(--pink-deep); }
.order-card__foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }

.toast {
  position: fixed;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, .78);
  color: #fff;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 8px;
  z-index: 999;
  max-width: 70vw;
  text-align: center;
  line-height: 1.5;
}

.fade-enter-active, .fade-leave-active { transition: opacity .18s; }
.fade-enter-from, .fade-leave-to { opacity: 0; }

/* ---------- 筛选条 ---------- */
.filter-bar {
  padding: 0 12px 10px;
  background: var(--surface);
  border-bottom: 1px solid rgba(var(--hl), .08);
}
.filter-bar__group {
  display: flex;
  gap: 8px;
  padding-bottom: 8px;
}
.filter-bar__row {
  gap: 8px;
  padding-bottom: 8px;
}
.filter-chip {
  height: 28px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 12.5px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  white-space: nowrap;
  transition: all .15s;
}
.filter-chip.is-on {
  background: var(--pink-grad);
  color: var(--text-on-accent);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(239, 140, 161, .3);
}
.filter-chip--sm { height: 26px; padding: 0 12px; font-size: 12px; }

/* 登录页返回 */
.login { position: relative; }
.login__back {
  position: absolute;
  left: 14px;
  top: 14px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* 详情页底部图标文字不换行 */
.detail-bar__icon span { white-space: nowrap; display: block; }
.detail-bar__icon > span:last-child { font-size: 11px; }

/* ==========================================================================
   心动墙
   ========================================================================== */
.hw {
  min-height: 100vh;
  padding-bottom: calc(72px + var(--safe-b));
  background: var(--hw-bg);
}
.hw-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 22px 18px 14px;
}
.hw-head__title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text);
  line-height: 1;
}
.hw-head__rank {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
}

/* 三宫格入口 */
.hw-entries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  padding: 0 14px;
}
.hw-entry {
  position: relative;
  height: 76px;
  border-radius: 14px;
  padding: 12px 10px;
  overflow: hidden;
  color: var(--text);
  box-shadow: var(--shadow), var(--hair);
  cursor: pointer;
}
.hw-entry--purple { background: var(--hw-entry-1); }
.hw-entry--coral { background: var(--hw-entry-2); }
.hw-entry--blue { background: var(--hw-entry-3); }
.hw-entry__name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  position: relative;
  z-index: 2;
}
.hw-entry__sub {
  font-size: 7.5px;
  opacity: .78;
  letter-spacing: .6px;
  margin-top: 3px;
  position: relative;
  z-index: 2;
  white-space: nowrap;
  transform: scale(.92);
  transform-origin: left top;
}
.hw-entry__ico {
  position: absolute;
  right: 4px;
  bottom: -2px;
  font-size: 34px;
  opacity: .95;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .12));
}

/* 区块标题 */
.hw-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 16px 10px;
}
.hw-title__label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: .5px;
}
.hw-title__more {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 12.5px;
  color: var(--pink-deep);
  font-weight: 600;
  cursor: pointer;
}
.hw-title__arrow { font-size: 13px; }

/* 打赏播报 */
.hw-notices {
  padding: 0 14px 4px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.hw-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 12px 0 4px;
  border-radius: 999px;
  background: var(--surface-2);
  box-shadow: var(--hair);
}
.hw-notice__ava {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}
.hw-notice__text {
  font-size: 11.5px;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 打赏卡片 */
.hw-list {
  padding: 6px 14px 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.hw-card {
  border-radius: 18px;
  padding: 14px 14px 12px;
  background: var(--card-grad);
  box-shadow: var(--shadow), var(--hair);
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease;
}
.hw-card:active {
  transform: scale(.985);
  box-shadow: 0 2px 8px rgba(150, 120, 200, .12);
}
.hw-card__body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.hw-card__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  flex: 0 1 92px;
  min-width: 0;
}
.hw-card__ava-box {
  position: relative;
  width: 56px;
  height: 56px;
}
.hw-card__ava {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-3);
  border: 2px solid rgba(var(--hl), .16);
  box-shadow: 0 2px 8px rgba(120, 100, 160, .12);
}
.hw-card__ava--to {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(249, 203, 221, .55), 0 2px 10px rgba(232, 96, 127, .2);
}
.hw-card__mark {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 19px;
  height: 19px;
  line-height: 19px;
  border-radius: 50%;
  text-align: center;
  font-size: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink-text), #ef5a34);
  border: 2px solid rgba(var(--hl), .16);
  box-shadow: 0 2px 5px rgba(242, 68, 92, .32);
}
.hw-card__role {
  position: absolute;
  left: 50%;
  top: -8px;
  transform: translateX(-50%);
  padding: 1px 7px;
  border-radius: 9px;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.5;
  color: #fff;
  white-space: nowrap;
  background: linear-gradient(100deg, #ffa583, #e8603a);
  box-shadow: 0 2px 6px rgba(232, 96, 127, .28);
}
.hw-card__cap {
  max-width: 92px;
  font-size: 12px;
  color: var(--text);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hw-card__cap b { font-weight: 600; color: var(--pink-deep); }
.hw-card__cap--name { font-weight: 600; color: var(--text); }
.hw-card__gift {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  align-self: stretch;
  gap: 8px;
  flex: 0 0 auto;
}
.hw-card__gift-ico {
  font-size: 38px;
  line-height: 1;
  filter: drop-shadow(0 4px 8px rgba(120, 80, 160, .16));
}
.hw-card__price {
  flex: 0 0 auto;
  padding: 3px 12px;
  border-radius: 4px;
  background: linear-gradient(100deg, var(--pink-text) 0%, var(--pink-deep) 100%);
  transform: skewX(-12deg);
}
.hw-card__price span {
  display: block;
  transform: skewX(12deg);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

/* 右侧悬浮 */
.hw-fab {
  position: fixed;
  right: calc(50% - 240px + 10px);
  bottom: calc(94px + var(--safe-b));
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 20;
}
@media (max-width: 480px) {
  .hw-fab { right: 10px; }
}
.hw-fab__btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(120, 100, 160, .2);
  cursor: pointer;
}

/* ==========================================================================
   排行榜
   ========================================================================== */
.rank-page__tabs {
  display: flex;
  gap: 8px;
  padding: 0 14px 12px;
}
.rank-page__tab {
  flex: 1;
  height: 34px;
  border-radius: 999px;
  background: var(--surface-2);
  box-shadow: var(--hair);
  color: var(--text-2);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.rank-page__tab.is-active {
  background: var(--pink-grad);
  color: var(--text-on-accent);
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(239, 140, 161, .3);
}
.rank-page__list {
  padding: 0 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rank-page__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 2px 10px rgba(120, 100, 160, .07);
  cursor: pointer;
}
.rank-page__no {
  width: 22px;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  color: #c9c9d2;
}
.rank-page__no.is-1 { color: #f0a72c; }
.rank-page__no.is-2 { color: #b9a2d8; }
.rank-page__no.is-3 { color: #e0a37a; }
.rank-page__ava {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-3);
}
.rank-page__info { flex: 1; min-width: 0; }
.rank-page__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rank-page__meta { font-size: 11px; color: var(--text-3); margin-top: 2px; }
.rank-page__val {
  font-size: 14px;
  font-weight: 700;
  color: var(--pink-deep);
}
.rank-page__unit {
  font-size: 11px;
  font-weight: 500;
  color: #a8a8b4;
  margin-left: 2px;
}
/* 四个 tab 时字号收一点，避免换行 */
.rank-page__tabs--four { gap: 6px; padding: 0 12px 10px; }
.rank-page__tabs--four .rank-page__tab { font-size: 12.5px; height: 32px; }
.rank-page__tip {
  padding: 0 16px 10px;
  font-size: 11.5px;
  color: #a8a8b4;
}

/* 心动墙：右侧悬浮按钮（原站即浮于卡片之上） */
.hw-fab { right: 6px; bottom: calc(88px + var(--safe-b)); }
.hw-fab__btn { width: 38px; height: 38px; }

/* 详情页下单弹层 */
.dlg-title {
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  color: var(--text);
  padding-bottom: 12px;
}
.dlg-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-3);
  border-bottom: 1px dashed var(--line);
}
.dlg-row b { color: var(--text); font-weight: 600; }
.dlg-row .dlg-price { color: var(--pink-deep); font-size: 17px; font-weight: 800; }
.dlg-input {
  width: 100%;
  height: 44px;
  margin-top: 14px;
  padding: 0 13px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid rgba(var(--hl), .08);
  font-size: 14px;
  color: var(--text);
}
.dlg-input:focus { border-color: var(--pink); background: var(--surface); }
.dlg-input::placeholder { color: var(--text-3); }
.dlg-tip { font-size: 11.5px; color: var(--pink); margin-top: 8px; }

/* ==========================================================================
   首页 1:1 复刻（依据原站 DOM 计算样式，390 宽基准）
   ========================================================================== */
.hp {
  min-height: 100vh;
  background: var(--bg);
  padding: 26px 10.4px calc(62px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 搜索 ---------- */
.hp-search {
  display: flex;
  align-items: center;
  height: 46px;
  padding-right: 9.36px;
  background: var(--surface);
  border-radius: 100px;
  box-sizing: border-box;
}
.hp-search__main {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  height: 46px;
  padding: 5px;
  box-sizing: border-box;
}
.hp-search__ico {
  width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  flex: 0 0 auto;
}
.hp-search__ph {
  font-size: 14px;
  color: #b3b3b3;
  white-space: nowrap;
  overflow: hidden;
}
.hp-search__btn {
  flex: 0 0 auto;
  width: 80px;
  height: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(var(--hl), .08);
  background: linear-gradient(to right, var(--pink-text), var(--pink-deep));
  color: #fff;
  font-size: 14.56px;
}

/* ---------- Banner ---------- */
.hp-banner {
  position: relative;
  margin-top: 16px;
  height: 203px;
  border-radius: 8px;
  overflow: hidden;
}
.hp-banner__track {
  display: flex;
  height: 182px;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
}
.hp-banner__slide {
  flex: 0 0 100%;
  height: 182px;
  position: relative;
  overflow: hidden;
}
.hp-banner__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 2;
}
.hp-banner__dot {
  width: 6px;
  height: 6px;
  border-radius: 52px;
  background: rgba(var(--hl), .55);
  transition: width .3s;
}
.hp-banner__dot.on {
  width: 12px;
  background: rgba(var(--hl), .9);
}

/* banner 海报（纯 CSS 绘制） */
.poster {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #3a2a4a 0%, #4a2f45 38%, #553048 72%, #5a3352 100%);
  overflow: hidden;
}
.poster__glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--hl), .16) 0%, rgba(var(--hl), 0) 70%);
  left: 50%;
  top: -40px;
  transform: translateX(-50%);
}
.poster__wm {
  position: absolute;
  right: -6px;
  top: 6px;
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -1px;
  color: rgba(var(--hl), .38);
  line-height: 1;
  font-family: Georgia, serif;
}
.poster__wm2 {
  position: absolute;
  right: 24px;
  top: 52px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -1px;
  color: rgba(var(--hl), .28);
  font-family: Georgia, serif;
}
.poster__heart {
  position: absolute;
  color: rgba(214, 106, 150, .55);
  font-size: 26px;
  line-height: 1;
}
.poster__heart--1 { left: 26px; top: 96px; transform: rotate(-14deg); font-size: 22px; }
.poster__heart--2 { left: 46px; top: 128px; transform: rotate(6deg); font-size: 30px; color: rgba(206, 96, 142, .62); }
.poster__heart--3 { right: 30px; bottom: 28px; transform: rotate(12deg); font-size: 34px; color: rgba(186, 110, 200, .55); }
.poster__center {
  position: absolute;
  left: 0;
  right: 0;
  top: 26px;
  text-align: center;
  z-index: 2;
}
.poster__t1 {
  font-size: 27px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(160, 80, 130, .35);
  line-height: 1.16;
}
.poster__t2 {
  font-size: 27px;
  font-weight: 900;
  letter-spacing: 6px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(160, 80, 130, .35);
  line-height: 1.24;
}
.poster__tag {
  display: inline-block;
  margin-top: 12px;
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(214, 160, 200, .55);
  color: #fff;
  font-size: 10.5px;
  line-height: 1.55;
  letter-spacing: .5px;
}

/* ---------- 榜单卡 ---------- */
.hp-rank {
  margin-top: 10px;
  padding: 10.4px 0 31.2px;
  background: var(--surface);
  border-radius: 10.4px;
}
.hp-rank__tabs {
  display: flex;
  width: 150px;
  height: 32px;
  margin: 0 auto;
  padding: 3px;
  border: 0;
  border-radius: 999px;
  box-sizing: border-box;
  background: var(--surface-2);
  box-shadow: var(--hair);
}
.hp-rank__tab {
  flex: 1;
  height: 26px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  transition: all .2s;
}
.hp-rank__tab.on {
  background: var(--pink-grad);
  color: var(--text-on-accent);
  box-shadow: none;
}
.hp-rank__star { display: none; }
.hp-rank__list {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 75px;
  margin-top: 15.6px;
}
.hp-rank__item {
  width: 94px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  cursor: pointer;
}
.hp-rank__ava {
  position: relative;
  width: 61px;
  height: 61px;
  border-radius: 10.4px;
  border: 2px solid rgba(255, 244, 67, .5);
  box-sizing: border-box;
  overflow: hidden;
  background: var(--surface-3);
}
.hp-rank__item--1 .hp-rank__ava {
  width: 75px;
  height: 75px;
}
.hp-rank__ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hp-rank__medal {
  position: absolute;
  left: 50%;
  bottom: -13px;
  transform: translateX(-50%);
  width: 20px;
  height: 26px;
  border-radius: 50% 50% 40% 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(#ffd54a, #f4a11c);
  box-shadow: 0 1px 3px rgba(190, 120, 20, .45);
  z-index: 2;
}
.hp-rank__item--2 .hp-rank__medal { background: linear-gradient(#e6e6e6, var(--text-3)); color: var(--text-2); box-shadow: 0 1px 3px rgba(120, 120, 140, .4); }
.hp-rank__item--3 .hp-rank__medal { background: linear-gradient(#f3c48f, #cf8f52); color: #7a4a1c; box-shadow: 0 1px 3px rgba(160, 100, 50, .4); }
.hp-rank__medal::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  bottom: -4px;
  height: 7px;
  background: var(--pink-deep);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 62%, 0 100%);
  z-index: -1;
}
.hp-rank__item--2 .hp-rank__medal::after { background: #9b9ba8; }
.hp-rank__item--3 .hp-rank__medal::after { background: #c07a3c; }

/* ---------- 横滑区块（新人推荐 / 人气店员） ---------- */
.hp-hot {
  margin-top: 13.52px;
  padding-bottom: 10.4px;
  background: linear-gradient(var(--surface-2) 0%, var(--surface) 50%);
}
.hp-hot__head {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 0 0 10px;
  border-radius: 0;
  background: none;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .2px;
}
.hp-hot__head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: var(--pink-grad);
  transform: translateY(-50%);
}
.hp-hot__head em {
  font-style: normal;
  font-size: 17px;
  margin-right: 5px;
  line-height: 1;
}
.hp-hot__scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 17px 8px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hp-hot__scroll::-webkit-scrollbar { display: none; }

/* 新人推荐：圆形头像 + 粉色圆环 */
.hp-hot__item {
  flex: 0 0 auto;
  width: 73px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}
.hp-hot__ring {
  width: 77px;
  height: 77px;
  border-radius: 50%;
  border: 2px solid var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  background: var(--surface);
  position: relative;
}
.hp-hot__ring img {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.hp-hot__ring .live {
  position: absolute;
  right: 2px;
  bottom: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ok);
  border: 1.5px solid rgba(var(--hl), .14);
}
.hp-hot__name {
  margin-top: 7.8px;
  max-width: 73px;
  font-size: 12.48px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 人气店员：方形圆角头像 */
.hp-hot--square .hp-hot__scroll { gap: 11px; padding-top: 17px; }
.hp-hot__item--sq {
  width: 80px;
}
.hp-hot__item--sq .hp-hot__ring {
  width: 80px;
  height: 80px;
  border-radius: 10.4px;
  border: 0;
  background: transparent;
}
.hp-hot__item--sq .hp-hot__ring img {
  width: 80px;
  height: 80px;
  border-radius: 10.4px;
}
.hp-hot__item--sq .hp-hot__name {
  max-width: 80px;
  font-size: 14.56px;
  margin-top: 6px;
}

/* ---------- 全部店员 ---------- */
.hp-sec {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  margin: 25px 0 8px;
}
.hp-sec__left {
  display: flex;
  align-items: center;
  gap: 3px;
}
.hp-sec__emoji {
  font-size: 22px;
  line-height: 30px;
}
.hp-sec__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .2px;
}
.hp-sec__filter {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 13px;
  font-weight: 500;
  color: var(--pink-text);
  cursor: pointer;
}

/* ---------- 店员卡片（1:1） ---------- */
.cc {
  position: relative;
  display: flex;
  align-items: flex-start;
  box-sizing: border-box;
  width: 100%;
  height: 139px;
  padding: 15.6px;
  margin-bottom: 10.4px;
  border: 2px solid rgba(var(--hl), .16);
  border-radius: 7.8px;
  background: linear-gradient(to right, var(--surface-2) 0%, var(--surface) 50%);
  overflow: hidden;
}
.cc__left {
  position: relative;
  flex: 0 0 auto;
  width: 80px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cc__ava {
  position: relative;
  z-index: 2;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface-3);
}
.cc__ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 等级光环（替代原站图片） */
.cc__halo {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, rgba(var(--accent-rgb), .18), #ffb3d9, #d9c6ff, rgba(var(--accent-rgb), .18));
  opacity: .55;
  z-index: 1;
}
.cc__halo--gold { background: conic-gradient(from 200deg, #ffe9a8, #ffc94d, #ffe9a8); opacity: .7; }
.cc__halo--silver { background: conic-gradient(from 200deg, var(--surface-2), #c9cfdd, var(--surface-2)); opacity: .8; }
.cc__lvtag {
  position: absolute;
  left: -4px;
  top: -2px;
  z-index: 3;
  height: 22px;
  padding: 0 7px;
  display: flex;
  align-items: center;
  border-radius: 11px;
  font-size: 10.5px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(100deg, var(--pink-text), #ef6a44);
  box-shadow: 0 1px 4px rgba(220, 120, 160, .35);
}
.cc__lvtag--gold { background: linear-gradient(100deg, #ffcf5c, #f2a01f); }
.cc__lvtag--silver { background: linear-gradient(100deg, #cfd6e4, #a8b2c6); }
.cc__dot {
  position: absolute;
  right: 4px;
  bottom: 2px;
  z-index: 3;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ok);
  border: 2px solid rgba(var(--hl), .16);
}
.cc__main {
  flex: 1;
  min-width: 0;
  height: 104px;
  padding-left: 31.2px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cc__row1 {
  display: flex;
  align-items: center;
  height: 29px;
}
.cc__name {
  max-width: 114px;
  font-size: 14.56px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cc__age {
  display: flex;
  align-items: center;
  gap: 1px;
  height: 18px;
  padding: 0 6px 0 4px;
  margin: 0 5.2px;
  border-radius: 999px;
  background: var(--pink);
  color: var(--text-on-accent);
  font-size: 12.48px;
  line-height: 1;
}
.cc__age--m { background: #75b7fe; }
.cc__age svg { width: 12px; height: 12px; }
.cc__like {
  margin-left: auto;
  width: 29px;
  height: 29px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.cc__skill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  height: 21px;
  padding: 1.04px 4.16px 1.04px 2.08px;
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--text-2);
  font-size: 12.48px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
}
.cc__skill .dot {
  font-size: 16.64px;
  font-weight: 800;
  margin: 0 5px 0 2px;
  line-height: 1;
}
.cc__skill .sep { margin: 0 4px; opacity: .85; }
.cc__bio {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 19px;
  font-size: 13.52px;
  color: #a4a4a4;
  white-space: nowrap;
  overflow: hidden;
}
.cc__bio .tag-ico {
  width: 19px;
  height: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--text-3);
}
.cc__bio .sep { margin: 0 5px; color: var(--text); }
.cc__area {
  display: flex;
  align-items: center;
  height: 23px;
  font-size: 12.48px;
  font-weight: 600;
  color: #a0a0a0;
}
.cc__area svg { width: 15px; height: 15px; margin-right: 3px; color: var(--text-2); }

/* 列表容器 */
.hp-list { display: block; }
.hp-more {
  padding: 14px 0 4px;
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
}

/* 筛选面板 */
.hp-filter {
  margin-top: 8px;
  padding: 12px;
  background: var(--surface);
  border-radius: 10.4px;
}
.hp-filter__row {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 9px;
  scrollbar-width: none;
}
.hp-filter__row::-webkit-scrollbar { display: none; }
.hp-filter__row:last-child { padding-bottom: 0; }
.hp-filter__chip {
  flex: 0 0 auto;
  height: 28px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 12.5px;
  white-space: nowrap;
}
.hp-filter__chip.on {
  background: linear-gradient(to right, var(--pink-text), var(--pink-deep));
  color: #fff;
  font-weight: 600;
}

/* ---------- 公告弹窗（对齐原站） ---------- */
.notice-modal {
  width: 100%;
  max-width: 352px;
}
.notice-modal__card {
  position: relative;
  padding: 4px 4px 0;
  background: var(--surface);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 44px rgba(0, 0, 0, .55), var(--hair);
}
.notice-modal__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 0 12px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1;
  color: var(--accent-soft);
  -webkit-text-fill-color: var(--accent-soft);
  text-shadow: 0 0 18px rgba(var(--accent-rgb), .28);
}
.notice-modal__spark {
  font-style: normal;
  font-size: 16px;
  color: #ffe066;
  -webkit-text-fill-color: #ffe066;
  filter: drop-shadow(0 0 4px rgba(255, 210, 60, .8));
}
.notice-modal__inner {
  margin: 0 10px;
  padding: 14px 14px 12px;
  max-height: 44vh;
  overflow-y: auto;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 12.5px;
  line-height: 1.78;
  letter-spacing: .1px;
}
.notice-modal__inner p { margin: 0 0 10px; }
.notice-modal__inner p:last-child { margin-bottom: 0; }
.notice-modal__ok {
  margin: 12px 16px 16px;
  padding: 12px 0;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-on-accent);
  background: var(--pink-grad);
  border-radius: 999px;
  letter-spacing: .5px;
  box-shadow: 0 8px 20px rgba(var(--accent-deep-rgb), .22);
}

/* banner 轮播点压在图片底边 */
.hp-banner__dots { bottom: 12px; }

/* ---------- 个人中心（对齐原站） ---------- */
.user-head {
  padding: 42px 0 16px;
  background: var(--bg);
}
.user-head__avatar {
  width: 106px;
  height: 106px;
  border: 4px solid rgba(var(--hl), .16);
  box-shadow: 0 2px 10px rgba(150, 150, 180, .12);
  background: var(--surface-3);
}
.user-head__edit { margin-top: 12px; }
.wallet-card {
  margin: 6px 12px 12px;
  border-radius: 16px;
  padding: 16px 18px 22px;
  background: linear-gradient(140deg, var(--brand-1) 0%, var(--brand-2) 100%);
  box-shadow: var(--hair);
}
.wallet-card::after {
  right: -26px;
  top: 34px;
  width: 132px;
  height: 132px;
  border: 1.5px solid rgba(var(--accent-rgb), .20);
}
.wallet-card__title { color: rgba(var(--hl), .66); }
.wallet-card__btn {
  height: 32px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--on-brand-ghost-bg);
  color: var(--on-brand-ghost-fg);
  font-size: 13px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}
.wallet-card__amount {
  margin-top: 14px;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.2px;
}
.wallet-card__amount small { font-size: 11.5px; font-weight: 400; color: rgba(var(--hl), .55); margin-left: 6px; }

/* ---------- 动态广场（对齐原站） ---------- */
.cm-tabs {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 14px 16px 12px;
  background: transparent;
}
.cm-tab {
  position: relative;
  font-size: 19px;
  font-weight: 500;
  color: var(--text-3);
  padding-bottom: 6px;
  transition: all .18s;
}
.cm-tab.is-active {
  font-size: 21px;
  font-weight: 800;
  color: var(--text);
}
.cm-tab.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--text);
}
.post-card {
  margin: 0 12px 14px;
  padding: 14px 14px 12px;
  border-radius: 14px;
  background: var(--card-grad);
  box-shadow: var(--shadow), var(--hair);
}
.post-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface-2);
  flex: 0 0 auto;
}
.post-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.post-card__name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}
.post-card__time {
  font-size: 11.5px;
  color: var(--text-3);
  margin-top: 3px;
}
.post-card__follow {
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--pink-text), var(--pink-deep));
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  border: 0;
  flex: 0 0 auto;
}
.post-card__follow.is-done {
  background: var(--surface-3);
  color: var(--text-3);
}
.post-card__text {
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--text);
}
.post-card__imgs {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.post-card__imgs img {
  width: 116px;
  height: 116px;
  object-fit: cover;
  border-radius: 8px;
}
.post-card__acts {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 10px;
}
.post-card__act {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  color: var(--text);
}
.post-card__act.is-on { color: var(--text-2); }
.post-card__act .num { font-size: 15px; font-weight: 500; }
.post-card__act .num--big { font-size: 19px; font-weight: 700; }

/* ---------- 盲盒（对齐原站胶囊） ---------- */
.blindbox {
  background: var(--bg);
}
.bb-sheet {
  margin: 10px 12px 0;
  padding: 18px 14px 16px;
  background: var(--surface);
  border-radius: 16px;
}
.bb-group { margin: 0 0 20px; }
.bb-group__label {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 14px;
}
.bb-chips { display: flex; flex-wrap: wrap; gap: 12px 14px; }
.bb-chip {
  min-width: 105px;
  height: 44px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 14.5px;
  border: 0;
  transition: all .16s;
}
.bb-chip.is-active {
  background: var(--pink);
  color: var(--text-on-accent);
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(239, 143, 168, .28);
}
.bb-chip--icon { min-width: 118px; }
.bb-chips--center { justify-content: center; }
.bb-stepper button {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(var(--accent-rgb), .12);
  color: var(--pink);
  font-size: 17px;
  line-height: 1;
  border: 1px solid rgba(var(--hl), .08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bb-textarea {
  border-radius: 12px;
  background: var(--surface-2);
  border: 0;
  padding: 12px;
  font-size: 13.5px;
  color: var(--text);
  min-height: 108px;
}
.bb-input {
  height: 42px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 0;
  padding: 0 12px;
  font-size: 13.5px;
}
.bb-check__box {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  background: var(--surface-2);
}
.bb-check__box.is-on { background: var(--pink); border-color: var(--pink); }

/* 盲盒网格布局 */
.bb-chips--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 0 6px;
}
.bb-chips--3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 10px;
}
.bb-chips--2 .bb-chip,
.bb-chips--3 .bb-chip {
  min-width: 0;
  width: 100%;
  padding: 0 6px;
  font-size: 14px;
}
.bb-chips--center {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding-top: 4px;
}
.bb-row {
  display: flex;
  align-items: center;
  margin: 0 0 16px;
}
.bb-row__label { font-size: 15.5px; font-weight: 800; color: var(--text); }
.bb-row__control { margin-left: auto; }
.bb-paybar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  margin-top: 4px;
  border-top: 1px solid rgba(var(--hl), .08);
}
.bb-paybar__label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
}
.bb-paybar__label .bb-check__box { width: 19px; height: 19px; }
.bb-paybar__amount {
  font-size: 26px;
  font-weight: 800;
  color: var(--pink);
  letter-spacing: .5px;
}
.bb-input-line { display: flex; align-items: center; gap: 12px; }
.bb-input-line .bb-input { flex: 1; min-width: 0; }

/* 心动墙微调 */
.hw-notice {
  background: var(--surface-2);
  box-shadow: var(--hair);
}
.hw-card {
  background: var(--card-grad);
}

/* ---------------------------------------------------------------
   404 / 空路由
   --------------------------------------------------------------- */
.nf { padding: 84px 20px 40px; text-align: center; }
.nf-code {
  font-size: 64px; font-weight: 800; letter-spacing: 2px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), .16), var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.nf-text { font-size: 14px; color: var(--text-2); margin: 14px 0 26px; }
.nf-btn {
  display: inline-block; height: 40px; line-height: 40px; padding: 0 30px;
  border-radius: 20px; font-size: 14px; color: var(--text-on-accent);
  background: linear-gradient(135deg, rgba(var(--accent-rgb), .16), var(--pink));
  box-shadow: 0 8px 18px rgba(239, 148, 200, .3);
}

/* ===============================================================
   v1.4 新增组件
   =============================================================== */

/* ---------- 通用：分段标签、底部弹层、标签块 ---------- */
.seg-tabs {
  display: flex; gap: 8px; padding: 10px 14px; background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.seg-tab {
  flex: 0 0 auto; height: 30px; line-height: 30px; padding: 0 16px;
  border-radius: 15px; background: var(--surface-2); color: var(--text-2); font-size: 13px;
}
.seg-tab.on { background: var(--pink-grad); color: var(--text-on-accent); font-weight: 600; }

.chip {
  display: inline-flex; align-items: center; height: 30px; padding: 0 14px;
  border-radius: 15px; background: var(--surface-2); color: var(--text-2); font-size: 13px;
  margin: 0 8px 8px 0;
}
.chip.on { background: rgba(var(--accent-rgb), .14); color: var(--pink-deep); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .35); }

.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; background: var(--surface);
  border-radius: 18px 18px 0 0; padding: 4px 0 calc(8px + var(--safe-b));
  max-height: 82vh; overflow-y: auto; animation: sheetUp .22s ease;
}
@keyframes sheetUp { from { transform: translateY(24px); opacity: .6 } to { transform: none; opacity: 1 } }
.sheet__head { padding: 16px 18px 6px; font-size: 16px; font-weight: 700; }
.sheet__body { padding: 6px 18px 14px; }
.sheet__label { font-size: 12.5px; color: var(--text-3); margin-bottom: 8px; }
.sheet__input {
  width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 10px;
  padding: 0 12px; font-size: 15px; background: var(--surface-2);
}
.sheet__chips { display: flex; flex-wrap: wrap; }
.sheet__tip { font-size: 11.5px; color: var(--text-3); margin-top: 10px; line-height: 1.6; }
.sheet__foot {
  display: flex; gap: 10px; padding: 14px 18px 4px;
  position: sticky; bottom: 0; background: var(--surface);
  box-shadow: 0 -8px 16px rgba(0, 0, 0, .45);
}
.sheet__foot .btn { flex: 1; height: 44px; }

/* ---------- 首页 banner 真图 ---------- */
.hp-banner__img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- 店员详情：语音条 / 评价 / 举报 ---------- */
.voice-bar {
  display: flex; align-items: center; gap: 10px; margin: 0 12px 12px;
  padding: 12px 14px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(var(--accent-rgb), .14), rgba(var(--accent-rgb), .08));
  box-shadow: var(--shadow);
}
.voice-bar__ico {
  width: 30px; height: 30px; border-radius: 50%; flex: 0 0 auto;
  background: var(--surface); display: flex; align-items: center; justify-content: center;
}
.voice-bar__ico.is-on { background: var(--pink-grad); }
.voice-bar__text { flex: 1; font-size: 13.5px; color: var(--text); }
.voice-bar__text small { color: #b79aa2; margin-left: 6px; font-size: 11.5px; }
.voice-bar__wave { display: flex; align-items: flex-end; gap: 3px; height: 16px; }
.voice-bar__wave i {
  width: 3px; border-radius: 2px; background: var(--pink); animation: wave 1s infinite ease-in-out;
}
.voice-bar__wave i:nth-child(1) { height: 6px; animation-delay: 0s; }
.voice-bar__wave i:nth-child(2) { height: 12px; animation-delay: .12s; }
.voice-bar__wave i:nth-child(3) { height: 16px; animation-delay: .24s; }
.voice-bar__wave i:nth-child(4) { height: 10px; animation-delay: .36s; }
.voice-bar__wave i:nth-child(5) { height: 5px; animation-delay: .48s; }
@keyframes wave { 0%, 100% { transform: scaleY(.5) } 50% { transform: scaleY(1) } }

.rv-row { display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--surface-2); }
.rv-row:last-child { border-bottom: 0; padding-bottom: 4px; }
.rv-row__ava { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.rv-row__main { flex: 1; min-width: 0; }
.rv-row__top { display: flex; align-items: center; justify-content: space-between; }
.rv-row__name { font-size: 13px; color: var(--text-2); }
.rv-row__stars { font-size: 13px; font-weight: 700; color: var(--warn); }
.rv-row__tags { margin: 6px 0 2px; display: flex; flex-wrap: wrap; gap: 6px; }
.rv-row__tags span {
  font-size: 11.5px; color: var(--pink-deep); background: rgba(var(--accent-rgb), .13);
  padding: 2px 8px; border-radius: 10px;
}
.rv-row__text { font-size: 13px; color: var(--text); line-height: 1.65; margin-top: 4px; }

.detail-report {
  margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--surface-2);
  font-size: 12px; color: #b3b3bb; text-align: center;
}

/* 下单弹层：优惠券 */
.dlg-coupons { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; max-width: 62%; }
.dlg-coupon {
  font-style: normal; font-size: 11.5px; color: var(--pink-deep); background: rgba(var(--accent-rgb), .13);
  border: 1px solid rgba(var(--hl), .08); border-radius: 8px; padding: 3px 8px;
}
.dlg-coupon.on { background: var(--pink-grad); color: var(--text-on-accent); border-color: transparent; }
.dlg-minus { color: var(--pink-deep); }

/* ---------- 个人中心：工具格 ---------- */
.tool-grid__ico { position: relative; display: inline-flex; }
.tool-badge {
  position: absolute; top: -4px; right: -10px; min-width: 15px; height: 15px;
  padding: 0 4px; border-radius: 8px; background: var(--pink-deep); color: var(--text-on-accent);
  font-size: 10px; line-height: 15px; font-style: normal; text-align: center;
}
.tool-grid__tip {
  display: inline-block; margin-top: 4px; font-size: 9.5px; color: #d9902b;
  background: rgba(251, 191, 36, .13); border-radius: 6px; padding: 1px 5px; line-height: 1.4;
}
.tool-grid__item { position: relative; }

/* ---------- 消息中心 ---------- */
.nt-list { padding: 4px 0 30px; }
.nt-item {
  display: flex; gap: 12px; padding: 14px 16px; background: var(--surface);
  border-bottom: 1px solid var(--surface-2); align-items: flex-start;
}
.nt-item__ico {
  width: 34px; height: 34px; border-radius: 11px; flex: 0 0 auto;
  background: rgba(var(--accent-rgb), .13); display: flex; align-items: center; justify-content: center;
}
.nt-item__main { flex: 1; min-width: 0; }
.nt-item__title { font-size: 14px; color: var(--text); font-weight: 600; }
.nt-item.is-new .nt-item__title::after {
  content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--pink-deep); margin-left: 6px; vertical-align: middle;
}
.nt-item__desc {
  font-size: 12.5px; color: var(--text-2); margin-top: 4px; line-height: 1.6;
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.nt-item__time { font-size: 11.5px; color: var(--text-3); margin-top: 6px; }
.nt-item__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pink-deep); margin-top: 6px; }

.cv-item {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px;
  background: var(--surface); border-bottom: 1px solid var(--surface-2);
}
.cv-item__ava { position: relative; width: 44px; height: 44px; flex: 0 0 auto; }
.cv-item__ava img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.cv-item__live {
  position: absolute; right: 0; bottom: 2px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--ok); border: 2px solid rgba(var(--hl), .16);
}
.cv-item__main { flex: 1; min-width: 0; }
.cv-item__top { display: flex; justify-content: space-between; align-items: baseline; }
.cv-item__name { font-size: 14.5px; font-weight: 600; color: var(--text); }
.cv-item__time { font-size: 11px; color: var(--text-3); }
.cv-item__last {
  font-size: 12.5px; color: var(--text-2); margin-top: 5px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.cv-item__badge {
  min-width: 17px; height: 17px; padding: 0 5px; border-radius: 9px; background: var(--pink-deep);
  color: var(--text-on-accent); font-size: 10.5px; line-height: 17px; text-align: center; font-style: normal;
}

/* ---------- 店员工作台 ---------- */
.work { background: var(--bg); min-height: 100vh; padding-bottom: 30px; }
.work-head {
  display: flex; align-items: center; gap: 12px; padding: 18px 16px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(var(--accent-rgb), .26), transparent 62%),
    linear-gradient(135deg, var(--brand-1) 0%, var(--brand-2) 100%);
  color: #fff;
}
.work-head__ava img { width: 54px; height: 54px; border-radius: 50%; border: 2px solid rgba(var(--hl), .16); object-fit: cover; }
.work-head__main { flex: 1; min-width: 0; }
.work-head__name { font-size: 17px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.work-head__lv {
  font-size: 10.5px; font-weight: 500; background: var(--on-brand-chip-bg);
  color: #fff; padding: 2px 7px; border-radius: 8px;
}
.work-head__meta { font-size: 12px; opacity: .9; margin-top: 6px; }
.work-head__switches { display: flex; flex-direction: column; gap: 6px; }
.wsw {
  display: flex; align-items: center; gap: 5px; font-size: 11px;
  background: var(--on-brand-chip-bg); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .10);
  color: var(--on-brand-chip-fg); padding: 5px 9px; border-radius: 12px;
}
.wsw i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .7; }
.wsw.on { background: var(--on-brand-chip-on-bg); box-shadow: none; color: var(--on-brand-chip-on-fg); font-weight: 600; }
.wsw.on i { background: var(--ok); opacity: 1; }
.wsw--busy.on { color: #c98a2b; }
.wsw--busy.on i { background: var(--warn); }

.work-stats {
  display: flex; background: var(--surface); margin: -12px 12px 0; border-radius: var(--radius);
  padding: 14px 0; box-shadow: var(--shadow); position: relative; z-index: 2;
}
.work-stats__item { flex: 1; text-align: center; }
.work-stats__item + .work-stats__item { border-left: 1px solid var(--surface-2); }
.work-stats__item b { display: block; font-size: 18px; color: var(--text); font-weight: 700; }
.work-stats__item b.pink { color: var(--pink-deep); }
.work-stats__item span { font-size: 11.5px; color: var(--text-3); }

.work-wallet {
  margin: 12px; padding: 16px; border-radius: var(--radius); position: relative;
  background:
    radial-gradient(110% 80% at 100% 0%, rgba(var(--accent-rgb), .18), transparent 62%),
    linear-gradient(135deg, var(--brand-1) 0%, var(--brand-2) 100%);
  color: var(--text); box-shadow: var(--shadow), var(--hair);
}
.work-wallet__label { font-size: 12px; color: rgba(255, 255, 255, .72); }
.work-wallet__num { display: block; font-size: 26px; font-weight: 800; margin: 6px 0 4px; letter-spacing: .5px; }
.work-wallet__num { color: #fff; }
.work-wallet__sub { font-size: 11.5px; color: rgba(255, 255, 255, .60); }
.work-wallet__btn {
  position: absolute; right: 16px; top: 20px; font-size: 12.5px;
  background: var(--on-brand-btn-bg); color: var(--on-brand-btn-fg); padding: 6px 14px; border-radius: 999px; font-weight: 700;
  box-shadow: 0 6px 16px rgba(var(--accent-deep-rgb), .24);
}

.work-sec { margin: 12px; }
.work-sec__title {
  font-size: 14.5px; font-weight: 700; color: var(--text); margin-bottom: 8px;
  display: flex; align-items: center; justify-content: space-between;
}
.work-sec__more { font-size: 12px; color: var(--text-3); font-weight: 400; }

.work-order {
  background: var(--surface); border-radius: var(--radius); padding: 14px; margin-bottom: 10px;
  box-shadow: var(--shadow);
}
.work-order__top { display: flex; align-items: center; gap: 8px; }
.work-order__user { font-size: 14.5px; font-weight: 600; color: var(--text); }
.work-order__tag {
  font-size: 10.5px; color: var(--pink-deep); background: rgba(var(--accent-rgb), .13); padding: 2px 7px; border-radius: 8px;
}
.work-order__tag.is-serve { color: var(--ok); background: rgba(74, 222, 128, .13); }
.work-order__amt { margin-left: auto; font-size: 15px; font-weight: 700; color: var(--pink-deep); }
.work-order__svc { font-size: 13px; color: var(--text-2); margin-top: 7px; }
.work-order__remark { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.work-order__foot {
  display: flex; align-items: center; gap: 8px; margin-top: 12px;
  padding-top: 10px; border-top: 1px dashed var(--surface-2);
}
.work-order__time { flex: 1; font-size: 11px; color: var(--text-3); }

/* 店员订单列表 */
.wo-list { padding: 10px 12px 30px; }
.wall-card {
  background: var(--surface); border-radius: var(--radius); padding: 14px; margin-bottom: 10px; box-shadow: var(--shadow);
}
.wall-card__top { display: flex; align-items: center; gap: 8px; }
.wall-card__name { font-size: 14.5px; font-weight: 600; }
.wall-card__svc { font-size: 12.5px; color: var(--text-2); margin-top: 6px; }
.wall-card__row { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text-2); margin-top: 8px; }
.wall-card__gray { color: var(--text-3); }
.wall-card__foot {
  display: flex; align-items: center; gap: 8px; justify-content: flex-end;
  margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--surface-2);
}
.wall-card__time { flex: 1; font-size: 11px; color: var(--text-3); }

/* 收益与提现 */
.income-head {
  margin: 12px; padding: 18px 16px; border-radius: var(--radius); color: var(--text-on-accent); position: relative;
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink) 55%, var(--pink) 100%);
  box-shadow: 0 8px 20px rgba(239,140,161,.28);
}
.income-head__label { font-size: 12px; opacity: .85; }
.income-head__num { font-size: 30px; font-weight: 800; margin: 8px 0 6px; letter-spacing: .5px; }
.income-head__sub { font-size: 11.5px; opacity: .82; }
.income-head__btn {
  position: absolute; right: 16px; bottom: 18px; font-size: 12.5px; font-weight: 600;
  background: var(--surface); color: var(--pink-deep); padding: 7px 15px; border-radius: 15px;
}
.income-list { background: var(--surface); margin: 0 12px; border-radius: var(--radius); overflow: hidden; }
.inc-row { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-bottom: 1px solid var(--surface-2); }
.inc-row:last-child { border-bottom: 0; }
.inc-row__main { flex: 1; min-width: 0; }
.inc-row__title { font-size: 13.5px; color: var(--text); font-weight: 500; }
.inc-row__sub { font-size: 11.5px; color: #a5a5ad; margin-top: 4px; }
.inc-row__right { text-align: right; }
.inc-row__amt { font-size: 14.5px; font-weight: 700; color: var(--pink-deep); }
.inc-row__amt.is-gray { color: var(--text-3); }
.inc-row__time { font-size: 11px; color: var(--text-3); margin-top: 4px; }

/* ---------- 评价页 ---------- */
.rv-card {
  background: var(--surface); margin: 12px; border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow);
}
.rv-head { text-align: center; padding-bottom: 6px; }
.rv-head__name { font-size: 16px; font-weight: 700; color: var(--text); }
.rv-head__svc { font-size: 12px; color: var(--text-3); margin-top: 5px; }
.rv-stars { display: flex; justify-content: center; gap: 10px; margin: 16px 0 6px; }
.rv-star { display: inline-flex; cursor: pointer; transition: transform .15s; }
.rv-star:active { transform: scale(1.15); }
.rv-score-text { text-align: center; font-size: 13px; color: var(--warn); font-weight: 600; }
.rv-label { font-size: 13.5px; font-weight: 600; color: var(--text); margin-bottom: 12px; }
.rv-label span { font-size: 11.5px; color: var(--text-3); font-weight: 400; margin-left: 6px; }
.rv-tags { display: flex; flex-wrap: wrap; }
.rv-ta {
  width: 100%; min-height: 88px; border: 0; background: var(--surface-2); border-radius: 10px;
  padding: 10px 12px; font-size: 13.5px; line-height: 1.65; resize: none; color: var(--text);
}
.rv-anon { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--text-2); margin-top: 12px; }
.rv-check {
  width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(var(--hl), .08); display: inline-block;
}
.rv-check.on { background: var(--pink-grad); border-color: transparent; position: relative; }
.rv-check.on::after {
  content: ''; position: absolute; left: 4px; top: 4px; width: 7px; height: 4px;
  border-left: 1.6px solid rgba(var(--hl), .08); border-bottom: 1.6px solid rgba(var(--hl), .08); transform: rotate(-45deg);
}

/* ---------- 优惠券 ---------- */
.cp-list { padding: 12px 12px 30px; }
.cp {
  display: flex; align-items: stretch; background: var(--surface); border-radius: var(--radius);
  margin-bottom: 10px; overflow: hidden; box-shadow: var(--shadow); position: relative;
}
.cp::before, .cp::after {
  content: ''; position: absolute; left: 96px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg); transform: translateX(-50%);
}
.cp::before { top: -6px; }
.cp::after { bottom: -6px; }
.cp__left {
  width: 96px; flex: 0 0 auto; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 14px 6px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), .16), rgba(var(--accent-rgb), .09)); color: var(--pink-deep);
}
.cp__val { font-size: 24px; font-weight: 800; line-height: 1; }
.cp__val--dis { font-size: 21px; }
.cp__min { font-size: 11px; color: var(--text-2); margin-top: 5px; }
.cp__main { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; justify-content: center; }
.cp__name { font-size: 14px; font-weight: 600; color: var(--text); }
.cp__desc { font-size: 11.5px; color: var(--text-3); margin-top: 6px; }
.cp__action { display: flex; align-items: center; padding-right: 12px; }
.cp__done { font-size: 12px; color: var(--text-3); }

/* ---------- 邀请好友 ---------- */
.iv-hero {
  margin: 12px; padding: 22px 16px; border-radius: var(--radius); color: var(--text); text-align: center;
  background:
    radial-gradient(115% 80% at 50% 0%, rgba(var(--accent-rgb), .22), transparent 66%),
    linear-gradient(150deg, var(--brand-1) 0%, var(--brand-2) 100%);
  box-shadow: var(--shadow), var(--hair);
}
.iv-hero__title { font-size: 17px; font-weight: 700; color: #fff; }
.iv-hero__sub { font-size: 12.5px; color: var(--text-2); margin-top: 7px; }
.iv-code {
  display: inline-flex; align-items: center; gap: 10px; margin: 16px auto 0;
  background: var(--on-brand-chip-bg); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  padding: 8px 14px; border-radius: 12px;
}
.iv-code__label { font-size: 11.5px; color: rgba(255, 255, 255, .74); }
.iv-code__val { font-size: 17px; font-weight: 800; letter-spacing: 2px; color: #fff; }
.iv-code__copy {
  font-size: 11px; background: var(--on-brand-btn-bg); color: var(--on-brand-btn-fg); padding: 3px 8px; border-radius: 8px; font-weight: 700;
}
.iv-stats { display: flex; margin-top: 18px; }
.iv-stats > div { flex: 1; }
.iv-stats b { display: block; font-size: 19px; font-weight: 800; color: #fff; }
.iv-stats span { font-size: 11.5px; color: rgba(255, 255, 255, .78); }
.iv-btn { margin-top: 18px; background: var(--on-brand-btn-bg); color: var(--on-brand-btn-fg); border: 0; box-shadow: 0 6px 16px rgba(var(--accent-deep-rgb), .24); }
.iv-btn.btn--ghost { background: var(--on-brand-ghost-bg); color: var(--on-brand-ghost-fg); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }

.iv-list { padding: 4px 12px 30px; }
.iv-row {
  display: flex; align-items: center; gap: 10px; background: var(--surface);
  border-radius: 12px; padding: 12px; margin-bottom: 8px;
}
.iv-row__ava { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.iv-row__main { flex: 1; min-width: 0; }
.iv-row__name { font-size: 14px; color: var(--text); }
.iv-row__time { font-size: 11.5px; color: var(--text-3); margin-top: 4px; }
.iv-row__reward { font-size: 14px; font-weight: 700; color: var(--pink-deep); }

/* ---------- 实名认证 ---------- */
.rn-status {
  display: flex; gap: 12px; align-items: center; margin: 12px; padding: 16px;
  border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow);
}
.rn-status__ico {
  width: 42px; height: 42px; border-radius: 14px; background: rgba(74, 222, 128, .13);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.rn-status__title { font-size: 15px; font-weight: 700; color: var(--text); }
.rn-status__desc { font-size: 12.5px; color: var(--text-3); margin-top: 5px; line-height: 1.55; }
.rn-status--2 .rn-status__ico { background: rgba(74, 222, 128, .13); }
.rn-status--1 .rn-status__ico { background: rgba(251, 191, 36, .13); }
.rn-status--3 .rn-status__ico { background: rgba(248, 113, 113, .13); }

.rn-form { margin: 0 12px; background: var(--surface); border-radius: var(--radius); padding: 4px 16px 16px; box-shadow: var(--shadow); }
.rn-field { padding: 12px 0; border-bottom: 1px solid var(--surface-2); }
.rn-field label { display: block; font-size: 12.5px; color: var(--text-3); margin-bottom: 7px; }
.rn-field input {
  width: 100%; border: 0; font-size: 15px; color: var(--text); background: transparent; height: 28px;
}
.rn-uploads { display: flex; gap: 10px; margin: 14px 0 6px; }
.rn-up {
  flex: 1; height: 92px; border-radius: 12px; border: 1px dashed var(--line-2);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  font-size: 12px; color: var(--text-3); background: var(--surface-2);
}
.rn-up img { width: 100%; height: 100%; object-fit: cover; }
.rn-tip { font-size: 11.5px; color: var(--text-3); margin: 10px 0 16px; line-height: 1.6; }

/* ---------- 协议 / 关于 ---------- */
.ag-box { margin: 12px; background: var(--surface); border-radius: var(--radius); padding: 16px; min-height: 200px; }
.ag-text { font-size: 13.5px; line-height: 1.9; color: var(--text); white-space: pre-wrap; }

/* ---------- 订单详情操作条 ---------- */
.od-actions { display: flex; gap: 10px; padding: 6px 14px 30px; }
.od-actions .btn { flex: 1; }

.post-card__report {
  margin-left: auto; font-size: 11.5px; color: var(--text-3);
  padding: 2px 8px; border-radius: 9px; background: var(--surface-2);
}

/* ==========================================================================
   v1.4.1 详情页多规格 / 价格表 / 礼物墙 / 打赏
   ========================================================================== */

/* ---------- 详情页头部 ---------- */
.detail-hero__fav {
  position: absolute; right: 12px; top: 12px; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--hero-glass);
  box-shadow: inset 0 0 0 1px rgba(var(--hl), .12);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
}
.detail-hero__fav.is-on { background: rgba(var(--accent-rgb), .16); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .30); }

.detail-slogan {
  margin: 0 12px 12px; padding: 12px 14px;
  background: var(--surface); border-radius: 12px; box-shadow: var(--shadow);
  font-size: 13px; color: var(--text-2); line-height: 1.75;
  text-align: center;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.seg-tabs--card {
  border-bottom: 0; border-radius: 12px; box-shadow: var(--shadow);
  padding: 8px; justify-content: space-around;
}
.seg-tabs--card .seg-tab { flex: 1; text-align: center; padding: 0 8px; }

/* ---------- 价格表 ---------- */
.price-tb { width: 100%; border-collapse: collapse; font-size: 13px; }
.price-tb th {
  background: rgba(var(--accent-rgb), .08); color: var(--text-3); font-weight: 500; font-size: 12px;
  padding: 9px 6px; border-bottom: 1px solid var(--line);
}
.price-tb td {
  padding: 11px 6px; border-bottom: 1px solid rgba(var(--hl), .08); text-align: center;
}
.price-tb__type { color: var(--text); font-weight: 700; background: rgba(var(--accent-rgb), .08); width: 36%; }
.price-tb__spec { color: var(--text-2); }
.price-tb__num { color: var(--pink-deep); font-weight: 700; width: 26%; }

.price-note { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.price-note p { font-size: 11.5px; color: #a4a4ab; line-height: 1.9; }

/* ---------- 详情页礼物墙（预览） ---------- */
.gift-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 4px 0 2px; }
.gift-cell { text-align: center; }
.gift-cell__pic { position: relative; width: 100%; padding-top: 100%; border-radius: 12px; overflow: hidden; }
.gift-cell__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gift-cell__emoji {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 36px; filter: drop-shadow(0 3px 6px rgba(180, 130, 160, .25));
}
.gift-cell__fx {
  position: absolute; right: -2px; top: 4px; font-style: normal;
  background: rgba(30, 16, 24, .58); color: #fff; font-size: 9px; padding: 2px 5px;
  border-radius: 6px 0 0 6px; letter-spacing: .2px;
}
.gift-cell__name {
  font-size: 11.5px; color: var(--text-2); margin-top: 6px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.gift-cell__price { font-size: 11.5px; color: var(--text-2); margin-top: 1px; }

.gift-more {
  margin-top: 14px; height: 38px; line-height: 38px; text-align: center;
  border-radius: 19px; background: rgba(var(--accent-rgb), .10); color: var(--pink-deep);
  font-size: 13px; font-weight: 600;
}

/* ---------- 多规格下单弹层 ---------- */
.spec-mask {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(20, 14, 22, .45);
  display: flex; align-items: flex-end; justify-content: center;
}
.spec-sheet {
  width: 100%; max-width: 480px; background: var(--surface);
  border-radius: 18px 18px 0 0; max-height: 88vh;
  display: flex; flex-direction: column;
  animation: sheetUp .24s ease;
}
.spec-head { position: relative; display: flex; align-items: center; gap: 10px; padding: 16px 16px 6px; }
.spec-head__ava { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; }
.spec-head__name { font-size: 15px; font-weight: 700; color: var(--pink-deep); }
.spec-head__close {
  position: absolute; right: 12px; top: 14px;
  width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2);
  color: var(--text-2); display: flex; align-items: center; justify-content: center;
  font-size: 19px; line-height: 1;
}
.spec-body { flex: 1; overflow-y: auto; padding: 6px 16px 10px; -webkit-overflow-scrolling: touch; }

.spec-block { margin-bottom: 18px; }
.spec-label { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.spec-chips { display: flex; flex-wrap: wrap; }
.spec-chips .chip { margin: 0 8px 8px 0; }
.spec-chips .chip.on { background: linear-gradient(135deg, #a99cf5, var(--purple)); color: var(--text-on-accent); box-shadow: none; }

.spec-row { display: flex; align-items: center; justify-content: space-between; padding: 2px 0 18px; }
.spec-row--link { border-top: 1px solid rgba(var(--hl), .08); padding: 14px 0 12px; }

.stepper { display: flex; align-items: center; }
.stepper__btn {
  width: 30px; height: 30px; border-radius: 8px;
  background: rgba(var(--accent-rgb), .14); color: var(--pink-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-style: normal; font-weight: 700;
}
.stepper__btn--plus { background: rgba(var(--accent-rgb), .14); }
.stepper__btn.is-off { background: var(--bg); color: #cfcfd6; }
.stepper__num { min-width: 44px; text-align: center; font-size: 15px; font-weight: 700; color: var(--text); }

.spec-input {
  width: 100%; height: 40px; border: 0; border-bottom: 1px solid var(--line);
  background: transparent; font-size: 14px; color: var(--text);
}
.spec-input::placeholder { color: var(--text-3); }
.spec-warn { font-size: 11.5px; color: var(--text-2); margin-top: 9px; line-height: 1.5; }
.spec-warn:before { content: "⚠ "; }

.spec-pick { font-size: 13px; color: #bcbcc4; }
.spec-pick.is-on { color: var(--pink-deep); font-weight: 600; }

.spec-coupons { display: flex; flex-direction: column; gap: 8px; padding-bottom: 14px; }
.spec-cp {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px; border-radius: 10px; background: rgba(var(--accent-rgb), .10);
  font-size: 13px; box-shadow: inset 0 0 0 1px #f7e4ea;
}
.spec-cp.on { background: rgba(var(--accent-rgb), .13); box-shadow: inset 0 0 0 1.5px var(--pink); }
.spec-cp b { font-weight: 600; color: var(--text); }
.spec-cp span { color: var(--pink-deep); font-weight: 700; }
.spec-cp-empty { font-size: 12px; color: #adadb5; padding: 4px 0; }

.spec-sum { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-2); padding: 7px 0; }
.spec-sum b { color: var(--text); font-weight: 700; }
.spec-sum em { font-style: normal; color: var(--text-2); }
.spec-sum--minus b { color: var(--pink-deep); }

.spec-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px calc(12px + var(--safe-b));
  border-top: 1px solid var(--line); background: var(--surface);
}
.spec-total { font-size: 14px; color: var(--text); }
.spec-total b { font-size: 19px; color: var(--pink-deep); margin-left: 2px; }
.spec-btn {
  height: 44px; min-width: 128px; padding: 0 30px; border: 0; border-radius: 22px;
  background: linear-gradient(135deg, #a99cf5, var(--purple)); color: var(--text-on-accent);
  font-size: 15px; font-weight: 600;
  box-shadow: 0 6px 16px rgba(123, 108, 246, .32);
}
.spec-btn:disabled { opacity: .6; box-shadow: none; }

/* ==========================================================================
   打赏页
   ========================================================================== */
.inc-tag {
  display: inline-block; margin-left: 6px; padding: 1px 6px;
  font-size: 10px; font-style: normal; border-radius: 6px;
  background: rgba(var(--accent-rgb), .12); color: var(--pink-deep); vertical-align: 1px;
}
.rw-page {
  min-height: 100vh; padding-bottom: 90px;
  background: linear-gradient(180deg, rgba(var(--accent-rgb), .12) 0%, rgba(var(--hl), .06) 100%);
}
.rw-top { position: relative; height: 46px; display: flex; align-items: center; justify-content: center; }
.rw-top__back { position: absolute; left: 6px; top: 0; height: 46px; display: flex; align-items: center; padding: 0 8px; }
.rw-top__title { font-size: 16px; font-weight: 700; color: var(--text); }

.rw-user {
  margin: 0 12px 14px; display: flex; align-items: center; gap: 10px;
  background: var(--surface); border-radius: 14px; padding: 10px 12px;
  box-shadow: 0 4px 16px rgba(200, 150, 180, .14);
}
.rw-user__ava { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.rw-user__name { font-size: 14px; font-weight: 600; color: var(--text); }
.rw-user__lv {
  font-size: 10px; color: var(--text-on-accent); padding: 2px 7px; border-radius: 8px;
  background: linear-gradient(135deg, #f7a8c4, var(--pink));
}
.rw-user__arrow { margin-left: auto; color: var(--text-3); font-size: 19px; line-height: 1; }

.rw-wall { margin: 0 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.rw-cell {
  background: var(--surface); border-radius: 12px; padding: 8px 6px 10px;
  text-align: center; border: 1.5px solid transparent;
  box-shadow: 0 2px 8px rgba(180, 150, 170, .10);
  transition: transform .15s ease;
}
.rw-cell.is-on {
  border-color: var(--pink); background: rgba(var(--accent-rgb), .10);
  box-shadow: 0 6px 16px rgba(239, 148, 200, .26);
  transform: translateY(-1px);
}
.rw-cell__pic { position: relative; width: 100%; padding-top: 100%; border-radius: 9px; overflow: hidden; }
.rw-cell__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rw-cell__emoji {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 31px; filter: drop-shadow(0 3px 6px rgba(180, 130, 160, .22));
}
.rw-cell__fx {
  position: absolute; right: -2px; top: 4px; font-style: normal;
  background: rgba(30, 16, 24, .58); color: #fff; font-size: 9px; padding: 2px 5px;
  border-radius: 6px 0 0 6px; letter-spacing: .2px;
}
.rw-cell__name {
  font-size: 11px; color: var(--text); margin-top: 7px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rw-cell__price { font-size: 11px; color: var(--text-3); margin-top: 2px; }

.rw-cell--more {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0;
  background: linear-gradient(160deg, rgba(var(--accent-rgb), .12) 0%, rgba(var(--accent-rgb), .12) 100%);
  color: var(--pink-deep); font-size: 12.5px; font-weight: 600;
}

.rw-more {
  margin: 14px 12px 0; height: 38px; line-height: 38px; text-align: center;
  border-radius: 19px; background: var(--surface); color: var(--pink-deep);
  font-size: 13px; font-weight: 600; box-shadow: 0 2px 10px rgba(200, 170, 190, .14);
}

.rw-msg { margin: 14px 12px; background: var(--surface); border-radius: 14px; padding: 14px; }
.rw-msg__label { font-size: 14px; font-weight: 700; color: var(--text); }
.rw-msg__tip { font-size: 11.5px; color: #adadb5; margin: 5px 0 10px; }
.rw-msg__input {
  width: 100%; height: 78px; border: 0; border-radius: 10px;
  background: rgba(var(--accent-rgb), .08); padding: 10px 12px; font-size: 13.5px;
  line-height: 1.6; resize: none; color: var(--text);
}
.rw-msg__input::placeholder { color: var(--text-3); }

.rw-foot {
  position: fixed; left: 0; right: 0; bottom: 0; max-width: 480px; margin: 0 auto;
  padding: 10px 16px calc(10px + var(--safe-b));
  background: rgba(var(--frost), .94); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.rw-pay {
  width: 100%; height: 46px; border: 0; border-radius: 23px;
  background: var(--pink-grad);
  color: var(--text-on-accent); font-size: 15px; font-weight: 700;
  box-shadow: 0 8px 18px rgba(var(--accent-deep-rgb), .26);
}
.rw-pay:disabled { opacity: .55; box-shadow: none; }

/* ==========================================================================
   礼物全屏特效
   ========================================================================== */
.gift-fx {
  position: fixed; inset: 0; z-index: 300; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 42%, #6d4182 0%, #341b40 48%, #170b1f 76%, #0d0612 100%);
  animation: fxIn .25s ease;
}
@keyframes fxIn { from { opacity: 0 } to { opacity: 1 } }
.gift-fx--heart { background: radial-gradient(circle at 50% 42%, #8e2b52 0%, #4a1230 46%, #200812 78%, #12040a 100%); }
.gift-fx--firework { background: radial-gradient(circle at 50% 42%, #2c4a8c 0%, #16264c 46%, #080f22 78%, #04070f 100%); }
.gift-fx--carousel { background: radial-gradient(circle at 50% 42%, #74448a 0%, #3a1d48 46%, #1a0c22 78%, #0c0512 100%); }

.gift-fx__sky { position: absolute; inset: 0; overflow: hidden; }
.gift-fx__p {
  position: absolute; bottom: -46px; font-style: normal; color: #ffb3d1;
  animation-name: fxFloat; animation-timing-function: ease-in;
  animation-iteration-count: infinite;
  text-shadow: 0 0 12px rgba(255, 150, 200, .9);
}
@keyframes fxFloat {
  0%   { transform: translateY(0) scale(.6) rotate(0deg); opacity: 0 }
  16%  { opacity: .95 }
  100% { transform: translateY(-112vh) scale(1.15) rotate(26deg); opacity: 0 }
}

.gift-fx__beam {
  position: absolute; width: 560px; height: 560px; border-radius: 50%;
  background: conic-gradient(from 0deg,
    transparent 0deg 14deg, rgba(255, 208, 235, .14) 14deg 19deg,
    transparent 19deg 58deg, rgba(255, 235, 190, .12) 58deg 62deg,
    transparent 62deg 120deg, rgba(255, 208, 235, .13) 120deg 125deg,
    transparent 125deg 186deg, rgba(255, 235, 190, .11) 186deg 190deg,
    transparent 190deg 250deg, rgba(255, 208, 235, .14) 250deg 255deg,
    transparent 255deg 316deg, rgba(255, 235, 190, .1) 316deg 320deg,
    transparent 320deg 360deg);
  animation: fxSpin 9s linear infinite;
  filter: blur(1.5px);
  -webkit-mask-image: radial-gradient(circle, #000 16%, rgba(0, 0, 0, .45) 52%, transparent 76%);
  mask-image: radial-gradient(circle, #000 16%, rgba(0, 0, 0, .45) 52%, transparent 76%);
}

.gift-fx__ring {
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  border: 1px solid rgba(255, 190, 225, .26);
  animation: fxSpin 16s linear infinite;
}
.gift-fx__ring--2 {
  width: 300px; height: 300px; border-style: dashed;
  border-color: rgba(255, 235, 180, .34);
  animation-direction: reverse; animation-duration: 11s;
}
@keyframes fxSpin { to { transform: rotate(360deg) } }
.gift-fx--carousel .gift-fx__ring { border-color: rgba(255, 214, 150, .4); }
.gift-fx--firework .gift-fx__ring { border-color: rgba(160, 200, 255, .34); }

.gift-fx__stage {
  position: relative; z-index: 2; text-align: center;
  animation: fxPop .5s cubic-bezier(.2, 1.4, .4, 1);
}
@keyframes fxPop { from { transform: scale(.55); opacity: 0 } to { transform: none; opacity: 1 } }

.gift-fx__halo {
  position: absolute; left: 50%; top: 50%; width: 268px; height: 268px;
  transform: translate(-50%, -58%); border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 196, 225, .55), rgba(255, 150, 200, .16) 48%, transparent 70%);
  animation: fxPulse 1.9s ease-in-out infinite;
}
@keyframes fxPulse {
  0%, 100% { transform: translate(-50%, -58%) scale(.92); opacity: .8 }
  50%      { transform: translate(-50%, -58%) scale(1.08); opacity: 1 }
}

.gift-fx__icon {
  position: relative; font-size: 126px; line-height: 1;
  animation: fxFloatUp 2.6s ease-in-out infinite;
  filter: drop-shadow(0 10px 30px rgba(255, 170, 210, .5));
}
.gift-fx__icon img { width: 132px; height: 132px; object-fit: contain; }
@keyframes fxFloatUp {
  0%, 100% { transform: translateY(0) rotate(-3deg) }
  50%      { transform: translateY(-12px) rotate(3deg) }
}

.gift-fx__name {
  position: relative; margin-top: 20px; font-size: 22px; font-weight: 800;
  color: #fff; letter-spacing: .5px;
  text-shadow: 0 0 18px rgba(255, 170, 210, .9);
}
.gift-fx__from { position: relative; margin-top: 9px; font-size: 13px; color: rgba(var(--hl), .72); }
.gift-fx__msg {
  position: relative; margin: 15px auto 0; max-width: 260px;
  font-size: 13px; color: #ffe2f0; line-height: 1.6;
  background: rgba(var(--hl), .12); padding: 8px 14px; border-radius: 14px;
}
.gift-fx__tip {
  position: absolute; bottom: 62px; left: 0; right: 0; text-align: center;
  font-size: 12.5px; color: rgba(var(--hl), .58);
  animation: fxBlink 2s ease-in-out infinite;
}
@keyframes fxBlink { 0%, 100% { opacity: .42 } 50% { opacity: .92 } }


/* ==========================================================================
   店员等级：头像框 / 等级标签（配色全部来自后台，这里只给形状）
   ========================================================================== */
.lv-chip {
  display: inline-flex;
  align-items: center;
  height: 19px;
  padding: 0 8px;
  border-radius: 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .2px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(120, 90, 140, .16);
}

/* 工作台头像外圈（渐变环由内联 style 提供） */
.work-head__avabox {
  flex: 0 0 auto;
  padding: 2px;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(90, 50, 70, .18);
}
.work-head__avabox .work-head__ava img {
  display: block;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid rgba(var(--hl), .82);
  object-fit: cover;
}
.work-head__lv {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(90, 50, 70, .16);
}

/* ==========================================================================
   入驻成为店员
   ========================================================================== */
.join-page {
  background:
    radial-gradient(95% 42% at 50% 0%, rgba(var(--accent-rgb), .13), transparent 72%),
    var(--bg);
  min-height: 100vh;
  padding-bottom: calc(20px + var(--safe-b));
}
.join-card {
  margin: 12px;
  padding: 16px 14px;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(150, 120, 170, .07);
}
.join-sec__title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
}
.join-sec__ico { display: inline-flex; }
.join-sec__tip {
  margin-top: 5px;
  font-size: 11.5px;
  color: var(--text-3);
  line-height: 1.6;
}
/* 入驻默认等级：单张展示卡，不可选（等级由后台审核时分配） */
.join-lv {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1.5px solid var(--pink);
  background: linear-gradient(135deg, rgba(var(--accent-rgb), .12) 0%, rgba(var(--accent-rgb), .12) 100%);
  box-shadow: 0 3px 12px rgba(232, 96, 127, .1);
}
.join-lv__ring {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  padding: 3px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(120, 100, 160, .18);
}
.join-lv__inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  opacity: .85;
}
.join-lv__main { flex: 1; min-width: 0; }
.join-lv__name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.join-lv__rate {
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--text-3);
}
.join-lv__rate b { color: var(--pink-deep); font-size: 13px; }
.join-lv__desc {
  margin-top: 4px;
  font-size: 11px;
  color: var(--text-3);
  line-height: 1.55;
}
.join-lv__hint {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(167, 139, 250, .10);
  font-size: 11px;
  color: var(--text-2);
  line-height: 1.6;
}

.join-field { margin-top: 14px; }
.join-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
}
.join-field label i {
  font-style: normal;
  font-weight: 400;
  font-size: 11px;
  color: var(--text-3);
  margin-left: 4px;
}
.join-field input,
.join-field select,
.join-field textarea {
  width: 100%;
  height: 42px;
  padding: 0 13px;
  border: 1px solid var(--surface-2);
  border-radius: 11px;
  background: var(--surface-2);
  font-size: 13.5px;
  color: var(--text);
  font-family: inherit;
  outline: none;
  transition: border-color .15s ease, background .15s ease;
}
.join-field textarea {
  height: 96px;
  padding: 11px 13px;
  line-height: 1.6;
  resize: none;
}
.join-field input:focus,
.join-field select:focus,
.join-field textarea:focus {
  border-color: var(--pink);
  background: var(--surface);
}
.join-field input::placeholder,
.join-field textarea::placeholder { color: #c2c2cb; }

.join-row2 { display: flex; gap: 10px; }
.join-row2 .join-field { flex: 1; min-width: 0; }

.join-genders { display: flex; gap: 10px; }
.join-gender {
  flex: 1;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  border: 1.5px solid rgba(var(--hl), .08);
  background: var(--surface-2);
  font-size: 13px;
  color: var(--text-2);
}
.join-gender.is-on {
  border-color: var(--pink);
  background: rgba(var(--accent-rgb), .09);
  color: var(--pink-deep);
  font-weight: 600;
}

.join-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.join-tag {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--surface-2);
  background: var(--surface-2);
  font-size: 12.5px;
  color: var(--text-2);
}
.join-tag.is-on {
  border-color: rgba(var(--accent-rgb), .16);
  background: rgba(var(--accent-rgb), .13);
  color: var(--pink-deep);
  font-weight: 600;
}

/* 入驻：服务多选卡片 */
.join-svcs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 10px;
}
.join-svc {
  border: 1px solid var(--surface-2);
  background: var(--surface-2);
  border-radius: 12px;
  padding: 10px 12px;
  transition: all .16s;
}
.join-svc.is-on {
  border-color: #f6bcd2;
  background: rgba(var(--accent-rgb), .10);
  box-shadow: 0 2px 10px rgba(232, 96, 127, .09);
}
.join-svc__name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}
.join-svc.is-on .join-svc__name { color: var(--pink-deep); }
.join-svc__meta {
  font-size: 11.5px;
  color: var(--text-3);
  margin-top: 3px;
}
.join-svc.is-on .join-svc__meta { color: var(--text-2); }
.join-svc__count {
  font-size: 12px;
  color: #a3a3ad;
  margin-top: 10px;
  text-align: right;
}

.join-real-tip {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 11px;
  background: rgba(74, 222, 128, .12);
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.6;
}

.join-state { padding: 4px 0 2px; }
.join-state--wait .join-state__t { color: #c98a2b; }
.join-state--fail .join-state__t { color: var(--text-2); }
.join-state__t { font-size: 15px; font-weight: 700; color: var(--text); }
.join-state__d { margin-top: 6px; font-size: 12.5px; color: var(--text-3); line-height: 1.65; }

.join-info { margin: 14px 0 4px; }
.join-info__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--surface-2);
  font-size: 13px;
}
.join-info__row:last-child { border-bottom: 0; }
.join-info__row span { color: var(--text-3); }
.join-info__row b { font-weight: 600; color: var(--text); }

.join-done { text-align: center; padding: 70px 24px 40px; }
.join-done__ico { font-size: 52px; line-height: 1; }
.join-done__title { margin-top: 16px; font-size: 18px; font-weight: 700; color: var(--text); }
.join-done__desc { margin: 8px 0 24px; font-size: 13px; color: var(--text-3); }

.join-submit { margin: 16px 12px 0; }
.join-agree {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11.5px;
  color: var(--text-3);
  line-height: 1.6;
}
.join-agree a { color: var(--pink-deep); }
.join-agree__box {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  border-radius: 5px;
  border: 1.5px solid rgba(var(--hl), .08);
  background: var(--surface);
  text-align: center;
  line-height: 13px;
}
.join-agree__box.is-on {
  border-color: var(--pink);
  background: linear-gradient(135deg, #ff9cb4, var(--pink-deep));
}
.join-agree__box i {
  font-style: normal;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}
.join-submit__btn {
  width: 100%;
  height: 46px;
  margin-top: 14px;
  font-size: 15.5px;
  font-weight: 600;
}

/* ==========================================================================
   店员 · 服务项目（#/work/goods）
   ========================================================================== */
.wg-tip {
  margin: 10px 14px 0; font-size: 12px; color: var(--text-3); line-height: 1.6;
}
.wg-body { padding: 12px 12px 96px; }
.wg-group { margin-bottom: 16px; }
.wg-group__title {
  display: flex; align-items: center;
  font-size: 13px; font-weight: 700; color: var(--text);
  padding: 0 4px 8px;
}
.wg-group__n {
  margin-left: 6px; font-size: 11.5px; font-weight: 400; color: var(--text-3);
}
.wg-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border-radius: 14px; padding: 12px 13px; margin-bottom: 8px;
  box-shadow: 0 2px 10px rgba(120, 100, 160, .06);
}
.wg-item.is-off { opacity: .6; }
.wg-item__main { flex: 1; min-width: 0; }
.wg-item__name {
  display: flex; align-items: center; gap: 6px;
  font-size: 14.5px; font-weight: 600; color: var(--text);
}
.wg-item__off {
  font-size: 10.5px; font-weight: 400; color: var(--text-3);
  background: var(--surface-2); padding: 1px 6px; border-radius: 6px;
}
.wg-item__meta { margin-top: 3px; font-size: 12.5px; color: var(--text-3); }
.wg-item__meta b { color: var(--pink-deep); font-size: 14.5px; }
.wg-item__dot { margin: 0 5px; color: var(--text-3); }
.wg-item__desc {
  margin-top: 3px; font-size: 11.5px; color: var(--text-3);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.wg-item__ops { flex: 0 0 auto; display: flex; flex-direction: column; gap: 6px; }
.wg-op {
  border: 1px solid var(--line); background: var(--surface); color: var(--text-2);
  font-size: 11.5px; padding: 5px 10px; border-radius: 9px; line-height: 1.2;
}
.wg-op--danger { color: #f8a5a5; border-color: rgba(248, 113, 113, .35); }
.wg-count { text-align: center; font-size: 11.5px; color: var(--text-3); padding: 4px 0 0; }
.wg-foot {
  position: fixed; left: 0; right: 0; bottom: 0; max-width: 480px; margin: 0 auto;
  padding: 10px 16px calc(10px + var(--safe-b));
  background: rgba(var(--frost), .94); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.wg-foot .btn { width: 100%; }
.wg-dur { display: flex; align-items: center; gap: 8px; }
.wg-dur__num { flex: 1; }

/* 工作台：我提供的服务（多选） */
.wg-svc {
  margin: 0 14px 12px;
  background: var(--surface);
  border-radius: 14px;
  padding: 14px 14px 12px;
  box-shadow: 0 1px 6px rgba(60, 50, 70, .05);
}
.wg-svc__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}
.wg-svc__head span {
  font-size: 11.5px;
  font-weight: 400;
  color: #a3a3ad;
}
.wg-svc__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.wg-svc__chip {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--surface-2);
  background: var(--surface-2);
  font-size: 12.5px;
  color: var(--text-2);
}
.wg-svc__chip.on {
  border-color: rgba(var(--accent-rgb), .16);
  background: rgba(var(--accent-rgb), .13);
  color: var(--pink-deep);
  font-weight: 600;
}
.wg-svc__save { margin-top: 12px; width: 100%; }

/* 登录页：微信一键登录 */
.login__wx { margin-bottom: 4px; }
.login__wx-btn {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: #07c160;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.login__wx-btn:active { opacity: .88; }
.login__wx-btn:disabled { opacity: .6; }
.login__wx-ico {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: rgba(var(--hl), .22);
  font-size: 11.5px;
  line-height: 21px;
  text-align: center;
}
.login__or {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 4px;
  font-size: 11.5px;
  color: #b8b8c2;
}
.login__or::before,
.login__or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--surface-3);
}

/* ==========================================================================
   v1.6.1 · 每日签到
   ========================================================================== */
.sign-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 12px 12px;
  padding: 13px 14px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(var(--accent-rgb), .12) 0%, rgba(var(--accent-rgb), .12) 100%);
  border: 1px solid rgba(var(--hl), .08);
  box-shadow: var(--shadow);
}
.sign-bar__ico { font-size: 20px; line-height: 1; }
.sign-bar__mid { flex: 1; min-width: 0; }
.sign-bar__title { font-size: 14px; font-weight: 700; color: var(--text); }
.sign-bar__tip { font-size: 11.5px; color: var(--text-2); margin-top: 3px; }
.sign-bar__score {
  font-size: 15px;
  font-weight: 700;
  color: var(--pink-deep);
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.sign-bar__score small { font-size: 10.5px; font-weight: 400; color: #b99aa6; }
.sign-bar__btn {
  flex: none;
  height: 28px;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--pink-grad);
  color: var(--text-on-accent);
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
}
.sign-bar__btn.is-done { background: var(--surface-2); color: var(--text-2); font-weight: 500; }

/* 弹层内部 */
.sign-head {
  display: flex;
  justify-content: space-around;
  padding: 4px 0 16px;
}
.sign-head__days {
  text-align: center;
  font-size: 11.5px;
  color: var(--text-3);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.sign-head__days b { font-size: 21px; color: var(--pink-deep); font-weight: 700; }
.sign-head__days small { font-size: 11px; color: var(--text-3); }

.sign-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.sign-week__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.sign-week__dot {
  width: 100%;
  aspect-ratio: 1;
  max-height: 38px;
  border-radius: 10px;
  background: var(--surface-2);
  color: #b6b6c0;
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sign-week__cell.is-done .sign-week__dot {
  background: linear-gradient(135deg, #fde3ea, #fbc7d5);
  color: var(--pink-deep);
}
.sign-week__cell.is-today .sign-week__dot {
  box-shadow: 0 0 0 2px #f095ab inset;
}
.sign-week__lb { font-size: 10px; color: var(--text-3); white-space: nowrap; }
.sign-week__cell.is-done .sign-week__lb { color: var(--pink-deep); }

.sign-btn { width: 100%; margin-top: 16px; height: 44px; border-radius: 12px; }
.sign-btn.is-done { background: var(--surface-2); color: var(--text-2); box-shadow: none; }

.sign-task {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.sign-task:last-child { border-bottom: 0; }
.sign-task__info { flex: 1; min-width: 0; }
.sign-task__name { font-size: 13.5px; font-weight: 600; color: var(--text); }
.sign-task__score { font-size: 11.5px; font-weight: 600; color: var(--pink-deep); margin-left: 4px; }
.sign-task__desc { font-size: 11.5px; color: var(--text-3); margin-top: 3px; }
.sign-task__btn {
  flex: none;
  height: 28px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-3);
  font-size: 12px;
  font-weight: 500;
}
.sign-task__btn.is-ready {
  background: var(--pink-grad);
  color: var(--text-on-accent);
  font-weight: 600;
}
.sign-task__btn.is-done { background: var(--surface-2); color: #c0c0c8; }

/* ==========================================================================
   v1.6.1 · 邀请海报
   ========================================================================== */
.poster-box {
  /* .mask 本身是 flex 居中，这里不用再定位 */
  width: 84vw;
  max-width: 360px;
  background: var(--surface);
  border-radius: 18px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.poster-box__stage {
  width: 100%;
  aspect-ratio: 750 / 1200;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(var(--accent-rgb), .08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.poster-box__img { width: 100%; height: 100%; object-fit: contain; }
.poster-box__loading,
.poster-box__fail {
  font-size: 12.5px;
  color: var(--text-3);
  padding: 0 20px;
  text-align: center;
  line-height: 1.7;
}
.poster-box__tip { font-size: 12px; color: var(--text-3); text-align: center; }
.poster-box__acts { display: flex; gap: 10px; }
.poster-box__acts .btn { flex: 1; }

/* ==========================================================================
   v1.6.1 · 筛选面板重置
   ========================================================================== */
.hp-filter__reset {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-3);
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  align-self: center;
}

/* ---------------- 支付方式选择 / 扫码支付（v1.6.2） ---------------- */
.pay-ch { margin-top: 22px; }
.pay-ch__t { font-size: 13px; color: var(--text-3); margin-bottom: 10px; }
.pay-ch__list { display: flex; flex-direction: column; gap: 10px; }
.pay-ch__item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  transition: all .18s;
  background: var(--surface);
}
.pay-ch__item.is-on {
  border-color: var(--pink);
  background: rgba(var(--accent-rgb), .09);
  box-shadow: 0 3px 10px rgba(240, 146, 159, .18);
}
.pay-ch__name { font-size: 14px; font-weight: 600; color: var(--text); }
.pay-ch__item.is-on .pay-ch__name { color: var(--pink-deep); }
.pay-ch__desc { font-size: 12px; color: var(--text-3); margin-top: 4px; line-height: 1.6; }
.pay-ch__one { margin-top: 20px; font-size: 12px; color: var(--text-3); }

.pay-qr {
  width: 100%;
  max-width: 320px;
  background: var(--surface);
  border-radius: 18px;
  padding: 22px 20px 18px;
  text-align: center;
  animation: pop .22s cubic-bezier(.2, .9, .3, 1.1);
}
.pay-qr__t { font-size: 15px; color: var(--text-2); }
.pay-qr__t b { color: var(--pink-deep); font-size: 19px; }
.pay-qr__img {
  width: 200px;
  height: 200px;
  margin: 16px auto 0;
  display: block;
  border-radius: 10px;
  background: var(--surface-2);
  object-fit: contain;
}
.pay-qr__tip { font-size: 12.5px; color: var(--text-2); margin-top: 12px; line-height: 1.7; }
.pay-qr__wait { font-size: 11.5px; color: var(--text-3); margin-top: 6px; }
