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

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

.dd__hint {
  margin: 0;
  padding: 0 4px;
  font-weight: 400;
  font-size: 11px;
  line-height: 1.4;
  color: #fff7e6;
}

.dd__list {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}

.dd__row {
  padding: 8px;
  border-radius: 8px;
  background: #fff7e6;
  color: #17141a;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.3;
  touch-action: none;
  cursor: grab;
}

.dd__row--drag {
  position: absolute;
  left: 0;
  top: var(--rowTop, 0px);
  width: var(--rowW, auto);
  transform: translateY(var(--ty, 0px));
  cursor: grabbing;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  z-index: 5;
}

.dd__placeholder {
  height: var(--h, 0px);
  border-radius: 8px;
  border: 2px dashed rgba(255, 247, 230, 0.48);
  box-sizing: border-box;
}

.dd__meta {
  margin: 0;
  padding: 0 4px;
}

.dd__state {
  font-weight: 700;
  font-size: 12px;
  color: #fff7e6;
}

@media (max-width: 340px) {
  .dd {
    max-width: 260px;
    gap: 4px;
  }
  .dd__hint {
    font-size: 10px;
  }
  .dd__row {
    font-size: 11px;
    padding: 4px;
  }
  .dd__list {
    max-height: 88px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dd__row {
    transition: none !important;
  }
}
