: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;
}

* { 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: 104px;
  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(452px, calc(100% - 28px)); height: 64px; padding: 6px; gap: 4px;
  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: 32px;
  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: 1px;
  color: #a09aae; font-size: 10px; position: relative; border-radius: 26px;
  transition: color .2s, background .25s, box-shadow .25s;
}
.tab-item svg { font-size: 20px; transition: transform .2s; }
.tab-item.active { color: #fff; background: linear-gradient(135deg, var(--rose), #ff8a5b); box-shadow: 0 8px 18px rgba(255, 77, 109, .3); }
.tab-item.active svg { transform: translateY(-1px) scale(1.04); }
.tab-item .dot { position: absolute; top: 5px; right: 50%; margin-right: -20px; width: 7px; height: 7px; border-radius: 50%; background: var(--rose); border: 1.5px solid #fff; }
.tab-item.active .dot { background: #fff; }

/* ---------- 浮动导航 / 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(96px + 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; padding: 0 26px; display: flex; flex-direction: column; background: #fff; }
.auth-hero { padding: 76px 0 34px; }
.auth-logo { width: 62px; height: 62px; border-radius: 20px; background: linear-gradient(135deg, var(--rose), var(--orange)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 30px; box-shadow: 0 12px 26px rgba(255,77,109,.32); margin-bottom: 22px; }
.auth-hero h1 { font-size: 27px; margin: 0 0 8px; letter-spacing: -.5px; }
.auth-hero p { margin: 0; color: var(--muted); font-size: 14px; }
.auth-tabs { display: flex; gap: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.auth-tabs button { padding: 0 0 10px; font-size: 16px; color: var(--muted); position: relative; font-weight: 500; }
.auth-tabs button.active { color: var(--ink); font-weight: 700; }
.auth-tabs button.active::after { content: ''; position: absolute; left: 50%; transform: translateX(-50%); bottom: -1px; width: 22px; height: 3px; border-radius: 3px; background: var(--rose); }
/* 登录方式切换（密码 / 验证码），由后台「登录注册管理」决定显示 */
.auth-mt { display: flex; gap: 8px; margin-bottom: 16px; }
.auth-mt button { flex: 1; padding: 9px 0; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 13.5px; transition: all .15s; }
.auth-mt button.on { border-color: var(--rose); color: var(--rose); font-weight: 600; background: #fff5f7; }
.auth-body { flex: 1; }
.auth-foot { padding: 24px 0 40px; text-align: center; font-size: 12px; color: #b6b6c2; line-height: 1.8; }
.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; }
.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; }

.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; }

/* ---------- 推荐（交友） ---------- */
.rec-wrap {
  min-height: calc(100vh - 104px); min-height: calc(100dvh - 104px);
  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; }

.gal { margin: 12px 62px 0 0; flex: 1; min-height: 150px; max-height: 320px; display: flex; }
.gal .g {
  position: relative; flex: 1; border-radius: 16px; overflow: hidden; background-size: cover; background-position: center;
  background-color: #f3e9ff; box-shadow: 0 8px 18px rgba(150,110,180,.18);
}
.gal .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; }
.gal .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; }
.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 - 104px); min-height: calc(100dvh - 104px); 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; 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: 26px 20px 30px; 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: 12px 0 6px; font-size: 22px; letter-spacing: 1px; }
.vip-hero p { margin: 0; font-size: 12.5px; opacity: .78; }
.vip-hero .crown { font-size: 40px; color: #ffd98a; }
.plan-list { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.plan { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: #fff; border: 2px solid transparent; box-shadow: var(--shadow); position: relative; transition: .2s; }
.plan.on { border-color: var(--rose); background: linear-gradient(120deg, #fff 40%, #fff5f7); }
.plan .nm { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 7px; }
.plan .ds { font-size: 12px; color: var(--muted); margin-top: 3px; }
.plan .pr { text-align: right; }
.plan .pr b { font-size: 22px; color: var(--rose); }
.plan .pr b i { font-size: 13px; font-style: normal; font-weight: 600; }
.plan .pr s { display: block; font-size: 11px; color: #b9b9c4; }
.plan .mark { position: absolute; top: -1px; right: -1px; background: linear-gradient(135deg, var(--rose), var(--orange)); color: #fff; font-size: 10px; padding: 3px 9px; border-radius: 0 16px 0 12px; font-weight: 600; }
.plan .tick { display: none; }
.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; }
  .gal { 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 - 104px);
  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; }
.me-album .im { aspect-ratio: 1; border-radius: 12px; background-size: cover; background-position: center; position: relative; }
.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 - 104px); 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 - 104px); 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: 9.8px; }
#tabbar .tab-item svg { font-size: 19px; }

/* ==================== 组局：主办方入口 / 发布 / 中心 ==================== */
.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 { font-size: 13.5px; font-weight: 700; color: #241f2e; 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;
}
.plan .nm .vip-now {
  font-size: 10px; font-weight: 600; height: 16px; line-height: 16px; padding: 0 6px; border-radius: 8px;
  background: var(--rose-soft); color: var(--rose); font-style: normal;
}
.plan .ds2 { font-size: 11px; color: #b4b4c2; margin-top: 4px; }
.tier-head {
  margin: 18px 16px 10px; display: flex; align-items: baseline; gap: 8px;
  font-size: 15px; font-weight: 800; color: var(--ink);
}
.tier-head span { font-size: 11.5px; font-weight: 400; color: var(--muted); }
.tier-wrap { padding: 0 16px; display: flex; flex-direction: column; gap: 12px; }
.tier {
  background: #fff; border-radius: 20px; padding: 16px; position: relative;
  box-shadow: 0 8px 22px rgba(24, 20, 40, .06); border: 1.5px solid transparent; transition: .2s;
}
.tier.picked { border-color: var(--rose); box-shadow: 0 12px 28px rgba(255, 77, 109, .16); }
.tier-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.tt-l { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tt-l b { font-size: 17px; font-weight: 800; letter-spacing: .3px; display: flex; align-items: center; gap: 6px; }
.tt-now {
  font-style: normal; font-size: 9.5px; font-weight: 600; padding: 2px 6px; border-radius: 7px;
  background: #fff3e4; color: #b8801a; letter-spacing: 0;
}
.tt-tag {
  align-self: flex-start; font-size: 10.5px; padding: 3px 8px; border-radius: 9px;
  background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); font-weight: 600;
}
.tt-p { font-size: 21px; font-weight: 800; color: var(--c); flex: none; letter-spacing: -.4px; }
.tt-p i { font-size: 12px; font-style: normal; font-weight: 700; margin-right: 1px; }
.tt-p span { font-size: 10.5px; font-weight: 500; color: #a9a9b6; margin-left: 2px; }
.tier-intro {
  margin-top: 10px; padding: 9px 11px; border-radius: 12px; background: #fafafd;
  font-size: 12px; color: #75758a; line-height: 1.6;
}
.tier-list { list-style: none; margin: 12px 0 0; padding: 0; }
.tier-list li { display: flex; gap: 9px; padding: 6px 0; font-size: 13px; color: var(--ink-2); line-height: 1.62; }
.tier-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;
}
.tier-btn {
  width: 100%; height: 38px; margin-top: 14px; border-radius: 12px; font-size: 13.5px; font-weight: 700;
  background: #f4f3fa; color: #5a5870;
}
.tier.picked .tier-btn { background: linear-gradient(135deg, #ff7a9c, #ff4d6d); color: #fff; box-shadow: 0 8px 18px rgba(255, 77, 109, .24); }

/* ==================== 推广海报 ==================== */
.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); }
.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; }
.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; }
.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; }
