/* Terrahypt Wiki — static mirror stylesheet */
:root { color-scheme: light; }
* { box-sizing: border-box; }
body {
  margin: 0; background: #f6f6f6; color: #202122;
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6; font-size: 16px;
}
.topnav {
  background: #1b2a3a; padding: 10px 18px; display: flex; gap: 22px; align-items: center;
}
.topnav a { color: #d7e3ee; text-decoration: none; font-size: 15px; }
.topnav a:first-child { font-weight: 700; font-size: 17px; color: #fff; }
.topnav a:hover { text-decoration: underline; }
main {
  max-width: 1020px; margin: 0 auto; background: #fff; padding: 24px 34px 40px;
  border-left: 1px solid #ddd; border-right: 1px solid #ddd; min-height: 80vh;
}
h1 { font-family: Georgia, "Times New Roman", serif; font-weight: normal;
     border-bottom: 1px solid #a2a9b1; padding-bottom: 6px; margin-top: 4px; }
h2 { font-family: Georgia, "Times New Roman", serif; font-weight: normal;
     border-bottom: 1px solid #a2a9b1; padding-bottom: 4px; margin-top: 1.2em; }
a { color: #0645ad; text-decoration: none; }
a:hover { text-decoration: underline; }
a.new { color: #ba0000; }
img { max-width: 100%; height: auto; }
table { border-collapse: collapse; margin: 0.8em 0; }
th, td { border: 1px solid #a2a9b1; padding: 5px 9px; vertical-align: top; }
th { background: #eaecf0; }
/* Portable infoboxes */
aside.portable-infobox, .portable-infobox {
  float: right; clear: right; width: 290px; margin: 0 0 14px 20px;
  background: #f8f9fa; border: 1px solid #a2a9b1; padding: 10px; font-size: 14px;
}
.pi-title, .pi-header { text-align: center; font-weight: 700; }
figure { margin: 0.6em 0; }
figcaption { font-size: 13px; color: #54595d; }
.thumb, .floatright { float: right; clear: right; margin: 0 0 12px 18px; }
.floatleft { float: left; clear: left; margin: 0 18px 12px 0; }
#toc, .toc { background: #f8f9fa; border: 1px solid #a2a9b1; display: inline-block;
  padding: 8px 16px 8px 4px; font-size: 14px; margin: 10px 0; }
#toc ul, .toc ul { margin: 4px 0; }
.categories { clear: both; margin-top: 28px; padding: 9px 12px; background: #f8f9fa;
  border: 1px solid #a2a9b1; font-size: 14px; }
footer { max-width: 1020px; margin: 0 auto; padding: 14px 34px 30px;
  font-size: 13px; color: #54595d; }
#wiksearch { width: 100%; max-width: 480px; padding: 9px 12px; font-size: 16px;
  border: 1px solid #a2a9b1; border-radius: 4px; }
#wikresults { list-style: none; padding: 0; margin: 8px 0; }
#wikresults li { padding: 3px 0; }
.azlist { columns: 3; column-gap: 34px; }
.azlist li { break-inside: avoid; margin: 2px 0; }
@media (max-width: 720px) {
  .azlist { columns: 1; }
  aside.portable-infobox, .portable-infobox, .thumb, .floatright, .floatleft {
    float: none; margin: 10px auto; }
  main { padding: 16px; }
}
/* Hide Fandom / MediaWiki chrome that survives in parsed HTML */
.mw-editsection, .editsection, #toc .toctogglespan, .noprint .mw-editsection { display: none !important; }
.wikia-menu-button, .article-comments, #articleComments, .page__actions,
.CategorySelect, .category-select, .license-description { display: none !important; }
