:root {
  --bg: #ffffff; --surface: #f6f7f9; --border: #e3e6eb; --text: #1b1f24; --muted: #5d6673; --accent: #5b4bdb;
  --code-bg: #0f1419; --code-text: #e6e9ef; --get: #1a7f37; --post: #5b4bdb; --delete: #c62828;
  --s2: #1a7f37; --s4: #b25e00; --s5: #c62828;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0d1117; --surface: #161b22; --border: #2a313c; --text: #e6edf3; --muted: #9aa5b1; --accent: #a59bff;
    --code-bg: #010409; --get: #3fb950; --post: #a59bff; --delete: #ff7b72; --s2: #3fb950; --s4: #f0a04b; --s5: #ff7b72; }
}
* { box-sizing: border-box; }
html { scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
code { font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 0 4px; }
pre { margin: 8px 0 16px; background: var(--code-bg); color: var(--code-text); border-radius: 8px; padding: 14px 16px; overflow-x: auto; }
pre code { background: none; border: 0; padding: 0; color: inherit; white-space: pre; }
.top { position: sticky; top: 0; z-index: 2; display: flex; gap: 20px; align-items: center; padding: 12px 24px; background: var(--bg); border-bottom: 1px solid var(--border); }
.brand { font-weight: 700; font-size: 17px; color: var(--text); text-decoration: none; margin-right: auto; }
.base { color: var(--muted); font-size: 14px; }
.layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); max-width: 1280px; margin: 0 auto; }
.sidebar { position: sticky; top: 57px; align-self: start; max-height: calc(100vh - 57px); overflow-y: auto; padding: 20px 16px; border-right: 1px solid var(--border); font-size: 14px; }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { margin: 2px 0; }
.sidebar ul ul { margin: 4px 0 14px; }
.sidebar a { display: flex; align-items: center; gap: 8px; padding: 3px 6px; border-radius: 6px; color: var(--text); text-decoration: none; }
.sidebar a:hover { background: var(--surface); }
.nav-group { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
main { padding: 8px 40px 80px; min-width: 0; }
h2 { margin: 40px 0 12px; font-size: 24px; }
h3 { margin: 0 0 8px; font-size: 19px; }
h4 { margin: 20px 0 8px; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.guide { max-width: 820px; }
.endpoint { padding: 24px 0 8px; border-top: 1px solid var(--border); }
.route { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.method { display: inline-block; min-width: 54px; text-align: center; font: 700 11px/20px ui-monospace, monospace; border-radius: 4px; color: #fff; padding: 0 6px; }
.sidebar .method { min-width: 46px; font-size: 10px; line-height: 18px; }
.method-get { background: var(--get); } .method-post { background: var(--post); } .method-delete { background: var(--delete); }
.content-type { font-weight: 400; text-transform: none; letter-spacing: 0; }
table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 4px 0 8px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-weight: 600; font-size: 13px; }
td:first-child { white-space: nowrap; }
.required { color: var(--s5); font-size: 12px; }
.samples { margin-top: 20px; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.samples pre { margin: 0; border-radius: 0; }
.tabs { display: flex; gap: 4px; padding: 6px; background: var(--surface); border-bottom: 1px solid var(--border); }
.tabs button { font: inherit; font-size: 13px; padding: 4px 10px; border: 0; border-radius: 6px; background: none; color: var(--muted); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--bg); color: var(--text); box-shadow: 0 0 0 1px var(--border); }
.tabs .copy { margin-left: auto; }
.response p { margin: 8px 0 0; }
.status { display: inline-block; font: 700 12px/18px ui-monospace, monospace; padding: 0 6px; border-radius: 4px; border: 1px solid currentColor; }
.status-2 { color: var(--s2); } .status-4 { color: var(--s4); } .status-5 { color: var(--s5); }
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; max-height: none; border-right: 0; border-bottom: 1px solid var(--border); }
  main { padding: 8px 16px 60px; }
  .top { flex-wrap: wrap; padding: 10px 16px; gap: 8px 16px; }
  td:first-child { white-space: normal; }
  .sidebar { max-height: 45vh; overflow-y: auto; }
  table { display: block; overflow-x: auto; }
  td code, p code { overflow-wrap: anywhere; }
}
