/* songcode docs (docs.songco.de).
 *
 * Same design system as the app (public/styles.css) and the landing site: the
 * tokens below are a copy of its surfaces, text tiers, accent, radii and
 * motion. Dark only. The accent is for the primary action and for where you
 * are. Hand-written; scripts/build-docs.mjs writes the pages that use it.
 *
 *   1. tokens     3. top bar     5. article     7. search, lightbox
 *   2. base       4. frame       6. home        8. small screens, print
 */

/* ————————————————————————————— 1. tokens ————————————————————————————— */

:root {
  color-scheme: dark;

  --bg: #070708;
  --surface-0: #0d0d0f;
  --surface-1: #131315;
  --surface-2: #1c1c1f;
  --surface-3: #26262a;
  --surface-4: #333338;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.13);

  --text: #f4f4f6;
  --text-2: rgba(235, 235, 245, 0.64);
  --text-3: rgba(235, 235, 245, 0.4);

  --accent: #b8ff2e;
  --accent-ink: #0d1300;
  --accent-soft: rgba(184, 255, 46, 0.12);
  --accent-line: rgba(184, 255, 46, 0.4);

  --code-comment: #7d8799;
  --code-fn: #c792ea;
  --code-value: #c3e88d;
  --code-op: #89ddff;
  --code-name: #82aaff;

  --r-sm: 7px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;

  --font-sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', 'Segoe UI', Roboto, system-ui, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', Roboto, system-ui, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace;
  --font-code: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-1: 0.12s;
  --dur-2: 0.2s;

  --focus: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);

  --top-h: 60px;
  --side-w: 264px;
  --toc-w: 216px;
  --gutter: clamp(20px, 4vw, 40px);
}

/* ————————————————————————————— 2. base ————————————————————————————— */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 20px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, pre, ul, ol { margin: 0; }
img, svg { display: block; }
::selection { background: rgba(184, 255, 46, 0.28); }
:focus { outline: none; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-sm); }

.skip { position: absolute; left: 12px; top: -48px; z-index: 100; padding: 8px 14px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 600; }
.skip:focus { top: 12px; }

.icon { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.arrow { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 14px;
  font-weight: 550;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
}
.btn:hover { background: var(--surface-3); }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: var(--accent-ink); font-weight: 650; }
.btn-primary:hover { background: #c6ff52; }

kbd {
  display: inline-block;
  min-width: 1.6em;
  padding: 1px 6px;
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--surface-1);
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 0.78em;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
}

.soon {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.6;
  text-transform: none;
  vertical-align: middle;
  white-space: nowrap;
}

/* ————————————————————————————— 3. top bar ————————————————————————————— */

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--top-h);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 7, 8, 0.82);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
}
.top-inner { display: flex; align-items: center; gap: 14px; height: 100%; max-width: 1480px; margin-inline: auto; padding-inline: var(--gutter); }

.brand { display: inline-flex; align-items: center; gap: 9px; flex: none; }
.brand-mark { width: 26px; height: 26px; }
.mark-tile { fill: var(--surface-3); }
.mark-bars { fill: var(--accent); }
.brand-name { font-family: var(--font-display); font-size: 18px; font-weight: 650; letter-spacing: -0.02em; }
.brand-docs { padding-left: 9px; border-left: 1px solid var(--line-strong); color: var(--text-2); font-size: 15px; font-weight: 500; line-height: 1; }

.search-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: min(280px, 30vw);
  height: 36px;
  margin-left: auto;
  padding: 0 10px 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-1);
  color: var(--text-3);
  font-size: 14px;
  transition: border-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
.search-btn:hover { border-color: var(--line-strong); color: var(--text-2); }
.search-btn span { flex: 1; text-align: left; }
.search-btn kbd { border-bottom-width: 1px; }

.top-links { display: flex; gap: 4px; }
.top-links a { padding: 6px 10px; border-radius: 999px; color: var(--text-2); font-size: 14px; font-weight: 500; transition: color var(--dur-1) var(--ease), background var(--dur-1) var(--ease); }
.top-links a:hover { color: var(--text); background: var(--surface-2); }

.icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 999px; background: transparent; color: var(--text-2); }
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.menu-btn { display: none; margin-left: -8px; }

/* ————————————————————————————— 4. frame ————————————————————————————— */

.frame {
  display: grid;
  grid-template-columns: var(--side-w) minmax(0, 1fr) var(--toc-w);
  gap: clamp(24px, 3.4vw, 56px);
  max-width: 1480px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.side, .toc {
  position: sticky;
  top: var(--top-h);
  align-self: start;
  max-height: calc(100vh - var(--top-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--surface-3) transparent;
}
.side { padding: 28px 12px 48px 0; }
.side-group + .side-group { margin-top: 26px; }
.side-label { padding: 0 12px 6px; color: var(--text-3); font-size: 12.5px; font-weight: 600; letter-spacing: 0.01em; }
.side ul { list-style: none; padding: 0; }
.side a {
  display: block;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.35;
  transition: color var(--dur-1) var(--ease), background var(--dur-1) var(--ease);
}
.side a:hover { color: var(--text); background: var(--surface-1); }
.side a[aria-current='page'] { color: var(--text); background: var(--surface-2); font-weight: 550; }

.toc { padding: 36px 0 48px; }
.toc-label { padding-bottom: 8px; color: var(--text-3); font-size: 12.5px; font-weight: 600; }
.toc ul { list-style: none; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; margin-left: -1px; padding: 4px 0 4px 14px; border-left: 1px solid transparent; color: var(--text-3); font-size: 13.5px; line-height: 1.4; transition: color var(--dur-1) var(--ease); }
.toc a:hover { color: var(--text); }
.toc .toc-3 a { padding-left: 26px; }
.toc a.here { border-left-color: var(--accent); color: var(--text); }

.main { min-width: 0; padding: 44px 0 72px; }

/* ————————————————————————————— 5. article ————————————————————————————— */

.doc { max-width: 860px; }
.doc-head { margin-bottom: 36px; }
.doc-head h1 { font-family: var(--font-display); font-size: clamp(32px, 4.4vw, 44px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.08; text-wrap: balance; }
.doc-head h1 .soon { font-size: 12.5px; transform: translateY(-4px); }
.lede { margin-top: 14px; max-width: 62ch; color: var(--text-2); font-size: 19px; line-height: 1.5; text-wrap: pretty; }

.prose > * + * { margin-top: 18px; }
.prose p, .prose li { max-width: 72ch; text-wrap: pretty; }
.prose h2 { position: relative; margin-top: 56px; padding-top: 8px; font-family: var(--font-display); font-size: 26px; font-weight: 650; letter-spacing: -0.025em; line-height: 1.2; }
.prose h3 { position: relative; margin-top: 36px; font-size: 18.5px; font-weight: 650; letter-spacing: -0.012em; line-height: 1.3; }
.prose h2 + *, .prose h3 + * { margin-top: 12px; }
.prose > h2:first-child { margin-top: 0; }
.anchor { position: absolute; left: -22px; width: 22px; color: var(--text-3); font-weight: 400; opacity: 0; transition: opacity var(--dur-1) var(--ease), color var(--dur-1) var(--ease); }
h2:hover .anchor, h3:hover .anchor, .anchor:focus-visible { opacity: 1; }
.anchor:hover { color: var(--accent); }

.prose a:not(.shot-link):not(.anchor) { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent-line); text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: text-decoration-color var(--dur-1) var(--ease); }
.prose a:not(.shot-link):not(.anchor):hover { text-decoration-color: var(--accent); }
.prose strong { font-weight: 650; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 7px; }
.prose li::marker { color: var(--text-3); }
.prose ol > li::marker { font-family: var(--font-mono); font-size: 0.86em; }
.prose hr { height: 1px; margin-block: 44px; border: 0; background: var(--line); }

.prose code { padding: 1.5px 5px; border-radius: 5px; background: var(--surface-2); font-family: var(--font-code); font-size: 0.86em; }
.prose p code, .prose li code { overflow-wrap: anywhere; }
.code {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface-0);
  font-family: var(--font-code);
  font-size: 13px;
  line-height: 1.7;
  overflow-x: auto;
  tab-size: 2;
  scrollbar-width: thin;
  scrollbar-color: var(--surface-3) transparent;
}
.code code { padding: 0; background: none; font-size: inherit; }
/* ode tokens. The blog, the docs, the landing page and the editor carry the same list. */
.tok-comment { color: #7d8799; font-style: italic; }
.tok-string { color: #c3e88d; }
.tok-kw { color: #c792ea; }
.tok-label { color: #f4f4f6; font-weight: 600; }
.tok-sound { color: #82aaff; }
.tok-prop { color: #89ddff; }
.tok-fn { color: #82aaff; }
.tok-number { color: #f78c6c; }
.tok-hit { color: #b8ff2e; }
.tok-rest { color: #525154; }
.tok-pitch { color: #ffcb6b; }
.tok-mark { color: #c792ea; }
.tok-bar { color: #7d8799; }
.tok-punct { color: #6b6b70; }

.note { padding: 14px 16px 14px 18px; border-radius: var(--r-md); background: var(--surface-1); box-shadow: inset 2px 0 0 var(--accent-line); color: var(--text-2); font-size: 15px; }
.note p { max-width: none; }
.note strong { color: var(--text); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
th, td { padding: 10px 14px; text-align: left; vertical-align: top; }
thead th { background: var(--surface-1); color: var(--text-3); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
tbody tr + tr { border-top: 1px solid var(--line); }
tbody th { color: var(--text); font-weight: 550; white-space: nowrap; }
tbody td { color: var(--text-2); }
.table-wrap.wide table { min-width: 620px; }
.names { color: var(--text-2); line-height: 2; }
.nw { white-space: nowrap; }

/* screenshots */
.shot { margin-block: 28px; }
.shot-link {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--surface-0);
  box-shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.9);
  cursor: zoom-in;
  transition: border-color var(--dur-2) var(--ease);
}
.shot-link:hover { border-color: rgba(255, 255, 255, 0.24); }
.shot img { width: 100%; height: auto; }
.shot figcaption { margin-top: 10px; max-width: 72ch; color: var(--text-3); font-size: 13.5px; line-height: 1.5; }
.shot figcaption code { font-size: 0.9em; }
.shot + ol { margin-top: 18px; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 860px; margin-top: 64px; }
.pager-link { display: flex; flex-direction: column; gap: 3px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color var(--dur-1) var(--ease), background var(--dur-1) var(--ease); }
.pager-link:hover { border-color: var(--line-strong); background: var(--surface-0); }
.pager-next { text-align: right; }
.pager-dir { color: var(--text-3); font-size: 13px; }
.pager-title { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }

.foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; max-width: 860px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 13.5px; }
.foot a { color: var(--text-2); transition: color var(--dur-1) var(--ease); }
.foot a:hover { color: var(--text); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.foot .foot-agents { order: 3; flex-basis: 100%; margin: 0; font-size: 12.5px; }

/* ————————————————————————————— 6. home ————————————————————————————— */

.doc-home { max-width: 980px; }
.home-section { margin-top: 52px; }
.home-section h2 { font-family: var(--font-display); font-size: 22px; font-weight: 650; letter-spacing: -0.02em; }
.home-summary { margin-top: 6px; max-width: 62ch; color: var(--text-2); font-size: 15px; line-height: 1.55; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; margin-top: 16px; padding: 0; list-style: none; }
.card { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface-0); transition: border-color var(--dur-1) var(--ease), background var(--dur-1) var(--ease); }
.card:hover { border-color: var(--line-strong); background: var(--surface-1); }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 16px; font-weight: 620; letter-spacing: -0.01em; }
.card-title .arrow { color: var(--text-3); transition: transform var(--dur-2) var(--ease), color var(--dur-1) var(--ease); }
.card:hover .arrow { color: var(--accent); transform: translateX(2px); }
.card-desc { color: var(--text-2); font-size: 14px; line-height: 1.5; }

/* ————————————————————————————— 7. search, lightbox ————————————————————————————— */

dialog { padding: 0; border: 0; color: var(--text); }
dialog::backdrop { background: rgba(0, 0, 0, 0.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

.search { width: min(640px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 120px)); margin-top: 88px; border: 1px solid var(--line-strong); border-radius: var(--r-xl); background: var(--surface-1); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); overflow: hidden; }
.search[open] { display: flex; flex-direction: column; }
.search-field { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--text-3); }
.search-field input { flex: 1; min-width: 0; border: 0; background: none; font-size: 17px; }
.search-field input::placeholder { color: var(--text-3); }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-results { margin: 0; padding: 6px; list-style: none; overflow-y: auto; }
.search-results:empty { display: none; }
.search-results a { display: block; padding: 10px 12px; border-radius: var(--r-md); }
.search-results a.on, .search-results a:hover { background: var(--surface-3); }
.result-title { display: block; font-size: 15px; font-weight: 600; }
.result-title small { margin-left: 6px; color: var(--text-3); font-size: 13px; font-weight: 450; }
.result-text { display: block; margin-top: 2px; color: var(--text-2); font-size: 13.5px; line-height: 1.45; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.result-text mark, .result-title mark { background: none; color: var(--accent); }
.search-empty { margin: 0; padding: 22px 16px 26px; color: var(--text-3); font-size: 14.5px; text-align: center; }

.lightbox { max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: transparent; cursor: zoom-out; }
.lightbox[open] { display: grid; place-items: center; padding: 24px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 48px); width: auto; height: auto; border: 1px solid var(--line-strong); border-radius: var(--r-lg); box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8); }

.scrim { position: fixed; inset: 0; z-index: 35; border: 0; background: rgba(0, 0, 0, 0.6); }

/* ————————————————————————————— 8. small screens, print ————————————————————————————— */

@media (max-width: 1180px) {
  .frame { grid-template-columns: var(--side-w) minmax(0, 1fr); }
  .toc { display: none; }
}

@media (max-width: 860px) {
  .frame { display: block; }
  .menu-btn { display: inline-grid; }
  .top-links { display: none; }
  .search-btn { width: 36px; padding: 0; justify-content: center; border-color: transparent; background: transparent; color: var(--text-2); }
  .search-btn span, .search-btn kbd { display: none; }
  .side {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    width: min(300px, 84vw);
    max-height: none;
    padding: 20px 14px 40px;
    border-right: 1px solid var(--line);
    background: var(--surface-0);
    transform: translateX(-102%);
    transition: transform var(--dur-2) var(--ease);
  }
  body.side-open .side { transform: none; }
  .main { padding-top: 30px; }
  .anchor { display: none; }
  .lede { font-size: 17.5px; }
  .prose h2 { margin-top: 44px; font-size: 23px; }
}

/* a table becomes a stack of cards, one per row */
@media (max-width: 640px) {
  .table-wrap, .table-wrap.wide { overflow: visible; border: 0; border-radius: 0; }
  .table-wrap.wide table { min-width: 0; }
  table, tbody, tbody tr, tbody th, tbody td { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  tbody tr { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-0); }
  tbody tr + tr { margin-top: 8px; }
  tbody th, tbody td { padding: 0; white-space: normal; }
  tbody td { margin-top: 6px; }
  tbody td[data-label]::before { content: attr(data-label); display: block; margin-top: 10px; color: var(--text-3); font-size: 12px; font-weight: 600; }
  tbody th code, tbody td code { white-space: normal; overflow-wrap: anywhere; }
}

@media (max-width: 520px) {
  .brand-docs { display: none; }
  .top .btn-primary { padding: 0 12px; }
  .pager { grid-template-columns: 1fr; }
  .pager-next { text-align: left; }
}

/* the smallest phones, and larger ones set to display zoom (320px wide):
   the bar keeps the mark and drops the name so nothing runs off the side */
@media (max-width: 360px) {
  .top .brand-name { display: none; }
}

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

@media print {
  .top, .side, .toc, .pager, .foot, .search, .lightbox { display: none !important; }
  .frame { display: block; }
  body { background: #fff; color: #000; }
}

/* ———— ultra compose, wherever it is named ————
   The words take on the quality bar's ultra field: bold, filled with lime
   pixels that shimmer, a light that crosses them and a soft glow. Wrapped at
   build time (scripts/ultra-words.mjs). The same rules sit in
   public/blog/blog.css and public/docs/docs.css: keep them alike. */
.ultra-word {
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .ultra-word {
    background:
      linear-gradient(100deg, transparent 38%, rgba(255, 255, 255, 0.95) 50%, transparent 62%) 130% 0 / 300% 100% no-repeat,
      repeating-conic-gradient(rgba(250, 255, 235, 0.55) 0 25%, transparent 0 50%) 0 0 / 4px 4px,
      repeating-conic-gradient(rgba(110, 170, 0, 0.55) 0 25%, transparent 0 50%) 1px 1px / 6px 6px,
      #b8ff2e;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 5px rgba(184, 255, 46, 0.42));
    animation: ultra-word-pixels 0.9s steps(2) infinite, ultra-word-sheen 4.6s cubic-bezier(0.2, 0.8, 0.2, 1) infinite, ultra-word-glow 2.3s ease-in-out infinite alternate;
  }
}
@keyframes ultra-word-pixels {
  from { background-position-y: 0, 0, 1px, 0; }
  to { background-position-y: 0, 4px, 7px, 0; }
}
@keyframes ultra-word-sheen {
  0% { background-position-x: 130%, 0, 1px, 0; }
  40%, 100% { background-position-x: -30%, 0, 1px, 0; }
}
@keyframes ultra-word-glow {
  from { filter: drop-shadow(0 0 3px rgba(184, 255, 46, 0.3)); }
  to { filter: drop-shadow(0 0 8px rgba(184, 255, 46, 0.6)); }
}
@media (prefers-reduced-motion: reduce) {
  .ultra-word { animation: none !important; }
}

/* thin, quiet scrollbars, as in the app (public/styles.css): no arrows, no
   track, a rounded thumb */
* { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.16) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border: 3px solid transparent;
  border-radius: 99px;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background-color: rgba(255, 255, 255, 0.28); }
::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: transparent; }
::-webkit-scrollbar-button { display: none; }

/* Section icons (docs-site/icons/<section>.svg), beside a section's name. */
.section-icon { display: inline-block; width: 1.15em; height: 1.15em; margin-right: 0.45em; vertical-align: -0.2em; flex: none; }
.home-section h2 .section-icon { width: 1.05em; height: 1.05em; vertical-align: -0.15em; }
