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);
}

.card {
  position: relative;
  width: 100%;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 247, 230, 0.06);
}

.ring {
  --ratio: 0;
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  display: grid;
  place-items: center;
}

.ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: conic-gradient(#0a4fe8 calc(var(--ratio, 0) * 360deg), rgba(255, 247, 230, 0.14) 0);
  animation: halo 2s ease-out infinite;
}

.ringHole {
  position: absolute;
  inset: 4px;
  border-radius: 999px;
  background: #17141a;
}

.avatar {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 18px;
}

.lockBody {
  position: absolute;
  left: 0;
  top: 4px;
  width: 24px;
  height: 8px;
  border-radius: 4px;
  background: #fff7e6;
}

.lockShackle {
  position: absolute;
  left: calc(50% - 7px);
  top: -5px;
  width: 14px;
  height: 8px;
  border: 3px solid #fff7e6;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
}

.title {
  margin: 0;
  color: #fff7e6;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
}

.fields {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.field {
  width: 100%;
  box-sizing: border-box;
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 247, 230, 0.24);
  background: rgba(255, 247, 230, 0.08);
  color: #fff7e6;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  font-weight: 400;
  font-size: 11px;
  line-height: 1.3;
}

.field::placeholder {
  color: rgba(255, 247, 230, 0.72);
}

@keyframes halo {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.16);
  }
}
@media (max-width: 340px) {
  .card {
    max-width: 200px;
    padding: 8px;
    gap: 4px;
  }
  .ring {
    width: 56px;
    height: 56px;
  }
  .ringHole {
    inset: 4px;
  }
  .avatar {
    width: 20px;
    height: 15px;
  }
  .lockBody {
    width: 20px;
  }
  .title {
    font-size: 12px;
  }
  .field {
    font-size: 10px;
    padding: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ring::before {
    animation: none;
  }
}
