html, body {
  margin: 0;
  overflow: hidden;
}

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #17141a;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  padding: clamp(8px, 4vw, 24px);
}

.recovery-scene {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.recovery-scene__icon {
  width: 24px;
  height: 24px;
  color: #2f6df6;
}

.recovery-scene__title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  font-family: inherit;
}

.recovery {
  display: flex;
  gap: 12px;
  width: min(300px, 90vw);
}

.recovery__card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 8px;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transform: scale(1);
}

.recovery__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.recovery__label {
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  font-family: inherit;
}

.recovery__card:has(.recovery__input:checked) {
  background: rgb(11.4666666667%, 16.9176470588%, 32.6274509804%);
  border-color: #2f6df6;
  box-shadow: 0 0 0 3px rgba(47, 109, 246, 0.3), 0 0 24px 12px rgba(47, 109, 246, 0.28);
  transform: scale(1.04);
}

.recovery__card:has(.recovery__input:focus-visible) {
  outline: 2px solid #2f6df6;
  outline-offset: 2px;
}

.recovery.is-demo .recovery__card {
  animation: picker-cycle 2s ease-out infinite;
}

.recovery.is-demo .recovery__card:nth-child(1) {
  animation-delay: 0ms;
}

.recovery.is-demo .recovery__card:nth-child(2) {
  animation-delay: 660ms;
}

.recovery.is-demo .recovery__card:nth-child(3) {
  animation-delay: 1320ms;
}

@keyframes picker-cycle {
  0%, 6% {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: none;
    transform: scale(1);
  }
  12%, 26% {
    background: rgb(11.4666666667%, 16.9176470588%, 32.6274509804%);
    border-color: #2f6df6;
    box-shadow: 0 0 0 3px rgba(47, 109, 246, 0.3), 0 0 24px 12px rgba(47, 109, 246, 0.28);
    transform: scale(1.04);
  }
  32%, 100% {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: none;
    transform: scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .recovery.is-demo .recovery__card {
    animation: none;
  }
}
