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

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

.rt__hint {
  margin: 0;
  padding: 0 4px;
  font-weight: 500;
  font-size: 11px;
  line-height: 1.4;
  color: #17141a;
}

.rt__zone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 76px;
  padding: 12px;
  border: 2px dashed rgba(23, 20, 26, 0.72);
  border-radius: 16px;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 220ms ease-out, background 220ms ease-out;
}

.rt__zone.is-over {
  border-color: #93d9c0;
  background: rgba(147, 217, 192, 0.14);
}

.rt__zone.is-precheck-reject {
  border-color: #ebe0d6;
  background: rgba(243, 201, 161, 0.18);
  cursor: not-allowed;
}

.rt__zone.is-accept {
  border-color: #93d9c0;
}

.rt__zone.is-reject-live {
  border-color: #ebe0d6;
}

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

.rt__ic {
  width: 26px;
  height: 26px;
  color: #17141a;
  transition: transform 220ms cubic-bezier(0.2, 1.4, 0.4, 1);
}

.rt__zone.is-over .rt__ic {
  transform: scale(1.15);
}

.rt__file-name {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 700;
  font-size: 11px;
  color: #17141a;
}

.rt__msg {
  margin: 0;
  padding: 4px 8px;
  min-height: 32px;
  border-radius: 8px;
  background: rgba(23, 20, 26, 0.06);
  font-weight: 500;
  font-size: 11px;
  line-height: 1.4;
  color: #17141a;
}

.rt__meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 0 4px;
}

.rt__tag {
  font-weight: 700;
  font-size: 12px;
  color: #17141a;
}

@keyframes rtBounce {
  0% {
    transform: translateY(-10px);
  }
  55% {
    transform: translateY(2px);
  }
  100% {
    transform: translateY(0);
  }
}
@media (max-width: 340px) {
  .rt {
    max-width: 260px;
    gap: 4px;
  }
  .rt__hint {
    font-size: 9px;
    line-height: 1.25;
  }
  .rt__zone {
    min-height: 44px;
    padding: 8px;
    gap: 4px;
  }
  .rt__ic {
    width: 20px;
    height: 20px;
  }
  .rt__file-name, .rt__msg {
    font-size: 10px;
  }
  .rt__msg {
    min-height: 0;
    padding: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rt__zone, .rt__ic {
    transition: none;
  }
  .rt__zone.is-over .rt__ic {
    transform: none;
  }
}
