/* =========================================================
   活动创建帮助页 —— 页面级样式
   仅用于 help-create-activity.html，不影响其它站点页面。
   包含：指南排版、区块快捷导航、以及纯 CSS 手绘的
   「浏览器窗口（管理后台）」仿真界面。
   ========================================================= */

/* ===== 指南整体排版 ===== */
.guide { max-width: 960px; margin: 0 auto; }
/* 锚点跳转时为 sticky 顶栏预留偏移，避免标题被遮挡 */
#prepare, #overview, #mobile-flow, #pc-flow, #status, #help-faq { scroll-margin-top: 84px; }
.guide-lead { font-size: 17px; color: var(--text-light); text-align: center; max-width: 680px; margin: 0 auto; }

/* 双端快捷导航（sticky 药丸） */
.endpoint-nav {
  position: sticky; top: 64px; z-index: 50;
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  padding: 14px 0; margin-bottom: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.96) 70%, rgba(255,255,255,0));
}
.endpoint-nav a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid var(--border); background: #fff; color: var(--text);
  box-shadow: var(--shadow); transition: all .2s;
}
.endpoint-nav a:hover { border-color: var(--red); color: var(--red); }
.endpoint-nav a .ep-ico { font-size: 18px; }

/* 大区块标题（手机端 / 电脑端） */
.flow-head { text-align: center; margin-bottom: 40px; }
.flow-head .badge {
  display: inline-block; font-size: 13px; font-weight: 700; color: #fff;
  background: var(--red); padding: 4px 14px; border-radius: 999px; margin-bottom: 14px;
}
.flow-head .badge.pc { background: #1677ff; }
.flow-head h2 { font-size: 30px; margin-bottom: 10px; }
.flow-head p { color: var(--text-light); max-width: 620px; margin: 0 auto; }

/* 单条步骤：左文右图 */
.gstep {
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  padding: 28px 0; border-top: 1px dashed var(--border);
}
.gstep:first-of-type { border-top: none; }
.gstep__txt { min-width: 0; }
.gstep__no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff;
  font-weight: 700; font-size: 15px; margin-bottom: 10px;
}
.gstep.pc .gstep__no { background: #1677ff; }
.gstep__txt h3 { font-size: 20px; margin-bottom: 8px; }
.gstep__txt p { color: var(--text-light); font-size: 15px; margin-bottom: 10px; }
.gstep__txt ul { margin: 6px 0 6px 20px; color: var(--text-light); font-size: 14px; }
.gstep__txt li { margin-bottom: 4px; }
.gstep__txt .path {
  display: inline-block; font-size: 13px; color: var(--red);
  background: rgba(200,16,46,.07); border-radius: 6px; padding: 2px 10px; margin-bottom: 10px;
}
.gstep.pc .gstep__txt .path { color: #1677ff; background: rgba(22,119,255,.08); }

/* 截图（仿真界面）图注容器 */
.shot { min-width: 0; text-align: center; }
.shot__cap {
  margin-top: 12px; font-size: 13px; color: var(--text-light);
}
.shot__cap b { color: var(--text); }

/* 提示条 */
.note {
  background: #FFF7F0; border-left: 4px solid var(--gold);
  padding: 12px 16px; border-radius: 0 8px 8px 0; margin: 16px 0; font-size: 14px; color: #6b5416;
}
.note strong { color: #8a6d1a; }
.note.info { background: #f0f6ff; border-left-color: #1677ff; color: #33507a; }
.note.info strong { color: #1677ff; }

/* ===== 浏览器窗口（管理后台仿真界面）===== */
.aw { width: 100%; max-width: 460px; margin: 0 auto; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,.10); background: #fff; }
.aw__bar { height: 34px; background: #f3f4f6; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid #e5e7eb; }
.aw__dot { width: 10px; height: 10px; border-radius: 50%; }
.aw__dot.r { background: #ff5f57; } .aw__dot.y { background: #febc2e; } .aw__dot.g { background: #28c840; }
.aw__url { margin-left: 10px; flex: 1; font-size: 11px; color: #6b7280; background: #fff; border: 1px solid #e5e7eb; border-radius: 6px; padding: 3px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aw__body { overflow-x: auto; padding: 16px; background: #fff; text-align: left; }
.aw__title { font-size: 15px; font-weight: 600; color: #1f2937; margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; }

/* Ant Design 风格小部件（蓝色主题 #1677ff） */
.a-btn { display: inline-flex; align-items: center; gap: 5px; background: #1677ff; color: #fff; font-size: 12px; font-weight: 500; padding: 5px 14px; border-radius: 6px; }
.a-btn.ghost { background: #fff; color: #1677ff; border: 1px solid #1677ff; }
.a-btn.sm { padding: 3px 10px; font-size: 11px; }
.a-btn.gray { background: #fff; color: #4b5563; border: 1px solid #d9d9d9; }
.a-field { margin-bottom: 12px; }
.a-field__label { font-size: 12px; color: #1f2937; margin-bottom: 5px; }
.a-field__label .req { color: #ff4d4f; margin-right: 3px; }
.a-input { border: 1px solid #d9d9d9; border-radius: 6px; padding: 6px 10px; font-size: 12px; color: #1f2937; background: #fff; }
.a-input.ph { color: #bfbfbf; }
.a-input.sel::after { content: "▾"; float: right; color: #bfbfbf; }
.a-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.a-alert { border-radius: 6px; padding: 8px 12px; font-size: 11px; margin-bottom: 12px; display: flex; gap: 6px; }
.a-alert.warn { background: #fffbe6; border: 1px solid #ffe58f; color: #874d00; }
.a-alert.info { background: #e6f4ff; border: 1px solid #91caff; color: #003a8c; }
.a-alert.ok { background: #f6ffed; border: 1px solid #b7eb8f; color: #135200; }
.a-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.a-table th { background: #fafafa; text-align: left; padding: 7px 8px; border-bottom: 1px solid #f0f0f0; color: #1f2937; font-weight: 600; white-space: nowrap; }
.a-table td { padding: 7px 8px; border-bottom: 1px solid #f0f0f0; color: #4b5563; }
.a-table .lnk { color: #1677ff; margin-right: 8px; white-space: nowrap; }
.a-table .code { font-family: monospace; background: #f5f5f5; border-radius: 4px; padding: 1px 6px; color: #c41e24; }
.a-tag { font-size: 10px; padding: 1px 8px; border-radius: 4px; }
.a-tag.gray { background: #fafafa; border: 1px solid #d9d9d9; color: #6b7280; }
.a-tag.green { background: #f6ffed; border: 1px solid #b7eb8f; color: #389e0d; }
.a-tag.blue { background: #e6f4ff; border: 1px solid #91caff; color: #0958d9; }
.a-menu { display: flex; gap: 14px; font-size: 12px; color: #6b7280; border-bottom: 1px solid #f0f0f0; padding-bottom: 8px; margin-bottom: 14px; }
.a-menu .on { color: #1677ff; font-weight: 600; border-bottom: 2px solid #1677ff; padding-bottom: 8px; margin-bottom: -9px; }
.a-score { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
.a-score__i { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #4b5563; }
.a-score__i .box { margin-left: auto; border: 1px solid #d9d9d9; border-radius: 4px; padding: 2px 8px; min-width: 42px; text-align: right; color: #1f2937; }

/* ===== 状态流程小图（纯 CSS）===== */
.stateflow { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 8px 0 4px; }
.stateflow .st { font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: #fff; }
.stateflow .st.draft { color: #6b7280; }
.stateflow .st.active { color: #17a34a; border-color: #b7eb8f; background: #f6ffed; }
.stateflow .st.ended { color: #4f6ef7; border-color: #91caff; background: #e6f4ff; }
.stateflow .st.archived { color: #c41e24; border-color: #ffccc7; background: #fff1f0; }
.stateflow .ar { color: #c0c4cc; font-size: 16px; }

/* ===== 响应式 ===== */
@media (max-width: 720px) {
  .gstep { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .gstep .shot { order: -1; }
  .flow-head h2 { font-size: 24px; }
  .endpoint-nav { top: 56px; }
}
