.result-effect{position:fixed;z-index:10;inset:0;overflow:hidden;display:grid;place-items:center;isolation:isolate;animation:result-in .45s cubic-bezier(.2,.8,.2,1)}.result-effect::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 50% 42%,#fff6bb 0 3%,#ffbd33 12%,#d6431f 38%,#230b2c 75%);opacity:.96;z-index:-2;animation:flash 1.4s ease-in-out infinite}.result-effect.defeat::before{background:radial-gradient(circle at 50% 42%,#f5e5de 0 3%,#7b1d2d 20%,#230d25 58%,#080b20 100%)}.result-effect::after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent 0 3px,#0002 3px 4px);mix-blend-mode:overlay;pointer-events:none;z-index:2}.result-copy{position:relative;text-align:center;max-width:90vw;padding:44px 36px;border:2px solid #fff6bf;background:#160b1ddd;box-shadow:0 0 0 10px #ffdc4a55,0 0 70px 20px #ff6b2177;transform:rotate(-2deg);animation:copy-pop .7s cubic-bezier(.17,.89,.32,1.35)}.defeat .result-copy{background:#170d28dd;border-color:#ff8b92;box-shadow:0 0 0 10px #fe5d7155,0 0 70px 20px #7c3bff88;transform:rotate(2deg)}.result-copy small{font:12px 'DM Mono';letter-spacing:.18em;color:#ffe48b}.defeat .result-copy small{color:#ffb0bc}.result-copy h2{margin:11px 0 8px;font:900 clamp(36px,6vw,88px)/1.05 'Noto Serif SC';letter-spacing:-.11em;color:#fff9d1;text-shadow:4px 4px 0 #e14a25,-4px -3px 0 #5b175f,0 0 26px #fff02a;white-space:nowrap;animation:title-shake .75s ease-in-out infinite alternate}.defeat .result-copy h2{color:#fff1f2;text-shadow:4px 4px 0 #b62547,-4px -3px 0 #592ca3,0 0 26px #fd7da2}.result-copy p{margin:0 0 23px;color:#e6d7c2;font-size:14px}.result-copy button{border:1px solid #fff1a8;background:#ffe04e;padding:9px 15px;font-weight:800;color:#351318}.defeat .result-copy button{background:#ff7383;color:#3c0b1c}.result-copy button b{font-size:18px;line-height:10px;margin-left:12px}.burst{position:absolute;inset:0;z-index:-1}.burst i{position:absolute;left:50%;top:48%;width:9px;height:30px;background:linear-gradient(#fff5a6,#ff5b26);transform:rotate(calc(var(--i) * 12.857deg)) translateY(-10px);transform-origin:4px 2px;animation:spark 1.3s ease-out infinite;animation-delay:calc(var(--i) * -45ms)}.defeat .burst i{background:linear-gradient(#ffb1bc,#943dff)}@keyframes result-in{from{opacity:0;transform:scale(1.08)}to{opacity:1;transform:scale(1)}}@keyframes copy-pop{0%{opacity:0;transform:scale(.2) rotate(10deg)}70%{transform:scale(1.05) rotate(-3deg)}100%{transform:scale(1) rotate(-2deg)}}@keyframes flash{50%{filter:hue-rotate(35deg) brightness(1.22)}}@keyframes title-shake{to{transform:translate(2px,-2px) rotate(.5deg)}}@keyframes spark{0%{opacity:1;transform:rotate(calc(var(--i) * 12.857deg)) translateY(-10px) scale(1)}100%{opacity:0;transform:rotate(calc(var(--i) * 12.857deg)) translateY(min(70vh,700px)) scale(.2)}}@media(max-width:500px){.result-copy{padding:35px 16px}.result-copy h2{font-size:38px;white-space:normal}.result-copy small{font-size:9px}}
