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

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

.dz {
  box-sizing: border-box;
  width: min(248px, 86vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  color: #17141a;
}

.dz__zone {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: 104px;
  padding-bottom: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border: 2px dashed rgba(255, 247, 230, 0.52);
  border-radius: 16px;
  background: rgba(255, 247, 230, 0.08);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 220ms ease-out, background 220ms ease-out;
}

.dz__zone:hover,
.dz__zone.is-over {
  border-color: #fff7e6;
  background: rgba(255, 247, 230, 0.18);
}

.dz__zone:focus-visible {
  outline: 2px solid #fff7e6;
  outline-offset: 2px;
}

.dz__cloud {
  display: block;
  font-size: 36px;
  line-height: 0;
  color: rgba(23, 20, 26, 0.78);
}

.dz__file {
  position: absolute;
  left: 50%;
  top: 8px;
  margin-left: -12px;
  font-size: 24px;
  line-height: 0;
  color: #17141a;
  opacity: 0;
}

.dz__msg {
  margin: 0;
  font-size: 11px;
  line-height: 14px;
  font-weight: 700;
  text-align: center;
}

.dz.is-demo .dz__file {
  animation: dz-fall 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

@keyframes dz-fall {
  0% {
    transform: translateY(-28px) scale(0.82);
    opacity: 0;
  }
  16% {
    transform: translateY(-28px) scale(0.82);
    opacity: 1;
  }
  62% {
    transform: translateY(30px) scale(1);
    opacity: 1;
  }
  70% {
    transform: translateY(26px) scale(1);
    opacity: 1;
  }
  70.1%, 100% {
    transform: translateY(-28px) scale(0.82);
    opacity: 0;
  }
}
.dz.is-demo .dz__cloud {
  animation: dz-lift 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

@keyframes dz-lift {
  0%, 100% {
    transform: scale(1);
    opacity: 0.78;
  }
  62% {
    transform: scale(1.1);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dz.is-demo .dz__file,
  .dz.is-demo .dz__cloud {
    animation: none !important;
  }
  .dz__zone {
    transition: none;
  }
}
