:root{font-family:"Microsoft YaHei", "PingFang SC",system-ui,sans-serif;color:#302530;background:#fffafc;line-height:1.5}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}.preview-banner{text-align:center;background:#802a48;color:white;padding:8px 12px;font-size:13px;font-weight:700}.shell{max-width:1260px;margin:0 auto;padding:0 20px}.top{background:#fff;border-bottom:1px solid #f4e6ec;position:sticky;top:0;z-index:10}.top-inner{height:72px;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{font-weight:800;font-size:21px;letter-spacing:1px;color:#d34b83}.brand span{font-size:28px;vertical-align:middle;margin-right:5px}.top-actions{display:flex;align-items:center;gap:12px}.muted{color:#887984}.tiny{font-size:12px}.pill{border-radius:999px;background:#fff0f5;color:#b93470;padding:5px 12px;font-size:12px;font-weight:700}.layout{display:grid;grid-template-columns:215px minmax(0,1fr);gap:28px;padding-top:26px;padding-bottom:60px}.sidebar{background:#fff;border:1px solid #f0e3e9;border-radius:18px;padding:14px;height:max-content}.sidebar button{width:100%;border:0;background:transparent;border-radius:11px;text-align:left;padding:12px 14px;color:#665663;margin:2px 0}.sidebar button.active,.sidebar button:hover{background:#fff0f5;color:#bd3c75;font-weight:700}.content{min-width:0}.head{margin-bottom:23px}.eyebrow{font-size:12px;font-weight:800;letter-spacing:2px;color:#cf5a87}.head h1{font-size:30px;margin:4px 0}.head p{color:#8a7a84;margin:0}.hero{background:linear-gradient(135deg,#fff,#ffeaf1);border:1px solid #f3dfeb;border-radius:23px;padding:34px;display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.hero h1{font-size:36px;margin:7px 0}.hero p{max-width:560px;color:#786974}.hero-art{font-size:82px;opacity:.7}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.card{background:#fff;border:1px solid #f0e3e9;border-radius:16px;box-shadow:0 8px 30px #ebcad615;overflow:hidden}.card-body{padding:20px}.product img{width:100%;aspect-ratio:1.35;object-fit:cover;background:#fff4f7}.product h3{margin:0 0 8px}.price{font-weight:800;color:#c83777;font-size:22px}.product-bottom,.between{display:flex;justify-content:space-between;align-items:center;gap:12px}.btn{border:0;border-radius:10px;background:#d34983;color:#fff;padding:10px 17px;font-weight:700}.btn:hover{background:#bd3570}.btn.secondary{color:#b83672;background:#fff0f5}.btn.secondary:hover{background:#ffe3ed}.btn:disabled{background:#d8c9d0;cursor:not-allowed}.btn.small{padding:6px 11px;font-size:13px}.btn-row{display:flex;gap:8px;flex-wrap:wrap}.notice{background:#fff0f5;color:#944c6b;border:1px solid #f7dce8;border-radius:12px;padding:12px 15px;margin:0 0 20px}.list{display:grid;gap:13px}.row-card{padding:19px}.row-card h3{margin:0 0 6px}.row-card p{margin:5px 0}.divider{border:0;border-top:1px solid #f2e6eb;margin:17px 0}.form{display:grid;gap:15px}.field{display:grid;gap:6px;font-weight:600;font-size:14px}.field input,.field textarea,.field select{width:100%;border:1px solid #e8d9e1;border-radius:10px;padding:10px 12px;background:#fff;color:#362931;outline:none}.field input:focus,.field textarea:focus,.field select:focus{border-color:#d65b91;box-shadow:0 0 0 3px #ffdce9}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.form-card{max-width:570px;padding:26px}.form-card h1,.form-card h2{margin-top:0}.auth{min-height:calc(100vh - 72px);display:grid;place-items:center;padding:35px 20px}.auth .card{width:min(100%,480px);padding:30px}.auth h1{margin-top:0}.tabs{display:flex;gap:8px;margin-bottom:18px}.tabs button{border:0;background:#fff0f5;color:#a84a70;border-radius:9px;padding:9px 18px}.tabs button.active{background:#d34983;color:#fff}.summary{background:#fff7fa;border:1px solid #f2dfe8;border-radius:12px;padding:15px;margin:14px 0}.table-wrap{overflow-x:auto;background:#fff;border:1px solid #f1e3e9;border-radius:14px}.table{border-collapse:collapse;width:100%;min-width:620px}.table th,.table td{padding:13px 15px;text-align:left;border-bottom:1px solid #f5eaf0;vertical-align:top}.table th{font-size:13px;color:#8c7683;background:#fffafd}.table tr:last-child td{border-bottom:0}.empty{background:#fff;border:1px dashed #ead7e0;border-radius:14px;padding:35px;text-align:center;color:#9d8994}.loading{text-align:center;padding:70px}.error{color:#b12453}.footer{border-top:1px solid #f2e7ec;padding:24px 0;text-align:center;color:#9a8791;font-size:12px}#toast{position:fixed;left:50%;bottom:25px;transform:translateX(-50%) translateY(20px);background:#46333f;color:white;padding:10px 17px;border-radius:12px;box-shadow:0 10px 25px #0002;opacity:0;transition:.2s;pointer-events:none;z-index:30;max-width:90vw}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.mobile-nav{display:none}@media(max-width:900px){.layout{grid-template-columns:1fr}.sidebar{display:none}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #f0e3e9;z-index:15;padding:7px 6px;justify-content:space-around}.mobile-nav button{flex:1;border:0;background:transparent;color:#8d7180;font-size:12px;padding:8px 3px}.mobile-nav button.active{color:#c33f79;font-weight:800}.layout{padding-bottom:100px}.footer{margin-bottom:60px}}@media(max-width:620px){.shell{padding:0 15px}.top-inner{height:60px}.brand{font-size:18px}.top-actions .tiny{display:none}.head h1{font-size:25px}.hero{padding:25px}.hero h1{font-size:29px}.hero-art{display:none}.grid{grid-template-columns:1fr 1fr;gap:10px}.card-body{padding:13px}.product h3{font-size:15px}.product img{aspect-ratio:1}.price{font-size:18px}.form-grid{grid-template-columns:1fr}.table{min-width:560px}}
@media(max-width:620px){.product-bottom{flex-direction:column;align-items:stretch;gap:8px}.product-bottom .btn{width:100%;white-space:nowrap}.product .price{font-size:17px}.top-actions{gap:5px}.top-actions .pill{padding:5px 7px}}
.secret-overlay{position:fixed;inset:0;background:#25111bc9;z-index:100;display:grid;place-items:center;padding:20px}.secret-card{padding:28px;width:min(100%,430px);display:grid;gap:14px}.secret-card h2,.secret-card p{margin:0}.secret-card code{display:block;padding:15px;background:#fff0f5;border-radius:10px;font-size:22px;overflow-wrap:anywhere;color:#8f2057}
.secret-card textarea{width:100%;min-height:150px;padding:10px;border:1px solid #e8d9e1;border-radius:10px;resize:vertical;font-size:12px}
.checkout-card,.address-editor{margin:20px 0;max-width:680px}.check-field{display:flex;align-items:center;gap:10px;font-size:15px;min-height:44px}.check-field input{width:22px;height:22px;accent-color:#c83777}.address-manage{margin-top:18px}.checkout-pay,.payment-button{min-height:52px;font-size:17px}.payment-button{margin:12px 8px 12px 0}.mobile-more{display:none}.field textarea{min-height:88px;resize:vertical}.btn:focus-visible,.mobile-nav button:focus-visible{outline:3px solid #8c2154;outline-offset:3px}.row-card h3{min-width:0;overflow-wrap:anywhere}.row-card .between h3{flex:1}.row-card .between .pill{flex-shrink:0}
@media(max-width:900px){
  .mobile-nav{padding:4px 6px calc(4px + env(safe-area-inset-bottom,0px));gap:4px;box-shadow:0 -5px 24px #692a4d12}
  .mobile-nav button{flex:1 1 0;min-width:0;min-height:48px;padding:6px 4px;font-size:15px;font-weight:700;line-height:1.35;border-radius:12px;touch-action:manipulation}
  .mobile-nav button.active{background:#ffe4ef;color:#a72560;box-shadow:inset 0 3px 0 #cf3f7b}
  .mobile-more{display:block;position:fixed;left:10px;right:10px;bottom:calc(66px + env(safe-area-inset-bottom,0px));padding:18px;border:1px solid #edcbdc;border-radius:18px;background:white;box-shadow:0 -8px 38px #5b18302b;z-index:20;max-height:60vh;overflow:auto}
  .mobile-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:15px}.mobile-more-grid button{border:0;background:#fff0f5;color:#9c2c5f;border-radius:10px;min-height:52px;padding:10px;font-size:16px}.mobile-more-grid button.active{background:#d34983;color:white}
  .layout{padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))}.footer{margin-bottom:calc(60px + env(safe-area-inset-bottom,0px))}#toast{bottom:calc(76px + env(safe-area-inset-bottom,0px))}.btn.small{min-height:44px;padding:10px 13px;font-size:15px}.field input,.field textarea,.field select{font-size:16px;min-height:46px}.form-card{padding:20px}.checkout-pay,.payment-button{width:100%;min-height:54px}.top-actions .btn{min-height:44px}
}
.team-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}.team-filters .btn{min-height:68px;padding:10px 6px;white-space:normal}.team-filters strong{display:block;font-size:24px;margin-top:4px}.insight-card{overflow-wrap:anywhere}.earning-detail{border-top:1px solid #f0dce6;margin-top:14px;padding-top:8px}.insight-pager{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:22px 0}.insight-pager .btn{min-height:46px;padding:10px 14px}.insight-pager span{font-size:14px}.team-filters .btn{font-size:15px}
.profile-summary{margin-bottom:20px;overflow-wrap:anywhere}.profile-summary h2{margin:0}.profile-links{display:grid;gap:12px}.profile-link{display:flex;justify-content:space-between;align-items:center;gap:16px;width:100%;min-height:80px;padding:18px 20px;text-align:left;color:#49313f}.profile-link b{display:block;font-size:18px}.profile-link small{display:block;color:#887984;font-size:14px;margin-top:6px}.profile-link:hover{background:#fff0f5}.profile-link:focus-visible{outline:3px solid #8c2154;outline-offset:3px}
.invite-card{margin-bottom:20px}.invite-card h2{margin-top:0}.invite-card p{color:#887984}.invite-code{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;overflow-wrap:anywhere}.invite-code img{width:246px;max-width:100%;height:auto;background:white;image-rendering:pixelated}.invite-code span{font-size:13px;color:#887984}.invite-card .btn-row{margin-top:16px}.invite-card .btn{min-height:46px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.profile-hero{padding:26px;border:1px solid #f1cddc;border-radius:24px;background:linear-gradient(125deg,#ffe7ef,#fff7f8 70%,#fff0e7);color:#612943}.profile-identity{display:flex;align-items:center;gap:16px}.profile-identity h1{font-size:25px;margin:0 0 6px;overflow-wrap:anywhere}.profile-avatar{display:grid;place-items:center;width:58px;height:58px;flex-shrink:0;background:#fff8fc;border:2px solid white;border-radius:20px;color:#bf3970;font-size:25px;font-weight:700}.profile-number{font-size:12px;color:#98627a;overflow-wrap:anywhere;margin:18px 0}.profile-balances{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding-top:18px;border-top:1px solid #eecbd966;gap:8px}.profile-balances strong{display:block;font-size:23px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.profile-balances span{font-size:12px;color:#98627a}.invite-banner{display:flex;align-items:center;gap:14px;width:100%;padding:20px;margin-top:18px;text-align:left;border:0;border-radius:18px;background:linear-gradient(110deg,#bd326c,#dc658f);color:white}.invite-banner b{font-size:18px}.invite-banner small{display:block;margin-top:5px;font-size:13px;color:#fff2f7}.profile-icon{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border-radius:14px;background:#fff0f6;color:#c43c75}.profile-icon svg{width:26px;height:26px}.invite-banner .profile-icon{background:#ffffff22;color:white}.profile-arrow{margin-left:auto;font-size:24px}.profile-section-title{font-size:18px;margin:26px 0 14px}.profile-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profile-link{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:14px;min-height:146px;padding:20px}.profile-link .profile-arrow{display:none}.profile-link:first-child{grid-column:1/-1;flex-direction:row;align-items:center;min-height:86px}.profile-link:first-child .profile-arrow{display:block}.profile-link b{font-size:17px}.profile-link small{font-size:12px;line-height:1.5}.back-to-profile{display:inline-flex;align-items:center;gap:8px;min-height:46px;border:1px solid #eed8e2;background:white;color:#a32e61;padding:8px 16px;border-radius:12px;margin:0 0 18px;font-weight:600}.back-to-profile span{font-size:25px;line-height:1}.back-to-profile:focus-visible,.invite-banner:focus-visible{outline:3px solid #8c2154;outline-offset:3px}@media(max-width:620px){.profile-hero{padding:22px 18px}.profile-balances strong{font-size:20px}.invite-banner{padding:18px 16px}.profile-link{padding:18px 16px}.top-actions{max-width:52%}.top-actions .pill{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top-actions .btn{flex-shrink:0}}
.profile-team{margin-top:20px;padding:20px}.profile-team h2{font-size:18px;margin:0}.profile-team-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:18px}.profile-team-counts button{border:0;border-radius:12px;background:#fff4f8;color:#96335e;padding:14px 4px;min-height:80px}.profile-team-counts strong{display:block;font-size:26px;overflow-wrap:anywhere}.profile-team-counts span{display:block;font-size:12px;margin-top:3px}.profile-team-counts button:first-child{background:#fce1ed;color:#ac245f}.profile-team p{font-size:12px;line-height:1.7;color:#887984;margin:14px 0 0}.profile-team-counts button:focus-visible{outline:3px solid #8c2154;outline-offset:3px}
