*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
body{margin:0;background:#e9edf2;color:#1e2329;font:14px/1.45 -apple-system,"PingFang SC","Microsoft YaHei",sans-serif}
button,input,select{font-family:inherit;font-size:14px;color:#1e2329}
button{cursor:pointer}
.phone{max-width:480px;margin:0 auto;min-height:100vh;background:#fff;position:relative;padding-bottom:72px;box-shadow:0 0 30px rgba(0,0,0,.06)}
.topbar{height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;border-bottom:1px solid #f1f1f1;position:sticky;top:0;background:#fff;z-index:3}
.topbar h1{font-size:17px;font-weight:600;margin:0}.icon{border:0;background:none;font-size:28px;width:36px;height:36px;line-height:1;color:#1e2329;padding:0}
.page{padding:16px 16px 20px}
.trader{display:flex;align-items:center;gap:12px;padding:4px 0 12px}
.avatar{width:46px;height:46px;border-radius:50%;background:linear-gradient(135deg,#f0b90b,#ffd75e);color:#3b2f00;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:18px;flex:none}
.trader-info{display:flex;flex-direction:column;flex:1;min-width:0}.trader-info b{font-size:16px}.trader-info span{color:#848e9c;font-size:12px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chev{color:#b7bcc5;font-size:22px}
.tags{display:flex;gap:8px;margin-bottom:16px}.tagline{background:#f5f5f5;color:#5e6673;border-radius:4px;padding:4px 9px;font-size:12px}
.tabs{display:flex;border-bottom:1px solid #f0f0f0;margin-bottom:12px}.tabs button{flex:1;border:0;background:none;padding:10px 0 12px;color:#848e9c;position:relative;font-size:15px}.tabs button.on{color:#1e2329;font-weight:600}.tabs button.on:after{content:"";position:absolute;left:50%;transform:translateX(-50%);bottom:-1px;width:46px;height:3px;background:#f0b90b;border-radius:3px}
.tip{color:#929aa5;font-size:12px;margin:0 0 16px}
.field{margin-bottom:16px}.field.line{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;border-bottom:1px solid #f5f5f5}
.field.line label,.label-row>span{color:#1e2329;font-size:14px}.field.line select{border:0;background:transparent;text-align:right;color:#1e2329;padding:8px 0;max-width:62%;appearance:none}
.field.line input[type=text]{border:0;background:transparent;text-align:right;width:45%;padding:8px 0}
.field input,.field select{outline:none}
.label-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.link{border:0;background:none;color:#c99400;font-size:13px;padding:0}.link:before{content:"✦ ";color:#f0b90b}
.input-box{display:flex;align-items:center;background:#f5f5f5;border-radius:8px;padding:0 12px;height:52px}
.input-box input{flex:1;min-width:0;border:0;background:transparent;font-size:20px;font-weight:500;outline:none}
.unit{color:#848e9c;font-size:14px;margin-left:6px}
.max{border:0;background:none;color:#c99400;font-size:13px;padding:6px 0 6px 10px}
.avail{color:#929aa5;font-size:12px;margin-top:8px}.avail b{color:#1e2329;font-weight:500}.add{color:#f0b90b;margin-left:4px}
.inline{display:flex;align-items:center}
.switch{position:relative;width:42px;height:24px;flex:none}.switch input{opacity:0;width:0;height:0}.switch span{position:absolute;inset:0;background:#d8dde5;border-radius:24px;transition:.2s}.switch span:before{content:"";position:absolute;width:20px;height:20px;left:2px;top:2px;background:#fff;border-radius:50%;transition:.2s;box-shadow:0 1px 3px rgba(0,0,0,.15)}.switch input:checked+span{background:#f0b90b}.switch input:checked+span:before{transform:translateX(18px)}
.adv{border-top:1px solid #f5f5f5;padding-top:6px;margin-top:8px}.adv summary{list-style:none;padding:12px 0;color:#1e2329;font-size:14px}.adv summary::-webkit-details-marker{display:none}.adv summary:after{content:"⌃";float:right;color:#b7bcc5;transition:.2s}.adv[open] summary:after{transform:rotate(180deg)}
.adv-body{padding-bottom:6px}.muted{color:#929aa5;font-size:13px}
.agree{color:#5e6673;font-size:12px;margin:18px 0 14px}.agree label{display:flex;align-items:center;gap:6px}.agree input{width:15px;height:15px;accent-color:#f0b90b}
.submit{width:100%;height:48px;border:0;border-radius:8px;background:#f8df8a;color:#8a6d00;font-size:16px;font-weight:600}.submit.ready{background:#f0b90b;color:#fff}
.poll{width:100%;height:40px;border:0;background:none;color:#929aa5;font-size:13px;margin-top:10px}
.tabbar{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:480px;height:60px;background:#fff;border-top:1px solid #f0f0f0;display:flex;z-index:4;padding-bottom:env(safe-area-inset-bottom)}
.tabbar button{flex:1;border:0;background:none;color:#929aa5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:11px}.tabbar button i{font-style:normal;font-size:19px;line-height:1}.tabbar button.on{color:#c99400}
.sheet{position:fixed;inset:0;z-index:6;background:#f5f5f5;display:flex;flex-direction:column}.sheet[hidden]{display:none}
.sheet-h{height:52px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid #eee;flex:none}.sheet-h b{font-size:16px}.close{border:0;background:none;color:#929aa5;font-size:13px}
.sheet-body{flex:1;overflow-y:auto;padding:16px}.sheet-body h3{font-size:13px;color:#929aa5;font-weight:500;margin:18px 0 8px}
.add{display:flex;gap:8px;margin-bottom:14px}.add input{flex:1;min-width:0;border:1px solid #e6e8eb;background:#fff;border-radius:8px;padding:10px}.add button{border:0;background:#f0b90b;color:#fff;border-radius:8px;padding:0 16px;font-weight:600}
.list{display:grid;gap:10px}.target{background:#fff;border-radius:10px;padding:12px}.target .top{display:flex;justify-content:space-between;align-items:center}.target .meta{color:#929aa5;font-size:12px;margin-top:4px}.target .ops{display:flex;gap:14px;margin-top:10px;flex-wrap:wrap}.target .ops label{display:flex;align-items:center;gap:4px;font-size:12px;color:#5e6673}.target .ops input{accent-color:#f0b90b}.target button{border:0;background:none;color:#c99400;font-size:12px;padding:0}
.rows{background:#fff;border-radius:10px;overflow:hidden}.row{padding:11px 12px;border-bottom:1px solid #f5f5f5}.row:last-child{border:0}.row .r1{display:flex;justify-content:space-between;font-size:13px}.row .r2{color:#929aa5;font-size:11px;margin-top:4px}.up{color:#d63c3c}.down{color:#0b9d6b}
.events{background:#fff;border-radius:10px;padding:4px 12px}.events div{font-size:12px;color:#5e6673;padding:8px 0;border-bottom:1px dashed #f0f0f0}
.note{color:#929aa5;font-size:12px;background:#fff8e1;padding:10px;border-radius:8px;margin:0 0 16px}
.sheet-body .field label{display:block;color:#5e6673;font-size:12px;margin-bottom:6px}.sheet-body .field input{width:100%;border:1px solid #e6e8eb;background:#fff;border-radius:8px;padding:11px 12px}
.api-status{font-size:12px;color:#5e6673;margin:6px 0 14px}
.api-ops{display:flex;gap:8px}.api-ops button,.logout{border:0;border-radius:8px;padding:11px 12px;background:#f0b90b;color:#fff;font-weight:600}.api-ops .ghost,.logout{background:#e9edf2;color:#5e6673;font-weight:400}.logout{width:100%;margin-top:20px}
.login{position:fixed;inset:0;background:#e9edf2;display:flex;align-items:center;justify-content:center;z-index:9}.login[hidden],.phone[hidden],.sheet[hidden],[hidden]{display:none!important}.login-card{width:320px;background:#fff;border-radius:16px;padding:28px;display:grid;gap:12px;box-shadow:0 8px 30px rgba(0,0,0,.06)}.login-card h1{font-size:20px;margin:0}.login-card p{margin:0;color:#929aa5;font-size:13px}.login-card input{border:1px solid #e6e8eb;border-radius:8px;padding:12px}.login-card button{border:0;border-radius:8px;background:#f0b90b;color:#fff;height:44px;font-weight:600}.login-card .err{color:#d63c3c;font-size:12px;min-height:16px}
.toast{position:fixed;left:50%;bottom:80px;transform:translateX(-50%);background:rgba(30,35,41,.92);color:#fff;padding:10px 16px;border-radius:8px;font-size:13px;z-index:20;max-width:88%;text-align:center}
@media(min-width:481px){.phone{min-height:100vh}}
