/* ============================================================
   Nia - Wiki (14/09/2026). Prefixe .nw- ; s'appuie sur nia-home.css (.nh-*).
   ============================================================ */
.nw { --nw-line: var(--nia-line, #322a4d); --nw-panel: var(--nia-panel, #1c1730); --nw-deep: var(--nia-deep, #14101f);
      --nw-rare: #00b341; --nw-epique: #ae00ff; --nw-legendaire: #e10032; --nw-divin: #d4af37; --nw-classique: #aaaaaa; }

/* ---------- Accueil du wiki ---------- */
.nw-hero { position: relative; overflow: hidden; padding: 64px 0 40px; }
.nw-hero-glow { position: absolute; left: 50%; top: -220px; width: 900px; height: 520px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(232,163,61,.16), transparent 70%); pointer-events: none; }
.nw-hero .nh-wrap { position: relative; text-align: center; }
.nw-hero .nh-lead { margin: 14px auto 0; max-width: 640px; }
.nw-search { position: relative; max-width: 640px; margin: 28px auto 0; }
.nw-search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--nia-text-dim); pointer-events: none; }
.nw-search input { width: 100%; box-sizing: border-box; padding: 16px 20px 16px 50px; border-radius: 14px; border: 1px solid var(--nw-line); background: var(--nw-deep); color: var(--nia-text); font: inherit; font-size: 16px; outline: none; transition: border-color .15s, box-shadow .15s; }
.nw-search input:focus { border-color: var(--nia-amber); box-shadow: 0 0 0 4px rgba(232,163,61,.14); }
.nw-search-hint { margin-top: 10px; font-size: 12.5px; color: var(--nia-text-dim); }
.nw-search-results { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30; display: none; text-align: left; border-radius: 14px; border: 1px solid var(--nw-line); background: var(--nw-panel); box-shadow: 0 18px 50px rgba(0,0,0,.5); overflow: hidden; }
.nw-search-results.is-open { display: block; }
.nw-search-results a { display: flex; flex-direction: column; gap: 3px; padding: 12px 16px; color: var(--nia-text); text-decoration: none; border-bottom: 1px solid rgba(50,42,77,.6); }
.nw-search-results a:last-child { border-bottom: 0; }
.nw-search-results a:hover, .nw-search-results a.is-active { background: rgba(232,163,61,.08); }
.nw-search-results b { font-size: 14px; }
.nw-search-results span { font-size: 12.5px; color: var(--nia-text-dim); }
.nw-search-results mark { background: rgba(232,163,61,.28); color: inherit; border-radius: 3px; padding: 0 2px; }
.nw-search-empty { padding: 14px 16px; font-size: 13.5px; color: var(--nia-text-dim); }

.nw-quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.nw-quick a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--nw-line); background: rgba(255,255,255,.02); color: #b8b0d0; font-size: 13px; text-decoration: none; transition: border-color .15s, color .15s; }
.nw-quick a:hover { border-color: var(--nia-amber); color: var(--nia-amber-bright); }

.nw-cats { display: flex; flex-direction: column; gap: 48px; padding-block: 40px 72px; }
.nw-cat-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.nw-cat-head h2 { margin: 0; font-family: var(--nia-font-display); font-size: 24px; font-weight: 700; }
.nw-cat-head span { color: var(--nia-text-dim); font-size: 13.5px; }
.nw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.nw-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 20px; border-radius: 16px; border: 1px solid var(--nw-line); background: linear-gradient(180deg, #1e1834, #171230); color: var(--nia-text); text-decoration: none; overflow: hidden; transition: transform .18s, border-color .18s, box-shadow .18s; }
.nw-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 120px at 0% 0%, rgba(232,163,61,.14), transparent 70%); opacity: 0; transition: opacity .18s; pointer-events: none; }
.nw-card:hover { transform: translateY(-3px); border-color: rgba(232,163,61,.55); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.nw-card:hover::after { opacity: 1; }
.nw-card-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--nw-deep); border: 1px solid var(--nw-line); color: var(--nia-amber-bright); flex-shrink: 0; }
.nw-card-icon img { width: 36px; height: 36px; image-rendering: auto; }
.nw-card-icon svg { width: 24px; height: 24px; }
.nw-card b { font-family: var(--nia-font-display); font-size: 17px; font-weight: 700; line-height: 1.25; }
.nw-card p { margin: 0; color: var(--nia-text-dim); font-size: 13.5px; line-height: 1.55; }
.nw-card-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--nia-amber); font-weight: 600; letter-spacing: .04em; }
.nw-card-foot svg { transition: transform .18s; }
.nw-card:hover .nw-card-foot svg { transform: translateX(4px); }

/* ---------- Page article ---------- */
.nw-layout { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 40px; padding-block: 36px 72px; align-items: start; }
.nw-side { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 22px; max-height: calc(100vh - 100px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
.nw-side-search { position: relative; }
.nw-side-search input { width: 100%; box-sizing: border-box; padding: 10px 12px 10px 36px; border-radius: 10px; border: 1px solid var(--nw-line); background: var(--nw-deep); color: var(--nia-text); font: inherit; font-size: 13.5px; outline: none; }
.nw-side-search input:focus { border-color: var(--nia-amber); }
.nw-side-search svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--nia-text-dim); }
.nw-side-search .nw-search-results { top: calc(100% + 6px); }
.nw-nav-group { display: flex; flex-direction: column; gap: 2px; }
.nw-nav-group > span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--nia-amber); font-weight: 600; margin: 0 0 6px 10px; }
.nw-nav-group a { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 9px; color: #b8b0d0; font-size: 13.5px; text-decoration: none; border: 1px solid transparent; }
.nw-nav-group a:hover { color: var(--nia-text); background: rgba(255,255,255,.035); }
.nw-nav-group a.is-active { color: var(--nia-text); background: rgba(232,163,61,.1); border-color: rgba(232,163,61,.35); font-weight: 600; }
.nw-nav-group a svg { width: 15px; height: 15px; color: var(--nia-text-dim); flex-shrink: 0; }
.nw-nav-group a.is-active svg { color: var(--nia-amber-bright); }

.nw-main { min-width: 0; }
.nw-crumb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--nia-text-dim); margin-bottom: 18px; }
.nw-crumb a { color: var(--nia-text-dim); text-decoration: none; }
.nw-crumb a:hover { color: var(--nia-amber-bright); }
.nw-crumb svg { width: 12px; height: 12px; opacity: .6; }
.nw-head { display: flex; gap: 22px; align-items: flex-start; padding-bottom: 26px; margin-bottom: 30px; border-bottom: 1px solid var(--nw-line); }
.nw-head-icon { width: 70px; height: 70px; border-radius: 18px; background: var(--nw-deep); border: 1px solid var(--nw-line); display: flex; align-items: center; justify-content: center; color: var(--nia-amber-bright); flex-shrink: 0; box-shadow: 0 0 30px rgba(232,163,61,.12); }
.nw-head-icon img { width: 54px; height: 54px; }
.nw-head-icon svg { width: 34px; height: 34px; }
.nw-head h1 { margin: 4px 0 8px; font-family: var(--nia-font-display); font-size: 38px; line-height: 1.1; font-weight: 700; text-wrap: balance; }
.nw-head h1 span { color: var(--nia-amber-bright); }
.nw-head p { margin: 0; color: #b8b0d0; font-size: 16px; line-height: 1.6; max-width: 700px; }
.nw-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.nw-meta span { font-size: 12px; color: var(--nia-text-dim); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--nw-line); background: rgba(255,255,255,.02); }

.nw-toc { display: none; }
.nw-body { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 40px; align-items: start; }
.nw-body .nw-toc { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 84px; padding-left: 14px; border-left: 1px solid var(--nw-line); }
.nw-toc span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--nia-text-dim); margin-bottom: 8px; }
.nw-toc a { color: #9b93b8; font-size: 12.5px; text-decoration: none; line-height: 1.4; padding: 3px 0; }
.nw-toc a:hover, .nw-toc a.is-active { color: var(--nia-amber-bright); }
.nw-toc a.is-h3 { padding-left: 12px; font-size: 12px; }

.nw-content { min-width: 0; font-size: 15.5px; line-height: 1.7; color: #d9d3ea; }
.nw-content > *:first-child { margin-top: 0; }
.nw-content h2 { font-family: var(--nia-font-display); font-size: 25px; font-weight: 700; color: var(--nia-text); margin: 46px 0 14px; padding-top: 8px; scroll-margin-top: 90px; }
.nw-content h2::before { content: ""; display: block; width: 44px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--nia-amber), transparent); margin-bottom: 12px; }
.nw-content h3 { font-size: 17px; font-weight: 700; color: var(--nia-text); margin: 28px 0 8px; scroll-margin-top: 90px; }
.nw-content p { margin: 0 0 14px; }
.nw-content ul, .nw-content ol { margin: 0 0 16px; padding-left: 22px; }
.nw-content li { margin: 4px 0; }
.nw-content li::marker { color: var(--nia-amber); }
.nw-content a { color: var(--nia-amber-bright); text-decoration: none; border-bottom: 1px solid rgba(246,198,103,.35); }
.nw-content a:hover { border-bottom-color: var(--nia-amber-bright); }
.nw-content strong, .nw-content b { color: var(--nia-text); }
.nw-content .nh-table-wrap { margin: 14px 0 22px; }
.nw-content .nh-table td { font-size: 14px; }
.nw-content .nh-table td.nw-num, .nw-content .nh-table th.nw-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nw-content .nh-table td.nw-center, .nw-content .nh-table th.nw-center { text-align: center; }
.nw-content .nh-table .nw-muted { color: var(--nia-text-dim); }
.nw-content .nh-table .nw-gold { color: var(--nia-amber-bright); font-weight: 600; }

.nw-callout { display: flex; gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--nw-line); background: var(--nw-panel); margin: 18px 0 22px; font-size: 14.5px; line-height: 1.6; }
.nw-callout svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.nw-callout > div > b { display: block; margin-bottom: 2px; }
.nw-callout p b { color: var(--nia-text); }
.nw-callout p { margin: 0; }
.nw-callout--tip { border-color: rgba(0,179,65,.4); background: rgba(0,179,65,.07); } .nw-callout--tip svg { color: #2fd66a; }
.nw-callout--info { border-color: rgba(232,163,61,.4); background: rgba(232,163,61,.07); } .nw-callout--info svg { color: var(--nia-amber-bright); }
.nw-callout--warn { border-color: rgba(225,0,50,.45); background: rgba(225,0,50,.08); } .nw-callout--warn svg { color: #ff4d6d; }

.nw-kbd { display: inline-block; padding: 1px 8px; border-radius: 6px; border: 1px solid var(--nw-line); background: var(--nw-deep); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; color: var(--nia-amber-bright); white-space: nowrap; }

.nw-rar { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px 2px 8px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; border: 1px solid; white-space: nowrap; }
.nw-rar::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.nw-rar--0 { color: #c9c3d9; border-color: rgba(201,195,217,.35); }
.nw-rar--1 { color: #2fd66a; border-color: rgba(0,179,65,.55); }
.nw-rar--2 { color: #c85cff; border-color: rgba(174,0,255,.55); }
.nw-rar--3 { color: #ff4d6d; border-color: rgba(225,0,50,.55); }
.nw-rar--4 { color: #e8c65a; border-color: rgba(212,175,55,.6); }
.nw-color-0 { color: #c9c3d9; } .nw-color-1 { color: #2fd66a; } .nw-color-2 { color: #c85cff; } .nw-color-3 { color: #ff4d6d; } .nw-color-4 { color: #e8c65a; }

.nw-item { display: inline-flex; align-items: center; gap: 8px; vertical-align: middle; white-space: nowrap; }
.nw-item-ico { width: 34px; height: 34px; border-radius: 9px; background: var(--nw-deep); border: 1px solid var(--nw-line); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nw-item-ico img { width: 28px; height: 28px; }
.nw-item-ico--lg { width: 48px; height: 48px; border-radius: 12px; } .nw-item-ico--lg img { width: 40px; height: 40px; }
.nw-item--1 .nw-item-ico { border-color: var(--nw-rare); box-shadow: 0 0 10px rgba(0,179,65,.35); }
.nw-item--2 .nw-item-ico { border-color: var(--nw-epique); box-shadow: 0 0 10px rgba(174,0,255,.35); }
.nw-item--3 .nw-item-ico { border-color: var(--nw-legendaire); box-shadow: 0 0 10px rgba(225,0,50,.35); }
.nw-item--4 .nw-item-ico { border-color: var(--nw-divin); box-shadow: 0 0 12px rgba(212,175,55,.45); }
.nw-item-name { font-size: 14px; }
.nw-item-sub { display: block; font-size: 12px; color: var(--nia-text-dim); }
.nw-item-text { display: flex; flex-direction: column; line-height: 1.25; }

.nw-tiers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 18px 0 24px; }
.nw-tier { position: relative; padding: 18px 16px 16px; border-radius: 14px; background: var(--nw-deep); border: 2px solid #3a3352; text-align: center; overflow: hidden; }
.nw-tier b { display: block; font-family: var(--nia-font-display); font-size: 17px; margin-bottom: 4px; }
.nw-tier span { display: block; font-size: 12.5px; color: var(--nia-text-dim); }
.nw-tier strong { display: block; font-size: 24px; margin: 8px 0 2px; color: var(--nia-text); }
.nw-tier--0 { border-color: #3a3352; } .nw-tier--0 b { color: #c9c3d9; }
.nw-tier--1 { border-color: var(--nw-rare); box-shadow: 0 0 22px rgba(0,179,65,.25); } .nw-tier--1 b { color: #2fd66a; }
.nw-tier--2 { border-color: var(--nw-epique); box-shadow: 0 0 22px rgba(174,0,255,.25); } .nw-tier--2 b { color: #c85cff; }
.nw-tier--3 { border-color: var(--nw-legendaire); box-shadow: 0 0 22px rgba(225,0,50,.25); } .nw-tier--3 b { color: #ff4d6d; }
.nw-tier--4 { border-color: var(--nw-divin); box-shadow: 0 0 26px rgba(212,175,55,.35); } .nw-tier--4 b { color: #e8c65a; }

.nw-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 16px 0 22px; }
.nw-stat { padding: 14px 16px; border-radius: 12px; background: var(--nw-deep); border: 1px solid var(--nw-line); }
.nw-stat b { display: block; font-size: 22px; font-weight: 700; color: var(--nia-amber-bright); font-variant-numeric: tabular-nums; }
.nw-stat span { font-size: 12.5px; color: var(--nia-text-dim); }

.nw-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 16px 0 24px; }
.nw-step { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 14px; background: var(--nw-deep); border: 1px solid var(--nw-line); }
.nw-step-num { font-family: var(--nia-font-display); font-size: 24px; color: var(--nia-amber-bright); font-weight: 700; }
.nw-step b { font-size: 15px; color: var(--nia-text); }
.nw-step span { color: var(--nia-text-dim); font-size: 13.5px; line-height: 1.55; }

.nw-lots { display: flex; flex-direction: column; gap: 12px; margin: 16px 0 24px; }
.nw-lot { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 16px 18px; border-radius: 14px; background: var(--nw-panel); border: 1px solid var(--nw-line); border-left-width: 4px; }
.nw-lot--1 { border-left-color: var(--nw-rare); } .nw-lot--2 { border-left-color: var(--nw-epique); } .nw-lot--3 { border-left-color: var(--nw-legendaire); } .nw-lot--4 { border-left-color: var(--nw-divin); } .nw-lot--0 { border-left-color: #c9c3d9; }
.nw-lot-head b { font-family: var(--nia-font-display); font-size: 17px; }
.nw-lot-head span { display: block; font-size: 12.5px; color: var(--nia-text-dim); margin-top: 2px; }
.nw-lot-items { display: flex; flex-wrap: wrap; gap: 8px 18px; }

.nw-set { margin: 18px 0 26px; border-radius: 16px; border: 1px solid var(--nw-line); background: var(--nw-panel); overflow: hidden; }
.nw-set-head { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: rgba(255,255,255,.025); border-bottom: 1px solid var(--nw-line); flex-wrap: wrap; }
.nw-set-head b { font-family: var(--nia-font-display); font-size: 17px; }
.nw-set-head .nw-pill { margin-left: auto; }
.nw-set-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0; }
.nw-set-pieces { display: flex; flex-direction: column; gap: 8px; padding: 14px 18px; border-right: 1px solid var(--nw-line); }
.nw-set-bonus { padding: 14px 18px; font-size: 13.5px; }
.nw-set-bonus b { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--nia-text-dim); margin-bottom: 6px; }
.nw-set-bonus ul { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 0 0 12px; padding: 0; list-style: none; }
.nw-set-bonus li { margin: 0; padding: 3px 9px; border-radius: 999px; background: var(--nw-deep); border: 1px solid var(--nw-line); font-size: 12.5px; color: #d9d3ea; white-space: nowrap; }
.nw-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; border: 1px solid var(--nw-line); color: #b8b0d0; background: rgba(255,255,255,.02); white-space: nowrap; }
.nw-pill--gold { color: var(--nia-amber-bright); border-color: rgba(232,163,61,.45); }
.nw-pill--mult { color: var(--nia-text); border-color: rgba(232,163,61,.35); }

.nw-cmd { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 0; border-bottom: 1px solid rgba(50,42,77,.6); padding: 10px 0; align-items: start; }
.nw-cmd:last-child { border-bottom: 0; }
.nw-cmd .nw-kbd { font-size: 13.5px; }
.nw-cmd div { font-size: 14px; }
.nw-cmd small { display: block; color: var(--nia-text-dim); font-size: 12.5px; margin-top: 2px; }
.nw-cmds { border: 1px solid var(--nw-line); border-radius: 14px; background: var(--nw-panel); padding: 6px 18px; margin: 14px 0 22px; }

.nw-classes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 16px 0 24px; }
.nw-class { display: flex; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--nw-panel); border: 1px solid var(--nw-line); }
.nw-class img { width: 44px; height: 44px; border-radius: 10px; background: var(--nw-deep); border: 1px solid var(--nw-line); flex-shrink: 0; }
.nw-class b { display: block; font-size: 15px; }
.nw-class i { display: block; font-style: normal; color: var(--nia-amber-bright); font-size: 12.5px; margin: 1px 0 4px; }
.nw-class p { margin: 0; font-size: 13.5px; color: #cfc8e2; line-height: 1.55; }

.nw-chal { display: grid; grid-template-columns: 34px minmax(0, 1fr) 90px; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(50,42,77,.6); }
.nw-chal:last-child { border-bottom: 0; }
.nw-chal-ico { width: 34px; height: 34px; border-radius: 9px; background: var(--nw-deep); border: 1px solid var(--nw-line); display: flex; align-items: center; justify-content: center; }
.nw-chal-ico img { width: 26px; height: 26px; }
.nw-chal b { display: block; font-size: 14.5px; }
.nw-chal span { display: block; font-size: 13px; color: #b8b0d0; line-height: 1.45; }
.nw-chal .nw-bonus { text-align: right; font-size: 13px; color: var(--nia-amber-bright); font-weight: 600; white-space: nowrap; }
.nw-chal .nw-bonus small { display: block; color: var(--nia-text-dim); font-weight: 400; font-size: 11.5px; }

.nw-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--nw-line); }
.nw-foot a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--nw-line); background: var(--nw-panel); color: var(--nia-text); text-decoration: none; }
.nw-foot a:hover { border-color: rgba(232,163,61,.5); }
.nw-foot a span { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--nia-text-dim); }
.nw-foot a b { font-family: var(--nia-font-display); font-size: 15px; }
.nw-foot a.nw-foot--next { text-align: right; align-items: flex-end; }
.nw-help { margin-top: 22px; font-size: 13px; color: var(--nia-text-dim); text-align: center; }
.nw-help a { color: var(--nia-amber-bright); text-decoration: none; }

.nw-imgrow { display: flex; flex-wrap: wrap; gap: 14px; margin: 14px 0 22px; }
.nw-figure { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 18px; border-radius: 14px; background: var(--nw-deep); border: 1px solid var(--nw-line); min-width: 120px; }
.nw-figure img { width: 64px; height: 64px; }
.nw-figure span { font-size: 12.5px; color: var(--nia-text-dim); text-align: center; }

@media (max-width: 1100px) {
  .nw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nw-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 28px; }
  .nw-body { grid-template-columns: minmax(0, 1fr); }
  .nw-body .nw-toc { display: none; }
  .nw-tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nw-set-body { grid-template-columns: minmax(0, 1fr); }
  .nw-set-pieces { border-right: 0; border-bottom: 1px solid var(--nw-line); }
}
@media (max-width: 760px) {
  .nw-hero { padding: 40px 0 28px; }
  .nw-grid { grid-template-columns: minmax(0, 1fr); }
  .nw-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 20px; }
  .nw-side { position: static; max-height: none; overflow: visible; }
  .nw-side details summary { list-style: none; cursor: pointer; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--nw-line); background: var(--nw-panel); font-weight: 600; font-size: 14px; display: flex; justify-content: space-between; align-items: center; }
  .nw-side details summary::after { content: "+"; color: var(--nia-amber-bright); font-size: 18px; }
  .nw-side details[open] summary::after { content: "–"; }
  .nw-side details > div { display: flex; flex-direction: column; gap: 16px; padding: 14px 4px 4px; }
  .nw-head { flex-direction: column; gap: 14px; }
  .nw-head h1 { font-size: 30px; }
  .nw-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nw-lot { grid-template-columns: minmax(0, 1fr); }
  .nw-classes { grid-template-columns: minmax(0, 1fr); }
  .nw-cmd { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .nw-chal { grid-template-columns: 34px minmax(0, 1fr); }
  .nw-chal .nw-bonus { grid-column: 2; text-align: left; }
  .nw-foot { grid-template-columns: minmax(0, 1fr); }
  .nw-foot a.nw-foot--next { text-align: left; align-items: flex-start; }
}
@media (min-width: 761px) { .nw-side details > summary { display: none; } .nw-side details > div { display: flex; flex-direction: column; gap: 22px; } }
