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

.scene {
  display: grid;
  place-items: center;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border: none;
  border-radius: 12px;
  background: #0a4fe8;
  color: #fff7e6;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  box-shadow: 0 6px 12px rgba(23, 20, 26, 0.32);
  cursor: pointer;
  transition: box-shadow 300ms ease-out;
}
.btn:focus-visible {
  outline: 2px solid #fff7e6;
  outline-offset: 3px;
}
.btn:disabled {
  cursor: default;
}
.btn:active:not(:disabled) {
  box-shadow: none;
}

.btnContent {
  position: relative;
  display: inline-block;
  min-width: 84px;
  height: 18px;
}

.btnLabel,
.btnSpinner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.btnSpinner {
  opacity: 0;
}

.btnRing {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid rgba(255, 247, 230, 0.28);
  border-top-color: #fff7e6;
}

.visuallyHidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 340px) {
  .btn {
    height: 40px;
    padding: 0 16px;
    font-size: 13px;
  }
  .btnContent {
    min-width: 72px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
