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

.mf-grid {
  width: min(260px, 78vw);
  columns: 2;
  column-gap: 8px;
}

.mf-tile {
  break-inside: avoid;
  margin-bottom: 8px;
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(23, 20, 26, 0.32);
  opacity: 0;
  transform: translateY(16px);
}

.mf-tile--a {
  height: 52px;
  background: radial-gradient(26px circle at 30% 30%, rgba(255, 255, 255, 0.6), transparent 60%), linear-gradient(150deg, #2f6df6, #17141a);
}

.mf-tile--b {
  height: 36px;
  background: radial-gradient(22px circle at 70% 60%, rgba(255, 255, 255, 0.6), transparent 60%), linear-gradient(150deg, #fff7e6, #2f6df6);
}

.mf-tile--c {
  height: 44px;
  background: radial-gradient(24px circle at 40% 70%, rgba(255, 255, 255, 0.6), transparent 60%), linear-gradient(150deg, #17141a, #fff7e6);
}

.mf-tile--d {
  height: 56px;
  background: radial-gradient(26px circle at 60% 30%, rgba(255, 255, 255, 0.6), transparent 60%), linear-gradient(150deg, #2f6df6, #fff7e6);
}

.mf-tile--e {
  height: 32px;
  background: radial-gradient(18px circle at 50% 50%, rgba(255, 255, 255, 0.6), transparent 60%), linear-gradient(150deg, #fff7e6, #17141a);
}

.mf-tile {
  transition: opacity 400ms ease-out, transform 400ms ease-out;
}

.mf-tile.in {
  opacity: 1;
  transform: translateY(0);
}

.mf-tile--a.in {
  transition-delay: 0;
}

.mf-tile--b.in {
  transition-delay: 140ms;
}

.mf-tile--c.in {
  transition-delay: 280ms;
}

.mf-tile--d.in {
  transition-delay: 420ms;
}

.mf-tile--e.in {
  transition-delay: 560ms;
}

@keyframes mf-tile-in {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  20% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.mf-grid.is-demo .mf-tile {
  animation: mf-tile-in 2s ease-out infinite;
  animation-fill-mode: both;
}

.mf-grid.is-demo .mf-tile--a {
  animation-delay: 0ms;
}

.mf-grid.is-demo .mf-tile--b {
  animation-delay: 140ms;
}

.mf-grid.is-demo .mf-tile--c {
  animation-delay: 280ms;
}

.mf-grid.is-demo .mf-tile--d {
  animation-delay: 420ms;
}

.mf-grid.is-demo .mf-tile--e {
  animation-delay: 560ms;
}

@media (prefers-reduced-motion: reduce) {
  .mf-tile, .mf-tile.in, .mf-grid.is-demo .mf-tile {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
