#star-chest-dialog{width:380px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto;text-align:center;background:radial-gradient(circle at 50% 35%,#31517d,#171c39);color:#effbff;border-color:#8ec8ff;padding:28px;box-sizing:border-box}
#star-close{position:absolute;right:10px;top:8px;width:36px;height:36px;border:0;background:transparent;color:white;font-size:28px}
#star-art{font-size:100px;line-height:1.5;color:#91e7ff;text-shadow:0 0 30px currentColor}
#star-chest-dialog[data-rarity=Epic] #star-art{color:#b888ff}#star-chest-dialog[data-rarity=Mythic] #star-art{color:#ff7dcb}#star-chest-dialog[data-rarity=Legendary] #star-art{color:#ffd56a}#star-chest-dialog[data-rarity=Prismatic] #star-art{color:#a7ffdf}
.star-pop{animation:starChestPop .35s ease-out}@keyframes starChestPop{from{transform:scale(.65) rotate(-12deg)}to{transform:scale(1) rotate(0)}}
@media(prefers-reduced-motion:reduce){.star-pop{animation:none}}
