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

.lp {
  display: contents;
}

.lp__phone {
  width: 100%;
  max-width: 300px;
  position: relative;
  height: 200px;
  border-radius: 16px;
  overflow: visible;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  background: #fff7e6;
}

.lp__track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: #fff7e6;
  border-radius: 16px;
  border-top: 1px solid rgba(23, 20, 26, 0.12);
  padding: 4px 0;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
}

.lp__tab {
  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);
}

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

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

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

.lp__fab {
  flex: 0 0 auto;
  position: relative;
  width: 52px;
  height: 52px;
  margin: 0 8px;
  border: none;
  border-radius: 999px;
  background: #0a4fe8;
  color: #fff7e6;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
}

.lp__ring {
  position: absolute;
  inset: -6px;
  width: 64px;
  height: 64px;
  transform: rotate(-90deg);
  pointer-events: none;
}

.lp__ringTrack, .lp__ringProgress {
  fill: none;
  stroke-width: 4px;
}

.lp__ringTrack {
  stroke: rgba(255, 247, 230, 0.3);
}

.lp__ringProgress {
  stroke: #4cd4a6;
  stroke-dashoffset: 999px;
  stroke-linecap: round;
}

.lp__fabIcon {
  width: 22px;
  height: 22px;
}

.lp__menu {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.lp__action {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 999px;
  background: #5b8cf8;
  color: #0a4fe8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  transform: translate(-50%, -50%) scale(0.6);
}

.lp__action svg {
  width: 18px;
  height: 18px;
}

.lp__action[data-i="0"] {
  background: #ff9ebb;
  color: #17141a;
}

.lp__action[data-i="1"] {
  background: #6ec8ff;
  color: #17141a;
}

.lp__action[data-i="2"] {
  background: #b9a0ff;
  color: #17141a;
}

@media (max-width: 340px) {
  .lp__phone {
    max-width: 230px;
    height: 160px;
  }
  .lp__fab {
    width: 46px;
    height: 46px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lp__ringProgress, .lp__action {
    transition: none;
  }
}
