*{box-sizing:border-box}html{background:#f3f5f8}body{margin:0;background:#f3f5f8;padding-bottom:calc(88px + env(safe-area-inset-bottom));font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",Arial,sans-serif;color:#111827;-webkit-font-smoothing:antialiased}a{text-decoration:none;color:inherit}input,button{font:inherit}.auth-wrap{min-height:100vh;padding:22px 14px;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#fff1f1,#f7f8fa)}.auth-card{width:100%;max-width:420px;background:#fff;border-radius:24px;padding:26px;box-shadow:0 24px 60px rgba(15,23,42,.10)}.back{color:#333;text-decoration:none}.auth-card h1{margin:18px 0 8px;font-size:26px}.auth-card p{color:#777;line-height:1.6;margin:0 0 20px}.auth-card input{width:100%;border:1px solid #e8e8e8;border-radius:16px;padding:15px;margin:8px 0;font-size:15px;background:#fafafa}.auth-card button{width:100%;border:0;border-radius:999px;background:#e60012;color:#fff;padding:15px;margin-top:14px;font-size:16px;font-weight:900}.switch{text-align:center;color:#888;margin-top:18px}.switch a{color:#e60012;text-decoration:none;font-weight:900}.profile-page{background:radial-gradient(circle at 50% -160px,#fff 0,#f4f5f8 54%,#eef1f5 100%)}.profile-shell{width:min(100%,430px);min-height:100vh;margin:0 auto;padding:10px 12px 18px}.profile-topbar{height:52px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:8;background:rgba(243,245,248,.88);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.profile-topbar strong{font-size:19px;letter-spacing:.02em}.top-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:14px;color:#172033}.top-text{min-width:38px;text-align:right;color:#333;font-size:14px}.glass-card,.clean-card{background:rgba(255,255,255,.94);border:1px solid rgba(255,255,255,.82);box-shadow:0 18px 44px rgba(15,23,42,.07);border-radius:28px}.member-card{padding:20px;margin-top:6px;overflow:hidden;position:relative}.member-card:before{content:"";position:absolute;inset:-80px -90px auto auto;width:210px;height:210px;background:radial-gradient(circle,rgba(230,0,18,.16),rgba(230,0,18,0) 65%);pointer-events:none}.member-main{display:flex;gap:14px;align-items:center;position:relative}.avatar-form{margin:0}.avatar-picker{width:76px;height:76px;border-radius:26px;display:grid;place-items:center;position:relative;cursor:pointer;background:linear-gradient(145deg,#fff,#ffe9eb);box-shadow:inset 0 0 0 1px rgba(230,0,18,.06),0 14px 28px rgba(230,0,18,.12);overflow:hidden}.avatar-picker img{width:100%;height:100%;object-fit:cover;display:block}.avatar-picker span{font-size:30px;font-weight:1000;color:#e60012}.avatar-picker input{display:none}.avatar-picker em{position:absolute;right:0;bottom:0;width:26px;height:26px;border-radius:12px 0 22px 0;background:#111827;color:#fff;display:grid;place-items:center;font-size:12px;font-style:normal}.member-info{min-width:0;flex:1}.member-info h1{font-size:22px;margin:0 0 4px;font-weight:1000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.member-info p{margin:0;color:#6b7280;font-size:14px}.member-badges{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.member-badges span{font-size:11px;color:#e60012;background:#fff1f2;border:1px solid #ffe0e3;padding:5px 7px;border-radius:999px}.wallet-panel{margin-top:18px;border-radius:24px;padding:16px;background:linear-gradient(135deg,#111827,#2b3345);color:#fff;display:flex;align-items:center;justify-content:space-between;box-shadow:0 18px 34px rgba(17,24,39,.16)}.wallet-panel span{display:block;color:rgba(255,255,255,.68);font-size:12px;margin-bottom:4px}.wallet-panel b{font-size:26px;letter-spacing:-.03em}.wallet-panel a{background:#fff;color:#111827;border-radius:999px;padding:10px 14px;font-size:14px;font-weight:900;box-shadow:0 10px 24px rgba(255,255,255,.12)}.quick-grid{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:10px;margin:12px 0}.quick-card{min-height:76px;border-radius:22px;padding:14px 8px;text-align:center;background:#fff;box-shadow:0 10px 30px rgba(15,23,42,.05);border:1px solid #fff}.quick-card b{display:block;font-size:20px;line-height:1.15;font-weight:1000;color:#111827}.quick-card span{display:block;margin-top:7px;color:#7b8190;font-size:12px}.quick-card.paid b{color:#e60012}.quick-card.wait b{color:#f59e0b}.quick-card.amount{background:#fff8f8}.profile-card{padding:18px;margin:12px 0}.section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-bottom:14px}.section-title h3{margin:0;font-size:18px;font-weight:1000}.section-title span,.section-title a{font-size:12px;color:#8a91a0}.section-title a{color:#e60012;font-weight:900}.ok,.err{display:flex;gap:8px;align-items:center;border-radius:16px;padding:11px 12px;margin:10px 0;font-size:13px}.ok{background:#effaf3;color:#15934c}.err{background:#fff0f0;color:#c00}.settings-form{display:grid;gap:12px}.form-row label{display:block;font-size:13px;color:#626b7a;margin:0 0 8px 2px}.form-row input{width:100%;height:52px;border:1px solid #e8ebef;border-radius:18px;background:#f9fafb;padding:0 16px;outline:none;font-size:15px;transition:.18s}.form-row input:focus{background:#fff;border-color:#e60012;box-shadow:0 0 0 4px rgba(230,0,18,.06)}.settings-form button{height:54px;border:0;border-radius:999px;background:#e60012;color:#fff;font-size:16px;font-weight:1000;margin-top:2px;box-shadow:0 14px 30px rgba(230,0,18,.22)}.order-card{padding-bottom:8px}.order-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;background:#f4f5f7;border-radius:18px;padding:5px;margin-bottom:8px}.order-tabs button{border:0;border-radius:14px;height:36px;background:transparent;color:#7b8190;font-weight:900;font-size:13px}.order-tabs button.active{background:#fff;color:#e60012;box-shadow:0 6px 16px rgba(15,23,42,.06)}.order-list{display:grid;gap:8px}.order-item{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid #f0f1f3}.order-item:last-child{border-bottom:0}.order-icon{width:38px;height:38px;border-radius:15px;display:grid;place-items:center;flex:none}.order-icon.paid{background:#ecfdf3;color:#16a34a}.order-icon.pending{background:#fff7e6;color:#f59e0b}.order-content{min-width:0;flex:1}.order-line{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.order-line b{font-size:14px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.order-line em{font-style:normal;color:#e60012;font-weight:1000;white-space:nowrap}.order-content p{margin:5px 0 10px;color:#8b92a1;font-size:12px;line-height:1.4}.order-foot{display:flex;align-items:center;justify-content:space-between}.status-badge{font-size:12px;border-radius:999px;padding:5px 9px;font-weight:900}.status-badge.paid{background:#ecfdf3;color:#16a34a}.status-badge.pending{background:#fff7e6;color:#f59e0b}.order-foot a{font-size:12px;font-weight:900;color:#e60012;background:#fff1f2;padding:6px 10px;border-radius:999px}.empty-state{text-align:center;color:#9aa1ad;padding:34px 10px}.empty-state i{font-size:28px;color:#c5cad3;margin-bottom:10px}.empty-state p{margin:0 0 4px;color:#707887}.empty-state span{font-size:12px}.bottom-nav{position:fixed;left:50%;transform:translateX(-50%);bottom:0;width:min(100%,430px);height:64px;background:rgba(255,255,255,.96);border-top:1px solid rgba(229,231,235,.95);display:flex;z-index:20;padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -10px 30px rgba(15,23,42,.08);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.bottom-nav a{flex:1;text-decoration:none;color:#8b92a1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:12px;font-weight:800}.bottom-nav a i{font-size:18px}.bottom-nav a.active{color:#e60012}.recharge-page{background:linear-gradient(180deg,#fff,#f3f5f8 42%,#eef1f5 100%)}.recharge-shell{width:min(100%,430px);min-height:100vh;margin:0 auto;padding:10px 12px 90px}.recharge-hero{border-radius:28px;padding:20px;background:linear-gradient(135deg,#e60012,#ff6a6f);color:#fff;box-shadow:0 22px 48px rgba(230,0,18,.22);margin-top:6px}.recharge-hero span{font-size:13px;opacity:.78}.recharge-hero h1{margin:8px 0 6px;font-size:30px;letter-spacing:-.04em}.recharge-hero p{margin:0;opacity:.78;font-size:13px}.amount-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}.amount-grid button{border:1px solid #eef0f3;background:#fff;border-radius:18px;height:72px;font-size:18px;font-weight:1000;color:#111827}.amount-grid button.active{border-color:#e60012;color:#e60012;background:#fff5f6;box-shadow:0 10px 24px rgba(230,0,18,.09)}.custom-amount{margin-top:12px}.custom-amount input{width:100%;height:52px;border:1px solid #e8ebef;border-radius:18px;background:#f9fafb;padding:0 16px;outline:none}.recharge-submit{width:100%;height:54px;margin-top:14px;border:0;border-radius:999px;background:#111827;color:#fff;font-size:16px;font-weight:1000}.pay-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.pay-option{border:1px solid #eef0f3;background:#fff;border-radius:18px;padding:14px;text-align:center;cursor:pointer}.pay-option i{font-size:24px;display:block;margin-bottom:8px}.pay-option.wx i{color:#16a34a}.pay-option.ali i{color:#1677ff}.pay-option b{display:block;font-size:14px}.pay-option span{font-size:12px;color:#8b92a1}.mask{display:none;position:fixed;inset:0;background:rgba(15,23,42,.38);z-index:30}.pay-modal{position:fixed;left:50%;bottom:0;transform:translate(-50%,105%);width:min(100%,430px);background:#fff;border-radius:28px 28px 0 0;padding:14px 18px calc(18px + env(safe-area-inset-bottom));z-index:31;box-shadow:0 -20px 50px rgba(15,23,42,.18);transition:.26s}.pay-modal.show{transform:translate(-50%,0)}.modal-handle{width:42px;height:5px;background:#e5e7eb;border-radius:999px;margin:0 auto 14px}.pay-modal h3{margin:0 0 6px;text-align:center}.hint{text-align:center;color:#8b92a1;font-size:12px}.btn-cancel{width:100%;height:46px;border:0;border-radius:999px;background:#f4f5f7;color:#111827;font-weight:900;margin-top:12px}@media(min-width:760px){body{background:#e9edf3}.profile-shell,.recharge-shell{padding-top:16px}.bottom-nav{border-radius:22px 22px 0 0}}@media(max-width:360px){.quick-grid{grid-template-columns:1fr}.wallet-panel b{font-size:23px}.amount-grid{grid-template-columns:1fr 1fr}}

/* V7: profile center cleanup */
.profile-alert{width:100%;margin:10px 0 12px}.profile-action-card{padding:4px;margin:12px 0;border-radius:26px}.profile-edit-entry{display:flex;align-items:center;gap:13px;padding:15px 16px;border-radius:22px;background:linear-gradient(180deg,#fff,#fbfcff)}.profile-edit-entry:active{transform:scale(.995)}.entry-icon{width:42px;height:42px;border-radius:16px;display:grid;place-items:center;background:#fff1f2;color:#e60012;box-shadow:inset 0 0 0 1px rgba(230,0,18,.06)}.entry-main{min-width:0;flex:1;display:block}.entry-main b{display:block;font-size:16px;font-weight:1000;color:#111827}.entry-main em{display:block;margin-top:4px;font-size:12px;font-style:normal;color:#8b92a1}.entry-arrow{color:#c4c9d2;font-size:13px}.edit-profile-card{margin-top:12px;padding:20px}.edit-avatar-row{display:flex;align-items:center;gap:14px;padding:4px 0 18px;margin-bottom:4px;border-bottom:1px solid #f0f1f3}.edit-avatar-row b{display:block;font-size:17px;font-weight:1000;color:#111827}.edit-avatar-row p{margin:6px 0 0;color:#8b92a1;font-size:12px;line-height:1.5}.edit-avatar-picker{width:76px;height:76px;flex:0 0 76px}.edit-settings-form{gap:14px;margin-top:14px}.edit-profile-page .profile-shell{padding-bottom:90px}
