/* A single full-time surface replaces the delivery arena and duplicate celebration. */
body .page .layout .board.online-result-board{height:auto;min-height:640px}
body .page .layout .board.online-result-board .arena{display:block;padding:22px 24px;min-height:0}
.online-result-board .boardtop,.online-result-board .match-strip{display:none!important}
body:has(.online-result-board) .scorecard,body:has(.online-result-board) .rules,body:has(.online-result-board) #modeinfo{display:none}
body:has(.online-result-board) .layout{grid-template-columns:minmax(0,1fr)}
.match-result{width:min(560px,100%);margin:auto;position:relative;isolation:isolate;text-align:center;animation:result-arrive .4s ease-out both}
.match-result:before{content:'';position:absolute;z-index:-1;pointer-events:none;inset:90px -30px 110px;background:radial-gradient(ellipse at center,#efcc7530,transparent 65%)}
.match-result .result-heading{height:auto;display:block;border:0;padding:0;max-width:none;margin:0}
.result-kicker,.result-gear-label{font-size:10px;font-weight:700;letter-spacing:2px;color:#e4cc8f}
body .board .match-result h2{font:700 clamp(42px,5vw,58px)/1.05 'Space Grotesk',sans-serif;letter-spacing:-2px;margin:9px 0 5px;color:#fff0c3;outline:none}
.result-won .result-heading h2{color:#ffdf94}
.online-result-board:has(.result-won){background-image:radial-gradient(ellipse at 50% 35%,#d7b55430,transparent 68%),repeating-conic-gradient(from 8deg at 50% 38%,#d2bb6610 0deg 12deg,transparent 12deg 30deg)}
.result-win-seal{width:70px;height:76px;margin:0 auto 9px;filter:drop-shadow(0 5px 12px #efd27830);animation:result-trophy-in .5s cubic-bezier(.2,.8,.2,1) both}
.has-reward .result-win-seal{display:none}
.result-win-seal svg{display:block;width:100%;height:100%}
.result-only .result-win-seal{width:92px;height:96px;margin-bottom:16px}
body .board .result-won h2{color:#ffdf94;text-shadow:0 4px 0 #152d2355}
.result-confetti{position:absolute;pointer-events:none;left:50%;top:0;transform:translateX(-50%);width:100%;height:100%;overflow:hidden;z-index:3}
.result-confetti i{position:absolute;left:var(--x);top:-24px;width:var(--width);height:13px;border-radius:1px;background:var(--colour);opacity:0;animation:result-confetti-fall var(--fall) var(--delay) cubic-bezier(.18,.56,.65,1) both}
.result-confetti i:nth-child(3n){border-radius:50%;height:7px}
@keyframes result-confetti-fall{0%{opacity:0;transform:translate3d(0,-15px,0) rotate(0)}10%,65%{opacity:.95}100%{opacity:0;transform:translate3d(var(--drift),850px,0) rotate(var(--turn))}}
@keyframes result-trophy-in{from{opacity:0;transform:translateY(12px) scale(.7)}to{opacity:1;transform:translateY(0) scale(1)}}
.result-heading p{font:500 19px/1.4 'Space Grotesk',sans-serif;color:#e7d9ad;margin:0}
.result-score{display:flex;justify-content:center;align-items:center;gap:30px;margin:20px auto 0;padding:12px 0;border-block:1px solid #dfdfb322;max-width:330px}
.result-score>div{display:grid;gap:3px;min-width:90px;max-width:130px}.result-score span{font-size:11px;color:#c8d5bd;overflow-wrap:anywhere}
.result-score strong{font:600 27px/1.1 'Space Grotesk',sans-serif;color:#fbefd0}.result-score small{font-size:17px;color:#bdcbb4}
.result-hand{width:220px;height:180px;margin:0 auto;filter:drop-shadow(0 10px 12px #0c241c44)}
.result-hand .hand-style-art,.result-hand canvas{display:block;width:100%;height:100%;object-fit:contain}
.result-hand .hand-style-art{animation:result-hand-float 3.4s ease-in-out infinite}
.result-gear h3{font:600 23px/1.2 'Space Grotesk',sans-serif;letter-spacing:-.6px;color:#fff0c5;margin:7px 0}
.result-gear-note,.result-extra{font-size:12px;line-height:1.5;color:#ced8bf;margin:0 auto;max-width:350px}
.result-extra{margin-top:8px;font-size:11px}
.result-error{font-size:12px;line-height:1.4;color:#ffe5af;margin:12px 0}.result-error:empty{display:none}
.result-actions{display:grid;justify-items:stretch;width:min(320px,100%);margin:22px auto 0;gap:4px}
.match-result .result-primary{display:flex;justify-content:space-between;align-items:center;min-height:50px;padding:14px 20px;background:#f4d58e;color:#244b3b;box-shadow:0 3px 0 #ac8c4f;font-size:14px}
.match-result .result-primary:hover{background:#ffe2a0}.result-primary:disabled{opacity:.7;transform:none}
.result-skip{font-size:11px;min-height:36px}.result-skip[hidden]{display:none}
.result-rematch .secondary{width:100%;margin-top:9px}.result-rematch:empty{display:none}
.result-presence{font-size:11px;color:#c7d3bb;margin:12px 0 0}.result-presence:empty{display:none}
.match-result .result-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:0 16px;border:0;padding:0;margin:16px 0 0}
.result-footer .online-text{font-size:11px;padding:6px 0;min-height:32px}.result-footer [data-account-open]{flex-basis:100%}
@media(min-width:1025px){.result-footer [data-account-open]{flex-basis:auto}}
.is-equipping .result-hand{animation:result-equip-glow 1.6s ease-out}.is-equipping .result-gear-label{color:#ffdf94}
.online-board .number.pick-selected:disabled{opacity:1;background:#f4d58e;box-shadow:0 0 0 2px #fff0c1}
@keyframes result-arrive{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes result-hand-float{0%,100%{transform:translateY(2px) rotate(-2deg)}50%{transform:translateY(-5px) rotate(2deg)}}
@keyframes result-equip-glow{50%{filter:drop-shadow(0 0 22px #ffdc8d66)}}
@media(max-width:800px){
 body .page .layout .board.online-result-board{min-height:0}
 body .page .layout .board.online-result-board .arena{padding:24px 20px 18px}
 body .board .match-result h2{font-size:46px}.result-heading p{font-size:18px}
 .result-score{margin-top:17px;padding:10px 0}.result-hand{width:190px;height:154px}
 .result-gear h3{font-size:21px}.result-actions{margin-top:18px}.result-footer{margin-top:12px}
 .result-win-seal{width:44px;height:46px;margin-bottom:6px}.result-only .result-win-seal{width:80px;height:84px}
}
@media(prefers-reduced-motion:reduce){.match-result,.result-hand,.result-hand .hand-style-art,.result-win-seal{animation:none!important}.result-confetti{display:none}}
.match-result.result-only{padding:48px 0 30px}
.result-only .result-actions{margin-top:36px}
body .page .layout .board.online-result-board:has(.result-only){min-height:460px}
@media(max-width:800px){.match-result.result-only{padding:32px 0 16px}body .page .layout .board.online-result-board:has(.result-only){min-height:0}}
