.wiki-page .nav { background: rgba(5, 3, 3, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-soft); }

.w-hero { position: relative; z-index: 5; padding: 130px 0 48px; border-bottom: 1px solid var(--line); isolation: isolate; }

.w-hero .haze { z-index: -1; opacity: .75; inset: 0; }
.w-hero__row { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; }
.w-hero__title { font-size: clamp(110px, 20vw, 300px); margin: 12px 0 0; }
.w-hero__meta { color: var(--ink-3); text-align: right; display: grid; gap: 6px; padding-bottom: 14px; }
.w-hero__meta b { color: var(--ink); font-weight: 500; }

.w-search { margin-top: 36px; display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, .55); padding: 0 16px; max-width: 640px; transition: border-color .25s, box-shadow .25s; }
.w-search:focus-within { border-color: var(--red); box-shadow: 0 0 0 1px var(--red) inset, 0 0 30px rgba(255, 42, 20, .18); }
.w-search svg { width: 16px; height: 16px; color: var(--ink-3); flex: none; }
.w-search input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--ink); font: 14px var(--f-mono); padding: 16px 0; }
.w-search input::placeholder { color: var(--ink-3); }
.w-search kbd { font: 11px var(--f-mono); color: var(--ink-3); border: 1px solid var(--line-soft); padding: 2px 6px; }

.w-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); padding-top: 56px; padding-bottom: 120px; }

.w-toc { position: sticky; top: 90px; align-self: start; max-height: calc(100vh - 110px); overflow: auto; scrollbar-width: thin; scrollbar-color: var(--red-dim) transparent; padding-right: 8px; }
.w-toc h5 { margin: 0 0 14px; color: var(--ink-3); }
.w-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line-soft); }
.w-toc a { display: grid; grid-template-columns: 38px 1fr; gap: 6px; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 1px solid transparent; color: var(--ink-3); font-size: 13.5px; line-height: 1.35; transition: color .2s, border-color .2s; }
.w-toc a .n { font: 11px/1.6 var(--f-mono); color: var(--ink-3); }
.w-toc a.sub { padding-left: 28px; font-size: 13px; }
.w-toc a:hover { color: var(--ink); }
.w-toc a.is-active { color: var(--ink); border-left-color: var(--red); box-shadow: -1px 0 0 0 var(--red), -8px 0 18px -8px var(--glow); }
.w-toc a.is-active .n { color: var(--red); }
.w-toc__toggle { display: none; }

.w-body { max-width: 780px; min-width: 0; }
.w-sec { padding: 0 0 88px; margin-bottom: 88px; border-bottom: 1px solid var(--line-soft); scroll-margin-top: 90px; }
.w-sec:last-child { border-bottom: 0; }
.w-sec[hidden] { display: none; }

.w-head { margin-bottom: 36px; }
.w-num { color: var(--red); font-family: var(--f-mono); letter-spacing: .08em; }
.w-head h2 { font-size: clamp(56px, 7.5vw, 110px); margin: 10px 0 0; }
.w-lede { font-size: 19px; line-height: 1.55; color: var(--ink); margin: 22px 0 0; max-width: 640px; }

.w-sec h3 { font-family: var(--f-display); font-variation-settings: "wdth" 62; font-weight: 900; text-transform: uppercase; font-size: clamp(32px, 3.6vw, 46px); line-height: .95; margin: 56px 0 18px; scroll-margin-top: 90px; }
.w-sec h4 { font: 600 12px/1.4 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin: 32px 0 10px; }
.w-sec p, .w-sec li, .w-sec dd { color: var(--ink-2); font-size: 16.5px; line-height: 1.72; }
.w-sec p { margin: 0 0 18px; }
.w-sec strong { color: var(--ink); font-weight: 600; }
.w-sec em { color: var(--ink); }
.w-sec ul, .w-sec ol { margin: 0 0 22px; padding-left: 0; list-style: none; }
.w-sec ul > li, .w-sec ol > li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.w-sec ul > li::before { content: ""; position: absolute; left: 6px; top: .7em; width: 4px; height: 4px; border-radius: 50%; background: var(--red); box-shadow: 0 0 6px var(--red); }
.w-sec ol { counter-reset: n; }
.w-sec ol > li { counter-increment: n; }
.w-sec ol > li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: .3em; font: 11px var(--f-mono); color: var(--red); }
.w-sec li ul, .w-sec li ol { margin: 8px 0 0; }

.w-sec a:not(.btn) { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(255, 42, 20, .55); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.w-sec a:not(.btn):hover { color: var(--red); text-decoration-color: var(--red); }
.w-sec a[target="_blank"]:not(.btn)::after { content: "↗"; font-size: .75em; margin-left: 2px; color: var(--ink-3); }

code, .addr { font: 13px var(--f-mono); color: var(--ink); background: rgba(255, 42, 20, .07); border: 1px solid var(--line); padding: 1px 6px; word-break: break-all; }
code.addr { display: inline-block; padding: 4px 8px; margin: 2px 0; }

.w-table { overflow-x: auto; margin: 8px 0 28px; border: 1px solid var(--line); }
.w-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.w-table th { font: 600 11px/1.3 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); background: rgba(255, 42, 20, .04); white-space: nowrap; }
.w-table td { padding: 13px 16px; border-bottom: 1px solid var(--line-soft); color: var(--ink-2); vertical-align: top; line-height: 1.55; }
.w-table tr:last-child td { border-bottom: 0; }
.w-table td:first-child { color: var(--ink); font-weight: 500; }
.w-table tbody tr:hover td { background: rgba(255, 42, 20, .035); }

.infobox { float: right; width: 300px; margin: 4px 0 28px 36px; border: 1px solid var(--line); background: linear-gradient(to bottom, rgba(255, 42, 20, .06), transparent 60%); }
.infobox h4 { margin: 0 !important; padding: 14px 18px; border-bottom: 1px solid var(--line); color: var(--red) !important; }
.infobox dl { margin: 0; padding: 6px 18px 12px; }
.infobox dt { font: 600 10.5px/1.3 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-top: 12px; }
.infobox dd { margin: 3px 0 0; font-size: 14px !important; line-height: 1.5 !important; color: var(--ink) !important; }
.w-sec::after { content: ""; display: table; clear: both; }

.callout { border-left: 2px solid var(--red); background: rgba(255, 42, 20, .06); padding: 16px 20px; margin: 8px 0 26px; box-shadow: -6px 0 22px -12px var(--glow); }
.callout b { display: block; color: var(--red); margin-bottom: 6px; }
.callout p { margin: 0 0 8px; font-size: 15px; }
.callout p:last-child { margin: 0; }
.callout ul, .callout ol { margin: 6px 0 0; }
.callout li { font-size: 15px; margin-bottom: 4px; }

blockquote { margin: 28px 0; padding: 0; font-family: var(--f-display); font-variation-settings: "wdth" 62; font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 3.4vw, 44px); line-height: 1; color: var(--ink); }
blockquote cite { display: block; margin-top: 14px; font: 500 11px var(--f-ui); letter-spacing: .14em; color: var(--ink-3); font-style: normal; }

.w-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); margin: 8px 0 28px; clear: both; }
.w-card { background: var(--bg); padding: 20px 20px 18px; transition: background .25s; }
.w-card:hover { background: #0e0605; }
.w-card h4 { margin: 0 0 8px !important; color: var(--ink); }
.w-card p, .w-card li { font-size: 14.5px !important; margin-bottom: 6px; }
.w-card p:last-child { margin-bottom: 0; }

.w-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 28px; }
.w-btns .btn { font: 600 11px var(--f-ui); letter-spacing: .14em; text-transform: uppercase; }

.see-also { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 40px; padding-top: 22px; border-top: 1px dashed var(--line); clear: both; }
.see-also b { color: var(--ink-3); margin-right: 6px; }
.see-also a { font-size: 13px; color: var(--ink-2) !important; text-decoration: none !important; border: 1px solid var(--line-soft); padding: 6px 10px; transition: border-color .2s, color .2s; }
.see-also a:hover { border-color: var(--red); color: var(--ink) !important; }

mark { background: var(--red); color: #000; padding: 0 2px; }

.w-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 44px; height: 44px; border: 1px solid var(--line); background: rgba(5, 3, 3, .8); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .3s, border-color .2s; }
.w-top.is-on { opacity: 1; pointer-events: auto; }
.w-top:hover { border-color: var(--red); }
.w-top svg { width: 16px; height: 16px; }

.w-progress { position: fixed; left: 0; top: 0; height: 2px; background: var(--red); box-shadow: 0 0 10px var(--red); z-index: 60; width: 0; }

.w-find { position: relative; max-width: 640px; }
.w-find--big { margin-top: 36px; }
.w-find--big .w-search { margin-top: 0; }
.w-toc .w-find { margin-bottom: 26px; }
.w-toc .w-search { margin-top: 0; padding: 0 12px; }
.w-toc .w-search input { padding: 11px 0; font-size: 13px; }
.w-results {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 45;
  background: rgba(8, 4, 4, .97); border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .7), 0 0 40px rgba(255, 42, 20, .08);
  max-height: min(520px, 70vh); overflow: auto;
}
.w-toc .w-results { width: min(560px, 80vw); right: auto; }
.w-results__count { padding: 12px 16px 6px; color: var(--ink-3); }
.w-results__none { padding: 18px 16px; color: var(--ink-2); font-size: 14px; }
.w-results__none a { color: var(--red); }
.w-hit { display: block; padding: 12px 16px; border-top: 1px solid var(--line-soft); transition: background .15s; }
.w-hit:hover, .w-hit.is-sel { background: rgba(255, 42, 20, .08); }
.w-hit.is-sel { box-shadow: inset 2px 0 0 var(--red); }
.w-hit__where { display: block; color: var(--red); margin-bottom: 4px; }
.w-hit__snip { display: block; color: var(--ink-2); font-size: 13.5px; line-height: 1.5; }

.w-index { padding-top: 40px; padding-bottom: 120px; }
.w-chap {
  display: grid; grid-template-columns: 90px 1fr auto; gap: 20px; align-items: center;
  padding: 26px 0; border-bottom: 1px solid var(--line-soft);
  transition: padding .35s var(--ease), background .3s;
}
.w-chap__n { color: var(--ink-3); font-size: 13px; transition: color .25s; }
.w-chap__body { display: grid; gap: 8px; }
.w-chap__body b { font-size: clamp(34px, 4.4vw, 64px); color: var(--ink); transition: color .25s, text-shadow .25s; }
.w-chap__lede { color: var(--ink-3); font-size: 14px; max-width: 720px; }
.w-chap__go { font-size: 22px; color: var(--ink-3); transition: transform .35s var(--ease), color .25s; }
.w-chap:hover { padding-left: 12px; }
.w-chap:hover .w-chap__n, .w-chap:hover .w-chap__go { color: var(--red); }
.w-chap:hover b { color: var(--red); text-shadow: 0 0 22px var(--glow); }
.w-chap:hover .w-chap__go { transform: translateX(6px); }
.w-chap__kids { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0 24px 110px; border-bottom: 1px solid var(--line-soft); margin-top: -1px; }
.w-chap__kids a { font-size: 13px; color: var(--ink-2); border: 1px solid var(--line-soft); padding: 7px 11px; display: inline-flex; gap: 8px; transition: border-color .2s, color .2s; }
.w-chap__kids a span { color: var(--ink-3); font-size: 11px; }
.w-chap__kids a:hover { border-color: var(--red); color: var(--ink); }

.w-layout--page { padding-top: 120px; }
.w-toc h5 a:hover { color: var(--ink); }
.w-crumbs { display: flex; gap: 10px; color: var(--ink-3); margin-bottom: 18px; }
.w-crumbs a:hover { color: var(--red); }
.w-layout--page .w-sec { border-bottom: 0; margin-bottom: 0; padding-bottom: 40px; }

.w-pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); margin-top: 40px; }
.w-pager > * { background: var(--bg); padding: 22px 22px 24px; display: grid; gap: 10px; min-height: 110px; align-content: space-between; }
.w-pager a { transition: background .25s; }
.w-pager a:hover { background: #0e0605; }
.w-pager .label { color: var(--ink-3); }
.w-pager b { font-size: clamp(28px, 3vw, 40px); color: var(--ink); transition: color .25s; }
.w-pager a:hover b { color: var(--red); }
.w-pager__next { text-align: right; }

@media (max-width: 1100px) {
  .infobox { float: none; width: auto; margin: 0 0 28px; }}
@media (max-width: 900px) {
  .w-layout { grid-template-columns: minmax(0, 1fr); padding-top: 0; }
  .w-toc { position: sticky; top: 71px; z-index: 30; max-height: none; overflow: visible; background: rgba(5, 3, 3, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); border-bottom: 1px solid var(--line-soft); }
  .w-toc h5 { display: none; }
  .w-toc__toggle { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 14px 0; color: var(--ink); }
  .w-toc__toggle span:last-child { color: var(--red); }
  .w-toc ol, .w-toc .w-find { display: none; }
  .w-toc ol { max-height: 55vh; overflow: auto; padding-bottom: 12px; }
  .w-toc.is-open ol, .w-toc.is-open .w-find { display: block; }
  .w-toc .w-find { margin-bottom: 14px; }
  .w-toc .w-results { width: auto; right: 0; }
  .w-layout--page { padding-top: 71px; }
  .w-chap { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; }
  .w-chap__kids { padding-left: 56px; }
  .w-pager { grid-template-columns: minmax(0, 1fr); }
  .w-pager__next { text-align: left; }
  .w-body { padding-top: 40px; }
  .w-hero__row { grid-template-columns: minmax(0, 1fr); }
  .w-hero__meta { text-align: left; }}
.w-callout { margin: 8px 0 34px; padding: 18px 22px; border: 1px solid rgba(255, 60, 40, .3); border-left: 3px solid var(--red); background: rgba(255, 42, 20, .05); }
.w-callout p { margin: 0 0 8px; }
.w-callout ul { margin: 0; }

.w-chap__body { min-width: 0; }
.w-chap__body b { overflow-wrap: anywhere; }
@media (max-width: 420px) { .w-chap__body b { font-size: 30px; } .w-chap__kids { padding-left: 46px; }}