html, body {
  margin: 0;
  overflow: hidden;
}

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #ffd23f;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  padding: clamp(8px, 4vw, 24px);
}

.wrap {
  container-type: inline-size;
  container-name: skeleton;
  max-width: 420px;
  width: 94%;
  animation: resize 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

@keyframes resize {
  0% {
    width: 94%;
  }
  25% {
    width: 45%;
  }
  50% {
    width: 15%;
  }
  75% {
    width: 45%;
  }
  100% {
    width: 94%;
  }
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(6px, 2vw, 10px);
}

.card {
  min-width: 0;
  aspect-ratio: 1/1;
  border-radius: 12px;
  background: rgba(23, 20, 26, 0.16);
}

@container skeleton (max-width: 260px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@container skeleton (max-width: 150px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wrap {
    animation: none !important;
    width: 94%;
  }
}
