/* ===== 同频 Tongpin · 视觉体系 v2 =====
   设计语言：克制、留白、以照片为主体、极轻阴影、单一强调色 */

:root{
  --ink:#131316;
  --ink-2:#45454D;
  --muted:#8C8C93;
  --faint:#B4B4BA;
  --line:#F0F0F3;
  --line-2:#E6E6EA;
  --bg:#F7F7F9;
  --card:#FFFFFF;
  --brand:#FF4A6E;
  --brand-deep:#E8325A;
  --brand-soft:#FFF1F4;
  --dark:#16161A;
  --ok:#1FA971;
  --radius-xl:32px;
  --radius-lg:26px;
  --radius:20px;
  --radius-sm:13px;
  --shadow-xs:0 1px 2px rgba(18,18,22,.04);
  --shadow-sm:0 4px 14px -8px rgba(18,18,22,.16);
  --shadow:0 14px 40px -20px rgba(18,18,22,.28);
  --shadow-lg:0 30px 70px -30px rgba(18,18,22,.38);
  --ease:cubic-bezier(.32,.72,0,1);
}

*{box-sizing:border-box;-webkit-tap-highlight-color:transparent;}
html,body{height:100%;}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;
  color:var(--ink);
  background:#EDEDF1;
  display:flex;align-items:center;justify-content:center;
  min-height:100%;
  overflow:hidden;
  -webkit-font-smoothing:antialiased;
}
button{font-family:inherit;border:0;background:none;cursor:pointer;color:inherit;padding:0;}
input,textarea,select{font-family:inherit;outline:none;border:0;background:none;color:inherit;}
svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
img{display:block;max-width:100%;}
h1,h2,h3,h4,p{margin:0;}
.hidden{display:none !important;}

/* ===== 手机外壳 ===== */
.stage{width:100%;height:100dvh;display:flex;align-items:center;justify-content:center;padding:20px;}
.phone{
  position:relative;
  width:min(420px,100%);
  height:min(880px,100dvh - 40px);
  background:var(--bg);
  border-radius:46px;
  box-shadow:0 40px 90px -40px rgba(20,18,30,.5), 0 0 0 9px #17171C, 0 0 0 10px #2C2C34;
  overflow:hidden;
}
.phone::before{
  content:"";position:absolute;top:11px;left:50%;transform:translateX(-50%);
  width:104px;height:26px;border-radius:16px;background:#17171C;z-index:80;pointer-events:none;
}
.app{position:absolute;inset:0;background:var(--bg);overflow:hidden;}

/* ===== 视图切换 ===== */
.view{
  position:absolute;inset:0;
  padding:calc(56px + env(safe-area-inset-top)) 20px 104px;
  overflow-y:auto;overflow-x:hidden;
  -webkit-overflow-scrolling:touch;
  opacity:0;visibility:hidden;
  transform:translateY(8px);
  transition:opacity .26s var(--ease),transform .26s var(--ease),visibility .26s;
}
.view.active{opacity:1;visibility:visible;transform:none;}
/* 顶部氛围渐变：随页面固定在顶部，不随内容滚动 */
#view-discover,#view-likes,#view-square,#view-chat,#view-me{
  background-image:linear-gradient(180deg,#EEEFFF 0px,#F7F7F9 240px);
}
.view::-webkit-scrollbar{width:0;}
#view-discover{
  display:flex;flex-direction:column;
  overflow:hidden;
  padding-bottom:92px;
}

/* ===== 通用元素 ===== */
.topbar{
  display:flex;align-items:center;justify-content:space-between;
  margin-bottom:18px;
}
.page-title{font-size:26px;font-weight:700;letter-spacing:-.5px;}
.icon-btn{
  width:40px;height:40px;border-radius:50%;
  display:grid;place-items:center;
  background:var(--card);color:var(--ink);
  box-shadow:var(--shadow-xs);
  border:1px solid var(--line);
  transition:transform .18s var(--ease),background .18s;
}
.icon-btn:active{transform:scale(.94);}
.logo-sm{
  display:flex;align-items:center;gap:8px;
  font-size:19px;font-weight:700;letter-spacing:-.3px;
}
.logo-sm .dot-a,.logo-sm .dot-b{
  width:9px;height:9px;border-radius:50%;background:var(--brand);display:inline-block;
}
.logo-sm .dot-b{background:var(--ink);margin-left:-4px;}

.primary-btn{
  width:100%;height:54px;border-radius:27px;
  background:var(--ink);color:#fff;
  font-size:16px;font-weight:600;letter-spacing:.2px;
  transition:transform .16s var(--ease),opacity .16s,background .16s;
}
.primary-btn:active{transform:scale(.985);opacity:.9;}
.primary-btn:disabled{opacity:.45;}
.ghost-btn{
  width:100%;height:50px;border-radius:25px;
  background:var(--card);color:var(--ink-2);
  font-size:15px;font-weight:500;
  border:1px solid var(--line-2);
  transition:background .16s,transform .16s var(--ease);
}
.ghost-btn:active{background:#F4F4F7;transform:scale(.99);}

.section-title{
  font-size:14px;font-weight:600;color:var(--muted);
  letter-spacing:.2px;margin:26px 0 12px;
}

.field{
  display:flex;align-items:center;gap:10px;
  height:54px;padding:0 18px;
  background:var(--card);
  border:1px solid var(--line-2);
  border-radius:var(--radius);
  transition:border-color .18s,box-shadow .18s;
}
.field:focus-within{border-color:var(--ink);box-shadow:0 0 0 4px rgba(19,19,22,.04);}
.field input,.field select{flex:1;min-width:0;font-size:16px;height:100%;}
.field input::placeholder{color:var(--faint);}
.field select{appearance:none;}
.field-pre{font-size:15px;color:var(--muted);font-weight:500;padding-right:10px;border-right:1px solid var(--line);}
.form-row{display:flex;gap:10px;}
.form-row .field{flex:1;}

.chips{
  display:flex;gap:8px;overflow-x:auto;padding:2px 0 4px;
  scrollbar-width:none;
}
.chips::-webkit-scrollbar{display:none;}
.chips-wrap{flex-wrap:wrap;overflow:visible;}
.chip{
  flex:0 0 auto;height:36px;padding:0 16px;
  border-radius:18px;
  background:var(--card);color:var(--ink-2);
  font-size:14px;font-weight:500;
  border:1px solid var(--line-2);
  transition:all .18s var(--ease);
}
.chip.active{background:var(--ink);color:#fff;border-color:var(--ink);}
.chip:active{transform:scale(.96);}

/* 顶部场景 tab */
.scene-tabs{gap:22px;padding:0;overflow:visible;}
.scene-tabs .chip{
  height:auto;padding:0 0 5px;border:0;border-radius:0;flex:0 0 auto;
  background:none;color:var(--faint);
  font-size:20px;font-weight:600;letter-spacing:-.3px;
  position:relative;
  transition:color .18s var(--ease);
}
.scene-tabs .chip.active{background:none;color:var(--ink);font-weight:700;box-shadow:none;}
.scene-tabs .chip.active::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:3px;
  border-radius:2px;background:var(--ink);
}
.scene-tabs .chip:active{transform:none;}

/* ===== 登录 ===== */
.view-login{
  padding:0;overflow:hidden;
  background:var(--bg);
}
.blob{display:none;}
.login-wrap{
  position:relative;z-index:2;
  padding:104px 26px 40px;
  display:flex;flex-direction:column;align-items:center;
  height:100%;overflow-y:auto;
}
.brand-mark{
  position:relative;width:64px;height:64px;margin-bottom:20px;
  border-radius:22px;
  background:var(--ink);
  box-shadow:var(--shadow);
}
.ring{position:absolute;border-radius:50%;border:2px solid rgba(255,255,255,.85);}
.ring-a{width:22px;height:22px;left:15px;top:21px;}
.ring-b{width:14px;height:14px;right:13px;top:26px;border-color:var(--brand);}
.brand-name{font-size:30px;font-weight:700;letter-spacing:2px;}
.brand-slogan{margin-top:8px;color:var(--muted);font-size:14px;letter-spacing:.5px;}
.login-card{
  width:100%;margin-top:30px;
  background:var(--card);
  border-radius:var(--radius-xl);
  padding:22px 20px 24px;
  box-shadow:var(--shadow);
}
.auth-switch{
  display:flex;gap:4px;margin-bottom:20px;
  background:#F4F4F7;border-radius:14px;padding:4px;
}
.auth-switch button{
  flex:1;height:42px;border-radius:11px;
  font-size:15px;font-weight:600;color:var(--muted);
  transition:all .2s var(--ease);
}
.auth-switch button.active{background:var(--card);color:var(--ink);box-shadow:var(--shadow-xs);}
.login-card .field{margin-bottom:10px;background:#F7F7F9;border-color:transparent;}
.login-card .field:focus-within{background:var(--card);border-color:var(--ink);}
.code-btn{
  flex:0 0 auto;height:34px;padding:0 12px;
  border-radius:10px;background:var(--ink);color:#fff;
  font-size:13px;font-weight:600;
}
.code-btn:disabled{opacity:.4;}
.register-fields{display:none;margin-top:2px;}
.register-fields.show{display:block;}
.register-fields .field{margin-bottom:10px;}
.gender-row{display:flex;gap:8px;margin-bottom:12px;}
.gender-row button{
  flex:1;height:44px;border-radius:12px;
  background:#F7F7F9;color:var(--muted);
  font-size:14px;font-weight:500;
  border:1px solid transparent;
  transition:all .18s var(--ease);
}
.gender-row button.active{background:var(--brand-soft);color:var(--brand-deep);border-color:rgba(255,74,110,.28);font-weight:600;}
.login-card .primary-btn{margin-top:8px;}
.agreement{margin-top:14px;text-align:center;font-size:12px;color:var(--faint);line-height:1.6;}
.trust-row{
  margin-top:auto;padding-top:28px;
  display:flex;align-items:center;gap:12px;
  font-size:12px;color:var(--faint);
}
.trust-row i{width:3px;height:3px;border-radius:50%;background:var(--line-2);}
.build-tag{margin-top:10px;font-size:11px;color:var(--faint);letter-spacing:.4px;}

/* ===== 推荐配额 ===== */
.quota-bar{
  display:flex;align-items:center;gap:14px;margin:0 0 10px;
  font-size:11.5px;color:var(--faint);
}
.q-item{padding:0;background:none;border:0;}
.q-item b{color:var(--ink-2);font-weight:700;}
.q-item.q-member{
  margin-left:auto;padding:3px 9px;border-radius:9px;
  font-size:10.5px;font-weight:600;color:#B07A00;background:#FFF6E0;
}
.quota-bar.empty{color:var(--brand-deep);}

/* ===== 推荐卡片 ===== */
.deck{
  position:relative;
  flex:1 1 auto;
  min-height:280px;
  margin-bottom:84px;
  border-radius:var(--radius-xl);
}
.pcard{
  position:absolute;inset:0;
  border-radius:22px;
  overflow:hidden;
  background:#E9E9EE;
  box-shadow:var(--shadow-lg);
  will-change:transform;
  transition:transform .3s var(--ease),opacity .3s var(--ease);
  touch-action:pan-y;
}
.pcard img{width:100%;height:100%;object-fit:cover;pointer-events:none;}
.pcard.swipe-left{transform:translateX(-120%) rotate(-14deg) !important;opacity:0;}
.pcard.swipe-right{transform:translateX(120%) rotate(14deg) !important;opacity:0;}
.pcard.card-enter{animation:cardIn .42s var(--ease);}
@keyframes cardIn{
  from{opacity:.55;transform:translateY(16px) scale(.965);}
  to{opacity:1;transform:none;}
}
.pcard.img-loading::after{
  content:"";position:absolute;inset:0;z-index:4;pointer-events:none;
  background:linear-gradient(100deg,#ECECF1 25%,#F7F7FA 45%,#ECECF1 65%);
  background-size:220% 100%;
  animation:shimmer 1.1s linear infinite;
}
@keyframes shimmer{
  0%{background-position:120% 0;}
  100%{background-position:-120% 0;}
}
@keyframes photoSlideNext{
  from{opacity:.35;transform:translateX(16px) scale(1.02);}
  to{opacity:1;transform:none;}
}
@keyframes photoSlidePrev{
  from{opacity:.35;transform:translateX(-16px) scale(1.02);}
  to{opacity:1;transform:none;}
}
.swipe-stamp{
  position:absolute;top:22%;z-index:3;
  padding:9px 16px;border-radius:14px;
  font-size:20px;font-weight:800;letter-spacing:2px;
  border:3px solid currentColor;opacity:0;
  pointer-events:none;
  transform:rotate(var(--rot,0deg)) scale(.9);
  background:rgba(255,255,255,.12);
  backdrop-filter:blur(3px);
  transition:opacity .1s linear,transform .1s linear;
}
.stamp-like{right:18px;color:#2ECC71;--rot:12deg;}
.stamp-nope{left:18px;color:#9A9AA3;--rot:-12deg;}
.stamp-star{bottom:30%;left:50%;margin-left:-62px;color:#F5A623;--rot:0deg;}
.ph-fallback{
  position:absolute;inset:0;
  display:grid;place-items:center;
  font-size:64px;font-weight:700;color:#C9C9D2;
  background:linear-gradient(150deg,#F2F2F6,#E4E4EA);
}
.pcard.no-photo{background:linear-gradient(160deg,#33333C,#17171C);}
.pcard.no-photo .ph-fallback{
  background:transparent;color:rgba(255,255,255,.14);font-size:96px;
}
.shade{
  position:absolute;inset:0;
  background:linear-gradient(to bottom,rgba(0,0,0,.28) 0%,rgba(0,0,0,0) 26%,rgba(0,0,0,0) 42%,rgba(0,0,0,.62) 78%,rgba(0,0,0,.82) 100%);
  pointer-events:none;
}
.pdots{
  position:absolute;top:10px;left:14px;right:14px;
  display:flex;gap:4px;
}
.pdots span{
  flex:1;height:2.5px;border-radius:2px;
  background:rgba(255,255,255,.38);
  transition:background .2s;
}
.pdots span.on{background:#fff;}
.ptop-actions{
  position:absolute;top:20px;right:12px;
  display:flex;align-items:center;gap:8px;
}
.psafe{
  width:34px;height:34px;border-radius:50%;
  background:rgba(0,0,0,.32);color:#fff;
  font-size:15px;font-weight:700;letter-spacing:1px;
  backdrop-filter:blur(8px);
}
.psuper{
  width:34px;height:34px;border-radius:50%;
  display:grid;place-items:center;
  background:rgba(0,0,0,.32);color:#FFD166;
  backdrop-filter:blur(8px);
  transition:transform .16s var(--ease);
}
.psuper svg{width:16px;height:16px;fill:currentColor;stroke:none;}
.psuper:active{transform:scale(.9);}
.pnext{
  position:absolute;right:12px;top:38%;z-index:2;
  width:32px;height:32px;border-radius:50%;
  display:grid;place-items:center;
  background:rgba(0,0,0,.3);color:#fff;
  border:1px solid rgba(255,255,255,.28);
  backdrop-filter:blur(8px);
  transition:transform .16s var(--ease);
}
.pnext svg{width:16px;height:16px;}
.pnext:active{transform:scale(.9);}
.pinfo{
  position:absolute;left:0;right:0;bottom:0;
  padding:14px 18px 16px;
  background:#fff;color:var(--ink);
  border-radius:22px 22px 0 0;
  box-shadow:0 -12px 30px -22px rgba(18,18,22,.45);
}
.preasons{
  display:flex;align-items:center;gap:8px;
  margin:-2px 0 12px;padding:9px 12px;
  border-radius:12px;background:#FFF1F4;
  font-size:12.5px;line-height:1.4;color:#D93A5F;
}
.preasons b{flex:0 0 auto;font-size:12px;font-weight:700;letter-spacing:.2px;color:#E8325A;}
.preasons span{
  min-width:0;
  display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;
}
.pname{
  display:flex;align-items:center;gap:8px;
  font-size:23px;font-weight:700;letter-spacing:-.4px;color:var(--ink);
}
.pverify{
  flex:0 0 auto;
  padding:3px 8px;border-radius:7px;
  font-size:10.5px;font-weight:600;letter-spacing:0;
  color:#7B5CFF;background:#F2EEFF;
}
.pverify.member{color:#B07A00;background:#FFF6E0;}
.pmatch{
  margin-left:auto;flex:0 0 auto;
  padding:4px 9px;border-radius:9px;
  font-size:11.5px;font-weight:700;letter-spacing:0;
  color:var(--brand-deep);background:var(--brand-soft);
}
.pgrid{
  display:grid;grid-template-columns:1fr 1fr;gap:6px 14px;
  margin-top:9px;
}
.pcell{
  display:flex;align-items:center;gap:5px;min-width:0;
  font-size:12.5px;color:var(--ink-2);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.pcell svg{width:14px;height:14px;color:var(--faint);stroke-width:1.7;flex:0 0 auto;}
.ptags{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px;}
.ptags span{
  height:23px;padding:0 9px;border-radius:11px;
  display:inline-flex;align-items:center;
  font-size:11px;color:var(--ink-2);
  background:#F6F6F8;
  border:1px solid var(--line-2);
}
.pquote{
  margin-top:8px;
  font-size:12px;line-height:1.5;color:var(--muted);
  display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;
}
.pquote b{display:inline;margin-right:4px;font-weight:600;color:var(--ink-2);}

.deck-empty{
  position:absolute;inset:0;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;
  background:linear-gradient(170deg,#FFFFFF,#FAFAFC);
  border-radius:var(--radius-xl);
  border:1px solid var(--line);
  text-align:center;padding:30px;
}
.deck-empty .empty-ico{
  width:64px;height:64px;border-radius:50%;
  display:grid;place-items:center;font-size:28px;
  background:var(--brand-soft);color:var(--brand-deep);margin-bottom:4px;
}
.deck-empty h3{font-size:17px;font-weight:600;}
.deck-empty p{font-size:13px;color:var(--muted);line-height:1.7;}
.deck-empty button{
  margin-top:14px;height:42px;padding:0 22px;border-radius:21px;
  background:var(--ink);color:#fff;font-size:14px;font-weight:600;
  transition:transform .16s var(--ease),opacity .16s;
}
.deck-empty button:active{transform:scale(.96);opacity:.9;}
.skel-card{
  position:absolute;inset:0;border-radius:var(--radius-xl);
  box-shadow:var(--shadow-lg);
  background:linear-gradient(100deg,#EDEDF1 25%,#F7F7FA 45%,#EDEDF1 65%);
  background-size:220% 100%;
  animation:shimmer 1.1s linear infinite;
}
.empty-block{
  padding:44px 22px;text-align:center;
  background:var(--card);
  border:1px dashed var(--line-2);
  border-radius:var(--radius-lg);
}
.empty-block .empty-ico{
  width:56px;height:56px;margin:0 auto 12px;border-radius:50%;
  display:grid;place-items:center;font-size:24px;background:var(--brand-soft);
  color:var(--brand-deep);
}
.empty-ico svg{width:25px;height:25px;}
.list-tip{
  margin-top:20px;text-align:center;
  font-size:12px;color:var(--faint);letter-spacing:.2px;
}
.empty-block b{display:block;font-size:15px;font-weight:600;}
.empty-block p{margin-top:5px;font-size:12.5px;color:var(--muted);line-height:1.65;}
.empty-action{
  margin-top:14px;height:38px;padding:0 20px;border-radius:19px;
  background:var(--ink);color:#fff;font-size:13px;font-weight:600;
  transition:transform .16s var(--ease),opacity .16s;
}
.empty-action:active{transform:scale(.96);opacity:.9;}

.actions{
  position:absolute;left:0;right:0;bottom:104px;
  display:flex;align-items:center;justify-content:center;gap:16px;
  pointer-events:none;
}
.act{
  pointer-events:auto;
  width:60px;height:60px;border-radius:50%;
  display:grid;place-items:center;
  background:var(--card);
  box-shadow:var(--shadow);
  border:1px solid var(--line);
  transition:transform .18s var(--ease);
}
.act:active{transform:scale(.9);}
.act svg{width:25px;height:25px;}
.act-nope{color:var(--faint);}
.act-like{
  width:68px;height:68px;
  background:var(--brand);color:#fff;border-color:var(--brand);
  box-shadow:0 16px 32px -14px rgba(255,74,110,.72);
}
.act-like svg{width:28px;height:28px;fill:#fff;stroke:none;}
.act-request{
  pointer-events:auto;
  display:inline-flex;align-items:center;gap:9px;
  height:54px;padding:0 22px 0 10px;border-radius:999px;
  background:linear-gradient(135deg,#FF4A6E 0%,#FF6F92 52%,#C06BFF 100%);
  color:#fff;font-size:15px;font-weight:600;letter-spacing:.2px;white-space:nowrap;
  border:1px solid rgba(255,255,255,.22);
  box-shadow:0 18px 34px -14px rgba(255,74,110,.72),inset 0 1px 0 rgba(255,255,255,.3);
  transition:transform .16s var(--ease),box-shadow .2s;
}
.act-request:active{transform:scale(.96);box-shadow:0 10px 22px -14px rgba(255,74,110,.6);}
.act-request .prequest-ico{width:32px;height:32px;}
.act-request .prequest-ico svg{width:18px;height:18px;}

/* ===== 广场 ===== */
.feed{display:flex;flex-direction:column;gap:14px;}
.post{
  background:var(--card);
  border-radius:20px;
  padding:16px;
  box-shadow:var(--shadow-xs);
  border:1px solid var(--line);
}
.post-head{display:flex;align-items:center;gap:10px;}
.post-head .ava{overflow:hidden;}
.post-head .ava img{width:100%;height:100%;object-fit:cover;}
.post-head > div:not(.ava){flex:1;min-width:0;}
.ava{
  width:42px;height:42px;border-radius:50%;
  display:grid;place-items:center;
  background:linear-gradient(135deg,#FFEAF1,#EFE9FF);
  color:#B23A5B;
  font-size:15px;font-weight:600;flex:0 0 auto;
}
.post-who{flex:1;min-width:0;}
.post-name{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:700;color:var(--ink);}
.post-badge{
  font-size:9.5px;font-weight:600;color:#3E7BFA;
  background:#EEF4FF;padding:2px 6px;border-radius:6px;
}
.post-meta{
  margin-top:3px;font-size:11.5px;color:var(--faint);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.post-meta b{font-weight:500;color:#7B5CFF;}
.post-follow{
  flex:0 0 auto;height:28px;padding:0 11px;border-radius:14px;
  font-size:11.5px;font-weight:600;color:var(--brand-deep);
  background:var(--brand-soft);border:1px solid rgba(255,74,110,.18);
  transition:all .16s var(--ease);
}
.post-follow.on{color:var(--muted);background:#F5F5F8;border-color:var(--line-2);}
.post-follow:active{transform:scale(.95);}
.post-text{margin-top:10px;font-size:14.5px;line-height:1.65;color:var(--ink-2);white-space:pre-wrap;word-break:break-word;}
.post-gallery{display:grid;gap:6px;margin-top:10px;}
.post-gallery.n1{grid-template-columns:1fr;}
.post-gallery.n2{grid-template-columns:1fr 1fr;}
.post-gallery.n3{grid-template-columns:repeat(3,1fr);}
.post-gallery img{
  width:100%;height:100%;object-fit:cover;display:block;
  border-radius:14px;background:#F2F2F5;
}
.post-gallery.n1 img{aspect-ratio:4/3;}
.post-gallery.n2 img,.post-gallery.n3 img{aspect-ratio:1;}
.post-topic-pill{
  display:inline-flex;align-items:center;margin-top:10px;
  padding:4px 9px;border-radius:8px;
  background:#F3F0FF;color:#6B4EFF;
  font-size:11.5px;font-weight:500;
}
.post-foot{display:flex;justify-content:flex-end;gap:4px;margin-top:10px;}
.like-btn{
  height:32px;padding:0 8px;border-radius:10px;
  display:inline-flex;align-items:center;gap:5px;
  font-size:12.5px;color:var(--muted);
  background:none;
  transition:color .18s var(--ease),background .18s;
}
.like-btn svg{width:17px;height:17px;}
.like-btn.on{background:none;color:var(--brand);font-weight:600;}
.like-btn:active{transform:scale(.94);}
.liked-empty{
  padding:40px 20px;text-align:center;
  font-size:13px;color:var(--faint);line-height:1.7;
}

/* ===== 消息列表 ===== */
.chatlist{display:flex;flex-direction:column;gap:6px;}
.chat-item{
  display:flex;align-items:center;gap:12px;
  padding:12px;
  border-radius:var(--radius);
  background:var(--card);
  border:1px solid var(--line);
  text-align:left;
  transition:background .16s;
}
.chat-item:active{background:#FAFAFC;}
.system-item{
  background:linear-gradient(135deg,#F6F3FF,#FDF7FB);
  border-color:#EFEBFF;
}
.system-item.quiet{background:#fff;border-color:#F0F0F3;}
.system-item.quiet .sys-ico{background:#F3F3F6;color:#9C9CA6;}
.sys-ico{
  width:48px;height:48px;border-radius:16px;flex:0 0 auto;
  display:grid;place-items:center;
  background:#EAE6FF;color:#6C5CE7;
}
.sys-ico svg{width:22px;height:22px;}
.chat-item .ava{width:48px;height:48px;font-size:17px;overflow:hidden;}
.chat-item .ava img{width:100%;height:100%;object-fit:cover;}
.ci-body{flex:1;min-width:0;}
.ci-top{display:flex;align-items:center;gap:6px;}
.ci-top b{font-size:15px;font-weight:600;}
.ci-top .tag{
  font-size:10px;color:var(--ok);
  padding:2px 6px;border-radius:6px;background:#ECF9F3;
}
.ci-top .tag.match{color:var(--brand-deep);background:var(--brand-soft);}
.ci-last{
  margin-top:3px;font-size:13px;color:var(--muted);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.ci-active{margin-top:2px;font-size:11px;color:var(--faint);}
.ci-nudge{margin-top:3px;font-size:11px;font-weight:500;color:var(--brand-deep);}
.ci-nudge.over{color:var(--faint);font-weight:400;}
.ci-time{font-size:11px;color:var(--faint);}
.unread{
  min-width:18px;height:18px;padding:0 5px;
  border-radius:9px;background:var(--brand);color:#fff;
  font-size:11px;font-weight:600;
  display:grid;place-items:center;
}

/* ===== 申请认识 ===== */
.seg-dot{
  min-width:16px;height:16px;padding:0 4px;border-radius:8px;
  background:var(--brand);color:#fff;font-size:10px;font-style:normal;
  display:grid;place-items:center;
}
.request-panel{display:flex;flex-direction:column;gap:10px;}
.req-title{
  margin:8px 0 0;font-size:13px;font-weight:600;color:var(--muted);
  display:flex;align-items:center;gap:6px;
}
.req-title em{font-style:normal;font-size:11px;color:var(--faint);}
.req-item{
  background:var(--card);border:1px solid var(--line);
  border-radius:var(--radius);padding:14px;box-shadow:var(--shadow-xs);
}
.req-head{display:flex;align-items:center;gap:10px;}
.req-head .ava{width:44px;height:44px;overflow:hidden;font-size:16px;}
.req-head .ava img{width:100%;height:100%;object-fit:cover;}
.req-who{flex:1;min-width:0;}
.req-who b{display:block;font-size:15px;font-weight:600;}
.req-who span{font-size:12px;color:var(--faint);}
.req-note{
  margin-top:10px;font-size:13.5px;line-height:1.6;color:var(--ink-2);
  background:#F8F8FB;border-radius:10px;padding:9px 12px;
}
.req-note-empty{color:var(--muted);}
.req-actions{display:flex;gap:10px;margin-top:12px;}
.req-actions .primary-btn,.req-actions .ghost-btn{margin:0;flex:1;height:40px;font-size:13.5px;}
.req-actions-sent{margin-top:8px;}
.req-cancel{
  height:32px;padding:0 14px;border-radius:16px;
  background:#F5F5F8;color:var(--muted);
  font-size:11.5px;font-weight:600;
}
.req-cancel:active{background:#EDEDF2;}
.req-cancel:disabled{opacity:.5;}
.req-status{
  flex:0 0 auto;font-size:11px;font-weight:600;padding:4px 8px;
  border-radius:8px;background:#F3F3F6;color:var(--muted);
}
.req-status.accepted{background:#ECF9F3;color:var(--ok);}
.req-status.declined{background:#F7F7F9;color:var(--faint);}
.req-status.pending{background:var(--brand-soft);color:var(--brand-deep);}
.req-empty-tip{font-size:12.5px;color:var(--faint);padding:8px 2px;}
.request-to{display:flex;align-items:center;gap:12px;margin-bottom:14px;}
.request-to .ava{width:48px;height:48px;overflow:hidden;flex:0 0 auto;border-radius:50%;}
.request-to .ava img{width:100%;height:100%;object-fit:cover;}
.req-to-meta{flex:1;min-width:0;}
.req-to-meta b{font-size:16px;font-weight:700;}
.req-to-meta .sheet-desc{margin:2px 0 0;font-size:12px;}
.req-left{
  flex:0 0 auto;font-size:11px;font-weight:600;color:var(--brand-deep);
  background:var(--brand-soft);padding:5px 9px;border-radius:9px;white-space:nowrap;
}
.req-quick{display:flex;flex-wrap:wrap;gap:8px;padding:2px 0 12px;}
.req-quick button{
  flex:0 0 auto;height:32px;padding:0 12px;border-radius:16px;
  background:#F5F5F8;border:1px solid transparent;color:var(--muted);
  font-size:12px;white-space:nowrap;transition:all .16s var(--ease);
}
.req-quick button.on{background:var(--brand-soft);border-color:rgba(255,74,110,.24);color:var(--brand-deep);font-weight:600;}
.req-quick button:active{transform:scale(.96);}
.req-note-wrap{position:relative;}
#requestNote{padding-bottom:26px;}
.req-count{
  position:absolute;right:12px;bottom:10px;font-size:11px;color:var(--faint);
  pointer-events:none;
}
#requestSend{transition:transform .16s var(--ease),background .2s,opacity .2s;}
#requestSend.sending{opacity:.72;}
#requestSend.sent{background:linear-gradient(135deg,#1FB98A,#3FD3A0);}
.prequest-ico{
  width:30px;height:30px;border-radius:50%;flex:0 0 auto;
  display:grid;place-items:center;background:rgba(255,255,255,.22);
}
.prequest-ico svg{width:17px;height:17px;stroke:#fff;}
.pcard.request-out{animation:reqOut .26s cubic-bezier(.4,.1,.7,1) forwards;}
@keyframes reqOut{
  to{opacity:0;transform:translateX(42px) rotate(2deg) scale(.97);}
}
@media (prefers-reduced-motion:reduce){
  .pcard.request-out{animation-duration:.01ms;}
}

/* ===== 我的 ===== */
.me-head{display:flex;align-items:center;gap:14px;margin:4px 0 2px;}
.me-avatar-wrap{position:relative;flex:0 0 auto;}
.me-avatar{
  width:68px;height:68px;border-radius:50%;
  display:grid;place-items:center;
  background:var(--ink);color:#fff;
  font-size:25px;font-weight:600;
  overflow:hidden;
}
.me-avatar img{width:100%;height:100%;object-fit:cover;}
.me-score{
  position:absolute;left:50%;bottom:-7px;transform:translateX(-50%);
  white-space:nowrap;
  font-size:10px;font-weight:700;color:var(--brand-deep);
  background:#fff;border:1px solid rgba(255,74,110,.25);
  padding:1px 7px;border-radius:9px;
}
.me-info{flex:1;min-width:0;}
.me-info h2{display:flex;align-items:center;gap:8px;font-size:20px;font-weight:700;}
.vip{
  font-size:10px;font-weight:600;color:var(--brand-deep);
  padding:3px 7px;border-radius:7px;background:var(--brand-soft);
  border:1px solid rgba(255,74,110,.16);
}
.me-info p{margin-top:5px;font-size:13px;color:var(--muted);}
.me-tags{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap;}
.me-tags span{font-size:10.5px;color:var(--muted);padding:3px 8px;border-radius:7px;background:#F3F3F6;}
.me-edit-link{
  margin-left:auto;align-self:flex-start;margin-top:0;
  min-height:40px;display:inline-flex;align-items:center;padding:0 4px 0 10px;
  font-size:12px;color:var(--muted);white-space:nowrap;
}

.stat-card{
  display:grid;grid-template-columns:repeat(3,1fr);
  margin:20px 0 4px;
  background:none;border:0;padding:0;box-shadow:none;
}
.stat{display:flex;flex-direction:column;align-items:center;gap:4px;}
.stat b{font-size:22px;font-weight:700;letter-spacing:-.5px;}
.stat span{font-size:11px;color:var(--faint);}

.me-promos{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px;}
.me-promos .member-card{position:relative;height:88px;margin-top:0;padding:13px 14px;border-radius:18px;}
.me-promos .member-card em{
  position:absolute;right:12px;top:12px;
  font-size:10px;font-weight:600;color:#E7C27A;
  background:rgba(255,255,255,.13);padding:2px 7px;border-radius:8px;
}
.quiz-card{
  position:relative;height:88px;
  display:flex;flex-direction:column;justify-content:flex-end;
  padding:13px 14px;border-radius:18px;text-align:left;
  background:linear-gradient(135deg,#FFE9F0,#F4E6FF);
  border:1px solid rgba(255,74,110,.12);
  transition:transform .16s var(--ease);
}
.quiz-card:active{transform:scale(.99);}
.quiz-card b{display:block;font-size:14px;font-weight:700;color:#5A2A44;}
.quiz-card span{display:block;margin-top:4px;font-size:10.5px;color:#A06A7A;}
.quiz-card em{
  position:absolute;right:12px;top:12px;
  font-style:normal;font-size:10px;font-weight:700;color:var(--brand-deep);
  background:#fff;padding:2px 7px;border-radius:8px;
}
.me-menu{margin-top:16px;}
.menu-note{font-size:11.5px !important;color:var(--faint);}
.menu-arrow{font-size:18px !important;}

/* 资料完整度任务卡 */
.task-card{
  margin-top:12px;padding:16px 16px 14px;
  background:var(--card);border:1px solid var(--line);
  border-radius:var(--radius-lg);box-shadow:var(--shadow-xs);
}
.task-head{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.task-head b{font-size:14px;font-weight:600;}
.task-head span{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums;}
.task-track{
  height:4px;border-radius:2px;background:#F1F1F5;
  margin:10px 0 12px;overflow:hidden;
}
.task-track i{
  display:block;height:100%;width:0;border-radius:2px;
  background:linear-gradient(90deg,var(--brand),var(--brand-deep));
  transition:width .5s var(--ease);
}
.task-list{display:flex;flex-direction:column;gap:6px;}
.task-item{
  display:flex;align-items:center;gap:9px;
  padding:9px 10px;border-radius:12px;
  background:#FAFAFC;text-align:left;
  transition:background .16s;
}
.task-item:active{background:#F2F2F6;}
.task-dot{
  width:22px;height:22px;border-radius:7px;flex:0 0 auto;
  display:grid;place-items:center;
  font-size:11px;color:var(--brand-deep);background:var(--brand-soft);
}
.task-label{flex:1;min-width:0;font-size:13px;color:var(--ink-2);}
.task-item em{font-style:normal;font-size:11.5px;color:var(--brand-deep);font-weight:600;}
.task-done{font-size:12.5px;color:var(--ok);padding:6px 2px;}
.task-complete .task-track i{background:linear-gradient(90deg,#34C98A,var(--ok));}

.verify-grid{display:flex;flex-direction:column;gap:8px;}
.verify{
  display:flex;align-items:center;gap:10px;
  padding:14px 16px;border-radius:var(--radius-sm);
  font-size:13.5px;background:var(--card);
  border:1px solid var(--line);
  text-align:left;
}
.verify .v-ico{
  width:28px;height:28px;border-radius:9px;
  display:grid;place-items:center;font-size:12px;
  background:#F0EFFF;color:#6C5CE7;flex:0 0 auto;
}
.verify em{margin-left:auto;font-style:normal;font-size:11.5px;color:var(--faint);}
.verify.done{color:var(--ink);font-weight:500;}
.verify.done .v-ico{background:#E7F7F0;color:var(--ok);}
.verify.done em{color:var(--ok);}
.verify.pending{color:var(--ink-2);}
.verify.busy .v-ico{background:#FFF4E5;color:#E09B12;}
.verify.busy em{color:#E09B12;}

.liked-row{display:flex;gap:14px;overflow-x:auto;padding-bottom:4px;}
.liked{display:flex;flex-direction:column;align-items:center;gap:6px;flex:0 0 auto;}
.liked .ava{width:52px;height:52px;}
.liked span{font-size:11px;color:var(--muted);max-width:56px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}

.menu{margin-top:24px;background:var(--card);border-radius:var(--radius);border:1px solid var(--line);overflow:hidden;}
.menu-item{
  width:100%;display:flex;align-items:center;justify-content:space-between;
  padding:16px 18px;font-size:14.5px;color:var(--ink-2);
}
.menu-item em{font-style:normal;color:var(--faint);font-size:18px;}
.me-foot{margin-top:26px;text-align:center;font-size:11px;color:var(--faint);letter-spacing:.3px;}

/* ===== 底部导航 ===== */
.tabbar{
  position:absolute;left:14px;right:14px;
  bottom:calc(14px + env(safe-area-inset-bottom));
  height:64px;z-index:40;
  display:flex;align-items:center;justify-content:space-around;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(20px);
  border-radius:24px;
  border:1px solid var(--line);
  box-shadow:0 12px 32px -18px rgba(18,18,22,.3);
}
.tab{
  position:relative;
  display:flex;flex-direction:column;align-items:center;gap:3px;
  font-size:10px;color:var(--faint);
  padding:6px 14px;border-radius:14px;
  transition:color .18s;
}
.tab svg{width:22px;height:22px;transition:transform .2s var(--ease);}
.tab.active{color:var(--ink);font-weight:600;}
.tab.active svg{transform:translateY(-1px);}
.tab-dot{
  position:absolute;top:4px;right:12px;
  width:7px;height:7px;border-radius:50%;background:var(--brand);
  opacity:0;transform:scale(.4);transition:all .2s var(--ease);
}
.tab-dot.show{opacity:1;transform:scale(1);}

/* ===== 匹配弹层 ===== */
.overlay{
  position:absolute;inset:0;z-index:90;
  display:flex;align-items:center;justify-content:center;
  background:rgba(16,16,20,.55);
  backdrop-filter:blur(8px);
  opacity:0;visibility:hidden;
  transition:opacity .26s var(--ease),visibility .26s;
}
.overlay.show{opacity:1;visibility:visible;}
.match-panel{
  width:min(320px,84%);
  background:var(--card);
  border-radius:var(--radius-xl);
  padding:30px 24px 24px;
  text-align:center;
  transform:scale(.94) translateY(10px);
  transition:transform .3s var(--ease);
}
.overlay.show .match-panel{transform:none;}
.match-hearts{font-size:38px;line-height:1;}
.match-panel h2{margin-top:14px;font-size:19px;font-weight:700;}
.match-panel p{margin-top:7px;font-size:13px;color:var(--muted);}
.match-avatars{display:flex;justify-content:center;gap:12px;margin:20px 0 22px;}
.ma{
  width:62px;height:62px;border-radius:50%;
  display:grid;place-items:center;overflow:hidden;
  background:#F2F2F5;color:var(--ink-2);
  font-size:22px;font-weight:600;
  border:3px solid var(--card);
  box-shadow:var(--shadow-sm);
}
.ma img{width:100%;height:100%;object-fit:cover;}
.match-panel .primary-btn{margin-bottom:8px;}

/* ===== 抽屉 ===== */
.sheet{
  position:absolute;inset:0;z-index:95;
  opacity:0;visibility:hidden;
  transition:opacity .26s var(--ease),visibility .26s;
}
.sheet.show{opacity:1;visibility:visible;}
.sheet-mask{position:absolute;inset:0;background:rgba(16,16,20,.42);backdrop-filter:blur(3px);}
.sheet-body{
  position:absolute;left:0;right:0;bottom:0;
  max-height:86%;
  overflow-y:auto;
  scrollbar-width:none;
  background:var(--card);
  border-radius:28px 28px 0 0;
  padding:10px 20px 30px;
  transform:translateY(100%);
  transition:transform .32s var(--ease);
}
.sheet-body::-webkit-scrollbar{width:0;}
.sheet.show .sheet-body{transform:none;}
.sheet-body::before{
  content:"";display:block;width:36px;height:4px;border-radius:2px;
  background:var(--line-2);margin:6px auto 16px;
}
.sheet-body h3{font-size:18px;font-weight:700;margin-bottom:16px;}
.sheet-label{font-size:13px;font-weight:600;color:var(--muted);margin:18px 0 10px;}
.sheet-body .field{margin-bottom:10px;background:#F7F7F9;border-color:transparent;}
.sheet-body .field:focus-within{background:var(--card);border-color:var(--ink);}
.sheet-body textarea{
  width:100%;padding:14px 16px;
  background:#F7F7F9;border-radius:var(--radius);
  font-size:15px;line-height:1.6;resize:none;
  border:1px solid transparent;transition:all .18s;
}
.sheet-body textarea:focus{background:var(--card);border-color:var(--ink);}
.sheet-body .primary-btn{margin-top:18px;}
.sheet-body .ghost-btn{margin-top:10px;}
.safety-item{
  width:100%;text-align:left;
  padding:15px 16px;margin-bottom:8px;
  border-radius:var(--radius-sm);
  background:#FFF5F6;color:#D8374F;
  font-size:14.5px;font-weight:600;
}

/* ===== 照片编辑 ===== */
.photo-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:8px;
}
.photo-cell{
  position:relative;aspect-ratio:3/4;
  border-radius:var(--radius-sm);overflow:hidden;background:#F2F2F5;
}
.photo-cell img{width:100%;height:100%;object-fit:cover;}
.photo-del{
  position:absolute;top:5px;right:5px;
  width:22px;height:22px;border-radius:50%;
  background:rgba(0,0,0,.55);color:#fff;
  font-size:14px;line-height:1;
  display:grid;place-items:center;
}
.photo-cover{
  position:absolute;left:5px;bottom:5px;
  font-size:10px;font-weight:600;color:#fff;
  padding:2px 6px;border-radius:5px;
  background:rgba(0,0,0,.5);
}
.photo-add{
  aspect-ratio:3/4;border-radius:var(--radius-sm);
  border:1px dashed var(--line-2);
  display:grid;place-items:center;
  font-size:24px;color:var(--faint);
  background:#FAFAFC;
}

/* ===== 聊天详情 ===== */
.chatpane{
  position:absolute;inset:0;z-index:70;
  background:var(--bg);
  display:flex;flex-direction:column;
  transform:translateX(100%);
  transition:transform .3s var(--ease);
}
.chatpane.open{transform:none;}
.chat-head{
  display:flex;align-items:center;gap:10px;
  padding:52px 16px 12px;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--line);
}
.chat-who{flex:1;min-width:0;}
.chat-who b{font-size:16px;font-weight:600;display:block;}
.chat-who span{font-size:11px;color:var(--faint);}
.chat-ava{
  width:36px;height:36px;border-radius:50%;
  display:grid;place-items:center;flex:0 0 auto;
  background:#F0F0F4;color:var(--ink-2);
  font-size:14px;font-weight:600;
}
.chat-more{margin-left:2px;}
.chat-body{
  flex:1;overflow-y:auto;
  padding:18px 16px 12px;
  display:flex;flex-direction:column;gap:10px;
}
.msg{
  max-width:76%;padding:11px 15px;
  font-size:14.5px;line-height:1.55;
  border-radius:19px;
  word-break:break-word;
}
.msg.them{
  align-self:flex-start;
  background:var(--card);color:var(--ink);
  border-bottom-left-radius:7px;
  box-shadow:var(--shadow-xs);
  border:1px solid var(--line);
}
.msg.me{
  align-self:flex-end;
  background:var(--ink);color:#fff;
  border-bottom-right-radius:7px;
}
.chat-hint{
  align-self:center;margin:auto 0;
  font-size:12px;color:var(--faint);
  text-align:center;line-height:1.7;
  padding:0 30px;
}
.chat-ice{display:flex;flex-direction:column;gap:8px;margin:auto 0;}
.chat-ice-tip{
  font-size:12px;color:var(--muted);
  text-align:center;margin-bottom:2px;
}
.ice-card{
  display:flex;align-items:center;gap:10px;
  padding:12px 14px;border-radius:16px;
  background:var(--card);border:1px solid var(--line-2);
  box-shadow:var(--shadow-xs);
  text-align:left;transition:transform .16s var(--ease),background .16s;
  animation:iceIn .4s var(--ease) both;
}
.ice-card:nth-child(3){animation-delay:.05s;}
.ice-card:nth-child(4){animation-delay:.1s;}
.ice-card:active{transform:scale(.985);background:#FAFAFC;}
.ice-card span{flex:1;font-size:13px;line-height:1.55;color:var(--ink-2);}
.ice-card em{
  flex:0 0 auto;font-style:normal;font-size:11.5px;font-weight:600;
  color:var(--brand-deep);padding:4px 9px;border-radius:10px;background:var(--brand-soft);
}
@keyframes iceIn{from{opacity:0;transform:translateY(6px);}to{opacity:1;transform:none;}}
.chat-inputbar{
  display:flex;gap:10px;align-items:center;
  padding:10px 14px calc(14px + env(safe-area-inset-bottom));
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(16px);
  border-top:1px solid var(--line);
}
.chat-inputbar input{
  flex:1;height:46px;padding:0 18px;
  background:#F4F4F7;border-radius:23px;
  font-size:15px;
}
.send-btn{
  height:46px;padding:0 20px;border-radius:23px;
  background:var(--ink);color:#fff;
  font-size:14px;font-weight:600;
  transition:transform .16s var(--ease),opacity .16s;
}
.send-btn:active{transform:scale(.95);}

/* ===== Toast ===== */
.toast{
  position:absolute;left:50%;bottom:110px;
  transform:translate(-50%,14px);
  z-index:120;
  max-width:82%;
  padding:12px 18px;
  background:rgba(20,20,24,.92);
  color:#fff;
  font-size:13.5px;line-height:1.45;
  border-radius:14px;
  backdrop-filter:blur(10px);
  opacity:0;visibility:hidden;
  transition:opacity .22s var(--ease),transform .22s var(--ease),visibility .22s;
  text-align:center;
}
.toast.show{opacity:1;visibility:visible;transform:translate(-50%,0);}

/* ===== 卡片补充：语音 ===== */
.pvoice{
  display:inline-flex;align-items:center;gap:6px;
  margin-top:10px;height:32px;padding:0 13px 0 10px;
  border-radius:16px;
  background:#F4F4F7;color:var(--ink);
  font-size:12px;font-weight:600;
}
.pvoice span{
  width:18px;height:18px;border-radius:50%;
  display:grid;place-items:center;
  font-size:8px;background:var(--brand);color:#fff;
}
.pvoice.playing span{animation:pvoicePulse 1.2s ease-in-out infinite;}
@keyframes pvoicePulse{
  0%,100%{transform:scale(1);}
  50%{transform:scale(1.18);}
}

/* ===== 资料详情 / 照片全屏 ===== */
.profile-view{
  position:absolute;inset:0;z-index:110;
  display:flex;flex-direction:column;
  background:var(--bg);
  opacity:0;visibility:hidden;
  transform:translateY(12px);
  transition:opacity .25s var(--ease),transform .25s var(--ease),visibility .25s;
}
.profile-view.show{opacity:1;visibility:visible;transform:none;}
.pv-media{
  position:relative;flex:0 0 56%;
  background:linear-gradient(100deg,#1B1B21 25%,#26262E 45%,#1B1B21 65%);
  background-size:220% 100%;
  animation:shimmer 1.4s linear infinite;
  overflow:hidden;
}
.pv-track{
  height:100%;display:flex;
  overflow-x:auto;overflow-y:hidden;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
}
.pv-track::-webkit-scrollbar{display:none;}
.pv-track img{
  flex:0 0 100%;width:100%;height:100%;
  object-fit:cover;
  scroll-snap-align:center;scroll-snap-stop:always;
}
.pv-empty{
  flex:0 0 100%;display:grid;place-items:center;
  font-size:72px;font-weight:700;color:#4A4A55;background:#1D1D23;
}
.pv-dots{
  position:absolute;bottom:14px;left:50%;transform:translateX(-50%);
  display:flex;gap:5px;
}
.pv-dots span{width:5px;height:5px;border-radius:50%;background:rgba(255,255,255,.45);transition:width .2s,background .2s;}
.pv-dots span.on{width:16px;border-radius:3px;background:#fff;}
.pv-close{
  position:absolute;top:calc(14px + env(safe-area-inset-top));left:14px;
  width:38px;height:38px;border-radius:50%;
  background:rgba(20,20,24,.5);color:#fff;
  font-size:22px;line-height:1;
  display:grid;place-items:center;
  backdrop-filter:blur(10px);
  z-index:2;
}
.pv-body{
  flex:1;min-height:0;overflow-y:auto;
  padding:20px 22px calc(28px + env(safe-area-inset-bottom));
}
.pv-head h2{font-size:26px;font-weight:700;letter-spacing:-.5px;}
.pv-head p{margin-top:5px;font-size:13px;color:var(--muted);}
.pv-badges{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px;}
.pv-badge{
  height:26px;padding:0 10px;border-radius:13px;
  display:inline-flex;align-items:center;
  font-size:11.5px;font-weight:600;
  background:var(--brand-soft);color:var(--brand-deep);
}
.pv-badge.solid{background:var(--ink);color:#fff;}
.pv-badge.score{background:#F0F0F4;color:var(--ink-2);}
.pv-badge.live{background:#ECF9F3;color:var(--ok);}
.pv-voice{
  width:100%;margin-top:16px;
  display:flex;align-items:center;gap:12px;
  padding:14px 16px;border-radius:var(--radius);
  background:var(--card);border:1px solid var(--line);
  font-size:14px;text-align:left;
}
.pv-voice-ico{
  width:34px;height:34px;border-radius:50%;flex:0 0 auto;
  display:grid;place-items:center;font-size:11px;
  background:var(--brand);color:#fff;
}
.pv-voice.playing .pv-voice-ico{animation:pvoicePulse 1.2s ease-in-out infinite;}
.pv-meta{
  margin-top:18px;font-size:13.5px;color:var(--ink-2);
  display:flex;align-items:center;gap:8px;
}
.pv-meta i{width:3px;height:3px;border-radius:50%;background:var(--line-2);}
.pv-qa{margin-top:18px;display:flex;flex-direction:column;gap:10px;}
.pv-qa-item{
  padding:15px 16px;border-radius:var(--radius);
  background:var(--card);border:1px solid var(--line);
}
.pv-qa-item b{display:block;font-size:12px;color:var(--brand-deep);margin-bottom:6px;letter-spacing:.2px;}
.pv-qa-item p{font-size:14.5px;line-height:1.65;color:var(--ink-2);}
.pv-bio{margin-top:18px;font-size:14.5px;line-height:1.7;color:var(--ink-2);}
.pv-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:18px;}
.pv-tags span{
  height:28px;padding:0 12px;border-radius:14px;
  display:inline-flex;align-items:center;
  font-size:12px;color:var(--ink-2);background:#F0F0F4;
}

/* ===== 问答编辑 ===== */
.qa-edit{margin-bottom:10px;padding:12px;border-radius:var(--radius-sm);background:#F7F7F9;}
.qa-edit-top{display:flex;gap:8px;align-items:center;margin-bottom:8px;}
.qa-edit select{
  flex:1;min-width:0;height:36px;padding:0 10px;
  border-radius:10px;background:var(--card);font-size:13px;
  border:1px solid var(--line-2);
}
.qa-del{
  width:30px;height:30px;border-radius:50%;flex:0 0 auto;
  background:#EBEBEF;color:var(--muted);
  font-size:16px;line-height:1;
  display:grid;place-items:center;
}
.qa-edit textarea{min-height:56px;}
.add-row-btn{
  width:100%;height:44px;border-radius:14px;
  border:1px dashed var(--line-2);
  color:var(--muted);font-size:13.5px;
  background:transparent;
}
.add-row-btn:active{background:#F7F7F9;}

/* ===== 语音录制 ===== */
.voice-have{display:flex;align-items:center;gap:10px;}
.voice-have audio{flex:1;min-width:0;height:40px;}
.voice-del{
  height:36px;padding:0 14px;border-radius:12px;flex:0 0 auto;
  background:#FFF1EF;color:#D9534F;font-size:12.5px;font-weight:600;
}
.voice-rec{
  width:100%;height:52px;border-radius:16px;
  display:flex;align-items:center;justify-content:center;gap:9px;
  background:#F7F7F9;border:1px solid var(--line-2);
  font-size:13.5px;color:var(--ink-2);
}
.rec-dot{
  width:9px;height:9px;border-radius:50%;
  background:var(--brand);flex:0 0 auto;
}
.voice-rec.recording{background:var(--brand-soft);border-color:rgba(255,74,110,.3);color:var(--brand-deep);}
.voice-rec.recording .rec-dot{animation:pvoicePulse 1s ease-in-out infinite;}
.voice-tip{margin-top:8px;font-size:11.5px;color:var(--faint);}
.sheet-desc{margin:-6px 0 12px;font-size:12.5px;line-height:1.65;color:var(--muted);}

/* ===== 心动页 ===== */
.likes-headline .page-title{font-size:24px;}
.likes-headline .page-title b{color:var(--brand);font-size:26px;font-weight:800;}
.likes-headline p{margin-top:4px;font-size:12px;color:var(--faint);}
.likes-tabs{gap:18px;margin-bottom:14px;}
.likes-tabs .chip{font-size:15px;}
.likes-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:10px;
  padding-bottom:6px;
}
.like-card{
  display:flex;flex-direction:column;text-align:left;
  border-radius:18px;overflow:hidden;background:var(--card);
  border:1px solid var(--line);
  box-shadow:var(--shadow-xs);
  transition:transform .16s var(--ease);
}
.like-card:active{transform:scale(.98);}
.lc-photo{
  position:relative;aspect-ratio:1 / 1.12;
  background:linear-gradient(160deg,#F2E9EC,#E8EDF4);
  overflow:hidden;
}
.lc-photo img{width:100%;height:100%;object-fit:cover;}
.lc-fallback{
  position:absolute;inset:0;display:grid;place-items:center;
  font-size:42px;font-weight:700;color:#C9C9D2;
}
.lc-time{
  position:absolute;left:8px;bottom:34px;
  padding:3px 7px;border-radius:8px;
  font-size:10px;color:#fff;
  background:rgba(0,0,0,.4);backdrop-filter:blur(6px);
}
.lc-photo:not(:has(.lc-tag)) .lc-time{bottom:8px;}
.lc-super{
  position:absolute;right:8px;top:8px;
  padding:3px 7px;border-radius:8px;
  font-style:normal;font-size:9.5px;font-weight:700;
  color:#7A4B00;background:rgba(255,231,178,.94);
}
.lc-body{padding:8px 9px 10px;}
.lc-name{display:flex;align-items:baseline;gap:5px;font-size:14px;font-weight:700;color:var(--ink);}
.lc-name em{font-style:normal;font-size:11px;font-weight:500;color:var(--muted);}
.lc-meta{
  margin-top:3px;font-size:10.5px;color:var(--faint);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.lc-tag{
  position:absolute;left:8px;bottom:8px;
  max-width:calc(100% - 16px);
  padding:3px 8px;border-radius:8px;
  font-style:normal;font-size:10px;color:#C2274B;
  background:rgba(255,243,246,.95);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.like-card.locked .lc-photo img{filter:blur(13px) saturate(.85);transform:scale(1.08);}
.lc-lock{
  position:absolute;inset:0;
  display:grid;place-items:center;
  color:rgba(255,255,255,.95);
  background:linear-gradient(180deg,rgba(20,18,30,.04),rgba(20,18,30,.3));
}
.lc-lock svg{
  width:26px;height:26px;stroke-width:1.8;
  filter:drop-shadow(0 2px 8px rgba(0,0,0,.4));
}
.lc-lockbody{
  padding:10px 10px 12px;
  font-size:10.5px;color:var(--muted);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.likes-cta{
  position:absolute;left:50%;bottom:100px;transform:translateX(-50%);
  z-index:60;
  display:flex;align-items:center;justify-content:center;gap:8px;
  width:max-content;max-width:calc(100% - 40px);
  padding:12px 22px;
  border-radius:999px;
  background:rgba(22,22,26,.94);color:#fff;
  font-size:13.5px;font-weight:600;letter-spacing:.1px;
  box-shadow:0 18px 36px -16px rgba(18,18,22,.65);
  backdrop-filter:blur(10px);
  transition:transform .16s var(--ease);
}
.likes-cta:active{transform:translateX(-50%) scale(.97);}
.likes-cta b{margin-left:5px;color:#FFD5DF;}
.likes-cta-crown{font-size:14px;color:#F5C451;}
.likes-empty{grid-column:1 / -1;}

/* ===== 灵魂问卷 ===== */
.quiz-item{padding:14px 0;border-bottom:1px solid var(--line);}
.quiz-item:last-child{border-bottom:0;}
.quiz-q{font-size:14px;font-weight:600;margin-bottom:10px;}
.quiz-options{display:flex;gap:8px;flex-wrap:wrap;}
.quiz-opt{
  height:34px;padding:0 13px;border-radius:17px;
  background:#F7F7F9;color:var(--ink-2);font-size:13px;
  border:1px solid transparent;
  transition:all .16s var(--ease);
}
.quiz-opt.active{background:var(--ink);color:#fff;}
.quiz-opt:active{transform:scale(.97);}

/* ===== 广场评论 ===== */
.comment-sheet{display:flex;flex-direction:column;}
.comment-list{max-height:46vh;overflow-y:auto;margin-bottom:12px;}
.comment{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid var(--line);}
.comment:last-child{border-bottom:0;}
.comment .ava{
  width:34px;height:34px;border-radius:12px;flex:0 0 auto;overflow:hidden;
  display:grid;place-items:center;
  background:#F0F0F4;color:var(--ink-2);
  font-size:13px;font-weight:700;
}
.comment .ava img{width:100%;height:100%;object-fit:cover;}
.comment-body{flex:1;min-width:0;}
.comment-body b{font-size:12px;color:var(--muted);font-weight:600;}
.comment-body p{margin-top:3px;font-size:14px;line-height:1.55;color:var(--ink);word-break:break-word;}
.comment-body span{display:block;margin-top:3px;font-size:10.5px;color:var(--faint);}
.comment-empty{padding:26px 0;text-align:center;font-size:12.5px;color:var(--faint);}
.comment-input{display:flex;gap:8px;align-items:center;}
.comment-input input{
  flex:1;min-width:0;height:44px;padding:0 16px;
  border-radius:22px;background:#F4F4F7;font-size:14px;
}
.comment-input .send-btn{height:44px;border-radius:22px;}
.pv-like{margin-top:20px;}

/* ===== 会员 ===== */
.member-card{
  width:100%;margin-top:12px;
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:16px 18px;border-radius:var(--radius);
  background:linear-gradient(135deg,#1C1C22,#2B2B33);
  color:#fff;text-align:left;
  border:1px solid #2E2E36;
  transition:transform .16s var(--ease);
}
.member-card:active{transform:scale(.99);}
.member-card .mc-body b{display:block;font-size:15px;letter-spacing:.3px;}
.member-card .mc-body span{display:block;margin-top:4px;font-size:12px;color:rgba(255,255,255,.62);}
.member-card em{font-style:normal;font-size:12px;font-weight:600;color:#E7C27A;flex:0 0 auto;}
.member-card.active{
  background:linear-gradient(135deg,#1A1A21 0%,#26222E 58%,#3A2833 100%);
  border-color:rgba(231,194,122,.34);
  box-shadow:0 20px 44px -30px rgba(231,194,122,.55);
}
.member-card.active em{color:#FFD98A;}
.member-perks{display:flex;flex-direction:column;gap:8px;margin-top:6px;}
.member-perk{
  display:flex;align-items:center;gap:8px;
  padding:11px 14px;border-radius:12px;background:#F7F7F9;
  font-size:13px;color:var(--ink-2);
}
.member-perk span{color:var(--ok);font-weight:700;}
.member-note{margin-top:12px;font-size:11.5px;line-height:1.6;color:var(--faint);}

/* ===== 支付 ===== */
.plan-row{display:flex;gap:8px;}
.plan{
  flex:1;min-width:0;padding:12px 10px;border-radius:16px;
  background:#F7F7F9;border:1px solid transparent;
  display:flex;flex-direction:column;align-items:center;gap:3px;
  transition:all .16s var(--ease);
}
.plan b{font-size:13px;font-weight:600;color:var(--ink-2);}
.plan .plan-price{font-size:19px;font-weight:700;color:var(--ink);letter-spacing:-.4px;}
.plan em{font-style:normal;font-size:10.5px;color:var(--muted);}
.plan.active{background:#FFF6F8;border-color:rgba(255,74,110,.45);}
.plan.active b,.plan.active .plan-price{color:var(--brand-deep);}
.plan:active{transform:scale(.98);}
.channel-row{display:flex;gap:8px;}
.channel{
  flex:1;min-width:0;height:44px;padding:0 10px;border-radius:13px;
  background:#F7F7F9;border:1px solid transparent;
  font-size:13px;color:var(--ink-2);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  transition:all .16s var(--ease);
}
.channel.active{background:var(--ink);color:#fff;}
.channel.disabled{opacity:.45;}
.pay-hint{margin-top:8px;min-height:16px;font-size:11.5px;color:var(--brand-deep);}
.redeem-block{margin-top:16px;padding-top:14px;border-top:1px solid var(--line);}
.redeem-block summary{font-size:12.5px;color:var(--muted);cursor:pointer;list-style:none;}
.redeem-block summary::-webkit-details-marker{display:none;}
.redeem-block summary::before{content:"＋ ";color:var(--faint);}
.redeem-block[open] summary::before{content:"− ";}
.redeem-block .field{margin-top:10px;background:#F7F7F9;border-color:transparent;}
.redeem-block .ghost-btn{margin-top:10px;height:46px;}

/* ===== 邀请 ===== */
.invite-hint{
  margin-top:14px;padding:8px 14px;border-radius:12px;
  background:var(--brand-soft);color:var(--brand-deep);
  font-size:12px;text-align:center;line-height:1.5;
}
.invite-stats{display:flex;gap:8px;margin:12px 0 4px;}
.invite-stats span{
  flex:1;text-align:center;padding:12px 8px;border-radius:14px;
  background:#F7F7F9;font-size:12px;color:var(--muted);
}
.invite-stats b{display:block;margin-top:4px;font-size:20px;color:var(--ink);}
.invite-poster{width:100%;margin-top:14px;border-radius:18px;box-shadow:var(--shadow-sm);}
.invite-tip{text-align:center;font-size:11.5px;color:var(--faint);margin:8px 0 2px;}
.invite-code{margin-top:12px;text-align:center;font-size:12.5px;color:var(--muted);letter-spacing:1px;}

/* ===== 每日话题与提醒 ===== */
.top-actions{display:flex;gap:8px;}
.bell-btn{position:relative;}
.bell-btn .dot{
  position:absolute;top:7px;right:8px;width:9px;height:9px;border-radius:50%;
  background:var(--brand);border:1.5px solid var(--bg);
}
.topic-card{
  margin:2px 0 14px;padding:18px;
  border-radius:var(--radius);
  background:linear-gradient(135deg,#1B1B21,#282830);
  color:#fff;
  box-shadow:var(--shadow-sm);
}
.topic-card.hidden{display:none;}
.topic-label{font-size:10.5px;letter-spacing:1.2px;color:#E7C27A;font-weight:600;}
.topic-card h3{margin-top:8px;font-size:18px;line-height:1.35;letter-spacing:-.2px;}
.topic-card p{margin-top:6px;font-size:12.5px;line-height:1.5;color:rgba(255,255,255,.58);}
.topic-foot{display:flex;align-items:center;justify-content:space-between;margin-top:14px;}
.topic-foot span{font-size:12px;color:rgba(255,255,255,.55);}
.topic-actions{display:inline-flex;gap:8px;}
.topic-actions #topicView{background:rgba(255,255,255,.16);color:#fff;}
.topic-foot button{
  height:32px;padding:0 14px;border-radius:16px;
  background:#fff;color:var(--ink);font-size:12.5px;font-weight:600;
}
.post-topic-hint{
  margin-bottom:8px;padding:8px 12px;border-radius:10px;
  background:var(--brand-soft);color:var(--brand-deep);font-size:12px;
}
.post-photos{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px;}
.post-photos:empty{display:none;}
.post-photo{
  position:relative;width:72px;height:72px;
  border-radius:12px;overflow:hidden;background:#F2F2F5;
}
.post-photo img{width:100%;height:100%;object-fit:cover;}
.post-photo button{
  position:absolute;top:4px;right:4px;width:20px;height:20px;
  border-radius:50%;background:rgba(0,0,0,.55);color:#fff;
  font-size:12px;line-height:1;display:grid;place-items:center;
}
.add-photo-btn{
  width:100%;height:44px;margin-top:10px;border-radius:22px;
  border:1px dashed var(--line-2);background:#FAFAFC;
  color:var(--muted);font-size:13px;
}
.add-photo-btn:active{background:#F3F3F6;}
.notify-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;}
.notify-head h3{margin:0;}
.notify-readall{font-size:12.5px;color:var(--muted);padding:4px 6px;}
.notify-list{max-height:56vh;overflow-y:auto;}
.notify-empty{padding:34px 0;text-align:center;color:var(--faint);font-size:13px;}
.notify-item{
  display:flex;align-items:flex-start;gap:12px;width:100%;text-align:left;
  min-height:64px;padding:12px 8px;border-radius:14px;
  background:transparent;transition:background .16s;
}
.notify-item:active{background:#F7F7F9;}
.notify-type{
  flex:0 0 auto;height:24px;padding:0 10px;border-radius:12px;
  background:#F4F4F7;color:var(--ink-2);
  font-size:11px;font-weight:600;display:inline-flex;align-items:center;
}
.notify-item.is-unread .notify-type{background:var(--brand-soft);color:var(--brand-deep);}
.notify-main{flex:1 1 auto;display:flex;flex-direction:column;gap:2px;min-width:0;}
.notify-main b{font-size:14px;font-weight:600;color:var(--ink);}
.notify-main em{
  font-style:normal;font-size:12.5px;color:var(--muted);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.notify-main i{font-style:normal;font-size:11px;color:var(--faint);}
.notify-item.is-unread .notify-main b::after{
  content:"";display:inline-block;width:6px;height:6px;border-radius:50%;
  background:var(--brand);margin-left:6px;vertical-align:middle;
}

/* ===== 小屏适配 ===== */
@media (max-width:440px){
  .stage{padding:0;}
  .phone{
    width:100%;height:100dvh;
    border-radius:0;
    box-shadow:none;
  }
  .phone::before{display:none;}
  .view{padding-top:24px;}
  .login-wrap{padding-top:64px;}
  .chat-head{padding-top:20px;}
  .tabbar{left:10px;right:10px;bottom:10px;}
  .actions{bottom:88px;}
}

/* ===== 全屏页面（认证 / 编辑资料） ===== */
.page-view{padding-bottom:36px;background:var(--bg);}
.page-view::before{
  content:"";position:absolute;top:0;left:0;right:0;height:250px;
  background:linear-gradient(180deg,#EDEFFF 0%,rgba(247,247,249,0) 100%);
  pointer-events:none;
}
.page-view > *{position:relative;z-index:1;}
.page-bar{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;}
.page-bar h2{font-size:17px;font-weight:600;letter-spacing:-.2px;}
.page-back{
  width:34px;height:34px;margin-left:-8px;
  display:grid;place-items:center;color:var(--ink);
}
.page-back svg{width:22px;height:22px;stroke-width:2;}
.page-link{font-size:12.5px;color:var(--muted);padding:6px 2px;}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;margin:26px 0 12px;}
.section-head .section-title{margin:0;}
.section-more{
  font-size:11.5px;color:var(--faint);
  min-height:40px;display:inline-flex;align-items:center;padding:0 6px;
}

/* ----- 认证页 ----- */
.verify-hero h1{
  font-size:26px;font-weight:700;letter-spacing:-.6px;
  display:flex;align-items:center;gap:7px;
}
.q-mark{
  width:17px;height:17px;border-radius:50%;
  border:1px solid #C4C4CC;color:#A8A8B0;
  font-size:10px;font-weight:700;
  display:grid;place-items:center;
}
.verify-chips{display:flex;gap:8px;margin-top:10px;}
.verify-chips span{
  font-size:11px;color:#5B5BC0;
  background:#EDEDFD;padding:4px 10px;border-radius:999px;
}
.verify-progress{margin-top:12px;font-size:11.5px;color:var(--muted);font-variant-numeric:tabular-nums;}
.verify-list{display:flex;flex-direction:column;gap:12px;margin-top:16px;}
.vcell{background:#F1F1F5;border-radius:20px;padding:16px 15px;}
.vcell-head{display:flex;align-items:flex-start;gap:12px;}
.vicon{
  width:44px;height:44px;border-radius:14px;flex:0 0 auto;
  background:#fff;color:#6C5CE7;
  display:grid;place-items:center;
  box-shadow:0 2px 6px rgba(40,40,70,.06);
}
.vicon svg{width:24px;height:24px;stroke-width:1.7;}
.vmain{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;}
.vmain b{font-size:15px;font-weight:600;letter-spacing:-.2px;}
.vmain span{font-size:11px;color:#8C8C93;line-height:1.45;}
.vstatus{font-style:normal;font-size:11px;color:#A8A8B0;margin-top:4px;flex:0 0 auto;}
.vstatus.ok{color:#8C8C93;}
.vstatus.busy{color:#E09B12;}
.vdetail{margin-top:12px;background:#fff;border-radius:14px;padding:2px 13px;}
.vrow{display:flex;gap:12px;padding:10px 0;border-bottom:1px solid #F4F4F7;font-size:12.5px;}
.vrow:last-child{border-bottom:0;}
.vrow span{width:56px;flex:0 0 auto;color:#A8A8B0;}
.vrow b{flex:1;min-width:0;font-weight:500;color:#3C3C44;word-break:break-all;}
.vnote{margin-top:10px;font-size:11.5px;color:#A96A00;background:#FFF6E8;border-radius:10px;padding:8px 10px;line-height:1.5;}
.vupdate{
  margin-top:12px;padding:7px 15px;border-radius:999px;
  background:#E9E8FF;color:#5B5BC0;
  font-size:12px;font-weight:600;
}
.vupdate.ghost{background:#E9E9EE;color:#8C8C93;font-weight:500;}
.verify-foot{margin-top:18px;font-size:10.5px;color:var(--faint);line-height:1.65;padding:0 2px;}

/* ----- 编辑资料页 ----- */
.score-row{display:flex;align-items:center;gap:10px;margin-bottom:12px;}
.score-label{font-size:13px;font-weight:600;color:var(--ink-2);flex:0 0 auto;}
.score-track{position:relative;flex:1;height:6px;border-radius:3px;background:#E7E7EF;}
.score-track i{
  display:block;height:100%;width:0;border-radius:3px;
  background:linear-gradient(90deg,#8B7BFF,#FF5C8A);
  transition:width .45s var(--ease);
}
.score-heart{
  position:absolute;top:50%;left:0;
  transform:translate(-50%,-50%);
  font-style:normal;font-size:16px;line-height:1;color:#FF4A6E;
  transition:left .45s var(--ease);
  filter:drop-shadow(0 1px 3px rgba(255,74,110,.35));
}
.score-row b{flex:0 0 auto;font-size:14px;font-weight:700;font-variant-numeric:tabular-nums;min-width:22px;text-align:right;}
.edit-tip{
  display:flex;align-items:center;gap:8px;
  background:#EDEDFD;color:#5B5BC0;
  font-size:11.5px;padding:9px 12px;border-radius:12px;
  margin-bottom:14px;line-height:1.5;
}
.edit-tip span{
  width:16px;height:16px;border-radius:50%;flex:0 0 auto;
  background:#DBDAFF;color:#5B5BC0;
  font-size:9px;font-weight:700;
  display:grid;place-items:center;
}
.edit-card{
  background:var(--card);border-radius:20px;
  padding:16px 15px;margin-bottom:12px;
  box-shadow:var(--shadow-xs);
}
.edit-me{display:flex;align-items:flex-start;gap:14px;}
.edit-avatar-wrap{position:relative;flex:0 0 auto;}
.edit-avatar{
  width:68px;height:68px;border-radius:50%;overflow:hidden;
  background:#F0F0F4;color:var(--ink-2);
  font-size:24px;font-weight:600;
  display:grid;place-items:center;
}
.edit-avatar img{width:100%;height:100%;object-fit:cover;}
.edit-avatar-btn{
  position:absolute;right:-2px;bottom:-2px;
  width:24px;height:24px;border-radius:50%;
  background:var(--dark);color:#fff;
  font-size:11px;
  display:grid;place-items:center;
  border:2px solid #fff;
}
.edit-me-main{flex:1;min-width:0;padding-top:2px;}
.edit-name{
  font-size:19px;font-weight:700;letter-spacing:-.3px;
  display:flex;align-items:center;gap:8px;
}
.edit-name em{font-style:normal;font-size:12px;color:var(--faint);}
.edit-me-main .voice-box{margin-top:10px;}
.edit-me-main .voice-rec{
  width:auto;height:auto;padding:7px 14px;border-radius:999px;
  display:inline-flex;gap:7px;
  background:#F1F0FF;border:0;color:#6C5CE7;
  font-size:12px;font-weight:500;
}
.edit-me-main .voice-rec .rec-dot{width:7px;height:7px;background:#6C5CE7;}
.edit-me-main .voice-rec.recording{background:#FFF0F4;color:var(--brand-deep);}
.edit-me-main .voice-rec.recording .rec-dot{background:var(--brand);}
.edit-me-main .voice-tip{font-size:10px;margin-top:6px;line-height:1.5;}
.edit-me-main .voice-have{margin-top:0;}
.edit-me-main .voice-have audio{height:34px;}
.edit-me-main .voice-del{height:32px;font-size:12px;}
.edit-card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:2px;}
.edit-card-head b{font-size:15px;font-weight:600;}
.edit-card-hint{font-size:10.5px;color:#7B7BE0;}
.edit-card-sub{font-size:10.5px;color:var(--muted);margin:2px 0 12px;line-height:1.55;}
.edit-card .field{margin-bottom:10px;background:#F7F7F9;border-color:transparent;}
.edit-card .field:focus-within{background:#fff;border-color:var(--ink);}
.edit-card textarea{
  width:100%;padding:13px 15px;
  background:#F7F7F9;border-radius:16px;
  font-size:14px;line-height:1.6;resize:none;
  border:1px solid transparent;transition:all .18s;
}
.edit-card textarea:focus{background:#fff;border-color:var(--ink);}
.edit-card .sheet-label{font-size:12px;margin:16px 0 9px;}
.photo-add{position:relative;}
.photo-add em{
  position:absolute;left:6px;bottom:6px;
  width:18px;height:18px;border-radius:50%;
  background:#EFEFF3;color:#A8A8B0;
  font-style:normal;font-size:10px;font-weight:600;
  display:grid;place-items:center;
}
.goal-row{
  width:100%;margin-top:10px;
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:13px 14px;border-radius:14px;
  border:1px dashed #C9C6FF;background:#F7F5FF;
  color:#5B5BC0;font-size:12.5px;text-align:left;
}
.goal-row span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.goal-row span.empty{color:#9A97C9;}
.goal-row i{font-style:normal;font-size:15px;color:#6C5CE7;flex:0 0 auto;}
.edit-save-btn{margin-top:18px;}

/* ===== 消息页快捷入口 ===== */
.chat-quick{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:14px;}
.quick-card{
  display:flex;flex-direction:column;align-items:flex-start;gap:2px;
  min-height:88px;padding:12px 11px;border-radius:16px;
  text-align:left;transition:transform .16s var(--ease);
}
.quick-card:active{transform:scale(.98);}
.quick-ico{
  width:26px;height:26px;border-radius:9px;
  display:grid;place-items:center;
  background:rgba(255,255,255,.75);
  font-size:13px;margin-bottom:5px;
}
.quick-card b{font-size:12.5px;font-weight:600;letter-spacing:-.2px;}
.quick-card em{font-style:normal;font-size:9.5px;color:rgba(40,40,52,.55);line-height:1.35;}
.quick-a{background:#EFEDFF;color:#4B3FC4;}
.quick-b{background:#E7F3FF;color:#2B6CB0;}
.quick-c{background:#FFEDF2;color:#C2274B;}

/* ===== 今日人气 ===== */
.popularity-card{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;
  margin-top:12px;padding:13px 15px;border-radius:18px;
  background:var(--card);border:1px solid var(--line);
  box-shadow:var(--shadow-xs);text-align:left;
}
.pop-left{display:flex;align-items:center;gap:10px;min-width:0;}
.pop-ico{
  width:30px;height:30px;border-radius:10px;flex:0 0 auto;
  display:grid;place-items:center;font-style:normal;font-size:14px;
  background:#FFF3E0;color:#E09B12;
}
.pop-main{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;min-width:0;}
.pop-main b{font-size:13.5px;font-weight:600;}
.pop-main em{font-style:normal;font-size:11.5px;font-weight:600;color:var(--muted);}
.pop-main em.low{color:#E8325A;}
.pop-main em.high{color:var(--ok);}
.pop-main small{width:100%;font-size:10px;color:var(--faint);}
.pop-right{font-size:11.5px;color:var(--muted);flex:0 0 auto;}
.pop-action{
  width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:3px;
  padding:14px 15px;margin-bottom:8px;border-radius:14px;
  background:#F7F7F9;text-align:left;
}
.pop-action b{font-size:14px;font-weight:600;}
.pop-action em{font-style:normal;font-size:11.5px;color:var(--muted);}

/* ===== 减弱动效 ===== */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
    scroll-behavior:auto !important;
  }
}

/* ===== 登录协议 ===== */
.agree-row{
  display:flex;align-items:flex-start;gap:8px;margin-top:14px;
  font-size:11.5px;line-height:1.65;color:var(--muted);
}
.agree-row input{
  width:16px;height:16px;margin:1px 0 0;flex:0 0 auto;
  accent-color:var(--brand);cursor:pointer;
}
.agree-row a{color:var(--ink-2);text-decoration:none;font-weight:500;}
.agree-row.unchecked span{color:#B9B9C0;}

/* ===== 首登资料向导 ===== */
.wizard{
  position:absolute;inset:0;z-index:130;background:#fff;display:flex;flex-direction:column;
  padding:calc(18px + env(safe-area-inset-top)) 24px calc(26px + env(safe-area-inset-bottom));
  opacity:0;visibility:hidden;transform:translateY(14px);
  transition:opacity .26s var(--ease),transform .26s var(--ease),visibility .26s;
}
.wizard.show{opacity:1;visibility:visible;transform:none;}
.wiz-bar{display:flex;align-items:center;justify-content:space-between;min-height:44px;}
.wiz-back{width:40px;height:40px;display:grid;place-items:center;margin-left:-10px;}
.wiz-back svg{width:22px;height:22px;stroke:var(--ink);fill:none;stroke-width:2;}
.wiz-dots{display:flex;align-items:center;gap:6px;}
.wiz-dots i{width:6px;height:6px;border-radius:3px;background:#E4E4EA;transition:all .2s var(--ease);}
.wiz-dots i.active{width:16px;background:var(--brand);}
.wiz-dots i.done{background:#F4B3C0;}
.wiz-skip{font-size:12.5px;color:var(--muted);min-height:40px;padding:0 4px 0 12px;}
.wiz-body{flex:1;overflow-y:auto;padding:18px 2px 12px;}
.wiz-body::-webkit-scrollbar{width:0;}
.wiz-step{text-align:center;}
.wiz-ico{
  display:grid;place-items:center;width:56px;height:56px;margin:6px auto 18px;
  font-size:26px;border-radius:20px;background:var(--brand-soft);
}
.wiz-step h1{font-size:27px;font-weight:700;letter-spacing:-.8px;line-height:1.3;}
.wiz-sub{margin-top:9px;font-size:13px;color:var(--muted);}

.wiz-gender{display:flex;flex-direction:column;gap:12px;margin-top:32px;}
.wiz-gender-card{
  display:grid;grid-template-columns:64px 1fr;grid-template-rows:auto auto;
  align-items:center;column-gap:16px;min-height:104px;padding:16px 22px;
  border-radius:22px;background:#F7F7F9;border:1.5px solid transparent;text-align:left;
  transition:border-color .18s var(--ease),background .18s var(--ease);
}
.wiz-gender-card.active{border-color:var(--brand);background:#FFF7F9;}
.wiz-ill{
  grid-row:1 / 3;width:64px;height:64px;border-radius:22px;position:relative;overflow:hidden;
}
.wiz-ill-female{background:linear-gradient(160deg,#FFE3EC 0%,#F0E6FF 100%);}
.wiz-ill-female::after{
  content:"";position:absolute;left:50%;top:50%;width:30px;height:30px;transform:translate(-50%,-46%);
  border-radius:50% 50% 46% 46%;background:#FFF;box-shadow:0 -14px 0 -6px #E9B7C8;
}
.wiz-ill-male{background:linear-gradient(160deg,#E4EEFF 0%,#E9E4FF 100%);}
.wiz-ill-male::after{
  content:"";position:absolute;left:50%;top:50%;width:30px;height:30px;transform:translate(-50%,-46%);
  border-radius:50% 50% 46% 46%;background:#FFF;box-shadow:0 -13px 0 -5px #A9BEE6;
}
.wiz-gender-card b{grid-column:2;grid-row:1;align-self:end;font-size:19px;font-weight:700;}
.wiz-gender-card em{grid-column:2;grid-row:2;align-self:start;margin-top:2px;font-style:normal;font-size:11.5px;color:var(--faint);}

.wiz-birth{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:10px;margin-top:32px;}
.wiz-birth select{
  height:58px;border-radius:18px;border:1.5px solid var(--line-2);background:#fff;
  font-size:16px;font-weight:600;color:var(--ink);padding:0 10px;text-align:center;
  appearance:none;-webkit-appearance:none;
}
.wiz-birth select:focus{outline:none;border-color:var(--ink);}
.wiz-age{margin-top:18px;font-size:12.5px;color:var(--muted);}
.wiz-age b{color:var(--ink);font-size:14px;}

.wiz-city-row{display:flex;gap:10px;margin-top:30px;}
.wiz-city-row input{
  flex:1;min-width:0;height:54px;border-radius:16px;border:1.5px solid var(--line-2);
  background:#fff;padding:0 16px;font-size:15px;color:var(--ink);
}
.wiz-city-row input:focus{outline:none;border-color:var(--ink);}
.wiz-city-row button{
  height:54px;padding:0 16px;border-radius:16px;white-space:nowrap;
  background:var(--brand-soft);color:var(--brand-deep);font-size:13px;font-weight:600;
}
.wiz-city-quick{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:22px;}
.wiz-city-quick button{padding:9px 14px;border-radius:14px;background:#F7F7F9;font-size:12.5px;color:var(--ink-2);}

.wiz-edu{display:flex;flex-direction:column;gap:10px;margin-top:30px;}
.wiz-edu-item{
  min-height:56px;border-radius:16px;background:#F7F7F9;border:1.5px solid transparent;
  font-size:15.5px;font-weight:600;color:var(--ink-2);
  transition:border-color .16s var(--ease),background .16s var(--ease),color .16s;
}
.wiz-edu-item.active{background:#FFF7F9;border-color:var(--brand);color:var(--brand-deep);}

.wiz-foot{display:flex;justify-content:center;padding-top:12px;}
.wiz-next{
  width:58px;height:58px;border-radius:50%;background:#E9E9EF;display:grid;place-items:center;
  transition:background .18s var(--ease),box-shadow .18s var(--ease),transform .12s;
}
.wiz-next svg{width:24px;height:24px;stroke:#fff;fill:none;stroke-width:2;}
.wiz-next.ready{background:var(--brand);box-shadow:0 12px 26px -14px rgba(255,74,110,.9);}
.wiz-next.ready:active{transform:scale(.94);}
.wiz-next:disabled{cursor:default;}

/* ===== 完善资料引导卡 ===== */
.gate{
  position:absolute;inset:0;z-index:115;display:flex;align-items:center;justify-content:center;
  padding:26px 22px;background:rgba(17,17,20,.42);backdrop-filter:blur(3px);
  opacity:0;visibility:hidden;transition:opacity .24s var(--ease),visibility .24s;
}
.gate.show{opacity:1;visibility:visible;}
.gate-card{
  width:100%;max-width:360px;background:#fff;border-radius:28px;
  padding:26px 22px 18px;text-align:center;box-shadow:var(--shadow-lg);
}
.gate-badge{
  display:inline-block;font-size:10.5px;font-weight:600;color:var(--brand-deep);
  background:var(--brand-soft);padding:4px 10px;border-radius:10px;
}
.gate-card h2{margin:14px 0 0;font-size:23px;line-height:1.38;letter-spacing:-.6px;}
.gate-card p{margin:8px 0 0;font-size:12.5px;color:var(--muted);}
.gate-compare{display:flex;align-items:stretch;gap:8px;margin:20px 0 22px;}
.gc-col{flex:1;border-radius:16px;padding:12px 10px;text-align:left;font-size:11.5px;line-height:1.95;}
.gc-col b{display:block;font-size:12px;margin-bottom:4px;}
.gc-before{background:#F5F5F8;color:var(--faint);}
.gc-after{background:linear-gradient(150deg,#FFEFF3,#F2EDFF);color:var(--ink-2);}
.gc-after b{color:var(--brand-deep);}
.gc-arrow{display:grid;place-items:center;color:var(--faint);font-size:15px;}
.gate-later{width:100%;margin-top:10px;min-height:40px;font-size:12.5px;color:var(--muted);}

/* ===== 新人礼包 ===== */
.welcome-body{text-align:center;}
.welcome-emoji{font-size:54px;line-height:1;margin:4px 0 10px;}
.welcome-body .primary-btn{width:100%;}

/* ===== 完善资料与认证聚合页 ===== */
.hub-entry{
  display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;
  margin-top:14px;padding:15px 16px;border-radius:18px;text-align:left;
  background:linear-gradient(135deg,#FFF3F6,#F4F0FF);border:1px solid rgba(255,74,110,.13);
  transition:transform .14s var(--ease);
}
.hub-entry:active{transform:scale(.985);}
.hub-entry-main b{display:block;font-size:14px;font-weight:700;}
.hub-entry-main em{display:block;margin-top:3px;font-style:normal;font-size:11px;color:var(--muted);}
.hub-entry-side{font-size:12px;font-weight:600;color:var(--brand-deep);white-space:nowrap;}
.hub-body{padding-top:2px;}
.hub-hero h1{font-size:26px;font-weight:700;letter-spacing:-.7px;}
.hub-hero p{margin-top:8px;font-size:13px;color:var(--muted);}
.hub-track{height:6px;border-radius:3px;background:#EDEDF1;margin-top:18px;overflow:hidden;}
.hub-track i{display:block;height:100%;width:0;border-radius:3px;background:linear-gradient(90deg,#FF8FA8,var(--brand));transition:width .32s var(--ease);}
.hub-progress-text{display:block;margin-top:8px;font-size:11.5px;color:var(--faint);}
.hub-card{
  display:flex;align-items:center;gap:14px;width:100%;margin-top:12px;padding:16px;
  border-radius:18px;background:#fff;border:1px solid var(--line);text-align:left;
  transition:transform .14s var(--ease);
}
.hub-card:active{transform:scale(.985);}
.hub-ico{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;font-size:18px;flex:0 0 auto;}
.hub-ico-a{background:#EEF3FF;color:#3E7BFA;}
.hub-ico-b{background:#FFF4E8;color:#E08A2E;}
.hub-ico-c{background:#EDF8F1;color:#1FA971;}
.hub-card-body{flex:1;min-width:0;}
.hub-card-body b{display:flex;align-items:center;gap:4px;font-size:14.5px;}
.hub-card-body em{display:block;margin-top:4px;font-style:normal;font-size:11.5px;line-height:1.55;color:var(--muted);}
.hub-count{font-size:11px;font-weight:600;color:var(--brand);}
.hub-arrow{color:var(--faint);font-size:18px;}
.hub-cta{margin-top:24px;}
.hub-foot{margin:18px 0 0;text-align:center;font-size:11px;line-height:1.7;color:var(--faint);}
.link-btn{padding:0;border:none;background:none;font:inherit;color:var(--brand);font-size:11px;text-decoration:underline;cursor:pointer;}
