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

.fa {
  --dye-0: #8b7f95;
  --dye-1: #5c4f66;
  --dye-2: #2d2836;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 424px;
}

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

.fa__ico {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: #5c4f66;
}

.fa__field {
  position: relative;
  height: 208px;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(23, 20, 26, 0.12);
  cursor: crosshair;
  touch-action: none;
}

.fa__field:focus-visible {
  outline: 2px solid #5c4f66;
  outline-offset: 2px;
}

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

.fa__badge {
  position: absolute;
  right: 8px;
  top: 8px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #17141a;
  font-weight: 700;
  font-size: 11px;
  box-shadow: inset 0 0 0 1px rgba(23, 20, 26, 0.1);
}

.fa__badgeUnit {
  font-weight: 700;
}

@media (max-width: 340px) {
  .fa {
    gap: 4px;
  }
  .fa__field {
    height: 124px;
  }
  .fa__badge {
    font-size: 10px;
    padding: 0 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fa.is-still .fa__field {
    cursor: default !important;
  }
}
