@font-face {
  font-family: Mona Sans;
  src: url("/mona-sans.a1fc9c6c.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 100% 110%;
  font-display: swap;
}

@font-face {
  font-family: JetBrains Mono;
  src: url("/jetbrains-mono.6a6dcfff.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --sans: "Mona Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ground: #faf6f1;
  --surface: #fffdfb;
  --surface-2: #efeae4;
  --rule: #e0d9d2;
  --ink: #1a1620;
  --ink-soft: #4f4b57;
  --ink-faint: #736f7c;
  --accent: #a32b9e;
  --on-accent: #fcfcfc;
  --mark: #cb234a;
  --spot-1: #f1d0b7;
  --spot-2: #ed997b;
  --spot-3: #dd4c62;
  --spot-4: #853397;
  --release: #ff9873;
  --t-ground: #14121c;
  --t-surface: #1a1723;
  --t-rule: #2f2b3b;
  --t-ink: #eeebe5;
  --t-dim: #8e8a97;
  --t-blue: #6db0f4;
  --t-green: #66da85;
  --t-magenta: #e57fdd;
  --t-yellow: #f4c352;
  --t-red: #ff645f;
  --syn-string: #007835;
  --syn-key: #8e35a1;
  --syn-number: #bb4717;
  --syn-keyword: #4158bd;
  --radius: 12px;
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
}

@supports (color: lab(0% 0 0)) {
  :root {
    --ground: lab(97.1139% .690103 2.95939);
    --surface: lab(99.4272% .340223 1.4766);
    --surface-2: lab(93.057% .869691 3.70377);
    --rule: lab(87.2458% 1.39114 4.33333);
    --ink: lab(8.11659% 3.74576 -6.3744);
    --ink-soft: lab(32.49% 3.59769 -6.45528);
    --ink-faint: lab(47.573% 3.56299 -6.47749);
    --accent: lab(41.213% 58.3362 -35.9156);
    --on-accent: lab(98.84% .0000298023 -.0000119209);
    --mark: lab(45.5664% 64.6972 23.014);
    --spot-1: lab(85.9601% 8.97381 17.0646);
    --spot-2: lab(71.3698% 30.1968 29.2886);
    --spot-3: lab(53.9245% 58.3107 20.0267);
    --spot-4: lab(36.9489% 46.7015 -39.1538);
    --release: lab(73.4432% 38.9311 38.3056);
    --t-ground: lab(6.00059% 2.84098 -6.31595);
    --t-surface: lab(8.68381% 3.64257 -7.32133);
    --t-rule: lab(18.4518% 4.95398 -9.98916);
    --t-ink: lab(93.0632% .45988 3.01539);
    --t-dim: lab(58.0144% 3.54725 -6.48801);
    --t-blue: lab(69.4439% -7.35071 -40.8943);
    --t-green: lab(78.8297% -48.1495 31.5686);
    --t-magenta: lab(67.3488% 49.6434 -30.8831);
    --t-yellow: lab(81.6622% 9.84526 61.7469);
    --t-red: lab(63.3139% 59.7937 35.1683);
    --syn-string: lab(43.7335% -42.6217 28.5221);
    --syn-key: lab(39.0977% 49.4956 -41.4426);
    --syn-number: lab(46.5056% 46.0797 50.7803);
    --syn-keyword: lab(40.1054% 17.0682 -56.8352);
  }
}

:root[data-theme="dark"] {
  --ground: #0a0811;
  --surface: #13101d;
  --surface-2: #1f1b2b;
  --rule: #272434;
  --ink: #f5f1ea;
  --ink-soft: #bcb8c6;
  --ink-faint: #837c90;
  --accent: #ff9873;
  --on-accent: #12101a;
  --mark: #f66e60;
  --spot-1: #3c2161;
  --spot-2: #953490;
  --spot-3: #f07456;
  --spot-4: #fad9a2;
  --syn-string: #83dc97;
  --syn-key: #e9a1e3;
  --syn-number: #ffc074;
  --syn-keyword: #a9afff;
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
}

@supports (color: lab(0% 0 0)) {
  :root[data-theme="dark"] {
    --ground: lab(2.36769% 1.61779 -3.68756);
    --surface: lab(5.47941% 3.49705 -7.70227);
    --surface-2: lab(10.8984% 5.11138 -9.92771);
    --rule: lab(14.9664% 5.01704 -9.96338);
    --ink: lab(95.3886% .58049 3.77289);
    --ink-soft: lab(75.416% 3.52901 -6.50058);
    --ink-faint: lab(53.254% 5.40757 -9.67612);
    --accent: lab(73.4432% 38.9311 38.3056);
    --on-accent: lab(5.09163% 2.56895 -5.87099);
    --mark: lab(63.591% 52.5925 34.6176);
    --spot-1: lab(19.3299% 25.031 -33.9446);
    --spot-2: lab(39.4041% 49.5807 -30.6111);
    --spot-3: lab(63.8481% 47.1989 40.2961);
    --spot-4: lab(88.5303% 6.39662 31.7898);
    --syn-string: lab(80.7905% -38.9231 25.3083);
    --syn-key: lab(75.0912% 35.1243 -21.9883);
    --syn-number: lab(82.4435% 17.7926 47.9422);
    --syn-keyword: lab(73.2575% 12.4954 -42.8499);
  }
}

*, :before, :after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

body {
  background: var(--ground);
  min-height: 100vh;
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
  flex-direction: column;
  margin: 0;
  display: flex;
}

body > main, body > .shell {
  flex: 1;
}

a {
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--sans);
  letter-spacing: -.03em;
  margin: 0;
  font-weight: 700;
  line-height: 1.1;
}

p {
  margin: 0;
}

code, kbd, pre {
  font-family: var(--mono);
  font-variant-ligatures: none;
}

kbd {
  border: 1px solid var(--rule);
  height: 20px;
  color: var(--ink-faint);
  border-radius: 5px;
  align-items: center;
  padding: 0 6px;
  font-size: 11px;
  display: inline-flex;
}

::selection {
  background: color-mix(in srgb, var(--accent) 30%, transparent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.wrap {
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
}

.eyebrow {
  font: 500 12px/1 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.btn {
  border-radius: var(--radius);
  background: var(--accent);
  height: 44px;
  color: var(--on-accent);
  font: 650 15px/1 var(--sans);
  border: 1px solid #0000;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  text-decoration: none;
  display: inline-flex;
}

.btn.ghost {
  color: var(--ink);
  border-color: var(--rule);
  background: none;
}

.btn:hover {
  filter: brightness(1.05);
}

.actions {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  display: flex;
}

.cmd {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  height: 44px;
  font: 500 14px/1 var(--mono);
  align-items: center;
  gap: 14px;
  padding: 0 8px 0 16px;
  display: inline-flex;
}

.cmd i {
  color: var(--ink-faint);
  font-style: normal;
}

.cp {
  width: 30px;
  height: 30px;
  color: var(--ink-faint);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 8px;
  place-items: center;
  padding: 0;
  display: grid;
}

.cp:hover {
  color: var(--ink);
  background: var(--surface-2);
}

.cp svg {
  grid-area: 1 / 1;
  width: 16px;
  height: 16px;
}

.cp .ok, .cp.done .dup {
  visibility: hidden;
}

.cp.done .ok {
  visibility: visible;
  color: var(--t-green);
}

.mark {
  color: var(--mark);
  flex: none;
}

.foot {
  border-top: 1px solid var(--rule);
  color: var(--ink-faint);
  padding: 32px 0 44px;
  font-size: 13px;
}

.foot .wrap {
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  display: flex;
}

.foot a {
  color: var(--ink-soft);
  text-decoration: none;
}

.foot a:hover {
  color: var(--ink);
}

.foot nav {
  gap: 18px;
  margin-left: auto;
  display: flex;
}

.lost {
  text-align: center;
  place-items: center;
  padding: 120px 0;
  display: grid;
}

.lost .wrap {
  justify-items: center;
  gap: 20px;
  display: grid;
}

.lost h1 {
  font-size: clamp(34px, 5vw, 52px);
}

.lost p {
  max-width: 30em;
  color: var(--ink-soft);
}

.lost .actions {
  justify-content: center;
  margin-top: 8px;
}

@media (width <= 760px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .foot nav {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, :before, :after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.top {
  z-index: 20;
  background: color-mix(in srgb, var(--ground) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
}

.top-in {
  align-items: center;
  gap: 28px;
  width: min(1240px, 100% - 48px);
  height: 60px;
  margin-inline: auto;
  display: flex;
}

.brand {
  font: 800 19px/1 var(--sans);
  letter-spacing: -.03em;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  display: inline-flex;
}

.brand .mark {
  width: 22px;
  height: auto;
}

.links {
  color: var(--ink-soft);
  gap: 22px;
  font-size: 14px;
  display: flex;
}

.links a {
  text-decoration: none;
}

.links a:hover, .links a[aria-current] {
  color: var(--ink);
}

.end {
  color: var(--ink-soft);
  align-items: center;
  gap: 10px;
  margin-left: auto;
  font-size: 13px;
  display: flex;
}

.search {
  border: 1px solid var(--rule);
  background: var(--surface);
  height: 34px;
  color: var(--ink-faint);
  font: 500 13px/1 var(--sans);
  cursor: pointer;
  border-radius: 9px;
  align-items: center;
  gap: 8px;
  margin-right: 6px;
  padding: 0 6px 0 11px;
  display: inline-flex;
}

.search:hover {
  color: var(--ink-soft);
}

.search svg {
  width: 15px;
  height: 15px;
}

.search span {
  text-align: left;
  min-width: 72px;
}

.ver {
  border: 1px solid var(--rule);
  font: 500 12px/1.4 var(--mono);
  border-radius: 999px;
  padding: 3px 9px;
  text-decoration: none;
}

.ver:hover {
  color: var(--ink);
}

.icon {
  width: 34px;
  height: 34px;
  color: var(--ink-soft);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 9px;
  place-items: center;
  padding: 0;
  display: grid;
}

.icon:hover {
  color: var(--ink);
  background: var(--surface-2);
}

.icon svg {
  width: 18px;
  height: 18px;
}

.icon .moon, :root[data-theme="dark"] .icon .sun {
  display: none;
}

:root[data-theme="dark"] .icon .moon {
  display: block;
}

@media (width <= 760px) {
  .top-in {
    gap: 18px;
    width: calc(100% - 32px);
  }

  .links .wide, .ver, .search span, .search kbd {
    display: none;
  }

  .search {
    background: none;
    border: 0;
    justify-content: center;
    width: 34px;
    margin: 0;
    padding: 0;
  }

  .search svg {
    width: 18px;
    height: 18px;
  }

  .end {
    gap: 2px;
  }
}

.hero {
  padding: 84px 0 72px;
  position: relative;
  overflow: hidden;
}

.hero > canvas {
  z-index: 0;
  image-rendering: pixelated;
  position: absolute;
  inset: 0;
}

.hero .wrap {
  z-index: 1;
  position: relative;
}

.hero-copy {
  text-align: center;
  justify-items: center;
  gap: 22px;
  margin-bottom: 64px;
  display: grid;
}

.hero h1 {
  letter-spacing: -.035em;
  max-width: 13em;
  font-size: clamp(36px, 5.4vw, 62px);
  font-stretch: 108%;
}

.lede {
  max-width: 34em;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.55;
}

.lede b {
  color: var(--ink);
  font-weight: 650;
}

.hero .actions {
  justify-content: center;
}

.demo {
  border: 1px solid var(--t-rule);
  background: var(--t-ground);
  max-width: 820px;
  color: var(--t-ink);
  border-radius: 14px;
  margin-inline: auto;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px #ffffff0a, 0 24px 60px -24px #00000080;
  box-shadow: inset 0 1px lab(100% 0 0 / .04), 0 24px 60px -24px lab(0% 0 0 / .5);
}

.demo .bar {
  border-bottom: 1px solid var(--t-rule);
  height: 40px;
  font: 500 12px/1 var(--mono);
  color: var(--t-dim);
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  display: flex;
}

.demo .bar i {
  background: var(--t-rule);
  border-radius: 50%;
  width: 10px;
  height: 10px;
}

.demo .bar span {
  margin-left: 8px;
}

.demo .twinkleplop {
  min-height: 212px;
  font: 400 13.5px/1.7 var(--mono);
  margin: 0;
  padding: 18px 20px;
  overflow-x: auto;
}

.demo .l {
  text-shadow: calc(var(--split, 0px) * -1) 0 #ff5d5ad9, var(--split, 0px) 0 #00d8e1d9;
}

@supports (color: lab(0% 0 0)) {
  .demo .l {
    text-shadow: calc(var(--split, 0px) * -1) 0 lab(62.659% 79.1916 49.8651 / .85), var(--split, 0px) 0 lab(78.2435% -46.8501 -19.2002 / .85);
  }
}

.act {
  border-top: 1px solid var(--t-rule);
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 14px 14px 20px;
  display: flex;
}

.status {
  font: 400 12px/1 var(--mono);
  color: var(--t-dim);
}

.release {
  z-index: 3;
  background: var(--release);
  color: #12101a;
  color: lab(5.09163% 2.56895 -5.87099);
  height: 34px;
  font: 700 13px/1 var(--sans);
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  position: relative;
}

.release.is-pressed {
  color: #0000;
  background: none;
}

.release.done {
  color: var(--t-green);
  box-shadow: inset 0 0 0 1px var(--t-rule);
  background: none;
}

.section {
  border-top: 1px solid var(--rule);
  padding: 96px 0;
}

.section .head {
  gap: 14px;
  max-width: 640px;
  margin-bottom: 40px;
  display: grid;
}

.section h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.section .head p {
  color: var(--ink-soft);
  font-size: 17px;
}

.section a {
  color: var(--accent);
  text-underline-offset: 3px;
}

.grid3 {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--rule);
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  display: grid;
  overflow: hidden;
}

.grid3 > div {
  background: var(--ground);
  align-content: start;
  gap: 10px;
  padding: 26px 24px 28px;
  display: grid;
}

.grid3 h3 {
  letter-spacing: -.015em;
  font-size: 18px;
}

.grid3 p {
  color: var(--ink-soft);
  font-size: 15px;
}

.grid3 code {
  font-size: .88em;
}

.k {
  font: 500 12px/1.4 var(--mono);
  color: var(--ink-faint);
}

.split {
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 32px;
  display: grid;
}

@media (width <= 760px) {
  .hero {
    padding: 44px 0 48px;
  }

  .hero-copy {
    text-align: left;
    justify-items: start;
    margin-bottom: 40px;
  }

  .hero .actions {
    justify-content: flex-start;
  }

  .lede {
    font-size: 17px;
  }

  .demo .bar {
    border-bottom: 1px solid var(--t-rule);
    height: 40px;
    font: 500 12px/1 var(--mono);
    color: var(--t-dim);
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    display: flex;
  }

  .demo .bar i {
    background: var(--t-rule);
    border-radius: 50%;
    width: 10px;
    height: 10px;
  }

  .demo .bar span {
    margin-left: 8px;
  }

  .demo .twinkleplop {
    min-height: 0;
    font-size: 12px;
  }

  .status {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .grid3, .split {
    grid-template-columns: 1fr;
  }
}

.band {
  border-bottom: 1px solid var(--rule);
  height: 120px;
  position: relative;
  overflow: hidden;
}

.band canvas {
  image-rendering: pixelated;
  position: absolute;
  inset: 0;
}

.shell {
  grid-template-columns: 236px minmax(0, 1fr) 200px;
  gap: 48px;
  width: min(1240px, 100% - 48px);
  margin-inline: auto;
  padding: 40px 0 88px;
  display: grid;
}

.side {
  align-self: start;
  gap: 26px;
  max-height: calc(100vh - 100px);
  margin-left: -10px;
  padding-left: 10px;
  font-size: 14px;
  display: grid;
  position: sticky;
  top: 84px;
  overflow-y: auto;
}

.grp {
  gap: 1px;
  display: grid;
}

.grp-label, .toc-label {
  font: 500 11.5px/1 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 8px;
}

.side a {
  color: var(--ink-soft);
  margin-left: -10px;
  padding: 5px 10px;
  text-decoration: none;
  display: block;
}

.side a:hover {
  color: var(--ink);
}

.side a[aria-current] {
  color: var(--ink);
  background: var(--surface-2);
  box-shadow: inset 2px 0 0 var(--accent);
  font-weight: 600;
}

.side .side-llms {
  border: 1px solid var(--rule);
  border-radius: 10px;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 10px 12px;
  font-size: 13px;
  display: flex;
}

.side-llms code {
  color: var(--ink-faint);
  font-size: 12px;
}

.doc {
  min-width: 0;
}

.subbar {
  display: none;
}

.doc-head {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  display: flex;
}

.crumbs {
  font: 500 12.5px/1 var(--mono);
  color: var(--ink-faint);
  gap: 8px;
  display: flex;
}

.crumbs a {
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--ink);
}

.doc h1 {
  margin-bottom: 28px;
  font-size: clamp(34px, 5vw, 46px);
  font-stretch: 105%;
}

.copy-page {
  border: 1px solid var(--rule);
  background: var(--surface);
  border-radius: 9px;
  display: flex;
  position: relative;
}

.copy-page > button {
  height: 30px;
  color: var(--ink-soft);
  font: 500 12.5px/1 var(--sans);
  cursor: pointer;
  background: none;
  border: 0;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  display: inline-flex;
}

.copy-page > button:hover {
  color: var(--ink);
}

.copy-page .cp-more {
  border-left: 1px solid var(--rule);
  padding: 0 8px;
}

.copy-page svg {
  flex: none;
  width: 14px;
  height: 14px;
}

.cp-done, .cp-main.done .cp-copy {
  display: none;
}

.cp-main.done .cp-done {
  color: var(--t-green);
  display: block;
}

.cp-label {
  display: grid;
}

.cp-label > span {
  grid-area: 1 / 1;
}

.cp-label > span:last-child, .cp-main.done .cp-label > span:first-child {
  visibility: hidden;
}

.cp-main.done .cp-label > span:last-child {
  visibility: visible;
}

.cp-more[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.cp-menu {
  z-index: 20;
  border: 1px solid var(--rule);
  background: var(--surface);
  border-radius: 12px;
  gap: 2px;
  width: 268px;
  padding: 6px;
  display: grid;
  position: absolute;
  top: calc(100% + 6px);
  right: -1px;
  box-shadow: 0 16px 40px -16px #00000059;
  box-shadow: 0 16px 40px -16px lab(0% 0 0 / .35);
}

.cp-menu[hidden] {
  display: none;
}

.cp-menu > * {
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 8px;
  align-items: flex-start;
  gap: 11px;
  padding: 10px;
  text-decoration: none;
  display: flex;
}

.cp-menu > :hover, .cp-menu > :focus-visible {
  background: var(--surface-2);
  outline: none;
}

.cp-menu svg {
  width: 17px;
  height: 17px;
  margin-top: 1px;
}

.cp-menu span {
  gap: 3px;
  display: grid;
}

.cp-menu b {
  font: 600 14px/1.2 var(--sans);
}

.cp-menu small {
  font: 400 12.5px/1.35 var(--sans);
  color: var(--ink-faint);
}

.pager {
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 56px;
  display: grid;
}

.pager a {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  gap: 4px;
  padding: 16px 18px;
  text-decoration: none;
  display: grid;
}

.pager a:hover {
  border-color: var(--ink-faint);
}

.pager .next {
  text-align: right;
  grid-column: 2;
}

.pager small {
  color: var(--ink-faint);
  font-size: 12.5px;
}

.pager b {
  font-weight: 600;
}

.edit {
  margin-top: 28px;
  font-size: 13px;
}

.edit a {
  color: var(--ink-faint);
  align-items: center;
  gap: 8px;
  text-decoration: none;
  display: inline-flex;
}

.edit a:hover {
  color: var(--ink);
}

.edit svg {
  width: 14px;
  height: 14px;
}

.toc {
  align-self: start;
  position: sticky;
  top: 84px;
}

.toc ol {
  gap: 8px;
  margin: 0;
  padding: 0;
  font-size: 13px;
  list-style: none;
  display: grid;
}

.toc a {
  color: var(--ink-faint);
  box-shadow: inset 1px 0 0 var(--rule);
  margin-left: -10px;
  padding-left: 10px;
  text-decoration: none;
  transition: color .15s, box-shadow .15s;
  display: block;
}

.toc a:hover {
  color: var(--ink-soft);
}

.toc a[aria-current] {
  color: var(--ink);
  box-shadow: inset 2px 0 0 var(--accent);
}

.toc code {
  font-size: .92em;
}

.pill {
  border: 1px solid var(--rule);
  background: var(--surface);
  height: 36px;
  color: var(--ink);
  font: 550 14px/1 var(--sans);
  cursor: pointer;
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  display: inline-flex;
}

.pill svg {
  width: 15px;
  height: 15px;
}

.pill.otp {
  margin-left: auto;
}

.pill[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.pill .menu-close, .pill[aria-expanded="true"] .menu-open {
  display: none;
}

.pill[aria-expanded="true"] .menu-close {
  display: block;
  transform: none;
}

@media (width <= 1100px) {
  .shell {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 40px;
  }

  .toc {
    display: none;
  }
}

@media (width <= 820px) {
  .band {
    height: 72px;
  }

  .shell {
    width: 100%;
    min-width: 0;
    margin-inline: 0;
    padding: 0 16px 64px;
    display: block;
  }

  .side {
    inset: var(--below, 121px) 0 0;
    z-index: 15;
    background: var(--ground);
    align-self: stretch;
    max-height: none;
    margin-left: 0;
    padding: 22px 16px 40px 26px;
    display: none;
    position: fixed;
  }

  .nav-open .side {
    align-content: start;
    display: grid;
  }

  .nav-open {
    overflow: hidden;
  }

  .subbar {
    z-index: 10;
    border-bottom: 1px solid var(--rule);
    background: var(--ground);
    gap: 10px;
    margin: 0 -16px;
    padding: 12px 16px;
    display: flex;
    position: sticky;
    top: 60px;
  }

  .doc-head {
    margin: 20px 0 14px;
  }

  .cp-menu {
    left: -1px;
    right: auto;
  }

  .toc-open .toc {
    top: calc(var(--below, 121px) + 8px);
    z-index: 16;
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    background: var(--surface);
    width: min(280px, 100vw - 32px);
    padding: 16px 18px;
    display: block;
    position: fixed;
    right: 16px;
    box-shadow: 0 16px 40px -16px #00000059;
    box-shadow: 0 16px 40px -16px lab(0% 0 0 / .35);
  }

  .doc h1 {
    font-size: 36px;
  }

  .pager {
    grid-template-columns: 1fr;
  }

  .pager .next {
    grid-column: auto;
  }
}

.prose {
  max-width: 46em;
  font-size: 16.5px;
  line-height: 1.7;
}

.prose > * + * {
  margin-top: 16px;
}

.prose h2 {
  letter-spacing: -.025em;
  margin-top: 52px;
  font-size: 26px;
}

.prose h3 {
  letter-spacing: -.015em;
  margin-top: 36px;
  font-size: 19px;
}

.prose h2 + *, .prose h3 + * {
  margin-top: 12px;
}

.prose a {
  color: var(--accent);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.prose a:hover {
  text-decoration-thickness: 2px;
}

.prose strong {
  font-weight: 650;
}

.prose ul, .prose ol {
  padding-left: 22px;
}

.prose li + li, .prose li > ul, .prose li > ol {
  margin-top: 6px;
}

.prose :not(pre) > code {
  border: 1px solid var(--rule);
  background: var(--surface);
  border-radius: 5px;
  padding: 1px 5px;
  font-size: .86em;
}

.prose code.short {
  white-space: nowrap;
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 40px 0;
}

.prose blockquote {
  border-left: 2px solid var(--rule);
  color: var(--ink-soft);
  margin-left: 0;
  padding-left: 16px;
}

.tbl {
  overflow-x: auto;
}

.prose table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14.5px;
  line-height: 1.55;
}

.prose th {
  border-bottom: 1px solid var(--rule);
  font: 500 12px/1.3 var(--mono);
  letter-spacing: .06em;
  text-align: left;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 0 14px 10px 0;
}

.prose td {
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  padding: 10px 14px 10px 0;
}

.prose td.codes {
  white-space: nowrap;
}

.note {
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: 0 10px 10px 0;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 14px 16px;
  font-size: 15px;
  display: grid;
}

.note b {
  font: 600 11.5px/1.4 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 3px;
}

.note > div > * + * {
  margin-top: 10px;
}

.note p {
  margin: 0;
}

.code, .term {
  border-radius: var(--radius);
  margin: 0;
  position: relative;
  overflow: hidden;
}

.prose .code, .prose .term {
  margin-top: 18px;
  margin-bottom: 22px;
}

.code {
  border: 1px solid var(--rule);
  background: var(--surface);
}

.code .bar, .term .bar {
  height: 40px;
  font: 500 12px/1 var(--mono);
  align-items: center;
  gap: 10px;
  padding: 0 8px 0 14px;
  display: flex;
}

.code .bar {
  border-bottom: 1px solid var(--rule);
  color: var(--ink-faint);
}

.code .bar span:first-child {
  color: var(--ink-soft);
}

.code .lang {
  margin-left: auto;
}

.bar .copy {
  border: 1px solid var(--rule);
  height: 26px;
  color: var(--ink-faint);
  font: 500 11.5px/1 var(--sans);
  cursor: pointer;
  background: none;
  border-radius: 7px;
  padding: 0 9px;
}

.code .bar .copy {
  margin-left: auto;
}

.code .lang + .copy {
  margin-left: 0;
}

.bar .copy:hover {
  color: var(--ink);
}

.bar .copy.done {
  color: var(--t-green);
}

.twinkleplop {
  font: 400 13.5px/1.7 var(--mono);
  tab-size: 2;
  margin: 0;
  padding: 16px 18px;
  overflow-x: auto;
}

.twinkleplop code {
  font: inherit;
}

.term {
  border: 1px solid var(--t-rule);
  background: var(--t-ground);
  color: var(--t-ink);
}

.term .bar {
  border-bottom: 1px solid var(--t-rule);
  color: var(--t-dim);
  justify-content: space-between;
}

.term .copy {
  z-index: 3;
  border-color: var(--t-rule);
  color: var(--t-dim);
  position: relative;
}

.term .copy:hover {
  color: var(--t-ink);
}

.term .copy.is-pressed {
  color: #0000;
  border-color: #0000;
}

.term .l {
  text-shadow: calc(var(--split, 0px) * -1) 0 #ff5d5ad9, var(--split, 0px) 0 #00d8e1d9;
}

@supports (color: lab(0% 0 0)) {
  .term .l {
    text-shadow: calc(var(--split, 0px) * -1) 0 lab(62.659% 79.1916 49.8651 / .85), var(--split, 0px) 0 lab(78.2435% -46.8501 -19.2002 / .85);
  }
}

.fx-pulse {
  z-index: 2;
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.term .p, .demo .p {
  color: var(--t-dim);
}

.term .b, .demo .b {
  font-weight: 700;
}

.term .bl, .demo .bl {
  color: var(--t-blue);
}

.term .gr, .demo .gr {
  color: var(--t-green);
}

.term .mg, .demo .mg {
  color: var(--t-magenta);
}

.term .yl, .demo .yl {
  color: var(--t-yellow);
}

.term .rd, .demo .rd {
  color: var(--t-red);
}

.term .dm, .demo .dm, .term .gutter {
  color: var(--t-dim);
}

.tok.comment {
  color: var(--ink-faint);
  font-style: italic;
}

.tok.string {
  color: var(--syn-string);
}

.tok.number, .tok.boolean, .tok.null {
  color: var(--syn-number);
}

.tok.property, .tok.key, .tok.attr-name {
  color: var(--syn-key);
}

.tok.keyword, .tok.builtin {
  color: var(--syn-keyword);
}

.tok.punctuation, .tok.operator {
  color: var(--ink-faint);
}

.tok.function {
  color: var(--ink);
}

.term .tok.comment {
  color: var(--t-dim);
}

.find {
  border: 1px solid var(--rule);
  background: var(--surface);
  width: min(620px, 100vw - 32px);
  max-height: min(540px, 100vh - 120px);
  color: var(--ink);
  border-radius: 14px;
  margin: 12vh auto auto;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px #00000080;
  box-shadow: 0 30px 80px -30px lab(0% 0 0 / .5);
}

.find[open] {
  flex-direction: column;
  display: flex;
}

.find::backdrop {
  backdrop-filter: blur(2px);
  background: #0a08118c;
  background: lab(2.36769% 1.61779 -3.68756 / .55);
}

.find label {
  border-bottom: 1px solid var(--rule);
  align-items: center;
  gap: 12px;
  padding: 0 14px 0 18px;
  display: flex;
}

.find label svg {
  width: 18px;
  height: 18px;
  color: var(--ink-faint);
  flex: none;
}

.find input {
  appearance: none;
  min-width: 0;
  height: 56px;
  color: var(--ink);
  font: 500 17px/1 var(--sans);
  background: none;
  border: 0;
  outline: 0;
  flex: 1;
}

.find input::placeholder {
  color: var(--ink-faint);
}

.find input::-webkit-search-cancel-button {
  appearance: none;
}

.shut {
  color: var(--ink-faint);
  cursor: pointer;
  background: none;
  border: 0;
  flex: none;
  place-items: center;
  padding: 0;
  display: grid;
}

.shut svg {
  width: 20px;
  height: 20px;
  display: none;
}

.find ol:empty {
  display: none;
}

.find ol {
  margin: 0;
  padding: 8px;
  list-style: none;
  overflow-y: auto;
}

.find li a {
  padding: 10px 12px;
  text-decoration: none;
  display: block;
}

.find li a b {
  font: 600 15px/1.3 var(--sans);
  color: var(--ink);
  display: block;
}

.find li a small {
  color: var(--ink-faint);
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.4;
  display: block;
}

.find li a[aria-selected="true"] {
  background: var(--surface-2);
  box-shadow: inset 2px 0 0 var(--accent);
}

.find li a mark {
  background: color-mix(in srgb, var(--accent) 28%, transparent);
  color: inherit;
  border-radius: 3px;
}

.find p {
  text-align: center;
  color: var(--ink-faint);
  margin: 0;
  padding: 18px;
  font-size: 14px;
}

@media (hover: none) {
  .shut kbd {
    display: none;
  }

  .shut svg {
    display: block;
  }

  .shut {
    width: 40px;
    height: 40px;
    margin-right: -8px;
  }
}

@media (width <= 820px) {
  .find {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    margin-top: 12px;
  }
}
