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

.skl {
  width: min(100%, 280px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.skl__list {
  box-sizing: border-box;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skl__row {
  box-sizing: border-box;
  position: relative;
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
}

.skl__bar {
  --bar-w: 60%;
  position: relative;
  overflow: hidden;
  display: block;
  width: var(--bar-w);
  height: 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.14);
}
.skl__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(76, 212, 166, 0.5), transparent);
  transform: translateX(-140%);
  animation-name: sklShimmer;
  animation-duration: 220ms;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
}

.skl__content {
  color: #ffffff;
  font-weight: 600;
  font-size: 12px;
}

.skl__row.is-loaded .skl__bar {
  display: none;
}
.skl__row.is-loaded .skl__content {
  animation-name: sklRowIn;
  animation-duration: 300ms;
  animation-timing-function: ease-out;
  animation-fill-mode: backwards;
}

@keyframes sklShimmer {
  to {
    transform: translateX(140%);
  }
}
@keyframes sklRowIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.skl__reload {
  box-sizing: border-box;
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
}
.skl__reload:focus-visible {
  outline: 2px solid #4cd4a6;
  outline-offset: 2px;
}

@media (max-width: 340px) {
  .skl {
    gap: 8px;
  }
  .skl__list {
    gap: 4px;
  }
  .skl__row {
    height: 20px;
    padding: 0 4px;
  }
  .skl__content {
    font-size: 11px;
  }
  .skl__reload {
    padding: 4px 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .skl__bar::after {
    animation: none;
    opacity: 0.5;
    transform: translateX(0);
  }
  .skl__row.is-loaded .skl__content {
    animation: none;
  }
}
