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

.fc {
  width: min(380px, 88vw);
  height: clamp(150px, 62vh, 216px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
}

.fc__scroll {
  height: 100%;
  overflow-y: auto;
  scrollbar-width: none;
}
.fc__scroll::-webkit-scrollbar {
  display: none;
}

.fc__main {
  position: relative;
  z-index: 1;
  min-height: calc(100% + 64px);
  margin-bottom: 64px;
  padding: 24px 20px;
  background: #ffffff;
  box-sizing: border-box;
}

.fc__line {
  margin: 0 0 16px;
  color: #3c4750;
  font: 600 13px/1.6 -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
}
.fc__line:last-child {
  margin-bottom: 0;
}

.fc__foot {
  position: sticky;
  bottom: 0;
  z-index: 0;
  height: 64px;
  display: grid;
  place-items: center;
  background: linear-gradient(120deg, #b9f0d8, #ffd6e8);
}

.fc__cheer {
  padding: 4px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #216a52;
  font: 700 13px/1.4 -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
}

.fc.is-demo .fc__main {
  animation: fc-lift 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

@keyframes fc-lift {
  0%, 12% {
    transform: translateY(0);
  }
  55%, 88% {
    transform: translateY(-104px);
  }
  100% {
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .fc.is-demo .fc__main {
    animation: none !important;
  }
  .fc__scroll {
    scroll-behavior: auto;
  }
}
