.cash-home {
  min-height: min(720px, calc(100svh - 170px));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 36px 0 56px;
}
.cash-home-center { width: min(100%, 480px); }
.cash-home h1 { font-size: clamp(19px, 2vw, 24px); font-weight: 550; margin: 0 0 12px; }
.cash-hero-value, .cash-receipt-amount {
  display: block;
  margin: 0;
  font-size: clamp(56px, 8vw, 78px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.cash-split { margin: 14px 0 28px; color: var(--muted); font-size: 14px; }
.cash-split b { font-weight: 600; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cash-split > span { margin-inline: 7px; }
.cash-home-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 350px; margin: 0 auto; }
.cash-pill { height: 54px; border-radius: 999px; display: grid; place-items: center; font-size: 17px; font-weight: 650; border: 0; text-decoration: none; }
.cash-collect { background: var(--surface2,#29292c); color: var(--ink,#fff); }
.cash-earn { background: var(--ink,#fff); color: var(--ground,#101010); }
.cash-home-center > small, .cash-activity-body small, .cash-receipt > small { display: block; color: var(--muted); font-size: 13px; }
.cash-home-center > small { margin-top: 14px; }
.cash-activity, .cash-profile { max-width: 680px; margin-inline: auto; }
.cash-activity-row { display: flex; gap: 12px; align-items: center; width: 100%; text-align: start; padding: 12px 0; min-height: 65px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); }
.cash-activity-body { flex: 1; min-width: 0; }
.cash-activity-body b, .cash-activity-body small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cash-activity-body b { font-weight: 600; }
.cash-activity-body small { margin-top: 3px; }
.cash-activity-row > strong { font-size: 16px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cash-gain { color: #8ce6b5; }
.cash-receipt, .cash-badge-info { text-align: center; display: grid; justify-items: center; gap: 12px; }
.cash-receipt h2, .cash-receipt p, .cash-badge-info p { margin: 0; }
.cash-receipt .cash-details, .cash-receipt > button, .cash-badge-info > button { width: 100%; }
.cash-receipt-amount { font-size: clamp(44px,7vw,66px); }
.cash-details { margin-block: 8px; text-align: start; overflow-wrap:anywhere; }
.cash-details > summary { align-content:center; min-height:44px; }
.cash-identity { display:grid; justify-items:center; text-align:center; gap:9px; margin:18px 0 32px; }
.cash-identity h1 { margin:0; font-size:clamp(28px,4vw,42px); font-weight:750; letter-spacing:-.035em; }
.cash-identity p { margin:0; color:var(--muted); }
.cash-profile-avatar .avatar { width:78px; height:78px; margin:0; font-size:29px; }
.cash-bio { max-width:46ch; }
.cash-profile-buttons { display:flex; gap:8px; margin-top:7px; }
.cash-achievements { margin:24px 0; }
.cash-achievements h2 { font-size:19px; margin:0 0 14px; }
.cash-badges { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
.cash-badge { display:grid; justify-items:center; align-content:start; gap:8px; border:0; color:var(--ink); background:transparent; min-height:68px; padding:4px 0; font-size:clamp(11px,1.7vw,13px); font-weight:550; }
.cash-medal { display:grid; place-items:center; background:#343438; color:#aaaab1; width:48px; height:48px; border-radius:50%; }
.cash-medal svg { width:24px; height:24px; }
.earned .theme-mint { color:#9bdfb0; background:#243d2c; }
.earned .theme-coral { color:#ffc4aa; background:#47332b; }
.earned .theme-honey { color:#f0d58d; background:#423922; }
.earned .theme-violet { color:#cdbaff; background:#382f4c; }
.cash-settings-button { display:block; width:100%; text-align:start; padding:12px 0; min-height:44px; background:transparent; border:0; color:var(--ink); }
.cash-pill:active,.cash-badge:active,.cash-activity-row:active { transform:scale(.98); }
@media (max-width: 600px) {
  .cash-home { min-height:calc(100svh - 180px); padding:12px 0 66px; }
  .cash-profile-avatar .avatar { height:68px; width:68px; }
}
@media (prefers-reduced-motion: reduce) {
  .cash-pill:active,.cash-badge:active,.cash-activity-row:active { transform:none; }
}
