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

.mf-wrap {
  width: min(320px, 90vw);
  display: grid;
  place-items: center;
}

.mf-card {
  width: min(260px, 84vw);
  box-sizing: border-box;
  padding: 20px 20px;
  border-radius: 16px;
  background: linear-gradient(160deg, #2f6df6, rgba(23, 20, 26, 0.9));
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #fff7e6;
  font-family: -apple-system, "Segoe UI", sans-serif;
}

.mf-card__dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #fff7e6;
  margin-bottom: 8px;
}

.mf-card__title {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  font-family: inherit;
}

.mf-card__sub {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.4;
  font-family: inherit;
  opacity: 0.72;
}

@starting-style {
  .mf-card {
    opacity: 0;
    transform: translateY(10px) scale(0.94);
  }
}
.mf-card {
  opacity: 1;
  transform: none;
  transition: opacity 600ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes mf-mount {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.94);
  }
  22% {
    opacity: 1;
    transform: none;
  }
  82% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
    transform: translateY(10px) scale(0.94);
  }
}
.mf-wrap.is-demo .mf-card {
  animation: mf-mount 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

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