/* The wiki's pages (Pages/Wiki.cshtml). It is loaded after home.css and uses
   its colours and lettering, so the wiki looks like the rest of the site. */

/* The strip along the top: the game's name on the left, the ways out on the right. */
.wikiTop{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
  max-width:720px;margin:0 auto;
  padding:max(14px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left));
  border-bottom:1px solid var(--line)}
.wikiTop .name{font-family:var(--display);font-weight:700;color:var(--gold);text-decoration:none;font-size:18px;letter-spacing:1px}
.wikiTop nav{display:flex;gap:16px;width:auto;flex-wrap:nowrap}
.wikiTop nav a{font-family:var(--display);font-size:14px;color:var(--teal);text-decoration:none}
.wikiTop a:focus-visible{outline:2px solid var(--gold);outline-offset:3px}

/* The page itself: one column of reading, left-aligned (the home page centres). */
main.wiki{max-width:720px;display:block;text-align:left;
  padding:18px max(16px, env(safe-area-inset-right)) max(48px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left))}
.wiki article{font-size:17px;line-height:1.55}
.wiki h1{font-size:clamp(22px, 6.5vw, 34px);margin:6px 0 14px;text-align:left;line-height:1.2}
.wiki h2{font-family:var(--display);font-weight:400;font-size:17px;color:var(--gold);margin:30px 0 8px;letter-spacing:.5px}
.wiki h3{font-size:17px;margin:22px 0 6px}
.wiki p{margin:0 0 14px}
.wiki a{color:var(--teal)}
.wiki a:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.wiki ul,.wiki ol{margin:0 0 14px;padding-left:22px}
.wiki li{margin:0 0 6px}
.wiki li>ul{margin:6px 0 0}
.wiki strong{color:#fff8e8}
.wiki code{background:var(--panel);border:1px solid var(--line);border-radius:4px;padding:1px 5px;font-size:.9em}
.wiki blockquote{margin:0 0 14px;padding:2px 14px;border-left:3px solid var(--gold);color:var(--muted)}

/* A table scrolls sideways inside itself on a narrow screen, so the page never does. */
.wiki table{display:block;overflow-x:auto;border-collapse:collapse;margin:0 0 16px;max-width:100%}
.wiki th,.wiki td{border:1px solid var(--line);padding:7px 10px;text-align:left;vertical-align:top}
.wiki th{background:var(--panel);font-weight:700}

/* A picture cut from a sprite sheet (WikiPages.cs sets its size and which
   part of the sheet shows). Pixel art: enlarged with hard edges, not smoothed. */
.sprite{display:inline-block;vertical-align:bottom;background-repeat:no-repeat;image-rendering:pixelated;margin:4px 12px 4px 0}

/* Only on the dev site: what the live site will make of this page. */
.makers{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 14px;font-size:13px;color:var(--muted)}
.tag{font-family:var(--display);font-size:11px;padding:3px 8px;border-radius:999px;border:1px solid var(--line);color:var(--muted)}
.tag.shown{border-color:var(--teal);color:var(--teal)}
.tag.kept{border-color:var(--gold);color:var(--gold)}
