.prize-showcase {
  width: 100%;
  max-width: 760px;
  margin: 26px auto 20px;
  text-align: left;
}

.prize-showcase-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.prize-showcase-head h2 {
  margin: 5px 0 0;
  color: #fff;
  font-size: 21px;
  line-height: 1.15;
}

.prize-showcase-head > span {
  flex: none;
  color: #b8b4bc;
  font-size: 12px;
}

.prize-showcase .prize-showcase-note {
  max-width: 680px;
  margin: 0 0 16px;
  color: #aaaeb8;
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
}

.prize-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}

.prize-showcase-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  padding: 10px 8px 11px;
  border: 1px solid #ffffff12;
  border-radius: 17px;
  background: linear-gradient(145deg, #2b2b34, #1c1d25 76%);
  box-shadow: inset 0 1px #ffffff0b, 0 8px 20px #0003;
  text-align: center;
  animation: prize-card-in .38s ease both;
}

.prize-showcase-card:nth-child(2n) { animation-delay: 45ms; }
.prize-showcase-card:nth-child(3n) { animation-delay: 90ms; }

.prize-showcase-art {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 8px;
  border-radius: 13px;
  background: radial-gradient(circle at 50% 60%, #70569238, transparent 70%);
}

.prize-showcase-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 7px 11px #0008);
}

.prize-showcase-art > span {
  font-size: clamp(43px, 11vw, 66px);
  filter: drop-shadow(0 7px 12px #0007);
}

.prize-showcase-art.is-stars {
  background: radial-gradient(circle, #ffd06650, #6c3d1833 47%, transparent 73%);
}

.prize-showcase-art.is-stars > span {
  filter: drop-shadow(0 0 12px #ffb830b8);
}

.prize-showcase-card > strong {
  display: -webkit-box;
  width: 100%;
  min-height: 29px;
  overflow: hidden;
  color: #f3f1f4;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.prize-showcase-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 66px;
  min-height: 28px;
  margin-top: 7px;
  padding: 4px 9px;
  border: 1px solid #ffc67155;
  border-radius: 15px;
  color: #fff0ce;
  background: #83522356;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.prize-showcase-value > span {
  margin-right: 4px;
  color: #ffd453;
  font-size: 16px;
  text-shadow: 0 0 7px #f9ad4090;
}

@keyframes prize-card-in {
  from { opacity: 0; transform: translateY(9px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.result-gift img {
  display: block;
  width: min(180px, 50vw);
  height: min(180px, 50vw);
  object-fit: contain;
  filter: drop-shadow(0 12px 22px #0008);
}

.stage-result .result-sell {
  border-color: #ffdd89;
  background: linear-gradient(120deg, #ffd167, #e99a2d 60%, #cd6d21);
  box-shadow: inset 0 1px #ffffff83, 0 8px 23px #bd6c3470;
  text-shadow: 0 1px 2px #7a491c;
}

.stage-result .result-inventory {
  margin-top: 9px;
  border-color: #ffffff31;
  color: #e5dfe9;
  background: #ffffff14;
  box-shadow: none;
}

.inventory-art {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  flex: none;
}

.inventory-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sale-flight-layer {
  position: fixed;
  z-index: 1000;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.sale-flight-star {
  position: absolute;
  left: -12px;
  top: -12px;
  color: #ffd352;
  font-size: 24px;
  line-height: 1;
  text-shadow: 0 0 8px #ffb627, 0 0 18px #ff8a14;
}

.balance-row.is-credited {
  animation: balance-credit-pulse .75s ease-out;
}

@keyframes balance-credit-pulse {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  45% { transform: scale(1.14); filter: brightness(1.55) drop-shadow(0 0 10px #ffc04c); }
}

@media (max-width: 540px) {
  .prize-showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .prize-showcase-head h2 { font-size: 19px; }
  .prize-showcase-card { padding: 8px 7px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .prize-showcase-card { animation: none; }
}
