*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body,#root{width:100%;min-height:100%;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Roboto,sans-serif;background-color:#f5f6fa;color:#1f2329;font-size:14px;line-height:1.5}a{text-decoration:none;color:inherit}button{border:none;cursor:pointer;font-family:inherit}input{font-family:inherit;outline:none}.app-container{width:100%;min-height:100vh;max-width:480px;margin:0 auto;background:#f5f6fa;position:relative}.page-content{min-height:100vh;padding-bottom:calc(60px + env(safe-area-inset-bottom))}.card{background:#fff;border-radius:12px;margin:12px;padding:16px;box-shadow:0 1px 4px #0000000a}.section-title{font-size:16px;font-weight:600;color:#1f2329;padding:16px 16px 8px}.tab-bar{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:100%;max-width:480px;background:#fff;border-top:.5px solid #e5e6eb;display:flex;z-index:200;padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -2px 10px #00000008}.tab-item{flex:1;text-align:center;padding:8px 0 6px;color:#999;font-size:11px;text-decoration:none;display:flex;flex-direction:column;align-items:center;justify-content:center;transition:all .2s ease}.tab-item.active{color:#2f6bff;font-weight:600}.tab-item:active{opacity:.6;transform:scale(.96)}.tab-icon{width:22px;height:22px;margin-bottom:2px;transition:transform .2s ease}.tab-item.active .tab-icon{transform:scale(1.12)}.mall-view{padding-bottom:8px}.mall-header{background:linear-gradient(135deg,#2f6bff,#5b8cff);padding:20px 16px 16px;color:#fff}.mall-title{font-size:20px;font-weight:700;margin-bottom:12px;letter-spacing:.5px}.search-bar{display:flex;gap:8px}.search-input{flex:1;height:38px;border:none;border-radius:19px;padding:0 16px;font-size:14px;background:#fffffff2;color:#1f2329}.search-input::placeholder{color:#a0a4ab}.search-btn{height:38px;padding:0 18px;border-radius:19px;background:#fff;color:#2f6bff;font-size:14px;font-weight:600}.cat-nav{display:flex;gap:8px;padding:12px 16px;overflow-x:auto;background:#fff;border-bottom:.5px solid #f0f1f3;-webkit-overflow-scrolling:touch}.cat-nav::-webkit-scrollbar{display:none}.cat-item{flex-shrink:0;padding:6px 14px;border-radius:16px;background:#f5f6fa;color:#5f6672;font-size:13px;cursor:pointer;transition:all .2s}.cat-item.active{background:#2f6bff;color:#fff;font-weight:600}.product-list{padding:12px;display:flex;flex-direction:column;gap:12px}.product-card{background:#fff;border-radius:12px;padding:16px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 1px 4px #0000000a;cursor:pointer;transition:transform .15s}.product-card:active{transform:scale(.98)}.product-info{flex:1;min-width:0;margin-right:12px}.product-name{font-size:16px;font-weight:600;color:#1f2329;margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-cat{display:inline-block;font-size:11px;color:#2f6bff;background:#eef3ff;padding:2px 8px;border-radius:4px;margin-bottom:6px}.product-desc{font-size:13px;color:#8a9099;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-price{text-align:right;flex-shrink:0}.price-symbol{font-size:13px;color:#ff4d4f;font-weight:600}.price-num{font-size:20px;color:#ff4d4f;font-weight:700}.buy-btn{display:block;margin-top:8px;padding:5px 16px;border-radius:15px;background:#2f6bff;color:#fff;font-size:12px}.loading,.empty,.error{text-align:center;padding:40px 16px;color:#8a9099;font-size:14px}.error{color:#ff4d4f}.login-view{min-height:100vh;min-height:100dvh;background:#f5f6f8;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 24px}.login-logo{width:56px;height:56px;border-radius:14px;margin-bottom:16px;box-shadow:0 4px 12px #1f232914}.login-title{font-size:24px;font-weight:700;color:#1f2329;margin-bottom:6px;letter-spacing:.5px}.login-sub{font-size:14px;color:#8a919f;margin-bottom:32px}.login-form{width:100%;max-width:380px;background:#fff;border:1px solid #e8eaee;border-radius:16px;padding:32px 28px;box-shadow:0 4px 24px #1f23290f;display:flex;flex-direction:column;gap:14px}.login-input{height:46px;border:1px solid #e5e6eb;border-radius:10px;padding:0 14px;font-size:15px;background:#fafbfc;transition:border-color .2s,box-shadow .2s,background .2s}.login-input::placeholder{color:#b6bcc6}.login-input:focus{border-color:#2f6bff;background:#fff;box-shadow:0 0 0 3px #2f6bff1a;outline:none}.login-btn{height:46px;border-radius:10px;background:#2f6bff;color:#fff;font-size:16px;font-weight:600;margin-top:6px;transition:background .2s,transform .1s;cursor:pointer;border:none}.login-btn:hover{background:#1f5ae0}.login-btn:active{transform:scale(.98)}.login-btn:disabled{opacity:.6;cursor:not-allowed}.login-error{color:#ff4d4f;font-size:13px;text-align:center;background:#fff2f0;border-radius:8px;padding:8px 12px}.login-switch{margin-top:24px;color:#8a919f;font-size:14px;cursor:pointer}.login-switch span{color:#2f6bff;font-weight:500}.detail-view{min-height:100vh;background:#f5f6fa;padding-bottom:calc(90px + env(safe-area-inset-bottom))}.back-btn{margin:12px 16px;padding:8px 14px;border-radius:8px;background:#fff;color:#1f2329;font-size:14px;box-shadow:0 1px 4px #0000000d}.detail-card{background:#fff;border-radius:12px;margin:0 12px;padding:24px 20px;box-shadow:0 1px 4px #0000000a}.detail-name{font-size:22px;font-weight:700;color:#1f2329;margin-bottom:8px}.detail-cat{display:inline-block;font-size:12px;color:#2f6bff;background:#eef3ff;padding:3px 10px;border-radius:4px;margin-bottom:16px}.detail-price{margin-bottom:16px}.detail-price .price-symbol{font-size:16px}.detail-price .price-num{font-size:32px}.detail-desc{font-size:14px;color:#5f6672;line-height:1.7;border-top:.5px solid #f0f1f3;padding-top:16px}.detail-actions{position:fixed;bottom:calc(60px + env(safe-area-inset-bottom));left:0;right:0;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:#fff;border-top:.5px solid #e5e6eb;box-sizing:border-box;display:flex;justify-content:center;z-index:100}.buy-btn-lg{width:100%;max-width:300px;height:46px;border-radius:23px;background:linear-gradient(135deg,#2f6bff,#5b8cff);color:#fff;font-size:16px;font-weight:600;border:none;cursor:pointer}.detail-msg{margin:12px;padding:12px;border-radius:8px;background:#eef3ff;color:#2f6bff;font-size:14px;text-align:center}.detail-loading,.detail-error{text-align:center;padding:60px 16px;color:#8a9099;font-size:15px}.detail-error{color:#ff4d4f}.orders-view{padding-bottom:8px}.orders-tabs{display:flex;background:#fff;border-bottom:.5px solid #f0f1f3;overflow-x:auto}.orders-tab{flex-shrink:0;padding:14px 18px;font-size:14px;color:#5f6672;cursor:pointer;border-bottom:2px solid transparent;transition:all .2s}.orders-tab.active{color:#2f6bff;font-weight:600;border-bottom-color:#2f6bff}.order-card{background:#fff;border-radius:12px;margin:12px;padding:16px;box-shadow:0 1px 4px #0000000a}.order-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.order-no{font-size:13px;color:#8a9099}.order-status{font-size:13px;font-weight:600;color:#2f6bff}.order-status.paid{color:#52c41a}.order-status.pending{color:#faad14}.order-status.cancelled{color:#ff4d4f}.order-body{display:flex;justify-content:space-between;align-items:center}.order-amount{font-size:18px;font-weight:700;color:#ff4d4f}.order-time{font-size:12px;color:#a0a4ab;margin-top:8px}.commission-view{padding-bottom:8px}.balance-card{background:linear-gradient(135deg,#2f6bff,#5b8cff);border-radius:16px;margin:12px;padding:24px 20px;color:#fff}.balance-label{font-size:13px;opacity:.85;margin-bottom:8px}.balance-num{font-size:36px;font-weight:700}.balance-num .price-symbol{font-size:20px}.withdraw-btn{margin-top:16px;padding:8px 24px;border-radius:20px;background:#fff;color:#2f6bff;font-size:14px;font-weight:600}.commission-item{background:#fff;border-radius:12px;margin:12px;padding:14px 16px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 1px 4px #0000000a}.commission-info{flex:1}.commission-level{font-size:14px;font-weight:600;color:#1f2329;margin-bottom:4px}.commission-meta{font-size:12px;color:#8a9099}.commission-amount{font-size:16px;font-weight:700;color:#52c41a}.withdraw-form{background:#fff;border-radius:12px;margin:12px;padding:16px;display:flex;flex-direction:column;gap:12px}.withdraw-input{height:44px;border:1px solid #e5e6eb;border-radius:10px;padding:0 14px;font-size:14px}.withdraw-submit{height:44px;border-radius:10px;background:#2f6bff;color:#fff;font-size:15px;font-weight:600}.team-view{padding-bottom:8px}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:12px}.stat-card{background:#fff;border-radius:12px;padding:16px 8px;text-align:center;box-shadow:0 1px 4px #0000000a}.stat-num{font-size:22px;font-weight:700;color:#2f6bff;margin-bottom:4px}.stat-label{font-size:12px;color:#8a9099}.invite-card{background:#fff;border-radius:12px;margin:12px;padding:16px}.invite-link{display:flex;gap:8px;align-items:center}.invite-link input{flex:1;height:40px;border:1px solid #e5e6eb;border-radius:8px;padding:0 12px;font-size:12px;color:#5f6672;background:#fafbfc}.copy-btn{height:40px;padding:0 16px;border-radius:8px;background:#2f6bff;color:#fff;font-size:13px;flex-shrink:0}.downline-group{margin:12px}.search-bar{position:relative;margin-bottom:12px}.search-bar .search-input{width:100%;height:40px;border:1px solid #e5e6eb;border-radius:10px;padding:0 36px 0 14px;font-size:14px;background:#fff;color:#1f2329;box-sizing:border-box}.search-bar .search-input::placeholder{color:#a0a4ab}.search-bar .search-clear{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:22px;height:22px;border:none;border-radius:50%;background:#d9dce1;color:#fff;font-size:12px;cursor:pointer;display:flex;align-items:center;justify-content:center;line-height:1}.downline-title{font-size:14px;font-weight:600;color:#1f2329;margin:16px 4px 8px}.downline-item{background:#fff;border-radius:10px;padding:12px 16px;margin-bottom:8px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 1px 3px #00000008}.downline-phone{font-size:14px;color:#1f2329}.downline-level{font-size:12px;color:#2f6bff;background:#eef3ff;padding:2px 8px;border-radius:4px}.downline-item.blocked{opacity:.6;background:#f7f8fa}.blocked-tag{font-size:11px;color:#e5484d;background:#fdecec;border:1px solid #f5c2c4;padding:1px 6px;border-radius:4px;margin-left:6px}.block-btn{font-size:12px;border:none;border-radius:6px;padding:5px 12px;cursor:pointer;margin-left:8px;white-space:nowrap}.block-btn.block{background:#e5484d;color:#fff}.block-btn.unblock{background:#fff;color:#e5484d;border:1px solid #e5484d}.block-btn:disabled{opacity:.5;cursor:not-allowed}.me-view{padding-bottom:8px}.me-header{background:linear-gradient(135deg,#2f6bff,#5b8cff);padding:30px 20px;color:#fff;display:flex;align-items:center;gap:16px}.me-avatar{width:60px;height:60px;border-radius:50%;background:#ffffff40;display:flex;align-items:center;justify-content:center;font-size:28px}.me-avatar-img{width:60px;height:60px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.6);flex-shrink:0}.me-info{flex:1}.me-nickname{font-size:20px;font-weight:700;margin-bottom:4px}.me-phone{font-size:13px;opacity:.85}.me-level{display:inline-block;font-size:12px;background:#ffffff40;padding:3px 10px;border-radius:12px;margin-top:6px}.me-menu{background:#fff;border-radius:12px;margin:12px;overflow:hidden}.me-menu-section{padding:14px 16px 6px;font-size:13px;font-weight:700;color:#8a9099;background:#f8f9ff;border-bottom:.5px solid #f0f1f3}.me-menu-item{display:flex;justify-content:space-between;align-items:center;padding:16px;border-bottom:.5px solid #f0f1f3;cursor:pointer}.me-menu-item:last-child{border-bottom:none}.me-menu-label{font-size:15px;color:#1f2329}.me-menu-value{font-size:14px;color:#8a9099}.logout-btn{margin:12px;height:46px;border-radius:12px;background:#fff;color:#ff4d4f;font-size:15px;font-weight:600;box-shadow:0 1px 4px #0000000a}.me-logout-icon{width:40px;height:40px;border-radius:50%;background:#ffffff38;color:#fff;border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:background .2s,transform .15s}.me-logout-icon:active{background:#ffffff61;transform:scale(.92)}.admin-products-view{padding-bottom:8px}.admin-header{display:flex;justify-content:space-between;align-items:center;padding:16px}.admin-header h1{font-size:18px;font-weight:700}.admin-add-btn{padding:8px 16px;border-radius:8px;background:#2f6bff;color:#fff;font-size:13px}.admin-product-item{background:#fff;border-radius:12px;margin:12px;padding:16px;box-shadow:0 1px 4px #0000000a}.admin-product-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.admin-product-name{font-size:15px;font-weight:600}.admin-product-status{font-size:12px;padding:2px 8px;border-radius:4px}.admin-product-status.on{background:#f6ffed;color:#52c41a}.admin-product-status.off{background:#fff7e6;color:#faad14}.admin-product-meta{font-size:13px;color:#8a9099;margin-bottom:10px}.admin-product-actions{display:flex;gap:8px}.admin-action-btn{flex:1;height:34px;border-radius:8px;font-size:13px}.admin-action-btn.primary{background:#2f6bff;color:#fff}.admin-action-btn.danger{background:#fff1f0;color:#ff4d4f}.admin-action-btn.warn{background:#fff7e6;color:#faad14}.admin-form{background:#fff;border-radius:12px;margin:12px;padding:16px;display:flex;flex-direction:column;gap:12px}.admin-form input{height:44px;border:1px solid #e5e6eb;border-radius:10px;padding:0 14px;font-size:14px}.admin-form-submit{height:44px;border-radius:10px;background:#2f6bff;color:#fff;font-size:15px;font-weight:600}button:disabled{opacity:.6;cursor:not-allowed}.product-thumb{width:84px;height:84px;border-radius:10px;overflow:hidden;flex-shrink:0;margin-right:12px;background:#f5f6fa;display:flex;align-items:center;justify-content:center}.product-img{width:100%;height:100%;object-fit:cover;display:block}.product-img-placeholder{font-size:32px;color:#c0c4cc}.product-price-row{display:flex;align-items:baseline;gap:8px;margin-top:6px}.product-profit{font-size:11px;color:#ff7a45;background:#fff7e6;padding:2px 6px;border-radius:4px;white-space:nowrap}.detail-img-wrap{width:100%}.detail-img{width:100%;height:240px;object-fit:cover;border-radius:10px;margin-bottom:16px;display:block;background:#f5f6fa}.detail-img-placeholder{width:100%;height:240px;border-radius:10px;margin-bottom:16px;background:#f5f6fa;display:flex;align-items:center;justify-content:center;font-size:64px;color:#c0c4cc}.detail-price-table{background:#fafbfc;border-radius:10px;padding:12px 14px;margin-bottom:16px}.price-row{display:flex;align-items:center;gap:8px;padding:6px 0;font-size:14px;color:#5f6672}.price-row:not(:last-child){border-bottom:.5px solid #f0f1f3}.price-row>span:first-child{width:64px;color:#8a9099}.price-val{font-weight:600;color:#1f2329}.price-profit{margin-left:auto;font-size:12px;color:#ff7a45;background:#fff7e6;padding:2px 8px;border-radius:4px;font-weight:600}.order-img{width:56px;height:56px;border-radius:8px;object-fit:cover;flex-shrink:0;margin-right:12px;background:#f5f6fa;display:block}.order-img-placeholder{width:56px;height:56px;border-radius:8px;flex-shrink:0;margin-right:12px;background:#f5f6fa;display:flex;align-items:center;justify-content:center;font-size:24px;color:#c0c4cc}.order-info{flex:1;min-width:0}.order-product-name{font-size:15px;font-weight:600;color:#1f2329;margin-bottom:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.withdraw-item{background:#fff;border-radius:12px;margin:12px;padding:14px 16px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 1px 4px #0000000a}.withdraw-info{flex:1}.withdraw-method{font-size:14px;font-weight:600;color:#1f2329;margin-bottom:4px}.withdraw-meta{font-size:12px;color:#8a9099}.withdraw-amount{font-size:16px;font-weight:700;color:#1f2329}.modal-mask{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:999;animation:fadeIn .2s ease}.modal-box{width:280px;background:#fff;border-radius:16px;padding:24px 20px 16px;text-align:center;animation:popIn .25s ease;box-shadow:0 8px 30px #00000026}.modal-title{font-size:17px;font-weight:600;color:#1f2329;margin-bottom:8px}.modal-desc{font-size:14px;color:#86909c;margin-bottom:20px}.modal-actions{display:flex;gap:12px}.modal-btn{flex:1;height:40px;border:none;border-radius:20px;font-size:15px;cursor:pointer;transition:opacity .15s}.modal-btn:active{opacity:.7}.modal-cancel{background:#f2f3f5;color:#4e5969}.modal-confirm{background:#2f6bff;color:#fff}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes popIn{0%{transform:scale(.9);opacity:0}to{transform:scale(1);opacity:1}}.page-header{padding:16px 16px 4px}.page-header h2{font-size:20px;font-weight:700;margin:0 0 4px;color:#1a1a1a}.page-header p{font-size:12px;color:#888;margin:0}.toast-msg{margin:12px 16px 0;padding:10px 12px;border-radius:8px;background:#e8f3ff;color:#2f6bff;font-size:13px}.empty-tip{text-align:center;color:#999;font-size:13px;padding:32px 0}.primary-btn{display:inline-block;border:none;border-radius:8px;padding:10px 18px;background:#2f6bff;color:#fff;font-size:14px;font-weight:600;cursor:pointer}.primary-btn:active{opacity:.8}.ghost-btn{display:inline-block;border:1px solid #ddd;border-radius:8px;padding:10px 18px;background:#fff;color:#666;font-size:14px;cursor:pointer;margin-left:8px}.mini-btn{border:1px solid #ddd;background:#fff;color:#555;font-size:12px;border-radius:6px;padding:4px 10px;cursor:pointer;margin-left:6px}.mini-btn.ok{border-color:#2f6bff;color:#2f6bff}.mini-btn.danger{border-color:#ff4d4f;color:#ff4d4f}.mini-btn:active{opacity:.7}.restock-count-bar{margin:12px 16px;padding:10px 14px;background:#f7f8fa;border-radius:10px;display:flex;align-items:center;justify-content:space-between;font-size:14px;color:#333}.count-ctrl{display:flex;align-items:center;gap:8px}.count-ctrl button{width:30px;height:30px;border-radius:8px;border:1px solid #ddd;background:#fff;font-size:18px;line-height:1;color:#333}.count-ctrl input{width:52px;height:30px;text-align:center;border:1px solid #ddd;border-radius:8px;font-size:14px}.modal-card{background:#fff;border-radius:16px;padding:20px;width:82%;max-width:340px;text-align:center}.modal-card h3{margin:0 0 8px;font-size:17px;text-align:center}.modal-card p{margin:8px 0 16px;font-size:14px;color:#666;line-height:1.5}.success-modal .success-icon{font-size:48px;margin-bottom:8px;line-height:1}.success-modal h3{color:#2f6bff}.pay-product{text-align:center;font-size:14px;color:#666}.pay-amount{text-align:center;font-size:28px;font-weight:800;color:#ff4d4f;margin:10px 0}.pay-qr{display:block;width:200px;height:200px;margin:10px auto;object-fit:contain;border:1px solid #eee;border-radius:10px}.qr-empty{text-align:center;color:#999;font-size:13px;padding:30px 0}.pay-tip{text-align:center;font-size:12px;color:#888;margin:10px 0 14px}.pay-modal .primary-btn{width:100%}.card{margin:12px 16px;padding:14px;background:#fff;border-radius:12px;box-shadow:0 1px 4px #0000000d}.card-title{font-size:15px;font-weight:700;color:#1a1a1a;margin-bottom:10px}.card-sub{font-size:12px;color:#999;margin-top:8px}.shop-link-row{display:flex;gap:8px}.shop-link-row input{flex:1;border:1px solid #e5e6eb;border-radius:8px;padding:8px 10px;font-size:12px;color:#555;background:#f7f8fa}.qr-input-row{margin-bottom:10px}.qr-input-row label{display:block;font-size:12px;color:#666;margin-bottom:4px}.qr-input-row input{width:100%;box-sizing:border-box;border:1px solid #e5e6eb;border-radius:8px;padding:8px 10px;font-size:13px}.qr-preview{width:90px;height:90px;object-fit:contain;margin-top:6px;border:1px solid #eee;border-radius:8px}.add-product-row{display:flex;gap:8px;align-items:center}.add-product-row select{flex:1.2;border:1px solid #e5e6eb;border-radius:8px;padding:8px;font-size:13px}.add-product-row input{flex:1;border:1px solid #e5e6eb;border-radius:8px;padding:8px 10px;font-size:13px}.shop-item{border-top:1px solid #f0f0f0;padding:10px 0}.shop-item:first-child{border-top:none}.shop-item-info{margin-bottom:8px}.shop-item-name{font-size:14px;font-weight:600;color:#1a1a1a;display:flex;align-items:center;gap:6px}.status-tag{font-size:11px;padding:2px 6px;border-radius:4px;font-weight:400}.status-tag.on{background:#e6f7e6;color:#52c41a}.status-tag.off{background:#f0f0f0;color:#999}.shop-item-meta{font-size:12px;color:#888;margin-top:4px}.shop-item-actions{display:flex;flex-wrap:wrap}.shop-item-actions input{width:80px;border:1px solid #e5e6eb;border-radius:6px;padding:4px 8px;font-size:13px}.store-head{background:linear-gradient(135deg,#2f6bff,#6aa5ff);padding:26px 16px;text-align:center;color:#fff}.store-avatar{font-size:36px}.store-title{font-size:19px;font-weight:700;margin-top:6px}.store-sub{font-size:12px;opacity:.85;margin-top:4px}.code-card{margin:12px 16px;padding:14px;background:#fff;border-radius:12px;box-shadow:0 1px 4px #0000000d}.code-head{display:flex;justify-content:space-between;align-items:center}.code-product{font-size:14px;font-weight:600;color:#1a1a1a}.code-price{font-size:13px;color:#ff4d4f;font-weight:700}.code-value{margin-top:10px;background:#f7f8fa;border:1px dashed #d9d9d9;border-radius:8px;padding:12px;font-size:15px;font-family:monospace;color:#333;display:flex;justify-content:space-between;align-items:center;word-break:break-all}.code-copy{font-size:12px;color:#2f6bff;margin-left:8px;white-space:nowrap}.code-bound{margin-top:8px;padding:6px 10px;background:#f0f5ff;border-radius:8px;font-size:12px;color:#2f6bff;display:inline-block}.code-date{font-size:11px;color:#bbb;margin-top:8px}.floating-toast{position:fixed;left:50%;bottom:120px;transform:translate(-50%);background:#000000c7;color:#fff;font-size:14px;line-height:1.5;padding:10px 18px;border-radius:20px;z-index:9999;max-width:80%;text-align:center;animation:toast-in .2s ease;pointer-events:none;white-space:normal;word-break:break-all}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%)}}.float-toast{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:9999;max-width:82%;background:#000000d1;color:#fff;font-size:14px;line-height:1.5;padding:11px 18px;border-radius:10px;box-shadow:0 4px 16px #00000040;animation:toastIn .22s ease-out;word-break:break-all}@keyframes toastIn{0%{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%)}}.invite-view{padding:16px 16px calc(66px + env(safe-area-inset-bottom));min-height:100vh;box-sizing:border-box;background:#f5f6f8}.invite-header{background:linear-gradient(135deg,#2f6bff,#5b8cff);border-radius:14px;padding:20px 16px;color:#fff;display:flex;align-items:center;gap:14px;margin-bottom:14px}.invite-level-badge{background:#ffffff38;border:1px solid rgba(255,255,255,.45);border-radius:8px;padding:8px 10px;font-size:13px;font-weight:600;white-space:nowrap}.invite-hero{flex:1}.invite-hero-label{font-size:12px;opacity:.85}.invite-hero-amount{font-size:26px;font-weight:700;margin-top:2px}.invite-stats{display:flex;gap:16px}.invite-stat{text-align:center}.invite-stat-num{display:block;font-size:18px;font-weight:700}.invite-stat-label{font-size:11px;opacity:.85}.invite-card{background:#fff;border-radius:12px;padding:14px 16px;margin-bottom:12px;box-shadow:0 1px 4px #0000000d}.invite-card-title{font-size:15px;font-weight:600;color:#1a1a1a;display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.invite-card-sub{font-size:12px;color:#999;font-weight:400}.invite-bar{height:8px;background:#eef0f3;border-radius:4px;overflow:hidden}.invite-bar-fill{height:100%;background:linear-gradient(90deg,#2f6bff,#5b8cff);border-radius:4px;transition:width .3s}.invite-bar-fill-up{background:linear-gradient(90deg,#ff9500,#ffb340)}.invite-card-tip{font-size:12px;color:#888;margin-top:8px}.invite-card-tip-done{color:#2f9e44;font-weight:500}.invite-link-box{display:flex;gap:8px}.invite-link-input{flex:1;border:1px solid #e5e6eb;border-radius:8px;padding:9px 10px;font-size:12px;color:#555;background:#fafbfc;outline:none}.invite-link-btn{border:none;background:#2f6bff;color:#fff;border-radius:8px;padding:0 16px;font-size:13px;font-weight:500;cursor:pointer}.invite-link-btn:active{opacity:.7}.invite-reward-item{display:flex;justify-content:space-between;align-items:center;padding:11px 0;border-bottom:1px solid #f2f3f5}.invite-reward-item:last-child{border-bottom:none}.invite-reward-kind{font-size:14px;color:#1a1a1a;font-weight:500}.invite-reward-meta{font-size:11px;color:#999;margin-top:2px}.invite-reward-amount{font-size:15px;font-weight:600;color:#2f9e44}.invite-empty{text-align:center;color:#bbb;font-size:13px;padding:18px 0}.invite-footer-tip{text-align:center;font-size:11px;color:#aaa;margin-top:4px}.ai-float-btn{position:fixed;right:16px;bottom:70px;z-index:999;width:52px;height:52px;border:none;border-radius:50%;background:linear-gradient(135deg,#2f6bff,#7c3aed);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 20px #2f6bff66;cursor:pointer;transition:transform .2s}.ai-float-btn:hover{transform:scale(1.08)}.ai-float-btn:active{transform:scale(.95)}.ai-chat-panel{position:fixed;right:16px;bottom:130px;z-index:998;width:350px;max-width:calc(100vw - 32px);height:520px;max-height:calc(100vh - 160px);display:flex;flex-direction:column;border-radius:16px;border:1px solid #e5e7eb;background:#fff;box-shadow:0 12px 40px #0000002e;overflow:hidden;animation:aiPop .18s ease-out}@keyframes aiPop{0%{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}.ai-chat-head{display:flex;align-items:center;gap:10px;padding:12px 14px;background:linear-gradient(135deg,#2f6bff,#7c3aed);color:#fff}.ai-chat-avatar{width:34px;height:34px;border-radius:10px;background:#fff3;display:flex;align-items:center;justify-content:center}.ai-chat-title-wrap{flex:1;min-width:0}.ai-chat-title{font-size:14px;font-weight:700}.ai-chat-sub{font-size:10px;opacity:.85}.ai-chat-online{font-size:10px;background:#ffffff38;padding:3px 8px;border-radius:999px}.ai-chat-body{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:10px;background:#f6f7fb}.ai-msg{display:flex;align-items:flex-start;gap:8px}.ai-msg-in{justify-content:flex-start}.ai-msg-out{justify-content:flex-end}.ai-msg-avatar{width:24px;height:24px;border-radius:50%;background:linear-gradient(135deg,#2f6bff,#7c3aed);color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0}.ai-bubble{max-width:82%;padding:9px 12px;border-radius:3px 12px 12px;background:#fff;border:1px solid #eef0f4;font-size:13px;line-height:1.6;color:#333;white-space:pre-wrap;word-break:break-word}.ai-bubble-out{border-radius:12px 3px 12px 12px;background:linear-gradient(135deg,#2f6bff,#4f7dff);color:#fff;border:none}.ai-typing-dot{display:inline-block;width:6px;height:6px;margin-right:3px;border-radius:50%;background:#2f6bff;animation:aiBlink 1s infinite}@keyframes aiBlink{0%,to{opacity:.3}50%{opacity:1}}.ai-err{display:flex;align-items:center;gap:8px;border:1px solid #fecaca;background:#fef2f2;color:#ef4444;font-size:12px;padding:8px 10px;border-radius:8px}.ai-err-btn{border:none;background:#ef4444;color:#fff;font-size:11px;padding:3px 10px;border-radius:999px;cursor:pointer}.ai-suggest{display:flex;flex-wrap:wrap;gap:8px;padding:0 12px 10px;background:#f6f7fb}.ai-suggest-item{border:1px solid #c7d6ff;background:#eef3ff;color:#2f6bff;font-size:11px;padding:5px 10px;border-radius:999px;cursor:pointer;transition:all .15s}.ai-suggest-item:hover{background:#dfe9ff}.ai-suggest-item:active{transform:scale(.95)}.ai-chat-input-wrap{padding:10px;border-top:1px solid #eef0f4;background:#fff}.ai-chat-input-box{display:flex;align-items:center;gap:8px;border:1px solid #e2e5ec;border-radius:999px;padding:4px 4px 4px 14px;background:#f6f7fb}.ai-chat-input{flex:1;border:none;background:transparent;font-size:13px;color:#333;outline:none;min-width:0}.ai-send-btn{width:32px;height:32px;border:none;border-radius:50%;background:linear-gradient(135deg,#2f6bff,#7c3aed);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer}.ai-send-btn:disabled{opacity:.4;cursor:not-allowed}
