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

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

.cf {
  --base0: rgb(67.3725490196%, 77.0980392157%, 98.5882352941%);
  --base1: rgb(55.8039215686%, 68.2509803922%, 95.8509803922%);
  --deep: rgb(40.431372549%, 57.2078431373%, 94.4078431373%);
  --foam: rgb(100%, 97.1137254902%, 90.9803921569%);
  --foam2: #fff7e6;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 424px;
}

.cf__hint {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  font-weight: 700;
  font-size: clamp(10px, 2.8vw, 12px);
  line-height: 1.35;
  color: #17141a;
}

.cf__ico {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: #2f6df6;
}

.cf__field {
  position: relative;
  height: 208px;
  border-radius: 16px;
  overflow: hidden;
  background: rgb(40.431372549%, 57.2078431373%, 94.4078431373%);
  box-shadow: inset 0 0 0 1px rgba(23, 20, 26, 0.16);
  cursor: crosshair;
  touch-action: none;
}

.cf__field:focus-visible {
  outline: 2px solid #2f6df6;
  outline-offset: 2px;
}

.cf__cv {
  display: block;
  width: 100%;
  height: 100%;
}

.cf__badge {
  position: absolute;
  right: 8px;
  top: 8px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(23, 20, 26, 0.78);
  color: #fff7e6;
  font-weight: 700;
  font-size: 11px;
}

.cf__badgeNum {
  font-size: 13px;
  color: #ffd23f;
}

.cf__badgeUnit {
  font-weight: 700;
}

@media (max-width: 340px) {
  .cf {
    gap: 4px;
  }
  .cf__field {
    height: 124px;
  }
  .cf__badge {
    font-size: 10px;
    padding: 0 4px;
  }
  .cf__badgeNum {
    font-size: 11px;
  }
  .cf__hint {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cf.is-still .cf__field {
    cursor: default !important;
  }
  .cf.is-still .cf__badge {
    opacity: 0.92 !important;
  }
}
