.harvest-pending-backdrop {
  position: fixed;
  inset: 0;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(19, 12, 29, .7);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  animation: harvestPendingFade .2s ease-out both;
}

.harvest-pending-modal {
  position: relative;
  width: min(440px, calc(100vw - 40px));
  padding: 42px 34px 30px;
  border: 1px solid rgba(106, 63, 158, .12);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(15, 8, 24, .35);
  color: #21162c;
  text-align: center;
  animation: harvestPendingRise .25s cubic-bezier(.2, .8, .2, 1) both;
}

.harvest-pending-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f2edf6;
  color: #392348;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.harvest-pending-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  border-radius: 22px;
  background: linear-gradient(145deg, #7f4bc1, #4c286f);
  color: #fff;
  font-size: 35px;
  box-shadow: 0 12px 30px rgba(91, 49, 130, .25);
}

.harvest-pending-kicker {
  margin: 0 0 9px;
  color: #7950a5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}

.harvest-pending-title {
  margin: 0;
  color: #21162c;
  font-size: clamp(25px, 6vw, 32px);
  font-weight: 850;
  letter-spacing: -.045em;
}

.harvest-pending-message {
  margin: 15px 0 25px;
  color: #6f6677;
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
}

.harvest-pending-confirm {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  background: #512b73;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

.harvest-pending-confirm:hover {
  background: #653690;
}

.harvest-pending-confirm:active {
  transform: translateY(1px);
}

.harvest-pending-close:focus-visible,
.harvest-pending-confirm:focus-visible {
  outline: 3px solid rgba(130, 80, 181, .35);
  outline-offset: 3px;
}

body.harvest-pending-open {
  overflow: hidden;
}

@keyframes harvestPendingFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes harvestPendingRise {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 520px) {
  .harvest-pending-backdrop { padding: 16px; }
  .harvest-pending-modal {
    width: calc(100vw - 32px);
    padding: 38px 24px 24px;
    border-radius: 20px;
  }
  .harvest-pending-message { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .harvest-pending-backdrop,
  .harvest-pending-modal { animation: none; }
}
