/* Static export: page frame matching Wiki.js 2.5 as measured on staging (1600px wide, 2026-10-16).
   Class names mirror Wiki.js (nav-header, v-navigation-drawer, v-subheader, page-header-section,
   page-col-sd, v-card, overline, contents) so theme/custom.css — appended after this file — styles both
   versions the same way. Sizes below are the measured Wiki.js values. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #060a1c; color: #dbe4ff; font: 16px/24px Roboto, sans-serif; }
a { color: #5fb4ff; }
img { max-width: 100%; }
:target { scroll-margin-top: 80px; }

/* header: 64px, logo 34px at 16px, title Oswald 20px with 12px gap */
.nav-header { position: fixed; inset: 0 0 auto 0; height: 64px; z-index: 30; }
.nav-header .v-toolbar { height: 64px; display: flex; align-items: center; padding: 0 16px; }
.st-brand { display: flex; align-items: center; text-decoration: none; background: none !important; color: #fff; }
.st-brand img { width: 34px; height: 34px; object-fit: contain; }
.st-brand .v-toolbar__title { margin: 0 12px; font: 400 20px/30px "Oswald", "Segoe UI", sans-serif; letter-spacing: .8px;
  color: #fff; background: none !important; }
.st-menu { display: none; background: none; border: 0; color: #fff; font-size: 24px; cursor: pointer; margin-right: 8px; }

/* sidebar: 256px, 40px rows, 24px icons, 13px/500 labels starting at 56px */
.v-navigation-drawer { position: fixed; top: 64px; bottom: 0; left: 0; width: 256px; overflow-y: auto; z-index: 20; padding: 8px 0 24px; }
.v-navigation-drawer .v-subheader { height: 40px; line-height: 40px; padding: 0 8px 0 16px; font-size: 11.52px; letter-spacing: 1.3824px; }
.v-navigation-drawer .v-list-item { display: flex; align-items: center; height: 40px; padding: 0 16px; color: #fff; text-decoration: none; }
.v-navigation-drawer .v-list-item:hover { background: rgba(255, 255, 255, .08); }
.v-navigation-drawer .v-list-item .mdi { font-size: 24px; width: 24px; line-height: 24px; margin-right: 16px; text-align: center; }
.v-navigation-drawer .v-list-item__title { font: 500 13px/16px Roboto, sans-serif; }
.v-navigation-drawer hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .12); margin: 8px 0; }

/* page: title band 90px; content starts 20px from the sidebar; right column ~300px */
.st-page { margin-left: 256px; padding-top: 64px; min-height: 100vh; }
.page-header-section { min-height: 90px; padding: 19px 0 16px; margin-left: -4px; }
.page-header-section .headline { margin: 0; font: 500 24px/32px Roboto, sans-serif !important; color: #e0e0e0 !important; letter-spacing: normal; }
.page-header-section .caption { font-size: 12px; line-height: 20px; color: #757575 !important; letter-spacing: .4px; }
.st-columns { display: flex; gap: 20px; padding: 0 20px 0 20px; align-items: flex-start; }
.st-main { flex: 1; min-width: 0; }
.contents { display: block; padding: 25px 0 50px; color: #e0e0e0 !important; font-size: 16px; line-height: 24px; }
.page-col-sd { width: 300px; flex: none; position: sticky; top: 80px; max-height: calc(100vh - 96px); overflow-y: auto; margin-top: 17px; }
.page-col-sd .v-card { border-radius: 4px; padding: 12px 16px; }
.page-col-sd .overline { font: 500 10px/2rem Roboto, sans-serif; text-transform: uppercase; letter-spacing: 1.5px; }
.page-col-sd ul { list-style: none; margin: 0; padding: 0; }
.page-col-sd ul ul { padding-left: 16px; }
.page-col-sd a { display: block; color: #e0e0e0; text-decoration: none; font: 400 13px/18px Roboto, sans-serif; padding: 5px 0; }
.page-col-sd ul ul a { font-size: 12px; color: #bdbdbd; }
.page-col-sd a:hover { color: #3fc8ff; }
.v-footer { padding: 6px 16px 6px 272px; background: #424242; color: #8f9cc8; font-size: 13px; }
.v-footer a { color: inherit; }

/* content typography as rendered by Wiki.js */
.contents p { margin: 0; padding-top: 16px; }
.contents li p { padding-top: 0; }
.contents h2 { font-size: 24px; line-height: 36px; letter-spacing: .48px; margin: 16px 0 0; color: #bdbdbd !important; }
.contents h3 { font-size: 18.72px; line-height: 28.08px; margin: 8px 0 0; color: #757575 !important; position: relative; }
.contents h3::after { content: ""; position: absolute; left: 0; top: 27px; width: 100%; height: 1px;
  background: linear-gradient(90deg, #9e9e9e, rgba(158, 158, 158, 0) 90%); }
.contents h4 { font-size: 16px; margin: 8px 0 0; }
.contents .toc-anchor { display: none; }
/* lists: Wiki.js uses blue ▸ markers, 16px above the list and 8px between rows */
.contents ul { list-style: none; padding: 16px 0 0 24px; margin: 0; }
.contents li { margin: 0; position: relative; }
.contents ul:not(.tabset-tabs) > li + li { margin-top: 8px; }
.contents ul:not(.tabset-tabs) > li::before { content: "\25B8"; position: absolute; left: -17.6px; top: 0; color: #1e7bff; }
.contents table { border-collapse: collapse; margin: 16px 0 0; }
.contents th, .contents td { padding: 6px 12px; border: 1px solid #1f2d66; text-align: left; }
.contents blockquote { margin: 16px 0 0; padding: 12px 16px; border-left: 4px solid #1e7bff; background: #0b1230; }
.contents code { background: #111a42; padding: 1px 5px; border-radius: 4px; }
.contents hr { border: 0; border-top: 1px solid #1f2d66; margin: 24px 0; }
.contents sup { font-size: 12px; line-height: 0; vertical-align: baseline; position: relative; top: -6px; }
.contents sup.footnote-ref a { text-decoration: none; }

/* tabs: Wiki.js tabset (tabs 14px/600, 8px 12px padding) */
.tabset-tabs { list-style: none; padding-left: 0 !important; }
.tabset-tabs li { font: 600 14px/21px Inter, "Segoe UI", sans-serif; padding: 8px 12px; user-select: none; }
.tabset-panel { display: none; }
.tabset-panel.is-active { display: block; }

@media (max-width: 1263px) { .page-col-sd { display: none; } }
@media (max-width: 1263px) { .v-footer { padding-left: 16px; } }
@media (max-width: 900px) {
  .st-menu { display: block; }
  .v-navigation-drawer { transform: translateX(-100%); transition: transform .2s; }
  body.nav-open .v-navigation-drawer { transform: none; box-shadow: 0 0 30px #000; }
  .st-page { margin-left: 0; }
  .st-columns { padding-left: 16px; padding-right: 16px; }
  .page-header-section { margin-left: 0; }
}

/* ---- theme/custom.css ---- */
/* Soul's Team Wiki — dark navy / electric-blue theme for Wiki.js 2.5 (Administration > Theme > CSS Override).
   Only colour, type and spacing are overridden; layout and components stay stock so upgrades stay safe. */
:root {
  --st-bg: #060a1c;
  --st-surface: #0b1230;
  --st-surface-2: #111a42;
  --st-border: #1f2d66;
  --st-text: #dbe4ff;
  --st-muted: #8f9cc8;
  --st-blue: #1e7bff;
  --st-cyan: #3fc8ff;
  --st-link: #5fb4ff;
}

.v-application.theme--dark,
.theme--dark.v-application .v-main,
.theme--dark.v-application .v-content { background: var(--st-bg) !important; color: var(--st-text); }

/* Header bar */
.theme--dark .nav-header .v-toolbar,
.theme--dark header.v-app-bar,
.theme--dark .v-toolbar.nav-header-inner {
  background: linear-gradient(90deg, #050817 0%, #0b1648 60%, #0f2a7a 100%) !important;
  border-bottom: 1px solid var(--st-border);
}
.nav-header .v-toolbar__title, .nav-header .subheading { font-family: "Oswald", "Segoe UI", sans-serif; letter-spacing: .04em; }

/* Sidebar */
.theme--dark .v-navigation-drawer { background: var(--st-surface) !important; border-right: 1px solid var(--st-border); }
.theme--dark .v-navigation-drawer .v-subheader { color: var(--st-cyan) !important; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; }
.theme--dark .v-navigation-drawer .v-list-item--active { color: var(--st-cyan) !important; }

/* Page title band */
.theme--dark .page-header-section,
.theme--dark .page-header-section .v-sheet { background: linear-gradient(180deg, var(--st-surface-2), var(--st-surface)) !important; }
.page-header-section .headline { font-family: "Oswald", "Segoe UI", sans-serif; font-weight: 500; letter-spacing: .02em; color: #fff; }
.page-header-section .caption { color: var(--st-muted) !important; }

/* Right column cards (TOC, tags, last edited) */
.theme--dark .page-col-sd .v-card { background: var(--st-surface) !important; border: 1px solid var(--st-border); }
.theme--dark .page-col-sd .overline { color: var(--st-cyan) !important; }

/* Content */
.theme--dark .contents { color: var(--st-text); font-family: "Inter", "Segoe UI", system-ui, sans-serif; }
.theme--dark .contents h1, .theme--dark .contents h2 {
  font-family: "Oswald", "Segoe UI", sans-serif; font-weight: 500; letter-spacing: .02em; color: #fff;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--st-blue), var(--st-cyan) 40%, transparent) 1;
}
.theme--dark .contents h3 { color: var(--st-cyan); font-family: "Oswald", "Segoe UI", sans-serif; font-weight: 500; }
.theme--dark .contents h4 { color: var(--st-link); }
.theme--dark .contents a { color: var(--st-link); }
.theme--dark .contents a:hover { color: var(--st-cyan); }
.theme--dark .contents ul > li::before { color: var(--st-blue) !important; }
.theme--dark .contents strong { color: #fff; }

.theme--dark .contents table { background: var(--st-surface); border: 1px solid var(--st-border); border-radius: 6px; overflow: hidden; }
.theme--dark .contents table th { background: var(--st-surface-2) !important; color: var(--st-cyan); border-color: var(--st-border) !important; }
.theme--dark .contents table td { border-color: var(--st-border) !important; }
.theme--dark .contents table tr:nth-child(even) td { background: rgba(30, 123, 255, .05); }

/* Image placeholders (blockquote.is-info) */
.theme--dark .contents blockquote.is-info {
  background: repeating-linear-gradient(135deg, var(--st-surface) 0 12px, var(--st-surface-2) 12px 24px) !important;
  border-left: 4px solid var(--st-blue) !important; color: var(--st-muted);
}
.theme--dark .contents blockquote.is-info code { background: var(--st-bg); color: var(--st-cyan); }

/* Archive images: keep tall logos and full-page screenshots browsable */
.theme--dark .contents p > img {
  max-width: 100%; max-height: 420px; width: auto; height: auto; display: block;
  border: 1px solid var(--st-border); border-radius: 6px; background: var(--st-surface);
}
.theme--dark .contents p > img + br + em,
.theme--dark .contents p > img + em { display: block; margin-top: 6px; color: var(--st-muted); font-size: .88rem; }

/* Infobox: floated right like the original Fandom page */
.theme--dark .contents .st-infobox {
  float: right; width: 330px; margin: 0 0 20px 24px; background: var(--st-surface);
  border: 1px solid var(--st-border); border-top: 3px solid var(--st-blue); border-radius: 6px; overflow: hidden;
  font-size: .9rem;
}
.theme--dark .contents .st-infobox-title,
.theme--dark .contents .st-infobox-header {
  background: var(--st-surface-2); color: #fff; text-align: center; font-weight: 600;
  font-family: "Oswald", "Segoe UI", sans-serif; letter-spacing: .03em; padding: 8px 10px;
}
.theme--dark .contents .st-infobox-title { font-size: 1.35rem; }
.theme--dark .contents .st-infobox-header { font-size: 1.05rem; border-top: 1px solid var(--st-border); }
.theme--dark .contents .st-infobox-image { background: #000; padding: 16px; text-align: center; }
.theme--dark .contents .st-infobox-image img { max-width: 100%; max-height: 260px; border: 0; display: inline-block; }
.theme--dark .contents .st-infobox table { width: 100%; margin: 0; border: 0; border-radius: 0; background: transparent; }
.theme--dark .contents .st-infobox th,
.theme--dark .contents .st-infobox td { border: 0 !important; padding: 6px 10px; vertical-align: top; }
.theme--dark .contents .st-infobox th { width: 45%; text-align: right; color: var(--st-text); background: transparent !important; font-weight: 600; }
.theme--dark .contents .st-infobox tr:nth-child(even) td,
.theme--dark .contents .st-infobox tr:nth-child(even) th { background: rgba(30, 123, 255, .06) !important; }
.theme--dark .contents .st-infobox-links { padding: 10px; text-align: center; line-height: 1.9; }
.theme--dark .contents .st-infobox-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.theme--dark .contents .st-infobox-links a.st-social {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 50%; background: var(--st-surface-2); border: 1px solid var(--st-border);
  color: var(--st-text) !important; text-decoration: none; transition: background .15s, color .15s;
}
.theme--dark .contents .st-infobox-links a.st-social::after { display: none !important; } /* no external-link arrow */
.theme--dark .contents .st-infobox-links a.st-social:hover { background: var(--st-blue); color: #fff !important; }
.theme--dark .contents .st-infobox-links a.st-social i { font-size: 20px; line-height: 1; }
.theme--dark .contents .st-infobox-links a.st-social img { width: 20px; height: 20px; border: 0; max-height: none; display: block; }
/* Headings, tab bars and rules next to the floated infobox would otherwise draw their borders
   underneath it; flow-root makes them end at the infobox's edge instead. */
.theme--dark .contents h1,
.theme--dark .contents h2,
.theme--dark .contents h3,
.theme--dark .contents .tabset,
.theme--dark .contents hr { display: flow-root; clear: none; }

/* Timeline year tabs (Wiki.js tabset) */
.theme--dark .contents .tabset { background: transparent; box-shadow: none !important; }
.theme--dark .contents .tabset-tabs {
  display: flex; flex-wrap: wrap; overflow: visible; background: transparent !important;
  border-bottom: 1px solid var(--st-border); padding: 0; margin: 0;
}
.theme--dark .contents .tabset-tabs li {
  background: transparent !important; color: var(--st-muted) !important; border: 0 !important;
  padding: 8px 12px !important; font-weight: 600; cursor: pointer; border-bottom: 3px solid transparent !important;
}
.theme--dark .contents .tabset-tabs li:hover { color: #fff !important; }
.theme--dark .contents .tabset-tabs li.is-active { color: #fff !important; border-bottom-color: var(--st-cyan) !important; }
.theme--dark .contents .tabset-content { background: transparent !important; border: 0 !important; }
.theme--dark .contents .tabset-panel { padding: 12px 4px !important; }

/* Gallery grid */
.theme--dark .contents .st-gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 12px 0 24px; clear: both;
}
.theme--dark .contents .st-gallery figure { margin: 0; background: var(--st-surface); border: 1px solid var(--st-border); border-radius: 6px; overflow: hidden; }
.theme--dark .contents .st-gallery img { display: block; width: 100%; height: 160px; object-fit: contain; background: #000; border: 0; border-radius: 0; max-height: none; }
.theme--dark .contents .st-gallery figcaption { padding: 8px 10px; color: var(--st-muted); font-size: .85rem; text-align: center; }
.theme--dark .contents .st-gallery-missing { height: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--st-muted); }

/* Captioned images: a card on the right, text on the left, caption under the card */
.theme--dark .contents .st-figure { float: right; clear: right; width: 42%; max-width: 600px; margin: 16px 0 16px 28px; }
.theme--dark .contents .st-figure-beside { clear: none; width: 300px; margin-right: 8px; }
.theme--dark .contents .st-figure-card {
  display: block; padding: 10px; background: var(--st-surface); border: 1px solid var(--st-border);
  border-radius: 6px; box-shadow: 0 4px 18px rgba(0, 0, 0, .35);
}
.theme--dark .contents .st-figure img { display: block; width: 100%; height: auto; max-height: none; border: 0; border-radius: 3px; }
.theme--dark .contents .st-figure figcaption { margin-top: 10px; font-size: 13px; line-height: 19px; font-style: italic; color: var(--st-muted); }

@media (max-width: 900px) {
  .theme--dark .contents .st-infobox { float: none; width: auto; margin: 0 0 20px; }
  .theme--dark .contents .st-figure { float: none; width: auto; max-width: 480px; margin: 16px auto; }
}

/* References: Liquipedia-style two-column list (layout script in theme/body.html) */
.theme--dark .contents .footnotes { color: var(--st-text); font-size: .86rem; clear: both; }
.theme--dark .contents .footnotes ol.footnotes-list { columns: 2 380px; column-gap: 40px; margin: 8px 0 24px; padding-left: 2.2em; }
.theme--dark .contents .footnotes li.footnote-item { break-inside: avoid; margin: 0 0 6px; padding: 0; }
.theme--dark .contents .footnotes li.footnote-item::before { display: none !important; }
.theme--dark .contents .footnotes li.footnote-item p {
  margin: 0; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; word-break: normal;
}
.theme--dark .contents .footnotes li.footnote-item a { white-space: normal; }
.theme--dark .contents .footnotes .st-ref-back { color: var(--st-muted); margin-right: 5px; white-space: normal; }
.theme--dark .contents .footnotes .st-ref-back a { color: var(--st-link); text-decoration: none; }
.theme--dark .contents .footnotes .st-ref-n {
  font-size: .7em; font-style: italic; vertical-align: super; line-height: 0; margin-left: 3.5px;
}
.theme--dark .contents .footnotes strong { color: #fff; }
.theme--dark .contents .footnotes a.is-external-link::after { display: none !important; }
.theme--dark .contents sup.footnote-ref a { color: var(--st-link); text-decoration: none; }
.theme--dark .contents :target { scroll-margin-top: 80px; }

/* Provenance footer */
.theme--dark .contents hr { border-color: var(--st-border); }
.theme--dark .contents hr + p em { color: var(--st-muted); font-size: .82rem; }

/* Footer */
.theme--dark .v-footer { background: var(--st-bg) !important; color: var(--st-muted) !important; border-top: 1px solid var(--st-border); }

@media (max-width: 600px) {
  .theme--dark .contents table { display: block; overflow-x: auto; }
}
