@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap";

/* ── Design tokens ──
   One dark, AI-and-terminal look for every page. Text and muted text are both
   AA on the page background (about 15:1 and 7:1). */
:root {
  --bg: #070b14;
  --bg-raised: #0d1424;
  --card: rgba(17, 25, 43, 0.72);
  --card-solid: #111a2b;
  --code-bg: #0a101c;
  --line: rgba(125, 155, 205, 0.18);
  --line-strong: rgba(125, 155, 205, 0.32);
  --text: #e8eef8;
  --text-soft: #c4cfe0;
  --muted: #93a1b8;
  --cyan: #22d3ee;
  --sky: #7dd3fc;
  --blue: #3b82f6;
  --indigo: #6366f1;
  --violet: #a78bfa;
  --green: #86efac;
  --amber: #fbbf24;
  --grad: linear-gradient(90deg, #22d3ee 0%, #6366f1 55%, #a855f7 100%);
  --glow: 0 0 0 1px rgba(99, 102, 241, 0.35), 0 8px 32px rgba(56, 189, 248, 0.14);
  --mono: 'JetBrains Mono', Consolas, 'Liberation Mono', Menlo, monospace;
  --sans: 'Inter', 'Segoe UI', Roboto, Helvetica, sans-serif;
  --nav-h: 68px;
}

/* ── Reset ── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

/* ── Base ── */
body {
  font-family: var(--sans);
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 480px at 12% -8%, rgba(34, 211, 238, 0.10), transparent 70%),
    radial-gradient(800px 460px at 92% 4%, rgba(139, 92, 246, 0.13), transparent 70%),
    linear-gradient(rgba(125, 155, 205, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 155, 205, 0.045) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px;
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.65;
  padding-top: var(--nav-h);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--sky);
  text-decoration-color: rgba(125, 211, 252, 0.4);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--cyan);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  color: var(--text);
  margin-top: 20px;
  letter-spacing: -0.01em;
}

hr {
  margin: 20px 0;
  border: none;
  border-top: 1px solid var(--line);
}

ul, ol {
  padding-left: 2.25rem;
  margin-bottom: 1rem;
}

ul li, ol li {
  margin-bottom: 6px;
}

::selection {
  background: rgba(99, 102, 241, 0.45);
}

/* ── Banner / Header ── */
.banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-h);
  background: rgba(7, 11, 20, 0.78);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  border-bottom: 1px solid var(--line);
}

.banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--grad);
  opacity: 0.45;
}

.banner > a {
  display: flex;
  align-items: center;
}

.logo {
  height: 46px;
  vertical-align: middle;
}

/* ── Navigation ──
   A visible bar on wide screens, the hamburger below 1140px. The markup is the
   same on every page: .menu holds the three bars and the .menu-items links. */
.menu {
  position: static;
  display: flex;
  align-items: center;
}

.menu-bar {
  display: none;
}

.menu-items {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 2px;
  position: static;
  background: none;
  border: none;
  padding: 0;
  box-shadow: none;
  text-align: left;
}

.menu-items a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--muted);
  padding: 7px 12px;
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.15s, background-color 0.15s;
}

.menu-items a:hover {
  color: var(--text);
  background-color: rgba(125, 155, 205, 0.12);
}

.menu-items a[href*="playground"] {
  color: #04121c;
  background: var(--grad);
  font-weight: 600;
  margin: 0 6px;
}

.menu-items a[href*="playground"]:hover {
  color: #04121c;
  filter: brightness(1.12);
}

@media screen and (max-width: 1140px) {
  .banner {
    padding: 0 16px;
  }

  .menu {
    position: relative;
    width: 38px;
    height: 38px;
    background-color: var(--card-solid);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
  }

  .menu-bar {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--grad);
    border-radius: 2px;
  }

  .menu-items {
    display: none !important;
    position: absolute;
    top: 46px;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background-color: var(--card-solid);
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
    z-index: 1001;
    min-width: 190px;
    gap: 0;
  }

  .menu-items.open {
    display: flex !important;
  }

  .menu-items a {
    margin: 0 !important;
    padding: 9px 12px;
    color: var(--text-soft);
  }
}

/* ── Main Content ── */
main {
  max-width: 980px;
  margin: 0 auto;
  padding: 20px;
}

.container {
  padding-bottom: 40px;
}

/* ── Hero Section ── */
.hero {
  position: relative;
  text-align: center;
  padding: 72px 20px 36px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--sky);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 22px;
  text-decoration: none;
}

.hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 20px 0;
  background: linear-gradient(100deg, #f4f8ff 0%, #7dd3fc 42%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 34px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 34px auto 0;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-stats b {
  color: var(--text);
  font-weight: 600;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  padding: 11px 24px;
  transition: transform 0.15s, box-shadow 0.2s, background-color 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(90deg, #2563eb, #6366f1 60%, #8b5cf6);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  color: #fff;
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.55);
}

.btn-secondary {
  background-color: rgba(125, 155, 205, 0.06);
  color: var(--text);
  border: 1px solid var(--line-strong);
}

.btn-secondary:hover {
  color: var(--text);
  background-color: rgba(125, 155, 205, 0.14);
  border-color: rgba(125, 211, 252, 0.5);
}

/* ── Code Preview ── */
.code-preview {
  max-width: 660px;
  margin: 10px auto 40px;
}

.code-preview pre {
  background: var(--code-bg);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 20px 24px;
  overflow-x: auto;
  box-shadow: var(--glow);
}

.code-preview code {
  font-family: var(--mono);
  font-size: 0.88rem;
  line-height: 1.65;
  color: #e2e8f0;
}

.code-preview .kw {
  color: var(--sky);
}

.code-preview .str {
  color: var(--green);
}

.code-preview .num {
  color: var(--amber);
}

/* ── Code Tabs ── */
.code-tabs {
  display: flex;
  gap: 4px;
  max-width: 660px;
  margin: 0 auto;
}

.code-tab {
  background: transparent;
  border: 1px solid var(--line);
  border-bottom: none;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 8px 18px;
  cursor: pointer;
  border-radius: 10px 10px 0 0;
  transition: background-color 0.2s, color 0.2s;
}

.code-tab:hover {
  background-color: rgba(125, 155, 205, 0.1);
  color: var(--text);
}

.code-tab.active {
  background-color: var(--code-bg);
  color: var(--cyan);
  border-color: var(--line-strong);
}

.code-tab-content pre {
  border-radius: 0 12px 12px 12px;
  margin: 0;
}

/* ── Feature Boxes ── */
.features {
  margin: 20px 0;
}

.boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 10px 0 44px;
}

.box {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  text-align: left;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: var(--sky);
  min-height: 132px;
  overflow: hidden;
}

.box::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.2s;
}

.box:hover {
  border-color: rgba(125, 211, 252, 0.45);
  box-shadow: var(--glow);
  transform: translateY(-2px);
}

.box:hover::before {
  opacity: 1;
}

.box hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 8px 0;
}

.box-icon,
.highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.16), rgba(139, 92, 246, 0.2));
  border: 1px solid rgba(125, 211, 252, 0.28);
  color: var(--sky);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.box b {
  font-weight: 600;
  color: var(--text);
  font-size: 1.05rem;
}

.box-text {
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 400;
  line-height: 1.55;
}

/* ── Highlights Section ── */
.highlights {
  margin: 36px 0;
}

.section-title {
  text-align: center;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 30px;
  letter-spacing: -0.02em;
}

.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 2px;
  background: var(--grad);
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.highlight-item {
  text-align: left;
  padding: 22px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.2s, transform 0.2s;
}

.highlight-item:hover {
  border-color: rgba(125, 211, 252, 0.4);
  transform: translateY(-2px);
}

.highlight-item h3 {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 6px;
}

.highlight-item p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.6;
}

.highlight-item code,
.container code,
p code,
li code,
td code {
  font-family: var(--mono);
  font-size: 0.82em;
  background-color: rgba(125, 155, 205, 0.12);
  padding: 1px 6px;
  border-radius: 5px;
  color: var(--sky);
}

/* ── Platforms Section ── */
.platforms {
  margin: 44px 0 20px;
  text-align: center;
}

.platform-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.platform-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-soft);
  font-weight: 500;
}

/* ── Link Bar ── */
.link-bar {
  text-align: center;
  margin: 40px 0 20px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Footer ── */
.footer {
  position: relative;
  text-align: center;
  padding: 28px 20px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 56px;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--grad);
  opacity: 0.4;
}

/* ── Action Buttons (legacy, used on some pages) ── */
.action-buttons {
  text-align: center;
  margin: 20px 0;
}

/* ── Page chrome shared by the guides, the AI guide and the rendered docs ── */
.page-title {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
  line-height: 1.15;
  background: linear-gradient(100deg, #f4f8ff 0%, #7dd3fc 55%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.page-lead {
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 1.75rem;
  line-height: 1.75;
  max-width: 740px;
}

.container h3 {
  border-left: 3px solid transparent;
  border-image: linear-gradient(180deg, #22d3ee, #8b5cf6) 1;
  padding-left: 12px;
  margin-top: 3rem;
  font-size: 1.35rem;
  font-weight: 700;
}

.container h3:first-of-type {
  margin-top: 1.25rem;
}

.container h4 {
  margin-top: 1.75rem;
  margin-bottom: 0.35rem;
  color: var(--sky);
  font-size: 1.05rem;
}

.container p {
  color: var(--text-soft);
  margin-bottom: 0.9rem;
  line-height: 1.75;
}

.container li {
  color: var(--text-soft);
}

.container > p:first-child {
  color: var(--muted);
}

.container strong {
  color: var(--text);
}

pre.cmd + h4,
pre + h4,
pre + p {
  margin-top: 1.25rem;
}

.note {
  background: rgba(251, 191, 36, 0.06);
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-left: 3px solid var(--amber);
  border-radius: 0 10px 10px 0;
  padding: 11px 16px;
  font-size: 0.9rem;
  color: var(--text-soft);
  margin: 0.9rem 0 1.1rem;
}

.note strong {
  color: var(--amber);
}

.lib-flag {
  display: inline-block;
  background: var(--code-bg);
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  border-radius: 4px 8px 8px 4px;
  padding: 5px 14px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--sky);
  margin: 0.5rem 0 1.1rem;
}

.lib-flag::before {
  content: "obc flag: ";
  color: var(--muted);
  font-size: 0.72rem;
}

.file-tree {
  background: var(--code-bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 18px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 2;
  margin: 0.75rem 0 1.5rem;
  overflow-x: auto;
}

.file-tree .dir {
  color: var(--sky);
  font-weight: 600;
}

.file-tree .file {
  color: var(--green);
}

.section-end {
  border: none;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0 0;
}

.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--muted);
  margin: 0 0 1.4rem;
}

.doc-meta a {
  color: var(--sky);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 12px;
}

.doc-meta a:hover {
  border-color: rgba(125, 211, 252, 0.5);
}

.container img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.container blockquote {
  border-left: 3px solid var(--indigo);
  padding: 4px 16px;
  margin: 1rem 0;
  color: var(--muted);
}

pre.mermaid {
  background: var(--code-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  overflow-x: auto;
  margin: 1rem 0 1.4rem;
}

/* ── Table of Contents ── */
#toc_container {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 14px 20px;
  margin: 8px 0 20px;
  border-radius: 14px;
  font-size: 0.93rem;
  max-width: 520px;
  width: 100%;
  color: var(--sky);
}

#toc_container h4 {
  margin: 0 0 8px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--mono);
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
}

#toc_container ul {
  counter-reset: toc-counter;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

#toc_container ul > li {
  counter-increment: toc-counter;
  position: relative;
  margin: 2px 0;
  padding-left: 36px;
}

#toc_container ul > li::before {
  content: counter(toc-counter) ". ";
  position: absolute;
  left: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.85em;
  font-weight: 500;
}

#toc_container ul ul {
  counter-reset: toc-sub-counter;
  margin-top: 2px;
  padding-left: 24px;
  border-left: 2px solid var(--line-strong);
}

#toc_container ul ul li {
  counter-increment: toc-sub-counter;
  position: relative;
  margin: 3px 0;
  padding-left: 40px;
}

#toc_container ul ul li::before {
  content: counter(toc-counter) "." counter(toc-sub-counter) " ";
  position: absolute;
  left: 0;
  color: var(--muted);
  font-weight: 400;
}

#toc_container ul li a {
  text-decoration: none;
  color: var(--sky);
  display: inline-block;
  padding: 2px 0;
}

#toc_container ul li a:hover {
  text-decoration: underline;
  color: var(--cyan);
}

#toc_container.plain {
  max-width: 100%;
  columns: 2;
  column-gap: 32px;
}

#toc_container.plain h4 {
  column-span: all;
}

#toc_container.plain ul > li {
  padding-left: 0;
  break-inside: avoid;
}

#toc_container.plain ul > li::before {
  content: none;
}

/* ── Code blocks ── */
pre.cmd {
  background: var(--code-bg);
  color: #ffc247;
  font-family: var(--mono);
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  font-size: 0.8rem;
  line-height: 1.55;
  overflow-x: auto;
  white-space: pre-wrap;
}

pre.plain {
  background: var(--code-bg);
  color: var(--text-soft);
  font-family: var(--mono);
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: 0.8rem;
  line-height: 1.5;
  overflow-x: auto;
}

.raw {
  margin: 0.8rem 0 1rem;
  color: var(--text-soft);
}

.raw img {
  display: inline-block;
  border-radius: 4px;
}

pre code {
  display: block;
  background: var(--code-bg);
  color: #f8f8f2;
  font-family: var(--mono);
  font-size: 0.8rem;
  padding: 14px;
  overflow-x: auto;
  border-radius: 10px;
}

pre code.hljs {
  padding: 14px;
  background: var(--code-bg);
  border: 1px solid var(--line);
}

/* ── Tables ── */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 20px 0;
  font-size: 0.93rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

table th {
  background: rgba(125, 155, 205, 0.08);
  color: var(--sky);
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-strong);
}

table td {
  padding: 11px 14px;
  color: var(--text-soft);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

table tr:last-child td {
  border-bottom: none;
}

table tr:hover td {
  background-color: rgba(125, 155, 205, 0.07);
}

.ref-table th {
  background: rgba(125, 155, 205, 0.08) !important;
  color: var(--sky) !important;
}

.ref-table code {
  white-space: nowrap;
}

/* ── Mobile Responsive ── */
@media screen and (max-width: 768px) {
  :root {
    --nav-h: 60px;
  }

  .logo {
    height: 40px;
  }

  .hero {
    padding: 44px 10px 24px;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-badge {
    font-size: 0.68rem;
    padding: 5px 11px;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .page-title {
    font-size: 1.8rem;
  }

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

  .highlight-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .platform-list {
    gap: 8px;
  }

  .platform-badge {
    font-size: 0.78rem;
    padding: 5px 12px;
  }

  .link-bar {
    flex-direction: column;
    align-items: center;
  }

  .code-preview {
    margin: 10px auto 30px;
  }

  .code-preview pre {
    padding: 14px 16px;
  }

  .code-preview code {
    font-size: 0.8rem;
  }

  .code-tab {
    font-size: 0.74rem;
    padding: 6px 12px;
  }

  table, thead, tbody, th, td, tr {
    display: block;
    width: 100%;
  }

  table thead {
    display: none;
  }

  table td {
    border: none;
    padding: 8px 14px;
    position: relative;
  }

  table td::before {
    content: attr(data-label);
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
  }

  pre.cmd {
    font-size: 0.8rem;
    padding: 10px 12px;
  }

  #toc_container {
    max-width: 100%;
    font-size: 0.9rem;
    padding: 10px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
