.commission-wallet{margin:18px 20px 0;padding:16px;background:#fff;border-radius:18px;color:#333;font-size:13px}
.commission-wallet h2{font-size:16px;margin:0 0 12px}.commission-wallet h3{font-size:14px;margin:18px 0 8px}
.commission-wallet p{font-size:12px;color:#777;line-height:1.7;overflow-wrap:anywhere;margin:6px 0}
.commission-wallet .wallet-buttons{display:flex;gap:10px;flex-wrap:wrap}.commission-wallet button{border:0;border-radius:20px;padding:10px 18px;background:#ffbf43;color:#443310;font-size:13px;cursor:pointer}
.commission-wallet button:disabled{opacity:.5}.commission-wallet .wallet-secondary{background:#f1f1f1;color:#555}
.commission-wallet form{margin-top:14px;padding-top:10px;border-top:1px solid #eee}.commission-wallet label{display:block;margin-top:10px;font-size:13px}
.commission-wallet input{box-sizing:border-box;display:block;width:100%;height:40px;border:1px solid #ddd;border-radius:8px;margin:6px 0 10px;padding:8px;font-size:14px}
.commission-wallet [hidden]{display:none!important}.commission-wallet ul{list-style:none;padding:0;margin:0}.commission-wallet li{border-bottom:1px solid #f1f1f1;padding:10px 0;line-height:1.6;overflow-wrap:anywhere}
.commission-wallet [role=status]{color:#9b5c06;white-space:pre-wrap}.commission-wallet [data-wallet-more]{width:100%;margin-top:10px}
.wallet-record-links{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px;padding-top:12px;border-top:1px solid #eee}.commission-wallet .wallet-record-links button{border-radius:10px;background:#fff8e7;padding:12px 8px}
.wallet-history-mask{position:fixed;inset:0;z-index:3100;background:#0007;display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box}
.wallet-history-dialog{box-sizing:border-box;background:#fff;border-radius:16px;padding:16px;width:100%;max-width:440px;height:min(75dvh,640px);max-height:calc(100vh - 32px);display:flex;flex-direction:column;min-height:240px}
.wallet-history-dialog header{display:flex;align-items:center;justify-content:space-between;flex:none}.wallet-history-dialog h2{margin:0}.commission-wallet .wallet-history-dialog [data-history-close]{background:transparent;padding:0 8px;font-size:26px}
.wallet-history-tabs{display:flex;gap:8px;margin:12px 0;flex:none}.commission-wallet .wallet-history-tabs button{flex:1;background:#f3f3f3;padding:10px 6px;border-radius:8px}.commission-wallet .wallet-history-tabs [aria-selected=true]{background:#ffbf43}
.wallet-history-dialog [data-history-list]{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.wallet-history-dialog footer{flex:none;display:flex;justify-content:space-between;align-items:center;padding-top:12px;gap:8px}.commission-wallet .wallet-history-dialog footer button{padding:8px 12px}.wallet-history-dialog [role=status]:empty{display:none}
