/* Clash for Mac —— 教程页专属:步骤编号标 */

.step-band {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 3em;
  margin-bottom: 0.8em;
  scroll-margin-top: calc(var(--topbar-h) + 16px);
}

.step-band h2 {
  margin: 0;
}

.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--r-ctl);
  background: var(--c-ink);
  color: var(--c-page);
  font-family: var(--ff-mono);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.prose h2[id],
.prose h3[id] {
  scroll-margin-top: calc(var(--topbar-h) + 16px);
}

.tail-links {
  margin-top: 1.6em;
}

@media (max-width: 480px) {
  .step-no {
    width: 36px;
    height: 36px;
    font-size: 0.98rem;
  }

  .step-band {
    gap: 10px;
  }
}