.board-wrap .floating{inset:-140px 0 0;overflow:hidden;z-index:8}
.board .cell.match-lit{z-index:3;outline:3px solid #ffe6a1;outline-offset:-2px;box-shadow:0 0 0 2px #b48236,0 0 19px #ffd469,inset 0 0 16px #fff1be;animation:match-light .13s ease-out both}
.board .cell.match-lit.clearing{animation:match-pop .19s ease-in both;outline-color:#fff3c7}
.match-link{position:absolute;height:5px;margin-top:-2px;border-radius:5px;background:#fff2b5;box-shadow:0 0 7px #ffe198,0 0 13px #c6953b;transform-origin:left center;animation:match-line .32s ease-out both}
.match-ring{position:absolute;width:var(--ring-size);height:var(--ring-size);margin-left:calc(var(--ring-size)/-2);margin-top:calc(var(--ring-size)/-2);border:3px solid #ffdf85;border-radius:50%;box-shadow:0 0 15px #f9ca6480;animation:match-ring .55s .1s ease-out both}
.match-petal,.match-flight{position:absolute;width:13px;height:19px;margin:-9px -6px;background:var(--petal-color);border:1px solid #fff1c7;border-radius:80% 15% 80% 15%;box-shadow:0 2px 4px #6c4d3130;animation:match-burst .62s .12s cubic-bezier(.15,.7,.3,1) both}
.match-flight{width:11px;height:16px;z-index:9;animation:match-flight .42s .25s cubic-bezier(.35,0,.45,1) both}
.match-score{position:absolute;z-index:10;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:3px;white-space:nowrap;pointer-events:none;animation:match-score .9s ease-out both}
.match-score span{font-size:17px;font-weight:900;color:#fff7d4;text-shadow:0 2px 0 #674a2a,1px 0 0 #674a2a,-1px 0 0 #674a2a;filter:drop-shadow(0 3px 5px #3e392650)}
.match-score b{font-size:21px;font-weight:900;color:#ffe6a1;text-shadow:0 2px 0 #6b4d2e,1px 0 0 #6b4d2e,-1px 0 0 #6b4d2e}
.match-score-strong span{font-size:20px}
.progress.petal-arrival{animation:petal-arrival .35s ease-out}
#result:not([hidden]) .bouquet-gift{animation:bouquet-unfold .7s cubic-bezier(.2,.8,.2,1) both;filter:drop-shadow(0 0 17px #e3bd6c55)}
@keyframes match-light{from{transform:scale(1)}to{transform:scale(1.07)}}
@keyframes match-pop{0%{opacity:1;transform:scale(1.07)}35%{opacity:1;transform:scale(.92)}100%{opacity:0;transform:scale(1.3)}}
@keyframes match-line{0%{opacity:0}30%{opacity:1}100%{opacity:0}}
@keyframes match-ring{from{opacity:.9;transform:scale(.2)}to{opacity:0;transform:scale(1.1)}}
@keyframes match-burst{0%{opacity:0;transform:scale(.4)}15%{opacity:1}100%{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(var(--spin)) scale(.5)}}
@keyframes match-flight{0%{opacity:0;transform:translate(0,0) rotate(0)}10%{opacity:1}55%{opacity:1;transform:translate(calc(var(--fly-x)*.35),calc(var(--fly-y)*.65 - 20px)) rotate(100deg)}100%{opacity:0;transform:translate(var(--fly-x),var(--fly-y)) rotate(230deg) scale(.5)}}
@keyframes match-score{0%{opacity:0;transform:translate(-50%,-35%) scale(.65)}18%{opacity:1;transform:translate(-50%,-50%) scale(1.08)}45%{opacity:1;transform:translate(-50%,-65%) scale(1)}100%{opacity:0;transform:translate(-50%,-105%) scale(.95)}}
@keyframes petal-arrival{40%{transform:scaleY(1.6);box-shadow:0 0 10px #d6ad50}100%{transform:scaleY(1)}}
@keyframes bouquet-unfold{from{opacity:0;transform:translateY(20px) scale(.75) rotate(-5deg)}to{opacity:1;transform:translateY(0) scale(1) rotate(0)}}
@media(prefers-reduced-motion:reduce){.board .cell.match-lit{animation:none;outline:3px solid #b08031}.board .cell.match-lit.clearing{animation:none;opacity:.35}.floating{display:none}}

.elim-bubbles{position:fixed;inset:0;pointer-events:none;z-index:30}
.elim-bubble,#garden-tutorial .tutorial-chip{position:absolute;display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e4d7b0;border-radius:999px;padding:8px 14px;color:#344f48;font-size:14px;font-weight:700;line-height:1.2;box-shadow:0 8px 20px #1a382e2e;white-space:nowrap;pointer-events:none}
.elim-bubble b,#garden-tutorial .tutorial-chip b{color:#427d66;font-family:"Songti SC","Source Han Serif SC",Georgia,"Times New Roman",serif;font-size:16px;font-weight:700}
.elim-bubble-horn{display:inline-flex;align-items:center;color:#427d66;margin-left:2px}
.elim-bubble-horn svg{display:block}
.elim-bubble-in{animation:elim-bubble-in .22s ease-out}
.elim-bubbles.fading .elim-bubble{opacity:0;transition:opacity .4s ease}
@keyframes elim-bubble-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(min-width:700px){.elim-bubble,#garden-tutorial .tutorial-chip{padding:9px 16px;font-size:15px}.elim-bubble b,#garden-tutorial .tutorial-chip b{font-size:18px}}
@media(prefers-reduced-motion:reduce){.elim-bubble-in{animation:none}.elim-bubbles.fading .elim-bubble{transition:none}}
