main:has(.nav){display:flex;flex-direction:column;min-height:calc(100dvh - 80px);padding-bottom:25px}body:has(#cartbar:not([hidden])) main{padding-bottom:130px}.home-disclosure{margin-top:auto;padding-top:40px;font-size:10px;color:#808080}.nav{display:flex;gap:5px;background:#f1f8f3;padding:5px;border-radius:15px;align-self:flex-start}.nav button{background:transparent;border-radius:11px;font-size:12px;padding:10px 19px;color:#111111}.nav button.active{background:#fff;box-shadow:0 2px 8px #00000010;color:#111111}.orders-heading{display:flex;justify-content:space-between;align-items:center;margin:10px 0 15px}.orders-heading h2{font-size:25px;letter-spacing:-.6px;font-weight:550}#orderslist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;align-items:start}#orderslist>.pager,#orderslist>.empty{grid-column:1/-1}.purchase-card{margin:0!important;padding:0!important;border:1px solid #dfebe3;border-radius:22px;overflow:hidden;background:#fff;box-shadow:0 5px 18px #00000009}.purchase-top{background:#f5fbf7;padding:18px 20px;display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #edf3ee}.purchase-store{display:block;font-size:13px;font-weight:550;color:#111111}.purchase-top small{display:block;margin-top:3px;font-size:10px;color:#808080}.purchase-status{font-size:10px;border-radius:99px;padding:5px 10px;background:#f7f7f7;color:#111111;white-space:nowrap}.purchase-status[data-status=待处理]{background:#f7f7f7;color:#111111}.purchase-status[data-status=已发货]{background:#f7f7f7;color:#111111}.purchase-items{padding:7px 20px}.purchase-item{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #f0f4f1}.purchase-item:last-child{border-bottom:0}.purchase-item img{width:55px;height:55px;object-fit:contain;border-radius:12px;background:#f7f9f6;padding:5px;flex-shrink:0}.purchase-item>div{min-width:0;flex:1}.purchase-item p{font-size:12px!important;color:#111111;line-height:1.6;margin:0 0 5px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.purchase-item span{font-size:10px;color:#808080}.purchase-item>small{font-size:11px;color:#808080}.purchase-more{font-size:10px!important;color:#808080;padding:5px 0;text-align:center}.purchase-total{padding:13px 20px 8px;display:flex;justify-content:space-between;align-items:center}.purchase-total>span{font-size:11px;color:#808080}.purchase-total strong{font-size:21px;letter-spacing:-.6px;font-weight:550;color:#111111}.purchase-total strong small{font-size:10px;font-weight:400;letter-spacing:0;margin-left:3px}.purchase-id{font-size:9px;letter-spacing:.3px;color:#b1bfb5;padding:2px 20px 15px;text-align:right}#buyer-chat{border-radius:22px;overflow:hidden}.smchat{height:calc(100dvh - 205px);max-height:none;min-height:390px}@media(max-width:700px){#orderslist{grid-template-columns:minmax(0,1fr);gap:15px}.purchase-top{padding:16px}.purchase-items{padding:5px 16px}.purchase-total{padding:13px 16px 8px}.purchase-id{padding-right:16px}.nav{width:100%}.nav button{flex:1}.orders-heading{margin:7px 0 16px}.orders-heading h2{font-size:23px}.smchat{height:calc(100dvh - 205px);min-height:350px}main:has(.nav){min-height:calc(100dvh - 75px)}}
.orders-panel{border:1px solid #e0ece4;border-radius:24px;overflow:hidden;min-height:calc(100dvh - 205px);background:#fff;box-shadow:0 8px 30px #00000006}.orders-panel .orders-heading{margin:0;min-height:90px;padding:25px 26px;border-bottom:1px solid #edf3ef}.orders-panel .orders-heading h2{font-size:23px;line-height:1.3;font-weight:550;letter-spacing:-.4px}#orderslist{padding:22px;background:#f7fbf8;min-height:330px}#orderslist:has(>.orders-empty){background:#fff}.orders-empty{min-height:300px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:18px;padding:30px!important;color:#808080}.orders-empty p{margin:0;font-size:13px;line-height:1.6}.empty-card-icon{display:grid;place-items:center;width:82px;height:82px;border-radius:27px;background:#f2f9f4;color:#808080}.empty-card-icon svg{width:36px;height:36px}.purchase-card{border-radius:18px;box-shadow:0 3px 12px #00000004}.purchase-id{overflow-wrap:anywhere}.purchase-store{line-height:1.5}.purchase-top small{line-height:1.5}.purchase-item p{font-weight:400}.purchase-total{border-top:1px solid #f0f5f1;margin:0 16px;padding-left:0;padding-right:0}.orders-panel .pager{margin:8px 0 0;padding:12px 0}.orders-panel .pager button{font-size:11px}.orders-panel .pager span{font-size:10px}@media(max-width:700px){.orders-panel{border-radius:22px;min-height:calc(100dvh - 205px)}.orders-panel .orders-heading{padding:23px 20px;min-height:86px}.orders-panel .orders-heading h2{font-size:22px}#orderslist{padding:16px;gap:15px}.orders-empty{min-height:310px}.purchase-top{gap:12px}.purchase-item{gap:11px}.purchase-total strong{font-size:20px}.orders-panel .pager{gap:11px}}

.buyer-profile{position:relative;width:32px;height:32px;padding:0;border-radius:50%;background:#f7f7f7;display:grid;place-items:center;flex-shrink:0}.buyer-profile img{width:100%;height:100%;object-fit:cover;border-radius:50%}.buyer-profile small{position:absolute;top:33px;left:50%;transform:translateX(-50%);font-size:8px;max-width:50px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.profile-photo{display:grid;justify-content:center;text-align:center;margin:24px 0;cursor:pointer}.profile-photo>span{display:grid;place-items:center;width:80px;height:80px;border-radius:50%;background:#f7f7f7;overflow:hidden;font-size:26px}.profile-photo img{width:100%;height:100%;object-fit:cover}.intro{margin:4px 0 14px}.intro h1{font-size:23px;font-weight:600}.search{margin-top:0;align-items:center;gap:8px;scroll-margin-top:95px}.merchant-input{position:relative;min-width:0;flex:1}.merchant-input input{padding:10px 38px 10px 12px;height:44px}.merchant-input #clearmerchant{position:absolute;right:10px;top:12px;border-radius:50%;width:20px;height:20px;padding:0;background:#c1c9c4;color:white;font-size:17px;line-height:20px}.search>.primary{padding:10px 15px;height:44px;font-size:13px}.shophead.panel{padding:13px 15px;border-radius:15px;margin:10px 0 16px}.shophead h2{font-size:16px}.shophead>div:last-child{display:flex!important;align-items:center;gap:9px!important}.shophead #contactmerchant{padding:6px 12px;font-size:12px;border-radius:9px}.shophead .badge{font-size:10px;padding:3px 8px}body[data-tab=chat] main{padding-bottom:12px}body[data-tab=chat] .nav{margin-bottom:12px}body[data-tab=chat] .smchat{border:0;border-radius:14px}header>div>div:last-child{gap:7px!important}#logout{font-size:12px;padding:7px}.search-focused main{padding-bottom:calc(150px + var(--keyboard-gap,0px))}header .brand{font-size:20px}@media(max-width:700px){header>div{padding:12px 14px}.intro h1{font-size:22px}main{padding-top:16px}.shophead .small{font-size:10px}.search{scroll-margin-top:88px}}

#chatnav{position:relative}.buyer-chat-count{position:absolute;top:2px;right:15%;min-width:17px;height:17px;display:grid;place-items:center;padding:0 4px;border:2px solid #fff;border-radius:20px;background:#111111;color:#fff;font-size:9px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums}

.store-tools{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:10px 0 15px;flex-wrap:wrap}.price-sort{display:flex;gap:5px}.price-sort button{padding:6px 10px;border:1px solid #e0eae4;border-radius:9px;background:#fff;color:#111111;font-size:11px;line-height:1.5;white-space:nowrap}.price-sort button.active{background:#f7f7f7;border-color:#808080;color:#111111}
 .buyer-profile .buyer-public-id{top:44px;font-size:8px;line-height:10px;font-variant-numeric:tabular-nums;color:#111111}
