/* =====================================================================
   pages-mine.css — mine / vip / recharge / withdraw / wallets /
   records / profile / auth / rich page
   ===================================================================== */

/* ---------- Mine ---------- */
.profile-card { padding: 16px 14px; margin-bottom: 12px; overflow: hidden; }
.profile-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 61, 127, .35), transparent 70%); pointer-events: none; }
.profile-top { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.profile-top .p-name { font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.profile-top .p-id { font-size: 12.5px; color: var(--muted); margin-top: 3px; font-family: var(--font-num); }
.profile-top .p-exp { font-size: 11.5px; color: var(--gold); margin-top: 3px; display: flex; align-items: center; gap: 4px; }
.profile-top .p-exp svg { width: 12px; height: 12px; flex: none; }
.balance-box { margin-top: 14px; padding: 12px; border-radius: 14px; background: linear-gradient(135deg, rgba(255, 61, 127, .22), rgba(139, 92, 246, .28)); border: 1px solid rgba(255, 255, 255, .14); display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.balance-box .btn-row .btn { flex: 1; }
.balance-box small { display: block; font-size: 11.5px; color: rgba(255, 255, 255, .7); font-weight: 600; letter-spacing: .5px; }
.balance-box b { font-family: var(--font-num); font-size: 26px; font-weight: 800; line-height: 1.1; }
.balance-box .frozen { font-size: 11px; color: rgba(255, 255, 255, .6); margin-top: 2px; }
.stat3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.stat3 .st { padding: 12px 6px; text-align: center; }
.stat3 .st b { display: block; font-family: var(--font-num); font-size: 20px; font-weight: 800; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat3 .st span { font-size: 11px; color: var(--muted); font-weight: 600; }
.menu-card { padding: 4px 0; margin-bottom: 12px; }
.guest-card { padding: 22px 18px; text-align: center; margin-bottom: 12px; }
.guest-card .avatar { margin: 0 auto 12px; animation: float-y 3s ease-in-out infinite; }
.guest-card h2 { font-size: 18px; font-weight: 800; }
.guest-card p { color: var(--muted); font-size: 13.5px; margin: 6px 0 18px; }

/* ---------- VIP ---------- */
.vip-scroller { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px calc(var(--pad)) 18px; margin: 0 calc(var(--pad) * -1); scrollbar-width: none; }
.vip-scroller::-webkit-scrollbar { display: none; }
.vip-card { flex: none; width: 80%; scroll-snap-align: center; padding: 18px 16px; border-radius: var(--r-xl); position: relative; overflow: hidden; background: linear-gradient(160deg, color-mix(in srgb, var(--vc, #8B5CF6) 32%, #14142a), #101020 60%); border: 1px solid color-mix(in srgb, var(--vc, #8B5CF6) 55%, transparent); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); transition: transform .3s var(--spring), box-shadow .3s; opacity: 0; animation: fade-up .6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms); }
.vip-card::before { content: ""; position: absolute; right: -50px; top: -50px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--vc, #8B5CF6) 55%, transparent), transparent 70%); }
.vip-card.cur { box-shadow: 0 0 0 2px var(--vc, #8B5CF6), 0 16px 50px color-mix(in srgb, var(--vc, #8B5CF6) 45%, transparent); }
.vip-card .vc-head { display: flex; align-items: center; justify-content: space-between; }
.vip-card .vc-name { font-size: 18px; font-weight: 900; display: flex; align-items: center; gap: 8px; }
.vip-card .vc-lvl { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: var(--vc, #8B5CF6); color: #fff; }
.vip-card .vc-price { margin: 12px 0 4px; font-family: var(--font-num); font-size: 28px; font-weight: 800; }
.vip-card .vc-price small { font-size: 13px; color: var(--muted); font-family: var(--font); font-weight: 600; }
.vip-card .vc-views { font-size: 13px; color: var(--gold); font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.vip-card .vc-views svg { width: 15px; height: 15px; }
.vip-card .vc-ben { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.vip-card .vc-ben li { display: flex; gap: 8px; font-size: 13px; color: #DDE0EA; align-items: flex-start; }
.vip-card .vc-ben svg { width: 16px; height: 16px; color: var(--ok); flex: none; margin-top: 1px; }
.vip-card.cur .vc-head { padding-right: 60px; } /* 给 CURRENT 绶带让位，不压住等级徽章 */
.vip-card .vc-cur { position: absolute; top: 14px; right: -30px; transform: rotate(38deg); background: var(--grad-gold); color: #241a00; font-size: 10px; font-weight: 900; padding: 3px 36px; letter-spacing: 1px; }
.vip-dots { display: flex; justify-content: center; gap: 6px; margin-bottom: 14px; }
.vip-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .25); transition: width .3s, background .3s; }
.vip-dots i.on { width: 18px; background: var(--gold); }

/* ---------- Recharge / withdraw ---------- */
.pm-list { display: grid; gap: 10px; margin-bottom: 14px; }
.pm-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line-2); transition: all .2s; text-align: left; width: 100%; }
.pm-item.on { border-color: var(--primary); background: rgba(255, 61, 127, .1); box-shadow: 0 0 0 3px rgba(255, 61, 127, .15); }
.pm-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 900; font-size: 13px; color: #fff; background: var(--grad-brand); flex: none; }
.pm-ic.usdt { background: linear-gradient(135deg, #26A17B, #1a7b5c); }
.pm-ic.bank { background: linear-gradient(135deg, #2563EB, #4F46E5); }
.pm-tx b { display: block; font-size: 14.5px; }
.pm-tx small { color: var(--muted); font-size: 12px; }
.pm-check { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; flex: none; }
.pm-item.on .pm-check { border-color: var(--primary); background: var(--primary); }
.pm-check svg { width: 13px; height: 13px; opacity: 0; }
.pm-item.on .pm-check svg { opacity: 1; }
.acct-box { padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px dashed rgba(255, 255, 255, .2); margin-bottom: 14px; }
.acct-box .ab-lbl { font-size: 11.5px; color: var(--muted); font-weight: 600; letter-spacing: .4px; }
.acct-box .ab-val { display: flex; align-items: center; gap: 8px; font-family: var(--font-num); font-size: 14px; word-break: break-all; margin-top: 4px; }
.acct-box .ab-val b { flex: 1; }
.acct-box .qr { width: 150px; height: 150px; margin: 12px auto 0; border-radius: 12px; overflow: hidden; background: #fff; padding: 6px; }
.acct-box .qr img { width: 100%; height: 100%; object-fit: contain; }
.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0 14px; }
.amount-grid button { height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); font-family: var(--font-num); font-weight: 700; font-size: 15px; transition: all .2s; }
.amount-grid button.on { background: var(--grad-brand); border-color: transparent; box-shadow: 0 6px 16px rgba(255, 61, 127, .35); }
.upload-box { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 100px; border-radius: 14px; border: 1px dashed rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .03); color: var(--muted); font-size: 13px; overflow: hidden; cursor: pointer; }
.upload-box input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.upload-box svg { width: 22px; height: 22px; }
.upload-box.has { border-style: solid; border-color: var(--ok); }
.calc-rows { padding: 4px 14px; margin-bottom: 14px; }
.calc-rows div { display: flex; justify-content: space-between; padding: 9px 0; font-size: 13.5px; border-bottom: 1px solid var(--line); }
.calc-rows div:last-child { border-bottom: 0; }
.calc-rows b { font-family: var(--font-num); }
.calc-rows .total b { font-size: 18px; color: var(--gold); }
.result-page { text-align: center; padding: 40px 16px; }
.result-page .ok-ic { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: rgba(34, 197, 94, .15); color: var(--ok); box-shadow: 0 0 0 10px rgba(34, 197, 94, .08); animation: pop-in .6s var(--spring) both; }
.result-page .ok-ic svg { width: 44px; height: 44px; }
.result-page h2 { font-size: 22px; font-weight: 900; }
.result-page p { color: var(--muted); margin: 8px 0 24px; font-size: 14px; }
.result-page .amt { font-family: var(--font-num); font-size: 30px; font-weight: 800; color: var(--gold); margin-bottom: 4px; }

/* ---------- Wallets ---------- */
.wallet-card { padding: 14px 16px; margin-bottom: 12px; display: flex; gap: 12px; align-items: center; }
.wallet-card.on { box-shadow: 0 0 0 2px var(--primary), var(--shadow); }
.wallet-card .w-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #26A17B, #0f5a41); color: #fff; font-weight: 900; font-size: 12px; flex: none; }
.wallet-card .w-ic.bank { background: linear-gradient(135deg, #2563EB, #4F46E5); }
.wallet-card .w-tx { flex: 1; min-width: 0; }
.wallet-card .w-tx b { display: block; font-size: 14.5px; }
.wallet-card .w-tx small { display: block; color: var(--muted); font-size: 12px; font-family: var(--font-num); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.wallet-card .w-del { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #FCA5A5; background: rgba(239, 68, 68, .12); flex: none; }
.wallet-card .w-del svg { width: 17px; height: 17px; }

/* ---------- Records ---------- */
.rec-tabs { display: flex; gap: 6px; padding: 4px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); margin-bottom: 14px; }
.rec-tabs a { flex: 1; text-align: center; height: 36px; line-height: 36px; border-radius: 11px; font-size: 13px; font-weight: 700; color: var(--muted); transition: all .25s; }
.rec-tabs a.on { color: #fff; background: var(--grad-brand); box-shadow: 0 4px 14px rgba(255, 61, 127, .35); }
.rec-item { padding: 10px 12px; margin-bottom: 8px; display: flex; gap: 10px; align-items: center; animation: fade-up .45s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 50ms); }
.rec-item .r-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--glass-2); color: var(--primary); flex: none; }
.rec-item .r-ic svg { width: 20px; height: 20px; }
.rec-item .r-tx { flex: 1; min-width: 0; }
.rec-item .r-tx b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec-item .r-tx small { display: block; color: var(--dim); font-size: 11.5px; font-family: var(--font-num); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec-item .r-rt { text-align: right; flex: none; }
.rec-item .r-amt { display: block; font-family: var(--font-num); font-weight: 800; font-size: 16px; margin-bottom: 4px; }
.rec-item .r-amt.plus { color: #86EFAC; }
.rec-item .r-amt.minus { color: #FCA5A5; }
.rec-item .r-remark { font-size: 11.5px; color: #FCA5A5; margin-top: 3px; white-space: normal; }

/* ---------- Profile / auth / rich page ---------- */
.avatar-pick { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 18px; }
.avatar-pick .avatar { cursor: pointer; position: relative; }
.avatar-pick .avatar::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: 22px; height: 22px; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/12px no-repeat; box-shadow: 0 0 0 2px var(--bg); }
.avatar-pick input { display: none; }
.auth-card { padding: 22px 18px 20px; margin-bottom: 12px; }
.auth-hero { text-align: center; margin-bottom: 20px; }
.auth-hero .brand-logo { width: 56px; height: 56px; border-radius: 18px; margin: 0 auto 12px; animation: float-y 3.4s ease-in-out infinite; box-shadow: 0 12px 30px rgba(255, 61, 127, .4); }
.auth-hero h2 { font-size: 20px; font-weight: 900; }
.auth-hero p { font-size: 12px; color: var(--muted); letter-spacing: 2.5px; text-transform: uppercase; margin-top: 4px; }
.auth-foot { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 16px; }
.rich { padding: 18px 16px; margin-bottom: 14px; line-height: 1.7; font-size: 14.5px; color: #E2E4EC; }
.rich h1, .rich h2, .rich h3, .rich h4 { margin: 14px 0 8px; font-weight: 800; line-height: 1.3; }
.rich h1 { font-size: 22px; } .rich h2 { font-size: 19px; } .rich h3 { font-size: 16px; }
.rich p { margin: 0 0 10px; }
.rich ul, .rich ol { padding-left: 20px; margin: 0 0 10px; list-style: revert; }
.rich li { margin: 4px 0; }
.rich a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.rich img { border-radius: 12px; margin: 8px 0; }
.rich hr { border: 0; border-top: 1px solid var(--line-2); margin: 14px 0; }
.rich b, .rich strong { color: #fff; }
