/* 10.10.2026 (третья версия оформления): «Руководства для новичков» — тег <ldnovice/>, extensions/LdNovice.php.
   Структура второй версии (один путь из 7 шагов, одна кнопка на шаг, вкладки хроники, свёрнутый справочник),
   оформление — в светлом стиле сайта, как у планировщика и главной (ld-home.css): белые блоки, ссылки #2f6ea5, линии #d6dfe7.
   Тёмное «игровое» окно владелец забраковал: «не подходит сайту». Вкладки — radio + CSS, без JS. Без container queries. */
.nv-lead { margin: 0 0 14px; max-width: 80ch; font-size: 15.5px; line-height: 1.55; color: #3a4a57; }
.nv-foot { margin: 12px 0 0; font-size: 13.5px; color: #5b6b78; }

.nv { --ink: #1d2b36; --txt: #3a4a57; --muted: #5b6b78; --line: #d6dfe7; --line2: #e8eef3; --soft: #f3f6f9; --seg: #e9eef3; --accent: #2f6ea5; --accent-h: #275d8c; --accent-soft: #e6f0f8;
  position: relative; margin: 0 0 4px; color: var(--ink); font-size: 15px; line-height: 1.55;
  border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(20, 40, 60, .04), 0 6px 20px rgba(20, 40, 60, .05); overflow: hidden; }
.nv *, .nv *::before, .nv *::after { box-sizing: border-box; }
.nv a { text-decoration: none; }

/* шапка блока: заголовок слева, вкладки хроники справа */
.nv-title { padding: 14px 18px 0; font-size: 17px; font-weight: 700; color: var(--ink); }
.nv-r { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.nv-tabs { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 10px 18px 14px; border-bottom: 1px solid var(--line); }
.nv-tabs::before { content: "Хроника сервера:"; font-size: 13.5px; color: var(--muted); }
.nv-tabs label { margin: 0; padding: 5px 14px; border-radius: 8px; cursor: pointer; user-select: none; background: var(--seg); color: #4a5866; font-weight: 600; font-size: 14px; transition: background .15s, color .15s; }
.nv-tabs label:hover { color: var(--ink); background: #dfe6ed; }
#nv-r-il:checked ~ .nv-tabs label[for="nv-r-il"], #nv-r-hf:checked ~ .nv-tabs label[for="nv-r-hf"] { background: var(--accent); color: #fff; }
#nv-r-il:focus-visible ~ .nv-tabs label[for="nv-r-il"], #nv-r-hf:focus-visible ~ .nv-tabs label[for="nv-r-hf"] { outline: 2px solid var(--accent); outline-offset: 2px; }
.nv-ess { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--accent) !important; }
.nv-ess:hover { text-decoration: underline; }
/* ссылки, которые зависят от хроники */
#nv-r-il:checked ~ * .nv-hf, #nv-r-hf:checked ~ * .nv-il { display: none !important; }

/* шаги */
.nv-list { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.nv-q { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; margin: 0 !important; padding: 16px 18px; list-style: none !important; background: none !important;
  border-bottom: 1px solid var(--line2); }
.nv-q:last-child { border-bottom: 0; }
/* иконка из игры, номер шага — в уголке */
.nv-slot { position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line2); }
.nv-slot img { width: 32px; height: 32px; border-radius: 6px; image-rendering: pixelated; }
.nv-slot i { position: absolute; left: -6px; top: -6px; display: flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 10px;
  background: var(--accent); color: #fff; font-style: normal; font-weight: 700; font-size: 11.5px; box-shadow: 0 0 0 2px #fff; }
.nv-qb { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.nv-qh { display: flex; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; }
.nv-qh h2 { flex: 1 1 auto; min-width: 0; margin: 0 !important; padding: 0 !important; border: 0 !important; color: var(--ink); font-size: 16px; font-weight: 700; line-height: 1.35; }
.nv-lv { flex: none; padding: 1px 9px; border-radius: 999px; background: #fbf5e8; color: #8a6418; font-size: 12.5px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.nv-qb p { margin: 0; max-width: 72ch; color: var(--txt); font-size: 14.5px; }
.nv-act { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 4px; }
.nv-btn { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 8px; background: var(--accent); color: #fff !important; font-size: 14px; font-weight: 600; transition: background .15s; }
.nv-btn:hover { background: var(--accent-h); }
.nv-sub { color: var(--accent) !important; font-size: 14px; font-weight: 600; }
.nv-sub:hover { text-decoration: underline; }
.nv a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* справочник — свёрнут */
.nv-ref { border-top: 1px solid var(--line); }
.nv-ref summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; cursor: pointer; list-style: none; background: var(--soft); font-weight: 700; font-size: 14.5px; color: var(--ink); }
.nv-ref summary::-webkit-details-marker { display: none; }
.nv-ref summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.nv-ref[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.nv-ref summary:hover { color: var(--accent); }
.nv-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 18px; padding: 12px 18px 16px; }
.nv-cols h3 { margin: 0 0 4px !important; padding: 0 !important; border: 0 !important; font-size: 12px !important; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.nv-cols ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.nv-cols li { margin: 0 !important; padding: 2px 0; list-style: none !important; background: none !important; font-size: 14.5px; }
.nv-rl { color: var(--accent) !important; }
.nv-rl:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .nv-q { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 14px 12px; }
  .nv-slot { width: 40px; height: 40px; }
  .nv-slot img { width: 30px; height: 30px; }
  .nv-qh h2 { font-size: 15px; }
  .nv-title { padding: 12px 12px 0; }
  .nv-tabs { padding: 8px 12px 12px; gap: 8px; }
  .nv-tabs::before { flex-basis: 100%; }
  .nv-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 10px 12px 14px; }
  .nv-ref summary { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .nv * { transition: none !important; }
}
