/* Post-match statistics stay within the existing blue-and-white theme. */
.result-actions { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:12px; }
.result-stats-btn { border:1px solid #b2dcff; border-radius:9px; background:#0d447bba; color:#f0f9ff; padding:15px 20px; font-size:13px; font-weight:800; box-shadow:0 4px 0 #042448; transition:background .15s,transform .15s; }
.result-stats-btn:hover,.result-stats-btn:focus-visible { background:#2165a1; }
.result-stats-btn:active { transform:translateY(2px); }
.result-stats-btn span { margin-left:8px; }
.game-stats-dialog { max-width:555px; width:calc(100% - 28px); max-height:calc(100dvh - 36px); overflow:auto; padding:28px; border:1px solid #79b7ea; border-radius:20px; background:radial-gradient(ellipse at top right,#154875,#0b2c51 73%); box-shadow:0 28px 85px #010a20c9; }
.game-stats-dialog .modal-head h2 { margin-bottom:4px; }
.stats-outcome { margin:10px 0 20px; color:#b8dfff; font-size:13px; line-height:1.5; }
.stats-summary-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr));gap:10px; margin:0 0 20px; }
.stats-summary-item { padding:15px 18px;border:1px solid #548abb;border-radius:12px;background:#1a5385a8; }
.stats-summary-item span,.stats-table-head { color:#abd6f5;font-size:10px;font-weight:850;letter-spacing:.11em; }
.stats-summary-item strong { display:block;font:900 29px Outfit,sans-serif;color:#f3faff;margin-top:6px; }
.stats-table { border:1px solid #527fa7;border-radius:12px;overflow:hidden; }
.stats-table-row { display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,.8fr) minmax(0,1fr);align-items:center;gap:10px;padding:15px 16px; }
.stats-table-row+.stats-table-row { border-top:1px solid #44739e; }
.stats-table-head { background:#19466e;color:#bde1ff; }
.stats-table-row span:first-child { font-size:12px;color:#d8eaff; }
.stats-table-row b { font:850 21px Outfit,sans-serif;color:#f0f8ff; }
.stats-table-row b:nth-child(2),.stats-table-head span:nth-child(2) { color:#8dd0ff; }
.stats-accuracy-cell small { display:block;margin-top:3px;font-size:10px;font-weight:700;letter-spacing:0;color:#b6cce0;white-space:nowrap; }
.stats-table-row span:not(:first-child),.stats-table-row b { text-align:center; }
.stats-note { font-size:11px;line-height:1.55;color:#9fc1da;margin:14px 2px; }
.game-stats-dialog .main-btn { margin-top:7px; background:#e0f2ff;color:#14426c;box-shadow:0 4px 0 #72a9d5; }
.game-stats-dialog .main-btn:hover { background:#fff; }
@media(max-width:560px) {
  .result-overlay { padding:10px 7px; }
  .result-icon { font-size:43px; }
  .result-overline { font-size:9px; margin-top:5px; }
  .result-overlay strong { font-size:clamp(30px,8.5vw,44px); margin-top:3px; }
  .result-overlay p { font-size:11px; margin:8px 0 13px; }
  .result-actions { gap:9px; }
  .result-actions button { padding:11px 12px; font-size:11px; }
  .game-stats-dialog { padding:20px 17px; }
  .stats-table-row { padding:13px 10px;gap:5px; }
  .stats-table-row span:first-child { font-size:11px; }
  .stats-table-row b { font-size:19px; }
  .stats-summary-item { padding:12px; }
}
@media(prefers-reduced-motion:reduce){.result-stats-btn { transition:none; }}
