.tx-balance-grid { display: flex; flex-wrap: wrap; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; } .tx-balance-card { min-width: 0; background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 18px 16px; box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 12px; } .tx-balance-icon { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 21px; flex: 0 0 auto; } .tx-hidden { display: none; } #loggedInBox:not(.tx-hidden) { display: flex; } .tx-balance-icon.account { background: rgba(16, 43, 106, 0.08); color: var(--primary); } .tx-balance-icon.sales { background: rgba(241, 90, 34, 0.1); color: var(--orange); } .tx-balance-icon.expert { background: rgba(123, 45, 142, 0.1); color: var(--purple); } .tx-balance-icon.withdrawable { background: rgba(35, 175, 92, 0.1); color: #18a058; } .tx-balance-icon.frozen { background: rgba(90, 105, 135, 0.1); color: #5a6987; } .tx-tab-bar { margin-bottom: 20px; } .tx-label-tight { margin: 0; } .tx-beian-link { font-size: 12px; color: rgba(255, 255, 255, 0.5); } .tx-balance-info { min-width: 0; } .tx-balance-label { color: var(--text-muted); font-size: 13px; } .tx-balance-value { color: var(--text-dark); font-size: 23px; font-weight: 800; line-height: 1.2; margin-top: 4px; white-space: nowrap; } .tx-balance-value .unit { color: var(--text-muted); font-size: 13px; font-weight: 500; margin-left: 2px; } .tx-panel { display: none; } .tx-panel.active { display: block; } .tx-choice-grid, .tx-method-grid, .tx-account-grid { display: flex; flex-wrap: wrap; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } .tx-choice-card, .tx-method-card, .tx-account-card { border: 2px solid var(--border-light); border-radius: var(--radius-md); background: var(--bg-light); padding: 15px 16px; cursor: pointer; transition: all 0.22s; min-height: 74px; } .tx-choice-card:hover, .tx-method-card:hover, .tx-account-card:hover { border-color: var(--primary); } .tx-choice-card.selected, .tx-method-card.selected, .tx-account-card.selected { border-color: var(--primary); background: rgba(16, 43, 106, 0.05); box-shadow: 0 0 0 3px rgba(16, 43, 106, 0.1); } .tx-choice-title, .tx-method-title, .tx-account-title { color: var(--text-dark); font-size: 15px; font-weight: 800; } .tx-choice-desc, .tx-method-desc, .tx-account-desc { color: var(--text-muted); font-size: 12px; margin-top: 6px; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tx-account-title em { display: inline-block; margin-left: 8px; padding: 2px 7px; border-radius: 999px; background: rgba(255, 185, 0, 0.16); color: var(--orange); font-size: 12px; font-style: normal; font-weight: 700; } .tx-available { padding: 16px 18px; border-radius: var(--radius-md); background: rgba(241, 90, 34, 0.06); border: 1px solid rgba(241, 90, 34, 0.18); color: var(--orange); font-size: 18px; font-weight: 800; } .tx-amount-row { display: flex; gap: 10px; } .tx-amount-row .cxz-form-input { flex: 1; } .tx-all-btn, .tx-small-btn { border: none; border-radius: var(--radius-md); background: var(--primary); color: #fff; font-size: 14px; font-weight: 800; padding: 0 22px; cursor: pointer; white-space: nowrap; } .tx-small-btn { height: 40px; padding: 0 18px; } .tx-account-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; } .tx-link-btn { border: none; background: transparent; color: var(--primary); cursor: pointer; font-size: 13px; font-weight: 800; } .tx-account-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; font-size: 12px; color: var(--primary); } .tx-account-actions span { cursor: pointer; } .tx-empty { grid-column: 1 / -1; color: var(--text-muted); border: 1px dashed var(--border-light); border-radius: var(--radius-md); padding: 18px; text-align: center; } .tx-add-panel { display: none; margin-top: 14px; padding: 16px; border-radius: var(--radius-md); border: 1px dashed rgba(16, 43, 106, 0.25); background: rgba(16, 43, 106, 0.04); } .tx-add-panel.show { display: block; } .tx-add-grid { display: flex; flex-wrap: wrap; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .tx-add-grid .full { grid-column: 1 / -1; } .tx-bind-mode { display: inline-flex; gap: 8px; padding: 4px; border-radius: 999px; background: rgba(16, 43, 106, 0.06); margin-bottom: 12px; } .tx-bind-mode button { border: none; border-radius: 999px; background: transparent; color: var(--text-muted); padding: 7px 14px; cursor: pointer; font-weight: 800; } .tx-bind-mode button.active { background: var(--primary); color: #fff; } .tx-upload-box { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; grid-column: 1 / -1; } .tx-upload-name, .tx-note { color: var(--text-muted); font-size: 12px; line-height: 1.7; } .tx-qrcode-preview { width: 72px; height: 72px; border-radius: 8px; border: 1px solid var(--border-light); object-fit: cover; background: #fff; display: none; } .tx-qrcode-preview.is-visible { display: block; } .tx-save-account-btn { margin-top: 12px; } .tx-modal-mask { position: fixed; inset: 0; z-index: 999; display: none; align-items: center; justify-content: center; padding: 18px; background: rgba(10, 20, 40, 0.48); } .tx-modal-mask.show { display: flex; } .tx-modal { width: min(620px, 100%); max-height: calc(100vh - 48px); overflow: auto; background: #fff; border-radius: var(--radius-lg); box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22); } .tx-modal-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--border-light); } .tx-modal-title { color: var(--text-dark); font-size: 18px; font-weight: 800; } .tx-modal-close { border: none; background: transparent; color: var(--text-muted); cursor: pointer; font-size: 24px; line-height: 1; } .tx-modal-body { padding: 20px 22px 22px; } .tx-modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; } .tx-secondary-btn { height: 40px; padding: 0 18px; border-radius: var(--radius-md); border: 1px solid var(--border-light); background: #fff; color: var(--text-dark); cursor: pointer; font-weight: 800; } .tx-check-row { display: flex; align-items: center; gap: 8px; color: var(--text-dark); font-size: 13px; margin-top: 4px; } @media (max-width: 1120px) { .tx-balance-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } } @media (max-width: 768px) { .tx-balance-grid, .tx-choice-grid, .tx-method-grid, .tx-account-grid, .tx-add-grid { grid-template-columns: 1fr; } .tx-amount-row { flex-direction: column; } .tx-all-btn { height: 44px; } }