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

.fh {
  width: min(360px, 96vw);
}

.fh__title {
  margin: 0 0 12px;
  font-weight: 800;
  font-size: 13px;
  line-height: 1.3;
  font-family: inherit;
  color: #17141a;
}

.fh__list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  border-radius: 16px;
  background: rgba(23, 20, 26, 0.5);
  overflow: hidden;
}

.fh__row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  box-sizing: border-box;
  padding: 0 12px;
  cursor: pointer;
  outline-offset: -2px;
}

.fh__icon {
  font-size: 10px;
  color: rgba(255, 247, 230, 0.8);
  transition: color 300ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fh__row.is-active .fh__icon {
  color: #fff7e6;
  transform: scale(1.3);
}

.fh__label {
  font-weight: 600;
  font-size: 12px;
  line-height: 1.3;
  font-family: inherit;
  color: rgba(255, 247, 230, 0.8);
  transition: color 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fh__row.is-active .fh__label {
  color: #fff7e6;
}

.fh__spot {
  position: absolute;
  z-index: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 40px;
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fh__spot-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(47, 109, 246, 0.3);
  border-left: 3px solid #2f6df6;
  box-sizing: border-box;
  transform-origin: left center;
  animation: fh-pulse 1.8s ease-in-out infinite;
}

@keyframes fh-pulse {
  0%, 100% {
    opacity: 0.4;
    transform: scaleX(1);
  }
  50% {
    opacity: 1;
    transform: scaleX(1.02);
  }
}
@media (prefers-reduced-motion: reduce) {
  .fh__spot {
    animation: none !important;
    transition: none !important;
  }
  .fh__icon, .fh__label {
    transition: none !important;
  }
}
@media (max-width: 340px), (max-height: 220px) {
  .fh__row, .fh__spot, .fh__spot-fill {
    height: 34px;
  }
  .fh__title {
    margin-bottom: 8px;
  }
}
