.arcade-celebration{position:absolute;z-index:3;top:22%;left:50%;transform:translateX(-50%);width:calc(100% - 32px);max-width:460px;text-align:center;pointer-events:none;user-select:none;isolation:isolate}
.arcade-celebration[hidden]{display:none}.celebration-title{display:flex;justify-content:center;flex-wrap:wrap;gap:0 .25em;font:900 clamp(25px,4.2vw,45px)/1.12 "Arial Rounded MT Bold","Trebuchet MS",Sign,sans-serif;letter-spacing:-.5px;filter:drop-shadow(0 4px 0 #492c3b)}
.celebration-title span{display:inline-block;background:linear-gradient(#fff3ab 8%,#ffda62 38%,#f48c64 72%,#de596c);background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-stroke:1.7px #62334a;paint-order:stroke fill;text-shadow:none;transform-origin:50% 80%;font-weight:900}
.arcade-celebration small{display:block;margin-top:8px;font:clamp(12px,2.5vw,17px)/1.2 Sign,sans-serif;letter-spacing:1px;color:#fff1b7;text-shadow:1px 2px 0 #492c3b,-1px -1px 0 #492c3b}
.arcade-celebration[data-intensity="2"] .celebration-title span{background-image:linear-gradient(#e9ffb0,#98e4bd 45%,#5bbfbd 80%)}
.arcade-celebration[data-intensity="3"] .celebration-title span{background-image:linear-gradient(#fff8ac,#ffd362 38%,#fa8f9e 70%,#c98cec)}
.celebrate{animation:celebration-fade 1.65s both}.celebrate .celebration-title span{animation:celebration-pop .6s calc(var(--word)*.055s) both}.celebration-sparks{position:absolute;inset:35% 25%;z-index:-1}.celebration-sparks i{position:absolute;left:50%;top:50%;font-style:normal;color:#ffe194;text-shadow:1px 1px #62334a;font-size:20px;animation:celebration-spark 1.3s calc(var(--spark)*.025s) both}
.celebration-sparks i:nth-child(3n){color:#8ee6ca}.celebration-sparks i:nth-child(3n+1){color:#ff98b4}.arcade-celebration[data-intensity="3"] .celebration-sparks i:nth-child(2n){width:7px;height:12px;background:currentColor;font-size:0;border-radius:1px}
@keyframes celebration-pop{0%{transform:scale(.35,.6) rotate(-8deg)}45%{transform:scale(1.13,1.19) rotate(3deg)}70%{transform:scale(.98,.93) rotate(-2deg)}100%{transform:scale(1)}}
@keyframes celebration-fade{0%{opacity:0}10%,76%{opacity:1}100%{opacity:0}}
@keyframes celebration-spark{0%{opacity:0;transform:rotate(var(--angle)) translateX(25px) scale(.3)}20%{opacity:1}100%{opacity:0;transform:rotate(var(--angle)) translateX(clamp(65px,12vw,110px)) rotate(100deg) scale(.9)}}
@media(max-width:600px){.arcade-celebration{top:23%;max-width:340px}.celebration-title{font-size:clamp(24px,6.4vw,34px)}.celebration-title span{-webkit-text-stroke-width:1.3px}.celebration-sparks i{font-size:16px}}
@media(max-height:530px) and (orientation:landscape){.arcade-celebration{top:25%;max-width:380px}.celebration-title{font-size:25px}.arcade-celebration small{margin-top:3px}}
@media(prefers-reduced-motion:reduce){.celebrate,.celebrate .celebration-title span,.celebration-sparks i{animation:none}.celebration-sparks{display:none}}
