.result-screen.victory .result-sunburst{background:repeating-conic-gradient(from 0deg,transparent 0deg 14deg,#fce8861c 14deg 28deg);animation:sunburst 32s linear infinite}
.result-screen.victory .result-emblem{filter:drop-shadow(0 0 20px #ffd64a88);animation:champion-crown 2.8s ease-in-out infinite}
.result-screen.victory .display-title{text-shadow:0 4px 0 #584c23,0 0 32px #ffe77940}
/* Confetti falls behind the copy; a soft green pool sits between the two so no streamer cuts through a label. */
.result-screen.victory .result-content:before{content:"";position:absolute;inset:-6% -14%;z-index:-1;pointer-events:none;background:radial-gradient(closest-side,#0f3a2cb3,#0f3a2c8c 55%,#0f3a2c00)}
.victory-confetti{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.victory-confetti i{position:absolute;left:var(--x);top:-24px;width:8px;height:15px;background:var(--color);border-radius:2px;animation:victory-fall var(--duration) var(--delay) linear infinite;will-change:transform}
.victory-confetti i:nth-child(3n){width:6px;height:6px;border-radius:50%}
@keyframes victory-fall{0%{transform:translate3d(0,-30px,0) rotate(0);opacity:0}8%{opacity:.9}85%{opacity:.9}100%{transform:translate3d(var(--drift),105vh,0) rotate(680deg);opacity:0}}
@keyframes champion-crown{0%,100%{transform:translateY(0) rotate(-4deg)}50%{transform:translateY(-7px) rotate(4deg)}}
@media(prefers-reduced-motion:reduce){.result-screen.victory .result-sunburst,.result-screen.victory .result-emblem,.victory-confetti i{animation:none}.victory-confetti i{top:var(--x);opacity:.4}}
@media(orientation:landscape) and (max-height:500px){.result-content{padding:8px 0}.result-emblem{margin-bottom:4px}.result-emblem>.icon{width:26px;height:26px}.result-content>.eyebrow{margin-bottom:7px}.result-content>.display-title{font-size:46px}.result-content>#result-reason{margin:9px 0}.result-stats strong{font-size:23px}.result-stats{max-width:520px}.result-breakdown{margin:9px 0}.result-content>.play-button{padding:11px 18px;font-size:14px}.result-settings{margin-top:9px}.flawless-badge{margin:0 0 8px;padding:5px 8px}}
