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

.sf {
  display: contents;
}

.sf__phone {
  width: 100%;
  max-width: 300px;
  position: relative;
  height: 96px;
  display: flex;
  align-items: center;
}

.sf__track {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-around;
  background: #fff7e6;
  border-radius: 16px;
  padding: 8px 0;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  touch-action: none;
  cursor: grab;
}

.sf__indicator {
  position: absolute;
  left: 0;
  top: 8px;
  border-radius: 999px;
  background: #5b8cf8;
  will-change: transform;
}

.sf__tab {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 4px 12px;
  color: rgba(23, 20, 26, 0.72);
}

.sf__tab.is-active {
  color: #0a4fe8;
}

.sf__icon {
  width: 18px;
  height: 18px;
}

.sf__label {
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 340px) {
  .sf__phone {
    max-width: 230px;
  }
  .sf__tab {
    padding: 4px 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sf__indicator {
    transition: none;
  }
}
