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

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

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

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

.pc__zone {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 52px;
  padding: 8px 12px;
  border: 2px dashed rgba(23, 20, 26, 0.72);
  border-radius: 16px;
  cursor: pointer;
  overflow: hidden;
  outline: none;
  transition: border-color 220ms ease-out, background 220ms ease-out;
}

.pc__zone.is-over {
  border-color: #b9a0ff;
  background: rgba(185, 160, 255, 0.16);
}

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

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

.pc__zone.is-over .pc__ic {
  transform: scale(1.15);
}

.pc__items {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 56px;
}

.pc__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(23, 20, 26, 0.06);
}

.pc__item.is-in {
  animation: pcIn 220ms cubic-bezier(0.2, 1.4, 0.4, 1) both;
}

.pc__dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.pc__name {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 500;
  font-size: 11px;
  color: #17141a;
}

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

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

.pc__unit {
  font-weight: 400;
  font-size: 10px;
  color: rgba(23, 20, 26, 0.72);
}

@keyframes pcIn {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (max-width: 340px) {
  .pc {
    max-width: 270px;
    gap: 4px;
  }
  .pc__hint {
    font-size: 9px;
    line-height: 1.25;
  }
  .pc__zone {
    min-height: 36px;
    padding: 4px 8px;
  }
  .pc__ic {
    width: 20px;
    height: 20px;
  }
  .pc__name {
    font-size: 10px;
  }
  .pc__items {
    min-height: 44px;
    gap: 4px;
  }
  .pc__item {
    padding: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pc__item.is-in {
    animation: none;
  }
  .pc__zone, .pc__ic {
    transition: none;
  }
  .pc__zone.is-over .pc__ic {
    transform: none;
  }
}
