/* Read-only, logo-led cards. Card identity stays the same in both themes. */
#accountLinkedPayments{grid-column:1/-1;box-sizing:border-box;min-width:0;width:100%;margin:0;padding:24px;border:1px solid #dde3e8;border-radius:20px;background:#fff;color:#344456;}
#accountLinkedPayments [hidden]{display:none!important;}
#accountLinkedPayments .profile-payments-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-block-end:20px;}
#accountLinkedPayments h3{margin:0;font-size:15px;font-weight:800;line-height:1.8;color:inherit;}
#accountLinkedPayments button{font:inherit;cursor:pointer;touch-action:manipulation;}
#accountLinkedPayments button:disabled{cursor:wait;opacity:.6;}
#accountLinkedPayments .profile-payments-add{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 17px;border:1px solid #e2b500;border-radius:10px;background:#ffcc00;color:#29313a;font-size:12px;font-weight:800;line-height:1.6;}
#accountLinkedPayments .profile-payments-add:hover{background:#f2c100;}
#accountLinkedPayments :is(button,a):focus-visible{outline:3px solid #216795;outline-offset:4px;}
#accountLinkedPayments .profile-payments-grid{display:flex;flex-wrap:wrap;gap:15px;}
#accountLinkedPayments .profile-payment-card{--brand-bg:#e9eef5;--brand-ink:#203247;--brand-muted:#3e5269;--brand-line:#233b512e;--brand-chip:#ffffffa6;--brand-chip-ink:#243b50;--brand-logo-filter:none;--brand-logo-blend:multiply;box-sizing:border-box;position:relative;isolation:isolate;flex:0 1 calc(33.333333% - 10px);min-width:0;max-width:600px;padding:20px 20px 16px;border:1px solid #182b441c;border-radius:19px;background:var(--brand-bg);color:var(--brand-ink);text-decoration:none;display:flex;flex-direction:column;gap:12px;cursor:pointer;touch-action:manipulation;box-shadow:0 4px 12px #14243b0c;transition:transform .18s ease,box-shadow .18s ease;}
#accountLinkedPayments [data-brand=phantom]{--brand-bg:#AB9FF2;--brand-ink:#281b4e;--brand-muted:#3c2e64;--brand-line:#6b56b34d;--brand-chip:#c9bff7;--brand-chip-ink:#2d2053;--brand-logo-blend:normal;--brand-logo-filter:drop-shadow(0 6px 9px #5541a733);}
#accountLinkedPayments [data-brand=metamask]{--brand-bg:#fff;--brand-ink:#243447;--brand-muted:#4e6175;--brand-line:#dce4eb;--brand-chip:#eef3f7;--brand-logo-blend:normal;--brand-logo-filter:none;}
#accountLinkedPayments .profile-payment-card[data-brand=metamask]{background:#fff;background-image:none;opacity:1;filter:none;}
#accountLinkedPayments [data-brand=solflare]{--brand-bg:#FFEF46;--brand-ink:#202015;--brand-muted:#414019;--brand-line:#8073144d;--brand-chip:#fff6a2;--brand-chip-ink:#34321b;--brand-logo-blend:normal;--brand-logo-filter:drop-shadow(0 5px 8px #857d2430);}
#accountLinkedPayments [data-brand=binance]{--brand-bg:#151515;--brand-ink:#fff1c5;--brand-muted:#e3d7b4;--brand-line:#f3ba2f50;--brand-chip:#3b321e;--brand-chip-ink:#ffe49b;--brand-logo-blend:normal;}
#accountLinkedPayments [data-brand=kucoin]{--brand-bg:#b9f0dc;--brand-ink:#123e32;--brand-muted:#285547;--brand-chip:#ddf9ef;--brand-logo-blend:normal;}
#accountLinkedPayments [data-brand=coinbase]{--brand-bg:#1652f0;--brand-ink:#fff;--brand-muted:#e2eaff;--brand-line:#ffffff40;--brand-chip:#346bf3;--brand-chip-ink:#fff;--brand-logo-blend:normal;}
#accountLinkedPayments .profile-payment-header{display:flex;align-items:center;gap:12px;min-width:0;min-height:58px;}
#accountLinkedPayments .profile-payment-art{position:relative;display:block;flex:none;width:108px;height:58px;overflow:hidden;border:0;border-radius:0;background:transparent;padding:0;box-sizing:border-box;filter:var(--brand-logo-filter);mix-blend-mode:var(--brand-logo-blend);}
#accountLinkedPayments .profile-payment-art img{position:absolute;inset:0;display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;object-fit:contain;}
#accountLinkedPayments .profile-payment-art[data-wallet=true]{width:62px;height:62px;}
#accountLinkedPayments .profile-payment-identity{flex:1;min-width:0;}
#accountLinkedPayments .profile-payment-provider{display:flex;flex-direction:column;align-items:flex-start;gap:8px;}
#accountLinkedPayments .profile-payment-provider .profile-payment-art{width:164px;height:64px;max-width:100%;flex-shrink:0;}
#accountLinkedPayments .profile-payment-provider .profile-payment-art img{object-position:right top;}
html[lang=en] #accountLinkedPayments .profile-payment-provider .profile-payment-art img{object-position:left top;}
#accountLinkedPayments .profile-payment-provider .profile-payment-kind{margin:0;font-family:"Cairo",sans-serif;font-size:14px;font-weight:800;line-height:1.5;color:var(--brand-ink);}
#accountLinkedPayments .profile-payment-identity h4{margin:0;font-size:14px;font-weight:800;line-height:1.6;color:inherit;overflow-wrap:anywhere;}
#accountLinkedPayments .profile-payment-kind{display:block;margin-block-start:3px;font-size:11px;line-height:1.6;color:var(--brand-muted);}
#accountLinkedPayments .profile-payment-method{flex:none;align-self:flex-start;display:flex;align-items:center;justify-content:center;width:64px;height:34px;padding:5px 6px;border-radius:8px;background:#fff;color:#34475c;box-sizing:border-box;}
#accountLinkedPayments .profile-payment-method[data-method=crypto]{flex-direction:column;gap:3px;width:56px;height:auto;padding:0;background:transparent;}
#accountLinkedPayments .profile-payment-method svg{display:block;flex:none;max-width:100%;overflow:visible;shape-rendering:geometricPrecision;}
#accountLinkedPayments .profile-payment-method[data-method=cliq] svg{width:52px;height:24px;}
#accountLinkedPayments .profile-payment-method[data-method=crypto] svg{width:56px;height:30px;}
#accountLinkedPayments .profile-payment-method-label{display:block;margin:0;font-family:"Cairo",sans-serif;font-size:14px;font-weight:800;line-height:1.4;letter-spacing:0;color:var(--brand-ink);}
#accountLinkedPayments .profile-payment-details{display:flex;flex-direction:column;align-items:stretch;gap:5px;min-width:0;}
#accountLinkedPayments .profile-payment-caption{display:block;text-align:left;font-size:10px;line-height:1.6;color:var(--brand-muted);}
#accountLinkedPayments .profile-payment-value{display:block;margin:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;direction:ltr;text-align:start;font-size:15px;font-weight:750;line-height:1.6;color:inherit;}
#accountLinkedPayments .profile-payment-card[data-kind=crypto] .profile-payment-value{font-family:Consolas,monospace;font-size:12px;font-weight:550;letter-spacing:.1px;}
#accountLinkedPayments .profile-payment-holder{margin:0;overflow-wrap:anywhere;font-size:11px;line-height:1.6;color:var(--brand-muted);}
#accountLinkedPayments .profile-payment-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-block-start:auto;padding-block-start:11px;border-block-start:1px solid var(--brand-line);}
#accountLinkedPayments .profile-payment-network{display:inline-flex;align-items:center;min-height:25px;padding:3px 9px;border-radius:7px;background:var(--brand-chip);font-size:10px;font-weight:650;line-height:1.6;color:var(--brand-chip-ink);}
#accountLinkedPayments .profile-payment-added{font-size:11px;font-weight:600;line-height:1.8;color:var(--brand-muted);font-variant-numeric:tabular-nums;white-space:nowrap;direction:ltr;}
#accountLinkedPayments .profile-payments-empty{display:flex;align-items:center;justify-content:center;gap:12px;min-height:82px;border:1px dashed #dce4ec;border-radius:13px;background:#fafbfd;color:#607286;}
#accountLinkedPayments .profile-payments-empty p{margin:0;font-size:12px;}
#accountLinkedPayments .profile-payments-status{margin:12px 0 0;font-size:11px;line-height:1.8;color:#607286;}
#accountLinkedPayments .profile-payments-status:empty{display:none;}
#accountLinkedPayments .profile-payments-status[data-tone=error]{color:#a63749;}
#accountLinkedPayments .profile-payments-retry{min-height:36px;margin-block-start:8px;padding:6px 12px;border:1px solid #d4dfe9;border-radius:8px;background:#fff;color:#52667a;font-size:11px;}
html[data-account-theme=dark] #accountLinkedPayments{background:#222831!important;border-color:#3c4654!important;color:#e4eaf1;}
html[data-account-theme=dark] #accountLinkedPayments :is(.profile-payments-empty,.profile-payments-retry){background:#293442;border-color:#4c5c70;color:#dce5ef;}
html[data-account-theme=dark] #accountLinkedPayments .profile-payments-status{color:#b6c5d4;}
html[data-account-theme=dark] #accountLinkedPayments .profile-payments-status[data-tone=error]{color:#ffc0cd;}
html[data-account-theme=dark] #accountLinkedPayments :is(button,a):focus-visible{outline-color:#f4cd5d;}
@media(min-width:1001px){
  #accountLinkedPayments .profile-payments-grid:not(:has(>.profile-payment-card:nth-child(3)))>.profile-payment-card,
  #accountLinkedPayments .profile-payments-grid:has(>.profile-payment-card:nth-child(4):last-child)>.profile-payment-card{flex-basis:calc(50% - 7.5px);}
}
@media(hover:hover) and (pointer:fine){#accountLinkedPayments .profile-payment-card:hover{transform:translateY(-2px);box-shadow:0 9px 20px #14243b24;}}
@media(max-width:1000px){#accountLinkedPayments .profile-payment-card{flex-basis:calc(50% - 7.5px);}}
@media(max-width:620px){#accountLinkedPayments{padding:20px 16px;}#accountLinkedPayments .profile-payments-heading{gap:12px;margin-block-end:18px;}#accountLinkedPayments .profile-payments-grid{gap:12px;}#accountLinkedPayments .profile-payment-card{flex-basis:100%;padding:18px 16px 14px;}#accountLinkedPayments .profile-payment-art{width:94px;height:54px;}#accountLinkedPayments .profile-payment-art[data-wallet=true]{width:58px;height:58px;}#accountLinkedPayments .profile-payment-header{gap:9px;}#accountLinkedPayments .profile-payments-add{max-width:100%;}}
@media(prefers-reduced-motion:reduce){#accountLinkedPayments .profile-payment-card{transition:none;transform:none;}}
