/* 会员中心新板块样式（账户余额 / 会员等级 / 我的店铺 / 个人信息 / 安全设置） */
.acct-badge.tier { background: #2a6b4a; color: #fff; }
.acct-badge.wallet { background: #e3c573; color: #123f2b; }
.acct-badge.shop { background: #46b39a; color: #fff; }

.acct-panel { background: #fff; border: 1px solid #dfe9e1; border-radius: 14px; padding: 18px; }
.acct-panel + .acct-panel { margin-top: 14px; }
.acct-sec-head { display: flex; align-items: center; justify-content: space-between; margin: 18px 0 10px; }
.acct-sec-head h3 { margin: 0; font-size: 15px; color: #12241a; }
.acct-sec-head h3.danger { color: #b3402f; }
.acct-note { font-size: 12.5px; color: #6b7d72; line-height: 1.6; margin: 8px 0 0; }
.acct-note.danger { color: #b3402f; }

/* 余额 */
.acct-wallet-top { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.acct-wallet-bal { flex: 1 1 180px; background: #f4f9f5; border-radius: 12px; padding: 16px; }
.acct-wallet-bal span { display: block; font-size: 12.5px; color: #6b7d72; }
.acct-wallet-bal b { display: block; font-size: 30px; color: #2a6b4a; margin-top: 4px; }
.acct-topup { flex: 1 1 240px; }
.acct-topup label { display: block; font-size: 12.5px; color: #6b7d72; margin-bottom: 6px; }
.acct-quick { display: flex; gap: 8px; margin-top: 8px; }
.acct-amt { font-weight: 600; white-space: nowrap; }
.acct-amt.plus { color: #2a6b4a; }
.acct-amt.minus { color: #b3402f; }

/* 会员等级 */
.acct-member-top { display: flex; flex-wrap: wrap; gap: 18px; }
.acct-member-card { flex: 0 0 190px; border-radius: 12px; padding: 16px; background: #f4f9f5; border: 1px solid #dfe9e1; }
.acct-member-card.lv2 { background: #eef2f6; }
.acct-member-card.lv3 { background: #fdf6e3; }
.acct-member-card.lv4 { background: #f3ecf7; }
.acct-member-card span { font-size: 12.5px; color: #6b7d72; }
.acct-member-card b { display: block; font-size: 19px; color: #12241a; margin: 4px 0; }
.acct-member-card small { color: #2a6b4a; font-weight: 600; }
.acct-member-pts { flex: 1 1 220px; }
.acct-member-pts > span { font-size: 12.5px; color: #6b7d72; }
.acct-member-pts > b { display: block; font-size: 26px; color: #2a6b4a; }
.acct-bar { height: 8px; background: #e8f2ea; border-radius: 999px; overflow: hidden; margin: 8px 0 6px; }
.acct-bar i { display: block; height: 100%; background: #3f8b63; }
.acct-perks { margin: 0; padding-left: 18px; color: #12241a; font-size: 13.5px; line-height: 1.9; }
.acct-tiers { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.acct-tier { border: 1px solid #dfe9e1; border-radius: 10px; padding: 10px 12px; }
.acct-tier.cur { border-color: #3f8b63; background: #f4f9f5; }
.acct-tier b { display: block; font-size: 13.5px; color: #12241a; }
.acct-tier small { color: #6b7d72; font-size: 12px; }

/* 店铺 */
.acct-shop-card { background: #f4f9f5; border: 1px solid #dfe9e1; border-radius: 12px; padding: 14px; }
.acct-shop-card b { display: block; font-size: 17px; color: #12241a; }
.acct-shop-card small { display: block; color: #6b7d72; margin-top: 2px; }
.acct-shop-meta { margin-top: 8px; font-size: 12.5px; color: #6b7d72; }

/* 表单 */
.acct-form .field { margin-bottom: 12px; }
.acct-form .btn { width: auto; }
.btn.cream.danger, .btn-cream.danger { color: #b3402f; }

/* #register 锚点滚动补偿（吸顶栏高度） */
.acct-guest { scroll-margin-top: 84px; }

/* ---- 密码框「显示/隐藏」眼睛图标（pw-eye.js） ---- */
.pw-wrap { position: relative; display: block; }
.pw-wrap > input[type="password"],
.pw-wrap > input[type="text"] { padding-right: 42px !important; }
.pw-eye {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0; border: 0; border-radius: 8px; background: transparent;
  color: #6b6359; cursor: pointer; transition: color .15s, background .15s;
}
.pw-eye:hover { color: #0d3221; background: rgba(13,50,33,.07); }
.pw-eye:focus-visible { outline: 2px solid rgba(63,139,99,.5); outline-offset: 1px; }
.pw-eye svg { display: block; pointer-events: none; }
