:root{--gold: #c8963c;--gold-dark: #9a7020;--gold-light: #f3e4c3;--bg: #f7f6f3;--card: #ffffff;--text: #23201b;--text-sub: #7b7469;--line: #e8e3d9;--ok: #1f9254;--warn: #d97706;--danger: #dc2626;--radius: 14px;--shadow: 0 2px 10px rgba(35, 32, 27, .06)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,Segoe UI,sans-serif;font-size:14px;line-height:1.6}a{color:inherit;text-decoration:none}button{font-family:inherit;cursor:pointer}input,select{font-family:inherit;font-size:14px}.app{min-height:100vh;display:flex;flex-direction:column}.container{width:100%;max-width:1180px;margin:0 auto;padding:0 20px}.main{flex:1;padding:24px 0 60px}.header{position:sticky;top:0;z-index:50;background:#fffffff0;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}.header-inner{display:flex;align-items:center;gap:24px;height:62px}.logo{display:flex;align-items:center;gap:8px;font-size:18px;font-weight:800;color:var(--gold-dark);letter-spacing:.5px}.logo-badge{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:linear-gradient(135deg,#e6c063,#a57a26);color:#fff;font-size:15px;font-weight:800}.nav{display:flex;gap:22px}.nav a{color:var(--text-sub);font-weight:500;padding:4px 0;border-bottom:2px solid transparent;white-space:nowrap}.nav a.active,.nav a:hover{color:var(--gold-dark);border-bottom-color:var(--gold)}@media (max-width: 720px){.header-inner{height:auto;flex-wrap:wrap;row-gap:2px;padding:8px 0 0}.nav{flex:1 0 100%;gap:18px}.nav a{padding-bottom:8px}}.spacer{flex:1;display:flex;justify-content:center;min-width:0}.header-demo-note{color:#dc2626;font-size:13px;white-space:nowrap}.header-jump{color:#2563eb;font-weight:400;white-space:nowrap}.header-jump:hover{color:#1d4ed8}.wallet-btn{border:1px solid var(--gold);background:linear-gradient(135deg,#e8c063,#c8963c);color:#fff;font-weight:600;padding:8px 16px;border-radius:10px;font-size:13px}.wallet-btn:hover{filter:brightness(1.05)}.wallet-btn:disabled{opacity:.6;cursor:not-allowed}.user-chip{display:flex;align-items:center;gap:10px;padding:5px 10px 5px 5px;border:1px solid var(--line);border-radius:999px;background:#fff}.avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#f0d79a,#c8963c);color:#fff;font-weight:700;font-size:13px}.user-meta{display:flex;flex-direction:column;line-height:1.25}.user-nick{font-weight:600;font-size:13px}.user-addr{font-size:11px;color:var(--text-sub);font-family:ui-monospace,Menlo,monospace}.link-btn{background:none;border:none;color:var(--text-sub);font-size:12px;padding:0 4px}.link-btn:hover{color:var(--danger)}.demo-tag{font-size:11px;background:var(--gold-light);color:var(--gold-dark);padding:1px 6px;border-radius:5px;font-weight:600}.toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:18px}.search{flex:1;min-width:220px;padding:9px 14px;border:1px solid var(--line);border-radius:10px;background:#fff;outline:none}.search:focus{border-color:var(--gold)}.tabs{display:flex;gap:8px;flex-wrap:wrap}.tab{padding:7px 14px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--text-sub);font-size:13px}.tab.active{background:var(--gold-dark);border-color:var(--gold-dark);color:#fff;font-weight:600}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:18px}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column;transition:transform .18s ease,box-shadow .18s ease}.card:hover{transform:translateY(-3px);box-shadow:0 8px 22px #23201b1f}.card-img{width:100%;aspect-ratio:1 / 1;object-fit:cover;background:#f6f1e6}.card-body{padding:12px 14px 14px;display:flex;flex-direction:column;gap:6px;flex:1}.card-sku{font-size:11px;color:var(--text-sub);font-family:ui-monospace,Menlo,monospace}.card-title{font-size:14px;font-weight:600;line-height:1.45;min-height:40px}.card-foot{display:flex;align-items:baseline;justify-content:space-between;margin-top:auto}.price{color:var(--danger);font-weight:800;font-size:18px}.price small{font-size:12px;font-weight:600}.stock{font-size:12px;color:var(--text-sub)}.detail{display:grid;grid-template-columns:380px 1fr;gap:32px}.detail-img{width:100%;border-radius:var(--radius);border:1px solid var(--line);background:#fff}.detail h1{font-size:22px;margin:0 0 8px;line-height:1.4}.sku-line{color:var(--text-sub);font-size:12px;font-family:ui-monospace,Menlo,monospace;margin-bottom:14px}.price-box{background:linear-gradient(135deg,#fff8e8,#f3e4c3);border:1px solid var(--gold-light);border-radius:var(--radius);padding:14px 18px;margin:14px 0}.price-box .price{font-size:28px}.spec-list{margin:0;padding:0;list-style:none;display:grid;gap:8px}.spec-list li{display:flex;gap:12px}.spec-list span{color:var(--text-sub);width:72px;flex-shrink:0}.tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.tag{background:var(--gold-light);color:var(--gold-dark);font-size:12px;padding:3px 10px;border-radius:6px}.buy-row{display:flex;align-items:center;gap:16px;margin-top:20px;flex-wrap:wrap}.stepper{display:flex;align-items:center;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff}.stepper button{width:34px;height:34px;border:none;background:#fff;font-size:16px;color:var(--text)}.stepper button:hover{background:var(--gold-light)}.stepper span{min-width:44px;text-align:center;font-weight:600}.btn{border:none;border-radius:10px;padding:11px 26px;font-weight:600;font-size:15px;background:linear-gradient(135deg,#e8c063,#c8963c);color:#fff}.btn:hover{filter:brightness(1.05)}.btn:disabled{opacity:.55;cursor:not-allowed}.btn.ghost{background:#fff;color:var(--gold-dark);border:1px solid var(--gold)}.btn.small{padding:7px 14px;font-size:13px}.mask{position:fixed;top:0;right:0;bottom:0;left:0;background:#1c191473;display:grid;place-items:center;z-index:100;padding:20px}.modal{background:#fff;border-radius:16px;width:100%;max-width:460px;padding:24px;box-shadow:0 20px 50px #0000002e;max-height:90vh;overflow:auto}.modal.wide{max-width:560px}.modal h3{margin:0 0 6px;font-size:18px}.modal-sub{color:var(--text-sub);font-size:13px;margin-bottom:18px}.field{margin-bottom:14px}.field label{display:block;font-size:13px;font-weight:600;margin-bottom:6px}.field input,.field select{width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:10px;outline:none}.field input:focus,.field select:focus{border-color:var(--gold)}.field .hint{font-size:12px;color:var(--text-sub);margin-top:5px}.modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:18px}.code-box{font-family:ui-monospace,Menlo,monospace;background:#faf7f0;border:1px dashed var(--gold);border-radius:10px;padding:12px;font-size:12px;white-space:pre-wrap;word-break:break-all;color:#4b4438}.kv{display:flex;justify-content:space-between;padding:7px 0;border-bottom:1px dashed var(--line);font-size:13px}.kv:last-child{border-bottom:none}.kv .k{color:var(--text-sub)}.kv .v{font-weight:600;font-family:ui-monospace,Menlo,monospace}.kv.total .v{color:var(--danger);font-size:16px}.status-line{display:flex;align-items:center;gap:10px;margin:16px 0;font-size:13px;color:var(--text-sub)}.spinner{width:16px;height:16px;border:2px solid var(--gold-light);border-top-color:var(--gold-dark);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.profile-head{background:linear-gradient(135deg,#fdf6e6,#f0e0bd);border:1px solid var(--gold-light);border-radius:var(--radius);padding:20px 24px;display:flex;align-items:center;gap:18px;flex-wrap:wrap}.profile-head .avatar{width:52px;height:52px;font-size:18px}.stat-row{display:flex;gap:28px;margin-left:auto;flex-wrap:wrap}.stat .n{font-size:20px;font-weight:800;color:var(--gold-dark)}.stat .l{font-size:12px;color:var(--text-sub)}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);margin-top:18px;overflow:hidden}.panel-tabs{display:flex;border-bottom:1px solid var(--line)}.panel-tabs button{flex:1;padding:13px;border:none;background:#fff;font-size:14px;font-weight:600;color:var(--text-sub)}.panel-tabs button.active{color:var(--gold-dark);box-shadow:inset 0 -2px 0 var(--gold)}.panel-body{padding:18px}table{width:100%;border-collapse:collapse;font-size:13px}th,td{padding:11px 10px;text-align:left;border-bottom:1px solid var(--line)}th{color:var(--text-sub);font-weight:600;background:#faf8f4}td .mono{font-family:ui-monospace,Menlo,monospace;font-size:12px;color:var(--text-sub)}.empty{text-align:center;padding:40px 0;color:var(--text-sub)}.badge{font-size:11px;padding:2px 8px;border-radius:6px;font-weight:600}.badge.ok{background:#e7f6ed;color:var(--ok)}.badge.warn{background:#fdf1e0;color:var(--warn)}.badge.bad{background:#fdecea;color:var(--danger)}.badge.gray{background:#f0eee9;color:var(--text-sub)}.invite-card{display:flex;align-items:center;gap:14px;padding:16px;border:1px dashed var(--gold);border-radius:12px;background:#fffdf7;flex-wrap:wrap}.invite-code{font-family:ui-monospace,Menlo,monospace;font-size:22px;font-weight:800;color:var(--gold-dark);letter-spacing:2px}.person{display:flex;align-items:center;gap:12px;padding:11px 0;border-bottom:1px dashed var(--line)}.person:last-child{border-bottom:none}.person .avatar{width:38px;height:38px;font-size:14px}.person .info{flex:1;min-width:0}.person .nm{font-weight:600;font-size:13px}.person .sub{font-size:12px;color:var(--text-sub);font-family:ui-monospace,Menlo,monospace}.section-title{font-size:14px;font-weight:700;margin:18px 0 10px}.team-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.team-stats .ts{background:#fffdf7;border:1px solid var(--gold-light);border-radius:12px;padding:12px 8px;text-align:center}.team-stats .ts b{display:block;font-size:18px;color:var(--gold-dark)}.team-stats .ts span{font-size:12px;color:var(--text-sub)}.team-stats .ts.clickable{cursor:pointer;transition:border-color .15s,box-shadow .15s}.team-stats .ts.clickable:hover{border-color:var(--gold);box-shadow:0 2px 10px #9a70201f}@media (max-width: 640px){.team-stats{grid-template-columns:repeat(2,1fr)}}.toasts{position:fixed;right:20px;bottom:20px;z-index:200;display:flex;flex-direction:column;gap:10px}.toast{background:#fff;border:1px solid var(--line);border-left:4px solid var(--gold);border-radius:10px;padding:11px 18px;box-shadow:0 8px 24px #0000001f;font-size:13px;min-width:200px}.toast.success{border-left-color:var(--ok)}.toast.error{border-left-color:var(--danger)}.need-wallet{text-align:center;padding:80px 20px;color:var(--text-sub)}@media (max-width: 860px){.detail{grid-template-columns:1fr}.stat-row{margin-left:0;gap:18px}.table-scroll{overflow-x:auto}}.page-lead{display:flex;flex-direction:column;gap:4px;margin-bottom:16px}.page-lead b{font-size:18px}.page-lead span{font-size:13px;color:var(--text-sub)}.pool-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.pool-card{text-align:left;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:16px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:6px;width:100%}.pool-card:hover{border-color:var(--gold)}.pool-card.active{border-color:var(--gold);box-shadow:inset 0 0 0 1px var(--gold)}.pool-name{font-weight:700;font-size:15px}.pool-engine{font-size:12px;color:var(--text-sub)}.pool-bal{font-size:22px;font-weight:800;color:var(--gold-dark);line-height:1.2;margin-top:4px}.pool-bal small{font-size:12px;font-weight:600}.pool-addr{font-size:11px;color:var(--text-sub);word-break:break-all;font-family:ui-monospace,Menlo,monospace}.order-pool{margin-bottom:22px}.order-pool .section-title{margin-top:0}.order-pool .pool-engine{margin-bottom:10px}.order-pool .pool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.order-pool .pool-card{cursor:default}.order-pool .pool-card:hover{border-color:var(--line)}td.nowrap{white-space:nowrap}.amt-in{color:var(--ok);font-weight:700}.amt-out{color:var(--danger);font-weight:700}.amt-unit{font-size:11px;font-weight:600;color:var(--text-sub);margin-left:4px}@media (max-width: 980px){.pool-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 560px){.pool-grid,.order-pool .pool-grid{grid-template-columns:1fr}}.uit-wrap{padding:6px 0 2px}.uit-scroll{overflow-x:auto;padding:8px 12px 12px}.uit-root{display:flex;justify-content:center;width:max-content;min-width:100%}.uit-node{display:flex;flex-direction:column;align-items:center}.uit-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:10px;padding:5px 12px;text-align:center;box-shadow:var(--shadow);min-width:104px}.uit-card.me{border-color:var(--gold);background:#fff8e8}.uit-card.cut{background:#faf8f4;border-style:dashed}.uit-card .uit-addr{font-family:ui-monospace,Menlo,monospace;font-size:12px;font-weight:700}.uit-card .uit-uv{font-size:10px;color:var(--text-sub);line-height:1.3}.uit-me{position:absolute;top:-8px;right:-8px;background:var(--gold);color:#fff;font-size:10px;font-weight:700;border-radius:999px;padding:0 6px;line-height:16px}.uit-children{display:flex;align-items:flex-start;position:relative;padding-top:6px}.uit-children:before{content:"";position:absolute;top:0;left:50%;height:7px;border-left:1px solid #d8d2c6}.uit-leg{flex:0 0 auto;min-width:130px;display:flex;flex-direction:column;align-items:center;position:relative;padding-top:21px}.uit-leg.left:before{content:"";position:absolute;top:6px;left:50%;width:50%;border-top:1px solid #d8d2c6}.uit-leg.right:before{content:"";position:absolute;top:6px;right:50%;width:50%;border-top:1px solid #d8d2c6}.uit-leg:after{content:"";position:absolute;top:6px;left:50%;height:15px;border-left:1px solid #d8d2c6}.uit-tag{position:absolute;top:8px;left:50%;transform:translate(-50%);z-index:1;background:#fff;color:var(--gold-dark);font-size:10px;font-weight:700;border:1px solid var(--gold-light);border-radius:999px;padding:0 5px;line-height:14px}.uit-empty{border:1px dashed var(--line);border-radius:10px;color:#c4bdb0;font-size:11px;padding:7px 12px;text-align:center;min-width:104px;background:#fcfbf8}.report-lead{flex-direction:row;align-items:flex-start;justify-content:space-between;gap:16px}.report-lead>div{display:flex;flex-direction:column;gap:4px;min-width:0}.report-lead .wallet-btn{flex-shrink:0}.report-panel{margin-top:0;margin-bottom:16px}.report-name{font-size:18px;font-weight:800}.report-id{margin-top:4px;font-family:ui-monospace,Menlo,monospace;font-size:12px;color:var(--text-sub);word-break:break-all}.report-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:10px;font-size:12px;color:var(--text-sub)}.report-model{margin:12px 0 0;font-size:13px;color:var(--text-sub)}.report-owner{margin-top:10px;font-size:12px;color:var(--text-sub);word-break:break-all;font-family:ui-monospace,Menlo,monospace}.report-note{margin-bottom:12px;padding:8px 12px;border-radius:8px;background:#fff4e3;color:#8a5300;font-size:12px}.report-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-bottom:16px}.report-reward-stats{display:grid;grid-template-columns:repeat(2,minmax(180px,1fr));gap:10px;margin-bottom:14px}.report-stat{background:#fffdf7;border:1px solid var(--gold-light);border-radius:12px;padding:12px}.report-stat.has-action{display:flex;align-items:center;justify-content:space-between;gap:12px}.report-stat.has-action .wallet-btn{flex-shrink:0;padding:6px 14px}.report-stat span{display:block;font-size:12px;color:var(--text-sub)}.report-stat b{display:block;margin-top:2px;font-size:18px;color:var(--gold-dark);word-break:break-all}.report-hint{font-weight:400;font-size:12px;color:var(--text-sub)}.report-filters{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:12px}.report-filters input,.report-filters select{padding:7px 10px;border:1px solid var(--line);border-radius:8px;background:#fff}.report-filters input{min-width:200px}.report-count{font-size:12px;color:var(--text-sub)}.report-export{margin-left:auto;border:1px solid var(--line);background:#fff;border-radius:8px;padding:7px 12px;font-size:13px}.report .table-scroll{overflow-x:auto}.report .mono{font-family:ui-monospace,Menlo,monospace;font-size:12px}.report th.num,.report td.num{text-align:right;white-space:nowrap}.report-pager{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:12px;font-size:13px;color:var(--text-sub)}.report-pager button{border:1px solid var(--line);background:#fff;border-radius:8px;padding:6px 12px;font-size:13px}.report-pager button:disabled{opacity:.45;cursor:not-allowed}@media (max-width: 980px){.report-lead{flex-direction:column;align-items:flex-start}.report-stats{grid-template-columns:repeat(2,1fr)}.report-reward-stats{grid-template-columns:1fr}.report-export{margin-left:0}}.ops-panel,.ops-title{margin-top:0}.ops-fields{display:flex;gap:10px;flex-wrap:wrap;align-items:flex-end}.ops-fields .field{flex:1 1 160px;margin:0;font-size:12px;font-weight:500;color:var(--text-sub)}.ops-fields .field input{margin-top:4px;font-weight:400;color:var(--text)}.ops-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.ops-refresh{border:1px solid var(--line);background:#fff;border-radius:10px;padding:7px 14px;font-size:13px}.ops-err{margin-top:10px;color:var(--danger);font-size:13px;white-space:pre-wrap}.ops-status{margin-top:10px;font-size:13px;color:var(--text-sub);word-break:break-all}.ops-panel .badge{margin-left:6px}.ops-panel .report-note{margin-top:12px;margin-bottom:0}.ops-panel .table-scroll{margin-top:14px;overflow-x:auto}.attest-pair{display:grid;grid-template-columns:180px 1fr;gap:10px;align-items:end}.ops-panel .attest-pair .field,.ops-panel .panel-body>.field{margin-bottom:12px}.ops-panel .panel-body>.field input.mono{font-family:ui-monospace,Menlo,monospace;font-size:12px}.reward-amount{display:flex;align-items:center;gap:8px}.reward-amount input{width:140px;flex:0 0 auto;font-size:14px}.reward-unit{font-size:13px;font-weight:600}.attest-notes{margin:6px 0 0 18px;padding:0}@media (max-width: 720px){.attest-pair{grid-template-columns:1fr}}.ops-subtitle{margin-top:22px}.reward-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:16px}.reward-summary span{display:block;font-size:12px;color:var(--text-sub)}.reward-summary b{display:block;margin-top:4px;font-size:16px;font-weight:700}.reward-payout.table-scroll{overflow-x:auto}.ops-panel .reward-payout.table-scroll{margin-top:14px}.reward-payout .mono{font-family:ui-monospace,Menlo,monospace;font-size:12px}.reward-payout th.num,.reward-payout td.num{text-align:right;white-space:nowrap}.reward-table .badge{margin-left:0}@media (max-width: 720px){.reward-summary{grid-template-columns:1fr}}
