/* The wiki is a full page. Only navigation columns remain sticky. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.wiki-page { margin: 0; background: #100d16; color: #efebf5; font: 14px var(--site-font); }
body.wiki-page button, body.wiki-page input, body.wiki-page select { font-family: inherit; }
body.wiki-page button { cursor: pointer; }
body.wiki-page a { color: inherit; text-decoration: none; }
body.wiki-page img { display: block; max-width: 100%; }
body.wiki-page svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; flex-shrink: 0; }
body.wiki-page h1, body.wiki-page h2, body.wiki-page h3, body.wiki-page p { margin: 0; }
body.wiki-page button:focus-visible, body.wiki-page a:focus-visible, body.wiki-page input:focus-visible { outline: 2px solid #b794ec; outline-offset: 4px; }
.wiki-shell {
  display: grid; grid-template-columns: 208px minmax(0,1fr) 256px;
  width: 100%; max-width: none; min-height: calc(100svh - 78px);
  height: auto; margin: 0; border: 0; border-radius: 0; box-shadow: none;
  background: transparent; overflow: visible;
}
.wiki-navigation {
  position: sticky; top: 78px; align-self: start; height: calc(100svh - 78px);
  display: flex; flex-direction: column; padding: 30px 19px 0;
  background: #0d0b12; border-right: 1px solid #ffffff07;
  overflow-y: auto; scrollbar-width: thin; scrollbar-color: #32243e transparent;
}
.wiki-emblem { display: flex; align-items: center; gap: 10px; margin: 0 5px 27px; font-size: 9px; color: #bba4d3; letter-spacing: .1em; }
.wiki-emblem > svg { width: 20px; height: 20px; color: #ba92f0; }
.wiki-search { display: flex; align-items: center; gap: 9px; padding: 11px 9px; margin-bottom: 25px; background: #ffffff04; border: 1px solid #ffffff06; }
.wiki-search > svg { width: 15px; height: 15px; color: #afa0bf; }
.wiki-search input { min-width: 0; width: 100%; border: 0; outline: 0; background: none; color: #e2d7ef; font-size: 11px; }
.wiki-search input::placeholder { color: #81758c; }
.wiki-search kbd { font-size: 10px; color: #71617e; }
.wiki-nav-label { margin: 0 8px 9px; font-size: 10px; color: #71647c; }
.wiki-navigation > a:not(.wiki-emblem) { display: flex; align-items: center; gap: 11px; padding: 12px 9px; border-radius: 0; color: #b8abca; font-size: 12px; }
.wiki-navigation > a.selected { background: #a482f011; color: #eadbfc; box-shadow: inset 2px 0 #a482f0; }
.wiki-navigation > a:not(.wiki-emblem):hover { color: #f1e7ff; background: #ffffff04; }
.wiki-navigation > a > svg { width: 15px; height: 15px; color: #9c84b7; }
.wiki-nav-divider { height: 1px; margin: 20px -19px; background: #ffffff07; }
.wiki-nav-count { margin-left: auto; color: #b497dc; font-size: 10px; }
.wiki-navigation .wiki-world-link { justify-content: space-between; font-size: 11px !important; margin-top: 19px; }
.wiki-navigation-bottom { display: flex; align-items: center; gap: 10px; margin: auto -19px 0; padding: 22px 20px; min-height: 78px; border-top: 1px solid #ffffff07; font-size: 12px; }
.wiki-navigation-bottom small { display: block; margin-top: 5px; color: #a084c0; font-size: 8px; letter-spacing: .08em; }
.wiki-navigation-bottom > a { margin-left: auto; color: #8a719f; }
.wiki-signal { width: 16px; height: 16px; border: 0; border-radius: 0; background: #9465d1; box-shadow: inset -5px -5px #5b377f, inset 3px 3px #bb96ee; }
.wiki-main { min-width: 0; overflow: visible; background: transparent; }
.wiki-hero { position: relative; isolation: isolate; overflow: hidden; padding: 40px 40px 0; }
.wiki-hero-background { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#100d16 5%,#100d16d9 48%,#1c10294d),linear-gradient(0deg,#100d16,transparent 90%),url('../images/city.jpg') 80% 40%/cover; opacity: .7; }
.wiki-hero-kicker { color: #a78cbe; font-size: 9px; letter-spacing: .17em; }
.wiki-hero h1 { font-size: 44px; letter-spacing: -1.5px; line-height: 1.2; font-weight: 650; color: #fff; margin-top: 9px; }
.wiki-hero > p { color: #a194af; font-size: 13px; margin-top: 10px; line-height: 1.8; }
.wiki-top-tabs { display: flex; gap: 26px; margin-top: 25px; border-bottom: 1px solid #ffffff0b; overflow-x: auto; scrollbar-width: none; }
.wiki-top-tabs a { position: relative; padding: 0 0 16px; font-size: 12px; color: #9e90ad; white-space: nowrap; }
.wiki-top-tabs a.active { color: #f0e6ff; }
.wiki-top-tabs a.active::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: #b18ae8; }
.wiki-feature-banner { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 30px 40px 24px; min-height: 160px; }
.wiki-feature-banner h2 { font-size: 17px; line-height: 1.6; font-weight: 600; }
.wiki-feature-banner p { margin-top: 7px; max-width: 580px; color: #a296af; font-size: 13px; line-height: 1.9; }
.wiki-feature-banner a { display: inline-flex; align-items: center; gap: 8px; margin-top: 13px; color: #ceb0f2; font-size: 11px; }
.wiki-feature-banner a svg { width: 14px; height: 14px; }
.wiki-feature-banner > img { flex-shrink: 0; width: 85px; height: 115px; object-fit: contain; transform: rotate(8deg); filter: drop-shadow(3px 8px 6px #0007); }
.wiki-content-grid { display: grid; grid-template-columns: minmax(0,1fr) 210px; gap: 38px; padding: 25px 40px 55px; }
.wiki-library-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.wiki-library-heading h2 { font-size: 29px; font-weight: 650; letter-spacing: -.6px; }
.wiki-library-heading p { margin-top: 7px; font-size: 12px; color: #998aa8; line-height: 1.8; }
.wiki-library-heading > span { font-size: 10px; color: #8e7d9f; white-space: nowrap; }
.wiki-feed-tabs { display: flex; gap: 22px; margin: 24px 0 7px; }
.wiki-feed-tabs button { padding: 8px 10px; border: 0; border-radius: 2px; background: none; color: #a18fb1; font-size: 11px; }
.wiki-feed-tabs button.active { background: #ede5f9; color: #23152f; }
.wiki-entry { display: flex; align-items: flex-start; gap: 16px; padding: 27px 0; border-bottom: 1px solid #ffffff07; }
.wiki-entry[hidden] { display: none; }
.wiki-entry-mark { padding-top: 10px; color: #9476b3; }
.wiki-entry-mark svg { width: 15px; height: 15px; }
.wiki-entry-orb { display: block; flex-shrink: 0; width: 38px; height: 38px; margin-top: 2px; border: 0; border-radius: 0; background: none; overflow: visible; }
.wiki-entry-orb .member-avatar { width: 38px; height: 38px; }
.wiki-entry-body { min-width: 0; flex: 1; }
.wiki-entry-title { color: #f2edf7; font-size: 15px; font-weight: 600; line-height: 1.6; }
.wiki-entry-title:hover { color: #c5a4f0; }
.wiki-entry-body > p { margin-top: 7px; color: #a093ae; font-size: 12px; line-height: 1.9; }
.wiki-entry-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 12px; color: #ac9bbd; font-size: 10px; }
.wiki-entry-meta > span { display: flex; align-items: center; gap: 6px; }
.wiki-entry-meta > span:first-child { color: #9076a9; }
.wiki-entry-meta svg { width: 13px !important; height: 13px !important; }
.wiki-save { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: #b1a0c4; font-size: 10px; }
.wiki-save[aria-pressed="true"] { color: #c19af7; }
.wiki-save[aria-pressed="true"] svg { fill: #ad80e92b; }
.wiki-entry-arrow { color: #80648e; padding-top: 10px; }
.wiki-entry-arrow svg { width: 14px !important; height: 14px !important; }
.wiki-quick { padding-top: 8px; }
.wiki-quick h2 { font-size: 19px; font-weight: 600; }
.wiki-quick > p { color: #9a88aa; font-size: 12px; line-height: 1.9; margin: 9px 0 24px; }
.wiki-quick-card { position: relative; display: block; overflow: hidden; margin-bottom: 12px; padding: 18px 14px; min-height: 112px; background: #ffffff03; }
.wiki-quick-card:hover { background: #a482f008; }
.wiki-quick-card > img { position: absolute; right: -15px; top: 0; width: 112px; height: 100px; object-fit: contain; opacity: .2; pointer-events: none; }
.wiki-quick-card strong { position: relative; display: block; color: #e0d4ef; font-size: 12px; font-weight: 500; }
.wiki-quick-card > span { position: relative; display: block; max-width: 145px; margin-top: 7px; color: #9a84af; font-size: 10px; line-height: 1.9; }
.wiki-forum-callout { display: flex; flex-direction: column; gap: 11px; margin-top: 30px; padding-top: 24px; border-top: 1px solid #ffffff09; color: #ad8ed0; }
.wiki-forum-callout strong { font-size: 13px; color: #e4d5f2; font-weight: 500; }
.wiki-forum-callout > span { font-size: 11px; line-height: 1.9; color: #9680aa; }
.wiki-topic-panel { display: flex; flex-direction: column; align-self: start; min-height: 700px; padding: 35px 25px; border-left: 1px solid #ffffff07; background: transparent; overflow: visible; }
.wiki-topic-panel > h2 { display: flex; align-items: center; gap: 9px; padding-bottom: 24px; border-bottom: 1px solid #ffffff08; font-size: 14px; font-weight: 600; }
.wiki-journal-callout { padding: 20px 0 23px; margin-top: 8px; border-bottom: 1px solid #ffffff08; }
.wiki-journal-callout strong { display: block; font-size: 13px; font-weight: 500; }
.wiki-journal-callout p { color: #a18bae; font-size: 11px; line-height: 1.9; margin: 11px 0 16px; }
.wiki-white-button { display: inline-block; width: 100%; padding: 10px 12px; background: #eee5f8; border: 0; color: #261334 !important; font-size: 10px; font-weight: 600; text-align: center; }
.wiki-stat-section { padding-bottom: 25px; margin-top: 27px; border-bottom: 1px solid #ffffff09; }
.wiki-stat-section h3, .wiki-related h3 { font-size: 14px; font-weight: 600; }
.wiki-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 12px; margin-top: 19px; }
.wiki-stat-grid span { display: block; font-size: 10px; color: #9981aa; }
.wiki-stat-grid b { display: block; font-size: 16px; font-weight: 500; color: #dac1f5; margin-top: 7px; }
.wiki-race-line { display: flex; gap: 5px; align-items: center; margin-top: 22px; }
.wiki-race-line .member-avatar { width: 27px; height: 27px; }
.wiki-race-line > span:not(.member-avatar) { font-size: 10px; color: #b797d6; padding-left: 4px; }
.wiki-stat-section > small { display: block; margin-top: 15px; font-size: 9px; line-height: 1.8; color: #796188; }
.wiki-related { margin-top: 28px; }
.wiki-related > p { margin: 10px 0 19px; color: #957ca7; font-size: 11px; line-height: 1.9; }
.wiki-related > a { display: flex; align-items: center; gap: 11px; margin-top: 21px; }
.wiki-related .member-avatar { width: 30px; height: 30px; }
.wiki-related > a > span:not(.member-avatar) { color: #e0d1ee; font-size: 12px; line-height: 1.6; }
.wiki-related small { display: block; color: #9274a8; font-size: 10px; margin-top: 5px; }
.wiki-related > a > svg { width: 11px; height: 11px; margin-left: auto; color: #8d6ba6; }
.wiki-question { display: flex; align-items: center; justify-content: space-between; padding-top: 42px; font-size: 9px; color: #c7addd; letter-spacing: .06em; }
.wiki-question > svg { width: 24px !important; height: 24px !important; padding: 0; background: none; border-radius: 0; }
.wiki-article-layout { max-width: 1000px; padding: 35px 40px 55px; }
.wiki-back { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 29px; color: #b394ce !important; font-size: 12px; }
.wiki-back > svg { width: 14px !important; height: 14px !important; transform: rotate(180deg); }
.wiki-topic-label { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: #b18bd1; }
.wiki-article-heading h2 { margin-top: 14px; font-size: 34px; line-height: 1.4; letter-spacing: -.5px; }
.wiki-article-heading > p { font-size: 15px; line-height: 1.9; color: #b5a2c3; margin-top: 16px; }
.article-save { margin-top: 20px; padding: 10px 13px; border: 1px solid #b393d537; background: #a482f007; font-size: 12px; }
.wiki-article-image { margin: 35px 0; }
.wiki-article-image > img { width: 100%; max-height: 330px; object-fit: cover; }
.wiki-article-image.map-image > img { object-fit: contain; max-height: 360px; }
.wiki-article-image figcaption { font-size: 10px; color: #947aa8; margin-top: 10px; text-align: right; }
.wiki-article section { margin-top: 34px; scroll-margin-top: 105px; }
.wiki-article section h3 { color: #e7d9f4; font-size: 22px; font-weight: 600; }
.wiki-article section p { font-size: 15px; line-height: 1.95; color: #b4a3c2; margin-top: 16px; }
.wiki-article-note { display: flex; gap: 14px; margin-top: 38px; padding: 22px 0 22px 20px; border-left: 2px solid #a482f0; }
.wiki-article-note > svg { margin-top: 4px; color: #ac8bc8; }
.wiki-article-note p { font-size: 12px; line-height: 1.9; color: #a58db8; }
.wiki-article-links { display: flex; justify-content: space-between; gap: 20px; margin-top: 32px; font-size: 11px; color: #cdb2e7; flex-wrap: wrap; }
.wiki-article-links > a { display: flex; align-items: center; gap: 9px; }
.wiki-article-links svg { width: 14px !important; height: 14px !important; }
.wiki-outline { display: grid; gap: 15px; margin-top: 26px; padding-left: 13px; border-left: 1px solid #b393d530; font-size: 12px; line-height: 1.9; color: #b19ac2; }
.wiki-outline a:hover { color: #e8cfff; }
.wiki-empty { padding: 45px 0; text-align: center; color: #b298c8; }
.wiki-empty[hidden] { display: none; }
.wiki-empty > span > svg { width: 35px !important; height: 35px !important; }
.wiki-empty h2, .wiki-empty h3 { font-size: 19px; margin: 16px 0; }
.wiki-empty p { max-width: 330px; margin: auto; font-size: 13px; line-height: 1.9; }
.wiki-empty button { display: inline-flex; align-items: center; gap: 8px; margin-top: 23px; padding: 0; border: 0; background: none; color: #dfc4f7; font-size: 12px; }
.wiki-empty .wiki-white-button { width: auto; margin-top: 25px; }
.wiki-toast { position: fixed; bottom: 25px; left: 50%; transform: translate(-50%,25px); z-index: 70; max-width: 90%; padding: 14px 22px; border: 1px solid #b08dd23b; background: #2a1c37; color: #ead4fb; font-size: 12px; text-align: center; opacity: 0; pointer-events: none; transition: .2s; }
.wiki-toast.visible { opacity: 1; transform: translate(-50%,0); }
@media(min-width:1700px) {
  .wiki-shell { grid-template-columns: 225px minmax(0,1fr) 285px; }
  .wiki-content-grid, .wiki-feature-banner { max-width: 1200px; margin: auto; }
  .wiki-hero { padding-left: max(40px,calc((100% - 1120px)/2)); padding-right: max(40px,calc((100% - 1120px)/2)); }
  .wiki-article-layout { margin: auto; }
}
@media(max-width:1250px) {
  .wiki-shell { grid-template-columns: 185px minmax(0,1fr) 220px; }
  .wiki-navigation { padding-left: 14px; padding-right: 14px; }
  .wiki-navigation > a:not(.wiki-emblem) { font-size: 11px; gap: 8px; }
  .wiki-hero { padding: 34px 30px 0; }
  .wiki-content-grid { grid-template-columns: minmax(0,1fr) 165px; padding: 22px 30px 45px; gap: 26px; }
  .wiki-feature-banner { padding-left: 30px; padding-right: 30px; }
  .wiki-topic-panel { padding-left: 19px; padding-right: 19px; }
  .wiki-entry-mark { display: none; }
  .wiki-library-heading > span { display: none; }
  .wiki-quick h2 { font-size: 17px; }
  .wiki-quick-card { padding: 17px 11px; }
  .wiki-top-tabs { gap: 20px; }
  .wiki-article-layout { padding-left: 30px; padding-right: 30px; }
}
@media(max-width:1000px) {
  .wiki-shell { grid-template-columns: 180px minmax(0,1fr); }
  .wiki-topic-panel { display: none; }
  .wiki-content-grid { grid-template-columns: minmax(0,1fr) 180px; }
}
@media(max-width:700px) {
  .wiki-shell { grid-template-columns: 1fr; min-height: calc(100svh - 68px); }
  .wiki-navigation { position: relative; top: auto; height: auto; display: flex; flex-direction: row; align-items: center; gap: 5px; padding: 14px 18px; overflow-x: auto; overflow-y: hidden; border-right: 0; border-bottom: 1px solid #ffffff08; }
  .wiki-emblem, .wiki-nav-label, .wiki-nav-divider, .wiki-navigation .wiki-world-link, .wiki-navigation-bottom, .wiki-navigation > a[href="index.php"], .wiki-navigation > a[href="forum.php"] { display: none !important; }
  .wiki-navigation > a:not(.wiki-emblem) { flex-shrink: 0; white-space: nowrap; padding: 9px; font-size: 11px; }
  .wiki-navigation > a.selected { box-shadow: inset 0 -2px #a482f0; }
  .wiki-search { min-width: 165px; margin: 0 8px 0 0; padding: 9px; }
  .wiki-search kbd { display: none; }
  .wiki-hero { padding: 30px 22px 0; }
  .wiki-hero h1 { font-size: 38px; }
  .wiki-hero > p { font-size: 12px; }
  .wiki-top-tabs { gap: 23px; }
  .wiki-top-tabs a { font-size: 11px; }
  .wiki-feature-banner { min-height: 145px; padding: 25px 22px 17px; gap: 16px; }
  .wiki-feature-banner h2 { font-size: 15px; }
  .wiki-feature-banner p { font-size: 11px; }
  .wiki-feature-banner > img { width: 63px; height: 95px; }
  .wiki-content-grid { grid-template-columns: 1fr; padding: 22px 22px 35px; }
  .wiki-library-heading h2 { font-size: 28px; }
  .wiki-library-heading p { font-size: 11px; }
  .wiki-library-heading > span { display: block; }
  .wiki-entry { gap: 12px; padding: 23px 0; }
  .wiki-entry-title { font-size: 14px; }
  .wiki-entry-body > p { font-size: 11px; }
  .wiki-entry-meta { font-size: 10px; gap: 14px; }
  .wiki-entry-orb, .wiki-entry-orb .member-avatar { width: 34px; height: 34px; }
  .wiki-entry-arrow { display: none; }
  .wiki-quick { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; padding-top: 25px; border-top: 1px solid #ffffff08; }
  .wiki-quick > h2, .wiki-quick > p { grid-column: 1/-1; }
  .wiki-quick > p { margin: 0 0 10px; }
  .wiki-quick-card { min-height: 125px; margin: 0; padding: 14px 10px; }
  .wiki-quick-card strong { font-size: 10px; }
  .wiki-quick-card > span { font-size: 9px; }
  .wiki-quick-card > img { width: 80px; top: 25px; right: -22px; }
  .wiki-forum-callout { grid-column: 1/-1; }
  .wiki-article-layout { padding: 28px 22px 40px; }
  .wiki-article-heading h2 { font-size: 29px; }
  .wiki-article-heading > p, .wiki-article section p { font-size: 14px; }
  .wiki-article section h3 { font-size: 20px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } .wiki-toast { transition: none; } }

/* Kickstarter is the access route; website sign-in remains a separate account. */
.wiki-alpha-access { position:relative;isolation:isolate;margin:0 0 44px;padding:32px;background:linear-gradient(120deg,#251735f5,#191522ed),url('../game/scenes/forum-city.webp') center/cover;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:28px 38px; }
.alpha-campaign-brand { grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:24px;border-bottom:1px solid #05ce782b; }
.alpha-campaign-brand>span { font-size:11px;letter-spacing:.12em;color:#a9b9ae; }
.alpha-campaign-brand>img { display:block;width:200px;height:auto;max-width:44%; }
.wiki-article .alpha-access-intro h3 { margin:12px 0 18px;border:0;padding:0;font-size:30px;line-height:1.45; }
.wiki-article .alpha-access-intro>p { margin:0 0 24px; }
.alpha-access-intro>small { display:block;margin-top:14px;font-size:12px;color:#a79bb3; }
.wiki-page .alpha-kickstarter-button { background:#087746;color:#f0fff6;--px-light:#25ba76;--px-dark:#034a2d;white-space:normal;text-align:center;line-height:1.6; }
.wiki-article ol.alpha-access-steps { list-style:none;padding:0;margin:0;display:grid;gap:22px; }
.alpha-access-steps>li { display:flex;align-items:flex-start;gap:16px; }
.alpha-access-steps>li>span { flex:0 0 36px;display:grid;place-items:center;min-height:36px;color:#77dfaa;background:#05ce7814;font-family:var(--display-font);font-size:16px; }
.alpha-access-steps strong { display:block;color:#e4f7ea;font-size:16px;line-height:1.6; }
.wiki-article .alpha-access-steps p { margin:6px 0 0;font-size:14px;line-height:1.8;color:#bfb2cd; }
.wiki-article .alpha-account-note { grid-column:1/-1;margin:0;padding:20px 0 0;border-top:1px solid #ffffff10;color:#b8a7c6;font-size:14px;line-height:1.9; }
.alpha-account-note strong { color:#e2d6ec; }
@media(max-width:760px) {
 .wiki-alpha-access { grid-template-columns:1fr;padding:24px 20px;gap:24px; }
 .alpha-campaign-brand { align-items:flex-start;flex-direction:column; }
 .alpha-campaign-brand>img { max-width:100%;width:180px; }
 .wiki-article .alpha-access-intro h3 { font-size:26px; }
 .alpha-kickstarter-button { width:100%; }
}

.wiki-page .alpha-kickstarter-button:hover { background:#09653e; }
