* {
  box-sizing: border-box;
}

.result-wrapper {
  aspect-ratio: 3 / 2;
  position: relative;
  margin: 0;
  padding: 0;
  background-image: url("../assets/images/ui/win-card.webp");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  border: 0;
  box-shadow: none;
  overflow: visible;
  width: 940px !important;
  min-width: 940px !important;
  max-width: 940px !important;
  height: 627px !important;
  min-height: 627px !important;
  max-height: 627px !important;
  flex: 0 0 940px !important;
  box-sizing: border-box !important;
  transform: none !important;
}

.stage-badge {
  position: absolute;

  top: 2.5%;
  left: 50%;
  transform: translateX(-50%);

  width: 240px;
  height: 55px;

  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  background: transparent;
  border: 0;
  box-shadow: none;

  color: #6d4700;

  font-size: 19px;
  font-weight: 900;
}

.stage-badge span {
  color: #e88b00;
}

.result-close-button {
  position: absolute;

  top: 30px;
  right: 40px;

  z-index: 20;

  width: 42px;
  height: 42px;

  padding: 0;

  border: 0;
  background: transparent;

  cursor: pointer;
}

.result-close-button img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  display: block;
}

.result-close-button:active {
  transform: scale(0.9);
}

.result-content {
  position: static;
  display: block;
}

.completed-image-box {
  position: absolute;

  top: 15.3%;
  right: 15.4%;

  width: 37%;
  height: 40%;

  padding: 0;

  background: transparent;
  border: 0;
  box-shadow: none;

  overflow: hidden;
}

.completed-image {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;

  border-radius: 14px;
}

.result-character {
  position: absolute;

  top: 8%;
  left: 8%;

  width: 40%;
  height: 60%;

  display: flex;
  align-items: center;
  justify-content: center;
}

.result-character-image {
  width: 100%;
  height: 100%;

  object-fit: contain;

  display: block;

  transform: none;
}

.stars-row {
  position: absolute;

  top: 59.2%;
  left: 50%;

  transform: translateX(-50%);

  margin: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 4.7px;
}

.big-star {
  font-size: 50px;
  line-height: 1;
  color: #f0a606;
}

.star-earned {
  opacity: 1;
}

.star-disabled {
  opacity: 0.25;
  filter: grayscale(1);
}

.result-stats {
  position: absolute;

  top: 68.6%;
  left: 50%;

  transform: translateX(-50%);

  width: 50%;
  height: 9%;

  margin: 0;
  padding: 0 15px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 20px;

  background: transparent;
  border: 0;
  box-shadow: none;
}

.result-stats .stat-item {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 7px;

  color: #704600;

  font-size: 17px;
  font-weight: 800;
}

.result-stats .stat-item strong {
  font-size: 20px;
}

.result-stats .stat-icon {
  width: 42px;
  height: 42px;

  object-fit: contain;

  display: block;
}

.result-stats .stat-divider {
  width: 2px;
  height: 34px;

  background: rgba(120, 75, 0, 0.35);
}

.result-actions {
  position: absolute;

  top: 79.1%;
  left: 50%;

  transform: translateX(-50%);

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 18px;
}

.result-btn {
  width: auto;
  height: auto;

  padding: 0;
  margin: 0;

  border: 0;
  background: transparent;

  overflow: visible;

  display: flex;
  align-items: center;
  justify-content: center;
}

.result-btn-icon {
  width: 95px;
  height: 72px;

  max-width: none !important;
  max-height: none !important;

  object-fit: fill;

  display: block;
}

.result-btn:active {
  transform: scale(0.9);
}

.confetti {
  display: none;
}
