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

.cbr {
  display: flex;
  gap: 24px;
  width: 100%;
  max-width: 320px;
}

.cbr__panel {
  flex: 1 1 0;
  display: grid;
  gap: 8px;
}

.cbr__label {
  margin: 0;
  color: rgba(23, 20, 26, 0.55);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

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

.cbr__box {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  border: 2px solid rgba(23, 20, 26, 0.35);
  color: #fff7e6;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  transition: background-color 220ms ease-out, border-color 220ms ease-out;
}

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

.cbr__box--instant {
  transition: none;
}

.cbr__path {
  opacity: 1;
}

.cbr__check {
  opacity: 0;
}

.cbr__box--on .cbr__check {
  opacity: 1;
}

.cbr__box--instant .cbr__check {
  transition: none;
}

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

.cbr__text {
  color: #17141a;
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 340px) {
  .cbr {
    gap: 16px;
  }
  .cbr__text {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cbr__box {
    transition: none;
  }
}
