:root {
  --rose: #ff4d6d;
  --rose-2: #ff7a9c;
  --rose-soft: #fff1f4;
  --orange: #ff8a5b;
  --purple: #8b6cf3;
  --gold: #f2b01e;
  --ink: #16161a;
  --ink-2: #3d3d47;
  --muted: #8b8b99;
  --line: #eeeef3;
  --bg: #f6f7fb;
  --white: #fff;
  --shadow: 0 8px 24px rgba(24, 20, 40, .08);
  --shadow-lg: 0 18px 40px rgba(24, 20, 40, .14);
  --r: 18px;
  /* 底部导航占位：栏高 / 内容让位高度，改这里即可整体缩放 */
  --tabbar-h: 72px;
  --tabbar-space: 116px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #e9eaf0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button { font-family: inherit; border: 0; background: none; padding: 0; color: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 15px; color: inherit; outline: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
svg { width: 1em; height: 1em; fill: currentColor; }

#app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  overflow-x: hidden;
  padding-bottom: var(--tabbar-space);
  box-shadow: 0 0 60px rgba(20, 20, 40, .12);
}
#app.no-tabbar { padding-bottom: 0; }
/* 无底部导航的页面：右下角浮动导航，留出可滚动空间避免压住内容 */
#app.with-fab-nav { padding-bottom: 0; }
#app.with-fab-nav .page { padding-bottom: 176px; }

/* ---------- 通用 ---------- */
.page { animation: fade .22s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pad { padding: 16px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 11px; }
.row { display: flex; align-items: center; }
.between { justify-content: space-between; }
.gap8 { gap: 8px; }
.gap12 { gap: 12px; }
.center { display: flex; align-items: center; justify-content: center; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.card { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 48px; padding: 0 22px; border-radius: 14px; font-size: 16px; font-weight: 600;
  background: linear-gradient(135deg, var(--rose) 0%, var(--orange) 100%);
  color: #fff; transition: transform .15s, opacity .2s; width: 100%;
  box-shadow: 0 10px 22px rgba(255, 77, 109, .28);
}
.btn:active { transform: scale(.98); }
.btn.ghost { background: #fff; color: var(--rose); box-shadow: none; border: 1px solid #ffd9e1; }
.btn.plain { background: var(--bg); color: var(--ink-2); box-shadow: none; }
.btn.small { height: 38px; font-size: 14px; width: auto; padding: 0 16px; border-radius: 11px; }
.btn[disabled] { opacity: .5; box-shadow: none; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 7px; font-weight: 500; }
.input, textarea.input, select.input {
  width: 100%; height: 50px; padding: 0 15px; border-radius: 14px; border: 1.5px solid transparent;
  background: #f4f5f9; font-size: 15px; transition: border-color .2s, background .2s;
}
textarea.input { height: auto; padding: 13px 15px; resize: none; line-height: 1.6; }
.input:focus { border-color: var(--rose-2); background: #fff; }
.input::placeholder { color: #b7b7c2; }

.chip { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px; border-radius: 8px; background: rgba(255,255,255,.18); font-size: 12px; }
.badge { display: inline-flex; align-items: center; gap: 3px; height: 20px; padding: 0 7px; border-radius: 6px; font-size: 11px; font-weight: 600; }
.badge.vip { background: linear-gradient(135deg, #ffe6a8, #f7b955); color: #8a5a00; }

.section-title { display: flex; align-items: center; justify-content: space-between; padding: 18px 16px 8px; font-size: 15px; font-weight: 700; }
.section-title span.more { font-size: 12px; color: var(--muted); font-weight: 400; }

.empty { text-align: center; padding: 60px 24px; color: var(--muted); }
.empty .emoji { font-size: 44px; margin-bottom: 12px; opacity: .8; }
.empty p { margin: 4px 0; font-size: 14px; }

.skeleton { background: linear-gradient(90deg, #f1f1f6 25%, #e8e8ef 37%, #f1f1f6 63%); background-size: 400% 100%; animation: shimmer 1.4s infinite; border-radius: 12px; }
@keyframes shimmer { 0% { background-position: 100% 50% } 100% { background-position: 0 50% } }

/* ---------- 顶部栏 ---------- */
.navbar {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 12px; background: rgba(255,255,255,.86); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.navbar .title { font-size: 17px; font-weight: 700; flex: 1; text-align: center; }
.navbar .nav-btn { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--ink-2); }
.navbar .nav-btn:active { background: #f1f1f6; }
.navbar .right { min-width: 34px; display: flex; justify-content: flex-end; gap: 6px; }

/* ---------- 底部导航（悬浮胶囊） ---------- */
#tabbar {
  position: fixed; left: 50%; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40;
  width: min(462px, calc(100% - 24px)); height: var(--tabbar-h); padding: 7px; gap: 3px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, .84); backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .92); border-radius: 36px;
  box-shadow: 0 16px 36px rgba(48, 24, 64, .16), 0 2px 6px rgba(48, 24, 64, .05);
  display: flex; align-items: stretch;
  transition: transform .3s cubic-bezier(.2,.9,.3,1), opacity .25s;
}
#tabbar.hide { transform: translate(-50%, 160%); opacity: 0; pointer-events: none; }
.tab-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: #a09aae; font-size: 11.5px; position: relative; border-radius: 30px;
  transition: color .2s, transform .18s ease-out;
}
.tab-item:active { transform: scale(.9); opacity: .85; }
.tab-item svg { font-size: 23px; transition: transform .2s; }
/* 激活：无背景胶囊，图标与文字直接变品牌红（红填充图标由 -f symbol 提供） */
.tab-item.active { color: var(--rose); font-weight: 700; }
.tab-item.active svg { transform: translateY(-1px) scale(1.06); animation: tab-pop .42s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes tab-pop {
  0% { transform: translateY(2px) scale(.55); }
  55% { transform: translateY(-2px) scale(1.18); }
  100% { transform: translateY(-1px) scale(1.06); }
}
.tab-item .dot { position: absolute; top: 6px; right: 50%; margin-right: -21px; width: 8px; height: 8px; border-radius: 50%; background: var(--rose); border: 1.5px solid #fff; animation: tab-blink 1.6s ease-in-out infinite; }
@keyframes tab-blink {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

/* ---------- 浮动导航 / AI 客服 ---------- */
.fab-nav {
  position: fixed; right: 16px; bottom: calc(26px + env(safe-area-inset-bottom)); z-index: 45;
  display: flex; flex-direction: column; gap: 10px;
}
.fab-nav.above-bar { bottom: calc(108px + env(safe-area-inset-bottom)); }
.fab-btn {
  width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .94); color: #5d5470; font-size: 20px;
  box-shadow: 0 10px 24px rgba(48, 24, 64, .18); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .9); transition: transform .14s;
}
.fab-btn:active { transform: scale(.92); }
.fab-btn.home { color: var(--rose); }
.fab-btn.ai { background: linear-gradient(135deg, #8b6cf3, #ff5f8f); color: #fff; border: 0; box-shadow: 0 12px 26px rgba(139, 108, 243, .34); }

.fab-ai {
  position: fixed; right: 16px; bottom: calc(92px + env(safe-area-inset-bottom)); z-index: 45;
  display: flex; align-items: center; gap: 7px; height: 44px; padding: 0 15px 0 7px; border-radius: 22px;
  color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .3px;
  background: linear-gradient(135deg, #8b6cf3, #ff5f8f);
  box-shadow: 0 12px 26px rgba(139, 108, 243, .38); transition: transform .14s;
}
.fab-ai:active { transform: scale(.95); }
.fab-ai .orb { width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.fab-ai.lift { bottom: calc(91px + env(safe-area-inset-bottom)); }
.fab-ai.compact { width: 46px; height: 46px; padding: 0; border-radius: 50%; justify-content: center; box-shadow: 0 10px 22px rgba(139, 108, 243, .45), 0 0 0 3px rgba(255, 255, 255, .9); }
.fab-ai.compact .orb { width: 100%; height: 100%; background: none; font-size: 20px; }
.fab-ai.compact .lbl { display: none; }
.fab-ai.compact::after { border-radius: 50%; }
.fab-ai::after {
  content: ''; position: absolute; inset: -3px; border-radius: 25px; pointer-events: none;
  border: 1px solid rgba(255, 120, 170, .5); animation: aiPulse 2.6s ease-out infinite;
}
@keyframes aiPulse { 0% { opacity: .7; transform: scale(1); } 70% { opacity: 0; transform: scale(1.12); } 100% { opacity: 0; } }

/* AI 对话面板 */
.ai-mask { align-items: flex-end; }
.ai-panel {
  width: 100%; max-width: 480px; margin: 0 auto; height: 78vh; display: flex; flex-direction: column;
  background: #fff; border-radius: 26px 26px 0 0; overflow: hidden;
  animation: up .3s cubic-bezier(.2,.9,.3,1);
}
.ai-head {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px; flex: none;
  background: linear-gradient(135deg, #f4efff, #fff0f6); border-bottom: 1px solid #f3eefb;
}
.ai-head .av { width: 38px; height: 38px; border-radius: 14px; background: linear-gradient(135deg, #8b6cf3, #ff5f8f); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 19px; flex: none; }
.ai-head .nm { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.ai-head .st { font-size: 11px; color: #8b8499; margin-top: 2px; display: flex; align-items: center; gap: 5px; }
.ai-head .st i { width: 6px; height: 6px; border-radius: 50%; background: #3ddc84; }
.ai-head .x { width: 32px; height: 32px; border-radius: 50%; color: #9b93a8; font-size: 17px; display: flex; align-items: center; justify-content: center; }
.ai-body { flex: 1; overflow-y: auto; padding: 16px 14px 6px; background: #fbfaff; -webkit-overflow-scrolling: touch; }
.ai-msg { display: flex; gap: 8px; margin-bottom: 14px; align-items: flex-start; }
.ai-msg .b {
  max-width: 79%; padding: 10px 13px; border-radius: 4px 16px 16px 16px; background: #fff;
  font-size: 13.5px; line-height: 1.7; color: var(--ink-2); white-space: pre-wrap; word-break: break-word;
  box-shadow: 0 4px 14px rgba(60, 30, 90, .07);
}
.ai-msg.me { flex-direction: row-reverse; }
.ai-msg.me .b { border-radius: 16px 4px 16px 16px; background: linear-gradient(135deg, #8b6cf3, #ff5f8f); color: #fff; box-shadow: 0 6px 16px rgba(139, 108, 243, .26); }
.ai-msg .a { width: 30px; height: 30px; border-radius: 10px; flex: none; background: linear-gradient(135deg, #8b6cf3, #ff5f8f); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.ai-msg.me .a { background: #eee9f7; color: #7a6f8c; }
.ai-typing { display: inline-flex; gap: 4px; align-items: center; padding: 4px 2px; }
.ai-typing i { width: 6px; height: 6px; border-radius: 50%; background: #c3b6da; animation: typing 1s infinite; }
.ai-typing i:nth-child(2) { animation-delay: .16s; }
.ai-typing i:nth-child(3) { animation-delay: .32s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.ai-quick { display: flex; gap: 7px; overflow-x: auto; padding: 8px 14px 0; flex: none; }
.ai-quick button { flex: none; height: 30px; padding: 0 12px; border-radius: 15px; background: #f3effc; color: #7a5cc4; font-size: 11.5px; font-weight: 500; }
.ai-foot { display: flex; gap: 8px; padding: 10px 14px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #f5f2fa; flex: none; align-items: center; }
.ai-foot input { flex: 1; height: 42px; border-radius: 21px; background: #f5f3fa; border: 0; padding: 0 16px; font-size: 14px; }
.ai-foot .send { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, #8b6cf3, #ff5f8f); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 17px; flex: none; }
.ai-note { text-align: center; font-size: 10.5px; color: #b7aec6; padding: 6px 0 0; }

/* AI 润色 */
.polish-entry {
  display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px; border-radius: 15px;
  background: linear-gradient(135deg, #f2ecff, #ffeaf3); color: #8a5cd6; font-size: 12px; font-weight: 700;
  border: 1px solid #eadcff;
}
.polish-entry svg { font-size: 14px; }
.polish-styles { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 14px; }
.polish-styles button { height: 32px; padding: 0 14px; border-radius: 16px; background: #f4f2fa; color: #7d738c; font-size: 12.5px; font-weight: 500; transition: .18s; }
.polish-styles button.on { background: linear-gradient(135deg, #8b6cf3, #ff5f8f); color: #fff; box-shadow: 0 6px 14px rgba(139, 108, 243, .28); }
.polish-box {
  min-height: 132px; padding: 14px; border-radius: 16px; background: #fbfaff; border: 1px solid #f1ecfa;
  font-size: 14px; line-height: 1.75; color: var(--ink-2);
}
.polish-text { white-space: pre-wrap; }
.polish-count { float: right; font-size: 11px; color: #b7aec6; }
.polish-mask { z-index: 120; }

/* ---------- 登录注册（九秀直播风格：深夜秀场 + 玫红舞台光束 + 悬浮玻璃卡） ---------- */
.auth-wrap {
  min-height: 100vh; display: flex; flex-direction: column; position: relative; overflow: hidden;
  background:
    radial-gradient(120% 55% at 50% -10%, #571631 0%, rgba(87,22,49,0) 58%),
    radial-gradient(85% 45% at 108% 16%, rgba(255,46,110,.26) 0%, rgba(255,46,110,0) 62%),
    radial-gradient(85% 45% at -8% 28%, rgba(168,60,255,.18) 0%, rgba(168,60,255,0) 60%),
    linear-gradient(180deg, #180a1c 0%, #250f26 46%, #2d0f24 100%);
}
/* 舞台光束（秀场灯光感） */
.auth-beam { position: absolute; top: -18%; width: 150px; height: 72vh; pointer-events: none; opacity: .5; filter: blur(3px); transform-origin: top center; }
.auth-beam.a { left: 10%; background: linear-gradient(180deg, rgba(255,80,140,.55), rgba(255,80,140,0) 72%); animation: beamSway 7s ease-in-out infinite alternate; }
.auth-beam.b { right: 10%; background: linear-gradient(180deg, rgba(196,92,255,.42), rgba(196,92,255,0) 72%); animation: beamSway 9s ease-in-out infinite alternate-reverse; }
@keyframes beamSway { from { transform: rotate(13deg); } to { transform: rotate(20deg); } }
.auth-hero { padding: 62px 28px 26px; text-align: center; position: relative; z-index: 1; }
.auth-logo {
  width: 84px; height: 84px; border-radius: 28px; background: linear-gradient(135deg, #ff4d6d, #ff2e92);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 38px;
  box-shadow: 0 0 0 7px rgba(255,60,120,.14), 0 18px 44px rgba(255,46,110,.5), inset 0 1px 0 rgba(255,255,255,.4);
  margin: 0 auto 18px; animation: authPop .7s cubic-bezier(.2,.9,.3,1.2) both;
}
.auth-logo-img {
  width: 88px; height: 88px; border-radius: 28px; object-fit: cover; display: block; margin: 0 auto 18px;
  box-shadow: 0 0 0 7px rgba(255,60,120,.14), 0 18px 44px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.18) inset;
  animation: authPop .7s cubic-bezier(.2,.9,.3,1.2) both;
}
@keyframes authPop { from { opacity: 0; transform: translateY(14px) scale(.86); } to { opacity: 1; transform: none; } }
.auth-hero h1 { font-size: 29px; margin: 0 0 9px; letter-spacing: 2px; color: #fff; font-weight: 800; text-shadow: 0 4px 26px rgba(255,46,110,.55); }
.auth-hero p { margin: 0; color: rgba(255,255,255,.52); font-size: 13px; letter-spacing: 5px; }
/* 悬浮玻璃卡：深色半透明 + 玫红描边光 */
.auth-panel {
  position: relative; z-index: 1; margin: 4px 18px 26px; padding: 24px 22px 10px;
  background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.13); border-radius: 28px;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 26px 60px rgba(6,1,8,.6), inset 0 1px 0 rgba(255,255,255,.1);
  animation: panelUp .6s cubic-bezier(.2,.8,.3,1) both;
}
@keyframes panelUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
/* 主 Tab：文字下划线式（九秀风） */
.auth-tabs { display: flex; gap: 28px; margin-bottom: 20px; padding: 0 4px; border-bottom: 1px solid rgba(255,255,255,.1); background: none; border-radius: 0; }
.auth-tabs button { flex: none; padding: 5px 2px 12px; font-size: 17px; color: rgba(255,255,255,.42); position: relative; font-weight: 700; border-radius: 0; background: none; box-shadow: none; transition: color .2s; }
.auth-tabs button.active { color: #fff; font-weight: 800; background: none; box-shadow: none; }
.auth-tabs button.active::after {
  content: ''; position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%);
  width: 30px; height: 3.5px; border-radius: 2px; background: linear-gradient(90deg, #ff4d6d, #ff2e92);
  box-shadow: 0 0 12px rgba(255,60,120,.9);
}
/* 登录方式切换（密码 / 验证码） */
.auth-mt { display: flex; gap: 8px; margin-bottom: 16px; }
.auth-mt button { flex: 1; padding: 9px 0; border-radius: 19px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: rgba(255,255,255,.58); font-size: 13px; transition: all .15s; }
.auth-mt button.on { border-color: rgba(255,92,138,.65); color: #ff9db8; font-weight: 600; background: rgba(255,70,130,.14); }
.auth-body { flex: 1; }
.auth-foot { padding: 16px 8px 30px; text-align: center; font-size: 11.5px; color: rgba(255,255,255,.34); line-height: 1.9; }
/* 登录页协议链接：必须有下划线 + 可点，审核会看这里 */
.auth-foot .doc-link { color: rgba(255,255,255,.72); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; cursor: pointer; }
.auth-foot .doc-link:active { color: #ffd0dd; }

/* ===== 用户协议 / 隐私政策弹层（文档流，长文可滚动） ===== */
.sheet.doc { padding: 0; max-height: 88vh; display: flex; flex-direction: column; overflow: hidden; }
.doc-wrap { display: flex; flex-direction: column; max-height: 88vh; min-height: 0; }
.doc-hd { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px 12px; border-bottom: 1px solid rgba(140,120,170,.14); }
.doc-hd h3 { margin: 0; font-size: 16px; font-weight: 800; color: #2a1c33; }
.doc-x { width: 28px; height: 28px; flex: none; border: none; border-radius: 50%; background: rgba(140,120,170,.1); color: #7a6b8c; font-size: 13px; line-height: 1; cursor: pointer; }
.doc-body { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 6px 18px calc(22px + env(safe-area-inset-bottom)); font-size: 13.5px; line-height: 1.8; color: #4a3c58; }
.doc-body h3 { margin: 18px 0 6px; font-size: 14px; font-weight: 800; color: #2a1c33; }
.doc-body p { margin: 0 0 8px; }
.doc-body ul { margin: 0 0 10px; padding-left: 18px; }
.doc-body li { margin: 0 0 4px; list-style: disc; }
.doc-body b { color: #2a1c33; }
.doc-body .doc-note { margin-top: 20px; font-size: 12px; color: #9a8bab; text-align: center; }
.doc-meta { margin: 10px 0 2px; font-size: 12px; color: #9a8bab; }
.doc-tip { padding: 28px 0; text-align: center; font-size: 13px; color: #9a8bab; }
/* 玻璃卡内的表单深色化（注册步骤 / 资料完善同样生效） */
.auth-panel .field { margin-bottom: 14px; }
.auth-panel .field > label { color: rgba(255,255,255,.55); font-size: 12.5px; }
.auth-panel .muted { color: rgba(255,255,255,.58); }
.auth-panel .small { color: rgba(255,255,255,.62); }
.auth-panel .input, .auth-panel textarea.input {
  height: 50px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); color: #fff;
  border-radius: 15px; box-shadow: none; transition: border-color .2s, box-shadow .2s;
}
.auth-panel textarea.input { height: auto; }
.auth-panel .input::placeholder { color: rgba(255,255,255,.28); }
.auth-panel .input:focus { border-color: rgba(255,92,138,.65); box-shadow: 0 0 0 3px rgba(255,60,120,.14); }
/* 带图标的药丸输入行 */
.jx-in { display: flex; align-items: center; gap: 10px; padding: 0 14px; margin-bottom: 14px; height: 50px; border-radius: 15px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); transition: border-color .2s, box-shadow .2s; }
.jx-in:focus-within { border-color: rgba(255,92,138,.65); box-shadow: 0 0 0 3px rgba(255,60,120,.14); }
.jx-in > svg { width: 18px; height: 18px; color: #ff6d97; flex: none; }
.jx-in .input { flex: 1; min-width: 0; height: 46px; padding: 0; background: none; border: none; color: #fff; box-shadow: none; }
.jx-in .input:focus { box-shadow: none; }
.jx-code { flex: none; height: 34px; padding: 0 13px; border-radius: 17px; font-size: 12.5px; color: #ff9db8; background: rgba(255,70,130,.14); border: 1px solid rgba(255,92,138,.42); white-space: nowrap; transition: opacity .15s; }
.jx-code:disabled { opacity: .55; }
/* 主按钮：玫红渐变大药丸 + 发光 */
.auth-panel .btn:not(.plain) {
  height: 50px; border-radius: 25px; font-size: 16px; font-weight: 700; letter-spacing: 6px; text-indent: 6px;
  background: linear-gradient(90deg, #ff4d6d, #ff2e92); box-shadow: 0 12px 28px rgba(255,46,110,.42);
}
.auth-panel .btn.plain { background: rgba(255,255,255,.08); color: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.16); box-shadow: none; letter-spacing: 0; text-indent: 0; }
/* 注册第二步的性别选择（深色化） */
.gender-pick { display: flex; gap: 12px; }
.gender-pick .g {
  flex: 1; height: 76px; border-radius: 16px; border: 1.5px solid var(--line); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px; background: #fafafd; transition: .2s; font-size: 13px; color: var(--muted);
}
.gender-pick .g .ava { font-size: 24px; }
.gender-pick .g.on { border-color: var(--rose); background: var(--rose-soft); color: var(--rose); font-weight: 600; }
.auth-panel .gender-pick .g { border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: rgba(255,255,255,.6); }
.auth-panel .gender-pick .g.on { border-color: rgba(255,92,138,.7); background: rgba(255,70,130,.14); color: #ff9db8; }
/* 邀请人卡片（深色化） */
.auth-panel .invite-card { background: rgba(255,70,130,.1); border-color: rgba(255,92,138,.32); }
.auth-panel .invite-card .ic-t b { color: #fff; }
.auth-panel .invite-card .ic-t span { color: rgba(255,255,255,.5); }
.auth-panel .invite-card .ic-ok { background: rgba(255,70,130,.22); color: #ff9db8; }
/* 地区选择按钮（深色化） */
.auth-panel .rg-field { display: flex; align-items: center; justify-content: space-between; color: #fff; }
.auth-panel .rg-field.ph { color: rgba(255,255,255,.3); }
/* 玻璃卡里的微信登录按钮 */
.auth-panel .wx-sep i { background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent); }
.auth-panel .wx-sep em { color: rgba(255,255,255,.4); }
.auth-panel .wx-login-btn {
  background: linear-gradient(135deg, #2bd66a, #07b04f); border-radius: 25px;
  box-shadow: 0 8px 20px rgba(7,176,79,.22); font-size: 15px; letter-spacing: 1px;
}
.auth-panel .wx-login-btn .wx-ic { color: #fff; }
.auth-panel .tiny { color: rgba(255,255,255,.42); }
.code-row { display: flex; gap: 10px; }
.code-row .input { flex: 1; }
.code-row .btn { width: 110px; height: 50px; background: #fff; color: var(--rose); border: 1.5px solid #ffd6df; box-shadow: none; font-size: 14px; padding: 0; white-space: nowrap; }

.avatar-upload { display: flex; align-items: center; gap: 14px; }
.avatar-upload .preview { width: 68px; height: 68px; border-radius: 22px; background: #f2f3f7 center/cover no-repeat; display: flex; align-items: center; justify-content: center; color: #c9c9d4; font-size: 24px; border: 1.5px dashed #dcdce6; overflow: hidden; }
/* 完善资料（微信授权后）：头像 + 昵称已自动带出 */
.cp-ava { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 12px 14px; border-radius: 18px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.cp-ava .pic { width: 56px; height: 56px; border-radius: 50%; flex: none; background: #2a1730 center/cover no-repeat;
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.5); font-size: 22px;
  box-shadow: 0 0 0 2px rgba(255,92,138,.35); overflow: hidden; }
.cp-ava .m { flex: 1; min-width: 0; }
.cp-ava .m b { display: block; font-size: 13.5px; color: #fff; font-weight: 700; }
.cp-ava .m span { display: block; margin-top: 4px; font-size: 11.5px; color: rgba(255,255,255,.5); line-height: 1.5; }
.cp-ava .chg { flex: none; margin-left: auto; padding: 6px 13px; border-radius: 14px; font-size: 12px; color: #ff9db8;
  background: rgba(255,70,130,.14); border: 1px solid rgba(255,92,138,.42); }
.cp-wx { display: block; width: 100%; margin: 14px 0 0; padding: 10px 0; background: none; border: none;
  color: rgba(255,255,255,.5); font-size: 12px; text-decoration: underline; }

/* ---------- 推荐（交友） ---------- */
.rec-wrap {
  min-height: calc(100vh - var(--tabbar-space)); min-height: calc(100dvh - var(--tabbar-space));
  display: flex; flex-direction: column; overflow: hidden;
  background:
    radial-gradient(120% 55% at 50% -8%, #eee2ff 0%, rgba(255,255,255,0) 62%),
    radial-gradient(80% 45% at 105% 12%, #ffe2f1 0%, rgba(255,255,255,0) 66%),
    linear-gradient(180deg, #fdfaff 0%, #fff8fc 42%, #f8f6ff 100%);
}
.rec-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px 10px; flex: none; }
.rec-head h1 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.6px; color: #241a2e; }
.rec-tools { display: flex; gap: 10px; }
.rec-ic {
  width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #2c2233; background: rgba(255,255,255,.66);
  box-shadow: 0 5px 14px rgba(180,140,205,.16); transition: transform .14s;
}
.rec-ic:active { transform: scale(.93); }

.deck { position: relative; flex: 1; margin: 2px 14px 0; min-height: 0; }
.rcard {
  position: absolute; inset: 0; border-radius: 30px; overflow: hidden; padding: 16px 18px 18px;
  display: flex; flex-direction: column;
  background: linear-gradient(168deg, #e8d2ff 0%, #f7c9e9 24%, #ffd6ec 50%, #fdeaf6 74%, #f4f1ff 100%);
  box-shadow: 0 22px 46px rgba(140, 90, 160, .18), inset 0 1px 0 rgba(255,255,255,.65);
  touch-action: pan-y; will-change: transform; transform-origin: 50% 100%;
}
.rcard-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(58% 38% at 86% 10%, rgba(255,255,255,.6), transparent 72%),
    radial-gradient(48% 28% at 6% 38%, rgba(255,206,235,.6), transparent 72%);
}
.rcard.behind { transform: translateY(-11px) scale(.955); opacity: .5; pointer-events: none; }

.rcard-top { position: relative; display: flex; align-items: center; justify-content: center; height: 32px; flex: none; }
.ai-pill {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 16px; border-radius: 16px;
  background: rgba(255,255,255,.52); border: 1px solid rgba(255,255,255,.8); backdrop-filter: blur(8px);
  font-size: 12.5px; font-weight: 600; color: #9a63c8; letter-spacing: .2px;
  box-shadow: 0 6px 16px rgba(170,120,200,.14);
}
.ai-pill svg { font-size: 15px; color: #b478e8; }
.rcard-more {
  position: absolute; right: -6px; top: 0; width: 34px; height: 32px; border-radius: 16px;
  color: rgba(90,60,110,.55); font-size: 19px; font-weight: 700; letter-spacing: 1px; line-height: 1;
}
.rcard-more:active { background: rgba(255,255,255,.4); }

.rcard-id { position: relative; display: flex; align-items: center; gap: 16px; padding: 12px 2px 6px; flex: none; }
.rcard-ava {
  width: 116px; height: 116px; border-radius: 50%; padding: 3px; flex: none; position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,.96), rgba(255,255,255,.42));
  box-shadow: 0 14px 28px rgba(160,100,190,.22);
}
.rcard-ava .im { width: 100%; height: 100%; border-radius: 50%; background-size: cover; background-position: 50% 20%; background-color: #f0e6fb; }
.rcard-ava .live { position: absolute; right: 9px; bottom: 12px; width: 12px; height: 12px; border-radius: 50%; background: #3ddc84; border: 2.5px solid #fff; box-shadow: 0 0 0 3px rgba(61,220,132,.2); }
.rcard-who { min-width: 0; flex: 1; }
.rcard-who .nm { display: flex; align-items: center; gap: 6px; font-size: 20px; font-weight: 800; color: #2a1c33; letter-spacing: -.3px; line-height: 1.3; }
.rcard-who .nm .vf { width: 17px; height: 17px; border-radius: 50%; background: linear-gradient(135deg,#54d5ff,#1f8bff); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; flex: none; box-shadow: 0 2px 6px rgba(31,139,255,.35); }
.rcard-who .sub { margin-top: 6px; font-size: 12.5px; color: rgba(78,58,94,.6); }
.rcard-who .loc { margin-top: 3px; font-size: 11.5px; color: rgba(78,58,94,.44); }

.rcard-body {
  position: relative; flex: 1; min-height: 0; margin-top: 10px; border-radius: 24px; padding: 15px 18px 16px;
  background: rgba(255,255,255,.52); border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 10px 26px rgba(180,140,210,.12); backdrop-filter: blur(6px);
  display: flex; flex-direction: column; overflow: hidden;
}
.score-row { display: flex; align-items: center; justify-content: space-between; }
.score { display: flex; align-items: baseline; gap: 5px; }
.score em { font-style: normal; font-size: 14px; font-weight: 600; color: #8a6fd0; letter-spacing: .5px; }
.score b { font-size: 27px; font-weight: 800; letter-spacing: -.6px; background: linear-gradient(100deg,#8f7cf5 0%,#ff8fbb 92%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.duo { display: flex; align-items: center; }
.duo .f { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; background-size: cover; background-position: center; background-color: #f3e9ff; box-shadow: 0 3px 8px rgba(150,110,180,.18); }
.duo .f + .f { margin-left: -10px; }

.pref-line { margin-top: 9px; font-size: 12.5px; color: #5b4a68; }
.pref-line b { color: #ff5f8f; font-weight: 700; }
.pref-tags { margin-top: 9px; display: flex; flex-wrap: wrap; gap: 7px; }
.pref-tags span { display: inline-flex; align-items: center; gap: 4px; height: 27px; padding: 0 12px; border-radius: 14px; background: #ffe4ee; color: #ff5c8a; font-size: 11.5px; font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pref-tags svg { font-size: 12px; flex: none; }

/* 推荐卡片生活照：类名用 rgal。历史上这里叫 .gal，与下方群组/组织列表的 .gal 同名，
   后者带 align-items:center + 白底 + padding，会把照片区压成 0 高的一片白板 —— 已改名隔离 */
.rgal { margin: 12px 62px 0 0; flex: 1; min-height: 150px; max-height: 320px; display: flex; align-items: stretch; }
.rgal .g {
  position: relative; flex: 1; align-self: stretch; min-height: 96px;
  border-radius: 16px; overflow: hidden; background-size: cover; background-position: center;
  background-color: #f3e9ff; box-shadow: 0 8px 18px rgba(150,110,180,.18);
}
.rgal .g::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(22,6,24,.66) 0%, rgba(22,6,24,.18) 28%, rgba(22,6,24,0) 60%); }
.hobby { margin-top: 10px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 11.5px; color: #8a7a96; }
.hobby em { font-style: normal; font-size: 11px; color: #b3a3c0; margin-right: 2px; }
.hobby span { padding: 3px 10px; border-radius: 10px; background: rgba(255,255,255,.78); color: #6b537d; font-weight: 500; }
.rgal .g span { position: absolute; left: 0; right: 0; bottom: 9px; z-index: 1; padding: 0 10px; color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .2px; line-height: 1.3; text-shadow: 0 1px 4px rgba(0,0,0,.45); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.quote {
  position: relative; margin: 12px 0 0; padding: 10px 8px 0 16px; font-size: 13px; line-height: 1.8; color: #6f5d7c;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.quote::before { content: '\201C\201C'; position: absolute; left: 0; top: 8px; font-family: Georgia, serif; font-size: 15px; color: #ffb0c8; letter-spacing: -2px; }

.rcard-acts { position: absolute; right: 8px; bottom: 70px; display: flex; flex-direction: column; gap: 12px; z-index: 5; }
.ract { width: 50px; height: 50px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: 0 10px 22px rgba(150,110,180,.24); transition: transform .12s; }
.ract:active { transform: scale(.9); }
.ract.super { color: #ff86ad; position: relative; }
.ract.super svg { fill: #ff86ad; }
/* 非会员：花朵按钮右上角挂 VIP 角标，点了直接引导开通（小红书花为会员特权） */
.ract.super.lock::after { content: 'VIP'; position: absolute; top: -5px; right: -7px; padding: 1.5px 4px; border-radius: 7px; font-size: 9px; font-weight: 800; line-height: 1.25; letter-spacing: .02em; color: #fff; background: linear-gradient(135deg,#ffb347,#ff7a3d); box-shadow: 0 2px 6px rgba(255,122,61,.4); }
/* 送花动画：花朵从卡片中央升起 */
.rcard.flowering::after { content: '❀'; position: absolute; left: 50%; top: 42%; font-size: 62px; line-height: 1; color: #ff86ad; text-shadow: 0 6px 18px rgba(255,134,173,.45); pointer-events: none; z-index: 9; animation: flowerPop .62s cubic-bezier(.3,1.2,.5,1) forwards; }
@keyframes flowerPop {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.4) rotate(-14deg); }
  45% { opacity: 1; transform: translate(-50%, -110%) scale(1.08) rotate(6deg); }
  100% { opacity: 0; transform: translate(-50%, -175%) scale(1.24) rotate(14deg); }
}
.ract.like { color: #ff3d6a; font-size: 26px; }
.ract.like svg { fill: currentColor; }
.ract.nope { color: #b3a5c6; }

.rcard .stamp { position: absolute; top: 30px; padding: 6px 14px; border-radius: 12px; font-size: 22px; font-weight: 900; letter-spacing: 2px; opacity: 0; transition: opacity .12s; z-index: 8; }
.rcard .stamp.like { left: 20px; color: #ff3d6a; border: 3px solid #ff3d6a; transform: rotate(-12deg); background: rgba(255,255,255,.7); }
.rcard .stamp.nope { right: 20px; color: #8b7b9e; border: 3px solid #8b7b9e; transform: rotate(12deg); background: rgba(255,255,255,.7); }

.rec-foot { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 0 10px; font-size: 11.5px; color: #a595b5; flex: none; }
.rec-foot #quota { display: inline-flex; align-items: center; gap: 4px; color: #8a6fd0; font-weight: 600; }
.rec-foot .f-on { padding: 2px 8px; border-radius: 10px; background: #efe6ff; color: #8663c9; font-weight: 600; }
.rec-foot .sep { width: 3px; height: 3px; border-radius: 50%; background: #cbbfd8; }

.rcard-skeleton { display: flex; flex-direction: column; gap: 14px; }
.rcard-skeleton .sk-a { width: 96px; height: 32px; border-radius: 16px; margin: 0 auto; }
.rcard-skeleton .sk-b { width: 116px; height: 116px; border-radius: 50%; }
.rcard-skeleton .sk-c { flex: 1; border-radius: 24px; background: rgba(255,255,255,.5); }

.deck-empty {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; text-align: center; padding: 32px;
  background: linear-gradient(168deg, #f6ecff, #ffeaf5 60%, #f5f2ff);
}
.deck-empty .e { font-size: 48px; }
.deck-empty h3 { margin: 6px 0 0; font-size: 17px; color: #2a1c33; }
.deck-empty p { margin: 0; color: #8b7b9e; font-size: 13px; }

/* 筛选面板 */
.fld { margin-bottom: 16px; }
.fld > label { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 8px; font-weight: 600; }
.f-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.f-chips button { height: 34px; padding: 0 15px; border-radius: 17px; background: #f4f3fa; font-size: 13px; color: #6d6480; transition: .18s; }
.f-chips button.on { background: linear-gradient(135deg, #ffd9e8, #f0d6ff); color: #a4417f; font-weight: 700; }

/* 匹配弹窗 */
.match-modal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 24px; }
.match-modal .bg { position: absolute; inset: 0; background: rgba(14,10,24,.62); backdrop-filter: blur(6px); animation: fade .2s; }
.match-modal .box { position: relative; width: 100%; max-width: 340px; text-align: center; color: #fff; animation: pop .4s cubic-bezier(.2,1.3,.5,1); }
@keyframes pop { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: none; } }
.match-modal h2 { font-size: 30px; margin: 0 0 6px; letter-spacing: 2px; background: linear-gradient(135deg,#ffd1dc,#fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.match-modal p { margin: 0 0 22px; font-size: 13.5px; opacity: .85; }
.match-faces { display: flex; justify-content: center; align-items: center; gap: -10px; margin-bottom: 18px; }
.match-faces .f { width: 94px; height: 94px; border-radius: 50%; border: 3px solid rgba(255,255,255,.9); background-size: cover; background-position: center; }
.match-faces .f:first-child { margin-right: -14px; transform: rotate(-6deg); }
.match-faces .f:last-child { margin-left: -14px; transform: rotate(6deg); }
.match-modal .btn.ghost { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(8px); }
.match-modal .acts { display: flex; flex-direction: column; gap: 10px; }

/* ---------- 喜欢 / 婚恋 ---------- */
.lk-wrap { min-height: calc(100vh - var(--tabbar-space)); min-height: calc(100dvh - var(--tabbar-space)); padding-bottom: 92px; background: #fff; }
.lk-wrap.with-cta { padding-bottom: 176px; }
/* 解锁条与 AI 圆形按钮并排，避免浮层压住卡片文字 */
.lk-wrap.with-cta .lk-cta { width: min(392px, calc(100% - 96px)); transform: translateX(calc(-50% - 24px)); }
.lk-wrap.with-cta .lk-cta:active { transform: translateX(calc(-50% - 24px)) scale(.985); }
.lk-head { display: flex; align-items: flex-end; gap: 26px; padding: 16px 22px 0; }
.lk-tab { position: relative; padding-bottom: 13px; font-size: 19px; font-weight: 700; color: #2b2433; letter-spacing: -.4px; display: flex; align-items: flex-start; gap: 2px; }
.lk-tab .cnt { margin-right: 1px; }
.lk-tab .cap { font-weight: 400; font-size: 19px; }
.lk-tab .cnt { font-weight: 800; }
.lk-tab.on::after { content: ''; position: absolute; left: 6px; bottom: 0; width: 28px; height: 3px; border-radius: 2px; background: #ff2d5e; }
.lk-tab .bdg {
  position: absolute; left: 100%; top: -8px; margin-left: -1px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: #ff2d5e; color: #fff; font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(255, 45, 94, .35);
}
.lk-tip { text-align: center; padding: 24px 34px 6px; font-size: 14.5px; line-height: 1.95; color: #3b3247; font-weight: 600; letter-spacing: .2px; }
.lk-tip b { color: #ff2d5e; font-weight: 800; margin: 0 2px; }
.lk-tip .free { display: block; font-size: 12px; font-weight: 400; color: #9b93a8; margin-top: 4px; }

.lk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 18px 16px 24px; }
.lk-card {
  position: relative; aspect-ratio: .68; border-radius: 17px; overflow: hidden; background: #e9e6ef;
  box-shadow: 0 12px 24px rgba(40, 20, 50, .1); animation: fade .3s ease;
}
.lk-card .ph {
  position: absolute; inset: 0; background-size: cover; background-position: center 20%; background-color: #e9e6ef;
  filter: blur(15px) saturate(1.08); transform: scale(1.14); transition: filter .3s, transform .3s;
}
.lk-card.open .ph { filter: none; transform: none; }
.lk-card .veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 5, 16, .9) 0%, rgba(10, 5, 16, .42) 26%, rgba(10, 5, 16, .04) 52%, rgba(10, 5, 16, .16) 100%);
}
.lk-card .ov { position: absolute; left: 0; right: 0; bottom: 0; padding: 11px 11px 13px; color: #fff; }
.lk-pills { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; margin-bottom: 9px; }
.lk-pill { font-size: 10.5px; line-height: 1.5; padding: 3px 8px; border-radius: 8px; background: rgba(18, 12, 24, .46); backdrop-filter: blur(6px); }
.lk-pill.gold { background: linear-gradient(135deg, #ffe6a8, #ffc75a); color: #6b4708; font-weight: 700; }
.lk-line { font-size: 14.5px; font-weight: 700; letter-spacing: .1px; text-shadow: 0 1px 6px rgba(0, 0, 0, .45); display: flex; align-items: center; gap: 4px; }
.lk-sub { font-size: 11.5px; opacity: .82; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lk-vip { position: absolute; right: 9px; top: 9px; height: 20px; padding: 0 7px; border-radius: 10px; display: flex; align-items: center; gap: 3px; font-size: 10px; font-weight: 700; background: linear-gradient(135deg, #ffe6a8, #f7b955); color: #7a4f00; }
.lk-lock { position: absolute; right: 9px; top: 9px; width: 22px; height: 22px; border-radius: 11px; background: rgba(18, 12, 24, .26); backdrop-filter: blur(4px); color: rgba(255,255,255,.78); display: flex; align-items: center; justify-content: center; font-size: 11px; }
.lk-match { position: absolute; left: 9px; top: 9px; height: 20px; padding: 0 8px; border-radius: 10px; background: rgba(255, 255, 255, .9); color: #ff2d5e; font-size: 10px; font-weight: 700; display: flex; align-items: center; }

.lk-cta {
  position: fixed; left: 50%; transform: translateX(-50%); z-index: 44;
  bottom: calc(88px + env(safe-area-inset-bottom)); width: min(430px, calc(100% - 34px));
  height: 52px; border-radius: 26px; color: #fff; font-size: 16px; font-weight: 700; letter-spacing: .5px;
  background: linear-gradient(135deg, #ff2d6a 0%, #ff6a6a 55%, #ff9a62 100%);
  box-shadow: 0 16px 32px rgba(255, 45, 106, .36); display: flex; align-items: center; justify-content: center; gap: 8px;
}
.lk-cta:active { transform: translateX(-50%) scale(.985); }
.lk-cta svg { font-size: 18px; }
.lk-done { text-align: center; font-size: 12px; color: #a99fb6; padding: 4px 0 8px; }

/* 喜欢页空态 */
.lk-empty { padding: 70px 40px; text-align: center; color: #9b93a8; }
.lk-empty .e { font-size: 42px; color: #ffc9d5; margin-bottom: 12px; }
.lk-empty p { margin: 4px 0; font-size: 14px; }

/* ---------- 广场 ---------- */
.post { background: #fff; border-radius: var(--r); padding: 14px; margin-bottom: 12px; box-shadow: 0 4px 16px rgba(20,20,40,.05); }
.post-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.post-head .av { width: 42px; height: 42px; border-radius: 14px; background: #eee center/cover; flex: none; }
.post-head .nm { font-weight: 600; font-size: 14.5px; display: flex; align-items: center; gap: 5px; }
.post-head .tm { font-size: 11.5px; color: var(--muted); }
.post-body { font-size: 14.5px; line-height: 1.62; margin-bottom: 10px; white-space: pre-wrap; word-break: break-word; }
.post-imgs { display: grid; gap: 4px; border-radius: 14px; overflow: hidden; }
.post-imgs.n1 { grid-template-columns: 1fr; }
.post-imgs.n2 { grid-template-columns: 1fr 1fr; }
.post-imgs.n3 { grid-template-columns: 1fr 1fr 1fr; }
.post-imgs .im { background-size: cover; background-position: center; background-color: #f2f2f7; aspect-ratio: 1; }
.post-imgs.n1 .im { aspect-ratio: 4/3; }
.post-imgs.n2 .im { aspect-ratio: 1; }
.post-foot { display: flex; align-items: center; gap: 20px; margin-top: 12px; color: var(--muted); font-size: 13px; }
.post-foot button { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--muted); }
.post-foot button.on { color: var(--rose); }
.post-foot svg { font-size: 17px; }

/* ---------- 消息 ---------- */
.msg-row { display: flex; align-items: center; gap: 12px; padding: 13px 16px; background: #fff; transition: background .15s; }
.msg-row:active { background: #fafafc; }
.msg-row .av { width: 50px; height: 50px; border-radius: 16px; background: #eee center/cover; position: relative; flex: none; }
.msg-row .av .d { position: absolute; right: -2px; top: -2px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--rose); color: #fff; font-size: 10px; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.msg-row .txt { flex: 1; min-width: 0; }
.msg-row .txt .n { font-size: 15px; font-weight: 600; margin-bottom: 3px; display: flex; align-items: center; gap: 6px; }
.msg-row .txt .m { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-row .tm { font-size: 11px; color: #bcbcc8; align-self: flex-start; margin-top: 3px; }
.icon-row { display: flex; gap: 12px; }
.icon-row .ic { width: 50px; height: 50px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: #fff; flex: none; }
.ic.match { background: linear-gradient(135deg,#ff7a9c,#ff4d6d); }
.ic.notice { background: linear-gradient(135deg,#8b6cf3,#6a5ae0); }
.ic.team { background: linear-gradient(135deg,#3ddc84,#22b573); }

/* 聊天 */
.chat-page { display: flex; flex-direction: column; height: 100vh; height: 100dvh; background: #f4f5f9; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(0,0,0,.05); z-index: 10; }
.chat-head .av { width: 34px; height: 34px; border-radius: 11px; background: #eee center/cover; }
.chat-head .nm { font-weight: 600; font-size: 15px; }
.chat-head .st { font-size: 11px; color: var(--muted); }
.chat-body { flex: 1; overflow-y: auto; padding: 16px 14px 10px; -webkit-overflow-scrolling: touch; }
.bubble-row { display: flex; gap: 8px; margin-bottom: 14px; align-items: flex-end; }
.bubble-row.mine { flex-direction: row-reverse; }
.bubble-row .av { width: 32px; height: 32px; border-radius: 10px; background: #ddd center/cover; flex: none; }
.bubble { max-width: 68%; padding: 9px 13px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; background: #fff; word-break: break-word; white-space: pre-wrap; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.bubble-row.mine .bubble { background: linear-gradient(135deg, var(--rose), #ff6b57); color: #fff; }
.chat-input { display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); align-items: flex-end; }
.chat-input input { flex: 1; height: 42px; border-radius: 21px; background: #f3f4f8; border: 0; padding: 0 16px; font-size: 15px; }
.chat-input .send { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--rose), var(--orange)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 17px; flex: none; }
.chat-tip { text-align: center; font-size: 11px; color: #b3b3c0; margin: 4px 0 16px; }

/* ---------- 我的 ---------- */
.profile-hero { padding: 24px 18px 20px; background: linear-gradient(150deg, #ff5d7a 0%, #ff7d5a 55%, #ffa25b 100%); color: #fff; position: relative; overflow: hidden; }
.profile-hero::after { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.12); right: -70px; top: -100px; }
.profile-hero .row { position: relative; z-index: 1; }
.profile-hero .av { width: 66px; height: 66px; border-radius: 22px; border: 2.5px solid rgba(255,255,255,.6); background: #fff center/cover; flex: none; }
.profile-hero .nm { font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 7px; }
.profile-hero .sub { font-size: 12.5px; opacity: .88; margin-top: 4px; }
.profile-hero .edit { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.stat-row { display: flex; margin-top: 20px; position: relative; z-index: 1; }
.stat-row .s { flex: 1; text-align: center; }
.stat-row .s b { display: block; font-size: 18px; font-weight: 700; }
.stat-row .s span { font-size: 11.5px; opacity: .82; }
.vip-banner {
  margin: -14px 16px 0; padding: 15px 16px; border-radius: 18px; position: relative; z-index: 2;
  background: linear-gradient(120deg, #2b2416, #4a3a1d 55%, #6b5124); color: #ffdfa3;
  display: flex; align-items: center; gap: 12px; box-shadow: 0 14px 30px rgba(60, 42, 10, .28);
}
.vip-banner .ic { width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg,#ffd98a,#e5a52e); color: #52380a; display: flex; align-items: center; justify-content: center; font-size: 20px; flex: none; }
.vip-banner .t { flex: 1; font-size: 12px; opacity: .82; }
.vip-banner .t b { display: block; font-size: 14.5px; color: #ffe9bc; margin-bottom: 2px; }
.vip-banner .go { font-size: 12px; padding: 6px 12px; border-radius: 20px; background: linear-gradient(135deg,#ffd98a,#e5a52e); color: #4a3100; font-weight: 700; }

.menu-card { background: #fff; border-radius: var(--r); margin: 14px 16px; overflow: hidden; box-shadow: 0 4px 16px rgba(20,20,40,.05); }
.menu-item { display: flex; align-items: center; gap: 12px; padding: 15px 16px; border-bottom: 1px solid #f6f6fa; font-size: 15px; }
.menu-item:last-child { border-bottom: 0; }
.menu-item .ic { width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 17px; color: #fff; flex: none; }
.menu-item .ic.a { background: linear-gradient(135deg,#ffb199,#ff6a88); }
.menu-item .ic.b { background: linear-gradient(135deg,#a1c4fd,#5b8def); }
.menu-item .ic.c { background: linear-gradient(135deg,#ffd97d,#f2a93b); }
.menu-item .ic.d { background: linear-gradient(135deg,#b8e0d2,#66a182); }
.menu-item .ic.e { background: linear-gradient(135deg,#c3b4f7,#8b6cf3); }
.menu-item .ic.f { background: linear-gradient(135deg,#c8d6e5,#8395a7); }
.menu-item .lbl { flex: 1; }
.menu-item .val { font-size: 13px; color: var(--muted); }
.menu-item .arr { color: #c9c9d4; font-size: 14px; }

/* ---------- VIP ---------- */
.vip-hero { padding: 18px 20px 22px; background: linear-gradient(150deg, #2b2416, #4a3a1d 60%, #6b5124); color: #ffdfa3; text-align: center; position: relative; overflow: hidden; }
.vip-hero::before { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255,200,110,.22), transparent 70%); top: -120px; right: -60px; }
.vip-hero h2 { margin: 8px 0 5px; font-size: 22px; letter-spacing: 1px; }
.vip-hero p { margin: 0; font-size: 12.5px; opacity: .78; }
.vip-hero .crown { font-size: 34px; color: #ffd98a; }
.rights-card { margin: 4px 16px 0; background: #fff; border-radius: var(--r); padding: 16px; box-shadow: var(--shadow); }
.rights-card h4 { margin: 0 0 12px; font-size: 15px; display: flex; align-items: center; gap: 6px; }
.right-item { display: flex; align-items: center; gap: 9px; padding: 8px 0; font-size: 13.5px; color: var(--ink-2); border-bottom: 1px dashed #f2f2f7; }
.right-item:last-child { border-bottom: 0; }
.right-item .ck { width: 18px; height: 18px; border-radius: 50%; background: var(--rose-soft); color: var(--rose); display: flex; align-items: center; justify-content: center; font-size: 11px; flex: none; }
.vip-pay-bar { position: fixed; bottom: 0; left: 0; right: 0; margin: 0 auto; max-width: 480px; padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 9px; z-index: 45; }
.vip-pay-bar .pm { display: flex; gap: 8px; }
.vip-pay-bar .pm-opt {
  flex: 1; height: 36px; border-radius: 11px; border: 1.5px solid var(--line); background: #fff;
  display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-2);
}
.vip-pay-bar .pm-opt svg { width: 15px; height: 15px; opacity: .7; }
.vip-pay-bar .pm-opt i { font-style: normal; font-weight: 800; }
.vip-pay-bar .pm-opt.on { border-color: var(--rose); color: var(--rose); background: #fff5f7; }
.vip-pay-bar .pm-opt.on svg { opacity: 1; }
.vip-pay-bar .pm-opt.dis { opacity: .42; }
.vip-pay-bar .pb-row { display: flex; align-items: center; gap: 12px; }
.vip-pay-bar .p { flex: none; }
.vip-pay-bar .p b { font-size: 24px; color: var(--rose); }
.vip-pay-bar .p b i { font-size: 13px; font-style: normal; }
.vip-pay-bar .p > span { display: block; font-size: 11px; color: var(--muted); line-height: 1.3; }
.vip-pay-bar .btn { flex: 1; }

/* 支付方式选择层（会员 / 组局报名共用） */
.pay-opts { display: flex; flex-direction: column; gap: 10px; }
.pay-opt {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border-radius: 16px;
  background: #fff; border: 1.5px solid var(--line); text-align: left;
}
.pay-opt.dis { opacity: .45; }
.po-ic { width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: none; }
.po-ic svg { width: 20px; height: 20px; }
.po-ic.wx { background: #e8f8ee; color: #16a34a; }
.po-ic.bal { background: #fff1f4; color: var(--rose); }
.po-t { flex: 1; min-width: 0; }
.po-t b { display: block; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.po-t i { font-style: normal; display: block; font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.po-r { color: #c9c9d4; font-size: 18px; }


/* ---------- 分销 ---------- */
.dist-hero { padding: 22px 18px 26px; background: linear-gradient(150deg, #232a44, #37406a 60%, #4b3f7a); color: #fff; position: relative; overflow: hidden; }
.dist-hero .tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; background: rgba(255,255,255,.16); padding: 4px 10px; border-radius: 20px; }
.dist-hero h2 { margin: 12px 0 4px; font-size: 24px; }
.dist-hero .code {
  margin-top: 18px; background: rgba(255,255,255,.1); border: 1px dashed rgba(255,255,255,.28);
  border-radius: 14px; padding: 12px 14px; display: flex; align-items: center; gap: 10px;
}
.dist-hero .code .v { font-size: 19px; font-weight: 800; letter-spacing: 2px; flex: 1; }
.dist-hero .code .cp { font-size: 12px; background: #fff; color: #37406a; border-radius: 8px; padding: 6px 12px; font-weight: 600; }
.dist-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; margin: 14px 16px; box-shadow: var(--shadow); }
.dist-stats .s { background: #fff; padding: 16px 8px; text-align: center; }
.dist-stats .s b { display: block; font-size: 19px; color: var(--ink); }
.dist-stats .s span { font-size: 11.5px; color: var(--muted); }
.dist-off {
  display: flex; align-items: flex-start; gap: 8px; margin: 0 16px 14px; padding: 12px 14px;
  border-radius: 14px; background: #fff7e8; color: #9a6a1e; font-size: 12.5px; line-height: 1.75;
}
.dist-off svg { flex: none; font-size: 15px; margin-top: 2px; }
.team-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; border-bottom: 1px solid #f6f6fa; }
.team-row .av { width: 40px; height: 40px; border-radius: 13px; background: #eee center/cover; }
.team-row .lv { font-size: 10px; padding: 2px 7px; border-radius: 6px; background: #f2f3f8; color: var(--muted); }
.team-row .lv.v { background: #fff4e0; color: #b57e00; }
.team-row .lv.p { background: #f0ecff; color: #6a5ae0; }

/* ---------- 钱包 ---------- */
.wallet-card { margin: 16px; border-radius: 22px; padding: 22px; color: #fff; background: linear-gradient(135deg, #2b3556, #4a3f7a); position: relative; overflow: hidden; box-shadow: 0 16px 30px rgba(40,40,80,.24); }
.wallet-card::after { content: ''; position: absolute; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,.08); right: -60px; bottom: -100px; }
.wallet-card .l { font-size: 12px; opacity: .7; }
.wallet-card .n { font-size: 34px; font-weight: 700; margin: 4px 0 16px; letter-spacing: -.5px; }
.wallet-card .n i { font-size: 17px; font-style: normal; font-weight: 500; margin-right: 3px; }
.wallet-card .r { display: flex; gap: 24px; position: relative; z-index: 1; }
.wallet-card .r div { font-size: 11px; opacity: .7; }
.wallet-card .r b { display: block; font-size: 15px; opacity: 1; margin-top: 3px; }
.rec-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border-bottom: 1px solid #f6f6fa; }
.rec-row .ic { width: 36px; height: 36px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 17px; flex: none; background: #f4f5f9; color: var(--muted); }
.rec-row .ic.in { background: #eaf9f1; color: #22b573; }
.rec-row .ic.out { background: #fff0f2; color: var(--rose); }
.rec-row .m { flex: 1; }
.rec-row .m b { font-size: 14px; font-weight: 600; }
.rec-row .m span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.rec-row .amt { font-size: 16px; font-weight: 700; }
.rec-row .amt.in { color: #22b573; }
.rec-row .amt.out { color: var(--ink); }

/* ---------- 弹层 ---------- */
.toast {
  position: fixed; left: 50%; bottom: 100px; transform: translate(-50%, 20px); z-index: 200;
  background: rgba(22,22,30,.9); color: #fff; padding: 10px 18px; border-radius: 12px; font-size: 13.5px;
  opacity: 0; pointer-events: none; transition: .25s; max-width: 80%; text-align: center; backdrop-filter: blur(8px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.sheet-mask { position: fixed; inset: 0; background: rgba(16,12,26,.5); z-index: 100; display: flex; align-items: flex-end; animation: fade .2s; }
.sheet {
  width: 100%; max-width: 480px; margin: 0 auto; background: #fff; border-radius: 24px 24px 0 0;
  padding: 20px 18px calc(20px + env(safe-area-inset-bottom)); max-height: 86vh; overflow-y: auto;
  animation: up .28s cubic-bezier(.2,.9,.3,1);
}
@keyframes up { from { transform: translateY(100%); } to { transform: none; } }
.sheet h3 { margin: 0 0 4px; font-size: 17px; }
.sheet .sub { font-size: 12.5px; color: var(--muted); margin: 0 0 16px; }
.sheet .close { position: absolute; right: 16px; top: 16px; font-size: 20px; color: #b8b8c4; }
.modal-mask { position: fixed; inset: 0; background: rgba(16,12,26,.5); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 30px; animation: fade .2s; }
.dialog { width: 100%; max-width: 320px; background: #fff; border-radius: 20px; padding: 22px; animation: pop .25s; }
.dialog h3 { margin: 0 0 8px; font-size: 17px; text-align: center; }
.dialog p { margin: 0 0 18px; font-size: 13.5px; color: var(--muted); text-align: center; line-height: 1.6; }
.dialog .acts { display: flex; gap: 10px; }

/* 详情页 */
.detail-hero { height: 62vh; background-size: cover; background-position: center; position: relative; }
.detail-hero .g { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.18), transparent 30%, rgba(0,0,0,.75)); }
.detail-hero .back { position: absolute; top: 16px; left: 14px; width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,.32); backdrop-filter: blur(8px); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.detail-hero .bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 18px 22px; color: #fff; }
.detail-body { background: #fff; border-radius: 24px 24px 0 0; margin-top: -22px; position: relative; padding: 20px 18px 100px; }
.detail-body .sec { margin-bottom: 18px; }
.detail-body .sec h4 { margin: 0 0 8px; font-size: 13px; color: var(--muted); font-weight: 600; }
.detail-body .sec p { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--ink-2); }
.detail-actions { position: fixed; bottom: 0; left: 0; right: 0; margin: 0 auto; max-width: 480px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-top: 1px solid var(--line); display: flex; gap: 10px; z-index: 45; }

/* 表单内 chips */
.tag-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-pick span { padding: 7px 13px; border-radius: 10px; background: #f4f5f9; font-size: 12.5px; color: var(--muted); }
.tag-pick span.on { background: var(--rose-soft); color: var(--rose); font-weight: 600; }
.uploader { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.uploader .u { aspect-ratio: 1; border-radius: 12px; background: #f4f5f9 center/cover; position: relative; overflow: hidden; }
.uploader .u .del { position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; border-radius: 50%; background: rgba(0,0,0,.5); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; }
.uploader .add { aspect-ratio: 1; border-radius: 12px; border: 1.5px dashed #dcdce6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #b6b6c2; font-size: 11px; }
.uploader .add svg { font-size: 20px; }

.notice-item { display: flex; gap: 12px; padding: 14px 16px; background: #fff; border-bottom: 1px solid #f6f6fa; }
.notice-item .ic { width: 36px; height: 36px; border-radius: 12px; background: var(--rose-soft); color: var(--rose); display: flex; align-items: center; justify-content: center; font-size: 17px; flex: none; }
.notice-item .c { flex: 1; }
.notice-item .c b { font-size: 14px; }
.notice-item .c p { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.notice-item .c span { font-size: 11px; color: #c2c2ce; display: block; margin-top: 6px; }

/* 小屏适配（iPhone SE 等 667px 高度） */
@media (max-height: 730px) {
  .rec-head { padding: 8px 20px 6px; }
  .rec-head h1 { font-size: 21px; }
  .rec-ic { width: 34px; height: 34px; font-size: 18px; }
  .rcard { padding: 12px 14px 14px; border-radius: 26px; }
  .rcard-ava { width: 92px; height: 92px; }
  .rcard-id { gap: 12px; padding: 8px 2px 2px; }
  .rcard-who .nm { font-size: 18px; }
  .rcard-who .sub { margin-top: 4px; }
  .rcard-body { padding: 12px 14px 12px; border-radius: 20px; margin-top: 8px; }
  .score b { font-size: 23px; }
  .pref-line { margin-top: 7px; }
  .pref-tags { margin-top: 7px; }
  .rgal { margin-top: 8px; min-height: 104px; margin-right: 56px; }
  .quote { margin-top: 8px; font-size: 12.5px; -webkit-line-clamp: 2; }
  .rcard-acts { right: 6px; bottom: 62px; gap: 10px; }
  .ract { width: 44px; height: 44px; font-size: 19px; }
  .ract.like { font-size: 23px; }
  .rec-foot { padding: 8px 0 6px; }
  .deck-empty { padding: 20px; }
  .deck-empty .e { font-size: 38px; }
}

/* ==================== 我的（参考图重构） ==================== */
.me-page {
  min-height: calc(100vh - var(--tabbar-space));
  background:
    radial-gradient(120% 58% at 4% -8%, #ffe1ec 0%, rgba(255, 225, 236, 0) 58%),
    radial-gradient(90% 50% at 100% 4%, #e4f4ec 0%, rgba(228, 244, 236, 0) 60%),
    linear-gradient(180deg, #fdfbff 0%, #f7f7fb 44%, #f7f7fb 100%);
  padding-bottom: 10px;
}
.me-top { position: relative; padding: 30px 22px 2px; text-align: center; }
.me-halo {
  position: absolute; left: 50%; top: 16px; width: 194px; height: 194px; transform: translateX(-50%);
  background: radial-gradient(circle at 64% 36%, rgba(255, 199, 217, .9), rgba(214, 224, 255, .5) 46%, rgba(255, 255, 255, 0) 70%);
  filter: blur(7px); border-radius: 50%; pointer-events: none;
}
.me-av-wrap { position: relative; width: 92px; margin: 0 auto; }
.me-av {
  position: relative; width: 92px; height: 92px; border-radius: 50%;
  background-size: cover; background-position: center; background-color: #eee;
  border: 3px solid #fff; box-shadow: 0 14px 30px rgba(120, 80, 140, .18);
}
.me-cert {
  position: absolute; right: -2px; top: -2px; width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 14px; color: #fff;
  background: linear-gradient(135deg, #c9c3d6, #a9a1bb); border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(90, 70, 120, .22);
}
.me-cert.on { background: linear-gradient(135deg, #4fd39a, #17b978); }
.me-cert i {
  position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%;
  background: #fff; color: #17b978; font-size: 7px; font-style: normal; line-height: 11px;
  text-align: center; font-weight: 700;
}
.me-nm {
  position: relative; margin-top: 14px; font-size: 21px; font-weight: 800; letter-spacing: .5px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.me-vip {
  display: inline-flex; align-items: center; gap: 3px; height: 19px; padding: 0 7px; border-radius: 9px;
  font-size: 10px; font-weight: 700; background: linear-gradient(135deg, #ffe6a8, #f7b955); color: #7a4f00;
}
.me-vip.off { background: linear-gradient(135deg, #f3eff9, #e6dff2); color: #8b7fa6; }
.me-role { height: 19px; padding: 0 7px; border-radius: 9px; font-size: 10px; background: #efe9ff; color: #7a5cf0; display: inline-flex; align-items: center; }
.me-sub { position: relative; margin-top: 6px; font-size: 12.5px; color: #9a93a8; }
/* 会员 ID：展示 + 一键复制，方便用户报给客服或上级 */
.me-id {
  position: relative; margin-top: 10px; display: inline-flex; align-items: center; gap: 7px;
  height: 24px; padding: 0 10px; border-radius: 12px;
  background: rgba(255, 255, 255, .8); border: 1px solid rgba(196, 182, 219, .55);
  font-size: 11.5px; color: #837797; box-shadow: 0 4px 12px rgba(120, 90, 150, .08);
}
.me-id span { font-variant-numeric: tabular-nums; letter-spacing: .45px; font-weight: 600; color: #5b4b70; }
.me-id i { font-style: normal; font-size: 10px; color: #a98fd0; padding-left: 7px; border-left: 1px solid rgba(196, 182, 219, .65); }
.me-id:active { transform: scale(.97); background: rgba(255, 255, 255, .95); }
.me-pills { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 16px; }
.me-pill {
  display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 11px; border-radius: 17px;
  background: #fff; font-size: 12px; color: #3b3247; font-weight: 600; position: relative;
  box-shadow: 0 6px 16px rgba(80, 60, 110, .1); white-space: nowrap;
}
.me-pill svg { font-size: 13px; color: #7b6d8c; }
.me-pill.bride { background: linear-gradient(120deg, #fff0f5, #f3ecff); color: #a63d6b; }
.me-pill.bride svg { color: #e0638f; }
.me-pill .dot { position: absolute; right: 8px; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: #ff2d5e; }
.me-pill .orb { width: 16px; height: 16px; border-radius: 50%; background: conic-gradient(from 210deg, #c9b7ff, #ffc2d8, #b9f3d8, #c9b7ff); box-shadow: 0 0 8px rgba(180, 150, 255, .6); }
.me-body { padding: 16px 14px 0; }
.me-stats { display: flex; background: #fff; border-radius: 22px; padding: 18px 6px; box-shadow: 0 10px 26px rgba(80, 60, 110, .07); }
.me-stats .ms { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; position: relative; min-width: 0; }
.ms + .ms::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: #f0eef5; }
.ms b { font-size: 22px; font-weight: 800; letter-spacing: -.5px; color: #1f1a29; }
.ms span { font-size: 11.5px; color: #9a93a8; white-space: nowrap; }
.me-stats.five { padding: 16px 2px; }
.me-stats.five .ms { gap: 4px; }
.me-stats.five .ms b { font-size: 17.5px; letter-spacing: -.3px; }
.me-stats.five .ms b.money { font-size: 15px; color: #e0632f; }
.me-stats.five .ms span { font-size: 10.5px; }
.me-pop {
  width: 100%; margin-top: 14px; display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px;
  border-radius: 16px; background: linear-gradient(100deg, #efe4ff 0%, #f3e9ff 52%, #f7eefb 100%); color: #5a3fc0;
}
.me-pop .bolt { display: flex; font-size: 15px; color: #7a5cf0; background: #fff; width: 24px; height: 24px; border-radius: 12px; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(140, 110, 240, .22); }
.me-pop .t { flex: 1; text-align: left; font-size: 13px; font-weight: 600; color: #4a3a6a; }
.me-pop .go { font-size: 12px; color: #8a6ff0; }
/* 个人中心 VIP 专属卡片（我的相册上方） */
.me-vipcard {
  position: relative; width: 100%; margin-top: 14px; padding: 15px 15px 15px 17px;
  display: flex; align-items: center; gap: 12px; border-radius: 20px; overflow: hidden;
  text-align: left; color: #ffe6bd;
  background: linear-gradient(128deg, #2b2416 0%, #463718 55%, #6b5124 100%);
  box-shadow: 0 12px 26px rgba(60, 44, 12, .24);
}
.me-vipcard::before {
  content: ''; position: absolute; width: 190px; height: 190px; border-radius: 50%;
  right: -70px; top: -110px; background: radial-gradient(circle, rgba(255, 205, 120, .3), transparent 70%);
}
.me-vipcard .vc-crown {
  position: relative; flex: none; width: 42px; height: 42px; border-radius: 14px; font-size: 21px;
  display: flex; align-items: center; justify-content: center; color: #4a3100;
  background: linear-gradient(135deg, #ffefc6, #e9b757); box-shadow: 0 6px 14px rgba(233, 183, 87, .32);
}
.me-vipcard.off .vc-crown { background: linear-gradient(135deg, #6c6250, #4a4437); color: #d6c9a6; box-shadow: none; }
.me-vipcard .vc-body { position: relative; flex: 1; min-width: 0; }
.me-vipcard .vc-name { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: #ffe6bd; letter-spacing: .2px; }
.me-vipcard .vc-name em { font-style: normal; font-size: 9.5px; font-weight: 700; padding: 1px 6px; border-radius: 7px; color: #4a3100; background: linear-gradient(135deg, #ffe6a8, #f7b955); }
.me-vipcard.off .vc-name em { background: rgba(255, 230, 168, .18); color: #cbbf9d; }
.me-vipcard .vc-sub { display: block; margin-top: 4px; font-size: 11.5px; color: rgba(255, 230, 189, .72); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-vipcard .vc-tags { display: flex; gap: 5px; margin-top: 7px; overflow: hidden; }
.me-vipcard .vc-tags i { font-style: normal; font-size: 10px; padding: 2px 7px; border-radius: 8px; color: #f0d9a8; background: rgba(255, 232, 190, .12); white-space: nowrap; }
.me-vipcard .vc-btn {
  position: relative; flex: none; height: 28px; padding: 0 12px; border-radius: 14px;
  display: flex; align-items: center; font-size: 11.5px; font-weight: 700; color: #4a3100;
  background: linear-gradient(135deg, #ffe6a8, #e9b757);
}
.me-vipcard.off .vc-btn { background: rgba(255, 230, 168, .16); color: #e8d6ac; }
.me-card { background: #fff; border-radius: 20px; margin-top: 12px; overflow: hidden; box-shadow: 0 8px 22px rgba(80, 60, 110, .06); }
.me-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 15px 14px; border-bottom: 1px solid #f6f4fa; font-size: 14.5px; font-weight: 600; color: #241f2e; text-align: left; }
.me-row:last-child { border-bottom: 0; }
.me-row .ic { width: 26px; height: 26px; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: #f7f5fb; color: #6b5d80; font-size: 16px; flex: none; }
.me-row b { flex: 1; font-weight: 600; }
.me-row .arr { color: #cfc9db; font-size: 17px; }
.me-row .val { font-size: 12.5px; color: #9a93a8; font-weight: 500; }
.me-row .val.soft { color: #a98ff2; }
.me-row .ok { font-size: 11px; color: #20b573; background: #e9faf1; border-radius: 8px; padding: 2px 7px; }
.me-row .dot { width: 7px; height: 7px; border-radius: 50%; background: #ff2d5e; margin-right: 2px; }
.me-row .thumbs { display: flex; gap: 5px; margin-right: 2px; align-items: center; }
.me-row .thumbs i { width: 32px; height: 32px; border-radius: 9px; background-size: cover; background-position: center; background-color: #f0eef5; }
.me-row .thumbs em { font-size: 11px; color: #b7b0c4; font-style: normal; }
.me-tagwrap { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.me-tag { height: 28px; line-height: 28px; padding: 0 11px; border-radius: 14px; background: #f6f2ff; color: #6d55c9; font-size: 12.5px; }
.me-prefcard { background: #faf8ff; border-radius: 14px; padding: 6px 14px; }
.me-prefcard div { display: flex; justify-content: space-between; padding: 8px 0; font-size: 13px; color: #8a8298; }
.me-prefcard b { color: #2b2433; font-weight: 600; }
.me-popcard { background: #faf8ff; border-radius: 14px; padding: 4px 14px 6px; }
.me-popcard .row { justify-content: space-between; padding: 8px 0; font-size: 13px; color: #7c7488; }
.me-popcard .row b { color: #2b2433; font-weight: 600; }
.me-popcard .total { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed #e6def7; margin-top: 4px; padding: 10px 0 8px; font-size: 13px; }
.me-popcard .total b { font-size: 20px; color: #7a5cf0; }
.me-poplist { margin-top: 12px; font-size: 12.5px; color: #8a8298; line-height: 2; }
.me-poplist div::before { content: '·'; margin-right: 6px; color: #c0aef5; }
.me-album { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-items: start; }
.me-album .im { aspect-ratio: 1; border-radius: 12px; background-size: cover; background-position: center; position: relative; }
/* 本地生活权益主图轮播（横向滑动） */
.uo-gal { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; margin-bottom: 10px; -webkit-overflow-scrolling: touch; }
.uo-gal-i { flex: 0 0 72%; height: 150px; border-radius: 12px; scroll-snap-align: start; background-size: cover; background-position: center; border: none; padding: 0; cursor: zoom-in; }
.of-imgs { display: flex; flex-wrap: wrap; gap: 8px; }
.of-imgs .of-img { width: 64px; height: 64px; border-radius: 10px; background: #f3f4f8 center/cover no-repeat; position: relative; border: none; padding: 0; }
.of-imgs .of-img b { position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; border-radius: 50%; background: rgba(24,20,30,.72); color: #fff; font-size: 11px; line-height: 18px; text-align: center; font-weight: 400; }
.me-album .im span { position: absolute; right: 6px; bottom: 6px; font-size: 10px; color: #fff; background: rgba(0, 0, 0, .35); padding: 1px 5px; border-radius: 6px; }
.me-authrow { display: flex; align-items: center; padding: 11px 0; border-bottom: 1px solid #f6f4fa; font-size: 13.5px; }
.me-authrow span { flex: 1; color: #6f6780; }
.me-authrow b { color: #241f2e; font-weight: 600; margin-right: 8px; }
.me-authrow i { font-style: normal; font-size: 11px; color: #c0b9cc; }
.me-authrow i.ok { color: #20b573; }

/* VIP 权益弹层（原「VIP 特权」卡片并入徽章后使用） */
.me-vipbig {
  width: 54px; height: 54px; margin: 4px auto 0; border-radius: 50%; font-size: 26px; color: #7a4f00;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #ffeec0, #f7c163); box-shadow: 0 10px 22px rgba(220, 160, 60, .32);
}
.me-rights { background: #faf8ff; border-radius: 14px; padding: 10px 14px; }
.me-right { display: flex; align-items: center; gap: 8px; padding: 7px 0; font-size: 13.5px; color: #3b3247; }
.me-right svg { font-size: 15px; color: #20b573; flex: none; }

/* 主办方申请 */
.org-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.org-cats .oc { height: 30px; line-height: 30px; padding: 0 12px; border-radius: 15px; background: #f4f2f9; color: #6f6780; font-size: 12.5px; }
.org-cats .oc.on { background: linear-gradient(120deg, #6b5bff, #9a7bff); color: #fff; font-weight: 600; }
.hintbox { margin-top: 14px; padding: 10px 12px; border-radius: 12px; background: #fff8ee; color: #a2743a; font-size: 12px; line-height: 1.7; }
.me-row .val.warn { color: #e0632f; }
.me-row .val.ok { color: #20b573; }

/* ==================== 广场（兴趣社区） ==================== */
.sq-page { background: #fff; min-height: calc(100vh - var(--tabbar-space)); padding-bottom: 6px; }
.sq-bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; background: rgba(255, 255, 255, .94); backdrop-filter: blur(16px); padding: 10px 16px 4px; }
.sq-tabs { display: flex; gap: 24px; flex: 1; }
.sq-tab { position: relative; font-size: 19px; font-weight: 700; color: #8b8b99; padding: 4px 0 10px; letter-spacing: -.3px; transition: color .2s; }
.sq-tab.on { color: #1f1a29; }
.sq-tab.on::after { content: ''; position: absolute; left: 2px; right: 2px; bottom: 0; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #ff4d6d, #ff8a5b); }
.sq-pub {
  display: inline-flex; align-items: center; gap: 3px; height: 32px; padding: 0 13px; border-radius: 16px;
  font-size: 12.5px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #ff6a8a, #ff4d6d);
  box-shadow: 0 8px 18px rgba(255, 77, 109, .28);
}
.sq-pub svg { font-size: 13px; }
.sq-list { padding: 2px 0 0; }
.sq-filter { display: flex; align-items: center; gap: 8px; padding: 6px 16px 2px; font-size: 12px; color: #9a93a8; }
.sq-filter .chip { background: #fff1f4; color: #ff4d6d; border-radius: 12px; height: 26px; padding: 0 10px; font-size: 12px; }
.sq-post { padding: 16px 16px 6px; border-bottom: 8px solid #f7f7fb; }
.sq-head-p { display: flex; align-items: center; gap: 10px; }
.sq-ava { width: 42px; height: 42px; border-radius: 50%; background-size: cover; background-position: center; background-color: #eee; flex: none; }
.sq-who { flex: 1; min-width: 0; }
.sq-nm { display: flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 700; color: #1f1a29; }
.sq-local { height: 18px; line-height: 18px; padding: 0 6px; border-radius: 5px; background: #ffeef3; color: #ff5b7f; font-size: 10px; font-weight: 600; }
.sq-meta { margin-top: 3px; font-size: 11.5px; color: #a8a2b3; }
.sq-time { font-size: 11px; color: #b9b3c4; align-self: flex-start; margin-top: 4px; }
.sq-del { color: #c9c3d4; font-size: 17px; padding: 4px; align-self: flex-start; }
.sq-text { margin: 12px 0 0; font-size: 15px; line-height: 1.72; color: #2b2634; white-space: pre-wrap; word-break: break-word; letter-spacing: .1px; }
.sq-gal { display: grid; gap: 5px; margin-top: 12px; }
.sq-gal.one { grid-template-columns: minmax(0, 64%); }
.sq-gal.one .im { aspect-ratio: 4 / 5; }
.sq-gal.two { grid-template-columns: 1fr 1fr; }
.sq-gal.two .im, .sq-gal.many .im { aspect-ratio: 1; }
.sq-gal.three { grid-template-columns: repeat(3, 1fr); }
.sq-gal.three .im { aspect-ratio: 1; }
.sq-gal.many { grid-template-columns: 1fr 1fr; }
.sq-gal .im { background-size: cover; background-position: center; background-color: #f1eff5; border-radius: 10px; position: relative; overflow: hidden; }
.sq-gal .im .more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(16, 12, 26, .42); color: #fff; font-size: 18px; font-weight: 700; }
.sq-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; font-size: 12.5px; color: #8d7cc4; }
.sq-foot { display: flex; align-items: center; gap: 18px; margin-top: 12px; padding-bottom: 6px; }
.sq-time2 { font-size: 11px; color: #beb8c9; }
.sq-foot .sp { flex: 1; }
.sq-act { display: inline-flex; align-items: center; gap: 5px; color: #8b8b99; font-size: 12.5px; }
.sq-act svg { font-size: 19px; }
.sq-act svg.line { fill: none; stroke: currentColor; stroke-width: 1.6; }
.sq-act.on { color: #ff4d6d; }
.sq-more { text-align: center; font-size: 11.5px; color: #bdb7c8; padding: 18px 0 10px; }
.sq-loading { display: flex; flex-direction: column; gap: 12px; padding: 16px; }
.sq-loading i { height: 148px; border-radius: 16px; display: block; background: linear-gradient(90deg, #f4f4f9 25%, #ecedf4 37%, #f4f4f9 63%); background-size: 400% 100%; animation: shimmer 1.4s infinite; }
.sq-empty { text-align: center; padding: 64px 24px; color: #9a93a8; }
.sq-empty .em { font-size: 42px; color: #ffd0da; margin-bottom: 10px; display: flex; justify-content: center; }
.sq-empty p { margin: 0 0 4px; font-size: 14.5px; color: #4a4356; font-weight: 600; }
.sq-empty span { font-size: 12px; }
.sq-empty .btn { margin-top: 16px; }
.sq-taghead { padding: 12px 18px 2px; display: flex; flex-direction: column; gap: 3px; }
.sq-taghead b { font-size: 17px; }
.sq-taghead span { font-size: 12px; color: #9a93a8; }
.sq-tagwrap { padding: 12px 16px 20px; }
.sq-tagpanel { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sq-tag { background: #faf8ff; border: 1px solid #f1ecfb; border-radius: 16px; padding: 14px; text-align: left; display: flex; flex-direction: column; gap: 5px; }
.sq-tag b { font-size: 14px; color: #3a2f52; }
.sq-tag span { font-size: 11px; color: #a79fbb; }
.sq-tag.on { border-color: #ffc9d5; background: #fff5f8; }
.sq-bell {
  position: relative; width: 32px; height: 32px; border-radius: 50%; background: #f6f4fa; color: #6b6478;
  font-size: 17px; display: flex; align-items: center; justify-content: center; margin-right: 8px; flex: none;
}
.sq-bell .dot { position: absolute; right: 6px; top: 5px; width: 7px; height: 7px; border-radius: 50%; background: #ff2d5e; border: 1.5px solid #fff; }
.img-viewer { width: 100%; max-width: 480px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.iv-box { width: 100%; aspect-ratio: 3 / 4; border-radius: 16px; background-size: cover; background-position: center; background-color: #1b1720; }
.iv-bar { display: flex; align-items: center; gap: 16px; color: #fff; font-size: 13px; }
.iv-bar button { color: #fff; font-size: 13px; background: rgba(255, 255, 255, .18); height: 32px; padding: 0 14px; border-radius: 16px; }

/* ==================== 组局 ==================== */
.grp {
  min-height: calc(100vh - var(--tabbar-space)); padding-bottom: 18px;
  background: linear-gradient(180deg, #fff6ea 0%, #fdfaf6 250px, #f6f7fb 100%);
}
.grp-top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: rgba(255, 247, 236, .9); backdrop-filter: blur(14px); }
.grp-city { display: inline-flex; align-items: center; gap: 3px; height: 34px; padding: 0 10px; border-radius: 17px; background: #fff; color: #4a3f33; font-size: 12.5px; font-weight: 600; box-shadow: 0 4px 12px rgba(180, 120, 60, .12); flex: none; }
.grp-city svg { font-size: 13px; color: #ff8a3d; }
.grp-search { flex: 1; display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 18px; background: #fff; box-shadow: 0 4px 14px rgba(180, 120, 60, .1); min-width: 0; }
.grp-search svg { font-size: 15px; color: #c9bdaf; flex: none; }
.grp-search input { flex: 1; border: 0; background: none; font-size: 13px; min-width: 0; }
.grp-search input::placeholder { color: #bcb2a6; }
.grp-svc { display: inline-flex; align-items: center; gap: 3px; height: 34px; padding: 0 10px; border-radius: 17px; background: #fff; color: #ff6a2f; font-size: 12px; font-weight: 700; box-shadow: 0 4px 12px rgba(180, 120, 60, .12); flex: none; }
.grp-svc svg { font-size: 13px; }
.grp-banner {
  position: relative; margin: 4px 14px 0; height: 134px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(115deg, #ffd36b, #ff9a3c 55%, #ff7a45); background-size: cover; background-position: center;
  box-shadow: 0 14px 28px rgba(255, 150, 60, .24);
}
.grp-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0) 56%); }
.gb-glass { position: relative; z-index: 2; padding: 18px 18px; max-width: 78%; }
.gb-tag { display: inline-block; height: 20px; line-height: 20px; padding: 0 8px; border-radius: 10px; background: rgba(255, 255, 255, .82); font-size: 10px; font-weight: 700; color: #c4571a; }
.gb-t { font-size: 23px; font-weight: 900; letter-spacing: .5px; line-height: 1.3; margin-top: 8px; color: #3b2200; }
.gb-s { margin-top: 6px; font-size: 12px; color: #6b4a1c; opacity: .9; }
.gb-orb { position: absolute; right: -26px; bottom: -38px; width: 144px; height: 144px; border-radius: 50%; background: radial-gradient(circle at 38% 34%, #fff6c9, #ffb84d 55%, #ff8b3d 100%); opacity: .55; filter: blur(2px); }
.grp-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px 0; margin: 14px 10px 0; padding: 12px 4px 8px; background: #fff; border-radius: 20px; box-shadow: 0 8px 22px rgba(120, 90, 60, .07); }
.gc { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 0; }
.gc-ic { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 23px; background: #f6f3ee; color: #5a5348; transition: transform .15s; }
.gc:active .gc-ic { transform: scale(.94); }
.gc-lb { font-size: 11px; color: #3e3a34; font-weight: 500; white-space: nowrap; }
.gc em { position: absolute; top: 2px; right: 8px; font-size: 9px; font-style: normal; background: #ff8a3d; color: #fff; height: 14px; min-width: 14px; padding: 0 4px; border-radius: 7px; line-height: 14px; text-align: center; }
.gc.on .gc-ic { background: linear-gradient(135deg, #ffd36b, #ff9a3c); color: #fff; box-shadow: 0 8px 16px rgba(255, 150, 60, .32); }
.gc.tone-blue .gc-ic { background: #eaf2ff; color: #3d7cf5; }
.gc.tone-green .gc-ic { background: #e9f7ef; color: #2fa56a; }
.gc.tone-orange .gc-ic { background: #fff0e4; color: #ff8a3d; }
.gc.tone-pink .gc-ic { background: #ffeaf0; color: #ff5b8a; }
.gc.tone-purple .gc-ic { background: #f1ecff; color: #7a5cf0; }
.gc.tone-gold .gc-ic { background: #fff6e2; color: #e2a118; }
.gc.tone-rose .gc-ic { background: #ffeef2; color: #ff4d6d; }
.gc.tone-violet .gc-ic { background: #f2edff; color: #8265e8; }
.gc.tone-cyan .gc-ic { background: #e6f7f8; color: #1e9aa8; }
.gc.tone-sand .gc-ic { background: #f7f1e6; color: #a9803f; }
.grp-sec { margin: 16px 14px 0; }
.grp-sec-h { display: flex; align-items: center; justify-content: space-between; padding: 0 2px 10px; }
.grp-sec-h b { font-size: 16.5px; font-weight: 800; color: #2b2420; }
.grp-sec-h span { font-size: 12px; color: #a49a8e; }
.grp-stars { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.grp-stars::-webkit-scrollbar { display: none; }
.gs { flex: none; width: 104px; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 6px 16px rgba(120, 90, 60, .1); text-align: left; }
.gs-pic { display: block; height: 116px; background-size: cover; background-position: center; background-color: #f0ece6; }
.gs-nm { padding: 6px 8px 0; font-size: 12px; font-weight: 700; color: #2b2420; display: flex; gap: 3px; align-items: center; }
.gs-nm i { font-style: normal; font-size: 9px; color: #fff; background: #ff8a3d; border-radius: 8px; padding: 0 4px; line-height: 14px; }
.gs-job { display: block; padding: 1px 8px 8px; font-size: 10px; color: #a49a8e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.grp-filter { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; font-size: 12px; color: #a49a8e; }
.grp-filter .chip { height: 26px; padding: 0 10px; border-radius: 13px; background: #fff1e6; color: #ff7a2f; font-size: 12px; }
.grp-list { display: flex; flex-direction: column; gap: 10px; }
.ga { display: flex; gap: 12px; background: #fff; border-radius: 18px; padding: 10px; box-shadow: 0 8px 20px rgba(120, 90, 60, .08); }
.ga-cover { position: relative; flex: none; width: 104px; height: 120px; border-radius: 14px; background-size: cover; background-position: center; background-color: #f0ece6; }
.ga-badge { position: absolute; left: 0; top: 0; height: 19px; padding: 0 8px; border-radius: 14px 0 12px 0; background: linear-gradient(135deg, #ff6a3d, #ff3d5e); color: #fff; font-size: 9.5px; font-weight: 700; display: flex; align-items: center; }
.ga-mine { position: absolute; right: 6px; bottom: 6px; height: 18px; padding: 0 6px; border-radius: 9px; background: rgba(32, 181, 115, .92); color: #fff; font-size: 9.5px; display: flex; align-items: center; }
.ga-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ga-title { font-size: 14.5px; font-weight: 700; line-height: 1.4; color: #241f1a; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ga-meta { display: flex; gap: 6px; margin-top: 5px; font-size: 11px; color: #8f8579; min-width: 0; }
.ga-date { color: #ff6a3d; font-weight: 600; flex: none; }
.ga-clock { flex: none; }
.ga-addr { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 118px; }
.ga-cap { flex: none; color: #b3a99c; }
.ga-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; padding-top: 6px; }
.ga-people { display: flex; align-items: center; }
.ga-people i { width: 18px; height: 18px; border-radius: 50%; background-size: cover; background-position: center; background-color: #eee; border: 1.5px solid #fff; margin-left: -6px; }
.ga-people i:first-child { margin-left: 0; }
.ga-people span { font-size: 10.5px; color: #a49a8e; margin-left: 4px; white-space: nowrap; }
.ga-buy { display: flex; align-items: center; gap: 6px; flex: none; }
.ga-price b { font-size: 15px; color: #ff3d3d; font-weight: 800; }
.ga-price b.free { color: #20b573; }
.ga-price i { font-style: normal; font-size: 9.5px; color: #b7ada1; }
.ga-btn { height: 28px; padding: 0 12px; border-radius: 14px; background: linear-gradient(135deg, #ff8a3d, #ff5f2e); color: #fff; font-size: 11.5px; font-weight: 700; box-shadow: 0 6px 14px rgba(255, 120, 50, .3); }
.ga-btn.on { background: #e9f8f0; color: #20b573; box-shadow: none; }
.ga-btn.off { background: #f0ece6; color: #b7ada1; box-shadow: none; }
.grp-empty { text-align: center; padding: 34px 20px; background: #fff; border-radius: 18px; color: #a49a8e; }
.grp-empty .em { font-size: 38px; margin-bottom: 6px; }
.grp-empty p { margin: 0; font-size: 14.5px; color: #3e3a34; font-weight: 600; }
.grp-empty span { display: block; font-size: 11.5px; margin: 4px 0 14px; }
.grp-skeleton { display: flex; flex-direction: column; gap: 10px; }
.grp-skeleton i { height: 140px; border-radius: 18px; display: block; background: linear-gradient(90deg, #f7f3ee 25%, #efe9e2 37%, #f7f3ee 63%); background-size: 400% 100%; animation: shimmer 1.4s infinite; }
.grp-more { text-align: center; padding: 14px 0 4px; font-size: 12px; color: #a49a8e; }
/* 组局详情 */
.sheet.gdet { padding: 0; max-height: 88vh; }
.gdet-cover { position: relative; height: 188px; background-size: cover; background-position: center; background-color: #efe9e2; }
.gdet-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .04), rgba(0, 0, 0, .58)); }
.gdet-head { position: absolute; left: 16px; right: 16px; bottom: 14px; color: #fff; display: flex; flex-direction: column; gap: 7px; align-items: flex-start; }
.gdet-head .ga-badge { position: static; border-radius: 9px; }
.gdet-title { font-size: 20px; font-weight: 800; line-height: 1.3; text-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.gdet-body { padding: 14px 18px 4px; }
.gdet-row { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid #f6f4f0; }
.gdet-row svg { font-size: 17px; color: #ff8a3d; margin-top: 3px; }
.gdet-row b { display: block; font-size: 13.5px; color: #241f1a; }
.gdet-row span { font-size: 11.5px; color: #a49a8e; }
.gdet-intro { margin: 12px 0 0; font-size: 13.5px; line-height: 1.78; color: #4a443c; white-space: pre-wrap; }
.gdet-people { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.gdet-faces { display: flex; }
.gdet-faces i { width: 24px; height: 24px; border-radius: 50%; background-size: cover; background-position: center; border: 2px solid #fff; margin-left: -7px; }
.gdet-faces i:first-child { margin-left: 0; }
.gdet-people span { font-size: 11.5px; color: #8f8579; }
.gdet-note { font-size: 11px; color: #b3a99c; line-height: 1.7; margin: 10px 0 0; }
.gdet-foot { position: sticky; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 12px 18px calc(14px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid #f3efe9; backdrop-filter: blur(10px); }
.gdet-price { flex: 1; }
.gdet-price b { font-size: 21px; color: #ff3d3d; font-weight: 800; }
.gdet-price b.free { color: #20b573; }
.gdet-price i { font-style: normal; font-size: 11px; color: #a49a8e; }
.gdet-foot .btn { width: auto; min-width: 144px; height: 44px; font-size: 15px; background: linear-gradient(135deg, #ff8a3d, #ff5f2e); box-shadow: 0 10px 20px rgba(255, 120, 50, .3); }
.gform h3 { margin-top: 2px; }
.gform .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gform select.input { appearance: none; background-image: none; }
.gsheet { padding: 4px 0 2px; }
.gsheet-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 0; border-bottom: 1px solid #f6f4fa; text-align: left; }
.gsheet-row .av { width: 40px; height: 40px; border-radius: 50%; background-size: cover; background-position: center; background-color: #eee; flex: none; }
.gsheet-row .m { flex: 1; display: flex; flex-direction: column; }
.gsheet-row b { font-size: 14px; }
.gsheet-row i { font-style: normal; font-size: 11.5px; color: #a49a8e; margin-top: 2px; }
.gsheet-row .arr { color: #cfc9db; font-size: 17px; }
.gmine { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f6f4fa; }
.gmine-cover { width: 56px; height: 56px; border-radius: 12px; background-size: cover; background-position: center; flex: none; }
.gmine .m { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.gmine b { font-size: 13.5px; }
.gmine i { font-style: normal; font-size: 11px; color: #a49a8e; margin-top: 2px; }
.gmine .g { font-size: 13px; color: #ff3d3d; font-weight: 700; }
.gmine .g.free { color: #20b573; }
.city-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.city-chip { height: 42px; border-radius: 12px; background: #f6f4fa; font-size: 13.5px; color: #4a4356; }
.city-chip.on { background: #fff1e6; color: #ff6a2f; font-weight: 700; }

/* 6 栏目下的底部导航微调（字号 / 图标略收，避免挤成一行） */
#tabbar .tab-item { font-size: 11px; }
#tabbar .tab-item svg { font-size: 21.5px; }

/* ==================== 组局：主办方入口 / 发布 / 中心 ==================== */
.grp-cta {
  display: flex; align-items: center; gap: 10px; width: calc(100% - 28px); margin: 4px 14px 14px;
  padding: 12px 14px; border-radius: 16px; text-align: left;
  background: linear-gradient(112deg, #fff1e4 0%, #ffe9f1 58%, #f4ecff 100%);
  border: 1px solid #ffe2cf;
}
.grp-cta > svg { font-size: 20px; color: #ff7a33; flex: none; }
.grp-cta .m { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.grp-cta .m b { font-size: 13.5px; color: #4a3222; font-weight: 700; }
.grp-cta .m i { font-style: normal; font-size: 11px; color: #9a7f6b; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.grp-cta .go { font-size: 12px; color: #ff6a2f; font-weight: 700; flex: none; }
.grp-sec-h .hacts { display: flex; gap: 12px; }
.grp-sec-h .hacts span { font-size: 12px; color: #a49a8e; }
.grp-sec-h .hacts span:active { color: #ff6a2f; }

/* 主办方中心 */
.org { min-height: 100vh; background: #f7f7fb; padding-bottom: 20px; }
.org-nav { background: transparent; }
.org-hero { margin: 0 14px; padding: 18px; border-radius: 22px; color: #fff; background: linear-gradient(135deg, #2f2a55, #5b4b96 60%, #8a6ad0); box-shadow: 0 14px 30px rgba(70, 55, 130, .28); }
.oh-top { display: flex; align-items: center; gap: 12px; }
.oh-av { width: 52px; height: 52px; border-radius: 50%; background-size: cover; background-position: center; border: 2px solid rgba(255, 255, 255, .6); flex: none; }
.oh-m { display: flex; flex-direction: column; }
.oh-m b { font-size: 17px; font-weight: 800; }
.oh-m i { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 11.5px; opacity: .8; margin-top: 4px; }
.oh-m i svg { font-size: 12px; }
.oh-stats { display: flex; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .18); }
.oh-stats div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.oh-stats b { font-size: 19px; font-weight: 800; }
.oh-stats span { font-size: 11px; opacity: .72; }
.org-body { padding: 14px; }
.org-pub { display: flex; align-items: center; justify-content: center; gap: 6px; height: 46px; border-radius: 16px; font-size: 15px; font-weight: 700; background: linear-gradient(135deg, #ff8a3d, #ff5f2e); box-shadow: 0 12px 24px rgba(255, 120, 50, .28); }
.org-pub svg { font-size: 17px; }
.org-list-h { font-size: 13.5px; font-weight: 700; color: #6d6478; padding: 18px 4px 10px; }
.gal { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px; padding: 10px; margin-bottom: 10px; box-shadow: 0 6px 18px rgba(80, 60, 110, .06); }
.gal.off { opacity: .62; }
.gal-cover { width: 58px; height: 58px; border-radius: 12px; background-size: cover; background-position: center; flex: none; }
.gal-m { flex: 1; display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.gal-m b { display: flex; align-items: center; gap: 4px; min-width: 0; font-size: 13.5px; font-weight: 700; color: #241f2e; }
.gal-m b .gal-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gal-m i { font-style: normal; font-size: 11px; color: #9a93a8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gal-m .gal-sub { color: #b0a8bd; }
.gal-ops { flex: none; }
.gal-btn { height: 28px; padding: 0 11px; border-radius: 14px; font-size: 11.5px; color: #6d6478; background: #f5f3f9; }

/* ==================== 会员四档权益 ==================== */
.vip-cur {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 5px 12px;
  border-radius: 14px; background: rgba(255, 217, 138, .14); border: 1px solid rgba(255, 217, 138, .32);
  font-size: 11.5px; color: #ffd98a;
}
/* ---------- 四档会员：2×2 两排卡片 ---------- */
.vip-limit {
  margin: 12px 15px 0; padding: 10px 13px; border-radius: 14px;
  background: #fff6e8; border: 1px solid #ffe3bd; color: #a5711c;
  font-size: 12.5px; line-height: 1.6;
}
.vip-grid-head {
  margin: 18px 15px 10px; display: flex; align-items: baseline; gap: 8px;
  font-size: 15px; font-weight: 800; color: var(--ink);
}
.vip-grid-head span { font-size: 11.5px; font-weight: 400; color: var(--muted); }
.vip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 15px; }
.vp-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: #fff; border-radius: 18px; padding: 13px 12px 11px;
  border: 1.5px solid transparent; box-shadow: 0 8px 20px rgba(24, 20, 40, .06); transition: .18s;
}
.vp-card.on {
  border-color: var(--rose); box-shadow: 0 12px 26px rgba(255, 77, 109, .16);
  background: linear-gradient(160deg, #fff 45%, #fff5f7);
}
.vp-mark {
  position: absolute; top: 0; right: 0; padding: 3px 9px; border-radius: 0 16px 0 10px;
  font-size: 9.5px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #ffb199, #ff6a88);
}
.vp-nm {
  font-size: 15px; font-weight: 800; color: var(--ink); padding-right: 32px;
  display: flex; align-items: center; gap: 5px; flex-wrap: wrap;
}
.vp-now {
  font-style: normal; font-size: 9.5px; font-weight: 600; padding: 2px 5px; border-radius: 6px;
  background: #fff3e4; color: #b8801a;
}
.vp-tag {
  margin-top: 6px; align-self: flex-start; max-width: 100%;
  padding: 2px 7px; border-radius: 8px; font-size: 10.5px; font-weight: 600; color: #fff;
  background: var(--c); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.vp-pr { margin-top: 9px; font-size: 23px; font-weight: 800; color: var(--c); letter-spacing: -.5px; line-height: 1.1; }
.vp-pr i { font-size: 12px; font-style: normal; font-weight: 700; }
.vp-pr span { font-size: 10px; font-weight: 500; color: #a9a9b6; margin-left: 2px; }
.vp-orig { min-height: 14px; margin-top: 2px; font-size: 10.5px; color: #b9b9c4; text-decoration: line-through; }
.vp-ben { flex: 1; margin-top: 8px; padding-top: 8px; border-top: 1px dashed #f1eef6; }
.vp-li { display: flex; gap: 5px; margin-bottom: 5px; font-size: 11px; color: #75758a; line-height: 1.5; }
.vp-li i { flex: none; width: 4px; height: 4px; border-radius: 50%; background: var(--c); margin-top: 6px; }
.vp-li span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vp-more { margin-top: 2px; font-size: 10.5px; font-weight: 600; color: var(--rose); }

/* 选中档位：完整权益面板 */
.vd-card {
  margin: 12px 15px 0; background: #fff; border-radius: 20px; padding: 16px;
  border: 1.5px solid #fbe7ec; box-shadow: 0 10px 24px rgba(24, 20, 40, .07);
}
.vd-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.vd-t { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.vd-t b { font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: .3px; }
.vd-t span { font-size: 11.5px; color: #9a93a8; }
.vd-p { flex: none; font-size: 22px; font-weight: 800; color: var(--c); letter-spacing: -.4px; }
.vd-p i { font-size: 12px; font-style: normal; font-weight: 700; }
.vd-p span { font-size: 10.5px; font-weight: 500; color: #a9a9b6; margin-left: 2px; }
.vd-intro { margin-top: 10px; padding: 9px 11px; border-radius: 12px; background: #fafafd; font-size: 12px; color: #75758a; line-height: 1.6; }
.vd-list { list-style: none; margin: 12px 0 0; padding: 0; }
.vd-list li { display: flex; gap: 9px; padding: 6px 0; font-size: 13px; color: var(--ink-2); line-height: 1.62; }
.vd-list li i {
  flex: none; width: 17px; height: 17px; border-radius: 6px; margin-top: 2px;
  background: var(--rose-soft); color: var(--rose); font-size: 10px; font-weight: 700; font-style: normal;
  display: flex; align-items: center; justify-content: center;
}
.vd-btn {
  width: 100%; height: 42px; margin-top: 14px; border-radius: 13px; font-size: 14px; font-weight: 700;
  color: #fff; background: linear-gradient(135deg, #ff7a9c, #ff4d6d); box-shadow: 0 10px 20px rgba(255, 77, 109, .22);
}
.vd-btn.dis { background: #f1f0f6; color: #9b98ac; box-shadow: none; }
.vip-pay-bar .btn.dis { background: #e9e8f0; color: #8d8a9c; box-shadow: none; }

/* ==================== 推广海报 ==================== */
.poster-entry {
  display: flex; align-items: center; gap: 12px; width: calc(100% - 32px); margin: 0 16px 14px;
  padding: 13px 14px; border-radius: 18px; text-align: left;
  background: linear-gradient(115deg, #fff2f5 0%, #f8f0ff 100%); border: 1px solid #ffe1e9;
}
.pe-ic {
  width: 40px; height: 40px; border-radius: 13px; flex: none; color: #fff;
  background: linear-gradient(135deg, #ff8fa8, #ff4d6d);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 16px rgba(255, 77, 109, .26);
}
.pe-ic svg { font-size: 19px; }
.pe-t { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.pe-t b { font-size: 14px; font-weight: 700; color: #33263c; }
.pe-t i { font-style: normal; font-size: 11.5px; color: #9a93a8; margin-top: 3px; }
.pe-go { font-size: 12.5px; font-weight: 700; color: var(--rose); flex: none; }

.sheet.poster { padding: 20px 18px calc(18px + env(safe-area-inset-bottom)); }
.poster-box {
  margin: 6px 0 10px; border-radius: 18px; background: #f4f3f9; overflow: hidden;
  display: flex; align-items: center; justify-content: center; min-height: 220px; max-height: 54vh;
}
.poster-box img { display: block; max-width: 100%; max-height: 54vh; width: auto; }
.poster-sk { width: 100%; height: 320px; background: linear-gradient(100deg, #f1eff8 30%, #faf9ff 50%, #f1eff8 70%); background-size: 200% 100%; animation: skmove 1.2s infinite linear; }
@keyframes skmove { from { background-position: 120% 0; } to { background-position: -20% 0; } }
.poster-tip { font-size: 11.5px; color: #9a93a8; text-align: center; line-height: 1.7; padding: 0 6px; }
.poster-acts { display: flex; gap: 10px; margin-top: 14px; }
.poster-acts .btn { flex: 1; height: 44px; }
.poster-acts .btn[disabled] { opacity: .45; }

/* ==================== 活动详情页 ==================== */
.act-page { min-height: 100vh; background: #f6f7fb; padding-bottom: 96px; }
.act-hero { position: relative; height: 300px; background-size: cover; background-position: center; background-color: #ddd; }
.act-hero-mask { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,8,20,.3) 0%, rgba(12,8,20,.04) 34%, rgba(12,8,20,.8) 100%); }
.act-back, .act-share {
  position: absolute; top: 14px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(20,14,30,.34); backdrop-filter: blur(8px); color: #fff;
  display: flex; align-items: center; justify-content: center; z-index: 3;
}
.act-back { left: 14px; }
.act-share { right: 14px; }
.act-back svg, .act-share svg { font-size: 17px; }
.act-hero-body { position: absolute; left: 18px; right: 18px; bottom: 16px; color: #fff; z-index: 2; }
.act-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.act-badge { font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 9px; background: linear-gradient(135deg, #ffb066, #ff5f2e); }
.act-cat { font-size: 10.5px; padding: 3px 9px; border-radius: 9px; background: rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.act-cat.off { background: rgba(0,0,0,.4); }
.act-hero h1 { margin: 0 0 6px; font-size: 23px; line-height: 1.34; letter-spacing: .2px; text-shadow: 0 2px 10px rgba(0,0,0,.3); }
.act-sub { font-size: 12.5px; opacity: .92; }
.act-body { position: relative; margin-top: -18px; padding: 0 14px 14px; display: flex; flex-direction: column; gap: 12px; }
.act-card { background: #fff; border-radius: 18px; padding: 16px; box-shadow: 0 8px 22px rgba(24,20,40,.06); }
.act-info { display: flex; flex-direction: column; gap: 14px; }
.ai-row { display: flex; gap: 11px; align-items: flex-start; position: relative; }
.ai-row > svg { font-size: 17px; color: #ff7a3d; margin-top: 2px; flex: none; }
.ai-row > div { display: flex; flex-direction: column; min-width: 0; padding-right: 54px; }
.ai-row b { font-size: 13.8px; font-weight: 700; word-break: break-all; }
.ai-row span { font-size: 11.5px; color: #9a93a8; margin-top: 3px; }
.ai-map { position: absolute; right: 0; top: 0; height: 26px; padding: 0 11px; border-radius: 13px; background: #f4f3f9; font-size: 11.5px; color: #5a5870; }
.act-bar { height: 5px; border-radius: 3px; background: #f2f1f7; overflow: hidden; }
.act-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #ff9a6c, #ff5f2e); }
.act-leader { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; }
.al-av { width: 44px; height: 44px; border-radius: 50%; background-size: cover; background-position: center; background-color: #eee; flex: none; }
.al-m { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.al-m b { font-size: 14px; }
.al-m i { font-style: normal; font-size: 11.5px; color: #9a93a8; margin-top: 3px; }
.al-go { color: #c9c9d4; font-size: 18px; }
.act-sec { background: #fff; border-radius: 18px; padding: 16px; box-shadow: 0 8px 22px rgba(24,20,40,.06); }
.act-sec h3 { margin: 0 0 12px; font-size: 15px; display: flex; align-items: center; gap: 7px; }
.act-sec h3::before { content: ''; width: 3px; height: 14px; border-radius: 2px; background: linear-gradient(#ff8a5b, #ff4d6d); }
.act-cnt { margin-left: auto; font-size: 11.5px; font-weight: 400; color: #a9a9b6; }
.act-text { margin: 0; font-size: 13.5px; color: #4a4655; line-height: 1.85; white-space: pre-wrap; word-break: break-word; }
.act-hl { display: flex; flex-wrap: wrap; gap: 8px; }
.act-hl span { display: inline-flex; align-items: center; gap: 5px; padding: 7px 11px; border-radius: 12px; background: #fff6f1; color: #9a5c33; font-size: 12.5px; }
.act-hl svg { font-size: 12px; color: #ff8a3d; }
.act-tl { position: relative; padding-left: 18px; }
.act-tl::before { content: ''; position: absolute; left: 5px; top: 7px; bottom: 8px; width: 1.5px; background: #f7dde7; }
.tl-item { position: relative; display: flex; flex-direction: column; gap: 3px; padding-bottom: 15px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item i { position: absolute; left: -18px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: #ff7a9c; box-shadow: 0 0 0 3px #ffeef3; }
.tl-item b { font-size: 12.5px; font-weight: 700; color: #ff5f7e; }
.tl-item span { font-size: 13.2px; color: #4a4655; line-height: 1.62; }
.act-inc { display: flex; flex-direction: column; gap: 9px; }
.act-inc div { display: flex; gap: 8px; font-size: 13px; color: #4a4655; line-height: 1.65; }
.act-inc svg { flex: none; margin-top: 2px; font-size: 14px; color: #20b573; }
.act-notice { margin: 0; padding-left: 19px; font-size: 12.8px; color: #6b6779; line-height: 1.9; }
.act-notice li { margin-bottom: 4px; }
.act-people { display: flex; flex-wrap: wrap; gap: 8px; }
.act-people span { width: 38px; height: 38px; border-radius: 50%; background-size: cover; background-position: center; background-color: #eee; border: 2px solid #fff; box-shadow: 0 3px 8px rgba(0,0,0,.08); }
/* 已上车头像虚化：内层图片 blur + 放大填充，外层裁圆保持边框清晰（防止认出具体是谁） */
.act-people span.blur-av { padding: 0; overflow: hidden; background: #eceaf2; }
.act-people span.blur-av i { display: block; width: 100%; height: 100%; background-size: cover; background-position: center;
  filter: blur(6px) saturate(.9); transform: scale(1.35); }
.act-blind-tip { display: flex; align-items: center; gap: 5px; margin: 11px 0 0; font-size: 11px; color: #a8a0b4; }
.act-blind-tip svg { font-size: 12px; }
/* 活动详情图文（主办方在发起组局里编辑） */
.act-detail { display: flex; flex-direction: column; gap: 12px; }
.act-detail .act-text { margin: 0; }
.act-detail .ad-img { display: block; width: 100%; border-radius: 12px; background: #f4f2f8; cursor: zoom-in; }
/* 往期回顾：两列网格 */
.act-rev { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.act-rev figure { margin: 0; border-radius: 13px; overflow: hidden; background: #f6f4f9; }
.act-rev img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; cursor: zoom-in; }
.act-rev figcaption { padding: 7px 9px; font-size: 11.5px; line-height: 1.45; color: #6b6478; }
/* 全屏查看图片 */
.img-zoom { position: fixed; inset: 0; z-index: 999; display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(12,10,18,.92); }
.img-zoom img { max-width: 100%; max-height: 100%; border-radius: 10px; }
.act-note { display: flex; gap: 9px; padding: 13px 14px; border-radius: 14px; background: #fff8ec; color: #8a6a2a; font-size: 12px; line-height: 1.75; }
.act-note svg { flex: none; margin-top: 1px; font-size: 15px; }
.act-rel { display: flex; flex-direction: column; gap: 10px; }
.ar-card { display: flex; align-items: center; gap: 11px; width: 100%; text-align: left; }
.ar-pic { width: 64px; height: 64px; border-radius: 13px; background-size: cover; background-position: center; background-color: #eee; flex: none; }
.ar-m { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ar-m b { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ar-m i { font-style: normal; font-size: 11.5px; color: #9a93a8; }
.ar-m em { font-style: normal; font-size: 12.5px; font-weight: 700; color: #ff5f2e; }
.act-foot-hint { text-align: center; font-size: 11px; color: #b3aec0; padding: 4px 0 6px; }
.act-bar-fixed {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.95); backdrop-filter: blur(14px); border-top: 1px solid #f0eef5;
}
.abf-price { display: flex; align-items: baseline; gap: 2px; min-width: 78px; }
.abf-price b { font-size: 23px; font-weight: 800; color: #ff4d6d; }
.abf-price b.free { font-size: 18px; color: #20b573; }
.abf-price i { font-style: normal; font-size: 11px; color: #a9a9b6; }
.abf-svc { height: 40px; padding: 0 15px; border-radius: 20px; background: #f4f3f9; font-size: 12.5px; color: #5a5870; }
.abf-btn { flex: 1; height: 44px; border-radius: 22px; font-size: 15px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #ff8a5b, #ff4d6d); box-shadow: 0 8px 20px rgba(255,77,109,.28); }
.abf-btn[disabled] { background: #dcdae4; box-shadow: none; }
.act-sk { padding: 0; }
.sk-cover { height: 300px; background: #eceaf3; }
.sk-line { height: 16px; margin: 16px; border-radius: 8px; background: #eceaf3; }
.sk-line.short { width: 45%; }
.sk-card { height: 120px; margin: 0 14px; border-radius: 18px; background: #eceaf3; }

/* 地区分成（主理人中心） */
.region-card { margin: 0 16px 14px; padding: 16px; background: #fff; border-radius: 16px; box-shadow: var(--shadow, 0 6px 20px rgba(23,26,34,.06)); }
.rc-title { font-size: 14.5px; font-weight: 800; display: flex; align-items: center; gap: 6px; }
.rc-badge { font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 8px; background: #eef4ff; color: #3b6fe0; }
.rc-mine { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 12px; background: #fafbfd; border-radius: 11px; font-size: 12.5px; }
.rc-mine span { color: var(--muted); }
.rc-mine b { font-size: 13.5px; }
.rc-mine i { font-style: normal; color: #b8801a; font-size: 11.5px; }
.rc-hit { margin-top: 10px; padding: 12px 13px; border-radius: 12px; background: linear-gradient(135deg, #fff3f6, #fff8f2); position: relative; }
.rc-hit .rh-l { font-size: 11.5px; color: #b8801a; letter-spacing: .3px; }
.rc-hit .rh-r { position: absolute; right: 13px; top: 10px; font-size: 22px; font-weight: 800; color: var(--rose); }
.rc-hit .rh-r b { font-size: 22px; }
.rc-hit .rh-t { font-size: 12.5px; color: var(--ink-2); margin-top: 4px; }
.rc-none { margin-top: 10px; padding: 11px 12px; border-radius: 11px; background: #fafbfd; font-size: 12.5px; color: var(--muted); }
.rc-list { margin-top: 12px; border-top: 1px solid var(--line); }
.rc-row { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid #f7f8fb; font-size: 12.5px; }
.rc-row .rr-tag { flex: none; width: 20px; height: 20px; line-height: 20px; text-align: center; border-radius: 6px; font-size: 10.5px; background: #f1f3f8; color: #5c6478; }
.rc-row .rr-tag.district { background: #ffeef3; color: #d8345a; }
.rc-row .rr-tag.city { background: #f0ecff; color: #6a5ae0; }
.rc-row .rr-tag.province { background: #fff6e6; color: #b8801a; }
.rc-row .rr-region { flex: 1; color: var(--ink-2); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-row .rr-rate { flex: none; font-weight: 700; color: #16b364; }
.rc-more { padding: 9px 0; font-size: 12px; color: var(--muted); text-align: center; }
.rc-tip { margin-top: 12px; font-size: 11.5px; color: var(--muted); line-height: 1.7; }
.pay-note { margin: 12px 0 0; font-size: 11.5px; color: #b8801a; line-height: 1.7; }

/* 主理人中心：返回钮与角色胶囊 */
.dist-back { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.22); color: #fff;
  font-size: 20px; line-height: 1; display: flex; align-items: center; justify-content: center; padding-bottom: 3px; }
.dist-back:active { transform: scale(.92); }
.role-chip { margin-left: 8px; font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 9px;
  background: rgba(255,255,255,.24); vertical-align: middle; letter-spacing: .2px; }

/* 微信一键登录 */
.wx-login-btn { width: 100%; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 9px;
  background: linear-gradient(135deg, #2bd66a, #07b04f); color: #fff; font-size: 15.5px; font-weight: 700;
  box-shadow: 0 10px 22px rgba(7, 176, 79, .26); letter-spacing: .3px;
  text-decoration: none; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
.wx-login-btn:active { transform: scale(.985); }
.wx-login-btn[disabled] { opacity: .72; }
.wx-login-btn .wx-ic { width: 21px; height: 21px; }
.wx-sep { display: flex; align-items: center; gap: 10px; margin: 18px 0 14px; }
.wx-sep i { flex: 1; height: 1px; background: var(--line); }
.wx-sep em { font-style: normal; font-size: 11.5px; color: var(--muted); }

/* 注册页邀请人卡片 */
.invite-card { display: flex; align-items: center; gap: 10px; margin: -2px 0 12px; padding: 10px 12px;
  border-radius: 13px; background: linear-gradient(135deg, #fff6f8, #fff); border: 1px solid #ffe0e7; }
.invite-card.bad { background: #fffaf0; border-color: #f6e3bf; color: #b8801a; font-size: 12.5px; display: block; line-height: 1.6; }
.invite-card .ic-ava { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #f3f1f8 center/cover no-repeat;
  display: flex; align-items: center; justify-content: center; color: #b9b4c7; font-size: 17px; }
.invite-card .ic-t { flex: 1; min-width: 0; }
.invite-card .ic-t b { display: block; font-size: 13.5px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.invite-card .ic-t span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.invite-card .ic-ok { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #ffe7ed; color: var(--rose);
  display: flex; align-items: center; justify-content: center; font-size: 13px; }

/* 主理人中心：我的上级 */
.bind-row { display: flex; align-items: center; gap: 8px; padding: 9px 11px; margin-bottom: 12px; border-radius: 11px;
  background: #fafbfd; font-size: 12.5px; color: var(--ink-2); }
.bind-row .br-l { color: var(--muted); flex: none; }
.bind-row b { color: var(--ink); font-size: 13px; }
.bind-row em { flex: 1; min-width: 0; font-style: normal; color: var(--muted); font-size: 11.5px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bind-row i { flex: none; font-style: normal; font-size: 10.5px; color: #16b364; background: #e9f9f0; padding: 2px 7px; border-radius: 8px; }
.bind-row.none { background: #fffaf0; }

/* ==================== 主办方中心：Tab / 订单 / 收益 ==================== */
.org-tabs { display: flex; gap: 6px; margin: 14px 14px 0; padding: 5px; border-radius: 16px; background: #fff; box-shadow: 0 6px 18px rgba(80, 60, 110, .06); }
.org-tabs .ot { flex: 1; height: 36px; border-radius: 12px; font-size: 13px; color: #8b8398; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 4px; }
.org-tabs .ot.on { background: linear-gradient(135deg, #2f2a55, #5b4b96); color: #fff; box-shadow: 0 6px 14px rgba(70, 55, 130, .24); }
.org-tabs .ot em { font-style: normal; font-size: 10px; min-width: 16px; height: 16px; line-height: 16px; padding: 0 4px; border-radius: 8px; background: #ffe7ee; color: #ff4d6d; }
.org-tabs .ot.on em { background: rgba(255, 255, 255, .22); color: #fff; }
.oh-stats.four .hl b { color: #ffd98a; }

.oi-hint { font-size: 11.5px; color: #9a93a8; padding: 2px 4px 10px; line-height: 1.6; }
.oi-card { background: #fff; border-radius: 18px; padding: 13px 14px 8px; margin-bottom: 11px; box-shadow: 0 6px 18px rgba(80, 60, 110, .06); }
.oi-top { display: flex; gap: 10px; align-items: flex-start; }
.oi-ava { width: 38px; height: 38px; border-radius: 50%; flex: none; background-size: cover; background-position: center; background-color: #f3f1f8; }
.oi-m { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.oi-m b { font-size: 13.5px; font-weight: 700; color: #241f2e; }
.oi-m i { font-style: normal; font-size: 11.5px; color: #6d6478; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oi-m em { font-style: normal; font-size: 10.5px; color: #b0a8bd; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oi-net { flex: none; text-align: right; display: flex; flex-direction: column; }
.oi-net b { font-size: 16px; font-weight: 800; color: #16b364; }
.oi-net span { font-size: 10px; color: #9a93a8; margin-top: 1px; }
.oi-bill { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: #faf9fd; display: flex; flex-direction: column; gap: 5px; }
.oi-bill > div { display: flex; justify-content: space-between; font-size: 12px; color: #6d6478; }
.oi-bill b { font-weight: 600; color: #241f2e; }
.oi-bill b.minus { color: #ff7a59; }
.oi-bill .sum { margin-top: 4px; padding-top: 7px; border-top: 1px dashed #e8e4f0; font-size: 12.5px; color: #241f2e; font-weight: 700; }
.oi-bill .sum b { font-size: 14px; color: #16b364; }
.oi-more { width: 100%; height: 34px; margin-top: 4px; display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 12px; color: #7a5cf0; }
.oi-more .arr { transition: .2s; display: inline-block; font-size: 11px; }
.oi-more.open .arr { transform: rotate(180deg); }
.oi-splits { display: flex; flex-direction: column; gap: 7px; padding: 9px 2px 5px; border-top: 1px dashed #eee9f6; }
.oi-splits[hidden] { display: none; }
.oi-sp { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: #6d6478; }
.oi-sp .lv { flex: none; height: 18px; line-height: 18px; padding: 0 6px; border-radius: 9px; font-size: 10px; font-weight: 700; }
.oi-sp .lv.l1 { background: #ffeef2; color: #ff4d6d; }
.oi-sp .lv.l2 { background: #efe9ff; color: #7a5cf0; }
.oi-sp .lv.l3 { background: #fff4e0; color: #d18700; }
.oi-sp .lv.l4 { background: #e6f4ff; color: #2f8fd8; }
.oi-sp b { font-weight: 600; color: #241f2e; flex: none; max-width: 84px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oi-sp em { flex: 1; min-width: 0; font-style: normal; font-size: 10.5px; color: #b0a8bd; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oi-sp i { flex: none; font-style: normal; font-size: 10.5px; color: #9a93a8; }
.oi-sp .amt { flex: none; width: 56px; text-align: right; font-weight: 700; color: #241f2e; }
.oi-sp.none { color: #b0a8bd; font-size: 11px; }

.inc-hero { padding: 18px; border-radius: 20px; color: #fff; background: linear-gradient(135deg, #2f2a55, #5b4b96 65%, #8a6ad0); box-shadow: 0 14px 30px rgba(70, 55, 130, .26); }
.inc-hero > span { font-size: 12px; opacity: .75; }
.inc-hero > b { display: block; font-size: 32px; font-weight: 800; letter-spacing: .5px; margin: 4px 0 14px; }
.inc-row { display: flex; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .18); }
.inc-row > div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.inc-row b { font-size: 15px; font-weight: 700; }
.inc-row span { font-size: 10.5px; opacity: .7; }
.inc-split { display: flex; margin-top: 11px; background: #fff; border-radius: 16px; padding: 13px 10px; box-shadow: 0 6px 18px rgba(80, 60, 110, .06); }
.inc-split > div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.inc-split span { font-size: 10.5px; color: #9a93a8; }
.inc-split b { font-size: 14px; font-weight: 700; color: #241f2e; }
.inc-split b.minus { color: #ff7a59; }
.inc-note { display: flex; gap: 7px; margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: #f6f3ff; color: #6d5b9e; font-size: 11px; line-height: 1.65; }
.inc-note svg { flex: none; font-size: 14px; margin-top: 1px; }
.inc-months { background: #fff; border-radius: 16px; padding: 4px 13px; box-shadow: 0 6px 18px rgba(80, 60, 110, .06); }
.inc-m { display: flex; align-items: center; gap: 8px; padding: 11px 0; border-bottom: 1px solid #f4f1f9; font-size: 12px; }
.inc-m:last-child { border-bottom: 0; }
.inc-m b { font-size: 12.5px; color: #241f2e; }
.inc-m i { flex: 1; font-style: normal; font-size: 10.5px; color: #b0a8bd; }
.inc-m span { font-weight: 700; color: #16b364; }
.inc-list { background: #fff; border-radius: 16px; padding: 2px 13px; box-shadow: 0 6px 18px rgba(80, 60, 110, .06); }
.inc-item { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid #f4f1f9; }
.inc-item:last-child { border-bottom: 0; }
.ii-l { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ii-l b { font-size: 12.5px; color: #241f2e; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ii-l i { font-style: normal; font-size: 10.5px; color: #b0a8bd; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inc-item > span { flex: none; font-size: 13.5px; font-weight: 800; color: #16b364; }
.org-empty { background: #fff; border-radius: 18px; padding: 34px 20px; text-align: center; box-shadow: 0 6px 18px rgba(80, 60, 110, .06); }
.org-empty .oe-ic { font-size: 30px; }
.org-empty p { font-size: 13.5px; font-weight: 700; color: #241f2e; margin: 9px 0 4px; }
.org-empty span { font-size: 11.5px; color: #9a93a8; line-height: 1.6; }
.oi-m em.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 10px; letter-spacing: -.1px; color: #a8a1b8; }

/* ===== 婚恋资料（注册资料采集应用到前端） ===== */
.pf-progress-card { background: #fff; border-radius: 16px; padding: 14px 16px; box-shadow: 0 4px 16px rgba(31,10,49,.06); }
.pf-progress-card .row { display: flex; justify-content: space-between; align-items: baseline; font-size: 14.5px; }
.pf-progress-card .row span { font-size: 12.5px; color: var(--muted); }
.pf-progress-card .bar { height: 8px; border-radius: 6px; background: #f0f1f7; margin: 10px 0; overflow: hidden; }
.pf-progress-card .bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--rose), #ff8fab); transition: width .4s; }
.pf-progress-card .tip { font-size: 12px; color: var(--muted); line-height: 1.7; }
.ps-section { background: #fff; border-radius: 16px; padding: 14px 16px 6px; margin-top: 12px; box-shadow: 0 4px 16px rgba(31,10,49,.05); }
.ps-h { display: flex; justify-content: space-between; align-items: center; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.ps-h b { font-size: 15px; }
.ps-h .lv { font-size: 11.5px; color: var(--rose); background: var(--rose-soft, #ffeef3); border-radius: 8px; padding: 3px 8px; }
.ps-note { font-size: 12px; color: var(--muted); margin: 8px 0 0; }
.ps-tip { font-size: 12px; color: #8a6a2a; background: #fff8ec; border-radius: 10px; padding: 8px 10px; margin-top: 8px; line-height: 1.7; }
.pf-field { padding: 12px 0 4px; border-bottom: 1px dashed var(--line); }
.pf-field:last-child { border-bottom: none; }
.pf-lb { display: flex; align-items: center; gap: 5px; margin-bottom: 7px; }
.pf-lb b { font-size: 13.5px; }
.pf-lb .req { color: var(--rose); font-style: normal; font-weight: 700; }
.pf-lb em { margin-left: auto; font-style: normal; font-size: 11.5px; }
.pf-lb em .ok { color: #2ba471; }
.pf-lb em .miss { color: var(--rose); }
.pf-lb em .opt { color: var(--muted); }
.pf-note { font-size: 11.5px; color: var(--muted); margin: -4px 0 6px; }
.pf-field .tag-pick { padding-bottom: 8px; }
.pf-upload { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; }
.pf-up-name { font-size: 12px; color: var(--muted); }

/* ===== 红娘系统 ===== */
.mm-hero { display: flex; gap: 12px; align-items: center; background: linear-gradient(135deg, #fff0f4, #ffe9f0); border-radius: 16px; padding: 14px; }
.mm-hero .av { width: 52px; height: 52px; border-radius: 18px; background-size: cover; background-position: center; background-color: #ffd3de; display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--rose); flex: none; }
.mm-hero b { font-size: 16px; }
.mm-hero .sub { font-size: 12px; color: var(--muted); margin-top: 3px; }
.mm-stats { display: flex; background: #fff; border-radius: 16px; margin-top: 12px; padding: 12px 0; box-shadow: 0 4px 16px rgba(31,10,49,.05); }
.mm-stats > div { flex: 1; text-align: center; }
.mm-stats b { display: block; font-size: 18px; }
.mm-stats span { font-size: 11.5px; color: var(--muted); }
.mm-tabs { display: flex; gap: 8px; margin: 14px 0 10px; }
.mm-tabs button { flex: 1; padding: 9px 0; border-radius: 12px; background: #fff; font-size: 13.5px; color: var(--muted); box-shadow: 0 2px 10px rgba(31,10,49,.04); }
.mm-tabs button.on { background: var(--rose); color: #fff; font-weight: 600; }
/* 会员端「我的红娘 / 情感咨询」标签（第 115 章） */
.mm-mtabs { display: flex; gap: 6px; padding: 10px 14px 2px; }
.mm-mtabs button { flex: 1; height: 36px; border-radius: 12px; background: #fff; font-size: 13.5px; color: var(--muted); box-shadow: 0 2px 10px rgba(31,10,49,.04); }
.mm-mtabs button.on { background: var(--rose); color: #fff; font-weight: 700; }
.mm-ai-card { display: flex; width: 100%; align-items: center; gap: 10px; margin-top: 12px; padding: 12px 14px;
  border-radius: 16px; background: linear-gradient(135deg,#f4ecff,#ffeaf2); text-align: left; }
.mm-ai-ic { width: 38px; height: 38px; flex: none; display: flex; align-items: center; justify-content: center;
  border-radius: 13px; background: #fff; color: #8b6cf3; }
.mm-ai-ic svg { width: 20px; height: 20px; }
.mm-ai-m { flex: 1; min-width: 0; }
.mm-ai-m b { display: block; font-size: 14px; font-weight: 800; }
.mm-ai-m em { display: block; margin-top: 3px; font-style: normal; font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.mm-ai-card .arr { color: #b9b3cc; font-size: 18px; flex: none; }
/* 情感咨询师卡片 */
.cs-card { background: #fff; border-radius: 16px; padding: 13px 14px; margin-bottom: 10px; box-shadow: 0 4px 16px rgba(31,10,49,.05); }
.cs-top { display: flex; align-items: center; gap: 10px; }
.cs-top .av { width: 46px; height: 46px; border-radius: 15px; background-size: cover; background-position: center; background-color: #eef1f8; display: flex; align-items: center; justify-content: center; font-size: 20px; flex: none; }
.cs-m { flex: 1; min-width: 0; }
.cs-m b { font-size: 14.5px; font-weight: 800; }
.cs-m b i { font-style: normal; margin-left: 6px; font-size: 11px; font-weight: 600; color: #8b6cf3; background: #f2ecff; padding: 2px 6px; border-radius: 7px; }
.cs-nm { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; min-width: 0; }
.cs-nm b { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; font-weight: 800; }
.cs-nm i { flex: 0 0 auto; max-width: 100%; font-style: normal; font-size: 11px; font-weight: 600; color: #8b6cf3; background: #f2ecff; padding: 2px 6px; border-radius: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-m span { display: block; margin-top: 4px; font-size: 11.5px; color: var(--muted); }
.cs-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.cs-tags i { font-style: normal; font-size: 11px; color: #c2527a; background: #fff0f5; padding: 3px 8px; border-radius: 8px; }
.cs-intro { margin: 9px 0 0; font-size: 12px; color: #6b687a; line-height: 1.7; }
.cs-sheet .cs-top { margin-bottom: 4px; }
.cs-way { margin-top: 12px; }
.cs-way .r { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid #f3f3f8; font-size: 13px; }
.cs-way .r span { color: var(--muted); font-size: 12px; }
.cs-way .r b { flex: 1; min-width: 0; font-weight: 700; }
.cs-way .r button { flex: none; padding: 5px 12px; border-radius: 9px; background: #fff0f4; color: var(--rose); font-size: 12px; font-weight: 700; }
.cs-qr { display: block; width: 150px; height: 150px; margin: 12px auto 0; border-radius: 12px; background: #fff; object-fit: contain; }
.cs-tip { margin: 12px 0 0; font-size: 11px; color: #a7abbb; line-height: 1.7; }
.cs-sheet .btn.block { margin-top: 12px; }
/* 咨询师入驻申请（第 135 章） */
.cs-apply { display: flex; align-items: center; gap: 11px; width: 100%; margin-top: 14px; padding: 14px; text-align: left;
  border-radius: 16px; background: linear-gradient(135deg, #f6efff, #ffeef4); border: 1px dashed #e2d3f7; }
.cs-apply.on { background: #f3faf6; border-color: #cfe9da; border-style: solid; }
.cs-apply-ic { width: 34px; height: 34px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 12px;
  background: #fff; color: #8b6cf3; font-size: 17px; font-style: normal; font-weight: 700; box-shadow: 0 2px 8px rgba(139,108,243,.14); }
.cs-apply.on .cs-apply-ic { color: #2ba471; }
.cs-apply-m { flex: 1; min-width: 0; }
.cs-apply-m b { display: block; font-size: 14px; font-weight: 800; color: #2b2340; }
.cs-apply-m em { display: block; margin-top: 4px; font-style: normal; font-size: 11.5px; color: #837d94; line-height: 1.6; }
.cs-apply .arr { flex: none; color: #b9b3c8; font-size: 16px; }
.cs-row2 { display: flex; gap: 8px; }
.cs-row2 > .field { flex: 1; min-width: 0; }
.cs-note { margin: 2px 0 10px; font-size: 11px; color: #a7abbb; line-height: 1.7; }
/* 情感咨询（第 136 章）：快捷入口 / 专业信息 / 付费解锁 / 需求单 */
.cs-quick { display: flex; gap: 8px; margin-top: 10px; }
.cs-quick-b { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 10px 11px; text-align: left;
  border-radius: 13px; background: #fff; border: 1px solid #eee2fb; }
.cs-quick-b.plain { background: #faf8ff; border-color: #f0ecfa; }
.cs-quick-b i { font-size: 17px; font-style: normal; flex: none; }
.cs-quick-b span { min-width: 0; }
.cs-quick-b b { display: block; font-size: 12.5px; font-weight: 800; color: #2b2340; }
.cs-quick-b em { display: block; margin-top: 2px; font-style: normal; font-size: 10.5px; color: #9a94ab; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-locktag { flex: none; font-size: 10.5px; color: #b08430; background: #fff6e2; border-radius: 8px; padding: 3px 7px; }
.cs-locktag.on { color: #2ba471; background: #eefaf3; }
.cs-foot { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding-top: 9px; border-top: 1px dashed #f0eef6; }
.cs-price { font-size: 14px; font-weight: 800; color: #e0324f; flex: none; }
.cs-price em { font-style: normal; font-size: 11px; font-weight: 600; color: #a7abbb; }
.cs-ways { flex: 1; min-width: 0; font-size: 10.5px; color: #9a94ab; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-stat { display: flex; gap: 6px; margin: 12px 0 2px; }
.cs-stat > div { flex: 1; text-align: center; background: #faf8ff; border-radius: 11px; padding: 8px 4px; }
.cs-stat b { display: block; font-size: 15px; font-weight: 800; color: #4a3a6b; }
.cs-stat span { display: block; margin-top: 2px; font-size: 10px; color: #9a94ab; }
.cs-sect { margin-top: 14px; }
.cs-sect h4 { margin: 0 0 6px; font-size: 12.5px; font-weight: 800; color: #2b2340; }
.cs-sect p { margin: 0; font-size: 12px; color: #6b687a; line-height: 1.75; white-space: pre-wrap; }
.cs-kv .r { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px solid #f5f4f9; font-size: 12.5px; }
.cs-kv .r:last-child { border-bottom: 0; }
.cs-kv .r span { flex: none; width: 82px; color: #9a94ab; font-size: 11.5px; }
.cs-kv .r b { flex: 1; min-width: 0; font-weight: 700; }
.cs-kv .r.col { display: block; }
.cs-kv .r.col > span { display: block; width: auto; margin-bottom: 5px; }
.cs-certs { display: flex; flex-direction: column; gap: 5px; }
.cs-certs i { font-style: normal; font-size: 11.5px; color: #5b5370; background: #f7f4ff; border-left: 2px solid #c4a7f5; border-radius: 0 8px 8px 0; padding: 5px 9px; line-height: 1.6; }
.cs-cert { display: block; width: 100%; max-height: 200px; object-fit: contain; margin-top: 8px; border-radius: 10px; background: #fafafa; }
.cs-lock { margin-top: 6px; text-align: center; background: linear-gradient(180deg, #fdf9ff, #fff6f9); border: 1px dashed #e6d6f8;
  border-radius: 14px; padding: 16px 14px 14px; }
.cs-lock i { display: block; font-size: 22px; font-style: normal; }
.cs-lock b { display: block; margin-top: 6px; font-size: 13.5px; font-weight: 800; color: #2b2340; }
.cs-lock span { display: block; margin: 6px 0 12px; font-size: 11.5px; color: #8d8699; line-height: 1.7; }
.cs-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.cs-chips button { padding: 7px 12px; border-radius: 10px; background: #f6f5fb; color: #6b687a; font-size: 12px; font-weight: 600; border: 1px solid transparent; }
.cs-chips button.on { background: #fff0f5; color: #d6316c; border-color: #ffd0e2; }
.cs-form-h { margin: 16px 0 8px; font-size: 12px; font-weight: 800; color: #8b6cf3; letter-spacing: .5px; }
.cs-form-h:first-child { margin-top: 0; }
.cs-up { display: flex; align-items: center; gap: 10px; }
.cs-up-i { width: 64px; height: 64px; flex: none; border-radius: 12px; background: #f6f5fb center/cover no-repeat; display: flex;
  align-items: center; justify-content: center; color: #b9b3c8; font-size: 20px; }
.cs-dm { background: #fff; border-radius: 15px; padding: 12px 14px; margin-bottom: 10px; box-shadow: 0 4px 16px rgba(31,10,49,.05); }
.cs-dm.on { border-left: 3px solid #9b3df5; }
.cs-dm-h { display: flex; align-items: center; gap: 8px; }
.cs-dm-h b { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 800; }
.cs-dm-h .st { flex: none; font-size: 10.5px; padding: 2px 8px; border-radius: 8px; background: #f4f5f9; color: #8b90a3; }
.cs-dm-h .st.s1 { background: #eefaf3; color: #2ba471; }
.cs-dm-h .st.s2 { background: #f0f0f6; color: #7b7590; }
.cs-dm-h .st.s3 { background: #fdf1f3; color: #c2527a; }
.cs-dm-c { margin: 7px 0 0; font-size: 12px; color: #5b5370; line-height: 1.7; }
.cs-dm-m { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.cs-dm-m i { font-style: normal; font-size: 10.5px; color: #8d8699; background: #f7f6fb; border-radius: 7px; padding: 2px 7px; }
.cs-dm-cs { display: flex; align-items: center; gap: 9px; margin-top: 10px; padding: 9px 10px; background: #faf7ff; border-radius: 12px; }
.cs-dm-cs .av { width: 34px; height: 34px; border-radius: 11px; background-size: cover; background-position: center; background-color: #eef1f8;
  display: flex; align-items: center; justify-content: center; font-size: 15px; flex: none; }
.cs-dm-cs b { display: block; font-size: 12.5px; font-weight: 800; }
.cs-dm-cs em { display: block; margin-top: 2px; font-style: normal; font-size: 11px; color: #9a94ab; }
.cs-dm-cs .ck { flex: none; font-size: 10.5px; color: #8b6cf3; }
.cs-dm-way { display: flex; gap: 8px; margin-top: 8px; }
.cs-dm-way button { flex: 1; min-width: 0; padding: 8px 10px; border-radius: 10px; background: #fff0f4; color: #d6316c;
  font-size: 11.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-dm-note { margin-top: 8px; font-size: 11.5px; color: #8b6cf3; background: #f7f3ff; border-radius: 9px; padding: 7px 9px; line-height: 1.6; }
.cs-dm-f { display: flex; align-items: center; margin-top: 9px; font-size: 10.5px; color: #a7abbb; }
.cs-dm-f button { margin-left: auto; }
.mm-card { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 16px; padding: 13px 14px; margin-bottom: 10px; box-shadow: 0 4px 16px rgba(31,10,49,.05); }
.mm-card .av { width: 46px; height: 46px; border-radius: 15px; background-size: cover; background-position: center; background-color: #f0f1f7; flex: none; }
.mm-card > div { flex: 1; min-width: 0; }
.mm-card b { font-size: 14.5px; }
.mm-card b .vip { font-style: normal; font-size: 10.5px; color: #b8860b; background: #fff4d6; border-radius: 6px; padding: 1px 5px; margin-left: 4px; }
.mm-card .sub { font-size: 12px; color: var(--muted); margin-top: 3px; }
.mm-card .tags { display: flex; gap: 6px; margin-top: 5px; flex-wrap: wrap; }
.mm-card .tags i { font-style: normal; font-size: 11px; border-radius: 6px; padding: 1px 6px; background: #f4f5f9; color: var(--muted); }
.mm-card .tags i.ok { background: #e7f7ef; color: #2ba471; }
.mm-card .tags i.miss { background: #ffeef3; color: var(--rose); }
.mm-card .arr { color: var(--muted); }
.mm-card.col { flex-direction: column; align-items: stretch; }
.mm-card.col .pair { display: flex; align-items: center; justify-content: center; gap: 8px; }
.mm-card.col .pair .av { width: 44px; height: 44px; }
.mm-card.col .pair span { color: var(--rose); font-size: 16px; }
.mm-card.col .names { text-align: center; font-size: 14px; margin-top: 8px; }
.mm-card.col .note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 4px; line-height: 1.6; }
.mm-card.col .foot { display: flex; align-items: center; gap: 8px; margin-top: 10px; border-top: 1px dashed var(--line); padding-top: 10px; }
.mm-card .st { font-size: 12px; color: var(--muted); background: #f4f5f9; border-radius: 8px; padding: 2px 8px; }
.mm-card .st.ok { background: #e7f7ef; color: #2ba471; }
.mm-card .st.bad { background: #f4f5f9; color: var(--muted); }
.mm-card .tm { font-size: 11.5px; color: var(--muted); margin-left: auto; }
.mm-ext .r { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.mm-ext .r:last-child { border-bottom: none; }
.mm-ext .r span { width: 108px; flex: none; color: var(--muted); font-size: 12.5px; }
.mm-ext .r b { flex: 1; font-weight: 500; word-break: break-all; }
.mm-follows .r { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; padding: 6px 0; color: var(--ink-2, #414658); }
.mm-follows .r i { font-style: normal; color: var(--muted); flex: none; }
.mm-follows .r span { line-height: 1.6; }
.sec-t2 { font-size: 14px; font-weight: 700; margin: 16px 0 10px; }
.inv-from { display: flex; gap: 10px; align-items: center; background: #fafbfd; border-radius: 12px; padding: 10px; margin-top: 8px; }
.inv-from .av { width: 40px; height: 40px; border-radius: 13px; background-size: cover; background-position: center; background-color: #f0f1f7; flex: none; }
.inv-from b { font-size: 13.5px; }
.inv-from .sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.dialog.wide { max-width: 430px; max-height: 82vh; display: flex; flex-direction: column; padding: 18px; }
.dialog.wide h3 { text-align: left; font-size: 16px; margin-bottom: 4px; }
.dialog.wide .dlg-body { overflow: auto; flex: 1; min-height: 0; padding: 4px 2px; }
.dialog.wide .dlg-acts { display: flex; gap: 8px; padding-top: 12px; }

/* ===== 婚恋资料分页向导（牵手风格） ===== */
.pfw { min-height:100vh; background:linear-gradient(180deg,#fff5f8 0%, #f6f7fb 260px); display:flex; flex-direction:column; }
.pfw-segs { display:flex; gap:5px; padding:0 18px; margin-top:2px; }
.pfw-segs i { flex:1; height:4px; border-radius:3px; background:#f3dde6; cursor:pointer; transition:all .3s; }
.pfw-segs i.done { background:linear-gradient(90deg,var(--rose),#ff8fab); }
.pfw-segs i.cur { background:linear-gradient(90deg,var(--rose),var(--orange)); box-shadow:0 2px 8px rgba(255,77,109,.35); }
.pfw-hero { padding:20px 18px 4px; }
.pfw-hero .step { font-size:12px; color:var(--rose); font-weight:700; letter-spacing:1px; }
.pfw-hero h2 { margin:6px 0 6px; font-size:24px; font-weight:800; letter-spacing:.5px; }
.pfw-hero .sub { font-size:12.5px; color:var(--muted); line-height:1.7; margin-top:2px; }
.pfw-body { flex:1; padding:4px 18px 100px; }
.pfw-body.in { animation:pfwIn .28s ease; }
.pfw-body.in-r { animation:pfwInR .28s ease; }
@keyframes pfwIn { from { opacity:0; transform:translateX(26px); } to { opacity:1; transform:none; } }
@keyframes pfwInR { from { opacity:0; transform:translateX(-26px); } to { opacity:1; transform:none; } }
.pfw .pf-field { background:#fff; border-radius:14px; padding:13px 14px 6px; margin-top:10px; border-bottom:none; box-shadow:0 3px 12px rgba(31,10,49,.05); }
.pfw .input, .pfw textarea.input { background:#f7f8fb; border-radius:10px; padding:10px 12px; border:1px solid transparent; }
.pfw .input:focus { border-color:#ffb9c9; background:#fff; }
.pfw-foot { position:fixed; left:50%; transform:translateX(-50%); width:100%; max-width:480px; bottom:0; padding:14px 14px calc(12px + env(safe-area-inset-bottom)); background:linear-gradient(180deg, rgba(246,247,251,0), #f6f7fb 40%); display:flex; gap:10px; z-index:6; }
.pfw-foot .btn { flex:1; height:48px; border-radius:26px; font-size:16px; width:auto; }
.pfw-foot .btn.primary { background:linear-gradient(135deg,var(--rose),#ff6a57); box-shadow:0 10px 22px rgba(255,77,109,.32); }
.pfw-foot .btn.ghost { background:#fff; border:1px solid #ffd3dd; color:var(--ink-2); flex:0 0 108px; }
.pfw-done { margin:10px auto 6px; display:flex; flex-direction:column; align-items:center; }
.pfw-done b { font-size:44px; font-weight:800; line-height:1.1; background:linear-gradient(100deg,#ff4d6d,#ff8a5b); -webkit-background-clip:text; background-clip:text; color:transparent; }
.pfw-done span { font-size:12px; color:var(--muted); margin-top:4px; }

/* 婚恋资料向导：图片上传 */
.pf-pics { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0 10px; }
.pf-pic { width: 64px; height: 64px; border-radius: 12px; background: #f0f1f7 center/cover no-repeat; border: 1px solid #e7e9f2; position: relative; }
.pf-pic i { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; background: rgba(22,22,26,.72); color: #fff; font-style: normal; font-size: 11px; display: flex; align-items: center; justify-content: center; }
.pf-pic.add { display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--rose); background: var(--rose-soft, #fff1f4); border: 1px dashed #ffb9c9; }
.pf-pic.add:disabled { opacity: .45; }
.pf-pic.solo { width: 76px; height: 76px; }

/* ===== 男女分开定价 / 名额 / 活动审核 ===== */
.ga-price b.gp-dual { display: flex; align-items: baseline; gap: 4px; font-size: 13.5px; }
.ga-price b.gp-dual i { font-style: normal; font-size: 11px; font-weight: 700; color: #ff7a8f; }
.abf-price b.act-dual { display: flex; flex-direction: column; line-height: 1.15; font-size: 15px; }
.abf-price b.act-dual i { font-style: normal; font-size: 11.5px; font-weight: 700; color: #ff7a8f; }
.act-gcap { display: block; font-style: normal; font-size: 11.5px; color: #9a93a8; margin-top: 3px; }

/* 发布表单：免费开关 */
.pb-switch { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #faf7fd; border: 1px solid #f0ebf6; margin: 6px 0 12px; }
.pb-switch .m { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.pb-switch .m b { font-size: 13.5px; color: #2b2637; }
.pb-switch .m i { font-style: normal; font-size: 11px; color: #a49cb0; line-height: 1.5; }
.pb-switch input { width: 20px; height: 20px; accent-color: #ff4d6d; flex: none; }
.pb-fee.off { opacity: .4; pointer-events: none; }

/* 主办方中心：审核状态 */
.gal-m b .gal-audit { display: inline-block; flex: none; margin-left: 2px; padding: 1px 6px; border-radius: 8px; font-size: 10px; font-weight: 600; }
.gal-audit.wait { background: #fff4e0; color: #c07a12; }
.gal-audit.no { background: #ffeef2; color: #e0455f; }
.gal-m .gal-reason { color: #e0455f; }
.gal-wait { font-size: 11px; color: #b0a8bd; white-space: nowrap; }
.org-list-h .org-audit-n { color: #c07a12; }
.org-list-h .org-audit-r { color: #e0455f; }

/* ===== 分销身份 / 主理人开通条件（与后台分享规则同步） ===== */
.dist-gate { margin: 0; padding: 18px 16px; border-radius: 18px; background: linear-gradient(160deg, #fff, #fff8fa); border: 1px solid #ffe6ee; box-shadow: 0 10px 26px rgba(255, 77, 109, .08); }
.dist-gate.wait { background: linear-gradient(160deg, #fffdf7, #fff6e6); border-color: #f6e8cc; box-shadow: none; }
.dg-head { display: flex; align-items: flex-start; gap: 10px; }
.dg-ic { width: 36px; height: 36px; border-radius: 12px; flex: none; display: flex; align-items: center; justify-content: center; font-size: 17px; color: #fff; background: linear-gradient(135deg, #ff8aa2, #ff4d6d); box-shadow: 0 6px 14px rgba(255, 77, 109, .28); }
.dist-gate.wait .dg-ic { background: linear-gradient(135deg, #f7c46a, #e79a22); box-shadow: 0 6px 14px rgba(231, 154, 34, .25); }
.dg-head > div { flex: 1; min-width: 0; }
.dg-head b { display: block; font-size: 15px; font-weight: 800; color: #241f2e; line-height: 1.35; }
.dg-head i { display: block; margin-top: 3px; font-style: normal; font-size: 11.5px; color: #9d93a8; }
.dg-mode { flex: none; font-size: 10.5px; font-weight: 700; color: #ff4d6d; background: #ffeef2; padding: 3px 8px; border-radius: 9px; }
.dg-price { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 2px; }
.dg-price b { font-size: 30px; font-weight: 800; color: #ff3d61; letter-spacing: -.5px; }
.dg-price s { font-size: 12.5px; color: #b9b3c2; }
.dg-price span { font-size: 11px; color: #a8a0b4; }
.dg-note { margin: 10px 0 14px; font-size: 12px; line-height: 1.75; color: #7d7488; }
.dist-gate .btn { width: 100%; height: 44px; border-radius: 14px; font-size: 14.5px; font-weight: 700; }
.dist-gate .btn.plain { height: 38px; font-size: 12.5px; }
.id-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-top: 10px; }
.id-card { padding: 12px 12px; border-radius: 13px; background: #fff; border: 1px solid #f0eef6; }
.id-card.off { opacity: .45; }
.id-head { display: flex; align-items: flex-start; gap: 4px; }
.id-head b { font-size: 13px; color: #2b2637; font-weight: 700; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.id-head span { flex: none; font-size: 9px; color: #a49cb0; background: #f6f4fa; border-radius: 6px; padding: 1px 4px; }
.id-rate { margin-top: 5px; font-size: 16px; font-weight: 800; color: #ff4d6d; }
.id-desc { margin-top: 4px; font-size: 10.5px; line-height: 1.55; color: #a8a0b4; }
.dist-mine { padding: 16px; border-radius: 18px; background: linear-gradient(160deg, #2f2a55, #5b4b96); color: #fff; box-shadow: 0 12px 26px rgba(70, 55, 130, .25); }
.dm-top { display: flex; align-items: center; gap: 8px; }
.dm-top b { font-size: 15.5px; font-weight: 800; }
.dm-top span { margin-left: auto; font-size: 12px; background: rgba(255, 255, 255, .18); padding: 3px 9px; border-radius: 10px; }
.dist-mine p { margin: 10px 0 0; font-size: 12px; line-height: 1.8; opacity: .82; }
.dm-paid { display: inline-block; margin-top: 10px; font-size: 10.5px; padding: 3px 8px; border-radius: 8px; background: rgba(255, 255, 255, .16); }

/* ===== 主办方中心：发起组局按钮（名字右侧） ===== */
.oh-pub { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 12px; border-radius: 12px; background: rgba(255, 255, 255, .94); color: #40386f; font-size: 12.5px; font-weight: 800; box-shadow: 0 8px 18px rgba(20, 15, 50, .18); }
.oh-pub svg { font-size: 13px; }
.oh-pub:active { transform: scale(.96); }

/* ===== 发起组局独立页 ===== */
.pub-page { min-height: 100vh; background: #f6f7fb; padding-bottom: 96px; }
.pub-nav { position: sticky; top: 0; z-index: 6; display: flex; align-items: center; height: 50px; padding: 0 12px; background: #fff; border-bottom: 1px solid #f1f0f6; }
.pub-nav .t { flex: 1; text-align: center; font-size: 15.5px; font-weight: 700; color: #241f2e; }
.pub-nav .nav-btn { width: 34px; height: 34px; }
.pub-hero { margin: 12px; padding: 18px; border-radius: 20px; color: #fff; background: linear-gradient(140deg, #2f2a55, #5b4b96 58%, #8a6ad0); box-shadow: 0 14px 28px rgba(70, 55, 130, .25); }
.pub-hero b { display: block; font-size: 19px; font-weight: 800; }
.pub-hero p { margin: 6px 0 0; font-size: 12px; line-height: 1.7; opacity: .8; }
.pub-hero .ph-org { display: inline-flex; align-items: center; gap: 5px; margin-top: 12px; font-size: 11px; padding: 4px 10px; border-radius: 10px; background: rgba(255, 255, 255, .16); }
.pub-sec { margin: 12px; padding: 16px; border-radius: 18px; background: #fff; box-shadow: 0 6px 18px rgba(80, 60, 110, .05); }
.pub-sec-h { display: flex; align-items: center; gap: 7px; margin-bottom: 12px; font-size: 13.5px; font-weight: 800; color: #2b2637; }
.pub-sec-h::before { content: ''; width: 3px; height: 13px; border-radius: 2px; background: #ff4d6d; }
.pub-sec-h em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 500; color: #a8a0b4; }
.pub-field { margin-bottom: 12px; }
.pub-field:last-child { margin-bottom: 0; }
.pub-field > label { display: block; margin-bottom: 6px; font-size: 12.5px; font-weight: 600; color: #5b5468; }
.pub-field > label i { font-style: normal; color: #ff4d6d; margin-left: 2px; }
.pub-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pub-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.pub-cat { display: flex; align-items: flex-start; gap: 9px; padding: 11px 10px; border-radius: 14px; border: 1.5px solid #f0eef6; background: #fbfaff; text-align: left; }
.pub-cat.on { border-color: #ff4d6d; background: #fff7f9; box-shadow: 0 8px 18px rgba(255, 77, 109, .12); }
.pub-cat .pc-ic { width: 30px; height: 30px; border-radius: 10px; flex: none; display: flex; align-items: center; justify-content: center; background: #f2edff; color: #8265e8; font-size: 14px; }
.pub-cat.on .pc-ic { background: #ffe7ee; color: #ff4d6d; }
.pub-cat .pc-m { min-width: 0; }
.pub-cat b { display: block; font-size: 13px; font-weight: 700; color: #2b2637; }
.pub-cat i { display: block; margin-top: 2px; font-style: normal; font-size: 10px; line-height: 1.5; color: #a49cb0; }
.pub-cat-intro { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: #f8f6fd; font-size: 11.5px; line-height: 1.7; color: #7d7488; }
.pub-switch { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #faf7fd; border: 1px solid #f0ebf6; }
.pub-switch .m { flex: 1; }
.pub-switch b { display: block; font-size: 13.5px; color: #2b2637; }
.pub-switch i { display: block; margin-top: 2px; font-style: normal; font-size: 10.5px; color: #a49cb0; }
.pub-switch input { width: 20px; height: 20px; accent-color: #ff4d6d; flex: none; }
.pub-fee.off { opacity: .38; pointer-events: none; }
.pub-tip { margin: 0 12px 12px; font-size: 11px; line-height: 1.8; color: #a49cb0; }
.pub-foot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9; display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid #f1f0f6; backdrop-filter: blur(10px); }
.pub-foot .btn { flex: 1; height: 46px; border-radius: 15px; font-size: 15px; font-weight: 700; }
.pub-empty { padding: 60px 24px; text-align: center; }
.pub-empty .em { font-size: 40px; }
.pub-empty p { margin: 12px 0 4px; font-size: 15px; font-weight: 700; color: #2b2637; }
.pub-empty span { font-size: 12px; color: #a49cb0; }

/* ===== 1 对 1 邀约优化 ===== */
.mm-inv-filter { display: flex; gap: 6px; margin-bottom: 10px; overflow-x: auto; }
.mm-inv-filter button { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 7px 12px; border-radius: 11px; background: #fff; font-size: 12.5px; color: #8b8398; box-shadow: 0 2px 8px rgba(31, 10, 49, .04); }
.mm-inv-filter button.on { background: #ff4d6d; color: #fff; font-weight: 700; }
.mm-inv-filter button em { font-style: normal; font-size: 10px; line-height: 1; padding: 2px 5px; border-radius: 7px; background: #f4f2f7; color: #8b8398; }
.mm-inv-filter button.on em { background: rgba(255, 255, 255, .26); color: #fff; }
.mm-arrow { color: #cbbfd3; font-weight: 400; }
.mm-card .mm-cancel { margin-left: auto; color: #ff4d6d; }
.mm-pend { font-style: normal; font-size: 10.5px; font-weight: 700; color: #c07a12; background: #fff4e0; border-radius: 8px; padding: 2px 7px; margin-left: 4px; }
.inv-ok { margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: #effaf4; color: #1f8f5e; font-size: 11.5px; line-height: 1.6; }
.iv-from { display: flex; gap: 10px; align-items: flex-start; padding: 11px; border-radius: 13px; background: #fff7fa; border: 1px solid #ffe6ee; margin-bottom: 10px; }
.iv-from .av { width: 40px; height: 40px; border-radius: 13px; background-size: cover; background-position: center; background-color: #ffd3de; flex: none; }
.iv-from b { display: block; font-size: 13.5px; color: #2b2637; }
.iv-from i { display: block; margin-top: 2px; font-style: normal; font-size: 11px; color: #a49cb0; }
.iv-from em { display: block; margin-top: 3px; font-style: normal; font-size: 11px; line-height: 1.6; color: #7d7488; }
.iv-list { display: flex; flex-direction: column; gap: 7px; max-height: 240px; overflow: auto; }
.iv-item { display: flex; align-items: center; gap: 9px; width: 100%; padding: 9px 10px; border-radius: 13px; border: 1.5px solid #f0eef6; background: #fbfaff; text-align: left; }
.iv-item.on { border-color: #ff4d6d; background: #fff7f9; }
.iv-item .av { width: 34px; height: 34px; border-radius: 11px; background-size: cover; background-position: center; background-color: #f0f1f7; flex: none; }
.iv-item .m { flex: 1; min-width: 0; }
.iv-item .m b { display: block; font-size: 13px; color: #2b2637; }
.iv-item .m i { display: block; margin-top: 1px; font-style: normal; font-size: 10.5px; color: #a49cb0; }
.iv-item .wait { flex: none; font-style: normal; font-size: 9.5px; color: #c07a12; background: #fff4e0; border-radius: 7px; padding: 2px 6px; }
.iv-item .ck { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #ded9e6; color: transparent; font-size: 11px; display: flex; align-items: center; justify-content: center; }
.iv-item.on .ck { background: #ff4d6d; border-color: #ff4d6d; color: #fff; }
.iv-tip { margin-top: 6px; font-size: 10.5px; color: #a49cb0; }

/* 地区分成：我的级别标签 */
.rc-list-t { padding: 10px 0 4px; font-size: 11.5px; font-weight: 700; color: var(--muted); letter-spacing: .3px; }

/* ==================== 分销中心：付费开通前数据遮掩 ==================== */
.dist-lock { position: relative; }
.dist-lock .dl-body { filter: blur(7px); opacity: .62; pointer-events: none; user-select: none; }
.dl-mask { position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: center;
  padding: 26px 16px 0;
  background: linear-gradient(180deg, rgba(255,255,255,.2) 0%, rgba(255,255,255,.62) 40%, rgba(255,255,255,.86) 100%); }
.dl-card { width: 100%; max-width: 340px; padding: 24px 18px 18px; border-radius: 20px; background: #fff;
  box-shadow: 0 16px 40px rgba(46,26,70,.16); text-align: center; }
.dl-card .dl-ic { width: 46px; height: 46px; margin: -46px auto 10px; border-radius: 50%;
  background: linear-gradient(135deg,#ffd9e2,#ffeef2); color: var(--rose);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px rgba(255,77,109,.22); }
.dl-card .dl-ic svg { width: 22px; height: 22px; }
.dl-card b { display: block; font-size: 16px; color: var(--ink); letter-spacing: .2px; }
.dl-card p { margin: 8px 0 14px; font-size: 12.5px; line-height: 1.7; color: var(--muted); }
.dl-card .btn { width: 100%; }
.dl-card .dl-note { display: block; margin-top: 9px; font-size: 11px; color: #b8801a; }
.lk-skel { display: flex; gap: 10px; align-items: center; padding: 12px 16px; background: #fff; border-bottom: 1px solid #f7f8fb; }
.lk-skel i { width: 38px; height: 38px; border-radius: 50%; background: #eceaf3; flex: none; }
.lk-skel div { flex: 1; }
.lk-skel b { display: block; width: 40%; height: 12px; border-radius: 6px; background: #eceaf3; }
.lk-skel span { display: block; width: 62%; height: 10px; margin-top: 7px; border-radius: 5px; background: #f2f0f7; }

/* ==================== 我的订单：分类 + 组局票券 ==================== */
.od-tabs { display: flex; gap: 8px; padding: 10px 16px 2px; overflow-x: auto; }
.od-tabs button { flex: none; padding: 7px 14px; border-radius: 999px; border: 1px solid #eee9f3;
  background: #fff; color: var(--ink-2); font-size: 12.5px; font-weight: 600; }
.od-tabs button.on { background: var(--rose); border-color: var(--rose); color: #fff; box-shadow: 0 6px 14px rgba(255,77,109,.22); }
.od-loading { padding: 44px 0; text-align: center; font-size: 12.5px; color: var(--muted); }
.od-card { margin: 12px 16px; padding: 14px; border-radius: 16px; background: #fff; box-shadow: 0 4px 16px rgba(46,26,70,.05); }
.od-top { display: flex; gap: 10px; align-items: flex-start; }
.od-cover { width: 54px; height: 54px; border-radius: 12px; background-size: cover; background-position: center; flex: none; }
.od-m { flex: 1; min-width: 0; }
.od-m b { display: block; font-size: 14.5px; color: var(--ink); line-height: 1.35;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.od-m i { display: block; margin-top: 4px; font-size: 11.5px; color: var(--muted); font-style: normal;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.od-amt { text-align: right; flex: none; }
.od-amt b { display: block; font-size: 15px; color: var(--ink); }
.od-amt span { display: block; margin-top: 3px; font-size: 10.5px; color: var(--muted); }
.od-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.od-tag { font-style: normal; font-size: 10px; padding: 2px 6px; border-radius: 6px; background: #f4f2f8; color: #7a7288; }
.od-tag.purple { background: #f0ecff; color: #6a5ae0; }
.od-tag.rose { background: #fff0f4; color: var(--rose); }
.od-tag.ok { background: #e9f9f0; color: #16a35e; }
.od-tag.wait { background: #fff7e6; color: #b8801a; }
.od-tag.warn { background: #fff1ef; color: #d9534f; }
.od-tag.gray { background: #f2f2f5; color: #9c96a8; }
.od-ticket { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px;
  border-radius: 12px; border: 1px dashed #f0d5dd; background: linear-gradient(135deg,#fff8fa,#fffdf9); }
.od-tk-l { flex: 1; min-width: 0; }
.od-tk-l .od-k { display: block; font-size: 10.5px; color: #b09aa4; letter-spacing: .5px; }
.od-tk-l b { display: block; margin-top: 3px; font-size: 21px; letter-spacing: 2.5px; color: var(--ink); }
.od-tk-l i { display: block; margin-top: 3px; font-size: 10.5px; color: var(--muted); font-style: normal; }
.od-qr { width: 74px; height: 74px; border-radius: 8px; background: #fff; padding: 3px; flex: none; }
/* 核销码点击放大（第 115 章） */
.od-ticket-btn { cursor: pointer; transition: transform .12s; }
.od-ticket-btn:active { transform: scale(.985); }
.od-zoom-dlg { width: min(88vw, 380px); }
.od-zoom { display: flex; flex-direction: column; align-items: center; padding: 6px 0 2px; }
.od-zoom-qr { width: min(62vw, 260px); height: min(62vw, 260px); border-radius: 14px; background: #fff; padding: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.od-zoom-noqr { width: 100%; padding: 22px 14px; border-radius: 14px; background: #f7f8fb; font-size: 12.5px; color: var(--muted); text-align: center; line-height: 1.7; }
.od-zoom-code { margin-top: 14px; font-size: 30px; font-weight: 800; letter-spacing: 5px; color: var(--ink); word-break: break-all; text-align: center; }
.od-zoom-tip { margin: 8px 0 0; font-size: 12px; color: var(--muted); text-align: center; line-height: 1.6; }
.od-fold { display: flex; width: 100%; align-items: center; justify-content: center; gap: 4px;
  margin-top: 10px; padding: 6px 0; border: 0; background: transparent; font-size: 11.5px; color: #9a93a8; }
.od-fold.open span { transform: rotate(180deg); }
.od-fold span { transition: transform .2s; }
.od-detail { margin-top: 6px; padding: 10px 12px; border-radius: 10px; background: #faf9fc; }
.od-detail > div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 11.5px; }
.od-detail > div span { color: var(--muted); flex: none; }
.od-detail > div b { font-weight: 600; color: var(--ink-2); text-align: right; word-break: break-all; }
.od-ops { display: flex; gap: 8px; margin-top: 12px; }
.od-ops .btn { flex: 1; height: 34px; font-size: 12.5px; }
.od-ops .btn.danger { color: #d9534f; border-color: #f6d6d2; }

/* ==================== 主办方：核销 / 退款 ==================== */
.ov-scan { margin: 14px 16px; padding: 18px 16px; border-radius: 18px;
  background: linear-gradient(135deg,#2b2637,#4a3a58); color: #fff; }
.ov-scan h4 { margin: 0; font-size: 15px; font-weight: 700; }
.ov-scan p { margin: 6px 0 14px; font-size: 11.5px; line-height: 1.6; opacity: .72; }
.ov-in { display: flex; gap: 8px; }
.ov-in input { flex: 1; height: 42px; padding: 0 12px; border-radius: 12px; border: 0;
  background: rgba(255,255,255,.14); color: #fff; font-size: 15px; letter-spacing: 2px; }
.ov-in input::placeholder { color: rgba(255,255,255,.45); letter-spacing: 0; }
.ov-in button { flex: none; height: 42px; padding: 0 16px; border-radius: 12px; border: 0;
  background: #fff; color: #2b2637; font-size: 13px; font-weight: 700; }
.ov-scan-btn { width: 100%; margin-top: 10px; height: 40px; border-radius: 12px; border: 1px solid rgba(255,255,255,.32);
  background: rgba(255,255,255,.08); color: #fff; font-size: 12.5px; }
.ov-res { margin: 0 16px 14px; padding: 16px; border-radius: 16px; background: #fff; box-shadow: 0 6px 20px rgba(46,26,70,.08); }
.ov-res .ovr-h { display: flex; align-items: center; gap: 10px; }
.ov-res .ovr-h b { font-size: 14.5px; }
.ov-res .ovr-h em { margin-left: auto; font-style: normal; font-size: 11px; padding: 3px 8px; border-radius: 8px; background: #e9f9f0; color: #16a35e; }
.ov-res .ovr-h em.no { background: #fff1ef; color: #d9534f; }
.ovr-row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 12px; }
.ovr-row span { color: var(--muted); }
.ovr-row b { font-weight: 600; }
.ovr-ops { display: flex; gap: 8px; margin-top: 12px; }
.ovr-ops .btn { flex: 1; height: 38px; font-size: 13px; }
.ov-list-h { padding: 4px 16px 8px; font-size: 12px; font-weight: 700; color: var(--muted); }
.ov-item { display: flex; align-items: center; gap: 10px; margin: 0 16px 8px; padding: 12px 14px;
  border-radius: 14px; background: #fff; }
.ov-item .ov-av { width: 36px; height: 36px; border-radius: 50%; background-size: cover; background-position: center; flex: none; }
.ov-item .ov-m { flex: 1; min-width: 0; }
.ov-item .ov-m b { display: block; font-size: 13px; }
.ov-item .ov-m i { display: block; margin-top: 3px; font-size: 11px; color: var(--muted); font-style: normal;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ov-item .ov-amt { font-size: 13px; font-weight: 700; color: var(--ink); }
.orf-card { margin: 0 16px 10px; padding: 14px; border-radius: 16px; background: #fff; }
.orf-top { display: flex; align-items: flex-start; gap: 10px; }
.orf-top .orf-m { flex: 1; min-width: 0; }
.orf-top b { display: block; font-size: 14px; }
.orf-top i { display: block; margin-top: 3px; font-size: 11.5px; color: var(--muted); font-style: normal; }
.orf-reason { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #fbf8ff;
  font-size: 12px; line-height: 1.6; color: #6b6478; }
.orf-ops { display: flex; gap: 8px; margin-top: 12px; }
.orf-ops .btn { flex: 1; height: 36px; font-size: 12.5px; }
.orf-ops .btn.danger { color: #d9534f; border-color: #f6d6d2; }
.orf-filter { display: flex; gap: 8px; padding: 10px 16px; }
.orf-filter button { flex: none; padding: 6px 13px; border-radius: 999px; border: 1px solid #eee9f3;
  background: #fff; font-size: 12px; color: var(--ink-2); }
.orf-filter button.on { background: #2b2637; border-color: #2b2637; color: #fff; }

/* ==================== 发起组局：AI 封面与补全 ==================== */
.pub-cover { position: relative; width: 100%; aspect-ratio: 3 / 2; border-radius: 14px; overflow: hidden;
  background: linear-gradient(135deg,#fff4f6,#f7f4ff); display: flex; align-items: center; justify-content: center; }
.pub-cover span { font-size: 12.5px; color: #b3abbe; }
.pub-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pub-cover-del { position: absolute; right: 8px; top: 8px; padding: 4px 10px; border-radius: 999px; border: 0;
  background: rgba(0,0,0,.42); color: #fff; font-size: 11px; }
.pub-cover-ops { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.pub-cover-ops .btn { flex: none; height: 34px; padding: 0 14px; font-size: 12.5px; }
.pub-cover-tip { font-size: 11px; color: #a8a0b4; line-height: 1.5; }

/* ==================== 发起组局：详情图文 / 往期回顾 ==================== */
.pub-hint { margin: 9px 0 0; font-size: 11px; line-height: 1.7; color: #a49cb0; }
.pub-rate { display: flex; align-items: center; gap: 8px; }
.pub-rate .input { flex: 1; min-width: 0; }
.pub-rate span { flex: none; font-size: 14px; font-weight: 700; color: #8b8399; }
.pub-empty-line { margin: 0; padding: 15px 12px; border-radius: 12px; background: #faf7fd;
  text-align: center; font-size: 12px; color: #a8a0b4; line-height: 1.6; }
.pub-detail-list { display: flex; flex-direction: column; gap: 10px; }
.pub-detail-ops { display: flex; gap: 8px; margin-top: 10px; }
.pub-detail-ops .btn { flex: none; height: 34px; padding: 0 13px; font-size: 12.5px; }
.pd-text textarea { width: 100%; min-height: 76px; resize: vertical; line-height: 1.7; }
.pd-ops { display: flex; justify-content: flex-end; gap: 6px; margin-top: 6px; }
.pd-ops button { padding: 4px 10px; border-radius: 9px; border: 1px solid #ece7f3; background: #fff;
  color: #7b7488; font-size: 11.5px; }
.pd-ops button:active { background: #f6f2fb; }
.pd-img { position: relative; margin: 0; border-radius: 12px; overflow: hidden; background: #f4f2f8; }
.pd-img img { display: block; width: 100%; }
.pd-img .pd-ops { position: absolute; right: 6px; top: 6px; margin: 0; }
.pd-img .pd-ops button { border: 0; background: rgba(28,22,38,.62); color: #fff; }
.pub-rev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pd-rev-pic { position: relative; display: block; aspect-ratio: 1; border-radius: 12px;
  background-size: cover; background-position: center; background-color: #f0eef5; }
.pd-rev-pic button { position: absolute; right: 6px; top: 6px; width: 24px; height: 24px; border-radius: 50%;
  border: 0; background: rgba(28,22,38,.6); color: #fff; font-size: 12px; line-height: 1; }
.pd-rev input.pd-rev-cap { margin-top: 6px; height: 32px; padding: 0 9px; font-size: 12px; }
.pub-ai { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px;
  background: linear-gradient(135deg,#fff0f5,#f3edff); color: #7c5cf0 !important; font-style: normal;
  font-size: 11px; font-weight: 600; }
.pub-ai svg { width: 12px; height: 12px; }
.pub-ai.busy { opacity: .6; }
.pub-ai-tip { margin: 0 16px 10px; padding: 10px 12px; border-radius: 12px; background: #f4f0ff;
  font-size: 11.5px; line-height: 1.6; color: #6a5ae0; }

/* ==================== 异业联盟 ==================== */
.un-page { background: var(--bg); min-height: 100vh; }
.un-head-btn { padding: 5px 10px; border-radius: 999px; border: 1px solid #eee9f3; background: #fff;
  font-size: 11.5px; color: var(--ink-2); }
.un-hero { margin: 10px 16px 4px; padding: 18px; border-radius: 20px; color: #fff;
  background: linear-gradient(135deg,#3b2f4a,#6b4f7a 55%,#a2607a); box-shadow: 0 12px 28px rgba(70,40,80,.22); }
.un-hero-m b { font-size: 18px; letter-spacing: .5px; }
.un-hero-m p { margin: 8px 0 12px; font-size: 11.5px; line-height: 1.6; opacity: .76; }
.un-hero-n { display: flex; gap: 18px; font-size: 11px; opacity: .8; }
.un-hero-n b { font-size: 15px; margin-right: 3px; }
.un-card-entry { width: 100%; margin-top: 14px; padding: 12px 14px; border-radius: 14px; border: 1px dashed rgba(255,255,255,.42);
  background: rgba(255,255,255,.1); color: #fff; text-align: left; }
.un-card-entry .uce-k { display: block; font-size: 10.5px; opacity: .72; }
.un-card-entry b { display: block; margin-top: 3px; font-size: 17px; letter-spacing: 2px; }
.un-card-entry i { display: block; margin-top: 3px; font-size: 10.5px; opacity: .72; font-style: normal; }
.un-cats { display: flex; gap: 8px; padding: 14px 16px 6px; overflow-x: auto; }
.un-cats button { flex: none; padding: 6px 13px; border-radius: 999px; border: 1px solid #eee9f3;
  background: #fff; font-size: 12px; color: var(--ink-2); }
.un-cats button.on { background: #2b2637; border-color: #2b2637; color: #fff; }
.un-list { padding: 6px 16px 0; }
.un-m { display: flex; width: 100%; align-items: center; gap: 11px; padding: 13px 12px; margin-bottom: 9px;
  border-radius: 16px; background: #fff; border: 0; text-align: left; box-shadow: 0 4px 14px rgba(46,26,70,.04); }
.un-logo { width: 50px; height: 50px; border-radius: 13px; background: linear-gradient(135deg,#ffd9e2,#ffeef2);
  background-size: cover; background-position: center; flex: none; display: flex; align-items: center;
  justify-content: center; font-size: 19px; font-weight: 700; color: #d95c7c; }
.un-m-m { flex: 1; min-width: 0; }
.un-m-m b { display: block; font-size: 14px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.un-m-m i { display: block; margin-top: 3px; font-size: 11px; color: var(--muted); font-style: normal;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.un-m-m em { display: inline-block; margin-top: 6px; padding: 2px 7px; border-radius: 6px;
  background: #fff2f5; color: var(--rose); font-style: normal; font-size: 10.5px; }
.un-m-r { text-align: right; flex: none; color: var(--muted); }
.un-m-r b { font-size: 14px; color: var(--ink); }
.un-m-r i { display: block; font-size: 10px; font-style: normal; }
.un-m-r .arr { display: block; margin-top: 2px; font-size: 15px; color: #c5bfd0; }
.un-apply-tip { display: flex; align-items: center; gap: 12px; margin: 14px 16px 0; padding: 14px;
  border-radius: 16px; background: #fff; }
.un-apply-tip div { flex: 1; }
.un-apply-tip b { display: block; font-size: 13px; }
.un-apply-tip span { display: block; margin-top: 3px; font-size: 11px; color: var(--muted); line-height: 1.5; }
.un-apply-tip .btn { flex: none; height: 34px; }

.un-detail { background: var(--bg); min-height: 100vh; }
.un-cover { position: relative; height: 200px; background-size: cover; background-position: center;
  background-color: #3b2f4a; overflow: hidden; }
.un-cover-word { position: absolute; right: 10px; top: 6px; font-size: 96px; font-weight: 800;
  color: rgba(255,255,255,.08); line-height: 1; letter-spacing: -4px; pointer-events: none; }
.un-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(0,0,0,.28),rgba(0,0,0,.52)); }
.un-back { position: absolute; left: 14px; top: 14px; z-index: 2; width: 34px; height: 34px; border-radius: 50%;
  border: 0; background: rgba(0,0,0,.32); color: #fff; display: flex; align-items: center; justify-content: center; }
.un-cover-m { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; color: #fff; }
.un-cover-m b { display: block; font-size: 19px; letter-spacing: .3px; }
.un-cover-m span { display: block; margin-top: 4px; font-size: 11.5px; opacity: .8; }
.un-info { margin: -18px 16px 0; position: relative; z-index: 3; padding: 16px; border-radius: 18px; background: #fff;
  box-shadow: 0 8px 24px rgba(46,26,70,.08); }
.un-info-h { display: flex; align-items: center; gap: 8px; }
.un-info-h b { font-size: 15px; color: var(--rose); }
.un-info-h em { margin-left: auto; font-style: normal; font-size: 10.5px; color: var(--muted); }
.un-info p { margin: 8px 0; font-size: 12.5px; line-height: 1.7; color: var(--ink-2); }
.un-row { display: flex; gap: 7px; align-items: flex-start; padding: 5px 0; font-size: 12px; color: var(--ink-2); }
.un-row span { color: #b3abbe; flex: none; }
.un-row span svg { width: 14px; height: 14px; }
.un-sec-h { margin: 18px 16px 8px; font-size: 13px; font-weight: 700; color: var(--ink); }
.un-offers { padding: 0 16px; }
.un-offer { display: flex; align-items: center; gap: 12px; padding: 13px 14px; margin-bottom: 9px;
  border-radius: 14px; background: #fff; }
.uo-l { flex: 1; min-width: 0; }
.uo-t { font-size: 13.5px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.uo-type { font-style: normal; font-size: 10px; padding: 2px 6px; border-radius: 6px; background: #f0ecff; color: #6a5ae0; }
.uo-type.gift { background: #e9f9f0; color: #16a35e; }
.uo-type.package { background: #fff7e6; color: #b8801a; }
.uo-l i { display: block; margin-top: 5px; font-size: 11px; color: var(--muted); font-style: normal; line-height: 1.5; }
.uo-left { display: block; margin-top: 6px; font-size: 10.5px; color: #b3abbe; }
.uo-r { text-align: right; flex: none; }
.uo-r b { font-size: 14px; color: var(--rose); }
.uo-off { display: block; margin-top: 3px; font-size: 10px; color: #b3abbe; font-style: normal; }
.un-none { padding: 20px; border-radius: 14px; background: #fff; font-size: 12px; color: var(--muted); text-align: center; }
.un-rel { display: flex; gap: 10px; padding: 0 16px; overflow-x: auto; }
.un-rel-i { flex: none; width: 108px; padding: 10px; border-radius: 14px; background: #fff; border: 0; text-align: left; }
.un-rel-i span { display: flex; align-items: center; justify-content: center; width: 100%; height: 66px;
  border-radius: 10px; background-size: cover; background-position: center; background-color: #f3eff8;
  font-size: 24px; font-weight: 700; color: #d95c7c; }
.un-rel-i b { display: block; margin-top: 7px; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.un-rel-i i { display: block; margin-top: 2px; font-size: 10.5px; color: var(--muted); font-style: normal;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.un-foot { position: sticky; bottom: 0; display: flex; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-top: 1px solid #f4f1f8; }
.un-foot .btn { flex: 1; height: 44px; }
.un-foot .btn.ghost { flex: 0 0 120px; }

.un-card-page { background: var(--bg); min-height: 100vh; }
.un-card-face { margin: 14px 16px; padding: 20px; border-radius: 20px; color: #fff;
  background: linear-gradient(135deg,#2b2233,#5c3f52 55%,#a2607a); box-shadow: 0 16px 34px rgba(60,30,60,.28); }
.ucf-top { display: flex; align-items: center; justify-content: space-between; }
.ucf-brand { font-size: 12px; letter-spacing: 1.5px; opacity: .82; }
.ucf-top em { font-style: normal; font-size: 10px; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.18); }
.ucf-no { margin: 26px 0 16px; font-size: 24px; letter-spacing: 4px; }
.ucf-meta, .ucf-foot { display: flex; justify-content: space-between; font-size: 10.5px; opacity: .72; }
.ucf-foot { margin-top: 8px; }
.un-qr-box { margin: 0 16px; padding: 20px; border-radius: 18px; background: #fff; text-align: center; }
.un-qr-box img { width: 180px; height: 180px; display: block; margin: 0 auto; }
.un-qr-box p { margin: 10px 0 0; font-size: 11.5px; color: var(--muted); line-height: 1.6; }
.un-tip { margin: 12px 16px; padding: 12px 14px; border-radius: 12px; background: #fff8ec;
  font-size: 11.5px; line-height: 1.7; color: #a5762a; }
.un-card-ops { display: flex; gap: 10px; padding: 6px 16px 0; }
.un-card-ops .btn { flex: 1; height: 44px; }
.un-empty-card { margin: 40px 24px; text-align: center; }
.un-empty-card .em { font-size: 46px; }
.un-empty-card b { display: block; margin-top: 12px; font-size: 16px; }
.un-empty-card p { margin: 8px 0 18px; font-size: 12px; color: var(--muted); line-height: 1.7; }
.un-merchant-bar { display: flex; align-items: center; gap: 10px; margin: 12px 16px; padding: 14px;
  border-radius: 16px; background: #fff; }
.umb-logo { width: 44px; height: 44px; border-radius: 12px; background-size: cover; background-position: center;
  background-color: #f3eff8; flex: none; display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 700; color: #d95c7c; }
.umb-m { flex: 1; min-width: 0; }
.umb-m b { display: block; font-size: 14px; }
.umb-m i { display: block; margin-top: 3px; font-size: 11px; color: var(--muted); font-style: normal; }
.un-merchant-bar em { font-style: normal; font-size: 10.5px; padding: 3px 8px; border-radius: 8px; }
.un-merchant-bar em.ok { background: #e9f9f0; color: #16a35e; }
.un-merchant-bar em.no { background: #fff7e6; color: #b8801a; }
.un-apply-hero { margin: 12px 16px 4px; padding: 16px; border-radius: 16px; background: #fff; }
.un-apply-hero b { font-size: 15px; }
.un-apply-hero p { margin: 6px 0 0; font-size: 11.5px; line-height: 1.7; color: var(--muted); }

/* ================= 省 / 市 / 区选择器 ================= */
.rg-mask .rg-sheet { padding: 0; max-height: 88vh; display: flex; flex-direction: column; overflow: hidden; }
.rg-head { position: relative; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 16px 10px; border-bottom: 1px solid #f3f1f6; }
.rg-head b { font-size: 16px; }
.rg-x { width: 30px; height: 30px; border: 0; background: transparent; color: #b4b0bd; padding: 0; }
.rg-loc { display: inline-flex; align-items: center; gap: 3px; border: 0; background: #fff0f4;
  color: #d95c7c; font-size: 12.5px; font-weight: 600; padding: 6px 10px; border-radius: 999px; }
.rg-loc svg { width: 13px; height: 13px; }
.rg-loc:disabled { opacity: .6; }
.rg-search { padding: 10px 14px; }
.rg-search input { width: 100%; height: 38px; border: 0; border-radius: 12px; background: #f6f5f9;
  padding: 0 14px; font-size: 13.5px; }
.rg-cols { flex: 1; display: flex; gap: 0; min-height: 260px; max-height: 46vh; overflow: hidden; }
.rg-col { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.rg-col + .rg-col { border-left: 1px solid #f5f3f8; }
.rg-i { padding: 11px 10px; font-size: 13px; color: #4a4658; text-align: center; line-height: 1.35; }
.rg-i.on { color: #d95c7c; font-weight: 700; background: #fff5f8; }
.rg-empty { padding: 24px 10px; text-align: center; color: #a9a4b4; font-size: 12.5px; }
.rg-result { flex: 1; max-height: 46vh; overflow-y: auto; }
.rg-r { padding: 12px 16px; font-size: 13.5px; color: #3b3748; border-bottom: 1px solid #f7f5fa; }
.rg-r:active { background: #fff5f8; }
.rg-foot { display: flex; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid #f3f1f6; }
.rg-cur { flex: 1; font-size: 13px; color: #a29dae; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rg-cur.on { color: #2b2734; font-weight: 600; }
.rg-foot .btn { width: 116px; flex: none; }
.rg-field { display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: left;
  color: #2b2734; background: #f6f5f9; }
.rg-field.ph { color: #a9a4b4; }
.rg-field i { font-style: normal; color: #c3bfcc; font-size: 15px; }

/* 联盟商家：头像与门店 / 产品图片 */
.un-logo-up { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: #faf8fc; }
.un-logo-prev { width: 56px; height: 56px; border-radius: 16px; flex: none; background-size: cover; background-position: center;
  background-color: #f2edf6; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #c9a8b6; }
.un-logo-tip { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.un-logo-tip b { font-size: 13.5px; color: #2b2734; }
.un-logo-tip span { font-size: 11.5px; color: #a9a4b4; }
.un-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.un-ph { position: relative; aspect-ratio: 1; border-radius: 12px; background-size: cover; background-position: center;
  background-color: #f6f3f9; border: 0; }
.un-ph .del { position: absolute; right: 4px; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(0,0,0,.55); color: #fff; font-size: 11px; line-height: 20px; text-align: center; }
.un-ph.add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: #b9b3c4; font-size: 22px; border: 1px dashed #ddd6e6; background: #fbfafd; }
.un-ph.add i { font-style: normal; font-size: 11px; }
.un-gal { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 4px; }
.un-gal-i { width: 104px; height: 104px; flex: none; border-radius: 14px; border: 0; background-size: cover; background-position: center; background-color: #f4f0f7; }
.un-view-sheet { background: transparent; padding: 0; max-height: none; }
.un-view { position: relative; display: flex; align-items: center; justify-content: center; }
.un-view img { max-width: 100%; max-height: 74vh; border-radius: 14px; }
.un-view svg { position: absolute; right: 6px; top: -34px; width: 22px; height: 22px; color: #fff; }
.un-sec-h .un-sec-more { float: right; border: 0; background: transparent; color: #d95c7c; font-size: 12px; font-weight: 600; padding: 0; }

/* ================= 聊天里的 AI 红娘 ================= */
.ic.ai { background: linear-gradient(135deg, #8f7bf0, #d95c7c); color: #fff; }
.ic.ai svg { width: 18px; height: 18px; }
.ai-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #7a5cc4; }
.ai-av { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #8f7bf0, #d95c7c) !important; }
.ai-av svg { width: 18px; height: 18px; color: #fff; }
.chat-head .ch-ai { color: #7a5cc4; }
.chat-head .ch-ai:disabled { opacity: .45; }
.ai-quick { display: flex; gap: 8px; overflow-x: auto; padding: 8px 14px; background: #fbfafd; border-top: 1px solid #f3f1f6; }
.ai-quick:empty { display: none; }
.ai-quick button { flex: none; border: 1px solid #eae5f4; background: #fff; color: #6b6280; font-size: 12.5px;
  padding: 7px 12px; border-radius: 999px; }
.ai-typing { display: inline-flex; gap: 4px; align-items: center; height: 16px; }
.ai-typing i { width: 5px; height: 5px; border-radius: 50%; background: #b9a9d8; animation: aibl 1s infinite; }
.ai-typing i:nth-child(2) { animation-delay: .15s; }
.ai-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes aibl { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.ai-sug { display: flex; flex-direction: column; gap: 10px; }
.ai-sug-i { text-align: left; border: 1px solid #eee8f6; background: #fbf9ff; border-radius: 14px; padding: 12px 14px;
  display: flex; flex-direction: column; gap: 4px; }
.ai-sug-i em { font-style: normal; font-size: 11px; color: #9a8ec0; font-weight: 600; }
.ai-sug-i span { font-size: 14px; color: #2b2734; line-height: 1.5; }
.ai-sug-i:active { background: #f5f0ff; }

/* 组局 Banner 轮播（最多 10 张） */
.gb-slides { position: absolute; inset: 0; }
.gb-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .55s ease; }
.gb-slide.on { opacity: 1; }
/* 后台可以传任意图片，加一层暖白渐变遮罩，保证标题文字在任何图上都读得清 */
.gb-slides::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(96deg, rgba(255, 252, 246, .9) 0%, rgba(255, 250, 242, .72) 38%, rgba(255, 248, 238, .26) 66%, rgba(255, 245, 232, .06) 100%),
    linear-gradient(to top, rgba(255, 250, 244, .42) 0%, rgba(255, 250, 244, 0) 44%); }
.gb-dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 9px; display: flex; justify-content: center; gap: 5px; }
.gb-dots { width: fit-content; margin: 0 auto; padding: 3px 8px; border-radius: 9px; background: rgba(60, 40, 20, .16); }
.gb-dots i { width: 5px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .72); transition: all .25s; }
.gb-dots i.on { width: 14px; background: #fff; }

/* 我的订单：退款/取消按钮缩小成右下角图标 */
.od-card { position: relative; }
.od-ops.has-refund { padding-right: 46px; }
.od-refund { position: absolute; right: 12px; bottom: 12px; width: 32px; height: 32px; padding: 0;
  border-radius: 50%; border: 1px solid #f4dde1; background: #fff6f8; color: #e0516a;
  display: flex; align-items: center; justify-content: center; }
.od-refund svg { width: 15px; height: 15px; fill: currentColor; }
.od-refund:active { background: #ffe9ee; transform: scale(.94); }
.od-union .od-tag.purple { background: #f2edff; color: #7a5cf0; }

/* 联盟权益领取 */
.uo-get { display: block; margin: 6px 0 0 auto; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--rose);
  background: #fff; color: var(--rose); font-size: 11.5px; font-weight: 700; }
.uo-get.on { border-color: #e4ddf0; background: #f7f4ff; color: #7a5cf0; }
.uo-get.off { color: #b3abbe; border-color: #eee6f2; }
/* 付费权益：按钮实心，和「免费领取」的描边样式区分，避免误以为是白拿 */
.uo-get.buy { border-color: transparent; color: #fff; background: linear-gradient(135deg,#e8587f,#c93d68); }
.uo-done h3 { font-size: 17px; }
.uo-code { margin: 14px 0 8px; padding: 14px; border-radius: 16px; border: 1px dashed #f0d5dd;
  background: linear-gradient(135deg,#fff8fa,#fffdf9); text-align: center; }
.uo-code b { display: block; font-size: 26px; letter-spacing: 4px; color: var(--ink); }
.uo-code img { width: 132px; height: 132px; margin-top: 10px; border-radius: 10px; background: #fff; }
.uo-tip { font-size: 11.5px; color: var(--muted); margin-bottom: 14px; }

/* 主办方中心：核销前置 + 活动编辑按钮 */
.oh-ops { margin-left: auto; flex: none; display: flex; align-items: center; gap: 8px; }
.oh-ops .oh-pub { margin-left: 0; }
.oh-verify { display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 12px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .2); color: #fff;
  font-size: 12.5px; font-weight: 800; }
.oh-verify svg { width: 13px; height: 13px; fill: currentColor; }
.oh-verify:active { transform: scale(.96); }
.gal-ops { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }

/* 全平台输入框的 AI 润色按钮（挂在输入框右下角） */
.aip-btn { position: absolute; right: 8px; bottom: 8px; z-index: 2; display: inline-flex; align-items: center;
  gap: 3px; height: 23px; padding: 0 8px; border-radius: 12px; border: 1px solid #ece3f8;
  background: rgba(255, 255, 255, .94); color: #8258f0; font-size: 10.5px; font-weight: 800;
  box-shadow: 0 2px 8px rgba(122, 92, 240, .12); }
.aip-btn svg { width: 11px; height: 11px; fill: currentColor; }
.aip-btn:active { transform: scale(.94); }
textarea.has-aip { padding-bottom: 34px !important; }

/* 婚恋资料：现居城市/区按钮 */
.pf-region { display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: left; color: var(--ink); }
.pf-region i { color: #bbb2c6; font-style: normal; }
.pf-region span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 扫码核销（摄像头取景） ---------- */
.ov-scan-btn { display: flex; align-items: center; justify-content: center; gap: 6px; }
.ov-scan-btn svg { width: 15px; height: 15px; fill: currentColor; }
.scan-mask { position: fixed; inset: 0; z-index: 210; background: #0b0a10; display: flex; flex-direction: column;
  align-items: center; overflow: hidden; animation: scanIn .18s ease; }
@keyframes scanIn { from { opacity: 0 } to { opacity: 1 } }
.scan-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.scan-head { position: relative; z-index: 3; width: 100%; min-height: 54px; padding: 0 14px;
  padding-top: env(safe-area-inset-top, 0px); display: flex; align-items: center; gap: 10px; color: #fff; }
.scan-head b { flex: 1; text-align: center; font-size: 15px; font-weight: 600; }
.scan-head button { min-width: 40px; height: 30px; border: 0; border-radius: 15px; background: rgba(255, 255, 255, .16);
  color: #fff; font-size: 12px; backdrop-filter: blur(6px); }
.scan-torch { padding: 0 10px; opacity: .75; }
.scan-torch.on { background: #ffd76a; color: #33260a; opacity: 1; }
.scan-frame { position: relative; z-index: 2; width: 232px; height: 232px; margin-top: 16vh;
  border-radius: 18px; box-shadow: 0 0 0 200vmax rgba(0, 0, 0, .58); }
.scan-frame i { position: absolute; width: 26px; height: 26px; border: 3px solid #fff; border-radius: 4px; }
.scan-frame i:nth-child(1) { left: -1px; top: -1px; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }
.scan-frame i:nth-child(2) { right: -1px; top: -1px; border-left: 0; border-bottom: 0; border-top-right-radius: 6px; }
.scan-frame i:nth-child(3) { left: -1px; bottom: -1px; border-right: 0; border-top: 0; border-bottom-left-radius: 6px; }
.scan-frame i:nth-child(4) { right: -1px; bottom: -1px; border-left: 0; border-top: 0; border-bottom-right-radius: 6px; }
.scan-line { position: absolute; left: 10px; right: 10px; top: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 93, 122, 0), #ff8fa3 45%, #ffd0d8 50%, #ff8fa3 55%, rgba(255, 93, 122, 0));
  box-shadow: 0 0 5px rgba(255, 108, 138, .55); animation: scanLine 2.1s ease-in-out infinite; }
@keyframes scanLine { 0%, 100% { top: 8px; opacity: .25 } 50% { top: 216px; opacity: 1 } }
.scan-tip { position: relative; z-index: 3; margin-top: 22px; padding: 0 34px; text-align: center;
  color: rgba(255, 255, 255, .82); font-size: 12.5px; line-height: 1.7; }
.scan-tip.bad { color: #ffb4a8; }
.scan-foot { position: relative; z-index: 3; margin-top: auto; padding: 20px 0;
  padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); display: flex; gap: 14px; }
.scan-alt { height: 38px; padding: 0 20px; border-radius: 19px; border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .1); color: #fff; font-size: 13px; backdrop-filter: blur(6px); }

/* ---------- 异业联盟：商家中心高亮入口 ---------- */
.un-mine-hl { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 11px;
  border: 0; border-radius: 14px; color: #5a3c05; font-size: 11.5px; font-weight: 800;
  background: linear-gradient(135deg, #ffe9a8, #ffc85c 60%, #ffb43f);
  box-shadow: 0 4px 12px rgba(255, 178, 55, .38); }
.un-mine-hl svg { width: 12px; height: 12px; fill: currentColor; }
.un-mine-hl:active { transform: scale(.95); }
.un-mine-bar { display: flex; align-items: center; gap: 10px; width: calc(100% - 32px); margin: 12px 16px 0;
  padding: 12px 14px; border: 0; border-radius: 16px; text-align: left; position: relative; overflow: hidden;
  background: linear-gradient(120deg, #fff7e2 0%, #ffe8b0 52%, #ffda92 100%);
  box-shadow: 0 8px 22px rgba(216, 156, 40, .22); }
.un-mine-bar::after { content: ''; position: absolute; right: -30px; top: -46px; width: 110px; height: 110px;
  border-radius: 50%; background: rgba(255, 255, 255, .6); }
.umb-i { position: relative; z-index: 1; width: 34px; height: 34px; border-radius: 11px; flex: none;
  display: flex; align-items: center; justify-content: center; color: #ffe9b0;
  background: linear-gradient(135deg, #7a5a17, #b98a22); }
.umb-i svg { width: 17px; height: 17px; fill: currentColor; }
.umb-c { position: relative; z-index: 1; flex: 1; min-width: 0; }
.umb-c b { display: block; font-size: 13.5px; color: #4a3208; }
.umb-c i { display: block; margin-top: 2px; font-size: 10.5px; color: #8a6a1e; font-style: normal; }
.umb-go { position: relative; z-index: 1; flex: none; font-size: 11.5px; font-weight: 800; color: #6b4a05; }
.btn.gold { background: linear-gradient(135deg, #ffcf6b, #ffb02e); color: #573800;
  box-shadow: 0 4px 12px rgba(255, 170, 40, .32); }

/* ---------- 个人社交名片 ---------- */
.me-id-row { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; }
.me-id-row .me-id { margin-top: 0; }
.me-namecard { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; border: 0;
  border-radius: 12px; font-size: 11px; font-weight: 800; color: #6a4708;
  background: linear-gradient(135deg, #ffe9a8, #ffc85c 62%, #ffb43f);
  box-shadow: 0 4px 12px rgba(255, 178, 55, .34); }
.me-namecard svg { width: 12px; height: 12px; fill: currentColor; }
.me-namecard:active { transform: scale(.95); }
/* 名片后面的「兑换」：同尺寸不同色，一眼区分两个入口 */
.me-namecard.me-redeem {
  color: #4a2c86;
  background: linear-gradient(135deg, #f1e8ff, #ddcaff 62%, #c9b0ff);
  box-shadow: 0 4px 12px rgba(150, 110, 240, .3);
}

/* ===== 兑换激活码弹层 ===== */
.rd-head { text-align: center; padding: 2px 0 14px; }
.rd-ic {
  width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #fff0f5, #efe6ff); color: #a06bd8;
  box-shadow: 0 8px 20px rgba(160, 107, 216, .18);
}
.rd-ic svg { width: 26px; height: 26px; fill: currentColor; }
.rd-head h3 { font-size: 18px; }
.rd-head .sub { margin-top: 6px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.rd-box { margin-top: 4px; }
.rd-inp {
  width: 100%; height: 52px; border-radius: 14px; text-align: center;
  font-size: 20px; font-weight: 800; letter-spacing: 2.5px;
  font-variant-numeric: tabular-nums; text-transform: uppercase;
}
.rd-inp::placeholder { font-size: 15px; letter-spacing: 1.5px; font-weight: 600; color: #c3c2cf; }
.rd-hist-t { margin: 18px 0 6px; font-size: 12px; color: var(--muted); font-weight: 600; }
.rd-hrow { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid #f3f3f8; font-size: 12.5px; }
.rd-hrow:last-child { border-bottom: 0; }
.rd-hn { color: var(--ink-2); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd-hd { flex: none; margin-left: 10px; color: #a9a9b6; font-size: 11.5px; }
.rd-done { text-align: center; padding: 9px 0 4px; }
.rd-ok-ic {
  width: 60px; height: 60px; margin: 0 auto 12px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e6fbf0, #d6f6e6); color: #12b76a;
}
.rd-ok-ic svg { width: 28px; height: 28px; fill: currentColor; }
.rd-done-t { margin-top: 8px; font-size: 16px; font-weight: 800; color: var(--ink); }

.mc-page { background: #f6f1ea; min-height: 100vh; }
.mc-stage { padding: 14px 16px 0; }
.mc-card { background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 14px 40px rgba(60, 35, 70, .14); }
.mc-cover { position: relative; height: 190px; background: #eee center/cover; }
.mc-cover::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 96px;
  background: linear-gradient(to top, rgba(255, 255, 255, .96), rgba(255, 255, 255, 0)); }
.mc-vip { position: absolute; left: 14px; top: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 3px;
  height: 22px; padding: 0 9px; border-radius: 11px; background: rgba(28, 20, 34, .46); color: #ffe1a1;
  font-size: 10.5px; font-weight: 700; backdrop-filter: blur(6px); }
.mc-vip svg { width: 11px; height: 11px; fill: currentColor; }
.mc-in { position: relative; padding: 0 18px 16px; }
.mc-av { width: 78px; height: 78px; margin-top: -40px; border-radius: 50%; border: 3px solid #fff;
  background: #eee center/cover; box-shadow: 0 6px 16px rgba(60, 35, 70, .14); }
.mc-nm { margin-top: 9px; display: flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 800; color: #221c2e; }
.mc-ver { display: inline-flex; align-items: center; gap: 3px; height: 20px; padding: 0 7px; border-radius: 10px;
  background: #f3ecff; color: #7a5cc4; font-size: 10.5px; font-style: normal; font-weight: 700; }
.mc-ver svg { width: 11px; height: 11px; fill: currentColor; }
.mc-meta { margin-top: 5px; font-size: 12.5px; color: #8d859c; }
.mc-sub { margin-top: 3px; font-size: 11.5px; color: #a79fb3; }
.mc-bio { margin: 10px 0 0; font-size: 13px; line-height: 1.65; color: #514a5e; }
.mc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.mc-tags span { padding: 4px 10px; border-radius: 11px; background: #fdf1f3; color: #c2596f;
  font-size: 11px; font-weight: 600; }
.mc-gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.mc-gal span { display: block; padding-top: 100%; border-radius: 11px; background: #eee center/cover; }
.mc-foot { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed #efeaf3; }
.mc-qr { width: 74px; height: 74px; border-radius: 10px; background: #fff; flex: none; }
.mc-fm { min-width: 0; }
.mc-fm b { display: block; font-size: 12.5px; color: #221c2e; }
.mc-fm span { display: block; margin-top: 3px; font-size: 11px; color: #8d859c; }
.mc-fm i { display: block; margin-top: 2px; font-size: 10.5px; color: #b3aabb; font-style: normal; }

.mc-progress { margin-top: 12px; padding: 13px 15px; border-radius: 16px; background: #fff; }
.mc-pg-t { display: flex; align-items: baseline; gap: 8px; }
.mc-pg-t b { font-size: 12.5px; color: #352c42; }
.mc-pg-t span { font-size: 10.5px; color: #9a93a8; }
.mc-pg-bar { margin-top: 8px; height: 5px; border-radius: 3px; background: #f2edf7; overflow: hidden; }
.mc-pg-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #ffb36b, #ff6d87); }
.mc-miss { margin-top: 7px; font-size: 10.5px; color: #c2596f; }
.mc-acts { display: flex; gap: 10px; margin-top: 14px; }
.mc-acts .btn { flex: 1; height: 44px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.mc-acts .btn svg { width: 15px; height: 15px; fill: currentColor; }
.mc-acts .btn.plain { flex: 0 0 110px; }
.mc-tip { margin: 10px 0 24px; text-align: center; font-size: 10.5px; color: #b3aabb; }
.mc-share-ic { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; color: #5b4b70; }
.mc-share-ic svg { width: 18px; height: 18px; fill: currentColor; }
.mc-preview { width: 100%; margin-top: 12px; border-radius: 14px; box-shadow: 0 10px 26px rgba(60, 35, 70, .18); }

/* ---------- 聊天输入栏：微信风格 ---------- */
.wx-bar { flex: none; background: #f7f7f7; border-top: 1px solid #e6e6e6; }
.wx-tools { display: flex; align-items: center; gap: 8px; padding: 8px 12px 0; overflow-x: auto; }
.wx-tools::-webkit-scrollbar { display: none; }
.wx-tool { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 27px; padding: 0 11px;
  border-radius: 14px; border: 1px solid #e9e1f7; background: #fff; color: #7a5cc4;
  font-size: 11.5px; font-weight: 700; }
.wx-tool svg { width: 12px; height: 12px; fill: currentColor; }
.wx-tool:active { background: #f5efff; }
.wx-tool:disabled { opacity: .5; }
.wx-tool-tip { flex: none; font-size: 10.5px; color: #b0aab6; }
.wx-inputbar { display: flex; align-items: flex-end; gap: 9px; padding: 10px 12px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
.wx-field { flex: 1; min-width: 0; display: flex; align-items: flex-end; padding: 0 12px;
  background: #fff; border: .5px solid #e4e4e8; border-radius: 10px;
  box-shadow: 0 1px 2px rgba(24,20,36,.03); transition: border-color .15s; }
.wx-field:focus-within { border-color: #f2c3cf; }
.wx-field textarea { flex: 1; width: 100%; min-height: 24px; max-height: 112px; padding: 10px 0;
  border: 0; outline: 0; resize: none; background: transparent; font-family: inherit;
  font-size: 16px; line-height: 1.45; color: var(--ink); }
.wx-field textarea::placeholder { color: #b7b7bf; }
.wx-send { flex: none; height: 42px; min-width: 62px; padding: 0 15px; border: 0; border-radius: 10px;
  background: #ececef; color: #9c9ca4; font-size: 15px; font-weight: 600; transition: background .15s, color .15s;
  -webkit-tap-highlight-color: transparent; }
.wx-send.on { background: linear-gradient(135deg, var(--rose), var(--orange)); color: #fff;
  box-shadow: 0 4px 12px rgba(255, 93, 122, .28); }
.wx-send:active { transform: scale(.97); }

/* 异业联盟列表右侧计数：避免「次核销」被挤成竖排 */
.un-m-r { min-width: 46px; white-space: nowrap; }
.un-m-r i { white-space: nowrap; }

/* 名片照片墙：按张数自适应，单张时铺满一行 */
.mc-gal.n1 { grid-template-columns: repeat(2, 1fr); }
.mc-gal.n1 span { padding-top: 75%; }
.mc-gal.n2 { grid-template-columns: repeat(2, 1fr); }
.mc-gal.n2 span { padding-top: 75%; }

/* ============ 情感测评（个人中心） ============ */
.pv-wrap { padding: 16px 14px 0; }
.pv-hero { background: linear-gradient(135deg, #ff8a5b, #ff4d6d); color: #fff; border-radius: 18px; padding: 22px 18px; margin-bottom: 14px; }
.pv-hero h2 { margin: 0; font-size: 22px; }
.pv-hero p { margin: 6px 0 0; font-size: 13px; opacity: .92; }
.pv-list { display: flex; flex-direction: column; gap: 12px; }
.pv-card { background: #fff; border-radius: 16px; padding: 16px; box-shadow: 0 2px 10px rgba(22,22,26,.05); }
.pv-tag { display: inline-block; font-size: 11px; color: #ff4d6d; background: #fff1f4; border-radius: 20px; padding: 2px 10px; margin-bottom: 6px; }
.pv-ct b { display: block; font-size: 16px; }
.pv-ct p { margin: 6px 0; font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pv-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.pv-meta i { width: 1px; height: 10px; background: var(--line); }
.pv-ops { display: flex; gap: 8px; justify-content: flex-end; margin-top: 10px; }
/* 答题 */
.pv-qtop { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.pv-back { width: 34px; height: 34px; border-radius: 50%; border: none; background: #fff; font-size: 20px; color: var(--ink); box-shadow: 0 2px 8px rgba(22,22,26,.06); flex: none; }
.pv-bar { flex: 1; height: 6px; border-radius: 6px; background: #ececf2; overflow: hidden; }
.pv-bar i { display: block; height: 100%; background: linear-gradient(90deg, #ff8a5b, #ff4d6d); border-radius: 6px; transition: width .25s; }
.pv-count { font-size: 12px; color: var(--muted); flex: none; }
.pv-qcard { background: #fff; border-radius: 16px; padding: 20px 16px; box-shadow: 0 2px 10px rgba(22,22,26,.05); }
.pv-qtitle { display: block; font-size: 17px; line-height: 1.5; margin-bottom: 16px; }
.pv-opts { display: flex; flex-direction: column; gap: 10px; }
.pv-opt { text-align: left; border: 1.5px solid var(--line); background: #fafafc; border-radius: 12px; padding: 12px 14px; font-size: 14px; color: var(--ink); transition: all .15s; }
.pv-opt.on { border-color: #ff4d6d; background: #fff1f4; color: #e63b5c; font-weight: 600; }
/* 结果 */
.pv-bigscore { font-size: 44px; font-weight: 800; color: #ff4d6d; }
.pv-bigscore i { font-style: normal; font-size: 16px; font-weight: 500; margin-left: 2px; }
.pv-resultcard { background: var(--rose-soft); border-radius: 14px; padding: 14px; font-size: 14px; line-height: 1.7; color: var(--ink-2); text-align: left; max-height: 40vh; overflow: auto; }
.pv-resultcard p { margin: 0 0 8px; }
.pv-advice { border-top: 1px dashed #ffd3dd; padding-top: 8px; }

/* 商家中心：权益操作小按钮 */
.uo-acts { display: flex; gap: 6px; margin-top: 6px; justify-content: flex-end; }
.uo-acts .mini { border: 0; border-radius: 14px; padding: 3px 12px; font-size: 12px; background: linear-gradient(135deg, #ff8a5b, #ff4d6d); color: #fff; }
.uo-acts .mini.ghost { background: #f2f2f7; color: var(--ink-2); }

/* 主办方中心：组局卡片上的分销比率行 */
.gal-comm { display: flex; align-items: center; gap: 4px; color: #c07a12; font-size: 12px; }
.gal-comm svg { width: 12px; height: 12px; flex: none; }

/* AI 自动回复：消息标识 / 设置面板 / 聊天设置菜单 */
.bubble .ai-tag { display: block; margin-top: 5px; font-size: 10px; letter-spacing: .2px; opacity: .72; }
.ar-note { font-size: 11.5px; color: #a49cb0; margin: -2px 0 14px; line-height: 1.6; }
.ar-acts { display: flex; gap: 10px; }
.ar-acts .btn { flex: 1; height: 44px; }
.ar-acts .btn.plain { flex: .8; }
.chat-menu { display: flex; flex-direction: column; gap: 10px; }
.chat-menu-i { display: flex; align-items: center; gap: 10px; width: 100%; padding: 14px 16px; border-radius: 14px; background: #faf7fd; border: 1px solid #f0ebf6; font-size: 14px; color: #2b2637; text-align: left; }
.chat-menu-i svg { width: 18px; height: 18px; color: #ff4d6d; flex: none; }
.chat-menu-i:active { background: #f4eefb; }
.bubble-row.mine .bubble .ai-tag { color: rgba(255,255,255,.86); }
.bubble-row.mine .bubble .ai-tag { color: rgba(255,255,255,.86); }

/* ==================== 统一分享面板（图文卡片） ==================== */
.sheet.share { padding: 20px 18px calc(18px + env(safe-area-inset-bottom)); }
.sh-card { border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid #f1edf4; box-shadow: 0 8px 24px rgba(60, 35, 70, .08); }
.sh-cover { position: relative; height: 168px; background: #f4f1f7; }
.sh-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sh-cover span { position: absolute; left: 12px; bottom: 10px; padding: 3px 10px; border-radius: 10px;
  background: rgba(20, 10, 24, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #fff; font-size: 11px; font-weight: 700; }
.sh-body { padding: 12px 14px 14px; text-align: left; }
.sh-body b { font-size: 15.5px; color: #241d2c; }
.sh-body p { margin: 6px 0 8px; font-size: 13px; color: #6b6478; line-height: 1.62; }
.sh-body em { display: block; font-style: normal; font-size: 11.5px; color: #a9a1b4; word-break: break-all; }
.sh-acts { display: flex; gap: 10px; margin-top: 14px; }
.sh-acts .btn { flex: 1; height: 44px; font-size: 13.5px; padding: 0 6px; }
.sh-acts .btn[disabled] { opacity: .5; }
.sh-tip { margin: 12px 0 0; font-size: 11.5px; color: #a9a1b4; line-height: 1.72; }
.sh-preview { width: 100%; margin: 10px 0 2px; border-radius: 16px; display: block; box-shadow: 0 10px 26px rgba(60, 35, 70, .16); }

/* ================= APP（PWA）安装引导 / 更新提示 ================= */
/* 只在「装到桌面后全屏打开」时生效：类名 is-app 由 js/pwa.js 加到 <html> 上 */
html.is-app { overscroll-behavior-y: none; -webkit-touch-callout: none; }
html.is-app body { -webkit-user-select: none; user-select: none; }
html.is-app input, html.is-app textarea, html.is-app [contenteditable] { -webkit-user-select: text; user-select: text; }
html.is-app .pwa-tip, html.is-app .pwa-desc { -webkit-user-select: text; user-select: text; }

.pwa-layer { position: fixed; inset: 0; z-index: 300; display: flex; align-items: flex-end; justify-content: center; }
.pwa-mask { position: absolute; inset: 0; background: rgba(16, 12, 26, .5); animation: fade .2s; }
.pwa-sheet {
  position: relative; width: min(480px, 100%); background: #fff;
  border-radius: 22px 22px 0 0; padding: 20px 18px calc(18px + env(safe-area-inset-bottom));
  box-shadow: 0 -12px 40px rgba(24, 20, 40, .18); animation: pwaUp .26s cubic-bezier(.22, .9, .3, 1);
}
@keyframes pwaUp { from { transform: translateY(30px); opacity: .6; } to { transform: none; opacity: 1; } }
.pwa-head { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.pwa-head > div { min-width: 0; }
.pwa-icon { width: 52px; height: 52px; border-radius: 14px; flex: none; box-shadow: 0 6px 16px rgba(255, 77, 109, .28); }
.pwa-title { font-size: 16.5px; font-weight: 800; color: var(--ink); letter-spacing: .2px; }
.pwa-desc { font-size: 12.5px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.pwa-steps { list-style: none; margin: 4px 0 16px; padding: 12px 14px; background: #faf8fd; border-radius: 14px; display: grid; gap: 10px; }
.pwa-steps li { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.pwa-steps b {
  width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 77, 109, .12); color: var(--rose);
  font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: none;
}
.pwa-ico {
  font-style: normal; display: inline-flex; width: 17px; height: 17px; margin: 0 3px; vertical-align: -3px;
  align-items: center; justify-content: center; border: 1.4px solid var(--rose); border-radius: 5px;
  color: var(--rose); font-size: 11px; font-weight: 700;
}
.pwa-acts { display: flex; flex-direction: column; gap: 6px; }
.pwa-btn {
  height: 46px; border-radius: 14px; color: #fff; font-size: 15px; font-weight: 700;
  background: linear-gradient(135deg, #ff6a8b, #ff3d64); box-shadow: 0 8px 20px rgba(255, 77, 109, .3);
}
.pwa-btn:active { transform: scale(.985); }
.pwa-ghost { height: 40px; color: var(--muted); font-size: 13.5px; }
.pwa-tip { margin: 10px 0 0; font-size: 11.5px; color: #b0aeba; text-align: center; line-height: 1.5; }

/* 新版本就绪：浮在底部导航上方，12 秒自动收起 */
.pwa-update {
  position: fixed; left: 50%; bottom: calc(var(--tabbar-space) + 14px); transform: translate(-50%, 14px);
  z-index: 260; display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 16px;
  background: rgba(22, 18, 34, .92); color: #fff; border-radius: 999px; font-size: 13px;
  box-shadow: 0 12px 28px rgba(20, 14, 34, .28); opacity: 0; transition: opacity .26s, transform .26s;
  backdrop-filter: blur(8px); max-width: calc(100% - 32px);
}
.pwa-update.in { opacity: 1; transform: translate(-50%, 0); }
.pwa-update span { white-space: nowrap; }
.pwa-update button {
  height: 30px; padding: 0 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #ff6a8b, #ff3d64); flex: none;
}

/* ---------- 分销中心：累计收益明细入口 / 联合创始人分成详情 ---------- */
.dist-stats .s.tap { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.dist-stats .s.tap:active { background: #fafafd; }
.dist-stats .s .s-more { font-style: normal; color: var(--rose); font-size: 10.5px; }
.leader-detail {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; margin-top: 12px; padding: 10px 12px; border: 0; border-radius: 12px;
  background: #faf9ff; font-size: 12px; color: var(--muted); text-align: left;
}
.leader-detail em { font-style: normal; font-weight: 700; color: var(--rose); flex: none; }
.rc-mine.tap { cursor: pointer; }
.rc-mine.tap i { color: var(--rose); }

/* ---------- 收益明细页 ---------- */
.inc-hero {
  margin: 14px 16px; padding: 18px; border-radius: var(--r); color: #fff;
  background: linear-gradient(150deg, #232a44, #37406a 60%, #4b3f7a);
  box-shadow: var(--shadow);
}
.inc-hero .ih-l { font-size: 12px; opacity: .7; }
.inc-hero .ih-n { font-size: 30px; font-weight: 800; letter-spacing: -.5px; margin-top: 2px; }
.inc-hero .ih-n i { font-size: 17px; font-style: normal; margin-right: 2px; }
.inc-hero .ih-sub { font-size: 11.5px; opacity: .66; margin-top: 4px; }
.inc-hero .ih-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 16px; }
.inc-hero .ih-cell { background: rgba(255, 255, 255, .1); border-radius: 10px; padding: 9px 6px; text-align: center; }
.inc-hero .ih-cell b { display: block; font-size: 14px; font-weight: 700; }
.inc-hero .ih-cell span { display: block; font-size: 10.5px; opacity: .7; margin-top: 2px; }
.inc-tabs { display: flex; gap: 8px; padding: 0 16px 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.inc-tabs::-webkit-scrollbar { display: none; }
.inc-tab {
  flex: none; border: 0; background: #fff; color: var(--ink-2); font-size: 12.5px;
  padding: 7px 14px; border-radius: 20px; box-shadow: var(--shadow);
}
.inc-tab.on { background: var(--rose); color: #fff; font-weight: 600; }
.inc-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border-bottom: 1px solid #f6f6fa; }
.inc-row:last-child { border-bottom: 0; }
.inc-row .av { width: 40px; height: 40px; border-radius: 50%; background: #eee center/cover no-repeat; flex: none; }
.inc-row .m { flex: 1; min-width: 0; }
.inc-row .t { display: flex; align-items: center; gap: 6px; min-width: 0; }
.inc-row .t b { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inc-row .t .lv { flex: none; font-size: 10px; padding: 1px 6px; border-radius: 8px; background: #f2f3f8; color: var(--muted); }
.inc-row .t .lv.l1 { background: #fff2f5; color: var(--rose); }
.inc-row .t .lv.l3 { background: #f0ecff; color: #6a5ae0; }
.inc-row .t .lv.l4 { background: #eaf9f1; color: #22b573; }
.inc-row .p { font-size: 12px; color: var(--ink-2); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inc-row .p em { font-style: normal; color: var(--muted); }
.inc-row .d { font-size: 11px; color: var(--muted); margin-top: 2px; }
.inc-row .amt { flex: none; font-size: 16px; font-weight: 700; color: #22b573; }
.inc-more { text-align: center; padding: 18px; font-size: 12.5px; color: var(--muted); }

/* 钱包流水：分润来源（用户名 / 产品 / 价格）第三行 */
.rec-row .m { min-width: 0; }
.rec-row .m b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rec-row .m .sub2 { display: block; font-size: 11.5px; color: var(--ink-2); margin-top: 3px; }

/* ---------- 分销中心：统计格明细行 / 「你已是」卡片左右留白 ---------- */
.dist-stats { grid-template-columns: repeat(3, 1fr); }
.dist-stats .s {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px; min-height: 78px; padding: 13px 6px;
}
.dist-stats .s b { display: block; font-size: 19px; color: var(--ink); line-height: 1.25; }
.dist-stats .s > span { font-size: 11.5px; color: var(--muted); }
.dist-stats .s .s-sub {
  font-style: normal; margin-top: 2px; font-size: 10px; color: #b3aeba;
  white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis;
}
.dist-stats .s .s-sub { color: #b3aeba; }
.dist-stats .s.tap .s-sub::after { content: '›'; color: var(--rose); margin-left: 3px; font-size: 11px; }
.dist-mine { margin: 0 15px; }

/* ---------- 我的团队：汇总卡 + 三个页签 ---------- */
.tm-sum {
  margin: 14px 16px; padding: 16px 18px; border-radius: var(--r); color: #fff;
  background: linear-gradient(150deg, #232a44, #37406a 60%, #4b3f7a);
  box-shadow: var(--shadow);
}
.tm-sum .ts-l { font-size: 12px; opacity: .7; }
.tm-sum .ts-main { display: flex; align-items: baseline; gap: 2px; margin-top: 2px; font-size: 28px; font-weight: 800; letter-spacing: -.5px; }
.tm-sum .ts-main i { font-style: normal; font-size: 16px; font-weight: 700; }
.tm-sum .ts-main span { margin-left: 6px; font-size: 11px; font-weight: 400; opacity: .66; letter-spacing: 0; }
.tm-sum .ts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 14px; }
.tm-sum .ts-cell { background: rgba(255, 255, 255, .1); border-radius: 10px; padding: 8px 4px; text-align: center; }
.tm-sum .ts-cell b { display: block; font-size: 13.5px; font-weight: 700; }
.tm-sum .ts-cell span { display: block; font-size: 10px; opacity: .68; margin-top: 2px; }

.tm-body { flex: 1; min-width: 0; }
.tm-t { display: flex; align-items: center; gap: 6px; min-width: 0; }
.tm-t b { font-size: 14.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-s { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.tm-stats { display: flex; align-items: center; gap: 10px; margin-top: 5px; font-size: 11px; color: var(--ink-2); flex-wrap: wrap; }
.tm-stats b { font-weight: 700; }
.tm-stats .c { color: var(--rose); }

.tm-order { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border-bottom: 1px solid #f6f6fa; }
.tm-order:last-child { border-bottom: 0; }
.tm-order .av { width: 40px; height: 40px; border-radius: 50%; background: #eee center/cover no-repeat; flex: none; }
.tm-order .m { flex: 1; min-width: 0; }
.tm-order .t { display: flex; align-items: center; gap: 6px; min-width: 0; }
.tm-order .t b { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-order .t .lv { flex: none; font-size: 10px; padding: 1px 6px; border-radius: 8px; background: #f2f3f8; color: var(--muted); }
.tm-order .p { font-size: 12px; color: var(--ink-2); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-order .p em { font-style: normal; color: var(--muted); }
.tm-order .d { font-size: 11px; color: var(--muted); margin-top: 2px; }
.tm-order .amt { flex: none; text-align: right; font-size: 15px; font-weight: 700; color: #22b573; }
.tm-order .amt span { display: block; font-size: 9.5px; font-weight: 400; color: var(--muted); margin-top: 1px; }
.tm-order .amt.zero { font-size: 12px; color: #c2bdc9; font-weight: 400; }
.tm-t b { min-width: 0; flex: 0 1 auto; }

/* ================= 编辑资料（分区式资料面板） ================= */
.ep { background: #fff; min-height: 100vh; padding-bottom: 8px; }
.ep-skel { padding: 80px 16px; text-align: center; font-size: 13px; color: var(--muted); }

/* 顶栏：返回 / 标题 / 预览 */
.ep-nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 12px; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); }
.ep-nav-b { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--ink-2); }
.ep-nav-b:active { background: #f4f4f8; }
.ep-nav-t { flex: 1; text-align: center; font-size: 17px; font-weight: 700; }
.ep-nav-pill { height: 30px; padding: 0 15px; border-radius: 15px; background: #f4f4f8; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.ep-nav-pill:active { background: #ececf3; }

/* 封面 + 头像 */
.ep-hero { padding: 2px 16px 0; }
.ep-cover { position: relative; height: 122px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(135deg, #f9c9d7 0%, #e7c9f5 46%, #bdd8f8 100%);
  background-size: cover; background-position: center; }
.ep-cover-g { position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,14,40,.46), rgba(30,14,40,0) 58%); }
.ep-cover-pills { position: absolute; right: 9px; bottom: 9px; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.ep-cover-pill { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 10px; border-radius: 12px;
  background: rgba(255,255,255,.24); border: 1px solid rgba(255,255,255,.36); backdrop-filter: blur(8px); color: #fff; font-size: 11px; }
.ep-cover-pill svg { font-size: 11px; }
.ep-id { position: relative; display: flex; align-items: flex-end; gap: 12px; margin: -24px 16px 0; }
.ep-ava { width: 78px; height: 78px; flex: none; border-radius: 50%; border: 3px solid #fff; background: #f2f3f7 center/cover no-repeat;
  box-shadow: 0 8px 22px rgba(120,80,140,.18); position: relative; display: flex; align-items: center; justify-content: center; }
.ep-ava-ph { font-size: 26px; color: #c9c9d4; display: flex; }
.ep-ava-cam { position: absolute; right: -2px; bottom: -2px; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--rose);
  display: flex; align-items: center; justify-content: center; font-size: 12px; box-shadow: 0 3px 10px rgba(150,110,150,.26); }
.ep-id-t { flex: 1; min-width: 0; padding-bottom: 5px; }
.ep-id-t b { display: block; font-size: 17px; font-weight: 800; letter-spacing: -.2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ep-id-t span { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 完善度 */
.ep-prog { margin: 14px 16px 0; padding: 10px 12px 11px; border-radius: 13px; background: #fafafd; }
.ep-prog-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 11.5px; color: var(--muted); }
.ep-prog-h b { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.ep-prog-h b i { font-style: normal; font-weight: 800; color: var(--rose); }
.ep-prog-h span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ep-prog-bar { margin-top: 7px; height: 4px; border-radius: 2px; background: #eeeaf3; overflow: hidden; }
.ep-prog-bar i { display: block; height: 100%; border-radius: 2px; background: linear-gradient(90deg, #ff9db8, #ff4d6d); transition: width .35s ease; }

/* 分区标题 */
.ep-sec { padding: 20px 16px 0; }
.ep-sec-h { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.ep-sec-h b { font-size: 13.5px; font-weight: 700; color: #5b5b68; letter-spacing: .2px; }
.ep-sec-h .ep-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--rose); }
.ep-sec-h .ep-count { margin-left: 2px; font-size: 11px; color: var(--rose); font-weight: 700; }
.ep-more { margin-left: auto; display: inline-flex; align-items: center; gap: 1px; font-size: 12px; color: #b0b0bd; }
.ep-more.hi { color: var(--rose); font-weight: 600; }
.ep-chev { font-style: normal; font-size: 14px; line-height: 1; margin-top: -1px; }
.ep-arrow { font-style: normal; font-size: 16px; color: #c7c7d3; }

/* 虚线添加入口 */
.ep-add { width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 14px; border: 1.5px dashed #f7c9d6; background: #fffafc; color: var(--rose-2); font-size: 13px; font-weight: 600; }
.ep-add.dashed { color: var(--rose-2); }
.ep-add svg { font-size: 15px; }
.ep-add:active { background: #fff4f8; }

/* 文本 */
.ep-text { margin: 0; font-size: 14px; line-height: 1.72; color: var(--ink-2); white-space: pre-wrap; word-break: break-word; }

/* 照片格 */
.ep-pics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ep-pic { aspect-ratio: 1; border-radius: 12px; background: #f4f5f9 center/cover no-repeat; overflow: hidden; }
.ep-pic:active { transform: scale(.97); }
.ep-pic.add { border: 1.5px dashed #e6e3ec; background: #fff; color: #c3c3cf; display: flex; align-items: center; justify-content: center; font-size: 18px; }

/* 胶囊信息 */
.ep-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ep-chip { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; height: 30px; padding: 0 11px;
  border-radius: 9px; background: #f6f6fa; color: #4f4f5c; font-size: 12.5px; }
.ep-chip i { font-style: normal; font-size: 12.5px; line-height: 1; }
.ep-chip.soft { background: var(--rose-soft); color: #e0567a; font-weight: 500; }
.ep-chip.plain { background: #f3f1fb; color: #7a67c9; }

/* 恋爱性格卡 */
.ep-persona { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: #f8f8fc; text-align: left; }
.ep-persona-av { width: 44px; height: 44px; flex: none; border-radius: 50%; background: #eae8f0; color: #a9a7b6;
  display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 800; }
.ep-persona-av.on { background: linear-gradient(135deg, #fff1e2, #ffe3ea); color: #f0a04b; }
.ep-persona-m { flex: 1; min-width: 0; }
.ep-persona-m b { display: block; font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ep-persona-m span { display: block; margin-top: 3px; font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 我希望我们：渐变引导 + 三个空槽 */
.ep-cta { width: 100%; text-align: left; padding: 12px 14px; border-radius: 14px; color: #fff; font-size: 12.5px; line-height: 1.62;
  background: linear-gradient(118deg, #ff5b86, #ff2e7e 58%, #ff6f5e); box-shadow: 0 10px 22px rgba(255,70,110,.22); margin-bottom: 10px; }
.ep-cta i { display: block; margin-top: 4px; font-style: normal; font-size: 11.5px; opacity: .92; }
.ep-slot { width: 100%; min-height: 48px; display: flex; align-items: center; gap: 8px; padding: 0 14px; margin-bottom: 8px;
  border-radius: 13px; border: 1.5px dashed #f7c9d6; background: #fffafc; color: var(--rose-2); font-size: 13px; text-align: left; }
.ep-slot:last-child { margin-bottom: 0; }
.ep-slot b { font-size: 12.5px; font-weight: 500; color: #c08ba0; }
.ep-slot .ph { margin-left: auto; font-style: normal; font-size: 12.5px; color: #e2779a; font-weight: 600; }
.ep-slot.on { border: 1px solid #f1eef5; background: #fafafd; }
.ep-slot.on b { color: #9a97a6; }
.ep-slot.on span { margin-left: auto; max-width: 58%; font-size: 13px; font-weight: 600; color: #e0567a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 语音介绍 */
.ep-voice { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--rose-soft); flex-wrap: wrap; }
.ep-voice-ic { width: 32px; height: 32px; flex: none; border-radius: 50%; background: #fff; color: var(--rose);
  display: flex; align-items: center; justify-content: center; font-size: 15px; }
.ep-voice-m { flex: 1; min-width: 120px; }
.ep-voice-m b { display: block; font-size: 13.5px; }
.ep-voice-m span { display: block; margin-top: 2px; font-size: 11.5px; color: #b57b91; }
.ep-voice-del { width: 24px; height: 24px; flex: none; border-radius: 50%; background: rgba(255,255,255,.8); color: #c08ba0; font-size: 11px; }
.ep-voice-media { width: 100%; margin-top: 8px; height: 34px; }

/* 底部提示 */
.ep-foot { padding: 30px 16px calc(26px + env(safe-area-inset-bottom)); text-align: center; font-size: 11px; color: #c5c5d0; }

/* 弹层里的补充样式 */
.ep-pick { display: flex; align-items: center; justify-content: space-between; text-align: left; }
.ep-pick.ph span { color: #b7b7c2; }
.ep-pick i { font-style: normal; color: #c7c7d3; font-size: 16px; }
.ep-acts { display: flex; flex-direction: column; }
.ep-acts button { height: 50px; font-size: 15px; color: var(--ink); border-bottom: 1px solid var(--line); }
.ep-acts button.danger { color: var(--rose); }
.ep-acts button.gray { color: var(--muted); border-bottom: 0; }
.ep-acts button:last-child { margin-bottom: 0; }
.ep-pic.ghost { border: 1.5px dashed #f2eff6; background: #fcfcfe; }

/* ================= 资料详情 / 预览（.pd，参考稿风格） ================= */
.pd { background: #fff; min-height: 100vh; padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
.pd-nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 10px; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
.pd-nav-b { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #33333d; }
.pd-nav-b:active { background: #f4f4f8; }
.pd-nav-t { flex: 1; text-align: center; font-size: 15.5px; font-weight: 600; color: #2f2f38; letter-spacing: .2px; }
.pd-nav-pill { height: 30px; padding: 0 14px; border-radius: 15px; background: #f4f4f8; color: #3d3d47; font-size: 12.5px; font-weight: 600; }
.pd-nav-pill:active { background: #ececf3; }

.pd-hero { position: relative; padding: 0 14px 26px; }
.pd-cover { position: relative; height: 164px; border-radius: 18px; overflow: hidden; background: linear-gradient(130deg,#ffd0dc 0%,#e8cbff 48%,#c6dcff 100%); background-size: cover; background-position: center; }
.pd-cover-g { position: absolute; inset: 0; background: linear-gradient(to top, rgba(24,12,32,.5), rgba(24,12,32,0) 62%); }
.pd-video { margin: 14px 16px 0; border-radius: 14px; overflow: hidden; background: #000; }
.pd-video video { width: 100%; max-height: 240px; display: block; object-fit: contain; }
.pd-ava { position: absolute; left: 28px; bottom: 0; width: 78px; height: 78px; border-radius: 50%; border: 3px solid #fff; background: #eceef3 center/cover no-repeat; box-shadow: 0 10px 24px rgba(60,40,80,.18); }
.pd-name { position: absolute; left: 118px; right: 22px; bottom: 34px; }
.pd-name b { display: block; font-size: 19px; font-weight: 800; color: #fff; letter-spacing: .2px; text-shadow: 0 1px 10px rgba(0,0,0,.28); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-name span { display: flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 11.5px; color: rgba(255,255,255,.9); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-on { width: 5px; height: 5px; border-radius: 50%; background: #4ade80; display: inline-block; box-shadow: 0 0 0 2px rgba(74,222,128,.3); }

.pd-voice { display: flex; align-items: center; gap: 10px; margin: 4px 16px 0; padding: 9px 14px; border-radius: 14px; background: #fafafd; border: 1px solid #f2f2f7; }
.pd-voice-play { width: 30px; height: 30px; flex: none; border-radius: 50%; background: #fff; border: 1px solid #ececf3; display: flex; align-items: center; justify-content: center; color: #3d3d47; }
.pd-tri { width: 0; height: 0; border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; margin-left: 2px; }
.pd-voice.playing .pd-tri { border: 0; width: 9px; height: 10px; margin-left: 0; background: linear-gradient(90deg, currentColor 0 3px, transparent 3px 6px, currentColor 6px 9px); }
.pd-wave { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 2px; height: 20px; overflow: hidden; }
.pd-wave i { width: 2px; border-radius: 2px; background: #dcdce6; }
.pd-voice.playing .pd-wave i { background: #ffb3c4; animation: pdWave .9s ease-in-out infinite; }
.pd-wave i:nth-child(3n) { animation-delay: .18s; }
.pd-wave i:nth-child(3n+1) { animation-delay: .34s; }
@keyframes pdWave { 0%, 100% { transform: scaleY(.62); } 50% { transform: scaleY(1.4); } }
.pd-voice-t { font-size: 11.5px; color: #b0b0bd; font-variant-numeric: tabular-nums; }

.pd-bio { margin: 18px 16px 0; font-size: 14.5px; line-height: 1.85; color: #3d3d47; white-space: pre-wrap; word-break: break-word; }

.pd-shot { margin: 20px 14px 0; }
.pd-shot-img { position: relative; border-radius: 16px; overflow: hidden; background: #f3f4f8; }
.pd-shot-img img { display: block; width: 100%; height: auto; }
.pd-shot-more { position: absolute; left: 10px; bottom: 10px; height: 26px; padding: 0 11px; border-radius: 13px; background: rgba(24,20,30,.4); backdrop-filter: blur(8px); color: #fff; font-size: 12px; letter-spacing: 1.5px; line-height: 1; }
.pd-shot figcaption { margin-top: 9px; font-size: 12.5px; line-height: 1.7; color: #8b8b99; }

.pd-hint { display: flex; align-items: center; gap: 8px; width: calc(100% - 32px); margin: 20px 16px 0; padding: 12px 14px; border-radius: 12px; border: 1.5px dashed #ececf3; background: #fbfbfe; text-align: left; }
.pd-hint i { display: flex; font-size: 16px; color: #c9c9d6; }
.pd-hint span { flex: 1; font-size: 12.5px; color: #9c9caa; line-height: 1.5; }
.pd-hint em { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--rose); flex: none; }
.pd-sec { margin: 26px 16px 0; }
.pd-sec h5 { margin: 0 0 10px; font-size: 11px; font-weight: 600; letter-spacing: 2px; color: #b6b6c2; }
.pd-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pd-chip { display: flex; align-items: center; gap: 7px; min-height: 38px; padding: 6px 12px; border-radius: 10px; background: #f7f7fb; font-size: 12.5px; line-height: 1.5; color: #4a4a57; overflow: hidden; }
.pd-chip i { flex: none; display: flex; font-size: 13px; color: #b9b9c8; }
.pd-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.pd-tag { height: 29px; padding: 0 12px; border-radius: 15px; background: #fff1f4; color: #e0567a; font-size: 12px; display: inline-flex; align-items: center; }
.pd-empty { margin: 64px 24px; text-align: center; color: #b6b6c2; font-size: 13px; }
.pd-empty svg { font-size: 34px; margin-bottom: 10px; color: #d8d8e2; }
.pd-foot { padding: 34px 16px 10px; text-align: center; font-size: 11px; color: #c5c5d0; }
.pd-actions { position: fixed; bottom: 0; left: 0; right: 0; margin: 0 auto; max-width: 480px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-top: 1px solid var(--line); display: flex; gap: 10px; z-index: 45; }
.pd-actions .btn { flex: 1; }

/* ================= 展示我的生活（.lf，参考稿风格） ================= */
.lf { background: #fff; min-height: 100vh; padding-bottom: 40px; }
.lf-skel { padding: 90px 16px; text-align: center; color: #b6b6c2; font-size: 13px; }
.lf-nav { height: 52px; display: flex; align-items: center; padding: 0 10px; }
.lf-nav-b { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #2f2f38; }
.lf-nav-b:active { background: #f4f4f8; }
.lf-head { padding: 2px 18px 0; }
.lf-head h1 { margin: 0; font-size: 23px; font-weight: 800; letter-spacing: -.3px; color: #1f1f26; }
.lf-head p { margin: 10px 0 0; font-size: 13px; line-height: 1.75; color: #8b8b99; }
.lf-tip { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 22px 18px 0; }
.lf-tip span { font-size: 12px; color: #a4a4b2; }
.lf-tip button { flex: none; font-size: 12.5px; font-weight: 500; color: #8b6cf3; }
.lf-hero { display: block; width: calc(100% - 36px); margin: 12px 18px 0; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; position: relative; background: #f3f4f8 center/cover no-repeat; }
.lf-hero.natural { aspect-ratio: auto; }
.lf-hero.natural img { display: block; width: 100%; height: auto; }
.lf-hero-empty { border: 1.5px dashed #ececf3; background: #fbfbfe; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.lf-hero-empty i { font-size: 22px; color: #ffb3c4; }
.lf-hero-empty b { font-size: 14px; font-weight: 600; color: #5b5b68; }
.lf-hero-empty span { font-size: 11.5px; color: #b6b6c2; }
.lf-del { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.92); color: #e0393e; display: flex; align-items: center; justify-content: center; font-size: 14px; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.lf-edit { position: absolute; left: 10px; bottom: 10px; width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,.86); color: #3d3d47; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.lf-cap { display: block; width: calc(100% - 36px); margin: 10px 18px 0; text-align: left; font-size: 13px; line-height: 1.7; color: #3d3d47; }
.lf-cap.ph { color: #c0c0cc; }
.lf-cats { margin: 8px 18px 0; }
.lf-row { display: flex; align-items: center; gap: 12px; padding: 20px 0; border-bottom: 1px solid #f5f5f9; }
.lf-row:last-child { border-bottom: 0; }
.lf-row-m { flex: 1; min-width: 0; }
.lf-row-m b { display: flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; color: #33333d; line-height: 1.45; }
.lf-row-m b em { font-style: normal; font-size: 11px; font-weight: 600; color: #ff4d6d; background: #fff1f4; border-radius: 8px; padding: 1px 6px; }
.lf-row-m span { display: block; margin-top: 4px; font-size: 12px; color: #a4a4b2; line-height: 1.6; }
.lf-row-r { display: flex; align-items: center; gap: 8px; flex: none; }
.lf-thumb { width: 46px; height: 46px; border-radius: 8px; background: #f3f4f8 center/cover no-repeat; }
.lf-add { width: 46px; height: 46px; flex: none; border-radius: 8px; border: 1.2px dashed #ffc2cf; background: #fffafc; color: #ff5f80; display: flex; align-items: center; justify-content: center; font-size: 17px; }
.lf-add:active { background: #fff1f4; }
.lf-foot { padding: 24px 18px 10px; text-align: center; font-size: 11px; color: #c5c5d0; }
.lf-demo-list { display: flex; flex-direction: column; gap: 12px; margin: 6px 0 18px; }
.lf-demo-list b { display: block; font-size: 13.5px; color: #33333d; }
.lf-demo-list span { display: block; margin-top: 3px; font-size: 12px; line-height: 1.65; color: #8b8b99; }

/* ================= 注册/登录后必填项弹窗（头像 + 手机号） ================= */
.gate { width: 100%; max-width: 340px; max-height: 86vh; overflow-y: auto; background: #fff; border-radius: 22px;
  padding: 22px 18px 16px; box-sizing: border-box; animation: pop .26s; }
.gate-hero { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 24px; color: var(--rose);
  background: linear-gradient(135deg, #fff1f4, #ffe6ee); box-shadow: 0 10px 24px rgba(255, 77, 109, .16); }
.gate-hero svg { font-size: 24px; }
.gate h3 { margin: 0; font-size: 18.5px; font-weight: 800; text-align: center; letter-spacing: -.2px; }
.gate-sub { margin: 8px 2px 16px; font-size: 12.5px; line-height: 1.65; color: var(--muted); text-align: center; }
.gate-ava { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  width: 108px; height: 108px; margin: 0 auto 16px; border-radius: 50%; background: #f6f7fb center/cover no-repeat;
  border: 1.5px dashed #f7c9d6; color: var(--rose-2); font-size: 11.5px; font-weight: 600; }
.gate-ava.has { border: 2px solid #fff; box-shadow: 0 8px 22px rgba(120, 80, 140, .18); color: transparent; }
.gate-ava-ic { display: flex; font-size: 20px; }
.gate-ava.has .gate-ava-ic { display: none; }
.gate-ava.has .gate-ava-t { display: none; }
.gate-f { margin-bottom: 14px; }
.gate-f label { display: block; margin: 0 2px 6px; font-size: 12.5px; font-weight: 600; color: #5b5b68; }
.gate-row { display: flex; gap: 8px; margin-bottom: 8px; }
.gate-row .input { flex: 1; min-width: 0; }
.gate-code { flex: none; padding: 0 12px; height: 44px; border-radius: 12px; background: var(--rose-soft);
  color: var(--rose); font-size: 12.5px; font-weight: 600; }
.gate-code[disabled] { opacity: .6; }
.gate-f .input { width: 100%; box-sizing: border-box; }
.gate-ok { display: flex; align-items: center; gap: 6px; margin: 0 2px 16px; padding: 10px 12px; border-radius: 12px;
  background: #f0fbf5; color: #17a673; font-size: 12.5px; font-weight: 600; }
.gate-ok svg { font-size: 14px; }
.gate-save { width: 100%; }
.gate-skip { display: block; width: 100%; margin: 10px 0 0; font-size: 12px; color: #b0b0bd; text-align: center; }
.gate-tip { margin: 12px 0 0; font-size: 11px; color: #c5c5d0; text-align: center; }

/* 必填弹窗：手机号免验证提示（第 101 章） */
.gate-hint { margin: 7px 2px 0; font-size: 11.5px; color: #a7abbb; }

/* 支付面板：活动激活码（免单券） */
.pay-gift { margin-top: 10px; padding: 12px 13px; border: 1px solid #ffe1c9; border-radius: 14px;
  background: linear-gradient(135deg, #fff8f1, #fff3e8); }
.pay-gift-h { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: #b4652a; }
.pay-gift-h b { font-weight: 800; }
.pay-gift-l { margin: 8px 0 0; font-size: 11.5px; color: #a98159; line-height: 1.7; }
.pay-gift-u { display: flex; align-items: center; gap: 7px; margin-top: 9px; flex-wrap: wrap; }
.pay-gift-u input { flex: 1; min-width: 0; height: 38px; padding: 0 11px; border-radius: 10px; border: 1px solid #f0d8c4;
  background: #fff; font-size: 12.5px; letter-spacing: .5px; }
.pay-gift-u button { flex: none; height: 38px; padding: 0 14px; border-radius: 10px; background: #ff8a3d; color: #fff;
  font-size: 12.5px; font-weight: 700; }
.pay-gift-u button[disabled] { opacity: .6; }
.pay-gift-one { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  margin-top: 9px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid #ffe1c9;
  font-size: 12.5px; color: #7a5a3c; text-align: left; }
.pay-gift-one .pg-code { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 700; letter-spacing: .8px; color: #b4652a; }
.pay-gift-one .pg-go { flex: none; padding: 4px 10px; border-radius: 999px; background: #ff8a3d; color: #fff; font-size: 11.5px; font-weight: 700; }

/* ---------------- 礼物打赏（第 114 章） ---------------- */
.gf { padding: 2px 2px 6px; }
.gf-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.gf-h b { font-size: 16px; font-weight: 800; }
.gf-h span { font-size: 12px; color: var(--muted); }
.gf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-height: 264px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.gf-item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px 8px;
  border-radius: 14px; border: 1.5px solid var(--line); background: #fbfbfe; }
.gf-item.on { border-color: var(--rose); background: linear-gradient(180deg, #fff6f8, #fff); box-shadow: 0 6px 16px rgba(255,77,109,.14); }
.gf-ico { font-size: 26px; line-height: 1.2; }
.gf-ico img { width: 34px; height: 34px; object-fit: contain; display: block; }
.gf-item b { font-size: 12px; font-weight: 700; color: var(--ink-2); }
.gf-item span { font-size: 11.5px; font-weight: 700; color: var(--rose); }
.gf-badge { position: absolute; top: -1px; right: -1px; padding: 1px 6px; border-radius: 0 13px 0 10px;
  background: linear-gradient(135deg, #ff8a5b, #ff4d6d); color: #fff; font-size: 9.5px; font-style: normal; font-weight: 700; }
.gf-row { display: flex; align-items: center; justify-content: space-between; margin: 12px 0 10px; }
.gf-count { display: flex; align-items: center; gap: 4px; }
.gf-count button { width: 30px; height: 30px; border-radius: 10px; background: #f3f3f8; color: var(--ink-2); font-size: 17px; font-weight: 700; }
.gf-count b { min-width: 34px; text-align: center; font-size: 15px; }
.gf-total { font-size: 12.5px; color: var(--muted); }
.gf-total b { font-size: 17px; font-weight: 800; color: var(--rose); margin-left: 4px; }
.gf .input { width: 100%; }
.gf-tip { margin: 9px 2px 0; font-size: 11px; color: #a7abbb; line-height: 1.7; }
.gf #gf-send { margin-top: 10px; }

/* 3D 礼物（第 138 章）：选中预览台 + 网格立体图标
 * 预览台用深色底衬托立体礼物，跟抖音打赏的「选中即预览」一致；
 * 网格里只有选中的那一个在转（全部转会有十几层合成，低端机掉帧）。 */
.gf-show { position: relative; display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
  padding: 8px 14px 8px 10px; border-radius: 16px; overflow: hidden;
  background: radial-gradient(120% 140% at 12% 0%, #3a2450 0%, #221a38 46%, #171226 100%); }
.gf-show::after { content: ''; position: absolute; right: -18%; top: -60%; width: 68%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,.14), transparent 62%); pointer-events: none; }
.gf-show-3d { flex: none; width: 96px; height: 100px; display: flex; align-items: center; justify-content: center; }
.gf-show-m { position: relative; z-index: 1; flex: 1; min-width: 0; }
.gf-show-m b { display: block; font-size: 15px; font-weight: 800; color: #fff; }
.gf-show-m b em { font-style: normal; margin-left: 8px; font-size: 13px; font-weight: 800; color: #ffd166; }
.gf-show-m span { display: block; margin-top: 6px; font-size: 11.5px; line-height: 1.65; color: rgba(255,255,255,.6);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gf-ico { height: 58px; display: flex; align-items: center; justify-content: center; }
/* 选中项左右摇摆：360° 自转在小格子里会转到侧面变成一条线，摇摆始终能看到正面 */
.gf-item.on .gf-ico .g3-stage { animation: g3-sway 3.6s ease-in-out infinite; }
/* 摇摆区间固定在 -44°~-12°，不经过 0°：正对屏幕时侧脸和挤出厚度都会消失，看着像平面图 */
@keyframes g3-sway {
  0%, 100% { transform: rotateX(-15deg) rotateY(-44deg); }
  50% { transform: rotateX(-8deg) rotateY(-12deg); }
}
.gf-item.on { box-shadow: 0 8px 20px rgba(255,77,109,.2); }
.gf-log-ico .g3, .gf-wall-i .e .g3 { display: inline-flex; }

/* 支付方式（第 115 章）：余额 / 微信二选一，选中的描边描红 */
.gf-pending { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; padding: 8px 10px; border-radius: 12px;
  background: #fff8ec; border: 1px solid #ffe3bd; font-size: 11.5px; color: #a8762c; line-height: 1.5; }
.gf-pending span { flex: 1; min-width: 0; }
.gf-pending button { flex: none; padding: 5px 10px; border-radius: 9px; background: #ff9f1a; color: #fff; font-size: 11.5px; font-weight: 700; }
.gf-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.gf-pay button { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 10px 12px; border-radius: 14px;
  background: #f6f6fa; border: 1.5px solid transparent; text-align: left; }
.gf-pay button b { font-size: 13px; font-weight: 800; color: var(--ink); }
.gf-pay button i { font-style: normal; font-size: 11px; color: var(--muted); }
.gf-pay button.on { background: #fff6f8; border-color: var(--rose); }
.gf-pay button.on b { color: var(--rose); }
.gf-pay button.lack i { color: #e0567a; }
.gf-pay button[disabled] { opacity: .5; }
.gf-confirm { margin-top: 10px; padding: 12px; border-radius: 14px; background: #fff6f8; border: 1px solid #ffdde5; }
.gf-confirm .t { font-size: 12.5px; color: var(--ink-2); line-height: 1.6; }
.gf-confirm .t b { color: var(--rose); font-size: 15px; font-weight: 800; }
.gf-confirm .a { display: flex; gap: 8px; margin-top: 10px; }
.gf-confirm .a button { flex: 1; height: 38px; border-radius: 12px; font-size: 13.5px; font-weight: 700; }

.gf-hero { display: flex; align-items: center; gap: 12px; margin: 4px 14px 12px; padding: 14px; border-radius: var(--r);
  background: linear-gradient(135deg, #fff2f5, #f4efff); }
.gf-hero-i { font-size: 30px; }
.gf-hero-t b { display: block; font-size: 15px; font-weight: 800; }
.gf-hero-t span { font-size: 11.5px; color: var(--muted); }
.gf-tabs { display: flex; gap: 8px; margin: 0 14px 12px; }
.gf-tabs button { flex: 1; height: 36px; border-radius: 12px; background: #f3f3f8; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.gf-tabs button.on { background: var(--rose); color: #fff; }
.gf-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 14px 12px; }
.gf-sum div { padding: 10px 8px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); text-align: center; }
.gf-sum b { display: block; font-size: 16px; font-weight: 800; color: var(--ink); }
.gf-sum span { font-size: 11px; color: var(--muted); }
.gf-log { display: flex; align-items: center; gap: 10px; margin: 0 14px 8px; padding: 10px 12px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.gf-log-ico { width: 38px; height: 38px; flex: none; display: flex; align-items: center; justify-content: center; font-size: 22px;
  border-radius: 12px; background: #fdf4f7; }
.gf-log-ico img { width: 30px; height: 30px; object-fit: contain; }
.gf-log-m { flex: 1; min-width: 0; }
.gf-log-m b { display: block; font-size: 13.5px; font-weight: 700; }
.gf-log-m b i { font-style: normal; color: var(--muted); font-weight: 600; }
.gf-log-m span { display: block; font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gf-log-v { text-align: right; flex: none; }
.gf-log-v b { display: block; font-size: 14px; font-weight: 800; color: var(--rose); }
.gf-log-v span { font-size: 10.5px; color: #b6b9c6; }
.gf-rank-f { display: flex; gap: 8px; margin: 0 14px 10px; flex-wrap: wrap; }
.gf-seg { display: flex; gap: 4px; padding: 3px; border-radius: 12px; background: #f3f3f8; }
.gf-seg button { padding: 5px 11px; border-radius: 9px; font-size: 12px; color: var(--ink-2); font-weight: 600; }
.gf-seg button.on { background: #fff; color: var(--rose); box-shadow: 0 2px 8px rgba(24,20,40,.08); }
.gf-rank { display: flex; align-items: center; gap: 10px; width: calc(100% - 28px); margin: 0 14px 8px; padding: 10px 12px;
  border-radius: 14px; background: #fff; box-shadow: var(--shadow); text-align: left; }
.gf-rank-n { width: 22px; flex: none; text-align: center; font-size: 13px; font-weight: 800; color: var(--muted); }
.gf-rank-n.top { color: var(--rose); }
.gf-rank-av { width: 38px; height: 38px; flex: none; border-radius: 50%; background: #f0f0f6 center/cover no-repeat; }
.gf-rank-m { flex: 1; min-width: 0; }
.gf-rank-m b { display: block; font-size: 13.5px; font-weight: 700; }
.gf-rank-m i { font-size: 11.5px; color: var(--muted); font-style: normal; }
.gf-rank-v { font-size: 14px; font-weight: 800; color: var(--rose); }
.gf-wall { margin: 0 0 16px; }
.gf-wall-list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
.gf-wall-i { flex: none; display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 62px; padding: 8px 6px;
  border-radius: 14px; background: #fbfbfe; border: 1px solid var(--line); }
.gf-wall-i .e { font-size: 22px; }
.gf-wall-i .e img { width: 28px; height: 28px; object-fit: contain; }
.gf-wall-i b { font-size: 11px; font-weight: 700; color: var(--ink-2); max-width: 62px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gf-wall-i span { font-size: 10.5px; color: var(--muted); }

/* ===== 虚拟情侣游戏（第 116 章） ===== */
.cp-page { background: var(--bg); min-height: 100vh; padding-bottom: 20px; }
.cp-tabs { display: flex; gap: 8px; padding: 12px 16px 4px; background: #fff; position: sticky; top: 52px; z-index: 5; }
.cp-tabs button { flex: 1; height: 38px; border-radius: 12px; background: #f2f3f8; color: #6b687a; font-size: 14px; font-weight: 600; }
.cp-tabs button.on { background: var(--rose); color: #fff; box-shadow: 0 6px 16px rgba(255, 77, 109, .28); }
.cp-hero { margin: 12px 14px 0; border-radius: 20px; background: linear-gradient(135deg, #ffe6ec, #ffd9e6 45%, #ffe9d9); background-size: cover; background-position: center; overflow: hidden; color: var(--ink); box-shadow: var(--shadow); }
.cp-hero-in { display: flex; gap: 12px; align-items: center; padding: 16px 14px 12px; position: relative; }
.cp-hero-in .cp-av { width: 62px; height: 62px; border-radius: 20px; background: #fff center/cover; flex: none; box-shadow: 0 6px 16px rgba(255, 77, 109, .18); }
.cp-name { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.cp-on { font-size: 11px; font-weight: 500; color: #2e9e6b; background: #e8f8ef; padding: 2px 8px; border-radius: 20px; display: inline-flex; align-items: center; gap: 4px; }
.cp-on i { width: 6px; height: 6px; border-radius: 50%; background: #35c07d; display: inline-block; }
.cp-sub { font-size: 12.5px; color: #7b7486; margin-top: 3px; }
.cp-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.cp-tags i { font-style: normal; font-size: 11px; color: #c2527a; background: rgba(255, 255, 255, .7); padding: 2px 7px; border-radius: 8px; }
.cp-more { position: absolute; right: 12px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .6); font-size: 16px; color: #8a8194; }
.cp-lvbox { padding: 0 14px 14px; }
.cp-lvtop { display: flex; justify-content: space-between; font-size: 12.5px; color: #6e6579; margin-bottom: 6px; }
.cp-lvtop b { color: var(--rose); }
.cp-bar { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .75); overflow: hidden; }
.cp-bar i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--rose), var(--orange)); transition: width .4s; }
.cp-lvtip { font-size: 11.5px; color: #8a8194; margin-top: 6px; }
.cp-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 14px 0; }
.cp-q { background: #fff; border-radius: 16px; padding: 12px 6px; display: flex; flex-direction: column; align-items: center; gap: 2px; box-shadow: 0 2px 10px rgba(24, 20, 40, .04); }
.cp-q .e { font-size: 20px; }
.cp-q b { font-size: 13px; }
.cp-q .s { font-size: 11px; color: var(--muted); }
.cp-q:disabled { opacity: .6; }
.cp-chat { margin: 14px 14px 0; background: #fff; border-radius: 18px; padding: 12px 12px 10px; box-shadow: 0 2px 10px rgba(24, 20, 40, .04); }
.cp-chat-h { display: flex; justify-content: space-between; align-items: center; font-size: 13px; margin-bottom: 8px; }
.cp-chat-h span { font-size: 11.5px; color: var(--muted); }
.cp-msgs { height: 300px; overflow-y: auto; padding: 4px 2px; display: flex; flex-direction: column; gap: 10px; }
.cp-msg { display: flex; gap: 6px; align-items: flex-end; }
.cp-msg .av { width: 26px; height: 26px; border-radius: 9px; background: #eeeef3 center/cover; flex: none; }
.cp-msg .bd { max-width: 74%; padding: 9px 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.55; background: #f4f5f9; color: var(--ink-2); border-bottom-left-radius: 5px; word-break: break-word; }
.cp-msg.me { justify-content: flex-end; }
.cp-msg.me .bd { background: linear-gradient(135deg, var(--rose), var(--rose-2)); color: #fff; border-radius: 14px; border-bottom-right-radius: 5px; }
.cp-chat-empty { color: var(--muted); font-size: 12.5px; text-align: center; padding: 40px 0; }
.cp-input { display: flex; gap: 8px; margin-top: 8px; }
.cp-input .input { flex: 1; height: 40px; border-radius: 12px; background: #f4f5f9; border: 0; padding: 0 12px; }
.cp-send { width: 72px; height: 40px; border-radius: 12px; background: var(--rose); color: #fff; font-size: 14px; font-weight: 600; }
.cp-send:disabled { opacity: .6; }
.cp-sec { margin: 14px 14px 0; background: #fff; border-radius: 18px; padding: 14px; box-shadow: 0 2px 10px rgba(24, 20, 40, .04); }
.cp-sec-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.cp-sec-h b { font-size: 14.5px; }
.cp-sec-h span { font-size: 11.5px; color: var(--muted); }
.cp-quest { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.cp-quest:first-of-type { border-top: 0; }
.cp-quest .e { width: 34px; height: 34px; border-radius: 11px; background: var(--rose-soft); display: flex; align-items: center; justify-content: center; font-size: 17px; flex: none; }
.cp-quest b { font-size: 13.5px; }
.cp-quest .s { font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.cp-quest.done { opacity: .62; }
.cp-none { text-align: center; color: var(--muted); font-size: 12.5px; padding: 18px 0; }
.cp-intro { margin: 12px 14px 0; padding: 18px 16px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #ff6b8a, #ff8f6b); box-shadow: 0 10px 24px rgba(255, 94, 122, .26); }
.cp-intro .t { font-size: 19px; font-weight: 800; }
.cp-intro .s { font-size: 12.5px; opacity: .92; margin-top: 6px; line-height: 1.6; }
.cp-picks { padding: 12px 14px 0; display: flex; flex-direction: column; gap: 12px; }
.cp-pick { background: #fff; border-radius: 18px; padding: 12px; display: flex; gap: 12px; align-items: center; box-shadow: 0 2px 10px rgba(24, 20, 40, .05); }
.cp-pick .av { width: 74px; height: 88px; border-radius: 14px; background: linear-gradient(135deg, #ffe0e8, #ffeadd) center/cover; flex: none; display: flex; align-items: center; justify-content: center; font-size: 26px; }
.pick-b { flex: 1; min-width: 0; }
.pick-b .nm { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.pick-b .nm .g { font-size: 10.5px; font-weight: 500; color: #c2527a; background: var(--rose-soft); padding: 1px 6px; border-radius: 6px; }
.pick-b .sub { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.pick-b .tags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 5px; }
.pick-b .tags i { font-style: normal; font-size: 10.5px; color: #8b6cf3; background: #f2effe; padding: 1px 6px; border-radius: 6px; }
.pick-b .io { font-size: 11.5px; color: #6f6a7c; margin-top: 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pick-btn { width: 70px; height: 34px; padding: 0; border-radius: 10px; font-size: 13px; flex: none; white-space: nowrap; letter-spacing: 0; }
.cp-tip { margin: 14px 16px 0; font-size: 11.5px; color: var(--muted); line-height: 1.7; }
.cp-sheet { padding: 4px 0 6px; }
.cp-sheet-h { text-align: center; font-size: 13px; color: var(--muted); padding: 10px 0 6px; font-weight: 600; }
.cp-sheet-h span { font-weight: 400; }
.cp-cell { display: block; width: 100%; padding: 15px 16px; text-align: center; font-size: 15px; border-top: 1px solid var(--line); }
.cp-cell.danger { color: #e5484d; }
.cp-draw { padding: 18px 16px 16px; text-align: center; }
.cp-draw-t { font-size: 13px; color: var(--muted); }
.cp-draw-seal { width: 64px; height: 64px; margin: 14px auto 10px; border-radius: 16px; background: linear-gradient(135deg, var(--rose), var(--orange)); color: #fff; font-size: 28px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 20px rgba(255, 77, 109, .28); }
.cp-draw-c { font-size: 16px; font-weight: 600; line-height: 1.7; padding: 8px 6px 16px; }
.cp-draw-ops { display: flex; gap: 10px; }
.cp-draw-ops .btn { flex: 1; }
.cp-invite { margin: 26px 16px; background: #fff; border-radius: 20px; padding: 26px 18px; text-align: center; box-shadow: var(--shadow); }
.cp-invite .av { width: 76px; height: 76px; border-radius: 26px; margin: 0 auto 12px; background: #eeeef3 center/cover; }
.cp-invite .t { font-size: 16px; font-weight: 700; }
.cp-invite .s { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.cp-invite .ops { display: flex; gap: 10px; margin-top: 20px; }
.cp-invite .ops .btn { flex: 1; }
.cp-cand { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.cp-cand:first-of-type { border-top: 0; }
.cp-cand .av { width: 42px; height: 42px; border-radius: 14px; background: #eeeef3 center/cover; flex: none; }
.cp-cand b { font-size: 14px; }
.cp-cand .s { font-size: 11.5px; color: var(--muted); }
.cp-room { margin: 12px 14px 0; border-radius: 20px; padding: 18px 14px 14px; background: linear-gradient(135deg, #ff6b8a, #ff9068); color: #fff; box-shadow: 0 12px 26px rgba(255, 94, 122, .28); }
.cp-room-h { display: flex; align-items: center; justify-content: space-between; }
.cp-room-h .who { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 84px; }
.cp-room-h .who .av { width: 54px; height: 54px; border-radius: 18px; background: rgba(255, 255, 255, .5) center/cover; border: 2px solid rgba(255, 255, 255, .8); }
.cp-room-h .who b { font-size: 12.5px; font-weight: 600; max-width: 84px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-heart { font-size: 30px; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.cp-heart span { font-size: 12px; font-weight: 600; margin-top: 6px; }
.cp-room-meta { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; background: rgba(255, 255, 255, .18); border-radius: 14px; padding: 10px 0; }
.cp-room-meta div { text-align: center; }
.cp-room-meta b { display: block; font-size: 16px; }
.cp-room-meta span { font-size: 11px; opacity: .9; }
.cp-letter-add { display: flex; gap: 8px; align-items: flex-end; margin-bottom: 10px; }
.cp-letter-add textarea { flex: 1; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; resize: none; background: #fafbfe; }
.cp-letter-add .btn { width: 66px; height: 40px; border-radius: 12px; font-size: 13.5px; }
.cp-letter { background: #fff8fa; border: 1px solid #ffe3ea; border-radius: 14px; padding: 10px 12px; margin-bottom: 8px; }
.cp-letter.me { background: #f7f5ff; border-color: #e8e2ff; }
.cp-letter .h { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); }
.cp-letter .h span { color: var(--rose); font-weight: 600; }
.cp-letter.me .h span { color: var(--purple); }
.cp-letter .c { font-size: 13.5px; line-height: 1.65; margin-top: 5px; color: var(--ink-2); white-space: pre-wrap; }
.cp-break { display: block; margin: 20px auto 0; font-size: 12.5px; color: #b7b3c2; padding: 6px 14px; }
.cp-quiz-sheet { padding: 6px 0 0; max-height: 78vh; display: flex; flex-direction: column; }
.cp-quiz-sheet .cp-sheet-h { padding: 8px 16px; }
.cp-quiz-list { flex: 1; overflow-y: auto; padding: 0 16px; }
.cp-qz { padding: 12px 0; border-top: 1px solid var(--line); }
.cp-qz:first-child { border-top: 0; }
.cp-qz .t { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.cp-qz .opts { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-qz .opts button { padding: 8px 12px; border-radius: 11px; background: #f4f5f9; font-size: 12.5px; color: #57536a; }
.cp-qz .opts button.on { background: var(--rose-soft); color: var(--rose); font-weight: 600; box-shadow: inset 0 0 0 1px rgba(255, 77, 109, .35); }
.cp-quiz-f { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.cp-quiz-f .btn { width: 100%; }
.cp-result { text-align: center; padding: 10px 0 16px; }
.cp-result .n { font-size: 46px; font-weight: 800; color: var(--rose); line-height: 1; }
.cp-result .n i { font-size: 18px; font-style: normal; margin-left: 2px; }
.cp-result .t { font-size: 14px; font-weight: 700; margin-top: 6px; }
.cp-result .s { font-size: 12px; color: var(--muted); margin-top: 3px; }
.cp-qr-row { padding: 10px 0; border-top: 1px solid var(--line); }
.cp-qr-row:first-child { border-top: 0; }
.cp-qr-row .t { font-size: 13px; font-weight: 600; }
.cp-qr-row .a { display: flex; gap: 14px; font-size: 12px; color: var(--muted); margin-top: 4px; }
.cp-qr-row.ok .a span { color: #2e9e6b; }

/* ===== 3D 虚拟恋人形象（第 117 章） ===== */
.cp-pet-entry { display: flex; align-items: center; gap: 10px; width: calc(100% - 28px); margin: 12px 14px 0;
  padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: 0 2px 10px rgba(24, 20, 40, .05); text-align: left; }
.cp-pet-entry .e { font-size: 22px; }
.cp-pet-entry .tx { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cp-pet-entry .tx b { font-size: 14px; }
.cp-pet-entry .tx span { font-size: 11.5px; color: var(--muted); }
.cp-pet-entry .arr { color: #c8c4d4; font-size: 18px; }

/* 「我的 3D 形象」入口（第 124 章）：跟「TA 的 3D 形象」并排，生成过就把本人照片当缩略图 */
.cp-pet-entry.cp-me { margin-top: 8px; background: linear-gradient(135deg, #fff 0%, #fff6fa 100%); }
.cp-pet-entry.cp-me .tx b { color: var(--rose); }
.cp-pet-entry .pic { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 10px;
  background-color: #f1eef6; background-size: cover; background-position: center; }

.pet-page { background: #fff5f8; min-height: 100vh; display: flex; flex-direction: column; }
.pet-nav { background: transparent; }
.pet-nav-btn { padding: 6px 14px; border-radius: 20px; background: #fff; font-size: 13px; font-weight: 600;
  color: var(--rose); box-shadow: 0 2px 8px rgba(255, 77, 109, .16); }
.pet-stage { position: relative; flex: 1; min-height: 54vh; background: linear-gradient(170deg, #ffe0ec 0%, #fdf1f7 40%, #eaf0ff 100%);
  overflow: hidden; touch-action: none; }
#pet-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pet-glow { position: absolute; left: 50%; top: 54%; width: 260px; height: 260px; margin: -130px 0 0 -130px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 138, 170, .32), rgba(255, 138, 170, 0) 68%); pointer-events: none; }
.pet-bubble { position: absolute; left: 16px; right: 16px; top: 14px; padding: 10px 14px; border-radius: 16px;
  background: rgba(255, 255, 255, .95); color: var(--ink-2); font-size: 13px; line-height: 1.6;
  box-shadow: 0 8px 24px rgba(255, 94, 122, .16); opacity: 0; transform: translateY(-8px); transition: .28s; }
.pet-bubble.show { opacity: 1; transform: none; }
.pet-hud { position: absolute; left: 14px; right: 14px; bottom: 34px; display: flex; flex-direction: column; gap: 6px; pointer-events: none; }
.pet-lv { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: #8a8194; }
.pet-lv b { font-size: 13.5px; color: var(--rose); }
.pet-bar { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: #9a94a6; }
.pet-bar > span { width: 26px; flex: none; }
.pet-bar > i { flex: 1; height: 7px; border-radius: 8px; background: rgba(255, 255, 255, .85); overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 140, 170, .18); }
.pet-bar > i > b { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, #ff8fab, #ff6b8a); transition: width .4s; }
.pet-bar > i > b.energy { background: linear-gradient(90deg, #ffd27a, #ff9f43); }
.pet-bar em { font-style: normal; width: 58px; flex: none; text-align: right; }
.pet-hint { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font-size: 11px; color: #b8b2c4; }
.pet-name { padding: 12px 16px 0; display: flex; align-items: baseline; gap: 8px; }
.pet-name b { font-size: 16px; }
.pet-name span { font-size: 11.5px; color: var(--muted); }
.pet-acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 10px 14px 0; }
.pet-act { background: #fff; border-radius: 16px; padding: 10px 4px; display: flex; flex-direction: column; align-items: center;
  gap: 2px; box-shadow: 0 2px 10px rgba(24, 20, 40, .05); }
.pet-act .e { font-size: 19px; }
.pet-act b { font-size: 12.5px; }
.pet-act .s { font-size: 10.5px; color: var(--muted); }
.pet-act.wait { opacity: .55; }
.pet-note { padding: 12px 18px 22px; font-size: 11px; color: #b0aabf; line-height: 1.7; }

.pet-wd { position: fixed; inset: 0; z-index: 306; display: flex; flex-direction: column; justify-content: flex-end; }
.pet-wd-mask { position: absolute; inset: 0; background: rgba(20, 16, 30, .42); }
.pet-wd-panel { position: relative; background: #fff; border-radius: 20px 20px 0 0; max-height: 88vh; display: flex;
  flex-direction: column; animation: wdUp .24s ease; }
@keyframes wdUp { from { transform: translateY(30px); opacity: .6; } }
.pet-wd-h { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.pet-wd-h b { font-size: 15px; }
.pet-wd-h button { font-size: 16px; color: #a6aaba; }
.pet-wd-b { overflow-y: auto; padding: 6px 16px 14px; -webkit-overflow-scrolling: touch; }
.pet-wd-g { padding: 6px 0; }
.pet-wd-t { font-size: 11.5px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.pet-wd-i { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 4px; }
.pet-wd-c { width: 60px; flex: none; border-radius: 12px; padding: 6px 0 4px; background: #f7f7fb; display: flex;
  flex-direction: column; align-items: center; gap: 1px; }
.pet-wd-c i { width: 26px; height: 26px; border-radius: 50%; background: #fff; display: flex; align-items: center;
  justify-content: center; font-style: normal; font-size: 13px; box-shadow: inset 0 0 0 1px rgba(20, 20, 40, .06); }
.pet-wd-c b { font-size: 10px; font-weight: 600; max-width: 56px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pet-wd-c span { font-size: 9px; color: #b0aabf; }
.pet-wd-c.on { background: var(--rose-soft); box-shadow: inset 0 0 0 1px rgba(255, 77, 109, .4); }
.pet-wd-c.lock { opacity: .5; }
.pet-wd-f { padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); font-size: 11px; color: #b0aabf; border-top: 1px solid var(--line); }

/* ================= 真人 3D 形象（第 124 章） ================= */
.av-page { background: #f6f7fb; min-height: 100vh; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.av-nav { background: transparent; }
.av-nav-btn { padding: 6px 16px; border-radius: 20px; background: #fff; font-size: 13px; font-weight: 600;
  color: #a8aab8; box-shadow: 0 2px 8px rgba(24,20,40,.08); transition: .2s; }
.av-nav-btn.on { background: linear-gradient(135deg, var(--rose), var(--rose-2)); color: #fff;
  box-shadow: 0 6px 16px rgba(255,77,109,.28); }
.av-stage { position: relative; height: 50vh; min-height: 340px;
  background: radial-gradient(120% 90% at 50% 8%, #fff 0%, #f2f5ff 46%, #eef0f8 100%);
  overflow: hidden; touch-action: none; }
#av-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.av-glow { position: absolute; left: 50%; top: 58%; width: 300px; height: 300px; margin: -150px 0 0 -150px;
  border-radius: 50%; background: radial-gradient(circle, rgba(120,150,255,.16), rgba(120,150,255,0) 66%);
  pointer-events: none; }
.av-badge { position: absolute; left: 16px; top: 14px; padding: 4px 10px; border-radius: 10px;
  background: rgba(255,255,255,.86); color: #7d8093; font-size: 11.5px; font-weight: 600;
  box-shadow: 0 2px 10px rgba(24,20,40,.06); }
.av-badge.real { background: linear-gradient(135deg, #ff7f9e, #ff9f6b); color: #fff; }
.av-tip { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-size: 11px; color: #9aa0b6;
  text-shadow: 0 1px 6px rgba(255,255,255,.9); }

.av-gen { padding: 14px 16px 0; }
.av-photo { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border-radius: 16px;
  background: #fff; text-align: left; box-shadow: 0 4px 16px rgba(24,20,40,.06); }
.av-photo .ic { width: 42px; height: 42px; flex: none; border-radius: 13px; display: flex; align-items: center;
  justify-content: center; font-size: 20px; background: linear-gradient(135deg, #fff0f4, #eef1ff); }
.av-photo .tx { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.av-photo .tx b { font-size: 14.5px; }
.av-photo .tx em { font-style: normal; font-size: 11.5px; color: var(--muted); }
.av-photo .arr { color: #c8c4d4; font-size: 18px; }
.av-steps { margin-top: 10px; padding: 12px 14px; border-radius: 14px; background: #fff; display: flex;
  flex-direction: column; gap: 8px; box-shadow: 0 4px 16px rgba(24,20,40,.05); }
.av-step { font-size: 12.5px; color: #6b7080; display: flex; align-items: center; gap: 8px; }
.av-step::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #d7dae6; flex: none; }
.av-step.done { color: #3f9b52; }
.av-step.done::before { background: #48b866; }
.av-step.err { color: #d2455e; }
.av-step.err::before { background: #e0567a; }

.av-sec { margin: 14px 16px 0; padding: 14px; border-radius: 16px; background: #fff;
  box-shadow: 0 4px 16px rgba(24,20,40,.05); }
.av-h { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.av-h b { font-size: 14px; }
.av-h span { font-size: 11px; color: var(--muted); }
.av-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.av-chips button { height: 34px; padding: 0 16px; border-radius: 17px; background: #f4f5fa; color: #5b6072;
  font-size: 13px; transition: .18s; }
.av-chips button.on { background: linear-gradient(135deg, var(--rose), var(--rose-2)); color: #fff; font-weight: 600;
  box-shadow: 0 4px 12px rgba(255,77,109,.22); }
.av-foot { margin: 16px 16px 0; display: flex; align-items: center; gap: 12px; }
.av-foot .btn.small.plain { height: 34px; padding: 0 16px; border-radius: 17px; background: #eef0f6; color: #8b8fa0;
  font-size: 12.5px; }
.av-note { flex: 1; font-size: 11px; color: #a9adbf; line-height: 1.6; }

/* 资料页的「3D 形象」弹层 */
.uv-mask { position: fixed; inset: 0; z-index: 320; background: rgba(16,14,26,.55); display: flex;
  align-items: flex-end; justify-content: center; }
.uv-panel { width: 100%; max-width: 480px; background: #fff; border-radius: 22px 22px 0 0; overflow: hidden;
  animation: uvUp .26s ease; }
@keyframes uvUp { from { transform: translateY(40px); opacity: .5; } }
.uv-h { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.uv-h b { font-size: 15px; }
.uv-h button { font-size: 18px; color: #a6aaba; }
.uv-stage { position: relative; height: min(66vh, 460px); background: radial-gradient(120% 90% at 50% 8%, #fff 0%, #f2f5ff 50%, #eef0f8 100%); }
.uv-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.uv-f { padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); font-size: 11.5px; color: #a9adbf; text-align: center; }
.uv-empty { padding: 60px 20px; text-align: center; color: var(--muted); font-size: 13px; }
.uv-empty .e { font-size: 36px; display: block; margin-bottom: 8px; }

/* 资料页「真人 3D 形象」按钮：压在封面右下角，不抢头像和昵称的位置 */
.pd-3d { position: absolute; right: 14px; top: 10px; z-index: 2; display: inline-flex; align-items: center;
  gap: 5px; height: 30px; padding: 0 12px; border-radius: 15px; background: rgba(255,255,255,.92);
  color: #5b5a78; font-size: 12px; font-weight: 600; box-shadow: 0 4px 14px rgba(24,20,40,.14);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pd-3d span { font-size: 14px; }


/* ================= 兴趣社群（第 118 章） ================= */
.cm-page { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
.cm-nav { background: #fff; }
.cm-search { margin: 10px 16px 0; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px;
  background: #f4f5fa; border-radius: 20px; color: var(--muted); }
.cm-search svg { width: 17px; height: 17px; flex: none; }
.cm-search input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 14px; }
.cm-cats { display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px 2px; -webkit-overflow-scrolling: touch; }
.cm-cats::-webkit-scrollbar { display: none; }
.cm-cat { flex: none; height: 32px; padding: 0 14px; border-radius: 16px; background: #f4f5fa; color: #5b6072;
  font-size: 13px; white-space: nowrap; }
.cm-cat.on { background: linear-gradient(135deg, var(--rose), var(--rose-2)); color: #fff; font-weight: 600; }
.cm-segs { display: flex; gap: 18px; padding: 14px 18px 6px; }
.cm-segs button { font-size: 15px; color: var(--muted); position: relative; padding-bottom: 6px; }
.cm-segs button.on { color: var(--ink); font-weight: 700; }
.cm-segs button.on::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 18px; height: 3px;
  border-radius: 2px; transform: translateX(-50%); background: linear-gradient(90deg, var(--rose), var(--rose-2)); }
.cm-list { padding: 8px 16px 0; display: flex; flex-direction: column; gap: 12px; }
.cm-card { display: flex; gap: 12px; text-align: left; background: #fff; border-radius: var(--r); padding: 12px;
  box-shadow: 0 4px 14px rgba(24,20,40,.05); }
.cm-card-cv { width: 92px; height: 92px; flex: none; border-radius: 14px; background: #eef1f8 center/cover no-repeat;
  position: relative; overflow: hidden; }
.cm-card-hot { position: absolute; left: 6px; bottom: 6px; padding: 2px 7px; border-radius: 8px;
  background: rgba(0,0,0,.45); color: #fff; font-size: 10.5px; }
.cm-card-b { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 5px; }
.cm-card-nm { font-size: 15.5px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cm-badge { font-style: normal; font-size: 10.5px; padding: 1px 6px; border-radius: 6px; background: #fff0f4; color: #e0567a; }
.cm-badge.joined { background: #eef7ee; color: #3f9b52; }
.cm-badge.wait { background: #fff6e6; color: #d18b1c; }
.cm-badge.ess { background: #fff6e6; color: #d18b1c; }
.cm-card-sl { font-size: 12.5px; color: var(--muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; }
.cm-card-m { display: flex; align-items: center; gap: 10px; font-size: 11.5px; color: #a3a7b8; flex-wrap: wrap; }
.cm-card-m .cm-fee { color: #e0567a; font-weight: 700; }
.cm-more { padding: 14px 24px calc(24px + env(safe-area-inset-bottom)); }
.cm-more .btn { width: 100%; }

/* ---- 列表改版（第 132 章：紫罗兰社区风格） ---- */
.cml-page { background: #f4f4f7; min-height: 100vh; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
.cml-nav { background: #fff; }
.cml-nav .title { font-size: 17px; font-weight: 700; }
.cml-segs { display: flex; gap: 6px; margin: 10px 14px 0; padding: 4px; background: #f1f0f5; border-radius: 22px; }
.cml-segs button { flex: 1; height: 36px; border: 0; border-radius: 18px; font-size: 14.5px; color: #8a8b99;
  background: transparent; transition: all .18s; }
.cml-segs button.on { background: linear-gradient(135deg, #9b3df5, #7a12d8); color: #fff; font-weight: 700;
  box-shadow: 0 4px 12px rgba(122,18,216,.26); }
.cml-search { display: flex; align-items: center; gap: 10px; margin: 12px 14px 0; }
.cml-filter { width: 34px; height: 34px; flex: none; display: flex; align-items: center; justify-content: center;
  color: #a0a1af; background: transparent; }
.cml-search input { flex: 1; min-width: 0; border: 0; border-bottom: 1px solid #e6e5ee; background: transparent;
  height: 34px; font-size: 13.5px; color: #2c2c35; }
.cml-search input::placeholder { color: #b4b5c1; }
.cml-sbtn { flex: none; height: 34px; padding: 0 18px; border: 0; border-radius: 10px;
  background: linear-gradient(135deg, #9b3df5, #7a12d8); color: #fff; font-size: 13.5px; font-weight: 600;
  box-shadow: 0 4px 12px rgba(122,18,216,.22); }
.cml-cats { display: flex; gap: 8px; overflow-x: auto; padding: 12px 14px 0; -webkit-overflow-scrolling: touch; }
.cml-cats[hidden] { display: none; }
.cml-cats::-webkit-scrollbar { display: none; }
.cml-cats .cm-cat { background: #fff; color: #6a6c7c; box-shadow: 0 2px 8px rgba(30,20,60,.05); height: 30px;
  padding: 0 13px; border-radius: 15px; font-size: 12.5px; }
.cml-cats .cm-cat.on { background: linear-gradient(135deg, #9b3df5, #7a12d8); color: #fff; font-weight: 600; }
.cml-rec { padding: 14px 0 0; }
.cml-rhead { padding: 0 14px 8px; font-size: 13px; font-weight: 700; color: #3a3b47; }
.cml-rlist { display: flex; gap: 9px; overflow-x: auto; padding: 0 14px 4px; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; }
.cml-rlist::-webkit-scrollbar { display: none; }
.cml-rcard { flex: none; width: 104px; scroll-snap-align: start; }
.cml-rcv { display: block; height: 132px; border-radius: 10px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #3c2a63, #1d1730) center/cover no-repeat; }
.cml-rcv::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,6,20,.04) 32%, rgba(10,6,20,.72)); }
.cml-rtag { position: absolute; right: 6px; top: 6px; z-index: 2; font-style: normal; font-size: 9.5px; color: #fff;
  background: rgba(20,14,32,.55); border-radius: 6px; padding: 2px 6px; }
.cml-rt { position: absolute; left: 8px; right: 8px; bottom: 10px; z-index: 2; color: #fff; font-size: 12px;
  line-height: 1.35; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.cml-rbtn { display: block; width: 72px; margin: 7px auto 0; height: 26px; border-radius: 13px; background: #fff;
  color: #7a12d8; font-size: 11.5px; font-weight: 600; border: 1px solid #e6dcf7;
  box-shadow: 0 2px 8px rgba(30,20,60,.06); }
.cml-rbtn.on { color: #8b8d99; border-color: #ecebf2; }
.cml-list { padding: 12px 14px 0; display: flex; flex-direction: column; gap: 10px; }
.cml-card { display: flex; align-items: center; gap: 11px; background: #fff; border-radius: 14px; padding: 11px;
  box-shadow: 0 3px 12px rgba(24,20,40,.045); text-align: left; }
.cml-cv { width: 84px; height: 84px; flex: none; border-radius: 10px; overflow: hidden;
  background: linear-gradient(150deg, #e9e2f8, #d9cdf0) center/cover no-repeat;
  display: flex; align-items: center; justify-content: center; color: #8a6fc0; font-size: 17px; font-weight: 700; }
.cml-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cml-r1 { display: flex; align-items: center; gap: 6px; min-width: 0; }
.cml-cat { flex: none; font-style: normal; font-size: 10px; color: #8a2be2; border: 1px solid #d8c2f5;
  border-radius: 4px; padding: 1px 4px; line-height: 1.3; }
.cml-nm { font-size: 15px; font-weight: 700; color: #26262f; overflow: hidden; white-space: nowrap;
  text-overflow: ellipsis; }
.cml-tags { display: flex; gap: 5px; overflow: hidden; }
.cml-tags i { flex: none; font-style: normal; font-size: 10.5px; color: #7d7f8d; background: #f4f4f8;
  border-radius: 4px; padding: 1px 6px; white-space: nowrap; }
.cml-desc { margin: 0; font-size: 12px; color: #9a9caa; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; }
.cml-meta { display: flex; align-items: center; gap: 10px; font-size: 11px; color: #b0b2bf; }
.cml-meta .cml-g { color: #7f9bd1; }
.cml-meta .cml-g.f { color: #d98aa6; }
.cml-join { flex: none; min-width: 58px; height: 30px; padding: 0 12px; border-radius: 15px;
  border: 1px solid #9b3df5; background: #fff; color: #7a12d8; font-size: 12.5px; font-weight: 600; }
.cml-join.on { border-color: #e4e3ee; color: #8c8e9b; }
.cml-join[disabled] { border-color: #eee; color: #b9bbc6; }

/* ---- 详情 ---- */
.cm-detail { background: var(--bg); padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
.cm-hero { position: relative; min-height: 196px; padding: 12px 16px 18px; background: linear-gradient(135deg, #ff8098, #ffb08a);
  background-size: cover; background-position: center; }
.cm-hero-top { display: flex; justify-content: space-between; align-items: center; }
.cm-hero-btn { width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.4); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
  backdrop-filter: blur(6px); box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.cm-hero-b { position: absolute; left: 18px; right: 18px; bottom: 18px; color: #fff; }
.cm-hero-b h1 { margin: 0 0 4px; font-size: 21px; font-weight: 800; letter-spacing: -.3px; text-shadow: 0 1px 8px rgba(0,0,0,.25); }
.cm-hero-b p { margin: 0 0 8px; font-size: 12.5px; opacity: .92; }
.cm-hero-m { display: flex; gap: 10px; font-size: 11.5px; opacity: .95; flex-wrap: wrap; }
.cm-hero-m .cm-fee { background: rgba(255,255,255,.22); padding: 1px 8px; border-radius: 8px; }
.cm-tags { display: flex; gap: 6px; flex-wrap: wrap; padding: 12px 16px 0; }
.cm-tags i { font-style: normal; font-size: 11.5px; color: #6b7080; background: #fff; padding: 3px 9px; border-radius: 8px; }
.cm-signbar { margin: 12px 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: linear-gradient(135deg, #fff5f7, #fff); border: 1px solid #ffe3ea; border-radius: 14px; padding: 10px 12px;
  font-size: 12.5px; color: #7a5560; }
.cm-signbar b { color: #e0567a; }
.cm-signbar .btn.small { height: 30px; padding: 0 14px; border-radius: 15px; font-size: 12.5px;
  background: linear-gradient(135deg, var(--rose), var(--rose-2)); color: #fff; }
.cm-signbar .btn.small.plain { background: #f1f2f7; color: #9aa0b0; }
.cm-block { margin: 12px 16px 0; background: #fff; border-radius: var(--r); padding: 14px; }
.cm-block-h { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.cm-block-h span { font-size: 12px; color: var(--muted); font-weight: 400; }
.cm-more-link { margin-left: auto; font-size: 12.5px; color: var(--muted); font-weight: 400; }
.cm-notice { font-size: 13px; color: #4d5265; line-height: 1.75; white-space: pre-wrap; }
.cm-members { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 2px; }
.cm-members::-webkit-scrollbar { display: none; }
.cm-mem { flex: none; width: 48px; display: flex; flex-direction: column; align-items: center; gap: 4px; position: relative; }
.cm-mem i { width: 44px; height: 44px; border-radius: 50%; background: #eef1f8 center/cover no-repeat; }
.cm-mem span { font-size: 10.5px; color: #6b7080; max-width: 48px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cm-mem em { position: absolute; top: -2px; right: -2px; font-style: normal; font-size: 9px; padding: 1px 4px;
  border-radius: 6px; background: var(--rose); color: #fff; }
.cm-act { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); }
.cm-act:last-child { border-bottom: 0; }
.cm-act i { width: 46px; height: 46px; flex: none; border-radius: 12px; background: #eef1f8 center/cover no-repeat; }
.cm-act span { flex: 1; min-width: 0; }
.cm-act b { display: block; font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cm-act em { font-style: normal; font-size: 11.5px; color: var(--muted); }
.cm-act-p { font-size: 12.5px; color: #e0567a; font-weight: 700; }
.cm-sort { margin-left: auto; font-size: 12px; color: var(--muted); font-weight: 400; }
.cm-locked { text-align: center; padding: 26px 12px; color: var(--muted); font-size: 13px; }
.cm-locked svg { width: 26px; height: 26px; color: #d5d8e2; margin-bottom: 8px; }
.cm-locked b { color: var(--ink-2); }
.cm-post { padding: 12px 0; border-bottom: 1px solid var(--line); }
.cm-post:last-child { border-bottom: 0; }
.cm-post-h { display: flex; align-items: center; gap: 8px; }
.cm-post-av { width: 34px; height: 34px; flex: none; border-radius: 50%; background: #eef1f8 center/cover no-repeat; }
.cm-post-h div { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; }
.cm-post-h b { font-size: 13.5px; font-weight: 600; }
.cm-post-h em { font-style: normal; font-size: 11px; color: #a3a7b8; }
.cm-post-t { margin: 9px 0 0; font-size: 14px; line-height: 1.72; color: #2f3344; white-space: pre-wrap; word-break: break-word; }
.cm-post-imgs { display: grid; gap: 5px; margin-top: 9px; grid-template-columns: repeat(3, 1fr); }
.cm-post-imgs.n1 { grid-template-columns: minmax(0, 62%); }
.cm-post-imgs.n2 { grid-template-columns: repeat(2, 1fr); }
.cm-post-imgs i { padding-top: 100%; border-radius: 10px; background: #eef1f8 center/cover no-repeat; }
.cm-post-a { display: flex; align-items: center; gap: 20px; margin-top: 10px; font-size: 12.5px; color: #8b8f9f; }
.cm-post-a button { display: flex; align-items: center; gap: 4px; }
.cm-post-a svg { width: 16px; height: 16px; }
.cm-post-a button.on { color: var(--rose); }
.cm-post-a .cm-post-del { margin-left: auto; color: #b7bac6; }
.cm-bottom { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: 480px;
  display: flex; align-items: center; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); border-top: 1px solid var(--line); backdrop-filter: blur(8px); z-index: 20; }
.cm-post-entry { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px;
  border-radius: 20px; background: #f4f5fa; color: var(--muted); font-size: 13px; }
.cm-post-entry svg { width: 16px; height: 16px; }
.cm-bottom-btn { width: 40px; height: 40px; flex: none; border-radius: 50%; background: #f4f5fa; color: #6b7080;
  display: flex; align-items: center; justify-content: center; font-size: 17px; }
.cm-join-btn { flex: 1; height: 44px; border-radius: 22px; font-size: 15px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--rose-2)); }
.cm-join-btn:disabled { opacity: .6; }

/* ---- 弹层 ---- */
.sheet.cm-sheet { padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
.cm-form { display: flex; flex-direction: column; gap: 4px; }
.cm-cover-up { height: 118px; border-radius: 14px; background: #f4f5fa center/cover no-repeat; display: flex;
  align-items: center; justify-content: center; color: #a3a7b8; font-size: 13px; margin-bottom: 8px;
  border: 1px dashed #dcdfea; }
.cm-fl { font-size: 12.5px; color: #6b7080; margin: 10px 0 4px; }
.cm-fl b { color: var(--rose); margin-left: 2px; }
.cm-fi { width: 100%; border: 1px solid #e8eaf2; border-radius: 12px; padding: 10px 12px; font-size: 14px;
  background: #fbfbfd; resize: vertical; }
.cm-fi:focus { border-color: #ffc3d0; background: #fff; }
.cm-frow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cm-tip { font-size: 11.5px; color: #a3a7b8; margin: 8px 0 0; line-height: 1.6; }
.cm-submit { margin-top: 14px; height: 44px; border-radius: 22px; font-size: 15px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--rose-2)); }
.cm-imgs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.cm-imgs i { width: 64px; height: 64px; border-radius: 10px; background: #eef1f8 center/cover no-repeat; }
.cm-img-add { width: 64px; height: 64px; border-radius: 10px; border: 1px dashed #d8dbe6; color: #a3a7b8; font-size: 22px; }
.cm-mgr button { display: flex; align-items: center; justify-content: space-between; width: 100%; text-align: left;
  padding: 13px 4px; border-bottom: 1px solid var(--line); }
.cm-mgr button:last-child { border-bottom: 0; }
.cm-mgr button span { display: flex; flex-direction: column; gap: 2px; }
.cm-mgr button b { font-size: 14px; font-weight: 600; }
.cm-mgr button em { font-style: normal; font-size: 11.5px; color: #a3a7b8; }
.cm-mgr button i { font-style: normal; color: #c8ccd8; font-size: 16px; }
.cm-mgr button.danger b { color: #e0495b; }
.cm-applys { max-height: 52vh; overflow-y: auto; }
.cm-apply { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cm-apply i { width: 38px; height: 38px; flex: none; border-radius: 50%; background: #eef1f8 center/cover no-repeat; }
.cm-apply div:nth-child(2) { flex: 1; min-width: 0; }
.cm-apply b { font-size: 13.5px; }
.cm-apply em { font-style: normal; font-size: 11px; color: #a3a7b8; margin-left: 6px; }
.cm-apply p { margin: 4px 0 0; font-size: 12.5px; color: #6b7080; line-height: 1.6; }
.cm-apply-a { display: flex; flex-direction: column; gap: 6px; }
.cm-apply-a button { font-size: 12px; padding: 4px 10px; border-radius: 10px; background: #fff0f4; color: #e0567a; }
.cm-apply-a button[data-deny] { background: #f3f4f8; color: #8b8f9f; }
.cm-mlist { max-height: 56vh; overflow-y: auto; }
.cm-mrow { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.cm-mrow i { width: 36px; height: 36px; flex: none; border-radius: 50%; background: #eef1f8 center/cover no-repeat; }
.cm-mrow div { flex: 1; min-width: 0; }
.cm-mrow b { font-size: 13.5px; }
.cm-mrow em { display: block; font-style: normal; font-size: 11.5px; color: #a3a7b8; }
.cm-mrow button { font-size: 12px; padding: 4px 10px; border-radius: 10px; background: #f3f4f8; color: #6b7080; }
.cm-rank-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.cm-rank-row b { width: 22px; text-align: center; font-size: 13px; color: #b0b4c2; }
.cm-rank-row b.r1 { color: #e8a020; } .cm-rank-row b.r2 { color: #b8bcc8; } .cm-rank-row b.r3 { color: #cd8f5c; }
.cm-rank-row i { width: 32px; height: 32px; border-radius: 50%; background: #eef1f8 center/cover no-repeat; }
.cm-rank-row span { flex: 1; min-width: 0; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cm-rank-row em { font-style: normal; font-size: 12.5px; color: #e0567a; font-weight: 700; }
.cm-act-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cm-act-row span { flex: 1; min-width: 0; font-size: 13.5px; }
.cm-act-row em { display: block; font-style: normal; font-size: 11.5px; color: #a3a7b8; }
.cm-act-row button { font-size: 12px; padding: 5px 12px; border-radius: 12px; background: #fff0f4; color: #e0567a; }
.cm-cmts { max-height: 48vh; overflow-y: auto; }
.cm-cmt { display: flex; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.cm-cmt i { width: 30px; height: 30px; flex: none; border-radius: 50%; background: #eef1f8 center/cover no-repeat; }
.cm-cmt div { flex: 1; min-width: 0; }
.cm-cmt b { font-size: 12.5px; }
.cm-cmt em { font-style: normal; font-size: 11.5px; color: #a3a7b8; margin-left: 4px; }
.cm-cmt p { margin: 3px 0 0; font-size: 13.5px; line-height: 1.6; color: #3b4152; word-break: break-word; }
.cm-cmt button { font-size: 11.5px; color: #b7bac6; align-self: flex-start; }
.cm-cmt-in { display: flex; gap: 8px; margin-top: 10px; }
.cm-cmt-in input { flex: 1; min-width: 0; height: 40px; padding: 0 14px; border-radius: 20px; background: #f4f5fa; border: 0; font-size: 14px; }
.cm-cmt-in button { height: 40px; padding: 0 18px; border-radius: 20px; background: linear-gradient(135deg, var(--rose), var(--rose-2));
  color: #fff; font-size: 13.5px; font-weight: 600; }
.cm-viewer { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.cm-viewer img { max-width: 96vw; max-height: 88vh; border-radius: 12px; }

/* ===== 婚况（单身 / 已婚，第 134 章） ===== */
.me-marital {
  position: relative; margin-top: 8px; display: inline-flex; align-items: center; gap: 5px;
  height: 26px; padding: 0 11px; border-radius: 13px;
  background: rgba(255, 255, 255, .82); border: 1px solid rgba(196, 182, 219, .55);
  font-size: 11.5px; font-weight: 600; color: #837797;
  box-shadow: 0 4px 12px rgba(120, 90, 150, .08);
}
.me-marital svg { width: 13px; height: 13px; }
.me-marital.on { color: #b8477a; border-color: rgba(214, 120, 150, .45); }
.me-marital.on.married { color: #7a5cf0; border-color: rgba(122, 92, 240, .35); }
.me-marital i {
  font-style: normal; font-size: 10px; color: #a98fd0;
  padding-left: 6px; border-left: 1px solid rgba(196, 182, 219, .6);
}
.me-marital:active { transform: scale(.97); }

.pd-marital {
  font-style: normal; margin-left: 7px; padding: 1px 7px; border-radius: 8px;
  font-size: 10.5px; font-weight: 600; background: #ffe9f1; color: #c0447b; vertical-align: middle;
}
.pd-marital.married { background: #efe9ff; color: #6b4de0; }

.marital { padding: 2px 0 calc(10px + env(safe-area-inset-bottom)); }
.mt-h { text-align: center; margin-bottom: 16px; }
.mt-h b { font-size: 17px; color: #2f2839; }
.mt-h p { margin-top: 6px; font-size: 11.5px; color: #9a93a8; line-height: 1.6; }
.mt-opt {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; margin-bottom: 10px;
  border-radius: 16px; background: #faf9fd; border: 1px solid #efeaf7; text-align: left;
}
.mt-opt.cur { border-color: rgba(214, 120, 150, .5); background: #fff6fa; }
.mt-ic { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 21px; flex: none; }
.mt-ic svg { width: 20px; height: 20px; }
.mt-ic.single { background: linear-gradient(135deg, #ffe4ee, #ffd0e1); color: #d4467f; }
.mt-ic.married { background: linear-gradient(135deg, #ece6ff, #ddd2ff); color: #6f52e0; }
.mt-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mt-t b { font-size: 15px; color: #2f2839; }
.mt-t i { font-style: normal; font-size: 11.5px; color: #9a93a8; }
.mt-r { font-size: 12px; color: #b6aec7; flex: none; }
.mt-later { width: 100%; margin-top: 4px; }
