/* Wiki and FAQ pages (tools/wiki-gen writes this file from tools/wiki-gen/web/wiki.css: edit it there).
   Builds on assets/styles.css: same colours, fonts and .prose tables. */
.wiki-stamp { margin-top: .6em; }
.wiki-stamp strong { color: var(--gold-hi); }
.wiki-crumbs { font-size: .9rem; color: var(--muted); margin-bottom: .4em; }
.wiki-crumbs a { color: var(--muted); }
.wiki-lines { padding-left: 1.2em; }
.wiki-lines li { margin: .35em 0; }
.wiki-table caption { text-align: left; color: var(--muted); padding-bottom: .4em; }
.wiki-table th[scope="row"] { color: var(--gold-hi); font-weight: normal; white-space: nowrap; }
.wiki-table td, .wiki-table th { vertical-align: top; }
.wiki-diagram { margin: 1.2em 0; text-align: center; }
.wiki-diagram svg { max-width: 100%; height: auto; }
.svg-label { fill: var(--text); font-family: var(--body); font-size: 13px; }
.svg-small { font-size: 11px; }
.svg-note { fill: var(--muted); font-family: var(--body); font-size: 12px; }
.wiki-chain { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; }
.wiki-arrow { color: var(--gold); font-size: 1.2rem; }
.wiki-links { list-style: none; padding: 0; margin: .4em 0 0; }
.wiki-links li { margin: .3em 0; }
.wiki-sections { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 1.4em; }
@media (min-width: 700px) { .wiki-sections { grid-template-columns: 1fr 1fr; } }
.wiki-sections .card + .card { margin-top: 0; }
.wiki-sections h2 { margin-top: 0; }
.wiki-search { margin: 1em 0 .4em; }
.wiki-search input { width: 100%; }
.wiki-results { list-style: none; padding: 0; margin: .4em 0 1em; }
.wiki-results li { padding: .35em 0; border-bottom: 1px solid var(--line); }
.wiki-langs { margin-top: 2em; padding-top: 1em; border-top: 1px solid var(--line); }
.wiki-langs ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.wiki-langs a[aria-current="page"] { color: var(--gold-hi); text-decoration: none; font-weight: bold; }
.wiki-facts { display: grid; grid-template-columns: max-content 1fr; gap: .3em 1em; margin: 1em 0; }
.wiki-facts dt { color: var(--muted); }
.wiki-facts dd { margin: 0; }
.wiki-glossary dt { margin-top: .8em; }
.wiki-glossary dd { margin: .2em 0 0; color: var(--muted); }
.wiki-en { border-left: 3px solid var(--gold-dim); padding-left: 1em; }
.wiki-see { margin-top: 1.4em; }
.wiki-toc { margin: 1em 0 1.6em; }
@media (max-width: 480px) { .wiki-facts { grid-template-columns: 1fr; } .wiki-facts dd { margin-bottom: .4em; } .wiki-table th[scope="row"] { white-space: normal; } }
