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

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

.bfs__badge {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(20, 45, 120, 0.08);
  color: #0a4fe8;
  font-weight: 700;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.bfs__ctrl {
  position: absolute;
  top: 0;
  right: 0;
  border: 0;
  border-radius: 4px;
  padding: 4px 8px;
  background: rgba(20, 45, 120, 0.1);
  color: #0a4fe8;
  font-weight: 600;
  font-size: 10px;
  line-height: 1.4;
  cursor: pointer;
}

.bfs__ctrl:focus-visible {
  outline: 2px solid #0a4fe8;
  outline-offset: 2px;
}

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

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

.bfs__spacer--top {
  height: 200px;
  flex: 0 0 auto;
}

.bfs__spacer--bottom {
  height: 200px;
  flex: 0 0 auto;
}

.bfs__card {
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 200px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #0a4fe8;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  filter: blur(var(--blur-max, 12px));
}

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

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

@keyframes bfsFocus {
  0% {
    filter: blur(var(--blur-max, 12px));
    opacity: 0.55;
  }
  50% {
    filter: blur(0px);
    opacity: 1;
  }
  100% {
    filter: blur(var(--blur-max, 12px));
    opacity: 0.55;
  }
}
@media (max-width: 340px) {
  .bfs {
    gap: 8px;
  }
  .bfs__view {
    height: 130px;
  }
  .bfs__spacer--top {
    height: 150px;
  }
  .bfs__spacer--bottom {
    height: 150px;
  }
  .bfs__card {
    width: 168px;
    height: 68px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bfs__card {
    animation: none !important;
    filter: blur(0px) !important;
    opacity: 1 !important;
  }
}
