/* ===========================================================
 * guide.css —— 功能说明页（guide.html）专用样式
 * 复用 style.css 的暗夜黑 + 橙黄点缀主题变量，这里只写说明页的排版
 * =========================================================== */

/* 说明页需要滚动，覆盖主页的 overflow:hidden */
body.guide {
  overflow: auto;
  background: radial-gradient(1200px 600px at 50% -10%, #1E1708 0%, var(--bg) 60%);
}

.guide-top {
  position: sticky; top: 0; z-index: 20;
  height: var(--h-top);
  display: flex; align-items: center; gap: 10px;
  padding: 0 20px;
  background: rgba(21, 21, 23, .92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 24px 20px 56px; }

/* ---------- Hero ---------- */
.hero { padding: 26px 0 10px; }
.hero h1 {
  margin: 0 0 8px; font-size: 28px; font-weight: 600; letter-spacing: .5px; color: #F5EFE3;
}
.hero .lead { margin: 0 0 14px; font-size: 14px; color: var(--text-dim); line-height: 1.8; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px;
  background: var(--accent-s); border: 1px solid var(--accent);
  color: #FFD37E; font-size: 12px;
}

/* ---------- 分节 ---------- */
.sec { margin-top: 30px; }
.sec-head {
  display: flex; justify-content: flex-start; align-items: center; gap: 9px;
  padding: 0;
  margin: 0 0 12px; font-size: 16px; font-weight: 600; color: #F5EFE3;
}
.sec-head .no {
  width: 22px; height: 22px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-s);
  background: var(--accent-2); color: #fff; font-size: 12px;
}
.sec-desc { margin: 0 0 14px; color: var(--text-dim); line-height: 1.8; }

.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 18px;
}
.card h3 {
  margin: 0 0 10px; font-size: 14px; font-weight: 600; color: #FFE3AD;
  display: flex; align-items: center; gap: 7px;
}
.card h3 span[data-ic] { width: 15px; height: 15px; color: var(--accent); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

ul.feat { margin: 0; padding-left: 18px; }
ul.feat li { margin: 5px 0; line-height: 1.7; }
ul.feat li b { color: #C9DCF7; font-weight: 600; }
.kbd {
  display: inline-block; min-width: 18px; text-align: center;
  padding: 1px 6px; margin: 0 1px;
  border: 1px solid var(--line); border-bottom-width: 2px;
  border-radius: 4px; background: var(--panel-2);
  color: var(--text); font-size: 12px; font-family: ui-monospace, Consolas, monospace;
}
.note { color: var(--text-mute); font-size: 12px; margin-top: 8px; line-height: 1.7; }

/* ---------- 界面总览图 ---------- */
.shot {
  width: 100%; display: block;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel-2);
}
.shot-caption { margin: 8px 0 0; font-size: 12px; color: var(--text-mute); text-align: center; }

/* ---------- 表格 ---------- */
table.kv { width: 100%; border-collapse: collapse; }
table.kv td {
  padding: 8px 10px; border-bottom: 1px solid var(--line-soft);
  font-size: 13px; vertical-align: top;
}
table.kv tr:last-child td { border-bottom: 0; }
table.kv td:first-child { width: 200px; color: var(--text-dim); }

/* ---------- 步骤 ---------- */
.steps { counter-reset: st; }
.step {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0; border-bottom: 1px solid var(--line-soft);
}
.step:last-child { border-bottom: 0; }
.step .idx {
  counter-increment: st;
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent-s); border: 1px solid var(--accent); color: #FFD37E;
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px;
}
.step .idx::before { content: counter(st); }
.step .txt { line-height: 1.7; }
.step .txt b { color: #C9DCF7; }

/* ---------- 提示条 ---------- */
.callout {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px; margin-top: 14px;
  border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: var(--radius-s); background: var(--accent-s);
  color: var(--text-dim); line-height: 1.7;
}
.callout b { color: #C9DCF7; }

.foot { margin-top: 34px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--text-mute); font-size: 12px; line-height: 1.8; }

a.btn { text-decoration: none; }
