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

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

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

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

.gp__row {
  --ty: 0px;
  --rot: 0deg;
  transform: translateY(var(--ty)) rotate(var(--rot));
  transform-origin: center;
  padding: 8px;
  border-radius: 8px;
  background: #0a4fe8;
  color: #fff7e6;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.3;
  touch-action: none;
  cursor: grab;
  will-change: transform;
}

.gp__row--drag {
  cursor: grabbing;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
}

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

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

@media (max-width: 340px) {
  .gp {
    max-width: 260px;
    gap: 4px;
  }
  .gp__hint {
    font-size: 10px;
  }
  .gp__row {
    font-size: 11px;
    padding: 4px;
  }
  .gp__list {
    max-height: 88px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gp__row {
    transition: none !important;
    transform: translateY(var(--ty)) rotate(0deg) !important;
  }
}
