:root{font-family:Arial,"Segoe UI",sans-serif;color:#242b37;background:#f7f7ff}
*{box-sizing:border-box}
html{min-height:100%}
body{margin:0;background:#f7f7ff;min-height:100vh}
button{font:inherit;cursor:pointer}
.header{height:48px;background:#fff;display:flex;align-items:center;justify-content:center;position:relative}
.header h1{font-size:19px;font-weight:600;margin:0}
.back{position:absolute;left:17px;top:1px;font-size:36px;color:#1e2933;text-decoration:none;line-height:44px}
.history-page{max-width:440px;margin:0 auto;padding:12px 13px 50px}
.method-tabs{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px;scroll-snap-type:x proximity}
.method-tabs::-webkit-scrollbar{display:none}
.method{border:0;background:#fff;color:#78808c;min-width:112px;height:46px;border-radius:6px;display:flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;padding:0 12px;font-size:13px;flex:none;scroll-snap-align:start}
.method:first-child{min-width:108px}
.method.active{background:linear-gradient(110deg,#fb5a62,#ff9991);color:#fff;font-weight:600}
.method-icon{font-size:23px;line-height:1}
.method-icon.bank{color:#ffdc40}
.method-icon.upi{font-size:13px;font-weight:900;font-style:italic;color:#727780}
.method-icon.usdt{display:grid;place-items:center;background:#0ca98c;color:white;border-radius:50%;width:27px;height:27px;font-weight:700;font-size:19px}
.method-icon.arpay{color:#e4b326;font-size:23px;font-weight:900}
.filters{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:15px}
.filter-button{background:#fff;border:0;border-radius:6px;min-height:45px;padding:0 12px;display:flex;align-items:center;justify-content:space-between;text-align:left;color:#747d89;font-size:15px;font-weight:600;min-width:0}
.filter-button span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chevron{width:10px;height:10px;border-right:1.5px solid #78818d;border-bottom:1.5px solid #78818d;transform:rotate(45deg);margin-right:4px;margin-top:-5px;flex:none}
.empty-state{text-align:center;margin-top:34px;color:#c3c6d0}
.empty-art{display:block;width:min(270px,80%);height:auto;margin:0 auto}
.empty-state p{font-size:15px;letter-spacing:1px;margin-top:9px}
.sheet-overlay{position:fixed;inset:0;background:rgba(0,0,0,.70);z-index:1000;display:flex;align-items:flex-end;justify-content:center}
.sheet-overlay[hidden]{display:none}
.picker-sheet{background:linear-gradient(#fff,#fff);width:100%;max-width:440px;height:350px;border-radius:17px 17px 0 0;padding-bottom:env(safe-area-inset-bottom);overflow:hidden}
.sheet-header{height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;font-size:14px}
.sheet-header button{border:0;background:none;color:#f16b74;font-weight:600;padding:5px 0}
#cancelPicker{color:#9c9da4}
.sheet-header strong{font-size:15px}
.picker-body{height:260px;display:flex;align-items:center;justify-content:center;padding:0 14px;gap:8px}
.wheel{height:230px;overflow-y:auto;scroll-snap-type:y mandatory;scrollbar-width:none;overscroll-behavior:contain;flex:1;text-align:center}
.wheel::-webkit-scrollbar{display:none}
.wheel-item{height:48px;display:flex;align-items:center;justify-content:center;scroll-snap-align:center;color:#c8cbd1;font-size:17px;white-space:nowrap}
.wheel-item.selected{color:#77808e;font-weight:700}
.wheel-spacer{height:91px;flex:none}
@media(min-width:600px){.header{max-width:440px;margin:auto}.sheet-overlay{align-items:flex-end}}