/* n139d «Взросление и годовщины» (0.68.0, public/club-pet-growth.js): the age and today's memories in the profile's
   «Питомец» card, the sparkle of «Подрос!» over a pet in the hall's world. */
.cpg { display: flex; flex-direction: column; gap: 4px; }
.cpg-age { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 12.5px; }
.cpg-stage { font-weight: 600; }
.cpg-days, .cpg-next { color: var(--muted); }
.cpg-next { font-size: 11.5px; }
.cpg-mems { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.cpg-mem { font-size: 12.5px; padding: 4px 8px; border-radius: 10px; background: color-mix(in srgb, var(--accent, #f0b44c) 14%, transparent); }
.cpg-grew .cpg-stage { animation: cpg-pop 1.2s ease-out 1; }
@keyframes cpg-pop { 0% { transform: scale(1); } 30% { transform: scale(1.18); } 100% { transform: scale(1); } }
.cpg-spark { position: absolute; width: 0; height: 0; pointer-events: none; z-index: 3; }
.cpg-spark i { position: absolute; left: -6px; top: -6px; font-style: normal; font-size: 14px; color: #ffe27a; text-shadow: 0 0 6px rgba(255, 226, 122, .8); opacity: 0; animation: cpg-spark 1.6s ease-out forwards; }
.cpg-spark i:nth-child(1) { --dx: -26px; --dy: -30px; }
.cpg-spark i:nth-child(2) { --dx: 22px; --dy: -36px; animation-delay: .12s; }
.cpg-spark i:nth-child(3) { --dx: -6px; --dy: -48px; animation-delay: .22s; }
.cpg-spark i:nth-child(4) { --dx: 30px; --dy: -14px; animation-delay: .32s; }
.cpg-spark i:nth-child(5) { --dx: -32px; --dy: -8px; animation-delay: .4s; }
@keyframes cpg-spark { 0% { opacity: 0; transform: translate(0, 0) scale(.4); } 25% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1.1) rotate(40deg); } }
@media (prefers-reduced-motion: reduce) { .cpg-spark, .cpg-grew .cpg-stage { animation: none; display: none; } }
/* n139d «Уровень питомца»: the badge, the XP bar, the next unlock, «За что опыт»; the strip chip's level on hover */
.cpg-lv { display: flex; align-items: center; gap: 10px; }
.cpg-badge { flex: none; display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 4px; border-radius: 50%; font-weight: 700; font-size: 14px; color: #3a2400; background: radial-gradient(circle at 35% 30%, #fff1b8, #f0b44c 70%); box-shadow: 0 0 0 2px rgba(240, 180, 76, .35); }
.cpg-lv-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cpg-lv-t { font-size: 12.5px; }
.cpg-title { font-size: 11.5px; padding: 1px 6px; border-radius: 8px; background: color-mix(in srgb, #f0b44c 22%, transparent); }
.cpg-xp, .cpg-unlock, .cpg-today { color: var(--muted); }
.cpg-xpbar { height: 6px; border-radius: 4px; background: color-mix(in srgb, var(--muted, #888) 22%, transparent); overflow: hidden; }
.cpg-xpbar > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f0b44c, #ffd86b); }
.cpg-unlock, .cpg-today { font-size: 11.5px; }
.cpg-why { font-size: 12px; }
.cpg-why summary { cursor: pointer; color: var(--muted); }
.cpg-why ul { margin: 4px 0 2px; padding-left: 18px; }
.cpg-spark-big i { font-size: 18px; }
.cpg-spark i:nth-child(6) { --dx: 0px; --dy: -62px; animation-delay: .5s; }
.cpg-spark i:nth-child(7) { --dx: 40px; --dy: -40px; animation-delay: .58s; }
.cpg-spark i:nth-child(8) { --dx: -42px; --dy: -34px; animation-delay: .66s; }
.cpet-chip[data-pet-lv]::after { content: attr(data-pet-lv); position: absolute; right: -9px; bottom: -5px; min-width: 11px; padding: 0 2px; border-radius: 6px; font: 700 9px/11px system-ui, sans-serif; text-align: center; color: #3a2400; background: #f0b44c; opacity: 0; transition: opacity .15s; pointer-events: none; }
.cpet-chip[data-pet-lv]:hover::after, .person:hover .cpet-chip[data-pet-lv]::after, .person:focus-visible .cpet-chip[data-pet-lv]::after { opacity: 1; }
.cpet-card:has(.cpg-lv) .cpp-lv { display: none; } /* the badge says the level (with the back-fill counted) */
