/* NPB 登录教程 · 简洁一目了然 */
body.ed-npb-tut {
  background: #f3f5f4;
}

.ed-npb-tut-bar {
  background: #0f2f22;
  color: #fff;
  padding: 18px 0 20px;
}

.ed-npb-tut-bar__inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 16px;
}

.ed-npb-tut-bar .ed-nw-crumb {
  margin: 0 0 10px;
  font-size: 12px;
}

.ed-npb-tut-bar .ed-nw-crumb a,
.ed-npb-tut-bar .ed-nw-crumb span {
  color: rgba(255, 255, 255, 0.7);
}

.ed-npb-tut-bar h1 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.ed-npb-tut-bar__sub {
  margin: 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.ed-npb-tut-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 4px;
  max-width: 560px;
  margin: -1px auto 0;
  padding: 12px 12px 0;
}

.ed-npb-tut-flow a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d5e2da;
  color: #0f2f22;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 1px 0 rgba(15, 47, 34, 0.04);
}

.ed-npb-tut-flow a b {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #00875a;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.ed-npb-tut-flow__arr {
  color: #9bb0a4;
  font-size: 12px;
  user-select: none;
}

.ed-npb-tut-main {
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
  padding: 18px 16px 56px;
  box-sizing: border-box;
}

.ed-npb-tut-step {
  margin: 0 0 18px;
  background: #fff;
  border: 1px solid #dce6e0;
  border-radius: 14px;
  overflow: hidden;
  scroll-margin-top: 76px;
}

.ed-npb-tut-step__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 10px;
}

.ed-npb-tut-step__n {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #00875a;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
}

.ed-npb-tut-step__head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f2f22;
  line-height: 1.3;
}

.ed-npb-tut-step__head p {
  margin: 2px 0 0;
  font-size: 13px;
  color: #5a7266;
  line-height: 1.4;
}

.ed-npb-tut-step__shot {
  margin: 0;
  padding: 0 12px 14px;
  width: 100%;
  box-sizing: border-box;
}

/* 手机截图：随屏宽缩放，高度按比例，永不拉伸变形 */
.ed-npb-tut-step__shot img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto !important;
  max-height: none;
  object-fit: contain;
  object-position: center top;
  border-radius: 10px;
  border: 1px solid #e6eee9;
  background: #f3f5f4;
}

.ed-npb-tut-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding-top: 6px;
}

.ed-npb-tut-foot a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

.ed-npb-tut-foot__solid {
  background: #00875a;
  color: #fff;
}

.ed-npb-tut-foot__ghost {
  background: #fff;
  color: #0f2f22;
  border: 1.5px solid #c9d8d0;
}

@media (max-width: 560px) {
  .ed-npb-tut-main {
    padding: 14px 10px 48px;
  }

  .ed-npb-tut-step__shot {
    padding: 0 8px 12px;
  }

  .ed-npb-tut-step__shot img {
    border-radius: 8px;
  }
}

@media (max-width: 420px) {
  .ed-npb-tut-flow__arr {
    display: none;
  }

  .ed-npb-tut-bar__inner,
  .ed-npb-tut-flow {
    padding-left: 12px;
    padding-right: 12px;
  }

  /* 小屏尽量贴边，图更大更易看清红框/箭头 */
  .ed-npb-tut-main {
    padding-left: 8px;
    padding-right: 8px;
  }

  .ed-npb-tut-step__shot {
    padding-left: 6px;
    padding-right: 6px;
  }
}
