.page-user { min-height: 100vh; padding-bottom: 60px; background: #f5f5f5; }

/* 顶部个人中心标题条（原 H5 H5 顶部 40px 条） */
.user-header { height: 40px; line-height: 40px; text-align: center; background: #1787e7; color: #fff; font-size: 15px; }

/* 顶部蓝色个人信息卡片，对应 H5 的 .boxOne（340rpx / 260rpx / 140rpx） */
.user-card { position: relative; width: 100%; background-color: #1787e7; height: 45.33vw; max-height: 210px; }

.user-card-main { display: flex; align-items: center; justify-content: space-around; width: 100%; height: 34.67vw; max-height: 160px; position: relative; }

.user-avatar-wrap { width: 18.67vw; height: 18.67vw; max-width: 95px; max-height: 95px; border-radius: 50%; overflow: hidden; background: #ffffff; display:flex; align-items:center; justify-content:center; }

.user-avatar { width: 100%; height: 100%; border-radius: 50%; background: #ffffff url('../img/news202312231140344119.jpeg') no-repeat center / cover; }

.user-info { width: 58vw; max-width: 260px; display:flex; flex-wrap:wrap; color:#fff; }
.user-email { width:100%; font-size: 14px; font-weight: 700; }
.user-code { width:100%; margin-top: 4px; font-size: 12px; opacity: 0.9; display:flex; align-items:center; }
.user-code span { margin-right: 8px; }
.user-code-copy { width: 4vw; max-width: 18px; height: auto; display:block; }

.user-card-arrow { width: 12px; height: 22px; }
.user-card-arrow img { width:100%; height:100%; display:block; }

.user-setting-btn { position:absolute; top: 8px; right: 10px; width: 22px; height: 22px; padding:0; margin:0; border:none; background:transparent; }
.user-setting-btn img { width:100%; height:100%; display:block; }

/* 中间白色模块：待入库 / 已入库 / 我的订单，对应 .boxTwo（padding 30rpx、radius 20rpx、translateY(-40%)） */
.user-summary { border-bottom: 1px solid #a79b9b; display:flex; justify-content:space-around; width: 90%; background:#fff; border-radius: 10px; box-sizing:border-box; padding: 4vw 0; font-weight:700; margin: 0 auto; transform: translateY(-40%); box-shadow: 0 2px 6px rgba(0,0,0,0.06); }

.user-summary-item { position:relative; text-align:center; font-size:13px; color:#333; }
.user-summary-icon { width: 44px; height: 44px; margin: 0 auto 4px auto; }
.user-summary-text { font-size: 13px; }

.user-summary-badge { position:absolute; top: 2px; left: 50%; transform: translateX(16px); min-width: 18px; height: 18px; padding:0 4px; border-radius: 999px; background:#ff4d4f; color:#fff; font-size:11px; line-height:18px; text-align:center; box-sizing:border-box; display:none; }

/* 下方功能列表，对应 .boxThree（外层整体 translateY(-60rpx)） */
.user-list { margin-top: 0; padding-bottom: 10px; transform: translateY(-8vw); }

.user-list-item { border-bottom: 1px solid #a79b9b; display:flex; align-items:center; width: 84%; margin: 0 auto 8px auto; background:#fff; border-radius: 7px; box-sizing:border-box; padding: 2.66vw 2vw; position:relative; }

.user-list-icon { width: 12vw; height: 12vw; max-width: 46px; max-height: 46px; margin-right: 12px; }

.user-list-main { flex:1; display:flex; flex-wrap:wrap; align-items:center; }
.user-list-title { width:100%; font-size:13px; color:#333; }
.user-list-desc { width:100%; margin-top:2px; font-size:12px; color:#999; line-height:1.4; }

.user-list-arrow { width: 10px; height: 10px; border-right: 1px solid #ccc; border-bottom: 1px solid #ccc; transform: rotate(-45deg); }

.user-item-badge { position:absolute; top: 50%; right: 24px; transform: translateY(-50%); min-width: 18px; height: 18px; padding:0 4px; border-radius:999px; background:#ff4d4f; color:#fff; font-size:11px; line-height:18px; text-align:center; box-sizing:border-box; display:none; }

.user-brand { margin-top: 10px; display:flex; justify-content:center; align-items:center; color:#777; font-size:13px; opacity:0.7; }
.user-brand-icon { width:26px; height:26px; margin-right:6px; opacity:0.4; }

/* 底部 tabbar（与首页保持一致） */
.tabbar { position: fixed; left:0; right:0; bottom:0; height: 50px; background:#fff; border-top:1px solid #e5e5e5; display:flex; }
.tab-item { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; font-size: 11px; color:#666; }
.tab-item-active { color:#24afd6; }
.tab-icon { width: 28px; height: 28px; margin-bottom: 2px; }
.tab-disabled { color:#bbb; }

@media (min-width:768px) {
  .page-user { max-width: 480px; margin:0 auto; border:1px solid #eee; }
}
