/* ============================================================
   Clash for Android · clash-android.com
   tutorial.css —— 快速上手页(start.html)专属样式
   步骤徽标 / 完成判定卡 / 锚点偏移 / 收尾面板网格
   ============================================================ */

/* 页首文案节奏 */
.tut-title{margin-top:18px;}
.tut-lead{
  margin-top:16px;
  max-width:820px;
  font-size:17px;
  line-height:1.9;
  color:var(--text);
}
.tut-spec{
  margin-top:14px;
  margin-bottom:22px;
  font-family:var(--font-mono);
  font-size:12.5px;
  color:var(--text-muted);
  letter-spacing:.04em;
  line-height:1.8;
}

/* 步骤区:sticky 页头下的锚点落点偏移 */
.step-sec{scroll-margin-top:96px;}
.step-sec .prose>h2{margin-top:.45em;}

/* 步骤编号徽标(等宽字体,机器人绿卡扣) */
.step-no{
  display:inline-flex;
  align-items:center;
  font-family:var(--font-mono);
  font-size:12px;
  font-weight:700;
  letter-spacing:.14em;
  background:var(--accent);
  color:var(--text);
  border:2px solid var(--border);
  border-radius:8px;
  padding:4px 12px;
  box-shadow:var(--shadow-ink-sm);
}

/* 完成判定卡 */
.step-done{
  background:var(--bg-panel2);
  border:2px solid var(--border);
  border-radius:var(--r-md);
  box-shadow:var(--shadow-ink-sm);
  padding:18px 22px;
  margin-top:26px;
}
.step-done-title{
  display:block;
  font-family:var(--font-mono);
  font-size:11px;
  font-weight:700;
  letter-spacing:.16em;
  color:var(--text-muted);
  margin-bottom:10px;
}
.step-done ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:7px;
}
.step-done li{
  margin:0;
  font-size:14px;
  font-weight:600;
  line-height:1.7;
}
.step-done li::before{
  content:"✔ ";
  color:var(--accent-dark);
  font-weight:800;
}

/* 收尾:下一步去哪 */
.next-title{margin-bottom:24px;}
.next-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:20px;
}
.next-grid>*{min-width:0;}
.next-grid .panel{
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:flex-start;
}
.next-desc{
  font-size:14px;
  line-height:1.85;
  color:var(--text-muted);
  flex:1;
}

@media (max-width:640px){
  .tut-lead{font-size:15.5px;}
  .step-sec{scroll-margin-top:84px;}
}