.walletgrid .live-balance {
  border-color:#345370;
  background:
    radial-gradient(ellipse at 84% 24%,#236d93 0%,#194766 22%,transparent 52%),
    linear-gradient(112deg,#111e34 12%,#10273e 58%,#173b53);
}
.walletgrid .live-balance::after {
  background:linear-gradient(86deg,#101c30 0%,#101e32f2 19%,#10213666 55%,transparent 78%),
    linear-gradient(0deg,#0c1d33 0%,transparent 46%);
}
.wallet-horizon {
  position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:-1;
  background-image:radial-gradient(#90cded52 .8px,transparent 1.3px);
  background-size:16px 16px;
  mask-image:linear-gradient(to right,transparent 18%,black 57%);
}
.wallet-orbit,.wallet-orbit::before,.wallet-orbit::after {
  position:absolute;border:1px solid #77d6ff45;border-radius:50%;
}
.wallet-orbit {
  width:83%;height:82%;right:-22%;top:7%;transform:rotate(-32deg);
  box-shadow:0 -1px 0 #aff8ff66,0 -4px 24px #5cdcf11c,inset 0 14px 31px #65dfff0e;
}
.wallet-orbit::before,.wallet-orbit::after {content:"";inset:-16%;border-color:#86ddff2a}
.wallet-orbit::after {inset:-34%;border-style:dashed;border-color:#86ddff25}
.wallet-medal {
  width:clamp(128px,26%,235px);aspect-ratio:1;position:absolute;right:7%;top:9%;
  border:1px solid #b9faffb5;border-radius:50%;
  transform:rotate(-16deg) skewX(-5deg) scaleX(.92);
  background:
    radial-gradient(ellipse at 20% 16%,#bffbff80,transparent 39%),
    repeating-radial-gradient(circle,transparent 0 4px,#a9eeff14 4px 5px),
    linear-gradient(145deg,#60c8e2 0%,#28566d 30%,#122337 52%,#275875 81%,#9feaff);
  box-shadow:inset 0 0 0 4px #a6e7f84f,inset 0 0 0 7px #142c427a,inset 3px 3px 14px #9ce4ff75,
    1px 2px 0 #6cb3ca,3px 5px 0 #244d65,5px 7px 0 #49839e,6px 9px 0 #18374d,12px 17px 24px #05172c88;
}
.wallet-medal::after {
  content:"";position:absolute;inset:20%;background:url(assets/mark.svg) center / contain no-repeat;
  filter:drop-shadow(0 2px 1px #0b2949) drop-shadow(0 0 9px #56d7ff44);
}
.walletgrid .balanceinner {gap:3px;justify-content:flex-start;padding:clamp(20px,2.5vw,34px)}
.walletgrid .balance-lbl,.walletgrid .portfolio-caption,.walletgrid .balance-value {position:relative}
.walletgrid .balance-value {margin:14px 0 0;flex-wrap:wrap;max-width:88%;overflow-wrap:anywhere;display:block;line-height:1.08}
.walletgrid .portfolio-caption {max-width:62%;margin:5px 0 23px;font-size:.87rem;color:#c2d5e5;line-height:1.45}
.walletgrid .balancecurve {background:linear-gradient(to right,#101f32b0,#15283bba);border-radius:9px;padding:6px 8px; margin-bottom:12px}
.walletgrid .balance-actions {flex-wrap:wrap}
.walletgrid .unitlabel {background:#112436bf;border:1px solid #a2e2ff3d;z-index:1}
.walletgrid .holdings,.walletgrid .wallet-markets {grid-column:1/-1;min-width:0}
.holdings .minirow.wallet-holding {
  display:grid;width:auto;margin:0 18px;padding:12px 0;grid-template-columns:auto minmax(0,1fr) minmax(0,1.1fr) minmax(0,1.3fr);gap:10px;
}
.wallet-holding .rowtext,.wallet-holding .holding-quantity {min-width:0;overflow-wrap:anywhere}
.wallet-holding .holding-quote {font-size:.85rem;line-height:1.4;color:#c0d2e5}
.wallet-holding .holding-quote em {font-style:normal;white-space:nowrap;font-size:.78rem}
.wallet-holding .holding-quote small {display:block;color:var(--muted);font-size:.72rem}
.wallet-holding .holding-quantity {text-align:right;line-height:1.25}
.wallet-holding .holding-quantity small {display:block;color:var(--muted);font-size:.75rem;margin-top:3px}
.wallet-holding .holding-quantity strong {font-variant-numeric:tabular-nums}
.wallet-markets {padding:20px 22px}
.wallet-markets .panelhead {margin:0;padding:0 0 18px}
.wallet-market-groups {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(20px,4vw,55px)}
.wallet-market-group {min-width:0}
.wallet-market-group header,.wallet-market-group header a {display:flex;align-items:center;gap:6px}
.wallet-market-group header {justify-content:space-between;min-height:29px}
.wallet-market-group h3 {font-size:1.06rem;margin:0}
.market-stock-stamp {display:block;margin-top:6px;color:var(--muted);font-size:.7rem;line-height:1.35}
.wallet-market-note {font-size:.76rem;color:var(--muted);margin:4px 0}
.wallet-market-labels {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(58px,.55fr);gap:8px;color:var(--muted);font-size:.72rem;margin-top:10px;padding-bottom:6px}
.wallet-market-labels span:not(:first-child),.wallet-market-price,.wallet-market-change {text-align:right}
.wallet-market-group ul,.wallet-notices {list-style:none;padding:0;margin:0}
.wallet-market-row {
  display:grid;grid-template-columns:auto minmax(0,1fr) minmax(0,1.22fr) minmax(58px,.65fr);align-items:center;gap:8px;
  padding:10px 0;border-top:1px solid #29394b;min-height:54px;
}
.wallet-market-row:hover,.wallet-market-row:focus-visible {background:#9dcdff09}
.wallet-market-row b,.wallet-market-row small {display:block}
.wallet-market-name,.wallet-market-price {min-width:0;overflow-wrap:anywhere}
.wallet-market-name b,.wallet-market-price b {font-size:.91rem;line-height:1.2;font-weight:600}
.wallet-market-row small {font-size:.71rem;font-weight:400;color:var(--muted);line-height:1.32;margin-top:3px}
.wallet-market-price b,.wallet-market-change {font-variant-numeric:tabular-nums}
.wallet-market-change {font-size:.82rem;white-space:nowrap}
.asset-favorite {margin-left:auto;display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:999px;border:1px solid #344963;background:#192a3c;color:#bad6f4;min-height:38px;padding:7px 11px;font:inherit;font-size:.78rem;cursor:pointer}
.asset-favorite:hover,.asset-favorite:focus-visible {border-color:#75b9fc;color:#d5f0ff}
.asset-favorite[aria-pressed="true"] {background:#213951;color:#a6deff}
.asset-favorite[aria-pressed="true"] svg {fill:currentColor}
.wallet-notice {display:flex;align-items:flex-start;gap:12px;padding:16px 0;border-top:1px solid #29384b}
.wallet-notice:first-child {border-top:0;padding-top:3px}
.wallet-notice:last-child {padding-bottom:0}
.notice-icon {display:grid;place-items:center;flex:0 0 33px;height:33px;border:1px solid #30475e;border-radius:11px;background:#192c40;color:#81c6ff}
.notice-content {flex:1;min-width:0;text-align:left;overflow-wrap:anywhere}
.notice-content time {display:block;color:var(--muted);font-size:.75rem;font-variant-numeric:tabular-nums;line-height:1.4}
.notice-content h3 {font-size:1rem;line-height:1.4;margin:4px 0;color:var(--text)}
.notice-content p {white-space:pre-line;margin:7px 0 0;color:#c8d7e7;font-size:.9rem;line-height:1.46}
@media(min-width:761px){.wallet-market-groups{align-items:end}}
@media(max-width:760px){
  .holdings .minirow.wallet-holding {grid-template-columns:auto minmax(0,.8fr) minmax(0,1.2fr);row-gap:5px}
  .wallet-holding .holding-quantity {grid-column:3;grid-row:1}
  .wallet-holding .holding-quote {grid-row:2;grid-column:2 / -1;display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px}
  .wallet-market-groups{grid-template-columns:minmax(0,1fr);gap:24px}
  .wallet-markets{padding:16px}
  .walletgrid .balanceinner{padding:18px}
  .wallet-medal{width:clamp(120px,34%,175px);right:2%;top:13%}
  .walletgrid .balance-value{font-size:clamp(33px,9vw,49px);max-width:85%}
}
@media(max-width:380px){
  .wallet-market-row{gap:6px;grid-template-columns:auto minmax(0,.87fr) minmax(0,1.2fr) minmax(48px,.64fr)}
  .wallet-market-row .coin{--cs:28px!important}
  .wallet-market-change{font-size:.75rem}
  .wallet-market-price small{font-size:.66rem}
  .asset-favorite{min-width:40px;min-height:40px;padding:8px}
  .asset-favorite span{display:none}
  .wallet-notice{gap:9px}
  .notice-icon{flex-basis:27px;height:27px;border-radius:8px}
}

.cmc-origin{display:inline-block;margin-top:.35rem}
