html, body {
  margin: 0;
  overflow: hidden;
}

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #ffd23f;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  padding: clamp(8px, 4vw, 24px);
}

.bg__phone {
  width: 100%;
  max-width: 300px;
}

.bg__track {
  display: flex;
  justify-content: space-between;
  background: #fff7e6;
  border-radius: 999px;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  padding: 4px 8px;
  box-sizing: border-box;
}

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

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

.bg__icon {
  width: 20px;
  height: 20px;
}

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

.bg__iconWrap {
  position: relative;
  display: inline-flex;
}

.bg__badge {
  position: absolute;
  top: -4px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #c93000;
  color: #fff7e6;
  display: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  transform-origin: 50% 50%;
}

.bg__strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 14px;
  font-size: 10px;
  font-weight: 800;
}
.bg__strip span {
  height: 14px;
  display: block;
}

.bg__hit {
  margin-top: 8px;
  width: 100%;
  border: none;
  border-radius: 12px;
  background: #0a4fe8;
  color: #fff7e6;
  font-weight: 700;
  font-size: 11px;
  padding: 4px 0;
  cursor: pointer;
}

@media (max-width: 340px) {
  .bg__phone {
    max-width: 230px;
  }
  .bg__tab {
    padding: 4px 8px;
  }
  .bg__icon {
    width: 18px;
    height: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bg__badge, .bg__strip {
    transition: none;
  }
}
