:root {
  color-scheme: dark;
  --bg: #0b0b0b;
  --bg-1: #141414;
  --bg-2: #1c1c1c;
  --line: #1c1c1c;
  --line-2: #2f2f2f;
  --fg: #a0a0a0;
  --fg-1: #d7d7d7;
  --fg-2: #6f6f6f;
  --fg-3: #5a5a5a;
  --cursor: #00ff00;
  --cursor-soft: rgb(0 255 0 / 0.14);
  --link: #d7d7d7;
  --link-line: #5a5a5a;
  --newlink: #b56a66;
  --yes: rgb(80 220 110 / 0.12);
  --no: rgb(235 90 90 / 0.12);
  --field: rgb(90 90 90 / 0.1);
  --measure: 42rem;
  --toc-w: 12.5rem;
  --rail-w: 17rem;
  --bar-h: 3.5rem;
}
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #f6f6f5;
    --bg-1: #ffffff;
    --bg-2: #ebebe9;
    --line: #e2e2df;
    --line-2: #c9c9c4;
    --fg: #444444;
    --fg-1: #111111;
    --fg-2: #737373;
    --fg-3: #9a9a9a;
    --cursor: #0a8f22;
    --cursor-soft: rgb(10 143 34 / 0.14);
    --link: #111111;
    --link-line: #a8a8a4;
    --newlink: #9a2f2a;
    --field: rgb(0 0 0 / 0.04);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-padding-top: calc(var(--bar-h) + 1rem);
  scrollbar-gutter: stable;
  scrollbar-color: var(--bg-2) var(--bg);
}
html:focus-within {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--fg);
  min-height: 100dvh;
  font-family: "Instrument Sans", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 400;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
::selection {
  background: var(--cursor-soft);
  color: var(--fg-1);
}
:focus-visible {
  outline: 2px solid var(--cursor);
  outline-offset: 3px;
}
a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-color: var(--link-line);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
  text-decoration-skip-ink: auto;
}
a:hover {
  color: #fff;
  text-decoration-color: currentColor;
}
a.new {
  color: var(--newlink);
  text-decoration-style: dotted;
}
kbd {
  font: inherit;
  font-size: 0.72em;
  padding: 0.05em 0.35em;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  color: var(--fg-2);
}
svg {
  display: block;
}
@media (prefers-color-scheme: light) {
  a:hover {
    color: #000;
  }
}

.bar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--bar-h);
  display: grid;
  grid-template-columns: 1fr minmax(0, 32rem) 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0 clamp(1rem, 3vw, 2rem);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: 1192px;
  margin: 0px auto;
}
body:has(> .page) .bar {
  max-width: calc(var(--toc-w) + var(--measure) + var(--rail-w) + 7rem);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--fg-2);
  text-decoration: none;
  font-size: 0.9rem;
}
.brand svg {
  width: 22px;
  height: 22px;
  flex: none;
}
.brand span {
  white-space: nowrap;
  display: none;
}
@media (hover: hover) {
  .brand:hover {
    color: var(--fg-1);
  }
}
.qopen {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  height: 2.4rem;
  padding: 0 0.6rem 0 0.85rem;
  background: var(--field);
  color: var(--fg-2);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    color 0.15s ease;
}
.qopen svg {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.qopen span {
  flex: 1;
  text-align: left;
}
.qopen:hover {
  color: var(--fg-1);
  border-color: var(--fg-3);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.5rem;
  font-size: 15px;
  color: var(--fg-2);
}
.crumbs a {
  color: var(--fg-2);
  text-decoration: none;
}
@media (hover: hover) {
  .crumbs a:hover {
    color: var(--fg-1);
  }
}
.crumbs .sep {
  color: var(--fg-3);
}
.page {
  display: grid;
  grid-template-columns: minmax(0, var(--measure));
  justify-content: center;
  gap: 0 3.5rem;
  max-width: calc(var(--toc-w) + var(--measure) + var(--rail-w) + 7rem);
  margin: 0 auto;
  padding: 1.2rem clamp(1rem, 3vw, 2rem) 6rem;
}
.page.has-toc {
  grid-template-columns: var(--toc-w) minmax(0, var(--measure));
}
.page.has-rail {
  grid-template-columns: minmax(0, var(--measure)) var(--rail-w);
}
.page.has-toc.has-rail {
  grid-template-columns: var(--toc-w) minmax(0, var(--measure)) var(--rail-w);
}
.body {
  min-width: 0;
}

.toc {
  position: sticky;
  top: calc(var(--bar-h) + 1.6rem);
  align-self: start;
  max-height: calc(100dvh - var(--bar-h) - 3rem);
  overflow: hidden auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
  padding-right: 0.5rem;
}
.toc ol {
  list-style: none;
}
.toc a {
  display: block;
  overflow-wrap: anywhere;
  padding: 0.26rem 0 0.26rem 0.85rem;
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--fg-2);
  text-decoration: none;
  border-left: 2px solid var(--line);
  text-wrap: pretty;
}
.toc .l3 a {
  padding-left: 1.7rem;
  font-size: 0.79rem;
  color: var(--fg-3);
}
@media (hover: hover) {
  .toc a:hover {
    color: var(--fg-1);
  }
}
.toc a.on {
  color: var(--cursor);
  border-left-color: var(--cursor);
}

.head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
}
.head h1 {
  min-width: 0;
  overflow-wrap: break-word;
}
.head h1.long {
  font-size: 1.9rem;
}
h1 {
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--fg-1);
  text-wrap: balance;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 1.1rem;
}
.badges {
  display: contents;
}
.src {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: var(--fg-2);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.src::after {
  content: "";
  width: 0.8em;
  height: 0.8em;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 11l6-6M6 5h5v5'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (hover: hover) {
  .src:hover {
    color: var(--fg-1);
  }
}
.skip {
  position: fixed;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 60;
  padding: 0.55rem 0.9rem;
  border-radius: 6px;
  background: var(--fg-1);
  color: var(--bg);
  text-decoration: none;
  font-size: 0.9rem;
  translate: 0 -200%;
}
.skip:focus-visible {
  translate: 0 0;
  outline-color: var(--cursor);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--fg-2);
  white-space: nowrap;
}
.badge img {
  width: 16px;
  height: 16px;
  outline: 0;
  cursor: default;
}
.lede {
  font-size: 1.1rem;
  color: var(--fg-2);
}

.mw-parser-output {
  text-wrap: pretty;
  --minl: 0.72;
  --maxl: 1;
}
@media (prefers-color-scheme: light) {
  .mw-parser-output {
    --minl: 0;
    --maxl: 0.6;
  }
}
.mw-parser-output [style*="--link"]:not(.msgbox) {
  --minl: 0;
  --maxl: 1;
}
.mw-parser-output [style*="--link"]:not(.msgbox) :is(strong, b, code, tt, samp, th),
.mw-parser-output span[style*="color"] > :is(strong, b) {
  color: inherit;
}
.mw-parser-output > :first-child {
  margin-top: 0;
}
h2,
h3,
h4 {
  font-weight: 400;
  color: var(--fg-1);
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
h2 {
  font-size: 1.5rem;
  margin: 3rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}
h3 {
  font-size: 1.15rem;
  margin: 2rem 0 0.6rem;
}
h4 {
  font-size: 1rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--fg);
}
h5,
h6 {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--fg-1);
  margin: 1.3rem 0 0.4rem;
}
.anchor {
  color: var(--fg-3);
  text-decoration: none;
  font-size: 0.75em;
  opacity: 0;
  transition: opacity 0.15s ease;
}
h2:hover .anchor,
h3:hover .anchor,
h4:hover .anchor,
.anchor:focus-visible {
  opacity: 1;
}
.anchor:hover {
  color: var(--cursor);
}
p {
  margin: 0 0 1rem;
}
ul,
ol {
  margin: 0 0 1rem 1.4rem;
}
li {
  margin-bottom: 0.3rem;
}
li::marker {
  color: var(--fg-3);
}
hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 2rem 0;
}
blockquote > :last-child,
blockquote > :last-child > :last-child {
  margin-bottom: 0;
}
blockquote {
  margin: 0 0 1rem;
  padding: 0.1rem 0 0.1rem 1rem;
  border-left: 2px solid var(--line-2);
  color: var(--fg-2);
}
strong,
b {
  font-weight: 600;
  color: var(--fg-1);
}
em,
i {
  font-style: italic;
}
sup,
sub {
  font-size: 0.72em;
  line-height: 0;
}
.footnote-ref {
  text-decoration: none;
  padding: 0 0.1em;
  color: var(--cursor);
  font-variant-numeric: tabular-nums;
}
code,
pre,
tt,
samp {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.86em;
}
code,
tt,
samp {
  color: var(--fg-1);
}
pre {
  padding: 0.9rem 0 0.9rem 1rem;
  border-left: 2px solid var(--line-2);
  overflow-x: auto;
  margin: 0 0 1.1rem;
  line-height: 1.5;
  tab-size: 4;
  color: var(--fg-1);
}
pre code,
pre tt {
  font-size: inherit;
}

font[color="blue" i],
font[color="#0000ff" i],
[style*="color: blue"],
[style*="color:blue"],
[style*="color: #0000ff" i],
[style*="color:#0000ff" i] {
  color: #6ea8ff !important;
}
font[color="red" i],
font[color="#ff0000" i],
[style*="color: red"],
[style*="color:red"],
[style*="color: #ff0000" i],
[style*="color:#ff0000" i] {
  color: #ff6b6b !important;
}
font[color="green" i],
[style*="color: green"],
[style*="color:green"] {
  color: #5fd77a !important;
}
font[color="purple" i],
[style*="color: purple"],
[style*="color:purple"] {
  color: #c48bff !important;
}
font[color="darkblue" i],
font[color="navy" i],
font[color="darkred" i],
font[color="maroon" i],
font[color="darkgreen" i] {
  color: var(--fg-1) !important;
}
@media (prefers-color-scheme: light) {
  font[color="blue" i],
  [style*="color: blue"],
  [style*="color:blue"] {
    color: #1a4fd1 !important;
  }
  font[color="red" i],
  font[color="#ff0000" i],
  [style*="color: red"],
  [style*="color:red"] {
    color: #c62828 !important;
  }
  font[color="green" i],
  [style*="color: green"],
  [style*="color:green"] {
    color: #1e7d3a !important;
  }
  font[color="purple" i],
  [style*="color: purple"],
  [style*="color:purple"] {
    color: #7a3fbf !important;
  }
}
img {
  max-width: 100%;
  height: auto;
}
.mw-parser-output img {
  image-rendering: pixelated;
  cursor: zoom-in;
  vertical-align: middle;
}
.infobox img {
  image-rendering: pixelated;
}
.mw-parser-output img[src$=".jpg"],
.mw-parser-output img[src$=".jpeg"],
.mw-parser-output img.photo,
.mw-parser-output img.shrunk,
.infobox img.photo,
.infobox img.shrunk {
  image-rendering: auto;
}
.mw-parser-output img.missing {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--no);
  outline: 1px solid var(--newlink);
  cursor: default;
}
.mw-parser-output > img {
  margin: 0.25rem 1rem 1rem 0;
}
figure {
  margin: 1.2rem 1.6rem 1.2rem 0;
  display: inline-block;
  max-width: 100%;
  vertical-align: top;
}
figure img {
  display: block;
}
figcaption {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--fg-2);
  text-wrap: pretty;
  max-width: 28rem;
}
p > figure:only-child {
  display: block;
  width: fit-content;
}
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.4rem;
  align-items: flex-start;
  margin: 0 0 1.4rem;
}
.gallery figure,
.gallery > p {
  margin: 0;
}
.gallery figure {
  display: flex;
  flex-direction: column;
  min-width: 6rem;
}
.gallery figure img {
  align-self: flex-start;
}
.gallery figcaption {
  width: 0;
  min-width: 100%;
  max-width: none;
}
.yt {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
  max-width: 20rem;
  aspect-ratio: 16 / 9;
  margin: 0.4rem 0 1rem;
  padding: 0.6rem 0.75rem;
  background: #000 var(--thumb) center / cover no-repeat;
  outline: 1px solid rgb(255 255 255 / 0.08);
  outline-offset: -1px;
  color: #fff;
  font-size: 0.82rem;
  text-decoration: none;
  isolation: isolate;
}
.yt::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgb(0 0 0 / 0.7), transparent 55%);
}
.yt::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3rem;
  height: 3rem;
  translate: -50% -50%;
  border-radius: 50%;
  background: rgb(0 0 0 / 0.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.5 2v8l6.5-4z' fill='%23fff'/%3E%3C/svg%3E") 55% 50% / 40% no-repeat;
  transition: background-color 0.15s ease;
}
@media (hover: hover) {
  .yt:hover::after {
    background-color: rgb(255 0 0 / 0.85);
  }
}
.yt:focus-visible {
  outline: 2px solid var(--cursor);
  outline-offset: 2px;
}
p > .yt:first-child {
  margin-top: 0;
}
.mw-parser-output dl {
  margin: 0 0 1rem;
}
.mw-parser-output dt {
  color: var(--fg-1);
  font-weight: 600;
}
.mw-parser-output dt:empty {
  display: none;
}
.mw-parser-output dd {
  margin: 0 0 0.3rem 1.4rem;
}
video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto 4 / 3;
  max-width: 30rem;
  margin: 0.8rem 0;
  background: #000;
}
audio {
  display: block;
  width: 100%;
  max-width: 30rem;
  height: 2.3rem;
  margin: 0.35rem 0;
}
.au audio {
  display: none;
}
.au {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  max-width: 30rem;
  margin: 0.35rem 0;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.84rem;
  line-height: 1.3;
}
p > .au {
  margin-top: 0.6rem;
}
.au + .au {
  margin-top: 0;
}
td .au {
  max-width: none;
  min-width: 14rem;
  margin: 0;
  border: 0;
}
.aup {
  flex: none;
  position: relative;
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: none;
  color: var(--fg-1);
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    color 0.15s ease,
    scale 0.16s ease-out;
}
.aup:active {
  scale: 0.94;
}
.aup::after {
  content: "";
  position: absolute;
  inset: -0.4rem;
}
.aup svg {
  width: 10px;
  height: 10px;
  fill: currentColor;
  overflow: visible;
}
.aup path {
  transform-box: fill-box;
  transform-origin: center;
  transition:
    opacity 0.15s ease-out,
    scale 0.15s ease-out;
}
.aup .i-play {
  translate: 0.75px 0;
}
.aup .i-pause,
.au.on .aup .i-play {
  opacity: 0;
  scale: 0.25;
}
.au.on .aup .i-pause {
  opacity: 1;
  scale: 1;
}
@media (hover: hover) {
  .aup:hover {
    border-color: var(--fg-2);
  }
}
.au.on .aup {
  color: var(--cursor);
  border-color: var(--cursor);
}
.aup:disabled {
  color: var(--fg-3);
  border-color: var(--line);
  cursor: default;
  scale: 1;
}
.aun {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--fg);
  font-size: 0.8rem;
}
.au.err .aun {
  color: var(--fg-3);
}
.aub {
  flex: 0 0 5.5rem;
  position: relative;
  height: 2px;
  background: var(--line-2);
  cursor: pointer;
  touch-action: none;
}
.aub::before {
  content: "";
  position: absolute;
  inset: -0.6rem 0;
}
.aub i {
  position: absolute;
  inset: 0;
  background: var(--cursor);
  transform: scaleX(0);
  transform-origin: left;
}
.aub:focus-visible {
  outline-offset: 0.5rem;
}
.au.err .aub {
  cursor: default;
}
.aut {
  flex: none;
  min-width: 2.6rem;
  text-align: right;
  color: var(--fg-3);
  font-variant-numeric: tabular-nums;
  font-size: 0.76rem;
}
@media (max-width: 600px) {
  td .au {
    min-width: 9rem;
    flex-wrap: wrap;
    gap: 0.25rem 0.6rem;
  }
  td .au .aub {
    flex: 1 1 2.5rem;
  }
  td .aun {
    order: 1;
    flex-basis: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
@media (pointer: coarse) {
  .aup::after {
    inset: -0.55rem;
  }
  .aub::before {
    inset: -1rem 0;
  }
}
.fold {
  border-bottom: 1px solid var(--line);
}
.fold summary {
  cursor: pointer;
  padding: 0.45rem 0;
  color: var(--fg-2);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.fold summary::-webkit-details-marker {
  display: none;
}
.fold summary::before {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  rotate: -45deg;
  transition: rotate 0.15s ease;
}
.fold[open] summary::before {
  rotate: 45deg;
}
@media (hover: hover) {
  .fold summary:hover {
    color: var(--fg-1);
  }
}
.fold > :not(summary) {
  padding-bottom: 0.8rem;
}
[data-missing] {
  display: none;
}

table {
  border-collapse: collapse;
  margin: 0 0 1.4rem;
  font-size: 0.9rem;
  display: block;
  overflow-x: auto;
  max-width: 100%;
}
td,
th {
  padding: 0.5rem 0.9rem 0.5rem 0;
  text-align: start;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
th {
  color: var(--fg-1);
  font-weight: 400;
  border-bottom-color: var(--line-2);
}
td > p:last-child,
th > p:last-child {
  margin-bottom: 0;
}
td figure,
th figure {
  margin: 0.2rem 0.8rem 0.2rem 0;
}
td.table-yes,
th.table-yes {
  background: var(--yes) !important;
  color: var(--fg-1) !important;
  padding-left: 0.5rem;
}
td.table-no,
th.table-no {
  background: var(--no) !important;
  color: var(--fg-1) !important;
  padding-left: 0.5rem;
}

table.msgbox {
  display: table;
  width: 100%;
  margin: 0 0 1.4rem;
  font-size: 0.92rem;
  background: none !important;
  color: var(--fg) !important;
  --link: var(--fg-1) !important;
  --dim: var(--fg-2) !important;
  border-style: solid;
  border-width: 0 0 0 2px;
  border-color: var(--line-2);
}
table.msgbox td,
table.msgbox th {
  border: 0;
  padding: 0.3rem 1rem 0.3rem 1.1rem;
  vertical-align: top;
}
table.msgbox .msgboximg {
  width: 1%;
  padding-right: 0;
  padding-top: 0.45rem;
}
table.msgbox figure {
  margin: 0;
}
table.msgbox figcaption {
  display: none;
}
table.msgbox img {
  cursor: default;
  width: 32px;
  height: auto;
}
table.msgbox p {
  margin: 0 0 0.3rem;
}
table.msgbox ul,
table.msgbox ol {
  margin-bottom: 0.3rem;
}

.mw-collapsible.is-collapsed > tbody > tr:not(:first-child),
.mw-collapsible.is-collapsed > tr:not(:first-child),
.mw-collapsible.is-collapsed > :not(:first-child, .mw-collapsible-head, tbody, thead) {
  display: none;
}
.mw-collapsible .coll-toggle {
  float: right;
  margin-left: 0.75rem;
  font: inherit;
  font-size: 0.78rem;
  color: var(--fg-2);
  background: none;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  padding: 0.1rem 0.5rem;
  cursor: pointer;
}
.mw-collapsible .coll-toggle:hover {
  color: var(--fg-1);
  border-color: var(--fg-3);
}
table.navbox {
  display: table;
  width: 100%;
  margin: 2.5rem 0 0;
  font-size: 0.86rem;
  border-top: 1px solid var(--line-2);
}
table.navbox .navboxhead {
  text-align: start;
  padding: 0.7rem 0;
  color: var(--fg-1);
}
table.navbox .navbar {
  display: none;
}
table.navbox .navboxhead div {
  float: none !important;
  width: auto !important;
  text-align: start !important;
}
table.navbox .navboxhead p {
  display: inline;
  margin: 0;
}
table.navbox td,
table.navbox th {
  border-bottom: 1px solid var(--line);
  padding: 0.45rem 0.9rem 0.45rem 0;
}
table.navbox tr:last-child > td,
table.navbox tr:last-child > th {
  border-bottom: 0;
}
table.navbox td p,
table.navbox th p {
  margin: 0;
}
table.navbox td a,
table.navbox th a {
  text-decoration: none;
}
table.navbox td a:hover,
table.navbox th a:hover {
  text-decoration: underline;
}

section.footnotes {
  margin-top: 3rem;
  font-size: 0.88rem;
  color: var(--fg-2);
}
section.footnotes hr {
  display: none;
}
section.footnotes ol {
  margin-left: 1.5rem;
}
section.footnotes li {
  margin-bottom: 0.45rem;
  padding-left: 0.2rem;
}
section.footnotes li:empty {
  display: none;
}
section.footnotes li::marker {
  color: var(--fg-3);
  font-variant-numeric: tabular-nums;
}
section.footnotes li:target {
  color: var(--fg-1);
}
section.footnotes li:target::marker {
  color: var(--cursor);
}
.footnote-back {
  margin-left: 0.4rem;
  text-decoration: none;
  color: var(--fg-3);
}
.footnote-back:hover {
  color: var(--cursor);
}

.cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.2rem;
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
}
.cats::before {
  content: "categories";
  color: var(--fg-3);
}
.cats a {
  color: var(--fg-2);
  text-decoration: none;
}
@media (hover: hover) {
  .cats a:hover {
    color: var(--fg-1);
    text-decoration: underline;
  }
}
.foot {
  margin-top: 3.5rem;
  padding-top: 1rem;
  font-size: 0.82rem;
  color: var(--fg-3);
  border-top: 1px solid var(--line);
}
.foot a {
  color: var(--fg-2);
}

.sps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 0 2.5rem;
  margin: 0 0 1.6rem;
}
.sp {
  display: grid;
  grid-template-columns: 2rem 1fr;
  column-gap: 0.9rem;
  align-items: center;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  color: var(--fg-1);
  text-decoration: none;
}
.sp:hover {
  color: #fff;
}
.sp img {
  grid-row: 1 / span 2;
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  image-rendering: pixelated;
  cursor: inherit;
}
.sp:not(:has(.d)) img {
  grid-row: auto;
}
.sp .t {
  line-height: 1.3;
}
.sp .d {
  color: var(--fg-2);
  font-size: 0.84rem;
  line-height: 1.35;
}

.rail {
  position: sticky;
  top: calc(var(--bar-h) + 1.6rem);
  align-self: start;
  max-height: calc(100dvh - var(--bar-h) - 3rem);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-size: 0.84rem;
  line-height: 1.5;
}
.infobox {
  flex: none;
}
.infobox {
  overflow-wrap: anywhere;
}
.infobox table {
  display: table;
  table-layout: fixed;
  width: 100%;
  margin: 0;
  font-size: inherit;
}
.infobox td,
.infobox th {
  display: block;
  border: 0;
  padding: 0 0 0.9rem;
  text-align: start;
}
.infobox tr:last-child > td {
  padding-bottom: 0;
}
.infobox code,
.infobox tt {
  font: inherit;
  color: inherit;
}
.infobox p {
  margin: 0 0 0.35rem;
}
.infobox p:last-child {
  margin-bottom: 0;
}
.infobox strong {
  font-weight: 400;
  color: var(--fg-1);
}
.infobox img {
  max-width: 100%;
}
.infobox figure {
  display: block;
  margin: 0;
}
.infobox figcaption {
  margin-top: 0.4rem;
}
.infobox hr {
  margin: 0.9rem 0;
}
.infobox sup {
  color: var(--fg-3);
}
.infobox tr.even > td {
  color: var(--fg-1);
  font-size: 1rem;
  padding-bottom: 1rem;
}
.infobox tr.even em {
  font-style: italic;
}
.infobox .kv {
  margin: 0;
  display: grid;
  gap: 0.55rem;
}
.infobox .kv dt {
  color: var(--fg-2);
  font-size: 0.76rem;
}
.infobox .kv dd {
  margin: 0;
  color: var(--fg-1);
}
.infobox .kv sup {
  font-size: 0.65em;
}
.infobox .feats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.infobox .feats li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  line-height: 1.3;
}
.infobox .feats img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  image-rendering: pixelated;
  cursor: default;
}
.infobox .feats a {
  color: var(--fg);
  text-decoration: none;
}
.infobox .feats a:hover {
  color: var(--fg-1);
  text-decoration: underline;
}
.infobox .links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.infobox .links li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  line-height: 1.3;
}
.infobox .links img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  image-rendering: pixelated;
  cursor: default;
}
.infobox .links a {
  color: var(--fg-1);
  text-decoration: none;
}
.infobox .links a::after {
  content: " \2192";
  color: var(--fg-3);
}
.infobox .links a:hover {
  text-decoration: underline;
}
.infobox td[style*="text-align: center"] {
  text-align: start !important;
}
.infobox td[style*="text-align: center"] img {
  width: 100%;
}
.infobox [style*="nowrap"] {
  white-space: normal !important;
}
.subpages .root {
  display: block;
  padding: 0.3rem 0 0.3rem 0.85rem;
  border-left: 2px solid var(--line);
  color: var(--fg-1);
  text-decoration: none;
}
.subpages .root.here {
  border-left-color: var(--cursor);
}
.subpages ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.subpages li {
  margin: 0;
}
.subpages li a {
  display: block;
  padding: 0.26rem 0 0.26rem 0.85rem;
  border-left: 2px solid var(--line);
  color: var(--fg-2);
  text-decoration: none;
}
@media (hover: hover) {
  .subpages li a:hover {
    color: var(--fg-1);
  }
}
.subpages li[aria-current] > a {
  color: var(--cursor);
  border-left-color: var(--cursor);
}
.subpages small {
  margin-left: 0.3rem;
  font-size: 0.85em;
  color: var(--fg-3);
  font-variant-numeric: tabular-nums;
}
.subpages .langs {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.15rem;
  padding: 0 0 0.3rem 0.6rem;
  border-left: 2px solid var(--cursor);
}
.subpages .langs a {
  display: inline-block;
  border: 0;
  padding: 0.1rem 0.25rem;
  font-size: 0.85em;
  color: var(--fg-2);
  text-decoration: none;
  transition: color 0.15s ease;
}
@media (hover: hover) {
  .subpages .langs a:hover {
    color: var(--fg-1);
  }
}

.peek {
  position: fixed;
  z-index: 50;
  width: 20rem;
  display: grid;
  gap: 0.3rem;
  padding: 0.8rem 0.9rem;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  color: var(--fg);
  text-decoration: none;
  font-size: 0.84rem;
  line-height: 1.45;
  max-width: calc(100vw - 16px);
}
.peek[hidden] {
  display: none;
}
.peek:hover {
  color: var(--fg);
}
.peek img {
  display: block;
  max-height: 9rem;
  width: auto;
  max-width: 100%;
  margin-bottom: 0.25rem;
}
.peek img.px {
  max-height: none;
  image-rendering: pixelated;
}
.peek .pt {
  color: var(--fg-1);
  font-size: 0.95rem;
  line-height: 1.3;
}
.peek .pd {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--fg-2);
}

.qwrap {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: start center;
  padding: min(12vh, 7rem) 1rem 1rem;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.qwrap[hidden] {
  display: none;
}
.qpanel {
  width: min(40rem, 100%);
  background: #181818ba;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  overflow: hidden;
  animation: qin 0.18s cubic-bezier(0.2, 0, 0, 1);
  backdrop-filter: blur(3px);
}
@keyframes qin {
  from {
    opacity: 0;
    translate: 0 -3px;
    transform: scale(.95);
  }
}
.qform {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0 1rem;
  height: 3.4rem;
}
.qform svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--fg-2);
  stroke-width: 2;
  stroke-linecap: round;
}
.qform input {
  flex: 1;
  min-width: 0;
  height: 100%;
  background: none;
  border: 0;
  outline: none;
  color: var(--fg-1);
  font: inherit;
  font-size: 1.1rem;
  caret-color: var(--cursor);
}
.qform input::placeholder {
  color: var(--fg-2);
}
.qform input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
#qres {
  max-height: min(60vh, 32rem);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;

  border-radius: 9px;
  margin: 2px;
  background-color: var(--bg);
}
#qres:empty {
  display: none;
}
.hit {
  display: block;
  padding: 0.65rem 1rem 0.65rem calc(1rem - 2px);
  text-decoration: none;
  color: var(--fg);
  border-left: 2px solid transparent;
}
.hit + .hit {
  border-top: 1px solid var(--line);
}
.hit[aria-selected="true"],
.hit:hover {
  background: var(--field);
}
.hit[aria-selected="true"] {
  border-left-color: var(--cursor);
}
.hit .t {
  display: block;
  color: var(--fg-1);
  font-size: 0.95rem;
  line-height: 1.35;
  text-wrap: balance;
}
.hit .pp {
  color: var(--fg-2);
}
.hit .t small {
  color: var(--fg-3);
  font-size: 0.8em;
  margin-left: 0.35rem;
}
.hit .s {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8rem;
  color: var(--fg-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hit mark {
  background: none;
  color: var(--cursor);
}
.qempty {
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--fg-2);
  text-align: center;
  margin: 1em 0px;
}

.lb {
  --lb-ease: cubic-bezier(0.32, 0.72, 0, 1);
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overscroll-behavior: contain;
  color: #a0a0a0;
}
.lb[hidden] {
  display: none;
}
.lb::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(0 0 0 / 0.92);
  opacity: var(--dim, 1);
  pointer-events: none;
}
.lb::before,
.lbbar,
.lbnav {
  animation: lbin 0.2s ease-out;
}
.lb.out::before,
.lb.out .lbbar,
.lb.out .lbnav {
  opacity: 0;
  transition: opacity 0.18s ease-out;
}
@keyframes lbin {
  from {
    opacity: 0;
  }
}
.lb figure {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: none;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: zoom-out;
}
.lb figure img {
  position: absolute;
  left: 0;
  top: 0;
  max-width: none;
  transform-origin: 0 0;
  image-rendering: auto;
  cursor: zoom-in;
  -webkit-user-drag: none;
  will-change: transform;
}
.lb figure img.px {
  image-rendering: pixelated;
}
.lb figure[data-state="zoomed"] img {
  cursor: zoom-out;
}
.lb figure[data-state="pan"] img {
  cursor: grab;
}
.lb figure.grabbing,
.lb figure.grabbing img {
  cursor: grabbing;
}
.lb figure.glide img {
  transition:
    width 0.24s var(--lb-ease),
    height 0.24s var(--lb-ease),
    translate 0.24s var(--lb-ease);
}
.lbnav {
  position: absolute;
  top: calc(50% - 2.75rem);
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid #2f2f2f;
  border-radius: 6px;
  background: rgb(11 11 11 / 0.72);
  color: #d7d7d7;
  cursor: pointer;
  transition:
    color 0.12s ease,
    border-color 0.12s ease,
    scale 0.16s ease-out;
}
.lbnav[data-lb="prev"] {
  left: 0.75rem;
}
.lbnav[data-lb="next"] {
  right: 0.75rem;
}
.lbnav[hidden] {
  display: none;
}
.lbnav svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lbnav:active {
  scale: 0.96;
}
.lbbar {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem max(0.5rem, env(safe-area-inset-bottom));
  background: #0b0b0b;
  border-top: 1px solid #1c1c1c;
  font-size: 0.82rem;
}
.lbn {
  flex: none;
  color: #6f6f6f;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.lbcap {
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
  margin: 0 0.75rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #d7d7d7;
}
.lbn:empty + .lbcap {
  margin-left: 0;
}
.lbz {
  flex: none;
  margin-right: 0.5rem;
  color: #6f6f6f;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.lbbar button,
.lbbar a {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.3rem 0.6rem;
  border: 1px solid transparent;
  border-radius: 4px;
  background: none;
  color: #a0a0a0;
  font: inherit;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color 0.12s ease,
    border-color 0.12s ease,
    scale 0.16s ease-out;
}
.lbbar button:active,
.lbbar a:active {
  scale: 0.97;
}
@media (hover: hover) {
  .lbbar button:hover,
  .lbbar a:hover,
  .lbnav:hover {
    color: #fff;
    border-color: #2f2f2f;
  }
  .lbnav:hover {
    border-color: #5a5a5a;
  }
}
.lbbar button[aria-pressed="true"] {
  color: #00ff00;
  border-color: #2f2f2f;
}
.lbbar button[data-lb="close"] {
  margin-left: 0.25rem;
  padding: 0.2rem 0.6rem;
  font-size: 1.1rem;
  line-height: 1;
}
.lb :focus-visible {
  outline: 2px solid #00ff00;
  outline-offset: 1px;
}
@media (max-width: 640px) {
  .lbbar {
    flex-wrap: wrap;
    row-gap: 0.15rem;
    padding-inline: 0.5rem;
  }
  .lbn {
    order: -2;
    margin-right: 0.6rem;
  }
  .lbcap {
    order: -1;
    flex: 1 1 calc(100% - 6rem);
    margin: 0;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .lbz,
  .lbnav {
    display: none;
  }
  .lbbar button[data-lb="close"] {
    margin-left: auto;
  }
}
@media (pointer: coarse) {
  .lbbar button,
  .lbbar a {
    min-width: 2.5rem;
    min-height: 2.75rem;
    padding-inline: 0.5rem;
  }
}

body.home .hero {
  width: 726px;
  max-width: 100%;
  margin: 0 auto;
  padding: 70px 24px 80px;
}
.hero .logo {
  display: block;
  width: 66px;
  height: 66px;
  margin: 0 auto 45px;
}
.hsearch {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 58px;
  padding: 0 15px;
  background: var(--field);
  border: 1px solid var(--fg-3);
  border-radius: 8px;
  transition: border-color 0.15s ease;
}
.hsearch:focus-within {
  border-color: #7d7d7d;
}
.hsearch svg {
  flex: 0 0 24px;
  height: 24px;
  fill: none;
  stroke: var(--fg);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hsearch input {
  flex: 1;
  min-width: 0;
  height: 100%;
  background: none;
  border: 0;
  outline: none;
  color: var(--fg-1);
  font: inherit;
  font-size: 21.27px;
  line-height: 26px;
  caret-color: var(--cursor);
  margin-left: -8px;
}
.hsearch input::placeholder {
  color: var(--fg);
}
.hsearch input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
#homeres {
  margin-top: 8px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  overflow: hidden;
}
#homeres:empty {
  display: none;
}
.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.hero .actions a,
.hero .actions .mcp {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 40px;
  padding: 0 12px 0 10px;
  background: none;
  border: 1px solid var(--line-2);
  border-radius: 4.5px;
  color: var(--fg);
  font: inherit;
  font-size: 16.2px;
  line-height: 140%;
  text-decoration: none;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    color 0.15s ease,
    scale 200ms ease-out;
}
.hero .actions a:active,
.hero .actions .mcp:active {
  scale: 0.97;
}
@media (hover: hover) {
  .hero .actions a:hover,
  .hero .actions .mcp:hover {
    border-color: #4a4a4a;
    color: var(--fg-1);
  }
}
.hero .actions svg {
  width: 21.6px;
  height: 21.6px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero .actions .logo-mcp {
  width: 19px;
  height: 19px;
  fill: currentColor;
  stroke: none;
}
.hero .actions .mcp {
  padding-right: 0;
}
.mcp .mcp-copy {
  display: grid;
  place-items: center;
  width: 34px;
  height: 100%;
  margin-left: -4px;
  color: var(--fg-2);
  transition: color 0.15s ease;
}
.mcp .mcp-copy svg {
  grid-area: 1 / 1;
  width: 17px;
  height: 17px;
  transition:
    opacity 200ms ease-out,
    scale 200ms ease-out,
    filter 200ms ease-out;
}
.mcp .i-check,
.mcp.copied .i-copy {
  opacity: 0;
  scale: 0.25;
  filter: blur(4px);
}
.mcp.copied .i-check {
  opacity: 1;
  scale: 1;
  filter: blur(0);
}
.mcp.copied .mcp-copy {
  color: var(--cursor);
}
@media (hover: hover) {
  .mcp:hover .mcp-copy {
    color: var(--fg-1);
  }
  .mcp.copied:hover .mcp-copy {
    color: var(--cursor);
  }
}
@media (prefers-reduced-motion: reduce) {
  .mcp .mcp-copy svg {
    transition: opacity 120ms linear;
  }
  .mcp .i-check,
  .mcp.copied .i-copy {
    scale: 1;
    filter: none;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.hero h2 {
  display: block;
  font-size: 21.27px;
  line-height: 26px;
  margin: 50px 0 12px;
  padding: 0;
  border: 0;
  color: var(--fg-1);
  letter-spacing: 0;
}
.hero p {
  font-size: 18px;
  line-height: 140%;
  margin-bottom: 14px;
}
.hero .aside {
  color: var(--fg-2);
}
.hero .foot {
  margin-top: 64px;
  padding-top: 20px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--fg-2);
}
.hero .foot a {
  color: var(--fg-2);
}

.hero.dl .back {
  display: inline-block;
  margin-bottom: 2.5rem;
  font-size: 15px;
  color: var(--fg-2);
  text-decoration: none;
}
.hero.dl .back:hover {
  color: var(--fg-1);
}
.hero.dl h1 {
  font-size: 2.2rem;
  margin-bottom: 14px;
}
.hero.dl code {
  font-size: 0.9em;
  color: var(--fg-1);
}
.download-stack {
  margin: 28px 0 18px;
  overflow: hidden;
  border: 1px solid var(--fg-1);
  border-radius: 8px;
}
.dlbig {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 64px;
  color: var(--fg-1);
  font-size: 21px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.dlbig svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dlbig small {
  font-size: 15px;
  color: var(--fg-2);
  margin-left: 6px;
}
.dlbig:hover {
  background: var(--field);
}
.magnet-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 10px;
  border-top: 1px solid var(--line-2);
  background: var(--field);
}
.magnet-input {
  min-width: 0;
  padding: 6px 8px;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  color: var(--fg-2);
}
.magnet-row .copy {
  grid-area: auto;
}
.torrent-file {
  align-self: center;
  padding: 5px 10px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  color: var(--fg);
  font-size: 13px;
  line-height: normal;
  text-decoration: none;
  white-space: nowrap;
  transition:
    border-color 0.15s ease,
    color 0.15s ease;
}
.torrent-file:hover {
  color: var(--fg-1);
  border-color: var(--fg-3);
}
.files {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
}
.files li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  grid-template-areas: "n s c" "d s c";
  column-gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.files a {
  grid-area: n;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 15px;
  text-decoration: none;
  color: var(--fg-1);
}
.files a:hover {
  text-decoration: underline;
}
.files .d {
  grid-area: d;
  font-size: 14px;
  color: var(--fg-2);
}
.files .s {
  grid-area: s;
  font-size: 14px;
  color: var(--fg-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.copy {
  grid-area: c;
  font: inherit;
  font-size: 13px;
  padding: 5px 10px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: none;
  color: var(--fg);
  cursor: pointer;
  white-space: nowrap;
  transition:
    border-color 0.15s ease,
    color 0.15s ease;
}
.copy:hover {
  color: var(--fg-1);
  border-color: var(--fg-3);
}
.copy.ok {
  color: var(--cursor);
  border-color: var(--cursor);
}
pre.cmd {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  margin: 0 0 18px;
  border: 1px solid var(--line-2);
  border-left-width: 1px;
  border-radius: 6px;
  font-size: 14px;
  overflow-x: auto;
}
pre.cmd code {
  flex: 1;
  min-width: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.hero.dl h2 {
  margin-top: 40px;
}
pre.cmd code {
  line-height: 1.6;
}
@media (max-width: 600px) {
  .magnet-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .magnet-input {
    grid-column: 1 / -1;
  }
  .files li {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "n c" "d c" "s c";
  }
  .hero.dl h1 {
    font-size: 1.8rem;
  }
}

.members {
  margin-top: 2rem;
}
.page:not(.has-toc, .has-rail):has(.members) {
  grid-template-columns: minmax(0, 64rem);
}
.page:has(.members) .head,
.page:has(.members) .mw-parser-output {
  max-width: var(--measure);
}
.page:has(.members) .cols {
  columns: 3 15rem;
}
.members h2 small {
  font-size: 0.75em;
  color: var(--fg-3);
  font-variant-numeric: tabular-nums;
}
.cols {
  columns: 2;
  column-gap: 2rem;
  list-style: none;
  margin: 0.6rem 0 0;
}
.cols li {
  break-inside: avoid;
  margin: 0;
  padding: 0.22rem 0 0.22rem 1rem;
  text-indent: -1rem;
}
.cols a {
  text-decoration: none;
  color: var(--fg);
}
@media (hover: hover) {
  .cols a:hover {
    color: var(--fg-1);
    text-decoration: underline;
  }
}
.cols li small {
  color: var(--fg-3);
  font-size: 0.78em;
  margin-left: 0.3rem;
  font-variant-numeric: tabular-nums;
}

.tocd {
  margin: 0 0 1.8rem;
  border-block: 1px solid var(--line);
  interpolate-size: allow-keywords;
}
.tocd summary {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  cursor: pointer;
  list-style: none;
  color: var(--fg-1);
  font-size: 0.92rem;
}
.tocd summary::-webkit-details-marker {
  display: none;
}
.tocd summary small {
  flex: 1;
  font-size: 0.8rem;
  color: var(--fg-3);
  font-variant-numeric: tabular-nums;
}
.tocd summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin: 0 0.3rem 0.2rem 0;
  border-right: 1.5px solid var(--fg-2);
  border-bottom: 1.5px solid var(--fg-2);
  rotate: 45deg;
  transition: rotate 0.2s cubic-bezier(0.2, 0, 0, 1);
}
.tocd[open] summary::after {
  rotate: -135deg;
  margin-bottom: -0.2rem;
}
.tocd .toc {
  position: static;
  max-height: none;
  overflow: visible;
  padding: 0 0 0.6rem;
}
.tocd .toc ol {
  columns: 2 14rem;
  column-gap: 2rem;
  margin: 0;
}
.tocd .toc li {
  break-inside: avoid;
}
.tocd .toc a {
  border: 0;
  border-top: 1px solid var(--line);
  padding: 0.55rem 0;
  font-size: 0.9rem;
  color: var(--fg);
}
.tocd .toc .l3 a {
  padding-left: 1rem;
  font-size: 0.84rem;
  color: var(--fg-2);
}
@media (hover: hover) {
  .tocd summary:hover,
  .tocd .toc a:hover {
    color: var(--fg-1);
  }
  .tocd summary:hover::after {
    border-color: var(--fg-1);
  }
}
.tocd .toc a.on {
  color: var(--cursor);
}
@media (prefers-reduced-motion: no-preference) {
  .tocd::details-content,
  .fold::details-content {
    block-size: 0;
    overflow: clip;
    transition:
      block-size 0.28s cubic-bezier(0.2, 0, 0, 1),
      content-visibility 0.28s allow-discrete;
  }
  .tocd[open]::details-content,
  .fold[open]::details-content {
    block-size: auto;
  }
  .tocd.snap::details-content {
    transition: none;
  }
}

@media (max-width: 1240px) {
  .page.has-toc.has-rail,
  .page.has-rail {
    --rail-w: 15rem;
    grid-template-columns: minmax(0, var(--measure)) var(--rail-w);
    gap: 0 2.5rem;
  }
  .page.has-rail > .toc {
    display: none;
  }
}
@media (max-width: 900px), (pointer: coarse) {
  .page.has-toc,
  .page.has-toc.has-rail,
  .page.has-rail {
    grid-template-columns: minmax(0, 1fr);
  }
  .page > .toc {
    display: none;
  }
  .rail {
    position: static;
    max-height: none;
    overflow: visible;
    font-size: 0.9rem;
    gap: 1.2rem;
  }
  .body > .rail,
  .mw-parser-output > .rail {
    max-width: 34rem;
    margin: 1.6rem 0 2.2rem;
  }
  .page > .rail {
    grid-column: 1;
  }
  .infobox .kv {
    grid-template-columns: minmax(6.5rem, min(34%, 9rem)) minmax(0, 1fr);
    gap: 0.5rem 1rem;
    align-items: baseline;
  }
  .infobox .kv dt {
    grid-column: 1;
    font-size: 0.8rem;
  }
  .infobox .kv dd {
    grid-column: 2;
  }
  .infobox td[style*="text-align: center"] img {
    width: auto;
    max-width: 100%;
    max-height: 13rem;
  }
  .qopen kbd {
    display: none;
  }
  .brand span {
    display: none;
  }
  .bar {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.8rem;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.8rem;
  }
  .head h1.long {
    font-size: 1.5rem;
  }
  .aub {
    flex-basis: 3.5rem;
  }
  .lbbar {
    flex-wrap: wrap;
  }
  .cols {
    columns: 1;
  }
  body.home .hero {
    padding: 48px 20px 60px;
  }
  .hsearch {
    height: 52px;
    gap: 12px;
  }
  .hsearch input {
    font-size: 17px;
  }
  .hero h2 {
    font-size: 19px;
    margin-top: 40px;
  }
  .hero p {
    font-size: 16px;
  }
}
@media (hover: none) {
  .qopen kbd,
  .qform kbd,
  .hsearch kbd {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  html:focus-within {
    scroll-behavior: auto;
  }
}
.cmpslider {
  width: min(100%, var(--w));
  margin: 1.4rem auto;
}
.cs-stage {
  --x: 50%;
  position: relative;
  aspect-ratio: var(--ar);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: ew-resize;
}
.cs-a,
.cs-b {
  position: absolute;
  inset: 0;
}
.cs-a {
  clip-path: inset(0 calc(100% - var(--x)) 0 0);
}
.mw-parser-output .cs-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 0 0;
  cursor: ew-resize;
  pointer-events: none;
  -webkit-user-drag: none;
}
.cs-stage::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 50%;
  left: var(--x);
  width: 1.5rem;
  height: 1.5rem;
  translate: -50% -50%;
  border: 1px solid var(--fg-1);
  border-radius: 50%;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  pointer-events: none;
  transition: scale 0.16s ease-out;
}
.cs-stage.drag::before {
  scale: 0.9;
}
.cs-stage::after {
  z-index: 1;
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--x);
  width: 1px;
  translate: -0.5px 0;
  background: var(--fg-1);
  pointer-events: none;
}
.cs-stage input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.cs-stage:has(input:focus-visible) {
  outline: 2px solid var(--cursor);
  outline-offset: 3px;
}
.cmpslider figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--fg-2);
}
.cmpslider figcaption * {
  color: inherit;
}
.mw-parser-output {
  overflow-wrap: break-word;
}
.mw-parser-output a,
.mw-parser-output :not(pre) > code,
table.msgbox td {
  overflow-wrap: anywhere;
}
.mw-parser-output div[style*="width"] {
  max-width: 100%;
}
h2 > span,
h3 > span,
h4 > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
:root {
  --acc-expand: 250ms;
  --acc-collapse: 250ms;
  --acc-chevron: 250ms;
  --acc-ease: cubic-bezier(0.22, 1, 0.36, 1);
}
.faq {
  border-top: 1px solid var(--line);
}
.t-acc {
  border-bottom: 1px solid var(--line);
}
.t-acc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 14px 0;
  background: none;
  border: 0;
  color: var(--fg-1);
  font: inherit;
  font-size: 18px;
  line-height: 140%;
  text-align: start;
  cursor: pointer;
  transition: color 0.15s ease;
}
.t-acc-head:focus-visible {
  outline: 2px solid var(--cursor);
  outline-offset: 2px;
  border-radius: 2px;
}
@media (hover: hover) {
  .t-acc-head:hover .t-acc-chevron {
    color: var(--fg-1);
  }
}
.t-acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--acc-collapse) var(--acc-ease);
}
.t-acc[data-open="true"] .t-acc-panel {
  grid-template-rows: 1fr;
  transition: grid-template-rows var(--acc-expand) var(--acc-ease);
}
.t-acc-panel-inner {
  overflow: hidden;
  opacity: 0;
  filter: blur(2px);
  transition:
    opacity var(--acc-collapse) var(--acc-ease),
    filter var(--acc-collapse) var(--acc-ease);
}
.t-acc[data-open="true"] .t-acc-panel-inner {
  opacity: 1;
  filter: blur(0);
  transition:
    opacity var(--acc-expand) var(--acc-ease),
    filter var(--acc-expand) var(--acc-ease);
}
.hero .t-acc-panel-inner p {
  margin: 0;
  padding-bottom: 16px;
  font-size: 16px;
  color: var(--fg);
}
.t-acc-chevron {
  display: inline-flex;
  flex: none;
  color: var(--fg-2);
  transform: scaleY(1);
  transform-origin: center;
  transition:
    transform var(--acc-chevron) var(--acc-ease),
    color 0.15s ease;
}
.t-acc-chevron svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.t-acc-chevron path {
  vector-effect: non-scaling-stroke;
}
.t-acc[data-open="true"] .t-acc-chevron {
  transform: scaleY(-1);
}
@media (max-width: 600px) {
  .t-acc-head {
    font-size: 16px;
  }
  .hero .t-acc-panel-inner p {
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .t-acc-panel,
  .t-acc-panel-inner,
  .t-acc-chevron {
    transition: none !important;
  }
}
.hero .api {
  display: grid;
  gap: 4px;
  margin: 18px 0 22px;
}
.hero .api dt {
  margin-top: 10px;
  font-size: 15px;
}
.hero .api dt:first-child {
  margin-top: 0;
}
.hero .api dt a {
  text-decoration: none;
}
.hero .api dt code {
  color: var(--fg-1);
  overflow-wrap: anywhere;
}
@media (hover: hover) {
  .hero .api dt a:hover code {
    text-decoration: underline;
    text-decoration-color: var(--link-line);
    text-underline-offset: 3px;
  }
}
.hero .api dd {
  margin: 0;
  font-size: 15px;
  line-height: 140%;
  color: var(--fg-2);
}
.hero .api dd code,
.hero p code {
  font-size: 0.9em;
}

.ytp {
  margin: 0 0 1.6rem;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-1);
  outline: 1px solid rgb(255 255 255 / 0.08);
  outline-offset: -1px;
}
.ytp-a,
.ytp iframe {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.ytp-a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}
.ytp-play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 68px;
  height: 48px;
  translate: -50% -50%;
  border-radius: 12px;
  background: rgb(10 10 10 / 0.72);
  transition:
    background-color 150ms ease,
    scale 200ms ease-out;
}
.ytp-play::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 54%;
  translate: -50% -50%;
  border-style: solid;
  border-width: 10px 0 10px 17px;
  border-color: transparent transparent transparent #fff;
}
.ytp-a:active .ytp-play {
  scale: 0.96;
}
@media (hover: hover) {
  .ytp-a:hover .ytp-play {
    background: #e62117;
  }
}
@media (prefers-color-scheme: light) {
  .ytp {
    outline-color: rgb(0 0 0 / 0.08);
  }
}
.hatnote {
  margin: 0 0 1rem;
  padding-left: 0.9rem;
  border-left: 2px solid var(--line-2);
  color: var(--fg-2);
  font-style: italic;
}
.infobox .ib-title {
  font-size: 1.1em;
  color: var(--fg-1);
  text-align: left;
}
.infobox .ib-h {
  padding-top: 0.9rem;
  color: var(--fg-2);
  font-weight: 500;
  text-align: left;
}
.suggest {
  margin: 1.6rem 0 2rem;
}
.suggest h2 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--fg-1);
  margin: 0 0 0.6rem;
  border: 0;
  padding: 0;
}
.suggest ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}
@media print {
  :root {
    color-scheme: light;
    --bg: #fff;
    --bg-1: #fff;
    --bg-2: #eee;
    --line: #ddd;
    --line-2: #bbb;
    --fg: #222;
    --fg-1: #000;
    --fg-2: #555;
    --fg-3: #777;
    --cursor: #000;
    --link: #000;
    --link-line: #999;
  }
  body {
    background: #fff;
    font-size: 11pt;
  }
  .bar,
  .skip,
  .toc,
  .tocd,
  .qwrap,
  .lb,
  .peek,
  .anchor,
  .subpages,
  .rail .fold:has(.subpages),
  .mw-collapsible .coll-toggle,
  table.navbox {
    display: none;
  }
  .page,
  .page.has-toc,
  .page.has-rail,
  .page.has-toc.has-rail {
    display: block;
    max-width: none;
    padding: 0;
  }
  .page:has(> .rail) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 14rem;
    gap: 0 2rem;
  }
  .rail {
    position: static;
    max-height: none;
    overflow: visible;
    grid-column: 2;
    grid-row: 1;
  }
  .body {
    grid-column: 1;
    grid-row: 1;
  }
  .mw-parser-output > .rail {
    float: right;
    width: 13rem;
    margin: 0 0 1rem 1.5rem;
  }
  .head {
    display: block;
  }
  .meta {
    justify-content: flex-start;
    margin-top: 0.5rem;
  }
  .src {
    white-space: normal;
  }
  .fold summary {
    display: none;
  }
  .fold::details-content {
    content-visibility: visible;
    block-size: auto;
  }
  .src::after {
    content: " (" attr(href) ")";
    width: auto;
    height: auto;
    background: none;
    mask: none;
  }
  a {
    color: inherit;
  }
  h2,
  h3,
  h4 {
    break-after: avoid;
  }
  img,
  figure,
  tr {
    break-inside: avoid;
  }
  .infobox tr {
    break-inside: auto;
  }
  .infobox .kv {
    grid-template-columns: none;
    gap: 0.4rem;
  }
  .infobox .kv dt,
  .infobox .kv dd {
    grid-column: auto;
  }
  .mw-collapsible.is-collapsed > :not(.mw-collapsible-head, tbody, thead) {
    display: revert;
  }
}
