/* ============================================================
   页面级样式 — 各页面特有的布局和视觉效果
   ============================================================ */

/* === P3 工具类（消除高频内联，Flutter 迁移友好）=== */
.btn-block { width: 100%; }
.btn-h44 { height: var(--btn-h); font-size: var(--fs-15); }
.btn-h46 { height: var(--cta-h); font-size: var(--fs-15); }
.btn-h48 { height: var(--btn-h-lg); font-size: var(--fs-16); }
.btn-block.btn-h44, .btn-block.btn-h46, .btn-block.btn-h48 { width: 100%; }
.card-pad { padding: var(--sp-14) var(--sp-16); }
.text-center { text-align: center; }
.flex-1 { flex: 1; min-width: 0; }
.flex-shrink-0 { flex-shrink: 0; }

/* ============================================================
   P4 通用组件类 — 语义化抽取（Flutter agent 看类名即可映射 Widget）
   ============================================================ */

/* === 布局类 === */
.page-col-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--sp-20) var(--sp-16);
}
.row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.col-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-8); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-8); }
.cta-bar {
  padding: var(--sp-12) var(--sp-16) calc(var(--sp-12) + env(safe-area-inset-bottom));
  border-top: var(--bw) solid var(--divider);
  flex-shrink: 0;
}

/* === 文本类 === */
.field-label {
  font-size: var(--fs-13);
  color: var(--text-sub);
  margin-bottom: var(--sp-6);
}
.text-hint {
  font-size: var(--fs-12);
  color: var(--text-muted);
}
.text-hint-sm {
  font-size: var(--fs-11);
  color: var(--text-muted);
}
.text-sub-13 {
  font-size: var(--fs-13);
  color: var(--text-sub);
  line-height: 1.6;
}
.link-primary {
  color: var(--primary);
  cursor: pointer;
  font-weight: var(--fw-semibold);
}
.ob-title {
  font-size: var(--fs-20);
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-4);
}
.ob-subtitle {
  font-size: var(--fs-14);
  color: var(--text-sub);
  margin-bottom: var(--sp-24);
  line-height: 1.6;
}
.section-sub {
  font-size: var(--fs-13);
  color: var(--text-sub);
  margin: var(--sp-8) var(--sp-4) var(--sp-6);
}
.hero-title {
  font-size: var(--fs-18);
  font-weight: var(--fw-bold);
  color: var(--text-main);
}
.hero-title-gold {
  font-size: var(--fs-18);
  font-weight: var(--fw-bold);
  color: var(--gold-deep);
}

/* === 组件类 === */
/* 圆形图标盘 — onboarding/states/detail 22 处 */
/* inline-flex：在 text-align:center 容器中可居中（块级 flex 不会居中）；
   在 flex/grid 容器中作为 item 会被块化，行为一致 */
.icon-disc {
  border-radius: var(--r-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-disc-56 { width: var(--avatar-md); height: var(--avatar-md); margin-bottom: var(--sp-16); }
.icon-disc-80 { width: var(--avatar-lg); height: var(--avatar-lg); margin-bottom: var(--sp-16); }
.icon-disc--success { background: var(--success-soft); color: var(--success); }
.icon-disc--gold { background: var(--gold-soft); color: var(--gold); }
.icon-disc--primary { background: var(--primary-soft); color: var(--primary); }
.icon-disc--warning { background: var(--warning-soft); color: var(--warning); }
.icon-disc--danger { background: var(--danger-soft); color: var(--danger); }
.icon-disc--female { background: var(--female-pink-soft); color: var(--female-accent); }

/* 头像+文字+操作行卡片 — community 6处（修复 ex-person-card 缺失）*/
.person-card {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  padding: var(--sp-14);
  background: var(--surface);
  border-radius: var(--r-14);
  margin-bottom: var(--sp-10);
  box-shadow: var(--shadow-card);
}

/* 圆形状态徽标 — community 7处 */
.status-badge {
  border-radius: var(--r-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-12);
}
.status-badge--80 { width: var(--avatar-lg); height: var(--avatar-lg); }

/* primary-soft 圆胶囊 — community/onboarding 8处 */
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: var(--r-full);
  padding: 5px 10px;
  font-size: var(--fs-12);
  cursor: pointer;
}

/* 可选标签芯片 — community/onboarding 21处 */
.option-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-6);
  height: 80px;
  border-radius: var(--r-12);
  cursor: pointer;
  border: var(--bw-2) solid var(--card-border);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition: all var(--dur-short) var(--ease-standard);
}
.option-chip.is-selected {
  background: var(--primary-soft);
  border-color: var(--primary);
}

/* 级联选择器列+项 — community 10处 */
.selector-col {
  flex: 1;
  overflow-y: auto;
  border-radius: var(--r-10);
  background: var(--surface-alt);
}
.selector-item {
  padding: var(--sp-12);
  font-size: var(--fs-13);
  cursor: pointer;
  color: var(--text-sub);
}
.selector-item.is-active {
  background: var(--primary);
  color: var(--white);
  font-weight: var(--fw-semibold);
}

/* 分段 tab — community/onboarding 5处 */
.seg-tab {
  flex: 1;
  text-align: center;
  padding: var(--sp-8) var(--sp-4);
  cursor: pointer;
  font-size: var(--fs-13);
  color: var(--text-muted);
  border-bottom: var(--bw-3) solid transparent;
}
.seg-tab.is-active {
  color: var(--primary);
  font-weight: var(--fw-semibold);
  border-bottom-color: var(--primary);
}

/* 通用信息卡 — states 4处 */
.info-card {
  background: var(--surface);
  border-radius: var(--r-12);
  padding: var(--sp-16);
  width: 100%;
  box-shadow: var(--shadow-card);
}

/* 加载圈 — onboarding/states 3处 */
.spinner {
  width: var(--icon-lg);
  height: var(--icon-lg);
  border: var(--bw-3) solid var(--white-a30);
  border-top-color: var(--white);
  border-radius: var(--r-full);
  animation: spin 0.8s linear infinite;
}
.spinner-sm {
  width: var(--icon-sm);
  height: var(--icon-sm);
  border: var(--bw-2) solid var(--border);
  border-top-color: var(--primary);
  border-radius: var(--r-full);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* 可选胶囊 — detail 3处 */
.picker-chip {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  background: var(--surface-alt);
  border: var(--bw) solid var(--border);
  border-radius: var(--r-full);
  font-size: var(--fs-13);
  color: var(--text-sub);
  cursor: pointer;
}

/* 单选圆点 — detail 2处 */
.radio-dot {
  width: 20px;
  height: 20px;
  border-radius: var(--r-full);
  border: var(--bw-3) solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.radio-dot.checked {
  border-color: var(--primary);
}
.radio-dot.checked::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: var(--r-full);
  background: var(--primary);
}

/* 金色提示横幅 — community 2处 */
.tip-banner-gold {
  margin: 0 0 var(--sp-12);
  padding: var(--sp-12);
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  background: var(--gold-soft);
  border: var(--bw) solid var(--gold);
  border-radius: var(--r-12);
}

/* === 首页 === */
.home-nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--surface);
  position: relative;
  flex-shrink: 0;
}
.home-nav .hn-city {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-left: var(--sp-16);
  cursor: pointer;
}
.home-nav .hn-city .hn-city-text {
  font-size: var(--fs-15);
  font-weight: var(--fw-semibold);
  color: var(--text-main);
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-nav .hn-spacer { flex: 1; }
.home-nav .hn-action {
  width: 34px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.home-nav .hn-action:last-child { margin-right: 5px; }
.home-nav .hn-tabs {
  position: absolute;
  left: 100px;
  right: 100px;
  top: 0;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.home-nav .hn-tab {
  width: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  position: relative;
}
.home-nav .hn-tab .hn-tab-label {
  font-size: var(--fs-16);
  font-weight: var(--fw-medium);
  color: var(--text-muted);
}
.home-nav .hn-tab.active .hn-tab-label {
  color: var(--primary);
  font-weight: var(--fw-bold);
}
.home-nav .hn-tab .hn-tab-badge {
  position: absolute;
  top: 3px;
  right: 0;
  min-width: 16px;
  height: 12px;
  border-radius: var(--r-full);
  background: var(--red-point);
  color: var(--text-white);
  font-size: var(--fs-9);
  font-weight: var(--fw-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1px 4px;
}

/* 配额卡（合并进 banner 轮播，男版第一张）*/
.xq-banner-quota-slide {
  background: linear-gradient(90deg, #2563EB, #1D4ED8, #3B82F6) !important;
}
.xq-banner-quota-count {
  color: var(--text-white);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 4px;
}
@keyframes __dead_xqNoticeScroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* === Banner 轮播（对齐新圈 banner-wrap 100px；已压到 82px 保证首屏 4 卡）=== */
.xq-banner-wrap {
  margin: 2px 15px;
  height: 82px;
  border-radius: var(--r-12);
  overflow: hidden;
  position: relative;
}
.xq-banner-slides {
  display: flex;
  height: 100%;
  transition: transform 0.4s ease;
}
.xq-banner-slide {
  min-width: 100%;
  height: 100%;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 40%, #3B82F6 100%);
}
.xq-banner-slide.xq-banner-img-slide {
  padding: 0;
  background: transparent;
}
.xq-banner-slide.xq-banner-img-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.xq-banner-title {
  color: var(--text-white);
  font-size: var(--fs-16);
  font-weight: var(--fw-bold);
  margin-bottom: 6px;
}
.xq-banner-sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-12);
}
.xq-banner-dots {
  position: absolute;
  bottom: 9px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.xq-banner-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.3s;
}
.xq-banner-dot.active {
  width: 14px;
  height: 3px;
  border-radius: 2px;
  background: var(--text-white);
}

/* === 新圈 feed-card 结构 === */
.xq-feed-list {
  padding-top: var(--sp-18);
}
.xq-feed-card {
	  display: flex;
	  align-items: flex-start;
	  gap: 10px;
	  padding: 8px 16px 0;
	  position: relative;
	  cursor: pointer;
	}
/* 卡片分割线：margin-left=110(头像100+间距10), 1px */
.xq-feed-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 125px;
  right: 0;
  height: 1px;
  background: var(--divider);
}
.xq-feed-card:last-child::after { display: none; }
.xq-feed-card { padding-bottom: 8px; }
.xq-feed-card + .xq-feed-card { padding-top: 8px; }

/* 头像区 100×120 圆角15 */
.xq-avatar-box {
  width: 100px;
  height: 120px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  background: var(--surface-alt);
}
.xq-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* 相似度条 71×18 左下角 */
.xq-familiarity {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 71px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.xq-fam-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  z-index: 0;
}
.xq-fam-pct {
  position: relative;
  z-index: 1;
  width: 25px;
  text-align: center;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: var(--fw-bold);
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* 右侧内容区 */
.xq-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
/* 昵称行 */
.xq-name-row {
  display: flex;
  align-items: center;
  gap: 4px;
}
.xq-nick {
  color: var(--text-main);
  font-size: var(--fs-16);
  font-weight: var(--fw-medium);
  max-width: 112px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.xq-verify-icon {
  height: 16px;
  width: auto;
  object-fit: contain;
}
.xq-vip-mini {
  font-size: var(--fs-10);
  font-weight: var(--fw-bold);
  color: var(--gold-deep);
  background: var(--gold);
  padding: 1px 5px;
  border-radius: var(--r-4);
}
/* 信息行 */
.xq-info-line {
  display: flex;
  align-items: center;
  margin-top: 5px;
  color: var(--text-sub);
  font-size: var(--fs-12);
  line-height: 1.2;
}
.xq-info-line .xq-sep {
  width: 1px;
  height: 10px;
  background: var(--border);
  margin: 0 6px;
  flex-shrink: 0;
}
.xq-lab {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* 在线 pill */
.xq-online-pill {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: var(--r-8);
  font-size: var(--fs-11);
  color: var(--success);
  background: var(--success-soft);
  margin-top: 5px;
  align-self: flex-start;
}
/* 照片行 */
.xq-photo-row {
  display: flex;
  gap: 5px;
  margin-top: 5px;
  overflow: hidden;
}
.xq-thumb {
  width: 65px;
  height: 65px;
  border-radius: var(--r-8);
  overflow: hidden;
  flex-shrink: 0;
}
.xq-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.xq-thumb-more {
  position: relative;
}
.xq-thumb-more::after {
  content: "···";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--fs-16);
  font-weight: bold;
}

/* === 用户详情页 — 对齐新圈 user-detail.html === */

/* 顶部 chrome 层 */
.xq-dt-chrome {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 75px;
  z-index: 9;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,0.33) 0%, transparent 100%);
}
.xq-dt-statusbar {
  height: 44px;
  padding: 0 16px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-14);
  font-weight: var(--fw-semibold);
  text-shadow: 0 1px 2px rgba(0,0,0,0.45);
}
.xq-dt-statusbar .icons { font-size: var(--fs-11); display:flex; gap:4px; }

/* 浮动返回/更多 */
.xq-dt-float-back, .xq-dt-float-more {
  position: absolute;
  top: 44px;
  width: 45px;
  height: 45px;
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.xq-dt-float-back { left: 0; }
.xq-dt-float-more { right: 5px; }
.xq-dt-float-back img, .xq-dt-float-more img {
  width: 24px; height: 24px;
  object-fit: contain;
}
/* 图标加载失败时的 SVG 兜底（白色，浮在图片上可见） */
.xq-dt-icon-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  color: #fff;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.6));
}

/* 可滚动区 */
.xq-dt-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  position: relative;
}
.xq-dt-scroll::-webkit-scrollbar { display: none; }

/* 1. 顶部大图 Banner */
.xq-dt-banner {
  position: relative;
  width: 100%;
  height: 375px;
  overflow: hidden;
  flex-shrink: 0;
}
.xq-dt-banner img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.xq-dt-gradient {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 140px;
  background: linear-gradient(to top, var(--page-bg) 0%, rgba(245,245,247,0.6) 50%, transparent 100%);
}
.xq-dt-banner-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0 0 8px 16px;
  z-index: 2;
}
/* 相似度标签 */
.xq-dt-fam-badge {
  display: inline-flex;
  align-items: center;
  width: 113px;
  height: 20px;
  margin-bottom: 5px;
  position: relative;
}
.xq-dt-fam-badge img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: fill;
}
.xq-dt-fam-pct {
  position: relative;
  z-index: 1;
  width: 25px;
  text-align: center;
  margin-left: auto;
  color: var(--gold-light);
  font-size: var(--fs-10);
  font-weight: var(--fw-bold);
  line-height: 20px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
/* 昵称 */
.xq-dt-nickname {
  font-size: var(--fs-18);
  font-weight: var(--fw-bold);
  color: var(--text-main);
  margin-bottom: 5px;
  line-height: 1.2;
}
/* 标签 chips */
.xq-dt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}
.xq-dt-chip {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 5px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-8);
  font-size: var(--fs-10);
  color: var(--text-sub);
  gap: 2px;
}
/* 关注按钮 */
.xq-dt-follow {
  position: absolute;
  top: 340px;
  right: 14px;
  height: 28px;
  padding: 0 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  color: var(--text-main);
  font-size: var(--fs-13);
  display: flex;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  z-index: 3;
}
.xq-dt-follow.following {
  background: var(--female-pink-soft);
  color: var(--female-pink-deep);
  border-color: transparent;
}

/* 2. 注册信息 */
.xq-dt-reg-info {
  font-size: var(--fs-13);
  color: var(--text-muted);
  padding: 0 0 8px 15px;
}

/* 3. 相册卡片 */
.xq-dt-album-card {
  background: var(--surface);
  border-radius: var(--r-16);
  margin: 0 15px;
  padding: 0 0 10px 0;
  overflow: hidden;
}
.xq-dt-album-scroll {
  display: flex;
  gap: 5px;
  margin: 10px 0 0 10px;
  overflow-x: auto;
  padding-bottom: 10px;
}
.xq-dt-album-scroll::-webkit-scrollbar { display: none; }
.xq-dt-album-scroll img {
  width: 100px; height: 100px;
  border-radius: var(--r-10);
  object-fit: cover;
  flex-shrink: 0;
}

/* 4. 微信认证卡 */
.xq-dt-wechat-card {
  background: var(--surface);
  border-radius: var(--r-16);
  margin: 10px 15px;
  padding: 12px;
}
.xq-dt-wechat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.xq-dt-wechat-icon { width: 22px; height: 22px; flex-shrink: 0; }
.xq-dt-wechat-title { font-size: var(--fs-14); font-weight: var(--fw-bold); }
.xq-dt-wechat-verified { font-size: var(--fs-12); color: var(--text-muted); margin-left: 30px; }
.xq-dt-wechat-id { font-size: var(--fs-12); color: var(--text-muted); margin: 4px 0 0 30px; }
.xq-dt-wechat-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}
.xq-dt-wechat-report {
  font-size: var(--fs-12);
  color: var(--primary);
  cursor: pointer;
}
.xq-dt-wechat-copy {
  height: 24px;
  padding: 0 10px;
  background: var(--gold-gradient);
  border-radius: var(--r-8);
  color: var(--gold-deep);
  font-size: var(--fs-12);
  font-weight: var(--fw-semibold);
  border: none;
  cursor: pointer;
}

/* 5. 印象标签 */
.xq-dt-impressions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.xq-dt-imp-tag {
  padding: 5px 14px;
  background: var(--gold-soft);
  border: 1px solid var(--gold);
  border-radius: var(--r-full);
  font-size: var(--fs-13);
  color: var(--gold-deep);
}

/* 6. 自我描述 */
.xq-dt-desc {
  font-size: var(--fs-14);
  color: var(--text-main);
  line-height: 1.6;
}

/* 通用卡片 */
.xq-dt-card {
  background: var(--surface);
  border-radius: var(--r-16);
  margin: 10px 15px;
  padding: 10px;
}
.xq-dt-card-title {
  font-size: var(--fs-16);
  font-weight: var(--fw-bold);
  margin-bottom: 10px;
}

/* 7. 基本信息行 */
.xq-dt-info-row {
  display: flex;
  align-items: center;
  height: 32px;
  gap: 3px;
}
.xq-dt-info-row + .xq-dt-info-row {
  border-top: 1px solid var(--divider);
}
.xq-dt-info-label {
  font-size: var(--fs-14);
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.xq-dt-info-label img { width: 20px; height: 20px; flex-shrink: 0; }
.xq-dt-info-value {
  font-size: var(--fs-14);
  font-weight: var(--fw-bold);
  color: var(--text-main);
  flex: 1;
  text-align: right;
}
.xq-dt-info-tags { display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.xq-dt-info-tag {
  font-size: var(--fs-12);
  color: var(--gold-deep);
  background: var(--gold-soft);
  padding: 2px 8px;
  border-radius: var(--r-4);
}

/* 8. 动态 */
.xq-dt-section-title {
  margin: 10px 15px 0;
  font-size: var(--fs-16);
  font-weight: var(--fw-bold);
}
.xq-dt-dynamic-item {
  background: var(--surface);
  border-radius: var(--r-16);
  margin: 10px 15px;
  padding: 12px;
}
.xq-dt-dynamic-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.xq-dt-dynamic-avatar {
  width: 32px; height: 32px;
  border-radius: var(--r-full);
  object-fit: cover;
}
.xq-dt-dynamic-name { font-size: var(--fs-14); font-weight: var(--fw-bold); }
.xq-dt-dynamic-time { font-size: var(--fs-12); color: var(--text-muted); margin-left: auto; }
.xq-dt-dynamic-text { font-size: var(--fs-14); color: var(--text-sub); line-height: 1.5; }
.xq-dt-dynamic-photo {
  width: 100%;
  height: 180px;
  border-radius: var(--r-12);
  object-fit: cover;
  margin-top: 8px;
}
.xq-dt-dynamic-actions {
  display: flex;
  gap: 20px;
  margin-top: 10px;
  font-size: var(--fs-12);
  color: var(--text-muted);
}

/* 底部操作栏 — 对齐新圈 */
.xq-dt-bottom-bar {
  height: 75px;
  background: var(--surface);
  border-top: 1px solid var(--divider);
  padding: 0 15px calc(0px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}
.xq-dt-cta {
  flex: 1;
  height: 57px;
  border: none;
  border-radius: var(--r-12);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: var(--fs-16);
  font-weight: var(--fw-bold);
  cursor: pointer;
}
.xq-dt-cta img { width: 28px; height: 28px; object-fit: contain; }
/* CTA 上解锁额度角标（提示剩余次数）*/
.xq-dt-cta-badge {
  margin-left: 6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.25);
  color: #fff;
  font-size: var(--fs-11);
  font-weight: var(--fw-bold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.xq-dt-cta.add-wechat {
  background: linear-gradient(180deg, #22B943 0%, #11CC7E 100%);
  color: #fff;
}
.xq-dt-cta.online-chat {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: #fff;
}

/* === 消息列表 === */
.msg-entries {
	  display: flex;
	  height: 88px;
	  background: var(--surface);
	  border-bottom: 1px solid var(--divider);
	  padding: 0 var(--sp-16);
	  align-items: center;
	  gap: 0;
	}
	.msg-entries .me-item {
	  flex: 1;
	  display: flex;
	  flex-direction: column;
	  align-items: center;
	  gap: var(--sp-6);
	  cursor: pointer;
	  position: relative;
	}
	.msg-entries .me-icon {
	  width: 48px;
	  height: 48px;
	  border-radius: var(--r-14);
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  background: var(--primary-soft);
	  color: var(--primary);
	  transition: all var(--dur-short) var(--ease-standard);
	}
	.msg-entries .me-item:active .me-icon {
	  transform: scale(0.92);
	}
	.msg-entries .me-label {
	  font-size: var(--fs-11);
	  color: var(--text-sub);
	  font-weight: var(--fw-medium);
	}

/* === 聊天 === */
.chat-header {
  height: var(--appbar-h);
  display: flex;
  align-items: center;
  background: var(--surface);
  border-bottom: 1px solid var(--divider);
  padding: 0 var(--sp-12);
  flex-shrink: 0;
  gap: var(--sp-8);
}
.chat-header .ch-back { cursor: pointer; padding: var(--sp-8); }
.chat-header .ch-name {
  flex: 1;
  font-size: var(--fs-16);
  font-weight: var(--fw-semibold);
}
.chat-header .ch-more { cursor: pointer; padding: var(--sp-8); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: var(--sp-14) var(--sp-16);
  display: flex;
  flex-direction: column;
  gap: var(--sp-14);
}
.chat-bubble {
  max-width: 75%;
  padding: var(--sp-10) var(--sp-14);
  border-radius: var(--r-16);
  font-size: var(--fs-15);
  line-height: 1.4;
  word-wrap: break-word;
}
.chat-bubble.incoming {
  align-self: flex-start;
  background: var(--surface);
  border-bottom-left-radius: var(--r-4);
  box-shadow: var(--shadow-card);
}
.chat-bubble.outgoing {
  align-self: flex-end;
  background: linear-gradient(135deg, #3B82F6, #2563EB);
  color: var(--text-white);
  border-bottom-right-radius: var(--r-4);
}
.chat-input-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  padding: var(--sp-8) var(--sp-12) calc(var(--sp-8) + env(safe-area-inset-bottom));
  background: var(--surface);
  border-top: 1px solid var(--divider);
  flex-shrink: 0;
}
.chat-input-bar .ci-input {
  flex: 1;
  height: 40px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  padding: 0 var(--sp-16);
  font-size: var(--fs-15);
  background: var(--surface-alt);
  outline: none;
  font-family: var(--font-sans);
}
.chat-input-bar .ci-send {
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  border: none;
  background: var(--primary);
  color: var(--text-white);
  font-weight: var(--fw-bold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 菜单组 — 完整定义见下方统一组件区（border + shadow + radius）*/

/* === VIP 中心 === */
.vip-hero-card {
  margin: var(--sp-16);
  border-radius: var(--r-16);
  background: linear-gradient(135deg, var(--vip-dark-1), var(--vip-dark-2), var(--vip-dark-3));
  padding: var(--sp-20);
  color: var(--gold-light);
}
.vip-plans {
  padding: 0 var(--sp-16);
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
}
.vip-plan {
  border: 2px solid var(--border);
  border-radius: var(--r-14);
  padding: var(--sp-16);
  cursor: pointer;
  background: var(--surface);
}
.vip-plan.selected {
  border-color: var(--gold);
  background: var(--gold-soft);
}
.vip-plan .vp-name { font-size: var(--fs-16); font-weight: var(--fw-bold); }
.vip-plan .vp-price { font-size: var(--fs-20); font-weight: var(--fw-extrabold); color: var(--gold-deep); }
.vip-plan .vp-orig { font-size: var(--fs-12); color: var(--text-muted); text-decoration: line-through; }
.vip-plan .vp-right { text-align: right; }
.vip-hero-card .vh-title { font-size: var(--fs-20); font-weight: var(--fw-bold); margin-bottom: var(--sp-8); }
.vip-hero-card .vh-sub { font-size: var(--fs-13); opacity: 0.8; margin-bottom: var(--sp-16); }
.vip-hero-card .vh-privs { display: flex; flex-wrap: wrap; gap: var(--sp-6); }
.vip-hero-card .vh-priv { font-size: var(--fs-12); padding: 4px 10px; border-radius: var(--r-full); background: rgba(255, 221, 152, 0.1); color: var(--gold-light); }

/* 订单行内部（list-row 已存在）*/
.list-row .od-title { font-size: var(--fs-15); font-weight: var(--fw-semibold); }
.list-row .od-amount { font-size: var(--fs-15); font-weight: 700; }
.list-row .od-status { font-size: var(--fs-12); color: var(--success); }
.list-row .od-right { text-align: right; }

/* 支付成功 sheet */
.pay-ok-title { font-size: var(--fs-18); font-weight: 800; color: var(--text-main); }
.pay-ok-disc { width: 72px; height: 72px; margin: 0 auto var(--sp-12); }

/* VIP 收银台（对齐新圈 vip-pay-sheet：双渠道 + 会员协议勾选）*/
.pay-summary { display: flex; flex-direction: column; align-items: center; padding: var(--sp-12) 0 var(--sp-20); }
.pay-summary-title { font-size: var(--fs-13); color: var(--text-sub); }
.pay-summary-amt { font-size: var(--fs-28); font-weight: 800; color: var(--text-main); margin-top: var(--sp-6); }
.pay-methods { display: flex; flex-direction: column; gap: var(--sp-10); margin-bottom: var(--sp-16); }
.pay-method { display: flex; align-items: center; gap: var(--sp-12); padding: var(--sp-14) var(--sp-16); border-radius: var(--r-12); border: 1.5px solid var(--border); cursor: pointer; color: var(--text-sub); transition: border-color .15s; }
.pay-method--active { border-color: var(--primary); color: var(--text-main); background: var(--primary-soft); }
.pay-method-ic { width: 36px; height: 36px; border-radius: var(--r-10); color: var(--white); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pay-agree { display: flex; align-items: center; gap: var(--sp-8); font-size: var(--fs-12); color: var(--text-sub); cursor: pointer; margin-bottom: var(--sp-16); }
.pay-agree-box { width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--border); color: var(--white); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 10px; background: var(--border); }
.pay-agree .link-primary { color: var(--primary); }
/* VIP 页底部协议提示 */
.vip-agree-tip { font-size: var(--fs-11); color: var(--text-muted); text-align: center; margin-top: var(--sp-10); }
.vip-agree-tip .link-primary { color: var(--primary); }

/* 充值余额卡 */
.rch-balance-amt { font-size: var(--fs-24); font-weight: var(--fw-extrabold); color: var(--gold-deep); }
.rch-section-label { font-size: var(--fs-13); font-weight: var(--fw-semibold); color: var(--text-sub); padding: 0 var(--sp-16); margin-bottom: var(--sp-8); }

/* 登录页 */
.login-tagline { font-size: var(--fs-14); color: var(--text-sub); margin-bottom: var(--sp-40); }

/* 手机号登录 */
.lg-welcome { font-size: var(--fs-24); font-weight: var(--fw-extrabold); color: var(--text-main); margin-bottom: var(--sp-8); }
.lg-welcome-sub { font-size: var(--fs-14); color: var(--text-sub); margin-bottom: var(--sp-36); }
.lg-input-wrap { position: relative; margin-bottom: var(--sp-16); }
.lg-input-wrap--code { margin-bottom: var(--sp-32); }
.lg-input-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.lg-code-btn { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: none; background: var(--primary-soft); color: var(--primary); font-size: var(--fs-13); font-weight: var(--fw-semibold); border-radius: var(--r-full); padding: 6px 12px; cursor: pointer; }
.lg-input { padding-left: 44px; font-size: var(--fs-15); }
.lg-input--code { padding-right: 96px; }

/* 详情页：动态操作行的右对齐 */
.dt-action-push { margin-left: auto; }

/* 法律声明小字（登录/手机登录页都用到）*/
.legal-note {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  justify-content: center;
}

/* 通用 padding wrapper（VIP/充值底部 CTA）*/
.cta-pad-wrap { padding: var(--sp-20) var(--sp-16); }

/* 详情页"添加印象"链接（小于 .link-primary 的字号）*/
.link-13 { font-size: var(--fs-13); }
.link-12 { font-size: var(--fs-12); font-weight: var(--fw-medium); }
.link-14 { font-size: var(--fs-14); }

/* === 登录页 · 用户卡轮播（甜心式）=== */
.login-carousel { position: relative; }
.lc-title { text-align: center; font-size: var(--fs-14); font-weight: var(--fw-bold); color: var(--text-main); margin-bottom: var(--sp-10); }
.lc-rail { position: relative; overflow: hidden; border-radius: var(--r-16); }
.lc-track { display: flex; width: 100%; transition: transform 0.35s var(--ease-standard); will-change: transform; }
.lc-slide { flex: 0 0 100%; position: relative; border-radius: var(--r-14); overflow: hidden; height: 300px; box-shadow: 0 6px 18px rgba(0,0,0,0.12); }
.lc-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.lc-badge { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 4px; background: rgba(17,24,39,0.6); backdrop-filter: blur(4px); color: var(--white); font-size: var(--fs-10); font-weight: var(--fw-semibold); border-radius: var(--r-full); padding: 3px 9px; }
.lc-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; background: linear-gradient(transparent, rgba(17,24,39,0.75)); color: var(--white); }
.lc-cap .lc-name { font-size: var(--fs-15); font-weight: var(--fw-bold); }
.lc-cap .lc-meta { font-size: var(--fs-11); opacity: 0.9; margin-top: 2px; }
.lc-cap .lc-dist { position: absolute; right: 12px; bottom: 12px; font-size: var(--fs-10); opacity: 0.85; }
.lc-dots { display: flex; justify-content: center; gap: 5px; margin-top: var(--sp-10); }
.lc-dot { width: 6px; height: 6px; border-radius: var(--r-full); background: #D3DCE8; transition: all 0.2s; cursor: pointer; }
.lc-dot.on { width: 16px; background: var(--female-accent); }
.lc-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: var(--r-full); background: rgba(255,255,255,0.85); box-shadow: 0 2px 8px rgba(0,0,0,0.15); display: flex; align-items: center; justify-content: center; color: var(--text-sub); cursor: pointer; z-index: 2; }
.lc-arrow-l { left: 8px; }
.lc-arrow-r { right: 8px; }

/* 本机号码背书 */
.lg-phone-back { display: flex; align-items: center; gap: 6px; margin-top: var(--sp-18); }
.lg-phone-back b { color: var(--text-main); font-weight: var(--fw-bold); }

/* 协议勾选（登录页底部） */
.lg-agree-wrap { background: var(--surface); }
.lg-agree { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; }
.lg-checkbox { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid #C0C8D8; flex-shrink: 0; margin-top: 1px; display: flex; align-items: center; justify-content: center; background: var(--surface); transition: all 0.15s; }
.lg-checkbox.on { background: var(--primary); border-color: var(--primary); }
.lg-agree-txt { font-size: var(--fs-12); color: var(--text-sub); line-height: 1.6; }
.lg-agree-txt b { color: var(--primary); font-weight: var(--fw-semibold); }

/* 协议确认弹窗（登录） */
.lg-dlg { position: absolute; top: 0; bottom: 0; left: 0; right: 0; background: var(--backdrop); display: none; align-items: center; justify-content: center; z-index: 20; }
.lg-dlg.show { display: flex; }
.lg-dlg-box { width: 76%; max-width: 300px; background: var(--surface); border-radius: var(--r-18); padding: var(--sp-24) var(--sp-20) var(--sp-18); box-shadow: var(--shadow-elevated); }
.lg-dlg-icon { width: 52px; height: 52px; border-radius: var(--r-full); background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; margin: 0 auto var(--sp-14); }
.lg-dlg-title { font-size: var(--fs-17); font-weight: var(--fw-bold); color: var(--text-main); text-align: center; margin-bottom: var(--sp-10); }
.lg-dlg-desc { font-size: var(--fs-13); color: var(--text-sub); line-height: 1.7; text-align: center; margin-bottom: var(--sp-20); }
.lg-dlg-btns { display: flex; gap: var(--sp-10); }
.lg-dlg-btns .btn { flex: 1; height: 44px; border-radius: var(--r-12); font-size: var(--fs-14); font-weight: var(--fw-semibold); border: none; }
.lg-dlg-btns .lg-dlg-cancel { background: var(--surface-alt); color: var(--text-sub); }
.lg-dlg-btns .lg-dlg-ok { background: var(--primary); color: var(--white); }

/* 详情页"没有更多动态"提示 */
.dt-end-tip { padding: var(--sp-16) 0 var(--sp-24); }

/* VIP CTA 后的"订单记录"包裹 */
.vip-ord-wrap { text-align: center; margin-top: var(--sp-12); }

/* 支付成功 sheet 包裹 */
.pay-ok-wrap { padding: var(--sp-20) 0; }
.pay-ok-amt { margin-top: var(--sp-6); }
.pay-ok-exp { margin-top: var(--sp-4); }

/* 充值余额卡背景 */
.rch-balance-card { background: var(--surface); margin-bottom: var(--sp-12); }

/* "账单" 链接 */
.link-underline { text-decoration: underline; }

/* 充值 menu-group 边距 */
.rch-menu { margin: 0 var(--sp-16); }

/* menu-group 边距 0 */
.menu-group-flush { margin: 0; }

/* 印象 picker wrap */
.imp-picker-wrap { padding: var(--sp-8) 0 var(--sp-16); }
.imp-picker-tip { margin-bottom: var(--sp-12); }
.imp-picker-chips { display: flex; flex-wrap: wrap; gap: var(--sp-8); margin-bottom: var(--sp-16); }

/* ============================================================
   首页 / 搜索 / 筛选 / 漫游 专用辅助类
   ============================================================ */

/* 筛选 sheet 内 tag 大胶囊（覆盖默认 .tag 高度）*/
.tag.tag-filter {
  height: 32px;
  padding: 0 16px;
  font-size: var(--fs-13);
}

/* 筛选 sheet 内 field label 行 */
.filter-field-label { font-size: var(--fs-13); color: var(--text-sub); margin-bottom: var(--sp-8); }
.filter-range-value { font-size: var(--fs-13); color: var(--primary); font-weight: var(--fw-semibold); }
.filter-range-input { width: 100%; accent-color: var(--primary); }
.filter-row { margin-bottom: var(--sp-16); }
.filter-row.row-between { margin-bottom: var(--sp-8); }
.filter-row--last { margin-bottom: var(--sp-20); }
.filter-chips-row { display: flex; flex-wrap: wrap; gap: var(--sp-8); }
.filter-chips-row--tight { gap: var(--sp-8); }

/* 筛选底部 sticky CTA bar */
.filter-cta-bar {
  display: flex;
  gap: var(--sp-12);
  position: sticky;
  bottom: -16px;
  margin: 0 -16px -16px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--surface);
  border-top: 1px solid var(--divider);
  z-index: 2;
}

/* 搜索历史 chip */
.history-chip {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--r-8);
  padding: 8px 14px;
  color: var(--text-sub);
  font-size: var(--fs-12);
  cursor: pointer;
  box-shadow: var(--shadow-card);
}
.history-chips { display: flex; flex-wrap: wrap; gap: 10px; }

/* 搜索结果行 */
.search-result-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  position: relative;
  cursor: pointer;
}
.search-result-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.search-result-name { font-size: var(--fs-15); font-weight: var(--fw-medium); }
.search-result-info-text { font-size: var(--fs-12); color: var(--text-sub); }
.search-result-name-row { display: flex; align-items: center; gap: 4px; }
.search-fam-badge {
  color: var(--gold-deep);
  font-size: var(--fs-11);
  font-weight: var(--fw-bold);
  background: var(--gold-soft);
  padding: 3px 8px;
  border-radius: var(--r-full);
}

/* 搜索栏 appbar */
.search-appbar {
  height: var(--appbar-h);
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  padding: 0 var(--sp-12);
  background: var(--surface);
  border-bottom: 1px solid var(--divider);
  flex-shrink: 0;
}
.search-appbar .sa-back { cursor: pointer; color: var(--text-muted); padding: var(--sp-8); display: flex; }
.search-appbar .sa-input-wrap {
  flex: 1;
  height: 36px;
  background: var(--surface-alt);
  border-radius: var(--r-18);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 var(--sp-14);
}
.search-appbar .sa-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  font-size: var(--fs-14);
  color: var(--text-main);
  font-family: var(--font-sans);
}
.search-appbar .sa-submit { color: var(--primary); font-size: var(--fs-14); font-weight: var(--fw-semibold); cursor: pointer; padding: var(--sp-8); }

/* 搜索 section 头 */
.search-section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  margin-bottom: 14px;
}
.search-section-title { font-size: var(--fs-15); font-weight: var(--fw-semibold); }
.search-section-title.search-section-title--top { margin-top: 24px; margin-bottom: 6px; }
.search-clear { display: flex; align-items: center; gap: 3px; color: var(--text-muted); font-size: var(--fs-12); cursor: pointer; }
.search-divider { border-top: 1px solid var(--divider); }

/* 漫游 sheet */
.roam-current-card {
  margin-bottom: var(--sp-16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--primary-soft);
  border-radius: var(--r-12);
  padding: var(--sp-12) var(--sp-14);
}
.roam-current-label { font-size: var(--fs-12); color: var(--text-sub); }
.roam-current-city { font-size: var(--fs-16); font-weight: var(--fw-bold); color: var(--text-main); margin-top: 2px; }
.roam-refresh { color: var(--primary); cursor: pointer; display: flex; align-items: center; gap: 4px; font-size: var(--fs-12); }
.roam-pick-label { font-size: var(--fs-13); color: var(--text-sub); margin-bottom: var(--sp-8); }
.roam-list-wrap { background: var(--surface-alt); border-radius: var(--r-16); padding: var(--sp-4) var(--sp-8); max-height: 280px; overflow-y: auto; }
.roam-city-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  font-size: var(--fs-14);
  color: var(--text-main);
  cursor: pointer;
  border-bottom: 1px solid var(--divider);
}
.roam-check { color: var(--primary); font-weight: var(--fw-bold); display: none; }

/* 在线 pill / 新人徽章 */
.xq-online-pill--success { color: var(--success); background: var(--success-soft); }
.newcomer-badge {
  font-size: 10px;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 1px 5px;
  border-radius: var(--r-4);
  font-weight: var(--fw-bold);
}

/* 上拉加载提示 */
.feed-end-tip { text-align: center; color: var(--text-muted); font-size: 12px; padding: 16px 0 4px; }

/* === 充值 === */
.coin-plans {
  padding: var(--sp-16);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-10);
}
.coin-plan {
  border: 2px solid var(--border);
  border-radius: var(--r-14);
  padding: var(--sp-16) var(--sp-8);
  text-align: center;
  cursor: pointer;
  background: var(--surface);
}
.coin-plan.selected {
  border-color: var(--gold);
  background: var(--gold-soft);
}
.coin-plan .cp-amount {
  font-size: var(--fs-20);
  font-weight: var(--fw-extrabold);
  color: var(--gold-deep);
}
.coin-plan .cp-price {
  font-size: var(--fs-13);
  color: var(--text-sub);
  margin-top: 4px;
}

/* === 登录 === */
.login-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--sp-48) var(--sp-24);
  height: 100%;
}
.login-logo {
  font-size: var(--fs-32);
  font-weight: var(--fw-extrabold);
  color: var(--primary);
  margin-bottom: var(--sp-36);
}

/* === Gallery 总览 — 蓝白主题 === */
.gallery-layout {
  display: flex;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: var(--page-bg);
}

/* 左侧导航 */
.gallery-sidebar {
  width: 280px;
  flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--divider);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.gallery-sidebar::-webkit-scrollbar { width: 4px; }
.gallery-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.gallery-brand {
  padding: var(--sp-20) var(--sp-16) var(--sp-12);
  border-bottom: 1px solid var(--divider);
  flex-shrink: 0;
}
.gallery-brand .gb-title {
  font-size: var(--fs-20);
  font-weight: var(--fw-bold);
  color: var(--text-main);
}
.gallery-brand .gb-sub {
  font-size: var(--fs-12);
  color: var(--text-muted);
  margin-top: 2px;
}

/* 导航组 */
.gallery-nav {
  flex: 1;
  padding: var(--sp-8) 0;
}
.gallery-nav-title {
  font-size: var(--fs-11);
  font-weight: var(--fw-bold);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: var(--sp-12) var(--sp-16) var(--sp-6);
}

/* 导航项 */
.gallery-nav-item {
  padding: var(--sp-8) var(--sp-16);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 1px;
  border-left: 3px solid transparent;
  transition: all 0.12s;
}
.gallery-nav-item:hover {
  background: var(--surface-alt);
}
.gallery-nav-item.selected {
  background: var(--primary-soft);
  border-left: 3px solid var(--primary);
}
.gallery-nav-item .gni-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.gallery-nav-item .gni-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: var(--r-4);
  line-height: 1.3;
}
.gallery-nav-item .gni-tag.male {
  background: var(--primary-soft);
  color: var(--primary);
}
.gallery-nav-item .gni-tag.female {
  background: var(--female-accent-soft);
  color: var(--female-accent);
}
.gallery-nav-item .gni-label {
  font-size: var(--fs-13);
  font-weight: var(--fw-medium);
  color: var(--text-main);
}
.gallery-nav-item.selected .gni-label {
  color: var(--primary);
  font-weight: var(--fw-semibold);
}
.gallery-nav-item .gni-desc {
  font-size: var(--fs-11);
  color: var(--text-muted);
}

/* 右侧预览 */
.gallery-preview {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.gallery-preview-bar {
  height: 44px;
  background: var(--surface);
  border-bottom: 1px solid var(--divider);
  display: flex;
  align-items: center;
  padding: 0 var(--sp-16);
  gap: var(--sp-12);
  flex-shrink: 0;
}
.gallery-preview-bar #galleryPreviewTitle {
  font-size: var(--fs-14);
  font-weight: var(--fw-semibold);
  color: var(--text-main);
}
.gallery-preview-bar #galleryPreviewDesc {
  font-size: var(--fs-12);
  color: var(--text-muted);
  flex: 1;
}
.gallery-preview-bar button {
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--text-sub);
  font-size: var(--fs-12);
  padding: 5px 12px;
  border-radius: var(--r-8);
  cursor: pointer;
  transition: all 0.12s;
}
.gallery-preview-bar button:hover {
  background: var(--primary-soft);
  color: var(--primary);
  border-color: var(--primary-border);
}

/* 设备预览区 */
.gallery-device-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: auto;
  background: var(--surface-alt);
}
.gallery-device-frame {
  width: 375px;
  height: 812px;
  border: none;
  border-radius: 40px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.06), 0 0 0 11px #FFFFFF, 0 30px 80px rgba(0,0,0,0.12);
  background: #fff;
  display: none;
}
.gallery-empty-hint {
  font-size: var(--fs-18);
  color: var(--text-muted);
  text-align: center;
  line-height: 1.8;
}

/* ============================================================
   我的页 — 重新设计：干净深色主题
   ============================================================ */

/* 滚动区背景 */
/* ============================================================
   我的页 — 蓝白主题
   ============================================================ */

/* 滚动区背景 */
.xq-mine-scroll {
  background: var(--page-bg);
}

/* ============================================================
   我的页 V2 — 对齐 Flutter my_profile_page.dart
   Header: 深色渐变卡 236px / 男 var(--vip-dark-1)→var(--vip-dark-3) / 女粉渐变
   Earnings / VIP / Menu 卡片化 / Bottom Tools
   ============================================================ */
.xq-mine-scroll { padding-bottom: 24px; }

/* --- Header 深色渐变卡 --- */
.xq-m2-header {
  position: relative;
  height: 236px;
  margin: var(--sp-12) 16px 0;
  padding: var(--sp-16);
  border-radius: var(--r-20);
  display: flex;
  flex-direction: column;
  color: var(--text-white);
  overflow: hidden;
}
.xq-m2-header-male {
  background: linear-gradient(135deg, var(--vip-dark-1) 0%, var(--vip-dark-3) 100%);
}
.xq-m2-header-female {
  /* 收窄粉色：白→淡粉微渐变，粉色仅作点缀（用户反馈两处大粉太腻）*/
  background: linear-gradient(135deg, var(--text-white) 0%, var(--mine-pink-soft) 100%);
}
/* 女版柔和粉：深玫红文字（替换默认白色文字）*/
.xq-m2-header-female .xq-m2-title { color: var(--female-pink-deep); }
.xq-m2-header-female .xq-m2-settings {
  background: rgba(139,26,74,0.08);
  color: var(--female-pink-deep);
}
.xq-m2-header-female .xq-m2-avatar-wrap { border-color: var(--text-white); }
.xq-m2-header-female .xq-m2-name { color: var(--female-pink-deep); }
.xq-m2-header-female .xq-m2-id { color: rgba(139,26,74,0.6); }
.xq-m2-header-female .xq-m2-sub { color: rgba(139,26,74,0.75); }
.xq-m2-header-female .xq-m2-chevron { color: rgba(139,26,74,0.5); }
.xq-m2-header-female .xq-m2-verify-badge {
  background: rgba(139,26,74,0.08);
  border-color: rgba(139,26,74,0.25);
  color: var(--female-pink-deep);
}
.xq-m2-header-female .xq-m2-stats-bar {
  background: rgba(139,26,74,0.07);
}
.xq-m2-header-female .xq-m2-stat-num { color: var(--female-pink-deep); }
.xq-m2-header-female .xq-m2-stat-lbl { color: rgba(139,26,74,0.6); }
.xq-m2-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.xq-m2-title {
  color: var(--text-white);
  font-size: 18px;
  font-weight: 700;
}
.xq-m2-title-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-10);
}
/* 解锁额度徽标（对齐新圈 ic_remind_unlock：金色圆角 + 数字）*/
/* Flutter 映射: Container(padding, gold-gradient, Row[Icon, Text]) → GestureDetector */
.unlock-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 32px;
  padding: 0 12px;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, rgba(255,227,145,0.25), rgba(233,175,51,0.18));
  color: #FFE391;
  font-size: var(--fs-13);
  font-weight: var(--fw-bold);
  cursor: pointer;
  border: 1px solid rgba(255,227,145,0.3);
}
.unlock-badge.is-empty {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
  border-color: rgba(255,255,255,0.12);
}
.unlock-badge-num { font-size: var(--fs-15); }
.xq-m2-settings {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  cursor: pointer;
}
.xq-m2-user-row {
  display: flex;
  align-items: center;
  margin-top: var(--sp-10);
  cursor: pointer;
}
.xq-m2-avatar-wrap {
  border-radius: 50%;
  border: 2px solid var(--text-white);
  width: 68px;
  height: 68px;
  overflow: hidden;
  flex-shrink: 0;
}
.xq-m2-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.xq-m2-user-info {
  flex: 1;
  min-width: 0;
  margin-left: 12px;
}
.xq-m2-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.xq-m2-name {
  color: var(--text-white);
  font-size: 20px;
  font-weight: 700;
  max-width: 160px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.xq-m2-vip-badge {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: var(--gold-soft);
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  font-size: 9px;
  font-weight: 700;
  border-radius: var(--r-full);
  padding: 2px 6px;
  flex-shrink: 0;
}
.xq-m2-verify-badge {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--text-white);
  font-size: 9px;
  font-weight: 700;
  border-radius: var(--r-full);
  padding: 2px 6px;
  flex-shrink: 0;
}
.xq-m2-id {
  margin-top: 4px;
  color: rgba(255,255,255,0.6);
  font-size: 12px;
}
.xq-m2-sub {
  margin-top: 4px;
  color: rgba(255,255,255,0.8);
  font-size: 12px;
  max-width: 190px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.xq-m2-chevron {
  color: rgba(255,255,255,0.6);
  flex-shrink: 0;
}
.xq-m2-stats-bar {
  margin-top: auto;
  height: 68px;
  border-radius: var(--r-16);
  background: rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
}
.xq-m2-stat {
  flex: 1;
  text-align: center;
  cursor: pointer;
}
.xq-m2-stat-num {
  color: var(--text-white);
  font-size: 20px;
  font-weight: 700;
  line-height: 22px;
}
.xq-m2-stat-lbl {
  margin-top: 3px;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  line-height: 16px;
}

/* --- 收益双卡 --- */
.xq-m2-earn-row {
  display: flex;
  gap: 10px;
  margin: var(--sp-12) 16px 0;
}
.xq-m2-earn-card {
  flex: 1;
  height: 67px;
  border-radius: var(--r-16);
  padding: 13px 0 0 15px;
  cursor: pointer;
}
.xq-m2-earn-wallet {
  background: var(--wallet-card-bg);
}
.xq-m2-earn-wallet .xq-m2-earn-num { color: var(--wallet-amount); }
.xq-m2-earn-wallet .xq-m2-earn-hint { color: var(--wallet-hint); }
.xq-m2-earn-invite {
  background: var(--invite-card-bg);
}
.xq-m2-earn-invite .xq-m2-earn-num { color: var(--female-pink-deep); }
.xq-m2-earn-invite .xq-m2-earn-hint { color: var(--wallet-hint); }
.xq-m2-earn-num {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}
.xq-m2-earn-hint {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1;
}

/* --- VIP 卡 --- */
.xq-m2-vip {
  display: flex;
  align-items: center;
  margin: var(--sp-12) 16px 0;
  padding: 0 var(--sp-16);
  border-radius: var(--r-16);
  cursor: pointer;
  overflow: hidden;
}
.xq-m2-vip-male {
  height: 64px;
  background: linear-gradient(90deg, var(--vip-dark-1), var(--vip-dark-3));
  border: 1px solid var(--vip-dark-4);
}
.xq-m2-vip-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vip-dark-1);
  flex-shrink: 0;
  margin-right: 8px;
}
.xq-m2-vip-info {
  flex: 1;
  min-width: 0;
}
.xq-m2-vip-title {
  color: var(--text-white);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.xq-m2-vip-sub {
  margin-top: 3px;
  color: var(--gold-light);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.xq-m2-vip-cta {
  height: 32px;
  padding: 0 var(--sp-10);
  border-radius: var(--r-16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  background: linear-gradient(90deg, var(--gold-light), var(--warning));
  color: var(--vip-dark-1);
}

/* --- 菜单卡片 --- */
.xq-m2-menu-card {
  margin: var(--sp-12) 16px 0;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--r-16);
  overflow: hidden;
}
.xq-m2-row {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 0 var(--sp-16);
  cursor: pointer;
}
.xq-m2-row + .xq-m2-row {
  border-top: 1px solid var(--border);
}
.xq-m2-row:active {
  background: var(--surface-alt);
}
.xq-m2-icowrap {
  width: 32px;
  height: 32px;
  border-radius: var(--r-8);
  background: var(--primary-soft, var(--primary-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.xq-m2-icowrap img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}
.xq-m2-row-title {
  flex: 1;
  color: var(--text-main);
  font-size: 16px;
  font-weight: 400;
  margin-left: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.xq-m2-row-value {
  color: var(--text-muted);
  font-size: 13px;
  margin-right: 6px;
}
.xq-m2-row-chevron {
  color: var(--text-muted);
  margin-left: 6px;
  display: flex;
}
.xq-m2-switch {
  width: 40px;
  height: 24px;
  border-radius: var(--r-full);
  background: var(--border);
  position: relative;
  flex-shrink: 0;
  transition: background 0.15s;
  cursor: pointer;
}
.xq-m2-switch > span {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: var(--r-full);
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
  transition: left 0.15s, right 0.15s;
}

/* --- 底部操作行 --- */
.xq-m2-tools {
  margin: var(--sp-12) 16px 0;
  height: 70px;
  background: var(--surface);
  border-radius: var(--r-16);
  display: flex;
  align-items: center;
  padding: 0 var(--sp-8);
}
.xq-m2-tool {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  cursor: pointer;
}
.xq-m2-tool span {
  color: var(--text-sub);
  font-size: 11px;
  font-weight: 400;
}

/* Menu Group — 白底卡片 */
.menu-group {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  margin: 10px 15px 0;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.list-row {
  display: flex;
  align-items: center;
  height: 50px;
  padding: 0 12px 0 10px;
  text-decoration: none;
  border-bottom: 1px solid var(--divider);
  cursor: pointer;
  transition: background 0.15s;
}
.list-row:last-child {
  border-bottom: none;
}
.list-row:active {
  background: var(--surface-alt);
}
.list-row .lr-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  flex-shrink: 0;
  opacity: 0.7;
}
.list-row .lr-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}
.list-row .lr-label {
  flex: 1;
  color: var(--text-main);
  font-size: 16px;
  font-weight: 500;
  min-width: 0;
}
.list-row .lr-value {
  margin-right: 8px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 18px;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.list-row .lr-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

/* ============================================================
   设置页 — 对齐新圈 settings.html
   ============================================================ */
.xq-set-scroll {
  background: var(--page-bg);
}
.xq-set-group {
  background: var(--surface);
  border-radius: 16px;
  margin: 12px 15px 0;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.xq-set-group .list-row {
  border-bottom: 0.5px solid var(--divider);
}
.xq-set-group .list-row:last-child {
  border-bottom: none;
}
.xq-set-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  margin: 12px 15px 16px;
  background: var(--surface);
  border-radius: 16px;
  color: var(--gold);
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  box-shadow: var(--shadow-card);
}

/* ============================================================
   认证中心
   ============================================================ */
.xq-verify-card {
  background: var(--surface);
  border-radius: var(--r-16);
  padding: var(--sp-16);
  margin-bottom: var(--sp-12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-8);
  box-shadow: var(--shadow-card);
}
.xq-verify-badge-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--success-soft, #ECFDF5);
  color: var(--success);
}
.xq-verify-title {
  font-size: var(--fs-16);
  font-weight: var(--fw-bold);
}
.xq-verify-status {
  font-size: var(--fs-12);
  padding: 2px 10px;
  border-radius: var(--r-full);
}
.xq-verify-status.verified {
  background: var(--success-soft, #ECFDF5);
  color: var(--success);
}
.xq-verify-status.unverified {
  background: var(--surface-alt);
  color: var(--text-muted);
}
.xq-verify-desc {
  font-size: var(--fs-13);
  color: var(--text-sub);
  text-align: center;
}

/* ============================================================
   编辑资料 — 对齐新圈 profile-edit.html
   ============================================================ */
.xq-form-card {
  background: var(--surface);
  border-radius: var(--r-16);
  margin: 10px 15px 0;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.xq-form-row {
  display: flex;
  align-items: center;
  height: 57px;
  border-bottom: 0.5px solid var(--divider);
  cursor: pointer;
}
.xq-form-row:last-child { border-bottom: none; }
.xq-form-lbl {
  color: var(--text-sub);
  font-size: var(--fs-14);
  padding-left: var(--sp-16);
  flex-shrink: 0;
}
.xq-form-val {
  flex: 1;
  color: var(--text-main);
  font-size: var(--fs-16);
  text-align: right;
  padding-right: var(--sp-8);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.xq-form-placeholder { color: var(--text-muted); }
.xq-form-arrow {
  margin-right: var(--sp-16);
  color: var(--text-muted);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.xq-tag-chip {
  background: var(--surface-alt);
  color: var(--text-main);
  font-size: var(--fs-12);
  padding: 5px 12px;
  border-radius: 14px;
}

/* ============================================================
   相册管理 — 对齐新圈 profile-edit#album
   ============================================================ */
.xq-album-cell {
  position: relative;
  height: 100px;
  border-radius: 9px;
  overflow: hidden;
  background: var(--surface-alt);
}
.xq-album-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.xq-album-add {
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}
.xq-album-tag {
  position: absolute;
  left: 8px; top: 8px;
  height: 18px;
  min-width: 62px;
  padding: 0 7px;
  border-radius: 9px;
  background: rgba(0,0,0,0.58);
  color: #DAFFAB;
  font-size: 10px;
  line-height: 18px;
}
.xq-album-lock {
  position: absolute;
  left: 50%; bottom: 10px;
  transform: translateX(-50%);
  height: 20px;
  padding: 0 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.18);
  color: var(--gold-light);
  font-size: 12px;
  line-height: 20px;
  white-space: nowrap;
}
.xq-album-close {
  position: absolute;
  right: 0; top: 0;
  width: 24px; height: 24px;
  border-radius: 0 16px 0 14px;
  background: rgba(230,34,34,0.9);
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.xq-album-cta {
  margin: var(--sp-20) var(--sp-16) 0;
  height: 44px;
  border-radius: 22px;
  background: var(--gold-gradient);
  color: var(--gold-deep);
  font-size: var(--fs-16);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ============================================================
   我的动态 — 对齐新圈 profile-edit#dynamics
   ============================================================ */
.xq-moving-card {
  margin: 0 10px 10px;
  border-radius: var(--r-16);
  background: var(--surface);
  overflow: hidden;
  padding-top: var(--sp-10);
  box-shadow: var(--shadow-card);
  flex-shrink: 0;
}
.xq-moving-head {
	  display: flex;
	  align-items: center;
	  padding: 0 var(--sp-16);
	}
.xq-moving-head img {
  width: 42px; height: 42px;
  border-radius: var(--r-full);
  object-fit: cover;
}
.xq-moving-user {
  margin-left: 7px;
  flex: 1;
  min-width: 0;
}
.xq-moving-user b {
  color: var(--text-main);
  font-size: var(--fs-16);
}
/* 动圈名字行 + 真人/VIP 标签（对齐新圈 mv-name-row） */
.xq-moving-name-row {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.mv-tag-real {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 200, 83, 0.15);
  color: var(--green);
  font-size: 10px;
  line-height: 1;
  border-radius: 3px;
  padding: 2px 5px;
  flex-shrink: 0;
}
.mv-tag-vip {
  display: inline-flex;
  align-items: center;
  background: var(--gold-dim);
  color: var(--gold);
  font-size: 10px;
  line-height: 1;
  border-radius: 3px;
  padding: 2px 5px;
  flex-shrink: 0;
}
.xq-moving-meta {
  color: var(--text-muted);
  font-size: var(--fs-10);
  margin-top: 2px;
}
.xq-moving-time {
	  height: 40px;
	  line-height: 40px;
	  padding-left: var(--sp-16);
	  color: var(--text-main);
	  font-size: var(--fs-14);
	}
	.xq-moving-text {
	  padding: 0 var(--sp-16);
	  color: var(--text-sub);
	  font-size: var(--fs-14);
	  line-height: 1.65;
	}
	.xq-moving-pics {
	  display: grid;
	  grid-template-columns: repeat(3, 1fr);
	  gap: 4px;
	  margin: var(--sp-8) 29px 0 var(--sp-16);
	}
.xq-moving-pics img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--r-12);
}
.xq-moving-foot {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
  padding: 0 var(--sp-16);
  color: var(--text-muted);
  font-size: var(--fs-13);
}
.xq-moving-loc { flex: 1; display: inline-flex; align-items: center; gap: 2px; }
.xq-moving-metric { display: inline-flex; align-items: center; gap: 2px; }
/* 动圈标签（对齐新圈 mv-foot 左区，单行 ellipsis 不裁切）*/
.xq-moving-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 0;
}
.xq-moving-tag {
  font-size: var(--fs-11);
  color: var(--primary);
  background: var(--primary-soft);
  padding: 2px 8px;
  border-radius: var(--r-full);
  white-space: nowrap;
  flex-shrink: 0;
}
.xq-moving-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-16);
  flex-shrink: 0;
}
/* 动圈标签 pill（可点击，替代内联 height:30px;padding:0 12px;cursor:pointer）*/
.tag-clickable {
  height: 30px;
  padding: 0 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
/* 分享 sheet 项（替代内联 flex column 居中）*/
.sheet-share-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.xq-moving-publish {
  position: absolute;
  right: 18px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: var(--r-full);
  background: var(--gold-gradient);
  color: var(--gold-deep);
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0,0,0,0.35);
  cursor: pointer;
}

/* ============================================================
   设置微信号 — 对齐新圈 profile-edit#wechat
   ============================================================ */
.xq-wechat-input {
  height: 57px;
  width: 100%;
  border: none;
  outline: none;
  border-radius: 9px;
  background: var(--surface);
  color: var(--text-main);
  font-size: var(--fs-16);
  padding: 0 var(--sp-16);
  font-family: var(--font-sans);
  box-shadow: var(--shadow-card);
}
.xq-wechat-qrcode {
  width: 100px;
  height: 100px;
  border-radius: 9px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  box-shadow: var(--shadow-card);
}
.xq-wechat-save {
  margin: var(--sp-20) var(--sp-16) 0;
  height: 44px;
  border-radius: 22px;
  background: var(--gold-gradient);
  color: var(--gold-deep);
  font-size: var(--fs-16);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* 全览悬浮钮已改为视口固定（components.js ensureOverviewFab，与评审按钮同列，移出手机框）*/

/* === P5 v60 新增组件类 === */

/* 聊天页紧凑微信信息条（对齐新圈 chat.html wechat-card，单行不阻塞聊天流）*/
/* Flutter 映射: Container(height:44, Row[Icon, Expanded(Text), Trailing]) */
.chat-wechat-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  margin-bottom: var(--sp-12);
  padding: var(--sp-10) var(--sp-14);
  border-radius: var(--r-12);
  background: var(--success-soft);
  border: var(--bw) solid rgba(34, 197, 94, 0.15);
  cursor: pointer;
}
.chat-wechat-bar .cwb-text {
  flex: 1;
  font-size: var(--fs-13);
  color: var(--text-sub);
}
.chat-wechat-bar .cwb-copy {
  border: none;
  background: var(--success);
  color: var(--white);
  font-size: var(--fs-12);
  font-weight: var(--fw-semibold);
  border-radius: var(--r-full);
  padding: var(--sp-4) var(--sp-12);
  cursor: pointer;
}

/* 居中确认对话框（退出登录等，复用 lg-dlg icon/title/desc/btns）*/
/* Flutter 映射: AlertDialog / CupertinoAlertDialog */
.confirm-dlg {
  position: absolute;
  top: 0; bottom: 0; left: 0; right: 0;
  background: var(--backdrop);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 20;
}
.confirm-dlg.show { display: flex; }

/* 搜索结果行（对齐新圈 search.html result-card）*/
/* Flutter 映射: Row[AvatarWrap(Stack[Avatar, AffinityBadge]), Expanded(Column[NameRow, InfoText]), FollowButton] */
.search-result-card {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  padding: var(--sp-12) 0;
  border-bottom: var(--bw) solid var(--divider);
  cursor: pointer;
}
.search-result-card .src-avatar-wrap { position: relative; flex-shrink: 0; }
.search-result-card .src-fam-badge {
  position: absolute;
  top: -4px; left: -4px;
  background: var(--gold-gradient);
  color: var(--gold-deep);
  font-size: var(--fs-10);
  font-weight: var(--fw-bold);
  padding: 1px 5px;
  border-radius: var(--r-full);
  white-space: nowrap;
}
.search-result-card .src-body { flex: 1; min-width: 0; }
.search-result-card .src-name-row { display: flex; align-items: center; gap: var(--sp-4); }
.search-result-card .src-name { font-size: var(--fs-15); font-weight: var(--fw-bold); color: var(--text-main); }
.search-result-card .src-info { font-size: var(--fs-13); color: var(--text-sub); margin-top: var(--sp-4); }
.search-follow-btn {
  flex-shrink: 0;
  border: var(--bw-2) solid var(--gold);
  background: transparent;
  color: var(--gold-deep);
  font-size: var(--fs-12);
  font-weight: var(--fw-semibold);
  border-radius: var(--r-full);
  padding: var(--sp-4) var(--sp-14);
  cursor: pointer;
}
.search-follow-btn.is-followed { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--text-muted); }

/* 社区 tab 下划线指示器（对齐新圈 comm-tab underline）*/
.xq-comm-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  position: relative;
}
.xq-comm-tab .xq-comm-tab-label { font-size: var(--fs-16); color: var(--text-muted); padding: var(--sp-4) var(--sp-12); }
.xq-comm-tab.active .xq-comm-tab-label { font-weight: var(--fw-bold); color: var(--text-main); }
.xq-comm-tab .xq-comm-tab-underline { width: 0; height: 3px; border-radius: var(--r-full); background: var(--primary); transition: width var(--dur-short); }
.xq-comm-tab.active .xq-comm-tab-underline { width: 20px; }

/* 详情页动态操作图标（统一 Lucide 替换原生 emoji）*/
.dt-dyn-action { display: inline-flex; align-items: center; gap: 4px; color: var(--text-sub); }

/* 消息列表锁定会话（对齐新圈 message.html 锁定行：模糊头像 + 锁图标 + 金色预览）*/
/* Flutter 映射: Stack[ClipOval(Image+BlurFilter), LockIcon, Badge] */
.conv-blur-mask {
  position: absolute;
  inset: 0;
  border-radius: var(--r-full);
  background: rgba(203, 213, 225, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.conv-lock-ic {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 24px; height: 24px;
  border-radius: var(--r-full);
  background: var(--gold);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
