@font-face { font-family: Bangers; src: url('./fonts/bangers-0.ttf'); font-display: swap; }
@font-face { font-family: Hand; src: url('./fonts/patrick-hand-0.ttf'); font-display: swap; }
@font-face { font-family: Mono; src: url('./fonts/plex-mono-0.ttf'); font-display: swap; }
@font-face { font-family: Mono; src: url('./fonts/plex-mono-2.ttf'); font-weight: 600; font-display: swap; }
:root { --paper: #fff; --ink: #242424; --yellow: #edb930; --muted: #666; --rule: color-mix(in srgb, var(--ink) 20%, transparent); color: var(--ink); background: var(--paper); font-synthesis: none; }
* { box-sizing: border-box; }
html { scroll-padding-top: 100px; }
body { margin: 0; font: 15px/1.8 Mono, monospace; }
a { color: inherit; text-underline-offset: 4px; }
button, select { font: inherit; color: inherit; }
a:focus-visible, summary:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 3px solid #3979e9; outline-offset: 5px; }
.skip-link { position: fixed; z-index: 5; top: 8px; left: 16px; padding: 8px 16px; background: var(--paper); border: 2px solid var(--ink); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.wiki-header { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; padding: 12px max(24px, calc((100vw - 1240px) / 2)); border-bottom: 1px solid var(--rule); background: var(--paper); }
.wiki-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.wiki-brand img { display: block; height: auto; }
.wiki-header nav { display: flex; align-items: center; gap: 28px; font-size: 12px; }
.wiki-header nav a { text-decoration: none; padding-block: 8px; }
.wiki-header nav [aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }
.back-to-game { font: 22px Hand, cursive; white-space: nowrap; }
.wiki-shell, .wiki-footer { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.wiki-intro { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 285px; padding: 48px 0 36px; border-bottom: 2px solid var(--ink); }
.wiki-eyebrow { margin: 0 0 18px; color: var(--muted); font-size: 10px; letter-spacing: 2px; }
.wiki-intro h1 { font: 400 clamp(48px, 6.5vw, 82px)/1 Bangers, Impact, sans-serif; letter-spacing: 1px; margin: 0; transform: rotate(-1deg); }
.wiki-lead { font: 27px/1.3 Hand, cursive; margin: 16px 0 0; }
.wiki-sketch { flex: 0 0 220px; text-align: center; transform: rotate(3deg); }
.wiki-sketch svg { display: block; width: 220px; height: 170px; }
.wiki-sketch span { font: 19px Hand, cursive; }
.wiki-layout { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: clamp(32px, 6vw, 90px); padding: 44px 0 70px; align-items: start; }
.wiki-sidebar { position: sticky; top: 108px; max-height: calc(100dvh - 132px); overflow-y: auto; padding: 4px 8px 12px 0; }
.wiki-index summary { font-size: 10px; letter-spacing: 1.5px; font-weight: 600; cursor: pointer; padding: 0 0 15px; }
.wiki-index ol { list-style: none; padding: 0; margin: 0; }
.wiki-index a { display: flex; align-items: baseline; gap: 12px; padding: 8px 4px; font-size: 11px; line-height: 1.7; text-decoration: none; border-left: 2px solid transparent; }
.wiki-index a span { font-size: 9px; color: var(--muted); }
.wiki-index a:hover { text-decoration: underline; }
.wiki-index a[aria-current] { border-left-color: var(--yellow); background: color-mix(in srgb, var(--yellow) 12%, transparent); }
.wiki-appearance { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 11px; }
.wiki-appearance select { background: var(--paper); border: 1px solid var(--rule); border-radius: 2px; padding: 7px 24px 7px 10px; max-width: 130px; }
.wiki-article { min-width: 0; overflow-wrap: break-word; }
.wiki-article h2 { font: 400 36px/1.2 Bangers, Impact, sans-serif; letter-spacing: .4px; margin: 64px 0 24px; padding-top: 30px; border-top: 1px solid var(--rule); }
.wiki-article h2:first-child { padding-top: 0; margin-top: 0; border: 0; }
.wiki-article h3 { font: 400 27px/1.25 Hand, cursive; margin: 32px 0 16px; }
.heading-link { text-decoration: none; }
.heading-link span { color: var(--muted); opacity: 0; margin-left: 10px; font-size: .65em; }
.heading-link:hover span, .heading-link:focus-visible span { opacity: 1; }
.wiki-article p { margin: 0 0 22px; }
.wiki-article strong { font-weight: 600; }
.wiki-article ul, .wiki-article ol { padding-left: 25px; margin: 0 0 24px; }
.wiki-article li { padding-left: 7px; margin: 10px 0; }
.wiki-article li::marker { color: var(--muted); }
.wiki-article blockquote { margin: 26px 0; padding: 19px 24px; border: 1px solid var(--rule); border-left: 4px solid var(--yellow); background: color-mix(in srgb, var(--yellow) 9%, var(--paper)); font: 23px/1.5 Hand, cursive; transform: rotate(-.3deg); }
.wiki-article blockquote p { margin: 0; }
.wiki-article blockquote strong { font-weight: 400; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.wiki-table { width: 100%; overflow-x: auto; margin: 24px 0; border: 1px solid var(--rule); }
.wiki-table table { border-collapse: collapse; width: 100%; font-size: 12px; line-height: 1.65; }
.wiki-table th { font-weight: 600; font-size: 10px; letter-spacing: .3px; background: color-mix(in srgb, var(--ink) 5%, var(--paper)); }
.wiki-table th, .wiki-table td { text-align: left; padding: 14px 16px; vertical-align: top; border-bottom: 1px solid var(--rule); }
.wiki-table td:first-child { min-width: 150px; }
.wiki-table tr:last-child td { border-bottom: 0; }
.wiki-table td:last-child { min-width: 140px; }
.wiki-footer { display: flex; justify-content: space-between; gap: 24px; padding: 24px 0 36px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 10px; }
@media (max-width: 900px) {
  .wiki-layout { grid-template-columns: 195px minmax(0, 1fr); gap: 28px; }
  .wiki-index a { font-size: 10px; gap: 8px; }
  .wiki-sketch { flex-basis: 180px; }
  .wiki-sketch svg { width: 180px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 82px; }
  body { font-size: 13px; }
  .wiki-header { min-height: 64px; padding-inline: 20px; }
  .wiki-header nav { gap: 16px; }
  .wiki-brand .brand-mark { width: 26px; }
  .wiki-brand .brand-wordmark { width: 84px; }
  .back-to-game { font-size: 19px; }
  .wiki-shell, .wiki-footer { width: calc(100% - 40px); }
  .wiki-intro { min-height: 220px; padding: 36px 0; }
  .wiki-sketch { display: none; }
  .wiki-lead { font-size: 24px; }
  .wiki-layout { display: block; padding-top: 24px; }
  .wiki-sidebar { position: static; max-height: none; overflow: visible; padding: 0 0 24px; margin-bottom: 30px; border-bottom: 1px solid var(--rule); }
  .wiki-index ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
  .wiki-index a { font-size: 11px; padding-block: 9px; }
  .wiki-appearance { margin-top: 18px; padding-top: 14px; max-width: 230px; }
  .wiki-article h2 { font-size: 32px; margin-top: 48px; }
  .wiki-article h3 { font-size: 25px; }
  .wiki-article blockquote { padding: 16px 18px; font-size: 22px; }
  .wiki-table th, .wiki-table td { padding: 12px; }
  .wiki-footer { font-size: 9px; }
}
@media (max-width: 370px) {
  .wiki-brand .brand-mark { display: none; }
  .wiki-index ol { grid-template-columns: 1fr; }
}
