/* ===== 朋友圈 ===== */
.moments-cover {
  height: 220px; background: linear-gradient(135deg,#4a5a6a,#2c3540);
  position: relative;
}
.moments-me {
  position: absolute; right: 16px; bottom: -30px; display: flex; align-items: flex-end; gap: 12px;
}
.moments-me .mname { color:#fff; font-size:17px; font-weight:600; text-shadow:0 1px 3px rgba(0,0,0,.5); margin-bottom:10px; }
.moments-me .avatar { width:64px; height:64px; border-radius:10px; border:2px solid #fff; }
.moment-item { display:flex; padding:16px; background:#fff; border-bottom:1px solid #F0F0F0; }
.moment-item .avatar { width:42px; height:42px; }
.moment-body { flex:1; margin-left:10px; min-width:0; }
.moment-author { color:#576B95; font-weight:600; font-size:15px; }
.moment-text { font-size:15px; margin:5px 0; white-space:pre-wrap; word-break:break-word; }
.moment-imgs { display:grid; grid-template-columns:repeat(3,1fr); gap:5px; margin:6px 0; max-width:230px; }
.moment-imgs img { width:100%; aspect-ratio:1; object-fit:cover; border-radius:3px; }
.moment-imgs.single { grid-template-columns:1fr; max-width:160px; }
.moment-foot { display:flex; justify-content:space-between; align-items:center; margin-top:4px; }
.moment-time { color:#B2B2B2; font-size:12px; }
.moment-actions { color:#576B95; font-size:13px; cursor:pointer; background:#f7f7f7; padding:3px 10px; border-radius:4px; }
.moment-likes { background:#F7F7F7; border-radius:4px; padding:6px 8px; margin-top:6px; font-size:13px; color:#576B95; }
.moment-comments { background:#F7F7F7; border-radius:4px; padding:4px 8px; margin-top:4px; }
.moment-comments .c-item { font-size:13px; padding:2px 0; }
.moment-comments .c-item b { color:#576B95; font-weight:600; }
.mplus { position:absolute; right:0; top:0; }

/* 发布朋友圈 */
#page-moment-post .post-area { background:#fff; padding:14px; }
#page-moment-post textarea { width:100%; border:none; outline:none; font-size:16px; min-height:100px; resize:none; }
.post-imgs { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.post-imgs .pimg, .post-imgs .add-img {
  width:78px; height:78px; border-radius:4px; object-fit:cover;
  display:flex; align-items:center; justify-content:center;
}
.post-imgs .add-img { border:1px dashed #ccc; font-size:34px; color:#ccc; cursor:pointer; }

/* ===== 语音电话 ===== */
#call-overlay {
  position:absolute; inset:0; z-index:200; background:linear-gradient(160deg,#3b4a5a,#20272f);
  color:#fff; display:none; flex-direction:column; align-items:center;
}
#call-overlay.show { display:flex; }
#call-overlay .call-top { margin-top:80px; text-align:center; }
#call-overlay .call-avatar { width:90px; height:90px; border-radius:12px; margin-bottom:16px; }
#call-overlay .call-name { font-size:22px; font-weight:600; }
#call-overlay .call-status { margin-top:10px; color:#cfd6dd; font-size:15px; }
#call-overlay .call-actions { margin-top:auto; margin-bottom:70px; display:flex; gap:70px; }
#call-overlay .call-btn { display:flex; flex-direction:column; align-items:center; gap:8px; cursor:pointer; font-size:13px; color:#dfe4e9; }
#call-overlay .call-btn .cb {
  width:64px; height:64px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:28px;
}
#call-overlay .cb.hangup { background:#E64340; }
#call-overlay .cb.accept { background:var(--wx-green); }
#call-overlay .cb.mute { background:rgba(255,255,255,.25); }
#call-overlay .cb.mute.on { background:#fff; color:#333; }

/* 新的朋友 */
.req-item { display:flex; align-items:center; padding:12px 14px; background:#fff; border-bottom:1px solid #F0F0F0; }
.req-item .avatar { width:42px; height:42px; }
.req-main { flex:1; margin-left:10px; }
.req-name { font-size:15px; font-weight:500; }
.req-msg { font-size:12px; color:var(--text-gray); margin-top:2px; }
.req-btn { border:none; border-radius:5px; padding:6px 12px; font-size:13px; cursor:pointer; }
.req-btn.accept { background:var(--wx-green); color:#fff; }
.req-status { font-size:13px; color:var(--text-gray); }

/* ===== 会员欢迎页 / 进入密码门 ===== */
#welcome {
  position: fixed; inset: 0; z-index: 999;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 20%, #2b3a67 0%, #1a2138 55%, #0d1020 100%);
  overflow: hidden;
}
#welcome::before, #welcome::after {
  content: ""; position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,.25), transparent 70%);
  filter: blur(6px);
}
#welcome::before { width: 340px; height: 340px; top: -80px; right: -100px; }
#welcome::after  { width: 300px; height: 300px; bottom: -90px; left: -90px;
  background: radial-gradient(circle, rgba(120,150,255,.22), transparent 70%); }
.wc-inner {
  position: relative; z-index: 2; width: 100%; max-width: 360px;
  padding: 40px 30px; text-align: center; color: #fff;
}
.wc-badge {
  display: inline-block; letter-spacing: 3px; font-weight: 700; font-size: 13px;
  color: #1a2138; background: linear-gradient(135deg,#f6d365,#d4af37);
  padding: 4px 14px; border-radius: 20px; margin-bottom: 22px;
  box-shadow: 0 6px 20px rgba(212,175,55,.4);
}
.wc-crown { font-size: 56px; margin-bottom: 10px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.4)); }
.wc-title {
  font-size: 26px; font-weight: 700; margin-bottom: 8px;
  background: linear-gradient(135deg,#fff,#f6d365); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent;
}
.wc-sub { font-size: 14px; color: #b9c2e0; margin-bottom: 30px; }
.wc-form { display: flex; flex-direction: column; gap: 14px; }
.wc-form input {
  width: 100%; padding: 14px 16px; border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px; background: rgba(255,255,255,.08); color: #fff;
  font-size: 16px; outline: none; text-align: center; letter-spacing: 2px;
  transition: border-color .2s, background .2s;
}
.wc-form input::placeholder { color: rgba(255,255,255,.45); letter-spacing: normal; }
.wc-form input:focus { border-color: #d4af37; background: rgba(255,255,255,.14); }
.wc-form button {
  width: 100%; padding: 14px; border: none; border-radius: 12px; cursor: pointer;
  font-size: 17px; font-weight: 600; color: #1a2138;
  background: linear-gradient(135deg,#f6d365 0%,#d4af37 100%);
  box-shadow: 0 8px 24px rgba(212,175,55,.4); transition: transform .1s, box-shadow .2s;
}
.wc-form button:active { transform: scale(.97); }
.wc-err { color: #ff8f8f; font-size: 13px; min-height: 18px; margin: -4px 0; }
.wc-foot { margin-top: 34px; font-size: 12px; color: #6f7aa0; letter-spacing: 1px; }
