dialog.reward-unlock {
  width: min(400px, calc(100vw - 32px));
  max-height: min(calc(100dvh - 32px), 680px);
  overscroll-behavior: contain;
}
.reward-unlock::backdrop { background: rgb(10 11 10 / .66); backdrop-filter: blur(2px); }
.reward-unlock .dialog-head { padding: 13px 17px 0 20px; }
.reward-unlock .dialog-head .eyebrow { margin: 0; }
.reward-unlock .close { width: 44px; height: 44px; display: grid; place-content: center; }
.reward-unlock .dialog-body {
  display: grid; gap: 16px; padding: 3px 20px 20px; text-align: center;
}
.reward-unlock-art {
  position: relative; isolation: isolate; display: grid; place-items: center;
  width: min(100%, 224px); min-height: 151px; margin: 0 auto;
}
.reward-unlock-art::before {
  content: ''; position: absolute; z-index: -1; width: 145px; aspect-ratio: 1;
  border: 1px solid #b88b5480; border-radius: 50%;
  background: radial-gradient(circle, #ff941c35, #ff941c0a 74%);
  box-shadow: 0 0 20px #ff941c25, inset 0 0 15px #ff941c19;
}
.reward-unlock-art[data-kind=background]::before {
  width: 168px; height: 132px; aspect-ratio: auto; border-radius: 12px;
}
.reward-unlock-art img {
  display: block; width: min(100%, 135px); height: 135px; object-fit: contain;
  filter: drop-shadow(0 5px 10px #0007);
}
.reward-unlock-art[data-kind=background] img { width: min(100%, 156px); height: auto; border-radius: 6px; }
.reward-unlock[open][data-unlock-motion] .reward-unlock-art img, .reward-unlock[open][data-unlock-motion] .reward-unlock-bundle {
  animation: reward-unlock-reveal 340ms ease-out both;
}
@keyframes reward-unlock-reveal {
  from { opacity: .5; transform: scale(.90); }
  65% { transform: scale(1.04); }
}
.reward-unlock-sparks { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.reward-unlock-art[data-kind=background] .reward-unlock-sparks { transform: scale(1.26, 1.24); }
.reward-unlock-sparks i {
  position: absolute; left: 50%; top: 50%; width: 3px; height: 7px;
  border-radius: 1px; background: var(--spark, #ffab56); opacity: 0;
}
.reward-unlock[open][data-unlock-motion] .reward-unlock-sparks i { animation: reward-unlock-spark 570ms ease-out both; }
.reward-unlock-sparks i:nth-child(1) { --x: -107px; --y: -50px; --r: -49deg; }
.reward-unlock-sparks i:nth-child(2) { --x: -103px; --y: 21px; --r: 51deg; --spark: #edcc90; }
.reward-unlock-sparks i:nth-child(3) { --x: -79px; --y: 62px; --r: -42deg; --spark: #6eb8d6; }
.reward-unlock-sparks i:nth-child(4) { --x: -89px; --y: -72px; --r: -21deg; --spark: #6eb8d6; }
.reward-unlock-sparks i:nth-child(5) { --x: 97px; --y: -64px; --r: 48deg; --spark: #edcc90; }
.reward-unlock-sparks i:nth-child(6) { --x: 108px; --y: 18px; --r: -32deg; }
.reward-unlock-sparks i:nth-child(7) { --x: 86px; --y: 62px; --r: 51deg; --spark: #6eb8d6; }
.reward-unlock-sparks i:nth-child(8) { --x: 78px; --y: -76px; --r: 32deg; }
@keyframes reward-unlock-spark {
  0% { opacity: 0; transform: scale(.5); }
  28% { opacity: .8; }
  60% { opacity: .69; }
  100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)); }
}
.reward-unlock-copy h2 {
  margin: 0 0 8px; font-size: clamp(26px, 7.6vw, 32px); line-height: 1.1;
  overflow-wrap: anywhere; text-wrap: balance;
}
.reward-unlock-copy h2:focus { outline: none; }
.reward-unlock-copy p { margin: 0; font-size: 14px; line-height: 1.48; }
.reward-unlock-copy strong { color: var(--ink); font-weight: 600; }
.reward-unlock-actions { display: grid; gap: 8px; }
.reward-unlock-actions .btn { width: 100%; min-height: 46px; padding-block: 11px; }
.reward-unlock :is(button, a):focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.reward-unlock-bundle { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; text-align: left; }
.reward-unlock-bundle li, .participant-award-item { display: flex; gap: 12px; align-items: center; }
.reward-unlock-bundle img, .participant-award-item img { width: 54px; height: 54px; object-fit: contain; flex: 0 0 54px; }
.participant-award-item { list-style: none; }
.participant-award-items { padding: 0; }
.participant-award-outcome .actions { display: grid; gap: 8px; margin: 12px 0 0; }
@media (max-width: 350px) {
  .reward-unlock .dialog-body { gap: 12px; padding-bottom: 16px; }
  .reward-unlock-art { min-height: 138px; }
  .reward-unlock-art::before { width: 130px; }
  .reward-unlock-art img { width: min(100%, 116px); height: 116px; }
  .reward-unlock-art[data-kind=background] img { width: min(100%, 150px); height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .reward-unlock[open][data-unlock-motion] .reward-unlock-art img,
  .reward-unlock[open][data-unlock-motion] .reward-unlock-bundle,
  .reward-unlock[open][data-unlock-motion] .reward-unlock-sparks i { animation: none; }
}
