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

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

.cbs {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.cbs__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.cbs__box {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 12px;
  background: #fff7e6;
  border: 2px solid rgba(23, 20, 26, 0.3);
  color: transparent;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  transform-origin: 50% 50%;
  transition: background-color 220ms ease-out, border-color 220ms ease-out, color 220ms ease-out;
}

.cbs__box--on {
  background: #2f6df6;
  border-color: #2f6df6;
  color: #fff7e6;
}

.cbs__input:focus-visible + .cbs__box {
  outline: 2px solid #5b8cf8;
  outline-offset: 2px;
}

.cbs__text {
  color: #17141a;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 340px) {
  .cbs__text {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cbs__box {
    transition: none;
  }
}
