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

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

.rc {
  display: flex;
  gap: 12px;
}

.rc__card {
  appearance: none;
  border: 2px solid transparent;
  border-radius: 16px;
  background: #17141a;
  color: #fff7e6;
  font-weight: 700;
  font-size: 14px;
  width: 72px;
  height: 56px;
  cursor: pointer;
  transition: box-shadow 300ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 220ms ease-out;
}

.rc__card:focus-visible {
  outline: 2px solid #17141a;
  outline-offset: 2px;
}

.rc__card[aria-checked=true] {
  border-color: #b9a0ff;
}

@media (max-width: 340px) {
  .rc {
    gap: 8px;
  }
  .rc__card {
    width: 60px;
    height: 48px;
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rc__card {
    transition: none;
  }
}
