/* Trang Lịch ảnh */
.page-title { font-size: 30px; line-height: 1.1; font-weight: 800; }
.sub { margin-top: 2px; font-size: calc(14rem / 17); font-weight: 700; }

.calendar { padding: 14px 8px 16px; border-radius: 26px; }
.month-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.month-head h2 { font-size: calc(19rem / 17); font-weight: 800; }
.nav-btn { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--soft); border: 2px solid var(--ink); box-shadow: 0 3px 0 var(--ink); }

.weekdays, .days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.weekdays span { text-align: center; font-size: calc(12rem / 17); font-weight: 800; color: var(--muted); padding-bottom: 4px; }

.day {
  position: relative; aspect-ratio: 1; border-radius: 12px;
  display: grid; place-items: center; font-size: calc(13rem / 17); font-weight: 800; color: var(--muted);
  background: var(--soft);
  transition: transform .3s var(--spring), box-shadow .3s var(--spring);
}
.day.has {
  background: var(--c); color: var(--ink); border: 2px solid var(--ink); box-shadow: 0 2px 0 var(--ink);
  animation: pop .5s var(--spring) both; animation-delay: var(--d);
}
.day.has .i { width: 18px; height: 18px; }
.day .n { position: absolute; top: 3px; left: 4px; font-size: calc(11rem / 17); line-height: 1; }
.day .badge {
  position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px;
  background: var(--ink); color: #FFF; font-size: calc(10rem / 17); line-height: 18px; text-align: center;
}
.day[aria-pressed="true"] { background: var(--orange); transform: translateY(-3px); box-shadow: 0 5px 0 var(--ink); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

.stats-row { display: flex; gap: 10px; }
.stats-row .pill { font-weight: 700; color: var(--muted); }
.stats-row b { color: var(--ink); }

.day-panel { display: flex; flex-direction: column; gap: 4px; padding-bottom: 24px; }
.day-total { font-size: calc(18rem / 17); font-weight: 800; }
.day-photos { display: flex; gap: 14px; overflow-x: auto; margin: 0 -20px; padding: 12px 20px 16px; scrollbar-width: none; }
.day-photos .polaroid { animation: rise .6s var(--soft-spring) both, wiggle 4s ease-in-out .6s infinite; }
.polaroid .price { display: block; font-size: calc(12rem / 17); font-weight: 700; color: var(--muted); }
