/* Trang Hôm nay */
.home-head { display: flex; align-items: flex-end; justify-content: space-between; }
.home-head h1 { font-size: 30px; line-height: 1.1; font-weight: 800; }
.date { font-size: calc(14rem / 17); font-weight: 700; }

.summary {
  display: flex; align-items: center; gap: 8px;
  padding: 20px 18px; border-radius: 28px;
  background: var(--mint); border: var(--line); box-shadow: 0 6px 0 var(--ink);
}
.summary-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.summary .label { font-size: calc(13rem / 17); font-weight: 800; }
.summary .total { font-size: 38px; line-height: 1; font-weight: 800; }

.bar { margin: 8px 0 2px; height: 16px; border-radius: 999px; background: var(--card); border: 2px solid var(--ink); overflow: hidden; }
.bar span {
  display: block; height: 100%; transform-origin: left;
  background: var(--orange); border-right: 2px solid var(--ink);
  animation: grow 1.2s var(--soft-spring) .3s both;
}

.mascot-stage { position: relative; width: 104px; height: 110px; flex: none; perspective: 300px; }
.mascot-stage img { position: absolute; left: 0; bottom: 0; }
.mascot-stage .coin { position: absolute; right: -2px; top: 0; z-index: 1; }

.moments { display: flex; gap: 14px; overflow-x: auto; margin: 4px -20px 0; padding: 10px 20px 16px; scrollbar-width: none; }
.add-shot {
  flex: none; width: 96px; height: 130px; border-radius: 16px;
  border: 2.5px dashed var(--ink); background: transparent;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  font-size: calc(13rem / 17); color: var(--ink);
}
.add-shot .bubble { background: var(--orange); box-shadow: 0 3px 0 var(--ink); }

.list { display: flex; flex-direction: column; gap: 12px; padding-bottom: 24px; }
.list h2 { font-size: calc(20rem / 17); font-weight: 800; }
.list ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.list li > .row { width: 100%; text-align: left; }
.row { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 20px; }
.row .text { flex: 1; min-width: 0; }
.row .name, .row .meta { display: block; }
.row .name { font-size: calc(16rem / 17); font-weight: 800; }
.row .meta { margin-top: 2px; font-size: calc(13rem / 17); font-weight: 600; color: var(--muted); }
.row .amount { font-size: calc(17rem / 17); font-weight: 800; }

/* Dòng khoản chi là link sang màn chi tiết */
a.row { color: var(--ink); font-weight: inherit; }
/* Thẻ ảnh là link: giữ nguyên bố cục của sticker */
a.card-link { display: block; flex: none; color: var(--ink); font-weight: inherit; }
