/* Motivational habit-first home dashboard. Existing quest and mini button sizes are untouched. */
.home-habit-first .quick-daily { margin-top: 0; }
.home-habit-first .quick-daily-title { margin-bottom: 7px; }
.home-habit-first .quick-daily-title b { font-size: 15px; }
.home-habit-pulse { margin-bottom: 15px; }
.home-habit-status { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 7px; color: #cad6ef; font-size: 12px; }
.home-habit-status strong { font-size: 15px; color: #f8edc8; font-variant-numeric: tabular-nums; white-space: nowrap; }
.home-habit-bar { height: 9px; overflow: hidden; border-radius: 30px; background: #10172c; border: 1px solid #3e4569; }
.home-habit-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#80d8b9,#c2b0ff); transition: width .28s ease-out; }
.home-habit-week { display: flex; align-items: center; gap: 10px; border-top: 1px solid #4751727a; padding-top: 12px; margin-top: 12px; }
.home-habit-week-title { color: #becbe5; font-size: 11px; font-weight: 750; flex: 0 0 auto; }
.home-habit-week-days { display: flex; align-items: center; justify-content: space-between; gap: 5px; width: 100%; max-width: 245px; }
.home-habit-day { display: inline-flex; align-items: center; flex-direction: column; gap: 5px; min-width: 20px; font-size: 10px; color: #aab9d2; }
.home-habit-day i { display: block; width: 11px; height: 11px; background: #39445e; border: 1px solid #66748f; border-radius: 50%; }
.home-habit-day.active i { background: #77c8a6; border-color: #a4edd3; box-shadow: 0 0 7px #5bad9a66; }
.home-habit-day.today i { outline: 2px solid #c3b0ff; outline-offset: 3px; }
.home-habit-week-note { margin-left: auto; font-size: 10px; color: #b5c4e2; white-space: nowrap; }
.home-adventure-intro { padding-top: 4px; }
.home-adventure-intro .page-title { font-size: clamp(21px,4vw,29px); }
.home-adventure-intro .page-subtitle { margin-bottom: 19px; }
@media (max-width:780px) {
  .home-boss-first .boss-panel { order: -1; }
}
@media (max-width:520px) {
  .home-habit-week { flex-wrap: wrap; }
  .home-habit-week-note { margin-left: 0; }
  .home-habit-week-days { max-width: none; }
}
@media (prefers-reduced-motion:reduce) { .home-habit-bar span { transition: none; } }
