/* ==================================================================
   会员中心 · 个人中心页 UI（mc- 命名空间，与其他页面隔离）
   蓝金高级质感风；--u 复刻设计稿自适应，避免与其他页根字号冲突
   ================================================================== */
.page-content.mc-content{
  --u: calc(min(100vw, 430px) / 26.875);   /* 430px 宽时 1u≈16px */
  padding: calc(14px + env(safe-area-inset-top)) calc(1.15 * var(--u)) calc(96px + env(safe-area-inset-bottom));
}
.mc-page{
  background:
    radial-gradient(55% 18% at 15% 0%,rgba(180,210,255,.55) 0%,rgba(180,210,255,0) 70%),
    radial-gradient(45% 14% at 95% 6%,rgba(205,220,255,.5) 0%,rgba(205,220,255,0) 70%),
    linear-gradient(180deg,#e6f0ff 0%,#eef4ff 20%,#f5f8ff 100%);
}
.mc-card{ position:relative; border-radius:calc(1.1 * var(--u)); overflow:hidden }

/* 用户信息 */
.mc-header{ display:flex; align-items:center; min-height:calc(4.8 * var(--u)); padding:calc(.3 * var(--u)) calc(.15 * var(--u)) }
.mc-avatar{
  width:calc(4.7 * var(--u)); height:calc(4.7 * var(--u)); border-radius:50%; flex:none; padding:0;
  display:grid; place-items:center; overflow:visible; position:relative;
  border:calc(.16 * var(--u)) solid rgba(255,255,255,.95);
  box-shadow:0 0 0 calc(.16 * var(--u)) rgba(150,190,255,.35),0 .25rem .6rem rgba(60,110,190,.25),inset 0 0 0 .12rem rgba(200,225,255,.6);
  background:linear-gradient(150deg,#bcd8ff,#7ea6e8); color:#fff;
}
.mc-avatar img{ width:100%; height:100%; border-radius:50%; object-fit:cover }
.mc-avatar .profile-avatar-edit{
  position:absolute; right:calc(-.1 * var(--u)); bottom:calc(.05 * var(--u));
  width:calc(1.5 * var(--u)); height:calc(1.5 * var(--u)); border-radius:50%;
  background:#2b3550; color:#fff; border:2px solid #fff; display:grid; place-items:center;
}
.mc-user-info{ margin-left:calc(.7 * var(--u)); flex:1; min-width:0 }
.mc-user-name{ font-size:calc(1.5 * var(--u)); font-weight:800; color:#16234a; line-height:1.2; letter-spacing:.01em }
.mc-vip{
  display:inline-flex; align-items:center; gap:.25rem; margin-top:calc(.35 * var(--u));
  height:calc(1.55 * var(--u)); padding:0 calc(.7 * var(--u)) 0 calc(.45 * var(--u)); border-radius:calc(.85 * var(--u));
  background:linear-gradient(135deg,#fff3c8,#f7cf72); color:#9c6816;
  font-size:calc(.8 * var(--u)); font-weight:800; box-shadow:0 .12rem .3rem rgba(180,130,40,.2);
}
.mc-crown{ width:calc(1.25 * var(--u)); height:calc(1 * var(--u)) }
.mc-logout{
  width:calc(2.6 * var(--u)); height:calc(2.6 * var(--u)); display:grid; place-items:center;
  color:#3b5a92; border-radius:calc(.8 * var(--u)); padding:0;
  background:rgba(255,255,255,.7); border:1px solid rgba(255,255,255,.9); box-shadow:0 .15rem .4rem rgba(90,130,190,.12);
}
.mc-logout:active{ transform:scale(.95) }

/* 积分 / 邀请码主卡 */
.mc-points{
  display:flex; align-items:stretch; margin-top:calc(.9 * var(--u));
  min-height:calc(9 * var(--u)); padding:calc(1.1 * var(--u)) calc(.8 * var(--u));
  background:linear-gradient(135deg,rgba(255,255,255,.92) 0%,rgba(238,246,255,.94) 100%);
  border:1px solid rgba(255,255,255,.95);
  box-shadow:0 .6rem 1.3rem rgba(80,125,200,.16),inset 0 .06rem 0 rgba(255,255,255,.9);
}
.mc-points-left{ display:flex; align-items:center; flex:1.35; min-width:0; cursor:pointer }
.mc-coins{ width:calc(4.5 * var(--u)); height:calc(4.7 * var(--u)); flex:none; filter:drop-shadow(0 .15rem .25rem rgba(140,110,40,.2)) }
.mc-points-text{ margin-left:calc(.4 * var(--u)); min-width:0 }
.mc-label{ font-size:calc(.9 * var(--u)); color:#3d5588; font-weight:700 }
.mc-points-num{ display:flex; align-items:center; gap:calc(.2 * var(--u)); margin-top:calc(.15 * var(--u)); font-size:calc(2.7 * var(--u)); font-weight:800; line-height:1; max-width:100%; overflow:hidden;
  color:#e39b1e; text-shadow:0 .1rem .15rem rgba(180,120,20,.18) }
.mc-points-arrow{ position:absolute; right:0; top:50%; transform:translateY(-50%); width:calc(1.3 * var(--u)); height:calc(1.3 * var(--u)); color:#e5a93f; pointer-events:none }
.mc-points-num{ position:relative; padding-right:calc(1.8 * var(--u)) }
.mc-vline{ width:1px; background:linear-gradient(180deg,transparent,rgba(110,150,210,.35),transparent); margin:calc(.2 * var(--u)) calc(.6 * var(--u)) }
.mc-points-right{ flex:.92; min-width:0; display:flex; flex-direction:column; justify-content:center; position:relative; padding-bottom:calc(2.2 * var(--u)) }
.mc-label2{ font-size:calc(.78 * var(--u)); color:#6b80a8; font-weight:600 }
.mc-invitecode-row{ display:flex; align-items:center; gap:calc(.4 * var(--u)); margin-top:calc(.1 * var(--u)) }
.mc-invitecode-row>span{ font-size:calc(1.35 * var(--u)); font-weight:800; color:#16234a; letter-spacing:.01em; white-space:nowrap }
.mc-copy-btn{ flex:none; height:calc(1.6 * var(--u)); padding:0 calc(.6 * var(--u)); border-radius:calc(.8 * var(--u));
  font-size:calc(.75 * var(--u)); font-weight:700; color:#fff; background:linear-gradient(135deg,#7fb0f5,#4d86e8); box-shadow:0 .15rem .35rem rgba(70,125,220,.3) }
.mc-copy-btn:active{ filter:brightness(.96) }
.mc-invitecount{ margin-top:calc(.5 * var(--u)); font-size:calc(.9 * var(--u)); color:#4a5f8a; cursor:pointer }
.mc-invitecount span:first-child{ font-weight:800; font-size:calc(1.25 * var(--u)); color:#16234a }
.mc-people{ position:absolute; right:calc(-.4 * var(--u)); bottom:calc(-.2 * var(--u)); width:calc(6.2 * var(--u)); height:calc(3.2 * var(--u)); pointer-events:none }

/* 绑定上级卡 */
.mc-bind{ margin-top:calc(.9 * var(--u)); padding:calc(1 * var(--u)); background:rgba(255,255,255,.94); border:1px solid rgba(255,255,255,.95); box-shadow:0 .45rem 1rem rgba(80,125,200,.12) }
.mc-bind-title{ display:flex; align-items:center; gap:calc(.4 * var(--u)); font-size:calc(1.05 * var(--u)); font-weight:800; color:#16234a }
.mc-ticket{ width:calc(1.9 * var(--u)); height:calc(1.9 * var(--u)); flex:none; filter:drop-shadow(0 .1rem .18rem rgba(70,120,210,.25)) }
.mc-bind-form{ display:flex; align-items:center; gap:calc(.55 * var(--u)); margin-top:calc(.8 * var(--u)) }
.mc-bind-field{ flex:1; min-width:0; display:flex; align-items:center; height:calc(2.9 * var(--u)); padding:0 calc(.75 * var(--u));
  background:#f2f6ff; border:1px solid #e3ecfb; border-radius:calc(.8 * var(--u)) }
.mc-bind-field input{ width:100%; font-size:calc(.85 * var(--u)); color:#25324f; background:none; border:0; outline:none }
.mc-bind-field input::placeholder{ color:#a9b7d0 }
.mc-btn-submit{ flex:none; width:calc(5.2 * var(--u)); height:calc(2.9 * var(--u)); border-radius:calc(.8 * var(--u));
  background:linear-gradient(135deg,#8fb6ff,#4d6fef); color:#fff; font-size:calc(.95 * var(--u)); font-weight:800;
  box-shadow:0 .3rem .6rem rgba(80,110,235,.35) }
.mc-btn-submit:active{ filter:brightness(.96); transform:scale(.97) }
.mc-bind-done{ display:flex; align-items:center; justify-content:center; gap:.35rem; min-height:calc(2.9 * var(--u)); margin-top:calc(.6 * var(--u)); color:#3a6fc4; font-size:calc(.9 * var(--u)); font-weight:700 }

/* 我的服务 */
.mc-section-title{ display:flex; align-items:center; gap:calc(.4 * var(--u)); margin:calc(1.5 * var(--u)) 0 calc(.75 * var(--u)); font-size:calc(1.15 * var(--u)); font-weight:800; color:#16234a }
.mc-orb{ width:calc(.7 * var(--u)); height:calc(.7 * var(--u)); border-radius:50%; flex:none; background:radial-gradient(circle at 30% 30%,#bfe0ff,#5f8fe8); box-shadow:0 .1rem .2rem rgba(90,140,220,.4) }
.mc-tiline{ flex:1; height:1px; background:linear-gradient(90deg,rgba(120,160,220,.4),rgba(120,160,220,0)) }
.mc-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:calc(.7 * var(--u)) }
.mc-feature{
  display:flex; align-items:center; gap:calc(.5 * var(--u)); min-height:calc(4.5 * var(--u));
  padding:calc(.6 * var(--u)) calc(.6 * var(--u)); text-align:left;
  background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(244,249,255,.96)); border:1px solid rgba(255,255,255,.95);
  box-shadow:0 .35rem .9rem rgba(80,125,200,.13)
}
.mc-feature:active{ transform:scale(.98) }
.mc-ico{ width:calc(2.9 * var(--u)); height:calc(2.9 * var(--u)); flex:none; display:grid; place-items:center }
.mc-ico svg{ width:100%; height:100%; filter:drop-shadow(0 .12rem .2rem rgba(90,120,190,.18)) }
.mc-feature-name{ flex:1; min-width:0; font-size:calc(.98 * var(--u)); font-weight:700; color:#16234a; white-space:nowrap }
.mc-feature-arrow{ width:calc(1.15 * var(--u)); height:calc(1.15 * var(--u)); color:#9fb0cf; flex:none }

/* 积分数字：宽度受限 + 由 fitAmountText 自适应字号，避免长数字溢出压到右侧邀请码区 */
.mc-points-num>span#profilePoints{
  display:inline-block;
  max-width:100%;
  overflow:hidden;
  white-space:nowrap;
  vertical-align:bottom;
}
