/* Readable server guides. Shared with the embedded Wiki; no layout dependency. */
.wiki-body { font-size: 16px; line-height: 1.7; color: #cec7c2; overflow-wrap: break-word; }
.wiki-body p, .wiki-body li { font-size: 1rem !important; line-height: 1.7 !important; color: #cec7c2 !important; }
.wiki-body p { margin: 0 0 1.2rem; }
.wiki-body .wiki-lead { font-size: 1.0625rem !important; color: #e5ded9 !important; }
.wiki-body h2 { font-size: 1.25rem !important; line-height: 1.35; letter-spacing: -.015em; color: #f0eae6; margin: 2.5rem 0 .85rem !important; font-weight: 700; text-wrap: balance; }
.wiki-body h3 { font-size: 1.0625rem !important; line-height: 1.4; color: #eee5df; margin: 1.75rem 0 .65rem !important; font-weight: 700; }
.wiki-body > h2:first-child { margin-top: 0 !important; }
.wiki-body h2 strong, .wiki-body h3 strong { font-weight: inherit; }
.wiki-body strong { color: #eee8e3; }
.wiki-body ul, .wiki-body ol { padding-left: 1.4rem; margin: .75rem 0 1.5rem; }
.wiki-body li { padding-left: .2rem; margin: .4rem 0; }
.wiki-body li::marker { color: #ee6c76; }
.wiki-body code { font-size: .875em !important; text-transform: none; letter-spacing: 0; white-space: normal; overflow-wrap: anywhere; color: #f3d1d2; background: #26191d; border: 1px solid #53343b; border-radius: 4px; padding: .15em .4em; }
.wiki-body .wiki-table-wrap { width: 100%; max-width: 100%; margin: 1rem 0 1.75rem; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-color: #7f414b #141519; }
.wiki-body .wiki-table { width: 100%; min-width: 0; table-layout: auto; border-collapse: collapse; border: 0; background: rgba(255,255,255,.018); font-size: .9375rem; line-height: 1.55; }
.wiki-body .wiki-table th, .wiki-body .wiki-table td { font-size: .9375rem !important; line-height: 1.55; text-transform: none; letter-spacing: 0; padding: .85rem 1rem !important; border: 0; border-bottom: 1px solid #3d383b !important; color: #d3ccc7; text-align: left; vertical-align: top; white-space: normal; overflow-wrap: break-word; }
.wiki-body .wiki-table th[scope="row"] { width: 32%; font-weight: 600; color: #eee7e2; background: transparent; }
.wiki-body .wiki-table thead th { font-weight: 700; color: #fff0ee; background: #2b2025; vertical-align: bottom; }
.wiki-body .wiki-table tbody tr:nth-child(even) { background: rgba(255,255,255,.018); }
.wiki-body .wiki-table .wiki-numeric { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wiki-body .wiki-table-wide { min-width: 660px; }
.wiki-body .wiki-table-wide th[scope="row"] { width: auto; }
.wiki-body .wiki-table-wide td:nth-child(5) { min-width: 210px; }
.wiki-body .wiki-banner { padding: 0; margin: 1.75rem 0; border: 0; background: transparent; text-align: left; }
.wiki-body .wiki-banner img { display: block; max-width: 100%; width: auto; height: auto; border-radius: 8px; }
.wiki-body .wiki-img-sm img { max-height: 360px; object-fit: contain; object-position: left; }
.wiki-body .wiki-hint, .wiki-body .wiki-warn { padding: 1rem 1.2rem; margin: 1.5rem 0; border: 1px solid #594047; border-radius: 12px; color: #ede4df; background: rgba(153,45,61,.09); font-size: .9375rem !important; line-height: 1.65 !important; }
.wiki-body .wiki-warn { background: rgba(163,32,49,.14); }
.wiki-body .wiki-hr { border: 0; border-top: 1px solid #42373b; opacity: 1; margin: 2rem 0; }
.wiki-body .wiki-updated { color: #bdb4ad !important; font-size: .875rem !important; }
#wiki-overlay .wiki-ov-panel { max-width: 1180px; }
#wiki-overlay .wiki-ov-panel .wiki-ov-main { min-width: 0; padding: 32px 36px; scrollbar-color: #7f414b #141519; }
#wiki-overlay .wiki-ov-main > .wiki-ov-pane { max-width: 72ch; margin-inline: auto; }
#wiki-overlay .wiki-ov-main .wiki-ov-pane > h1 { font-size: clamp(1.5rem, 2vw, 1.875rem); line-height: 1.2; letter-spacing: -.025em; color: #f8f0eb; margin: 0 0 1.75rem; font-weight: 700; text-wrap: balance; }
#wiki-overlay .wiki-ov-panel .wiki-ov-side { width: 238px; padding-block: 12px; scrollbar-color: #7f414b #141519; }
#wiki-overlay .wiki-ov-side .wiki-ov-link { font-size: .875rem; line-height: 1.45; min-height: 44px; padding: 12px 16px; border-left-width: 1px; color: #d1c8c2; }
#wiki-overlay .wiki-ov-side .wiki-ov-link.active { color: #fff; background: rgba(193,42,58,.16); }
#wiki-overlay .wiki-ov-side-head { text-transform: none; letter-spacing: 0; font-size: .8125rem; color: #c5b8b2; }
#wiki-overlay .wiki-ov-top .wiki-ov-search input { font-size: 16px; }
#wiki-overlay .wiki-language { min-height: 44px; max-width: 130px; padding: 8px 28px 8px 10px; border: 1px solid #55444b; border-radius: 8px; font: inherit; font-size: .8125rem; color: #f3e9e4; background: #211c20; cursor: pointer; }
#wiki-overlay .wiki-ov-close { color: #eee5df; }
#wiki-overlay .wiki-ov-empty { color: #d0c3bd; }
/* Launcher host uses the same guide body and an older rendering engine. */
.main > .pane { max-width: 72ch; margin: 0 auto; }
.main > .pane > h1 { font-size: 28px; line-height: 1.25; margin: 0 0 28px; }
@media (max-width: 767.98px) {
  #wiki-overlay.wiki-overlay { padding: 0 !important; }
  #wiki-overlay .wiki-ov-panel { width: 100%; height: 100dvh !important; max-height: 100dvh; border: 0 !important; border-radius: 0 !important; }
  #wiki-overlay .wiki-ov-panel .wiki-ov-main { padding: 24px 20px; }
  #wiki-overlay .wiki-ov-panel .wiki-ov-side { width: 100%; max-height: 118px; padding-block: 4px; }
  #wiki-overlay .wiki-ov-side-head { display: none; }
  #wiki-overlay .wiki-ov-side nav { display: flex; gap: 4px; overflow-x: auto; padding: 4px 8px; }
  #wiki-overlay .wiki-ov-side .wiki-ov-link { width: auto; flex: 0 0 auto; max-width: 200px; border-left: 0; border-radius: 8px; padding: 10px 12px; }
  #wiki-overlay .wiki-ov-main .wiki-ov-pane > h1 { margin-bottom: 24px; }
  #wiki-overlay .wiki-ov-top .wiki-ov-brand { font-size: .8125rem; }
  .wiki-body .wiki-table th, .wiki-body .wiki-table td { padding: .75rem .65rem !important; }
  .wiki-body .wiki-table th[scope="row"] { width: 36%; }
  .wiki-body h2 { margin-top: 2rem !important; }
  .wiki-body .wiki-table-wide { min-width: 660px; }
  .top .brand { width: 120px; }
  .top .search { left: 140px; }
  .side { width: 150px; }
  .main { left: 150px; padding: 20px 16px; }
}
