.phStreakNote { margin: .45rem .2rem 1rem; color: #243a67; font-size: .875rem; }
.phBadgeCollection { margin-block: 1rem; }
.phBadgeCollection summary { cursor: pointer; font-weight: 750; }
.phBadgePaw { display: inline-block; margin-right: .25rem; }
.phBadgeCongrats { padding: .7rem; border-radius: .6rem; background: #fff3df; color: #243a67; }
.phBadgesGrid { list-style: none; padding: 0; display: grid; gap: .65rem; grid-template-columns: repeat(auto-fit,minmax(min(100%,15rem),1fr)); }
.phBadgesGrid li { padding: .85rem; border: 1px solid #e0ecf0; border-radius: .7rem; }
.phBadgesGrid p { font-size: .88rem; margin: .45rem 0; }
.phBadgeNew .phBadgePaw { animation: phBadgeStamp .42s ease-out both; }
@keyframes phBadgeStamp {
  from { transform: translateY(-6px) scale(1.25); opacity: .35; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .phBadgeNew .phBadgePaw { animation: none; } }

.huellaPrize { position: relative; isolation: isolate; }
.phPrizeCelebration {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 96px;
  height: 96px;
  pointer-events: none;
  z-index: 1;
  color: #f49324;
  filter: drop-shadow(0 .2rem .4rem #8d4a2c4d);
  animation: phPrizePaw 1.15s ease-out both;
}
.phPrizeCelebration::after, .phPrizeCelebration i {
  position: absolute;
  display: block;
  background: currentColor;
  border-radius: 50%;
}
.phPrizeCelebration::after {
  content: '';
  width: 64px;
  height: 51px;
  top: 45px;
  left: 16px;
  border-radius: 0;
  clip-path: path('M 32 0 C 44 3 59 19 63 33 C 68 51 53 57 32 43 C 11 57 -4 51 1 33 C 5 19 20 3 32 0 Z');
}
.phPrizeCelebration i { width: 26%; height: 35%; }
.phPrizeCelebration i:nth-child(1) { top: 27%; left: 1%; transform: rotate(-22deg); }
.phPrizeCelebration i:nth-child(2) { top: 1%; left: 22%; transform: rotate(-11deg); }
.phPrizeCelebration i:nth-child(3) { top: 1%; right: 22%; transform: rotate(11deg); }
.phPrizeCelebration i:nth-child(4) { top: 27%; right: 1%; transform: rotate(22deg); }
@keyframes phPrizePaw {
  0% { opacity: 0; transform: scale(.6); }
  28%, 58% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: translateY(-1rem) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) { .phPrizeCelebration { display: none; } }

.phBadgeShareDialog {width:min(92vw,440px);max-height:85dvh;overflow:auto;border:1px solid #dce6ec;border-radius:20px;padding:20px;background:#fffdf9;color:#14344f}
.phBadgeShareDialog::backdrop {background:#14344f88}
.phBadgeShareDialog img {width:100%;border-radius:14px}
.phBadgeShareDialog form {display:flex;gap:8px;flex-wrap:wrap}
.phBadgeShareDialog button {min-height:44px}
.phBadgeLearning {padding:14px;background:#fff6e9;border-radius:16px;margin:12px 0}
.phBadgeLearning p {font-size:14px;line-height:1.5}
