@font-face {
  font-family: Uncut Sans;
  src: url("/fonts/uncut-sans.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: Sohne Mono;
  src: url("/fonts/sohne-mono.woff2") format("woff2");
  font-display: swap;
}
:root {
  color-scheme: light;
  --bg: #fff;
  --sidebar: #f4f4f5;
  --card: #f4f4f5;
  --text: #27272a;
  --muted: #71717a;
  --line: #e4e4e7;
  --hover: #e4e4e7;
  --badge: #fde68a;
  --badge-text: #92400e;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #27272a;
    --sidebar: #18181b;
    --card: #3f3f46;
    --text: #e4e4e7;
    --muted: #a1a1aa;
    --line: #3f3f46;
    --hover: #3f3f46;
    --badge: #e4e4e7;
    --badge-text: #27272a;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #27272a;
  --sidebar: #18181b;
  --card: #3f3f46;
  --text: #e4e4e7;
  --muted: #a1a1aa;
  --line: #3f3f46;
  --hover: #3f3f46;
  --badge: #e4e4e7;
  --badge-text: #27272a;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    16px / 1.65 "Uncut Sans",
    sans-serif;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
button {
  font: inherit;
  cursor: pointer;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid #0284c7;
  outline-offset: 4px;
}
code,
pre {
  font-family: "Sohne Mono", monospace;
  font-size: 13px;
}
p {
  margin: 14px 0 20px;
}
p code,
.parameters dd code {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 4px;
  font-size: 0.875em;
  white-space: nowrap;
}
h2 {
  font-size: 25px;
  line-height: 1.3;
  margin: 0 0 20px;
  font-weight: 600;
  scroll-margin-top: 28px;
}
h2 a {
  text-decoration: none;
}
.anchor {
  vertical-align: middle;
  opacity: 0;
  margin-left: 12px;
  color: var(--muted);
}
h2 a:hover .anchor,
h2 a:focus-visible .anchor {
  vertical-align: middle;
  opacity: 1;
}
h3 {
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  padding-bottom: 9px;
  margin: 26px 0 12px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 256px;
  background: var(--sidebar);
  border-right: 1px solid var(--line);
  padding: 16px 16px 69px;
}
.sidebar nav {
  height: 100%;
  overflow-y: auto;
}
.nav-group {
  margin-bottom: 16px;
}
.nav-label {
  font-size: 14px;
  color: var(--muted);
  padding: 4px 0;
  line-height: 20px;
}
.sidebar nav a {
  display: block;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 20px;
}
.sidebar nav a + a {
  margin-top: 2px;
}
.sidebar nav a:hover,
.sidebar nav a[aria-current="location"] {
  background: var(--hover);
}
.theme-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px;
  border-top: 1px solid var(--line);
}
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 9px;
  border-radius: 6px;
  font-size: 14px;
}
.theme-footer button {
  padding: 8px;
  line-height: 20px;
  width: 100%;
}
.theme-toggle:hover {
  background: var(--hover);
}
.theme-dot {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: #c4b5fd;
  border-radius: 50%;
}
:root[data-theme="dark"] .theme-dot {
  background: #fbbf24;
}
main {
  margin-left: 256px;
  min-width: 0;
}
.content {
  max-width: 1100px;
  padding: 56px;
  margin: auto;
}
.brand-card {
  padding: 18px;
  border-radius: 8px;
  background: var(--card);
  margin-bottom: 48px;
}
.brand-title {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.3;
}
.badge {
  display: inline-block;
  vertical-align: middle;
  font:
    14px / 1.5 "Uncut Sans",
    sans-serif;
  font-weight: 400;
  padding: 0 6px;
  border-radius: 4px;
  background: var(--badge);
  color: var(--badge-text);
}
.brand-card p {
  color: var(--muted);
  margin: 4px 0 0;
}
section {
  border-bottom: 1px solid var(--line);
  padding-bottom: 38px;
  margin-bottom: 42px;
}
.notice {
  border-left: 3px solid var(--line);
  padding: 12px 16px;
  background: var(--sidebar);
  font-size: 14px;
  margin: 22px 0;
}
.notice strong {
  font-weight: 600;
}
.endpoint-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}
.endpoint-path {
  display: flex;
  gap: 10px;
  background: #09090b;
  color: #f4f4f5;
  padding: 7px 10px;
  border-radius: 4px;
  align-items: baseline;
  width: fit-content;
  max-width: 100%;
  font-size: 13px;
}
.endpoint-path code {
  overflow-wrap: anywhere;
  min-width: 0;
}
.method {
  font-family: "Sohne Mono", monospace;
  flex-shrink: 0;
}
.get {
  color: #38bdf8;
}
.post {
  color: #22c55e;
}
.parameters {
  margin: 0;
}
.parameters > div {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.parameters > div:last-child {
  border: 0;
}
.parameters dt {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.parameters dt code {
  font-weight: 600;
}
.type {
  color: var(--muted);
  background: var(--sidebar);
  border-radius: 4px;
  padding: 0 5px;
  font-size: 12px;
}
.parameters dd {
  margin: 8px 0 0;
  font-size: 14px;
}
.example {
  min-width: 0;
}
.codeblock {
  background: #09090b;
  color: #d4d4d8;
  border-radius: 6px;
  overflow: hidden;
  margin: 0 0 18px;
}
.code-heading {
  font-size: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid #27272a;
}
.codeblock pre {
  padding: 12px;
  margin: 0;
  overflow-x: auto;
  line-height: 1.7;
  tab-size: 2;
}
.codeblock code {
  counter-reset: line;
  display: block;
  width: max-content;
  min-width: 100%;
}
.line {
  display: block;
}
.line:before {
  counter-increment: line;
  content: counter(line);
  display: inline-block;
  width: 18px;
  margin-right: 20px;
  color: #71717a;
  text-align: right;
  user-select: none;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
  padding: 8px 0 24px;
}
.mobile-bar {
  display: none;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 10;
  background: var(--bg);
  padding: 10px;
}
.skip-link:focus {
  top: 10px;
}
@media (min-width: 1200px) {
  .example {
    align-self: start;
    position: sticky;
    top: 28px;
  }
}
@media (max-width: 1100px) {
  .endpoint-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .content {
    padding: 40px;
  }
  .example {
    margin-top: 6px;
  }
}
@media (max-width: 767px) {
  html {
    scroll-padding-top: 84px;
  }
  .sidebar {
    display: none;
  }
  .mobile-bar {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: var(--sidebar);
    border-bottom: 1px solid var(--line);
  }
  .mobile-bar > a {
    text-decoration: none;
    font-weight: 600;
  }
  .mobile-bar .theme-label {
    display: none;
  }
  main {
    margin-left: 0;
  }
  .content {
    padding: 28px 20px;
  }
  .brand-card {
    margin-bottom: 36px;
  }
  h2 {
    scroll-margin-top: 84px;
  }
  .brand-title {
    font-size: 24px;
  }
  section {
    margin-bottom: 32px;
    padding-bottom: 28px;
  }
  footer {
    flex-wrap: wrap;
  }
  .line:before {
    margin-right: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
