:root{--bg: #faf9f5;--surface: #ffffff;--ink: #1a1a18;--muted: #76726b;--border: #eae6de;--border-2: #dcd6cb;--accent: #c2603f;--accent-soft: #f6ece6;--ok: #2f7a57;--sidebar: #f2eee6;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0}.shop-root{display:flex;height:100vh;width:100%;background:var(--bg);overflow:hidden}.sb{width:240px;flex:0 0 240px;background:var(--sidebar);border-right:1px solid var(--border);display:flex;flex-direction:column;padding:14px 10px;overflow-y:auto}.sb-brand{display:flex;align-items:center;gap:9px;padding:8px 10px 14px}.sb-logo{width:28px;height:28px;border-radius:8px;background:var(--accent);color:#fff;display:grid;place-items:center;font-weight:700;font-size:15px}.sb-name{font-weight:650;font-size:15px;letter-spacing:.2px}.sb-section{font-size:11px;color:var(--muted);padding:10px 12px 6px;letter-spacing:.6px}.sb-item{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;border-radius:9px;cursor:pointer;font-size:14px;color:#3a3833;transition:background .12s ease;border:none;background:transparent;width:100%;text-align:left;font-family:inherit}.sb-item:hover{background:#e9e3d8}.sb-item.active{background:var(--surface);color:var(--ink);font-weight:600;box-shadow:0 1px #00000005}.sb-count{font-size:12px;color:var(--muted)}.main{flex:1;display:flex;flex-direction:column;min-width:0;background:var(--bg);position:relative}.topbar{display:flex;align-items:center;gap:14px;padding:16px 24px;border-bottom:1px solid var(--border);background:#faf9f5d9;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.title{font-size:18px;font-weight:680}.sub{font-size:13px;color:var(--muted);margin-top:1px}.search{flex:1;max-width:360px;margin-left:auto;position:relative}.search input{width:100%;padding:9px 12px 9px 34px;border:1px solid var(--border-2);border-radius:10px;font-size:14px;font-family:inherit;background:var(--surface);color:var(--ink);outline:none;transition:border-color .12s}.search input:focus{border-color:var(--accent)}.search svg{position:absolute;left:11px;top:50%;transform:translateY(-50%);color:var(--muted)}.scroll{flex:1;overflow-y:auto;padding:24px}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(248px,1fr));gap:14px}.card{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:10px;transition:transform .14s ease,box-shadow .14s ease,border-color .14s}.card:hover{transform:translateY(-2px);box-shadow:0 8px 24px #1a1a1812;border-color:var(--border-2)}.card-head{display:flex;gap:11px;align-items:flex-start}.avatar{width:42px;height:42px;flex:0 0 42px;border-radius:11px;background:var(--accent-soft);display:grid;place-items:center;font-size:21px}.card-name{font-size:15px;font-weight:640;line-height:1.3}.card-cat{font-size:12px;color:var(--muted);margin-top:2px}.deliver-badge{display:inline-block;font-size:11px;font-weight:600;padding:2px 9px;border-radius:999px;white-space:nowrap}.deliver-badge.auto{background:#e9f5ee;color:#2f7a57}.deliver-badge.manual{background:#fdf0e8;color:#b06a3a}.card-desc{font-size:13px;color:#5d5a53;line-height:1.55;min-height:40px}.tags{display:flex;flex-wrap:wrap;gap:6px}.tag{font-size:11px;padding:3px 8px;border-radius:999px;background:var(--accent-soft);color:var(--accent);font-weight:560}.card-foot{display:flex;align-items:center;justify-content:space-between;margin-top:2px}.price{display:flex;align-items:baseline;gap:7px}.price .now{font-size:18px;font-weight:720;color:var(--ink)}.price .now small{font-size:12px;font-weight:600;margin-right:1px}.price .was{font-size:12px;color:var(--muted);text-decoration:line-through}.btn{border:none;font-family:inherit;cursor:pointer;border-radius:9px;font-weight:600;transition:filter .12s,background .12s;font-size:13px}.btn:disabled{opacity:.55;cursor:not-allowed}.btn-primary{background:var(--accent);color:#fff;padding:8px 14px}.btn-primary:not(:disabled):hover{filter:brightness(1.06)}.btn-ghost{background:transparent;color:var(--ink);border:1px solid var(--border-2);padding:7px 13px}.btn-ghost:not(:disabled):hover{background:#f0ece4}.sold-out{font-size:12px;color:var(--muted);font-weight:600}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#1a1a1852;display:flex;align-items:center;justify-content:center;z-index:30;animation:fade .15s ease;padding:16px}@keyframes fade{0%{opacity:0}to{opacity:1}}.modal{width:380px;max-width:100%;background:var(--surface);border-radius:16px;padding:22px;box-shadow:0 20px 60px #00000040}.detail-head{display:flex;gap:14px;align-items:flex-start;margin-bottom:14px}.detail-head .av{width:54px;height:54px;flex:0 0 54px;border-radius:13px;background:var(--accent-soft);display:grid;place-items:center;font-size:28px}.detail-meta{font-size:13px;color:var(--muted);line-height:1.7}.qty{display:flex;align-items:center;border:1px solid var(--border-2);border-radius:9px;overflow:hidden;width:fit-content}.qty button{width:34px;height:34px;border:none;background:var(--surface);cursor:pointer;font-size:16px;color:var(--ink)}.qty button:hover{background:#f0ece4}.qty span{width:42px;text-align:center;font-size:14px;font-weight:600}.field{margin-bottom:13px}.field label{display:block;font-size:12.5px;color:var(--muted);margin-bottom:5px;font-weight:550}.field input{width:100%;padding:9px 11px;border:1px solid var(--border-2);border-radius:9px;font-size:14px;font-family:inherit;background:var(--surface);color:var(--ink);outline:none}.field input:focus{border-color:var(--accent)}.empty{text-align:center;color:var(--muted);padding:64px 20px;font-size:14px}.empty .big{font-size:30px;margin-bottom:8px}.empty .retry{margin-top:14px}.toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%);background:var(--ink);color:#fff;padding:11px 20px;border-radius:11px;font-size:14px;z-index:50;animation:fade .15s ease;box-shadow:0 8px 24px #0003}@media(max-width:680px){.sb{width:62px;flex-basis:62px;padding:12px 8px}.sb-name,.sb-section,.sb-count{display:none}.sb-item{justify-content:center;padding:10px 0}.grid{grid-template-columns:1fr}}.pay-box{background:var(--accent-soft);border:1px solid #f0dcd0;border-radius:12px;padding:18px;margin-bottom:16px}.pay-amount{font-size:15px;color:#5d5a53;margin-bottom:10px}.pay-amount .now{font-size:22px;font-weight:720;color:var(--ink)}.pay-demo-note{font-size:12.5px;color:#a06a4a;line-height:1.6}.deliver-ok{text-align:center;padding:6px 0 2px}.do-icon{font-size:34px;margin-bottom:6px}.do-title{font-size:16px;font-weight:700;color:var(--ok);margin-bottom:4px}.do-sub{font-size:12.5px;color:var(--muted);margin-bottom:14px}.secret-list{display:flex;flex-direction:column;gap:8px;max-height:260px;overflow-y:auto}.secret-toolbar{display:flex;justify-content:flex-end;margin-bottom:8px}.secret-copy-all{padding:6px 14px;font-size:12.5px}.copy-hint{margin-top:10px;font-size:12.5px;color:#b3402a;text-align:center;line-height:1.5}.secret-box{display:flex;align-items:stretch;gap:8px;background:#f4f8f5;border:1px solid #cfe6d8;border-radius:10px;padding:10px}.secret-idx{flex:0 0 auto;align-self:center;width:22px;height:22px;border-radius:50%;background:var(--ok);color:#fff;font-size:12px;font-weight:700;display:grid;place-items:center}.secret-text{flex:1;font-family:ui-monospace,monospace;font-size:14px;color:var(--ink);word-break:break-all;text-align:left;display:flex;align-items:center;padding:0 4px}.secret-copy{flex:0 0 auto;padding:8px 16px}.deliver-fail{text-align:center;padding:6px 0 2px}.df-icon{font-size:32px;margin-bottom:6px}.df-title{font-size:16px;font-weight:700;margin-bottom:6px}.df-msg{font-size:13.5px;color:#5d5a53;line-height:1.6}.order-saved-hint{margin-top:14px;font-size:12.5px;color:#5d5a53;background:#f4f8f5;border:1px solid #cfe6d8;border-radius:9px;padding:10px 12px;line-height:1.6;text-align:center}.manual-notice{font-size:12.5px;color:#a06a4a;background:#fdf0e8;border:1px solid #f6d8c4;border-radius:9px;padding:10px 12px;line-height:1.6;margin-bottom:14px}.order-views{display:flex;flex-direction:column;gap:14px;margin-bottom:24px}.order-view{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:16px}.ov-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}.ov-name{font-size:15px;font-weight:640}.ov-status{flex:0 0 auto;font-size:12px;font-weight:600;color:var(--accent);background:var(--accent-soft);padding:3px 10px;border-radius:999px}.ov-meta{font-size:12.5px;color:var(--muted);line-height:1.6}.ov-id{font-family:ui-monospace,monospace;word-break:break-all}.ov-deliver{margin-top:12px;padding-top:12px;border-top:1px dashed var(--border-2)}.ov-deliver.muted{color:var(--muted);font-size:13px}.ov-deliver-title{font-size:12.5px;font-weight:600;color:#5d5a53;margin-bottom:8px}.ov-note{font-size:13.5px;color:var(--ink);line-height:1.6;white-space:pre-wrap;word-break:break-word}.lookup{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:16px}.lookup-title{font-size:13px;color:#5d5a53;margin-bottom:10px}.lookup-row{display:flex;gap:8px;flex-wrap:wrap}.lookup-row input{flex:1;min-width:160px;padding:9px 11px;border:1px solid var(--border-2);border-radius:9px;font-size:14px;font-family:inherit;background:var(--surface);color:var(--ink);outline:none}.lookup-row input:focus{border-color:var(--accent)}.lookup-err{margin-top:10px;font-size:13px;color:#b3402a}.pay-amount-box{text-align:center;background:var(--accent-soft);border:1px solid #f0dcd0;border-radius:12px;padding:16px;margin-bottom:14px}.pay-amount-label{font-size:12.5px;color:#a06a4a;margin-bottom:4px}.pay-amount-value{font-size:30px;font-weight:760;color:var(--accent);line-height:1.1}.pay-amount-value small{font-size:16px;font-weight:600;margin-right:2px}.pay-order-id{margin-top:6px;font-size:11.5px;color:var(--muted);font-family:ui-monospace,monospace;word-break:break-all;display:flex;align-items:center;justify-content:center;gap:8px}.oid-copy{flex:0 0 auto;border:1px solid var(--border-2);background:var(--surface);color:var(--accent);font-family:inherit;font-size:11px;font-weight:600;padding:2px 8px;border-radius:7px;cursor:pointer}.oid-copy:hover{background:var(--accent-soft)}.pay-collision{margin-top:10px;font-size:12px;color:#b3402a;line-height:1.55;text-align:left;background:#fdeeea;border:1px solid #f2c9bd;border-radius:8px;padding:8px 10px}.pay-seg{display:flex;gap:8px;margin-bottom:14px}.pay-seg-btn{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;border:1.5px solid var(--border-2);background:var(--surface);color:var(--ink);font-family:inherit;font-size:13.5px;font-weight:600;padding:12px 4px 11px;border-radius:12px;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s,transform .05s}.pay-seg-btn:hover{border-color:var(--accent)}.pay-seg-btn:active{transform:scale(.98)}.pay-seg-mono{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:17px;font-weight:800;color:#fff;line-height:1}.mono-alipay{background:#1677ff}.mono-wechat{background:#07c160}.mono-usdt{background:#26a17b}.pay-seg-label{letter-spacing:.02em}.pay-seg-btn.on{border-color:var(--accent);background:var(--accent-soft);color:var(--accent);font-weight:800;box-shadow:0 0 0 3px #e2622f1f}.pay-seg-check{position:absolute;top:6px;right:8px;font-size:12px;font-weight:900;color:var(--accent)}.pay-method-body{display:flex;justify-content:center;margin-bottom:14px}.pay-qr{width:220px;height:220px;object-fit:contain;background:#fff;border:1px solid var(--border);border-radius:12px;padding:8px}.usdt-box{width:100%}.usdt-addr{font-family:ui-monospace,monospace;font-size:13px;word-break:break-all;background:#f4f4f2;border:1px solid var(--border);border-radius:9px;padding:10px 12px;text-align:center}.usdt-warn{margin-top:10px;font-size:12.5px;color:#b3402a;line-height:1.5;text-align:center}.usdt-amount{margin-top:12px;font-size:14px;text-align:center;color:#2b2a27}.usdt-amount b{font-size:18px}.usdt-qr-wrap{display:flex;justify-content:center;margin:10px 0;padding:8px;background:#fff;border:1px solid var(--border);border-radius:12px}.usdt-tip{margin-top:10px;font-size:12.5px;color:#5d5a53;line-height:1.6;background:#f4f8f5;border:1px solid #cfe6d8;border-radius:9px;padding:10px 12px}.pay-tip{font-size:12.5px;color:#5d5a53;line-height:1.6;background:#f4f8f5;border:1px solid #cfe6d8;border-radius:9px;padding:10px 12px}.pay-note{margin-top:10px;font-size:12.5px;color:var(--muted);line-height:1.6;white-space:pre-wrap}.chat-modal{width:420px;max-width:100%;padding:0;overflow:hidden;display:flex;flex-direction:column;height:80vh;max-height:640px}.chat{display:flex;flex-direction:column;height:100%;min-height:0}.modal>.chat{height:70vh;max-height:560px}.chat-head{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid var(--border);font-weight:680;font-size:15px;flex:0 0 auto}.chat-status{font-size:12px;font-weight:600;padding:3px 10px;border-radius:999px}.chat-status.pending{background:var(--accent-soft);color:var(--accent)}.chat-status.done{background:#e9f5ee;color:#2f7a57}.chat-title{display:inline-flex;align-items:center;gap:8px}.chat-order-no{color:var(--accent);font-weight:800;letter-spacing:.03em}.chat-body{flex:1 1 auto;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:12px;background:var(--bg)}.chat-loading{text-align:center;color:var(--muted);font-size:13px;padding:20px}.bubble{display:flex;align-items:flex-end;gap:8px;max-width:90%}.bubble.user{align-self:flex-end;flex-direction:row-reverse}.bubble.system,.bubble.agent{align-self:flex-start}.bubble-avatar{flex:0 0 auto;width:32px;height:32px;border-radius:50%;overflow:hidden;display:block;box-shadow:0 1px 3px #0000001a}.bubble-avatar svg{display:block}.bubble-inner{padding:10px 12px;border-radius:12px;font-size:13.5px;line-height:1.55;min-width:0}.bubble.user .bubble-inner{background:var(--accent);color:#fff;border-bottom-right-radius:4px}.bubble.system .bubble-inner{background:var(--surface);border:1px solid var(--border);color:var(--ink);border-bottom-left-radius:4px}.bubble.agent .bubble-inner{background:#eef3fb;border:1px solid #d8e3f3;color:var(--ink);border-bottom-left-radius:4px}.bubble-text{white-space:pre-wrap;word-break:break-word}.bubble-copy{margin-top:8px;border:1px solid rgba(0,0,0,.12);background:#fff;color:var(--accent);font-family:inherit;font-size:12px;font-weight:600;padding:4px 10px;border-radius:7px;cursor:pointer}.bubble-time{margin-top:5px;font-size:10.5px;opacity:.6}.bubble.user .bubble-time{text-align:right}.bubble .pay-card{width:300px;max-width:100%}.pay-card-toggle{border:none;background:transparent;color:var(--accent);font-family:inherit;font-size:13px;font-weight:600;cursor:pointer;padding:0}.chat-input{flex:0 0 auto;display:flex;gap:8px;padding:12px;border-top:1px solid var(--border);background:var(--surface)}.chat-input input{flex:1;padding:9px 12px;border:1px solid var(--border-2);border-radius:9px;font-size:14px;font-family:inherit;outline:none}.chat-input input:focus{border-color:var(--accent)}.chat-input .btn{padding:9px 16px}.chat-close{flex:0 0 auto;margin:0 12px 12px;padding:9px 0}.ov-chat-btn{width:100%;padding:9px 0;margin:10px 0 4px}.cs-fab{position:fixed;right:22px;bottom:22px;width:54px;height:54px;border-radius:50%;border:none;background:var(--accent);color:#fff;font-size:24px;cursor:pointer;z-index:40;box-shadow:0 6px 20px #c2603f66;transition:transform .12s,filter .12s}.cs-fab:hover{filter:brightness(1.06);transform:translateY(-2px)}.drawer-scrim{position:fixed;top:0;right:0;bottom:0;left:0;background:#1a1a1852;z-index:50;display:flex;justify-content:flex-end;animation:fade .15s ease}.order-drawer{width:480px;max-width:100%;height:100%;background:var(--surface);box-shadow:-12px 0 40px #0000002e;display:flex;flex-direction:column;animation:drawer-in .22s cubic-bezier(.22,1,.36,1)}@keyframes drawer-in{0%{transform:translate(100%)}to{transform:translate(0)}}.order-drawer>.chat{height:100%}.order-drawer .bubble .pay-card{width:360px}.cs-widget{position:fixed;right:22px;bottom:90px;width:372px;max-width:calc(100vw - 32px);height:560px;max-height:calc(100vh - 130px);background:var(--surface);border-radius:16px;box-shadow:0 18px 50px #00000040;overflow:hidden;display:flex;flex-direction:column;z-index:45;animation:widget-in .18s ease}@keyframes widget-in{0%{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.cs-widget>.chat{height:100%}.cs-widget-close{border:none;background:transparent;color:var(--muted);font-size:16px;line-height:1;cursor:pointer;padding:4px 6px;border-radius:7px}.cs-widget-close:hover{background:var(--bg);color:var(--ink)}@media(max-width:560px){.order-drawer{width:100%}.order-drawer .bubble .pay-card{width:300px}.cs-widget{right:0;left:0;bottom:0;width:100%;max-width:100%;height:82vh;max-height:82vh;border-radius:16px 16px 0 0}}.sb-item.sb-big{font-weight:600;color:var(--ink);margin-top:2px}.sb-item.sb-sub{position:relative;padding-left:26px;font-size:13px;color:#6b6760}.sb-item.sb-sub:before{content:"·";position:absolute;margin-left:-12px;color:var(--border-2)}.sb-item.sb-sub:has(.sb-ico):before{content:none}.sb-sub-label{display:inline-flex;align-items:center;gap:7px;min-width:0}.sb-ico{display:inline-flex;align-items:center;color:var(--muted);flex:0 0 auto}.avatar svg,.avatar img,.dp-icon svg,.dp-icon img,.av svg,.av img{display:block}.card-clickable{display:flex;flex-direction:column;gap:10px;cursor:pointer}.detail-page{flex:1;overflow-y:auto;padding:20px 28px 40px;max-width:860px;width:100%;margin:0 auto}.detail-back{margin-bottom:18px;padding:7px 14px;font-size:13.5px}.dp-head{display:flex;gap:18px;align-items:flex-start;padding-bottom:22px;border-bottom:1px solid var(--border)}.dp-icon{width:72px;height:72px;flex:0 0 72px;border-radius:16px;background:var(--accent-soft);display:grid;place-items:center;font-size:38px}.dp-head-main{min-width:0;flex:1}.dp-name{font-size:22px;font-weight:720;margin:0 0 4px;line-height:1.25}.dp-cat{font-size:13px;color:var(--muted);margin-bottom:10px}.dp-badges{display:flex;align-items:center;gap:10px;margin-bottom:12px}.dp-stock{font-size:12.5px;color:var(--ok);font-weight:600}.dp-stock.out{color:var(--muted)}.dp-price{display:flex;align-items:baseline;gap:9px;margin-bottom:10px}.dp-price .now{font-size:26px;font-weight:760;color:var(--accent)}.dp-price .now small{font-size:16px;margin-right:1px}.dp-price .was{font-size:15px;color:var(--muted);text-decoration:line-through}.detail-section{padding:20px 0;border-bottom:1px solid var(--border)}.detail-section-title{font-size:15px;font-weight:680;margin:0 0 10px;color:var(--ink)}.detail-section-title:before{content:"";display:inline-block;width:3px;height:14px;background:var(--accent);border-radius:2px;margin-right:8px;vertical-align:-2px}.detail-prose{font-size:14px;line-height:1.75;color:#4a4842;white-space:pre-wrap;word-break:break-word}.detail-notice{background:#fdf6ef;border:1px solid #f0e2d3;border-radius:10px;padding:12px 14px;color:#8a5a30}.dp-buybar{position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:24px;padding:14px 16px;background:var(--surface);border:1px solid var(--border-2);border-radius:14px;box-shadow:0 4px 16px #1a1a180f}.dp-buy{padding:11px 30px;font-size:15px}@media(max-width:560px){.detail-page{padding:16px 16px 32px}.dp-head{flex-direction:column}}
