/* 迷雾神木 / 吉鲁铁城 介绍页：逐层通关步骤、标注地图、图例、对照表（2026-11-14） */
.nd-walk-lead { margin: 4px 0 10px !important; padding: 10px 14px; background: var(--nd-soft); border-left: 4px solid var(--nd-main); border-radius: 6px; font-size: 14px; line-height: 1.8; }

.nd-map { margin: 12px 0 6px; }
.nd-map a { display: block; }
.nd-map img { display: block; width: 100%; height: auto; border: 2px solid var(--nd-line); border-radius: var(--radius-md); background: #120d0a; }
.nd-map figcaption { margin-top: 5px; color: #6f6a60; font-size: 12.5px; text-align: center; }

.nd-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 14px; margin: 8px 0 12px !important; padding: 10px 12px !important; list-style: none; background: #fffdf7; border: 1.5px solid var(--nd-line); border-radius: var(--radius-md); font-size: 13px; }
.nd-legend li { display: flex; align-items: baseline; gap: 6px; margin: 0; line-height: 1.6; }
.nd-legend i { flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; color: #1a120a; background: #ffcd3c; border: 2px solid #2a1c10; border-radius: 50%; font-style: normal; font-size: 12px; font-weight: 900; line-height: 1; }
.nd-legend i.c-boss { background: #ff5046; }
.nd-legend i.c-go { background: #5abeff; }
.nd-legend i.c-gate { background: #ff8c28; }
.nd-legend i.c-npc { background: #78e68c; }
.nd-legend i.c-elite { background: #f08cff; }
.nd-legend i.c-opt { background: #c8c8c8; }
.nd-legend small { color: #8a7f72; font-size: 11.5px; white-space: nowrap; }

.nd-steps { counter-reset: ndstep; margin: 10px 0 6px !important; padding: 0 !important; list-style: none; }
.nd-steps > li { position: relative; margin: 0 0 8px; padding: 10px 14px 10px 50px; background: #fff; border: 1.5px solid var(--nd-line); border-radius: var(--radius-md); font-size: 14px; line-height: 1.8; }
.nd-steps > li::before { counter-increment: ndstep; content: counter(ndstep); position: absolute; left: 12px; top: 10px; display: grid; place-items: center; width: 26px; height: 26px; color: #fff; background: var(--nd-main); border-radius: 6px; font-weight: 900; font-size: 14px; }
.nd-steps > li.is-opt::before { background: #9a9086; }
.nd-steps > li > b:first-child { color: var(--nd-deep); }
.nd-steps ul { margin: 4px 0 2px; padding-left: 20px; font-size: 13.5px; }
.nd-pin { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin: 0 2px; padding: 0 4px; color: #1a120a; background: #ffcd3c; border: 1.5px solid #2a1c10; border-radius: 999px; font-size: 11.5px; font-weight: 900; line-height: 1; vertical-align: 1px; }
.nd-pin.c-boss { background: #ff5046; } .nd-pin.c-go { background: #5abeff; } .nd-pin.c-gate { background: #ff8c28; }
.nd-pin.c-npc { background: #78e68c; } .nd-pin.c-elite { background: #f08cff; } .nd-pin.c-opt { background: #c8c8c8; }
.nd-xy { color: #8a7f72; font-size: 12px; white-space: nowrap; }

.nd-tip { margin: 10px 0 !important; padding: 10px 14px 10px 40px; position: relative; background: #fff8e1; border: 1.5px solid #f0d58a; border-radius: var(--radius-md); font-size: 13.5px; line-height: 1.8; }
.nd-tip::before { content: "提示"; position: absolute; left: 8px; top: 11px; padding: 0 4px; color: #fff; background: #d99a12; border-radius: 4px; font-size: 11px; font-weight: 800; writing-mode: vertical-rl; letter-spacing: 1px; }
.nd-tip.is-warn { background: #fff0ee; border-color: #f2b2a8; }
.nd-tip.is-warn::before { content: "注意"; background: #c4161c; }

.nd-table { width: 100%; margin: 8px 0 10px; border-collapse: collapse; background: #fff; font-size: 13.5px; }
.nd-table th, .nd-table td { padding: 7px 10px; text-align: left; vertical-align: top; border: 1px solid var(--nd-line); }
.nd-table th { color: var(--nd-deep); background: var(--nd-soft); font-weight: 800; white-space: nowrap; }
.nd-table td.is-c { text-align: center; white-space: nowrap; }
.nd-table td.is-any { color: #9a9086; text-align: center; }
.nd-table tr.is-bad td { background: #fff3f1; }
.nd-table b { color: var(--nd-deep); }
.nd-table-wrap { overflow-x: auto; }

@media (max-width: 860px) {
  .nd-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .nd-legend { grid-template-columns: 1fr; }
  .nd-steps > li { padding-left: 44px; }
}
