/* ═══════════════════════════════════════════════════════════════════
   account.css — Figma 1:1 复刻（App.tsx 首页 / HistoryPage / MinePage / CSModal / 专业版抽屉）
   依赖 figma.css 的 --fx-shell-w / fx-toast / fx-backdrop / fx-sheet 基元（hero 已 figma-tw 编译类化，模块 A-E）
   ═══════════════════════════════════════════════════════════════════ */

[hidden] { display: none !important; }

/* ---------- 外壳（420px 居中 + 底部导航让位） ---------- */
.app-shell {
  position: relative;
  width: 100%;
  max-width: var(--fx-shell-w, 420px);
  margin: 0 auto;
  min-height: 100vh;
  background: #f2f4f8;
  padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}

.app-view { display: block; }

/* ---------- 通用反馈 / 空态 ---------- */
.form-feedback {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff7ed;
  color: #e07c00;
  font-size: 12px;
  line-height: 1.55;
}
.form-feedback[data-tone="success"] { background: #f0faf3; color: #00963d; }
.form-feedback[data-tone="action"] { background: #eef3ff; color: #1664ff; }
.form-feedback--action { background: #eef3ff; color: #1664ff; }

.text-button {
  border: 0;
  background: none;
  padding: 0 2px;
  color: #1664ff;
  font-size: inherit;
  cursor: pointer;
  text-decoration: underline;
}

.history-empty {
  padding: 36px 16px;
  text-align: center;
  color: #86909c;
  font-size: 12px;
  line-height: 1.7;
}
.history-empty.error { color: #f53f3f; }
.record-empty {
  padding: 42px 16px;
  text-align: center;
  color: #a9b0bc;
  font-size: 12px;
}

/* ---------- 首页 hero（App.tsx：品牌 + 搜索 + 信任条） ---------- */
.home-top-row { display: flex; justify-content: flex-end; margin-bottom: 12px; position: relative; }

.home-sample-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 11px;
  text-decoration: none;
}
.home-sample-pill:active { opacity: 0.8; }

.home-brand { text-align: center; margin: 4px 0 18px; }
.home-brand__name {
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.12em;
  line-height: 1.15;
}
.home-brand__sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  letter-spacing: 0.28em;
}
.home-brand__rule { width: 26px; height: 1px; background: rgba(255, 255, 255, 0.28); }

.home-search-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 16px;
  padding: 8px 8px 8px 14px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}
.home-search-card input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  height: 34px;
  font-size: 13.5px;
  color: #1d2129;
}
.home-search-card input::placeholder { color: #a9b0bc; }
.home-search-card input:disabled { opacity: 0.6; }

.home-search__btn {
  flex-shrink: 0;
  border: 0;
  cursor: pointer;
  border-radius: 11px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #ff7d00, #d96400);
  box-shadow: 0 3px 10px rgba(217, 100, 0, 0.28);
}
.home-search__btn:active { opacity: 0.88; }
.home-search__btn:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; }

.hero-dims {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 2px 0;
  padding: 0;
  position: relative;
}
.hero-dims li {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  white-space: nowrap;
}
.hero-dims li + li { position: relative; padding-left: 14px; }
.hero-dims li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 10px;
  background: rgba(255, 255, 255, 0.15);
}

/* ---------- 页面主体 ---------- */
.home-body, .page-body { padding: 14px 12px 6px; }
.mx-card { margin-bottom: 12px; }

/* ---------- 分享卡（App.tsx ShareCard） ---------- */
.share-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, #fffaf4, #fff3e0);
  border: 1px solid rgba(255, 125, 0, 0.14);
  padding: 16px;
}
.share-card__rings { position: absolute; right: -30px; top: -20px; opacity: 0.35; pointer-events: none; }
.share-card__dev-chip {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(217, 100, 0, 0.12);
  color: #b05a18;
  font-size: 10px;
  border: 1px solid rgba(217, 100, 0, 0.18);
}
.share-card__dev-chip--blue {
  background: rgba(22, 100, 255, 0.08);
  color: #1664ff;
  border-color: rgba(22, 100, 255, 0.16);
}
.share-card__inner { position: relative; display: flex; align-items: center; gap: 12px; }
.share-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, #ffb84d, #d96400);
  box-shadow: 0 3px 10px rgba(217, 100, 0, 0.3);
}
.share-card__text { flex: 1; min-width: 0; }
.share-card__title-row { display: flex; align-items: center; gap: 6px; }
.share-card__title { font-size: 14px; font-weight: 700; color: #7a3500; }
.share-card__free {
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #ff8c1a, #d96400);
}
.share-card__sub { margin-top: 2px; font-size: 11px; color: #b05a18; }
.share-card__cta {
  flex-shrink: 0;
  border: 0;
  cursor: pointer;
  border-radius: 11px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #ff8c1a, #d96400);
}
.share-card__cta:active { opacity: 0.88; }

/* ---------- 生成中卡（App.tsx ProgressCard） ---------- */
.wait-card {
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e5e8f0;
  border-left: 3px solid #1664ff;
  box-shadow: 0 2px 20px rgba(20, 50, 120, 0.09);
  padding: 13px 14px;
}
.wait-card__top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.wait-pulse { position: relative; width: 8px; height: 8px; flex-shrink: 0; }
.wait-pulse span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #1664ff;
  opacity: 0.6;
  animation: wait-ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.wait-pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #1664ff; }
@keyframes wait-ping {
  0% { transform: scale(1); opacity: 0.6; }
  75%, 100% { transform: scale(2.2); opacity: 0; }
}
.wait-card__title { font-size: 12.5px; font-weight: 700; color: #1d2129; white-space: nowrap; }
.wait-card__company {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #86909c;
  font-size: 11px;
}
.wait-card__company::before { content: "· "; }
.wait-card__pct { font-size: 11px; font-variant-numeric: tabular-nums; color: #1664ff; font-weight: 600; flex-shrink: 0; }
.wait-card__bar { margin: 9px 0; height: 3px; border-radius: 999px; background: #e8f0ff; overflow: hidden; }
.wait-card__bar > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #1664ff, #2e7fff);
  transition: width 0.4s ease;
}
.wait-card__bottom { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 10.5px; }
.wait-card__tag {
  padding: 2px 7px;
  border-radius: 6px;
  background: #f5f6fa;
  color: #86909c;
  border: 1px solid #eceef3;
}
.wait-card__hint { flex: 1; min-width: 120px; color: #86909c; line-height: 1.5; }
.wait-card__continue { color: #1664ff; text-decoration: none; font-weight: 600; white-space: nowrap; }
.wait-card__sep { color: #e5e6eb; }
.wait-card__cancel {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  color: #f53f3f;
  font-size: 10.5px;
  font-weight: 600;
}
.wait-card__cancel:disabled { color: #fbb3b3; cursor: not-allowed; }

/* ---------- 查询记录卡（App.tsx RecordCard） ---------- */
.record-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(229, 232, 240, 0.7);
  box-shadow: 0 2px 20px rgba(20, 50, 120, 0.09);
  overflow: hidden;
}
.record-card__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px 8px; }
.record-card__title-wrap { display: flex; align-items: center; gap: 8px; min-width: 0; }
.record-card__bar { width: 3px; height: 14px; border-radius: 2px; background: linear-gradient(180deg, #1664ff, #2e7fff); flex-shrink: 0; }
.record-card__title { font-size: 13px; font-weight: 700; color: #1d2129; white-space: nowrap; }
.record-card__count { font-size: 10px; color: #1664ff; background: #e8f0ff; padding: 2px 7px; border-radius: 999px; white-space: nowrap; }
.record-card__tools { display: flex; align-items: center; gap: 8px; }
.record-card__search {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #f5f6fa;
  border: 1px solid #eceef3;
  border-radius: 9px;
  padding: 5px 8px;
}
.record-card__search input { width: 64px; border: 0; outline: 0; background: transparent; font-size: 11px; color: #1d2129; }
.record-card__search input::placeholder { color: #a9b0bc; }
.record-card__all {
  border: 0;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 2px;
  color: #86909c;
  font-size: 11.5px;
  padding: 4px 2px;
}
.record-card__all i { font-style: normal; font-size: 14px; line-height: 1; }

.record-card__tabs { display: flex; border-top: 1px solid #f4f5fb; border-bottom: 1px solid #f4f5fb; }
.record-tab {
  flex: 1;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 10px 0;
  font-size: 11.5px;
  font-weight: 600;
  color: #86909c;
  position: relative;
}
.record-tab.is-active { color: #1664ff; }
.record-tab.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -1px;
  width: 28px;
  height: 2.5px;
  border-radius: 2px;
  background: #1664ff;
}

.record-card__list { min-height: 56px; }
.record-row { display: flex; align-items: center; gap: 9px; padding: 11px 14px; border-top: 1px solid #f4f5fb; }
.record-row:first-child { border-top: 0; }
.record-row__rail { width: 3px; height: 30px; border-radius: 2px; background: #e5e6eb; flex-shrink: 0; }
.record-row__rail--on { background: linear-gradient(180deg, #1664ff, #2e7fff); }
.record-row__seq { font-size: 11px; font-weight: 700; color: #c9cdd4; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.record-row__main { flex: 1; min-width: 0; }
.record-row__company {
  font-size: 13.5px;
  font-weight: 600;
  color: #1d2129;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.record-row__time { margin-top: 2px; font-size: 10.5px; color: #86909c; }
.record-row__badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
}
.record-row__badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; }
.record-row__badge--done { color: #00963d; background: rgba(0, 180, 42, 0.08); }
.record-row__badge--done::before { background: #00b42a; }
.record-row__badge--pending { color: #86909c; background: #f5f6f8; }
.record-row__badge--pending::before { background: #c9cdd4; }
.record-row__action {
  flex-shrink: 0;
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 600;
  color: #1664ff;
  background: #e8f0ff;
  border: 1px solid #bedaff;
  border-radius: 9px;
  padding: 6px 10px;
}
.record-row__action[data-retry-lookup],
.record-row__action[data-prefill-company] {
  color: #e07c00;
  background: #fff7ed;
  border-color: #ffd591;
}
.history-action--disabled {
  color: #a9b0bc !important;
  background: #f5f6fa !important;
  border-color: #eceef3 !important;
  cursor: not-allowed;
}

/* ---------- 历史列表状态胶囊与禁用钮（HistoryPage.tsx STATUS_MAP；hero/统计/行模板已 figma-tw 编译类化，模块 E 退役旧类） ---------- */
.history-status {
  font-size: 10.5px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f5f6fa;
  color: #86909c;
}
.history-status--completed,
.history-status--completed_with_external_pending,
.history-status--authorization_completed { color: #00963d; background: #f0faf3; }
.history-status--queued,
.history-status--running,
.history-status--company_lookup_running,
.history-status--wait_authorization,
.history-status--authorizing { color: #1664ff; background: #eef3ff; }
.history-status--partial { color: #7b42f5; background: #f3eeff; }
.history-status--cancelled { color: #86909c; background: #f2f3f5; }
.history-status--expired,
.history-status--session_expired,
.history-status--authorization_failed,
.history-status--needs_user_action,
.history-status--query_failed { color: #e07c00; background: #fff7ed; }

/* 进度条填充色改由 account.js statusBarOf() 单点内联（模块 E），旧兄弟选择器与 hist-foot 退役 */

/* ---------- 我的页残留（MinePage.tsx：hero/统计/邀请卡/菜单已 figma-tw 编译类化，模块 E 退役旧类；usage-card=真实数据卡 figma 无对应保留） ---------- */
.usage-card {
  background: #fff;
  border: 1px solid #e5e8f0;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(20, 50, 130, 0.07);
  padding: 13px 14px;
}
.usage-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.usage-card__title-wrap { display: flex; align-items: center; gap: 8px; }
.usage-card__title { font-size: 13px; font-weight: 700; color: #1d2129; }
.usage-card__chip { font-size: 10.5px; color: #1664ff; background: #e8f0ff; border-radius: 999px; padding: 2px 8px; }
.usage-card__bar { height: 6px; border-radius: 999px; background: #f0f3fa; overflow: hidden; }
.usage-card__bar > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #1664ff, #2e7fff);
  transition: width 0.4s ease;
}
.usage-card__note { margin: 8px 0 0; font-size: 11px; color: #86909c; }

/* ---------- 底部导航 ---------- */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--fx-shell-w, 420px);
  z-index: 50;
  display: flex;
  background: #fff;
  box-shadow: 0 -1px 0 #e5e6eb, 0 -4px 16px rgba(0, 0, 0, 0.05);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.bottom-nav-item {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 0 12px;
  border: 0;
  background: none;
  color: #86909c;
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.bottom-nav-item small { font-size: 10px; font-weight: 600; }
.bottom-nav-item.is-active { color: #1664ff; }
.bottom-nav-item.is-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2.5px;
  border-radius: 0 0 3px 3px;
  background: #1664ff;
}

/* ---------- 抽屉基元（原生 <dialog> 覆盖 figma.css 的 div 抽屉形态） ---------- */
dialog.fx-sheet {
  position: fixed;
  inset: auto 0 0 0;
  margin: 0 auto;
  width: 100%;
  max-width: var(--fx-shell-w, 420px);
  max-height: 86vh;
  border: 0;
  border-radius: 24px 24px 0 0;
  background: #fff;
  color: #1d2129;
  padding: 0 18px calc(18px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -12px 48px rgba(15, 35, 95, 0.22);
  display: none;
  flex-direction: column;
  pointer-events: auto;
  box-sizing: border-box;
}
dialog.fx-sheet[open] { display: flex; }
dialog.fx-sheet::backdrop { background: rgba(8, 16, 50, 0.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

.fx-sheet__handle span {
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: #e0e5f0;
}

#csBackdrop:not([hidden]), #proBackdrop:not([hidden]) { opacity: 1; pointer-events: auto; }

/* ---------- 短信登录抽屉 ---------- */
.login-sheet { padding-top: 4px; }
.login-sheet .fx-sheet__close { position: absolute; top: 16px; right: 16px; }
.login-sheet__head { padding: 16px 6px 2px; }
.login-sheet__eyebrow { margin: 0 0 6px; font-size: 11px; letter-spacing: 0.18em; color: #1664ff; font-weight: 600; }
.login-sheet__title { margin: 0 0 6px; font-size: 21px; font-weight: 700; }
.login-sheet__copy { margin: 0; font-size: 12px; color: #86909c; }
.login-sheet .form-feedback { margin: 12px 0 0; }

.login-form { display: flex; flex-direction: column; gap: 12px; padding: 14px 0 6px; }
.login-field, .login-field__label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: #4e5969; font-weight: 600; }
.login-field input, .login-field__label input {
  height: 44px;
  border-radius: 12px;
  border: 1px solid #e5e6eb;
  background: #f7f8fa;
  padding: 0 12px;
  font-size: 14px;
  color: #1d2129;
  outline: 0;
  font-weight: 400;
}
.login-field input:focus, .login-field__label input:focus { border-color: #1664ff; background: #fff; }
.login-field--code { position: relative; }
.login-field--code input { padding-right: 96px; }
.login-code-btn {
  position: absolute;
  right: 7px;
  bottom: 7px;
  border: 0;
  border-radius: 9px;
  background: #e8f0ff;
  color: #1664ff;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 10px;
  cursor: pointer;
}
.login-code-btn:disabled { color: #a9b0bc; background: #f2f3f5; cursor: not-allowed; }
.login-submit {
  height: 46px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, #1664ff, #2e7fff);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(22, 100, 255, 0.28);
}
.login-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* ---------- 法务文档抽屉 ---------- */
.doc-dialog { padding-top: 4px; }
.doc-dialog:not([open]) { display: none; }
.doc-dialog .fx-sheet__close { position: absolute; top: 16px; right: 16px; }
.doc-dialog__eyebrow { margin: 16px 6px 0; font-size: 11px; letter-spacing: 0.18em; color: #1664ff; font-weight: 600; }
.doc-dialog__title { margin: 6px 0 10px; font-size: 18px; font-weight: 700; padding-right: 30px; }
.doc-body { max-height: 56vh; overflow: auto; font-size: 12.5px; line-height: 1.8; color: #4e5969; }
.doc-body h3 { font-size: 13.5px; margin: 14px 0 6px; color: #1d2129; }
.doc-body p { margin: 0 0 8px; }

/* ---------- 开发中提示抽屉 ---------- */
.dev-sheet { text-align: center; padding-top: 4px; align-items: center; }
.dev-sheet .fx-sheet__close { position: absolute; top: 16px; right: 16px; }
.dev-sheet__icon {
  width: 56px;
  height: 56px;
  margin: 26px 0 12px;
  border-radius: 18px;
  background: #eef3ff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dev-sheet__title { margin: 0 0 8px; font-size: 17px; font-weight: 700; }
.dev-sheet__body { margin: 0 0 18px; font-size: 12.5px; color: #86909c; line-height: 1.7; }
.dev-sheet .login-submit { width: 100%; }

/* ---------- 客服弹层（CSModal.tsx 1:1） ---------- */
.cs-sheet {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--fx-shell-w, 420px);
  z-index: 210;
  background: #f2f5ff;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -16px 60px rgba(20, 50, 130, 0.22);
  padding-bottom: calc(26px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}
.cs-sheet__handle { display: flex; justify-content: center; padding: 12px 0 4px; }
.cs-sheet__handle span { width: 36px; height: 3px; border-radius: 999px; background: rgba(22, 100, 255, 0.18); }
.cs-sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px 12px; }
.cs-sheet__head-main { display: flex; align-items: center; gap: 10px; }
.cs-sheet__badge {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1346cc, #2e7fff);
  box-shadow: 0 4px 12px rgba(22, 100, 255, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cs-sheet__title { font-size: 15px; font-weight: 700; color: #1d2129; }
.cs-sheet__sub { font-size: 11px; color: #86909c; margin-top: 1px; }
.cs-sheet__close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e5e8f0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.cs-sheet__card {
  margin: 0 16px 12px;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(20, 50, 130, 0.1);
  border: 1px solid rgba(22, 100, 255, 0.08);
}
.cs-qr-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: linear-gradient(90deg, #f0fdf4, #f6fef8);
  border-bottom: 1px solid #e0f5e8;
}
.cs-qr-strip__mark { width: 24px; height: 24px; border-radius: 8px; background: #07c160; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cs-qr-strip__text { font-size: 12px; font-weight: 600; color: #05a050; flex: 1; }
.cs-qr-strip__online { display: flex; align-items: center; gap: 4px; font-size: 10.5px; color: #05a050; }
.cs-dot { width: 6px; height: 6px; border-radius: 50%; background: #07c160; flex-shrink: 0; }
.cs-qr-stage { display: flex; flex-direction: column; align-items: center; padding: 22px 20px 18px; }
.cs-qr-frame {
  position: relative;
  width: 184px;
  height: 184px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(22, 100, 255, 0.1), 0 8px 32px rgba(22, 100, 255, 0.12);
}
.cs-qr-corner { position: absolute; width: 20px; height: 20px; pointer-events: none; }
.cs-qr-corner--tl { top: 18px; left: 18px; border-top: 2.5px solid #1664ff; border-left: 2.5px solid #1664ff; border-radius: 4px 0 0 0; }
.cs-qr-corner--tr { top: 18px; right: 18px; border-top: 2.5px solid #1664ff; border-right: 2.5px solid #1664ff; border-radius: 0 4px 0 0; }
.cs-qr-corner--bl { bottom: 18px; left: 18px; border-bottom: 2.5px solid #1664ff; border-left: 2.5px solid #1664ff; border-radius: 0 0 0 4px; }
.cs-qr-corner--br { bottom: 18px; right: 18px; border-bottom: 2.5px solid #1664ff; border-right: 2.5px solid #1664ff; border-radius: 0 0 4px 0; }
.cs-qr-grid {
  position: absolute;
  inset: 12px;
  display: grid;
  grid-template-columns: repeat(13, 1fr);
  gap: 2.5px;
  padding: 14px;
  box-sizing: border-box;
}
.cs-qr-grid span { border-radius: 1.5px; aspect-ratio: 1; }
.cs-qr-grid span.is-on { background: #1a2b6b; }
.cs-qr-image { position: absolute; inset: 12px; width: 160px; height: 160px; object-fit: contain; border-radius: 8px; }
.cs-qr-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1346cc, #2e7fff);
  box-shadow: 0 3px 10px rgba(22, 100, 255, 0.35);
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}
.cs-qr-cue { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 12.5px; font-weight: 600; color: #1d2129; }
.cs-qr-note { margin: 6px 0 0; font-size: 11px; color: #86909c; }
.cs-sheet__foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 2px 20px 0;
  font-size: 11px;
  color: #86909c;
}
.cs-foot-item { display: flex; align-items: center; gap: 5px; }
.cs-foot-sep { width: 1px; height: 12px; background: #e5e6eb; }

/* ---------- 专业版抽屉 ---------- */
.pro-sheet {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--fx-shell-w, 420px);
  z-index: 210;
  background: #fff;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -12px 48px rgba(15, 35, 95, 0.22);
  box-sizing: border-box;
}
.pro-sheet__inner { padding: 6px 18px calc(20px + env(safe-area-inset-bottom, 0px)); }
.pro-sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 8px 0 4px; }
.pro-sheet__title { font-size: 17px; font-weight: 700; }
.pro-sheet__close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f2f4f8;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.pro-sheet__company {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f3f6ff;
  border: 1px solid #d8e3ff;
  font-size: 13px;
  font-weight: 600;
  color: #1d2129;
}
.pro-sheet__company #proCompanyName { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pro-sheet__company-chip { flex-shrink: 0; font-size: 10px; color: #1664ff; background: #e8f0ff; padding: 2px 7px; border-radius: 999px; }
.pro-sheet__dev-banner {
  margin: 0 0 12px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #fff7ed;
  border: 1px solid #ffd591;
  color: #e07c00;
  font-size: 12px;
  font-weight: 600;
}
.pro-sheet__pay {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  border: 0;
  cursor: pointer;
  border-radius: 14px;
  padding: 13px 15px;
  background: linear-gradient(135deg, #1664ff, #2e7fff);
  color: #fff;
  box-shadow: 0 6px 18px rgba(22, 100, 255, 0.3);
  box-sizing: border-box;
}
.pro-sheet__pay:active { opacity: 0.9; }
.pro-sheet__pay-main { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; }
.pro-sheet__pay-title { font-size: 14.5px; font-weight: 700; }
.pro-sheet__pay-sub { font-size: 10.5px; opacity: 0.85; }
.pro-sheet__pay-side { display: flex; flex-direction: column; align-items: flex-end; }
.pro-sheet__price { font-size: 22px; font-weight: 900; line-height: 1; }
.pro-sheet__price-old { font-size: 11px; text-decoration: line-through; opacity: 0.7; }
.pro-sheet__demo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  border: 1.5px solid #d8e3ff;
  background: #f3f6ff;
  border-radius: 14px;
  padding: 12px 15px;
  text-decoration: none;
}
.pro-sheet__demo-main { display: flex; flex-direction: column; gap: 2px; }
.pro-sheet__demo-title { font-size: 13.5px; font-weight: 700; color: #1d2129; }
.pro-sheet__demo-sub { font-size: 10.5px; color: #86909c; }
.pro-sheet__demo-chip { font-size: 11px; font-weight: 600; color: #1664ff; background: #e8f0ff; border-radius: 999px; padding: 5px 10px; flex-shrink: 0; }
.pro-sheet__pays {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 11px;
  color: #86909c;
  flex-wrap: wrap;
}
.pro-sheet__pay-method {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #f2f4f8;
  border-radius: 999px;
  padding: 4px 9px;
  font-weight: 600;
  color: #4e5969;
}

/* ---------- 微信登录遮罩 ---------- */
.wechat-loading {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(8, 16, 50, 0.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #fff;
  font-size: 13px;
}
.loading-spinner {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  animation: account-spin 0.9s linear infinite;
}
@keyframes account-spin { to { transform: rotate(360deg); } }
