/* End of round: preserve the existing game handlers and spawn picker. */
#gameOver .wz-go-dim{background:rgba(2,9,27,.68);backdrop-filter:blur(8px)}
#gameOver .wz-go-modal{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(480px,calc(100% - 28px));height:auto!important;max-height:calc(100dvh - 28px);min-height:0;padding:20px 20px 22px;border:2px solid #36dbee;border-radius:25px;background:linear-gradient(145deg,#092337f5,#041426fa 75%);box-shadow:0 20px 70px #0009,0 0 24px #08badd16;overflow:auto;scrollbar-width:thin;scrollbar-color:#26788d #07182a;animation:none!important;font-family:Arial,system-ui,sans-serif}
#gameOver .wz-go-head{display:flex;flex-direction:column;gap:13px;padding:0 0 16px;border:0;border-bottom:1px solid #329db56b;flex-shrink:0}
#gameOver .wz-go-chip{order:-1;align-self:center;font:900 15px/1 Arial,system-ui,sans-serif;color:#032039;border-radius:99px;padding:8px 21px;background:linear-gradient(#62f2fa,#16cce7);box-shadow:none}
#gameOver .wz-go-head h3{font:900 clamp(22px,4.8vw,29px)/1.15 Arial,system-ui,sans-serif;text-align:center;letter-spacing:-.5px;text-transform:uppercase;text-shadow:0 2px 0 #0005}
#gameOver .wz-go-body{display:flex;flex-direction:column;justify-content:flex-start;gap:17px;padding:18px 0 0;flex:none}
#gameOver .wz-go-score{display:flex;flex-direction:column;gap:6px;text-align:center;width:100%}
#gameOver .wz-go-score .lbl{font:800 16px/1.2 Arial,system-ui,sans-serif;color:#78d9f7;letter-spacing:.4px}
#gameOver .wz-go-score .val{font:900 clamp(42px,9vw,56px)/1.05 Arial,system-ui,sans-serif;color:#ffda59;letter-spacing:-1.5px;padding:0;margin:0;border:0;border-radius:0;background:none;box-shadow:none;text-shadow:0 3px 12px #0004}
#gameOver .wz-go-actions{width:100%;display:flex;flex-direction:column;gap:17px;align-items:center}
#gameOver #spawn-picker{margin:0;gap:8px;width:100%}
#gameOver #spawn-picker .sp-title{font:700 20px/1.3 Arial,system-ui,sans-serif;color:#f1f7ff;margin:0 0 2px}
#gameOver #spawn-picker canvas{display:block;width:190px;height:190px;border-radius:50%;border:2px solid #49e2ef;box-shadow:0 0 16px #20d3e619;background:#061426;touch-action:manipulation}
#gameOver #spawn-picker .sp-hint{font:400 11px/1.35 Arial,system-ui,sans-serif;color:#a9bfd4;min-height:15px;text-align:center}
#gameOver #spawn-picker .sp-random{font:700 13px/1.2 Arial,system-ui,sans-serif;border:1px solid #5d9bc0;border-radius:99px;padding:6px 24px;color:#ecf9ff;background:#0c243e;min-width:110px;cursor:pointer}
#gameOver #spawn-picker .sp-random:hover{background:#163952}
#gameOver .result-buttons{display:flex!important;flex-direction:row;align-items:stretch;gap:12px;width:100%;margin:0}
#gameOver .result-buttons .wz-go-btn{flex:1;min-width:0;max-width:none;width:auto;min-height:49px;padding:12px 8px;border-radius:14px;font:900 15px/1.2 Arial,system-ui,sans-serif;box-shadow:none;transition:filter .15s,transform .15s}
#gameOver #result-continue{color:#edf8ff;border:1.5px solid #67b9df;background:linear-gradient(#123d5d,#092238)}
#gameOver #result-play-again{color:#03243b;border:1.5px solid #7af7ff;background:linear-gradient(#55edf6,#10c9e2)}
#gameOver #result-play-again::before{content:'\21bb';display:inline-block;font-size:24px;line-height:.6;margin-right:8px;vertical-align:-2px}
#gameOver .wz-go-btn:hover{filter:brightness(1.1);transform:translateY(-1px)}
#gameOver button:focus-visible,#gameOver canvas:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(max-width:380px){#gameOver .wz-go-modal{padding:17px 14px;border-radius:20px}#gameOver .result-buttons{gap:8px}#gameOver .result-buttons .wz-go-btn{font-size:12px}#gameOver .wz-go-head h3{font-size:23px}}
@media(max-height:650px){#gameOver .wz-go-modal{padding:15px 18px}#gameOver .wz-go-head{gap:9px;padding-bottom:12px}#gameOver .wz-go-body{gap:12px;padding-top:12px}#gameOver .wz-go-score .val{font-size:44px}#gameOver .wz-go-actions{gap:12px}#gameOver #spawn-picker{gap:6px}#gameOver #spawn-picker canvas{width:154px;height:154px}#gameOver .result-buttons .wz-go-btn{min-height:44px}}
@media(max-height:420px) and (min-width:560px){#gameOver .wz-go-modal{width:min(700px,calc(100% - 28px))}#gameOver .wz-go-head{gap:6px}#gameOver .wz-go-head h3{font-size:23px}#gameOver .wz-go-body{display:grid;grid-template-columns:1fr 1.4fr;align-items:center;gap:20px}#gameOver .wz-go-chip{padding:5px 18px}#gameOver #spawn-picker canvas{width:110px;height:110px}#gameOver #spawn-picker .sp-title{font-size:16px}#gameOver .wz-go-actions{gap:9px}#gameOver .result-buttons .wz-go-btn{min-height:36px;font-size:12px}}
