/* ============================================================
   theme-mine.css  「我的」个人中心统一青绿版式
   站点: www.ww-fifa26.shop / www.xn--uisr2qjnc.top
   设计基准: 参考图个人中心（大圆角青绿渐变头部 / 白卡叠层 / 4宫格订单 / 3列功能宫格）
   ============================================================ */

html body .page-wrap {
  background: #F5F7F8 !important;
  background-image: none !important;
}

/* ---------- 1. 顶部背景：原 mine_top_bg.png 已 404，改用青绿渐变 ---------- */
html body .page-wrap-bg {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: 62vw !important;
  background: linear-gradient(135deg, #5ED6D5 0%, #4CC2C4 45%, #2FA8A9 100%) !important;
  border-radius: 0 0 24px 24px !important;
  overflow: hidden !important;
}

html body .page-wrap-bg img {
  display: none !important;
}

/* 顶部装饰光斑 */
html body .page-wrap-bg::after {
  content: "" !important;
  position: absolute !important;
  right: -30px !important;
  top: -40px !important;
  width: 180px !important;
  height: 180px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0) 70%) !important;
  pointer-events: none !important;
}

html body .page-wrap-hd {
  background: transparent !important;
  background-image: none !important;
  padding: calc(54px + env(safe-area-inset-top, 0px)) 4vw 0 !important;
  position: relative !important;
  z-index: 2 !important;
}

/* ---------- 2. 用户信息白卡 ---------- */
html body .page-wrap-hd .info {
  background: #FFFFFF !important;
  border-radius: 20px !important;
  border: 1px solid #EEF2F3 !important;
  box-shadow: 0 10px 26px rgba(31, 42, 46, 0.10) !important;
  padding: 0 0 4vw !important;
  overflow: visible !important;
}

html body .page-wrap-hd .info .avatar {
  width: 22vw !important;
  height: 22vw !important;
  min-width: 76px !important;
  min-height: 76px !important;
  border-radius: 50% !important;
  background: #E7F7F7 !important;
  border: 4px solid #FFFFFF !important;
  box-shadow: 0 6px 16px rgba(47, 168, 169, 0.22) !important;
  margin-top: -26px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

html body .page-wrap-hd .info .avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  filter: none !important;
  border-radius: 50% !important;
}

html body .page-wrap-hd .info .name {
  width: auto !important;
  margin-top: 3vw !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #1F2A2E !important;
  -webkit-text-fill-color: #1F2A2E !important;
}

html body .page-wrap-hd .info .name .hang1 {
  color: #1F2A2E !important;
  -webkit-text-fill-color: #1F2A2E !important;
  font-size: 17px !important;
  font-weight: 700 !important;
}

html body .page-wrap-hd .info .name .id {
  color: #9AA3A7 !important;
  -webkit-text-fill-color: #9AA3A7 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  padding-left: 8px !important;
}

/* ---------- 3. 余额区：双栏 + 青绿按钮 ---------- */
html body .page-wrap-hd .info .money-list {
  padding: 5vw 0 1vw !important;
  display: flex !important;
  justify-content: space-around !important;
  align-items: center !important;
  position: relative !important;
}

html body .page-wrap-hd .info .money-list .fg {
  width: 1px !important;
  height: 34px !important;
  border: none !important;
  background: #EEF2F3 !important;
  margin: 0 !important;
  flex: 0 0 1px !important;
}

html body .page-wrap-hd .info .money-list-item {
  width: 40% !important;
  padding: 0 2vw !important;
  flex: 0 0 auto !important;
}

html body .page-wrap-hd .info .money-list-item .num {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #1F2A2E !important;
  -webkit-text-fill-color: #1F2A2E !important;
  letter-spacing: -0.3px !important;
  line-height: 1.25 !important;
}

html body .page-wrap-hd .info .money-list-item .title {
  margin-top: 6px !important;
  font-size: 11px !important;
  color: #9AA3A7 !important;
  -webkit-text-fill-color: #9AA3A7 !important;
  font-weight: 500 !important;
}

html body .page-wrap-hd .info .money-list .recharge,
html body uni-button.recharge {
  height: 34px !important;
  line-height: 34px !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  border: none !important;
  background: linear-gradient(135deg, #5ED6D5 0%, #2FA8A9 100%) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  box-shadow: 0 6px 14px rgba(76, 194, 196, 0.32) !important;
}

/* ---------- 4. 订单宫格（我的盒柜） ---------- */
html body .page-wrap .order-menu {
  width: 92vw !important;
  margin: 3.2vw auto 0 !important;
  background: #FFFFFF !important;
  border-radius: 18px !important;
  border: 1px solid #EEF2F3 !important;
  box-shadow: 0 6px 18px rgba(31, 42, 46, 0.06) !important;
  padding: 3.6vw 0 2vw !important;
  overflow: hidden !important;
}

html body .page-wrap .order-menu-hd {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #1F2A2E !important;
  -webkit-text-fill-color: #1F2A2E !important;
  padding: 0 4vw !important;
}

html body .page-wrap .order-menu-hd::after {
  content: "查看全部 ›" !important;
  margin-left: auto !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  color: #9AA3A7 !important;
}

html body .page-wrap .order-menu .menu-list {
  display: flex !important;
  padding: 2.4vw 0 0 !important;
}

html body .page-wrap .order-menu .menu-list-item {
  width: 25% !important;
  margin-top: 0 !important;
  padding: 1vw 0 1.6vw !important;
}

html body .page-wrap .order-menu .menu-list-item .icon {
  width: 26px !important;
  height: 26px !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 26px 26px !important;
}

/* 原图标 404：按序号用内嵌 SVG 补齐 */
html body .page-wrap .order-menu .menu-list-item:nth-child(1) .icon {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24' fill='none' stroke='%232FA8A9' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M3 8l9-5 9 5v8l-9 5-9-5V8z'/><path d='M3 8l9 5 9-5'/><path d='M12 13v8'/></svg>") !important;
}

html body .page-wrap .order-menu .menu-list-item:nth-child(2) .icon {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24' fill='none' stroke='%232FA8A9' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='2' y='7' width='13' height='10' rx='1.5'/><path d='M15 10h4l3 3v4h-7z'/><circle cx='6' cy='19' r='1.6'/><circle cx='18' cy='19' r='1.6'/></svg>") !important;
}

html body .page-wrap .order-menu .menu-list-item:nth-child(3) .icon {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24' fill='none' stroke='%232FA8A9' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='4' y='3' width='16' height='18' rx='2'/><path d='M8 8h8'/><path d='M8 12h8'/><path d='M8 16h5'/></svg>") !important;
}

html body .page-wrap .order-menu .menu-list-item:nth-child(4) .icon {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24' fill='none' stroke='%232FA8A9' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3.5l2.6 5.3 5.9.9-4.3 4.1 1 5.8-5.2-2.8-5.2 2.8 1-5.8L3.5 9.7l5.9-.9L12 3.5z'/></svg>") !important;
}

html body .page-wrap .order-menu .menu-list-item .icon img {
  display: none !important;
}

html body .page-wrap .order-menu .menu-list-item .title {
  margin-top: 6px !important;
  font-size: 12px !important;
  color: #5C6B70 !important;
  -webkit-text-fill-color: #5C6B70 !important;
  font-weight: 500 !important;
}

html body .page-wrap .order-menu .menu-list-item .dot {
  background: #FF3B30 !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  border-radius: 999px !important;
  min-width: 16px !important;
  height: 16px !important;
  line-height: 16px !important;
  font-size: 10px !important;
  padding: 0 4px !important;
  right: 50% !important;
  margin-right: -22px !important;
  top: 2px !important;
  box-shadow: 0 2px 6px rgba(255, 59, 48, 0.35) !important;
}

/* ---------- 5. 免责提示条 ---------- */
html body .page-wrap .roll-tip {
  width: 92vw !important;
  margin: 2.4vw auto 0 !important;
}

html body .page-wrap .roll-tip .uni-noticebar,
html body .page-wrap .roll-tip uni-notice-bar > div {
  background: #EFF8F8 !important;
  border-radius: 12px !important;
}

html body .page-wrap .roll-tip uni-notice-bar,
html body .page-wrap .roll-tip .uni-noticebar__content-inner,
html body .page-wrap .roll-tip uni-notice-bar uni-text span {
  color: #2FA8A9 !important;
  -webkit-text-fill-color: #2FA8A9 !important;
  font-size: 11px !important;
}

/* ---------- 6. 常用工具：纵向列表 → 3 列宫格 ---------- */
html body .page-wrap .common-tools {
  width: 92vw !important;
  margin: 3.2vw auto 0 !important;
  background: #FFFFFF !important;
  border-radius: 18px !important;
  border: 1px solid #EEF2F3 !important;
  box-shadow: 0 6px 18px rgba(31, 42, 46, 0.06) !important;
  padding: 3.6vw 3vw 3vw !important;
  overflow: hidden !important;
  margin-bottom: 82px !important;
}

html body .page-wrap .common-tools-hd {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #1F2A2E !important;
  -webkit-text-fill-color: #1F2A2E !important;
  padding-left: 1vw !important;
}

html body .page-wrap .common-tools-bd {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 1.6vw !important;
}

html body .page-wrap .common-tools-bd .btn-item {
  width: calc(33.333% - 6px) !important;
  flex: 0 0 calc(33.333% - 6px) !important;
  flex-flow: column nowrap !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 0.6vw !important;
}

html body .page-wrap .common-tools-bd .btn-item > * {
  width: 100% !important;
}

html body .page-wrap .common-tools-bd .btn-item::first-line {
  line-height: 1 !important;
}

html body .page-wrap .common-tools-bd .btn-item .uni-icons,
html body .page-wrap .common-tools-bd .btn-item uni-icons {
  display: none !important;
}

html body .page-wrap .common-tools-bd .btn-item .title {
  font-size: 11.5px !important;
  color: #3D4A4F !important;
  -webkit-text-fill-color: #3D4A4F !important;
  font-weight: 600 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

html body .page-wrap .common-tools-bd .btn-item {
  background: #F4FAFA !important;
  border-radius: 12px !important;
  border: 1px solid #E7F7F7 !important;
  box-sizing: border-box !important;
  padding: 14px 4px !important;
  min-height: 46px !important;
}

html body .page-wrap .common-tools-bd .btn-item image,
html body .page-wrap .common-tools-bd .btn-item img {
  width: 26px !important;
  height: 26px !important;
  filter: hue-rotate(96deg) saturate(0.9) !important;
}

html body .page-wrap .common-tools-bd .btn-item .uni-icons,
html body .page-wrap .common-tools-bd .btn-item uni-icons {
  color: #2FA8A9 !important;
  font-size: 26px !important;
}

/* ---------- 7. 底部放量，避免被浮动 tabbar 遮挡 ---------- */
html body .page-wrap {
  padding-bottom: 5.333vw !important;
}

/* ---------- 8. 覆盖 theme-v3 对头像的误伤 ---------- */
html body .page-wrap-hd img {
  filter: none !important;
}

/* ===== mine invite card (v20261108d) ===== */
html body .page-wrap .mb-invite {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  margin: 12px 16px 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, #26d0b0 0%, #14b8a6 52%, #0f9f95 100%);
  box-shadow: 0 8px 20px rgba(20, 184, 166, 0.26);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
html body .page-wrap .mb-invite::after {
  content: "";
  position: absolute;
  right: -28px;
  top: -34px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  pointer-events: none;
}
html body .page-wrap .mb-invite-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
  z-index: 1;
}
html body .page-wrap .mb-invite-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff !important;
  line-height: 1.3;
  letter-spacing: .2px;
}
html body .page-wrap .mb-invite-sub {
  margin-top: 4px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.86) !important;
  line-height: 1.3;
}
html body .page-wrap .mb-invite-btn {
  flex: none;
  position: relative;
  z-index: 1;
  margin-left: 12px;
  padding: 7px 16px;
  border-radius: 999px;
  background: #fff;
  color: #0f9f95 !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
html body .page-wrap .mb-invite:active {
  transform: scale(0.988);
}

/* ===== money double-column refine (v20261108d) ===== */
html body .page-wrap-hd .info .money-list {
  justify-content: space-between !important;
  align-items: center !important;
  padding: 5vw 2.5vw 1.5vw !important;
}
html body .page-wrap-hd .info .money-list .money-list-item {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  padding: 0 0.5vw !important;
}
html body .page-wrap-hd .info .money-list-item .num {
  font-size: 20px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
}
html body .page-wrap-hd .info .money-list .fg {
  flex: 0 0 1px !important;
  height: 32px !important;
  margin: 0 2vw !important;
  background: #EEF2F3 !important;
  border: none !important;
}
html body .page-wrap-hd .info .money-list .recharge,
html body uni-button.recharge {
  flex: 0 0 auto !important;
  height: 32px !important;
  line-height: 32px !important;
  padding: 0 14px !important;
  font-size: 12.5px !important;
  margin: 0 !important;
}
