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

.lai {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: min(100%, 240px);
}

.lai__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.lai__row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(23, 20, 26, 0.04);
}

.lai__avatar {
  position: relative;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.lai__row--a {
  background: rgba(255, 158, 187, 0.3);
  color: rgb(100%, 11.9607843137%, 38.2817869416%);
}

.lai__row--b {
  background: rgba(76, 212, 166, 0.3);
  color: rgb(10.2543720191%, 42.6868044515%, 31.7170111288%);
}

.lai__row--c {
  background: rgba(185, 160, 255, 0.3);
  color: rgb(31.2858617131%, 6.7450980392%, 100%);
}

.lai__row--d {
  background: rgba(110, 200, 255, 0.3);
  color: rgb(0%, 51.6024340771%, 83.137254902%);
}

.lai__initials {
  font-weight: 700;
  font-size: 13px;
  transition: opacity 220ms ease-out;
}

.lai__photo {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.6);
  transition: transform 600ms cubic-bezier(0.2, 1.4, 0.4, 1), opacity 300ms ease-out;
  background: conic-gradient(from 120deg, #2f6df6, #4cd4a6, #ff9ebb, #2f6df6);
}

.lai__avatar--loaded .lai__initials {
  opacity: 0;
}

.lai__avatar--loaded .lai__photo {
  opacity: 1;
  transform: scale(1);
}

.lai__name {
  font-size: 13px;
  font-weight: 600;
  color: #17141a;
}

.lai__btn {
  border: none;
  border-radius: 999px;
  padding: 4px 12px;
  background: #ff9ebb;
  color: #17141a;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}

@media (max-width: 340px) {
  .lai__avatar {
    width: 28px;
    height: 28px;
  }
  .lai__row {
    padding: 4px 8px;
    gap: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lai__photo, .lai__initials {
    transition: none !important;
  }
}
