.game-victory {
  box-sizing: border-box; width: min(440px, calc(100% - 24px)); max-height: calc(100% - 24px);
  margin: auto; padding: clamp(1.25rem, 5vw, 2rem); overflow: auto; position: fixed;
  color: #fff0d4; background: radial-gradient(ellipse at top, #273447, #14121d 72%);
  border: 1px solid #e9bc75; border-radius: 20px; text-align: center;
  box-shadow: 0 20px 70px #000b;
}
.game-victory::backdrop { background: #08070bdd; }
.victory-content { position: relative; }
.victory-content img { display: block; width: min(100%, 205px); height: auto; margin: 0 auto .5rem; }
.victory-game { color: #f5d19a; font-weight: 700; margin: 0 0 .3rem; }
.game-victory h2 { font: 700 clamp(2.7rem, 12vw, 4.4rem)/1 Georgia, serif; color: #ffe3a1; margin: 0; }
#victory-result { margin: .8rem 0 1.2rem; font-size: 1.15rem; }
.victory-actions { display: grid; gap: .6rem; }
.victory-actions > * {
  display: grid; place-items: center; min-height: 46px; padding: .55rem .8rem;
  border-radius: .65rem; font: inherit; font-weight: 750; cursor: pointer;
}
.victory-primary { color: #201517; background: #ffdb86; text-decoration: none; }
.victory-replay { background: #292331; border: 1px solid #c4a276; color: #fff0d4; }
.victory-actions > :focus-visible { outline: 3px solid #75f0df; outline-offset: 3px; }
.victory-effects { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.victory-effects i { position: absolute; }
.victory-spark { width: 5px; height: 5px; border-radius: 50%; box-shadow: 0 0 8px currentColor; }
.victory-confetti { width: 6px; height: 10px; border-radius: 1px; }
