/* r16: wallet income chart (last 5 months) — sits on the dark wallet card */
.wallet-card .wallet-income-comparison{display:none !important;}
.wallet-income-chart{margin-top:16px;padding-top:14px;border-top:1px solid rgba(255,255,255,.08);color:#fff;}
.wallet-income-chart[hidden]{display:none !important;}
.wic-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:10px;}
.wic-title{font-size:.78rem;font-weight:700;letter-spacing:.02em;color:rgba(255,255,255,.72);}
.wic-now{font-size:.95rem;font-weight:800;color:#fff;white-space:nowrap;}
.wic-now small{font-size:.68rem;font-weight:600;color:rgba(255,255,255,.55);margin-right:6px;}
.wic-bars{display:grid;grid-template-columns:repeat(var(--wic-n,5),1fr);gap:10px;align-items:end;height:118px;}
.wic-col{display:flex;flex-direction:column;align-items:center;height:100%;min-width:0;}
.wic-val{font-size:.62rem;font-weight:700;color:rgba(255,255,255,.62);white-space:nowrap;margin-bottom:4px;max-width:100%;overflow:hidden;text-overflow:ellipsis;}
.wic-track{flex:1 1 auto;width:100%;max-width:34px;display:flex;align-items:flex-end;border-radius:10px;background:rgba(255,255,255,.05);}
.wic-bar{display:block;width:100%;border-radius:10px;background:linear-gradient(180deg,rgba(255,255,255,.42),rgba(255,255,255,.16));
  transform-origin:bottom;animation:wicGrow .6s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i,0) * 70ms);}
.wic-col.is-cur .wic-bar{background:linear-gradient(180deg,#a99bff,#6d5df5);box-shadow:0 8px 18px -8px rgba(124,108,246,.9);}
.wic-col.is-cur .wic-val{color:#fff;}
.wic-col.is-zero .wic-bar{background:rgba(255,255,255,.14);}
.wic-mon{margin-top:6px;font-size:.68rem;font-weight:700;color:rgba(255,255,255,.6);white-space:nowrap;}
.wic-col.is-cur .wic-mon{color:#fff;}
.wic-empty{padding:18px 0 6px;text-align:center;font-size:.78rem;color:rgba(255,255,255,.55);}
@keyframes wicGrow{from{transform:scaleY(0);opacity:.2}to{transform:scaleY(1);opacity:1}}
@media (prefers-reduced-motion:reduce){.wic-bar{animation:none;}}
@media (max-width:767.98px){
  .wallet-income-chart{margin-top:12px;padding-top:10px;}
  .wic-bars{height:96px;gap:8px;}
  .wic-track{max-width:28px;}
}
