/* Center the Pokémon itself, keeping its information alongside on desktop. */
#reveal{--reveal-x:-50%;--reveal-y:calc(var(--sw) / -2);z-index:2}
#reveal.on{animation:revealArrive .4s cubic-bezier(.2,.9,.3,1) both}
#reveal.on[data-tier="c"],#reveal.on[data-tier="r"]{animation:revealQuiet .22s ease-out both}
@keyframes revealArrive{
 from{opacity:0;transform:translate(var(--reveal-x),calc(var(--reveal-y) + 22px)) scale(.9)}
 to{opacity:1;transform:translate(var(--reveal-x),var(--reveal-y)) scale(1)}
}
@keyframes revealQuiet{
 from{opacity:0;transform:translate(var(--reveal-x),calc(var(--reveal-y) + 6px))}
 to{opacity:1;transform:translate(var(--reveal-x),var(--reveal-y))}
}
@media(min-width:701px){
 #reveal{--reveal-x:calc(var(--sw) / -2);--reveal-y:-50%;top:50%;
   transform:translate(var(--reveal-x),var(--reveal-y));gap:clamp(20px,2.2vw,28px);white-space:normal}
 #reveal .ri{position:relative;isolation:isolate;max-width:min(38vw,460px);padding:16px 24px 18px}
 #reveal .ri::before{content:"";position:absolute;inset:0 0 0 -24px;z-index:-1;pointer-events:none;
   border:1px solid #c9e4e326;border-radius:18px;background:rgba(7,18,24,.86);
   box-shadow:inset 0 1px 0 #edfff514,0 12px 30px #0005;backdrop-filter:blur(7px);
   -webkit-mask-image:linear-gradient(90deg,transparent,#000 52px);mask-image:linear-gradient(90deg,transparent,#000 52px);
   animation:none;transition:none}
 #reveal .rl{line-height:1.65}
}
@media(min-width:701px) and (max-width:1100px){
 #reveal{--reveal-x:-50%;max-width:calc(100vw - 48px)}
 #reveal .ri{max-width:45vw}
}
@media(max-width:700px){
 #reveal{top:calc(50% - 18px);width:min(360px,calc(100% - 28px));
   transform:translate(var(--reveal-x),var(--reveal-y));white-space:normal}
 #reveal .sprite{margin:0 auto}
 #reveal .ri{margin-top:8px;padding:13px 16px 15px;border-radius:18px;
   border:1px solid #c9e4e326;background:rgba(7,18,24,.86);
   box-shadow:inset 0 1px 0 #edfff514,0 12px 30px #0005;backdrop-filter:blur(7px)}
 #reveal h3{margin:0 0 7px;line-height:1.2}
 #reveal .rl{font-size:10px;line-height:1.65;letter-spacing:.1em}
 #reveal .bd{flex-wrap:wrap;justify-content:center;gap:6px;margin-top:10px}
 #summary .actions .btn{font-size:15px;line-height:1.25;min-height:48px;padding:12px 6px}
}
@media(prefers-reduced-motion:reduce){
 #reveal.on,#reveal.on[data-tier]{animation:none!important;transform:translate(var(--reveal-x),var(--reveal-y))}
}
