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

.lp-row {
  position: relative;
  width: min(240px, 78vw);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-radius: 16px;
  background: #ffffff;
  touch-action: manipulation;
}

.lp-row__title {
  font-size: 14px;
  font-weight: 700;
  color: #17141a;
}

.lp-row__more {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(23, 20, 26, 0.06);
  color: #17141a;
  cursor: pointer;
}

.lp-row__more svg {
  width: 16px;
  height: 16px;
}

.lp-row__more:focus-visible {
  outline: 2px solid #2f6df6;
  outline-offset: 2px;
}

.lp-menu {
  position: absolute;
  top: 100%;
  right: 16px;
  margin-top: 8px;
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 12px;
  background: #17141a;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  transform: scale(0.6);
  opacity: 0;
  transform-origin: top right;
  transition: transform 220ms cubic-bezier(0.2, 1.4, 0.4, 1), opacity 220ms cubic-bezier(0.2, 1.4, 0.4, 1);
  pointer-events: none;
}

.lp-row.is-open .lp-menu {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
}

.lp-menu__item {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: pointer;
}

.lp-menu__item svg {
  width: 16px;
  height: 16px;
}

.lp-menu__item--danger {
  color: #c2361a;
}

.lp-menu__item:focus-visible {
  outline: 2px solid #2f6df6;
  outline-offset: 2px;
}

.lp-row.is-demo .lp-menu {
  animation: lp-loop 2s cubic-bezier(0.2, 1.4, 0.4, 1) infinite;
}

@keyframes lp-loop {
  0%, 10% {
    transform: scale(0.6);
    opacity: 0;
  }
  35% {
    transform: scale(1.06);
    opacity: 1;
  }
  45%, 70% {
    transform: scale(1);
    opacity: 1;
  }
  90%, 100% {
    transform: scale(0.6);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lp-menu {
    transition: none;
  }
}
