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

.lz {
  box-sizing: border-box;
  display: grid;
  gap: 8px;
  width: min(300px, 92vw);
  padding: 12px;
  border: 1px solid rgba(23, 20, 26, 0.1);
  border-radius: 16px;
  background: #fff7e6;
  color: #17141a;
  box-shadow: 0 6px 12px rgba(23, 20, 26, 0.32);
}

.lz * {
  box-sizing: border-box;
}

.lz__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
}

.lz__title {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.lz__again {
  margin: 0;
  padding: 4px 8px;
  border: 0;
  border-radius: 999px;
  background: #17141a;
  color: #fff7e6;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.lz__again:focus-visible {
  outline: 2px solid #17141a;
  outline-offset: 2px;
}

.lz__list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lz__row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 8px;
  align-items: center;
}

.lz__box {
  display: grid;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
}

.lz__ph,
.lz__img {
  grid-area: 1/1;
  width: 100%;
  height: 100%;
}

.lz__ph {
  background: rgba(23, 20, 26, 0.1);
}

.lz__img {
  display: block;
  object-fit: cover;
  opacity: 1;
  transition: opacity 600ms ease-out;
}

.lz.is-waiting .lz__img {
  opacity: 0;
  transition: none;
}

.lz__row:nth-child(1) .lz__img {
  transition-delay: 0ms;
}

.lz__row:nth-child(2) .lz__img {
  transition-delay: 120ms;
}

.lz__row:nth-child(3) .lz__img {
  transition-delay: 240ms;
}

.lz__text {
  display: grid;
  gap: 4px;
}

.lz__name {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.lz__meta {
  margin: 0;
  color: rgba(23, 20, 26, 0.62);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
}

@keyframes lz-in {
  0%, 10% {
    opacity: 0;
  }
  40%, 74% {
    opacity: 1;
  }
  78%, 100% {
    opacity: 0;
  }
}
.lz.is-demo .lz__img {
  animation-name: lz-in;
  animation-duration: 2s;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
  animation-fill-mode: backwards;
}
.lz.is-demo .lz__row:nth-child(1) .lz__img {
  animation-delay: 0ms;
}
.lz.is-demo .lz__row:nth-child(2) .lz__img {
  animation-delay: 120ms;
}
.lz.is-demo .lz__row:nth-child(3) .lz__img {
  animation-delay: 240ms;
}

@media (max-width: 340px) {
  .lz {
    gap: 4px;
    width: min(292px, 96vw);
    padding: 8px;
  }
  .lz__list {
    gap: 4px;
  }
  .lz__row {
    grid-template-columns: 64px 1fr;
    gap: 4px;
  }
  .lz__title {
    font-size: 11px;
  }
  .lz__again {
    padding: 0 4px;
    font-size: 10px;
  }
  .lz__text {
    gap: 0;
  }
  .lz__name {
    font-size: 10px;
  }
  .lz__meta {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lz.is-demo .lz__img,
  .lz .lz__img {
    animation: none !important;
    transition: none !important;
  }
  .lz.is-demo .lz__img {
    opacity: 1 !important;
  }
}
