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

.les {
  width: min(100%, 280px);
}

.les__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.les__row {
  box-sizing: border-box;
  transform-origin: top center;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 600;
  font-size: 12px;
}
.les__row.is-removing {
  animation-name: lesRowOut;
  animation-duration: 300ms;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

@keyframes lesRowOut {
  to {
    opacity: 0;
    transform: scaleY(0);
  }
}
.les__del {
  box-sizing: border-box;
  border: 0;
  border-radius: 999px;
  padding: 4px 12px;
  background: rgba(255, 158, 187, 0.2);
  color: #ffffff;
  font-weight: 600;
  font-size: 11px;
  cursor: pointer;
}
.les__del:focus-visible {
  outline: 2px solid #ff9ebb;
  outline-offset: 2px;
}

.les__empty {
  box-sizing: border-box;
  height: 0;
  overflow: hidden;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  margin-top: 8px;
}

.les__emptyText {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 13px;
}

@media (max-width: 340px) {
  .les__list {
    gap: 4px;
  }
  .les__row {
    padding: 4px 8px;
    font-size: 11px;
  }
  .les__emptyText {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .les__row.is-removing {
    animation: none;
    opacity: 0;
    transform: scaleY(0);
  }
}
