/* Payouts occupy the reel stage, not another card. Size follows the real award.
   All motion is a single arrival/landing; reels and source artwork stay sharp. */
#winBadge.win-badge[data-tier]{
 top:50%;bottom:auto;left:50%;width:90%;min-width:0;max-width:90%;
 transform:translate(-50%,-50%);padding:0;gap:0;display:flex;flex-direction:column;
 border:0;border-radius:0;background:none;backdrop-filter:none;box-shadow:none;
 white-space:nowrap;isolation:isolate;overflow:visible;animation:winHeroArrive .52s cubic-bezier(.17,.8,.24,1) both;
}
#winBadge.win-badge:before{display:none}
#winBadge .win-topline{align-items:center;gap:0;margin:0 0 8px}
#winBadge #winTier{
 font:900 var(--award-title-size,40px)/1 Geags,Arial,sans-serif;letter-spacing:-.035em;
 color:#ffdf88;text-shadow:0 2px #b06a20,0 4px #693113,0 6px #200c09,0 9px 15px #000c;
}
#winBadge #winAmount{
 display:block;font:900 var(--award-size,100px)/1.02 Geags,Arial,sans-serif;
 font-variant-numeric:tabular-nums;letter-spacing:-.045em;color:#fff0b2;
 text-shadow:0 2px #f3c264,0 4px #d68a32,0 6px #99511d,0 9px #52250f,0 13px 15px #000b;
 padding:0 0 9px;max-width:100%;animation:none;
}
#winBadge #winMultiple{font:800 var(--award-detail-size,12px)/1.3 Geags,Arial,sans-serif;letter-spacing:.11em;color:#ffe4b8;margin:10px 0 0;text-shadow:0 2px 5px #000}
body.after-hours #winBadge #winTier{color:#ffe8af;text-shadow:0 2px #ca913e,0 4px #8e3c64,0 6px #471329,0 9px 15px #000b}
#winBadge.settled #winAmount{animation:winAwardLand .45s cubic-bezier(.15,.8,.28,1) both,amountGleam .65s .08s ease-out both}
#winBadge .win-dismiss{height:48px;margin-top:10px}
#winBadge:not(.big) .win-dismiss{height:0;margin-top:0}
#skipWin{pointer-events:auto;min-height:44px;padding:8px 16px;border:1px solid #ffe4af66;border-radius:3px;background:#170e08c9;color:#fff1cb;font-size:11px;font-weight:800;letter-spacing:.08em;box-shadow:none}
#skipWin span{margin-left:12px;font-size:17px}#skipWin:hover{border-color:#ffe4af;background:#3b2314}
.win-stage{position:absolute;inset:0;z-index:4;overflow:hidden;pointer-events:none;background:radial-gradient(ellipse at 50% 50%,#0e070af2 0,#10080ddb 20%,#10080d8c 42%,transparent 78%);animation:winStageArrive .25s ease-out both}
.win-stage>i{position:absolute;left:0;right:0;top:0;bottom:0;background:linear-gradient(90deg,transparent,#ffc76422 32%,#ffd38442 50%,transparent 76%);clip-path:polygon(49% 62%,0 0,23% 0);transform-origin:50% 62%;animation:winSpotSweep .85s cubic-bezier(.16,.7,.3,1) both}
.win-stage>i+ i{transform:scaleX(-1);animation-name:winSpotSweepRight;animation-delay:90ms}
.win-stage[data-tier=groovy]>i{display:none}
.win-toast{position:absolute;z-index:5;left:50%;top:50%;bottom:auto;transform:translate(-50%,-50%);pointer-events:none;padding:0;width:88%;display:flex;flex-direction:column;align-items:center;gap:.8cqw;border:0;background:none;color:#ffe7ae;white-space:nowrap;text-align:center;animation:returnConfirm .28s ease-out both}
.win-toast>small{font-size:clamp(11px,1.3cqw,22px);font-weight:800;letter-spacing:.2em;color:#f4cd88;text-shadow:0 2px 6px #000}
.win-toast>strong{font:900 var(--return-size,76px)/1.04 Geags,Arial,sans-serif;letter-spacing:-.05em;font-variant-numeric:tabular-nums;color:#fff0b2;text-shadow:0 2px #f3c264,0 4px #d68a32,0 6px #99511d,0 9px #52250f,0 12px 20px #000c;padding-bottom:9px}
.win-toast>span{font-size:clamp(9px,.95cqw,14px);font-weight:700;letter-spacing:.12em;color:#e7ceaa;text-shadow:0 2px 6px #000}
.win-toast[data-weight=return]{gap:.5cqw;animation-name:returnConfirm}
.win-toast[data-weight=return]>strong{color:#ffe6af;text-shadow:0 2px #995c25,0 5px 12px #000b;padding-bottom:4px}
/* The money carries the impact: bright enamel face, dark extrusion, one glint. */
.win-toast[data-weight=win]>strong{animation:winAmountPunch .56s cubic-bezier(.16,.8,.24,1) both,amountGleam .65s .15s ease-out both}
.win-toast[data-weight=win]:before{content:'';position:absolute;z-index:-1;inset:5% 10%;background:radial-gradient(ellipse,#ffc45270 0,#ed9e2529 35%,transparent 68%);pointer-events:none;animation:amountBloom .7s ease-out both}
@supports(background-clip:text){
 #winBadge #winAmount,.win-toast>strong{
  color:transparent;background-image:linear-gradient(112deg,transparent 41%,#fffef5e6 48%,#fffef5 50%,transparent 58%),linear-gradient(180deg,#fffef1 0%,#fff1b2 24%,#ffdc68 43%,#de920e 51%,#ffc83c 58%,#ffed9b 78%,#ffc23e 100%);
  background-size:260% 100%,100% 100%;background-position:180% 0,0 0;background-repeat:no-repeat;background-clip:text;-webkit-background-clip:text;
  -webkit-text-stroke:.7px #ffd377;paint-order:stroke fill;text-shadow:none;
  filter:drop-shadow(0 1px 0 #fff1af) drop-shadow(0 2px 0 #a35b16) drop-shadow(0 3px 0 #71300d) drop-shadow(0 3px 0 #301203) drop-shadow(0 7px 7px #000c);
 }
 .win-toast[data-weight=return]>strong{color:transparent;text-shadow:none;filter:drop-shadow(0 2px 0 #8b4d18) drop-shadow(0 5px 6px #000b)}
}
.win-stage[data-tier=regular]{background:radial-gradient(ellipse at center,#170c06e6 0,#170c06b8 20%,#170c0655 42%,transparent 70%)}
.win-stage[data-tier=regular]>i{display:none}
/* Smooth, short-lived ribbons sit behind the art; just one line is ever mounted. */
#winLines g{animation:paylinePass .52s ease-out both}
#winLines path{fill:none;stroke:#ffc064;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
#winLines .payline-glow{stroke-width:13px;opacity:.28;filter:blur(5px)}
#winLines .payline-core{stroke-width:2px;opacity:.65;stroke-dasharray:100;animation:paylineDraw .24s ease-out both}
#winLines .payline-travel{stroke:#fff1be;stroke-width:3.5px;stroke-dasharray:10 90;filter:drop-shadow(0 0 4px #ffc665);animation:paylineTravel .46s cubic-bezier(.2,.6,.3,1) both}
.tile.paid{isolation:isolate}
.tile .symbol-gleam.symbol-aura{z-index:-1;opacity:0;background:none;mask-image:none;-webkit-mask-image:none;filter:blur(8px);mix-blend-mode:normal;animation:none;transform:scale(1.025);transition:opacity .12s ease-out}
.symbol-aura:before{content:'';position:absolute;inset:0;background:#ffca62;mask:var(--symbol-mask) center/contain no-repeat;-webkit-mask:var(--symbol-mask) center/contain no-repeat}
.tile.payline-focus .symbol-aura{opacity:.85}
@keyframes paylinePass{0%{opacity:0}18%,70%{opacity:1}100%{opacity:0}}
@keyframes paylineDraw{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}
@keyframes paylineTravel{0%{stroke-dashoffset:10;opacity:0}12%{opacity:1}90%{opacity:1}100%{stroke-dashoffset:-100;opacity:0}}
@keyframes winAmountPunch{0%{opacity:0;transform:translateY(8px) scale(.62)}46%{opacity:1;transform:translateY(0) scale(1.12)}72%{transform:scale(.98)}100%{opacity:1;transform:scale(1)}}
@keyframes amountGleam{from{background-position:180% 0,0 0}to{background-position:-80% 0,0 0}}
@keyframes amountBloom{0%{opacity:0;transform:scale(.5)}35%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1.15)}}
@keyframes returnConfirm{from{opacity:0;transform:translate(-50%,-46%)}to{opacity:1;transform:translate(-50%,-50%)}}
#game.celebrating .bulbs i{animation:winBulbLift 1.1s ease-out 1 both;animation-delay:calc(var(--i)*24ms)}
@keyframes winHeroArrive{0%{opacity:0;transform:translate(-50%,-50%) scale(.76)}72%{opacity:1;transform:translate(-50%,-50%) scale(1.035)}100%{opacity:1;transform:translate(-50%,-50%) scale(1)}}
@keyframes winAwardLand{0%{transform:scale(.96)}40%{transform:scale(1.12)}72%{transform:scale(.99)}100%{transform:scale(1)}}
@keyframes winStageArrive{from{opacity:0}to{opacity:1}}
@keyframes winSpotSweep{0%{opacity:0;transform:rotate(-24deg)}45%{opacity:.8}100%{opacity:0;transform:rotate(28deg)}}
@keyframes winSpotSweepRight{0%{opacity:0;transform:scaleX(-1) rotate(-24deg)}45%{opacity:.8}100%{opacity:0;transform:scaleX(-1) rotate(28deg)}}
@keyframes winBulbLift{0%,100%{box-shadow:0 0 5px #ffb85266}45%{box-shadow:0 0 12px #ffd37e99}}
@media(max-height:560px) and (min-aspect-ratio:4/5){#winBadge .win-topline{margin-bottom:4px}#winBadge #winAmount{padding-bottom:5px}#winBadge #winMultiple{margin-top:3px}#winBadge .win-dismiss{margin-top:4px}}
@media(prefers-reduced-motion:reduce){#winBadge,.win-stage,.win-stage>i,#winBadge.settled #winAmount,.win-toast,.win-toast>strong,.win-toast:before,#game.celebrating .bulbs i{animation:none!important}.win-stage>i,.win-toast:before{display:none}#skipWin{display:none}}
@media(prefers-reduced-motion:reduce){#winLines,.symbol-aura{display:none}}
