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

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

p {
  margin: 0;
}

.lm {
  box-sizing: border-box;
  display: grid;
  justify-items: center;
  gap: 16px;
  width: clamp(288px, 96vw, 448px);
}

.lm__lead {
  color: #1c1b22;
  font-weight: 700;
  font-size: clamp(13px, 3.4vw, 16px);
  line-height: 1.3;
  text-align: center;
}

.lm__band {
  box-sizing: border-box;
  width: 100%;
  padding-top: 16px;
  padding-bottom: 16px;
  border-top: 1px solid rgba(28, 27, 34, 0.14);
  border-bottom: 1px solid rgba(28, 27, 34, 0.14);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}

.lm__track {
  display: flex;
  align-items: center;
  width: max-content;
}

.lm__mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin-right: 24px;
  padding: 4px;
  border-radius: 8px;
  color: #565062;
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}

.lm__mark:focus-visible {
  outline: 2px solid #1c1b22;
  outline-offset: 2px;
}

.lm__shape {
  display: block;
  flex: 0 0 auto;
}

.lm__mark--t1 .lm__shape {
  color: #1c1b22;
}

.lm__mark--t2 .lm__shape {
  color: #479089;
}

.lm__mark--t3 .lm__shape {
  color: #ff4d1f;
}

.lm__mark--t4 .lm__shape {
  color: #a49cce;
}

.lm.is-demo .lm__track {
  animation-name: lmRun;
  animation-duration: 2s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.lm.is-paused .lm__track {
  animation-play-state: paused;
}

@keyframes lmRun {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (max-width: 340px), (max-height: 220px) {
  .lm {
    gap: 8px;
    width: 100%;
  }
  .lm__lead {
    font-size: 12px;
  }
  .lm__band {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .lm__mark {
    margin-right: 16px;
    padding: 0;
    font-size: 10px;
  }
  .lm__shape {
    width: 14px;
    height: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lm__track {
    animation: none !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    width: 100% !important;
  }
  .lm__mark {
    margin-bottom: 12px !important;
  }
  .lm__band {
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
  .lm__mark--dup {
    display: none !important;
  }
}
