/* 疾风之刃官网 · WIKI 攻略页样式 */
.wiki-main { padding: 60px 0 90px; background: var(--bg); }
.wiki-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }

/* 左侧目录 */
.wiki-side {
  position: sticky; top: 100px;
  background: var(--panel); border: 1px solid var(--line);
  padding: 22px 20px;
}
.wiki-side h3 { font-size: 15px; letter-spacing: 3px; color: var(--text); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.wiki-cat { font-size: 12px; letter-spacing: 2px; color: var(--muted); margin: 16px 0 8px; }
.wiki-cat:first-of-type { margin-top: 0; }
.wiki-link {
  display: block; font-size: 14px; color: #ccd2e0; text-decoration: none;
  padding: 9px 12px; margin-bottom: 4px; border-left: 3px solid transparent;
  transition: all .2s ease; line-height: 1.5;
}
.wiki-link:hover { color: var(--gold); background: rgba(255,255,255,.03); }
.wiki-link.is-active { color: var(--gold); border-left-color: var(--red); background: rgba(230,62,54,.08); }

/* 右侧文章 */
.wiki-article { display: none; background: var(--panel); border: 1px solid var(--line); padding: 36px 40px 40px; }
.wiki-article.is-active { display: block; }
.wiki-article h2 { font-size: 26px; font-weight: 800; letter-spacing: 2px; margin-bottom: 18px; }
.wiki-lead { font-size: 15px; line-height: 1.9; color: #ccd2e0; background: var(--panel-2); border-left: 3px solid var(--red); padding: 14px 18px; margin-bottom: 28px; }
.wiki-lead b, .w-note b, .w-p b { color: var(--gold); font-weight: 600; }
.wiki-article h4 {
  font-size: 16px; letter-spacing: 2px; color: var(--text);
  margin: 28px 0 16px; padding-left: 12px; border-left: 4px solid var(--red);
}
.w-p { font-size: 14px; line-height: 1.9; color: #ccd2e0; }

/* 步骤 */
.w-steps { list-style: none; }
.w-steps li { display: flex; gap: 18px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.w-steps li:last-child { border-bottom: none; }
.w-steps li > span { font-size: 22px; font-weight: 800; color: var(--red); line-height: 1.2; min-width: 34px; }
.w-steps h5 { font-size: 15px; font-weight: 700; letter-spacing: 1px; margin-bottom: 5px; }
.w-steps p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* 提示框 */
.w-note {
  font-size: 14px; line-height: 1.9; color: var(--gold);
  background: rgba(240,179,94,.08); border: 1px solid rgba(240,179,94,.25);
  padding: 14px 18px; margin-top: 22px;
}

/* 表格 */
.w-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.w-table th {
  text-align: left; font-size: 13px; letter-spacing: 2px; color: var(--muted);
  padding: 12px 14px; border-bottom: 2px solid var(--line); white-space: nowrap;
}
.w-table td { padding: 14px; border-bottom: 1px solid var(--line); color: #ccd2e0; line-height: 1.7; vertical-align: top; }
.w-table td:first-child { color: var(--text); font-weight: 600; white-space: nowrap; }
.w-table tbody tr:hover { background: rgba(255,255,255,.02); }
.w-lv {
  display: inline-block; font-weight: 800; font-size: 13px; color: #0a0f1c;
  background: linear-gradient(120deg, #f6d17e, var(--gold));
  padding: 3px 10px; white-space: nowrap;
}

@media (max-width: 900px) {
  .wiki-layout { grid-template-columns: 1fr; }
  .wiki-side { position: static; }
  .wiki-article { padding: 24px 20px; }
  .w-table td:first-child { white-space: normal; }
}
