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

.rc {
  --tile0: rgb(100%, 98.0549019608%, 93.9215686275%);
  --tile1: rgb(80.6666666667%, 92.6666666667%, 100%);
  --line: rgb(62.4784313725%, 73.662745098%, 98.3764705882%);
  --caustic: rgb(41.0352941176%, 85.8352941176%, 70.6823529412%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 424px;
}

.rc__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;
}

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

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

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

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

.rc__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;
}

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

.rc__badgeUnit {
  font-weight: 700;
}

@media (max-width: 340px) {
  .rc {
    gap: 4px;
  }
  .rc__field {
    height: 124px;
  }
  .rc__badge {
    font-size: 10px;
    padding: 0 4px;
  }
  .rc__badgeNum {
    font-size: 11px;
  }
  .rc__hint {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rc.is-still .rc__field {
    cursor: default !important;
  }
  .rc.is-still .rc__badge {
    opacity: 0.92 !important;
  }
}
