/* A short cast visit over the alley. The controller keeps every action usable. */
.hana-celebration{position:absolute;inset:0;z-index:4;overflow:hidden;pointer-events:none!important;isolation:isolate;container-type:inline-size;color:#28524b;text-align:center}
.hana-celebration[hidden]{display:none!important}.hbc-shell{position:absolute;inset:0;overflow:hidden;background:radial-gradient(ellipse at 50% 44%,#fff9e9f7 0,#fff5dfef 58%,#f1debee8 100%);animation:hbc-screen-in .18s ease-out both}
.hbc-shell::after{content:'';position:absolute;inset:3%;border:1px solid #28524b30;pointer-events:none}
.hbc-picture{position:absolute;inset:0}.hbc-art{display:block;width:100%;height:100%}.hbc-card{position:absolute;z-index:3;top:8%;left:12%;width:76%;box-sizing:border-box;transform:rotate(-3deg);padding:12px 20px;background:#fffdf0;border:2px solid #28524b;box-shadow:5px 5px 0 #28524b;animation:hbc-card-land .38s cubic-bezier(.2,.7,.3,1.2) both}
.hbc-title{display:block;font:900 clamp(26px,7cqw,70px)/1.04 Georgia,'Times New Roman',serif;letter-spacing:-.04em;overflow-wrap:anywhere;text-wrap:balance;color:#28524b}.hbc-copy{display:block;margin-top:8px;font:700 clamp(10px,2cqw,17px)/1.4 'Courier New',monospace;letter-spacing:.01em;color:#46675d}.hbc-copy:empty{display:none}html:lang(zh) .hbc-title{line-height:1.2;letter-spacing:.025em;font-family:Georgia,'PingFang TC','Microsoft JhengHei',serif}
.hbc-person{transform-box:fill-box;transform-origin:50% 90%}.hbc-arrive{animation:hbc-cast-arrive .5s cubic-bezier(.2,.8,.3,1.1) both}.hbc-arrive-left{animation-delay:.05s}.hbc-arrive-right{animation-delay:.12s}.hbc-arrive-hana{animation-delay:.18s}.hbc-left{animation:hbc-friend-cheer .7s .45s ease-in-out 3}.hbc-right{animation:hbc-friend-cheer .7s .57s ease-in-out 3 reverse}.hbc-hana{animation:hbc-flower-hop .68s .3s ease-in-out 3}.hbc-extra-one,.hbc-extra-two{animation:hbc-friend-cheer .6s .5s ease-in-out 4}
.hbc-petal-spin{transform-box:fill-box;transform-origin:center;animation:hbc-bloom-turn 2.4s ease-in-out both}.hbc-flower-one{animation:hbc-bloom-enter .6s .1s both}.hbc-flower-two{animation:hbc-bloom-enter .6s .2s both}.hbc-flower-three{animation:hbc-bloom-enter .6s .35s both}.hbc-petal{transform-box:fill-box;transform-origin:center;animation:hbc-petal-float 1.9s .4s ease-out both}.hbc-petal-1{animation-delay:.55s}.hbc-petal-2{animation-delay:.7s}.hbc-petal-3{animation-delay:.85s}.hbc-streamers{stroke-dasharray:240;stroke-dashoffset:240;animation:hbc-streamer-unroll .85s .3s ease-out both}.hbc-stars{transform-origin:50% 50%;animation:hbc-stars-pop .8s .4s both}.hbc-ribbon{transform-origin:50% 95%;animation:hbc-ribbon-unroll .6s .2s ease-out both}.hbc-prop-pin{transform-box:fill-box;transform-origin:50% 95%;animation:hbc-pin-tip .65s .55s ease-in-out both}.hbc-prop-two{animation-delay:.68s}.hbc-prop-three{animation-delay:.78s}.hbc-prop-ball{animation:hbc-ball-roll 1s .15s ease-in-out both;transform-origin:center;transform-box:fill-box}
.hana-celebration[data-kind=spare] .hbc-hana{animation:hbc-leaf-sweep 1.5s .2s ease-in-out both}.hana-celebration[data-kind=spare] .hbc-prop-one{animation-delay:.3s}.hana-celebration[data-kind=spare] .hbc-prop-two{animation-delay:.8s}.hana-celebration[data-kind=spare] .hbc-prop-three{animation-delay:1.05s}.hana-celebration[data-kind=spare] .hbc-card{transform:rotate(2deg)}
.hana-celebration[data-kind=miss] .hbc-shell{background:radial-gradient(ellipse at 50% 44%,#fff9e9f7,#deeee8ef)}.hana-celebration[data-kind=miss] .hbc-hana{animation:hbc-friendly-nod 1.1s .25s ease-in-out 2}.hana-celebration[data-kind=miss] .hbc-left,.hana-celebration[data-kind=miss] .hbc-right{animation:hbc-friendly-nod 1s .4s ease-in-out 2}.hana-celebration[data-kind=miss] .hbc-prop-pin{animation:none}.hana-celebration[data-kind=miss] .hbc-petals,.hana-celebration[data-kind=miss] .hbc-streamers,.hana-celebration[data-kind=miss] .hbc-stars{display:none}.hana-celebration[data-kind=miss] .hbc-prop-ball{animation:hbc-ball-wobble 1.1s .2s both}.hana-celebration[data-kind=miss] .hbc-ribbon{fill:#b6d5c5}
.hana-celebration[data-kind=pinfall] .hbc-hana{animation:hbc-friendly-nod .7s .25s ease-in-out 2}.hana-celebration[data-kind=pinfall] .hbc-streamers{display:none}.hana-celebration[data-kind=pinfall] .hbc-prop-two,.hana-celebration[data-kind=pinfall] .hbc-prop-three{animation:none}
.hana-celebration[data-kind=turkey] .hbc-bloom{animation:hbc-bloom-enter .65s .3s both}.hana-celebration[data-kind=turkey] .hbc-flower-two{animation-delay:.65s}.hana-celebration[data-kind=turkey] .hbc-flower-three{animation-delay:1s}.hana-celebration[data-kind=turkey] .hbc-hana{animation:hbc-flower-hop .52s .45s ease-in-out 5}.hana-celebration[data-kind=turkey] .hbc-ribbon{fill:#e5b25f}
.hana-celebration[data-kind=game] .hbc-hana{animation:hbc-curtain-bow 2s .4s ease-in-out both}.hana-celebration[data-kind=series] .hbc-petal{animation-duration:2.6s}.hana-celebration[data-kind=series] .hbc-hana{animation:hbc-flower-hop .55s .3s ease-in-out 5}.hana-celebration[data-kind=series] .hbc-ribbon{fill:#e3b15d}.hana-celebration[data-kind=series] .hbc-card{border-color:#b85a35;box-shadow:5px 5px 0 #b85a35}
.hana-celebration[data-scene=cali-slingshot] .hbc-left{animation:hbc-cali-windup 1.9s .2s ease-in-out both}.hana-celebration[data-scene=pizzaman-high-five] .hbc-left{animation:hbc-high-five 1.4s .3s ease-in-out both}.hana-celebration[data-scene=chef-perfect-pair] .hbc-left{animation:hbc-leaf-sweep 1.5s .2s ease-in-out both}.hana-celebration[data-scene=courier-special-delivery] .hbc-left{animation:hbc-special-delivery 1.6s .15s ease-in-out both}.hana-celebration[data-scene=cali-friendly-shrug] .hbc-left{animation:hbc-cali-shrug 1.4s .2s ease-in-out both}.hana-celebration[data-scene=pesto-cheer-squad] .hbc-left{animation:hbc-duck-waddle 1.6s .2s ease-in-out both}.hana-celebration[data-scene=roni-bounce] .hbc-left{animation:hbc-flower-hop .45s .3s ease-in-out 4}.hana-celebration[data-scene=button-applause] .hbc-left{animation:hbc-friendly-nod .35s .3s ease-in-out 5}.hana-celebration[data-scene=tank-triple-salute] .hbc-left{animation:hbc-tank-salute .6s .4s ease-in-out 3}.hana-celebration[data-scene=toppings-conga] .hbc-left,.hana-celebration[data-scene=toppings-conga] .hbc-right{animation:hbc-duck-waddle 1.5s .3s ease-in-out both}.hana-celebration[data-scene=pizzaman-curtain-call] .hbc-left,.hana-celebration[data-scene=chef-score-supper] .hbc-left{animation:hbc-curtain-bow 2s .3s ease-in-out both}.hana-celebration[data-scene=all-cast-finale] .hbc-left,.hana-celebration[data-scene=pizzaman-pizza-party] .hbc-left{animation:hbc-high-five .8s .3s ease-in-out 3}
.hana-celebration.hbc-paused *{animation-play-state:paused!important}
.hana-celebration[data-reduced=true] *{animation:none!important;transition:none!important}.hana-celebration[data-reduced=true] .hbc-streamers{stroke-dashoffset:0}.hana-celebration[data-reduced=true] .hbc-petals{opacity:.45}.hana-celebration[data-reduced=true] .hbc-card{transform:none;box-shadow:3px 3px 0 #28524b}
@keyframes hbc-screen-in{from{opacity:0}to{opacity:1}}@keyframes hbc-card-land{from{opacity:0;translate:0 -12px;scale:.94}to{opacity:1;translate:0 0;scale:1}}@keyframes hbc-cast-arrive{from{opacity:0;translate:0 70px}to{opacity:1;translate:0 0}}@keyframes hbc-friend-cheer{0%,100%{transform:rotate(-3deg)}50%{transform:translateY(-18px) rotate(4deg)}}@keyframes hbc-flower-hop{0%,100%{transform:translateY(0) scale(1)}45%{transform:translateY(-30px) scale(1.03,.98)}75%{transform:translateY(-5px) scale(.98,1.02)}}@keyframes hbc-bloom-turn{from{rotate:-35deg;scale:.8}to{rotate:18deg;scale:1}}@keyframes hbc-bloom-enter{from{opacity:0;scale:.2}to{opacity:1;scale:1}}@keyframes hbc-petal-float{0%{opacity:0;translate:0 30px;rotate:0deg}20%{opacity:1}100%{opacity:.2;translate:18px -105px;rotate:145deg}}@keyframes hbc-streamer-unroll{to{stroke-dashoffset:0}}@keyframes hbc-stars-pop{0%{opacity:0;scale:.6}45%{opacity:1;scale:1.08}100%{opacity:1;scale:1}}@keyframes hbc-ribbon-unroll{from{scale:.1 1}to{scale:1}}@keyframes hbc-pin-tip{0%,25%{transform:rotate(0)}100%{transform:translate(16px,12px) rotate(75deg)}}@keyframes hbc-ball-roll{from{transform:translate(-70px,0) rotate(-80deg)}to{transform:translate(90px,-4px) rotate(90deg)}}@keyframes hbc-ball-wobble{0%,100%{transform:translateX(0) rotate(0)}35%{transform:translateX(20px) rotate(25deg)}70%{transform:translateX(-12px) rotate(-15deg)}}@keyframes hbc-leaf-sweep{0%,100%{transform:rotate(0)}30%{transform:rotate(-12deg) translateX(-12px)}65%{transform:rotate(9deg) translateX(16px)}}@keyframes hbc-friendly-nod{0%,100%{transform:rotate(0)}40%{transform:translateY(8px) rotate(5deg)}75%{transform:translateY(-4px) rotate(-3deg)}}@keyframes hbc-curtain-bow{0%,100%{transform:rotate(0)}40%,65%{transform:rotate(12deg) translateY(8px)}}@keyframes hbc-cali-windup{0%,100%{transform:rotate(0)}25%{transform:rotate(-18deg) translateX(-25px)}55%{transform:rotate(15deg) translateX(25px)}75%{transform:rotate(-3deg) translateY(-25px)}}@keyframes hbc-high-five{0%,100%{transform:rotate(0)}45%{transform:translate(35px,-35px) rotate(12deg)}70%{transform:translate(20px,-15px) rotate(-4deg)}}@keyframes hbc-special-delivery{0%{transform:translateX(-100px) rotate(-8deg)}60%{transform:translateX(25px) rotate(5deg)}100%{transform:translateX(0) rotate(0)}}@keyframes hbc-cali-shrug{0%,100%{transform:rotate(0)}30%{transform:rotate(-8deg) translateY(-8px)}65%{transform:rotate(8deg) translateY(-8px)}}@keyframes hbc-duck-waddle{0%,100%{transform:translateX(0) rotate(0)}25%{transform:translateX(-18px) rotate(-9deg)}75%{transform:translateX(18px) rotate(9deg)}}@keyframes hbc-tank-salute{0%,100%{transform:translateX(0) rotate(0)}35%{transform:translateX(-16px) rotate(-4deg)}60%{transform:translateX(7px) rotate(3deg)}}
@media(max-width:760px){.hbc-card{top:7%;left:8%;width:84%;padding:8px 12px}.hbc-title{font-size:clamp(24px,7cqw,45px)}.hbc-copy{margin-top:5px}.hbc-shell::after{inset:2%}}
@media(prefers-reduced-motion:reduce){.hana-celebration *{animation:none!important;transition:none!important}.hana-celebration .hbc-streamers{stroke-dashoffset:0}.hana-celebration .hbc-card{transform:none}}
