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

.pl {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: min(400px, 92vw);
}

.pl__hint {
  margin: 0;
  color: rgba(255, 247, 230, 0.78);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}

.pl__list {
  position: relative;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pl__row {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-radius: 8px;
  background: rgba(255, 247, 230, 0.06);
  box-shadow: 0 0 0 1px rgba(255, 247, 230, 0.12);
  color: #fff7e6;
  cursor: grab;
  touch-action: none;
  font-size: 11px;
}

.pl__row:focus-visible {
  outline: 2px solid #6ec8ff;
  outline-offset: 2px;
}

.pl__row.is-dragging {
  cursor: grabbing;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3), 0 0 0 1px #6ec8ff;
  z-index: 2;
}

.pl__handle {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  color: rgba(255, 247, 230, 0.6);
}

.pl__label {
  font-size: 11px;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .pl {
    scroll-behavior: auto;
  }
}
@media (max-width: 340px) {
  .pl__row {
    padding: 0 12px;
  }
}
