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

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

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

.cbd__box {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: transparent;
  border: 2px solid rgba(255, 247, 230, 0.5);
  color: transparent;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  transition: background-color 220ms ease-out, border-color 220ms ease-out, color 220ms ease-out;
}

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

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

.cbd__text {
  color: #fff7e6;
  font-size: 14px;
  font-weight: 600;
}

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