:root{--balance-radius:18px;--balance-padding:16px;--balance-amount:clamp(32px,7.5vw,44px)}
.balance-card,.balance-card.tp-wallet-hero{width:100%;box-sizing:border-box;min-height:0;padding:var(--balance-padding);border-radius:var(--balance-radius);margin:0;color:#f2f6ff}
.balance-card-head{display:flex;align-items:center;gap:8px;min-height:22px;color:#afbed6;font-size:13px;line-height:1.4}
.balance-card--home .balance-card-head{min-height:30px}
.balance-card .balance-eye{display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;margin:-7px -5px;padding:0;background:transparent;border:0;border-radius:50%;color:#f5f7ff;cursor:pointer}
.balance-card-amount{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;margin:5px 0 8px;line-height:1.15}
.balance-card-amount>strong{font-size:var(--balance-amount);font-weight:750;letter-spacing:-.035em;font-variant-numeric:tabular-nums}
.balance-card-amount>span{font-size:17px;color:#bcc9df}
.balance-card-network{display:inline-flex;border:1px solid #62526b;background:#2a223a90;border-radius:99px;padding:4px 9px;font-size:11px;color:#b6c3da;line-height:1.3}
.balance-card-native{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:11px;color:#acbad2;font-size:13px;line-height:1.4}
.balance-card-native>strong{font-size:14px;color:#edf3fd;white-space:nowrap;font-variant-numeric:tabular-nums}
.balance-card--home .balance-card-native{border-top:1px solid #ffffff28;padding-top:10px;margin-top:12px}
.balance-card--overview{border:1px solid #3b536e;background:linear-gradient(130deg,#102338,#0b1a2a)}
.balance-card-address{border-top:1px solid #32475d;padding-top:9px;margin-top:12px}
.balance-card-address-label{display:flex;align-items:center;gap:8px;font-size:11px;color:#aabbd6;line-height:1.4}
.balance-card-demo{font-size:9px;padding:1px 5px;border-radius:4px;background:#233a50;color:#aabbd6}
.balance-card-address-row{display:flex;align-items:center;gap:6px;margin-top:2px}
.balance-card-full-address{flex:1;min-width:0;display:block;white-space:normal;word-break:break-all;font-size:11px;line-height:1.55;letter-spacing:.01em;color:#dce5f5;user-select:all}
.balance-card-copy{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;padding:0;background:transparent;border:0;color:#b8c8e7;border-radius:9px;cursor:pointer}
.balance-card button:focus-visible{outline:2px solid #ff718c;outline-offset:2px}
/* Same page gutters and content width as Home. Reserve fixed bar + raised Pay. */
.page:has(.my-page-polished){max-width:850px}
.tp-app .app-page-content:has(.my-page-polished){padding-top:8px;padding-bottom:calc(112px + env(safe-area-inset-bottom,0px))}
.my-page-polished{gap:12px;padding-top:0}
.my-page-polished .my-profile-button{min-height:65px;padding:3px 3px 7px!important;gap:13px}
.my-page-polished .my-avatar{width:50px;height:50px}
.my-page-polished .my-profile-copy>strong{font-size:20px}
.my-page-polished .my-menu-grid{gap:9px;grid-auto-rows:94px}
.my-page-polished .my-menu-item{height:94px;min-height:0;padding:9px 4px 7px!important;display:grid;grid-template-rows:30px 18px 13px;align-content:center;justify-items:center;gap:4px}
.my-page-polished .my-menu-icon{width:30px;height:30px}
.my-page-polished .my-menu-icon svg{width:24px;height:24px}
.my-page-polished .my-menu-item>strong{font-size:12px;line-height:18px}
.my-page-polished .my-menu-subtitle{font-size:10px;line-height:13px;min-height:13px}
@media(min-width:701px){
 :root{--balance-padding:20px}
 .my-page-polished .my-menu-grid{grid-auto-rows:115px}
 .my-page-polished .my-menu-item{height:115px}
 .my-page-polished .my-menu-item>strong{font-size:14px}
 .my-page-polished .my-avatar{width:56px;height:56px}
}
@media(max-width:350px){
 .my-page-polished .my-menu-grid{gap:8px;grid-auto-rows:90px}
 .my-page-polished .my-menu-item{height:90px}
 .my-page-polished .my-menu-item>strong{font-size:11px}
 .my-page-polished .my-menu-subtitle{font-size:9px}
}
