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

.asi-wrap {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

.asi {
  position: relative;
  display: inline-flex;
  gap: 0;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 247, 230, 0.07);
}

.asi__indicator {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  border-radius: 999px;
  background: #0a4fe8;
  transform-origin: left center;
  will-change: transform;
  z-index: 0;
}

.asi__btn {
  position: relative;
  z-index: 1;
  appearance: none;
  border: none;
  background: transparent;
  color: rgba(255, 247, 230, 0.78);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  white-space: nowrap;
  cursor: pointer;
  border-radius: 999px;
  transition: color 220ms ease-out;
}

.asi__btn--on {
  color: #fff7e6;
}

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

@media (max-width: 340px) {
  .asi__btn {
    font-size: 12px;
    padding: 4px 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .asi__btn {
    transition: none;
  }
}
