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

.af {
  box-sizing: border-box;
  width: min(260px, 88vw);
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  color: #fff7e6;
}

.af__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 12px;
}

.af__title {
  font-size: 13px;
}

.af__more {
  border: 1px solid rgba(255, 247, 230, 0.35);
  background: transparent;
  color: #fff7e6;
  font: inherit;
  font-weight: 700;
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  cursor: pointer;
}

.af__more:disabled {
  opacity: 0.5;
  cursor: default;
}

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

.af__item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.af__ic {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #17141a;
}

.af__ic--check {
  background: #4cd4a6;
}

.af__ic--chat {
  background: #6ec8ff;
}

.af__ic--upload {
  background: #2f6df6;
  color: #fff7e6;
}

.af__body {
  min-width: 0;
}

.af__text {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
}

.af__time {
  font-size: 10px;
  color: rgba(255, 247, 230, 0.5);
}

.af__item--new {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 600ms cubic-bezier(0.2, 1.4, 0.4, 1), transform 600ms cubic-bezier(0.2, 1.4, 0.4, 1);
}

.af__item--new.af__item--shown {
  opacity: 1;
  transform: translateY(0);
}

.af__item--new.is-demo {
  animation: af-in 2s cubic-bezier(0.2, 1.4, 0.4, 1) infinite;
}

@keyframes af-in {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  35% {
    opacity: 1;
    transform: translateY(0);
  }
  80% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}
@media (max-width: 340px) {
  .af__text {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .af__item--new.is-demo {
    animation: none !important;
    opacity: 1;
    transform: translateY(0);
  }
  .af__item--new {
    transition: none;
  }
}
