.donate-page{--payment-accent:#ea603c;--payment-soft:#fff4ef;--payment-line:#f4ded6}
.donate-page .payment-icon{display:inline-block;flex:none;vertical-align:middle;width:20px;height:20px}
.donate-page .card-header>.payment-icon{color:var(--payment-accent)}
.donate-page .btn{gap:8px;min-height:38px;transition:background .15s,border-color .15s,box-shadow .15s;white-space:normal}
.donate-page .btn:focus-visible{outline:3px solid #fdba74;outline-offset:3px}
.donate-page .card-header{flex-wrap:wrap}.donate-page .btn-actions-pane-right{margin-left:auto;display:flex;gap:8px;flex-wrap:wrap}
.donate-methods{display:grid;grid-template-columns:repeat(var(--donate-columns,1),minmax(0,1fr));gap:16px;margin-top:22px}
.donate-page .donate-method{height:100%;min-height:126px;display:flex;flex-direction:column;gap:14px;padding:22px 16px;border-radius:14px;background:white;border-color:#e2e8f0;color:#334155;text-align:center;text-decoration:none}
.donate-page .donate-method .payment-icon{box-sizing:content-box;width:26px;height:26px;padding:13px;background:var(--payment-soft);color:var(--payment-accent);border-radius:14px}
.donate-page .donate-method:hover{background:#fffaf7;border-color:#fdba9c;box-shadow:0 4px 16px #ea603c12}
.donate-page .donate-method[href*="momo"] .payment-icon{color:#b42377;background:#fdf0f7}
.donate-page .donate-method[href*="card"] .payment-icon,.donate-page .donate-method[href*="tsr"] .payment-icon{color:#2563eb;background:#eff6ff}
.donate-page .donate-method[href*="usdt"] .payment-icon{color:#13886c;background:#ecfdf5}
.bank-transfer{display:grid;grid-template-columns:minmax(130px,.75fr) minmax(280px,1.5fr) minmax(200px,.85fr);gap:28px;align-items:center;padding:12px 4px}
.bank-identity{display:flex;flex-direction:column;align-items:center;gap:18px;text-align:center;color:#64748b;font-size:12px}
.bank-identity img{max-width:100%;height:auto}.bank-identity strong{font-size:24px;color:#0f766e;overflow-wrap:anywhere}
.bank-symbol{display:grid;place-items:center;width:64px;height:64px;border-radius:20px;background:#f0fdf4;color:#15803d}.bank-symbol .payment-icon{width:32px;height:32px}
.bank-details{min-width:0;display:grid;gap:20px}.transfer-field{display:grid;gap:7px}.transfer-label{display:block;font-size:12px;font-weight:500;color:#64748b}
.transfer-value-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.transfer-value-row strong{min-width:0;overflow-wrap:anywhere;font-size:18px;line-height:1.5}
.account-number{color:#15803d;font-variant-numeric:tabular-nums;letter-spacing:.4px}.account-holder{font-size:15px;color:#334155}
.donate-page .transfer-copy{flex:none;background:white;border-color:#e2e8f0;color:#475569;padding:7px 10px;font-size:11px;min-height:34px}.donate-page .transfer-copy:hover{background:var(--payment-soft);border-color:#fdba9c;color:#c2410c}.transfer-copy .payment-icon{width:16px;height:16px}
.transfer-memo{padding:14px 16px;border:1px solid var(--payment-line);background:var(--payment-soft);border-radius:12px;display:grid;gap:9px}.transfer-memo strong{font-size:16px;color:#c2410c}
.transfer-hint{display:flex;align-items:flex-start;gap:7px;color:#64748b;font-size:12px;line-height:1.7;margin:0}.transfer-hint .payment-icon{color:#16a34a;width:18px;height:18px;margin-top:1px}
.transfer-qr{display:flex;align-items:center;flex-direction:column;gap:12px}.transfer-qr-image{max-width:100%;padding:12px;border:1px solid #e2e8f0;border-radius:16px;background:white}.transfer-qr-image img{display:block;width:220px;max-width:100%;height:auto}.transfer-qr>span{display:flex;align-items:center;gap:6px;font-size:11px;color:#64748b}
.donate-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:20px}.donate-actions .btn{margin:0}
@media(max-width:1100px){.bank-transfer{grid-template-columns:minmax(0,1fr) 220px;gap:24px}.bank-identity{grid-column:1 / -1;flex-direction:row;justify-content:flex-start;flex-wrap:wrap;text-align:left}.bank-identity img{width:140px}.bank-symbol{width:44px;height:44px;border-radius:12px}.bank-symbol .payment-icon{width:24px;height:24px}}
@media(max-width:640px){.bank-transfer{grid-template-columns:minmax(0,1fr);padding:0;gap:24px}.bank-identity{gap:12px}.bank-identity>span:last-child{width:100%}.transfer-qr{padding-top:18px;border-top:1px solid #f1f5f9}.donate-methods{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.donate-page .donate-method{padding:16px 10px;font-size:11px;min-height:118px}.donate-page .btn-actions-pane-right{margin-left:0}}

@media(max-width:767px){.donate-methods{grid-template-columns:minmax(0,1fr)}}

.bank-name-page{width:100%;max-width:760px;margin:0 auto}.bank-name-back{display:inline-flex;align-items:center;gap:8px;color:#64748b;font-size:12px;margin-bottom:16px;text-decoration:none}.bank-name-back:hover{color:#c2410c}.bank-name-back:focus-visible{outline:2px solid #fdba74;outline-offset:4px;border-radius:4px}.donate-page .bank-name-card>.card-header{padding:20px 24px;gap:14px;background:#fff8f3;align-items:center}.bank-name-icon{display:grid;place-items:center;width:44px;height:44px;flex:none;background:#ffeadb;border:1px solid #fed7c3;border-radius:13px;color:#c2410c}.bank-name-icon .payment-icon{width:23px;height:23px}.bank-name-card h1{font-size:16px;font-weight:700;color:#334155;line-height:1.5}.bank-name-card .card-header p{margin:4px 0 0;font-size:12px;font-weight:400;color:#64748b}.donate-page .bank-name-card>.card-body{padding:24px}.bank-name-notice{display:flex;align-items:flex-start;gap:10px;padding:13px 15px;border:1px solid #bfdbfe;border-radius:10px;background:#eff6ff;color:#475569;line-height:1.8;margin-bottom:22px;font-size:12px}.bank-name-notice>.payment-icon{color:#2563eb;margin-top:2px;width:18px;height:18px}.bank-name-notice p{margin:0}.bank-name-label{display:block;margin-bottom:8px;color:#334155;font-size:12px;font-weight:600}.donate-page .bank-name-card .form-control{min-height:44px;font-size:13px;padding:11px 13px;border-color:#cbd5e1;border-radius:10px}.bank-name-limit{margin:10px 0 0;color:#a16207;font-size:12px;line-height:1.7}.bank-name-footer{display:flex;justify-content:flex-end;border-top:1px solid #e2e8f0;margin-top:24px;padding-top:18px}.donate-page .bank-name-footer .btn{padding:11px 18px;background:#ea603c;color:#fff;border-color:#ea603c;box-shadow:0 2px 5px #ea603c20}.donate-page .bank-name-footer .btn:hover{background:#d94f2c;border-color:#d94f2c}
@media(max-width:640px){.donate-page .bank-name-card>.card-header{padding:16px;gap:10px}.donate-page .bank-name-card>.card-body{padding:18px 16px}.bank-name-card h1{font-size:14px}.bank-name-footer .btn{width:100%;justify-content:center}}
.usdt-page{display:grid;gap:18px}.donate-page .usdt-page>.card{margin:0}.usdt-title h1{font-size:16px;font-weight:700;color:#334155}.usdt-title p{font-size:12px;font-weight:400;color:#64748b;margin-top:4px}.usdt-token{display:grid;place-items:center;flex:none;width:44px;height:44px;border:1px solid #a7e3d1;border-radius:14px;background:#e9faf3;color:#13866b;font-size:28px;font-weight:700}.donate-page .usdt-title{gap:12px;padding:18px 20px;background:#f8fcfa}.usdt-networks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.usdt-network{min-width:0;padding:16px;border:1px solid #e2e8f0;border-radius:13px;background:#fff}.usdt-network-heading{display:flex;align-items:center;gap:10px;margin-bottom:16px}.usdt-network-heading span:not(.usdt-network-symbol){font-size:10px;color:#64748b}.usdt-network h2{font-size:13px;font-weight:700;color:#334155}.usdt-network-symbol{display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:10px;background:#f1f5f9;color:#334155;font-size:16px;font-weight:700}.usdt-network-plasma .usdt-network-symbol{background:#f3e8ff;color:#7e22ce}.usdt-network-tron .usdt-network-symbol{background:#fff1f2;color:#e11d48}.usdt-network>label{display:block;margin-bottom:6px;font-size:11px;font-weight:500;color:#64748b}.usdt-wallet{display:block;box-sizing:border-box;resize:none;width:100%;min-height:78px;padding:10px 11px;border:1px solid #e2e8f0;border-radius:9px;background:#f8fafc;font:11px/1.7 ui-monospace,SFMono-Regular,monospace;color:#334155;overflow-wrap:anywhere;word-break:break-all}.usdt-wallet:focus{outline:2px solid #ffddd3;border-color:#ff9d7d}.donate-page .usdt-copy{width:100%;margin-top:12px;justify-content:center;background:#fff4ef;border-color:#fed7c3;color:#b8431e;font-size:11px}.donate-page .usdt-copy:hover{background:#ffe4d2}.usdt-copy .payment-icon{width:16px;height:16px}.usdt-check-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(200px,1fr);gap:20px;margin-top:22px;padding-top:22px;border-top:1px solid #e2e8f0}.usdt-check-panel h2{display:flex;align-items:center;gap:8px;margin-bottom:16px;font-size:14px;font-weight:700;color:#334155}.usdt-check-panel h2>.payment-icon{color:#ea603c}.usdt-check-panel form>label{display:block;margin-bottom:8px;font-size:12px;font-weight:600;color:#475569}.donate-page .usdt-check-panel .form-control{min-height:42px;font-family:ui-monospace,SFMono-Regular,monospace;font-size:12px}.donate-page .usdt-check-panel .btn{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:12px;min-height:40px;background:#ea603c;color:#fff;border-color:#ea603c}.donate-page .usdt-check-panel .btn:hover{background:#d94f2c}.usdt-rate{margin:12px 0 0;font-size:11px;color:#64748b;line-height:1.7}.usdt-rate strong{color:#0f766e}.usdt-instructions{padding:18px;border:1px solid #bfdbfe;border-radius:12px;background:#eff6ff}.usdt-instruction-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid #bfdbfe;background:#fff;border-radius:9px;color:#2563eb;margin-bottom:10px}.usdt-instructions h2{font-size:13px;font-weight:700;color:#1e40af;margin-bottom:8px}.usdt-instructions p{font-size:12px;line-height:1.8;color:#475569}.usdt-instructions a{display:inline-flex;gap:6px;margin-top:10px;font-size:12px;font-weight:600;color:#1d4ed8;text-decoration:underline}
.usdt-page .table-responsive{border:1px solid #e2e8f0;border-radius:10px}.usdt-page .table th{background:#fff4ed;color:#7c3d25;white-space:nowrap;font-size:11px}.usdt-page .table td{vertical-align:middle;font-size:12px}.usdt-page .table tbody tr:nth-child(even){background:#fafbfd}.usdt-page .table td:nth-child(3){min-width:170px;max-width:280px;overflow-wrap:anywhere}.usdt-page .table td:last-child{min-width:180px;font-size:11px;color:#64748b}
@media(max-width:1100px){.usdt-networks{grid-template-columns:minmax(0,1fr)}.usdt-wallet{min-height:60px;height:60px}.usdt-network{display:grid;grid-template-columns:minmax(0,1fr) 170px;gap:0 16px}.usdt-network-heading{grid-column:1 / -1;margin-bottom:12px}.usdt-network>label{grid-column:1}.usdt-network .usdt-wallet{grid-column:1}.donate-page .usdt-network .usdt-copy{grid-column:2;grid-row:2 / 4;margin-top:0;align-self:end;min-height:60px}}
@media(max-width:640px){.usdt-check-layout{grid-template-columns:minmax(0,1fr);gap:16px}.usdt-network{display:block}.donate-page .usdt-network .usdt-copy{margin-top:10px;min-height:36px}.usdt-wallet{height:78px}.usdt-page .card-body{padding:16px}.usdt-network-heading{margin-bottom:14px}}

/* Keep the history table and DataTables controls at the full card width. */
.donate-page .usdt-history>.card-header{background:#fff8f3;gap:9px;padding:16px 20px}.donate-page .usdt-history>.card-body{padding:16px 20px 20px}.usdt-history .table-responsive{width:100%;max-width:100%;min-width:0;overflow:auto}.usdt-history .dt-container{width:100%;min-width:0}.usdt-history .dt-layout-row{width:100%;margin:0;box-sizing:border-box;padding:12px 14px;gap:12px;align-items:center}.usdt-history .dt-layout-row:first-child{background:#f8fafc;border-bottom:1px solid #e2e8f0}.usdt-history .dt-layout-table{display:block!important;padding:0!important;overflow:auto}.usdt-history .dt-layout-table>.dt-layout-cell{display:block;width:100%;min-width:0}.usdt-history table.table{width:100%!important;min-width:800px;border-collapse:collapse;margin:0}.usdt-history .table th{font-size:11px;white-space:nowrap;padding:12px 14px}.usdt-history .table td{padding:13px 14px;border-bottom:1px solid #eef2f6;line-height:1.6}.usdt-history .table td:first-child{width:48px;min-width:48px;color:#94a3b8;font-size:11px}.usdt-history .table td:nth-child(2){min-width:105px;font-weight:600;color:#334155}.usdt-history .table td:nth-child(2) a{color:#c2410c}.usdt-history .table td:nth-child(3){width:240px;min-width:170px;max-width:260px}.usdt-history-code{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:260px;padding:7px 9px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;font:11px/1.5 ui-monospace,SFMono-Regular,monospace;color:#475569;text-overflow:ellipsis}.usdt-history-code:focus{outline:2px solid #ffddd3;border-color:#ff9d7d;background:#fff}.usdt-history-amount,.usdt-history-credit{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:600}.usdt-history .table .usdt-history-credit{color:#0f766e}.usdt-history-status{min-width:110px}.donate-page .usdt-history-status .btn{min-height:26px;padding:4px 8px;border-radius:7px;font-size:10px;margin:2px 4px 2px 0;white-space:nowrap}.usdt-history-status .btn.active{cursor:default;box-shadow:none}.usdt-history-time{min-width:150px!important;white-space:nowrap}.usdt-history-time time{display:block;color:#475569;font-size:11px}.usdt-history-time small{display:block;color:#94a3b8;font-size:10px;margin-top:3px}.usdt-history .dt-input{border-radius:8px;background:#fff;padding:7px 9px}.usdt-history .dt-search input{width:180px;max-width:100%}.usdt-history .dt-info{font-size:11px;color:#64748b}.usdt-history .dt-paging-button.current{background:#ea603c;color:#fff;border-color:#ea603c}.usdt-history .dt-paging-button.disabled{color:#94a3b8;background:#f8fafc}.usdt-history .dt-empty{text-align:center!important;padding:32px 14px!important;color:#94a3b8!important;font-size:12px!important}
@media(max-width:640px){.donate-page .usdt-history>.card-body{padding:12px}.usdt-history .dt-layout-row{padding:10px;flex-wrap:wrap}.usdt-history .dt-search input{width:140px}.usdt-history .table th,.usdt-history .table td{padding:10px 12px}}

/* Shared presentation for all payment methods; form and payment rules stay in each view. */
.donate-page{min-width:0;color:#334155;line-height:1.65}
.donate-page>.card{overflow:hidden}.donate-page .card-header{gap:10px;color:#334155;font-weight:700;background:#fff8f4;border-bottom:1px solid #f4e3db}
.donate-page .card-body{min-width:0}.donate-page .form-group{margin-bottom:18px}.donate-page .col-form-label{font-weight:600;color:#475569}
.donate-page .form-control{border:1px solid #cbd5e1;border-radius:10px;min-height:42px;padding:10px 12px;background:#fff;color:#334155;max-width:100%;box-sizing:border-box}
.donate-page .form-control:focus{outline:2px solid #ffddce;outline-offset:1px;border-color:#f59b7d}
.donate-page .alert{padding:14px 16px;border-radius:12px;line-height:1.8;overflow-wrap:anywhere}
.donate-page .list-group-item{padding:16px 18px;margin-bottom:12px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc;line-height:1.9;overflow-wrap:anywhere}.donate-page .card-body p{overflow-wrap:anywhere}
.donate-page .card-body p.d-flex{flex-wrap:wrap;gap:7px}.donate-page .clipboard-trigger{flex:none;white-space:nowrap}
.donate-page .card-body svg:not(.payment-icon){max-width:100%;height:auto}.donate-page .card-body img{max-width:100%;height:auto}
.donate-page .donate-history{width:100%;border:1px solid #e2e8f0;border-radius:12px;background:#fff}
.donate-history .dt-container{display:block;width:100%;max-width:100%}.donate-history .dt-layout-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;flex-wrap:wrap}
.donate-history .dt-layout-table{display:block;padding:0;overflow-x:auto}.donate-history .dt-layout-full{width:100%}
.donate-page .donate-history .table{width:100%!important;margin:0;border:0;font-size:12px}
.donate-page .donate-history .table th{padding:13px 14px;background:#fff4ed;color:#7c4a33;font-size:11px;font-weight:600;white-space:nowrap;border-bottom:1px solid #f0ddd1}
.donate-page .donate-history .table td{padding:13px 14px;vertical-align:middle;border-bottom:1px solid #edf2f7;color:#334155}
.donate-history .table tbody tr:nth-child(even){background:#fafcfe}.donate-history .table tbody tr:hover{background:#fffaf6}
.donate-history .table td input:not([type=hidden]){box-sizing:border-box;width:100%;min-width:130px;max-width:240px;padding:7px 9px;border:1px solid #dbe3ec;border-radius:8px;background:#f8fafc;color:#475569;font-size:11px;text-overflow:ellipsis}
.donate-history .table td a{font-weight:600;color:#c2410c}.donate-page .donate-history .btn{min-height:28px;padding:4px 9px;font-size:11px;border-radius:8px;margin:2px;white-space:nowrap}
.donate-history-time{min-width:150px;white-space:nowrap;font-variant-numeric:tabular-nums}.donate-history-time time{display:block}.donate-history-time small{display:block;color:#64748b;font-size:11px;margin-top:3px}
.donate-history .dt-input{padding:7px 9px;border:1px solid #cbd5e1;border-radius:8px;background:#fff}.donate-history .dt-search input{width:180px;max-width:100%}.donate-history .dt-info{font-size:11px;color:#64748b}.donate-history .dt-empty{text-align:center;padding:30px!important;color:#64748b}
@media(max-width:640px){.donate-page .card-body{padding:16px}.donate-page .card-header{padding:15px 16px}.donate-history .dt-layout-row{padding:10px}.donate-history .dt-search input{width:145px}.donate-page .donate-history .table th,.donate-page .donate-history .table td{padding:11px 12px}.donate-page .btn-actions-pane-right{width:100%}}

/* MoMo wallets share the ATM three-column payment layout. */
.donate-page .momo-transfer .momo-logo{width:112px;height:112px;object-fit:contain}
.donate-page .momo-expiry{margin:0;padding:10px 14px;border:1px solid #fecdd3;border-radius:10px;background:#fff1f2;font-size:13px}
.donate-page .momo-transfer .transfer-qr-image svg{display:block;width:180px;max-width:100%;height:auto}
.donate-page .momo-notice{margin:18px 0 0;font-size:12px;line-height:1.8}
@media(max-width:1100px){.donate-page .momo-transfer .momo-logo{width:64px;height:64px}}

.donate-page .atm-history-header{flex-wrap:nowrap;gap:8px}
.atm-history-title{display:inline-flex;align-items:center;gap:8px;min-width:0}
.donate-page .atm-history-header>.btn-actions-pane-right{width:auto;flex:none;margin-left:auto}
.donate-page .atm-view-all{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:4px 8px;font-size:11px;white-space:nowrap;margin:0}
@media(max-width:640px){.donate-page .atm-view-all .payment-icon{display:none}.donate-page .atm-history-header{padding:12px}.atm-history-title{font-size:12px;gap:6px}}

/* ATM history reuses the same rows, sorting and pagination as desktop. */
@media(max-width:640px){
.donate-page .atm-mobile-history{border:0;overflow:visible;background:transparent}
.atm-mobile-history .dt-layout-table{overflow:visible}.atm-mobile-history .dt-layout-row{padding:10px 0}
.donate-page .atm-mobile-history .table{display:block;background:transparent}
.atm-mobile-history colgroup{display:none}.atm-mobile-history thead{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.atm-mobile-history tbody{display:block}
.atm-mobile-history tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 10px;margin-bottom:12px;padding:12px;border:1px solid #e2e8f0;border-radius:12px;background:#fff}
.donate-page .atm-mobile-history .table td{display:block;width:auto!important;min-width:0;max-width:100%;padding:0;border:0;overflow-wrap:anywhere;font-size:12px}
.atm-mobile-history td[data-label]::before{content:attr(data-label);display:block;margin-bottom:4px;font-size:10px;font-weight:500;color:#64748b}
.donate-page .atm-mobile-history .atm-entry-index{display:none}
.atm-entry-reference{order:1}.atm-entry-status{order:2;text-align:right}.atm-entry-amount{order:3;font-weight:700}.atm-entry-credit{order:4;font-weight:700}
.atm-entry-time{order:5;grid-column:1/-1;white-space:normal;border-top:1px solid #edf2f7!important;padding-top:8px!important}.atm-entry-approve{order:6;grid-column:1/-1;color:#64748b!important}
.atm-entry-user{order:7}.atm-entry-domain{order:8}.atm-entry-user,.atm-entry-domain{grid-column:1/-1}
.donate-page .atm-mobile-history .atm-entry-approve-empty{display:none}
.donate-page .atm-mobile-history:not(.atm-history-admin) .atm-entry-user,.donate-page .atm-mobile-history:not(.atm-history-admin) .atm-entry-domain{display:none}
.donate-page .atm-mobile-history .atm-entry-reference input{width:100%;min-width:0;max-width:100%;padding:4px 6px;font-size:11px}
.atm-mobile-history .atm-entry-status .btn{margin:0 0 5px 4px;padding:4px 6px;font-size:10px;min-height:26px}
.atm-mobile-history .dt-search{display:flex;align-items:center;gap:8px;width:100%}.atm-mobile-history .dt-search input{flex:1;min-width:0;width:100%;margin:0}
.atm-mobile-history .dt-empty{grid-column:1/-1;text-align:center}
.atm-mobile-history tbody tr:has(.dt-empty){display:block}
}

/* ATM history: compact payment details and readable transaction references. */
.atm-history-tools{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.atm-history-tools label{margin:0;white-space:nowrap}
.atm-history-tools select{width:auto;max-width:100%;min-height:36px;font-size:12px}
.atm-reference-row{display:flex;align-items:center;gap:8px;min-width:0}
.atm-reference-row>span{overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.donate-page .atm-reference-row .btn{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:32px;min-height:32px;margin:0}
.atm-entry-amount strong{font-size:14px;white-space:normal;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.atm-credit{display:block;margin-top:4px;font-size:11px;font-weight:500;white-space:nowrap;font-variant-numeric:tabular-nums}
.atm-entry-status .badge{padding:6px 9px;font-size:11px;white-space:nowrap}
@media(max-width:640px){
.atm-mobile-history tbody tr{grid-template-columns:minmax(0,1fr) auto}
.donate-page .atm-mobile-history .table .atm-entry-index,.donate-page .atm-mobile-history .table .atm-entry-reference{display:none}
.atm-mobile-history .atm-entry-amount{order:2}
.atm-mobile-history .atm-entry-status{order:3;display:flex!important;flex-direction:column;align-items:flex-end;gap:8px}
.atm-mobile-history .atm-entry-status .btn{margin:0;min-height:32px}
.atm-mobile-history .atm-entry-time{order:4}
.atm-mobile-history .dt-length{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.atm-mobile-history .dt-paging{max-width:100%;overflow-x:auto}
.atm-mobile-history .dt-layout-cell{min-width:0;max-width:100%}
}

/* Keep ATM transfer actions side by side on small screens. */
@media(max-width:640px){
.donate-page .atm-transfer-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}
.donate-page .atm-transfer-actions .btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:100%;min-width:0;min-height:56px;margin:0!important;padding:8px 5px;font-size:10px;line-height:1.4;white-space:normal}
.donate-page .atm-transfer-actions .payment-icon{width:16px;height:16px;margin:0;flex:none}
}

/* One toolbar for ATM history filters on desktop and mobile. */
.donate-page .atm-history-tools{display:grid;grid-template-columns:minmax(140px,180px) minmax(90px,110px) minmax(180px,1fr);align-items:end;gap:12px;margin:0 0 16px;font-size:12px}
.atm-history-tools .atm-status-field,.atm-history-tools .dt-length,.atm-history-tools .dt-search{display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:0;margin:0;text-align:left}
.atm-history-tools label{display:block;margin:0;font-size:12px;font-weight:500;line-height:1.5}
.atm-history-tools .dt-length label{order:-1}
.donate-page .atm-history-tools select,.donate-page .atm-history-tools input{box-sizing:border-box;display:block;width:100%;max-width:100%;height:38px;min-height:38px;margin:0;padding:7px 10px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;font:inherit;line-height:1.5}
@media(max-width:640px){
.donate-page .atm-history-tools{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-bottom:14px}
.atm-history-tools .dt-search{grid-column:1/-1}
.donate-page .atm-history-tools input{font-size:16px}
}

/* Search first, status on the right; page size stays fixed at ten. */
.donate-page .atm-history-tools{grid-template-columns:minmax(0,1fr) minmax(120px,180px)}
.atm-history-tools .dt-search{grid-column:auto}
@media(max-width:640px){
.donate-page .atm-history-tools{grid-template-columns:minmax(0,1fr) minmax(105px,120px)}
.atm-history-tools .dt-search{grid-column:auto}
}

/* Card histories retain card-specific details in the mobile transaction card. */
.atm-mobile-history .atm-entry-status .badge{margin:2px 0}
.atm-mobile-history .atm-entry-status{overflow-wrap:anywhere}
@media(max-width:640px){
.atm-mobile-history .donate-entry-network{order:1;grid-column:1/-1}
.atm-mobile-history .donate-entry-serial{order:5;grid-column:1/-1}
.atm-mobile-history .donate-entry-pin{order:6;grid-column:1/-1}
.atm-mobile-history .atm-entry-status{max-width:150px}
.atm-mobile-history .atm-entry-status b{font-size:11px;text-align:right}
}

/* MoMo and USDT keep transaction lookup and copying available on mobile. */
@media(max-width:640px){
.donate-page .atm-mobile-history.donate-mobile-reference .table .atm-entry-reference{display:block;order:1;grid-column:1/-1}
}

/* ATM uses full-width payment and transaction rows on mobile. */
.atm-compact-history .atm-approval-label{display:none}
@media(max-width:640px){
.donate-page .atm-compact-history .table .atm-entry-amount{display:block;grid-column:1/-1;order:2}
.atm-compact-history .atm-amount-values{display:flex;align-items:baseline;gap:8px;flex-wrap:nowrap}
.atm-compact-history .atm-amount-values strong,.atm-compact-history .atm-credit{white-space:nowrap}
.atm-compact-history .atm-credit{margin-top:0}
.donate-page .atm-compact-history .table .atm-entry-transaction{grid-column:1/-1;order:3;max-width:100%;align-items:flex-start;text-align:left}
.atm-compact-history .atm-entry-transaction .atm-reference-row{max-width:100%}
.donate-page .atm-compact-history .table .atm-entry-time{display:flex;align-items:baseline;gap:4px 10px;flex-wrap:wrap}
.atm-compact-history .atm-entry-time time{display:inline;white-space:nowrap}
.atm-compact-history .atm-approval-label{display:inline}
}

/* ATM emphasizes credited coins using the shared brand palette. */
.atm-compact-history .atm-deposit{display:block;font-size:11px;font-weight:500;white-space:nowrap;font-variant-numeric:tabular-nums}
.atm-compact-history .atm-received{display:block;margin-top:4px;font-size:14px;font-weight:700;white-space:nowrap}
@media(max-width:640px){
.atm-compact-history .atm-amount-values .atm-deposit,.atm-compact-history .atm-amount-values .atm-received{display:inline;margin:0}
}

/* Separate deposited/credited amounts and creation/approval timestamps. */
.atm-compact-history .atm-amount-values{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.atm-compact-history .atm-amount-values .atm-received{margin-top:0}
.atm-compact-history .atm-entry-time{white-space:normal}
.atm-compact-history .atm-time-part{display:inline-flex;align-items:baseline;gap:4px;white-space:nowrap}
.atm-compact-history .atm-time-part time{display:inline}
.atm-compact-history .atm-meta-separator{display:inline-block;padding:0 2px;font-weight:500}
@media(max-width:640px){
.donate-page .atm-compact-history .table .atm-entry-time{display:block;line-height:1.9}
.atm-compact-history .atm-entry-time .atm-meta-separator{margin:0 5px}
}

/* Keep ATM expiry feedback and recheck action on one mobile row. */
@media(max-width:640px){
.donate-page .atm-compact-history .table .atm-entry-expired{flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:nowrap;gap:8px}
.atm-compact-history .atm-entry-expired .badge{margin:0;padding:5px 8px;font-size:11px;line-height:1.5}
.donate-page .atm-compact-history .atm-entry-expired .btn{margin:0;min-height:32px;padding:5px 9px;font-size:11px;line-height:1.5;white-space:nowrap}
}

/* ATM expiry is informational; recheck is a compact lookup action. */
.atm-compact-history .atm-entry-expired .atm-status-label{display:inline-flex;align-items:center;min-height:30px;box-sizing:border-box;padding:5px 10px;border:1px solid;border-radius:8px;font-size:11px;font-weight:600;line-height:1.5;vertical-align:middle}
.donate-page .atm-compact-history .atm-entry-expired .atm-recheck{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:32px;padding:5px 10px;border-radius:8px;font-size:11px;font-weight:600;line-height:1.5;vertical-align:middle}
.atm-compact-history .atm-recheck .payment-icon{flex:none;width:14px;height:14px;margin:0}

/* Match ATM expiry label and recheck action dimensions. */
.donate-page .atm-compact-history .atm-entry-expired .atm-status-label,
.donate-page .atm-compact-history .atm-entry-expired .atm-recheck{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:80px;height:32px;min-height:32px;padding:5px 10px;margin:0;border:1px solid;border-radius:8px;font-size:11px;font-weight:600;line-height:1.5;white-space:nowrap;flex:none}

/* Desktop ATM history: aligned columns and compact, consistent row content. */
@media(min-width:641px){
.donate-page .atm-compact-history .table{min-width:700px;border-collapse:collapse}
.donate-page .atm-compact-history.atm-history-admin .table{min-width:920px}
.donate-page .atm-compact-history .table th,.donate-page .atm-compact-history .table td{padding:14px 16px;vertical-align:middle}
.atm-compact-history .atm-heading-index,.atm-compact-history .atm-entry-index{width:44px;text-align:center;font-variant-numeric:tabular-nums}
.atm-compact-history .atm-heading-transaction,.atm-compact-history .atm-entry-transaction{min-width:180px;text-align:left}
.atm-compact-history .atm-transaction-content{display:inline-flex;align-items:center;gap:8px;max-width:100%}
.atm-compact-history .atm-entry-transaction .atm-reference-row{gap:10px;max-width:280px}
.atm-compact-history .atm-entry-transaction .atm-reference-row>span{font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}
.atm-compact-history .atm-heading-amount,.atm-compact-history .atm-entry-amount{text-align:right;min-width:190px}
.atm-compact-history .atm-amount-values{justify-content:flex-end;flex-wrap:nowrap;gap:10px}
.atm-compact-history .atm-deposit{font-size:12px}
.atm-compact-history .atm-received{font-size:14px}
.atm-compact-history .atm-heading-time,.atm-compact-history .atm-entry-time{text-align:left;min-width:260px}
.atm-compact-history .atm-entry-time{font-size:11px;line-height:1.9}
.atm-compact-history .atm-entry-time .atm-meta-separator{margin:0 6px}
.atm-compact-history .atm-entry-user,.atm-compact-history .atm-entry-domain{max-width:180px;overflow-wrap:anywhere}
.atm-compact-history .dt-layout-row:last-child{padding:12px 16px}
}

@media(max-width:640px){
.atm-compact-history .atm-entry-expired .atm-transaction-content{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}
.atm-compact-history .atm-transaction-content{min-width:0;max-width:100%}
}

/* Stack desktop metadata to leave more width for transaction IDs. */
@media(min-width:641px){
.donate-page .atm-compact-history .table{min-width:580px}
.donate-page .atm-compact-history.atm-history-admin .table{min-width:800px}
.atm-compact-history .atm-heading-amount,.atm-compact-history .atm-entry-amount{width:140px;min-width:120px}
.atm-compact-history .atm-amount-values{flex-direction:column;align-items:flex-end;gap:3px}
.atm-compact-history .atm-heading-time,.atm-compact-history .atm-entry-time{width:180px;min-width:160px}
.atm-compact-history .atm-time-part{display:flex;gap:5px}
.atm-compact-history .atm-amount-values>.atm-meta-separator,.atm-compact-history .atm-entry-time>.atm-meta-separator{display:none}
.atm-compact-history .atm-entry-transaction .atm-reference-row{max-width:none}
}

/* Desktop ATM: let transaction IDs determine their required column width. */
@media(min-width:641px){
.donate-page .atm-compact-history .table{table-layout:auto}
.donate-page .atm-compact-history .table th,.donate-page .atm-compact-history .table td{padding:12px}
.atm-compact-history .atm-heading-index,.atm-compact-history .atm-entry-index{width:1%;min-width:32px;white-space:nowrap}
.atm-compact-history .atm-heading-transaction,.atm-compact-history .atm-entry-transaction{width:auto;min-width:180px;white-space:nowrap;overflow-wrap:normal}
.atm-compact-history .atm-entry-transaction .atm-transaction-content,.atm-compact-history .atm-entry-transaction .atm-reference-row{max-width:none;flex-wrap:nowrap}
.atm-compact-history .atm-entry-transaction .atm-reference-row>span{flex:none;white-space:nowrap;overflow-wrap:normal;word-break:normal}
.atm-compact-history .atm-heading-amount,.atm-compact-history .atm-entry-amount{width:1%;min-width:120px;white-space:nowrap}
.atm-compact-history .atm-heading-time,.atm-compact-history .atm-entry-time{width:1%;min-width:160px}
.atm-compact-history .atm-entry-user,.atm-compact-history .atm-entry-domain{width:1%;min-width:100px;max-width:160px}
}

/* Read-only transaction fields align copy controls across ATM rows. */
.donate-page .atm-compact-history .atm-entry-transaction .atm-reference-row{display:flex;align-items:center;gap:8px;width:100%;max-width:100%}
.donate-page .atm-compact-history .atm-entry-transaction .atm-transaction-code{display:block;box-sizing:border-box;width:220px;min-width:0;max-width:100%;height:32px;padding:5px 9px;font:inherit;font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap;text-overflow:ellipsis}
@media(min-width:641px){
.atm-compact-history .atm-entry-transaction .atm-transaction-content{width:260px;max-width:100%}
.donate-page .atm-compact-history .atm-entry-transaction .atm-transaction-code{flex:1 1 0;width:0}
}
@media(max-width:640px){
.atm-compact-history .atm-entry-transaction .atm-transaction-content{width:100%}
.donate-page .atm-compact-history .atm-entry-transaction .atm-transaction-code{flex:1 1 0;width:0;max-width:none}
}

/* Balance ATM desktop columns around the fixed transaction input group. */
@media(min-width:641px){
.donate-page .atm-compact-history .table{min-width:620px;table-layout:auto}
.donate-page .atm-compact-history.atm-history-admin .table{min-width:840px}
.donate-page .atm-compact-history .table th,.donate-page .atm-compact-history .table td{padding:12px 14px}
.atm-compact-history .atm-heading-index,.atm-compact-history .atm-entry-index{width:40px;min-width:0;padding-left:10px!important;padding-right:10px!important}
.atm-compact-history .atm-heading-transaction,.atm-compact-history .atm-entry-transaction{width:auto;min-width:240px;text-align:left}
.atm-compact-history .atm-entry-transaction .atm-transaction-content{display:flex;width:100%;max-width:320px;min-width:232px}
.atm-compact-history .atm-heading-amount,.atm-compact-history .atm-entry-amount{width:145px;min-width:120px;text-align:right}
.atm-compact-history .atm-heading-time,.atm-compact-history .atm-entry-time{width:180px;min-width:160px;text-align:left}
.atm-compact-history .atm-entry-user,.atm-compact-history .atm-entry-domain{width:120px;min-width:90px;max-width:160px}
}

/* ATM status is a dedicated column on desktop; mobile keeps inline feedback. */
.atm-compact-history .atm-desktop-no-code{display:none}
@media(min-width:641px){
.donate-page .atm-compact-history .atm-entry-transaction .atm-mobile-feedback{display:none}
.atm-compact-history .atm-desktop-no-code{display:inline}
.donate-page .atm-compact-history .table{min-width:740px}
.donate-page .atm-compact-history.atm-history-admin .table{min-width:960px}
.atm-compact-history .atm-desktop-status{width:100px;min-width:90px;text-align:center;white-space:nowrap}
.atm-compact-history .atm-desktop-status-actions{display:flex;flex-direction:column;align-items:center;gap:6px}
.donate-page .atm-compact-history .atm-desktop-status-actions .btn{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:80px;height:32px;min-height:32px;margin:0;padding:5px 8px;border-radius:8px;font-size:11px;font-weight:600;line-height:1.5}
.atm-compact-history .atm-state-button{cursor:default}
}
@media(max-width:640px){
.donate-page .atm-compact-history .table .atm-desktop-status,
.donate-page .atm-compact-history .table .usdt-history-network{display:none}
}

/* Give desktop ATM status labels the solid semantic palette. */
@media(min-width:641px){
.donate-page .atm-compact-history .atm-desktop-status-actions .atm-state-button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:80px;height:32px;margin:0;padding:5px 8px;border:0;border-radius:8px;font-size:11px;font-weight:600;line-height:1.5;cursor:default}
}

/* Status indicators stay fully legible despite being non-interactive. */
.donate-page .atm-compact-history .atm-desktop-status .atm-state-button[aria-disabled="true"]{opacity:1;cursor:default}

/* Reuse order-list status colors and borders for ATM indicators and recheck. */
.donate-page .atm-compact-history .atm-desktop-status-actions .order-status,
.donate-page .atm-compact-history .atm-entry-expired .order-status{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:6px;width:88px;height:32px;min-height:32px;margin:0;padding:5px 9px;border-width:1px;border-style:solid;border-radius:8px;font-size:11px;font-weight:700;line-height:1.5;white-space:nowrap;flex:none;opacity:1}
.atm-compact-history .atm-recheck{cursor:pointer;font-family:inherit}
.atm-compact-history .atm-state-button{cursor:default}
.atm-compact-history .atm-recheck:focus-visible{outline:2px solid currentColor;outline-offset:2px}
@media(min-width:641px){
.donate-page .atm-compact-history .table .atm-entry-transaction .atm-mobile-feedback{display:none}
}

/* Tighten vertical spacing around the ATM mobile transaction ID. */
@media(max-width:640px){
.donate-page .atm-compact-history .table .atm-entry-transaction{padding-top:0;padding-bottom:0;margin-top:-4px;margin-bottom:-4px}
}

/* ATM always displays the transaction account, including personal history. */
@media(max-width:640px){
.donate-page .atm-compact-history .table .atm-entry-user{display:block;grid-column:1/-1;order:1}
}

/* Compact account and amount labels for ATM mobile cards. */
.atm-compact-history .atm-mobile-domain,.atm-compact-history .atm-mobile-money-label{display:none}
@media(max-width:640px){
.atm-compact-history .atm-mobile-domain,.atm-compact-history .atm-mobile-money-label{display:inline}
.donate-page .atm-compact-history .table .atm-entry-amount::before{display:none}
.donate-page .atm-compact-history .table .atm-entry-domain{display:none}
}

/* Keep the account left and domain right in ATM mobile cards. */
@media(max-width:640px){
.atm-compact-history .atm-mobile-domain{float:right;max-width:60%;text-align:right;overflow-wrap:anywhere}
.atm-compact-history .atm-mobile-domain>span{display:none}
.donate-page .atm-compact-history .table .atm-entry-user{display:flow-root}
}

/* ATM mobile metadata: equal sides around a centered divider. */
.atm-compact-history .atm-account-separator{display:none}
@media(max-width:640px){
.donate-page .atm-compact-history .table .atm-entry-user,
.atm-compact-history .atm-amount-values,
.donate-page .atm-compact-history .table .atm-entry-time{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:baseline;gap:8px}
.atm-compact-history .atm-account-separator{display:block;text-align:center}
.atm-compact-history .atm-account-name{min-width:0;text-align:left;overflow-wrap:anywhere}
.atm-compact-history .atm-mobile-domain{display:block;float:none;min-width:0;max-width:none;text-align:right;overflow-wrap:anywhere}
.atm-compact-history .atm-amount-values .atm-deposit,.atm-compact-history .atm-entry-time .atm-time-part:first-child{text-align:left}
.atm-compact-history .atm-amount-values .atm-received,.atm-compact-history .atm-entry-time .atm-time-part:last-child{text-align:right}
.atm-compact-history .atm-time-part{display:block;white-space:normal;min-width:0}
.atm-compact-history .atm-entry-time .atm-meta-separator{margin:0;padding:0;text-align:center}
.atm-compact-history .atm-amount-values .atm-meta-separator{padding:0;text-align:center}
}

/* ATM mobile: separate identity by alignment, keep payment values together. */
@media(max-width:640px){
.donate-page .atm-compact-history .table .atm-entry-user{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.atm-compact-history .atm-account-separator{display:none}
.atm-compact-history .atm-amount-values{display:flex;align-items:baseline;justify-content:flex-start;gap:8px;flex-wrap:wrap}
.atm-compact-history .atm-amount-values .atm-deposit,.atm-compact-history .atm-amount-values .atm-received{text-align:left}
}

@media(max-width:640px){
.atm-compact-history .atm-mobile-domain{font-size:10px;font-style:italic;font-weight:400;opacity:.65}
}

/* Desktop account identity includes its domain without a separate column. */
@media(min-width:641px){
.atm-compact-history .atm-account-name{display:block}
.atm-compact-history .atm-mobile-domain{display:block;margin-top:3px;font-size:10px;font-style:italic;font-weight:400;line-height:1.5;opacity:.65;overflow-wrap:anywhere}
.donate-page .atm-compact-history.atm-history-admin .table{min-width:740px}
}

/* Compact, touch-friendly ATM pagination on mobile. */
@media(max-width:640px){
.donate-page .atm-compact-history .dt-layout-row:last-child:not(.dt-layout-table){display:flex;flex-direction:column;align-items:stretch;gap:10px;padding:8px 0 0;margin:0}
.atm-compact-history .dt-layout-row:last-child>.dt-layout-cell{width:100%;margin:0;text-align:center}
.atm-compact-history .dt-info{padding:0;font-size:11px;line-height:1.5;text-align:center}
.atm-compact-history .dt-paging{width:100%;max-width:100%;overflow:visible;padding:0}
.atm-compact-history .dt-paging nav{display:flex;align-items:center;justify-content:center;gap:4px;flex-wrap:wrap}
.donate-page .atm-compact-history .dt-paging .dt-paging-button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:34px;min-height:36px;margin:0;padding:6px 8px;border:1px solid;border-radius:8px;font-size:12px;line-height:1.5;text-decoration:none;cursor:pointer}
.atm-compact-history .dt-paging .dt-paging-button.first,.atm-compact-history .dt-paging .dt-paging-button.last{display:none}
.atm-compact-history .dt-paging .dt-paging-button.disabled{cursor:default;opacity:.5}
.atm-compact-history .dt-paging .ellipsis{padding:0 2px;font-size:11px}
.atm-compact-history .dt-paging .dt-paging-button:focus-visible{outline:2px solid currentColor;outline-offset:2px}
}

@media(max-width:640px){
.atm-compact-history .dt-info{display:none}
.atm-compact-history .dt-layout-row:last-child>.dt-layout-cell:has(>.dt-info){display:none}
}

/* A transaction code remains visible independently of payment status. */
@media(max-width:640px){
.donate-page .atm-compact-history .atm-entry-transaction .atm-transaction-content{display:flex;flex-direction:column;align-items:stretch;gap:8px}
.atm-compact-history .atm-transaction-feedback{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}
}

@media(max-width:640px){
.donate-page .atm-compact-history .table .atm-entry-amount.atm-entry-amount-zero{display:none}
}

/* Keep transaction account names on one line across shared histories. */
.atm-compact-history .atm-account-name{display:block;min-width:0;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}

/* Expand the mobile recheck action across the transaction card. */
@media(max-width:640px){
.atm-compact-history .atm-transaction-feedback{width:100%}
.donate-page .atm-compact-history .atm-entry-expired .atm-transaction-feedback .atm-recheck{width:100%;max-width:none;flex:1 1 auto}
}

/* Compact USDT network cards on mobile; desktop retains its existing layout. */
.usdt-copy-mobile-label{display:none}
@media(max-width:640px){
.usdt-page .usdt-networks{gap:10px}
.usdt-page .usdt-network{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px}
.usdt-page .usdt-network-heading{grid-column:1;grid-row:1;gap:8px;margin:0;min-width:0}
.usdt-page .usdt-network-heading span:not(.usdt-network-symbol),.usdt-page .usdt-network>label{display:none}
.usdt-page .usdt-network-symbol{width:28px;height:28px;border-radius:8px;font-size:13px}
.usdt-page .usdt-network h2{font-size:12px;line-height:1.5;margin:0}
.donate-page .usdt-page .usdt-network .usdt-copy{display:inline-flex;align-items:center;gap:5px;grid-column:2;grid-row:1;align-self:center;width:auto;min-height:32px;margin:0;padding:5px 8px;font-size:11px;white-space:nowrap}
.usdt-page .usdt-copy .payment-icon{width:14px;height:14px}
.usdt-copy-desktop-label{display:none}
.usdt-copy-mobile-label{display:inline}
.usdt-page .usdt-network .usdt-wallet{grid-column:1/-1;grid-row:2;width:100%;min-height:56px;height:auto;field-sizing:content;padding:8px 9px;font-size:11px;line-height:1.65}
}

/* Keep USDT transaction guidance and checking controls in one compact panel. */
.usdt-page .usdt-check-layout{display:block;margin-top:18px;padding-top:18px}
.usdt-page .usdt-check-panel h2{margin:0 0 8px;font-size:14px}
.usdt-page .usdt-check-hint{margin:0 0 14px;font-size:12px;line-height:1.7}
.usdt-page .usdt-txid-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 12px}
.usdt-page .usdt-txid-form>label{grid-column:1/-1;margin:0;font-size:11px}
.donate-page .usdt-page .usdt-txid-form .form-control{min-width:0;height:40px;min-height:40px;margin:0;font-size:12px}
.donate-page .usdt-page .usdt-txid-form .btn{width:auto;min-height:40px;margin:0;padding:8px 14px;font-size:12px;border-radius:8px;white-space:nowrap}
.usdt-page .usdt-check-panel .usdt-rate{margin-top:10px}
@media(max-width:640px){
.usdt-page .usdt-check-hint{font-size:11px;margin-bottom:12px}
.usdt-page .usdt-txid-form{grid-template-columns:minmax(0,1fr);gap:8px}
.donate-page .usdt-page .usdt-txid-form .form-control{font-size:16px}
.donate-page .usdt-page .usdt-txid-form .btn{width:100%}
}

/* Mobile USDT networks expand on demand; desktop cards remain fully visible. */
.usdt-network-toggle{display:none}
@media(max-width:640px){
.usdt-page .usdt-network{gap:0;padding:0}
.usdt-page .usdt-network .usdt-network-heading{display:none}
.usdt-page .usdt-network-toggle{display:flex;grid-column:1/-1;align-items:center;justify-content:space-between;gap:12px;box-sizing:border-box;width:100%;min-height:44px;padding:12px;border:0;border-radius:13px;background:transparent;color:inherit;font:inherit;font-size:12px;font-weight:600;text-align:left;cursor:pointer}
.usdt-network-chevron{flex:none;font-size:18px;line-height:1;transition:transform .15s}
.usdt-network-toggle[aria-expanded="true"] .usdt-network-chevron{transform:rotate(180deg)}
.usdt-network-toggle:focus-visible{outline:2px solid var(--ui-default-base);outline-offset:2px}
.usdt-page .usdt-network[data-network-open="false"] .usdt-wallet,.donate-page .usdt-page .usdt-network[data-network-open="false"] .usdt-copy{display:none}
.usdt-page .usdt-network[data-network-open="true"]{padding:0 12px 12px;gap:10px}
.usdt-page .usdt-network[data-network-open="true"] .usdt-network-toggle{width:calc(100% + 24px);margin:0 -12px -10px}
.usdt-page .usdt-network .usdt-wallet{grid-row:2}
.donate-page .usdt-page .usdt-network .usdt-copy{grid-column:1/-1;grid-row:3;width:100%;min-height:36px}
}

/* Four USDT network cards on wide screens, two columns on tablets. */
@media(min-width:641px){
.usdt-page .usdt-networks{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:14px}
.usdt-page .usdt-network{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:16px;min-width:0}
.usdt-page .usdt-network-heading{margin:0 0 14px;min-height:36px}
.usdt-page .usdt-network>label{margin-bottom:6px}
.usdt-page .usdt-network .usdt-wallet{width:100%;min-height:94px;height:94px;flex:none;font-size:11px;line-height:1.7}
.donate-page .usdt-page .usdt-network .usdt-copy{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:36px;margin:12px 0 0;padding:7px 10px;align-self:stretch}
}
@media(min-width:1200px){
.usdt-page .usdt-networks{grid-template-columns:repeat(4,minmax(0,1fr))}
}
