/* Wiki-only reading and illustration styles. */
.wiki-figure { margin: 30px 0 36px; overflow: hidden; border: 1px solid #536253; border-radius: 12px; background: #15232b; }
.wiki-figure a { display: block; }
.wiki-figure img { display: block; width: 100%; height: auto; }
.wiki-figure figcaption { padding: 17px 22px 20px; color: #e0e3d6; font-size: 14px; line-height: 1.7; border-top: 1px solid #43574b; }
.wiki-figure figcaption span { display: block; font-size: 10px; letter-spacing: .14em; font-weight: 750; color: #bdcea5; margin-bottom: 5px; }
.wiki-table-scroll { max-width: 100%; overflow-x: auto; margin: 22px 0; border: 1px solid #564763; border-radius: 10px; scrollbar-color: #8f769e #21172e; }
.wiki-table-scroll table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.65; text-align: left; }
.wiki-table-scroll th { color: #f2eada; background: #30243c; font-weight: 650; }
.wiki-table-scroll :is(th, td) { padding: 13px 16px; border-bottom: 1px solid #44354e; vertical-align: top; }
.wiki-table-scroll td { color: #e0d9e7; }
.wiki-table-scroll tr:nth-child(even) td { background: #ffffff04; }
.wiki-table-scroll tr:last-child td { border-bottom: 0; }
.wiki-table-scroll code { white-space: nowrap; font-size: 12px; }
.wiki-reading .wiki-section > h2:not(:first-child) { margin-top: 42px; padding-top: 24px; border-top: 1px solid #47374f; }
.wiki-reading .wiki-section > p { line-height: 1.85; }
.wiki-reading .wiki-section :is(ul, ol) li + li { margin-top: 9px; }
.wiki-reading .wiki-section a { text-underline-offset: 4px; }
.wiki-reading { min-width: 0; }
.wiki-directory-art { margin: 0 0 26px; }
.wiki-directory-art img { max-height: 270px; object-fit: contain; }
.wiki-figure a:focus-visible, .wiki-table-scroll:focus-visible { outline: 3px solid #e0c58a; outline-offset: -3px; }
@media (max-width: 600px) {
  .wiki-figure { margin-inline: -8px; border-radius: 8px; }
  .wiki-figure figcaption { padding: 13px 15px; }
  .wiki-table-scroll :is(th, td) { padding: 10px 12px; min-width: 85px; }
  .wiki-table-scroll table { min-width: 460px; }
  .wiki-directory-art { margin-inline: 0; }
}
@media print {
  .wiki-table-scroll { overflow: visible; }
  .wiki-table-scroll :is(th, td) { color: #111; background: #fff; }
  .wiki-figure { break-inside: avoid; }
}
