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

.rv {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(100%, 320px);
}

.rv__cap {
  margin: 0;
  font-weight: 700;
  font-size: clamp(11px, 3vw, 12px);
  color: rgba(23, 20, 26, 0.72);
}

.rv__list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rv__marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 32px;
  border-radius: 8px;
  background: rgba(47, 109, 246, 0.16);
  border-left: 3px solid #2f6df6;
  box-sizing: border-box;
  transform: translateY(calc(var(--i, 0) * 36px));
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.rv__row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  box-sizing: border-box;
  padding: 0 12px;
  border-radius: 8px;
  cursor: pointer;
}

.rv__row:focus-visible {
  outline: 2px solid #17141a;
  outline-offset: 0;
}

.rv__who {
  font-weight: 800;
  font-size: clamp(11px, 3vw, 12px);
  color: #17141a;
}

.rv__what {
  font-weight: 600;
  font-size: clamp(11px, 3vw, 12px);
  color: rgba(23, 20, 26, 0.66);
}

.rv__row.is-open .rv__what {
  text-decoration: underline;
}

.rv.is-demo .rv__marker {
  animation-name: rvMove;
  animation-duration: 2s;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-iteration-count: infinite;
  animation-fill-mode: backwards;
}

@keyframes rvMove {
  0%, 16% {
    transform: translateY(0);
  }
  22%, 38% {
    transform: translateY(36px);
  }
  44%, 60% {
    transform: translateY(72px);
  }
  66%, 84% {
    transform: translateY(108px);
  }
  92%, 100% {
    transform: translateY(0);
  }
}
@media (max-width: 340px) {
  .rv__row {
    padding: 0 8px;
  }
  .rv__list {
    gap: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rv.is-demo .rv__marker {
    animation: none !important;
  }
  .rv__marker {
    transition: none !important;
  }
}
