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

.fsc {
  position: relative;
  width: min(100%, 280px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.fsc__badge {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 247, 230, 0.08);
  color: #fff7e6;
  font-weight: 700;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.fsc__ctrl {
  position: absolute;
  top: 0;
  right: 0;
  border: 0;
  border-radius: 4px;
  padding: 4px 8px;
  background: rgba(255, 247, 230, 0.12);
  color: #fff7e6;
  font-weight: 600;
  font-size: 10px;
  line-height: 1.4;
  cursor: pointer;
}

.fsc__ctrl:focus-visible {
  outline: 2px solid #5b8cf8;
  outline-offset: 2px;
}

.fsc__view {
  box-sizing: border-box;
  width: 100%;
  height: 176px;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  scrollbar-width: thin;
}

.fsc__track {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fsc__spacer--top {
  height: 190px;
  flex: 0 0 auto;
}

.fsc__spacer--bottom {
  height: 40px;
  flex: 0 0 auto;
}

.fsc__card {
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 200px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #0a4fe8;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  opacity: 0;
  transform-origin: center;
  transform: scale(var(--fade-scale-start, 0.8));
}

.fsc__label {
  color: #fff7e6;
  font-weight: 700;
  font-size: 14px;
}

.supports-vt .fsc__card {
  animation-name: fscEnter;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-fill-mode: both;
  animation-timeline: view();
  animation-range: entry;
}

@keyframes fscEnter {
  0% {
    opacity: 0;
    transform: scale(var(--fade-scale-start, 0.8));
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@media (max-width: 340px) {
  .fsc {
    gap: 8px;
  }
  .fsc__view {
    height: 130px;
  }
  .fsc__spacer--top {
    height: 130px;
  }
  .fsc__spacer--bottom {
    height: 26px;
  }
  .fsc__card {
    width: 168px;
    height: 56px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fsc__card {
    animation: none !important;
    opacity: 1 !important;
    transform: scale(1) !important;
  }
}
