/* Cross Hop meta layer: daily goals, recap, coach */
.goals-card {
  width: 100%;
  max-width: 380px;
  margin: 0.9rem auto 0;
  padding: 0.7rem 0.8rem;
  background: #fff;
  border: 3px solid #0F172A;
  border-radius: 16px;
  box-shadow: 0 4px 0 #0F172A;
  text-align: left;
}
.goals-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.goals-title { margin: 0; font-size: 0.95rem; color: #0F172A; }
.goals-streak {
  font-size: 0.72rem; font-weight: 800; color: #92400E;
  background: #FEF3C7; border-radius: 999px; padding: 0.15rem 0.55rem;
}
.goals-list { list-style: none; margin: 0.5rem 0 0; padding: 0; display: grid; gap: 0.3rem; }
.goal {
  display: flex; justify-content: space-between; align-items: center; gap: 0.5rem;
  min-height: 32px; padding: 0.25rem 0.5rem; border-radius: 10px;
  background: #F1F5F9; font-size: 0.8rem; color: #0F172A;
}
.goal--done { background: #DCFCE7; color: #166534; }
.goal--done .goal-text { text-decoration: line-through; }
.goal-prog { font-weight: 800; font-size: 0.75rem; white-space: nowrap; }
.skin-prog { margin-top: 0.55rem; font-size: 0.75rem; color: #334155; }
.skin-bar { display: block; height: 8px; margin-top: 0.25rem; background: #E2E8F0; border-radius: 99px; overflow: hidden; }
.skin-fill { display: block; height: 100%; background: #22C55E; border-radius: 99px; }

.go-recap { width: 100%; margin: 0.6rem 0 0.2rem; display: grid; gap: 0.25rem; }
.go-recap:empty { display: none; }
.recap-line { margin: 0; font-size: 0.8rem; color: #334155; text-align: center; }
.recap-good { color: #166534; font-weight: 800; }

.coach {
  position: absolute; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  max-width: 88%; padding: 0.55rem 0.9rem;
  background: rgba(15, 23, 42, 0.88); color: #fff;
  border-radius: 14px; font-size: 0.85rem; font-weight: 700; text-align: center;
  pointer-events: none; animation: coach-bob 1.6s ease-in-out infinite;
}
.coach[hidden] { display: none; }
@keyframes coach-bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -5px); } }
@media (prefers-reduced-motion: reduce) { .coach { animation: none; } }
