/* PEAKMENDIAK — DUOLINGO-INSPIRED MICRO-ANIMATIONS */
@keyframes pmAdventureRise {
  0% { opacity:0; transform:translate3d(0,16px,0) scale(.985); }
  100% { opacity:1; transform:translate3d(0,0,0) scale(1); }
}
@keyframes pmProgressGrow {
  0% { transform:scaleX(.02); }
  100% { transform:scaleX(1); }
}
@keyframes pmBadgePop {
  0% { transform:scale(.72) rotate(-5deg); opacity:.5; }
  65% { transform:scale(1.09) rotate(2deg); opacity:1; }
  100% { transform:scale(1) rotate(0); }
}
@keyframes pmHeroEnter {
  0% { opacity:0; transform:translateY(12px); }
  100% { opacity:1; transform:translateY(0); }
}
#view-objectives .objectives-premium-hero,
#view-missions .missions-premium-hero,
#view-challenges .challenges-adventure-hero {
  animation:pmHeroEnter .62s cubic-bezier(.2,.75,.25,1) both;
}
#view-objectives .objectives-premium-hero h2,
#view-missions .missions-premium-hero h2,
#view-challenges .challenges-adventure-hero h2 {
  animation:pmHeroEnter .72s .08s cubic-bezier(.2,.75,.25,1) both;
}
#view-objectives #objectives-summary,
#view-missions #missions-summary,
#view-objectives .objective-hero,
#view-missions .mission-board,
#view-challenges .challenges-main-grid,
#view-challenges .challenge-list-card {
  animation:pmAdventureRise .58s .08s cubic-bezier(.2,.75,.25,1) both;
}
#view-objectives .objective-card,
#view-missions .mission-card,
#view-challenges .challenge-item,
#view-challenges #ph248-goals>.card {
  animation:pmAdventureRise .52s cubic-bezier(.2,.75,.25,1) both;
}
#view-objectives .objective-card:nth-child(2),
#view-missions .mission-card:nth-child(2),
#view-challenges .challenge-item:nth-child(2) { animation-delay:.07s; }
#view-objectives .objective-card:nth-child(3),
#view-missions .mission-card:nth-child(3),
#view-challenges .challenge-item:nth-child(3) { animation-delay:.14s; }
#view-objectives .objective-card:nth-child(4),
#view-missions .mission-card:nth-child(4),
#view-challenges .challenge-item:nth-child(4) { animation-delay:.21s; }
#view-objectives .objective-card:nth-child(5),
#view-missions .mission-card:nth-child(5),
#view-challenges .challenge-item:nth-child(5) { animation-delay:.28s; }
#view-objectives .objective-card:nth-child(6),
#view-missions .mission-card:nth-child(6),
#view-challenges .challenge-item:nth-child(6) { animation-delay:.35s; }
#view-objectives .objective-status,
#view-missions .mission-badge {
  animation:pmBadgePop .58s .2s cubic-bezier(.2,.8,.25,1) both;
}
#view-missions .mission-track .mission-fill,
#view-challenges .challenge-bar i {
  transform-origin:left center!important;
  animation:pmProgressGrow 1.05s .16s cubic-bezier(.18,.72,.24,1) both;
}
#view-objectives #objectives-grid>.card,
#view-missions .missions-list>.mission-card,
#view-challenges .challenge-item,
#view-challenges .challenge-create-card button {
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
}
#view-objectives .objective-card:active,
#view-missions .mission-card:active,
#view-challenges .challenge-item:active,
#view-challenges .challenge-create-card button:active {
  transform:scale(.985)!important;
}
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
  #view-objectives .objective-card:hover,
  #view-missions .mission-card:hover,
  #view-challenges .challenge-item:hover {
    transform:translateY(-3px)!important;
    box-shadow:0 12px 24px rgba(24,55,35,.13)!important;
  }
}
@media(prefers-reduced-motion:reduce) {
  #view-objectives *,#view-missions *,#view-challenges * {
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    scroll-behavior:auto!important;
    transition-duration:.01ms!important;
  }
}

/* PEAKMENDIAK — LIGA Y RANKINGS: MICROINTERACCIONES */
@keyframes pmRankingReveal {
  from { opacity:0; transform:translateY(9px); }
  to { opacity:1; transform:translateY(0); }
}
@keyframes pmMyLeaguePulse {
  0%,100% { box-shadow:0 0 0 0 rgba(89,145,91,0); }
  50% { box-shadow:0 0 0 5px rgba(89,145,91,.13); }
}
#view-stats .ranking-hero-card,
#view-stats .ranking-position-box,
#view-stats .ranking-hero-stats .league-player {
  animation:pmRankingReveal .55s cubic-bezier(.2,.75,.25,1) both;
}
#view-stats .ranking-hero-stats .league-player { animation-delay:.08s; }
#view-stats .ranking-hero-stats .league-player:nth-child(2) { animation-delay:.15s; }
#view-stats .ranking-hero-stats .league-player:nth-child(3) { animation-delay:.22s; }
#view-stats .pm130-season-entry,
#view-stats #leaderboard-list>*,
#view-stats #season-leaderboard>* {
  animation:pmRankingReveal .42s cubic-bezier(.2,.75,.25,1) both;
}
#view-stats .pm130-season-entry:nth-child(2),
#view-stats #leaderboard-list>*:nth-child(2),
#view-stats #season-leaderboard>*:nth-child(2) { animation-delay:.045s; }
#view-stats .pm130-season-entry:nth-child(3),
#view-stats #leaderboard-list>*:nth-child(3),
#view-stats #season-leaderboard>*:nth-child(3) { animation-delay:.09s; }
#view-stats .pm130-season-entry:nth-child(4),
#view-stats #leaderboard-list>*:nth-child(4),
#view-stats #season-leaderboard>*:nth-child(4) { animation-delay:.135s; }
#view-stats .pm130-season-entry:nth-child(5),
#view-stats #leaderboard-list>*:nth-child(5),
#view-stats #season-leaderboard>*:nth-child(5) { animation-delay:.18s; }
#view-stats .pm130-season-mine {
  animation:pmRankingReveal .48s ease both,pmMyLeaguePulse 2.8s .5s ease-in-out 1;
}
#view-stats .ranking-hero-card,
#view-stats .pm130-season-entry,
#view-stats #leaderboard-list>*,
#view-stats #season-leaderboard>*,
#view-stats .pm93-goat-row {
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
}
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
  #view-stats .pm130-season-entry:hover,
  #view-stats #leaderboard-list>*:hover,
  #view-stats #season-leaderboard>*:hover,
  #view-stats .pm93-goat-row:hover {
    transform:translateY(-2px);
    box-shadow:0 8px 18px rgba(24,55,35,.10);
  }
}
@media(prefers-reduced-motion:reduce) {
  #view-stats *,
  #view-stats *:before,
  #view-stats *:after {
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    scroll-behavior:auto!important;
    transition-duration:.01ms!important;
  }
}
/* The season list is refreshed as a whole; do not replay entrance effects on every refresh. */
#view-stats #pm95-panel-season .pm130-season-entry,
#view-stats #pm95-panel-season .pm130-season-mine,
#view-stats #season-leaderboard>* {
  animation:none!important;
  opacity:1!important;
  transform:none!important;
}
