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

.dz {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dz__hint {
  margin: 0;
  padding: 0 4px;
  font-weight: 400;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(255, 247, 230, 0.72);
}

.dz__zone {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 160px;
  padding: 12px;
  border: 2px dashed rgba(255, 247, 230, 0.72);
  border-radius: 16px;
  background: rgba(255, 247, 230, 0.05);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 220ms ease-out, background 220ms ease-out;
}

.dz__zone.is-over {
  border-color: #d6e1eb;
  background: rgba(159, 201, 236, 0.12);
}

.dz__file {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.dz__ic {
  width: 44px;
  height: 44px;
  color: rgba(255, 247, 230, 0.72);
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1), color 220ms ease-out;
}

.dz__zone.is-over .dz__ic {
  transform: translateY(-6px);
  color: #d6e1eb;
}

.dz__frame {
  position: absolute;
  inset: 0;
  display: none;
  transform: scale(1);
  transform-origin: 50% 100%;
}

.dz__frame.is-in {
  display: block;
}

.dz__cv {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dz__file-label {
  position: absolute;
  left: 8px;
  bottom: 8px;
  margin: 0;
  padding: 4px 8px;
  border-radius: 999px;
  background: #17141a;
  color: #fff7e6;
  font-weight: 500;
  font-size: 10px;
  line-height: 1.2;
}

.dz__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 0 4px;
}

.dz__chip {
  padding: 4px 8px;
  border-radius: 999px;
  background: #0a4fe8;
  color: #fff7e6;
  font-weight: 700;
  font-size: 10px;
}

.dz__unit {
  font-weight: 400;
  font-size: 10px;
  color: rgba(255, 247, 230, 0.72);
}

@media (max-width: 340px) {
  .dz {
    max-width: 280px;
    gap: 4px;
  }
  .dz__hint {
    font-size: 9px;
    line-height: 1.25;
  }
  .dz__zone {
    min-height: 56px;
    padding: 8px;
  }
  .dz__ic {
    width: 24px;
    height: 24px;
  }
  .dz__meta {
    gap: 4px;
  }
  .dz__chip {
    padding: 4px;
    font-size: 9px;
  }
  .dz__unit {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dz__ic {
    transition: none;
  }
  .dz__zone.is-over .dz__ic {
    transform: none;
  }
  .dz__zone {
    transition: none;
  }
}
