#match-result{position:absolute;inset:0;z-index:8;background:radial-gradient(ellipse at 24% 45%,#08324e,#020f1b 75%);display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);align-items:center;padding:clamp(16px,4vh,42px) clamp(24px,5vw,70px);color:#f4f8ff;gap:24px;box-sizing:border-box;overflow:auto}
#match-result[hidden]{display:none}
#match-result:not([data-presented=true]) #result-balance-row{opacity:0}
.result-emblem{text-align:center;color:#30e8cc}.result-emblem svg{width:clamp(80px,24vh,180px);height:clamp(80px,24vh,180px);padding:20px;border:1px solid #245577;border-radius:50%;background:radial-gradient(circle,#0b354b,#061c30)}
#match-result[data-outcome=lost] .result-emblem{color:#a7c4e3}
.result-emblem p{font-size:12px;letter-spacing:3px;color:#99b6d7;margin-top:22px}
.result-copy{width:100%;min-width:0;max-width:590px;justify-self:center}.result-copy h1{font-size:clamp(27px,5.5vh,44px);margin:0 0 6px;line-height:1.15}
#result-amount{display:block;font-size:clamp(30px,7vh,56px);font-weight:750;line-height:1.25;color:#39e6ca;min-height:1.25em;font-variant-numeric:tabular-nums;margin-bottom:18px}
#match-result[data-outcome=lost] #result-amount{color:#ffb0b7}
#result-detail{font-size:clamp(12px,2.8vh,16px);color:#a7c4e3;margin:5px 0 14px;min-height:1.4em}
.result-balance{display:flex;align-items:center;justify-content:space-between;gap:12px;border-block:1px solid #24435b;padding:10px 0;color:#9dbbdd;font-size:14px}.result-balance strong{color:#f4f8ff;font-variant-numeric:tabular-nums}
#result-warning{font-size:14px;line-height:1.4;margin:10px 0;color:#ffc573}
#result-status{font-size:13px;line-height:1.4;margin:10px 0 0;min-height:2.8em;text-align:center;color:#9dbbdd;text-wrap:balance}
#result-status[data-tone=warning]{color:#ffc573}
.result-actions{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:12px;margin-top:20px}
.result-rematch{min-width:0}
.result-actions button{min-height:48px;width:100%;border-radius:14px;border:1px solid #386180;background:#071d30;color:#f4f8ff;font:600 16px system-ui;padding:12px 8px;cursor:pointer;transition:background-color 120ms,opacity 120ms}
.result-actions #result-again{background:#00c5ed;border-color:#36e4ff;color:#001522}
.result-actions button:not(:disabled):active{filter:brightness(.87)}
.result-actions button:disabled{opacity:.45;cursor:default}
@media(max-height:360px){#match-result{padding:12px 28px}.result-emblem svg{padding:12px}.result-balance{padding:6px 0}#result-amount{margin-bottom:10px}#result-detail,#result-warning{margin:5px 0}.result-actions{margin-top:12px}.result-actions button{min-height:44px;padding:8px}#result-status{margin-top:7px}}
@media(prefers-reduced-motion:reduce){.result-actions button{transition:none}}

#result-countdown{display:block;color:#ffc573;text-align:center;font-size:13px;font-weight:650;font-variant-numeric:tabular-nums;margin-top:4px}
#result-countdown[hidden]{display:none}
