/* Developer API documentation page (/developers/); builds on site.css. */
.docs {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  padding-top: 48px;
  padding-bottom: 80px;
}
.toc {
  position: sticky;
  top: 92px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
}
.toc-h {
  margin: 0 0 8px;
  color: var(--white);
  font: 600 13px Sora, sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.toc a {
  color: var(--text);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  border-left: 2px solid transparent;
}
.toc a:hover {
  color: var(--white);
  background: rgba(0, 240, 255, .06);
  border-left-color: var(--cyan);
}
.doc {
  min-width: 0;
  max-width: 900px;
}
.doc h1 {
  margin: 18px 0 12px;
  color: var(--white);
  font: 700 clamp(32px, 4vw, 46px)/1.1 Sora, sans-serif;
}
.doc .lead {
  font-size: 18px;
  max-width: 760px;
}
.doc section {
  padding-top: 28px;
}
.doc h2 {
  margin: 0 0 14px;
  color: var(--white);
  font: 700 26px/1.25 Sora, sans-serif;
}
.doc h3 {
  margin: 26px 0 10px;
  color: var(--white);
  font: 600 18px Sora, sans-serif;
}
.doc a {
  color: var(--cyan);
}
.doc b {
  color: var(--white);
}
.doc code {
  font: 500 .88em "JetBrains Mono", ui-monospace, monospace;
  color: #CFF8FF;
  background: rgba(0, 240, 255, .07);
  border: 1px solid rgba(0, 240, 255, .14);
  border-radius: 6px;
  padding: 1px 6px;
  overflow-wrap: break-word;
}
.doc pre {
  margin: 14px 0 18px;
  padding: 18px 20px;
  overflow-x: auto;
  background: #05070C;
  border: 1px solid var(--edge);
  border-radius: 14px;
  box-shadow: inset 0 0 40px rgba(0, 240, 255, .03);
}
.doc pre code {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  color: #D7E3F7;
  font-size: 13.5px;
  line-height: 1.65;
  white-space: pre;
  overflow-wrap: normal;
}
.doc table {
  width: 100%;
  margin: 12px 0 18px;
  border-collapse: collapse;
  font-size: 14.5px;
  background: var(--glass);
  border: 1px solid var(--edge);
  border-radius: 14px;
  overflow: hidden;
}
.doc th,
.doc td {
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(0, 240, 255, .08);
}
.doc thead th,
.doc table.kv th {
  color: var(--white);
  font-weight: 600;
  white-space: nowrap;
}
.doc tr:last-child td,
.doc tr:last-child th {
  border-bottom: 0;
}
.doc table.ep td:first-child,
.doc table.ep td:nth-child(2) code {
  white-space: nowrap;
}
.m {
  display: inline-block;
  min-width: 44px;
  margin-right: 4px;
  padding: 1px 6px;
  border-radius: 6px;
  font: 700 11px "JetBrains Mono", monospace;
  text-align: center;
}
.m.get { color: #00F0FF; background: rgba(0, 240, 255, .12); }
.m.post { color: #C9A6FF; background: rgba(155, 77, 255, .18); }
.m.put { color: #FFD27A; background: rgba(255, 190, 70, .14); }
.seclist {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}
.seclist li {
  position: relative;
  padding: 12px 16px 12px 44px;
  background: var(--glass);
  border: 1px solid var(--edge);
  border-radius: 12px;
}
.seclist li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 17px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg);
}
.doc .note {
  font-size: 14px;
  opacity: .85;
}
.nav nav a[aria-current="page"] {
  color: var(--white);
  background: rgba(0, 240, 255, .08);
}
@media (max-width: 960px) {
  .docs {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 28px;
  }
  .toc {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .toc-h {
    width: 100%;
  }
  .doc table.ep td:first-child {
    white-space: normal;
  }
  .doc table {
    display: block;
    overflow-x: auto;
  }
}
