#myProfileModal.has-coin-wallet #myAccountBalance { display:none; }
#myCoinWallet { margin:8px 0 18px; padding:14px; border:1px solid #92713d; border-radius:14px; background:linear-gradient(145deg,#3b321e,#16382e 70%); text-align:left; }
#myCoinWallet[hidden] { display:none; }
#myCoinWallet #walletHistory[hidden] { display:none; }
#myCoinWallet h4 { color:#ffe1a0; font-size:17px; margin:0 0 12px; }
#myCoinWallet .coin-wallet-balances { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
#myCoinWallet .coin-wallet-balances strong { font-size:24px; color:#ffe1a0; }
#myCoinWallet .coin-wallet-stats { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:14px; padding-top:12px; border-top:1px solid #d6ba7530; }
#myCoinWallet :is(.coin-wallet-balances,.coin-wallet-stats) > div { min-width:0; }
#myCoinWallet :is(.coin-wallet-balances,.coin-wallet-stats) span { display:block; color:#d3dcd4; font-size:11px; line-height:1.4; }
#myCoinWallet strong { display:block; font-size:18px; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; line-height:1.3; }
#myCoinWallet .coin-wallet-note { color:#aebdb2; font-size:11px; line-height:1.5; margin:12px 0; }
#myCoinWallet #walletStatus { font-size:12px; color:#f1dca2; margin:8px 0; }
#myCoinWallet #walletStatus:empty { display:none; }
#myCoinWallet summary { cursor:pointer; padding:10px 0; min-height:44px; box-sizing:border-box; color:#f7dea5; font-weight:700; }
/* Let a short list, or the end of a long list, pass the swipe to the profile. */
#walletTransactions { list-style:none; padding:0; margin:0; max-height:310px; overflow-y:auto; overscroll-behavior:auto; touch-action:pan-y; -webkit-overflow-scrolling:touch; scrollbar-width:thin; }
#walletTransactions li { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 2px; border-top:1px solid #ffffff12; }
#walletTransactions li > div { min-width:0; }
#walletTransactions span { display:block; font-size:12px; }
#walletTransactions time { display:block; font-size:10px; color:#aebdb2; margin-top:3px; }
#walletTransactions strong { font-size:16px; text-align:right; max-width:48%; }
#myCoinWallet [data-direction="gain"] { color:#8fe0a5; }
#myCoinWallet [data-direction="loss"] { color:#efb1a4; }
#myCoinWallet .coin-wallet-pager { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
#myCoinWallet button { min-height:44px; font-size:12px; white-space:normal; }
#myCoinWallet button[hidden], #walletEmpty[hidden] { display:none; }
#walletEmpty { color:#bfcdc3; font-size:12px; }
@media (max-width:360px) { #myCoinWallet { padding:10px; } #myCoinWallet .coin-wallet-balances strong { font-size:21px; } }
@media (orientation:landscape) and (max-height:450px) {
  #myCoinWallet { padding:10px; }
  #myCoinWallet h4 { margin-bottom:8px; }
  #myCoinWallet .coin-wallet-balances strong { font-size:22px; }
  #myCoinWallet .coin-wallet-stats { grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin-top:10px; padding-top:8px; }
  #walletTransactions { max-height:170px; }
}
