/* 祝福提交成功浮层 */
.bless-success {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  pointer-events: none;
}

.bless-success:not(.hidden) {
  pointer-events: auto;
}

.bless-success__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 8, 12, 0.72);
  backdrop-filter: blur(6px);
}

.bless-success__card {
  position: relative;
  width: min(420px, 100%);
  padding: 28px 24px 24px;
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(255, 248, 242, 0.98) 0%, rgba(252, 235, 228, 0.96) 55%, rgba(245, 220, 228, 0.94) 100%);
  border: 1px solid rgba(196, 92, 92, 0.35);
  box-shadow:
    0 24px 60px rgba(80, 20, 40, 0.35),
    0 0 0 1px rgba(255, 220, 200, 0.5) inset;
  text-align: center;
  animation: blessSuccessIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes blessSuccessIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.bless-success__seal {
  font-family: var(--font-display, 'Ma Shan Zheng', cursive);
  font-size: 3.2rem;
  line-height: 1;
  color: var(--seal, #c45c5c);
  margin: 0 auto 8px;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--seal, #c45c5c);
  border-radius: 8px;
  transform: rotate(-8deg);
  box-shadow: 0 4px 16px rgba(196, 92, 92, 0.25);
}

.bless-success__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: #9a6b7a;
  margin: 0 0 6px;
}

.bless-success__title {
  font-family: var(--font-display, 'Ma Shan Zheng', cursive);
  font-size: 1.75rem;
  font-weight: 400;
  color: #5c3d48;
  margin: 0 0 12px;
}

.bless-success__player {
  font-size: 1rem;
  color: #6b5d4f;
  margin: 0 0 4px;
}

.bless-success__wish {
  font-size: 0.85rem;
  color: #9a6b7a;
  margin: 0 0 10px;
}

.bless-success__time {
  font-size: 0.82rem;
  color: #8a7a6a;
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}

.bless-success__account {
  font-size: 0.82rem;
  line-height: 1.55;
  color: #6b4a58;
  margin: 0 0 12px;
  padding: 10px 12px;
  background: rgba(212, 168, 106, 0.18);
  border-radius: 10px;
  border: 1px dashed rgba(196, 92, 92, 0.35);
}

.bless-success__account strong {
  color: #8b3d4a;
}

.bless-success__quote {
  font-family: var(--font-serif, 'Noto Serif SC', serif);
  font-size: 1.05rem;
  color: #4a3828;
  margin: 0 0 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  border-left: 3px solid var(--gold, #d4a574);
}

.bless-success__hint {
  font-size: 0.78rem;
  line-height: 1.55;
  color: #7a6a5a;
  margin: 0 0 16px;
}

.bless-success__steps {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0;
  margin: 0 0 20px;
  flex-wrap: wrap;
}

.bless-success__steps li {
  font-size: 0.72rem;
  color: #8a7a6a;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 999px;
}

.bless-success__steps li span {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--seal, #c45c5c);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
}

.bless-success__btn {
  width: 100%;
  max-width: 280px;
}

.form-player-hint {
  font-size: 0.78rem;
  margin-top: 6px;
  min-height: 1.2em;
}

.form-player-hint.is-ok {
  color: #5a8a6a;
}

.form-player-hint.is-warn {
  color: #c45c5c;
}

.form-player-hint.is-muted {
  color: #9a8b7a;
}

/* 祝福提交中 · 全屏遮罩 */
body.bless-submitting {
  overflow: hidden;
}

.bless-submit-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  pointer-events: none;
}

.bless-submit-overlay:not(.hidden) {
  pointer-events: auto;
}

.bless-submit-overlay__veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(60, 20, 35, 0.55) 0%, rgba(12, 6, 10, 0.88) 70%);
  backdrop-filter: blur(8px);
  animation: blessVeilIn 0.35s ease both;
}

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

.bless-submit-overlay__card {
  position: relative;
  z-index: 1;
  width: min(360px, 100%);
  padding: 32px 28px 26px;
  text-align: center;
  border-radius: 22px;
  background: linear-gradient(
    165deg,
    rgba(255, 250, 245, 0.98) 0%,
    rgba(252, 238, 228, 0.97) 50%,
    rgba(248, 225, 232, 0.96) 100%
  );
  border: 1px solid rgba(212, 168, 106, 0.55);
  box-shadow:
    0 28px 70px rgba(50, 12, 28, 0.45),
    0 0 40px rgba(232, 120, 152, 0.15);
  animation: blessSuccessIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.bless-submit-overlay__ring {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #fff8f0, #fce8ef);
  border: 2px solid rgba(196, 74, 106, 0.35);
  box-shadow: 0 8px 24px rgba(196, 56, 88, 0.2);
  animation: blessSealPulse 1.6s ease-in-out infinite;
}

@keyframes blessSealPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 8px 24px rgba(196, 56, 88, 0.2);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 12px 32px rgba(196, 56, 88, 0.35);
  }
}

.bless-submit-overlay__seal {
  font-family: var(--font-display, 'Ma Shan Zheng', cursive);
  font-size: 2rem;
  color: #c44a6a;
  line-height: 1;
}

.bless-submit-overlay__title {
  margin: 0 0 8px;
  font-family: var(--font-display, 'Ma Shan Zheng', cursive);
  font-size: 1.5rem;
  font-weight: 400;
  color: #5c2840;
}

.bless-submit-overlay__status {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: #7a5c4a;
}

.bless-submit-overlay__progress {
  height: 4px;
  border-radius: 4px;
  background: rgba(196, 92, 92, 0.15);
  overflow: hidden;
  margin-bottom: 14px;
}

.bless-submit-overlay__progress span {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 4px;
  background: linear-gradient(90deg, #c44a6a, #e87898, #d4a86a);
  animation: blessProgressSlide 1.2s ease-in-out infinite;
}

.bless-submit-overlay__progress.is-determinate span {
  width: 0%;
  min-width: 4%;
  animation: none;
  transition: width 0.15s ease-out;
}

@keyframes blessProgressSlide {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(320%);
  }
}

.bless-submit-overlay__tip {
  margin: 0;
  font-size: 0.75rem;
  color: #9a7b6a;
}
