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

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

.fc {
  box-sizing: border-box;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  color: #fff7e6;
}

.fc__card {
  box-sizing: border-box;
  width: min(300px, 88vw);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background-color: rgba(0, 0, 0, 0.28);
}

.fc__card:focus-visible {
  outline: 2px solid #fff7e6;
  outline-offset: 2px;
}

.fc__title {
  font-size: 13px;
  line-height: 20px;
  font-weight: 800;
  opacity: 1;
}

.fc__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fc__row {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 1;
  transform: translateX(0);
}

.fc__ic {
  display: inline-flex;
  flex: 0 0 auto;
  color: #fff7e6;
}

.fc__ic svg {
  display: block;
}

.fc__label {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  line-height: 18px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fc.is-demo .fc__row {
  animation-name: fc-line;
  animation-duration: 2s;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-iteration-count: infinite;
  animation-delay: calc(var(--i) * 160ms);
  animation-fill-mode: backwards;
}

@keyframes fc-line {
  0% {
    opacity: 0.26;
    transform: translateX(-14px);
  }
  12% {
    opacity: 1;
    transform: translateX(0);
  }
  74% {
    opacity: 1;
    transform: translateX(0);
  }
  86% {
    opacity: 0.26;
    transform: translateX(-14px);
  }
  100% {
    opacity: 0.26;
    transform: translateX(-14px);
  }
}
.fc:not(.is-demo) .fc__card:hover .fc__row,
.fc:not(.is-demo) .fc__card:focus-within .fc__row {
  animation-name: fc-in;
  animation-duration: 300ms;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-iteration-count: 1;
  animation-delay: calc(var(--i) * 160ms);
  animation-fill-mode: backwards;
}

@keyframes fc-in {
  from {
    opacity: 0;
    transform: translateX(-14px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@media (max-width: 340px) {
  .fc__card {
    padding: 12px;
    gap: 8px;
  }
  .fc__list {
    gap: 4px;
  }
  .fc__title {
    font-size: 12px;
    line-height: 16px;
  }
  .fc__label {
    font-size: 11px;
    line-height: 16px;
  }
  .fc__ic svg {
    width: 16px;
    height: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fc.is-demo .fc__row,
  .fc:not(.is-demo) .fc__card:hover .fc__row,
  .fc:not(.is-demo) .fc__card:focus-within .fc__row {
    animation: none !important;
  }
  .fc.is-demo .fc__row {
    opacity: 1;
    transform: translateX(0);
  }
}
