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

.card {
  position: relative;
  width: min(230px, 82vw);
  height: clamp(110px, 40vw, 130px);
  border-radius: 16px;
  background: #fff7e6;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  overflow: hidden;
}

.card__layer {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  padding: clamp(14px, 5vw, 18px);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.card__col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.card__layer--skeleton {
  flex-direction: row;
  opacity: 1;
  transform: scale(1);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}

.sk {
  display: block;
  border-radius: 12px;
  background: rgba(23, 20, 26, 0.12);
}

.sk--avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex: none;
}

.sk--title {
  width: 110px;
  height: 14px;
  margin-bottom: 10px;
}

.sk--line {
  display: block;
  width: 130px;
  height: 10px;
  margin-top: 8px;
}

.sk--line--short {
  width: 85px;
}

.card__layer--content {
  flex-direction: row;
  align-items: flex-start;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex: none;
  background: #2f6df6;
}

.title {
  margin: 0 0 6px;
  color: #17141a;
  font-weight: 700;
  font-size: clamp(13px, 3.8vw, 15px);
  line-height: 1.3;
  font-family: inherit;
}

.body {
  margin: 0;
  color: rgba(23, 20, 26, 0.68);
  font-weight: 500;
  font-size: clamp(12px, 3.4vw, 13px);
  line-height: 1.4;
  font-family: inherit;
}

.card.is-demo .card__layer--skeleton {
  animation: sk-fade 2s ease-out infinite;
}
.card.is-demo .card__layer--content {
  animation: content-fade 2s ease-out infinite;
}

@keyframes sk-fade {
  0%, 12% {
    opacity: 1;
    transform: scale(1);
  }
  55%, 100% {
    opacity: 0;
    transform: scale(1.02);
  }
}
@keyframes content-fade {
  0%, 12% {
    opacity: 0;
    transform: scale(0.98);
  }
  55%, 100% {
    opacity: 1;
    transform: scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .card__layer--skeleton, .card__layer--content {
    transition: none;
  }
  .card.is-demo .card__layer--skeleton,
  .card.is-demo .card__layer--content {
    animation: none !important;
  }
  .card .card__layer--skeleton {
    opacity: 0;
  }
  .card .card__layer--content {
    opacity: 1;
    transform: scale(1);
  }
}
